@avion-block/nuxt-mongoose 1.1.0-dev.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.
Files changed (33) hide show
  1. package/README.md +139 -0
  2. package/dist/client/200.html +1 -0
  3. package/dist/client/404.html +1 -0
  4. package/dist/client/_nuxt/Be_8YVmd.js +1 -0
  5. package/dist/client/_nuxt/BgqxMV_S.js +1 -0
  6. package/dist/client/_nuxt/BhG4bLuH.js +1 -0
  7. package/dist/client/_nuxt/C1_0osGQ.js +4 -0
  8. package/dist/client/_nuxt/DKP8g6aG.js +1 -0
  9. package/dist/client/_nuxt/DLYYGG6i.js +1 -0
  10. package/dist/client/_nuxt/Dg51sM1p.js +1 -0
  11. package/dist/client/_nuxt/builds/latest.json +1 -0
  12. package/dist/client/_nuxt/builds/meta/9f2a79dd-102e-4943-be21-dd8083c43b3d.json +1 -0
  13. package/dist/client/_nuxt/entry.Cp4I88Tv.css +1 -0
  14. package/dist/client/_nuxt/error-404.Dmi5Qu-g.css +1 -0
  15. package/dist/client/_nuxt/error-500.BMT8OSvZ.css +1 -0
  16. package/dist/client/_nuxt/index.DZHRaZYA.css +1 -0
  17. package/dist/client/index.html +1 -0
  18. package/dist/module.d.mts +43 -0
  19. package/dist/module.json +9 -0
  20. package/dist/module.mjs +413 -0
  21. package/dist/runtime/server/plugins/mongoose.db.d.ts +2 -0
  22. package/dist/runtime/server/plugins/mongoose.db.js +4 -0
  23. package/dist/runtime/server/services/connection.d.ts +5 -0
  24. package/dist/runtime/server/services/connection.js +24 -0
  25. package/dist/runtime/server/services/discriminator.d.ts +9 -0
  26. package/dist/runtime/server/services/discriminator.js +18 -0
  27. package/dist/runtime/server/services/index.d.ts +3 -0
  28. package/dist/runtime/server/services/index.js +3 -0
  29. package/dist/runtime/server/services/model.d.ts +8 -0
  30. package/dist/runtime/server/services/model.js +17 -0
  31. package/dist/runtime/server/tsconfig.json +3 -0
  32. package/dist/types.d.mts +3 -0
  33. package/package.json +88 -0
