@micacms/editor-ui 0.2.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 (51) hide show
  1. package/README.md +14 -0
  2. package/dist/assets/ChangesView-CyQiOMWc.js +7 -0
  3. package/dist/assets/ChangesView-CyQiOMWc.js.map +1 -0
  4. package/dist/assets/CollectionView-CIccDFfw.js +2 -0
  5. package/dist/assets/CollectionView-CIccDFfw.js.map +1 -0
  6. package/dist/assets/ConfirmDialog.vue_vue_type_script_setup_true_lang-Fml6E0E6.js +2 -0
  7. package/dist/assets/ConfirmDialog.vue_vue_type_script_setup_true_lang-Fml6E0E6.js.map +1 -0
  8. package/dist/assets/DashboardView-4pZUadIz.js +2 -0
  9. package/dist/assets/DashboardView-4pZUadIz.js.map +1 -0
  10. package/dist/assets/EntryView-CQi6YXUu.js +2 -0
  11. package/dist/assets/EntryView-CQi6YXUu.js.map +1 -0
  12. package/dist/assets/LoginView-Dv13IpFY.js +2 -0
  13. package/dist/assets/LoginView-Dv13IpFY.js.map +1 -0
  14. package/dist/assets/MediaView-Dt4yoGnD.js +2 -0
  15. package/dist/assets/MediaView-Dt4yoGnD.js.map +1 -0
  16. package/dist/assets/NotFoundView-Cc_VGwBY.js +2 -0
  17. package/dist/assets/NotFoundView-Cc_VGwBY.js.map +1 -0
  18. package/dist/assets/ObjectField-Da0UtKTb.js +2 -0
  19. package/dist/assets/ObjectField-Da0UtKTb.js.map +1 -0
  20. package/dist/assets/PageHeader.vue_vue_type_script_setup_true_lang-COWZEHDz.js +7 -0
  21. package/dist/assets/PageHeader.vue_vue_type_script_setup_true_lang-COWZEHDz.js.map +1 -0
  22. package/dist/assets/RepeaterField-DJDdoQm6.js +12 -0
  23. package/dist/assets/RepeaterField-DJDdoQm6.js.map +1 -0
  24. package/dist/assets/SingletonView-Co8aaJIy.js +2 -0
  25. package/dist/assets/SingletonView-Co8aaJIy.js.map +1 -0
  26. package/dist/assets/SystemView-BQLC-ZJl.css +1 -0
  27. package/dist/assets/SystemView-CUIAxj3j.js +3 -0
  28. package/dist/assets/SystemView-CUIAxj3j.js.map +1 -0
  29. package/dist/assets/arrow-right-DwawkdlZ.js +7 -0
  30. package/dist/assets/arrow-right-DwawkdlZ.js.map +1 -0
  31. package/dist/assets/arrow-up-C8oJjG99.js +12 -0
  32. package/dist/assets/arrow-up-C8oJjG99.js.map +1 -0
  33. package/dist/assets/chevron-down-BaA7Bc4y.js +7 -0
  34. package/dist/assets/chevron-down-BaA7Bc4y.js.map +1 -0
  35. package/dist/assets/format-Cpnr2As6.js +2 -0
  36. package/dist/assets/format-Cpnr2As6.js.map +1 -0
  37. package/dist/assets/index-CDFABwhE.js +118 -0
  38. package/dist/assets/index-CDFABwhE.js.map +1 -0
  39. package/dist/assets/index-j6Jxa-0x.css +1 -0
  40. package/dist/assets/plus-BSdnG3GG.js +7 -0
  41. package/dist/assets/plus-BSdnG3GG.js.map +1 -0
  42. package/dist/assets/useField-BEdDcExS.js +2 -0
  43. package/dist/assets/useField-BEdDcExS.js.map +1 -0
  44. package/dist/assets/useUnsavedChanges-F3fdXjIL.js +145 -0
  45. package/dist/assets/useUnsavedChanges-F3fdXjIL.js.map +1 -0
  46. package/dist/brand/mica-favicon.svg +14 -0
  47. package/dist/brand/mica-logo-glimmer-light.svg +15 -0
  48. package/dist/brand/mica-logo-glimmer.svg +15 -0
  49. package/dist/brand/mica-mark-glimmer.svg +14 -0
  50. package/dist/index.html +17 -0
  51. package/package.json +51 -0
