@oro.ad/nuxt-claude-devtools 1.0.7 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +149 -13
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{BpkYThsl.js → BRCY8pHC.js} +1 -1
- package/dist/client/_nuxt/BVHVIm9H.js +12 -0
- package/dist/client/_nuxt/BZrcCMrf.js +1 -0
- package/dist/client/_nuxt/BbEuL4Z6.js +1 -0
- package/dist/client/_nuxt/BmjlsnUc.js +1 -0
- package/dist/client/_nuxt/D2NL8Xro.js +7 -0
- package/dist/client/_nuxt/D9qGFoJm.js +4 -0
- package/dist/client/_nuxt/DImlDIT-.js +59 -0
- package/dist/client/_nuxt/{B1H6wO_D.js → DV075BoS.js} +1 -1
- package/dist/client/_nuxt/{D-z88P1l.js → DYNukx3V.js} +1 -1
- package/dist/client/_nuxt/Dbw96V2H.js +7 -0
- package/dist/client/_nuxt/FllXIyfS.js +8 -0
- package/dist/client/_nuxt/MarkdownContent.WwTYmYZK.css +1 -0
- package/dist/client/_nuxt/TvBJGid1.js +1 -0
- package/dist/client/_nuxt/XJ4dJUK2.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/e8ae4dbb-462d-47a2-9aa2-50bed9498ab2.json +1 -0
- package/dist/client/_nuxt/e7kgpy_n.js +4 -0
- package/dist/client/_nuxt/entry.DwDQaFYc.css +1 -0
- package/dist/client/_nuxt/index.Bomb3OYy.css +1 -0
- package/dist/client/agents/index.html +1 -0
- package/dist/client/commands/index.html +1 -0
- package/dist/client/docs/index.html +1 -0
- package/dist/client/index.html +1 -1
- package/dist/client/mcp/index.html +1 -1
- package/dist/client/skills/index.html +1 -0
- package/dist/module.json +1 -1
- package/dist/runtime/server/agents-manager.d.ts +31 -0
- package/dist/runtime/server/agents-manager.js +193 -0
- package/dist/runtime/server/claude-session.d.ts +15 -0
- package/dist/runtime/server/claude-session.js +456 -5
- package/dist/runtime/server/commands-manager.d.ts +24 -0
- package/dist/runtime/server/commands-manager.js +132 -0
- package/dist/runtime/server/docs-manager.d.ts +48 -0
- package/dist/runtime/server/docs-manager.js +189 -0
- package/dist/runtime/server/history-manager.d.ts +24 -0
- package/dist/runtime/server/history-manager.js +184 -0
- package/dist/runtime/server/skills-manager.d.ts +36 -0
- package/dist/runtime/server/skills-manager.js +210 -0
- package/dist/runtime/types.d.ts +156 -0
- package/dist/runtime/types.js +0 -0
- package/package.json +16 -1
- package/dist/client/_nuxt/C2ORx7Gd.js +0 -1
- package/dist/client/_nuxt/CfGtRVGd.js +0 -4
- package/dist/client/_nuxt/DJn_CTvm.js +0 -1
- package/dist/client/_nuxt/EMyRkg8p.js +0 -1
- package/dist/client/_nuxt/PGt8fA_Y.js +0 -1
- package/dist/client/_nuxt/builds/meta/88c99fa0-10e0-4015-a61a-e0c6d7a01859.json +0 -1
- package/dist/client/_nuxt/entry.Ci1n7Rlt.css +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C2ORx7Gd.js","./EMyRkg8p.js","./DJn_CTvm.js","./PGt8fA_Y.js","./B1H6wO_D.js","./D-z88P1l.js","./error-404.2GhCpCfF.css","./BpkYThsl.js","./error-500.DqdIhFrl.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Xs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},dn=[],ut=()=>{},al=()=>!1,Xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zs=e=>e.startsWith("onUpdate:"),Ee=Object.assign,eo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cc=Object.prototype.hasOwnProperty,se=(e,t)=>Cc.call(e,t),q=Array.isArray,hn=e=>Pn(e)==="[object Map]",xn=e=>Pn(e)==="[object Set]",Io=e=>Pn(e)==="[object Date]",Sc=e=>Pn(e)==="[object RegExp]",Q=e=>typeof e=="function",pe=e=>typeof e=="string",Ze=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",cl=e=>(ie(e)||Q(e))&&Q(e.then)&&Q(e.catch),ul=Object.prototype.toString,Pn=e=>ul.call(e),Ac=e=>Pn(e).slice(8,-1),fl=e=>Pn(e)==="[object Object]",jr=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pn=Xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},kc=/-\w/g,Ye=Fr(e=>e.replace(kc,t=>t.slice(1).toUpperCase())),xc=/\B([A-Z])/g,jt=Fr(e=>e.replace(xc,"-$1").toLowerCase()),Br=Fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ts=Fr(e=>e?`on${Br(e)}`:""),Mt=(e,t)=>!Object.is(e,t),gn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},dl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hl=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Mo;const $r=()=>Mo||(Mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=pe(r)?Ic(r):Vr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(pe(e)||ie(e))return e}const Pc=/;(?![^(]*\))/g,Oc=/:([^]+)/,Nc=/\/\*[^]*?\*\//g;function Ic(e){const t={};return e.replace(Nc,"").split(Pc).forEach(n=>{if(n){const r=n.split(Oc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Wr(e){let t="";if(pe(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const r=Wr(e[n]);r&&(t+=r+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Mc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!pe(t)&&(e.class=Wr(t)),n&&(e.style=Vr(n)),e}const Lc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Hc=Xs(Lc);function pl(e){return!!e||e===""}function Dc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Zt(e[r],t[r]);return n}function Zt(e,t){if(e===t)return!0;let n=Io(e),r=Io(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ze(e),r=Ze(t),n||r)return e===t;if(n=q(e),r=q(t),n||r)return n&&r?Dc(e,t):!1;if(n=ie(e),r=ie(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Zt(e[i],t[i]))return!1}}return String(e)===String(t)}function to(e,t){return e.findIndex(n=>Zt(n,t))}const gl=e=>!!(e&&e.__v_isRef===!0),jc=e=>pe(e)?e:e==null?"":q(e)||ie(e)&&(e.toString===ul||!Q(e.toString))?gl(e)?jc(e.value):JSON.stringify(e,ml,2):String(e),ml=(e,t)=>gl(t)?ml(e,t.value):hn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ns(r,o)+" =>"]=s,n),{})}:xn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:Ze(t)?ns(t):ie(t)&&!q(t)&&!fl(t)?String(t):t,ns=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Le;class yl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}}on(){++this._on===1&&(this.prevScope=Le,Le=this)}off(){this._on>0&&--this._on===0&&(Le=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Fc(e){return new yl(e)}function _l(){return Le}let ue;const rs=new WeakSet;class bl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,rs.has(this)&&(rs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Lo(this),El(this);const t=ue,n=Xe;ue=this,Xe=!0;try{return this.fn()}finally{Rl(this),ue=t,Xe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)so(t);this.deps=this.depsTail=void 0,Lo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?rs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Rs(this)&&this.run()}get dirty(){return Rs(this)}}let vl=0,Bn,Un;function wl(e,t=!1){if(e.flags|=8,t){e.next=Un,Un=e;return}e.next=Bn,Bn=e}function no(){vl++}function ro(){if(--vl>0)return;if(Un){let t=Un;for(Un=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Bn;){let t=Bn;for(Bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function El(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Rl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),so(r),Bc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Rs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Tl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Tl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gn)||(e.globalVersion=Gn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Rs(e))))return;e.flags|=2;const t=e.dep,n=ue,r=Xe;ue=e,Xe=!0;try{El(e);const s=e.fn(e._value);(t.version===0||Mt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ue=n,Xe=r,Rl(e),e.flags&=-3}}function so(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)so(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xe=!0;const Cl=[];function Et(){Cl.push(Xe),Xe=!1}function Rt(){const e=Cl.pop();Xe=e===void 0?!0:e}function Lo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let Gn=0;class Uc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class oo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ue||!Xe||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new Uc(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Sl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=r)}return n}trigger(t){this.version++,Gn++,this.notify(t)}notify(t){no();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ro()}}}function Sl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Sl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const vr=new WeakMap,Yt=Symbol(""),Ts=Symbol(""),qn=Symbol("");function Ae(e,t,n){if(Xe&&ue){let r=vr.get(e);r||vr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new oo),s.map=r,s.key=n),s.track()}}function yt(e,t,n,r,s,o){const i=vr.get(e);if(!i){Gn++;return}const l=a=>{a&&a.trigger()};if(no(),t==="clear")i.forEach(l);else{const a=q(e),f=a&&jr(n);if(a&&n==="length"){const c=Number(r);i.forEach((u,d)=>{(d==="length"||d===qn||!Ze(d)&&d>=c)&&l(u)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(qn)),t){case"add":a?f&&l(i.get("length")):(l(i.get(Yt)),hn(e)&&l(i.get(Ts)));break;case"delete":a||(l(i.get(Yt)),hn(e)&&l(i.get(Ts)));break;case"set":hn(e)&&l(i.get(Yt));break}}ro()}function $c(e,t){const n=vr.get(e);return n&&n.get(t)}function ln(e){const t=ne(e);return t===e?t:(Ae(t,"iterate",qn),Ue(e)?t:t.map(et))}function Kr(e){return Ae(e=ne(e),"iterate",qn),e}function xt(e,t){return ft(e)?Lt(e)?wn(et(t)):wn(t):et(t)}const Vc={__proto__:null,[Symbol.iterator](){return ss(this,Symbol.iterator,e=>xt(this,e))},concat(...e){return ln(this).concat(...e.map(t=>q(t)?ln(t):t))},entries(){return ss(this,"entries",e=>(e[1]=xt(this,e[1]),e))},every(e,t){return dt(this,"every",e,t,void 0,arguments)},filter(e,t){return dt(this,"filter",e,t,n=>n.map(r=>xt(this,r)),arguments)},find(e,t){return dt(this,"find",e,t,n=>xt(this,n),arguments)},findIndex(e,t){return dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dt(this,"findLast",e,t,n=>xt(this,n),arguments)},findLastIndex(e,t){return dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return os(this,"includes",e)},indexOf(...e){return os(this,"indexOf",e)},join(e){return ln(this).join(e)},lastIndexOf(...e){return os(this,"lastIndexOf",e)},map(e,t){return dt(this,"map",e,t,void 0,arguments)},pop(){return Mn(this,"pop")},push(...e){return Mn(this,"push",e)},reduce(e,...t){return Ho(this,"reduce",e,t)},reduceRight(e,...t){return Ho(this,"reduceRight",e,t)},shift(){return Mn(this,"shift")},some(e,t){return dt(this,"some",e,t,void 0,arguments)},splice(...e){return Mn(this,"splice",e)},toReversed(){return ln(this).toReversed()},toSorted(e){return ln(this).toSorted(e)},toSpliced(...e){return ln(this).toSpliced(...e)},unshift(...e){return Mn(this,"unshift",e)},values(){return ss(this,"values",e=>xt(this,e))}};function ss(e,t,n){const r=Kr(e),s=r[t]();return r!==e&&!Ue(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Wc=Array.prototype;function dt(e,t,n,r,s,o){const i=Kr(e),l=i!==e&&!Ue(e),a=i[t];if(a!==Wc[t]){const u=a.apply(e,o);return l?et(u):u}let f=n;i!==e&&(l?f=function(u,d){return n.call(this,xt(e,u),d,e)}:n.length>2&&(f=function(u,d){return n.call(this,u,d,e)}));const c=a.call(i,f,r);return l&&s?s(c):c}function Ho(e,t,n,r){const s=Kr(e);let o=n;return s!==e&&(Ue(e)?n.length>3&&(o=function(i,l,a){return n.call(this,i,l,a,e)}):o=function(i,l,a){return n.call(this,i,xt(e,l),a,e)}),s[t](o,...r)}function os(e,t,n){const r=ne(e);Ae(r,"iterate",qn);const s=r[t](...n);return(s===-1||s===!1)&&Gr(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function Mn(e,t,n=[]){Et(),no();const r=ne(e)[t].apply(e,n);return ro(),Rt(),r}const Kc=Xs("__proto__,__v_isRef,__isVue"),Al=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function Gc(e){Ze(e)||(e=String(e));const t=ne(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class kl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?nu:Nl:o?Ol:Pl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=q(t);if(!s){let a;if(i&&(a=Vc[n]))return a;if(n==="hasOwnProperty")return Gc}const l=Reflect.get(t,n,_e(t)?t:r);if((Ze(n)?Al.has(n):Kc(n))||(s||Ae(t,"get",n),o))return l;if(_e(l)){const a=i&&jr(n)?l:l.value;return s&&ie(a)?Ss(a):a}return ie(l)?s?Ss(l):Ft(l):l}}class xl extends kl{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=q(t)&&jr(n);if(!this._isShallow){const f=ft(o);if(!Ue(r)&&!ft(r)&&(o=ne(o),r=ne(r)),!i&&_e(o)&&!_e(r))return f||(o.value=r),!0}const l=i?Number(n)<t.length:se(t,n),a=Reflect.set(t,n,r,_e(t)?t:s);return t===ne(s)&&(l?Mt(r,o)&&yt(t,"set",n,r):yt(t,"add",n,r)),a}deleteProperty(t,n){const r=se(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&yt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ze(n)||!Al.has(n))&&Ae(t,"has",n),r}ownKeys(t){return Ae(t,"iterate",q(t)?"length":Yt),Reflect.ownKeys(t)}}class qc extends kl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Jc=new xl,Yc=new qc,Qc=new xl(!0);const Cs=e=>e,sr=e=>Reflect.getPrototypeOf(e);function zc(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=hn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=s[e](...r),c=n?Cs:t?wn:et;return!t&&Ae(o,"iterate",a?Ts:Yt),{next(){const{value:u,done:d}=f.next();return d?{value:u,done:d}:{value:l?[c(u[0]),c(u[1])]:c(u),done:d}},[Symbol.iterator](){return this}}}}function or(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xc(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),l=ne(s);e||(Mt(s,l)&&Ae(i,"get",s),Ae(i,"get",l));const{has:a}=sr(i),f=t?Cs:e?wn:et;if(a.call(i,s))return f(o.get(s));if(a.call(i,l))return f(o.get(l));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ae(ne(s),"iterate",Yt),s.size},has(s){const o=this.__v_raw,i=ne(o),l=ne(s);return e||(Mt(s,l)&&Ae(i,"has",s),Ae(i,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const i=this,l=i.__v_raw,a=ne(l),f=t?Cs:e?wn:et;return!e&&Ae(a,"iterate",Yt),l.forEach((c,u)=>s.call(o,f(c),f(u),i))}};return Ee(n,e?{add:or("add"),set:or("set"),delete:or("delete"),clear:or("clear")}:{add(s){!t&&!Ue(s)&&!ft(s)&&(s=ne(s));const o=ne(this);return sr(o).has.call(o,s)||(o.add(s),yt(o,"add",s,s)),this},set(s,o){!t&&!Ue(o)&&!ft(o)&&(o=ne(o));const i=ne(this),{has:l,get:a}=sr(i);let f=l.call(i,s);f||(s=ne(s),f=l.call(i,s));const c=a.call(i,s);return i.set(s,o),f?Mt(o,c)&&yt(i,"set",s,o):yt(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:l}=sr(o);let a=i.call(o,s);a||(s=ne(s),a=i.call(o,s)),l&&l.call(o,s);const f=o.delete(s);return a&&yt(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&yt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=zc(s,e,t)}),n}function io(e,t){const n=Xc(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(se(n,s)&&s in r?n:r,s,o)}const Zc={get:io(!1,!1)},eu={get:io(!1,!0)},tu={get:io(!0,!1)};const Pl=new WeakMap,Ol=new WeakMap,Nl=new WeakMap,nu=new WeakMap;function ru(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function su(e){return e.__v_skip||!Object.isExtensible(e)?0:ru(Ac(e))}function Ft(e){return ft(e)?e:lo(e,!1,Jc,Zc,Pl)}function ct(e){return lo(e,!1,Qc,eu,Ol)}function Ss(e){return lo(e,!0,Yc,tu,Nl)}function lo(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=su(e);if(o===0)return e;const i=s.get(e);if(i)return i;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function Lt(e){return ft(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function Ue(e){return!!(e&&e.__v_isShallow)}function Gr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function ou(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&dl(e,"__v_skip",!0),e}const et=e=>ie(e)?Ft(e):e,wn=e=>ie(e)?Ss(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function vt(e){return Il(e,!1)}function En(e){return Il(e,!0)}function Il(e,t){return _e(e)?e:new iu(e,t)}class iu{constructor(t,n){this.dep=new oo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ue(t)||ft(t);t=r?t:ne(t),Mt(t,n)&&(this._rawValue=t,this._value=r?t:et(t),this.dep.trigger())}}function Cm(e){e.dep&&e.dep.trigger()}function fe(e){return _e(e)?e.value:e}function lu(e){return Q(e)?e():fe(e)}const au={get:(e,t,n)=>t==="__v_raw"?e:fe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ml(e){return Lt(e)?e:new Proxy(e,au)}class cu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ne(t);let s=!0,o=t;if(!q(t)||!jr(String(n)))do s=!Gr(o)||Ue(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=fe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&_e(this._raw[this._key])){const n=this._object[this._key];if(_e(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return $c(this._raw,this._key)}}class uu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function fu(e,t,n){return _e(e)?e:Q(e)?new uu(e):ie(e)&&arguments.length>1?du(e,t,n):vt(e)}function du(e,t,n){return new cu(e,t,n)}class hu{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new oo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return wl(this,!0),!0}get value(){const t=this.dep.track();return Tl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pu(e,t,n=!1){let r,s;return Q(e)?r=e:(r=e.get,s=e.set),new hu(r,s,n)}const ir={},wr=new WeakMap;let Gt;function gu(e,t=!1,n=Gt){if(n){let r=wr.get(n);r||wr.set(n,r=[]),r.push(e)}}function mu(e,t,n=ae){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:a}=n,f=_=>s?_:Ue(_)||s===!1||s===0?_t(_,1):_t(_);let c,u,d,h,y=!1,b=!1;if(_e(e)?(u=()=>e.value,y=Ue(e)):Lt(e)?(u=()=>f(e),y=!0):q(e)?(b=!0,y=e.some(_=>Lt(_)||Ue(_)),u=()=>e.map(_=>{if(_e(_))return _.value;if(Lt(_))return f(_);if(Q(_))return a?a(_,2):_()})):Q(e)?t?u=a?()=>a(e,2):e:u=()=>{if(d){Et();try{d()}finally{Rt()}}const _=Gt;Gt=c;try{return a?a(e,3,[h]):e(h)}finally{Gt=_}}:u=ut,t&&s){const _=u,w=s===!0?1/0:s;u=()=>_t(_(),w)}const T=_l(),R=()=>{c.stop(),T&&T.active&&eo(T.effects,c)};if(o&&t){const _=t;t=(...w)=>{_(...w),R()}}let v=b?new Array(e.length).fill(ir):ir;const g=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const w=c.run();if(s||y||(b?w.some((k,L)=>Mt(k,v[L])):Mt(w,v))){d&&d();const k=Gt;Gt=c;try{const L=[w,v===ir?void 0:b&&v[0]===ir?[]:v,h];v=w,a?a(t,3,L):t(...L)}finally{Gt=k}}}else c.run()};return l&&l(g),c=new bl(u),c.scheduler=i?()=>i(g,!1):g,h=_=>gu(_,!1,c),d=c.onStop=()=>{const _=wr.get(c);if(_){if(a)a(_,4);else for(const w of _)w();wr.delete(c)}},t?r?g(!0):v=c.run():i?i(g.bind(null,!0),!0):c.run(),R.pause=c.pause.bind(c),R.resume=c.resume.bind(c),R.stop=R,R}function _t(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))_t(e.value,t,n);else if(q(e))for(let r=0;r<e.length;r++)_t(e[r],t,n);else if(xn(e)||hn(e))e.forEach(r=>{_t(r,t,n)});else if(fl(e)){for(const r in e)_t(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_t(e[r],t,n)}return e}function Zn(e,t,n,r){try{return r?e(...r):e()}catch(s){On(s,t,n)}}function tt(e,t,n,r){if(Q(e)){const s=Zn(e,t,n,r);return s&&cl(s)&&s.catch(o=>{On(o,t,n)}),s}if(q(e)){const s=[];for(let o=0;o<e.length;o++)s.push(tt(e[o],t,n,r));return s}}function On(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ae;if(t){let l=t.parent;const a=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,f)===!1)return}l=l.parent}if(o){Et(),Zn(o,null,10,[e,a,f]),Rt();return}}yu(e,n,s,r,i)}function yu(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ne=[];let it=-1;const mn=[];let Pt=null,cn=0;const Ll=Promise.resolve();let Er=null;function en(e){const t=Er||Ll;return e?t.then(this?e.bind(this):e):t}function _u(e){let t=it+1,n=Ne.length;for(;t<n;){const r=t+n>>>1,s=Ne[r],o=Jn(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function ao(e){if(!(e.flags&1)){const t=Jn(e),n=Ne[Ne.length-1];!n||!(e.flags&2)&&t>=Jn(n)?Ne.push(e):Ne.splice(_u(t),0,e),e.flags|=1,Hl()}}function Hl(){Er||(Er=Ll.then(Dl))}function As(e){q(e)?mn.push(...e):Pt&&e.id===-1?Pt.splice(cn+1,0,e):e.flags&1||(mn.push(e),e.flags|=1),Hl()}function Do(e,t,n=it+1){for(;n<Ne.length;n++){const r=Ne[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ne.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Rr(e){if(mn.length){const t=[...new Set(mn)].sort((n,r)=>Jn(n)-Jn(r));if(mn.length=0,Pt){Pt.push(...t);return}for(Pt=t,cn=0;cn<Pt.length;cn++){const n=Pt[cn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Pt=null,cn=0}}const Jn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Dl(e){try{for(it=0;it<Ne.length;it++){const t=Ne[it];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;it<Ne.length;it++){const t=Ne[it];t&&(t.flags&=-2)}it=-1,Ne.length=0,Rr(),Er=null,(Ne.length||mn.length)&&Dl()}}let Ce=null,jl=null;function Tr(e){const t=Ce;return Ce=e,jl=e&&e.type.__scopeId||null,t}function co(e,t=Ce,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&xr(-1);const o=Tr(t);let i;try{i=e(...s)}finally{Tr(o),r._d&&xr(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Sm(e,t){if(Ce===null)return e;const n=Qr(Ce),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,l,a=ae]=t[s];o&&(Q(o)&&(o={mounted:o,updated:o}),o.deep&&_t(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function lt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&(Et(),tt(a,n,8,[e.el,l,e,t]),Rt())}}function Ht(e,t){if(Te){let n=Te.provides;const r=Te.parent&&Te.parent.provides;r===n&&(n=Te.provides=Object.create(r)),n[e]=t}}function xe(e,t,n=!1){const r=Nn();if(r||Qt){let s=Qt?Qt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function uo(){return!!(Nn()||Qt)}const bu=Symbol.for("v-scx"),vu=()=>xe(bu);function wu(e,t){return fo(e,null,t)}function yn(e,t,n){return fo(e,t,n)}function fo(e,t,n=ae){const{immediate:r,deep:s,flush:o,once:i}=n,l=Ee({},n),a=t&&r||!t&&o!=="post";let f;if(Cn){if(o==="sync"){const h=vu();f=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=ut,h.resume=ut,h.pause=ut,h}}const c=Te;l.call=(h,y,b)=>tt(h,c,y,b);let u=!1;o==="post"?l.scheduler=h=>{we(h,c&&c.suspense)}:o!=="sync"&&(u=!0,l.scheduler=(h,y)=>{y?h():ao(h)}),l.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=mu(e,t,l);return Cn&&(f?f.push(d):a&&d()),d}function Eu(e,t,n){const r=this.proxy,s=pe(e)?e.includes(".")?Fl(r,e):()=>r[e]:e.bind(r,r);let o;Q(t)?o=t:(o=t.handler,n=t);const i=nr(this),l=fo(s,o.bind(r),n);return i(),l}function Fl(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Ru=Symbol("_vte"),Bl=e=>e.__isTeleport,mt=Symbol("_leaveCb"),lr=Symbol("_enterCb");function Tu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return po(()=>{e.isMounted=!0}),tr(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],Ul={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},$l=e=>{const t=e.subTree;return t.component?$l(t.component):t},Cu={name:"BaseTransition",props:Ul,setup(e,{slots:t}){const n=Nn(),r=Tu();return()=>{const s=t.default&&Kl(t.default(),!0);if(!s||!s.length)return;const o=Vl(s),i=ne(e),{mode:l}=i;if(r.isLeaving)return is(o);const a=jo(o);if(!a)return is(o);let f=ks(a,i,r,n,u=>f=u);a.type!==ye&&Rn(a,f);let c=n.subTree&&jo(n.subTree);if(c&&c.type!==ye&&!ze(c,a)&&$l(n).type!==ye){let u=ks(c,i,r,n);if(Rn(c,u),l==="out-in"&&a.type!==ye)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,c=void 0},is(o);l==="in-out"&&a.type!==ye?u.delayLeave=(d,h,y)=>{const b=Wl(r,c);b[String(c.key)]=c,d[mt]=()=>{h(),d[mt]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{y(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Vl(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const Su=Cu;function Wl(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 ks(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:T,onAppear:R,onAfterAppear:v,onAppearCancelled:g}=t,_=String(e.key),w=Wl(n,e),k=(I,N)=>{I&&tt(I,r,9,N)},L=(I,N)=>{const W=N[1];k(I,N),q(I)?I.every(O=>O.length<=1)&&W():I.length<=1&&W()},V={mode:i,persisted:l,beforeEnter(I){let N=a;if(!n.isMounted)if(o)N=T||a;else return;I[mt]&&I[mt](!0);const W=w[_];W&&ze(e,W)&&W.el[mt]&&W.el[mt](),k(N,[I])},enter(I){let N=f,W=c,O=u;if(!n.isMounted)if(o)N=R||f,W=v||c,O=g||u;else return;let K=!1;const ee=I[lr]=le=>{K||(K=!0,le?k(O,[I]):k(W,[I]),V.delayedLeave&&V.delayedLeave(),I[lr]=void 0)};N?L(N,[I,ee]):ee()},leave(I,N){const W=String(e.key);if(I[lr]&&I[lr](!0),n.isUnmounting)return N();k(d,[I]);let O=!1;const K=I[mt]=ee=>{O||(O=!0,N(),ee?k(b,[I]):k(y,[I]),I[mt]=void 0,w[W]===e&&delete w[W])};w[W]=e,h?L(h,[I,K]):K()},clone(I){const N=ks(I,t,n,r,s);return s&&s(N),N}};return V}function is(e){if(er(e))return e=Tt(e),e.children=null,e}function jo(e){if(!er(e))return Bl(e.type)&&e.children?Vl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function Rn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Rn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Kl(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Re?(i.patchFlag&128&&s++,r=r.concat(Kl(i.children,t,l))):(t||i.type!==ye)&&r.push(l!=null?Tt(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Bt(e,t){return Q(e)?Ee({name:e.name},t,{setup:e}):e}function ho(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Cr=new WeakMap;function _n(e,t,n,r,s=!1){if(q(e)){e.forEach((y,b)=>_n(y,t&&(q(t)?t[b]:t),n,r,s));return}if(wt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&_n(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Qr(r.component):r.el,i=s?null:o,{i:l,r:a}=e,f=t&&t.r,c=l.refs===ae?l.refs={}:l.refs,u=l.setupState,d=ne(u),h=u===ae?al:y=>se(d,y);if(f!=null&&f!==a){if(Fo(t),pe(f))c[f]=null,h(f)&&(u[f]=null);else if(_e(f)){f.value=null;const y=t;y.k&&(c[y.k]=null)}}if(Q(a))Zn(a,l,12,[i,c]);else{const y=pe(a),b=_e(a);if(y||b){const T=()=>{if(e.f){const R=y?h(a)?u[a]:c[a]:a.value;if(s)q(R)&&eo(R,o);else if(q(R))R.includes(o)||R.push(o);else if(y)c[a]=[o],h(a)&&(u[a]=c[a]);else{const v=[o];a.value=v,e.k&&(c[e.k]=v)}}else y?(c[a]=i,h(a)&&(u[a]=i)):b&&(a.value=i,e.k&&(c[e.k]=i))};if(i){const R=()=>{T(),Cr.delete(e)};R.id=-1,Cr.set(e,R),we(R,n)}else Fo(e),T()}}}function Fo(e){const t=Cr.get(e);t&&(t.flags|=8,Cr.delete(e))}let Bo=!1;const an=()=>{Bo||(console.error("Hydration completed but contains mismatches."),Bo=!0)},Au=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ku=e=>e.namespaceURI.includes("MathML"),ar=e=>{if(e.nodeType===1){if(Au(e))return"svg";if(ku(e))return"mathml"}},fn=e=>e.nodeType===8;function xu(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:a,createComment:f}}=e,c=(g,_)=>{if(!_.hasChildNodes()){n(null,g,_),Rr(),_._vnode=g;return}u(_.firstChild,g,null,null,null),Rr(),_._vnode=g},u=(g,_,w,k,L,V=!1)=>{V=V||!!_.dynamicChildren;const I=fn(g)&&g.data==="[",N=()=>b(g,_,w,k,L,I),{type:W,ref:O,shapeFlag:K,patchFlag:ee}=_;let le=g.nodeType;_.el=g,ee===-2&&(V=!1,_.dynamicChildren=null);let $=null;switch(W){case zt:le!==3?_.children===""?(a(_.el=s(""),i(g),g),$=g):$=N():(g.data!==_.children&&(an(),g.data=_.children),$=o(g));break;case ye:v(g)?($=o(g),R(_.el=g.content.firstChild,g,w)):le!==8||I?$=N():$=o(g);break;case gr:if(I&&(g=o(g),le=g.nodeType),le===1||le===3){$=g;const z=!_.children.length;for(let B=0;B<_.staticCount;B++)z&&(_.children+=$.nodeType===1?$.outerHTML:$.data),B===_.staticCount-1&&(_.anchor=$),$=o($);return I?o($):$}else N();break;case Re:I?$=y(g,_,w,k,L,V):$=N();break;default:if(K&1)(le!==1||_.type.toLowerCase()!==g.tagName.toLowerCase())&&!v(g)?$=N():$=d(g,_,w,k,L,V);else if(K&6){_.slotScopeIds=L;const z=i(g);if(I?$=T(g):fn(g)&&g.data==="teleport start"?$=T(g,g.data,"teleport end"):$=o(g),t(_,z,null,w,k,ar(z),V),wt(_)&&!_.type.__asyncResolved){let B;I?(B=me(Re),B.anchor=$?$.previousSibling:z.lastChild):B=g.nodeType===3?Sa(""):me("div"),B.el=g,_.component.subTree=B}}else K&64?le!==8?$=N():$=_.type.hydrate(g,_,w,k,L,V,e,h):K&128&&($=_.type.hydrate(g,_,w,k,ar(i(g)),L,V,e,u))}return O!=null&&_n(O,null,k,_),$},d=(g,_,w,k,L,V)=>{V=V||!!_.dynamicChildren;const{type:I,props:N,patchFlag:W,shapeFlag:O,dirs:K,transition:ee}=_,le=I==="input"||I==="option";if(le||W!==-1){K&<(_,null,w,"created");let $=!1;if(v(g)){$=ga(null,ee)&&w&&w.vnode.props&&w.vnode.props.appear;const B=g.content.firstChild;if($){const de=B.getAttribute("class");de&&(B.$cls=de),ee.beforeEnter(B)}R(B,g,w),_.el=g=B}if(O&16&&!(N&&(N.innerHTML||N.textContent))){let B=h(g.firstChild,_,g,w,k,L,V);for(;B;){cr(g,1)||an();const de=B;B=B.nextSibling,l(de)}}else if(O&8){let B=_.children;B[0]===`
|
|
3
|
-
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(B=B.slice(1));const{textContent:de}=g;de!==B&&de!==B.replace(/\r\n|\r/g,`
|
|
4
|
-
`)&&(cr(g,0)||an(),g.textContent=_.children)}if(N){if(le||!V||W&48){const B=g.tagName.includes("-");for(const de in N)(le&&(de.endsWith("value")||de==="indeterminate")||Xn(de)&&!pn(de)||de[0]==="."||B)&&r(g,de,null,N[de],void 0,w)}else if(N.onClick)r(g,"onClick",null,N.onClick,void 0,w);else if(W&4&&Lt(N.style))for(const B in N.style)N.style[B]}let z;(z=N&&N.onVnodeBeforeMount)&&He(z,w,_),K&<(_,null,w,"beforeMount"),((z=N&&N.onVnodeMounted)||K||$)&&va(()=>{z&&He(z,w,_),$&&ee.enter(g),K&<(_,null,w,"mounted")},k)}return g.nextSibling},h=(g,_,w,k,L,V,I)=>{I=I||!!_.dynamicChildren;const N=_.children,W=N.length;for(let O=0;O<W;O++){const K=I?N[O]:N[O]=Be(N[O]),ee=K.type===zt;g?(ee&&!I&&O+1<W&&Be(N[O+1]).type===zt&&(a(s(g.data.slice(K.children.length)),w,o(g)),g.data=K.children),g=u(g,K,k,L,V,I)):ee&&!K.children?a(K.el=s(""),w):(cr(w,1)||an(),n(null,K,w,null,k,L,ar(w),V))}return g},y=(g,_,w,k,L,V)=>{const{slotScopeIds:I}=_;I&&(L=L?L.concat(I):I);const N=i(g),W=h(o(g),_,N,w,k,L,V);return W&&fn(W)&&W.data==="]"?o(_.anchor=W):(an(),a(_.anchor=f("]"),N,W),W)},b=(g,_,w,k,L,V)=>{if(cr(g.parentElement,1)||an(),_.el=null,V){const W=T(g);for(;;){const O=o(g);if(O&&O!==W)l(O);else break}}const I=o(g),N=i(g);return l(g),n(null,_,N,I,w,k,ar(N),L),w&&(w.vnode.el=_.el,Yr(w,_.el)),I},T=(g,_="[",w="]")=>{let k=0;for(;g;)if(g=o(g),g&&fn(g)&&(g.data===_&&k++,g.data===w)){if(k===0)return o(g);k--}return g},R=(g,_,w)=>{const k=_.parentNode;k&&k.replaceChild(g,_);let L=w;for(;L;)L.vnode.el===_&&(L.vnode.el=L.subTree.el=g),L=L.parent},v=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,u]}const Uo="data-allow-mismatch",Pu={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function cr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Uo);)e=e.parentElement;const n=e&&e.getAttribute(Uo);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Pu[t])}}$r().requestIdleCallback;$r().cancelIdleCallback;function Ou(e,t){if(fn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(fn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const wt=e=>!!e.type.__asyncLoader;function $o(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:l=!0,onError:a}=e;let f=null,c,u=0;const d=()=>(u++,f=null,h()),h=()=>{let y;return f||(y=f=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((T,R)=>{a(b,()=>T(d()),()=>R(b),u+1)});throw b}).then(b=>y!==f&&f?f:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),c=b,b)))};return Bt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(y,b,T){let R=!1;(b.bu||(b.bu=[])).push(()=>R=!0);const v=()=>{R||T()},g=o?()=>{const _=o(v,w=>Ou(y,w));_&&(b.bum||(b.bum=[])).push(_)}:v;c?g():h().then(()=>!b.isUnmounted&&g())},get __asyncResolved(){return c},setup(){const y=Te;if(ho(y),c)return()=>ur(c,y);const b=g=>{f=null,On(g,y,13,!r)};if(l&&y.suspense||Cn)return h().then(g=>()=>ur(g,y)).catch(g=>(b(g),()=>r?me(r,{error:g}):null));const T=vt(!1),R=vt(),v=vt(!!s);return s&&setTimeout(()=>{v.value=!1},s),i!=null&&setTimeout(()=>{if(!T.value&&!R.value){const g=new Error(`Async component timed out after ${i}ms.`);b(g),R.value=g}},i),h().then(()=>{T.value=!0,y.parent&&er(y.parent.vnode)&&y.parent.update()}).catch(g=>{b(g),R.value=g}),()=>{if(T.value&&c)return ur(c,y);if(R.value&&r)return me(r,{error:R.value});if(n&&!v.value)return ur(n,y)}}})}function ur(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=me(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const er=e=>e.type.__isKeepAlive,Nu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Nn(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:f,um:c,o:{createElement:u}}}=r,d=u("div");r.activate=(v,g,_,w,k)=>{const L=v.component;f(v,g,_,0,l),a(L.vnode,v,g,_,L,l,w,v.slotScopeIds,k),we(()=>{L.isDeactivated=!1,L.a&&gn(L.a);const V=v.props&&v.props.onVnodeMounted;V&&He(V,L.parent,v)},l)},r.deactivate=v=>{const g=v.component;Ar(g.m),Ar(g.a),f(v,d,null,1,l),we(()=>{g.da&&gn(g.da);const _=v.props&&v.props.onVnodeUnmounted;_&&He(_,g.parent,v),g.isDeactivated=!0},l)};function h(v){ls(v),c(v,n,l,!0)}function y(v){s.forEach((g,_)=>{const w=Hs(wt(g)?g.type.__asyncResolved||{}:g.type);w&&!v(w)&&b(_)})}function b(v){const g=s.get(v);g&&(!i||!ze(g,i))?h(g):i&&ls(i),s.delete(v),o.delete(v)}yn(()=>[e.include,e.exclude],([v,g])=>{v&&y(_=>jn(v,_)),g&&y(_=>!jn(g,_))},{flush:"post",deep:!0});let T=null;const R=()=>{T!=null&&(kr(n.subTree.type)?we(()=>{s.set(T,fr(n.subTree))},n.subTree.suspense):s.set(T,fr(n.subTree)))};return po(R),Yl(R),tr(()=>{s.forEach(v=>{const{subTree:g,suspense:_}=n,w=fr(g);if(v.type===w.type&&v.key===w.key){ls(w);const k=w.component.da;k&&we(k,_);return}h(v)})}),()=>{if(T=null,!t.default)return i=null;const v=t.default(),g=v[0];if(v.length>1)return i=null,v;if(!tn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let _=fr(g);if(_.type===ye)return i=null,_;const w=_.type,k=Hs(wt(_)?_.type.__asyncResolved||{}:w),{include:L,exclude:V,max:I}=e;if(L&&(!k||!jn(L,k))||V&&k&&jn(V,k))return _.shapeFlag&=-257,i=_,g;const N=_.key==null?w:_.key,W=s.get(N);return _.el&&(_=Tt(_),g.shapeFlag&128&&(g.ssContent=_)),T=N,W?(_.el=W.el,_.component=W.component,_.transition&&Rn(_,_.transition),_.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),I&&o.size>parseInt(I,10)&&b(o.values().next().value)),_.shapeFlag|=256,i=_,kr(g.type)?g:_}}},Iu=Nu;function jn(e,t){return q(e)?e.some(n=>jn(n,t)):pe(e)?e.split(",").includes(t):Sc(e)?(e.lastIndex=0,e.test(t)):!1}function Gl(e,t){Jl(e,"a",t)}function ql(e,t){Jl(e,"da",t)}function Jl(e,t,n=Te){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(qr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)er(s.parent.vnode)&&Mu(r,t,n,s),s=s.parent}}function Mu(e,t,n,r){const s=qr(t,e,r,!0);Ql(()=>{eo(r[t],s)},n)}function ls(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fr(e){return e.shapeFlag&128?e.ssContent:e}function qr(e,t,n=Te,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Et();const l=nr(n),a=tt(t,n,e,i);return l(),Rt(),a});return r?s.unshift(o):s.push(o),o}}const Ct=e=>(t,n=Te)=>{(!Cn||e==="sp")&&qr(e,(...r)=>t(...r),n)},Lu=Ct("bm"),po=Ct("m"),Hu=Ct("bu"),Yl=Ct("u"),tr=Ct("bum"),Ql=Ct("um"),Du=Ct("sp"),ju=Ct("rtg"),Fu=Ct("rtc");function zl(e,t=Te){qr("ec",e,t)}const Xl="components";function Am(e,t){return ea(Xl,e,!0,t)||e}const Zl=Symbol.for("v-ndc");function Bu(e){return pe(e)?ea(Xl,e,!1)||e:e||Zl}function ea(e,t,n=!0,r=!1){const s=Ce||Te;if(s){const o=s.type;{const l=Hs(o,!1);if(l&&(l===t||l===Ye(t)||l===Br(Ye(t))))return o}const i=Vo(s[e]||o[e],t)||Vo(s.appContext[e],t);return!i&&r?o:i}}function Vo(e,t){return e&&(e[t]||e[Ye(t)]||e[Br(Ye(t))])}function km(e,t,n,r){let s;const o=n,i=q(e);if(i||pe(e)){const l=i&&Lt(e);let a=!1,f=!1;l&&(a=!Ue(e),f=ft(e),e=Kr(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(a?f?wn(et(e[c])):et(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,o)}else if(ie(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,f=l.length;a<f;a++){const c=l[a];s[a]=t(e[c],c,a,o)}}else s=[];return s}function xm(e,t,n={},r,s){if(Ce.ce||Ce.parent&&wt(Ce.parent)&&Ce.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Ge(),at(Re,null,[me("slot",n,r&&r())],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Ge();const i=o&&ta(o(n)),l=n.key||i&&i.key,a=at(Re,{key:(l&&!Ze(l)?l:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function ta(e){return e.some(t=>tn(t)?!(t.type===ye||t.type===Re&&!ta(t.children)):!0)?e:null}const xs=e=>e?ka(e)?Qr(e):xs(e.parent):null,$n=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xs(e.parent),$root:e=>xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ra(e),$forceUpdate:e=>e.f||(e.f=()=>{ao(e.update)}),$nextTick:e=>e.n||(e.n=en.bind(e.proxy)),$watch:e=>Eu.bind(e)}),as=(e,t)=>e!==ae&&!e.__isScriptSetup&&se(e,t),Uu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(as(r,t))return i[t]=1,r[t];if(s!==ae&&se(s,t))return i[t]=2,s[t];if(se(o,t))return i[t]=3,o[t];if(n!==ae&&se(n,t))return i[t]=4,n[t];Ps&&(i[t]=0)}}const f=$n[t];let c,u;if(f)return t==="$attrs"&&Ae(e.attrs,"get",""),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ae&&se(n,t))return i[t]=4,n[t];if(u=a.config.globalProperties,se(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return as(s,t)?(s[t]=n,!0):r!==ae&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},l){let a;return!!(n[l]||e!==ae&&l[0]!=="$"&&se(e,l)||as(t,l)||se(o,l)||se(r,l)||se($n,l)||se(s.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wo(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ps=!0;function $u(e){const t=ra(e),n=e.proxy,r=e.ctx;Ps=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:f,created:c,beforeMount:u,mounted:d,beforeUpdate:h,updated:y,activated:b,deactivated:T,beforeDestroy:R,beforeUnmount:v,destroyed:g,unmounted:_,render:w,renderTracked:k,renderTriggered:L,errorCaptured:V,serverPrefetch:I,expose:N,inheritAttrs:W,components:O,directives:K,filters:ee}=t;if(f&&Vu(f,r,null),i)for(const z in i){const B=i[z];Q(B)&&(r[z]=B.bind(n))}if(s){const z=s.call(n,n);ie(z)&&(e.data=Ft(z))}if(Ps=!0,o)for(const z in o){const B=o[z],de=Q(B)?B.bind(n,n):Q(B.get)?B.get.bind(n,n):ut,St=!Q(B)&&Q(B.set)?B.set.bind(n):ut,st=qe({get:de,set:St});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>st.value,set:Ie=>st.value=Ie})}if(l)for(const z in l)na(l[z],r,n,z);if(a){const z=Q(a)?a.call(n):a;Reflect.ownKeys(z).forEach(B=>{Ht(B,z[B])})}c&&Ko(c,e,"c");function $(z,B){q(B)?B.forEach(de=>z(de.bind(n))):B&&z(B.bind(n))}if($(Lu,u),$(po,d),$(Hu,h),$(Yl,y),$(Gl,b),$(ql,T),$(zl,V),$(Fu,k),$(ju,L),$(tr,v),$(Ql,_),$(Du,I),q(N))if(N.length){const z=e.exposed||(e.exposed={});N.forEach(B=>{Object.defineProperty(z,B,{get:()=>n[B],set:de=>n[B]=de,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===ut&&(e.render=w),W!=null&&(e.inheritAttrs=W),O&&(e.components=O),K&&(e.directives=K),I&&ho(e)}function Vu(e,t,n=ut){q(e)&&(e=Os(e));for(const r in e){const s=e[r];let o;ie(s)?"default"in s?o=xe(s.from||r,s.default,!0):o=xe(s.from||r):o=xe(s),_e(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Ko(e,t,n){tt(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function na(e,t,n,r){let s=r.includes(".")?Fl(n,r):()=>n[r];if(pe(e)){const o=t[e];Q(o)&&yn(s,o)}else if(Q(e))yn(s,e.bind(n));else if(ie(e))if(q(e))e.forEach(o=>na(o,t,n,r));else{const o=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(o)&&yn(s,o,e)}}function ra(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(f=>Sr(a,f,i,!0)),Sr(a,t,i)),ie(t)&&o.set(t,a),a}function Sr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Sr(e,o,n,!0),s&&s.forEach(i=>Sr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Wu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Wu={data:Go,props:qo,emits:qo,methods:Fn,computed:Fn,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Fn,directives:Fn,watch:Gu,provide:Go,inject:Ku};function Go(e,t){return t?e?function(){return Ee(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ku(e,t){return Fn(Os(e),Os(t))}function Os(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function Fn(e,t){return e?Ee(Object.create(null),e,t):t}function qo(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Wo(e),Wo(t??{})):t}function Gu(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const r in t)n[r]=Pe(e[r],t[r]);return n}function sa(){return{app:null,config:{isNativeTag:al,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qu=0;function Ju(e,t){return function(r,s=null){Q(r)||(r=Ee({},r)),s!=null&&!ie(s)&&(s=null);const o=sa(),i=new WeakSet,l=[];let a=!1;const f=o.app={_uid:qu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:kf,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&Q(c.install)?(i.add(c),c.install(f,...u)):Q(c)&&(i.add(c),c(f,...u))),f},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),f},component(c,u){return u?(o.components[c]=u,f):o.components[c]},directive(c,u){return u?(o.directives[c]=u,f):o.directives[c]},mount(c,u,d){if(!a){const h=f._ceVNode||me(r,s);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(h,c):e(h,c,d),a=!0,f._container=c,c.__vue_app__=f,Qr(h.component)}},onUnmount(c){l.push(c)},unmount(){a&&(tt(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,u){return o.provides[c]=u,f},runWithContext(c){const u=Qt;Qt=f;try{return c()}finally{Qt=u}}};return f}}let Qt=null;const Yu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${jt(t)}Modifiers`];function Qu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let s=n;const o=t.startsWith("update:"),i=o&&Yu(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>pe(c)?c.trim():c)),i.number&&(s=n.map(Ur)));let l,a=r[l=ts(t)]||r[l=ts(Ye(t))];!a&&o&&(a=r[l=ts(jt(t))]),a&&tt(a,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,tt(f,e,6,s)}}const zu=new WeakMap;function oa(e,t,n=!1){const r=n?zu:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!Q(e)){const a=f=>{const c=oa(f,t,!0);c&&(l=!0,Ee(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ie(e)&&r.set(e,null),null):(q(o)?o.forEach(a=>i[a]=null):Ee(i,o),ie(e)&&r.set(e,i),i)}function Jr(e,t){return!e||!Xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,jt(t))||se(e,t))}function cs(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:a,render:f,renderCache:c,props:u,data:d,setupState:h,ctx:y,inheritAttrs:b}=e,T=Tr(e);let R,v;try{if(n.shapeFlag&4){const _=s||r,w=_;R=Be(f.call(w,_,c,u,h,d,y)),v=l}else{const _=t;R=Be(_.length>1?_(u,{attrs:l,slots:i,emit:a}):_(u,null)),v=t.props?l:Zu(l)}}catch(_){Vn.length=0,On(_,e,1),R=me(ye)}let g=R;if(v&&b!==!1){const _=Object.keys(v),{shapeFlag:w}=g;_.length&&w&7&&(o&&_.some(Zs)&&(v=ef(v,o)),g=Tt(g,v,!1,!0))}return n.dirs&&(g=Tt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Rn(g,n.transition),R=g,Tr(T),R}function Xu(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(tn(s)){if(s.type!==ye||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Zu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xn(n))&&((t||(t={}))[n]=e[n]);return t},ef=(e,t)=>{const n={};for(const r in e)(!Zs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tf(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Jo(r,i,f):!!i;if(a&8){const c=t.dynamicProps;for(let u=0;u<c.length;u++){const d=c[u];if(i[d]!==r[d]&&!Jr(f,d))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?Jo(r,i,f):!0:!!i;return!1}function Jo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Jr(n,o))return!0}return!1}function Yr({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ia={},la=()=>Object.create(ia),aa=e=>Object.getPrototypeOf(e)===ia;function nf(e,t,n,r=!1){const s={},o=la();e.propsDefaults=Object.create(null),ca(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:ct(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function rf(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=ne(s),[a]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let u=0;u<c.length;u++){let d=c[u];if(Jr(e.emitsOptions,d))continue;const h=t[d];if(a)if(se(o,d))h!==o[d]&&(o[d]=h,f=!0);else{const y=Ye(d);s[y]=Ns(a,l,y,h,e,!1)}else h!==o[d]&&(o[d]=h,f=!0)}}}else{ca(e,t,s,o)&&(f=!0);let c;for(const u in l)(!t||!se(t,u)&&((c=jt(u))===u||!se(t,c)))&&(a?n&&(n[u]!==void 0||n[c]!==void 0)&&(s[u]=Ns(a,l,u,void 0,e,!0)):delete s[u]);if(o!==l)for(const u in o)(!t||!se(t,u))&&(delete o[u],f=!0)}f&&yt(e.attrs,"set","")}function ca(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(pn(a))continue;const f=t[a];let c;s&&se(s,c=Ye(a))?!o||!o.includes(c)?n[c]=f:(l||(l={}))[c]=f:Jr(e.emitsOptions,a)||(!(a in r)||f!==r[a])&&(r[a]=f,i=!0)}if(o){const a=ne(n),f=l||ae;for(let c=0;c<o.length;c++){const u=o[c];n[u]=Ns(s,a,u,f[u],e,!se(f,u))}}return i}function Ns(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=se(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&Q(a)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const c=nr(s);r=f[n]=a.call(null,t),c()}}else r=a;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===jt(n))&&(r=!0))}return r}const sf=new WeakMap;function ua(e,t,n=!1){const r=n?sf:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!Q(e)){const c=u=>{a=!0;const[d,h]=ua(u,t,!0);Ee(i,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return ie(e)&&r.set(e,dn),dn;if(q(o))for(let c=0;c<o.length;c++){const u=Ye(o[c]);Yo(u)&&(i[u]=ae)}else if(o)for(const c in o){const u=Ye(c);if(Yo(u)){const d=o[c],h=i[u]=q(d)||Q(d)?{type:d}:Ee({},d),y=h.type;let b=!1,T=!0;if(q(y))for(let R=0;R<y.length;++R){const v=y[R],g=Q(v)&&v.name;if(g==="Boolean"){b=!0;break}else g==="String"&&(T=!1)}else b=Q(y)&&y.name==="Boolean";h[0]=b,h[1]=T,(b||se(h,"default"))&&l.push(u)}}const f=[i,l];return ie(e)&&r.set(e,f),f}function Yo(e){return e[0]!=="$"&&!pn(e)}const go=e=>e==="_"||e==="_ctx"||e==="$stable",mo=e=>q(e)?e.map(Be):[Be(e)],of=(e,t,n)=>{if(t._n)return t;const r=co((...s)=>mo(t(...s)),n);return r._c=!1,r},fa=(e,t,n)=>{const r=e._ctx;for(const s in e){if(go(s))continue;const o=e[s];if(Q(o))t[s]=of(s,o,r);else if(o!=null){const i=mo(o);t[s]=()=>i}}},da=(e,t)=>{const n=mo(t);e.slots.default=()=>n},ha=(e,t,n)=>{for(const r in t)(n||!go(r))&&(e[r]=t[r])},lf=(e,t,n)=>{const r=e.slots=la();if(e.vnode.shapeFlag&32){const s=t._;s?(ha(r,t,n),n&&dl(r,"_",s,!0)):fa(t,r)}else t&&da(e,t)},af=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:ha(s,t,n):(o=!t.$stable,fa(t,s)),i=t}else t&&(da(e,t),i={default:1});if(o)for(const l in s)!go(l)&&i[l]==null&&delete s[l]},we=va;function cf(e){return pa(e)}function uf(e){return pa(e,xu)}function pa(e,t){const n=$r();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:f,setElementText:c,parentNode:u,nextSibling:d,setScopeId:h=ut,insertStaticContent:y}=e,b=(p,m,E,A=null,C=null,x=null,D=void 0,H=null,M=!!m.dynamicChildren)=>{if(p===m)return;p&&!ze(p,m)&&(A=S(p),Ie(p,C,x,!0),p=null),m.patchFlag===-2&&(M=!1,m.dynamicChildren=null);const{type:P,ref:Y,shapeFlag:F}=m;switch(P){case zt:T(p,m,E,A);break;case ye:R(p,m,E,A);break;case gr:p==null&&v(m,E,A,D);break;case Re:O(p,m,E,A,C,x,D,H,M);break;default:F&1?w(p,m,E,A,C,x,D,H,M):F&6?K(p,m,E,A,C,x,D,H,M):(F&64||F&128)&&P.process(p,m,E,A,C,x,D,H,M,J)}Y!=null&&C?_n(Y,p&&p.ref,x,m||p,!m):Y==null&&p&&p.ref!=null&&_n(p.ref,null,x,p,!0)},T=(p,m,E,A)=>{if(p==null)r(m.el=l(m.children),E,A);else{const C=m.el=p.el;m.children!==p.children&&f(C,m.children)}},R=(p,m,E,A)=>{p==null?r(m.el=a(m.children||""),E,A):m.el=p.el},v=(p,m,E,A)=>{[p.el,p.anchor]=y(p.children,m,E,A,p.el,p.anchor)},g=({el:p,anchor:m},E,A)=>{let C;for(;p&&p!==m;)C=d(p),r(p,E,A),p=C;r(m,E,A)},_=({el:p,anchor:m})=>{let E;for(;p&&p!==m;)E=d(p),s(p),p=E;s(m)},w=(p,m,E,A,C,x,D,H,M)=>{if(m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),p==null)k(m,E,A,C,x,D,H,M);else{const P=p.el&&p.el._isVueCE?p.el:null;try{P&&P._beginPatch(),I(p,m,C,x,D,H,M)}finally{P&&P._endPatch()}}},k=(p,m,E,A,C,x,D,H)=>{let M,P;const{props:Y,shapeFlag:F,transition:G,dirs:X}=p;if(M=p.el=i(p.type,x,Y&&Y.is,Y),F&8?c(M,p.children):F&16&&V(p.children,M,null,A,C,us(p,x),D,H),X&<(p,null,A,"created"),L(M,p,p.scopeId,D,A),Y){for(const ce in Y)ce!=="value"&&!pn(ce)&&o(M,ce,null,Y[ce],x,A);"value"in Y&&o(M,"value",null,Y.value,x),(P=Y.onVnodeBeforeMount)&&He(P,A,p)}X&<(p,null,A,"beforeMount");const te=ga(C,G);te&&G.beforeEnter(M),r(M,m,E),((P=Y&&Y.onVnodeMounted)||te||X)&&we(()=>{P&&He(P,A,p),te&&G.enter(M),X&<(p,null,A,"mounted")},C)},L=(p,m,E,A,C)=>{if(E&&h(p,E),A)for(let x=0;x<A.length;x++)h(p,A[x]);if(C){let x=C.subTree;if(m===x||kr(x.type)&&(x.ssContent===m||x.ssFallback===m)){const D=C.vnode;L(p,D,D.scopeId,D.slotScopeIds,C.parent)}}},V=(p,m,E,A,C,x,D,H,M=0)=>{for(let P=M;P<p.length;P++){const Y=p[P]=H?Ot(p[P]):Be(p[P]);b(null,Y,m,E,A,C,x,D,H)}},I=(p,m,E,A,C,x,D)=>{const H=m.el=p.el;let{patchFlag:M,dynamicChildren:P,dirs:Y}=m;M|=p.patchFlag&16;const F=p.props||ae,G=m.props||ae;let X;if(E&&$t(E,!1),(X=G.onVnodeBeforeUpdate)&&He(X,E,m,p),Y&<(m,p,E,"beforeUpdate"),E&&$t(E,!0),(F.innerHTML&&G.innerHTML==null||F.textContent&&G.textContent==null)&&c(H,""),P?N(p.dynamicChildren,P,H,E,A,us(m,C),x):D||B(p,m,H,null,E,A,us(m,C),x,!1),M>0){if(M&16)W(H,F,G,E,C);else if(M&2&&F.class!==G.class&&o(H,"class",null,G.class,C),M&4&&o(H,"style",F.style,G.style,C),M&8){const te=m.dynamicProps;for(let ce=0;ce<te.length;ce++){const oe=te[ce],Me=F[oe],Se=G[oe];(Se!==Me||oe==="value")&&o(H,oe,Me,Se,C,E)}}M&1&&p.children!==m.children&&c(H,m.children)}else!D&&P==null&&W(H,F,G,E,C);((X=G.onVnodeUpdated)||Y)&&we(()=>{X&&He(X,E,m,p),Y&<(m,p,E,"updated")},A)},N=(p,m,E,A,C,x,D)=>{for(let H=0;H<m.length;H++){const M=p[H],P=m[H],Y=M.el&&(M.type===Re||!ze(M,P)||M.shapeFlag&198)?u(M.el):E;b(M,P,Y,null,A,C,x,D,!0)}},W=(p,m,E,A,C)=>{if(m!==E){if(m!==ae)for(const x in m)!pn(x)&&!(x in E)&&o(p,x,m[x],null,C,A);for(const x in E){if(pn(x))continue;const D=E[x],H=m[x];D!==H&&x!=="value"&&o(p,x,H,D,C,A)}"value"in E&&o(p,"value",m.value,E.value,C)}},O=(p,m,E,A,C,x,D,H,M)=>{const P=m.el=p?p.el:l(""),Y=m.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:G,slotScopeIds:X}=m;X&&(H=H?H.concat(X):X),p==null?(r(P,E,A),r(Y,E,A),V(m.children||[],E,Y,C,x,D,H,M)):F>0&&F&64&&G&&p.dynamicChildren&&p.dynamicChildren.length===G.length?(N(p.dynamicChildren,G,E,C,x,D,H),(m.key!=null||C&&m===C.subTree)&&ma(p,m,!0)):B(p,m,E,Y,C,x,D,H,M)},K=(p,m,E,A,C,x,D,H,M)=>{m.slotScopeIds=H,p==null?m.shapeFlag&512?C.ctx.activate(m,E,A,D,M):ee(m,E,A,C,x,D,M):le(p,m,M)},ee=(p,m,E,A,C,x,D)=>{const H=p.component=Ef(p,A,C);if(er(p)&&(H.ctx.renderer=J),Rf(H,!1,D),H.asyncDep){if(C&&C.registerDep(H,$,D),!p.el){const M=H.subTree=me(ye);R(null,M,m,E),p.placeholder=M.el}}else $(H,p,m,E,C,x,D)},le=(p,m,E)=>{const A=m.component=p.component;if(tf(p,m,E))if(A.asyncDep&&!A.asyncResolved){z(A,m,E);return}else A.next=m,A.update();else m.el=p.el,A.vnode=m},$=(p,m,E,A,C,x,D)=>{const H=()=>{if(p.isMounted){let{next:F,bu:G,u:X,parent:te,vnode:ce}=p;{const je=ya(p);if(je){F&&(F.el=ce.el,z(p,F,D)),je.asyncDep.then(()=>{p.isUnmounted||H()});return}}let oe=F,Me;$t(p,!1),F?(F.el=ce.el,z(p,F,D)):F=ce,G&&gn(G),(Me=F.props&&F.props.onVnodeBeforeUpdate)&&He(Me,te,F,ce),$t(p,!0);const Se=cs(p),Qe=p.subTree;p.subTree=Se,b(Qe,Se,u(Qe.el),S(Qe),p,C,x),F.el=Se.el,oe===null&&Yr(p,Se.el),X&&we(X,C),(Me=F.props&&F.props.onVnodeUpdated)&&we(()=>He(Me,te,F,ce),C)}else{let F;const{el:G,props:X}=m,{bm:te,m:ce,parent:oe,root:Me,type:Se}=p,Qe=wt(m);if($t(p,!1),te&&gn(te),!Qe&&(F=X&&X.onVnodeBeforeMount)&&He(F,oe,m),$t(p,!0),G&&he){const je=()=>{p.subTree=cs(p),he(G,p.subTree,p,C,null)};Qe&&Se.__asyncHydrate?Se.__asyncHydrate(G,p,je):je()}else{Me.ce&&Me.ce._def.shadowRoot!==!1&&Me.ce._injectChildStyle(Se);const je=p.subTree=cs(p);b(null,je,E,A,p,C,x),m.el=je.el}if(ce&&we(ce,C),!Qe&&(F=X&&X.onVnodeMounted)){const je=m;we(()=>He(F,oe,je),C)}(m.shapeFlag&256||oe&&wt(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&we(p.a,C),p.isMounted=!0,m=E=A=null}};p.scope.on();const M=p.effect=new bl(H);p.scope.off();const P=p.update=M.run.bind(M),Y=p.job=M.runIfDirty.bind(M);Y.i=p,Y.id=p.uid,M.scheduler=()=>ao(Y),$t(p,!0),P()},z=(p,m,E)=>{m.component=p;const A=p.vnode.props;p.vnode=m,p.next=null,rf(p,m.props,A,E),af(p,m.children,E),Et(),Do(p),Rt()},B=(p,m,E,A,C,x,D,H,M=!1)=>{const P=p&&p.children,Y=p?p.shapeFlag:0,F=m.children,{patchFlag:G,shapeFlag:X}=m;if(G>0){if(G&128){St(P,F,E,A,C,x,D,H,M);return}else if(G&256){de(P,F,E,A,C,x,D,H,M);return}}X&8?(Y&16&&Ve(P,C,x),F!==P&&c(E,F)):Y&16?X&16?St(P,F,E,A,C,x,D,H,M):Ve(P,C,x,!0):(Y&8&&c(E,""),X&16&&V(F,E,A,C,x,D,H,M))},de=(p,m,E,A,C,x,D,H,M)=>{p=p||dn,m=m||dn;const P=p.length,Y=m.length,F=Math.min(P,Y);let G;for(G=0;G<F;G++){const X=m[G]=M?Ot(m[G]):Be(m[G]);b(p[G],X,E,null,C,x,D,H,M)}P>Y?Ve(p,C,x,!0,!1,F):V(m,E,A,C,x,D,H,M,F)},St=(p,m,E,A,C,x,D,H,M)=>{let P=0;const Y=m.length;let F=p.length-1,G=Y-1;for(;P<=F&&P<=G;){const X=p[P],te=m[P]=M?Ot(m[P]):Be(m[P]);if(ze(X,te))b(X,te,E,null,C,x,D,H,M);else break;P++}for(;P<=F&&P<=G;){const X=p[F],te=m[G]=M?Ot(m[G]):Be(m[G]);if(ze(X,te))b(X,te,E,null,C,x,D,H,M);else break;F--,G--}if(P>F){if(P<=G){const X=G+1,te=X<Y?m[X].el:A;for(;P<=G;)b(null,m[P]=M?Ot(m[P]):Be(m[P]),E,te,C,x,D,H,M),P++}}else if(P>G)for(;P<=F;)Ie(p[P],C,x,!0),P++;else{const X=P,te=P,ce=new Map;for(P=te;P<=G;P++){const Fe=m[P]=M?Ot(m[P]):Be(m[P]);Fe.key!=null&&ce.set(Fe.key,P)}let oe,Me=0;const Se=G-te+1;let Qe=!1,je=0;const In=new Array(Se);for(P=0;P<Se;P++)In[P]=0;for(P=X;P<=F;P++){const Fe=p[P];if(Me>=Se){Ie(Fe,C,x,!0);continue}let ot;if(Fe.key!=null)ot=ce.get(Fe.key);else for(oe=te;oe<=G;oe++)if(In[oe-te]===0&&ze(Fe,m[oe])){ot=oe;break}ot===void 0?Ie(Fe,C,x,!0):(In[ot-te]=P+1,ot>=je?je=ot:Qe=!0,b(Fe,m[ot],E,null,C,x,D,H,M),Me++)}const Po=Qe?ff(In):dn;for(oe=Po.length-1,P=Se-1;P>=0;P--){const Fe=te+P,ot=m[Fe],Oo=m[Fe+1],No=Fe+1<Y?Oo.el||_a(Oo):A;In[P]===0?b(null,ot,E,No,C,x,D,H,M):Qe&&(oe<0||P!==Po[oe]?st(ot,E,No,2):oe--)}}},st=(p,m,E,A,C=null)=>{const{el:x,type:D,transition:H,children:M,shapeFlag:P}=p;if(P&6){st(p.component.subTree,m,E,A);return}if(P&128){p.suspense.move(m,E,A);return}if(P&64){D.move(p,m,E,J);return}if(D===Re){r(x,m,E);for(let F=0;F<M.length;F++)st(M[F],m,E,A);r(p.anchor,m,E);return}if(D===gr){g(p,m,E);return}if(A!==2&&P&1&&H)if(A===0)H.beforeEnter(x),r(x,m,E),we(()=>H.enter(x),C);else{const{leave:F,delayLeave:G,afterLeave:X}=H,te=()=>{p.ctx.isUnmounted?s(x):r(x,m,E)},ce=()=>{x._isLeaving&&x[mt](!0),F(x,()=>{te(),X&&X()})};G?G(x,te,ce):ce()}else r(x,m,E)},Ie=(p,m,E,A=!1,C=!1)=>{const{type:x,props:D,ref:H,children:M,dynamicChildren:P,shapeFlag:Y,patchFlag:F,dirs:G,cacheIndex:X}=p;if(F===-2&&(C=!1),H!=null&&(Et(),_n(H,null,E,p,!0),Rt()),X!=null&&(m.renderCache[X]=void 0),Y&256){m.ctx.deactivate(p);return}const te=Y&1&&G,ce=!wt(p);let oe;if(ce&&(oe=D&&D.onVnodeBeforeUnmount)&&He(oe,m,p),Y&6)Ut(p.component,E,A);else{if(Y&128){p.suspense.unmount(E,A);return}te&<(p,null,m,"beforeUnmount"),Y&64?p.type.remove(p,m,E,J,A):P&&!P.hasOnce&&(x!==Re||F>0&&F&64)?Ve(P,m,E,!1,!0):(x===Re&&F&384||!C&&Y&16)&&Ve(M,m,E),A&&sn(p)}(ce&&(oe=D&&D.onVnodeUnmounted)||te)&&we(()=>{oe&&He(oe,m,p),te&<(p,null,m,"unmounted")},E)},sn=p=>{const{type:m,el:E,anchor:A,transition:C}=p;if(m===Re){on(E,A);return}if(m===gr){_(p);return}const x=()=>{s(E),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(p.shapeFlag&1&&C&&!C.persisted){const{leave:D,delayLeave:H}=C,M=()=>D(E,x);H?H(p.el,x,M):M()}else x()},on=(p,m)=>{let E;for(;p!==m;)E=d(p),s(p),p=E;s(m)},Ut=(p,m,E)=>{const{bum:A,scope:C,job:x,subTree:D,um:H,m:M,a:P}=p;Ar(M),Ar(P),A&&gn(A),C.stop(),x&&(x.flags|=8,Ie(D,p,m,E)),H&&we(H,m),we(()=>{p.isUnmounted=!0},m)},Ve=(p,m,E,A=!1,C=!1,x=0)=>{for(let D=x;D<p.length;D++)Ie(p[D],m,E,A,C)},S=p=>{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const m=d(p.anchor||p.el),E=m&&m[Ru];return E?d(E):m};let U=!1;const j=(p,m,E)=>{let A;p==null?m._vnode&&(Ie(m._vnode,null,null,!0),A=m._vnode.component):b(m._vnode||null,p,m,null,null,null,E),m._vnode=p,U||(U=!0,Do(A),Rr(),U=!1)},J={p:b,um:Ie,m:st,r:sn,mt:ee,mc:V,pc:B,pbc:N,n:S,o:e};let Z,he;return t&&([Z,he]=t(J)),{render:j,hydrate:Z,createApp:Ju(j,Z)}}function us({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function $t({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ga(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ma(e,t,n=!1){const r=e.children,s=t.children;if(q(r)&&q(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Ot(s[o]),l.el=i.el),!n&&l.patchFlag!==-2&&ma(i,l)),l.type===zt&&(l.patchFlag!==-1?l.el=i.el:l.__elIndex=o+(e.type===Re?1:0)),l.type===ye&&!l.el&&(l.el=i.el)}}function ff(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function ya(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ya(t)}function Ar(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function _a(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?_a(t.subTree):null}const kr=e=>e.__isSuspense;let Is=0;const df={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,l,a,f){if(e==null)hf(t,n,r,s,o,i,l,a,f);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}pf(e,t,n,r,s,i,l,a,f)}},hydrate:gf,normalize:mf},yo=df;function Yn(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function hf(e,t,n,r,s,o,i,l,a){const{p:f,o:{createElement:c}}=a,u=c("div"),d=e.suspense=ba(e,s,r,t,u,n,o,i,l,a);f(null,d.pendingBranch=e.ssContent,u,null,r,d,o,i),d.deps>0?(Yn(e,"onPending"),Yn(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,o,i),bn(d,e.ssFallback)):d.resolve(!1,!0)}function pf(e,t,n,r,s,o,i,l,{p:a,um:f,o:{createElement:c}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:b,isInFallback:T,isHydrating:R}=u;if(b)u.pendingBranch=d,ze(b,d)?(a(b,d,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0?u.resolve():T&&(R||(a(y,h,n,r,s,null,o,i,l),bn(u,h)))):(u.pendingId=Is++,R?(u.isHydrating=!1,u.activeBranch=b):f(b,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=c("div"),T?(a(null,d,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0?u.resolve():(a(y,h,n,r,s,null,o,i,l),bn(u,h))):y&&ze(y,d)?(a(y,d,n,r,s,u,o,i,l),u.resolve(!0)):(a(null,d,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0&&u.resolve()));else if(y&&ze(y,d))a(y,d,n,r,s,u,o,i,l),bn(u,d);else if(Yn(t,"onPending"),u.pendingBranch=d,d.shapeFlag&512?u.pendingId=d.component.suspenseId:u.pendingId=Is++,a(null,d,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0)u.resolve();else{const{timeout:v,pendingId:g}=u;v>0?setTimeout(()=>{u.pendingId===g&&u.fallback(h)},v):v===0&&u.fallback(h)}}function ba(e,t,n,r,s,o,i,l,a,f,c=!1){const{p:u,m:d,um:h,n:y,o:{parentNode:b,remove:T}}=f;let R;const v=yf(e);v&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const g=e.props?hl(e.props.timeout):void 0,_=o,w={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Is++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(k=!1,L=!1){const{vnode:V,activeBranch:I,pendingBranch:N,pendingId:W,effects:O,parentComponent:K,container:ee,isInFallback:le}=w;let $=!1;w.isHydrating?w.isHydrating=!1:k||($=I&&N.transition&&N.transition.mode==="out-in",$&&(I.transition.afterLeave=()=>{W===w.pendingId&&(d(N,ee,o===_?y(I):o,0),As(O),le&&V.ssFallback&&(V.ssFallback.el=null))}),I&&(b(I.el)===ee&&(o=y(I)),h(I,K,w,!0),!$&&le&&V.ssFallback&&we(()=>V.ssFallback.el=null,w)),$||d(N,ee,o,0)),bn(w,N),w.pendingBranch=null,w.isInFallback=!1;let z=w.parent,B=!1;for(;z;){if(z.pendingBranch){z.effects.push(...O),B=!0;break}z=z.parent}!B&&!$&&As(O),w.effects=[],v&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Yn(V,"onResolve")},fallback(k){if(!w.pendingBranch)return;const{vnode:L,activeBranch:V,parentComponent:I,container:N,namespace:W}=w;Yn(L,"onFallback");const O=y(V),K=()=>{w.isInFallback&&(u(null,k,N,O,I,null,W,l,a),bn(w,k))},ee=k.transition&&k.transition.mode==="out-in";ee&&(V.transition.afterLeave=K),w.isInFallback=!0,h(V,I,null,!0),ee||K()},move(k,L,V){w.activeBranch&&d(w.activeBranch,k,L,V),w.container=k},next(){return w.activeBranch&&y(w.activeBranch)},registerDep(k,L,V){const I=!!w.pendingBranch;I&&w.deps++;const N=k.vnode.el;k.asyncDep.catch(W=>{On(W,k,0)}).then(W=>{if(k.isUnmounted||w.isUnmounted||w.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:O}=k;Ls(k,W),N&&(O.el=N);const K=!N&&k.subTree.el;L(k,O,b(N||k.subTree.el),N?null:y(k.subTree),w,i,V),K&&(O.placeholder=null,T(K)),Yr(k,O.el),I&&--w.deps===0&&w.resolve()})},unmount(k,L){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,n,k,L),w.pendingBranch&&h(w.pendingBranch,n,k,L)}};return w}function gf(e,t,n,r,s,o,i,l,a){const f=t.suspense=ba(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,l,!0),c=a(e,f.pendingBranch=t.ssContent,n,f,o,i);return f.deps===0&&f.resolve(!1,!0),c}function mf(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Qo(r?n.default:n),e.ssFallback=r?Qo(n.fallback):me(ye)}function Qo(e){let t;if(Q(e)){const n=Tn&&e._c;n&&(e._d=!1,Ge()),e=e(),n&&(e._d=!0,t=De,wa())}return q(e)&&(e=Xu(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function va(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):As(e)}function bn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Yr(r,s))}function yf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Re=Symbol.for("v-fgt"),zt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),gr=Symbol.for("v-stc"),Vn=[];let De=null;function Ge(e=!1){Vn.push(De=e?null:[])}function wa(){Vn.pop(),De=Vn[Vn.length-1]||null}let Tn=1;function xr(e,t=!1){Tn+=e,e<0&&De&&t&&(De.hasOnce=!0)}function Ea(e){return e.dynamicChildren=Tn>0?De||dn:null,wa(),Tn>0&&De&&De.push(e),e}function _f(e,t,n,r,s,o){return Ea(Ta(e,t,n,r,s,o,!0))}function at(e,t,n,r,s){return Ea(me(e,t,n,r,s,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function ze(e,t){return e.type===t.type&&e.key===t.key}const Ra=({key:e})=>e??null,mr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||_e(e)||Q(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function Ta(e,t=null,n=null,r=0,s=null,o=e===Re?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ra(t),ref:t&&mr(t),scopeId:jl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ce};return l?(_o(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=pe(n)?8:16),Tn>0&&!i&&De&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&De.push(a),a}const me=bf;function bf(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Zl)&&(e=ye),tn(e)){const l=Tt(e,t,!0);return n&&_o(l,n),Tn>0&&!o&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag=-2,l}if(Af(e)&&(e=e.__vccOpts),t){t=Ca(t);let{class:l,style:a}=t;l&&!pe(l)&&(t.class=Wr(l)),ie(a)&&(Gr(a)&&!q(a)&&(a=Ee({},a)),t.style=Vr(a))}const i=pe(e)?1:kr(e)?128:Bl(e)?64:ie(e)?4:Q(e)?2:0;return Ta(e,t,n,r,s,i,o,!0)}function Ca(e){return e?Gr(e)||aa(e)?Ee({},e):e:null}function Tt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:a}=e,f=t?Aa(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ra(f),ref:t&&t.ref?n&&o?q(o)?o.concat(mr(t)):[o,mr(t)]:mr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Tt(e.ssContent),ssFallback:e.ssFallback&&Tt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Rn(c,a.clone(c)),c}function Sa(e=" ",t=0){return me(zt,null,e,t)}function Pm(e="",t=!1){return t?(Ge(),at(ye,null,e)):me(ye,null,e)}function Be(e){return e==null||typeof e=="boolean"?me(ye):q(e)?me(Re,null,e.slice()):tn(e)?Ot(e):me(zt,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tt(e)}function _o(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),_o(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!aa(t)?t._ctx=Ce:s===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),r&64?(n=16,t=[Sa(t)]):n=8);e.children=t,e.shapeFlag|=n}function Aa(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Wr([t.class,r.class]));else if(s==="style")t.style=Vr([t.style,r.style]);else if(Xn(s)){const o=t[s],i=r[s];i&&o!==i&&!(q(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function He(e,t,n,r=null){tt(e,t,7,[n,r])}const vf=sa();let wf=0;function Ef(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||vf,o={uid:wf++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ua(r,s),emitsOptions:oa(r,s),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Qu.bind(null,o),e.ce&&e.ce(o),o}let Te=null;const Nn=()=>Te||Ce;let Pr,Ms;{const e=$r(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Pr=t("__VUE_INSTANCE_SETTERS__",n=>Te=n),Ms=t("__VUE_SSR_SETTERS__",n=>Cn=n)}const nr=e=>{const t=Te;return Pr(e),e.scope.on(),()=>{e.scope.off(),Pr(t)}},zo=()=>{Te&&Te.scope.off(),Pr(null)};function ka(e){return e.vnode.shapeFlag&4}let Cn=!1;function Rf(e,t=!1,n=!1){t&&Ms(t);const{props:r,children:s}=e.vnode,o=ka(e);nf(e,r,o,t),lf(e,s,n||t);const i=o?Tf(e,t):void 0;return t&&Ms(!1),i}function Tf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Uu);const{setup:r}=n;if(r){Et();const s=e.setupContext=r.length>1?Sf(e):null,o=nr(e),i=Zn(r,e,0,[e.props,s]),l=cl(i);if(Rt(),o(),(l||e.sp)&&!wt(e)&&ho(e),l){if(i.then(zo,zo),t)return i.then(a=>{Ls(e,a)}).catch(a=>{On(a,e,0)});e.asyncDep=i}else Ls(e,i)}else xa(e)}function Ls(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=Ml(t)),xa(e)}function xa(e,t,n){const r=e.type;e.render||(e.render=r.render||ut);{const s=nr(e);Et();try{$u(e)}finally{Rt(),s()}}}const Cf={get(e,t){return Ae(e,"get",""),e[t]}};function Sf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cf),slots:e.slots,emit:e.emit,expose:t}}function Qr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ml(ou(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $n)return $n[n](e)},has(t,n){return n in t||n in $n}})):e.proxy}function Hs(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Af(e){return Q(e)&&"__vccOpts"in e}const qe=(e,t)=>pu(e,t,Cn);function ke(e,t,n){try{xr(-1);const r=arguments.length;return r===2?ie(t)&&!q(t)?tn(t)?me(e,null,[t]):me(e,t):me(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&tn(n)&&(n=[n]),me(e,t,n))}finally{xr(1)}}const kf="3.5.26";let Ds;const Xo=typeof window<"u"&&window.trustedTypes;if(Xo)try{Ds=Xo.createPolicy("vue",{createHTML:e=>e})}catch{}const Pa=Ds?e=>Ds.createHTML(e):e=>e,xf="http://www.w3.org/2000/svg",Pf="http://www.w3.org/1998/Math/MathML",gt=typeof document<"u"?document:null,Zo=gt&>.createElement("template"),Of={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?gt.createElementNS(xf,e):t==="mathml"?gt.createElementNS(Pf,e):n?gt.createElement(e,{is:n}):gt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gt.createTextNode(e),createComment:e=>gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Zo.innerHTML=Pa(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Zo.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},At="transition",Ln="animation",Qn=Symbol("_vtc"),Oa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Nf=Ee({},Ul,Oa),If=e=>(e.displayName="Transition",e.props=Nf,e),Mf=If((e,{slots:t})=>ke(Su,Lf(e),t)),Vt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ei=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function Lf(e){const t={};for(const O in e)O in Oa||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:f=i,appearToClass:c=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=Hf(s),b=y&&y[0],T=y&&y[1],{onBeforeEnter:R,onEnter:v,onEnterCancelled:g,onLeave:_,onLeaveCancelled:w,onBeforeAppear:k=R,onAppear:L=v,onAppearCancelled:V=g}=t,I=(O,K,ee,le)=>{O._enterCancelled=le,Wt(O,K?c:l),Wt(O,K?f:i),ee&&ee()},N=(O,K)=>{O._isLeaving=!1,Wt(O,u),Wt(O,h),Wt(O,d),K&&K()},W=O=>(K,ee)=>{const le=O?L:v,$=()=>I(K,O,ee);Vt(le,[K,$]),ti(()=>{Wt(K,O?a:o),ht(K,O?c:l),ei(le)||ni(K,r,b,$)})};return Ee(t,{onBeforeEnter(O){Vt(R,[O]),ht(O,o),ht(O,i)},onBeforeAppear(O){Vt(k,[O]),ht(O,a),ht(O,f)},onEnter:W(!1),onAppear:W(!0),onLeave(O,K){O._isLeaving=!0;const ee=()=>N(O,K);ht(O,u),O._enterCancelled?(ht(O,d),oi(O)):(oi(O),ht(O,d)),ti(()=>{O._isLeaving&&(Wt(O,u),ht(O,h),ei(_)||ni(O,r,T,ee))}),Vt(_,[O,ee])},onEnterCancelled(O){I(O,!1,void 0,!0),Vt(g,[O])},onAppearCancelled(O){I(O,!0,void 0,!0),Vt(V,[O])},onLeaveCancelled(O){N(O),Vt(w,[O])}})}function Hf(e){if(e==null)return null;if(ie(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return hl(e)}function ht(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qn]||(e[Qn]=new Set)).add(t)}function Wt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Qn];n&&(n.delete(t),n.size||(e[Qn]=void 0))}function ti(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Df=0;function ni(e,t,n,r){const s=e._endId=++Df,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=jf(e,t);if(!i)return r();const f=i+"end";let c=0;const u=()=>{e.removeEventListener(f,d),o()},d=h=>{h.target===e&&++c>=a&&u()};setTimeout(()=>{c<a&&u()},l+1),e.addEventListener(f,d)}function jf(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),s=r(`${At}Delay`),o=r(`${At}Duration`),i=ri(s,o),l=r(`${Ln}Delay`),a=r(`${Ln}Duration`),f=ri(l,a);let c=null,u=0,d=0;t===At?i>0&&(c=At,u=i,d=o.length):t===Ln?f>0&&(c=Ln,u=f,d=a.length):(u=Math.max(i,f),c=u>0?i>f?At:Ln:null,d=c?c===At?o.length:a.length:0);const h=c===At&&/\b(?:transform|all)(?:,|$)/.test(r(`${At}Property`).toString());return{type:c,timeout:u,propCount:d,hasTransform:h}}function ri(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>si(n)+si(e[r])))}function si(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function oi(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ff(e,t,n){const r=e[Qn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ii=Symbol("_vod"),Bf=Symbol("_vsh"),Uf=Symbol(""),$f=/(?:^|;)\s*display\s*:/;function Vf(e,t,n){const r=e.style,s=pe(n);let o=!1;if(n&&!s){if(t)if(pe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&yr(r,l,"")}else for(const i in t)n[i]==null&&yr(r,i,"");for(const i in n)i==="display"&&(o=!0),yr(r,i,n[i])}else if(s){if(t!==n){const i=r[Uf];i&&(n+=";"+i),r.cssText=n,o=$f.test(n)}}else t&&e.removeAttribute("style");ii in e&&(e[ii]=o?r.display:"",e[Bf]&&(r.display="none"))}const li=/\s*!important$/;function yr(e,t,n){if(q(n))n.forEach(r=>yr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Wf(e,t);li.test(n)?e.setProperty(jt(r),n.replace(li,""),"important"):e[r]=n}}const ai=["Webkit","Moz","ms"],ds={};function Wf(e,t){const n=ds[t];if(n)return n;let r=Ye(t);if(r!=="filter"&&r in e)return ds[t]=r;r=Br(r);for(let s=0;s<ai.length;s++){const o=ai[s]+r;if(o in e)return ds[t]=o}return t}const ci="http://www.w3.org/1999/xlink";function ui(e,t,n,r,s,o=Hc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ci,t.slice(6,t.length)):e.setAttributeNS(ci,t,n):n==null||o&&!pl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ze(n)?String(n):n)}function fi(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Pa(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=pl(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function bt(e,t,n,r){e.addEventListener(t,n,r)}function Kf(e,t,n,r){e.removeEventListener(t,n,r)}const di=Symbol("_vei");function Gf(e,t,n,r,s=null){const o=e[di]||(e[di]={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=qf(t);if(r){const f=o[t]=Qf(r,s);bt(e,l,f,a)}else i&&(Kf(e,l,i,a),o[t]=void 0)}}const hi=/(?:Once|Passive|Capture)$/;function qf(e){let t;if(hi.test(e)){t={};let r;for(;r=e.match(hi);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):jt(e.slice(2)),t]}let hs=0;const Jf=Promise.resolve(),Yf=()=>hs||(Jf.then(()=>hs=0),hs=Date.now());function Qf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;tt(zf(r,n.value),t,5,[r])};return n.value=e,n.attached=Yf(),n}function zf(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Xf=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Ff(e,r,i):t==="style"?Vf(e,n,r):Xn(t)?Zs(t)||Gf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zf(e,t,r,i))?(fi(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ui(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(r))?fi(e,Ye(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ui(e,t,r,i))};function Zf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pi(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return pi(t)&&pe(n)?!1:t in e}const Dt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>gn(t,n):t};function ed(e){e.target.composing=!0}function gi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Je=Symbol("_assign");function mi(e,t,n){return t&&(e=e.trim()),n&&(e=Ur(e)),e}const yi={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Je]=Dt(s);const o=r||s.props&&s.props.type==="number";bt(e,t?"change":"input",i=>{i.target.composing||e[Je](mi(e.value,n,o))}),(n||o)&&bt(e,"change",()=>{e.value=mi(e.value,n,o)}),t||(bt(e,"compositionstart",ed),bt(e,"compositionend",gi),bt(e,"change",gi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Je]=Dt(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ur(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a))}},td={deep:!0,created(e,t,n){e[Je]=Dt(n),bt(e,"change",()=>{const r=e._modelValue,s=Sn(e),o=e.checked,i=e[Je];if(q(r)){const l=to(r,s),a=l!==-1;if(o&&!a)i(r.concat(s));else if(!o&&a){const f=[...r];f.splice(l,1),i(f)}}else if(xn(r)){const l=new Set(r);o?l.add(s):l.delete(s),i(l)}else i(Na(e,o))})},mounted:_i,beforeUpdate(e,t,n){e[Je]=Dt(n),_i(e,t,n)}};function _i(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(q(t))s=to(t,r.props.value)>-1;else if(xn(t))s=t.has(r.props.value);else{if(t===n)return;s=Zt(t,Na(e,!0))}e.checked!==s&&(e.checked=s)}const nd={created(e,{value:t},n){e.checked=Zt(t,n.props.value),e[Je]=Dt(n),bt(e,"change",()=>{e[Je](Sn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Je]=Dt(r),t!==n&&(e.checked=Zt(t,r.props.value))}},rd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=xn(t);bt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ur(Sn(i)):Sn(i));e[Je](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,en(()=>{e._assigning=!1})}),e[Je]=Dt(r)},mounted(e,{value:t}){bi(e,t)},beforeUpdate(e,t,n){e[Je]=Dt(n)},updated(e,{value:t}){e._assigning||bi(e,t)}};function bi(e,t){const n=e.multiple,r=q(t);if(!(n&&!r&&!xn(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],l=Sn(i);if(n)if(r){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(f=>String(f)===String(l)):i.selected=to(t,l)>-1}else i.selected=t.has(l);else if(Zt(Sn(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Sn(e){return"_value"in e?e._value:e.value}function Na(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Om={created(e,t,n){dr(e,t,n,null,"created")},mounted(e,t,n){dr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){dr(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){dr(e,t,n,r,"updated")}};function sd(e,t){switch(e){case"SELECT":return rd;case"TEXTAREA":return yi;default:switch(t){case"checkbox":return td;case"radio":return nd;default:return yi}}}function dr(e,t,n,r,s){const i=sd(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const od={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Nm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=jt(s.key);if(t.some(i=>i===o||od[i]===o))return e(s)}))},Ia=Ee({patchProp:Xf},Of);let Wn,vi=!1;function id(){return Wn||(Wn=cf(Ia))}function ld(){return Wn=vi?Wn:uf(Ia),vi=!0,Wn}const ad=((...e)=>{const t=id().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=La(r);if(!s)return;const o=t._component;!Q(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Ma(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),cd=((...e)=>{const t=ld().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=La(r);if(s)return n(s,!0,Ma(s))},t});function Ma(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function La(e){return pe(e)?document.querySelector(e):e}const ud=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,fd=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,dd=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function hd(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){pd(e);return}return t}function pd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Or(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!dd.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ud.test(e)||fd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,hd)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const gd=/#/g,md=/&/g,yd=/\//g,_d=/=/g,bo=/\+/g,bd=/%5e/gi,vd=/%60/gi,wd=/%7c/gi,Ed=/%20/gi;function Rd(e){return encodeURI(""+e).replace(wd,"|")}function js(e){return Rd(typeof e=="string"?e:JSON.stringify(e)).replace(bo,"%2B").replace(Ed,"+").replace(gd,"%23").replace(md,"%26").replace(vd,"`").replace(bd,"^").replace(yd,"%2F")}function ps(e){return js(e).replace(_d,"%3D")}function Nr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Td(e){return Nr(e.replace(bo," "))}function Cd(e){return Nr(e.replace(bo," "))}function Ha(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Td(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Cd(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Sd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ps(e)}=${js(n)}`).join("&"):`${ps(e)}=${js(t)}`:ps(e)}function Ad(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Sd(t,e[t])).filter(Boolean).join("&")}const kd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,xd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Pd=/^([/\\]\s*){2,}[^/\\]/,Od=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Nd=/\/$|\/\?|\/#/,Id=/^\.?\//;function rn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?kd.test(e):xd.test(e)||(t.acceptRelative?Pd.test(e):!1)}function Md(e){return!!e&&Od.test(e)}function Fs(e="",t){return t?Nd.test(e):e.endsWith("/")}function Ir(e="",t){if(!t)return(Fs(e)?e.slice(0,-1):e)||"/";if(!Fs(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Ld(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Fs(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Hd(e,t){if(ja(t)||rn(e))return e;const n=Ir(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return vo(n,e)}function wi(e,t){if(ja(t))return e;const n=Ir(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Da(e,t){const n=Ua(e),r={...Ha(n.search),...t};return n.search=Ad(r),Fd(n)}function ja(e){return!e||e==="/"}function Dd(e){return e&&e!=="/"}function vo(e,...t){let n=e||"";for(const r of t.filter(s=>Dd(s)))if(n){const s=r.replace(Id,"");n=Ld(n)+s}else n=r;return n}function Fa(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[l,a]of i.split(t).entries())if(!(!a||a===".")){if(a===".."){if(r.length===1&&rn(r[0]))continue;r.pop(),s--;continue}if(l===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+a;continue}r.push(a),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function jd(e,t){return Nr(Ir(e))===Nr(Ir(t))}const Ba=Symbol.for("ufo:protocolRelative");function Ua(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,d=""]=n;return{protocol:u.toLowerCase(),pathname:d,href:u+d,auth:"",host:"",search:"",hash:""}}if(!rn(e,{acceptRelative:!0}))return Ei(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",l=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:f,hash:c}=Ei(l);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:a,search:f,hash:c,[Ba]:!r}}function Ei(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Fd(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Ba]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Bd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Ud(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,l=new Bd(i,e.error?{cause:e.error}:void 0);for(const a of["request","options","response"])Object.defineProperty(l,a,{get(){return e[a]}});for(const[a,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,a,{get(){return e.response&&e.response[f]}});return l}const $d=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ri(e="GET"){return $d.has(e.toUpperCase())}function Vd(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Wd=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Kd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Gd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Kd.test(t)?"json":t==="text/event-stream"?"stream":Wd.has(t)||t.startsWith("text/")?"text":"blob"}function qd(e,t,n,r){const s=Jd(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function Jd(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function hr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Yd=new Set([408,409,425,429,500,502,503,504]),Qd=new Set([101,204,205,304]);function $a(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let c;typeof l.options.retry=="number"?c=l.options.retry:c=Ri(l.options.method)?0:1;const u=l.response&&l.response.status||500;if(c>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(u):Yd.has(u))){const d=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(l.request,{...l.options,retry:c-1})}}const f=Ud(l);throw Error.captureStackTrace&&Error.captureStackTrace(f,o),f}const o=async function(a,f={}){const c={request:a,options:qd(a,f,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await hr(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Hd(c.request,c.options.baseURL)),c.options.query&&(c.request=Da(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Ri(c.options.method))if(Vd(c.options.body)){const h=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),h||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let u;if(!c.options.signal&&c.options.timeout){const h=new r;u=setTimeout(()=>{const y=new Error("[TimeoutError]: The operation was aborted due to timeout");y.name="TimeoutError",y.code=23,h.abort(y)},c.options.timeout),c.options.signal=h.signal}try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await hr(c,c.options.onRequestError),await s(c)}finally{u&&clearTimeout(u)}if((c.response.body||c.response._bodyInit)&&!Qd.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||Gd(c.response.headers.get("content-type")||"");switch(h){case"json":{const y=await c.response.text(),b=c.options.parseResponse||Or;c.response._data=b(y);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[h]()}}return c.options.onResponse&&await hr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await hr(c,c.options.onResponseError),await s(c)):c.response},i=async function(a,f){return(await o(a,f))._data};return i.raw=o,i.native=(...l)=>t(...l),i.create=(l={},a={})=>$a({...e,...a,defaults:{...e.defaults,...a.defaults,...l}}),i}const Mr=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),zd=Mr.fetch?(...e)=>Mr.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Xd=Mr.Headers,Zd=Mr.AbortController,eh=$a({fetch:zd,Headers:Xd,AbortController:Zd}),th=eh,nh=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,wo=()=>nh().app,rh=()=>wo().baseURL,sh=()=>wo().buildAssetsDir,Eo=(...e)=>Fa(Va(),sh(),...e),Va=(...e)=>{const t=wo(),n=t.cdnURL||t.baseURL;return e.length?Fa(n,...e):n};globalThis.__buildAssetsURL=Eo,globalThis.__publicAssetsURL=Va;globalThis.$fetch||(globalThis.$fetch=th.create({baseURL:rh()}));"global"in globalThis||(globalThis.global=globalThis);function Bs(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Bs(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const oh={run:e=>e()},ih=()=>oh,Wa=typeof console.createTask<"u"?console.createTask:ih;function lh(e,t){const n=t.shift(),r=Wa(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function ah(e,t){const n=t.shift(),r=Wa(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function gs(e,t){for(const n of[...e])n(t)}let ch=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Bs(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Bs(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(lh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ah,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&gs(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&gs(this._after,s)}):(this._after&&s&&gs(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function uh(){return new ch}function fh(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,l)=>{l||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{r(i),t=i;try{return s?s.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const a=()=>{t=i},f=()=>t===i?a:void 0;Us.add(f);try{const c=s?s.run(i,l):l();return n||(t=void 0),await c}finally{Us.delete(f)}}}}function dh(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=fh({...e,...r})),t[n]}}}const Lr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ti="__unctx__",hh=Lr[Ti]||(Lr[Ti]=dh()),ph=(e,t={})=>hh.get(e,t),Ci="__unctx_async_handlers__",Us=Lr[Ci]||(Lr[Ci]=new Set);function vn(e){const t=[];for(const s of Us){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const gh=!1,Si=!1,mh=!1,Ai={id:"__nuxt-loader"},Mm={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},yh="#__nuxt",Ka="nuxt-app",ki=36e5,_h="vite:preloadError";function Ga(e=Ka){return ph(e,{asyncContext:!1})}const bh="__nuxt_plugin";function vh(e){let t=0;const n={_id:e.id||Ka||"nuxt-app",_scope:Fc(),provide:void 0,versions:{get nuxt(){return"4.2.2"},get vue(){return n.vueApp.version}},payload:ct({...e.ssrContext?.payload||{},data:ct({}),state:Ft({}),once:new Set,_errors:ct({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!_l()?n._scope.run(()=>xi(n,s)):xi(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:ct({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=uh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;pr(n,i,o),pr(n.vueApp.config.globalProperties,i,o)},pr(n.vueApp,"$nuxt",n),pr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(_h,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=ve;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function wh(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Eh(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Rh(e,t){const n=new Set,r=[],s=[];let o,i=0;async function l(a){const f=a.dependsOn?.filter(c=>t.some(u=>u._name===c)&&!n.has(c))??[];if(f.length>0)r.push([new Set(f),a]);else{const c=Eh(e,a).then(async()=>{a._name&&(n.add(a._name),await Promise.all(r.map(async([u,d])=>{u.has(a._name)&&(u.delete(a._name),u.size===0&&(i++,await l(d)))})))}).catch(u=>{if(!a.parallel&&!e.payload.error)throw u;o||=u});a.parallel?s.push(c):await c}}for(const a of t)wh(e,a);for(const a of t)await l(a);if(await Promise.all(s),i)for(let a=0;a<i;a++)await Promise.all(s);if(o)throw e.payload.error||o}function rt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[bh]:!0,_name:t})}function xi(e,t,n){const r=()=>t();return Ga(e._id).set(e),e.vueApp.runWithContext(r)}function Th(e){let t;return uo()&&(t=Nn()?.appContext.app.$nuxt),t||=Ga(e).tryUse(),t||null}function ve(e){const t=Th(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function rr(e){return ve().$config}function pr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Ch(e,t){return{ctx:{table:e},matchAll:n=>Ja(n,e)}}function qa(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,qa(s)])):new Map(Object.entries(e[n]));return t}function Sh(e){return Ch(qa(e))}function Ja(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Pi(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Pi(t.dynamic))if(e.startsWith(o+"/")){const l="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...Ja(l,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Pi(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ms(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function $s(e,t,n=".",r){if(!ms(t))return $s(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ms(i)&&ms(s[o])?s[o]=$s(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Ah(e){return(...t)=>t.reduce((n,r)=>$s(n,r,"",e),{})}const Ya=Ah();function kh(e,t){try{return t in e}catch{return!1}}class Oi extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Vs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Qa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function xh(e){if(typeof e=="string")return new Oi(e);if(Ph(e))return e;const t=new Oi(e.message??e.statusMessage??"",{cause:e.cause||e});if(kh(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Vs(e.statusCode,t.statusCode):e.status&&(t.statusCode=Vs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Qa(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ph(e){return e?.constructor?.__h3_error__===!0}const Oh=/[^\u0009\u0020-\u007E]/g;function Qa(e=""){return e.replace(Oh,"")}function Vs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const za=Symbol("layout-meta"),nn=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const $e=()=>ve()?.$router,zr=()=>uo()?xe(nn,ve()._route):ve()._route;const Nh=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!1}return!1},Lm=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Ih(e):$e().resolve(e).href;if(t?.open){const{target:a="_blank",windowFeatures:f={}}=t.open,c=[];for(const[u,d]of Object.entries(f))d!==void 0&&c.push(`${u.toLowerCase()}=${d}`);return open(n,a,c.join(", ")),Promise.resolve()}const r=rn(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:a}=new URL(n,window.location.href);if(a&&Md(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Nh();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:a,search:f,hash:c}=Ua(e);return{path:a,...f&&{query:Ha(f)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const i=$e(),l=ve();return s?(l._scope.stop(),t?.replace?location.replace(n):location.href=n,o?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?i.replace(e):i.push(e)};function Ih(e){return Da(e.path||"",e.query||{})+(e.hash||"")}const Xa="__nuxt_error",Xr=()=>fu(ve().payload,"error"),qt=e=>{const t=Xt(e);try{const n=Xr();ve().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Mh=async(e={})=>{const t=ve(),n=Xr();t.callHook("app:error:cleared",e),e.redirect&&await $e().replace(e.redirect),n.value=void 0},Za=e=>!!e&&typeof e=="object"&&Xa in e,Xt=e=>{const t=xh(e);return Object.defineProperty(t,Xa,{value:!0,configurable:!1,writable:!1}),t};function Lh(e){const t=Dh(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const Hh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Dh(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=Hh.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const jh=-1,Fh=-2,Bh=-3,Uh=-4,$h=-5,Vh=-6;function Wh(e,t){return Kh(JSON.parse(e),t)}function Kh(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function o(i,l=!1){if(i===jh)return;if(i===Bh)return NaN;if(i===Uh)return 1/0;if(i===$h)return-1/0;if(i===Vh)return-0;if(l||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const f=a[0],c=t&&Object.hasOwn(t,f)?t[f]:void 0;if(c){let u=a[1];if(typeof u!="number"&&(u=n.push(a[1])-1),s??=new Set,s.has(u))throw new Error("Invalid circular reference");return s.add(u),r[i]=c(o(u)),s.delete(u),r[i]}switch(f){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let y=1;y<a.length;y+=1)u.add(o(a[y]));break;case"Map":const d=new Map;r[i]=d;for(let y=1;y<a.length;y+=2)d.set(o(a[y]),o(a[y+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const h=Object.create(null);r[i]=h;for(let y=1;y<a.length;y+=2)h[a[y]]=o(a[y+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[a[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const y=globalThis[f],b=o(a[1]),T=new y(b);r[i]=a[2]!==void 0?T.subarray(a[2],a[3]):T;break}case"ArrayBuffer":{const y=a[1];if(typeof y!="string")throw new Error("Invalid ArrayBuffer encoding");const b=Lh(y);r[i]=b;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const y=f.slice(9);r[i]=Temporal[y].from(a[1]);break}case"URL":{const y=new URL(a[1]);r[i]=y;break}case"URLSearchParams":{const y=new URLSearchParams(a[1]);r[i]=y;break}default:throw new Error(`Unknown type ${f}`)}}else{const f=new Array(a.length);r[i]=f;for(let c=0;c<a.length;c+=1){const u=a[c];u!==Fh&&(f[c]=o(u))}}else{const f={};r[i]=f;for(const c in a){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const u=a[c];f[c]=o(u)}}return r[i]}return o(0)}const Gh=new Set(["link","style","script","noscript"]),qh=new Set(["title","titleTemplate","script","style","noscript"]),Ni=new Set(["base","meta","link","style","script","noscript"]),Jh=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Yh=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Qh=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),zh=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Xh=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Ws(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Ws(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const ec=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function tc(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o instanceof Promise)return o.then(()=>tc(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function Zh(e,t,n){if(e.length>0)return tc(e,t,0,ec(n))}function ep(e,t,n){if(e.length>0){const r=ec(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function ys(e,t){for(const n of[...e])n(t)}var tp=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Ws(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Ws(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Zh,e,t)}callHookParallel(e,...t){return this.callHookWith(ep,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&ys(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&ys(this._after,r)}):(this._after&&r&&ys(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function np(){return new tp}const rp=["name","property","http-equiv"],sp=new Set(["viewport","description","keywords","robots"]);function nc(e){const t=e.split(":");return t.length?Xh.has(t[1]):!1}function Ks(e){const{props:t,tag:n}=e;if(Yh.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of rp)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&sp.has(s),a=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${a}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(qh.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Ii(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Hr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>Hr(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=Hr(s[i],t,i);return o}return s}function op(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...l]=o.split(":").map(a=>a?a.trim():"");i&&l.length&&n.set(i,l.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function rc(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=op(n,r);return}if(Qh.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let l=t.type;if(t.type||(l="application/json"),!l?.endsWith("json")&&l!=="speculationrules")return;t.type=l,e.props.type=l,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=o||i?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function ip(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=rc({tag:e,props:{}},n);return r.key&&Gh.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function lp(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=Hr(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(ip(s,i))}),r.flat()}const Mi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Li={base:-10,title:10},ap={critical:-8,high:-1,low:2},Hi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},cp=/@import/,Hn=e=>e===""||e===!0;function up(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=ap[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Hi;if(t.tag in Li)n=Li[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Hi.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);Hn(t.props.async)?n=s.script.async:t.props.src&&!Hn(t.props.defer)&&!Hn(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Hn(t.props.defer)&&t.props.src&&!Hn(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&cp.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Di(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function fp(e={}){const t=np();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Di(i,l),push(l,a){const f={...a||{}};delete f.head;const c=f._index??i._entryCount++,u={_i:c,input:l,options:f},d={_poll(h=!1){i.dirty=!0,!h&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(h){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(u.input=h,r.set(c,u),d._poll())}};return d.patch(l),d},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.size;){const d=o.values().next().value;o.delete(d);const h=r.get(d);if(h){const y={tags:lp(h.input,e.propResolvers||[]).map(b=>Object.assign(b,h.options)),entry:h};await t.callHook("entries:normalize",y),h._tags=y.tags.map((b,T)=>(b._w=up(i,b),b._p=(h._i<<10)+T,b._d=Ks(b),b))}}let a=!1;l.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(Mi).reduce((d,h)=>{const y=String(h._d||h._p);if(!d.has(y))return d.set(y,h);const b=d.get(y);if((h?.tagDuplicateStrategy||(zh.has(h.tag)?"merge":null)||(h.key&&h.key===b.key?"merge":null))==="merge"){const R={...b.props};Object.entries(h.props).forEach(([v,g])=>R[v]=v==="style"?new Map([...b.props.style||new Map,...g]):v==="class"?new Set([...b.props.class||new Set,...g]):g),d.set(y,{...h,props:R})}else h._p>>10===b._p>>10&&h.tag==="meta"&&nc(y)?(d.set(y,Object.assign([...Array.isArray(b)?b:[b],h],h)),a=!0):(h._w===b._w?h._p>b._p:h?._w<b?._w)&&d.set(y,h);return d},l.tagMap);const f=l.tagMap.get("title"),c=l.tagMap.get("titleTemplate");if(i._title=f?.textContent,c){const d=c?.textContent;if(i._titleTemplate=d,d){let h=typeof d=="function"?d(f?.textContent):d;typeof h=="string"&&!i.plugins.has("template-params")&&(h=h.replace("%s",f?.textContent||"")),f?h===null?l.tagMap.delete("title"):l.tagMap.set("title",{...f,textContent:h}):(c.tag="title",c.textContent=h)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(Mi)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const u=[];for(const d of l.tags){const{innerHTML:h,tag:y,props:b}=d;if(Jh.has(y)&&!(Object.keys(b).length===0&&!d.innerHTML&&!d.textContent)&&!(y==="meta"&&!b.content&&!b["http-equiv"]&&!b.charset)){if(y==="script"&&h){if(String(b.type).endsWith("json")){const T=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=T.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));d._d=Ks(d)}u.push(d)}}return u},invalidate(){for(const l of r.values())o.add(l._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(l=>Di(i,l)),i.hooks.callHook("init",i),e.init?.forEach(l=>l&&i.push(l)),i}const dp=(e,t)=>_e(t)?lu(t):t,sc="usehead";function hp(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(sc,e)}}.install}function pp(){if(uo()){const e=xe(sc);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Hm(e,t={}){const n=t.head||pp();return n.ssr?n.push(e||{},t):gp(n,e,t)}function gp(e,t,n={}){const r=vt(!1);let s;return wu(()=>{const i=r.value?{}:Hr(t,dp);s?s.patch(i):s=e.push(i,n)}),Nn()&&(tr(()=>{s.dispose()}),ql(()=>{r.value=!0}),Gl(()=>{r.value=!1})),s}let _r,br;function mp(){return _r=$fetch(Eo(`builds/meta/${rr().app.buildId}.json`),{responseType:"json"}),_r.then(e=>{br=Sh(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),_r}function Zr(){return _r||mp()}async function Ro(e){const t=typeof e=="string"?e:e.path;if(await Zr(),!br)return console.error("[nuxt] Error creating app manifest matcher.",br),{};try{return Ya({},...br.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function ji(e,t={}){if(!await ic(e))return null;const r=await _p(e,t);return await oc(r)||null}const yp="_payload.json";async function _p(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||rn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=rr(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await ic(e)?o:r.app.baseURL;return vo(i,n.pathname,yp+(s?`?${s}`:""))}async function oc(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(lc));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function ic(e=zr().path){const t=ve();return e=e==="/"?e:e.replace(/\/$/,""),(await Zr()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Ro({path:e});return!!r.prerender&&!r.redirect})}let Kt=null;async function bp(){if(Kt)return Kt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await lc(e.textContent||""),n=e.dataset.src?await oc(e.dataset.src):void 0;return Kt={...t,...n,...window.__NUXT__},Kt.config?.public&&(Kt.config.public=Ft(Kt.config.public)),Kt}async function lc(e){return await Wh(e,ve()._payloadRevivers)}function vp(e,t){ve()._payloadRevivers[e]=t}const wp=[["NuxtError",e=>Xt(e)],["EmptyShallowRef",e=>En(e==="_"?void 0:e==="0n"?BigInt(0):Or(e))],["EmptyRef",e=>vt(e==="_"?void 0:e==="0n"?BigInt(0):Or(e))],["ShallowRef",e=>En(e)],["ShallowReactive",e=>ct(e)],["Ref",e=>vt(e)],["Reactive",e=>Ft(e)]],Ep=rt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of wp)vp(r,s);Object.assign(e.payload,([t,n]=vn(()=>e.runWithContext(bp)),t=await t,n(),t)),delete window.__NUXT__}});async function To(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(h=>{e.resolveTags().then(y=>{h(y.map(b=>{const T=o.get(b._d)||0,R={tag:b,id:(T?`${b._d}:${T}`:b._d)||Ii(b),shouldRender:!0};return b._d&&nc(b._d)&&o.set(b._d,T+1),R}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const y=n[h]?.children;for(const b of y){const T=b.tagName.toLowerCase();if(!Ni.has(T))continue;const R=rc({tag:T,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((v,g)=>(v[g]=b.getAttribute(g),v),{})||{}});if(R.key=b.getAttribute("data-hid")||void 0,R._d=Ks(R)||Ii(R),l.elMap.has(R._d)){let v=1,g=R._d;for(;l.elMap.has(g);)g=`${R._d}:${v++}`;l.elMap.set(g,b)}else l.elMap.set(R._d,b)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(h,y,b){const T=`${h}:${y}`;l.sideEffects[T]=b,delete l.pendingSideEffects[T]}function f({id:h,$el:y,tag:b}){const T=b.tag.endsWith("Attrs");l.elMap.set(h,y),T||(b.textContent&&b.textContent!==y.textContent&&(y.textContent=b.textContent),b.innerHTML&&b.innerHTML!==y.innerHTML&&(y.innerHTML=b.innerHTML),a(h,"el",()=>{y?.remove(),l.elMap.delete(h)}));for(const R in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,R))continue;const v=b.props[R];if(R.startsWith("on")&&typeof v=="function"){const _=y?.dataset;if(_&&_[`${R}fired`]){const w=R.slice(0,-5);v.call(y,new Event(w.substring(2)))}y.getAttribute(`data-${R}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:y).addEventListener(R.substring(2),v.bind(y)),y.setAttribute(`data-${R}`,""));continue}const g=`attr:${R}`;if(R==="class"){if(!v)continue;for(const _ of v)T&&a(h,`${g}:${_}`,()=>y.classList.remove(_)),!y.classList.contains(_)&&y.classList.add(_)}else if(R==="style"){if(!v)continue;for(const[_,w]of v)a(h,`${g}:${_}`,()=>{y.style.removeProperty(_)}),y.style.setProperty(_,w)}else v!==!1&&v!==null&&(y.getAttribute(R)!==v&&y.setAttribute(R,v===!0?"":String(v)),T&&a(h,g,()=>y.removeAttribute(R)))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const h of d){const{tag:y,shouldRender:b,id:T}=h;if(b){if(y.tag==="title"){n.title=y.textContent,a("title","",()=>n.title=l.title);continue}h.$el=h.$el||l.elMap.get(T),h.$el?f(h):Ni.has(y.tag)&&c.push(h)}}for(const h of c){const y=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),f(h),u[y]=u[y]||n.createDocumentFragment(),u[y].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const h in l.pendingSideEffects)l.pendingSideEffects[h]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Rp(e={}){const t=e.domOptions?.render||To;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return fp({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Tp(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Cp(e={}){const t=Rp({domOptions:{render:Tp(()=>To(t),n=>setTimeout(n,0))},...e});return t.install=hp(t),t}const Sp={disableDefaults:!0},Ap=rt({name:"nuxt:head",enforce:"pre",setup(e){const t=Cp(Sp);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await To(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const un=typeof document<"u";function ac(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ac(e.default)}const re=Object.assign;function _s(e,t){const n={};for(const r in t){const s=t[r];n[r]=nt(s)?s.map(e):e(s)}return n}const Kn=()=>{},nt=Array.isArray;function Fi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const cc=/#/g,xp=/&/g,Pp=/\//g,Op=/=/g,Np=/\?/g,uc=/\+/g,Ip=/%5B/g,Mp=/%5D/g,fc=/%5E/g,Lp=/%60/g,dc=/%7B/g,Hp=/%7C/g,hc=/%7D/g,Dp=/%20/g;function Co(e){return e==null?"":encodeURI(""+e).replace(Hp,"|").replace(Ip,"[").replace(Mp,"]")}function jp(e){return Co(e).replace(dc,"{").replace(hc,"}").replace(fc,"^")}function Gs(e){return Co(e).replace(uc,"%2B").replace(Dp,"+").replace(cc,"%23").replace(xp,"%26").replace(Lp,"`").replace(dc,"{").replace(hc,"}").replace(fc,"^")}function Fp(e){return Gs(e).replace(Op,"%3D")}function Bp(e){return Co(e).replace(cc,"%23").replace(Np,"%3F")}function Up(e){return Bp(e).replace(Pp,"%2F")}function zn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $p=/\/$/,Vp=e=>e.replace($p,"");function bs(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(r=t.slice(0,a),o=t.slice(a,l>0?l:t.length),s=e(o.slice(1))),l>=0&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=qp(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:zn(i)}}function Wp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Bi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Kp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&An(t.matched[r],n.matched[s])&&pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function An(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Gp(e[n],t[n]))return!1;return!0}function Gp(e,t){return nt(e)?Ui(e,t):nt(t)?Ui(t,e):e?.valueOf()===t?.valueOf()}function Ui(e,t){return nt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function qp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let qs=(function(e){return e.pop="pop",e.push="push",e})({}),vs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Jp(e){if(!e)if(un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vp(e)}const Yp=/^[^#]+#/;function Qp(e,t){return e.replace(Yp,"#")+t}function zp(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const es=()=>({left:window.scrollX,top:window.scrollY});function Xp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=zp(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function $i(e,t){return(history.state?history.state.position-t:-1)+e}const Js=new Map;function Zp(e,t){Js.set(e,t)}function eg(e){const t=Js.get(e);return Js.delete(e),t}function tg(e){return typeof e=="string"||e&&typeof e=="object"}function gc(e){return typeof e=="string"||typeof e=="symbol"}let ge=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const mc=Symbol("");ge.MATCHER_NOT_FOUND+"",ge.NAVIGATION_GUARD_REDIRECT+"",ge.NAVIGATION_ABORTED+"",ge.NAVIGATION_CANCELLED+"",ge.NAVIGATION_DUPLICATED+"";function kn(e,t){return re(new Error,{type:e,[mc]:!0},t)}function pt(e,t){return e instanceof Error&&mc in e&&(t==null||!!(e.type&t))}const ng=["params","query","hash"];function rg(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of ng)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function sg(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(uc," "),o=s.indexOf("="),i=zn(o<0?s:s.slice(0,o)),l=o<0?null:zn(s.slice(o+1));if(i in t){let a=t[i];nt(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function Vi(e){let t="";for(let n in e){const r=e[n];if(n=Fp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(nt(r)?r.map(s=>s&&Gs(s)):[r&&Gs(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function og(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=nt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const ig=Symbol(""),Wi=Symbol(""),So=Symbol(""),Ao=Symbol(""),Ys=Symbol("");function Dn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const f=d=>{d===!1?a(kn(ge.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?a(d):tg(d)?a(kn(ge.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),l())},c=o(()=>e.call(r&&r.instances[s],t,n,f));let u=Promise.resolve(c);e.length<3&&(u=u.then(f)),u.catch(d=>a(d))})}function ws(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ac(a)){const f=(a.__vccOpts||a)[t];f&&o.push(Nt(f,n,r,i,l,s))}else{let f=a();o.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const u=kp(c)?c.default:c;i.mods[l]=c,i.components[l]=u;const d=(u.__vccOpts||u)[t];return d&&Nt(d,n,r,i,l,s)()}))}}return o}function lg(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(f=>An(f,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>An(f,a))||s.push(a))}return[n,r,s]}let ag=()=>location.protocol+"//"+location.host;function yc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Bi(l,"")}return Bi(n,e)+r+s}function cg(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const h=yc(e,location),y=n.value,b=t.value;let T=0;if(d){if(n.value=h,t.value=d,i&&i===y){i=null;return}T=b?d.position-b.position:0}else r(h);s.forEach(R=>{R(n.value,y,{delta:T,type:qs.pop,direction:T?T>0?vs.forward:vs.back:vs.unknown})})};function a(){i=n.value}function f(d){s.push(d);const h=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(re({},d.state,{scroll:es()}),"")}}function u(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:f,destroy:u}}function Ki(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?es():null}}function ug(e){const{history:t,location:n}=window,r={value:yc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,f,c){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:ag()+e+a;try{t[c?"replaceState":"pushState"](f,"",d),s.value=f}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function i(a,f){o(a,re({},t.state,Ki(s.value.back,a,s.value.forward,!0),f,{position:s.value.position}),!0),r.value=a}function l(a,f){const c=re({},s.value,t.state,{forward:a,scroll:es()});o(c.current,c,!0),o(a,re({},Ki(r.value,a,null),{position:c.position+1},f),!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function fg(e){e=Jp(e);const t=ug(e),n=cg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=re({location:"",base:e,go:r,createHref:Qp.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Jt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(be||{});const dg={type:Jt.Static,value:""},hg=/[a-zA-Z0-9_]/;function pg(e){if(!e)return[[]];if(e==="/")return[[dg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=be.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,f="",c="";function u(){f&&(n===be.Static?o.push({type:Jt.Static,value:f}):n===be.Param||n===be.ParamRegExp||n===be.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Jt.Param,value:f,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==be.ParamRegExp){r=n,n=be.EscapeNext;continue}switch(n){case be.Static:a==="/"?(f&&u(),i()):a===":"?(u(),n=be.Param):d();break;case be.EscapeNext:d(),n=r;break;case be.Param:a==="("?n=be.ParamRegExp:hg.test(a)?d():(u(),n=be.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case be.ParamRegExp:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=be.ParamRegExpEnd:c+=a;break;case be.ParamRegExpEnd:u(),n=be.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===be.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),u(),i(),s}const Gi="[^/]+?",gg={sensitive:!1,strict:!1,start:!0,end:!0};var Oe=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Oe||{});const mg=/[.+*?^${}()[\]/\\]/g;function yg(e,t){const n=re({},gg,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const c=f.length?[]:[Oe.Root];n.strict&&!f.length&&(s+="/");for(let u=0;u<f.length;u++){const d=f[u];let h=Oe.Segment+(n.sensitive?Oe.BonusCaseSensitive:0);if(d.type===Jt.Static)u||(s+="/"),s+=d.value.replace(mg,"\\$&"),h+=Oe.Static;else if(d.type===Jt.Param){const{value:y,repeatable:b,optional:T,regexp:R}=d;o.push({name:y,repeatable:b,optional:T});const v=R||Gi;if(v!==Gi){h+=Oe.BonusCustomRegExp;try{`${v}`}catch(_){throw new Error(`Invalid custom RegExp for param "${y}" (${v}): `+_.message)}}let g=b?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(g=T&&f.length<2?`(?:/${g})`:"/"+g),T&&(g+="?"),s+=g,h+=Oe.Dynamic,T&&(h+=Oe.BonusOptional),b&&(h+=Oe.BonusRepeatable),v===".*"&&(h+=Oe.BonusWildcard)}c.push(h)}r.push(c)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=Oe.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function l(f){const c=f.match(i),u={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",y=o[d-1];u[y.name]=h&&y.repeatable?h.split("/"):h}return u}function a(f){let c="",u=!1;for(const d of e){(!u||!c.endsWith("/"))&&(c+="/"),u=!1;for(const h of d)if(h.type===Jt.Static)c+=h.value;else if(h.type===Jt.Param){const{value:y,repeatable:b,optional:T}=h,R=y in f?f[y]:"";if(nt(R)&&!b)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const v=nt(R)?R.join("/"):R;if(!v)if(T)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):u=!0);else throw new Error(`Missing required param "${y}"`);c+=v}}return c||"/"}return{re:i,score:r,keys:o,parse:l,stringify:a}}function _g(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===Oe.Static+Oe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Oe.Static+Oe.Segment?1:-1:0}function _c(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=_g(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(qi(r))return 1;if(qi(s))return-1}return s.length-r.length}function qi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const bg={strict:!1,end:!0,sensitive:!1};function vg(e,t,n){const r=yg(pg(e.path),n),s=re(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function wg(e,t){const n=[],r=new Map;t=Fi(bg,t);function s(u){return r.get(u)}function o(u,d,h){const y=!h,b=Yi(u);b.aliasOf=h&&h.record;const T=Fi(t,u),R=[b];if("alias"in u){const _=typeof u.alias=="string"?[u.alias]:u.alias;for(const w of _)R.push(Yi(re({},b,{components:h?h.record.components:b.components,path:w,aliasOf:h?h.record:b})))}let v,g;for(const _ of R){const{path:w}=_;if(d&&w[0]!=="/"){const k=d.record.path,L=k[k.length-1]==="/"?"":"/";_.path=d.record.path+(w&&L+w)}if(v=vg(_,d,T),h?h.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),y&&u.name&&!Qi(v)&&i(u.name)),bc(v)&&a(v),b.children){const k=b.children;for(let L=0;L<k.length;L++)o(k[L],v,h&&h.children[L])}h=h||v}return g?()=>{i(g)}:Kn}function i(u){if(gc(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){const d=Tg(u,n);n.splice(d,0,u),u.record.name&&!Qi(u)&&r.set(u.record.name,u)}function f(u,d){let h,y={},b,T;if("name"in u&&u.name){if(h=r.get(u.name),!h)throw kn(ge.MATCHER_NOT_FOUND,{location:u});T=h.record.name,y=re(Ji(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Ji(u.params,h.keys.map(g=>g.name))),b=h.stringify(y)}else if(u.path!=null)b=u.path,h=n.find(g=>g.re.test(b)),h&&(y=h.parse(b),T=h.record.name);else{if(h=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!h)throw kn(ge.MATCHER_NOT_FOUND,{location:u,currentLocation:d});T=h.record.name,y=re({},d.params,u.params),b=h.stringify(y)}const R=[];let v=h;for(;v;)R.unshift(v.record),v=v.parent;return{name:T,path:b,params:y,matched:R,meta:Rg(R)}}e.forEach(u=>o(u));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:s}}function Ji(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Yi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Eg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Eg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Qi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rg(e){return e.reduce((t,n)=>re(t,n.meta),{})}function Tg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;_c(e,t[o])<0?r=o:n=o+1}const s=Cg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Cg(e){let t=e;for(;t=t.parent;)if(bc(t)&&_c(e,t)===0)return t}function bc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function zi(e){const t=xe(So),n=xe(Ao),r=qe(()=>{const a=fe(e.to);return t.resolve(a)}),s=qe(()=>{const{matched:a}=r.value,{length:f}=a,c=a[f-1],u=n.matched;if(!c||!u.length)return-1;const d=u.findIndex(An.bind(null,c));if(d>-1)return d;const h=Xi(a[f-2]);return f>1&&Xi(c)===h&&u[u.length-1].path!==h?u.findIndex(An.bind(null,a[f-2])):d}),o=qe(()=>s.value>-1&&Pg(n.params,r.value.params)),i=qe(()=>s.value>-1&&s.value===n.matched.length-1&&pc(n.params,r.value.params));function l(a={}){if(xg(a)){const f=t[fe(e.replace)?"replace":"push"](fe(e.to)).catch(Kn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:qe(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function Sg(e){return e.length===1?e[0]:e}const Ag=Bt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:zi,setup(e,{slots:t}){const n=Ft(zi(e)),{options:r}=xe(So),s=qe(()=>({[Zi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Zi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Sg(t.default(n));return e.custom?o:ke("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),kg=Ag;function xg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Pg(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!nt(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Xi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Zi=(e,t,n)=>e??t??n,Og=Bt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=xe(Ys),s=qe(()=>e.route||r.value),o=xe(Wi,0),i=qe(()=>{let f=fe(o);const{matched:c}=s.value;let u;for(;(u=c[f])&&!u.components;)f++;return f}),l=qe(()=>s.value.matched[i.value]);Ht(Wi,qe(()=>i.value+1)),Ht(ig,l),Ht(Ys,s);const a=vt();return yn(()=>[a.value,l.value,e.name],([f,c,u],[d,h,y])=>{c&&(c.instances[u]=f,h&&h!==c&&f&&f===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),f&&c&&(!h||!An(c,h)||!d)&&(c.enterCallbacks[u]||[]).forEach(b=>b(f))},{flush:"post"}),()=>{const f=s.value,c=e.name,u=l.value,d=u&&u.components[c];if(!d)return el(n.default,{Component:d,route:f});const h=u.props[c],y=h?h===!0?f.params:typeof h=="function"?h(f):h:null,T=ke(d,re({},y,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return el(n.default,{Component:T,route:f})||T}}});function el(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vc=Og;function Ng(e){const t=wg(e.routes,e),n=e.parseQuery||sg,r=e.stringifyQuery||Vi,s=e.history,o=Dn(),i=Dn(),l=Dn(),a=En(Ke);let f=Ke;un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=_s.bind(null,S=>""+S),u=_s.bind(null,Up),d=_s.bind(null,zn);function h(S,U){let j,J;return gc(S)?(j=t.getRecordMatcher(S),J=U):J=S,t.addRoute(J,j)}function y(S){const U=t.getRecordMatcher(S);U&&t.removeRoute(U)}function b(){return t.getRoutes().map(S=>S.record)}function T(S){return!!t.getRecordMatcher(S)}function R(S,U){if(U=re({},U||a.value),typeof S=="string"){const m=bs(n,S,U.path),E=t.resolve({path:m.path},U),A=s.createHref(m.fullPath);return re(m,E,{params:d(E.params),hash:zn(m.hash),redirectedFrom:void 0,href:A})}let j;if(S.path!=null)j=re({},S,{path:bs(n,S.path,U.path).path});else{const m=re({},S.params);for(const E in m)m[E]==null&&delete m[E];j=re({},S,{params:u(m)}),U.params=u(U.params)}const J=t.resolve(j,U),Z=S.hash||"";J.params=c(d(J.params));const he=Wp(r,re({},S,{hash:jp(Z),path:J.path})),p=s.createHref(he);return re({fullPath:he,hash:Z,query:r===Vi?og(S.query):S.query||{}},J,{redirectedFrom:void 0,href:p})}function v(S){return typeof S=="string"?bs(n,S,a.value.path):re({},S)}function g(S,U){if(f!==S)return kn(ge.NAVIGATION_CANCELLED,{from:U,to:S})}function _(S){return L(S)}function w(S){return _(re(v(S),{replace:!0}))}function k(S,U){const j=S.matched[S.matched.length-1];if(j&&j.redirect){const{redirect:J}=j;let Z=typeof J=="function"?J(S,U):J;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=v(Z):{path:Z},Z.params={}),re({query:S.query,hash:S.hash,params:Z.path!=null?{}:S.params},Z)}}function L(S,U){const j=f=R(S),J=a.value,Z=S.state,he=S.force,p=S.replace===!0,m=k(j,J);if(m)return L(re(v(m),{state:typeof m=="object"?re({},Z,m.state):Z,force:he,replace:p}),U||j);const E=j;E.redirectedFrom=U;let A;return!he&&Kp(r,J,j)&&(A=kn(ge.NAVIGATION_DUPLICATED,{to:E,from:J}),st(J,J,!0,!1)),(A?Promise.resolve(A):N(E,J)).catch(C=>pt(C)?pt(C,ge.NAVIGATION_GUARD_REDIRECT)?C:St(C):B(C,E,J)).then(C=>{if(C){if(pt(C,ge.NAVIGATION_GUARD_REDIRECT))return L(re({replace:p},v(C.to),{state:typeof C.to=="object"?re({},Z,C.to.state):Z,force:he}),U||E)}else C=O(E,J,!0,p,Z);return W(E,J,C),C})}function V(S,U){const j=g(S,U);return j?Promise.reject(j):Promise.resolve()}function I(S){const U=on.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(S):S()}function N(S,U){let j;const[J,Z,he]=lg(S,U);j=ws(J.reverse(),"beforeRouteLeave",S,U);for(const m of J)m.leaveGuards.forEach(E=>{j.push(Nt(E,S,U))});const p=V.bind(null,S,U);return j.push(p),Ve(j).then(()=>{j=[];for(const m of o.list())j.push(Nt(m,S,U));return j.push(p),Ve(j)}).then(()=>{j=ws(Z,"beforeRouteUpdate",S,U);for(const m of Z)m.updateGuards.forEach(E=>{j.push(Nt(E,S,U))});return j.push(p),Ve(j)}).then(()=>{j=[];for(const m of he)if(m.beforeEnter)if(nt(m.beforeEnter))for(const E of m.beforeEnter)j.push(Nt(E,S,U));else j.push(Nt(m.beforeEnter,S,U));return j.push(p),Ve(j)}).then(()=>(S.matched.forEach(m=>m.enterCallbacks={}),j=ws(he,"beforeRouteEnter",S,U,I),j.push(p),Ve(j))).then(()=>{j=[];for(const m of i.list())j.push(Nt(m,S,U));return j.push(p),Ve(j)}).catch(m=>pt(m,ge.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function W(S,U,j){l.list().forEach(J=>I(()=>J(S,U,j)))}function O(S,U,j,J,Z){const he=g(S,U);if(he)return he;const p=U===Ke,m=un?history.state:{};j&&(J||p?s.replace(S.fullPath,re({scroll:p&&m&&m.scroll},Z)):s.push(S.fullPath,Z)),a.value=S,st(S,U,j,p),St()}let K;function ee(){K||(K=s.listen((S,U,j)=>{if(!Ut.listening)return;const J=R(S),Z=k(J,Ut.currentRoute.value);if(Z){L(re(Z,{replace:!0,force:!0}),J).catch(Kn);return}f=J;const he=a.value;un&&Zp($i(he.fullPath,j.delta),es()),N(J,he).catch(p=>pt(p,ge.NAVIGATION_ABORTED|ge.NAVIGATION_CANCELLED)?p:pt(p,ge.NAVIGATION_GUARD_REDIRECT)?(L(re(v(p.to),{force:!0}),J).then(m=>{pt(m,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===qs.pop&&s.go(-1,!1)}).catch(Kn),Promise.reject()):(j.delta&&s.go(-j.delta,!1),B(p,J,he))).then(p=>{p=p||O(J,he,!1),p&&(j.delta&&!pt(p,ge.NAVIGATION_CANCELLED)?s.go(-j.delta,!1):j.type===qs.pop&&pt(p,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),W(J,he,p)}).catch(Kn)}))}let le=Dn(),$=Dn(),z;function B(S,U,j){St(S);const J=$.list();return J.length?J.forEach(Z=>Z(S,U,j)):console.error(S),Promise.reject(S)}function de(){return z&&a.value!==Ke?Promise.resolve():new Promise((S,U)=>{le.add([S,U])})}function St(S){return z||(z=!S,ee(),le.list().forEach(([U,j])=>S?j(S):U()),le.reset()),S}function st(S,U,j,J){const{scrollBehavior:Z}=e;if(!un||!Z)return Promise.resolve();const he=!j&&eg($i(S.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return en().then(()=>Z(S,U,he)).then(p=>p&&Xp(p)).catch(p=>B(p,S,U))}const Ie=S=>s.go(S);let sn;const on=new Set,Ut={currentRoute:a,listening:!0,addRoute:h,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:T,getRoutes:b,resolve:R,options:e,push:_,replace:w,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:$.add,isReady:de,install(S){S.component("RouterLink",kg),S.component("RouterView",vc),S.config.globalProperties.$router=Ut,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>fe(a)}),un&&!sn&&a.value===Ke&&(sn=!0,_(s.location).catch(J=>{}));const U={};for(const J in Ke)Object.defineProperty(U,J,{get:()=>a.value[J],enumerable:!0});S.provide(So,Ut),S.provide(Ao,ct(U)),S.provide(Ys,a);const j=S.unmount;on.add(S),S.unmount=function(){on.delete(S),on.size<1&&(f=Ke,K&&K(),K=null,a.value=Ke,sn=!1,z=!1),j()}}};function Ve(S){return S.reduce((U,j)=>U.then(()=>I(j)),Promise.resolve())}return Ut}function wc(e){return xe(Ao)}const Ig=/(:\w+)\([^)]+\)/g,Mg=/(:\w+)[?+*]/g,Lg=/:\w+/g,Hg=(e,t)=>t.path.replace(Ig,"$1").replace(Mg,"$1").replace(Lg,n=>e.params[n.slice(1)]?.toString()||""),Qs=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Hg(e.route,n));return typeof r=="function"?r(e.route):r},Dg=(e,t)=>({default:()=>e?ke(Iu,e===!0?{}:e,t):t});function ko(e){return Array.isArray(e)?e:[e]}const jg="modulepreload",Fg=function(e,t){return new URL(e,t).href},tl={},Dr=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let f=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=l?.nonce||l?.getAttribute("nonce");s=f(n.map(c=>{if(c=Fg(c,r),c in tl)return;tl[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(r)for(let y=i.length-1;y>=0;y--){const b=i[y];if(b.href===c&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":jg,u||(h.as="script"),h.crossOrigin="",h.href=c,a&&h.setAttribute("nonce",a),document.head.appendChild(h),u)return new Promise((y,b)=>{h.addEventListener("load",y),h.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Es=[{name:"mcp",path:"/mcp",component:()=>Dr(()=>import("./C2ORx7Gd.js"),__vite__mapDeps([0,1,2]),import.meta.url)},{name:"index",path:"/",component:()=>Dr(()=>import("./PGt8fA_Y.js"),__vite__mapDeps([3,2,1]),import.meta.url)}],Ec=(e,t)=>({default:()=>e?ke(Mf,e===!0?{}:e,t):t.default?.()}),Bg=/(:\w+)\([^)]+\)/g,Ug=/(:\w+)[?+*]/g,$g=/:\w+/g;function nl(e){const t=e?.meta.key??e.path.replace(Bg,"$1").replace(Ug,"$1").replace($g,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Vg(e,t){return e===t||t===Ke?!1:nl(e)!==nl(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const Wg={scrollBehavior(e,t,n){const r=ve(),s=$e().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Rc(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const i=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(l=>{if(t===Ke){l(rl(e,t,n,s));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>l(rl(e,t,n,s)))})})}};function Rc(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function rl(e,t,n,r){if(n)return n;const s=Vg(e,t);return e.hash?{el:e.hash,top:Rc(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const Kg={hashMode:!1,scrollBehaviorType:"auto"},kt={...Kg,...Wg},Gg=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=vn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=Xt({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},qg=async e=>{let t,n;const r=([t,n]=vn(()=>Ro({path:e.path})),t=await t,n(),t);if(r.redirect){const s=r.redirect.includes("#")?r.redirect:r.redirect+e.hash;return rn(s,{acceptRelative:!0})?(window.location.href=s,!1):s}},Jg=[Gg,qg],zs={};function Yg(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const f=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(f);return c[0]!=="/"&&(c="/"+c),wi(c,"")}const l=wi(r,e),a=!n||jd(l,n)?l:n;return a+(a.includes("?")?"":s)+o}const Qg=rt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=rr().app.baseURL;const s=kt.history?.(r)??fg(r),o=kt.routes?([t,n]=vn(()=>kt.routes(Es)),t=await t,n(),t??Es):Es;let i;const l=Ng({...kt,scrollBehavior:(T,R,v)=>{if(R===Ke){i=v;return}if(kt.scrollBehavior){if(l.options.scrollBehavior=kt.scrollBehavior,"scrollRestoration"in window.history){const g=l.beforeEach(()=>{g(),window.history.scrollRestoration="manual"})}return kt.scrollBehavior(T,Ke,i||v)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const a=En(l.currentRoute.value);l.afterEach((T,R)=>{a.value=R}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const f=Yg(r,window.location,e.payload.path),c=En(l.currentRoute.value),u=()=>{c.value=l.currentRoute.value};l.afterEach((T,R)=>{T.matched.at(-1)?.components?.default===R.matched.at(-1)?.components?.default&&u()});const d={sync:u};for(const T in c.value)Object.defineProperty(d,T,{get:()=>c.value[T],enumerable:!0});e._route=ct(d),e._middleware||={global:[],named:{}};const h=Xr();l.afterEach(async(T,R,v)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Mh),v&&await e.callHook("page:loading:end")});try{[t,n]=vn(()=>l.isReady()),await t,n()}catch(T){[t,n]=vn(()=>e.runWithContext(()=>qt(T))),await t,n()}const y=f!==l.currentRoute.value.fullPath?l.resolve(f):l.currentRoute.value;u();const b=e.payload.state._layout;return l.beforeEach(async(T,R)=>{await e.callHook("page:loading:start"),T.meta=Ft(T.meta),e.isHydrating&&b&&!ft(T.meta.layout)&&(T.meta.layout=b),e._processingMiddleware=!0;{const v=new Set([...Jg,...e._middleware.global]);for(const g of T.matched){const _=g.meta.middleware;if(_)for(const w of ko(_))v.add(w)}{const g=await e.runWithContext(()=>Ro({path:T.path}));if(g.appMiddleware)for(const _ in g.appMiddleware)g.appMiddleware[_]?v.add(_):v.delete(_)}for(const g of v){const _=typeof g=="string"?e._middleware.named[g]||await zs[g]?.().then(w=>w.default||w):g;if(!_)throw new Error(`Unknown route middleware: '${g}'.`);try{const w=await e.runWithContext(()=>_(T,R));if(!e.payload.serverRendered&&e.isHydrating&&(w===!1||w instanceof Error)){const k=w||Xt({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>qt(k)),!1}if(w===!0)continue;if(w===!1)return w;if(w)return Za(w)&&w.fatal&&await e.runWithContext(()=>qt(w)),w}catch(w){const k=Xt(w);return k.fatal&&await e.runWithContext(()=>qt(k)),k}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(T=>{if(T.matched.length===0)return e.runWithContext(()=>qt(Xt({statusCode:404,fatal:!1,statusMessage:`Page not found: ${T.fullPath}`,data:{path:T.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in y&&(y.name=void 0),await l.replace({...y,force:!0}),l.options.scrollBehavior=kt.scrollBehavior}catch(T){await e.runWithContext(()=>qt(T))}}),{provide:{router:l}}}}),sl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Dm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),xo=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{sl(()=>e())}):sl(()=>e())},zg=rt({name:"nuxt:payload",setup(e){const t=new Set;$e().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await ji(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),xo(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await ji(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Zr,1e3)})}}),Xg=rt(()=>{const e=$e();xo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Zg=rt(e=>{let t;async function n(){let r;try{r=await Zr()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,ki);try{const s=await $fetch(Eo("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}xo(()=>{t=setTimeout(n,ki)})});function em(e={}){const t=e.path||window.location.pathname;let n={};try{n=Or(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const tm=rt({name:"nuxt:chunk-reload",setup(e){const t=$e(),n=rr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=vo(n.app.baseURL,o.fullPath);em({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),nm=rt({name:"nuxt:global-components"}),It={};function rm(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function sm(e,t=$e()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>sm(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const l=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(l)));s.push(l)}await Promise.all(s)}const om=rt({name:"nuxt:prefetch",setup(e){const t=$e();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof It[r]=="function"&&await It[r]()})}),e.hooks.hook("link:prefetch",n=>{if(rn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=ko(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof zs[i]=="function"&&zs[i]();typeof s=="string"&&s in It&&rm(It[s])})}}),im=rt(()=>{const t=rr().public.claudeDevtoolsBc?.tunnel;return{provide:{claudeDevtoolsBc:{tunnel:t,isTunnelActive:t!==null}}}}),lm=rt(()=>{}),am=[Ep,Ap,Qg,zg,Xg,Zg,tm,nm,om,im,lm],Tc=(e="RouteProvider")=>Bt({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return Ht(nn,ct(s)),()=>t.vnode?ke(t.vnode,{ref:t.vnodeRef}):t.vnode}}),cm=Tc(),ol=new WeakMap,um=Bt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=ve(),o=vt(),i=xe(nn,null);let l;r({pageRef:o});const a=xe(za,null);let f;const c=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",c);$e().beforeEach(d)}e.pageKey&&yn(()=>e.pageKey,(d,h)=>{d!==h&&s.callHook("page:loading:start")});let u=!1;{const d=$e().beforeResolve(()=>{u=!1});tr(()=>{d()})}return()=>ke(vc,{name:e.name,route:e.route,...t},{default:d=>{const h=dm(i,d.route,d.Component),y=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(f&&!y)return f;c();return}if(f&&a&&!a.isCurrent(d.route))return f;if(h&&i&&(!a||a?.isCurrent(i)))return y?f:null;const b=Qs(d,e.pageKey),T=hm(i,d.route,d.Component);!s.isHydrating&&l===b&&!T&&en(()=>{u=!0,s.callHook("page:loading:end")}),l=b;const R=!!(e.transition??d.route.meta.pageTransition??Si),v=R&&fm([e.transition,d.route.meta.pageTransition,Si,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",d.Component)}}]),g=e.keepalive??d.route.meta.keepalive??mh;return f=Ec(R&&v,Dg(g,ke(yo,{suspensible:!0,onPending:()=>{R&&(s._runningTransition=!0),s.callHook("page:start",d.Component)},onResolve:async()=>{await en();try{s._route.sync?.(),await s.callHook("page:finish",d.Component),delete s._runningTransition,!u&&!T&&(u=!0,await s.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const _={key:b||void 0,vnode:n.default?pm(n.default,d):d.Component,route:d.route,renderKey:b||void 0,trackRootNodes:R,vnodeRef:o};if(!g)return ke(cm,_);const w=d.Component.type,k=w;let L=ol.get(k);return L||(L=Tc(w.name||w.__name),ol.set(k,L)),ke(L,_)}}))).default(),f}})}});function fm(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?ko(n.onAfterLeave):void 0});return Ya(...t)}function dm(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&Qs({route:t,Component:n})!==Qs({route:e,Component:n})}function hm(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function pm(e,t){const n=e(t);return n.length===1?ke(n[0]):ke(Re,void 0,n)}const gm=Bt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>ke(It[e.name],e.layoutProps,t.slots)}}),mm={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},ym=Bt({name:"NuxtLayout",inheritAttrs:!1,props:mm,setup(e,t){const n=ve(),r=xe(nn),o=!r||r===zr()?wc():r,i=qe(()=>{let c=fe(e.name)??o?.meta.layout??"default";return c&&!(c in It)&&e.fallback&&(c=fe(e.fallback)),c}),l=En();t.expose({layoutRef:l});const a=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",a);$e().beforeEach(c)}let f;return()=>{const c=i.value&&i.value in It,u=o?.meta.layoutTransition??gh,d=f;return f=i.value,Ec(c&&u,{default:()=>ke(yo,{suspensible:!0,onResolve:()=>{en(a)}},{default:()=>ke(_m,{layoutProps:Aa(t.attrs,{ref:l}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:h=>h!==d&&h===i.value,hasTransition:!!u},t.slots)})}).default()}}}),_m=Bt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Ht(za,{isCurrent:o=>n===(o.meta.layout??"default")});const r=xe(nn);if(r&&r===zr()){const o=wc(),i={};for(const l in o){const a=l;Object.defineProperty(i,a,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[a]:r[a]})}Ht(nn,ct(i))}return()=>!n||typeof n=="string"&&!(n in It)?t.slots.default?.():ke(gm,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),bm=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vm={};function wm(e,t){const n=um,r=ym;return Ge(),at(r,null,{default:co(()=>[me(n,{keepalive:!0,transition:{name:"page",mode:"out-in"}})]),_:1})}const Em=bm(vm,[["render",wm]]),Rm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,c=s?$o(()=>Dr(()=>import("./B1H6wO_D.js"),__vite__mapDeps([4,1,5,6]),import.meta.url)):$o(()=>Dr(()=>import("./BpkYThsl.js"),__vite__mapDeps([7,5,8]),import.meta.url));return(u,d)=>(Ge(),at(fe(c),Mc(Ca({statusCode:fe(r),statusMessage:fe(o),description:fe(i),stack:fe(l)})),null,16))}},Tm={key:0},il={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),r=n.deferHydration();if(n.isHydrating){const f=n.hooks.hookOnce("app:error",r);$e().beforeEach(f)}const s=!1;Ht(nn,zr()),n.hooks.callHookWith(f=>f.map(c=>c()),"vue:setup");const o=Xr(),i=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;zl((f,c,u)=>{if(n.hooks.callHook("vue:error",f,c,u).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),l.test(navigator.userAgent))return n.hooks.callHook("app:error",f),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,f),!1;if(Za(f)&&(f.fatal||f.unhandled))return n.runWithContext(()=>qt(f)),!1});const a=!1;return(f,c)=>(Ge(),at(yo,{onResolve:fe(r)},{default:co(()=>[fe(i)?(Ge(),_f("div",Tm)):fe(o)?(Ge(),at(fe(Rm),{key:1,error:fe(o)},null,8,["error"])):fe(a)?(Ge(),at(fe(t),{key:2,context:fe(a)},null,8,["context"])):fe(s)?(Ge(),at(Bu(fe(s)),{key:3})):(Ge(),at(fe(Em),{key:4}))]),_:1},8,["onResolve"]))}};let ll;{let e;ll=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?cd(il):ad(il),s=vh({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Xt(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&Ai.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Ai.id)?.remove()});try{await Rh(s,am)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(yh),await s.hooks.callHook("app:mounted",r),await en()}catch(i){o(i)}return r},e=ll().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{en as A,at as B,ke as C,xm as D,Nn as E,Re as F,yn as G,Om as H,Aa as I,_e as J,rr as K,$e as L,xo as M,sl as N,tr as O,Dm as P,Am as Q,Ha as R,Ih as S,sm as T,rn as U,vo as V,Lm as W,Ld as X,Ir as Y,Mm as Z,bm as _,Ta as a,me as b,_f as c,Sa as d,ve as e,sc as f,Bt as g,uo as h,xe as i,po as j,Ql as k,Pm as l,Sm as m,Wr as n,Ge as o,km as p,Cm as q,vt as r,En as s,jc as t,Hm as u,nd as v,co as w,qe as x,fe as y,Nm as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as Se}from"./EMyRkg8p.js";import{c as D,o as v,n as Ce,g as Be,C as re,D as E,a as fe,B as le,l as de,E as Ne,r as xe,G as oe,A as Le,x as N,m as qe,H as Pe,y as De,I as Ie,J as Ve,_ as Ue,K as Fe}from"./CfGtRVGd.js";const X={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(s){return(e,t)=>(v(),D("div",{class:Ce(["n-icon",s.icon])},null,2))}},Jt=Be({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(s,{attrs:e,slots:t}){return()=>re(s.to?Se:"button",{to:s.to,...e,...!s.to&&{type:s.type},...s.disabled?{disabled:!0}:{tabindex:0},class:[s.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",t.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[E(t,"icon",{},()=>s.icon?[re(X,{icon:s.icon,class:t.default?"n-button-icon":""})]:[]),E(t,"default")]})}}),$e={class:"n-tip n-tip-base"},Xt={__name:"NTip",props:{icon:{type:String,required:!1}},setup(s){return(e,t)=>{const n=X;return v(),D("div",$e,[E(e.$slots,"icon",{},()=>[s.icon?(v(),le(n,{key:0,icon:s.icon,class:"n-tip-icon"},null,8,["icon"])):de("",!0)]),fe("div",null,[E(e.$slots,"default")])])}}};typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Me=s=>typeof s<"u";function He(s){return JSON.parse(JSON.stringify(s))}function Ke(s,e,t,n={}){var i,r;const{clone:o=!1,passive:c=!1,eventName:h,deep:p=!1,defaultValue:l,shouldEmit:m}=n,f=Ne(),te=t||f?.emit||(f==null||(i=f.$emit)===null||i===void 0?void 0:i.bind(f))||(f==null||(r=f.proxy)===null||r===void 0||(r=r.$emit)===null||r===void 0?void 0:r.bind(f?.proxy));let R=h;R=R||`update:${e.toString()}`;const se=d=>o?typeof o=="function"?o(d):He(d):d,ne=()=>Me(s[e])?se(s[e]):l,ie=d=>{m?m(d)&&te(R,d):te(R,d)};if(c){const d=xe(ne());let O=!1;return oe(()=>s[e],S=>{O||(O=!0,d.value=se(S),Le(()=>O=!1))}),oe(d,S=>{!O&&(S!==s[e]||p)&&ie(S)},{deep:p}),d}else return N({get(){return ne()},set(d){ie(d)}})}const We={class:"n-text-input flex flex items-center border n-border-base rounded n-bg-base py-1 pl-1 pr-2 focus-within:border-context focus-within:n-focus-base"},Qt={__name:"NTextInput",props:{modelValue:{type:[String,Number],required:!1,default:""},icon:{type:String,required:!1},placeholder:{type:String,required:!1},disabled:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},readonly:{type:Boolean,required:!1},type:{type:String,required:!1,default:"text"}},emits:["keydown","keyup","change"],setup(s,{emit:e}){const i=Ke(s,"modelValue",e,{passive:!0});return(r,o)=>{const c=X;return v(),D("div",We,[E(r.$slots,"icon",{},()=>[s.icon?(v(),le(c,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):de("",!0)]),qe(fe("input",Ie({"onUpdate:modelValue":o[0]||(o[0]=h=>Ve(i)?i.value=h:null)},r.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Pe,De(i)]])])}}},Ye={},ze={class:"n-badge"};function Je(s,e){return v(),D("span",ze,[E(s.$slots,"default")])}const Gt=Object.assign(Ue(Ye,[["render",Je]]),{__name:"NBadge"}),b=Object.create(null);b.open="0";b.close="1";b.ping="2";b.pong="3";b.message="4";b.upgrade="5";b.noop="6";const x=Object.create(null);Object.keys(b).forEach(s=>{x[b[s]]=s});const H={type:"error",data:"parser error"},pe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",ye=typeof ArrayBuffer=="function",me=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer,Q=({type:s,data:e},t,n)=>pe&&e instanceof Blob?t?n(e):ae(e,n):ye&&(e instanceof ArrayBuffer||me(e))?t?n(e):ae(new Blob([e]),n):n(b[s]+(e||"")),ae=(s,e)=>{const t=new FileReader;return t.onload=function(){const n=t.result.split(",")[1];e("b"+(n||""))},t.readAsDataURL(s)};function ce(s){return s instanceof Uint8Array?s:s instanceof ArrayBuffer?new Uint8Array(s):new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}let U;function Xe(s,e){if(pe&&s.data instanceof Blob)return s.data.arrayBuffer().then(ce).then(e);if(ye&&(s.data instanceof ArrayBuffer||me(s.data)))return e(ce(s.data));Q(s,!1,t=>{U||(U=new TextEncoder),e(U.encode(t))})}const he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let s=0;s<he.length;s++)A[he.charCodeAt(s)]=s;const Qe=s=>{let e=s.length*.75,t=s.length,n,i=0,r,o,c,h;s[s.length-1]==="="&&(e--,s[s.length-2]==="="&&e--);const p=new ArrayBuffer(e),l=new Uint8Array(p);for(n=0;n<t;n+=4)r=A[s.charCodeAt(n)],o=A[s.charCodeAt(n+1)],c=A[s.charCodeAt(n+2)],h=A[s.charCodeAt(n+3)],l[i++]=r<<2|o>>4,l[i++]=(o&15)<<4|c>>2,l[i++]=(c&3)<<6|h&63;return p},Ge=typeof ArrayBuffer=="function",G=(s,e)=>{if(typeof s!="string")return{type:"message",data:ge(s,e)};const t=s.charAt(0);return t==="b"?{type:"message",data:je(s.substring(1),e)}:x[t]?s.length>1?{type:x[t],data:s.substring(1)}:{type:x[t]}:H},je=(s,e)=>{if(Ge){const t=Qe(s);return ge(t,e)}else return{base64:!0,data:s}},ge=(s,e)=>e==="blob"?s instanceof Blob?s:new Blob([s]):s instanceof ArrayBuffer?s:s.buffer,_e="",Ze=(s,e)=>{const t=s.length,n=new Array(t);let i=0;s.forEach((r,o)=>{Q(r,!1,c=>{n[o]=c,++i===t&&e(n.join(_e))})})},et=(s,e)=>{const t=s.split(_e),n=[];for(let i=0;i<t.length;i++){const r=G(t[i],e);if(n.push(r),r.type==="error")break}return n};function tt(){return new TransformStream({transform(s,e){Xe(s,t=>{const n=t.length;let i;if(n<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,n);else if(n<65536){i=new Uint8Array(3);const r=new DataView(i.buffer);r.setUint8(0,126),r.setUint16(1,n)}else{i=new Uint8Array(9);const r=new DataView(i.buffer);r.setUint8(0,127),r.setBigUint64(1,BigInt(n))}s.data&&typeof s.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}let F;function C(s){return s.reduce((e,t)=>e+t.length,0)}function B(s,e){if(s[0].length===e)return s.shift();const t=new Uint8Array(e);let n=0;for(let i=0;i<e;i++)t[i]=s[0][n++],n===s[0].length&&(s.shift(),n=0);return s.length&&n<s[0].length&&(s[0]=s[0].slice(n)),t}function st(s,e){F||(F=new TextDecoder);const t=[];let n=0,i=-1,r=!1;return new TransformStream({transform(o,c){for(t.push(o);;){if(n===0){if(C(t)<1)break;const h=B(t,1);r=(h[0]&128)===128,i=h[0]&127,i<126?n=3:i===126?n=1:n=2}else if(n===1){if(C(t)<2)break;const h=B(t,2);i=new DataView(h.buffer,h.byteOffset,h.length).getUint16(0),n=3}else if(n===2){if(C(t)<8)break;const h=B(t,8),p=new DataView(h.buffer,h.byteOffset,h.length),l=p.getUint32(0);if(l>Math.pow(2,21)-1){c.enqueue(H);break}i=l*Math.pow(2,32)+p.getUint32(4),n=3}else{if(C(t)<i)break;const h=B(t,i);c.enqueue(G(r?h:F.decode(h),e)),n=0}if(i===0||i>s){c.enqueue(H);break}}}})}const be=4;function u(s){if(s)return nt(s)}function nt(s){for(var e in u.prototype)s[e]=u.prototype[e];return s}u.prototype.on=u.prototype.addEventListener=function(s,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(e),this};u.prototype.once=function(s,e){function t(){this.off(s,t),e.apply(this,arguments)}return t.fn=e,this.on(s,t),this};u.prototype.off=u.prototype.removeListener=u.prototype.removeAllListeners=u.prototype.removeEventListener=function(s,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+s];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var n,i=0;i<t.length;i++)if(n=t[i],n===e||n.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+s],this};u.prototype.emit=function(s){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+s],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(t){t=t.slice(0);for(var n=0,i=t.length;n<i;++n)t[n].apply(this,e)}return this};u.prototype.emitReserved=u.prototype.emit;u.prototype.listeners=function(s){return this._callbacks=this._callbacks||{},this._callbacks["$"+s]||[]};u.prototype.hasListeners=function(s){return!!this.listeners(s).length};const I=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),y=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),it="arraybuffer";function we(s,...e){return e.reduce((t,n)=>(s.hasOwnProperty(n)&&(t[n]=s[n]),t),{})}const rt=y.setTimeout,ot=y.clearTimeout;function V(s,e){e.useNativeTimers?(s.setTimeoutFn=rt.bind(y),s.clearTimeoutFn=ot.bind(y)):(s.setTimeoutFn=y.setTimeout.bind(y),s.clearTimeoutFn=y.clearTimeout.bind(y))}const at=1.33;function ct(s){return typeof s=="string"?ht(s):Math.ceil((s.byteLength||s.size)*at)}function ht(s){let e=0,t=0;for(let n=0,i=s.length;n<i;n++)e=s.charCodeAt(n),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(n++,t+=4);return t}function ve(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function ut(s){let e="";for(let t in s)s.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(s[t]));return e}function ft(s){let e={},t=s.split("&");for(let n=0,i=t.length;n<i;n++){let r=t[n].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}class lt extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class j extends u{constructor(e){super(),this.writable=!1,V(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new lt(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=G(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=ut(e);return t.length?"?"+t:""}}class dt extends j{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let n=0;this._polling&&(n++,this.once("pollComplete",function(){--n||t()})),this.writable||(n++,this.once("drain",function(){--n||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};et(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Ze(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=ve()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let Ee=!1;try{Ee=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const pt=Ee;function yt(){}class mt extends dt{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let n=location.port;n||(n=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(i,r)=>{this.onError("xhr post error",i,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,n)=>{this.onError("xhr poll error",t,n)}),this.pollXhr=e}}class _ extends u{constructor(e,t,n){super(),this.createRequest=e,V(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=n.data!==void 0?n.data:null,this._create()}_create(){var e;const t=we(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const n=this._xhr=this.createRequest(t);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var i;n.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(n.getResponseHeader("set-cookie"))),n.readyState===4&&(n.status===200||n.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof n.status=="number"?n.status:0)},0))},n.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=_.requestsCount++,_.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=yt,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete _.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}_.requestsCount=0;_.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",ue);else if(typeof addEventListener=="function"){const s="onpagehide"in y?"pagehide":"unload";addEventListener(s,ue,!1)}}function ue(){for(let s in _.requests)_.requests.hasOwnProperty(s)&&_.requests[s].abort()}const gt=(function(){const s=ke({xdomain:!1});return s&&s.responseType!==null})();class _t extends mt{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=gt&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new _(ke,this.uri(),e)}}function ke(s){const e=s.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||pt))return new XMLHttpRequest}catch{}if(!e)try{return new y[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Te=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class bt extends j{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,n=Te?{}:we(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],i=t===e.length-1;Q(n,this.supportsBinary,r=>{try{this.doWrite(n,r)}catch{}i&&I(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=ve()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const $=y.WebSocket||y.MozWebSocket;class wt extends bt{createSocket(e,t,n){return Te?new $(e,t,n):t?new $(e,t):new $(e)}doWrite(e,t){this.ws.send(t)}}class vt extends j{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=st(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),i=tt();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();const r=()=>{n.read().then(({done:c,value:h})=>{c||(this.onPacket(h),r())}).catch(c=>{})};r();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],i=t===e.length-1;this._writer.write(n).then(()=>{i&&I(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const Et={websocket:wt,webtransport:vt,polling:_t},kt=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Tt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function K(s){if(s.length>8e3)throw"URI too long";const e=s,t=s.indexOf("["),n=s.indexOf("]");t!=-1&&n!=-1&&(s=s.substring(0,t)+s.substring(t,n).replace(/:/g,";")+s.substring(n,s.length));let i=kt.exec(s||""),r={},o=14;for(;o--;)r[Tt[o]]=i[o]||"";return t!=-1&&n!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=At(r,r.path),r.queryKey=Rt(r,r.query),r}function At(s,e){const t=/\/{2,9}/g,n=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&n.splice(0,1),e.slice(-1)=="/"&&n.splice(n.length-1,1),n}function Rt(s,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,i,r){i&&(t[i]=r)}),t}const W=typeof addEventListener=="function"&&typeof removeEventListener=="function",L=[];W&&addEventListener("offline",()=>{L.forEach(s=>s())},!1);class w extends u{constructor(e,t){if(super(),this.binaryType=it,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const n=K(e);t.hostname=n.host,t.secure=n.protocol==="https"||n.protocol==="wss",t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=K(t.host).host);V(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(n=>{const i=n.prototype.name;this.transports.push(i),this._transportsByName[i]=n}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=ft(this.opts.query)),W&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},L.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=be,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&w.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",w.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let n=0;n<this.writeBuffer.length;n++){const i=this.writeBuffer[n].data;if(i&&(t+=ct(i)),n>0&&t>this._maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,I(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,i){if(typeof t=="function"&&(i=t,t=void 0),typeof n=="function"&&(i=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const r={type:e,data:t,options:n};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(w.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),W&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const n=L.indexOf(this._offlineEventListener);n!==-1&&L.splice(n,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}w.protocol=be;class Ot extends w{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;w.priorWebsocketSuccess=!1;const i=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",m=>{if(!n)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;w.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=t.name,this.emitReserved("upgradeError",f)}}))};function r(){n||(n=!0,l(),t.close(),t=null)}const o=m=>{const f=new Error("probe error: "+m);f.transport=t.name,r(),this.emitReserved("upgradeError",f)};function c(){o("transport closed")}function h(){o("socket closed")}function p(m){t&&m.name!==t.name&&r()}const l=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",c),this.off("close",h),this.off("upgrading",p)};t.once("open",i),t.once("error",o),t.once("close",c),this.once("close",h),this.once("upgrading",p),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}let St=class extends Ot{constructor(e,t={}){const n=typeof e=="object"?e:t;(!n.transports||n.transports&&typeof n.transports[0]=="string")&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(i=>Et[i]).filter(i=>!!i)),super(e,n)}};function Ct(s,e="",t){let n=s;t=t||typeof location<"u"&&location,s==null&&(s=t.protocol+"//"+t.host),typeof s=="string"&&(s.charAt(0)==="/"&&(s.charAt(1)==="/"?s=t.protocol+s:s=t.host+s),/^(https?|wss?):\/\//.test(s)||(typeof t<"u"?s=t.protocol+"//"+s:s="https://"+s),n=K(s)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const r=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+r+":"+n.port+e,n.href=n.protocol+"://"+r+(t&&t.port===n.port?"":":"+n.port),n}const Bt=typeof ArrayBuffer=="function",Nt=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer,Ae=Object.prototype.toString,xt=typeof Blob=="function"||typeof Blob<"u"&&Ae.call(Blob)==="[object BlobConstructor]",Lt=typeof File=="function"||typeof File<"u"&&Ae.call(File)==="[object FileConstructor]";function Z(s){return Bt&&(s instanceof ArrayBuffer||Nt(s))||xt&&s instanceof Blob||Lt&&s instanceof File}function q(s,e){if(!s||typeof s!="object")return!1;if(Array.isArray(s)){for(let t=0,n=s.length;t<n;t++)if(q(s[t]))return!0;return!1}if(Z(s))return!0;if(s.toJSON&&typeof s.toJSON=="function"&&arguments.length===1)return q(s.toJSON(),!0);for(const t in s)if(Object.prototype.hasOwnProperty.call(s,t)&&q(s[t]))return!0;return!1}function qt(s){const e=[],t=s.data,n=s;return n.data=Y(t,e),n.attachments=e.length,{packet:n,buffers:e}}function Y(s,e){if(!s)return s;if(Z(s)){const t={_placeholder:!0,num:e.length};return e.push(s),t}else if(Array.isArray(s)){const t=new Array(s.length);for(let n=0;n<s.length;n++)t[n]=Y(s[n],e);return t}else if(typeof s=="object"&&!(s instanceof Date)){const t={};for(const n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=Y(s[n],e));return t}return s}function Pt(s,e){return s.data=z(s.data,e),delete s.attachments,s}function z(s,e){if(!s)return s;if(s&&s._placeholder===!0){if(typeof s.num=="number"&&s.num>=0&&s.num<e.length)return e[s.num];throw new Error("illegal attachments")}else if(Array.isArray(s))for(let t=0;t<s.length;t++)s[t]=z(s[t],e);else if(typeof s=="object")for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&(s[t]=z(s[t],e));return s}const Re=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Dt=5;var a;(function(s){s[s.CONNECT=0]="CONNECT",s[s.DISCONNECT=1]="DISCONNECT",s[s.EVENT=2]="EVENT",s[s.ACK=3]="ACK",s[s.CONNECT_ERROR=4]="CONNECT_ERROR",s[s.BINARY_EVENT=5]="BINARY_EVENT",s[s.BINARY_ACK=6]="BINARY_ACK"})(a||(a={}));class It{constructor(e){this.replacer=e}encode(e){return(e.type===a.EVENT||e.type===a.ACK)&&q(e)?this.encodeAsBinary({type:e.type===a.EVENT?a.BINARY_EVENT:a.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===a.BINARY_EVENT||e.type===a.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=qt(e),n=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(n),i}}class ee extends u{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===a.BINARY_EVENT;n||t.type===a.BINARY_ACK?(t.type=n?a.EVENT:a.ACK,this.reconstructor=new Vt(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(Z(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(a[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===a.BINARY_EVENT||n.type===a.BINARY_ACK){const r=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const o=e.substring(r,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");n.attachments=Number(o)}if(e.charAt(t+1)==="/"){const r=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););n.nsp=e.substring(r,t)}else n.nsp="/";const i=e.charAt(t+1);if(i!==""&&Number(i)==i){const r=t+1;for(;++t;){const o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=this.tryParse(e.substr(t));if(ee.isPayloadValid(n.type,r))n.data=r;else throw new Error("invalid payload")}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case a.CONNECT:return P(t);case a.DISCONNECT:return t===void 0;case a.CONNECT_ERROR:return typeof t=="string"||P(t);case a.EVENT:case a.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&Re.indexOf(t[0])===-1);case a.ACK:case a.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Vt{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=Pt(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Ut(s){return typeof s=="string"}const Ft=Number.isInteger||function(s){return typeof s=="number"&&isFinite(s)&&Math.floor(s)===s};function $t(s){return s===void 0||Ft(s)}function P(s){return Object.prototype.toString.call(s)==="[object Object]"}function Mt(s,e){switch(s){case a.CONNECT:return e===void 0||P(e);case a.DISCONNECT:return e===void 0;case a.EVENT:return Array.isArray(e)&&(typeof e[0]=="number"||typeof e[0]=="string"&&Re.indexOf(e[0])===-1);case a.ACK:return Array.isArray(e);case a.CONNECT_ERROR:return typeof e=="string"||P(e);default:return!1}}function Ht(s){return Ut(s.nsp)&&$t(s.id)&&Mt(s.type,s.data)}const Kt=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ee,Encoder:It,get PacketType(){return a},isPacketValid:Ht,protocol:Dt},Symbol.toStringTag,{value:"Module"}));function g(s,e,t){return s.on(e,t),function(){s.off(e,t)}}const Wt=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Oe extends u{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[g(e,"open",this.onopen.bind(this)),g(e,"packet",this.onpacket.bind(this)),g(e,"error",this.onerror.bind(this)),g(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,i,r;if(Wt.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const o={type:a.EVENT,data:t};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const l=this.ids++,m=t.pop();this._registerAckCallback(l,m),o.id=l}const c=(i=(n=this.io.engine)===null||n===void 0?void 0:n.transport)===null||i===void 0?void 0:i.writable,h=this.connected&&!(!((r=this.io.engine)===null||r===void 0)&&r._hasPingExpired());return this.flags.volatile&&!c||(h?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var n;const i=(n=this.flags.timeout)!==null&&n!==void 0?n:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===e&&this.sendBuffer.splice(c,1);t.call(this,new Error("operation has timed out"))},i),o=(...c)=>{this.io.clearTimeoutFn(r),t.apply(this,c)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((n,i)=>{const r=(o,c)=>o?i(o):n(c);r.withError=!0,t.push(r),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...r)=>(this._queue[0],i!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:a.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(n=>String(n.id)===e)){const n=this.acks[e];delete this.acks[e],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case a.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case a.EVENT:case a.BINARY_EVENT:this.onevent(e);break;case a.ACK:case a.BINARY_ACK:this.onack(e);break;case a.DISCONNECT:this.ondisconnect();break;case a.CONNECT_ERROR:this.destroy();const n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...i){n||(n=!0,t.packet({type:a.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:a.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function k(s){s=s||{},this.ms=s.min||100,this.max=s.max||1e4,this.factor=s.factor||2,this.jitter=s.jitter>0&&s.jitter<=1?s.jitter:0,this.attempts=0}k.prototype.duration=function(){var s=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*s);s=(Math.floor(e*10)&1)==0?s-t:s+t}return Math.min(s,this.max)|0};k.prototype.reset=function(){this.attempts=0};k.prototype.setMin=function(s){this.ms=s};k.prototype.setMax=function(s){this.max=s};k.prototype.setJitter=function(s){this.jitter=s};class J extends u{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,V(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((n=t.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new k({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||Kt;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new St(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const i=g(t,"open",function(){n.onopen(),e&&e()}),r=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},o=g(t,"error",r);if(this._timeout!==!1){const c=this._timeout,h=this.setTimeoutFn(()=>{i(),r(new Error("timeout")),t.close()},c);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(g(e,"ping",this.onping.bind(this)),g(e,"data",this.ondata.bind(this)),g(e,"error",this.onerror.bind(this)),g(e,"close",this.onclose.bind(this)),g(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){I(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new Oe(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t)if(this.nsps[n].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),(n=this.engine)===null||n===void 0||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const T={};function M(s,e){typeof s=="object"&&(e=s,s=void 0),e=e||{};const t=Ct(s,e.path||"/socket.io"),n=t.source,i=t.id,r=t.path,o=T[i]&&r in T[i].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let h;return c?h=new J(n,e):(T[i]||(T[i]=new J(n,e)),h=T[i]),t.query&&!e.query&&(e.query=t.queryKey),h.socket(t.path,e)}Object.assign(M,{Manager:J,Socket:Oe,io:M,connect:M});function Zt(){const e=Fe().public?.claudeDevtoolsBc?.tunnel;return{isActive:N(()=>!!e),origin:N(()=>e?.origin??null),host:N(()=>e?.host??null),config:e??null}}export{X as _,Jt as a,Xt as b,Qt as c,Gt as d,M as l,Zt as u};
|