@@ -0,0 +1,4 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DLYYGG6i.js","./DKP8g6aG.js","./BhG4bLuH.js","./index.DZHRaZYA.css","./Be_8YVmd.js","./Dg51sM1p.js","./error-404.Dmi5Qu-g.css","./BgqxMV_S.js","./error-500.BMT8OSvZ.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 uo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},yn=[],ft=()=>{},gl=()=>!1,sr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),fo=e=>e.startsWith("onUpdate:"),Ee=Object.assign,ho=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jc=Object.prototype.hasOwnProperty,oe=(e,t)=>jc.call(e,t),q=Array.isArray,_n=e=>In(e)==="[object Map]",Nn=e=>In(e)==="[object Set]",$o=e=>In(e)==="[object Date]",Fc=e=>In(e)==="[object RegExp]",z=e=>typeof e=="function",pe=e=>typeof e=="string",et=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",ml=e=>(re(e)||z(e))&&z(e.then)&&z(e.catch),yl=Object.prototype.toString,In=e=>yl.call(e),Bc=e=>In(e).slice(8,-1),_l=e=>In(e)==="[object Object]",Vr=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=uo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Uc=/-\w/g,ze=Wr(e=>e.replace(Uc,t=>t.slice(1).toUpperCase())),$c=/\B([A-Z])/g,$t=Wr(e=>e.replace($c,"-$1").toLowerCase()),Kr=Wr(e=>e.charAt(0).toUpperCase()+e.slice(1)),fs=Wr(e=>e?`on${Kr(e)}`:""),jt=(e,t)=>!Object.is(e,t),bn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},bl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Gr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vl=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Vo;const qr=()=>Vo||(Vo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jr(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=pe(r)?Gc(r):Jr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(pe(e)||re(e))return e}const Vc=/;(?![^(]*\))/g,Wc=/:([^]+)/,Kc=/\/\*[^]*?\*\//g;function Gc(e){const t={};return e.replace(Kc,"").split(Vc).forEach(n=>{if(n){const r=n.split(Wc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Yr(e){let t="";if(pe(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const r=Yr(e[n]);r&&(t+=r+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function qc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!pe(t)&&(e.class=Yr(t)),n&&(e.style=Jr(n)),e}const Jc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Yc=uo(Jc);function wl(e){return!!e||e===""}function zc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Bt(e[r],t[r]);return n}function Bt(e,t){if(e===t)return!0;let n=$o(e),r=$o(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=et(e),r=et(t),n||r)return e===t;if(n=q(e),r=q(t),n||r)return n&&r?zc(e,t):!1;if(n=re(e),r=re(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||!Bt(e[i],t[i]))return!1}}return String(e)===String(t)}function po(e,t){return e.findIndex(n=>Bt(n,t))}const El=e=>!!(e&&e.__v_isRef===!0),Qc=e=>pe(e)?e:e==null?"":q(e)||re(e)&&(e.toString===yl||!z(e.toString))?El(e)?Qc(e.value):JSON.stringify(e,Sl,2):String(e),Sl=(e,t)=>El(t)?Sl(e,t.value):_n(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ds(r,o)+" =>"]=s,n),{})}:Nn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ds(n))}:et(t)?ds(t):re(t)&&!q(t)&&!_l(t)?String(t):t,ds=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ae;class Rl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.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=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){++this._on===1&&(this.prevScope=Ae,Ae=this)}off(){this._on>0&&--this._on===0&&(Ae=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 Xc(e){return new Rl(e)}function Tl(){return Ae}function zm(e,t=!1){Ae&&Ae.cleanups.push(e)}let de;const hs=new WeakSet;class Cl{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,Ae&&Ae.active&&Ae.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,hs.has(this)&&(hs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Wo(this),xl(this);const t=de,n=Ze;de=this,Ze=!0;try{return this.fn()}finally{Pl(this),de=t,Ze=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)yo(t);this.deps=this.depsTail=void 0,Wo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?hs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Is(this)&&this.run()}get dirty(){return Is(this)}}let Al=0,Vn,Wn;function kl(e,t=!1){if(e.flags|=8,t){e.next=Wn,Wn=e;return}e.next=Vn,Vn=e}function go(){Al++}function mo(){if(--Al>0)return;if(Wn){let t=Wn;for(Wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vn;){let t=Vn;for(Vn=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 xl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Pl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),yo(r),Zc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Is(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ol(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ol(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qn)||(e.globalVersion=Qn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Is(e))))return;e.flags|=2;const t=e.dep,n=de,r=Ze;de=e,Ze=!0;try{xl(e);const s=e.fn(e._value);(t.version===0||jt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{de=n,Ze=r,Pl(e),e.flags&=-3}}function yo(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)yo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Zc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ze=!0;const Nl=[];function Tt(){Nl.push(Ze),Ze=!1}function Ct(){const e=Nl.pop();Ze=e===void 0?!0:e}function Wo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=de;de=void 0;try{t()}finally{de=n}}}let Qn=0;class eu{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 zr{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(!de||!Ze||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new eu(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,Il(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=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=r)}return n}trigger(t){this.version++,Qn++,this.notify(t)}notify(t){go();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{mo()}}}function Il(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)Il(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Cr=new WeakMap,Zt=Symbol(""),Ms=Symbol(""),Xn=Symbol("");function ke(e,t,n){if(Ze&&de){let r=Cr.get(e);r||Cr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new zr),s.map=r,s.key=n),s.track()}}function bt(e,t,n,r,s,o){const i=Cr.get(e);if(!i){Qn++;return}const l=a=>{a&&a.trigger()};if(go(),t==="clear")i.forEach(l);else{const a=q(e),f=a&&Vr(n);if(a&&n==="length"){const c=Number(r);i.forEach((u,p)=>{(p==="length"||p===Xn||!et(p)&&p>=c)&&l(u)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(Xn)),t){case"add":a?f&&l(i.get("length")):(l(i.get(Zt)),_n(e)&&l(i.get(Ms)));break;case"delete":a||(l(i.get(Zt)),_n(e)&&l(i.get(Ms)));break;case"set":_n(e)&&l(i.get(Zt));break}}mo()}function tu(e,t){const n=Cr.get(e);return n&&n.get(t)}function dn(e){const t=ne(e);return t===e?t:(ke(t,"iterate",Xn),$e(e)?t:t.map(tt))}function Qr(e){return ke(e=ne(e),"iterate",Xn),e}function Mt(e,t){return dt(e)?Rn(Ft(e)?tt(t):t):tt(t)}const nu={__proto__:null,[Symbol.iterator](){return ps(this,Symbol.iterator,e=>Mt(this,e))},concat(...e){return dn(this).concat(...e.map(t=>q(t)?dn(t):t))},entries(){return ps(this,"entries",e=>(e[1]=Mt(this,e[1]),e))},every(e,t){return pt(this,"every",e,t,void 0,arguments)},filter(e,t){return pt(this,"filter",e,t,n=>n.map(r=>Mt(this,r)),arguments)},find(e,t){return pt(this,"find",e,t,n=>Mt(this,n),arguments)},findIndex(e,t){return pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pt(this,"findLast",e,t,n=>Mt(this,n),arguments)},findLastIndex(e,t){return pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return gs(this,"includes",e)},indexOf(...e){return gs(this,"indexOf",e)},join(e){return dn(this).join(e)},lastIndexOf(...e){return gs(this,"lastIndexOf",e)},map(e,t){return pt(this,"map",e,t,void 0,arguments)},pop(){return Ln(this,"pop")},push(...e){return Ln(this,"push",e)},reduce(e,...t){return Ko(this,"reduce",e,t)},reduceRight(e,...t){return Ko(this,"reduceRight",e,t)},shift(){return Ln(this,"shift")},some(e,t){return pt(this,"some",e,t,void 0,arguments)},splice(...e){return Ln(this,"splice",e)},toReversed(){return dn(this).toReversed()},toSorted(e){return dn(this).toSorted(e)},toSpliced(...e){return dn(this).toSpliced(...e)},unshift(...e){return Ln(this,"unshift",e)},values(){return ps(this,"values",e=>Mt(this,e))}};function ps(e,t,n){const r=Qr(e),s=r[t]();return r!==e&&!$e(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const ru=Array.prototype;function pt(e,t,n,r,s,o){const i=Qr(e),l=i!==e&&!$e(e),a=i[t];if(a!==ru[t]){const u=a.apply(e,o);return l?tt(u):u}let f=n;i!==e&&(l?f=function(u,p){return n.call(this,Mt(e,u),p,e)}:n.length>2&&(f=function(u,p){return n.call(this,u,p,e)}));const c=a.call(i,f,r);return l&&s?s(c):c}function Ko(e,t,n,r){const s=Qr(e);let o=n;return s!==e&&($e(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,Mt(e,l),a,e)}),s[t](o,...r)}function gs(e,t,n){const r=ne(e);ke(r,"iterate",Xn);const s=r[t](...n);return(s===-1||s===!1)&&es(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function Ln(e,t,n=[]){Tt(),go();const r=ne(e)[t].apply(e,n);return mo(),Ct(),r}const su=uo("__proto__,__v_isRef,__isVue"),Ml=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function ou(e){et(e)||(e=String(e));const t=ne(this);return ke(t,"has",e),t.hasOwnProperty(e)}class Hl{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?Ul:Bl:o?Fl:jl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=q(t);if(!s){let a;if(i&&(a=nu[n]))return a;if(n==="hasOwnProperty")return ou}const l=Reflect.get(t,n,_e(t)?t:r);if((et(n)?Ml.has(n):su(n))||(s||ke(t,"get",n),o))return l;if(_e(l)){const a=i&&Vr(n)?l:l.value;return s&&re(a)?Ls(a):a}return re(l)?s?Ls(l):kt(l):l}}class Ll extends Hl{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=q(t)&&Vr(n);if(!this._isShallow){const f=dt(o);if(!$e(r)&&!dt(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:oe(t,n),a=Reflect.set(t,n,r,_e(t)?t:s);return t===ne(s)&&(l?jt(r,o)&&bt(t,"set",n,r):bt(t,"add",n,r)),a}deleteProperty(t,n){const r=oe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&bt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!et(n)||!Ml.has(n))&&ke(t,"has",n),r}ownKeys(t){return ke(t,"iterate",q(t)?"length":Zt),Reflect.ownKeys(t)}}class Dl extends Hl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const iu=new Ll,lu=new Dl,au=new Ll(!0),cu=new Dl(!0),Hs=e=>e,dr=e=>Reflect.getPrototypeOf(e);function uu(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=_n(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=s[e](...r),c=n?Hs:t?Rn:tt;return!t&&ke(o,"iterate",a?Ms:Zt),Ee(Object.create(f),{next(){const{value:u,done:p}=f.next();return p?{value:u,done:p}:{value:l?[c(u[0]),c(u[1])]:c(u),done:p}}})}}function hr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fu(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),l=ne(s);e||(jt(s,l)&&ke(i,"get",s),ke(i,"get",l));const{has:a}=dr(i),f=t?Hs:e?Rn:tt;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&&ke(ne(s),"iterate",Zt),s.size},has(s){const o=this.__v_raw,i=ne(o),l=ne(s);return e||(jt(s,l)&&ke(i,"has",s),ke(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?Hs:e?Rn:tt;return!e&&ke(a,"iterate",Zt),l.forEach((c,u)=>s.call(o,f(c),f(u),i))}};return Ee(n,e?{add:hr("add"),set:hr("set"),delete:hr("delete"),clear:hr("clear")}:{add(s){!t&&!$e(s)&&!dt(s)&&(s=ne(s));const o=ne(this);return dr(o).has.call(o,s)||(o.add(s),bt(o,"add",s,s)),this},set(s,o){!t&&!$e(o)&&!dt(o)&&(o=ne(o));const i=ne(this),{has:l,get:a}=dr(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?jt(o,c)&&bt(i,"set",s,o):bt(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:l}=dr(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&&bt(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&bt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=uu(s,e,t)}),n}function Xr(e,t){const n=fu(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(oe(n,s)&&s in r?n:r,s,o)}const du={get:Xr(!1,!1)},hu={get:Xr(!1,!0)},pu={get:Xr(!0,!1)},gu={get:Xr(!0,!0)},jl=new WeakMap,Fl=new WeakMap,Bl=new WeakMap,Ul=new WeakMap;function mu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yu(e){return e.__v_skip||!Object.isExtensible(e)?0:mu(Bc(e))}function kt(e){return dt(e)?e:Zr(e,!1,iu,du,jl)}function ut(e){return Zr(e,!1,au,hu,Fl)}function Ls(e){return Zr(e,!0,lu,pu,Bl)}function Qm(e){return Zr(e,!0,cu,gu,Ul)}function Zr(e,t,n,r,s){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=yu(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 Ft(e){return dt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function dt(e){return!!(e&&e.__v_isReadonly)}function $e(e){return!!(e&&e.__v_isShallow)}function es(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function _u(e){return!oe(e,"__v_skip")&&Object.isExtensible(e)&&bl(e,"__v_skip",!0),e}const tt=e=>re(e)?kt(e):e,Rn=e=>re(e)?Ls(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function Et(e){return $l(e,!1)}function Tn(e){return $l(e,!0)}function $l(e,t){return _e(e)?e:new bu(e,t)}class bu{constructor(t,n){this.dep=new zr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:tt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||$e(t)||dt(t);t=r?t:ne(t),jt(t,n)&&(this._rawValue=t,this._value=r?t:tt(t),this.dep.trigger())}}function ae(e){return _e(e)?e.value:e}function vu(e){return z(e)?e():ae(e)}const wu={get:(e,t,n)=>t==="__v_raw"?e:ae(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 Vl(e){return Ft(e)?e:new Proxy(e,wu)}class Eu{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new zr,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Xm(e){return new Eu(e)}class Su{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)||!Vr(String(n)))do s=!es(o)||$e(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=ae(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 tu(this._raw,this._key)}}class Ru{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 Tu(e,t,n){return _e(e)?e:z(e)?new Ru(e):re(e)&&arguments.length>1?Cu(e,t,n):Et(e)}function Cu(e,t,n){return new Su(e,t,n)}class Au{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return kl(this,!0),!0}get value(){const t=this.dep.track();return Ol(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ku(e,t,n=!1){let r,s;return z(e)?r=e:(r=e.get,s=e.set),new Au(r,s,n)}const pr={},Ar=new WeakMap;let Yt;function xu(e,t=!1,n=Yt){if(n){let r=Ar.get(n);r||Ar.set(n,r=[]),r.push(e)}}function Pu(e,t,n=ce){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:a}=n,f=b=>s?b:$e(b)||s===!1||s===0?vt(b,1):vt(b);let c,u,p,d,m=!1,_=!1;if(_e(e)?(u=()=>e.value,m=$e(e)):Ft(e)?(u=()=>f(e),m=!0):q(e)?(_=!0,m=e.some(b=>Ft(b)||$e(b)),u=()=>e.map(b=>{if(_e(b))return b.value;if(Ft(b))return f(b);if(z(b))return a?a(b,2):b()})):z(e)?t?u=a?()=>a(e,2):e:u=()=>{if(p){Tt();try{p()}finally{Ct()}}const b=Yt;Yt=c;try{return a?a(e,3,[d]):e(d)}finally{Yt=b}}:u=ft,t&&s){const b=u,E=s===!0?1/0:s;u=()=>vt(b(),E)}const S=Tl(),R=()=>{c.stop(),S&&S.active&&ho(S.effects,c)};if(o&&t){const b=t;t=(...E)=>{b(...E),R()}}let v=_?new Array(e.length).fill(pr):pr;const g=b=>{if(!(!(c.flags&1)||!c.dirty&&!b))if(t){const E=c.run();if(s||m||(_?E.some((C,M)=>jt(C,v[M])):jt(E,v))){p&&p();const C=Yt;Yt=c;try{const M=[E,v===pr?void 0:_&&v[0]===pr?[]:v,d];v=E,a?a(t,3,M):t(...M)}finally{Yt=C}}}else c.run()};return l&&l(g),c=new Cl(u),c.scheduler=i?()=>i(g,!1):g,d=b=>xu(b,!1,c),p=c.onStop=()=>{const b=Ar.get(c);if(b){if(a)a(b,4);else for(const E of b)E();Ar.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 vt(e,t=1/0,n){if(t<=0||!re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))vt(e.value,t,n);else if(q(e))for(let r=0;r<e.length;r++)vt(e[r],t,n);else if(Nn(e)||_n(e))e.forEach(r=>{vt(r,t,n)});else if(_l(e)){for(const r in e)vt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vt(e[r],t,n)}return e}function or(e,t,n,r){try{return r?e(...r):e()}catch(s){Mn(s,t,n)}}function nt(e,t,n,r){if(z(e)){const s=or(e,t,n,r);return s&&ml(s)&&s.catch(o=>{Mn(o,t,n)}),s}if(q(e)){const s=[];for(let o=0;o<e.length;o++)s.push(nt(e[o],t,n,r));return s}}function Mn(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ce;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){Tt(),or(o,null,10,[e,a,f]),Ct();return}}Ou(e,n,s,r,i)}function Ou(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ie=[];let it=-1;const vn=[];let Ht=null,pn=0;const Wl=Promise.resolve();let kr=null;function rn(e){const t=kr||Wl;return e?t.then(this?e.bind(this):e):t}function Nu(e){let t=it+1,n=Ie.length;for(;t<n;){const r=t+n>>>1,s=Ie[r],o=Zn(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function _o(e){if(!(e.flags&1)){const t=Zn(e),n=Ie[Ie.length-1];!n||!(e.flags&2)&&t>=Zn(n)?Ie.push(e):Ie.splice(Nu(t),0,e),e.flags|=1,Kl()}}function Kl(){kr||(kr=Wl.then(Gl))}function Ds(e){q(e)?vn.push(...e):Ht&&e.id===-1?Ht.splice(pn+1,0,e):e.flags&1||(vn.push(e),e.flags|=1),Kl()}function Go(e,t,n=it+1){for(;n<Ie.length;n++){const r=Ie[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ie.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function xr(e){if(vn.length){const t=[...new Set(vn)].sort((n,r)=>Zn(n)-Zn(r));if(vn.length=0,Ht){Ht.push(...t);return}for(Ht=t,pn=0;pn<Ht.length;pn++){const n=Ht[pn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ht=null,pn=0}}const Zn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gl(e){try{for(it=0;it<Ie.length;it++){const t=Ie[it];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),or(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;it<Ie.length;it++){const t=Ie[it];t&&(t.flags&=-2)}it=-1,Ie.length=0,xr(),kr=null,(Ie.length||vn.length)&&Gl()}}let Te=null,ql=null;function Pr(e){const t=Te;return Te=e,ql=e&&e.type.__scopeId||null,t}function Kn(e,t=Te,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Hr(-1);const o=Pr(t);let i;try{i=e(...s)}finally{Pr(o),r._d&&Hr(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zm(e,t){if(Te===null)return e;const n=os(Te),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,l,a=ce]=t[s];o&&(z(o)&&(o={mounted:o,updated:o}),o.deep&&vt(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&&(Tt(),nt(a,n,8,[e.el,l,e,t]),Ct())}}function St(e,t){if(Re){let n=Re.provides;const r=Re.parent&&Re.parent.provides;r===n&&(n=Re.provides=Object.create(r)),n[e]=t}}function we(e,t,n=!1){const r=Vt();if(r||en){let s=en?en._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&&z(t)?t.call(r&&r.proxy):t}}function ts(){return!!(Vt()||en)}const Iu=Symbol.for("v-scx"),Mu=()=>we(Iu);function Hu(e,t){return bo(e,null,t)}function wn(e,t,n){return bo(e,t,n)}function bo(e,t,n=ce){const{immediate:r,deep:s,flush:o,once:i}=n,l=Ee({},n),a=t&&r||!t&&o!=="post";let f;if(kn){if(o==="sync"){const d=Mu();f=d.__watcherHandles||(d.__watcherHandles=[])}else if(!a){const d=()=>{};return d.stop=ft,d.resume=ft,d.pause=ft,d}}const c=Re;l.call=(d,m,_)=>nt(d,c,m,_);let u=!1;o==="post"?l.scheduler=d=>{ve(d,c&&c.suspense)}:o!=="sync"&&(u=!0,l.scheduler=(d,m)=>{m?d():_o(d)}),l.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=Pu(e,t,l);return kn&&(f?f.push(p):a&&p()),p}function Lu(e,t,n){const r=this.proxy,s=pe(e)?e.includes(".")?Jl(r,e):()=>r[e]:e.bind(r,r);let o;z(t)?o=t:(o=t.handler,n=t);const i=ar(this),l=bo(s,o.bind(r),n);return i(),l}function Jl(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 Du=Symbol("_vte"),Yl=e=>e.__isTeleport,at=Symbol("_leaveCb"),Dn=Symbol("_enterCb");function ju(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wo(()=>{e.isMounted=!0}),lr(()=>{e.isUnmounting=!0}),e}const Ke=[Function,Array],zl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ke,onEnter:Ke,onAfterEnter:Ke,onEnterCancelled:Ke,onBeforeLeave:Ke,onLeave:Ke,onAfterLeave:Ke,onLeaveCancelled:Ke,onBeforeAppear:Ke,onAppear:Ke,onAfterAppear:Ke,onAppearCancelled:Ke},Ql=e=>{const t=e.subTree;return t.component?Ql(t.component):t},Fu={name:"BaseTransition",props:zl,setup(e,{slots:t}){const n=Vt(),r=ju();return()=>{const s=t.default&&ea(t.default(),!0);if(!s||!s.length)return;const o=Xl(s),i=ne(e),{mode:l}=i;if(r.isLeaving)return ms(o);const a=qo(o);if(!a)return ms(o);let f=js(a,i,r,n,u=>f=u);a.type!==ye&&Cn(a,f);let c=n.subTree&&qo(n.subTree);if(c&&c.type!==ye&&!Xe(c,a)&&Ql(n).type!==ye){let u=js(c,i,r,n);if(Cn(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},ms(o);l==="in-out"&&a.type!==ye?u.delayLeave=(p,d,m)=>{const _=Zl(r,c);_[String(c.key)]=c,p[at]=()=>{d(),p[at]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{m(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Xl(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const Bu=Fu;function Zl(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 js(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:d,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:S,onAppear:R,onAfterAppear:v,onAppearCancelled:g}=t,b=String(e.key),E=Zl(n,e),C=(N,I)=>{N&&nt(N,r,9,I)},M=(N,I)=>{const W=I[1];C(N,I),q(N)?N.every(O=>O.length<=1)&&W():N.length<=1&&W()},V={mode:i,persisted:l,beforeEnter(N){let I=a;if(!n.isMounted)if(o)I=S||a;else return;N[at]&&N[at](!0);const W=E[b];W&&Xe(e,W)&&W.el[at]&&W.el[at](),C(I,[N])},enter(N){if(E[b]===e)return;let I=f,W=c,O=u;if(!n.isMounted)if(o)I=R||f,W=v||c,O=g||u;else return;let K=!1;N[Dn]=le=>{K||(K=!0,le?C(O,[N]):C(W,[N]),V.delayedLeave&&V.delayedLeave(),N[Dn]=void 0)};const ee=N[Dn].bind(null,!1);I?M(I,[N,ee]):ee()},leave(N,I){const W=String(e.key);if(N[Dn]&&N[Dn](!0),n.isUnmounting)return I();C(p,[N]);let O=!1;N[at]=ee=>{O||(O=!0,I(),ee?C(_,[N]):C(m,[N]),N[at]=void 0,E[W]===e&&delete E[W])};const K=N[at].bind(null,!1);E[W]=e,d?M(d,[N,K]):K()},clone(N){const I=js(N,t,n,r,s);return s&&s(I),I}};return V}function ms(e){if(ir(e))return e=At(e),e.children=null,e}function qo(e){if(!ir(e))return Yl(e.type)&&e.children?Xl(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&&z(n.default))return n.default()}}function Cn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Cn(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 ea(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===xe?(i.patchFlag&128&&s++,r=r.concat(ea(i.children,t,l))):(t||i.type!==ye)&&r.push(l!=null?At(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Me(e,t){return z(e)?Ee({name:e.name},t,{setup:e}):e}function vo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Jo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Or=new WeakMap;function En(e,t,n,r,s=!1){if(q(e)){e.forEach((_,S)=>En(_,t&&(q(t)?t[S]:t),n,r,s));return}if(Rt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&En(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?os(r.component):r.el,i=s?null:o,{i:l,r:a}=e,f=t&&t.r,c=l.refs===ce?l.refs={}:l.refs,u=l.setupState,p=ne(u),d=u===ce?gl:_=>Jo(c,_)?!1:oe(p,_),m=(_,S)=>!(S&&Jo(c,S));if(f!=null&&f!==a){if(Yo(t),pe(f))c[f]=null,d(f)&&(u[f]=null);else if(_e(f)){const _=t;m(f,_.k)&&(f.value=null),_.k&&(c[_.k]=null)}}if(z(a))or(a,l,12,[i,c]);else{const _=pe(a),S=_e(a);if(_||S){const R=()=>{if(e.f){const v=_?d(a)?u[a]:c[a]:m()||!e.k?a.value:c[e.k];if(s)q(v)&&ho(v,o);else if(q(v))v.includes(o)||v.push(o);else if(_)c[a]=[o],d(a)&&(u[a]=c[a]);else{const g=[o];m(a,e.k)&&(a.value=g),e.k&&(c[e.k]=g)}}else _?(c[a]=i,d(a)&&(u[a]=i)):S&&(m(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const v=()=>{R(),Or.delete(e)};v.id=-1,Or.set(e,v),ve(v,n)}else Yo(e),R()}}}function Yo(e){const t=Or.get(e);t&&(t.flags|=8,Or.delete(e))}let zo=!1;const hn=()=>{zo||(console.error("Hydration completed but contains mismatches."),zo=!0)},Uu=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",$u=e=>e.namespaceURI.includes("MathML"),gr=e=>{if(e.nodeType===1){if(Uu(e))return"svg";if($u(e))return"mathml"}},mn=e=>e.nodeType===8;function Vu(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:a,createComment:f}}=e,c=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),xr(),b._vnode=g;return}u(b.firstChild,g,null,null,null),xr(),b._vnode=g},u=(g,b,E,C,M,V=!1)=>{V=V||!!b.dynamicChildren;const N=mn(g)&&g.data==="[",I=()=>_(g,b,E,C,M,N),{type:W,ref:O,shapeFlag:K,patchFlag:ee}=b;let le=g.nodeType;b.el=g,ee===-2&&(V=!1,b.dynamicChildren=null);let $=null;switch(W){case tn:le!==3?b.children===""?(a(b.el=s(""),i(g),g),$=g):$=I():(g.data!==b.children&&(hn(),g.data=b.children),$=o(g));break;case ye:v(g)?($=o(g),R(b.el=g.content.firstChild,g,E)):le!==8||N?$=I():$=o(g);break;case Er:if(N&&(g=o(g),le=g.nodeType),le===1||le===3){$=g;const Q=!b.children.length;for(let B=0;B<b.staticCount;B++)Q&&(b.children+=$.nodeType===1?$.outerHTML:$.data),B===b.staticCount-1&&(b.anchor=$),$=o($);return N?o($):$}else I();break;case xe:N?$=m(g,b,E,C,M,V):$=I();break;default:if(K&1)(le!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!v(g)?$=I():$=p(g,b,E,C,M,V);else if(K&6){b.slotScopeIds=M;const Q=i(g);if(N?$=S(g):mn(g)&&g.data==="teleport start"?$=S(g,g.data,"teleport end"):$=o(g),t(b,Q,null,E,C,gr(Q),V),Rt(b)&&!b.type.__asyncResolved){let B;N?(B=ge(xe),B.anchor=$?$.previousSibling:Q.lastChild):B=g.nodeType===3?Ha(""):ge("div"),B.el=g,b.component.subTree=B}}else K&64?le!==8?$=I():$=b.type.hydrate(g,b,E,C,M,V,e,d):K&128&&($=b.type.hydrate(g,b,E,C,gr(i(g)),M,V,e,u))}return O!=null&&En(O,null,C,b),$},p=(g,b,E,C,M,V)=>{V=V||!!b.dynamicChildren;const{type:N,props:I,patchFlag:W,shapeFlag:O,dirs:K,transition:ee}=b,le=N==="input"||N==="option";if(le||W!==-1){K&&lt(b,null,E,"created");let $=!1;if(v(g)){$=Ra(null,ee)&&E&&E.vnode.props&&E.vnode.props.appear;const B=g.content.firstChild;if($){const ue=B.getAttribute("class");ue&&(B.$cls=ue),ee.beforeEnter(B)}R(B,g,E),b.el=g=B}if(O&16&&!(I&&(I.innerHTML||I.textContent))){let B=d(g.firstChild,b,g,E,C,M,V);for(;B;){mr(g,1)||hn();const ue=B;B=B.nextSibling,l(ue)}}else if(O&8){let B=b.children;B[0]===`
3
+ `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(B=B.slice(1));const{textContent:ue}=g;ue!==B&&ue!==B.replace(/\r\n|\r/g,`
4
+ `)&&(mr(g,0)||hn(),g.textContent=b.children)}if(I){if(le||!V||W&48){const B=g.tagName.includes("-");for(const ue in I)(le&&(ue.endsWith("value")||ue==="indeterminate")||sr(ue)&&!Xt(ue)||ue[0]==="."||B&&!Xt(ue))&&r(g,ue,null,I[ue],void 0,E)}else if(I.onClick)r(g,"onClick",null,I.onClick,void 0,E);else if(W&4&&Ft(I.style))for(const B in I.style)I.style[B]}let Q;(Q=I&&I.onVnodeBeforeMount)&&De(Q,E,b),K&&lt(b,null,E,"beforeMount"),((Q=I&&I.onVnodeMounted)||K||$)&&xa(()=>{Q&&De(Q,E,b),$&&ee.enter(g),K&&lt(b,null,E,"mounted")},C)}return g.nextSibling},d=(g,b,E,C,M,V,N)=>{N=N||!!b.dynamicChildren;const I=b.children,W=I.length;for(let O=0;O<W;O++){const K=N?I[O]:I[O]=Ue(I[O]),ee=K.type===tn;g?(ee&&!N&&O+1<W&&Ue(I[O+1]).type===tn&&(a(s(g.data.slice(K.children.length)),E,o(g)),g.data=K.children),g=u(g,K,C,M,V,N)):ee&&!K.children?a(K.el=s(""),E):(mr(E,1)||hn(),n(null,K,E,null,C,M,gr(E),V))}return g},m=(g,b,E,C,M,V)=>{const{slotScopeIds:N}=b;N&&(M=M?M.concat(N):N);const I=i(g),W=d(o(g),b,I,E,C,M,V);return W&&mn(W)&&W.data==="]"?o(b.anchor=W):(hn(),a(b.anchor=f("]"),I,W),W)},_=(g,b,E,C,M,V)=>{if(mr(g.parentElement,1)||hn(),b.el=null,V){const W=S(g);for(;;){const O=o(g);if(O&&O!==W)l(O);else break}}const N=o(g),I=i(g);return l(g),n(null,b,I,N,E,C,gr(I),M),E&&(E.vnode.el=b.el,ss(E,b.el)),N},S=(g,b="[",E="]")=>{let C=0;for(;g;)if(g=o(g),g&&mn(g)&&(g.data===b&&C++,g.data===E)){if(C===0)return o(g);C--}return g},R=(g,b,E)=>{const C=b.parentNode;C&&C.replaceChild(g,b);let M=E;for(;M;)M.vnode.el===b&&(M.vnode.el=M.subTree.el=g),M=M.parent},v=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,u]}const Qo="data-allow-mismatch",Wu={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Qo);)e=e.parentElement;const n=e&&e.getAttribute(Qo);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Wu[t])}}qr().requestIdleCallback;qr().cancelIdleCallback;function Ku(e,t){if(mn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(mn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Rt=e=>!!e.type.__asyncLoader;function Fs(e){z(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 p=()=>(u++,f=null,d()),d=()=>{let m;return f||(m=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),a)return new Promise((S,R)=>{a(_,()=>S(p()),()=>R(_),u+1)});throw _}).then(_=>m!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return Me({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(m,_,S){let R=!1;(_.bu||(_.bu=[])).push(()=>R=!0);const v=()=>{R||S()},g=o?()=>{const b=o(v,E=>Ku(m,E));b&&(_.bum||(_.bum=[])).push(b)}:v;c?g():d().then(()=>!_.isUnmounted&&g())},get __asyncResolved(){return c},setup(){const m=Re;if(vo(m),c)return()=>yr(c,m);const _=g=>{f=null,Mn(g,m,13,!r)};if(l&&m.suspense||kn)return d().then(g=>()=>yr(g,m)).catch(g=>(_(g),()=>r?ge(r,{error:g}):null));const S=Et(!1),R=Et(),v=Et(!!s);return s&&setTimeout(()=>{v.value=!1},s),i!=null&&setTimeout(()=>{if(!S.value&&!R.value){const g=new Error(`Async component timed out after ${i}ms.`);_(g),R.value=g}},i),d().then(()=>{S.value=!0,m.parent&&ir(m.parent.vnode)&&m.parent.update()}).catch(g=>{_(g),R.value=g}),()=>{if(S.value&&c)return yr(c,m);if(R.value&&r)return ge(r,{error:R.value});if(n&&!v.value)return yr(n,m)}}})}function yr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ge(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ir=e=>e.type.__isKeepAlive,Gu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Vt(),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,p=u("div");r.activate=(v,g,b,E,C)=>{const M=v.component;f(v,g,b,0,l),a(M.vnode,v,g,b,M,l,E,v.slotScopeIds,C),ve(()=>{M.isDeactivated=!1,M.a&&bn(M.a);const V=v.props&&v.props.onVnodeMounted;V&&De(V,M.parent,v)},l)},r.deactivate=v=>{const g=v.component;Ir(g.m),Ir(g.a),f(v,p,null,1,l),ve(()=>{g.da&&bn(g.da);const b=v.props&&v.props.onVnodeUnmounted;b&&De(b,g.parent,v),g.isDeactivated=!0},l)};function d(v){ys(v),c(v,n,l,!0)}function m(v){s.forEach((g,b)=>{const E=qs(Rt(g)?g.type.__asyncResolved||{}:g.type);E&&!v(E)&&_(b)})}function _(v){const g=s.get(v);g&&(!i||!Xe(g,i))?d(g):i&&ys(i),s.delete(v),o.delete(v)}wn(()=>[e.include,e.exclude],([v,g])=>{v&&m(b=>Un(v,b)),g&&m(b=>!Un(g,b))},{flush:"post",deep:!0});let S=null;const R=()=>{S!=null&&(Mr(n.subTree.type)?ve(()=>{s.set(S,_r(n.subTree))},n.subTree.suspense):s.set(S,_r(n.subTree)))};return wo(R),sa(R),lr(()=>{s.forEach(v=>{const{subTree:g,suspense:b}=n,E=_r(g);if(v.type===E.type&&v.key===E.key){ys(E);const C=E.component.da;C&&ve(C,b);return}d(v)})}),()=>{if(S=null,!t.default)return i=null;const v=t.default(),g=v[0];if(v.length>1)return i=null,v;if(!sn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let b=_r(g);if(b.type===ye)return i=null,b;const E=b.type,C=qs(Rt(b)?b.type.__asyncResolved||{}:E),{include:M,exclude:V,max:N}=e;if(M&&(!C||!Un(M,C))||V&&C&&Un(V,C))return b.shapeFlag&=-257,i=b,g;const I=b.key==null?E:b.key,W=s.get(I);return b.el&&(b=At(b),g.shapeFlag&128&&(g.ssContent=b)),S=I,W?(b.el=W.el,b.component=W.component,b.transition&&Cn(b,b.transition),b.shapeFlag|=512,o.delete(I),o.add(I)):(o.add(I),N&&o.size>parseInt(N,10)&&_(o.values().next().value)),b.shapeFlag|=256,i=b,Mr(g.type)?g:b}}},qu=Gu;function Un(e,t){return q(e)?e.some(n=>Un(n,t)):pe(e)?e.split(",").includes(t):Fc(e)?(e.lastIndex=0,e.test(t)):!1}function ta(e,t){ra(e,"a",t)}function na(e,t){ra(e,"da",t)}function ra(e,t,n=Re){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ns(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ir(s.parent.vnode)&&Ju(r,t,n,s),s=s.parent}}function Ju(e,t,n,r){const s=ns(t,e,r,!0);Pt(()=>{ho(r[t],s)},n)}function ys(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _r(e){return e.shapeFlag&128?e.ssContent:e}function ns(e,t,n=Re,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Tt();const l=ar(n),a=nt(t,n,e,i);return l(),Ct(),a});return r?s.unshift(o):s.push(o),o}}const xt=e=>(t,n=Re)=>{(!kn||e==="sp")&&ns(e,(...r)=>t(...r),n)},Yu=xt("bm"),wo=xt("m"),zu=xt("bu"),sa=xt("u"),lr=xt("bum"),Pt=xt("um"),Qu=xt("sp"),Xu=xt("rtg"),Zu=xt("rtc");function oa(e,t=Re){ns("ec",e,t)}const ia="components";function ey(e,t){return aa(ia,e,!0,t)||e}const la=Symbol.for("v-ndc");function ef(e){return pe(e)?aa(ia,e,!1)||e:e||la}function aa(e,t,n=!0,r=!1){const s=Te||Re;if(s){const o=s.type;{const l=qs(o,!1);if(l&&(l===t||l===ze(t)||l===Kr(ze(t))))return o}const i=Xo(s[e]||o[e],t)||Xo(s.appContext[e],t);return!i&&r?o:i}}function Xo(e,t){return e&&(e[t]||e[ze(t)]||e[Kr(ze(t))])}function ty(e,t,n,r){let s;const o=n,i=q(e);if(i||pe(e)){const l=i&&Ft(e);let a=!1,f=!1;l&&(a=!$e(e),f=dt(e),e=Qr(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(a?f?Rn(tt(e[c])):tt(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(re(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 ny(e,t,n={},r,s){if(Te.ce||Te.parent&&Rt(Te.parent)&&Te.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),qe(),ct(xe,null,[ge("slot",n,r&&r())],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),qe();const i=o&&ca(o(n)),l=n.key||i&&i.key,a=ct(xe,{key:(l&&!et(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 ca(e){return e.some(t=>sn(t)?!(t.type===ye||t.type===xe&&!ca(t.children)):!0)?e:null}const Bs=e=>e?Da(e)?os(e):Bs(e.parent):null,Gn=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=>Bs(e.parent),$root:e=>Bs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>fa(e),$forceUpdate:e=>e.f||(e.f=()=>{_o(e.update)}),$nextTick:e=>e.n||(e.n=rn.bind(e.proxy)),$watch:e=>Lu.bind(e)}),_s=(e,t)=>e!==ce&&!e.__isScriptSetup&&oe(e,t),tf={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 p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(_s(r,t))return i[t]=1,r[t];if(s!==ce&&oe(s,t))return i[t]=2,s[t];if(oe(o,t))return i[t]=3,o[t];if(n!==ce&&oe(n,t))return i[t]=4,n[t];Us&&(i[t]=0)}}const f=Gn[t];let c,u;if(f)return t==="$attrs"&&ke(e.attrs,"get",""),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ce&&oe(n,t))return i[t]=4,n[t];if(u=a.config.globalProperties,oe(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return _s(s,t)?(s[t]=n,!0):r!==ce&&oe(r,t)?(r[t]=n,!0):oe(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!==ce&&l[0]!=="$"&&oe(e,l)||_s(t,l)||oe(o,l)||oe(r,l)||oe(Gn,l)||oe(s.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ry(){return nf().slots}function nf(e){const t=Vt();return t.setupContext||(t.setupContext=Fa(t))}function Zo(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Us=!0;function rf(e){const t=fa(e),n=e.proxy,r=e.ctx;Us=!1,t.beforeCreate&&ei(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:f,created:c,beforeMount:u,mounted:p,beforeUpdate:d,updated:m,activated:_,deactivated:S,beforeDestroy:R,beforeUnmount:v,destroyed:g,unmounted:b,render:E,renderTracked:C,renderTriggered:M,errorCaptured:V,serverPrefetch:N,expose:I,inheritAttrs:W,components:O,directives:K,filters:ee}=t;if(f&&sf(f,r,null),i)for(const Q in i){const B=i[Q];z(B)&&(r[Q]=B.bind(n))}if(s){const Q=s.call(n,n);re(Q)&&(e.data=kt(Q))}if(Us=!0,o)for(const Q in o){const B=o[Q],ue=z(B)?B.bind(n,n):z(B.get)?B.get.bind(n,n):ft,Ot=!z(B)&&z(B.set)?B.set.bind(n):ft,st=Je({get:ue,set:Ot});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>st.value,set:He=>st.value=He})}if(l)for(const Q in l)ua(l[Q],r,n,Q);if(a){const Q=z(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(B=>{St(B,Q[B])})}c&&ei(c,e,"c");function $(Q,B){q(B)?B.forEach(ue=>Q(ue.bind(n))):B&&Q(B.bind(n))}if($(Yu,u),$(wo,p),$(zu,d),$(sa,m),$(ta,_),$(na,S),$(oa,V),$(Zu,C),$(Xu,M),$(lr,v),$(Pt,b),$(Qu,N),q(I))if(I.length){const Q=e.exposed||(e.exposed={});I.forEach(B=>{Object.defineProperty(Q,B,{get:()=>n[B],set:ue=>n[B]=ue,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===ft&&(e.render=E),W!=null&&(e.inheritAttrs=W),O&&(e.components=O),K&&(e.directives=K),N&&vo(e)}function sf(e,t,n=ft){q(e)&&(e=$s(e));for(const r in e){const s=e[r];let o;re(s)?"default"in s?o=we(s.from||r,s.default,!0):o=we(s.from||r):o=we(s),_e(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ei(e,t,n){nt(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ua(e,t,n,r){let s=r.includes(".")?Jl(n,r):()=>n[r];if(pe(e)){const o=t[e];z(o)&&wn(s,o)}else if(z(e))wn(s,e.bind(n));else if(re(e))if(q(e))e.forEach(o=>ua(o,t,n,r));else{const o=z(e.handler)?e.handler.bind(n):t[e.handler];z(o)&&wn(s,o,e)}}function fa(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=>Nr(a,f,i,!0)),Nr(a,t,i)),re(t)&&o.set(t,a),a}function Nr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Nr(e,o,n,!0),s&&s.forEach(i=>Nr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=of[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const of={data:ti,props:ni,emits:ni,methods:$n,computed:$n,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:$n,directives:$n,watch:af,provide:ti,inject:lf};function ti(e,t){return t?e?function(){return Ee(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function lf(e,t){return $n($s(e),$s(t))}function $s(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function $n(e,t){return e?Ee(Object.create(null),e,t):t}function ni(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Zo(e),Zo(t??{})):t}function af(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const r in t)n[r]=Oe(e[r],t[r]);return n}function da(){return{app:null,config:{isNativeTag:gl,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 cf=0;function uf(e,t){return function(r,s=null){z(r)||(r=Ee({},r)),s!=null&&!re(s)&&(s=null);const o=da(),i=new WeakSet,l=[];let a=!1;const f=o.app={_uid:cf++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:$f,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&z(c.install)?(i.add(c),c.install(f,...u)):z(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,p){if(!a){const d=f._ceVNode||ge(r,s);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),u&&t?t(d,c):e(d,c,p),a=!0,f._container=c,c.__vue_app__=f,os(d.component)}},onUnmount(c){l.push(c)},unmount(){a&&(nt(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=en;en=f;try{return c()}finally{en=u}}};return f}}let en=null;const ff=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ze(t)}Modifiers`]||e[`${$t(t)}Modifiers`];function df(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ce;let s=n;const o=t.startsWith("update:"),i=o&&ff(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>pe(c)?c.trim():c)),i.number&&(s=n.map(Gr)));let l,a=r[l=fs(t)]||r[l=fs(ze(t))];!a&&o&&(a=r[l=fs($t(t))]),a&&nt(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,nt(f,e,6,s)}}const hf=new WeakMap;function ha(e,t,n=!1){const r=n?hf:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!z(e)){const a=f=>{const c=ha(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?(re(e)&&r.set(e,null),null):(q(o)?o.forEach(a=>i[a]=null):Ee(i,o),re(e)&&r.set(e,i),i)}function rs(e,t){return!e||!sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,$t(t))||oe(e,t))}function bs(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:p,setupState:d,ctx:m,inheritAttrs:_}=e,S=Pr(e);let R,v;try{if(n.shapeFlag&4){const b=s||r,E=b;R=Ue(f.call(E,b,c,u,d,p,m)),v=l}else{const b=t;R=Ue(b.length>1?b(u,{attrs:l,slots:i,emit:a}):b(u,null)),v=t.props?l:gf(l)}}catch(b){qn.length=0,Mn(b,e,1),R=ge(ye)}let g=R;if(v&&_!==!1){const b=Object.keys(v),{shapeFlag:E}=g;b.length&&E&7&&(o&&b.some(fo)&&(v=mf(v,o)),g=At(g,v,!1,!0))}return n.dirs&&(g=At(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Cn(g,n.transition),R=g,Pr(S),R}function pf(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(sn(s)){if(s.type!==ye||s.children==="v-if"){if(n)return;n=s}}else return}return n}const gf=e=>{let t;for(const n in e)(n==="class"||n==="style"||sr(n))&&((t||(t={}))[n]=e[n]);return t},mf=(e,t)=>{const n={};for(const r in e)(!fo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function yf(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?ri(r,i,f):!!i;if(a&8){const c=t.dynamicProps;for(let u=0;u<c.length;u++){const p=c[u];if(pa(i,r,p)&&!rs(f,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?ri(r,i,f):!0:!!i;return!1}function ri(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(pa(t,e,o)&&!rs(n,o))return!0}return!1}function pa(e,t,n){const r=e[n],s=t[n];return n==="style"&&re(r)&&re(s)?!Bt(r,s):r!==s}function ss({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 ga={},ma=()=>Object.create(ga),ya=e=>Object.getPrototypeOf(e)===ga;function _f(e,t,n,r=!1){const s={},o=ma();e.propsDefaults=Object.create(null),_a(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:ut(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function bf(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 p=c[u];if(rs(e.emitsOptions,p))continue;const d=t[p];if(a)if(oe(o,p))d!==o[p]&&(o[p]=d,f=!0);else{const m=ze(p);s[m]=Vs(a,l,m,d,e,!1)}else d!==o[p]&&(o[p]=d,f=!0)}}}else{_a(e,t,s,o)&&(f=!0);let c;for(const u in l)(!t||!oe(t,u)&&((c=$t(u))===u||!oe(t,c)))&&(a?n&&(n[u]!==void 0||n[c]!==void 0)&&(s[u]=Vs(a,l,u,void 0,e,!0)):delete s[u]);if(o!==l)for(const u in o)(!t||!oe(t,u))&&(delete o[u],f=!0)}f&&bt(e.attrs,"set","")}function _a(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Xt(a))continue;const f=t[a];let c;s&&oe(s,c=ze(a))?!o||!o.includes(c)?n[c]=f:(l||(l={}))[c]=f:rs(e.emitsOptions,a)||(!(a in r)||f!==r[a])&&(r[a]=f,i=!0)}if(o){const a=ne(n),f=l||ce;for(let c=0;c<o.length;c++){const u=o[c];n[u]=Vs(s,a,u,f[u],e,!oe(f,u))}}return i}function Vs(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=oe(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&z(a)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const c=ar(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===$t(n))&&(r=!0))}return r}const vf=new WeakMap;function ba(e,t,n=!1){const r=n?vf:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!z(e)){const c=u=>{a=!0;const[p,d]=ba(u,t,!0);Ee(i,p),d&&l.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return re(e)&&r.set(e,yn),yn;if(q(o))for(let c=0;c<o.length;c++){const u=ze(o[c]);si(u)&&(i[u]=ce)}else if(o)for(const c in o){const u=ze(c);if(si(u)){const p=o[c],d=i[u]=q(p)||z(p)?{type:p}:Ee({},p),m=d.type;let _=!1,S=!0;if(q(m))for(let R=0;R<m.length;++R){const v=m[R],g=z(v)&&v.name;if(g==="Boolean"){_=!0;break}else g==="String"&&(S=!1)}else _=z(m)&&m.name==="Boolean";d[0]=_,d[1]=S,(_||oe(d,"default"))&&l.push(u)}}const f=[i,l];return re(e)&&r.set(e,f),f}function si(e){return e[0]!=="$"&&!Xt(e)}const Eo=e=>e==="_"||e==="_ctx"||e==="$stable",So=e=>q(e)?e.map(Ue):[Ue(e)],wf=(e,t,n)=>{if(t._n)return t;const r=Kn((...s)=>So(t(...s)),n);return r._c=!1,r},va=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Eo(s))continue;const o=e[s];if(z(o))t[s]=wf(s,o,r);else if(o!=null){const i=So(o);t[s]=()=>i}}},wa=(e,t)=>{const n=So(t);e.slots.default=()=>n},Ea=(e,t,n)=>{for(const r in t)(n||!Eo(r))&&(e[r]=t[r])},Ef=(e,t,n)=>{const r=e.slots=ma();if(e.vnode.shapeFlag&32){const s=t._;s?(Ea(r,t,n),n&&bl(r,"_",s,!0)):va(t,r)}else t&&wa(e,t)},Sf=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ce;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ea(s,t,n):(o=!t.$stable,va(t,s)),i=t}else t&&(wa(e,t),i={default:1});if(o)for(const l in s)!Eo(l)&&i[l]==null&&delete s[l]},ve=xa;function Rf(e){return Sa(e)}function Tf(e){return Sa(e,Vu)}function Sa(e,t){const n=qr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:f,setElementText:c,parentNode:u,nextSibling:p,setScopeId:d=ft,insertStaticContent:m}=e,_=(h,y,w,k=null,T=null,x=null,D=void 0,L=null,H=!!y.dynamicChildren)=>{if(h===y)return;h&&!Xe(h,y)&&(k=A(h),He(h,T,x,!0),h=null),y.patchFlag===-2&&(H=!1,y.dynamicChildren=null);const{type:P,ref:Y,shapeFlag:F}=y;switch(P){case tn:S(h,y,w,k);break;case ye:R(h,y,w,k);break;case Er:h==null&&v(y,w,k,D);break;case xe:O(h,y,w,k,T,x,D,L,H);break;default:F&1?E(h,y,w,k,T,x,D,L,H):F&6?K(h,y,w,k,T,x,D,L,H):(F&64||F&128)&&P.process(h,y,w,k,T,x,D,L,H,J)}Y!=null&&T?En(Y,h&&h.ref,x,y||h,!y):Y==null&&h&&h.ref!=null&&En(h.ref,null,x,h,!0)},S=(h,y,w,k)=>{if(h==null)r(y.el=l(y.children),w,k);else{const T=y.el=h.el;y.children!==h.children&&f(T,y.children)}},R=(h,y,w,k)=>{h==null?r(y.el=a(y.children||""),w,k):y.el=h.el},v=(h,y,w,k)=>{[h.el,h.anchor]=m(h.children,y,w,k,h.el,h.anchor)},g=({el:h,anchor:y},w,k)=>{let T;for(;h&&h!==y;)T=p(h),r(h,w,k),h=T;r(y,w,k)},b=({el:h,anchor:y})=>{let w;for(;h&&h!==y;)w=p(h),s(h),h=w;s(y)},E=(h,y,w,k,T,x,D,L,H)=>{if(y.type==="svg"?D="svg":y.type==="math"&&(D="mathml"),h==null)C(y,w,k,T,x,D,L,H);else{const P=h.el&&h.el._isVueCE?h.el:null;try{P&&P._beginPatch(),N(h,y,T,x,D,L,H)}finally{P&&P._endPatch()}}},C=(h,y,w,k,T,x,D,L)=>{let H,P;const{props:Y,shapeFlag:F,transition:G,dirs:X}=h;if(H=h.el=i(h.type,x,Y&&Y.is,Y),F&8?c(H,h.children):F&16&&V(h.children,H,null,k,T,vs(h,x),D,L),X&&lt(h,null,k,"created"),M(H,h,h.scopeId,D,k),Y){for(const fe in Y)fe!=="value"&&!Xt(fe)&&o(H,fe,null,Y[fe],x,k);"value"in Y&&o(H,"value",null,Y.value,x),(P=Y.onVnodeBeforeMount)&&De(P,k,h)}X&&lt(h,null,k,"beforeMount");const te=Ra(T,G);te&&G.beforeEnter(H),r(H,y,w),((P=Y&&Y.onVnodeMounted)||te||X)&&ve(()=>{P&&De(P,k,h),te&&G.enter(H),X&&lt(h,null,k,"mounted")},T)},M=(h,y,w,k,T)=>{if(w&&d(h,w),k)for(let x=0;x<k.length;x++)d(h,k[x]);if(T){let x=T.subTree;if(y===x||Mr(x.type)&&(x.ssContent===y||x.ssFallback===y)){const D=T.vnode;M(h,D,D.scopeId,D.slotScopeIds,T.parent)}}},V=(h,y,w,k,T,x,D,L,H=0)=>{for(let P=H;P<h.length;P++){const Y=h[P]=L?_t(h[P]):Ue(h[P]);_(null,Y,y,w,k,T,x,D,L)}},N=(h,y,w,k,T,x,D)=>{const L=y.el=h.el;let{patchFlag:H,dynamicChildren:P,dirs:Y}=y;H|=h.patchFlag&16;const F=h.props||ce,G=y.props||ce;let X;if(w&&Kt(w,!1),(X=G.onVnodeBeforeUpdate)&&De(X,w,y,h),Y&&lt(y,h,w,"beforeUpdate"),w&&Kt(w,!0),(F.innerHTML&&G.innerHTML==null||F.textContent&&G.textContent==null)&&c(L,""),P?I(h.dynamicChildren,P,L,w,k,vs(y,T),x):D||B(h,y,L,null,w,k,vs(y,T),x,!1),H>0){if(H&16)W(L,F,G,w,T);else if(H&2&&F.class!==G.class&&o(L,"class",null,G.class,T),H&4&&o(L,"style",F.style,G.style,T),H&8){const te=y.dynamicProps;for(let fe=0;fe<te.length;fe++){const ie=te[fe],Le=F[ie],Ce=G[ie];(Ce!==Le||ie==="value")&&o(L,ie,Le,Ce,T,w)}}H&1&&h.children!==y.children&&c(L,y.children)}else!D&&P==null&&W(L,F,G,w,T);((X=G.onVnodeUpdated)||Y)&&ve(()=>{X&&De(X,w,y,h),Y&&lt(y,h,w,"updated")},k)},I=(h,y,w,k,T,x,D)=>{for(let L=0;L<y.length;L++){const H=h[L],P=y[L],Y=H.el&&(H.type===xe||!Xe(H,P)||H.shapeFlag&198)?u(H.el):w;_(H,P,Y,null,k,T,x,D,!0)}},W=(h,y,w,k,T)=>{if(y!==w){if(y!==ce)for(const x in y)!Xt(x)&&!(x in w)&&o(h,x,y[x],null,T,k);for(const x in w){if(Xt(x))continue;const D=w[x],L=y[x];D!==L&&x!=="value"&&o(h,x,L,D,T,k)}"value"in w&&o(h,"value",y.value,w.value,T)}},O=(h,y,w,k,T,x,D,L,H)=>{const P=y.el=h?h.el:l(""),Y=y.anchor=h?h.anchor:l("");let{patchFlag:F,dynamicChildren:G,slotScopeIds:X}=y;X&&(L=L?L.concat(X):X),h==null?(r(P,w,k),r(Y,w,k),V(y.children||[],w,Y,T,x,D,L,H)):F>0&&F&64&&G&&h.dynamicChildren&&h.dynamicChildren.length===G.length?(I(h.dynamicChildren,G,w,T,x,D,L),(y.key!=null||T&&y===T.subTree)&&Ta(h,y,!0)):B(h,y,w,Y,T,x,D,L,H)},K=(h,y,w,k,T,x,D,L,H)=>{y.slotScopeIds=L,h==null?y.shapeFlag&512?T.ctx.activate(y,w,k,D,H):ee(y,w,k,T,x,D,H):le(h,y,H)},ee=(h,y,w,k,T,x,D)=>{const L=h.component=Df(h,k,T);if(ir(h)&&(L.ctx.renderer=J),jf(L,!1,D),L.asyncDep){if(T&&T.registerDep(L,$,D),!h.el){const H=L.subTree=ge(ye);R(null,H,y,w),h.placeholder=H.el}}else $(L,h,y,w,T,x,D)},le=(h,y,w)=>{const k=y.component=h.component;if(yf(h,y,w))if(k.asyncDep&&!k.asyncResolved){Q(k,y,w);return}else k.next=y,k.update();else y.el=h.el,k.vnode=y},$=(h,y,w,k,T,x,D)=>{const L=()=>{if(h.isMounted){let{next:F,bu:G,u:X,parent:te,vnode:fe}=h;{const Fe=Ca(h);if(Fe){F&&(F.el=fe.el,Q(h,F,D)),Fe.asyncDep.then(()=>{ve(()=>{h.isUnmounted||P()},T)});return}}let ie=F,Le;Kt(h,!1),F?(F.el=fe.el,Q(h,F,D)):F=fe,G&&bn(G),(Le=F.props&&F.props.onVnodeBeforeUpdate)&&De(Le,te,F,fe),Kt(h,!0);const Ce=bs(h),Qe=h.subTree;h.subTree=Ce,_(Qe,Ce,u(Qe.el),A(Qe),h,T,x),F.el=Ce.el,ie===null&&ss(h,Ce.el),X&&ve(X,T),(Le=F.props&&F.props.onVnodeUpdated)&&ve(()=>De(Le,te,F,fe),T)}else{let F;const{el:G,props:X}=y,{bm:te,m:fe,parent:ie,root:Le,type:Ce}=h,Qe=Rt(y);if(Kt(h,!1),te&&bn(te),!Qe&&(F=X&&X.onVnodeBeforeMount)&&De(F,ie,y),Kt(h,!0),G&&he){const Fe=()=>{h.subTree=bs(h),he(G,h.subTree,h,T,null)};Qe&&Ce.__asyncHydrate?Ce.__asyncHydrate(G,h,Fe):Fe()}else{Le.ce&&Le.ce._hasShadowRoot()&&Le.ce._injectChildStyle(Ce);const Fe=h.subTree=bs(h);_(null,Fe,w,k,h,T,x),y.el=Fe.el}if(fe&&ve(fe,T),!Qe&&(F=X&&X.onVnodeMounted)){const Fe=y;ve(()=>De(F,ie,Fe),T)}(y.shapeFlag&256||ie&&Rt(ie.vnode)&&ie.vnode.shapeFlag&256)&&h.a&&ve(h.a,T),h.isMounted=!0,y=w=k=null}};h.scope.on();const H=h.effect=new Cl(L);h.scope.off();const P=h.update=H.run.bind(H),Y=h.job=H.runIfDirty.bind(H);Y.i=h,Y.id=h.uid,H.scheduler=()=>_o(Y),Kt(h,!0),P()},Q=(h,y,w)=>{y.component=h;const k=h.vnode.props;h.vnode=y,h.next=null,bf(h,y.props,k,w),Sf(h,y.children,w),Tt(),Go(h),Ct()},B=(h,y,w,k,T,x,D,L,H=!1)=>{const P=h&&h.children,Y=h?h.shapeFlag:0,F=y.children,{patchFlag:G,shapeFlag:X}=y;if(G>0){if(G&128){Ot(P,F,w,k,T,x,D,L,H);return}else if(G&256){ue(P,F,w,k,T,x,D,L,H);return}}X&8?(Y&16&&We(P,T,x),F!==P&&c(w,F)):Y&16?X&16?Ot(P,F,w,k,T,x,D,L,H):We(P,T,x,!0):(Y&8&&c(w,""),X&16&&V(F,w,k,T,x,D,L,H))},ue=(h,y,w,k,T,x,D,L,H)=>{h=h||yn,y=y||yn;const P=h.length,Y=y.length,F=Math.min(P,Y);let G;for(G=0;G<F;G++){const X=y[G]=H?_t(y[G]):Ue(y[G]);_(h[G],X,w,null,T,x,D,L,H)}P>Y?We(h,T,x,!0,!1,F):V(y,w,k,T,x,D,L,H,F)},Ot=(h,y,w,k,T,x,D,L,H)=>{let P=0;const Y=y.length;let F=h.length-1,G=Y-1;for(;P<=F&&P<=G;){const X=h[P],te=y[P]=H?_t(y[P]):Ue(y[P]);if(Xe(X,te))_(X,te,w,null,T,x,D,L,H);else break;P++}for(;P<=F&&P<=G;){const X=h[F],te=y[G]=H?_t(y[G]):Ue(y[G]);if(Xe(X,te))_(X,te,w,null,T,x,D,L,H);else break;F--,G--}if(P>F){if(P<=G){const X=G+1,te=X<Y?y[X].el:k;for(;P<=G;)_(null,y[P]=H?_t(y[P]):Ue(y[P]),w,te,T,x,D,L,H),P++}}else if(P>G)for(;P<=F;)He(h[P],T,x,!0),P++;else{const X=P,te=P,fe=new Map;for(P=te;P<=G;P++){const Be=y[P]=H?_t(y[P]):Ue(y[P]);Be.key!=null&&fe.set(Be.key,P)}let ie,Le=0;const Ce=G-te+1;let Qe=!1,Fe=0;const Hn=new Array(Ce);for(P=0;P<Ce;P++)Hn[P]=0;for(P=X;P<=F;P++){const Be=h[P];if(Le>=Ce){He(Be,T,x,!0);continue}let ot;if(Be.key!=null)ot=fe.get(Be.key);else for(ie=te;ie<=G;ie++)if(Hn[ie-te]===0&&Xe(Be,y[ie])){ot=ie;break}ot===void 0?He(Be,T,x,!0):(Hn[ot-te]=P+1,ot>=Fe?Fe=ot:Qe=!0,_(Be,y[ot],w,null,T,x,D,L,H),Le++)}const Fo=Qe?Cf(Hn):yn;for(ie=Fo.length-1,P=Ce-1;P>=0;P--){const Be=te+P,ot=y[Be],Bo=y[Be+1],Uo=Be+1<Y?Bo.el||Aa(Bo):k;Hn[P]===0?_(null,ot,w,Uo,T,x,D,L,H):Qe&&(ie<0||P!==Fo[ie]?st(ot,w,Uo,2):ie--)}}},st=(h,y,w,k,T=null)=>{const{el:x,type:D,transition:L,children:H,shapeFlag:P}=h;if(P&6){st(h.component.subTree,y,w,k);return}if(P&128){h.suspense.move(y,w,k);return}if(P&64){D.move(h,y,w,J);return}if(D===xe){r(x,y,w);for(let F=0;F<H.length;F++)st(H[F],y,w,k);r(h.anchor,y,w);return}if(D===Er){g(h,y,w);return}if(k!==2&&P&1&&L)if(k===0)L.beforeEnter(x),r(x,y,w),ve(()=>L.enter(x),T);else{const{leave:F,delayLeave:G,afterLeave:X}=L,te=()=>{h.ctx.isUnmounted?s(x):r(x,y,w)},fe=()=>{x._isLeaving&&x[at](!0),F(x,()=>{te(),X&&X()})};G?G(x,te,fe):fe()}else r(x,y,w)},He=(h,y,w,k=!1,T=!1)=>{const{type:x,props:D,ref:L,children:H,dynamicChildren:P,shapeFlag:Y,patchFlag:F,dirs:G,cacheIndex:X}=h;if(F===-2&&(T=!1),L!=null&&(Tt(),En(L,null,w,h,!0),Ct()),X!=null&&(y.renderCache[X]=void 0),Y&256){y.ctx.deactivate(h);return}const te=Y&1&&G,fe=!Rt(h);let ie;if(fe&&(ie=D&&D.onVnodeBeforeUnmount)&&De(ie,y,h),Y&6)Wt(h.component,w,k);else{if(Y&128){h.suspense.unmount(w,k);return}te&&lt(h,null,y,"beforeUnmount"),Y&64?h.type.remove(h,y,w,J,k):P&&!P.hasOnce&&(x!==xe||F>0&&F&64)?We(P,y,w,!1,!0):(x===xe&&F&384||!T&&Y&16)&&We(H,y,w),k&&un(h)}(fe&&(ie=D&&D.onVnodeUnmounted)||te)&&ve(()=>{ie&&De(ie,y,h),te&&lt(h,null,y,"unmounted")},w)},un=h=>{const{type:y,el:w,anchor:k,transition:T}=h;if(y===xe){fn(w,k);return}if(y===Er){b(h);return}const x=()=>{s(w),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:D,delayLeave:L}=T,H=()=>D(w,x);L?L(h.el,x,H):H()}else x()},fn=(h,y)=>{let w;for(;h!==y;)w=p(h),s(h),h=w;s(y)},Wt=(h,y,w)=>{const{bum:k,scope:T,job:x,subTree:D,um:L,m:H,a:P}=h;Ir(H),Ir(P),k&&bn(k),T.stop(),x&&(x.flags|=8,He(D,h,y,w)),L&&ve(L,y),ve(()=>{h.isUnmounted=!0},y)},We=(h,y,w,k=!1,T=!1,x=0)=>{for(let D=x;D<h.length;D++)He(h[D],y,w,k,T)},A=h=>{if(h.shapeFlag&6)return A(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const y=p(h.anchor||h.el),w=y&&y[Du];return w?p(w):y};let U=!1;const j=(h,y,w)=>{let k;h==null?y._vnode&&(He(y._vnode,null,null,!0),k=y._vnode.component):_(y._vnode||null,h,y,null,null,null,w),y._vnode=h,U||(U=!0,Go(k),xr(),U=!1)},J={p:_,um:He,m:st,r:un,mt:ee,mc:V,pc:B,pbc:I,n:A,o:e};let Z,he;return t&&([Z,he]=t(J)),{render:j,hydrate:Z,createApp:uf(j,Z)}}function vs({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 Kt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ra(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ta(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]=_t(s[o]),l.el=i.el),!n&&l.patchFlag!==-2&&Ta(i,l)),l.type===tn&&(l.patchFlag===-1&&(l=s[o]=_t(l)),l.el=i.el),l.type===ye&&!l.el&&(l.el=i.el)}}function Cf(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 Ca(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ca(t)}function Ir(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Aa(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Aa(t.subTree):null}const Mr=e=>e.__isSuspense;let Ws=0;const Af={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,l,a,f){if(e==null)kf(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}xf(e,t,n,r,s,i,l,a,f)}},hydrate:Pf,normalize:Of},Ro=Af;function er(e,t){const n=e.props&&e.props[t];z(n)&&n()}function kf(e,t,n,r,s,o,i,l,a){const{p:f,o:{createElement:c}}=a,u=c("div"),p=e.suspense=ka(e,s,r,t,u,n,o,i,l,a);f(null,p.pendingBranch=e.ssContent,u,null,r,p,o,i),p.deps>0?(er(e,"onPending"),er(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,o,i),Sn(p,e.ssFallback)):p.resolve(!1,!0)}function xf(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 p=t.ssContent,d=t.ssFallback,{activeBranch:m,pendingBranch:_,isInFallback:S,isHydrating:R}=u;if(_)u.pendingBranch=p,Xe(_,p)?(a(_,p,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0?u.resolve():S&&(R||(a(m,d,n,r,s,null,o,i,l),Sn(u,d)))):(u.pendingId=Ws++,R?(u.isHydrating=!1,u.activeBranch=_):f(_,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=c("div"),S?(a(null,p,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0?u.resolve():(a(m,d,n,r,s,null,o,i,l),Sn(u,d))):m&&Xe(m,p)?(a(m,p,n,r,s,u,o,i,l),u.resolve(!0)):(a(null,p,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0&&u.resolve()));else if(m&&Xe(m,p))a(m,p,n,r,s,u,o,i,l),Sn(u,p);else if(er(t,"onPending"),u.pendingBranch=p,p.shapeFlag&512?u.pendingId=p.component.suspenseId:u.pendingId=Ws++,a(null,p,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(d)},v):v===0&&u.fallback(d)}}function ka(e,t,n,r,s,o,i,l,a,f,c=!1){const{p:u,m:p,um:d,n:m,o:{parentNode:_,remove:S}}=f;let R;const v=Nf(e);v&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const g=e.props?vl(e.props.timeout):void 0,b=o,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Ws++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,M=!1){const{vnode:V,activeBranch:N,pendingBranch:I,pendingId:W,effects:O,parentComponent:K,container:ee,isInFallback:le}=E;let $=!1;E.isHydrating?E.isHydrating=!1:C||($=N&&I.transition&&I.transition.mode==="out-in",$&&(N.transition.afterLeave=()=>{W===E.pendingId&&(p(I,ee,o===b?m(N):o,0),Ds(O),le&&V.ssFallback&&(V.ssFallback.el=null))}),N&&(_(N.el)===ee&&(o=m(N)),d(N,K,E,!0),!$&&le&&V.ssFallback&&ve(()=>V.ssFallback.el=null,E)),$||p(I,ee,o,0)),Sn(E,I),E.pendingBranch=null,E.isInFallback=!1;let Q=E.parent,B=!1;for(;Q;){if(Q.pendingBranch){Q.effects.push(...O),B=!0;break}Q=Q.parent}!B&&!$&&Ds(O),E.effects=[],v&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),er(V,"onResolve")},fallback(C){if(!E.pendingBranch)return;const{vnode:M,activeBranch:V,parentComponent:N,container:I,namespace:W}=E;er(M,"onFallback");const O=m(V),K=()=>{E.isInFallback&&(u(null,C,I,O,N,null,W,l,a),Sn(E,C))},ee=C.transition&&C.transition.mode==="out-in";ee&&(V.transition.afterLeave=K),E.isInFallback=!0,d(V,N,null,!0),ee||K()},move(C,M,V){E.activeBranch&&p(E.activeBranch,C,M,V),E.container=C},next(){return E.activeBranch&&m(E.activeBranch)},registerDep(C,M,V){const N=!!E.pendingBranch;N&&E.deps++;const I=C.vnode.el;C.asyncDep.catch(W=>{Mn(W,C,0)}).then(W=>{if(C.isUnmounted||E.isUnmounted||E.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:O}=C;Gs(C,W),I&&(O.el=I);const K=!I&&C.subTree.el;M(C,O,_(I||C.subTree.el),I?null:m(C.subTree),E,i,V),K&&(O.placeholder=null,S(K)),ss(C,O.el),N&&--E.deps===0&&E.resolve()})},unmount(C,M){E.isUnmounted=!0,E.activeBranch&&d(E.activeBranch,n,C,M),E.pendingBranch&&d(E.pendingBranch,n,C,M)}};return E}function Pf(e,t,n,r,s,o,i,l,a){const f=t.suspense=ka(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 Of(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=oi(r?n.default:n),e.ssFallback=r?oi(n.fallback):ge(ye)}function oi(e){let t;if(z(e)){const n=An&&e._c;n&&(e._d=!1,qe()),e=e(),n&&(e._d=!0,t=je,Pa())}return q(e)&&(e=pf(e)),e=Ue(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function xa(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Ds(e)}function Sn(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,ss(r,s))}function Nf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const xe=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Er=Symbol.for("v-stc"),qn=[];let je=null;function qe(e=!1){qn.push(je=e?null:[])}function Pa(){qn.pop(),je=qn[qn.length-1]||null}let An=1;function Hr(e,t=!1){An+=e,e<0&&je&&t&&(je.hasOnce=!0)}function Oa(e){return e.dynamicChildren=An>0?je||yn:null,Pa(),An>0&&je&&je.push(e),e}function If(e,t,n,r,s,o){return Oa(Ia(e,t,n,r,s,o,!0))}function ct(e,t,n,r,s){return Oa(ge(e,t,n,r,s,!0))}function sn(e){return e?e.__v_isVNode===!0:!1}function Xe(e,t){return e.type===t.type&&e.key===t.key}const Na=({key:e})=>e??null,Sr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||_e(e)||z(e)?{i:Te,r:e,k:t,f:!!n}:e:null);function Ia(e,t=null,n=null,r=0,s=null,o=e===xe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Na(t),ref:t&&Sr(t),scopeId:ql,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:Te};return l?(To(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=pe(n)?8:16),An>0&&!i&&je&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&je.push(a),a}const ge=Mf;function Mf(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===la)&&(e=ye),sn(e)){const l=At(e,t,!0);return n&&To(l,n),An>0&&!o&&je&&(l.shapeFlag&6?je[je.indexOf(e)]=l:je.push(l)),l.patchFlag=-2,l}if(Uf(e)&&(e=e.__vccOpts),t){t=Ma(t);let{class:l,style:a}=t;l&&!pe(l)&&(t.class=Yr(l)),re(a)&&(es(a)&&!q(a)&&(a=Ee({},a)),t.style=Jr(a))}const i=pe(e)?1:Mr(e)?128:Yl(e)?64:re(e)?4:z(e)?2:0;return Ia(e,t,n,r,s,i,o,!0)}function Ma(e){return e?es(e)||ya(e)?Ee({},e):e:null}function At(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:a}=e,f=t?La(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Na(f),ref:t&&t.ref?n&&o?q(o)?o.concat(Sr(t)):[o,Sr(t)]:Sr(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!==xe?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&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Cn(c,a.clone(c)),c}function Ha(e=" ",t=0){return ge(tn,null,e,t)}function sy(e="",t=!1){return t?(qe(),ct(ye,null,e)):ge(ye,null,e)}function Ue(e){return e==null||typeof e=="boolean"?ge(ye):q(e)?ge(xe,null,e.slice()):sn(e)?_t(e):ge(tn,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function To(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),To(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ya(t)?t._ctx=Te:s===3&&Te&&(Te.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Te},n=32):(t=String(t),r&64?(n=16,t=[Ha(t)]):n=8);e.children=t,e.shapeFlag|=n}function La(...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=Yr([t.class,r.class]));else if(s==="style")t.style=Jr([t.style,r.style]);else if(sr(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 De(e,t,n,r=null){nt(e,t,7,[n,r])}const Hf=da();let Lf=0;function Df(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Hf,o={uid:Lf++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Rl(!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:ba(r,s),emitsOptions:ha(r,s),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:r.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,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=df.bind(null,o),e.ce&&e.ce(o),o}let Re=null;const Vt=()=>Re||Te;let Lr,Ks;{const e=qr(),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)}};Lr=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),Ks=t("__VUE_SSR_SETTERS__",n=>kn=n)}const ar=e=>{const t=Re;return Lr(e),e.scope.on(),()=>{e.scope.off(),Lr(t)}},ii=()=>{Re&&Re.scope.off(),Lr(null)};function Da(e){return e.vnode.shapeFlag&4}let kn=!1;function jf(e,t=!1,n=!1){t&&Ks(t);const{props:r,children:s}=e.vnode,o=Da(e);_f(e,r,o,t),Ef(e,s,n||t);const i=o?Ff(e,t):void 0;return t&&Ks(!1),i}function Ff(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,tf);const{setup:r}=n;if(r){Tt();const s=e.setupContext=r.length>1?Fa(e):null,o=ar(e),i=or(r,e,0,[e.props,s]),l=ml(i);if(Ct(),o(),(l||e.sp)&&!Rt(e)&&vo(e),l){if(i.then(ii,ii),t)return i.then(a=>{Gs(e,a)}).catch(a=>{Mn(a,e,0)});e.asyncDep=i}else Gs(e,i)}else ja(e)}function Gs(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Vl(t)),ja(e)}function ja(e,t,n){const r=e.type;e.render||(e.render=r.render||ft);{const s=ar(e);Tt();try{rf(e)}finally{Ct(),s()}}}const Bf={get(e,t){return ke(e,"get",""),e[t]}};function Fa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Bf),slots:e.slots,emit:e.emit,expose:t}}function os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vl(_u(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gn)return Gn[n](e)},has(t,n){return n in t||n in Gn}})):e.proxy}function qs(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Uf(e){return z(e)&&"__vccOpts"in e}const Je=(e,t)=>ku(e,t,kn);function Pe(e,t,n){try{Hr(-1);const r=arguments.length;return r===2?re(t)&&!q(t)?sn(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&sn(n)&&(n=[n]),ge(e,t,n))}finally{Hr(1)}}const $f="3.5.29";let Js;const li=typeof window<"u"&&window.trustedTypes;if(li)try{Js=li.createPolicy("vue",{createHTML:e=>e})}catch{}const Ba=Js?e=>Js.createHTML(e):e=>e,Vf="http://www.w3.org/2000/svg",Wf="http://www.w3.org/1998/Math/MathML",yt=typeof document<"u"?document:null,ai=yt&&yt.createElement("template"),Kf={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"?yt.createElementNS(Vf,e):t==="mathml"?yt.createElementNS(Wf,e):n?yt.createElement(e,{is:n}):yt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>yt.createTextNode(e),createComment:e=>yt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yt.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{ai.innerHTML=Ba(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=ai.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]}},Nt="transition",jn="animation",tr=Symbol("_vtc"),Ua={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},Gf=Ee({},zl,Ua),qf=e=>(e.displayName="Transition",e.props=Gf,e),Jf=qf((e,{slots:t})=>Pe(Bu,Yf(e),t)),Gt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ci=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function Yf(e){const t={};for(const O in e)O in Ua||(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:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,m=zf(s),_=m&&m[0],S=m&&m[1],{onBeforeEnter:R,onEnter:v,onEnterCancelled:g,onLeave:b,onLeaveCancelled:E,onBeforeAppear:C=R,onAppear:M=v,onAppearCancelled:V=g}=t,N=(O,K,ee,le)=>{O._enterCancelled=le,qt(O,K?c:l),qt(O,K?f:i),ee&&ee()},I=(O,K)=>{O._isLeaving=!1,qt(O,u),qt(O,d),qt(O,p),K&&K()},W=O=>(K,ee)=>{const le=O?M:v,$=()=>N(K,O,ee);Gt(le,[K,$]),ui(()=>{qt(K,O?a:o),gt(K,O?c:l),ci(le)||fi(K,r,_,$)})};return Ee(t,{onBeforeEnter(O){Gt(R,[O]),gt(O,o),gt(O,i)},onBeforeAppear(O){Gt(C,[O]),gt(O,a),gt(O,f)},onEnter:W(!1),onAppear:W(!0),onLeave(O,K){O._isLeaving=!0;const ee=()=>I(O,K);gt(O,u),O._enterCancelled?(gt(O,p),pi(O)):(pi(O),gt(O,p)),ui(()=>{O._isLeaving&&(qt(O,u),gt(O,d),ci(b)||fi(O,r,S,ee))}),Gt(b,[O,ee])},onEnterCancelled(O){N(O,!1,void 0,!0),Gt(g,[O])},onAppearCancelled(O){N(O,!0,void 0,!0),Gt(V,[O])},onLeaveCancelled(O){I(O),Gt(E,[O])}})}function zf(e){if(e==null)return null;if(re(e))return[ws(e.enter),ws(e.leave)];{const t=ws(e);return[t,t]}}function ws(e){return vl(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[tr]||(e[tr]=new Set)).add(t)}function qt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[tr];n&&(n.delete(t),n.size||(e[tr]=void 0))}function ui(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qf=0;function fi(e,t,n,r){const s=e._endId=++Qf,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=Xf(e,t);if(!i)return r();const f=i+"end";let c=0;const u=()=>{e.removeEventListener(f,p),o()},p=d=>{d.target===e&&++c>=a&&u()};setTimeout(()=>{c<a&&u()},l+1),e.addEventListener(f,p)}function Xf(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${Nt}Delay`),o=r(`${Nt}Duration`),i=di(s,o),l=r(`${jn}Delay`),a=r(`${jn}Duration`),f=di(l,a);let c=null,u=0,p=0;t===Nt?i>0&&(c=Nt,u=i,p=o.length):t===jn?f>0&&(c=jn,u=f,p=a.length):(u=Math.max(i,f),c=u>0?i>f?Nt:jn:null,p=c?c===Nt?o.length:a.length:0);const d=c===Nt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Nt}Property`).toString());return{type:c,timeout:u,propCount:p,hasTransform:d}}function di(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>hi(n)+hi(e[r])))}function hi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function pi(e){return(e?e.ownerDocument:document).body.offsetHeight}function Zf(e,t,n){const r=e[tr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const gi=Symbol("_vod"),ed=Symbol("_vsh"),td=Symbol(""),nd=/(?:^|;)\s*display\s*:/;function rd(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&&Rr(r,l,"")}else for(const i in t)n[i]==null&&Rr(r,i,"");for(const i in n)i==="display"&&(o=!0),Rr(r,i,n[i])}else if(s){if(t!==n){const i=r[td];i&&(n+=";"+i),r.cssText=n,o=nd.test(n)}}else t&&e.removeAttribute("style");gi in e&&(e[gi]=o?r.display:"",e[ed]&&(r.display="none"))}const mi=/\s*!important$/;function Rr(e,t,n){if(q(n))n.forEach(r=>Rr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=sd(e,t);mi.test(n)?e.setProperty($t(r),n.replace(mi,""),"important"):e[r]=n}}const yi=["Webkit","Moz","ms"],Es={};function sd(e,t){const n=Es[t];if(n)return n;let r=ze(t);if(r!=="filter"&&r in e)return Es[t]=r;r=Kr(r);for(let s=0;s<yi.length;s++){const o=yi[s]+r;if(o in e)return Es[t]=o}return t}const _i="http://www.w3.org/1999/xlink";function bi(e,t,n,r,s,o=Yc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(_i,t.slice(6,t.length)):e.setAttributeNS(_i,t,n):n==null||o&&!wl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":et(n)?String(n):n)}function vi(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ba(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=wl(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 wt(e,t,n,r){e.addEventListener(t,n,r)}function od(e,t,n,r){e.removeEventListener(t,n,r)}const wi=Symbol("_vei");function id(e,t,n,r,s=null){const o=e[wi]||(e[wi]={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=ld(t);if(r){const f=o[t]=ud(r,s);wt(e,l,f,a)}else i&&(od(e,l,i,a),o[t]=void 0)}}const Ei=/(?:Once|Passive|Capture)$/;function ld(e){let t;if(Ei.test(e)){t={};let r;for(;r=e.match(Ei);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$t(e.slice(2)),t]}let Ss=0;const ad=Promise.resolve(),cd=()=>Ss||(ad.then(()=>Ss=0),Ss=Date.now());function ud(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;nt(fd(r,n.value),t,5,[r])};return n.value=e,n.attached=cd(),n}function fd(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 Si=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dd=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Zf(e,r,i):t==="style"?rd(e,n,r):sr(t)?fo(t)||id(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hd(e,t,r,i))?(vi(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bi(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(r))?vi(e,ze(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bi(e,t,r,i))};function hd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Si(t)&&z(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 Si(t)&&pe(n)?!1:t in e}const Ut=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>bn(t,n):t};function pd(e){e.target.composing=!0}function Ri(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ye=Symbol("_assign");function Ti(e,t,n){return t&&(e=e.trim()),n&&(e=Gr(e)),e}const Ci={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ye]=Ut(s);const o=r||s.props&&s.props.type==="number";wt(e,t?"change":"input",i=>{i.target.composing||e[Ye](Ti(e.value,n,o))}),(n||o)&&wt(e,"change",()=>{e.value=Ti(e.value,n,o)}),t||(wt(e,"compositionstart",pd),wt(e,"compositionend",Ri),wt(e,"change",Ri))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Ye]=Ut(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Gr(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))}},gd={deep:!0,created(e,t,n){e[Ye]=Ut(n),wt(e,"change",()=>{const r=e._modelValue,s=xn(e),o=e.checked,i=e[Ye];if(q(r)){const l=po(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(Nn(r)){const l=new Set(r);o?l.add(s):l.delete(s),i(l)}else i($a(e,o))})},mounted:Ai,beforeUpdate(e,t,n){e[Ye]=Ut(n),Ai(e,t,n)}};function Ai(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(q(t))s=po(t,r.props.value)>-1;else if(Nn(t))s=t.has(r.props.value);else{if(t===n)return;s=Bt(t,$a(e,!0))}e.checked!==s&&(e.checked=s)}const md={created(e,{value:t},n){e.checked=Bt(t,n.props.value),e[Ye]=Ut(n),wt(e,"change",()=>{e[Ye](xn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ye]=Ut(r),t!==n&&(e.checked=Bt(t,r.props.value))}},yd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Nn(t);wt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Gr(xn(i)):xn(i));e[Ye](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,rn(()=>{e._assigning=!1})}),e[Ye]=Ut(r)},mounted(e,{value:t}){ki(e,t)},beforeUpdate(e,t,n){e[Ye]=Ut(n)},updated(e,{value:t}){e._assigning||ki(e,t)}};function ki(e,t){const n=e.multiple,r=q(t);if(!(n&&!r&&!Nn(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],l=xn(i);if(n)if(r){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(f=>String(f)===String(l)):i.selected=po(t,l)>-1}else i.selected=t.has(l);else if(Bt(xn(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function xn(e){return"_value"in e?e._value:e.value}function $a(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const oy={created(e,t,n){br(e,t,n,null,"created")},mounted(e,t,n){br(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){br(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){br(e,t,n,r,"updated")}};function _d(e,t){switch(e){case"SELECT":return yd;case"TEXTAREA":return Ci;default:switch(t){case"checkbox":return gd;case"radio":return md;default:return Ci}}}function br(e,t,n,r,s){const i=_d(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const bd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},iy=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=$t(s.key);if(t.some(i=>i===o||bd[i]===o))return e(s)}))},Va=Ee({patchProp:dd},Kf);let Jn,xi=!1;function vd(){return Jn||(Jn=Rf(Va))}function wd(){return Jn=xi?Jn:Tf(Va),xi=!0,Jn}const Ed=((...e)=>{const t=vd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ka(r);if(!s)return;const o=t._component;!z(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Wa(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),Sd=((...e)=>{const t=wd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ka(r);if(s)return n(s,!0,Wa(s))},t});function Wa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ka(e){return pe(e)?document.querySelector(e):e}const Rd=/"(?:_|\\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*:/,Td=/"(?: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*:/,Cd=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ad(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){kd(e);return}return t}function kd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Dr(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(!Cd.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Rd.test(e)||Td.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ad)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Ga=/#/g,qa=/&/g,xd=/\//g,Pd=/=/g,Od=/\?/g,is=/\+/g,Nd=/%5e/gi,Id=/%60/gi,Md=/%7c/gi,Hd=/%20/gi,Ld=/%2f/gi,Dd=/%252f/gi;function Ja(e){return encodeURI(""+e).replace(Md,"|")}function Ys(e){return Ja(typeof e=="string"?e:JSON.stringify(e)).replace(is,"%2B").replace(Hd,"+").replace(Ga,"%23").replace(qa,"%26").replace(Id,"`").replace(Nd,"^").replace(xd,"%2F")}function Rs(e){return Ys(e).replace(Pd,"%3D")}function jd(e){return Ja(e).replace(Ga,"%23").replace(Od,"%3F").replace(Dd,"%2F").replace(qa,"%26").replace(is,"%2B")}function nr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Fd(e){return nr(e.replace(Ld,"%252F"))}function Bd(e){return nr(e.replace(is," "))}function Ud(e){return nr(e.replace(is," "))}function Ya(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=Bd(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Ud(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 $d(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Rs(e)}=${Ys(n)}`).join("&"):`${Rs(e)}=${Ys(t)}`:Rs(e)}function Vd(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>$d(t,e[t])).filter(Boolean).join("&")}const Wd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Kd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Gd=/^([/\\]\s*){2,}[^/\\]/,qd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Jd=/\/$|\/\?|\/#/,Yd=/^\.?\//;function ln(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Wd.test(e):Kd.test(e)||(t.acceptRelative?Gd.test(e):!1)}function zd(e){return!!e&&qd.test(e)}function zs(e="",t){return t?Jd.test(e):e.endsWith("/")}function jr(e="",t){if(!t)return(zs(e)?e.slice(0,-1):e)||"/";if(!zs(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 Qd(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(zs(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 Xd(e,t){if(Qa(t)||ln(e))return e;const n=jr(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Co(n,e)}function Pi(e,t){if(Qa(t))return e;const n=jr(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 za(e,t){const n=Ao(e),r={...Ya(n.search),...t};return n.search=Vd(r),th(n)}function Qa(e){return!e||e==="/"}function Zd(e){return e&&e!=="/"}function Co(e,...t){let n=e||"";for(const r of t.filter(s=>Zd(s)))if(n){const s=r.replace(Yd,"");n=Qd(n)+s}else n=r;return n}function Xa(...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&&ln(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 eh(e,t){return nr(jr(e))===nr(jr(t))}const Za=Symbol.for("ufo:protocolRelative");function Ao(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,p=""]=n;return{protocol:u.toLowerCase(),pathname:p,href:u+p,auth:"",host:"",search:"",hash:""}}if(!ln(e,{acceptRelative:!0}))return Oi(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}=Oi(l);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:a,search:f,hash:c,[Za]:!r}}function Oi(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function th(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[Za]?(e.protocol||"")+"//":"")+s+o+t+n+r}class nh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function rh(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 nh(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 sh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ni(e="GET"){return sh.has(e.toUpperCase())}function oh(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 ih=new Set(["image/svg","application/xml","application/xhtml","application/html"]),lh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ah(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return lh.test(t)?"json":t==="text/event-stream"?"stream":ih.has(t)||t.startsWith("text/")?"text":"blob"}function ch(e,t,n,r){const s=uh(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 uh(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 vr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const fh=new Set([408,409,425,429,500,502,503,504]),dh=new Set([101,204,205,304]);function ec(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=Ni(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):fh.has(u))){const p=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),o(l.request,{...l.options,retry:c-1})}}const f=rh(l);throw Error.captureStackTrace&&Error.captureStackTrace(f,o),f}const o=async function(a,f={}){const c={request:a,options:ch(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 vr(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=Xd(c.request,c.options.baseURL)),c.options.query&&(c.request=za(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&&Ni(c.options.method))if(oh(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||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 d=new r;u=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,d.abort(m)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await vr(c,c.options.onRequestError),await s(c)}finally{u&&clearTimeout(u)}if((c.response.body||c.response._bodyInit)&&!dh.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||ah(c.response.headers.get("content-type")||"");switch(d){case"json":{const m=await c.response.text(),_=c.options.parseResponse||Dr;c.response._data=_(m);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await vr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await vr(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={})=>ec({...e,...a,defaults:{...e.defaults,...a.defaults,...l}}),i}const Fr=(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")})(),hh=Fr.fetch?(...e)=>Fr.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),ph=Fr.Headers,gh=Fr.AbortController,mh=ec({fetch:hh,Headers:ph,AbortController:gh}),yh=mh,_h=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,ko=()=>_h().app,bh=()=>ko().baseURL,vh=()=>ko().buildAssetsDir,xo=(...e)=>Xa(tc(),vh(),...e),tc=(...e)=>{const t=ko(),n=t.cdnURL||t.baseURL;return e.length?Xa(n,...e):n};globalThis.__buildAssetsURL=xo,globalThis.__publicAssetsURL=tc;globalThis.$fetch||(globalThis.$fetch=yh.create({baseURL:bh()}));"global"in globalThis||(globalThis.global=globalThis);function Qs(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Qs(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const wh={run:e=>e()},Eh=()=>wh,nc=typeof console.createTask<"u"?console.createTask:Eh;function Sh(e,t){const n=t.shift(),r=nc(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Rh(e,t){const n=t.shift(),r=nc(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Ts(e,t){for(const n of[...e])n(t)}let Th=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=Qs(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=Qs(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(Sh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Rh,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ts(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Ts(this._after,s)}):(this._after&&s&&Ts(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 Ch(){return new Th}function Ah(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;Xs.add(f);try{const c=s?s.run(i,l):l();return n||(t=void 0),await c}finally{Xs.delete(f)}}}}function kh(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Ah({...e,...r})),t[n]}}}const Br=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ii="__unctx__",xh=Br[Ii]||(Br[Ii]=kh()),Ph=(e,t={})=>xh.get(e,t),Mi="__unctx_async_handlers__",Xs=Br[Mi]||(Br[Mi]=new Set);function Yn(e){const t=[];for(const s of Xs){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 Oh=!1,Hi=!1,Nh=!1,Li={id:"__nuxt-loader"},ay={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Ih="#__nuxt",rc="nuxt-app",Di=36e5,Mh="vite:preloadError";function sc(e=rc){return Ph(e,{asyncContext:!1})}const Hh="__nuxt_plugin";function Lh(e){let t=0;const n={_id:e.id||rc||"nuxt-app",_scope:Xc(),provide:void 0,versions:{get nuxt(){return"4.3.1"},get vue(){return n.vueApp.version}},payload:ut({...e.ssrContext?.payload||{},data:ut({}),state:kt({}),once:new Set,_errors:ut({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Tl()?n._scope.run(()=>ji(n,s)):ji(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:ut({}),_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=Ch(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;wr(n,i,o),wr(n.vueApp.config.globalProperties,i,o)},wr(n.vueApp,"$nuxt",n),wr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Mh,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Se;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 Dh(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function jh(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 Fh(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=jh(e,a).then(async()=>{a._name&&(n.add(a._name),await Promise.all(r.map(async([u,p])=>{u.has(a._name)&&(u.delete(a._name),u.size===0&&(i++,await l(p)))})))}).catch(u=>{if(!a.parallel&&!e.payload.error)throw u;o||=u});a.parallel?s.push(c):await c}}for(const a of t)Dh(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 ht(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Hh]:!0,_name:t})}function ji(e,t,n){const r=()=>t();return sc(e._id).set(e),e.vueApp.runWithContext(r)}function Bh(e){let t;return ts()&&(t=Vt()?.appContext.app.$nuxt),t||=sc(e).tryUse(),t||null}function Se(e){const t=Bh(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ls(e){return Se().$config}function wr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Cs(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 Zs(e,t,n=".",r){if(!Cs(t))return Zs(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]]:Cs(i)&&Cs(s[o])?s[o]=Zs(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Uh(e){return(...t)=>t.reduce((n,r)=>Zs(n,r,"",e),{})}const oc=Uh();function $h(e,t){try{return t in e}catch{return!1}}class Fi 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:eo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ic(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Vh(e){if(typeof e=="string")return new Fi(e);if(Wh(e))return e;const t=new Fi(e.message??e.statusMessage??"",{cause:e.cause||e});if($h(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=eo(e.statusCode,t.statusCode):e.status&&(t.statusCode=eo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ic(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 Wh(e){return e?.constructor?.__h3_error__===!0}const Kh=/[^\u0009\u0020-\u007E]/g;function ic(e=""){return e.replace(Kh,"")}function eo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const lc=Symbol("layout-meta"),on=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ve=()=>Se()?.$router,cr=()=>ts()?we(on,Se()._route):Se()._route;const Gh=()=>{try{if(Se()._processingMiddleware)return!0}catch{return!1}return!1},cy=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?qh(e):Ve().resolve(e).href;if(t?.open){const{target:f="_blank",windowFeatures:c={}}=t.open,u=[];for(const[p,d]of Object.entries(c))d!==void 0&&u.push(`${p.toLowerCase()}=${d}`);return open(n,f,u.join(", ")),Promise.resolve()}const r=ln(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:f}=new URL(n,window.location.href);if(f&&zd(f))throw new Error(`Cannot navigate to a URL with '${f}' protocol.`)}const o=Gh();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:f,search:c,hash:u}=Ao(e);return{path:f,...c&&{query:Ya(c)},...u&&{hash:u},replace:!0}}return{...e,replace:!0}}return e}const i=Ve(),l=Se();if(s)return l._scope.stop(),t?.replace?location.replace(n):location.href=n,o?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const a=typeof e=="string"?Jh(e):e;return t?.replace?i.replace(a):i.push(a)};function qh(e){return za(e.path||"",e.query||{})+(e.hash||"")}function Jh(e){const t=Ao(e);return jd(Fd(t.pathname))+t.search+t.hash}const ac="__nuxt_error",as=()=>Tu(Se().payload,"error"),zt=e=>{const t=nn(e);try{const n=as();Se().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Yh=async(e={})=>{const t=Se(),n=as();t.callHook("app:error:cleared",e),e.redirect&&await Ve().replace(e.redirect),n.value=void 0},cc=e=>!!e&&typeof e=="object"&&ac in e,nn=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Vh(e);return Object.defineProperty(t,ac,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function zh(e){const t=Xh(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 Qh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Xh(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|=Qh.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 Zh=-1,ep=-2,tp=-3,np=-4,rp=-5,sp=-6,op=-7;function ip(e,t){return lp(JSON.parse(e),t)}function lp(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===Zh)return;if(i===tp)return NaN;if(i===np)return 1/0;if(i===rp)return-1/0;if(i===sp)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 m=1;m<a.length;m+=1)u.add(o(a[m]));break;case"Map":const p=new Map;r[i]=p;for(let m=1;m<a.length;m+=2)p.set(o(a[m]),o(a[m+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 d=Object.create(null);r[i]=d;for(let m=1;m<a.length;m+=2)d[a[m]]=o(a[m+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 m=globalThis[f],_=o(a[1]),S=new m(_);r[i]=a[2]!==void 0?S.subarray(a[2],a[3]):S;break}case"ArrayBuffer":{const m=a[1];if(typeof m!="string")throw new Error("Invalid ArrayBuffer encoding");const _=zh(m);r[i]=_;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 m=f.slice(9);r[i]=Temporal[m].from(a[1]);break}case"URL":{const m=new URL(a[1]);r[i]=m;break}case"URLSearchParams":{const m=new URLSearchParams(a[1]);r[i]=m;break}default:throw new Error(`Unknown type ${f}`)}}else if(a[0]===op){const f=a[1],c=new Array(f);r[i]=c;for(let u=2;u<a.length;u+=2){const p=a[u];c[p]=o(a[u+1])}}else{const f=new Array(a.length);r[i]=f;for(let c=0;c<a.length;c+=1){const u=a[c];u!==ep&&(f[c]=o(u))}}else{const f={};r[i]=f;for(const c of Object.keys(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 ap=new Set(["link","style","script","noscript"]),cp=new Set(["title","titleTemplate","script","style","noscript"]),Bi=new Set(["base","meta","link","style","script","noscript"]),up=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),fp=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),dp=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),hp=new Set(["templateParams","htmlAttrs","bodyAttrs"]),pp=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function to(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?to(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const uc=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function fc(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(()=>fc(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function gp(e,t,n){if(e.length>0)return fc(e,t,0,uc(n))}function mp(e,t,n){if(e.length>0){const r=uc(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function As(e,t){for(const n of[...e])n(t)}var yp=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=to(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=to(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(gp,e,t)}callHookParallel(e,...t){return this.callHookWith(mp,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&As(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&As(this._after,r)}):(this._after&&r&&As(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 _p(){return new yp}const bp=["name","property","http-equiv"],vp=new Set(["viewport","description","keywords","robots"]);function dc(e){const t=e.split(":");return t.length?pp.has(t[1]):!1}function no(e){const{props:t,tag:n}=e;if(fp.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const r=t.hreflang||t.type;if(r)return`alternate:${r}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of bp)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&vp.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(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(cp.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function hc(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 Ur(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=>Ur(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=Ur(s[i],t,i);return o}return s}function wp(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 pc(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]=wp(n,r);return}if(dp.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 Ep(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=pc({tag:e,props:{}},n);return r.key&&ap.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 Sp(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=Ur(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(Ep(s,i))}),r.flat()}const Ui=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,$i={base:-10,title:10},Rp={critical:-8,high:-1,low:2},Vi={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}},Tp=/@import/,Fn=e=>e===""||e===!0;function Cp(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Rp[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Vi;if(t.tag in $i)n=$i[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=Vi.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);Fn(t.props.async)?n=s.script.async:t.props.src&&!Fn(t.props.defer)&&!Fn(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Fn(t.props.defer)&&t.props.src&&!Fn(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Tp.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Wi(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 Ap(e={}){const t=_p();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=>Wi(i,l),push(l,a){const f={...a||{}};delete f.head;const c=f._index??i._entryCount++,u={_i:c,input:l,options:f},p={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(u.input=d,r.set(c,u),p._poll())}};return p.patch(l),p},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.size;){const p=o.values().next().value;o.delete(p);const d=r.get(p);if(d){const m={tags:Sp(d.input,e.propResolvers||[]).map(_=>Object.assign(_,d.options)),entry:d};await t.callHook("entries:normalize",m),d._tags=m.tags.map((_,S)=>(_._w=Cp(i,_),_._p=(d._i<<10)+S,_._d=no(_),_._d||(_._h=hc(_)),_))}}let a=!1;l.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ui).reduce((p,d)=>{const m=d._d||d._h;if(!p.has(m))return p.set(m,d);const _=p.get(m);if((d?.tagDuplicateStrategy||(hp.has(d.tag)?"merge":null)||(d.key&&d.key===_.key?"merge":null))==="merge"){const R={..._.props};Object.entries(d.props).forEach(([v,g])=>R[v]=v==="style"?new Map([..._.props.style||new Map,...g]):v==="class"?new Set([..._.props.class||new Set,...g]):g),p.set(m,{...d,props:R})}else d._p>>10===_._p>>10&&d.tag==="meta"&&dc(m)?(p.set(m,Object.assign([...Array.isArray(_)?_:[_],d],d)),a=!0):(d._w===_._w?d._p>_._p:d?._w<_?._w)&&p.set(m,d);return p},l.tagMap);const f=l.tagMap.get("title"),c=l.tagMap.get("titleTemplate");if(i._title=f?.textContent,c){const p=c?.textContent;if(i._titleTemplate=p,p){let d=typeof p=="function"?p(f?.textContent):p;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",f?.textContent||"")),f?d===null?l.tagMap.delete("title"):l.tagMap.set("title",{...f,textContent:d}):(c.tag="title",c.textContent=d)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(Ui)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const u=[];for(const p of l.tags){const{innerHTML:d,tag:m,props:_}=p;if(up.has(m)&&!(Object.keys(_).length===0&&!p.innerHTML&&!p.textContent)&&!(m==="meta"&&!_.content&&!_["http-equiv"]&&!_.charset)){if(m==="script"&&d){if(String(_.type).endsWith("json")){const S=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=S.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));p._d=no(p)}u.push(p)}}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=>Wi(i,l)),i.hooks.callHook("init",i),e.init?.forEach(l=>l&&i.push(l)),i}const kp=(e,t)=>_e(t)?vu(t):t,Po="usehead";function xp(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Po,e)}}.install}function Pp(){if(ts()){const e=we(Po);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Op(e,t={}){const n=t.head||Pp();return n.ssr?n.push(e||{},t):Np(n,e,t)}function Np(e,t,n={}){const r=Et(!1);let s;return Hu(()=>{const i=r.value?{}:Ur(t,kp);s?s.patch(i):s=e.push(i,n)}),Vt()&&(lr(()=>{s.dispose()}),na(()=>{r.value=!0}),ta(()=>{r.value=!1})),s}function Ip(e){const t=e||Se();return t.ssrContext?.head||t.runWithContext(()=>{if(ts()){const n=we(Po);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Mp(e,t={}){const n=t.head||Ip(t.nuxt);return Op(e,{head:n,...t})}const Hp=(e,t)=>[],gc=e=>oc({},...Hp().map(t=>t.data).reverse()),Lp=gc;let Tr;function Dp(){return Tr=$fetch(xo(`builds/meta/${ls().app.buildId}.json`),{responseType:"json"}),Tr.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Tr}function Oo(){return Tr||Dp()}function cs(e){const t=typeof e=="string"?e:e.path;try{return Lp(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Ki(e,t={}){if(await Bp(e)){const n=await Fp(e,t);return await mc(n)||null}return null}const jp="_payload.json";async function Fp(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||ln(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=ls(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await Up(e)?o:r.app.baseURL;return Co(i,n.pathname,jp+(s?`?${s}`:""))}async function mc(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(bc));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function yc(e){if(e.redirect)return!1;if(e.prerender)return!0}async function _c(e){return e=e==="/"?e:e.replace(/\/$/,""),(await Oo()).prerendered.includes(e)}async function Bp(e=cr().path){const t=cs({path:e}),n=yc(t);return n!==void 0?n:t.payload?!0:await _c(e)}async function Up(e=cr().path){const t=yc(cs({path:e}));return t!==void 0?t:await _c(e)}let Jt=null;async function $p(){if(Jt)return Jt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await bc(e.textContent||""),n=e.dataset.src?await mc(e.dataset.src):void 0;return Jt={...t,...n,...window.__NUXT__},Jt.config?.public&&(Jt.config.public=kt(Jt.config.public)),Jt}async function bc(e){return await ip(e,Se()._payloadRevivers)}function Vp(e,t){Se()._payloadRevivers[e]=t}const Wp=[["NuxtError",e=>nn(e)],["EmptyShallowRef",e=>Tn(e==="_"?void 0:e==="0n"?BigInt(0):Dr(e))],["EmptyRef",e=>Et(e==="_"?void 0:e==="0n"?BigInt(0):Dr(e))],["ShallowRef",e=>Tn(e)],["ShallowReactive",e=>ut(e)],["Ref",e=>Et(e)],["Reactive",e=>kt(e)]],Kp=ht({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]=Yn(()=>e.runWithContext($p)),t=await t,n(),t)),delete window.__NUXT__}});async function No(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(d=>{e.resolveTags().then(m=>{d(m.map(_=>{const S=o.get(_._d)||0,R={tag:_,id:(S?`${_._d}:${S}`:_._d)||_._h,shouldRender:!0};return _._d&&dc(_._d)&&o.set(_._d,S+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 d of["body","head"]){const m=n[d]?.children;for(const _ of m){const S=_.tagName.toLowerCase();if(!Bi.has(S))continue;const R=pc({tag:S,props:{}},{innerHTML:_.innerHTML,..._.getAttributeNames().reduce((v,g)=>(v[g]=_.getAttribute(g),v),{})||{}});if(R.key=_.getAttribute("data-hid")||void 0,R._d=no(R)||hc(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,_)}else l.elMap.set(R._d,_)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(d,m,_){const S=`${d}:${m}`;l.sideEffects[S]=_,delete l.pendingSideEffects[S]}function f({id:d,$el:m,tag:_}){const S=_.tag.endsWith("Attrs");l.elMap.set(d,m),S||(_.textContent&&_.textContent!==m.textContent&&(m.textContent=_.textContent),_.innerHTML&&_.innerHTML!==m.innerHTML&&(m.innerHTML=_.innerHTML),a(d,"el",()=>{m?.remove(),l.elMap.delete(d)}));for(const R in _.props){if(!Object.prototype.hasOwnProperty.call(_.props,R))continue;const v=_.props[R];if(R.startsWith("on")&&typeof v=="function"){const b=m?.dataset;if(b&&b[`${R}fired`]){const E=R.slice(0,-5);v.call(m,new Event(E.substring(2)))}m.getAttribute(`data-${R}`)!==""&&((_.tag==="bodyAttrs"?n.defaultView:m).addEventListener(R.substring(2),v.bind(m)),m.setAttribute(`data-${R}`,""));continue}const g=`attr:${R}`;if(R==="class"){if(!v)continue;for(const b of v)S&&a(d,`${g}:${b}`,()=>m.classList.remove(b)),!m.classList.contains(b)&&m.classList.add(b)}else if(R==="style"){if(!v)continue;for(const[b,E]of v)a(d,`${g}:${b}`,()=>{m.style.removeProperty(b)}),m.style.setProperty(b,E)}else v!==!1&&v!==null&&(m.getAttribute(R)!==v&&m.setAttribute(R,v===!0?"":String(v)),S&&a(d,g,()=>m.removeAttribute(R)))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const d of p){const{tag:m,shouldRender:_,id:S}=d;if(_){if(m.tag==="title"){n.title=m.textContent,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(S),d.$el?f(d):Bi.has(m.tag)&&c.push(d)}}for(const d of c){const m=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),f(d),u[m]=u[m]||n.createDocumentFragment(),u[m].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,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 d in l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:p}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Gp(e={}){const t=e.domOptions?.render||No;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Ap({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function qp(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Jp(e={}){const t=Gp({domOptions:{render:qp(()=>No(t),n=>setTimeout(n,0))},...e});return t.install=xp(t),t}const Yp={disableDefaults:!0},zp=ht({name:"nuxt:head",enforce:"pre",setup(e){const t=Jp(Yp);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await No(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 gn=typeof document<"u";function vc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Qp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&vc(e.default)}const se=Object.assign;function ks(e,t){const n={};for(const r in t){const s=t[r];n[r]=rt(s)?s.map(e):e(s)}return n}const zn=()=>{},rt=Array.isArray;function Gi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const wc=/#/g,Xp=/&/g,Zp=/\//g,eg=/=/g,tg=/\?/g,Ec=/\+/g,ng=/%5B/g,rg=/%5D/g,Sc=/%5E/g,sg=/%60/g,Rc=/%7B/g,og=/%7C/g,Tc=/%7D/g,ig=/%20/g;function Io(e){return e==null?"":encodeURI(""+e).replace(og,"|").replace(ng,"[").replace(rg,"]")}function lg(e){return Io(e).replace(Rc,"{").replace(Tc,"}").replace(Sc,"^")}function ro(e){return Io(e).replace(Ec,"%2B").replace(ig,"+").replace(wc,"%23").replace(Xp,"%26").replace(sg,"`").replace(Rc,"{").replace(Tc,"}").replace(Sc,"^")}function ag(e){return ro(e).replace(eg,"%3D")}function cg(e){return Io(e).replace(wc,"%23").replace(tg,"%3F")}function ug(e){return cg(e).replace(Zp,"%2F")}function rr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const fg=/\/$/,dg=e=>e.replace(fg,"");function xs(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=mg(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:rr(i)}}function hg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Pn(t.matched[r],n.matched[s])&&Cc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!gg(e[n],t[n]))return!1;return!0}function gg(e,t){return rt(e)?Ji(e,t):rt(t)?Ji(t,e):e?.valueOf()===t?.valueOf()}function Ji(e,t){return rt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function mg(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 Ge={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let so=(function(e){return e.pop="pop",e.push="push",e})({}),Ps=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function yg(e){if(!e)if(gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),dg(e)}const _g=/^[^#]+#/;function bg(e,t){return e.replace(_g,"#")+t}function vg(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 us=()=>({left:window.scrollX,top:window.scrollY});function wg(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=vg(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 Yi(e,t){return(history.state?history.state.position-t:-1)+e}const oo=new Map;function Eg(e,t){oo.set(e,t)}function Sg(e){const t=oo.get(e);return oo.delete(e),t}function Rg(e){return typeof e=="string"||e&&typeof e=="object"}function Ac(e){return typeof e=="string"||typeof e=="symbol"}let me=(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 kc=Symbol("");me.MATCHER_NOT_FOUND+"",me.NAVIGATION_GUARD_REDIRECT+"",me.NAVIGATION_ABORTED+"",me.NAVIGATION_CANCELLED+"",me.NAVIGATION_DUPLICATED+"";function On(e,t){return se(new Error,{type:e,[kc]:!0},t)}function mt(e,t){return e instanceof Error&&kc in e&&(t==null||!!(e.type&t))}const Tg=["params","query","hash"];function Cg(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Tg)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Ag(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(Ec," "),o=s.indexOf("="),i=rr(o<0?s:s.slice(0,o)),l=o<0?null:rr(s.slice(o+1));if(i in t){let a=t[i];rt(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function zi(e){let t="";for(let n in e){const r=e[n];if(n=ag(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(rt(r)?r.map(s=>s&&ro(s)):[r&&ro(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function kg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=rt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const xg=Symbol(""),Qi=Symbol(""),Mo=Symbol(""),Ho=Symbol(""),io=Symbol("");function Bn(){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 Lt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const f=p=>{p===!1?a(On(me.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?a(p):Rg(p)?a(On(me.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),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(p=>a(p))})}function Os(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(vc(a)){const f=(a.__vccOpts||a)[t];f&&o.push(Lt(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=Qp(c)?c.default:c;i.mods[l]=c,i.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&Lt(p,n,r,i,l,s)()}))}}return o}function Pg(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=>Pn(f,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>Pn(f,a))||s.push(a))}return[n,r,s]}let Og=()=>location.protocol+"//"+location.host;function xc(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),qi(l,"")}return qi(n,e)+r+s}function Ng(e,t,n,r){let s=[],o=[],i=null;const l=({state:p})=>{const d=xc(e,location),m=n.value,_=t.value;let S=0;if(p){if(n.value=d,t.value=p,i&&i===m){i=null;return}S=_?p.position-_.position:0}else r(d);s.forEach(R=>{R(n.value,m,{delta:S,type:so.pop,direction:S?S>0?Ps.forward:Ps.back:Ps.unknown})})};function a(){i=n.value}function f(p){s.push(p);const d=()=>{const m=s.indexOf(p);m>-1&&s.splice(m,1)};return o.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(se({},p.state,{scroll:us()}),"")}}function u(){for(const p of o)p();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 Xi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?us():null}}function Ig(e){const{history:t,location:n}=window,r={value:xc(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("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:Og()+e+a;try{t[c?"replaceState":"pushState"](f,"",p),s.value=f}catch(d){console.error(d),n[c?"replace":"assign"](p)}}function i(a,f){o(a,se({},t.state,Xi(s.value.back,a,s.value.forward,!0),f,{position:s.value.position}),!0),r.value=a}function l(a,f){const c=se({},s.value,t.state,{forward:a,scroll:us()});o(c.current,c,!0),o(a,se({},Xi(r.value,a,null),{position:c.position+1},f),!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function Mg(e){e=yg(e);const t=Ig(e),n=Ng(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=se({location:"",base:e,go:r,createHref:bg.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 Qt=(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 Hg={type:Qt.Static,value:""},Lg=/[a-zA-Z0-9_]/;function Dg(e){if(!e)return[[]];if(e==="/")return[[Hg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${f}": ${d}`)}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:Qt.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:Qt.Param,value:f,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function p(){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):p();break;case be.EscapeNext:p(),n=r;break;case be.Param:a==="("?n=be.ParamRegExp:Lg.test(a)?p():(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 Zi="[^/]+?",jg={sensitive:!1,strict:!1,start:!0,end:!0};var Ne=(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})(Ne||{});const Fg=/[.+*?^${}()[\]/\\]/g;function Bg(e,t){const n=se({},jg,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const c=f.length?[]:[Ne.Root];n.strict&&!f.length&&(s+="/");for(let u=0;u<f.length;u++){const p=f[u];let d=Ne.Segment+(n.sensitive?Ne.BonusCaseSensitive:0);if(p.type===Qt.Static)u||(s+="/"),s+=p.value.replace(Fg,"\\$&"),d+=Ne.Static;else if(p.type===Qt.Param){const{value:m,repeatable:_,optional:S,regexp:R}=p;o.push({name:m,repeatable:_,optional:S});const v=R||Zi;if(v!==Zi){d+=Ne.BonusCustomRegExp;try{`${v}`}catch(b){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+b.message)}}let g=_?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(g=S&&f.length<2?`(?:/${g})`:"/"+g),S&&(g+="?"),s+=g,d+=Ne.Dynamic,S&&(d+=Ne.BonusOptional),_&&(d+=Ne.BonusRepeatable),v===".*"&&(d+=Ne.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=Ne.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 p=1;p<c.length;p++){const d=c[p]||"",m=o[p-1];u[m.name]=d&&m.repeatable?d.split("/"):d}return u}function a(f){let c="",u=!1;for(const p of e){(!u||!c.endsWith("/"))&&(c+="/"),u=!1;for(const d of p)if(d.type===Qt.Static)c+=d.value;else if(d.type===Qt.Param){const{value:m,repeatable:_,optional:S}=d,R=m in f?f[m]:"";if(rt(R)&&!_)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=rt(R)?R.join("/"):R;if(!v)if(S)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):u=!0);else throw new Error(`Missing required param "${m}"`);c+=v}}return c||"/"}return{re:i,score:r,keys:o,parse:l,stringify:a}}function Ug(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]===Ne.Static+Ne.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ne.Static+Ne.Segment?1:-1:0}function Pc(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Ug(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(el(r))return 1;if(el(s))return-1}return s.length-r.length}function el(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const $g={strict:!1,end:!0,sensitive:!1};function Vg(e,t,n){const r=Bg(Dg(e.path),n),s=se(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=Gi($g,t);function s(u){return r.get(u)}function o(u,p,d){const m=!d,_=nl(u);_.aliasOf=d&&d.record;const S=Gi(t,u),R=[_];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of b)R.push(nl(se({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let v,g;for(const b of R){const{path:E}=b;if(p&&E[0]!=="/"){const C=p.record.path,M=C[C.length-1]==="/"?"":"/";b.path=p.record.path+(E&&M+E)}if(v=Vg(b,p,S),d?d.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),m&&u.name&&!rl(v)&&i(u.name)),Oc(v)&&a(v),_.children){const C=_.children;for(let M=0;M<C.length;M++)o(C[M],v,d&&d.children[M])}d=d||v}return g?()=>{i(g)}:zn}function i(u){if(Ac(u)){const p=r.get(u);p&&(r.delete(u),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(u);p>-1&&(n.splice(p,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 p=qg(u,n);n.splice(p,0,u),u.record.name&&!rl(u)&&r.set(u.record.name,u)}function f(u,p){let d,m={},_,S;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw On(me.MATCHER_NOT_FOUND,{location:u});S=d.record.name,m=se(tl(p.params,d.keys.filter(g=>!g.optional).concat(d.parent?d.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&tl(u.params,d.keys.map(g=>g.name))),_=d.stringify(m)}else if(u.path!=null)_=u.path,d=n.find(g=>g.re.test(_)),d&&(m=d.parse(_),S=d.record.name);else{if(d=p.name?r.get(p.name):n.find(g=>g.re.test(p.path)),!d)throw On(me.MATCHER_NOT_FOUND,{location:u,currentLocation:p});S=d.record.name,m=se({},p.params,u.params),_=d.stringify(m)}const R=[];let v=d;for(;v;)R.unshift(v.record),v=v.parent;return{name:S,path:_,params:m,matched:R,meta:Gg(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 tl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function nl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Kg(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 Kg(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 rl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Gg(e){return e.reduce((t,n)=>se(t,n.meta),{})}function qg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Pc(e,t[o])<0?r=o:n=o+1}const s=Jg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Jg(e){let t=e;for(;t=t.parent;)if(Oc(t)&&Pc(e,t)===0)return t}function Oc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function sl(e){const t=we(Mo),n=we(Ho),r=Je(()=>{const a=ae(e.to);return t.resolve(a)}),s=Je(()=>{const{matched:a}=r.value,{length:f}=a,c=a[f-1],u=n.matched;if(!c||!u.length)return-1;const p=u.findIndex(Pn.bind(null,c));if(p>-1)return p;const d=ol(a[f-2]);return f>1&&ol(c)===d&&u[u.length-1].path!==d?u.findIndex(Pn.bind(null,a[f-2])):p}),o=Je(()=>s.value>-1&&Zg(n.params,r.value.params)),i=Je(()=>s.value>-1&&s.value===n.matched.length-1&&Cc(n.params,r.value.params));function l(a={}){if(Xg(a)){const f=t[ae(e.replace)?"replace":"push"](ae(e.to)).catch(zn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:Je(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function Yg(e){return e.length===1?e[0]:e}const zg=Me({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:sl,setup(e,{slots:t}){const n=kt(sl(e)),{options:r}=we(Mo),s=Je(()=>({[il(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[il(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Yg(t.default(n));return e.custom?o:Pe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Qg=zg;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 Zg(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(!rt(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function ol(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const il=(e,t,n)=>e??t??n,em=Me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=we(io),s=Je(()=>e.route||r.value),o=we(Qi,0),i=Je(()=>{let f=ae(o);const{matched:c}=s.value;let u;for(;(u=c[f])&&!u.components;)f++;return f}),l=Je(()=>s.value.matched[i.value]);St(Qi,Je(()=>i.value+1)),St(xg,l),St(io,s);const a=Et();return wn(()=>[a.value,l.value,e.name],([f,c,u],[p,d,m])=>{c&&(c.instances[u]=f,d&&d!==c&&f&&f===p&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),f&&c&&(!d||!Pn(c,d)||!p)&&(c.enterCallbacks[u]||[]).forEach(_=>_(f))},{flush:"post"}),()=>{const f=s.value,c=e.name,u=l.value,p=u&&u.components[c];if(!p)return ll(n.default,{Component:p,route:f});const d=u.props[c],m=d?d===!0?f.params:typeof d=="function"?d(f):d:null,S=Pe(p,se({},m,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return ll(n.default,{Component:S,route:f})||S}}});function ll(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Nc=em;function tm(e){const t=Wg(e.routes,e),n=e.parseQuery||Ag,r=e.stringifyQuery||zi,s=e.history,o=Bn(),i=Bn(),l=Bn(),a=Tn(Ge);let f=Ge;gn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ks.bind(null,A=>""+A),u=ks.bind(null,ug),p=ks.bind(null,rr);function d(A,U){let j,J;return Ac(A)?(j=t.getRecordMatcher(A),J=U):J=A,t.addRoute(J,j)}function m(A){const U=t.getRecordMatcher(A);U&&t.removeRoute(U)}function _(){return t.getRoutes().map(A=>A.record)}function S(A){return!!t.getRecordMatcher(A)}function R(A,U){if(U=se({},U||a.value),typeof A=="string"){const y=xs(n,A,U.path),w=t.resolve({path:y.path},U),k=s.createHref(y.fullPath);return se(y,w,{params:p(w.params),hash:rr(y.hash),redirectedFrom:void 0,href:k})}let j;if(A.path!=null)j=se({},A,{path:xs(n,A.path,U.path).path});else{const y=se({},A.params);for(const w in y)y[w]==null&&delete y[w];j=se({},A,{params:u(y)}),U.params=u(U.params)}const J=t.resolve(j,U),Z=A.hash||"";J.params=c(p(J.params));const he=hg(r,se({},A,{hash:lg(Z),path:J.path})),h=s.createHref(he);return se({fullPath:he,hash:Z,query:r===zi?kg(A.query):A.query||{}},J,{redirectedFrom:void 0,href:h})}function v(A){return typeof A=="string"?xs(n,A,a.value.path):se({},A)}function g(A,U){if(f!==A)return On(me.NAVIGATION_CANCELLED,{from:U,to:A})}function b(A){return M(A)}function E(A){return b(se(v(A),{replace:!0}))}function C(A,U){const j=A.matched[A.matched.length-1];if(j&&j.redirect){const{redirect:J}=j;let Z=typeof J=="function"?J(A,U):J;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=v(Z):{path:Z},Z.params={}),se({query:A.query,hash:A.hash,params:Z.path!=null?{}:A.params},Z)}}function M(A,U){const j=f=R(A),J=a.value,Z=A.state,he=A.force,h=A.replace===!0,y=C(j,J);if(y)return M(se(v(y),{state:typeof y=="object"?se({},Z,y.state):Z,force:he,replace:h}),U||j);const w=j;w.redirectedFrom=U;let k;return!he&&pg(r,J,j)&&(k=On(me.NAVIGATION_DUPLICATED,{to:w,from:J}),st(J,J,!0,!1)),(k?Promise.resolve(k):I(w,J)).catch(T=>mt(T)?mt(T,me.NAVIGATION_GUARD_REDIRECT)?T:Ot(T):B(T,w,J)).then(T=>{if(T){if(mt(T,me.NAVIGATION_GUARD_REDIRECT))return M(se({replace:h},v(T.to),{state:typeof T.to=="object"?se({},Z,T.to.state):Z,force:he}),U||w)}else T=O(w,J,!0,h,Z);return W(w,J,T),T})}function V(A,U){const j=g(A,U);return j?Promise.reject(j):Promise.resolve()}function N(A){const U=fn.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(A):A()}function I(A,U){let j;const[J,Z,he]=Pg(A,U);j=Os(J.reverse(),"beforeRouteLeave",A,U);for(const y of J)y.leaveGuards.forEach(w=>{j.push(Lt(w,A,U))});const h=V.bind(null,A,U);return j.push(h),We(j).then(()=>{j=[];for(const y of o.list())j.push(Lt(y,A,U));return j.push(h),We(j)}).then(()=>{j=Os(Z,"beforeRouteUpdate",A,U);for(const y of Z)y.updateGuards.forEach(w=>{j.push(Lt(w,A,U))});return j.push(h),We(j)}).then(()=>{j=[];for(const y of he)if(y.beforeEnter)if(rt(y.beforeEnter))for(const w of y.beforeEnter)j.push(Lt(w,A,U));else j.push(Lt(y.beforeEnter,A,U));return j.push(h),We(j)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),j=Os(he,"beforeRouteEnter",A,U,N),j.push(h),We(j))).then(()=>{j=[];for(const y of i.list())j.push(Lt(y,A,U));return j.push(h),We(j)}).catch(y=>mt(y,me.NAVIGATION_CANCELLED)?y:Promise.reject(y))}function W(A,U,j){l.list().forEach(J=>N(()=>J(A,U,j)))}function O(A,U,j,J,Z){const he=g(A,U);if(he)return he;const h=U===Ge,y=gn?history.state:{};j&&(J||h?s.replace(A.fullPath,se({scroll:h&&y&&y.scroll},Z)):s.push(A.fullPath,Z)),a.value=A,st(A,U,j,h),Ot()}let K;function ee(){K||(K=s.listen((A,U,j)=>{if(!Wt.listening)return;const J=R(A),Z=C(J,Wt.currentRoute.value);if(Z){M(se(Z,{replace:!0,force:!0}),J).catch(zn);return}f=J;const he=a.value;gn&&Eg(Yi(he.fullPath,j.delta),us()),I(J,he).catch(h=>mt(h,me.NAVIGATION_ABORTED|me.NAVIGATION_CANCELLED)?h:mt(h,me.NAVIGATION_GUARD_REDIRECT)?(M(se(v(h.to),{force:!0}),J).then(y=>{mt(y,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===so.pop&&s.go(-1,!1)}).catch(zn),Promise.reject()):(j.delta&&s.go(-j.delta,!1),B(h,J,he))).then(h=>{h=h||O(J,he,!1),h&&(j.delta&&!mt(h,me.NAVIGATION_CANCELLED)?s.go(-j.delta,!1):j.type===so.pop&&mt(h,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),W(J,he,h)}).catch(zn)}))}let le=Bn(),$=Bn(),Q;function B(A,U,j){Ot(A);const J=$.list();return J.length?J.forEach(Z=>Z(A,U,j)):console.error(A),Promise.reject(A)}function ue(){return Q&&a.value!==Ge?Promise.resolve():new Promise((A,U)=>{le.add([A,U])})}function Ot(A){return Q||(Q=!A,ee(),le.list().forEach(([U,j])=>A?j(A):U()),le.reset()),A}function st(A,U,j,J){const{scrollBehavior:Z}=e;if(!gn||!Z)return Promise.resolve();const he=!j&&Sg(Yi(A.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return rn().then(()=>Z(A,U,he)).then(h=>h&&wg(h)).catch(h=>B(h,A,U))}const He=A=>s.go(A);let un;const fn=new Set,Wt={currentRoute:a,listening:!0,addRoute:d,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:_,resolve:R,options:e,push:b,replace:E,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:$.add,isReady:ue,install(A){A.component("RouterLink",Qg),A.component("RouterView",Nc),A.config.globalProperties.$router=Wt,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>ae(a)}),gn&&!un&&a.value===Ge&&(un=!0,b(s.location).catch(J=>{}));const U={};for(const J in Ge)Object.defineProperty(U,J,{get:()=>a.value[J],enumerable:!0});A.provide(Mo,Wt),A.provide(Ho,ut(U)),A.provide(io,a);const j=A.unmount;fn.add(A),A.unmount=function(){fn.delete(A),fn.size<1&&(f=Ge,K&&K(),K=null,a.value=Ge,un=!1,Q=!1),j()}}};function We(A){return A.reduce((U,j)=>U.then(()=>N(j)),Promise.resolve())}return Wt}function Ic(e){return we(Ho)}const nm=/(:\w+)\([^)]+\)/g,rm=/(:\w+)[?+*]/g,sm=/:\w+/g,om=(e,t)=>t.path.replace(nm,"$1").replace(rm,"$1").replace(sm,n=>e.params[n.slice(1)]?.toString()||""),lo=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&om(e.route,n));return typeof r=="function"?r(e.route):r},im=(e,t)=>({default:()=>e?Pe(qu,e===!0?{}:e,t):t});function Lo(e){return Array.isArray(e)?e:[e]}const lm="modulepreload",am=function(e,t){return new URL(e,t).href},al={},$r=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(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};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=am(c,r),c in al)return;al[c]=!0;const u=c.endsWith(".css"),p=u?'[rel="stylesheet"]':"";if(r)for(let m=i.length-1;m>=0;m--){const _=i[m];if(_.href===c&&(!u||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":lm,u||(d.as="script"),d.crossOrigin="",d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((m,_)=>{d.addEventListener("load",m),d.addEventListener("error",()=>_(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)})},Ns=[{name:"index",path:"/",component:()=>$r(()=>import("./DLYYGG6i.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)}],Mc=(e,t)=>({default:()=>e?Pe(Jf,e===!0?{}:e,t):t.default?.()}),cm=/(:\w+)\([^)]+\)/g,um=/(:\w+)[?+*]/g,fm=/:\w+/g;function cl(e){const t=e?.meta.key??e.path.replace(cm,"$1").replace(um,"$1").replace(fm,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function dm(e,t){return e===t||t===Ge?!1:cl(e)!==cl(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const hm={scrollBehavior(e,t,n){const r=Se(),s=Ve().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:Hc(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===Ge){l(ul(e,t,n,s));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>l(ul(e,t,n,s)))})})}};function Hc(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 ul(e,t,n,r){if(n)return n;const s=dm(e,t);return e.hash?{el:e.hash,top:Hc(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const pm={hashMode:!1,scrollBehaviorType:"auto"},It={...pm,...hm},gm=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Yn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=nn({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},mm=e=>{const t=cs({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return ln(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},ym=[gm,mm],ao={};function _m(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),Pi(c,"")}const l=Pi(r,e),a=!n||eh(l,n)?l:n;return a+(a.includes("?")?"":s)+o}const bm=ht({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=ls().app.baseURL;const s=It.history?.(r)??Mg(r),o=It.routes?([t,n]=Yn(()=>It.routes(Ns)),t=await t,n(),t??Ns):Ns;let i;const l=tm({...It,scrollBehavior:(S,R,v)=>{if(R===Ge){i=v;return}if(It.scrollBehavior){if(l.options.scrollBehavior=It.scrollBehavior,"scrollRestoration"in window.history){const g=l.beforeEach(()=>{g(),window.history.scrollRestoration="manual"})}return It.scrollBehavior(S,Ge,i||v)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const a=Tn(l.currentRoute.value);l.afterEach((S,R)=>{a.value=R}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const f=_m(r,window.location,e.payload.path),c=Tn(l.currentRoute.value),u=()=>{c.value=l.currentRoute.value};l.afterEach((S,R)=>{S.matched.at(-1)?.components?.default===R.matched.at(-1)?.components?.default&&u()});const p={sync:u};for(const S in c.value)Object.defineProperty(p,S,{get:()=>c.value[S],enumerable:!0});e._route=ut(p),e._middleware||={global:[],named:{}};const d=as();l.afterEach(async(S,R,v)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(Yh),v&&await e.callHook("page:loading:end")});try{[t,n]=Yn(()=>l.isReady()),await t,n()}catch(S){[t,n]=Yn(()=>e.runWithContext(()=>zt(S))),await t,n()}const m=f!==l.currentRoute.value.fullPath?l.resolve(f):l.currentRoute.value;u();const _=e.payload.state._layout;return l.beforeEach(async(S,R)=>{await e.callHook("page:loading:start"),S.meta=kt(S.meta),e.isHydrating&&_&&!dt(S.meta.layout)&&(S.meta.layout=_),e._processingMiddleware=!0;{const v=new Set([...ym,...e._middleware.global]);for(const b of S.matched){const E=b.meta.middleware;if(E)for(const C of Lo(E))v.add(C)}const g=cs({path:S.path});if(g.appMiddleware)for(const b in g.appMiddleware)g.appMiddleware[b]?v.add(b):v.delete(b);for(const b of v){const E=typeof b=="string"?e._middleware.named[b]||await ao[b]?.().then(C=>C.default||C):b;if(!E)throw new Error(`Unknown route middleware: '${b}'.`);try{const C=await e.runWithContext(()=>E(S,R));if(!e.payload.serverRendered&&e.isHydrating&&(C===!1||C instanceof Error)){const M=C||nn({status:404,statusText:`Page Not Found: ${f}`});return await e.runWithContext(()=>zt(M)),!1}if(C===!0)continue;if(C===!1)return C;if(C)return cc(C)&&C.fatal&&await e.runWithContext(()=>zt(C)),C}catch(C){const M=nn(C);return M.fatal&&await e.runWithContext(()=>zt(M)),M}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(S=>{if(S.matched.length===0&&!d.value)return e.runWithContext(()=>zt(nn({status:404,fatal:!1,statusText:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in m&&(m.name=void 0),await l.replace({...m,force:!0}),l.options.scrollBehavior=It.scrollBehavior}catch(S){await e.runWithContext(()=>zt(S))}}),{provide:{router:l}}}}),fl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),uy=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Do=e=>{const t=Se();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{fl(()=>e())}):fl(()=>e())},vm=ht({name:"nuxt:payload",setup(e){const t=new Set;Ve().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Ki(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]}}),Do(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Ki(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Oo,1e3)})}}),wm=ht(()=>{const e=Ve();Do(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Em=ht(e=>{let t;async function n(){let r;try{r=await Oo()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Di);try{const s=await $fetch(xo("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Do(()=>{t=setTimeout(n,Di)})});function Sm(e={}){const t=e.path||window.location.pathname;let n={};try{n=Dr(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:Se().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Rm=ht({name:"nuxt:chunk-reload",setup(e){const t=Ve(),n=ls(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=Co(n.app.baseURL,o.fullPath);Sm({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),Tm=ht({name:"nuxt:global-components"}),Dt={default:Fs(()=>$r(()=>import("./Be_8YVmd.js"),__vite__mapDeps([4,2]),import.meta.url).then(e=>e.default||e))};function Cm(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Am(e,t=Ve()){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(()=>Am(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 km=ht({name:"nuxt:prefetch",setup(e){const t=Ve();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Dt[r]=="function"&&await Dt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(ln(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Lo(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof ao[i]=="function"&&ao[i]();typeof s=="string"&&s in Dt&&Cm(Dt[s])})}}),xm=ht(()=>{}),Pm=[Kp,zp,bm,vm,wm,Em,Rm,Tm,km,xm],Lc=(e="RouteProvider")=>Me({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 St(on,ut(s)),()=>t.vnode?Pe(t.vnode,{ref:t.vnodeRef}):t.vnode}}),Om=Lc(),dl=new WeakMap,Nm=Me({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=Se(),o=Et(),i=we(on,null);let l;r({pageRef:o});const a=we(lc,null);let f;const c=s.deferHydration();let u=!1,p=0;if(s.isHydrating){const m=s.hooks.hookOnce("app:error",c);Ve().beforeEach(m)}e.pageKey&&wn(()=>e.pageKey,(m,_)=>{m!==_&&s.callHook("page:loading:start")});let d=!1;{const m=Ve().beforeResolve(()=>{d=!1});lr(()=>{m(),c()})}return()=>Pe(Nc,{name:e.name,route:e.route,...t},{default:m=>{const _=Mm(i,m.route,m.Component),S=i&&i.matched.length===m.route.matched.length;if(!m.Component){if(f&&!S)return f;c();return}if(f&&a&&!a.isCurrent(m.route))return f;if(_&&i&&(!a||a?.isCurrent(i)))return S||f?f:null;const R=lo(m,e.pageKey),v=Hm(i,m.route,m.Component);!s.isHydrating&&l===R&&!v&&rn(()=>{d||(d=!0,s.callHook("page:loading:end"))}),u&&l!==R&&p++,l=R;const g=!!(e.transition??m.route.meta.pageTransition??Hi),b=g&&Im([e.transition,m.route.meta.pageTransition,Hi,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",m.Component)}}]),E=e.keepalive??m.route.meta.keepalive??Nh;return f=Mc(g&&b,im(E,Pe(Ro,{key:p,suspensible:!0,onPending:()=>{u=!0,g&&(s._runningTransition=!0),s.callHook("page:start",m.Component)},onResolve:async()=>{u=!1;try{await rn(),s._route.sync?.(),await s.callHook("page:finish",m.Component),delete s._runningTransition,!d&&!v&&(d=!0,await s.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const C={key:R||void 0,vnode:n.default?Lm(n.default,m):m.Component,route:m.route,renderKey:R||void 0,trackRootNodes:g,vnodeRef:o};if(!E)return Pe(Om,C);const M=m.Component.type,V=M;let N=dl.get(V);return N||(N=Lc(M.name||M.__name),dl.set(V,N)),Pe(N,C)}}))).default(),f}})}});function Im(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Lo(n.onAfterLeave):void 0});return oc(...t)}function Mm(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&&lo({route:t,Component:n})!==lo({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 Lm(e,t){const n=e(t);return n.length===1?Pe(n[0]):Pe(xe,void 0,n)}const Dc=gc,Dm=Me({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Pe(Dt[e.name],e.layoutProps,t.slots)}}),jm={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},Fm=Me({name:"NuxtLayout",inheritAttrs:!1,props:jm,setup(e,t){const n=Se(),r=we(on),o=!r||r===cr()?Ic():r,i=Je(()=>{let c=ae(e.name)??o?.meta.layout??Dc(o?.path).appLayout??"default";return c&&!(c in Dt)&&e.fallback&&(c=ae(e.fallback)),c}),l=Tn();t.expose({layoutRef:l});const a=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",a);Ve().beforeEach(c)}let f;return()=>{const c=i.value&&i.value in Dt,u=o?.meta.layoutTransition??Oh,p=f;return f=i.value,Mc(c&&u,{default:()=>Pe(Ro,{suspensible:!0,onResolve:()=>{rn(a)}},{default:()=>Pe(Bm,{layoutProps:La(t.attrs,o.meta.layoutProps??{},{ref:l}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:d=>d!==p&&d===i.value,hasTransition:!!u},t.slots)})}).default()}}}),Bm=Me({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&&St(lc,{isCurrent:o=>n===!1||n===(o.meta.layout??Dc(o.path).appLayout??"default")});const r=we(on);if(r&&r===cr()){const o=Ic(),i={};for(const l in o){const a=l;Object.defineProperty(i,a,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[a]:r[a]})}St(on,ut(i))}return()=>!n||typeof n=="string"&&!(n in Dt)?t.slots.default?.():Pe(Dm,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),co=Symbol("head-component"),jo={body:{type:Boolean,default:void 0},tagPosition:{type:String}};function ur(e,t){const n=Object.fromEntries(Object.entries(e).filter(([r,s])=>s!==void 0));return typeof n.body<"u"&&(n.tagPosition=n.body?"bodyClose":"head"),typeof n.renderPriority<"u"&&(n.tagPriority=n.renderPriority),{...n,key:t}}function fr(){const e=Vt()?.vnode.key;return e!=null&&typeof e!="symbol"?String(e):void 0}function an(){return we(co,Um,!0)}function Um(){const e=we(co,null);if(e)return e;const t=kt({}),n=Mp(t),r={input:t,entry:n,update:()=>n.patch(t)};return St(co,r),r}const cn={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:{type:[String,Object,Array],default:void 0},contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:{type:[String,Object,Array],default:void 0},tabindex:String,title:String,translate:String,renderPriority:[String,Number],tagPriority:{type:[String,Number]}};({...cn,...jo});({...cn,...jo});({...cn});({...cn});({...cn,...jo});const $m=Me({name:"Html",inheritAttrs:!1,props:{...cn,manifest:String,version:String,xmlns:String},setup(e,t){const{input:n,update:r}=an();return Pt(()=>{n.htmlAttrs=null,r()}),()=>(n.htmlAttrs={...e,...t.attrs},r(),t.slots.default?.())}}),Vm=Me({name:"Body",inheritAttrs:!1,props:cn,setup(e,t){const{input:n,update:r}=an();return Pt(()=>{n.bodyAttrs=null,r()}),()=>(n.bodyAttrs={...e,...t.attrs},r(),t.slots.default?.())}}),Wm=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Km={};function Gm(e,t){const n=Nm,r=Fm,s=Vm,o=$m;return qe(),ct(o,null,{default:Kn(()=>[ge(s,{"h-screen":""},{default:Kn(()=>[ge(r,null,{default:Kn(()=>[ge(n)]),_:1})]),_:1})]),_:1})}const qm=Wm(Km,[["render",Gm]]),Jm={__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?Fs(()=>$r(()=>import("./Dg51sM1p.js"),__vite__mapDeps([5,1,6]),import.meta.url)):Fs(()=>$r(()=>import("./BgqxMV_S.js"),__vite__mapDeps([7,8]),import.meta.url));return(u,p)=>(qe(),ct(ae(c),qc(Ma({status:ae(r),statusText:ae(o),statusCode:ae(r),statusMessage:ae(o),description:ae(i),stack:ae(l)})),null,16))}},Ym={key:0},hl={__name:"nuxt-root",setup(e){const t=()=>null,n=Se(),r=n.deferHydration();if(n.isHydrating){const f=n.hooks.hookOnce("app:error",r);Ve().beforeEach(f)}const s=!1;St(on,cr()),n.hooks.callHookWith(f=>f.map(c=>c()),"vue:setup");const o=as(),i=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;oa((f,c,u)=>{if(n.hooks.callHook("vue:error",f,c,u).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),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(cc(f)&&(f.fatal||f.unhandled))return n.runWithContext(()=>zt(f)),!1});const a=!1;return(f,c)=>(qe(),ct(Ro,{onResolve:ae(r)},{default:Kn(()=>[ae(i)?(qe(),If("div",Ym)):ae(o)?(qe(),ct(ae(Jm),{key:1,error:ae(o)},null,8,["error"])):ae(a)?(qe(),ct(ae(t),{key:2,context:ae(a)},null,8,["context"])):ae(s)?(qe(),ct(ef(ae(s)),{key:3})):(qe(),ct(ae(qm),{key:4}))]),_:1},8,["onResolve"]))}};let pl;{let e;pl=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Sd(hl):Ed(hl),s=Lh({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=nn(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&Li.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Li.id)?.remove()});try{await Fh(s,Pm)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Ih),await s.hooks.callHook("app:mounted",r),await rn()}catch(i){o(i)}return r},e=pl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ln as $,we as A,Vt as B,wo as C,lr as D,Jr as E,xe as F,ry as G,ef as H,rn as I,St as J,gd as K,iy as L,Se as M,Tu as N,Ve as O,Do as P,fl as Q,uy as R,ey as S,Jf as T,Ya as U,Jh as V,Tn as W,qh as X,Am as Y,cy as Z,Wm as _,Ia as a,Co as a0,ay as a1,Qd as a2,jr as a3,ls as a4,Qm as a5,vu as a6,Tl as a7,zm as a8,Ls as a9,Xm as aa,Hu as ab,ne as ac,ge as b,If as c,Ha as d,Me as e,ct as f,sy as g,Pe as h,Zm as i,ae as j,_e as k,yd as l,La as m,Yr as n,qe as o,wn as p,ty as q,ny as r,kt as s,Qc as t,Mp as u,oy as v,Kn as w,Je as x,Et as y,Ci as z};
@@ -0,0 +1 @@
1
+ import{e as B,O as A,M as q,C as T,P as U,Q as j,D as E,R as N,h as L,S as P,U as I,V as H,W as D,y as V,X as _,Y as F,Z as M,x as y,$ as O,a0 as W,a1 as z,a2 as $,a3 as Q,a4 as G}from"./C1_0osGQ.js";const X=(...t)=>t.find(o=>o!==void 0);function Y(t){const o=t.componentName||"NuxtLink";function f(e){return typeof e=="string"&&e.startsWith("#")}function S(e,l,v){const a=v??t.trailingSlash;if(!e||a!=="append"&&a!=="remove")return e;if(typeof e=="string")return C(e,a);const u="path"in e&&e.path!==void 0?e.path:l(e).path;return{...e,name:void 0,path:C(u,a)}}function k(e){const l=A(),v=G(),a=y(()=>!!e.target&&e.target!=="_self"),u=y(()=>{const i=e.to||e.href||"";return typeof i=="string"&&O(i,{acceptRelative:!0})}),p=P("RouterLink"),h=typeof p!="string"?p.useLink:void 0,c=y(()=>{if(e.external)return!0;const i=e.to||e.href||"";return typeof i=="object"?!1:i===""||u.value}),n=y(()=>{const i=e.to||e.href||"";return c.value?i:S(i,l.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:n}),b=y(()=>{const i=e.trailingSlash??t.trailingSlash;if(!n.value||u.value||f(n.value))return n.value;if(c.value){const x=typeof n.value=="object"&&"path"in n.value?_(n.value):n.value,R=typeof x=="object"?l.resolve(x).href:x;return C(R,i)}return typeof n.value=="object"?l.resolve(n.value)?.href??null:C(W(v.app.baseURL,n.value),i)});return{to:n,hasTarget:a,isAbsoluteUrl:u,isExternal:c,href:b,isActive:g?.isActive??y(()=>n.value===l.currentRoute.value.path),isExactActive:g?.isExactActive??y(()=>n.value===l.currentRoute.value.path),route:g?.route??y(()=>l.resolve(n.value)),async navigate(i){await M(b.value,{replace:e.replace,external:c.value||a.value})}}}return B({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:k,setup(e,{slots:l}){const v=A(),{to:a,href:u,navigate:p,isExternal:h,hasTarget:c,isAbsoluteUrl:n}=k(e),g=D(!1),b=V(null),i=s=>{b.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function x(s){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!K()}async function R(s=q()){if(g.value)return;g.value=!0;const d=typeof a.value=="string"?a.value:h.value?_(a.value):v.resolve(a.value).fullPath,r=h.value?new URL(d,window.location.href).href:d;await Promise.all([s.hooks.callHook("link:prefetch",r).catch(()=>{}),!h.value&&!c.value&&F(a.value,v).catch(()=>{})])}if(x("visibility")){const s=q();let d,r=null;T(()=>{const m=Z();U(()=>{d=j(()=>{b?.value?.tagName&&(r=m.observe(b.value,async()=>{r?.(),r=null,await R(s)}))})})}),E(()=>{d&&N(d),r?.(),r=null})}return()=>{if(!h.value&&!c.value&&!f(a.value)){const r={ref:i,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(x("interaction")&&(r.onPointerenter=R.bind(null,void 0),r.onFocus=R.bind(null,void 0)),g.value&&(r.class=e.prefetchedClass||t.prefetchedClass),r.rel=e.rel||void 0),L(P("RouterLink"),r,l.default)}const s=e.target||null,d=X(e.noRel?"":e.rel,t.externalRelAttribute,n.value||c.value?"noopener noreferrer":"")||null;return e.custom?l.default?l.default({href:u.value,navigate:p,prefetch:R,get route(){if(!u.value)return;const r=new URL(u.value,window.location.href);return{path:r.pathname,fullPath:r.pathname,get query(){return I(r.search)},hash:r.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:d,target:s,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:L("a",{ref:b,href:u.value||null,rel:d,target:s,onClick:async r=>{if(!(h.value||c.value)){r.preventDefault();try{const m=H(u.value);return await(e.replace?v.replace(m):v.push(m))}finally{if(f(a.value)){const m=a.value.slice(1);let w=m;try{w=decodeURIComponent(m)}catch{}document.getElementById(w)?.focus()}}}}},l.default?.())}}})}const ae=Y(z);function C(t,o){const f=o==="append"?$:Q;return O(t)&&!t.startsWith("http")?t:f(t,!0)}function Z(){const t=q();if(t._observer)return t._observer;let o=null;const f=new Map,S=(e,l)=>(o||=new IntersectionObserver(v=>{for(const a of v){const u=f.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&u&&u()}}),f.set(e,l),o.observe(e),()=>{f.delete(e),o?.unobserve(e),f.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:S}}const J=/2g/;function K(){const t=navigator.connection;return!!(t&&(t.saveData||J.test(t.effectiveType)))}export{ae as _};
@@ -0,0 +1 @@
1
+ import{o as r,c as y,n as Q,e as ue,h as pe,r as H,f as q,g as I,i as oe,v as Fe,j as P,a as h,m as fe,k as re,l as Ke,t as O,p as ae,b as x,w as C,F as B,q as K,d as G,s as Ve,x as U,y as D,z as xe,A as te,B as He,C as Se,D as we,E as Je,G as We,H as Ge,I as me,J as ee,K as Xe,L as Ye,M as Qe,N as Ze,O as $e,T as et}from"./C1_0osGQ.js";import{_ as Ce}from"./DKP8g6aG.js";import{u as ye,a as tt,c as se,r as F,b as nt,d as _e,o as lt}from"./BhG4bLuH.js";const le={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(d){return(_,c)=>(r(),y("div",{class:Q(["n-icon",d.icon])},null,2))}},de=ue({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(d,{attrs:_,slots:c}){return()=>pe(d.to?Ce:"button",{to:d.to,..._,...!d.to&&{type:d.type},...d.disabled?{disabled:!0}:{tabindex:0},class:[d.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",c.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[H(c,"icon",{},()=>d.icon?[pe(le,{icon:d.icon,class:c.default?"n-button-icon":""})]:[]),H(c,"default")]})}}),at={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"},Pe={__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(d,{emit:_}){const u=ye(d,"modelValue",_,{passive:!0});return(t,g)=>{const z=le;return r(),y("div",at,[H(t.$slots,"icon",{},()=>[d.icon?(r(),q(z,{key:0,icon:d.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):I("",!0)]),oe(h("input",fe({"onUpdate:modelValue":g[0]||(g[0]=p=>re(u)?u.value=p:null)},t.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Fe,P(u)]])])}}},ot={flex:"~ gap4 wrap","items-center":""},Ne={__name:"NNavbar",props:{search:{type:String,required:!1},noPadding:{type:Boolean,required:!1}},emits:["update:search"],setup(d,{emit:_}){const c=_;function m(u){c("update:search",u.target.value)}return(u,t)=>{const g=Pe;return r(),y("div",{flex:"~ col gap2 wrap",border:"b base","n-navbar-glass":"","flex-1":"",class:Q([{p4:!d.noPadding}])},[h("div",ot,[H(u.$slots,"search",{},()=>[d.search!==void 0?(r(),q(g,{key:0,placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:Q({"px-3 py-2":!d.noPadding}),value:d.search,onInput:m},null,8,["class","value"])):I("",!0)]),H(u.$slots,"actions")]),H(u.$slots,"default")],2)}}},it=["disabled"],st={key:0,value:"",disabled:"",hidden:""},qe={__name:"NSelect",props:{modelValue:{type:null,required:!1,default:void 0},placeholder:{type:String,required:!1,default:""},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1}},emits:[],setup(d,{emit:_}){const u=ye(d,"modelValue",_,{passive:!0});return(t,g)=>{const z=le;return r(),y("div",{class:Q(["n-select flex flex items-center border rounded n-bg-base px-2 py-1 focus-within:border-context focus-within:n-focus-base",d.disabled?"border-gray:10":"n-border-base"])},[H(t.$slots,"icon",{},()=>[d.icon?(r(),q(z,{key:0,icon:d.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):I("",!0)]),oe(h("select",{"onUpdate:modelValue":g[0]||(g[0]=p=>re(u)?u.value=p:null),disabled:d.disabled,class:Q(["w-full flex-auto n-bg-base !outline-none",d.disabled?"appearance-none":""])},[d.placeholder?(r(),y("option",st,O(d.placeholder),1)):I("",!0),H(t.$slots,"default")],10,it),[[Ke,P(u)]])],2)}}};function ut(){const d=tt();return _=>{d.copy(_)}}const rt={key:0,flex:"","items-center":""},dt={op50:""},ct={key:0},vt={flex:"","gap-2":""},mt=["value"],pt=["value"],ft=["onDblclick"],yt=["onUpdate:modelValue","disabled"],ht={key:1},bt={flex:"","justify-center":"",gap2:"",class:"group"},gt=["onUpdate:modelValue","placeholder"],xt={key:1,placeholder:"ObjectId(_id)",disabled:""},_t={flex:"~ justify-center gap2"},zt={key:1,flex:"~ justify-center items-center","h-full":"","text-2xl":""},kt=ue({__name:"DatabaseDetail",props:{collection:{type:String,required:!0}},setup(d){const _=d,c=Ve({limit:20,page:1}),m=se(async()=>await F.value?.countDocuments(_.collection)),u=se(async()=>await F.value?.listDocuments(_.collection,c));ae(c,async()=>{u.value=await F.value?.listDocuments(_.collection,c)});const t=se(async()=>await F.value?.resourceSchema(_.collection)),g=U(()=>u.value&&u.value.length>0?Object.keys(u.value[0]):t.value?Object.keys(t.value):[]),z=D(""),p=D(!1),$=D(),b=D(),M=U(()=>z.value?u.value.filter(v=>{for(const a of g.value)if(v[a].toString().toLowerCase().includes(z.value.toLowerCase()))return!0;return!1}):u.value);function J(){if(p.value)return;if(p.value=!0,b.value={},t.value)for(const a of Object.keys(t.value))b.value[a]="";else for(const a of g.value)a!=="_id"&&(b.value[a]="");const v=$.value?.parentElement;v?.scrollTo(0,v.scrollHeight)}function W(v){p.value||(p.value=!0,b.value={...v})}async function j(v,a=!0){const k=a?F.value?.createDocument:F.value?.updateDocument;if(!k)return;const A=await k(_.collection,v);if(!A?.error){if(a){if(!u.value.length)return u.value=await F.value?.listDocuments(_.collection,c),L();u.value.push({_id:A.insertedId,...v})}else{const T=u.value.findIndex(Z=>Z._id===A.value._id);u.value[T]=v}L()}}function L(){p.value=!1,b.value=null}async function w(v){(await F.value?.deleteDocument(_.collection,v._id)).deletedCount!==0&&(u.value=u.value.filter(k=>k._id!==v._id))}const E=ut();return(v,a)=>{const k=de,A=qe,T=Ne,Z=le;return r(),y("div",{ref_key:"dbContainer",ref:$,class:Q({"h-full":!P(u)?.length})},[x(T,{search:z.value,"onUpdate:search":a[2]||(a[2]=n=>z.value=n),sticky:"","top-0":"",px4:"",py2:"","backdrop-blur":"","z-10":""},{actions:C(()=>[x(k,{icon:"carbon:add",n:"green",onClick:J},{default:C(()=>[...a[5]||(a[5]=[G(" Add Document ",-1)])]),_:1})]),default:C(()=>[P(m)?(r(),y("div",rt,[h("div",dt,[z.value?(r(),y("span",ct,O(M.value.length)+" matched · ",1)):I("",!0),h("span",null,O(P(u)?.length)+" of "+O(P(m))+" documents in total",1)]),a[7]||(a[7]=h("div",{"flex-auto":""},null,-1)),h("div",vt,[c.limit!==0?(r(),q(A,{key:0,modelValue:c.page,"onUpdate:modelValue":a[0]||(a[0]=n=>c.page=n)},{default:C(()=>[(r(!0),y(B,null,K(Math.ceil(P(m)/c.limit),n=>(r(),y("option",{key:n,value:n}," page: "+O(n),9,mt))),128))]),_:1},8,["modelValue"])):I("",!0),x(A,{modelValue:c.limit,"onUpdate:modelValue":a[1]||(a[1]=n=>c.limit=n)},{default:C(()=>[(r(),y(B,null,K([1,2,3,4,5],n=>h("option",{key:n,value:n*10}," show: "+O(n*10),9,pt)),64)),a[6]||(a[6]=h("option",{value:0}," show all ",-1))]),_:1},8,["modelValue"])])])):I("",!0)]),_:1},8,["search"]),P(u)?.length||b.value?(r(),y("table",{key:0,"w-full":"",mb10:"",class:Q({"editing-mode":p.value})},[h("thead",null,[h("tr",null,[(r(!0),y(B,null,K(g.value,n=>(r(),y("th",{key:n,"text-start":""},O(n),1))),128)),a[8]||(a[8]=h("th",{"text-center":""}," Actions ",-1))])]),h("tbody",null,[(r(!0),y(B,null,K(M.value,n=>(r(),y("tr",{key:n._id,class:Q({isEditing:p.value&&b.value._id===n._id})},[(r(!0),y(B,null,K(g.value,N=>(r(),y("td",{key:N,onDblclick:S=>W(n)},[p.value&&b.value._id===n._id?oe((r(),y("input",{key:0,"onUpdate:modelValue":S=>b.value[N]=S,disabled:N==="_id"},null,8,yt)),[[xe,b.value[N]]]):(r(),y("span",ht,O(n[N]),1))],40,ft))),128)),h("td",null,[h("div",bt,[p.value&&b.value._id===n._id?(r(),y(B,{key:0},[x(k,{title:"Save",icon:"carbon-save",n:"blue",onClick:a[3]||(a[3]=N=>j(b.value,!1))}),x(k,{title:"Cancel",icon:"carbon-close",n:"red",onClick:L})],64)):(r(),y(B,{key:1},[x(k,{title:"Edit",icon:"carbon-edit",n:"blue",onClick:N=>W(n)},null,8,["onClick"]),x(k,{title:"Delete",icon:"carbon-trash-can",n:"red",onClick:N=>w(n)},null,8,["onClick"]),x(k,{title:"Duplicate",icon:"carbon-document-multiple-02",n:"cyan",onClick:N=>j(n)},null,8,["onClick"]),x(k,{title:"Copy",n:"xs purple",absolute:"","right-4":"","opacity-0":"","group-hover":"opacity-100","transition-all":"",icon:"carbon-copy",onClick:N=>P(E)(JSON.stringify(n))},null,8,["onClick"])],64))])])],2))),128)),p.value&&!b.value?._id?(r(),y("tr",{key:0,class:Q({isEditing:p.value&&!b.value?._id})},[(r(!0),y(B,null,K(g.value,n=>(r(),y("td",{key:n},[n!=="_id"?oe((r(),y("input",{key:0,"onUpdate:modelValue":N=>b.value[n]=N,placeholder:n},null,8,gt)),[[xe,b.value[n]]]):(r(),y("input",xt))]))),128)),h("td",_t,[x(k,{title:"Save",icon:"carbon-save",n:"green",onClick:a[4]||(a[4]=n=>j(b.value))}),x(k,{title:"Cancel",icon:"carbon-close",n:"red",onClick:L})])],2)):I("",!0)])],2)):(r(),y("div",zt,[x(Z,{icon:"carbon-document",mr1:""}),a[9]||(a[9]=G(" No documents found ",-1))]))],2)}}}),Vt=Object.assign(kt,{__name:"DatabaseDetail"}),St={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(d,{emit:_}){const c=_,m=d,u=We(),t=D([]),g=U(()=>t.value.reduce((e,l)=>(e[~~l.id]=l)&&e,{})),z=U(()=>t.value.length),p=D(null),$=D(!1),b=D({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),M=D({splitter:null,timeoutId:null}),J=U(()=>({[`splitpanes splitpanes--${m.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":b.value.dragging})),W=()=>{document.addEventListener("mousemove",w,{passive:!1}),document.addEventListener("mouseup",E),"ontouchstart"in window&&(document.addEventListener("touchmove",w,{passive:!1}),document.addEventListener("touchend",E))},j=()=>{document.removeEventListener("mousemove",w,{passive:!1}),document.removeEventListener("mouseup",E),"ontouchstart"in window&&(document.removeEventListener("touchmove",w,{passive:!1}),document.removeEventListener("touchend",E))},L=(e,l)=>{const s=e.target.closest(".splitpanes__splitter");if(s){const{left:o,top:i}=s.getBoundingClientRect(),{clientX:f,clientY:V}="ontouchstart"in window&&e.touches?e.touches[0]:e;b.value.cursorOffset=m.horizontal?V-i:f-o}W(),b.value.mouseDown=!0,b.value.activeSplitter=l},w=e=>{b.value.mouseDown&&(e.preventDefault(),b.value.dragging=!0,requestAnimationFrame(()=>{Z(A(e)),X("resize",{event:e},!0)}))},E=e=>{b.value.dragging&&(window.getSelection().removeAllRanges(),X("resized",{event:e},!0)),b.value.mouseDown=!1,b.value.activeSplitter=null,setTimeout(()=>{b.value.dragging=!1,j()},100)},v=(e,l)=>{"ontouchstart"in window&&(e.preventDefault(),M.value.splitter===l?(clearTimeout(M.value.timeoutId),M.value.timeoutId=null,a(e,l),M.value.splitter=null):(M.value.splitter=l,M.value.timeoutId=setTimeout(()=>M.value.splitter=null,500))),b.value.dragging||X("splitter-click",{event:e,index:l},!0)},a=(e,l)=>{if(X("splitter-dblclick",{event:e,index:l},!0),m.maximizePanes){let s=0;t.value=t.value.map((o,i)=>(o.size=i===l?o.max:o.min,i!==l&&(s+=o.min),o)),t.value[l].size-=s,X("pane-maximize",{event:e,index:l,pane:t.value[l]}),X("resized",{event:e,index:l},!0)}},k=(e,l)=>{X("pane-click",{event:e,index:g.value[l].index,pane:g.value[l]})},A=e=>{const l=p.value.getBoundingClientRect(),{clientX:s,clientY:o}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:s-(m.horizontal?0:b.value.cursorOffset)-l.left,y:o-(m.horizontal?b.value.cursorOffset:0)-l.top}},T=e=>{e=e[m.horizontal?"y":"x"];const l=p.value[m.horizontal?"clientHeight":"clientWidth"];return m.rtl&&!m.horizontal&&(e=l-e),e*100/l},Z=e=>{const l=b.value.activeSplitter;let s={prevPanesSize:N(l),nextPanesSize:S(l),prevReachedMinPanes:0,nextReachedMinPanes:0};const o=0+(m.pushOtherPanes?0:s.prevPanesSize),i=100-(m.pushOtherPanes?0:s.nextPanesSize),f=Math.max(Math.min(T(e),i),o);let V=[l,l+1],R=t.value[V[0]]||null,Y=t.value[V[1]]||null;const be=R.max<100&&f>=R.max+s.prevPanesSize,Te=Y.max<100&&f<=100-(Y.max+S(l+1));if(be||Te){be?(R.size=R.max,Y.size=Math.max(100-R.max-s.prevPanesSize-s.nextPanesSize,0)):(R.size=Math.max(100-Y.max-s.prevPanesSize-S(l+1),0),Y.size=Y.max);return}if(m.pushOtherPanes){const ge=n(s,f);if(!ge)return;({sums:s,panesToResize:V}=ge),R=t.value[V[0]]||null,Y=t.value[V[1]]||null}R!==null&&(R.size=Math.min(Math.max(f-s.prevPanesSize-s.prevReachedMinPanes,R.min),R.max)),Y!==null&&(Y.size=Math.min(Math.max(100-f-s.nextPanesSize-s.nextReachedMinPanes,Y.min),Y.max))},n=(e,l)=>{const s=b.value.activeSplitter,o=[s,s+1];return l<e.prevPanesSize+t.value[o[0]].min&&(o[0]=Me(s).index,e.prevReachedMinPanes=0,o[0]<s&&t.value.forEach((i,f)=>{f>o[0]&&f<=s&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),e.prevPanesSize=N(o[0]),o[0]===void 0)?(e.prevReachedMinPanes=0,t.value[0].size=t.value[0].min,t.value.forEach((i,f)=>{f>0&&f<=s&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),t.value[o[1]].size=100-e.prevReachedMinPanes-t.value[0].min-e.prevPanesSize-e.nextPanesSize,null):l>100-e.nextPanesSize-t.value[o[1]].min&&(o[1]=Ue(s).index,e.nextReachedMinPanes=0,o[1]>s+1&&t.value.forEach((i,f)=>{f>s&&f<o[1]&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),e.nextPanesSize=S(o[1]-1),o[1]===void 0)?(e.nextReachedMinPanes=0,t.value.forEach((i,f)=>{f<z.value-1&&f>=s+1&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),t.value[o[0]].size=100-e.prevPanesSize-S(o[0]-1),null):{sums:e,panesToResize:o}},N=e=>t.value.reduce((l,s,o)=>l+(o<e?s.size:0),0),S=e=>t.value.reduce((l,s,o)=>l+(o>e+1?s.size:0),0),Me=e=>[...t.value].reverse().find(l=>l.index<e&&l.size>l.min)||{},Ue=e=>t.value.find(l=>l.index>e+1&&l.size>l.min)||{},De=()=>{var e;const l=Array.from(((e=p.value)==null?void 0:e.children)||[]);for(const s of l){const o=s.classList.contains("splitpanes__pane"),i=s.classList.contains("splitpanes__splitter");!o&&!i&&(s.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))}},he=(e,l,s=!1)=>{const o=e-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),s||(i.onmousedown=f=>L(f,o),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=f=>L(f,o)),i.onclick=f=>v(f,o+1)),i.ondblclick=f=>a(f,o+1),l.parentNode.insertBefore(i,l)},Be=e=>{e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.remove()},ie=()=>{var e;const l=Array.from(((e=p.value)==null?void 0:e.children)||[]);for(const o of l)o.className.includes("splitpanes__splitter")&&Be(o);let s=0;for(const o of l)o.className.includes("splitpanes__pane")&&(!s&&m.firstSplitter?he(s,o,!0):s&&he(s,o),s++)},Re=({uid:e,...l})=>{const s=g.value[e];for(const[o,i]of Object.entries(l))s[o]=i},Ee=e=>{var l;let s=-1;Array.from(((l=p.value)==null?void 0:l.children)||[]).some(o=>(o.className.includes("splitpanes__pane")&&s++,o.isSameNode(e.el))),t.value.splice(s,0,{...e,index:s}),t.value.forEach((o,i)=>o.index=i),$.value&&me(()=>{ie(),ce({addedPane:t.value[s]}),X("pane-add",{pane:t.value[s]})})},Oe=e=>{const l=t.value.findIndex(o=>o.id===e);t.value[l].el=null;const s=t.value.splice(l,1)[0];t.value.forEach((o,i)=>o.index=i),me(()=>{ie(),X("pane-remove",{pane:s}),ce({removedPane:{...s}})})},ce=(e={})=>{!e.addedPane&&!e.removedPane?je():t.value.some(l=>l.givenSize!==null||l.min||l.max<100)?Le(e):Ie(),$.value&&X("resized")},Ie=()=>{const e=100/z.value;let l=0;const s=[],o=[];for(const i of t.value)i.size=Math.max(Math.min(e,i.max),i.min),l-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id);l>.1&&ve(l,s,o)},je=()=>{let e=100;const l=[],s=[];let o=0;for(const f of t.value)e-=f.size,f.givenSize!==null&&o++,f.size>=f.max&&l.push(f.id),f.size<=f.min&&s.push(f.id);let i=100;if(e>.1){for(const f of t.value)f.givenSize===null&&(f.size=Math.max(Math.min(e/(z.value-o),f.max),f.min)),i-=f.size;i>.1&&ve(i,l,s)}},Le=({addedPane:e,removedPane:l}={})=>{let s=100/z.value,o=0;const i=[],f=[];(e?.givenSize??null)!==null&&(s=(100-e.givenSize)/(z.value-1));for(const V of t.value)o-=V.size,V.size>=V.max&&i.push(V.id),V.size<=V.min&&f.push(V.id);if(!(Math.abs(o)<.1)){for(const V of t.value)e?.givenSize!==null&&e?.id===V.id||(V.size=Math.max(Math.min(s,V.max),V.min)),o-=V.size,V.size>=V.max&&i.push(V.id),V.size<=V.min&&f.push(V.id);o>.1&&ve(o,i,f)}},ve=(e,l,s)=>{let o;e>0?o=e/(z.value-l.length):o=e/(z.value-s.length),t.value.forEach((i,f)=>{if(e>0&&!l.includes(i.id)){const V=Math.max(Math.min(i.size+o,i.max),i.min),R=V-i.size;e-=R,i.size=V}else if(!s.includes(i.id)){const V=Math.max(Math.min(i.size+o,i.max),i.min),R=V-i.size;e-=R,i.size=V}}),Math.abs(e)>.1&&me(()=>{$.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},X=(e,l=void 0,s=!1)=>{const o=l?.index??b.value.activeSplitter??null;c(e,{...l,...o!==null&&{index:o},...s&&o!==null&&{prevPane:t.value[o-(m.firstSplitter?1:0)],nextPane:t.value[o+(m.firstSplitter?0:1)]},panes:t.value.map(i=>({min:i.min,max:i.max,size:i.size}))})};ae(()=>m.firstSplitter,()=>ie()),Se(()=>{De(),ie(),ce(),X("ready"),$.value=!0}),we(()=>$.value=!1);const Ae=()=>{var e;return pe("div",{ref:p,class:J.value},(e=u.default)==null?void 0:e.call(u))};return ee("panes",t),ee("indexedPanes",g),ee("horizontal",U(()=>m.horizontal)),ee("requestUpdate",Re),ee("onPaneAdd",Ee),ee("onPaneRemove",Oe),ee("onPaneClick",k),(e,l)=>(r(),q(Ge(Ae)))}},ze={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(d){var _;const c=d,m=te("requestUpdate"),u=te("onPaneAdd"),t=te("horizontal"),g=te("onPaneRemove"),z=te("onPaneClick"),p=(_=He())==null?void 0:_.uid,$=te("indexedPanes"),b=U(()=>$.value[p]),M=D(null),J=U(()=>{const w=isNaN(c.size)||c.size===void 0?0:parseFloat(c.size);return Math.max(Math.min(w,j.value),W.value)}),W=U(()=>{const w=parseFloat(c.minSize);return isNaN(w)?0:w}),j=U(()=>{const w=parseFloat(c.maxSize);return isNaN(w)?100:w}),L=U(()=>{var w;return`${t.value?"height":"width"}: ${(w=b.value)==null?void 0:w.size}%`});return ae(()=>J.value,w=>m({uid:p,size:w})),ae(()=>W.value,w=>m({uid:p,min:w})),ae(()=>j.value,w=>m({uid:p,max:w})),Se(()=>{u({id:p,el:M.value,min:W.value,max:j.value,givenSize:c.size===void 0?null:J.value,size:J.value})}),we(()=>g(p)),(w,E)=>(r(),y("div",{ref_key:"paneEl",ref:M,class:"splitpanes__pane",onClick:E[0]||(E[0]=v=>P(z)(v,w._.uid)),style:Je(L.value)},[H(w.$slots,"default")],4))}},ke=30,wt={__name:"NSplitPane",props:{storageKey:{type:String,required:!1},stateKey:{type:String,required:!1,default:"nuxt-devtools-panels-state"},leftSize:{type:Number,required:!1},minSize:{type:Number,required:!1},horizontal:{type:Boolean,required:!1}},setup(d){const _=d,c=nt(_.stateKey,{},{listenToStorageChanges:!1}),m=_.storageKey,u=m?U({get:()=>c.value[m]||_.leftSize||ke,set:t=>{c.value[m]=t}}):D(_.leftSize||ke);return(t,g)=>(r(),q(P(St),{horizontal:d.horizontal,"h-full":"","of-hidden":"",onResize:g[0]||(g[0]=z=>u.value=z[0].size)},{default:C(()=>[x(P(ze),{"h-full":"",class:"of-auto!",size:P(u),"min-size":t.$slots.right?d.minSize||10:100},{default:C(()=>[H(t.$slots,"left")]),_:3},8,["size","min-size"]),t.$slots.right?(r(),q(P(ze),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":d.minSize||10},{default:C(()=>[H(t.$slots,"right")]),_:3},8,["min-size"])):I("",!0)]),_:3},8,["horizontal"]))}},$t=["checked","disabled"],Ct=["disabled"],Pt={class:"n-checkbox-box n-transition n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base"},Nt={__name:"NCheckbox",props:{modelValue:{type:[Boolean,null],required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1}},emits:[],setup(d,{emit:_}){const u=ye(d,"modelValue",_,{passive:!0});return(t,g)=>{const z=le;return r(),y("label",{class:"n-checkbox select-none items-center hover:n-checkbox-hover n-disabled:n-disabled",checked:P(u)||null,disabled:d.disabled||null},[oe(h("input",{"onUpdate:modelValue":g[0]||(g[0]=p=>re(u)?u.value=p:null),type:"checkbox",class:"peer absolute op0",disabled:d.disabled,onKeypress:g[1]||(g[1]=Ye(p=>u.value=!P(u),["enter"]))},null,40,Ct),[[Xe,P(u)]]),h("span",Pt,[x(z,{class:"n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100"})]),h("span",{class:Q([P(u)?"":"op50","n-transition"])},[H(t.$slots,"default")],2)],8,$t)}}},qt="$s";function Mt(...d){const _=typeof d[d.length-1]=="string"?d.pop():void 0;typeof d[0]!="string"&&d.unshift(_);const[c,m]=d;if(!c||typeof c!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+c);if(m!==void 0&&typeof m!="function")throw new Error("[nuxt] [useState] init must be a function: "+m);const u=qt+c,t=Qe(),g=Ze(t.payload.state,u);if(g.value===void 0&&m){const z=m();if(re(z))return t.payload.state[u]=z,z;g.value=z}return g}const Ut={relative:"","h-full":""},Dt={sticky:"","top-0":"",px8:"",py4:"","glass-effect":"","z-1":""},Bt={mb2:"",flex:"","items-center":""},Rt={"text-2xl":"","font-bold":"",mt1:""},Et={flex:"",gap4:"",mt2:"",ml2:""},Ot={flex:"",gap2:""},It=["value"],jt={flex:"",gap2:""},Lt=["value"],At={flex:"",gap2:""},Tt=["value"],Ft={flex:"",gap4:""},Kt={key:0,px8:""},Ht={grid:"~ cols-1","gap-2":"",my4:""},Jt={grid:"~ cols-6","text-center":""},Wt=["value"],Gt={flex:"","justify-center":"",gap2:""},Xt=ue({__name:"CreateResource",emits:["refresh"],setup(d,{emit:_}){const c=_,m=$e(),u=D(!0),t=Ve({browse:{active:!0,type:"index"},read:{active:!0,type:"show",by:"_id"},edit:{active:!0,type:"put",by:"_id"},add:{active:!0,type:"create"},delete:{active:!0,type:"delete",by:"_id"}}),g=U({get(){return t.browse.active||t.read.active||t.edit.active||t.add.active||t.delete.active},set(v){t.browse.active=v,t.read.active=v,t.edit.active=v,t.add.active=v,t.delete.active=v}}),z=D(""),p=D([{name:"name",type:"string",required:!0,unique:!1,default:""},{name:"slug",type:"string",required:!0,unique:!0,default:""}]),$=U(()=>[{name:"_id",type:"ObjectId",required:!0,unique:!0,default:""},...p.value]),b=["name","type","required","unique","default"],M=["string","number","boolean","date","object","array","ObjectId"];function J(v){p.value.splice(v+1,0,{name:"",type:"string",required:!1,unique:!1,default:""})}function W(v){p.value.splice(v,1)}const j=U(()=>{const v=[];for(const[a,k]of Object.entries(t))k.active&&v.push({type:k.type,by:k?.by});return v}),L=U(()=>p.value.map(v=>{for(const[a,k]of Object.entries(v))k||delete v[a];return v}));async function w(){await F.value?.generateResource({name:z.value,fields:u.value?L.value:void 0},j.value).then(()=>{c("refresh"),m.push(`/?table=${z.value}`)})}const E=U({get(){return g.value?u.value=!0:u.value},set(v){if(u.value=v,!u.value)return g.value=!1;g.value=!0}});return(v,a)=>{const k=Nt,A=qe,T=Pe,Z=de;return r(),y("div",Ut,[h("div",Dt,[h("div",Bt,[h("span",Rt,[x(k,{modelValue:g.value,"onUpdate:modelValue":a[0]||(a[0]=n=>g.value=n),n:"green"},{default:C(()=>[...a[11]||(a[11]=[G(" BREAD | ",-1)])]),_:1},8,["modelValue"])]),h("span",Et,[x(k,{modelValue:t.browse.active,"onUpdate:modelValue":a[1]||(a[1]=n=>t.browse.active=n),n:"blue"},{default:C(()=>[...a[12]||(a[12]=[G(" Browse ",-1)])]),_:1},8,["modelValue"]),h("div",Ot,[x(k,{modelValue:t.read.active,"onUpdate:modelValue":a[2]||(a[2]=n=>t.read.active=n),n:"cyan"},{default:C(()=>[...a[13]||(a[13]=[G(" Read ",-1)])]),_:1},8,["modelValue"]),t.read.active?(r(),q(A,{key:0,modelValue:t.read.by,"onUpdate:modelValue":a[3]||(a[3]=n=>t.read.by=n)},{default:C(()=>[(r(!0),y(B,null,K($.value,n=>(r(),y("option",{key:n.name,value:n.name},O(n.name),9,It))),128))]),_:1},8,["modelValue"])):I("",!0)]),h("div",jt,[x(k,{modelValue:t.edit.active,"onUpdate:modelValue":a[4]||(a[4]=n=>t.edit.active=n),n:"purple"},{default:C(()=>[...a[14]||(a[14]=[G(" Edit ",-1)])]),_:1},8,["modelValue"]),t.edit.active?(r(),q(A,{key:0,modelValue:t.edit.by,"onUpdate:modelValue":a[5]||(a[5]=n=>t.edit.by=n)},{default:C(()=>[(r(!0),y(B,null,K($.value,n=>(r(),y("option",{key:n.name,value:n.name},O(n.name),9,Lt))),128))]),_:1},8,["modelValue"])):I("",!0)]),x(k,{modelValue:t.add.active,"onUpdate:modelValue":a[6]||(a[6]=n=>t.add.active=n),n:"green"},{default:C(()=>[...a[15]||(a[15]=[G(" Add ",-1)])]),_:1},8,["modelValue"]),h("div",At,[x(k,{modelValue:t.delete.active,"onUpdate:modelValue":a[7]||(a[7]=n=>t.delete.active=n),n:"red"},{default:C(()=>[...a[16]||(a[16]=[G(" Delete ",-1)])]),_:1},8,["modelValue"]),t.delete.active?(r(),q(A,{key:0,modelValue:t.delete.by,"onUpdate:modelValue":a[8]||(a[8]=n=>t.delete.by=n)},{default:C(()=>[(r(!0),y(B,null,K($.value,n=>(r(),y("option",{key:n.name,value:n.name},O(n.name),9,Tt))),128))]),_:1},8,["modelValue"])):I("",!0)])])]),h("div",Ft,[x(T,{modelValue:z.value,"onUpdate:modelValue":a[9]||(a[9]=n=>z.value=n),"flex-auto":"",placeholder:"Collection name"},null,8,["modelValue"]),x(k,{modelValue:E.value,"onUpdate:modelValue":a[10]||(a[10]=n=>E.value=n),n:"green"},{default:C(()=>[...a[17]||(a[17]=[G(" Generate Schema ",-1)])]),_:1},8,["modelValue"])])]),u.value?(r(),y("div",Kt,[h("div",Ht,[h("div",Jt,[(r(),y(B,null,K(b,n=>h("div",{key:n},O(n),1)),64)),a[18]||(a[18]=h("div",null," Actions ",-1))]),(r(!0),y(B,null,K(p.value,(n,N)=>(r(),y("div",{key:N,grid:"~ cols-6","items-center":"","text-center":"",gap4:""},[h("div",null,[x(T,{modelValue:n.name,"onUpdate:modelValue":S=>n.name=S},null,8,["modelValue","onUpdate:modelValue"])]),h("div",null,[x(A,{modelValue:n.type,"onUpdate:modelValue":S=>n.type=S},{default:C(()=>[(r(),y(B,null,K(M,S=>h("option",{key:S,value:S},O(S),9,Wt)),64))]),_:1},8,["modelValue","onUpdate:modelValue"])]),h("div",null,[x(k,{modelValue:n.required,"onUpdate:modelValue":S=>n.required=S,n:"green"},null,8,["modelValue","onUpdate:modelValue"])]),h("div",null,[x(k,{modelValue:n.unique,"onUpdate:modelValue":S=>n.unique=S,n:"cyan"},null,8,["modelValue","onUpdate:modelValue"])]),h("div",null,[n.type==="string"?(r(),q(T,{key:0,modelValue:n.default,"onUpdate:modelValue":S=>n.default=S,type:"string",n:"orange"},null,8,["modelValue","onUpdate:modelValue"])):n.type==="number"?(r(),q(T,{key:1,modelValue:n.default,"onUpdate:modelValue":S=>n.default=S,type:"number",n:"orange"},null,8,["modelValue","onUpdate:modelValue"])):n.type==="boolean"?(r(),q(k,{key:2,modelValue:n.default,"onUpdate:modelValue":S=>n.default=S,n:"orange"},null,8,["modelValue","onUpdate:modelValue"])):n.type==="date"?(r(),q(T,{key:3,modelValue:n.default,"onUpdate:modelValue":S=>n.default=S,type:"date",n:"orange"},null,8,["modelValue","onUpdate:modelValue"])):n.type==="ObjectId"?(r(),q(T,{key:4,placeholder:"no-default",disabled:"",n:"orange"})):(r(),q(T,{key:5,modelValue:n.default,"onUpdate:modelValue":S=>n.default=S,n:"orange"},null,8,["modelValue","onUpdate:modelValue"]))]),h("div",Gt,[x(Z,{icon:"carbon-add",n:"cyan",onClick:S=>J(N)},null,8,["onClick"]),x(Z,{icon:"carbon-trash-can",n:"red",onClick:S=>W(N)},null,8,["onClick"])])]))),128))])])):I("",!0),x(Z,{"glass-effect":"",fixed:"","right-10":"","bottom-8":"",px8:"",py2:"",icon:"carbon-magic-wand-filled",n:"green",onClick:w},{default:C(()=>[...a[19]||(a[19]=[G(" Create ",-1)])]),_:1})])}}}),Yt=Object.assign(Xt,{__name:"CreateResource"}),Qt=["border"],Zt={relative:"","h-full":"","w-full":"","of-auto":""},en={__name:"NDrawer",props:{modelValue:{type:Boolean,required:!1},top:{type:null,required:!1},left:{type:null,required:!1},autoClose:{type:Boolean,required:!1},transition:{type:String,required:!1,default:"right"}},emits:["close"],setup(d,{emit:_}){const c=d,m=_,u=D(),{height:t}=_e(()=>c.top,void 0,{box:"border-box"}),g=typeof c.left=="string"&&c.left.startsWith("#")?document.querySelector(c.left)?.getBoundingClientRect().width:_e(()=>c.left,void 0,{box:"border-box"}).width;lt(u,()=>{c.modelValue&&c.autoClose&&m("close")},{ignore:["a","button","summary",'[role="dialog"]']});const z={right:{"enter-from-class":"transform translate-x-1/1","leave-to-class":"transform translate-x-1/1"},top:{"enter-from-class":"transform translate-y--1/1","leave-to-class":"transform translate-y--1/1"},bottom:{"enter-from-class":"transform translate-y-1/1","leave-to-class":"transform translate-y-1/1"}};return(p,$)=>{const b=de;return r(),q(et,fe(z[d.transition],{"enter-active-class":"duration-200 ease-in","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100"}),{default:C(()=>[d.modelValue?(r(),y("div",fe({key:0,ref_key:"el",ref:u,border:`${d.transition==="right"?"l":d.transition==="bottom"?"t":"b"} base`,flex:"~ col gap-1",class:{"right-0":d.transition==="right"||d.transition==="bottom"},absolute:"","bottom-0":"","z-10":"","z-20":"","of-auto":"","n-glass-effect":"","text-sm":"",style:{top:d.transition==="bottom"?"auto":`${P(t)}px`,left:d.transition==="right"&&!P(g)?"auto":`${P(g)}px`}},p.$attrs),[x(b,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",border:!1,onClick:$[0]||($[0]=M=>p.$emit("close"))}),h("div",Zt,[H(p.$slots,"default")])],16,Qt)):I("",!0)]),_:3},16)}}},ne=Mt("mongo:collection",()=>""),tn={px4:""},nn={flex:"","items-center":"",gap2:""},ln={grid:"","gird-cols-1":"",my2:"",mx1:""},an={flex:"~ items-center gap-2"},on={key:1,class:"n-panel-grids-center"},sn={class:"n-card n-card-base",px6:"",py2:""},un={op75:"",flex:"","items-center":""},vn=ue({__name:"index",setup(d){const _=$e(),c=D(!1),m=D(""),u=se(async()=>await F.value?.listCollections()),t=U(()=>m.value?u.value.filter(p=>p.name.toLowerCase().includes(m.value.toLowerCase())):u.value);async function g(p){await F.value?.dropCollection(p.name),u.value=await F.value?.listCollections(),ne.value===p.name&&(ne.value="",_.push({name:"index"}))}async function z(){u.value=await F.value?.listCollections(),c.value=!1}return(p,$)=>{const b=de,M=Ne,J=le,W=Ce,j=Vt,L=wt,w=Yt,E=en;return r(),y(B,null,[x(L,{"min-left":13,"max-left":20},{left:C(()=>[h("div",tn,[x(M,{search:m.value,"onUpdate:search":$[1]||($[1]=v=>m.value=v),placeholder:`${P(u)?.length??"-"} collection in total`,mt2:"","no-padding":""},{default:C(()=>[h("div",nn,[x(b,{n:"blue","w-full":"","mb1.5":"",icon:"carbon-reset",title:"Refresh",onClick:z}),x(b,{n:"green","w-full":"","mb1.5":"",icon:"carbon-add",title:"Create Collection",onClick:$[0]||($[0]=v=>c.value=!0)})])]),_:1},8,["search","placeholder"]),h("div",ln,[(r(!0),y(B,null,K(t.value,v=>(r(),q(W,{key:v.name,to:{name:"index",query:{table:v.name}},flex:"","items-center":"","justify-between":"",p2:"",my1:"","hover-bg-green":"","hover-bg-opacity-5":"","hover-text-green":"","rounded-lg":"",class:Q({"bg-green bg-opacity-5 text-green":P(ne)===v.name}),onClick:a=>ne.value=v.name},{default:C(()=>[h("span",null,[x(J,{icon:"carbon-db2-database"}),G(" "+O(v.name),1)]),h("div",an,[x(b,{border:!1,n:"red",icon:"carbon-trash-can",onClick:a=>g(v)},null,8,["onClick"])])]),_:2},1032,["to","class","onClick"]))),128))])])]),right:C(()=>[P(ne)?(r(),q(j,{key:0,collection:P(ne)},null,8,["collection"])):(r(),y("div",on,[h("div",sn,[h("span",un,[x(J,{icon:"carbon:db2-buffer-pool",mr2:""}),$[4]||($[4]=G(" Select a collection to start ",-1))])])]))]),_:1}),x(E,{modelValue:c.value,"onUpdate:modelValue":$[2]||($[2]=v=>c.value=v),style:{width:"calc(80.5%)"},"auto-close":"","z-20":"",onClose:$[3]||($[3]=v=>c.value=!1)},{default:C(()=>[x(w,{onRefresh:z})]),_:1},8,["modelValue"])],64)}}});export{vn as default};