@@ -0,0 +1,118 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardView-4pZUadIz.js","assets/PageHeader.vue_vue_type_script_setup_true_lang-COWZEHDz.js","assets/CollectionView-CIccDFfw.js","assets/format-Cpnr2As6.js","assets/plus-BSdnG3GG.js","assets/arrow-up-C8oJjG99.js","assets/EntryView-CQi6YXUu.js","assets/ConfirmDialog.vue_vue_type_script_setup_true_lang-Fml6E0E6.js","assets/useUnsavedChanges-F3fdXjIL.js","assets/useField-BEdDcExS.js","assets/arrow-right-DwawkdlZ.js","assets/SingletonView-Co8aaJIy.js","assets/MediaView-Dt4yoGnD.js","assets/ChangesView-CyQiOMWc.js","assets/SystemView-CUIAxj3j.js","assets/SystemView-BQLC-ZJl.css"])))=>i.map(i=>d[i]);
2
+ var al=Object.defineProperty;var ul=(e,t,n)=>t in e?al(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var kn=(e,t,n)=>ul(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
3
+ * @vue/shared v3.5.42
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **/function ur(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},Jt=[],nt=()=>{},Di=()=>!1,cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),as=e=>e.startsWith("onUpdate:"),ve=Object.assign,fr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fl=Object.prototype.hasOwnProperty,J=(e,t)=>fl.call(e,t),H=Array.isArray,St=e=>Nn(e)==="[object Map]",Qn=e=>Nn(e)==="[object Set]",kr=e=>Nn(e)==="[object Date]",B=e=>typeof e=="function",ce=e=>typeof e=="string",je=e=>typeof e=="symbol",Y=e=>e!==null&&typeof e=="object",Li=e=>(Y(e)||B(e))&&B(e.then)&&B(e.catch),ki=Object.prototype.toString,Nn=e=>ki.call(e),dl=e=>Nn(e).slice(8,-1),Fi=e=>Nn(e)==="[object Object]",dr=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,mn=ur(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),us=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},hl=/-\w/g,Te=us(e=>e.replace(hl,t=>t.slice(1).toUpperCase())),pl=/\B([A-Z])/g,kt=us(e=>e.replace(pl,"-$1").toLowerCase()),fs=us(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ts=us(e=>e?`on${fs(e)}`:""),tt=(e,t)=>!Object.is(e,t),zn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Vi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},hr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fr;const ds=()=>Fr||(Fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pr(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ce(s)?yl(s):pr(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ce(e)||Y(e))return e}const gl=/;(?![^(]*\))/g,ml=/:([^]+)/,_l=/\/\*[^]*?\*\//g;function yl(e){const t={};return e.replace(_l,"").split(gl).forEach(n=>{if(n){const s=n.split(ml);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function en(e){let t="";if(ce(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=en(e[n]);s&&(t+=s+" ")}else if(Y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bl=ur(vl);function Ui(e){return!!e||e===""}function El(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=hs(e[s],t[s]);return n}function Vr(e,t){if(e.size!==t.size)return!1;const n=Array.from(t),s=new Uint8Array(n.length);for(const r of e){let i=-1;for(let o=0;o<n.length;o++)if(!s[o]&&hs(r,n[o])){i=o;break}if(i<0)return!1;s[i]=1}return!0}function hs(e,t){if(e===t)return!0;let n=kr(e),s=kr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=je(e),s=je(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?El(e,t):!1;if(n=Y(e),s=Y(t),n||s){if(!n||!s)return!1;if(n=St(e),s=St(t),n||s||(n=Qn(e),s=Qn(t),n||s))return n&&s?Vr(e,t):!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!hs(e[o],t[o]))return!1}}return String(e)===String(t)}const ji=e=>!!(e&&e.__v_isRef===!0),At=e=>ce(e)?e:e==null?"":H(e)||Y(e)&&(e.toString===ki||!B(e.toString))?ji(e)?At(e.value):JSON.stringify(e,Hi,2):String(e),Hi=(e,t)=>ji(t)?Hi(e,t.value):St(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Os(s,i)+" =>"]=r,n),{})}:Qn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Os(n))}:je(t)?Os(t):Y(t)&&!H(t)&&!Fi(t)?String(t):t,Os=(e,t="")=>{var n;return je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
+ * @vue/reactivity v3.5.42
8
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
+ * @license MIT
10
+ **/let me;class xl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&me&&(me.active?(this.parent=me,this.index=(me.scopes||(me.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[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){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){++this._on===1&&(this.prevScope=me,me=this)}off(){if(this._on>0&&--this._on===0){if(me===this)me=this.prevScope;else{let t=me;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function wl(){return me}let se;const Ps=new WeakSet;class Bi{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,me&&(me.active?me.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ps.has(this)&&(Ps.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ur(this),Ki(this);const t=se,n=Ue;se=this,Ue=!0;try{return this.fn()}finally{Wi(this),se=t,Ue=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_r(t);this.deps=this.depsTail=void 0,Ur(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ps.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qs(this)&&this.run()}get dirty(){return qs(this)}}let $i=0,_n,yn;function Gi(e,t=!1){if(e.flags|=8,t){e.next=yn,yn=e;return}e.next=_n,_n=e}function gr(){$i++}function mr(){if(--$i>0)return;if(yn){let t=yn;for(yn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),_r(s),Al(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function qs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===wn)||(e.globalVersion=wn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qs(e))))return;e.flags|=2;const t=e.dep,n=se,s=Ue;se=e,Ue=!0;try{Ki(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{se=n,Ue=s,Wi(e),e.flags&=-3}}function _r(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)_r(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Al(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ue=!0;const zi=[];function pt(){zi.push(Ue),Ue=!1}function gt(){const e=zi.pop();Ue=e===void 0?!0:e}function Ur(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=se;se=void 0;try{t()}finally{se=n}}}let wn=0;class Sl{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 ps{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(!se||!Ue||se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==se)n=this.activeLink=new Sl(se,this),se.deps?(n.prevDep=se.depsTail,se.depsTail.nextDep=n,se.depsTail=n):se.deps=se.depsTail=n,Ji(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=se.depsTail,n.nextDep=void 0,se.depsTail.nextDep=n,se.depsTail=n,se.deps===n&&(se.deps=s)}return n}trigger(t){this.version++,wn++,this.notify(t)}notify(t){gr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{mr()}}}function Ji(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ji(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const zs=new WeakMap,Dt=Symbol(""),Js=Symbol(""),An=Symbol("");function be(e,t,n){if(Ue&&se){let s=zs.get(e);s||zs.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ps),r.map=s,r.key=n),r.track()}}function ft(e,t,n,s,r,i){const o=zs.get(e);if(!o){wn++;return}const l=c=>{c&&c.trigger()};if(gr(),t==="clear")o.forEach(l);else{const c=H(e),u=c&&dr(n);if(c&&n==="length"){const a=Number(s);o.forEach((f,p)=>{(p==="length"||p===An||!je(p)&&p>=a)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(An)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Dt)),St(e)&&l(o.get(Js)));break;case"delete":c||(l(o.get(Dt)),St(e)&&l(o.get(Js)));break;case"set":St(e)&&l(o.get(Dt));break}}mr()}function jt(e){const t=z(e);return t===e?t:(be(t,"iterate",An),Fe(e)?t:t.map(He))}function gs(e){return be(e=z(e),"iterate",An),e}function Ze(e,t){return mt(e)?tn(Lt(e)?He(t):t):He(t)}const Rl={__proto__:null,[Symbol.iterator](){return Is(this,Symbol.iterator,e=>Ze(this,e))},concat(...e){return jt(this).concat(...e.map(t=>H(t)?jt(t):t))},entries(){return Is(this,"entries",e=>(e[1]=Ze(this,e[1]),e))},every(e,t){return ot(this,"every",e,t,void 0,arguments)},filter(e,t){return ot(this,"filter",e,t,n=>n.map(s=>Ze(this,s)),arguments)},find(e,t){return ot(this,"find",e,t,n=>Ze(this,n),arguments)},findIndex(e,t){return ot(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ot(this,"findLast",e,t,n=>Ze(this,n),arguments)},findLastIndex(e,t){return ot(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ot(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ns(this,"includes",e)},indexOf(...e){return Ns(this,"indexOf",e)},join(e){return jt(this).join(e)},lastIndexOf(...e){return Ns(this,"lastIndexOf",e)},map(e,t){return ot(this,"map",e,t,void 0,arguments)},pop(){return an(this,"pop")},push(...e){return an(this,"push",e)},reduce(e,...t){return jr(this,"reduce",e,t)},reduceRight(e,...t){return jr(this,"reduceRight",e,t)},shift(){return an(this,"shift")},some(e,t){return ot(this,"some",e,t,void 0,arguments)},splice(...e){return an(this,"splice",e)},toReversed(){return jt(this).toReversed()},toSorted(e){return jt(this).toSorted(e)},toSpliced(...e){return jt(this).toSpliced(...e)},unshift(...e){return an(this,"unshift",e)},values(){return Is(this,"values",e=>Ze(this,e))}};function Is(e,t,n){const s=gs(e),r=s[t]();return s!==e&&!Fe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Cl=Array.prototype;function ot(e,t,n,s,r,i){const o=gs(e),l=o!==e&&!Fe(e),c=o[t];if(c!==Cl[t]){const f=c.apply(e,i);return l?He(f):f}let u=n;o!==e&&(l?u=function(f,p){return n.call(this,Ze(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function jr(e,t,n,s){const r=gs(e),i=r!==e&&!Fe(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(u,a,f){return l&&(l=!1,u=Ze(e,u)),n.call(this,u,Ze(e,a),f,e)}):n.length>3&&(o=function(u,a,f){return n.call(this,u,a,f,e)}));const c=r[t](o,...s);return l?Ze(e,c):c}function Ns(e,t,n){const s=z(e);be(s,"iterate",An);const r=s[t](...n);return(r===-1||r===!1)&&br(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function an(e,t,n=[]){pt(),gr();const s=z(e)[t].apply(e,n);return mr(),gt(),s}const Tl=ur("__proto__,__v_isRef,__isVue"),Yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(je));function Ol(e){je(e)||(e=String(e));const t=z(this);return be(t,"has",e),t.hasOwnProperty(e)}class Qi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ul:to:i?eo:Zi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!r){let c;if(o&&(c=Rl[n]))return c;if(n==="hasOwnProperty")return Ol}const l=Reflect.get(t,n,xe(t)?t:s);if((je(n)?Yi.has(n):Tl(n))||(r||be(t,"get",n),i))return l;if(xe(l)){const c=o&&dr(n)?l:l.value;return r&&Y(c)?Xn(c):c}return Y(l)?r?Xn(l):ms(l):l}}class Xi extends Qi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=H(t)&&dr(n);if(!this._isShallow){const u=mt(i);if(!Fe(s)&&!mt(s)&&(i=z(i),s=z(s)),!o&&xe(i)&&!xe(s))return u||(i.value=s),!0}const l=o?Number(n)<t.length:J(t,n),c=Reflect.set(t,n,s,xe(t)?t:r);return t===z(r)&&c&&(l?tt(s,i)&&ft(t,"set",n,s):ft(t,"add",n,s)),c}deleteProperty(t,n){const s=J(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ft(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!je(n)||!Yi.has(n))&&be(t,"has",n),s}ownKeys(t){return be(t,"iterate",H(t)?"length":Dt),Reflect.ownKeys(t)}}class Pl extends Qi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Il=new Xi,Nl=new Pl,Ml=new Xi(!0);const Ys=e=>e,Fn=e=>Reflect.getPrototypeOf(e);function Dl(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=St(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?Ys:t?tn:He;return!t&&be(i,"iterate",c?Js:Dt),ve(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[a(f[0]),a(f[1])]:a(f),done:p}}})}}function Vn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ll(e,t){const n={get(r){const i=this.__v_raw,o=z(i),l=z(r);e||(tt(r,l)&&be(o,"get",r),be(o,"get",l));const{has:c}=Fn(o),u=t?Ys:e?tn:He;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&be(z(r),"iterate",Dt),r.size},has(r){const i=this.__v_raw,o=z(i),l=z(r);return e||(tt(r,l)&&be(o,"has",r),be(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=z(l),u=t?Ys:e?tn:He;return!e&&be(c,"iterate",Dt),l.forEach((a,f)=>r.call(i,u(a),u(f),o))}};return ve(n,e?{add:Vn("add"),set:Vn("set"),delete:Vn("delete"),clear:Vn("clear")}:{add(r){const i=z(this),o=Fn(i),l=z(r),c=!t&&!Fe(r)&&!mt(r)?l:r;return o.has.call(i,c)||tt(r,c)&&o.has.call(i,r)||tt(l,c)&&o.has.call(i,l)||(i.add(c),ft(i,"add",c,c)),this},set(r,i){!t&&!Fe(i)&&!mt(i)&&(i=z(i));const o=z(this),{has:l,get:c}=Fn(o);let u=l.call(o,r);u||(r=z(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?tt(i,a)&&ft(o,"set",r,i):ft(o,"add",r,i),this},delete(r){const i=z(this),{has:o,get:l}=Fn(i);let c=o.call(i,r);c||(r=z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&ft(i,"delete",r,void 0),u},clear(){const r=z(this),i=r.size!==0,o=r.clear();return i&&ft(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Dl(r,e,t)}),n}function yr(e,t){const n=Ll(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,i)}const kl={get:yr(!1,!1)},Fl={get:yr(!1,!0)},Vl={get:yr(!0,!1)};const Zi=new WeakMap,eo=new WeakMap,to=new WeakMap,Ul=new WeakMap;function jl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ms(e){return mt(e)?e:vr(e,!1,Il,kl,Zi)}function no(e){return vr(e,!1,Ml,Fl,eo)}function Xn(e){return vr(e,!0,Nl,Vl,to)}function vr(e,t,n,s,r){if(!Y(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=jl(dl(e));if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Lt(e){return mt(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function br(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function Hl(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&Vi(e,"__v_skip",!0),e}const He=e=>Y(e)?ms(e):e,tn=e=>Y(e)?Xn(e):e;function xe(e){return e?e.__v_isRef===!0:!1}function Ve(e){return so(e,!1)}function Bl(e){return so(e,!0)}function so(e,t){return xe(e)?e:new $l(e,t)}class $l{constructor(t,n){this.dep=new ps,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:He(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Fe(t)||mt(t);t=s?t:z(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:He(t),this.dep.trigger())}}function ee(e){return xe(e)?e.value:e}const Gl={get:(e,t,n)=>t==="__v_raw"?e:ee(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return xe(r)&&!xe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ro(e){return Lt(e)?e:new Proxy(e,Gl)}class Kl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ps,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function $f(e){return new Kl(e)}class Wl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ps(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=wn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&se!==this)return Gi(this,!0),!0}get value(){const t=this.dep.track();return qi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ql(e,t,n=!1){let s,r;return B(e)?s=e:(s=e.get,r=e.set),new Wl(s,r,n)}const Un={},Zn=new WeakMap;let Pt;function zl(e,t=!1,n=Pt){if(n){let s=Zn.get(n);s||Zn.set(n,s=[]),s.push(e)}}function Jl(e,t,n=ne){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=O=>r?O:Fe(O)||r===!1||r===0?dt(O,1):dt(O);let a,f,p,m,E=!1,_=!1;if(xe(e)?(f=()=>e.value,E=Fe(e)):Lt(e)?(f=()=>u(e),E=!0):H(e)?(_=!0,E=e.some(O=>Lt(O)||Fe(O)),f=()=>e.map(O=>{if(xe(O))return O.value;if(Lt(O))return u(O);if(B(O))return c?c(O,2):O()})):B(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){pt();try{p()}finally{gt()}}const O=Pt;Pt=a;try{return c?c(e,3,[m]):e(m)}finally{Pt=O}}:f=nt,t&&r){const O=f,U=r===!0?1/0:r;f=()=>dt(O(),U)}const I=wl(),T=()=>{a.stop(),I&&I.active&&fr(I.effects,a)};if(i&&t){const O=t;t=(...U)=>{const ie=O(...U);return T(),ie}}let A=_?new Array(e.length).fill(Un):Un;const M=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const U=a.run();if(O||r||E||(_?U.some((ie,V)=>tt(ie,A[V])):tt(U,A))){p&&p();const ie=Pt;Pt=a;try{const V=[U,A===Un?void 0:_&&A[0]===Un?[]:A,m];A=U,c?c(t,3,V):t(...V)}finally{Pt=ie}}}else a.run()};return l&&l(M),a=new Bi(f),a.scheduler=o?()=>o(M,!1):M,m=O=>zl(O,!1,a),p=a.onStop=()=>{const O=Zn.get(a);if(O){if(c)c(O,4);else for(const U of O)U();Zn.delete(a)}},t?s?M(!0):A=a.run():o?o(M.bind(null,!0),!0):a.run(),T.pause=a.pause.bind(a),T.resume=a.resume.bind(a),T.stop=T,T}function dt(e,t=1/0,n){if(t<=0||!Y(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,xe(e))dt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)dt(e[s],t,n);else if(Qn(e)||St(e))e.forEach(s=>{dt(s,t,n)});else if(Fi(e)){for(const s in e)dt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dt(e[s],t,n)}return e}/**
11
+ * @vue/runtime-core v3.5.42
12
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
+ * @license MIT
14
+ **/function Mn(e,t,n,s){try{return s?e(...s):e()}catch(r){Dn(r,t,n)}}function Be(e,t,n,s){if(B(e)){const r=Mn(e,t,n,s);return r&&Li(r)&&r.catch(i=>{Dn(i,t,n)}),r}if(H(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Be(e[i],t,n,s));return r}}function Dn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(i){pt(),Mn(i,null,10,[e,c,u]),gt();return}}Yl(e,n,r,s,o)}function Yl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ce=[];let Xe=-1;const Yt=[];let xt=null,Gt=0;const io=Promise.resolve();let es=null;function oo(e){const t=es||io;return e?t.then(this?e.bind(this):e):t}function Ql(e){let t=Xe+1,n=Ce.length;for(;t<n;){const s=t+n>>>1,r=Ce[s],i=Sn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Er(e){if(!(e.flags&1)){const t=Sn(e),n=Ce[Ce.length-1];!n||!(e.flags&2)&&t>=Sn(n)?Ce.push(e):Ce.splice(Ql(t),0,e),e.flags|=1,lo()}}function lo(){es||(es=io.then(ao))}function Xl(e){if(!H(e))xt&&e.id===-1?xt.splice(Gt+1,0,e):e.flags&1||(Yt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Yt.push(e[t]);lo()}function Hr(e,t,n=Xe+1){for(;n<Ce.length;n++){const s=Ce[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ce.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function co(e){if(Yt.length){const t=[...new Set(Yt)].sort((n,s)=>Sn(n)-Sn(s));if(Yt.length=0,xt){for(let n=0;n<t.length;n++)xt.push(t[n]);return}for(xt=t,Gt=0;Gt<xt.length;Gt++){const n=xt[Gt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xt=null,Gt=0}}const Sn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ao(e){try{for(Xe=0;Xe<Ce.length;Xe++){const t=Ce[Xe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Mn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Xe<Ce.length;Xe++){const t=Ce[Xe];t&&(t.flags&=-2)}Xe=-1,Ce.length=0,co(),es=null,(Ce.length||Yt.length)&&ao()}}let ye=null,uo=null;function ts(e){const t=ye;return ye=e,uo=e&&e.type.__scopeId||null,t}function at(e,t=ye,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&rs(-1);const i=ts(t),o=ht.length;let l;try{l=e(...r)}finally{for(let c=ht.length;c>o;c--)Tr();ts(i),s._d&&rs(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Gf(e,t){if(ye===null)return e;const n=ws(ye),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ne]=t[r];i&&(B(i)&&(i={mounted:i,updated:i}),i.deep&&dt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Tt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(pt(),Be(c,n,8,[e.el,l,e,t]),gt())}}function Jn(e,t){if(_e){let n=_e.provides;const s=_e.parent&&_e.parent.provides;s===n&&(n=_e.provides=Object.create(s)),n[e]=t}}function Pe(e,t,n=!1){const s=Yc();if(s||Xt){let r=Xt?Xt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s&&s.proxy):t}}const Zl=Symbol.for("v-scx"),ec=()=>Pe(Zl);function Kf(e,t){return xr(e,null,t)}function vn(e,t,n){return xr(e,t,n)}function xr(e,t,n=ne){const{immediate:s,deep:r,flush:i,once:o}=n,l=ve({},n),c=t&&s||!t&&i!=="post";let u;if(sn){if(i==="sync"){const m=ec();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=nt,m.resume=nt,m.pause=nt,m}}const a=_e;l.call=(m,E,_)=>Be(m,a,E,_);let f=!1;i==="post"?l.scheduler=m=>{Se(m,a&&a.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(m,E)=>{E?m():Er(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const p=Jl(e,t,l);return sn&&(u?u.push(p):c&&p()),p}function tc(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?fo(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const o=Ln(this),l=xr(r,i.bind(s),n);return o(),l}function fo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Et=new WeakMap,ho=Symbol("_vte"),_s=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),nc=e=>e&&(e.defer||e.defer===""),Br=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$r=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Qs=(e,t)=>{const n=e&&e.to;return ce(n)?t?t(n):null:n},sc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:a,pc:f,pbc:p,o:{insert:m,querySelector:E,createText:_,createComment:I,parentNode:T}}=u,A=Nt(t.props);let{dynamicChildren:M}=t;const O=(V,oe,le)=>{V.shapeFlag&16&&a(V.children,oe,le,r,i,o,l,c)},U=(V=t)=>{const oe=Nt(V.props),le=V.target=Qs(V.props,E),we=Xs(le,V,_,m);le&&(o!=="svg"&&Br(le)?o="svg":o!=="mathml"&&$r(le)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(le),oe||(O(V,le,we),hn(V,!1)))},ie=V=>{const oe=()=>{if(Et.get(V)===oe){if(Et.delete(V),Nt(V.props)){const le=T(V.el)||n;O(V,le,V.anchor),hn(V,!0)}U(V)}};Et.set(V,oe),Se(oe,i)};if(e==null){const V=t.el=_(""),oe=t.anchor=_("");if(m(V,n,s),m(oe,n,s),nc(t.props)||i&&i.pendingBranch){ie(t);return}A&&(O(t,n,oe),hn(t,!0)),U()}else{t.el=e.el;const V=t.anchor=e.anchor,oe=Et.get(e);if(oe){oe.flags|=8,Et.delete(e),ie(t);return}t.targetStart=e.targetStart;const le=t.target=e.target,we=t.targetAnchor=e.targetAnchor,Ie=Nt(e.props),Ge=Ie?n:le,Le=Ie?V:we;if(o==="svg"||Br(le)?o="svg":(o==="mathml"||$r(le))&&(o="mathml"),M?(p(e.dynamicChildren,M,Ge,r,i,o,l),Cr(e,t,!0)):c||f(e,t,Ge,Le,r,i,o,l,!1),A)Ie?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):jn(t,n,V,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const rt=Qs(t.props,E);rt&&(t.target=rt,jn(t,rt,null,u,0))}else Ie&&jn(t,le,we,u,1);hn(t,A)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:f,props:p}=e,m=Nt(p),E=i||!m,_=Et.get(e);if(_&&(_.flags|=8,Et.delete(e)),f&&(r(u),r(a)),i&&r(c),!_&&(m||f)&&o&16)for(let I=0;I<l.length;I++){const T=l[I];s(T,t,n,E,!!T.dynamicChildren)}},move:jn,hydrate:rc};function jn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:u,props:a}=e,f=i===2;if(f&&s(o,t,n),!Et.has(e)&&(!f||Nt(a))&&c&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);f&&s(l,t,n)}function rc(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:u,createText:a}},f){function p(I,T){let A=T;for(;A;){if(A&&A.nodeType===8){if(A.data==="teleport start anchor")t.targetStart=A;else if(A.data==="teleport anchor"){t.targetAnchor=A,I._lpa=t.targetAnchor&&o(t.targetAnchor);break}}A=o(A)}}function m(I,T){T.anchor=f(o(I),T,l(I),n,s,r,i)}const E=t.target=Qs(t.props,c),_=Nt(t.props);if(E){const I=E._lpa||E.firstChild;t.shapeFlag&16&&(_?(m(e,t),p(E,I),t.targetAnchor||Xs(E,t,a,u,l(e)===E?e:null)):(t.anchor=o(e),p(E,I),t.targetAnchor||Xs(E,t,a,u),f(I&&o(I),t,E,n,s,r,i))),hn(t,_)}else _&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const Wf=sc;function hn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Xs(e,t,n,s,r=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[ho]=o,e&&(s(i,e,r),s(o,e,r)),o}const Ms=Symbol("_leaveCb");function ic(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==st){t=n;break}}return t}function po(e){if(!ys(e))return _s(e.type)&&e.children?ic(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&&B(n.default))return n.default()}}function wr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;wr(_s(n.type)&&po(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ln(e,t){return B(e)?ve({name:e.name},t,{setup:e}):e}function Ar(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Gr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ns=new WeakMap;function bn(e,t,n,s,r=!1){if(H(e)){e.forEach((_,I)=>bn(_,t&&(H(t)?t[I]:t),n,s,r));return}if(Qt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&bn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?ws(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,f=l.setupState,p=z(f),m=f===ne?Di:_=>Gr(a,_)?!1:J(p,_),E=(_,I)=>!(I&&Gr(a,I));if(u!=null&&u!==c){if(Kr(t),ce(u))a[u]=null,m(u)&&(f[u]=null);else if(xe(u)){const _=t;E(u,_.k)&&(u.value=null),_.k&&(a[_.k]=null)}}if(B(c))Mn(c,l,12,[o,a]);else{const _=ce(c),I=xe(c);if(_||I){const T=()=>{if(e.f){const A=_?m(c)?f[c]:a[c]:E()||!e.k?c.value:a[e.k];if(r)H(A)&&fr(A,i);else if(H(A))A.includes(i)||A.push(i);else if(_)a[c]=[i],m(c)&&(f[c]=a[c]);else{const M=[i];E(c,e.k)&&(c.value=M),e.k&&(a[e.k]=M)}}else _?(a[c]=o,m(c)&&(f[c]=o)):I&&(E(c,e.k)&&(c.value=o),e.k&&(a[e.k]=o))};if(o){const A=()=>{T(),ns.delete(e)};A.id=-1,ns.set(e,A),Se(A,n)}else Kr(e),T()}}}function Kr(e){const t=ns.get(e);t&&(t.flags|=8,ns.delete(e))}const Wr=e=>e.nodeType===8;ds().requestIdleCallback;ds().cancelIdleCallback;function oc(e,t){if(Wr(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Wr(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Qt=e=>!!e.type.__asyncLoader;function qf(e){B(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,f=0;const p=()=>(f++,u=null,m()),m=()=>{let E;return u||(E=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((I,T)=>{c(_,()=>I(p()),()=>T(_),f+1)});throw _}).then(_=>E!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return ln({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(E,_,I){const T=E.isConnected;let A=!1;(_.bu||(_.bu=[])).push(()=>A=!0);const M=()=>{A||!E.parentNode||T&&!E.isConnected||I()},O=i?()=>{const U=i(M,ie=>oc(E,ie));U&&(_.bum||(_.bum=[])).push(U)}:M;a?O():m().then(()=>!_.isUnmounted&&O())},get __asyncResolved(){return a},setup(){const E=_e;if(Ar(E),a)return()=>Hn(a,E);const _=U=>{u=null,Dn(U,E,13,!s)};if(l&&E.suspense||sn)return m().then(U=>()=>Hn(U,E)).catch(U=>(_(U),()=>s?K(s,{error:U}):null));const I=Ve(!1),T=Ve(),A=Ve(!!r);let M,O;return bs(()=>{M!=null&&clearTimeout(M),O!=null&&clearTimeout(O)}),r&&(O=setTimeout(()=>{E.isUnmounted||(A.value=!1)},r)),o!=null&&(M=setTimeout(()=>{if(!E.isUnmounted&&!I.value&&!T.value){const U=new Error(`Async component timed out after ${o}ms.`);_(U),T.value=U}},o)),m().then(()=>{E.isUnmounted||(I.value=!0,E.parent&&ys(E.parent.vnode)&&E.parent.update())}).catch(U=>{if(E.isUnmounted){u=null;return}_(U),T.value=U}),()=>{if(I.value&&a)return Hn(a,E);if(T.value&&s)return K(s,{error:T.value});if(n&&!A.value)return Hn(n,E)}}})}function Hn(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=K(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const ys=e=>e.type.__isKeepAlive;function go(e,t){_o(e,"a",t)}function mo(e,t){_o(e,"da",t)}function _o(e,t,n=_e){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(vs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ys(r.parent.vnode)&&lc(s,t,n,r),r=r.parent}}function lc(e,t,n,s){const r=vs(t,e,s,!0);bs(()=>{fr(s[t],r)},n)}function vs(e,t,n=_e,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{pt();const l=Ln(n),c=Be(t,n,e,o);return l(),gt(),c});return s?r.unshift(i):r.push(i),i}}const _t=e=>(t,n=_e)=>{(!sn||e==="sp")&&vs(e,(...s)=>t(...s),n)},cc=_t("bm"),yo=_t("m"),ac=_t("bu"),uc=_t("u"),fc=_t("bum"),bs=_t("um"),dc=_t("sp"),hc=_t("rtg"),pc=_t("rtc");function gc(e,t=_e){vs("ec",e,t)}const vo="components";function bo(e,t){return xo(vo,e,!0,t)||e}const Eo=Symbol.for("v-ndc");function mc(e){return ce(e)?xo(vo,e,!1)||e:e||Eo}function xo(e,t,n=!0,s=!1){const r=ye||_e;if(r){const i=r.type;{const l=ta(i,!1);if(l&&(l===t||l===Te(t)||l===fs(Te(t))))return i}const o=qr(r[e]||i[e],t)||qr(r.appContext[e],t);return!o&&s?i:o}}function qr(e,t){return e&&(e[t]||e[Te(t)]||e[fs(Te(t))])}function Zs(e,t,n,s){let r;const i=n,o=H(e);if(o||ce(e)){const l=o&&Lt(e);let c=!1,u=!1;l&&(c=!Fe(e),u=mt(e),e=gs(e)),r=new Array(e.length);for(let a=0,f=e.length;a<f;a++)r[a]=t(c?u?tn(He(e[a])):He(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(Y(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function _c(e,t,n,s,r,i){if(n==null&&(n={}),ye.ce||ye.parent&&Qt(ye.parent)&&ye.parent.ce){const u=n,a=Object.keys(u).length>0;return fe(),Rt(Ee,null,[K("slot",u,s)],a?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);const l=ht.length;fe();let c;try{const u=o&&wo(o(n)),a=n.key||i||u&&u.key;c=Rt(Ee,{key:(a&&!je(a)?a:`_${t}`)+(!u&&s?"_fb":"")},u||(s?s():[]),u&&e._===1?64:-2)}catch(u){for(let a=ht.length;a>l;a--)Tr();throw u}finally{o&&o._c&&(o._d=!0)}return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function wo(e){return e.some(t=>Cn(t)?!(t.type===st||t.type===Ee&&!wo(t.children)):!0)?e:null}const er=e=>e?Bo(e)?ws(e):er(e.parent):null,En=ve(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=>er(e.parent),$root:e=>er(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>So(e),$forceUpdate:e=>e.f||(e.f=()=>{Er(e.update)}),$nextTick:e=>e.n||(e.n=oo.bind(e.proxy)),$watch:e=>tc.bind(e)}),Ds=(e,t)=>e!==ne&&!e.__isScriptSetup&&J(e,t),yc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Ds(s,t))return o[t]=1,s[t];if(r!==ne&&J(r,t))return o[t]=2,r[t];if(J(i,t))return o[t]=3,i[t];if(n!==ne&&J(n,t))return o[t]=4,n[t];tr&&(o[t]=0)}}const u=En[t];let a,f;if(u)return t==="$attrs"&&be(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ne&&J(n,t))return o[t]=4,n[t];if(f=c.config.globalProperties,J(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Ds(r,t)?(r[t]=n,!0):s!==ne&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==ne&&l[0]!=="$"&&J(e,l)||Ds(t,l)||J(i,l)||J(s,l)||J(En,l)||J(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zr(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let tr=!0;function vc(e){const t=So(e),n=e.proxy,s=e.ctx;tr=!1,t.beforeCreate&&Jr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:m,updated:E,activated:_,deactivated:I,beforeDestroy:T,beforeUnmount:A,destroyed:M,unmounted:O,render:U,renderTracked:ie,renderTriggered:V,errorCaptured:oe,serverPrefetch:le,expose:we,inheritAttrs:Ie,components:Ge,directives:Le,filters:rt}=t;if(u&&bc(u,s,null),o)for(const Q in o){const W=o[Q];B(W)&&(s[Q]=W.bind(n))}if(r){const Q=r.call(n,n);Y(Q)&&(e.data=ms(Q))}if(tr=!0,i)for(const Q in i){const W=i[Q],it=B(W)?W.bind(n,n):B(W.get)?W.get.bind(n,n):nt,vt=!B(W)&&B(W.set)?W.set.bind(n):nt,Ke=re({get:it,set:vt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Oe=>Ke.value=Oe})}if(l)for(const Q in l)Ao(l[Q],s,n,Q);if(c){const Q=B(c)?c.call(n):c;Reflect.ownKeys(Q).forEach(W=>{Jn(W,Q[W])})}a&&Jr(a,e,"c");function pe(Q,W){H(W)?W.forEach(it=>Q(it.bind(n))):W&&Q(W.bind(n))}if(pe(cc,f),pe(yo,p),pe(ac,m),pe(uc,E),pe(go,_),pe(mo,I),pe(gc,oe),pe(pc,ie),pe(hc,V),pe(fc,A),pe(bs,O),pe(dc,le),H(we))if(we.length){const Q=e.exposed||(e.exposed={});we.forEach(W=>{Object.defineProperty(Q,W,{get:()=>n[W],set:it=>n[W]=it,enumerable:!0})})}else e.exposed||(e.exposed={});U&&e.render===nt&&(e.render=U),Ie!=null&&(e.inheritAttrs=Ie),Ge&&(e.components=Ge),Le&&(e.directives=Le),le&&Ar(e)}function bc(e,t,n=nt){H(e)&&(e=nr(e));for(const s in e){const r=e[s];let i;Y(r)?"default"in r?i=Pe(r.from||s,r.default,!0):i=Pe(r.from||s):i=Pe(r),xe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Jr(e,t,n){Be(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ao(e,t,n,s){let r=s.includes(".")?fo(n,s):()=>n[s];if(ce(e)){const i=t[e];B(i)&&vn(r,i)}else if(B(e))vn(r,e.bind(n));else if(Y(e))if(H(e))e.forEach(i=>Ao(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&vn(r,i,e)}}function So(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ss(c,u,o,!0)),ss(c,t,o)),Y(t)&&i.set(t,c),c}function ss(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&ss(e,i,n,!0),r&&r.forEach(o=>ss(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Ec[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ec={data:Yr,props:Qr,emits:Qr,methods:pn,computed:pn,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:pn,directives:pn,watch:wc,provide:Yr,inject:xc};function Yr(e,t){return t?e?function(){return ve(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function xc(e,t){return pn(nr(e),nr(t))}function nr(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function pn(e,t){return e?ve(Object.create(null),e,t):t}function Qr(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:ve(Object.create(null),zr(e),zr(t??{})):t}function wc(e,t){if(!e)return t;if(!t)return e;const n=ve(Object.create(null),e);for(const s in t)n[s]=Ae(e[s],t[s]);return n}function Ro(){return{app:null,config:{isNativeTag:Di,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 Ac=0;function Sc(e,t){return function(s,r=null){B(s)||(s=ve({},s)),r!=null&&!Y(r)&&(r=null);const i=Ro(),o=new WeakSet,l=[];let c=!1;const u=i.app={_uid:Ac++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:sa,get config(){return i.config},set config(a){},use(a,...f){return o.has(a)||(a&&B(a.install)?(o.add(a),a.install(u,...f)):B(a)&&(o.add(a),a(u,...f))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,f){return f?(i.components[a]=f,u):i.components[a]},directive(a,f){return f?(i.directives[a]=f,u):i.directives[a]},mount(a,f,p){if(!c){const m=u._ceVNode||K(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,a,p),c=!0,u._container=a,a.__vue_app__=u,ws(m.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Be(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return i.provides[a]=f,u},runWithContext(a){const f=Xt;Xt=u;try{return a()}finally{Xt=f}}};return u}}let Xt=null;const Rc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Te(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function Cc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const i=t.startsWith("update:"),o=i&&Rc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>ce(a)?a.trim():a)),o.number&&(r=r.map(hr)));let l,c=s[l=Ts(t)]||s[l=Ts(Te(t))];!c&&i&&(c=s[l=Ts(kt(t))]),c&&Be(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Be(u,e,6,r)}}const Tc=new WeakMap;function Co(e,t,n=!1){const s=n?Tc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!B(e)){const c=u=>{const a=Co(u,t,!0);a&&(l=!0,ve(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Y(e)&&s.set(e,null),null):(H(i)?i.forEach(c=>o[c]=null):ve(o,i),Y(e)&&s.set(e,o),o)}function Es(e,t){return!e||!cs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,kt(t))||J(e,t))}function Xr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:f,data:p,setupState:m,ctx:E,inheritAttrs:_}=e,I=ts(e);let T,A;try{if(n.shapeFlag&4){const O=r||s,U=O;T=et(u.call(U,O,a,f,m,p,E)),A=l}else{const O=t;T=et(O.length>1?O(f,{attrs:l,slots:o,emit:c}):O(f,null)),A=t.props?l:Oc(l)}}catch(O){ht.length=0,Dn(O,e,1),T=K(st)}let M=T;if(A&&_!==!1){const O=Object.keys(A),{shapeFlag:U}=M;O.length&&U&7&&(i&&O.some(as)&&(A=Pc(A,i)),M=nn(M,A,!1,!0))}if(n.dirs&&(M=nn(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition){const O=_s(M.type)&&po(M)||M;wr(O,n.transition)}return T=M,ts(I),T}const Oc=e=>{let t;for(const n in e)(n==="class"||n==="style"||cs(n))&&((t||(t={}))[n]=e[n]);return t},Pc=(e,t)=>{const n={};for(const s in e)(!as(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ic(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Zr(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const p=a[f];if(To(o,s,p)&&!Es(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Zr(s,o,u):!0:!!o;return!1}function Zr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(To(t,e,i)&&!Es(n,i))return!0}return!1}function To(e,t,n){const s=e[n],r=t[n];return n==="style"&&Y(s)&&Y(r)?!hs(s,r):s!==r}function Nc({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Oo={},Po=()=>Object.create(Oo),Io=e=>Object.getPrototypeOf(e)===Oo;function Mc(e,t,n,s=!1){const r={},i=Po();e.propsDefaults=Object.create(null),No(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:no(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Dc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let p=a[f];if(Es(e.emitsOptions,p))continue;const m=t[p];if(c)if(J(i,p))m!==i[p]&&(i[p]=m,u=!0);else{const E=Te(p);r[E]=sr(c,l,E,m,e,!1)}else m!==i[p]&&(i[p]=m,u=!0)}}}else{No(e,t,r,i)&&(u=!0);let a;for(const f in l)(!t||!J(t,f)&&((a=kt(f))===f||!J(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(r[f]=sr(c,l,f,void 0,e,!0)):delete r[f]);if(i!==l)for(const f in i)(!t||!J(t,f))&&(delete i[f],u=!0)}u&&ft(e.attrs,"set","")}function No(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(mn(c))continue;const u=t[c];let a;r&&J(r,a=Te(c))?!i||!i.includes(a)?n[a]=u:(l||(l={}))[a]=u:Es(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(i){const c=z(n),u=l||ne;for(let a=0;a<i.length;a++){const f=i[a];n[f]=sr(r,c,f,u[f],e,!J(u,f))}}return o}function sr(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=J(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&B(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=Ln(r);s=u[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===kt(n))&&(s=!0))}return s}const Lc=new WeakMap;function Mo(e,t,n=!1){const s=n?Lc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!B(e)){const a=f=>{c=!0;const[p,m]=Mo(f,t,!0);ve(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return Y(e)&&s.set(e,Jt),Jt;if(H(i))for(let a=0;a<i.length;a++){const f=Te(i[a]);ei(f)&&(o[f]=ne)}else if(i)for(const a in i){const f=Te(a);if(ei(f)){const p=i[a],m=o[f]=H(p)||B(p)?{type:p}:ve({},p),E=m.type;let _=!1,I=!0;if(H(E))for(let T=0;T<E.length;++T){const A=E[T],M=B(A)&&A.name;if(M==="Boolean"){_=!0;break}else M==="String"&&(I=!1)}else _=B(E)&&E.name==="Boolean";m[0]=_,m[1]=I,(_||J(m,"default"))&&l.push(f)}}const u=[o,l];return Y(e)&&s.set(e,u),u}function ei(e){return e[0]!=="$"&&!mn(e)}const Sr=e=>e==="_"||e==="_ctx"||e==="$stable",Rr=e=>H(e)?e.map(et):[et(e)],kc=(e,t,n)=>{if(t._n)return t;const s=at((...r)=>Rr(t(...r)),n);return s._c=!1,s},Do=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Sr(r))continue;const i=e[r];if(B(i))t[r]=kc(r,i,s);else if(i!=null){const o=Rr(i);t[r]=()=>o}}},Lo=(e,t)=>{const n=Rr(t);e.slots.default=()=>n},ko=(e,t,n)=>{for(const s in t)(n||!Sr(s))&&(e[s]=t[s])},Fc=(e,t,n)=>{const s=e.slots=Po();if(e.vnode.shapeFlag&32){const r=t._;r?(ko(s,t,n),n&&Vi(s,"_",r,!0)):Do(t,s)}else t&&Lo(e,t)},Vc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:ko(r,t,n):(i=!t.$stable,Do(t,r)),o=t}else t&&(Lo(e,t),o={default:1});if(i)for(const l in r)!Sr(l)&&o[l]==null&&delete r[l]},Se=$c;function Uc(e){return jc(e)}function jc(e,t){const n=ds();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:p,setScopeId:m=nt,insertStaticContent:E}=e,_=(d,h,g,v=null,x=null,y=null,C=void 0,R=null,S=!!h.dynamicChildren)=>{if(d===h)return;d&&!un(d,h)&&(v=b(d),Oe(d,x,y,!0),d=null),h.patchFlag===-2&&(S=!1,h.dynamicChildren=null);const{type:w,ref:F,shapeFlag:N}=h;switch(w){case xs:I(d,h,g,v);break;case st:T(d,h,g,v);break;case ks:d==null&&A(h,g,v,C);break;case Ee:Ge(d,h,g,v,x,y,C,R,S);break;default:N&1?U(d,h,g,v,x,y,C,R,S):N&6?Le(d,h,g,v,x,y,C,R,S):(N&64||N&128)&&w.process(d,h,g,v,x,y,C,R,S,L)}F!=null&&x?bn(F,d&&d.ref,y,h||d,!h):F==null&&d&&d.ref!=null&&bn(d.ref,null,y,d,!0)},I=(d,h,g,v)=>{if(d==null)s(h.el=l(h.children),g,v);else{const x=h.el=d.el;h.children!==d.children&&u(x,h.children)}},T=(d,h,g,v)=>{d==null?s(h.el=c(h.children||""),g,v):h.el=d.el},A=(d,h,g,v)=>{[d.el,d.anchor]=E(d.children,h,g,v,d.el,d.anchor)},M=({el:d,anchor:h},g,v)=>{let x;for(;d&&d!==h;)x=p(d),s(d,g,v),d=x;s(h,g,v)},O=({el:d,anchor:h})=>{let g;for(;d&&d!==h;)g=p(d),r(d),d=g;r(h)},U=(d,h,g,v,x,y,C,R,S)=>{if(h.type==="svg"?C="svg":h.type==="math"&&(C="mathml"),d==null)ie(h,g,v,x,y,C,R,S);else{const w=d.el&&d.el._isVueCE?d.el:null;try{w&&w._beginPatch(),le(d,h,x,y,C,R,S)}finally{w&&w._endPatch()}}},ie=(d,h,g,v,x,y,C,R)=>{let S,w;const{props:F,shapeFlag:N,transition:k,dirs:j}=d;if(S=d.el=o(d.type,y,F&&F.is,F),N&8?a(S,d.children):N&16&&oe(d.children,S,null,v,x,Ls(d,y),C,R),j&&Tt(d,null,v,"created"),V(S,d,d.scopeId,C,v),F){for(const te in F)te!=="value"&&!mn(te)&&i(S,te,null,F[te],y,v);"value"in F&&i(S,"value",null,F.value,y),(w=F.onVnodeBeforeMount)&&Je(w,v,d)}j&&Tt(d,null,v,"beforeMount");const G=Hc(x,k);G&&k.beforeEnter(S),s(S,h,g),((w=F&&F.onVnodeMounted)||G||j)&&Se(()=>{try{w&&Je(w,v,d),G&&k.enter(S),j&&Tt(d,null,v,"mounted")}finally{}},x)},V=(d,h,g,v,x)=>{if(g&&m(d,g),v)for(let y=0;y<v.length;y++)m(d,v[y]);if(x){let y=x.subTree;if(h===y||Uo(y.type)&&(y.ssContent===h||y.ssFallback===h)){const C=x.vnode;V(d,C,C.scopeId,C.slotScopeIds,x.parent)}}},oe=(d,h,g,v,x,y,C,R,S=0)=>{for(let w=S;w<d.length;w++){const F=d[w]=R?ut(d[w]):et(d[w]);_(null,F,h,g,v,x,y,C,R)}},le=(d,h,g,v,x,y,C)=>{const R=h.el=d.el;let{patchFlag:S,dynamicChildren:w,dirs:F}=h;S|=d.patchFlag&16;const N=d.props||ne,k=h.props||ne;let j;if(g&&Ot(g,!1),(j=k.onVnodeBeforeUpdate)&&Je(j,g,h,d),F&&Tt(h,d,g,"beforeUpdate"),g&&Ot(g,!0),w&&(!d.dynamicChildren||d.dynamicChildren.length!==w.length)&&(S=0,C=!1,w=null),(N.innerHTML&&k.innerHTML==null||N.textContent&&k.textContent==null)&&a(R,""),w?we(d.dynamicChildren,w,R,g,v,Ls(h,x),y):C||W(d,h,R,null,g,v,Ls(h,x),y,!1),S>0){if(S&16)Ie(R,N,k,g,x);else if(S&2&&N.class!==k.class&&i(R,"class",null,k.class,x),S&4&&i(R,"style",N.style,k.style,x),S&8){const G=h.dynamicProps;for(let te=0;te<G.length;te++){const X=G[te],de=N[X],ge=k[X];(ge!==de||X==="value")&&i(R,X,de,ge,x,g)}}S&1&&d.children!==h.children&&a(R,h.children)}else!C&&w==null&&Ie(R,N,k,g,x);((j=k.onVnodeUpdated)||F)&&Se(()=>{j&&Je(j,g,h,d),F&&Tt(h,d,g,"updated")},v)},we=(d,h,g,v,x,y,C)=>{for(let R=0;R<h.length;R++){const S=d[R],w=h[R],F=S.el&&(S.type===Ee||!un(S,w)||S.shapeFlag&198)?f(S.el):g;_(S,w,F,null,v,x,y,C,!0)}},Ie=(d,h,g,v,x)=>{if(h!==g){if(h!==ne)for(const y in h)!mn(y)&&!(y in g)&&i(d,y,h[y],null,x,v);for(const y in g){if(mn(y))continue;const C=g[y],R=h[y];C!==R&&y!=="value"&&i(d,y,R,C,x,v)}"value"in g&&i(d,"value",h.value,g.value,x)}},Ge=(d,h,g,v,x,y,C,R,S)=>{const w=h.el=d?d.el:l(""),F=h.anchor=d?d.anchor:l("");let{patchFlag:N,dynamicChildren:k,slotScopeIds:j}=h;j&&(R=R?R.concat(j):j),d==null?(s(w,g,v),s(F,g,v),oe(h.children||[],g,F,x,y,C,R,S)):N>0&&N&64&&k&&d.dynamicChildren&&d.dynamicChildren.length===k.length?(we(d.dynamicChildren,k,g,x,y,C,R),(h.key!=null||x&&h===x.subTree)&&Cr(d,h,!0)):W(d,h,g,F,x,y,C,R,S)},Le=(d,h,g,v,x,y,C,R,S)=>{h.slotScopeIds=R,d==null?h.shapeFlag&512?x.ctx.activate(h,g,v,C,S):rt(h,g,v,x,y,C,S):Ft(d,h,S)},rt=(d,h,g,v,x,y,C)=>{const R=d.component=Jc(d,v,x);if(ys(d)&&(R.ctx.renderer=L),Qc(R,!1,C),R.asyncDep){if(x&&x.registerDep(R,pe,C),!d.el){const S=R.subTree=K(st);T(null,S,h,g),d.placeholder=S.el}}else pe(R,d,h,g,x,y,C)},Ft=(d,h,g)=>{const v=h.component=d.component;if(Ic(d,h,g))if(v.asyncDep&&!v.asyncResolved){Q(v,h,g);return}else v.next=h,v.update();else h.el=d.el,v.vnode=h},pe=(d,h,g,v,x,y,C)=>{const R=()=>{if(d.isMounted){let{next:N,bu:k,u:j,parent:G,vnode:te}=d;{const qe=Fo(d);if(qe){N&&(N.el=te.el,Q(d,N,C)),qe.asyncDep.then(()=>{Se(()=>{d.isUnmounted||w()},x)});return}}let X=N,de;Ot(d,!1),N?(N.el=te.el,Q(d,N,C)):N=te,k&&zn(k),(de=N.props&&N.props.onVnodeBeforeUpdate)&&Je(de,G,N,te),Ot(d,!0);const ge=Xr(d),We=d.subTree;d.subTree=ge,_(We,ge,f(We.el),b(We),d,x,y),N.el=ge.el,X===null&&Nc(d,ge.el),j&&Se(j,x),(de=N.props&&N.props.onVnodeUpdated)&&Se(()=>Je(de,G,N,te),x)}else{let N;const{el:k,props:j}=h,{bm:G,m:te,parent:X,root:de,type:ge}=d,We=Qt(h);Ot(d,!1),G&&zn(G),!We&&(N=j&&j.onVnodeBeforeMount)&&Je(N,X,h),Ot(d,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(ge,d.parent?d.parent.type:void 0);const qe=d.subTree=Xr(d);_(null,qe,g,v,d,x,y),h.el=qe.el}if(te&&Se(te,x),!We&&(N=j&&j.onVnodeMounted)){const qe=h;Se(()=>Je(N,X,qe),x)}(h.shapeFlag&256||X&&Qt(X.vnode)&&X.vnode.shapeFlag&256)&&d.a&&Se(d.a,x),d.isMounted=!0,h=g=v=null}};d.scope.on();const S=d.effect=new Bi(R);d.scope.off();const w=d.update=S.run.bind(S),F=d.job=S.runIfDirty.bind(S);F.i=d,F.id=d.uid,S.scheduler=()=>Er(F),Ot(d,!0),w()},Q=(d,h,g)=>{h.component=d;const v=d.vnode.props;d.vnode=h,d.next=null,Dc(d,h.props,v,g),Vc(d,h.children,g),pt(),Hr(d),gt()},W=(d,h,g,v,x,y,C,R,S=!1)=>{const w=d&&d.children,F=d?d.shapeFlag:0,N=h.children,{patchFlag:k,shapeFlag:j}=h;if(k>0){if(k&128){vt(w,N,g,v,x,y,C,R,S);return}else if(k&256){it(w,N,g,v,x,y,C,R,S);return}}j&8?(F&16&&ke(w,x,y),N!==w&&a(g,N)):F&16?j&16?vt(w,N,g,v,x,y,C,R,S):ke(w,x,y,!0):(F&8&&a(g,""),j&16&&oe(N,g,v,x,y,C,R,S))},it=(d,h,g,v,x,y,C,R,S)=>{d=d||Jt,h=h||Jt;const w=d.length,F=h.length,N=Math.min(w,F);let k;for(k=0;k<N;k++){const j=h[k]=S?ut(h[k]):et(h[k]);_(d[k],j,g,null,x,y,C,R,S)}w>F?ke(d,x,y,!0,!1,N):oe(h,g,v,x,y,C,R,S,N)},vt=(d,h,g,v,x,y,C,R,S)=>{let w=0;const F=h.length;let N=d.length-1,k=F-1;for(;w<=N&&w<=k;){const j=d[w],G=h[w]=S?ut(h[w]):et(h[w]);if(un(j,G))_(j,G,g,null,x,y,C,R,S);else break;w++}for(;w<=N&&w<=k;){const j=d[N],G=h[k]=S?ut(h[k]):et(h[k]);if(un(j,G))_(j,G,g,null,x,y,C,R,S);else break;N--,k--}if(w>N){if(w<=k){const j=k+1,G=j<F?h[j].el:v;for(;w<=k;)_(null,h[w]=S?ut(h[w]):et(h[w]),g,G,x,y,C,R,S),w++}}else if(w>k)for(;w<=N;)Oe(d[w],x,y,!0),w++;else{const j=w,G=w,te=new Map;for(w=G;w<=k;w++){const Ne=h[w]=S?ut(h[w]):et(h[w]);Ne.key!=null&&te.set(Ne.key,w)}let X,de=0;const ge=k-G+1;let We=!1,qe=0;const cn=new Array(ge);for(w=0;w<ge;w++)cn[w]=0;for(w=j;w<=N;w++){const Ne=d[w];if(de>=ge){Oe(Ne,x,y,!0);continue}let ze;if(Ne.key!=null)ze=te.get(Ne.key);else for(X=G;X<=k;X++)if(cn[X-G]===0&&un(Ne,h[X])){ze=X;break}ze===void 0?Oe(Ne,x,y,!0):(cn[ze-G]=w+1,ze>=qe?qe=ze:We=!0,_(Ne,h[ze],g,null,x,y,C,R,S),de++)}const Mr=We?Bc(cn):Jt;for(X=Mr.length-1,w=ge-1;w>=0;w--){const Ne=G+w,ze=h[Ne],Dr=h[Ne+1],Lr=Ne+1<F?Dr.el||Vo(Dr):v;cn[w]===0?_(null,ze,g,Lr,x,y,C,R,S):We&&(X<0||w!==Mr[X]?Ke(ze,g,Lr,2):X--)}}},Ke=(d,h,g,v,x=null)=>{const{el:y,type:C,transition:R,children:S,shapeFlag:w}=d;if(w&6){Ke(d.component.subTree,h,g,v);return}if(w&128){d.suspense.move(h,g,v);return}if(w&64){C.move(d,h,g,L);return}if(C===Ee){s(y,h,g);for(let N=0;N<S.length;N++)Ke(S[N],h,g,v);s(d.anchor,h,g);return}if(C===ks){M(d,h,g);return}if(v!==2&&w&1&&R)if(v===0)R.persisted&&!y[Ms]?s(y,h,g):(R.beforeEnter(y),s(y,h,g),Se(()=>R.enter(y),x));else{const{leave:N,delayLeave:k,afterLeave:j}=R,G=()=>{d.ctx.isUnmounted?r(y):s(y,h,g)},te=()=>{const X=y._isLeaving||!!y[Ms];y._isLeaving&&y[Ms](!0),R.persisted&&!X?G():N(y,()=>{G(),j&&j()})};k?k(y,G,te):te()}else s(y,h,g)},Oe=(d,h,g,v=!1,x=!1)=>{const{type:y,props:C,ref:R,children:S,dynamicChildren:w,shapeFlag:F,patchFlag:N,dirs:k,cacheIndex:j,memo:G}=d;if(N===-2&&(x=!1),R!=null&&(pt(),bn(R,null,g,d,!0),gt()),j!=null&&(h.renderCache[j]=void 0),F&256){h.ctx.deactivate(d);return}const te=F&1&&k,X=!Qt(d);let de;if(X&&(de=C&&C.onVnodeBeforeUnmount)&&Je(de,h,d),F&6)Ct(d.component,g,v);else{if(F&128){d.suspense.unmount(g,v);return}te&&Tt(d,null,h,"beforeUnmount"),F&64?d.type.remove(d,h,g,L,v):w&&!w.hasOnce&&(y!==Ee||N>0&&N&64)?ke(w,h,g,!1,!0):(y===Ee&&N&384||!x&&F&16)&&ke(S,h,g),v&&Vt(d)}const ge=G!=null&&j==null;(X&&(de=C&&C.onVnodeUnmounted)||te||ge)&&Se(()=>{de&&Je(de,h,d),te&&Tt(d,null,h,"unmounted"),ge&&(d.el=null)},g)},Vt=d=>{const{type:h,el:g,anchor:v,transition:x}=d;if(h===Ee){Ut(g,v);return}if(h===ks){O(d);return}const y=()=>{r(g),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(d.shapeFlag&1&&x&&!x.persisted){const{leave:C,delayLeave:R}=x,S=()=>C(g,y);R?R(d.el,y,S):S()}else y()},Ut=(d,h)=>{let g;for(;d!==h;)g=p(d),r(d),d=g;r(h)},Ct=(d,h,g)=>{const{bum:v,scope:x,job:y,subTree:C,um:R,m:S,a:w}=d;ti(S),ti(w),v&&zn(v),x.stop(),y&&(y.flags|=8,Oe(C,d,h,g)),R&&Se(R,h),Se(()=>{d.isUnmounted=!0},h)},ke=(d,h,g,v=!1,x=!1,y=0)=>{for(let C=y;C<d.length;C++)Oe(d[C],h,g,v,x)},b=d=>{if(d.shapeFlag&6)return b(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),g=h&&h[ho];return g?p(g):h};let D=!1;const P=(d,h,g)=>{let v;d==null?h._vnode&&(Oe(h._vnode,null,null,!0),v=h._vnode.component):_(h._vnode||null,d,h,null,null,null,g),h._vnode=d,D||(D=!0,Hr(v),co(),D=!1)},L={p:_,um:Oe,m:Ke,r:Vt,mt:rt,mc:oe,pc:W,pbc:we,n:b,o:e};return{render:P,hydrate:void 0,createApp:Sc(P)}}function Ls({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 Ot({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=ut(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Cr(o,l)),l.type===xs&&(l.patchFlag===-1&&(l=r[i]=ut(l)),l.el=o.el),l.type===st&&!l.el&&(l.el=o.el)}}function Bc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Fo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fo(t)}function ti(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Vo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Vo(t.subTree):null}const Uo=e=>e.__isSuspense;function $c(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Xl(e)}const Ee=Symbol.for("v-fgt"),xs=Symbol.for("v-txt"),st=Symbol.for("v-cmt"),ks=Symbol.for("v-stc"),ht=[];let De=null;function fe(e=!1){ht.push(De=e?null:[])}function Tr(){ht.pop(),De=ht[ht.length-1]||null}let Rn=1;function rs(e,t=!1){Rn+=e,e<0&&De&&t&&(De.hasOnce=!0)}function jo(e){return e.dynamicChildren=Rn>0?De||Jt:null,Tr(),Rn>0&&De&&De.push(e),e}function Me(e,t,n,s,r,i){return jo(Z(e,t,n,s,r,i,!0))}function Rt(e,t,n,s,r){return jo(K(e,t,n,s,r,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const Ho=({key:e})=>e??null,Yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||xe(e)||B(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function Z(e,t=null,n=null,s=0,r=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ho(t),ref:t&&Yn(t),scopeId:uo,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(is(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),Rn>0&&!o&&De&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&De.push(c),c}const K=Gc;function Gc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Eo)&&(e=st),Cn(e)){const l=nn(e,t,!0);return n&&is(l,n),Rn>0&&!i&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag=-2,l}if(na(e)&&(e=e.__vccOpts),t){t=Kc(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=en(l)),Y(c)&&(br(c)&&!H(c)&&(c=ve({},c)),t.style=pr(c))}const o=ce(e)?1:Uo(e)?128:_s(e)?64:Y(e)?4:B(e)?2:0;return Z(e,t,n,s,r,o,i,!0)}function Kc(e){return e?br(e)||Io(e)?ve({},e):e:null}function nn(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Wc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ho(u),ref:t&&t.ref?n&&i?H(i)?i.concat(Yn(t)):[i,Yn(t)]:Yn(t):i,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!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&wr(a,c.clone(a)),a}function It(e=" ",t=0){return K(xs,null,e,t)}function Kt(e="",t=!1){return t?(fe(),Rt(st,null,e)):K(st,null,e)}function et(e){return e==null||typeof e=="boolean"?K(st):H(e)?K(Ee,null,e.slice()):Cn(e)?ut(e):K(xs,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function is(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),is(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Io(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(B(t)){if(s&65){is(e,{default:t});return}t={default:t,_ctx:ye},n=32}else t=String(t),s&64?(n=16,t=[It(t)]):n=8;e.children=t,e.shapeFlag|=n}function Wc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=en([t.class,s.class]));else if(r==="style")t.style=pr([t.style,s.style]);else if(cs(r)){const i=t[r],o=s[r];o&&i!==o&&!(H(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!as(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Je(e,t,n,s=null){Be(e,t,7,[n,s])}const qc=Ro();let zc=0;function Jc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||qc,i={uid:zc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mo(s,r),emitsOptions:Co(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Cc.bind(null,i),e.ce&&e.ce(i),i}let _e=null;const Yc=()=>_e||ye;let os,Tn;{const e=ds(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};os=t("__VUE_INSTANCE_SETTERS__",n=>_e=n),Tn=t("__VUE_SSR_SETTERS__",n=>sn=n)}const Ln=e=>{const t=_e;return os(e),e.scope.on(),()=>{e.scope.off(),os(t)}},ni=()=>{_e&&_e.scope.off(),os(null)};function Bo(e){return e.vnode.shapeFlag&4}let sn=!1;function Qc(e,t=!1,n=!1){t&&Tn(t);const{props:s,children:r}=e.vnode,i=Bo(e);Mc(e,s,i,t),Fc(e,r,n||t);const o=i?Xc(e,t):void 0;return t&&Tn(!1),o}function Xc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yc);const{setup:s}=n;if(s){pt();const r=e.setupContext=s.length>1?ea(e):null,i=Ln(e),o=Mn(s,e,0,[e.props,r]),l=Li(o);if(gt(),i(),(l||e.sp)&&!Qt(e)&&Ar(e),l){if(o.then(ni,ni),t)return o.then(c=>{Tn(!0);try{si(e,c,t)}finally{Tn(!1)}}).catch(c=>{Dn(c,e,0)});e.asyncDep=o}else si(e,o)}else $o(e)}function si(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Y(t)&&(e.setupState=ro(t)),$o(e)}function $o(e,t,n){const s=e.type;e.render||(e.render=s.render||nt);{const r=Ln(e);pt();try{vc(e)}finally{gt(),r()}}}const Zc={get(e,t){return be(e,"get",""),e[t]}};function ea(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zc),slots:e.slots,emit:e.emit,expose:t}}function ws(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ro(Hl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in En)return En[n](e)},has(t,n){return n in t||n in En}})):e.proxy}function ta(e,t=!0){return B(e)?e.displayName||e.name:e.name||t&&e.__name}function na(e){return B(e)&&"__vccOpts"in e}const re=(e,t)=>ql(e,t,sn);function On(e,t,n){try{rs(-1);const s=arguments.length;return s===2?Y(t)&&!H(t)?Cn(t)?K(e,null,[t]):K(e,t):K(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Cn(n)&&(n=[n]),K(e,t,n))}finally{rs(1)}}const sa="3.5.42";/**
15
+ * @vue/runtime-dom v3.5.42
16
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
+ * @license MIT
18
+ **/let rr;const ri=typeof window<"u"&&window.trustedTypes;if(ri)try{rr=ri.createPolicy("vue",{createHTML:e=>e})}catch{}const Go=rr?e=>rr.createHTML(e):e=>e,ra="http://www.w3.org/2000/svg",ia="http://www.w3.org/1998/Math/MathML",ct=typeof document<"u"?document:null,ii=ct&&ct.createElement("template"),oa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ct.createElementNS(ra,e):t==="mathml"?ct.createElementNS(ia,e):n?ct.createElement(e,{is:n}):ct.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ii.innerHTML=Go(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=ii.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},la=Symbol("_vtc");function ca(e,t,n){const s=e[la];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ls=Symbol("_vod"),Ko=Symbol("_vsh"),zf={name:"show",beforeMount(e,{value:t},{transition:n}){e[ls]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):fn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),fn(e,!0),s.enter(e)):s.leave(e,()=>{fn(e,!1)}):fn(e,t))},beforeUnmount(e,{value:t}){fn(e,t)}};function fn(e,t){e.style.display=t?e[ls]:"none",e[Ko]=!t}const aa=Symbol(""),ua=/(?:^|;)\s*display\s*:/;function fa(e,t,n){const s=e.style,r=ce(n);let i=!1;if(n&&!r){if(t)if(ce(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&gn(s,l,"")}else for(const o in t)n[o]==null&&gn(s,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?ha(e,o,!ce(t)&&t?t[o]:void 0,l)||gn(s,o,l):gn(s,o,"")}}else if(r){if(t!==n){const o=s[aa];o&&(n+=";"+o),s.cssText=n,i=ua.test(n)}}else t&&e.removeAttribute("style");ls in e&&(e[ls]=i?s.display:"",e[Ko]&&(s.display="none"))}const Bn=/\s*!important$/;function gn(e,t,n){if(H(n))n.forEach(s=>gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Bn.test(n)?e.setProperty(t,n.replace(Bn,""),"important"):e.setProperty(t,n);else{const s=da(e,t);Bn.test(n)?e.setProperty(kt(s),n.replace(Bn,""),"important"):e[s]=n}}const oi=["Webkit","Moz","ms"],Fs={};function da(e,t){const n=Fs[t];if(n)return n;let s=Te(t);if(s!=="filter"&&s in e)return Fs[t]=s;s=fs(s);for(let r=0;r<oi.length;r++){const i=oi[r]+s;if(i in e)return Fs[t]=i}return t}function ha(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ce(s)&&n===s}const li="http://www.w3.org/1999/xlink";function ci(e,t,n,s,r,i=bl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(li,t.slice(6,t.length)):e.setAttributeNS(li,t,n):n==null||i&&!Ui(n)?e.removeAttribute(t):e.setAttribute(t,i?"":je(n)?String(n):n)}function ai(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Go(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ui(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Wt(e,t,n,s){e.addEventListener(t,n,s)}function pa(e,t,n,s){e.removeEventListener(t,n,s)}const ui=Symbol("_vei");function ga(e,t,n,s,r=null){const i=e[ui]||(e[ui]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=ya(t);if(s){const u=i[t]=Ea(s,r);Wt(e,l,u,c)}else o&&(pa(e,l,o,c),i[t]=void 0)}}const ma=/(Once|Passive|Capture)$/,_a=/^on:?(?:Once|Passive|Capture)$/;function ya(e){let t,n;for(;(n=e.match(ma))&&!_a.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let Vs=0;const va=Promise.resolve(),ba=()=>Vs||(va.then(()=>Vs=0),Vs=Date.now());function Ea(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(H(r)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const o=r.slice(),l=[s];for(let c=0;c<o.length&&!s._stopped;c++){const u=o[c];u&&Be(u,t,5,l)}}else Be(r,t,5,[s])};return n.value=e,n.attached=ba(),n}const fi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ca(e,s,o):t==="style"?fa(e,n,s):cs(t)?as(t)||ga(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wa(e,t,s,o))?(ai(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ci(e,t,s,o,i,t!=="value")):e._isVueCE&&(Aa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ce(s)))?ai(e,Te(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ci(e,t,s,o))};function wa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&fi(t)&&B(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return fi(t)&&ce(n)?!1:t in e}function Aa(e,t){const n=e._def.props;if(!n)return!1;const s=Te(t);return Array.isArray(n)?n.some(r=>Te(r)===s):Object.keys(n).some(r=>Te(r)===s)}const di=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>zn(t,n):t};function Sa(e){e.target.composing=!0}function hi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const $n=Symbol("_assign"),Gn=Symbol("_initialValue");function Us(e,t,n){return t&&(e=e.trim()),n&&(e=hr(e)),e}const Jf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[Gn]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Gn]=e.defaultValue.replace(/\r\n?/g,`
19
+ `))),e[$n]=di(r);const i=s||r.props&&r.props.type==="number";Wt(e,t?"change":"input",o=>{o.target.composing||e[$n](Us(e.value,n,i))}),(n||i)&&Wt(e,"change",()=>{e.value=Us(e.value,n,i)}),t||(Wt(e,"compositionstart",Sa),Wt(e,"compositionend",hi),Wt(e,"change",hi))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",i=e[Gn];delete e[Gn],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[$n](Us(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[$n]=di(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?hr(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Ra=["ctrl","shift","alt","meta"],Ca={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ra.some(n=>e[`${n}Key`]&&!t.includes(n))},Yf=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=Ca[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},Ta=ve({patchProp:xa},oa);let pi;function Oa(){return pi||(pi=Uc(Ta))}const Pa=((...e)=>{const t=Oa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Na(s);if(!r)return;const i=t._component;!B(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Ia(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Ia(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Na(e){return ce(e)?document.querySelector(e):e}/*!
20
+ * vue-router v4.6.4
21
+ * (c) 2025 Eduardo San Martin Morote
22
+ * @license MIT
23
+ */const qt=typeof document<"u";function Wo(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ma(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Wo(e.default)}const q=Object.assign;function js(e,t){const n={};for(const s in t){const r=t[s];n[s]=$e(r)?r.map(e):e(r)}return n}const xn=()=>{},$e=Array.isArray;function gi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const qo=/#/g,Da=/&/g,La=/\//g,ka=/=/g,Fa=/\?/g,zo=/\+/g,Va=/%5B/g,Ua=/%5D/g,Jo=/%5E/g,ja=/%60/g,Yo=/%7B/g,Ha=/%7C/g,Qo=/%7D/g,Ba=/%20/g;function Or(e){return e==null?"":encodeURI(""+e).replace(Ha,"|").replace(Va,"[").replace(Ua,"]")}function $a(e){return Or(e).replace(Yo,"{").replace(Qo,"}").replace(Jo,"^")}function ir(e){return Or(e).replace(zo,"%2B").replace(Ba,"+").replace(qo,"%23").replace(Da,"%26").replace(ja,"`").replace(Yo,"{").replace(Qo,"}").replace(Jo,"^")}function Ga(e){return ir(e).replace(ka,"%3D")}function Ka(e){return Or(e).replace(qo,"%23").replace(Fa,"%3F")}function Wa(e){return Ka(e).replace(La,"%2F")}function Pn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const qa=/\/$/,za=e=>e.replace(qa,"");function Hs(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=Xa(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:Pn(o)}}function Ja(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function mi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ya(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&rn(t.matched[s],n.matched[r])&&Xo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Xo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Qa(e[n],t[n]))return!1;return!0}function Qa(e,t){return $e(e)?_i(e,t):$e(t)?_i(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function _i(e,t){return $e(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Xa(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let or=(function(e){return e.pop="pop",e.push="push",e})({}),Bs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Za(e){if(!e)if(qt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),za(e)}const eu=/^[^#]+#/;function tu(e,t){return e.replace(eu,"#")+t}function nu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const As=()=>({left:window.scrollX,top:window.scrollY});function su(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=nu(r,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 lr=new Map;function ru(e,t){lr.set(e,t)}function iu(e){const t=lr.get(e);return lr.delete(e),t}function ou(e){return typeof e=="string"||e&&typeof e=="object"}function Zo(e){return typeof e=="string"||typeof e=="symbol"}let ue=(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 el=Symbol("");ue.MATCHER_NOT_FOUND+"",ue.NAVIGATION_GUARD_REDIRECT+"",ue.NAVIGATION_ABORTED+"",ue.NAVIGATION_CANCELLED+"",ue.NAVIGATION_DUPLICATED+"";function on(e,t){return q(new Error,{type:e,[el]:!0},t)}function lt(e,t){return e instanceof Error&&el in e&&(t==null||!!(e.type&t))}const lu=["params","query","hash"];function cu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of lu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function au(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(zo," "),i=r.indexOf("="),o=Pn(i<0?r:r.slice(0,i)),l=i<0?null:Pn(r.slice(i+1));if(o in t){let c=t[o];$e(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function vi(e){let t="";for(let n in e){const s=e[n];if(n=Ga(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}($e(s)?s.map(r=>r&&ir(r)):[s&&ir(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function uu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$e(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Pr=Symbol(""),bi=Symbol(""),Ss=Symbol(""),Ir=Symbol(""),cr=Symbol("");function dn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function tl(e,t,n){const s=()=>{e[t].delete(n)};bs(s),mo(s),go(()=>{e[t].add(n)}),e[t].add(n)}function Qf(e){const t=Pe(Pr,{}).value;t&&tl(t,"leaveGuards",e)}function Xf(e){const t=Pe(Pr,{}).value;t&&tl(t,"updateGuards",e)}function wt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(on(ue.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):ou(p)?c(on(ue.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},a=i(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function $s(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Wo(c)){const u=(c.__vccOpts||c)[t];u&&i.push(wt(u,n,s,o,l,r))}else{let u=c();i.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const f=Ma(a)?a.default:a;o.mods[l]=a,o.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&wt(p,n,s,o,l,r)()}))}}return i}function fu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(u=>rn(u,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(u=>rn(u,c))||r.push(c))}return[n,s,r]}/*!
24
+ * vue-router v4.6.4
25
+ * (c) 2025 Eduardo San Martin Morote
26
+ * @license MIT
27
+ */let du=()=>location.protocol+"//"+location.host;function nl(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),mi(l,"")}return mi(n,e)+s+r}function hu(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=nl(e,location),E=n.value,_=t.value;let I=0;if(p){if(n.value=m,t.value=p,o&&o===E){o=null;return}I=_?p.position-_.position:0}else s(m);r.forEach(T=>{T(n.value,E,{delta:I,type:or.pop,direction:I?I>0?Bs.forward:Bs.back:Bs.unknown})})};function c(){o=n.value}function u(p){r.push(p);const m=()=>{const E=r.indexOf(p);E>-1&&r.splice(E,1)};return i.push(m),m}function a(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(q({},p.state,{scroll:As()}),"")}}function f(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Ei(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?As():null}}function pu(e){const{history:t,location:n}=window,s={value:nl(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:du()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){console.error(m),n[a?"replace":"assign"](p)}}function o(c,u){i(c,q({},t.state,Ei(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=q({},r.value,t.state,{forward:c,scroll:As()});i(a.current,a,!0),i(c,q({},Ei(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function gu(e){e=Za(e);const t=pu(e),n=hu(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=q({location:"",base:e,go:s,createHref:tu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Mt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var he=(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})(he||{});const mu={type:Mt.Static,value:""},_u=/[a-zA-Z0-9_]/;function yu(e){if(!e)return[[]];if(e==="/")return[[mu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=he.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,u="",a="";function f(){u&&(n===he.Static?i.push({type:Mt.Static,value:u}):n===he.Param||n===he.ParamRegExp||n===he.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Mt.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==he.ParamRegExp){s=n,n=he.EscapeNext;continue}switch(n){case he.Static:c==="/"?(u&&f(),o()):c===":"?(f(),n=he.Param):p();break;case he.EscapeNext:p(),n=s;break;case he.Param:c==="("?n=he.ParamRegExp:_u.test(c)?p():(f(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case he.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=he.ParamRegExpEnd:a+=c;break;case he.ParamRegExpEnd:f(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===he.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),r}const xi="[^/]+?",vu={sensitive:!1,strict:!1,start:!0,end:!0};var Re=(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})(Re||{});const bu=/[.+*?^${}()[\]/\\]/g;function Eu(e,t){const n=q({},vu,t),s=[];let r=n.start?"^":"";const i=[];for(const u of e){const a=u.length?[]:[Re.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const p=u[f];let m=Re.Segment+(n.sensitive?Re.BonusCaseSensitive:0);if(p.type===Mt.Static)f||(r+="/"),r+=p.value.replace(bu,"\\$&"),m+=Re.Static;else if(p.type===Mt.Param){const{value:E,repeatable:_,optional:I,regexp:T}=p;i.push({name:E,repeatable:_,optional:I});const A=T||xi;if(A!==xi){m+=Re.BonusCustomRegExp;try{`${A}`}catch(O){throw new Error(`Invalid custom RegExp for param "${E}" (${A}): `+O.message)}}let M=_?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;f||(M=I&&u.length<2?`(?:/${M})`:"/"+M),I&&(M+="?"),r+=M,m+=Re.Dynamic,I&&(m+=Re.BonusOptional),_&&(m+=Re.BonusRepeatable),A===".*"&&(m+=Re.BonusWildcard)}a.push(m)}s.push(a)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Re.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(u){const a=u.match(o),f={};if(!a)return null;for(let p=1;p<a.length;p++){const m=a[p]||"",E=i[p-1];f[E.name]=m&&E.repeatable?m.split("/"):m}return f}function c(u){let a="",f=!1;for(const p of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const m of p)if(m.type===Mt.Static)a+=m.value;else if(m.type===Mt.Param){const{value:E,repeatable:_,optional:I}=m,T=E in u?u[E]:"";if($e(T)&&!_)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const A=$e(T)?T.join("/"):T;if(!A)if(I)p.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${E}"`);a+=A}}return a||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function xu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Re.Static+Re.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Re.Static+Re.Segment?1:-1:0}function sl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=xu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(wi(s))return 1;if(wi(r))return-1}return r.length-s.length}function wi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const wu={strict:!1,end:!0,sensitive:!1};function Au(e,t,n){const s=Eu(yu(e.path),n),r=q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Su(e,t){const n=[],s=new Map;t=gi(wu,t);function r(f){return s.get(f)}function i(f,p,m){const E=!m,_=Si(f);_.aliasOf=m&&m.record;const I=gi(t,f),T=[_];if("alias"in f){const O=typeof f.alias=="string"?[f.alias]:f.alias;for(const U of O)T.push(Si(q({},_,{components:m?m.record.components:_.components,path:U,aliasOf:m?m.record:_})))}let A,M;for(const O of T){const{path:U}=O;if(p&&U[0]!=="/"){const ie=p.record.path,V=ie[ie.length-1]==="/"?"":"/";O.path=p.record.path+(U&&V+U)}if(A=Au(O,p,I),m?m.alias.push(A):(M=M||A,M!==A&&M.alias.push(A),E&&f.name&&!Ri(A)&&o(f.name)),rl(A)&&c(A),_.children){const ie=_.children;for(let V=0;V<ie.length;V++)i(ie[V],A,m&&m.children[V])}m=m||A}return M?()=>{o(M)}:xn}function o(f){if(Zo(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function l(){return n}function c(f){const p=Tu(f,n);n.splice(p,0,f),f.record.name&&!Ri(f)&&s.set(f.record.name,f)}function u(f,p){let m,E={},_,I;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw on(ue.MATCHER_NOT_FOUND,{location:f});I=m.record.name,E=q(Ai(p.params,m.keys.filter(M=>!M.optional).concat(m.parent?m.parent.keys.filter(M=>M.optional):[]).map(M=>M.name)),f.params&&Ai(f.params,m.keys.map(M=>M.name))),_=m.stringify(E)}else if(f.path!=null)_=f.path,m=n.find(M=>M.re.test(_)),m&&(E=m.parse(_),I=m.record.name);else{if(m=p.name?s.get(p.name):n.find(M=>M.re.test(p.path)),!m)throw on(ue.MATCHER_NOT_FOUND,{location:f,currentLocation:p});I=m.record.name,E=q({},p.params,f.params),_=m.stringify(E)}const T=[];let A=m;for(;A;)T.unshift(A.record),A=A.parent;return{name:I,path:_,params:E,matched:T,meta:Cu(T)}}e.forEach(f=>i(f));function a(){n.length=0,s.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Ai(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Si(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ru(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 Ru(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ri(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cu(e){return e.reduce((t,n)=>q(t,n.meta),{})}function Tu(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;sl(e,t[i])<0?s=i:n=i+1}const r=Ou(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ou(e){let t=e;for(;t=t.parent;)if(rl(t)&&sl(e,t)===0)return t}function rl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ci(e){const t=Pe(Ss),n=Pe(Ir),s=re(()=>{const c=ee(e.to);return t.resolve(c)}),r=re(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const p=f.findIndex(rn.bind(null,a));if(p>-1)return p;const m=Ti(c[u-2]);return u>1&&Ti(a)===m&&f[f.length-1].path!==m?f.findIndex(rn.bind(null,c[u-2])):p}),i=re(()=>r.value>-1&&Du(n.params,s.value.params)),o=re(()=>r.value>-1&&r.value===n.matched.length-1&&Xo(n.params,s.value.params));function l(c={}){if(Mu(c)){const u=t[ee(e.replace)?"replace":"push"](ee(e.to)).catch(xn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:re(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Pu(e){return e.length===1?e[0]:e}const Iu=ln({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:Ci,setup(e,{slots:t}){const n=ms(Ci(e)),{options:s}=Pe(Ss),r=re(()=>({[Oi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Oi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Pu(t.default(n));return e.custom?i:On("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Nu=Iu;function Mu(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 Du(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!$e(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Ti(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Oi=(e,t,n)=>e??t??n,Lu=ln({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Pe(cr),r=re(()=>e.route||s.value),i=Pe(bi,0),o=re(()=>{let u=ee(i);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=re(()=>r.value.matched[o.value]);Jn(bi,re(()=>o.value+1)),Jn(Pr,l),Jn(cr,r);const c=Ve();return vn(()=>[c.value,l.value,e.name],([u,a,f],[p,m,E])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===p&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!rn(a,m)||!p)&&(a.enterCallbacks[f]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,p=f&&f.components[a];if(!p)return Pi(n.default,{Component:p,route:u});const m=f.props[a],E=m?m===!0?u.params:typeof m=="function"?m(u):m:null,I=On(p,q({},E,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Pi(n.default,{Component:I,route:u})||I}}});function Pi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ku=Lu;function Fu(e){const t=Su(e.routes,e),n=e.parseQuery||au,s=e.stringifyQuery||vi,r=e.history,i=dn(),o=dn(),l=dn(),c=Bl(bt);let u=bt;qt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=js.bind(null,b=>""+b),f=js.bind(null,Wa),p=js.bind(null,Pn);function m(b,D){let P,L;return Zo(b)?(P=t.getRecordMatcher(b),L=D):L=b,t.addRoute(L,P)}function E(b){const D=t.getRecordMatcher(b);D&&t.removeRoute(D)}function _(){return t.getRoutes().map(b=>b.record)}function I(b){return!!t.getRecordMatcher(b)}function T(b,D){if(D=q({},D||c.value),typeof b=="string"){const g=Hs(n,b,D.path),v=t.resolve({path:g.path},D),x=r.createHref(g.fullPath);return q(g,v,{params:p(v.params),hash:Pn(g.hash),redirectedFrom:void 0,href:x})}let P;if(b.path!=null)P=q({},b,{path:Hs(n,b.path,D.path).path});else{const g=q({},b.params);for(const v in g)g[v]==null&&delete g[v];P=q({},b,{params:f(g)}),D.params=f(D.params)}const L=t.resolve(P,D),$=b.hash||"";L.params=a(p(L.params));const d=Ja(s,q({},b,{hash:$a($),path:L.path})),h=r.createHref(d);return q({fullPath:d,hash:$,query:s===vi?uu(b.query):b.query||{}},L,{redirectedFrom:void 0,href:h})}function A(b){return typeof b=="string"?Hs(n,b,c.value.path):q({},b)}function M(b,D){if(u!==b)return on(ue.NAVIGATION_CANCELLED,{from:D,to:b})}function O(b){return V(b)}function U(b){return O(q(A(b),{replace:!0}))}function ie(b,D){const P=b.matched[b.matched.length-1];if(P&&P.redirect){const{redirect:L}=P;let $=typeof L=="function"?L(b,D):L;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=A($):{path:$},$.params={}),q({query:b.query,hash:b.hash,params:$.path!=null?{}:b.params},$)}}function V(b,D){const P=u=T(b),L=c.value,$=b.state,d=b.force,h=b.replace===!0,g=ie(P,L);if(g)return V(q(A(g),{state:typeof g=="object"?q({},$,g.state):$,force:d,replace:h}),D||P);const v=P;v.redirectedFrom=D;let x;return!d&&Ya(s,L,P)&&(x=on(ue.NAVIGATION_DUPLICATED,{to:v,from:L}),Ke(L,L,!0,!1)),(x?Promise.resolve(x):we(v,L)).catch(y=>lt(y)?lt(y,ue.NAVIGATION_GUARD_REDIRECT)?y:vt(y):W(y,v,L)).then(y=>{if(y){if(lt(y,ue.NAVIGATION_GUARD_REDIRECT))return V(q({replace:h},A(y.to),{state:typeof y.to=="object"?q({},$,y.to.state):$,force:d}),D||v)}else y=Ge(v,L,!0,h,$);return Ie(v,L,y),y})}function oe(b,D){const P=M(b,D);return P?Promise.reject(P):Promise.resolve()}function le(b){const D=Ut.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(b):b()}function we(b,D){let P;const[L,$,d]=fu(b,D);P=$s(L.reverse(),"beforeRouteLeave",b,D);for(const g of L)g.leaveGuards.forEach(v=>{P.push(wt(v,b,D))});const h=oe.bind(null,b,D);return P.push(h),ke(P).then(()=>{P=[];for(const g of i.list())P.push(wt(g,b,D));return P.push(h),ke(P)}).then(()=>{P=$s($,"beforeRouteUpdate",b,D);for(const g of $)g.updateGuards.forEach(v=>{P.push(wt(v,b,D))});return P.push(h),ke(P)}).then(()=>{P=[];for(const g of d)if(g.beforeEnter)if($e(g.beforeEnter))for(const v of g.beforeEnter)P.push(wt(v,b,D));else P.push(wt(g.beforeEnter,b,D));return P.push(h),ke(P)}).then(()=>(b.matched.forEach(g=>g.enterCallbacks={}),P=$s(d,"beforeRouteEnter",b,D,le),P.push(h),ke(P))).then(()=>{P=[];for(const g of o.list())P.push(wt(g,b,D));return P.push(h),ke(P)}).catch(g=>lt(g,ue.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function Ie(b,D,P){l.list().forEach(L=>le(()=>L(b,D,P)))}function Ge(b,D,P,L,$){const d=M(b,D);if(d)return d;const h=D===bt,g=qt?history.state:{};P&&(L||h?r.replace(b.fullPath,q({scroll:h&&g&&g.scroll},$)):r.push(b.fullPath,$)),c.value=b,Ke(b,D,P,h),vt()}let Le;function rt(){Le||(Le=r.listen((b,D,P)=>{if(!Ct.listening)return;const L=T(b),$=ie(L,Ct.currentRoute.value);if($){V(q($,{replace:!0,force:!0}),L).catch(xn);return}u=L;const d=c.value;qt&&ru(yi(d.fullPath,P.delta),As()),we(L,d).catch(h=>lt(h,ue.NAVIGATION_ABORTED|ue.NAVIGATION_CANCELLED)?h:lt(h,ue.NAVIGATION_GUARD_REDIRECT)?(V(q(A(h.to),{force:!0}),L).then(g=>{lt(g,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&!P.delta&&P.type===or.pop&&r.go(-1,!1)}).catch(xn),Promise.reject()):(P.delta&&r.go(-P.delta,!1),W(h,L,d))).then(h=>{h=h||Ge(L,d,!1),h&&(P.delta&&!lt(h,ue.NAVIGATION_CANCELLED)?r.go(-P.delta,!1):P.type===or.pop&&lt(h,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),Ie(L,d,h)}).catch(xn)}))}let Ft=dn(),pe=dn(),Q;function W(b,D,P){vt(b);const L=pe.list();return L.length?L.forEach($=>$(b,D,P)):console.error(b),Promise.reject(b)}function it(){return Q&&c.value!==bt?Promise.resolve():new Promise((b,D)=>{Ft.add([b,D])})}function vt(b){return Q||(Q=!b,rt(),Ft.list().forEach(([D,P])=>b?P(b):D()),Ft.reset()),b}function Ke(b,D,P,L){const{scrollBehavior:$}=e;if(!qt||!$)return Promise.resolve();const d=!P&&iu(yi(b.fullPath,0))||(L||!P)&&history.state&&history.state.scroll||null;return oo().then(()=>$(b,D,d)).then(h=>h&&su(h)).catch(h=>W(h,b,D))}const Oe=b=>r.go(b);let Vt;const Ut=new Set,Ct={currentRoute:c,listening:!0,addRoute:m,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:_,resolve:T,options:e,push:O,replace:U,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:pe.add,isReady:it,install(b){b.component("RouterLink",Nu),b.component("RouterView",ku),b.config.globalProperties.$router=Ct,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>ee(c)}),qt&&!Vt&&c.value===bt&&(Vt=!0,O(r.location).catch(L=>{}));const D={};for(const L in bt)Object.defineProperty(D,L,{get:()=>c.value[L],enumerable:!0});b.provide(Ss,Ct),b.provide(Ir,no(D)),b.provide(cr,c);const P=b.unmount;Ut.add(b),b.unmount=function(){Ut.delete(b),Ut.size<1&&(u=bt,Le&&Le(),Le=null,c.value=bt,Vt=!1,Q=!1),P()}}};function ke(b){return b.reduce((D,P)=>D.then(()=>le(P)),Promise.resolve())}return Ct}function Vu(){return Pe(Ss)}function il(e){return Pe(Ir)}const Uu="/admin/brand/mica-logo-glimmer-light.svg",ju="/admin/brand/mica-logo-glimmer.svg";/**
28
+ * @license @lucide/vue v1.37.0 - ISC
29
+ *
30
+ * This source code is licensed under the ISC license.
31
+ * See the LICENSE file in the root directory of this source tree.
32
+ */const Ii=e=>e==="";/**
33
+ * @license @lucide/vue v1.37.0 - ISC
34
+ *
35
+ * This source code is licensed under the ISC license.
36
+ * See the LICENSE file in the root directory of this source tree.
37
+ */const Hu=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
38
+ * @license @lucide/vue v1.37.0 - ISC
39
+ *
40
+ * This source code is licensed under the ISC license.
41
+ * See the LICENSE file in the root directory of this source tree.
42
+ */const Ni=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
43
+ * @license @lucide/vue v1.37.0 - ISC
44
+ *
45
+ * This source code is licensed under the ISC license.
46
+ * See the LICENSE file in the root directory of this source tree.
47
+ */const Bu=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase());/**
48
+ * @license @lucide/vue v1.37.0 - ISC
49
+ *
50
+ * This source code is licensed under the ISC license.
51
+ * See the LICENSE file in the root directory of this source tree.
52
+ */const $u=e=>{const t=Bu(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
53
+ * @license @lucide/vue v1.37.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ */var Ht={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
58
+ * @license @lucide/vue v1.37.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */const Gu=Symbol("lucide-icons");function Ku(){return Pe(Gu,{})}/**
63
+ * @license @lucide/vue v1.37.0 - ISC
64
+ *
65
+ * This source code is licensed under the ISC license.
66
+ * See the LICENSE file in the root directory of this source tree.
67
+ */const Wu=({name:e,iconNode:t,"icon-node":n,absoluteStrokeWidth:s,"absolute-stroke-width":r,strokeWidth:i,"stroke-width":o,size:l,color:c,...u},{slots:a})=>{const{size:f,color:p,strokeWidth:m=2,absoluteStrokeWidth:E=!1,class:_=""}=Ku(),I=re(()=>{const T=Ii(s)||Ii(r)||s===!0||r===!0||E===!0,A=i||o||m||Ht["stroke-width"];return T?Number(A)*24/Number(l??f??Ht.width):A});return On("svg",{...Ht,...u,width:l??f??Ht.width,height:l??f??Ht.height,stroke:c??p??Ht.stroke,"stroke-width":I.value,class:Hu("lucide",_,...e?[`lucide-${Ni($u(e))}-icon`,`lucide-${Ni(e)}`]:["lucide-icon"])},[...(t??n??[]).map(T=>On(...T)),...a.default?[a.default()]:[]])};/**
68
+ * @license @lucide/vue v1.37.0 - ISC
69
+ *
70
+ * This source code is licensed under the ISC license.
71
+ * See the LICENSE file in the root directory of this source tree.
72
+ */const yt=(e,t)=>(n,{slots:s,attrs:r})=>On(Wu,{...r,...n,iconNode:t,name:e},s.default?{default:s.default}:void 0);/**
73
+ * @license @lucide/vue v1.37.0 - ISC
74
+ *
75
+ * This source code is licensed under the ISC license.
76
+ * See the LICENSE file in the root directory of this source tree.
77
+ */const qu=[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],zu=yt("files",qu);/**
78
+ * @license @lucide/vue v1.37.0 - ISC
79
+ *
80
+ * This source code is licensed under the ISC license.
81
+ * See the LICENSE file in the root directory of this source tree.
82
+ */const Ju=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Yu=yt("image",Ju);/**
83
+ * @license @lucide/vue v1.37.0 - ISC
84
+ *
85
+ * This source code is licensed under the ISC license.
86
+ * See the LICENSE file in the root directory of this source tree.
87
+ */const Qu=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],Xu=yt("layout-dashboard",Qu);/**
88
+ * @license @lucide/vue v1.37.0 - ISC
89
+ *
90
+ * This source code is licensed under the ISC license.
91
+ * See the LICENSE file in the root directory of this source tree.
92
+ */const Zu=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],ef=yt("log-out",Zu);/**
93
+ * @license @lucide/vue v1.37.0 - ISC
94
+ *
95
+ * This source code is licensed under the ISC license.
96
+ * See the LICENSE file in the root directory of this source tree.
97
+ */const tf=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],nf=yt("menu",tf);/**
98
+ * @license @lucide/vue v1.37.0 - ISC
99
+ *
100
+ * This source code is licensed under the ISC license.
101
+ * See the LICENSE file in the root directory of this source tree.
102
+ */const sf=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],rf=yt("send",sf);/**
103
+ * @license @lucide/vue v1.37.0 - ISC
104
+ *
105
+ * This source code is licensed under the ISC license.
106
+ * See the LICENSE file in the root directory of this source tree.
107
+ */const of=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],lf=yt("settings",of);/**
108
+ * @license @lucide/vue v1.37.0 - ISC
109
+ *
110
+ * This source code is licensed under the ISC license.
111
+ * See the LICENSE file in the root directory of this source tree.
112
+ */const cf=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],af=yt("sliders-horizontal",cf);/**
113
+ * @license @lucide/vue v1.37.0 - ISC
114
+ *
115
+ * This source code is licensed under the ISC license.
116
+ * See the LICENSE file in the root directory of this source tree.
117
+ */const uf=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ff=yt("x",uf),ar="/api";class Zt extends Error{constructor(n,s,r,i=[]){super(r);kn(this,"status");kn(this,"code");kn(this,"issues");this.name="ApiError",this.status=n,this.code=s,this.issues=i}get isUnauthenticated(){return this.status===401}}function df(){const e=/(?:^|;\s*)mica_csrf=([^;]*)/.exec(document.cookie);return e!=null&&e[1]?decodeURIComponent(e[1]):""}async function ae(e,t={}){var u,a,f;const n=new URL(`${ar}${e}`,window.location.origin);for(const[p,m]of Object.entries(t.query??{}))m!==void 0&&m!==""&&n.searchParams.set(p,String(m));const s={},r=t.method??"GET";r!=="GET"&&(s["x-csrf-token"]=df());const i=t.body instanceof FormData;t.body!==void 0&&!i&&(s["content-type"]="application/json");let o;try{o=await fetch(n,{method:r,headers:s,credentials:"same-origin",signal:t.signal,body:i?t.body:t.body!==void 0?JSON.stringify(t.body):void 0})}catch(p){throw p.name==="AbortError"?p:new Zt(0,"network_error","Could not reach the server. Check your connection.")}if(o.status===204)return;const l=await o.text(),c=l?JSON.parse(l):null;if(!o.ok){const p=c;throw new Zt(o.status,((u=p==null?void 0:p.error)==null?void 0:u.code)??"error",((a=p==null?void 0:p.error)==null?void 0:a.message)??`Request failed (${o.status}).`,((f=p==null?void 0:p.error)==null?void 0:f.issues)??[])}return c}const zt={auth:{me:()=>ae("/auth/me"),config:()=>ae("/auth/config"),signInUrl:e=>`${ar}/auth/login?returnTo=${encodeURIComponent(e)}`,logout:()=>ae("/auth/logout",{method:"POST"})},schema:()=>ae("/admin/schema"),overview:()=>ae("/admin/overview"),system:()=>ae("/admin/system"),entries:{list:(e,t={})=>ae(`/admin/collections/${e}/entries`,{query:t}),get:(e,t)=>ae(`/admin/collections/${e}/entries/${t}`),create:(e,t)=>ae(`/admin/collections/${e}/entries`,{method:"POST",body:t}),update:(e,t,n)=>ae(`/admin/collections/${e}/entries/${t}`,{method:"PUT",body:n}),remove:(e,t)=>ae(`/admin/collections/${e}/entries/${t}`,{method:"DELETE"}),reorder:(e,t)=>ae(`/admin/collections/${e}/reorder`,{method:"POST",body:{slugs:t}}),suggestSlug:(e,t,n)=>ae(`/admin/collections/${e}/slug`,{query:{source:t,except:n}}),references:(e,t)=>ae(`/admin/collections/${e}/entries/${t}/references`)},singletons:{get:e=>ae(`/admin/singletons/${e}`),save:(e,t,n)=>ae(`/admin/singletons/${e}`,{method:"PUT",body:{data:t,revision:n}})},staging:{changes:()=>ae("/admin/changes"),publish:(e,t)=>ae("/admin/publish",{method:"POST",body:{message:e,expectedBase:t}}),push:()=>ae("/admin/publish/push",{method:"POST"}),discard:e=>ae("/admin/changes/discard",{method:"POST",body:{paths:e}}),compare:e=>ae(`/admin/changes/compare?${new URLSearchParams(e)}`)},media:{list:()=>ae("/admin/media"),upload:(e,t={})=>{const n=new FormData;for(const s of e)n.append("file",s);return t.accept&&n.append("accept",t.accept),t.directory&&n.append("directory",t.directory),ae("/admin/media",{method:"POST",body:n})},url:e=>`${ar}/admin/media/file/${e.split("/").map(encodeURIComponent).join("/")}`}},Ye=Ve(null);let Kn=null;function ol(){return{schema:re(()=>Ye.value),collections:re(()=>{var e;return((e=Ye.value)==null?void 0:e.collections)??[]}),singletons:re(()=>{var e;return((e=Ye.value)==null?void 0:e.singletons)??[]}),loaded:re(()=>Ye.value!==null),async load(e=!1){return Ye.value&&!e?Ye.value:(Kn??(Kn=zt.schema().then(t=>(Ye.value=t,Kn=null,t))),Kn)},collection(e){var t;return(t=Ye.value)==null?void 0:t.collections.find(n=>n.name===e)},singleton(e){var t;return(t=Ye.value)==null?void 0:t.singletons.find(n=>n.name===e)},reset(){Ye.value=null,Kn=null}}}const Bt=Ve(null),$t=Ve(!1),Gs=Ve(!1),Ks=Ve(null);function Rs(){return{identity:re(()=>Bt.value),isActive:re(()=>$t.value),checked:re(()=>Gs.value),config:re(()=>Ks.value),showsIdentity:re(()=>{var e;return((e=Ks.value)==null?void 0:e.authRequired)===!0}),async restore(){try{const e=await zt.auth.config();if(Ks.value=e,!e.authRequired){Bt.value=null,$t.value=!0;return}const t=await zt.auth.me();Bt.value=t.identity,$t.value=!0}catch(e){(!(e instanceof Zt)||!e.isUnauthenticated)&&console.error("Failed to restore session",e),Bt.value=null,$t.value=!1}finally{Gs.value=!0}},signIn(e="/admin/"){window.location.href=zt.auth.signInUrl(e)},async signOut(){let e=null;try{({endSession:e}=await zt.auth.logout())}finally{Bt.value=null,$t.value=!1}e&&(window.location.href=e)},clear(){Bt.value=null,$t.value=!1,Gs.value=!0}}}const Wn=Ve(null);let qn=null;function hf(){return{status:re(()=>Wn.value),pendingCount:re(()=>{var e;return((e=Wn.value)==null?void 0:e.changes.length)??0}),async refresh(){return qn??(qn=zt.staging.changes().then(e=>{Wn.value=e}).catch(()=>{}).finally(()=>{qn=null})),qn},reset(){Wn.value=null,qn=null}}}const pf={class:"flex min-h-full"},gf={class:"flex-1 space-y-5 overflow-y-auto px-2 py-3","aria-label":"Main"},mf=["aria-label"],_f={key:0},yf={key:1},vf={key:0,class:"border-t border-white/10 p-2"},bf={class:"flex items-center gap-2.5 rounded-md px-2 py-2"},Ef={class:"grid h-6 w-6 shrink-0 place-items-center rounded-full bg-accent text-[10px] font-semibold text-white","aria-hidden":"true"},xf={class:"min-w-0 flex-1"},wf={class:"block truncate text-xs font-medium text-white/80"},Af={class:"flex min-w-0 flex-1 flex-col"},Sf={class:"sticky top-0 z-10 flex h-14 items-center gap-3 border-b border-line bg-white/90 px-4 backdrop-blur lg:hidden"},Rf=["aria-expanded"],Cf={class:"min-w-0 flex-1 bg-surface"},Tf=ln({__name:"AppShell",setup(e){const t=il(),n=Vu(),s=Rs(),r=hf(),{collections:i,singletons:o}=ol(),l=Ve(!1);vn(()=>t.fullPath,()=>{l.value=!1,r.refresh()}),yo(()=>void r.refresh());const c=re(()=>{var f,p;return(((f=s.identity.value)==null?void 0:f.name)||((p=s.identity.value)==null?void 0:p.email)||"").split(/[\s@._-]+/).filter(Boolean).slice(0,2).map(m=>{var E;return((E=m[0])==null?void 0:E.toUpperCase())??""}).join("")||"?"});async function u(){await s.signOut(),await n.push({name:"login"})}return(a,f)=>{var m,E;const p=bo("RouterLink");return fe(),Me("div",pf,[l.value?(fe(),Me("div",{key:0,class:"fixed inset-0 z-20 bg-black/25 lg:hidden","aria-hidden":"true",onClick:f[0]||(f[0]=_=>l.value=!1)})):Kt("",!0),Z("aside",{id:"main-navigation",class:en(["fixed inset-y-0 left-0 z-30 flex w-[220px] shrink-0 flex-col border-r border-white/10 bg-[#111110] text-white transition-transform lg:static lg:translate-x-0",l.value?"translate-x-0":"-translate-x-full"])},[f[10]||(f[10]=Z("div",{class:"flex h-14 items-center border-b border-white/10 px-3"},[Z("img",{src:Uu,alt:"Mica",class:"h-7 w-auto"})],-1)),Z("nav",gf,[Z("div",null,[K(p,{to:{name:"dashboard"},class:"nav-link"},{default:at(()=>[K(ee(Xu),{size:14,"aria-hidden":"true"}),f[2]||(f[2]=It(" Overview ",-1))]),_:1}),K(p,{to:{name:"changes"},class:"nav-link"},{default:at(()=>[K(ee(rf),{size:14,"aria-hidden":"true"}),f[3]||(f[3]=Z("span",{class:"flex-1"},"Publish",-1)),ee(r).pendingCount.value>0?(fe(),Me("span",{key:0,class:"rounded-full bg-accent px-1.5 py-0.5 font-mono text-[10px] font-semibold leading-none text-white","aria-label":`${ee(r).pendingCount.value} pending change${ee(r).pendingCount.value===1?"":"s"}`},At(ee(r).pendingCount.value),9,mf)):Kt("",!0)]),_:1})]),ee(i).length?(fe(),Me("div",_f,[f[5]||(f[5]=Z("p",{class:"nav-heading"},"Content",-1)),(fe(!0),Me(Ee,null,Zs(ee(i),_=>(fe(),Rt(p,{key:_.name,to:{name:"collection",params:{collection:_.name}},class:"nav-link"},{default:at(()=>[K(ee(zu),{size:14,"aria-hidden":"true"}),It(" "+At(_.label),1)]),_:2},1032,["to"]))),128)),K(p,{to:{name:"media"},class:"nav-link"},{default:at(()=>[K(ee(Yu),{size:14,"aria-hidden":"true"}),f[4]||(f[4]=It(" Media ",-1))]),_:1})])):Kt("",!0),ee(o).length?(fe(),Me("div",yf,[f[6]||(f[6]=Z("p",{class:"nav-heading"},"Settings",-1)),(fe(!0),Me(Ee,null,Zs(ee(o),_=>(fe(),Rt(p,{key:_.name,to:{name:"singleton",params:{name:_.name}},class:"nav-link"},{default:at(()=>[K(ee(af),{size:14,"aria-hidden":"true"}),It(" "+At(_.label),1)]),_:2},1032,["to"]))),128))])):Kt("",!0),Z("div",null,[f[8]||(f[8]=Z("p",{class:"nav-heading"},"Deployment",-1)),K(p,{to:{name:"system"},class:"nav-link"},{default:at(()=>[K(ee(lf),{size:14,"aria-hidden":"true"}),f[7]||(f[7]=It(" System ",-1))]),_:1})])]),ee(s).showsIdentity.value?(fe(),Me("div",vf,[Z("div",bf,[Z("span",Ef,At(c.value),1),Z("span",xf,[Z("span",wf,At(((m=ee(s).identity.value)==null?void 0:m.name)||((E=ee(s).identity.value)==null?void 0:E.email)),1)])]),Z("button",{type:"button",class:"sidebar-signout mt-1 w-full",onClick:u},[K(ee(ef),{size:14,"aria-hidden":"true"}),f[9]||(f[9]=It(" Sign out ",-1))])])):Kt("",!0)],2),Z("div",Af,[Z("header",Sf,[Z("button",{type:"button",class:"btn-ghost -ml-1 px-2","aria-expanded":l.value,"aria-controls":"main-navigation",onClick:f[1]||(f[1]=_=>l.value=!l.value)},[K(ee(nf),{size:20,"aria-hidden":"true"}),f[11]||(f[11]=Z("span",{class:"sr-only"},"Toggle navigation",-1))],8,Rf),f[12]||(f[12]=Z("img",{src:ju,alt:"Mica",class:"h-7 w-auto"},null,-1))]),Z("main",Cf,[_c(a.$slots,"default",{},void 0,!0)])])])}}}),Of=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Pf=Of(Tf,[["__scopeId","data-v-b563a92f"]]),In=Ve([]);let If=1;function Ws(e,t,n){const s=If++;return In.value=[...In.value,{id:s,kind:e,message:t,detail:n}],e!=="error"&&setTimeout(()=>ll(s),4e3),s}function ll(e){In.value=In.value.filter(t=>t.id!==e)}function cl(){return{toasts:Xn(In),success:(e,t)=>Ws("success",e,t),error:(e,t)=>Ws("error",e,t),info:(e,t)=>Ws("info",e,t),dismiss:ll}}const Nf={class:"pointer-events-none fixed inset-x-0 bottom-0 z-50 flex flex-col items-center gap-2 p-4 sm:items-end",role:"status","aria-live":"assertive"},Mf={class:"min-w-0 flex-1"},Df={class:"text-sm font-medium"},Lf={key:0,class:"mt-0.5 text-sm opacity-80"},kf=["onClick"],Ff=ln({__name:"ToastStack",setup(e){const{toasts:t,dismiss:n}=cl(),s={success:"border-success/15 bg-success-soft text-success",error:"border-danger/15 bg-danger-soft text-danger",info:"border-info/15 bg-info-soft text-info"},r={success:"bg-success",error:"bg-danger",info:"bg-info"};return(i,o)=>(fe(),Me("div",Nf,[(fe(!0),Me(Ee,null,Zs(ee(t),l=>(fe(),Me("div",{key:l.id,class:en(["pointer-events-auto flex w-full max-w-sm items-start gap-3 rounded-md border p-4 shadow-lg",s[l.kind]])},[Z("span",{class:en(["mt-1.5 h-2 w-2 shrink-0 rounded-full",r[l.kind]]),"aria-hidden":"true"},null,2),Z("div",Mf,[Z("p",Df,At(l.message),1),l.detail?(fe(),Me("p",Lf,At(l.detail),1)):Kt("",!0)]),Z("button",{type:"button",class:"-m-1 shrink-0 rounded p-1 opacity-60 hover:opacity-100",onClick:c=>ee(n)(l.id)},[K(ee(ff),{size:16,"aria-hidden":"true"}),o[0]||(o[0]=Z("span",{class:"sr-only"},"Dismiss",-1))],8,kf)],2))),128))]))}}),Vf=ln({__name:"App",setup(e){const t=il(),n=Rs(),s=re(()=>n.isActive.value&&!t.meta.public);return(r,i)=>{const o=bo("RouterView");return fe(),Me(Ee,null,[K(Ff),s.value?(fe(),Rt(Pf,{key:0},{default:at(()=>[K(o,null,{default:at(({Component:l,route:c})=>[(fe(),Rt(mc(l),{key:c.fullPath}))]),_:1})]),_:1})):(fe(),Rt(o,{key:1}))],64)}}}),Uf="modulepreload",jf=function(e){return"/admin/"+e},Mi={},Qe=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let o=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=o(n.map(u=>{if(u=jf(u),u in Mi)return;Mi[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=a?"stylesheet":Uf,a||(p.as="script"),p.crossOrigin="",p.href=u,c&&p.setAttribute("nonce",c),document.head.appendChild(p),a)return new Promise((m,E)=>{p.addEventListener("load",m),p.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Hf=[{path:"/login",name:"login",component:()=>Qe(()=>import("./LoginView-Dv13IpFY.js"),[]),meta:{public:!0,title:"Sign in"}},{path:"/",name:"dashboard",component:()=>Qe(()=>import("./DashboardView-4pZUadIz.js"),__vite__mapDeps([0,1])),meta:{title:"Overview"}},{path:"/collections/:collection",name:"collection",component:()=>Qe(()=>import("./CollectionView-CIccDFfw.js"),__vite__mapDeps([2,1,3,4,5])),props:!0},{path:"/collections/:collection/new",name:"entry-new",component:()=>Qe(()=>import("./EntryView-CQi6YXUu.js"),__vite__mapDeps([6,7,8,9,10,4,1])),props:!0},{path:"/collections/:collection/:slug",name:"entry",component:()=>Qe(()=>import("./EntryView-CQi6YXUu.js"),__vite__mapDeps([6,7,8,9,10,4,1])),props:!0},{path:"/singletons/:name",name:"singleton",component:()=>Qe(()=>import("./SingletonView-Co8aaJIy.js"),__vite__mapDeps([11,8,9,10,4,1])),props:!0},{path:"/media",name:"media",component:()=>Qe(()=>import("./MediaView-Dt4yoGnD.js"),__vite__mapDeps([12,1,3])),meta:{title:"Media"}},{path:"/changes",name:"changes",component:()=>Qe(()=>import("./ChangesView-CyQiOMWc.js"),__vite__mapDeps([13,9,7,1])),meta:{title:"Publish"}},{path:"/system",name:"system",component:()=>Qe(()=>import("./SystemView-CUIAxj3j.js"),__vite__mapDeps([14,1,3,10,15])),meta:{title:"System"}},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>Qe(()=>import("./NotFoundView-Cc_VGwBY.js"),[]),meta:{title:"Not found"}}],Cs=Fu({history:gu("/admin/"),routes:Hf,scrollBehavior:(e,t,n)=>n??{top:0}});Cs.beforeEach(async e=>{const t=Rs();return t.checked.value||await t.restore(),e.meta.public?t.isActive.value?{name:"dashboard"}:!0:t.isActive.value?(await ol().load(),!0):{name:"login",query:e.fullPath==="/"?{}:{redirect:e.fullPath}}});Cs.afterEach(e=>{const t=typeof e.meta.title=="string"?e.meta.title:null;document.title=t?`${t} · Mica`:"Mica"});const Nr=Pa(Vf);Nr.config.errorHandler=e=>{if(e instanceof Zt&&e.isUnauthenticated){Rs().clear(),Cs.push({name:"login"});return}console.error(e),cl().error(e instanceof Zt?e.message:"Something went wrong.",e instanceof Error&&!(e instanceof Zt)?e.message:void 0)};Nr.use(Cs);Nr.mount("#app");export{Zt as A,Vu as B,en as C,yt as D,_c as E,Ee as F,pr as G,oo as H,fc as I,On as J,Kf as K,Hl as L,Bl as M,$f as N,Yc as O,qf as P,Qe as Q,Wc as R,mc as S,Wf as T,bs as U,Qf as V,Xf as W,ff as X,Of as Y,zf as Z,ju as _,Z as a,Kt as b,Me as c,ln as d,It as e,il as f,re as g,fe as h,zt as i,K as j,Zs as k,ee as l,hf as m,cl as n,yo as o,bo as p,vn as q,Ve as r,Gf as s,At as t,Rs as u,Jf as v,at as w,Rt as x,ol as y,Yf as z};
118
+ //# sourceMappingURL=index-CDFABwhE.js.map