@vitejs/devtools-self-inspect 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/4VjG3K1W.js +1 -0
- package/dist/public/_nuxt/Csix_0rp.js +1 -0
- package/dist/public/_nuxt/D0BZlWlx.js +1 -0
- package/dist/public/_nuxt/DUt6KOSZ.js +1 -0
- package/dist/public/_nuxt/DXqPauvN.js +1 -0
- package/dist/public/_nuxt/DcJIPgjU.js +1 -0
- package/dist/public/_nuxt/DunsOLTA.js +1 -0
- package/dist/public/_nuxt/bSwpE1WJ.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/8481c907-400f-4e6c-9c49-b05c1e309853.json +1 -0
- package/dist/public/_nuxt/error-404.DtuC41lL.css +1 -0
- package/dist/public/_nuxt/error-500.CcphR6Fr.css +1 -0
- package/dist/public/_nuxt/mwcRRnI8.js +1 -0
- package/dist/public/_nuxt/wRcT28wR.js +7 -0
- package/dist/public/index.html +1 -1
- package/package.json +4 -4
- package/dist/public/_nuxt/8b1YcwWm.js +0 -1
- package/dist/public/_nuxt/BUjSnpQ4.js +0 -5
- package/dist/public/_nuxt/CCp9lceM.js +0 -1
- package/dist/public/_nuxt/CRn9xgBn.js +0 -1
- package/dist/public/_nuxt/CybvmQzD.js +0 -1
- package/dist/public/_nuxt/D-ldX1cO.js +0 -1
- package/dist/public/_nuxt/D41lAbyM.js +0 -1
- package/dist/public/_nuxt/DJzvMouO.js +0 -1
- package/dist/public/_nuxt/DT0uQFPc.js +0 -1
- package/dist/public/_nuxt/QYn_nkX2.js +0 -1
- package/dist/public/_nuxt/XCrfGxBK.js +0 -1
- package/dist/public/_nuxt/builds/meta/d9b82df5-fe2c-406b-bd7f-69f3e445a3f3.json +0 -1
- package/dist/public/_nuxt/c51qs1uH.js +0 -3
- package/dist/public/_nuxt/error-404.cCAauWc2.css +0 -1
- package/dist/public/_nuxt/error-500.BFrkx7fE.css +0 -1
- package/dist/public/_nuxt/vVSuVV04.js +0 -1
- /package/dist/public/_nuxt/{CHHO6nw6.js → CpYm6ps0.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,C as n,D as r,F as i,Ft as a,G as o,H as s,I as c,It as l,J as u,K as d,L as f,Nt as p,O as m,S as h,U as g,W as _,X as v,Z as y,b,ct as x,dt as S,et as C,h as w,mt as T,q as E,v as D,w as O,x as k}from"./c51qs1uH.js";import{i as A,o as j}from"./vVSuVV04.js";import{n as M,r as N,t as P}from"#entry";var F=0;function I(){return`node_${++F}`}function L(e){return e===null?`null`:Array.isArray(e)?`array`:typeof e}function R(e,t,n,r,i){let a=I(),o=n?`${n}/${e}`:`/${e}`,s=L(t),c={id:a,key:e,path:o,type:s,value:s===`object`||s===`array`?void 0:t,children:[],parentId:r};if(i.set(a,c),s===`object`&&t!==null){let e=t;c.children=Object.keys(e).map(t=>R(t,e[t],o,a,i))}else s===`array`&&(c.children=t.map((e,t)=>R(String(t),e,o,a,i)));return c}function z(e){let t=new Map,n=L(e),r={id:I(),key:``,path:`/`,type:n,value:n===`object`||n===`array`?void 0:e,children:[],parentId:null};if(t.set(r.id,r),n===`object`&&e!==null){let n=e;r.children=Object.keys(n).map(e=>R(e,n[e],``,r.id,t))}else n===`array`&&(r.children=e.map((e,n)=>R(String(n),e,``,r.id,t)));return{root:r,nodesById:t}}function B(e){switch(e.type){case`object`:{let t={};for(let n of e.children)t[n.key]=B(n);return t}case`array`:return e.children.map(e=>B(e));default:return e.value}}function V(e,t,n,r){let i=n?`${n}/${t}`:`/${t}`;return{...e,key:t,path:i,parentId:r,children:e.children.map((t,n)=>V(t,e.type===`array`?String(n):t.key,i,e.id))}}function H(e,t,n){let r=e.nodesById.get(t);for(;r;){if(r.id===n)return!0;r=r.parentId?e.nodesById.get(r.parentId):void 0}return!1}function U(e){let t=new Map;function n(e){t.set(e.id,e);for(let t of e.children)n(t)}return n(e),t}function W(e,t){let n=t?`${t}/${e.key}`:`/${e.key}`;return e.path===n&&e.children.length===0?e:{...e,path:n,children:e.children.map(e=>W(e,n))}}function G(e,t,n){let r=[],i=e.nodesById.get(t);for(;i;)r.unshift(i.id),i=i.parentId?e.nodesById.get(i.parentId):void 0;if(r.length===0)return e;function a(e,t){if(t===r.length-1)return n(e);let i=r[t+1];return{...e,children:e.children.map(e=>e.id===i?a(e,t+1):e)}}let o=a(e.root,0);return{root:o,nodesById:U(o)}}function K(e){if(e.type!==`array`)return e;let t=e.path===`/`?``:e.path;return{...e,children:e.children.map((e,n)=>{let r=String(n);return e.key===r?e:W({...e,key:r},t)})}}function ee(e,t,n){if(!e.nodesById.get(t))return e;let r=L(n);return r!==`object`&&r!==`array`?G(e,t,e=>({...e,type:r,value:n,children:[]})):G(e,t,e=>{let t=e.path.split(`/`).slice(0,-1).join(`/`)||``,r=new Map;return{...R(e.key,n,t,e.parentId,r),id:e.id}})}function te(e,t,n){let r=e.nodesById.get(t);if(!r||!r.parentId)return e;let i=e.nodesById.get(r.parentId);return!i||i.type!==`object`?e:G(e,t,e=>{let t=`${i.path===`/`?``:i.path}/${n}`,r={...e,key:n,path:t};return r.children.length>0&&(r.children=r.children.map(e=>W(e,t))),r})}function ne(e,t,n,r){return e.nodesById.get(t)?G(e,t,e=>{let t=R(n,r,e.path===`/`?``:e.path,e.id,new Map);return{...e,children:[...e.children,t]}}):e}function re(e,t,n,r){return e.nodesById.get(t)?G(e,t,e=>{let t=e.path===`/`?``:e.path,i=V(n,e.type===`array`?String(r):n.key,t,e.id),a=[...e.children];return a.splice(r,0,i),K({...e,children:a})}):e}function ie(e,t){let n=e.nodesById.get(t);return!n||!n.parentId?e:G(e,n.parentId,e=>{let n=e.children.filter(e=>e.id!==t);return K({...e,children:n})})}function ae(e,t,n,r,i){if(!e.nodesById.get(t))return e;let a=new Set(n);return G(e,t,e=>{let t=e.children.filter(e=>!a.has(e.id)),o=t.findIndex(e=>e.id===r);if(o===-1)if(a.has(r)){let n=e.children.findIndex(e=>e.id===r),a=new Map(e.children.map((e,t)=>[e.id,t]));i===`after`?(o=t.findIndex(e=>(a.get(e.id)??-1)>n),o===-1&&(o=t.length)):(o=t.findIndex(e=>(a.get(e.id)??-1)>=n),o===-1&&(o=t.length))}else o=i===`after`?t.length:0;else i===`after`&&o++;let s=n.map(t=>e.children.find(e=>e.id===t)).filter(e=>e!==void 0),c=[...t];return c.splice(o,0,...s),K({...e,children:c})})}function oe(e,t){switch(t){case`string`:return e==null?``:typeof e==`object`?JSON.stringify(e):String(e);case`number`:{let t=Number(e);return isNaN(t)?0:t}case`boolean`:return!!e;case`null`:return null;case`object`:if(typeof e==`object`&&e&&!Array.isArray(e))return e;if(Array.isArray(e)){let t={};return e.forEach((e,n)=>{t[String(n)]=e}),t}return{};case`array`:return Array.isArray(e)?e:typeof e==`object`&&e?Object.values(e):e==null?[]:[e];default:return e}}function se(e,t,n){let r=e.nodesById.get(t);return r?ee(e,t,oe(B(r),n)):e}function q(e,t){let n=e.nodesById.get(t);if(!n||!n.parentId||!e.nodesById.get(n.parentId))return e;let r=B(n);return G(e,n.parentId,e=>{let i=e.children.findIndex(e=>e.id===t),a=e.path===`/`?``:e.path,o=R(e.type===`array`?String(i+1):`${n.key}_copy`,structuredClone(r),a,e.id,new Map),s=[...e.children];return s.splice(i+1,0,o),K({...e,children:s})})}var ce=100,le=class{constructor(){this.stack=[],this.cursor=-1}push(e){this.stack=this.stack.slice(0,this.cursor+1),this.stack.push(e),this.stack.length>ce?this.stack.shift():this.cursor++}undo(){return this.canUndo?(this.cursor--,this.stack[this.cursor]):null}redo(){return this.canRedo?(this.cursor++,this.stack[this.cursor]):null}get canUndo(){return this.cursor>0}get canRedo(){return this.cursor<this.stack.length-1}get current(){return this.stack[this.cursor]??null}};function ue(e,t){if(!t.startsWith(`#/`))return;let n=t.slice(2).split(`/`),r=e;for(let e of n){if(typeof r!=`object`||!r)return;r=r[e]}return r}function J(e,t,n){let r=n??new Set;if(e.$ref){if(r.has(e.$ref))return e;r.add(e.$ref);let n=ue(t,e.$ref);return n?J(n,t,r):e}return e.allOf&&e.allOf.length>0?de(e,t,r):e}function de(e,t,n){let r={...e};delete r.allOf;for(let i of e.allOf){let e=J(i,t,new Set(n));e.type&&!r.type&&(r.type=e.type),e.properties&&(r.properties={...r.properties,...e.properties}),e.required&&(r.required=[...new Set([...r.required??[],...e.required])]),e.additionalProperties!==void 0&&r.additionalProperties===void 0&&(r.additionalProperties=e.additionalProperties),e.items&&!r.items&&(r.items=e.items),e.description&&!r.description&&(r.description=e.description),e.title&&!r.title&&(r.title=e.title),e.enum&&!r.enum&&(r.enum=e.enum),e.minimum!==void 0&&r.minimum===void 0&&(r.minimum=e.minimum),e.maximum!==void 0&&r.maximum===void 0&&(r.maximum=e.maximum),e.minLength!==void 0&&r.minLength===void 0&&(r.minLength=e.minLength),e.maxLength!==void 0&&r.maxLength===void 0&&(r.maxLength=e.maxLength),e.pattern&&!r.pattern&&(r.pattern=e.pattern),e.format&&!r.format&&(r.format=e.format)}return r}function fe(e,t,n){let r=n??e,i=t.split(`/`).filter(Boolean),a=J(e,r);for(let e of i){if(!a)return;if(a=J(a,r),a.properties?.[e]){a=J(a.properties[e],r);continue}if(a.patternProperties){let t=Object.entries(a.patternProperties).find(([t])=>{try{return new RegExp(t).test(e)}catch{return!1}});if(t){a=J(t[1],r);continue}}if(a.additionalProperties&&typeof a.additionalProperties==`object`){a=J(a.additionalProperties,r);continue}if(a.items)if(Array.isArray(a.items)){let t=Number(e);if(!isNaN(t)&&a.items[t]){a=J(a.items[t],r);continue}}else{a=J(a.items,r);continue}if(a.anyOf||a.oneOf){let t=a.anyOf??a.oneOf??[],n;for(let i of t)if(n=fe(J(i,r),e,r),n)break;if(n){a=n;continue}return}return}return a}function pe(e,t){if(!t.trim())return[];let n=[],r=t.toLowerCase();function i(e){e.key&&e.key.toLowerCase().includes(r)&&n.push({nodeId:e.id,field:`key`}),e.value!==void 0&&e.value!==null&&String(e.value).toLowerCase().includes(r)&&n.push({nodeId:e.id,field:`value`});for(let t of e.children)i(t)}return i(e.root),n}function me(e,t){let n=new Set;for(let r of t){let t=e.nodesById.get(r);for(;t&&t.parentId;)n.add(t.parentId),t=e.nodesById.get(t.parentId)}return n}function he(e,t,n=``){let r=[];if(e===t)return r;if(e===null||t===null||typeof e!=typeof t||Array.isArray(e)!==Array.isArray(t))return n?r.push({path:n,type:`changed`,oldValue:e,newValue:t}):ge(e,t,n,r),r;if(typeof e!=`object`)return e!==t&&r.push({path:n||`/`,type:`changed`,oldValue:e,newValue:t}),r;if(Array.isArray(e)&&Array.isArray(t)){let i=Math.max(e.length,t.length);for(let a=0;a<i;a++){let i=n?`${n}/${a}`:`/${a}`;a>=e.length?r.push({path:i,type:`added`,newValue:t[a]}):a>=t.length?r.push({path:i,type:`removed`,oldValue:e[a]}):r.push(...he(e[a],t[a],i))}return r}return ge(e,t,n,r),r}function ge(e,t,n,r){let i=typeof e==`object`&&e&&!Array.isArray(e)?e:{},a=typeof t==`object`&&t&&!Array.isArray(t)?t:{},o=new Set([...Object.keys(i),...Object.keys(a)]);for(let e of o){let t=n?`${n}/${e}`:`/${e}`,o=e in i,s=e in a;!o&&s?r.push({path:t,type:`added`,newValue:a[e]}):o&&!s?r.push({path:t,type:`removed`,oldValue:i[e]}):r.push(...he(i[e],a[e],t))}}function Y(e,t){let n=[];function r(e){if(n.push(e),t(e.id)&&(e.type===`object`||e.type===`array`))for(let t of e.children)r(t)}return r(e),n}var _e=[`name`,`type`,`title`,`id`,`label`,`key`];function X(e,t){if(e.parentId===null)return`/`;if(t.nodesById.get(e.parentId)?.type!==`array`||e.type!==`object`)return e.key;for(let t of _e){let n=e.children.find(e=>e.key===t);if(n?.value!=null&&n.value!==``)return String(n.value)}return e.key}function ve(e){let t=[e.id];for(let n of e.children)t.push(...ve(n));return t}var Z={"--vj-bg":`#1e1e1e`,"--vj-bg-panel":`#252526`,"--vj-bg-hover":`#2a2d2e`,"--vj-bg-selected":`#2a5a1e`,"--vj-bg-selected-muted":`#2a2d2e`,"--vj-bg-match":`#3a3520`,"--vj-bg-match-active":`#51502b`,"--vj-border":`#333333`,"--vj-border-subtle":`#2a2a2a`,"--vj-text":`#cccccc`,"--vj-text-muted":`#888888`,"--vj-text-dim":`#666666`,"--vj-text-dimmer":`#555555`,"--vj-string":`#ce9178`,"--vj-number":`#b5cea8`,"--vj-boolean":`#569cd6`,"--vj-accent":`#007acc`,"--vj-accent-muted":`#094771`,"--vj-input-bg":`#3c3c3c`,"--vj-input-border":`#555555`,"--vj-error":`#f48771`,"--vj-font":`monospace`,"--vj-input-font-size":`13px`},ye=Object.freeze(new Set),Q=()=>({draggedNodeIds:ye,dropTargetNodeId:null,dropPosition:null});function be(e,t){let n=[];function r(e){t.has(e.id)&&n.push(e.id);for(let t of e.children)r(t)}return r(e),n}function xe(e,t){let{draggedNodeIds:n,dropTargetNodeId:r,dropPosition:i}=t;if(n.size===0||!r||!i)return null;let a=e.nodesById.get(r);if(!a||!a.parentId)return null;for(let t of n)if(H(e,r,t))return null;let o=a.parentId,s=e.nodesById.get(o);if(!s)return null;let c=s.children.filter(e=>n.has(e.id)).map(e=>e.id);if(c.length===n.size&&[...n].every(t=>e.nodesById.get(t)?.parentId===o))return ae(e,o,c,r,i);let l=be(e.root,n),u=l.map(t=>e.nodesById.get(t)).filter(e=>!!e&&e.parentId!==null).map(e=>structuredClone(e)),d=e;for(let e of[...l].reverse())d.nodesById.has(e)&&(d=ie(d,e));let f=d.nodesById.get(r);if(!f||!f.parentId)return null;let p=d.nodesById.get(f.parentId);if(!p)return null;let m=p.children.findIndex(e=>e.id===r);i===`after`&&m++;for(let e=0;e<u.length;e++)d=re(d,p.id,u[e],m+e);return d}function Se(e,t,n){let r=document.createElement(`div`);r.textContent=`${t} selected`;let i=document.querySelector(`[data-form-container], [role='tree']`),a=i?getComputedStyle(i):null,o=a?.getPropertyValue(`--vj-bg-selected`).trim()||Z[`--vj-bg-selected`],s=a?.getPropertyValue(`--vj-text-selected`).trim()||a?.getPropertyValue(`--vj-text`).trim()||Z[`--vj-text`],c=a?.getPropertyValue(`--vj-font`).trim()||Z[`--vj-font`];r.style.cssText=[`position:fixed`,`top:-1000px`,`left:-1000px`,`padding:4px 12px`,`background:${o}`,`color:${s}`,`font-family:${c}`,`font-size:13px`,`border-radius:4px`,`white-space:nowrap`,`pointer-events:none`].join(`;`),document.body.appendChild(r),e.setDragImage(r,0,14),requestAnimationFrame(()=>r.remove())}function Ce(e,t,n){if(!e)return;let r=fe(e,n,t);if(r)return J(r,t??e)}function we(e){return e.type===`boolean`||e.type===`null`?`var(--vj-boolean, #569cd6)`:e.type===`number`?`var(--vj-number, #b5cea8)`:`var(--vj-string, #ce9178)`}function Te(e){return e.type===`null`?`null`:e.type===`boolean`?String(e.value):e.value===null||e.value===void 0?``:String(e.value)}function Ee(e,t,n){return!t||!e.parentId?!1:(Ce(t,n,e.path.split(`/`).slice(0,-1).join(`/`)||`/`)?.required)?.includes(e.key)??!1}function De(e,t,n){let r=Array.isArray(t)?t[0]:t;if(r===`boolean`||e===`true`||e===`false`)return e===`true`;if(e===`null`)return null;if(r===`number`||r===`integer`||n===`number`){let t=Number(e);return isNaN(t)?e:t}return e}var Oe=Symbol(`StudioContext`);function ke(e,t,n){if(!t)return null;let r=e.nodesById.get(t);if(!r)return null;for(;r;){let t=r.parentId?e.nodesById.get(r.parentId):void 0,i=t?t.children:[e.root],a=new Set(i.map(e=>e.id));if(!i.every(e=>n.has(e.id))||!t||!t.parentId)return a;r=t}return null}function Ae(e,t,n){let r=e.findIndex(e=>e.id===t),i=e.findIndex(e=>e.id===n);if(r===-1||i===-1)return null;let a=Math.min(r,i),o=Math.max(r,i),s=new Set;for(let t=a;t<=o;t++)s.add(e[t].id);return s}function je(e,t,n){let r=[...t].filter(n=>{let r=e.nodesById.get(n);if(!r||r.parentId===null)return!1;let i=e.nodesById.get(r.parentId);for(;i;){if(t.has(i.id))return!1;i=i.parentId?e.nodesById.get(i.parentId):void 0}return!0});if(r.length===0)return{newTree:e,nextFocusId:null};let i=n.findIndex(e=>t.has(e.id)),a=e;for(let e of r)a.nodesById.has(e)&&(a=ie(a,e));let o=null;for(let e=i;e<n.length;e++){let r=n[e].id;if(!t.has(r)&&a.nodesById.has(r)){o=r;break}}if(!o)for(let e=i-1;e>=0;e--){let r=n[e].id;if(!t.has(r)&&a.nodesById.has(r)){o=r;break}}return{newTree:a,nextFocusId:o}}var Me=t({__name:`VisualJson`,props:{value:{type:[String,Number,Boolean,null,Array,Object]},schema:{default:null}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=S(z(n.value)),a=S(null),c=S(new Set),l=S(null),u=S(null),d=S(new Set([i.value.root.id])),f=b(()=>Y(i.value.root,e=>d.value.has(e))),p=null,m=new le,h=S(0),_=b(()=>(h.value,m.canUndo)),v=b(()=>(h.value,m.canRedo)),x=S(``),C=S([]),w=S(0),T=b(()=>new Set(C.value.map(e=>e.nodeId))),D=!1;m.push(i.value);function O(e){a.value=e,c.value=e?new Set([e]):new Set,l.value=e,u.value=e}y(()=>n.value,e=>{if(D){D=!1;return}let t=z(e);i.value=t,d.value=new Set([t.root.id]),O(null),m=new le,m.push(t),h.value++,x.value=``,C.value=[],w.value=0},{flush:`sync`}),y(i,e=>{if(!x.value.trim())return;let t=pe(e,x.value);C.value=t,w.value=Math.min(w.value,Math.max(t.length-1,0))},{flush:`sync`});function k(e){i.value=e,m.push(e),h.value++,D=!0,r(`change`,B(e.root))}function A(){let e=m.undo();e&&(i.value=e,h.value++,D=!0,r(`change`,B(e.root)))}function j(){let e=m.redo();e&&(i.value=e,h.value++,D=!0,r(`change`,B(e.root)))}function M(e){let t=e.metaKey||e.ctrlKey;t&&e.key===`z`&&!e.shiftKey?(e.preventDefault(),A()):(t&&e.key===`z`&&e.shiftKey||t&&e.key===`y`)&&(e.preventDefault(),j())}return s(()=>document.addEventListener(`keydown`,M)),g(()=>document.removeEventListener(`keydown`,M)),o(Oe,{state:{tree:i,focusedNodeId:a,selectedNodeIds:c,anchorNodeId:l,drillDownNodeId:u,expandedNodeIds:d,schema:b(()=>n.schema??null),searchQuery:x,searchMatches:C,searchMatchIndex:w,searchMatchNodeIds:T,canUndo:_,canRedo:v},actions:{setTree:k,selectNode(e){a.value=e,c.value=e?new Set([e]):new Set,l.value=e},selectAndDrillDown:O,toggleNodeSelection(e){let t=new Set(c.value);t.has(e)?t.delete(e):t.add(e),c.value=t,t.size===0?(a.value=null,l.value=null):(a.value=e,l.value=e)},selectNodeRange(e){let t=p??f.value,n=l.value;if(!n){a.value=e,c.value=new Set([e]),l.value=e;return}let r=Ae(t,n,e);if(!r){a.value=e,c.value=new Set([e]),l.value=e;return}c.value=r,a.value=e},setSelection(e,t,n){a.value=e,c.value=t,l.value=n},setVisibleNodesOverride(e){p=e},drillDown(e){u.value=e},toggleExpand(e){let t=new Set(d.value);t.has(e)?t.delete(e):t.add(e),d.value=t},expandNode(e){let t=new Set(d.value);t.add(e),d.value=t},collapseNode(e){let t=new Set(d.value);t.delete(e),d.value=t},expandAll(){d.value=new Set(ve(i.value.root))},collapseAll(){d.value=new Set([i.value.root.id])},undo:A,redo:j,setSearchQuery(e){if(x.value=e,!e.trim()){C.value=[],w.value=0;return}let t=pe(i.value,e);if(C.value=t,w.value=0,t.length>0){let e=me(i.value,t.map(e=>e.nodeId)),n=new Set(d.value);for(let t of e)n.add(t);d.value=n,O(t[0].nodeId)}},nextSearchMatch(){if(C.value.length===0)return;let e=(w.value+1)%C.value.length;w.value=e,O(C.value[e].nodeId)},prevSearchMatch(){if(C.value.length===0)return;let e=(w.value-1+C.value.length)%C.value.length;w.value=e,O(C.value[e].nodeId)}}}),(e,t)=>E(e.$slots,`default`)}});function $(){let e=i(Oe);if(!e)throw Error(`useStudio must be used within a <VisualJson> provider`);return e}function Ne(e,t){let{state:n,actions:r}=$(),i=S(Q());function a(e){let n;n=t.value.size>0&&t.value.has(e)?t.value:new Set([e]),i.value={draggedNodeIds:n,dropTargetNodeId:null,dropPosition:null}}function o(e,t){let r=i.value.draggedNodeIds;for(let t of r)if(e===t||H(n.tree.value,e,t))return;i.value={...i.value,dropTargetNodeId:e,dropPosition:t}}function s(t,n){if(n===`before`){let n=e.value.findIndex(e=>e.id===t);if(n>0){o(e.value[n-1].id,`after`);return}}o(t,n)}function c(){i.value=Q()}function l(){let e=xe(n.tree.value,i.value);e&&r.setTree(e),i.value=Q()}return{dragState:i,handleDragStart:a,handleDragOver:s,handleDragEnd:c,handleDrop:l}}var Pe=[`aria-selected`,`aria-expanded`,`draggable`,`data-node-id`],Fe=[`aria-label`],Ie={key:1,style:{width:`16px`,flexShrink:0}},Le=t({__name:`TreeNodeRow`,props:{node:{},depth:{},dragState:{},showValues:{type:Boolean},showCounts:{type:Boolean},isFocused:{type:Boolean}},emits:[`dragStart`,`dragOver`,`dragEnd`,`drop`,`contextMenu`,`selectRange`],setup(e,{emit:t}){let r=e,i=t,{state:o,actions:s}=$(),c=S(!1);function u(){return o.selectedNodeIds.value.has(r.node.id)}function f(){return o.expandedNodeIds.value.has(r.node.id)}let p=r.node.type===`object`||r.node.type===`array`,m=r.node.parentId===null;function g(){return o.searchMatchNodeIds.value.has(r.node.id)}function v(){return o.searchMatches.value.length>0&&o.searchMatches.value[o.searchMatchIndex.value]?.nodeId===r.node.id}function y(){return p?r.node.type===`array`?`[${r.node.children.length}]`:`{${r.node.children.length}}`:r.node.value===null?`null`:typeof r.node.value==`string`?r.node.value:String(r.node.value)}function b(e){e.preventDefault();let t=e.currentTarget.getBoundingClientRect(),n=t.top+t.height/2,a=e.clientY<n?`before`:`after`;i(`dragOver`,r.node.id,a)}function x(){return r.dragState.dropTargetNodeId===r.node.id&&r.dragState.dropPosition===`before`?`var(--vj-accent, #007acc)`:`transparent`}function C(){return r.dragState.dropTargetNodeId===r.node.id&&r.dragState.dropPosition===`after`?`var(--vj-accent, #007acc)`:`transparent`}function E(){let e=u(),t=v(),n=g(),i=c.value;return e?r.isFocused?`var(--vj-bg-selected, #2a5a1e)`:`var(--vj-bg-selected-muted, var(--vj-bg-hover, #2a2d2e))`:t?`var(--vj-bg-match-active, #51502b)`:n?`var(--vj-bg-match, #3a3520)`:i?`var(--vj-bg-hover, #2a2d2e)`:`transparent`}function D(e){e.shiftKey?i(`selectRange`,r.node.id):e.metaKey||e.ctrlKey?s.toggleNodeSelection(r.node.id):s.selectAndDrillDown(r.node.id)}function A(e){e.dataTransfer.effectAllowed=`move`,o.selectedNodeIds.value.size>1&&o.selectedNodeIds.value.has(r.node.id)&&Se(e.dataTransfer,o.selectedNodeIds.value.size),i(`dragStart`,r.node.id)}return(t,r)=>(_(),O(w,null,[k(`div`,{role:`treeitem`,"aria-selected":u(),"aria-expanded":T(p)?f():void 0,draggable:!m,"data-node-id":e.node.id,style:a({display:`flex`,alignItems:`center`,gap:`6px`,padding:`1px 8px`,paddingLeft:8+e.depth*16+`px`,cursor:`pointer`,backgroundColor:E(),minHeight:`28px`,userSelect:`none`,opacity:e.dragState.draggedNodeIds.has(e.node.id)?.4:1,borderTop:`2px solid ${x()}`,borderBottom:`2px solid ${C()}`,boxSizing:`border-box`,color:u()&&e.isFocused?`var(--vj-text-selected, var(--vj-text, #cccccc))`:`var(--vj-text, #cccccc)`}),onClick:D,onMouseenter:r[1]||=()=>c.value=!0,onMouseleave:r[2]||=()=>c.value=!1,onContextmenu:r[3]||=t=>i(`contextMenu`,t,e.node),onDragstart:A,onDragover:b,onDragend:r[4]||=()=>i(`dragEnd`),onDrop:r[5]||=j(()=>i(`drop`),[`prevent`])},[T(p)?(_(),O(`button`,{key:0,"aria-label":f()?`Collapse`:`Expand`,style:a({background:`none`,border:`none`,color:`inherit`,cursor:`pointer`,padding:0,width:`16px`,fontSize:`9px`,flexShrink:0,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,transition:`transform 0.15s`,transform:f()?`rotate(90deg)`:`rotate(0deg)`}),onClick:r[0]||=j(()=>T(s).toggleExpand(e.node.id),[`stop`])},` ▶ `,12,Fe)):(_(),O(`span`,Ie)),k(`span`,{style:a({color:`inherit`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,flexShrink:0,fontWeight:m?600:400})},l(m?`/`:T(X)(e.node,T(o).tree.value)),5),!m&&T(p)&&e.showCounts?(_(),O(`span`,{key:2,style:a({color:u()?`inherit`:`var(--vj-text-muted, #888888)`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,whiteSpace:`nowrap`,marginLeft:`auto`})},l(y()),5)):n(``,!0),!m&&!T(p)&&e.showValues?(_(),O(`span`,{key:3,style:a({color:e.node.type===`string`?`var(--vj-string, #ce9178)`:`var(--vj-number, #b5cea8)`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,marginLeft:`auto`})},l(y()),5)):n(``,!0)],44,Pe),f()?(_(!0),O(w,{key:0},d(e.node.children,t=>(_(),h(Le,{key:t.id,node:t,depth:e.depth+1,"drag-state":e.dragState,"show-values":e.showValues,"show-counts":e.showCounts,"is-focused":e.isFocused,onDragStart:r[6]||=e=>i(`dragStart`,e),onDragOver:r[7]||=(e,t)=>i(`dragOver`,e,t),onDragEnd:r[8]||=()=>i(`dragEnd`),onDrop:r[9]||=()=>i(`drop`),onContextMenu:r[10]||=(e,t)=>i(`contextMenu`,e,t),onSelectRange:r[11]||=e=>i(`selectRange`,e)},null,8,[`node`,`depth`,`drag-state`,`show-values`,`show-counts`,`is-focused`]))),128)):n(``,!0)],64))}}),Re={key:0,style:{height:`1px`,backgroundColor:`var(--vj-border, #454545)`,margin:`4px 0`}},ze=[`disabled`,`onClick`,`onMouseenter`],Be=t({__name:`ContextMenu`,props:{x:{},y:{},items:{}},emits:[`close`],setup(e,{emit:t}){let r=e,i=t,o=S(null),c=S({left:r.x,top:r.y});y(()=>[r.x,r.y],async()=>{if(await f(),!o.value)return;let e=o.value.getBoundingClientRect(),t=window.innerWidth,n=window.innerHeight;c.value={left:e.right>t?Math.max(0,r.x-e.width):r.x,top:e.bottom>n?Math.max(0,r.y-e.height):r.y}},{immediate:!0});function u(e){o.value&&!o.value.contains(e.target)&&i(`close`)}function p(e){e.key===`Escape`&&i(`close`)}return s(async()=>{if(await f(),o.value){let e=o.value.getBoundingClientRect(),t=window.innerWidth,n=window.innerHeight;c.value={left:e.right>t?Math.max(0,r.x-e.width):r.x,top:e.bottom>n?Math.max(0,r.y-e.height):r.y}}document.addEventListener(`mousedown`,u),document.addEventListener(`keydown`,p)}),g(()=>{document.removeEventListener(`mousedown`,u),document.removeEventListener(`keydown`,p)}),(t,r)=>(_(),h(D,{to:`body`},[k(`div`,{ref_key:`menuRef`,ref:o,style:a({position:`fixed`,left:c.value.left+`px`,top:c.value.top+`px`,zIndex:1e4,backgroundColor:`var(--vj-bg-panel, #252526)`,border:`1px solid var(--vj-border, #454545)`,borderRadius:`4px`,boxShadow:`0 4px 12px rgba(0,0,0,0.5)`,padding:`4px 0`,minWidth:`160px`})},[(_(!0),O(w,null,d(e.items,(e,t)=>(_(),O(w,{key:t},[`separator`in e&&e.separator?(_(),O(`div`,Re)):`label`in e?(_(),O(`button`,{key:1,disabled:e.disabled,style:a({display:`block`,width:`100%`,textAlign:`left`,background:`none`,border:`none`,color:e.disabled?`var(--vj-text-dimmer, #555555)`:`var(--vj-text, #cccccc)`,cursor:e.disabled?`default`:`pointer`,padding:`4px 16px`,fontSize:`12px`,fontFamily:`var(--vj-font, monospace)`}),onClick:()=>{e.disabled||(e.action(),i(`close`))},onMouseenter:t=>{e.disabled||(t.target.style.backgroundColor=`var(--vj-accent-muted, #094771)`)},onMouseleave:r[0]||=e=>{e.target.style.backgroundColor=`transparent`}},l(e.label),45,ze)):n(``,!0)],64))),128))],4)]))}}),Ve=t({__name:`TreeView`,props:{class:{},showValues:{type:Boolean,default:!0},showCounts:{type:Boolean,default:!1}},setup(e){let t=e,{state:r,actions:i}=$(),a=S(null),o=b(()=>Y(r.tree.value.root,e=>r.expandedNodeIds.value.has(e))),{dragState:s,handleDragStart:c,handleDragOver:l,handleDragEnd:u,handleDrop:d}=Ne(o,r.selectedNodeIds),f=S(null),p=S(!1);function g(e){i.setVisibleNodesOverride(o.value),i.selectNodeRange(e)}y(()=>r.focusedNodeId.value,e=>{if(e&&a.value){let t=a.value.querySelector(`[data-node-id="${e}"]`);t&&t.scrollIntoView({block:`nearest`})}});function v(e,t){e.preventDefault(),r.selectedNodeIds.value.has(t.id)||i.selectAndDrillDown(t.id),f.value={x:e.clientX,y:e.clientY,node:t}}function x(e){let t=[];if((e.type===`object`||e.type===`array`)&&(t.push({label:`Expand all children`,action:()=>{function t(e){let n=[e.id];for(let r of e.children)n.push(...t(r));return n}for(let n of t(e))i.expandNode(n)}}),t.push({label:`Collapse all children`,action:()=>{function t(e){let n=[];for(let r of e.children)n.push(r.id),n.push(...t(r));return n}for(let n of t(e))i.collapseNode(n)}}),t.push({separator:!0})),t.push({label:`Copy path`,action:()=>navigator.clipboard.writeText(e.path).catch(()=>{})}),t.push({label:`Copy value as JSON`,action:()=>{let t=B(e),n=typeof t==`string`?t:JSON.stringify(t,null,2);navigator.clipboard.writeText(n).catch(()=>{})}}),e.parentId){t.push({separator:!0}),t.push({label:`Duplicate`,action:()=>{let t=q(r.tree.value,e.id);i.setTree(t)}});let n=[`string`,`number`,`boolean`,`null`,`object`,`array`].filter(t=>t!==e.type).map(t=>({label:`Change to ${t}`,action:()=>{let n=se(r.tree.value,e.id,t);i.setTree(n)}}));t.push({separator:!0}),t.push(...n),t.push({separator:!0}),t.push({label:`Delete`,action:()=>{let{newTree:e,nextFocusId:t}=je(r.tree.value,r.selectedNodeIds.value,o.value);e!==r.tree.value&&(i.setTree(e),t?i.selectNode(t):i.setSelection(null,new Set,null))}})}return t}function C(e){let t=o.value.findIndex(e=>e.id===r.focusedNodeId.value);switch(e.key){case`ArrowDown`:{e.preventDefault();let n=o.value[t+1];n&&(e.shiftKey?g(n.id):i.selectNode(n.id));break}case`ArrowUp`:{e.preventDefault();let n=o.value[t-1];n&&(e.shiftKey?g(n.id):i.selectNode(n.id));break}case`ArrowRight`:{e.preventDefault();let n=t>=0?o.value[t]:null;n&&(n.type===`object`||n.type===`array`)&&(r.expandedNodeIds.value.has(n.id)?n.children.length>0&&i.selectNode(n.children[0].id):i.expandNode(n.id));break}case`ArrowLeft`:{e.preventDefault();let n=t>=0?o.value[t]:null;if(!n)break;(n.type===`object`||n.type===`array`)&&r.expandedNodeIds.value.has(n.id)?i.collapseNode(n.id):n.parentId&&i.selectNode(n.parentId);break}case`a`:if(e.metaKey||e.ctrlKey){e.preventDefault();let t=ke(r.tree.value,r.focusedNodeId.value,r.selectedNodeIds.value);t&&i.setSelection(r.focusedNodeId.value,t,r.focusedNodeId.value)}break;case`Escape`:e.preventDefault(),r.selectedNodeIds.value.size>1&&r.focusedNodeId.value?i.selectNode(r.focusedNodeId.value):i.setSelection(null,new Set,null);break;case`Delete`:case`Backspace`:{e.preventDefault();let{newTree:t,nextFocusId:n}=je(r.tree.value,r.selectedNodeIds.value,o.value);if(t===r.tree.value)break;i.setTree(t),n?i.selectNode(n):i.setSelection(null,new Set,null);break}}}return(e,i)=>(_(),O(w,null,[k(`div`,{ref_key:`containerRef`,ref:a,role:`tree`,tabindex:`0`,style:{overflow:`auto`,backgroundColor:`var(--vj-bg, #1e1e1e)`,color:`var(--vj-text, #cccccc)`,fontFamily:`var(--vj-font, monospace)`,fontSize:`13px`,outline:`none`,flex:1},onKeydown:C,onFocus:i[0]||=()=>p.value=!0,onBlur:i[1]||=()=>p.value=!1},[m(Le,{node:T(r).tree.value.root,depth:0,"drag-state":T(s),"show-values":t.showValues??!0,"show-counts":t.showCounts??!1,"is-focused":p.value,onDragStart:T(c),onDragOver:T(l),onDragEnd:T(u),onDrop:T(d),onContextMenu:v,onSelectRange:g},null,8,[`node`,`drag-state`,`show-values`,`show-counts`,`is-focused`,`onDragStart`,`onDragOver`,`onDragEnd`,`onDrop`])],544),f.value?(_(),h(Be,{key:0,x:f.value.x,y:f.value.y,items:x(f.value.node),onClose:i[2]||=()=>f.value=null},null,8,[`x`,`y`,`items`])):n(``,!0)],64))}}),He=Symbol(`FormViewContext`),Ue=[`value`],We=[`onMousedown`,`onMouseenter`],Ge=20,Ke=200,qe=t({__name:`Breadcrumbs`,props:{class:{}},setup(e){let{state:t,actions:r}=$(),i=b(()=>t.drillDownNodeId.value?t.tree.value.nodesById.get(t.drillDownNodeId.value):null),o=b(()=>i.value?.path??`/`),c=S(o.value),u=S(!1),f=S(0),p=S(null),m=S(null),h=S(null);y(o,e=>{c.value=e});let v=b(()=>{if(!u.value)return[];let e=c.value.toLowerCase(),n=[];for(let[r,i]of t.tree.value.nodesById)if(i.path.toLowerCase().startsWith(e)&&n.push({id:r,path:i.path}),n.length>=Ge)break;return n.sort((e,t)=>e.path.localeCompare(t.path)),n});y(v,()=>{f.value=0}),y(()=>[f.value,u.value],([e,t])=>{let n=m.value;!n||!t||n.children[e]?.scrollIntoView({block:`nearest`})});function x(e){var n;for(let[n,i]of t.tree.value.nodesById)if(i.path===e){r.selectAndDrillDown(n);break}u.value=!1,(n=p.value)==null||n.blur()}function C(e){var t;if(!u.value){(e.key===`ArrowDown`||e.key===`Enter`)&&(u.value=!0,e.preventDefault());return}switch(e.key){case`ArrowDown`:e.preventDefault(),f.value=Math.min(f.value+1,v.value.length-1);break;case`ArrowUp`:e.preventDefault(),f.value=Math.max(f.value-1,0);break;case`Enter`:e.preventDefault(),v.value.length>0&&f.value<v.value.length?x(v.value[f.value].path):x(c.value.trim()||`/`);break;case`Escape`:e.preventDefault(),c.value=o.value,u.value=!1,(t=p.value)==null||t.blur();break}}function T(e){h.value&&!h.value.contains(e.target)&&(c.value=o.value,u.value=!1)}return s(()=>document.addEventListener(`mousedown`,T)),g(()=>document.removeEventListener(`mousedown`,T)),(e,t)=>(_(),O(`div`,{ref_key:`wrapperRef`,ref:h,style:{position:`relative`,flex:1,minWidth:0}},[k(`input`,{ref_key:`inputRef`,ref:p,value:c.value,spellcheck:`false`,autocomplete:`off`,style:{width:`100%`,boxSizing:`border-box`,padding:`3px 0`,fontSize:`var(--vj-input-font-size, 13px)`,fontFamily:`var(--vj-font, monospace)`,color:`var(--vj-text-muted, #999999)`,background:`transparent`,border:`none`,outline:`none`},onInput:t[0]||=e=>{c.value=e.target.value,u.value||=!0},onFocus:t[1]||=e=>{e.target.select(),u.value=!0},onKeydown:C},null,40,Ue),u.value&&v.value.length>0?(_(),O(`div`,{key:0,ref_key:`listRef`,ref:m,style:a({position:`absolute`,top:`100%`,left:`-12px`,right:`-12px`,zIndex:50,maxHeight:Ke+`px`,overflowY:`auto`,backgroundColor:`var(--vj-bg-panel, #252526)`,border:`1px solid var(--vj-border, #333333)`,boxShadow:`0 4px 12px rgba(0,0,0,0.3)`})},[(_(!0),O(w,null,d(v.value,(e,t)=>(_(),O(`div`,{key:e.id,style:a({padding:`4px 12px`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,color:t===f.value?`var(--vj-text, #cccccc)`:`var(--vj-text-muted, #888888)`,backgroundColor:t===f.value?`var(--vj-bg-hover, #2a2d2e)`:`transparent`,cursor:`pointer`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}),onMousedown:j(()=>x(e.path),[`prevent`]),onMouseenter:()=>f.value=t},l(e.path),45,We))),128))],4)):n(``,!0)],512))}}),Je=[`value`],Ye=[`onMousedown`,`onMouseenter`],Xe={style:{width:`14px`,flexShrink:0,fontSize:`12px`}},Ze=200,Qe=t({__name:`EnumInput`,props:c({enumValues:{},value:{},inputStyle:{}},{inputRef:{},inputRefModifiers:{}}),emits:c([`valueChange`],[`update:inputRef`]),setup(e,{expose:t,emit:i}){let o=e,c=i;v(e,`inputRef`);let u=S(o.value),f=S(!1),p=S(0),m=S(null),h=S(null),x=S(null);y(()=>o.value,e=>{u.value=e});let C=b(()=>o.enumValues.map(e=>String(e)));y(C,()=>{p.value=0}),y(()=>[p.value,f.value],([e,t])=>{let n=m.value;!n||!t||n.children[e]?.scrollIntoView({block:`nearest`})});function T(e){c(`valueChange`,e),u.value=e,f.value=!1}function E(e){if(!f.value){(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(e.preventDefault(),e.stopPropagation(),f.value=!0);return}switch(e.key){case`ArrowDown`:e.preventDefault(),e.stopPropagation(),p.value=Math.min(p.value+1,C.value.length-1);break;case`ArrowUp`:e.preventDefault(),e.stopPropagation(),p.value=Math.max(p.value-1,0);break;case`Enter`:e.preventDefault(),e.stopPropagation(),C.value.length>0&&p.value<C.value.length&&T(C.value[p.value]);break;case`Escape`:e.preventDefault(),e.stopPropagation(),u.value=o.value,f.value=!1;break;case`Tab`:u.value=o.value,f.value=!1;break}}function D(e){h.value&&!h.value.contains(e.target)&&(u.value=o.value,f.value=!1)}return s(()=>document.addEventListener(`mousedown`,D)),g(()=>document.removeEventListener(`mousedown`,D)),t({focus:()=>x.value?.focus()}),(t,i)=>(_(),O(`div`,{ref_key:`wrapperRef`,ref:h,style:{position:`relative`,flex:1,minWidth:0}},[k(`input`,{ref_key:`localInputRef`,ref:x,value:u.value,spellcheck:`false`,autocomplete:`off`,style:a(e.inputStyle),onInput:i[0]||=e=>{u.value=e.target.value,f.value||=!0},onFocus:i[1]||=()=>f.value=!0,onKeydown:E,onClick:i[2]||=j(()=>{},[`stop`])},null,44,Je),f.value&&C.value.length>0?(_(),O(`div`,{key:0,ref_key:`listRef`,ref:m,style:a({position:`absolute`,top:`calc(100% + 4px)`,left:`-32px`,right:0,zIndex:50,maxHeight:Ze+`px`,overflowY:`auto`,backgroundColor:`var(--vj-bg-panel, #252526)`,border:`1px solid var(--vj-border, #333333)`,boxShadow:`0 4px 12px rgba(0,0,0,0.3)`})},[(_(!0),O(w,null,d(C.value,(t,n)=>(_(),O(`div`,{key:t,style:a({padding:`4px 12px`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,display:`flex`,alignItems:`center`,gap:`6px`,color:n===p.value?`var(--vj-text, #cccccc)`:`var(--vj-text-muted, #888888)`,backgroundColor:n===p.value?`var(--vj-bg-hover, #2a2d2e)`:`transparent`,cursor:`pointer`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}),onMousedown:j(()=>T(t),[`prevent`]),onMouseenter:()=>p.value=n},[k(`span`,Xe,l(t===e.value?`✓`:``),1),r(` `+l(t),1)],44,Ye))),128))],4)):n(``,!0)],512))}}),$e={key:0},et=[`data-form-node-id`,`draggable`],tt=[`value`],nt={key:2,style:{color:`var(--vj-text-muted, #888888)`,fontSize:`11px`,fontFamily:`var(--vj-font, monospace)`}},rt={key:1},it=[`data-form-node-id`,`draggable`],at=[`value`],ot={key:2,style:{color:`var(--vj-error, #f48771)`,fontSize:`10px`,fontFamily:`var(--vj-font, monospace)`}},st={key:3,style:{flex:1,display:`flex`,alignItems:`center`,gap:`6px`,minWidth:0}},ct={key:2,style:{color:`var(--vj-boolean, #569cd6)`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,fontStyle:`italic`,flex:1}},lt=[`value`,`placeholder`],ut=t({__name:`FormField`,props:{node:{},depth:{}},setup(e){let t=e,r=i(He),{state:o,actions:s}=$(),c=S(!1),u=S(null),p=S(null);function m(){u.value&&typeof u.value.focus==`function`&&u.value.focus()}let g=b(()=>t.node.type===`object`||t.node.type===`array`),v=b(()=>t.node.parentId===null),x=b(()=>o.selectedNodeIds.value.has(t.node.id)),C=b(()=>r.editingNodeId.value===t.node.id),E=b(()=>r.collapsedIds.value.has(t.node.id)),D=b(()=>t.node.parentId?o.tree.value.nodesById.get(t.node.parentId)?.type===`object`:!1),A=b(()=>Ce(r.schema.value,r.rootSchema.value,t.node.path)),M=b(()=>Ee(t.node,r.schema.value,r.rootSchema.value)),N=b(()=>A.value?.description),P=b(()=>A.value?.deprecated),F=b(()=>A.value?.title),I=b(()=>r.dragState.value.dropTargetNodeId===t.node.id),L=b(()=>r.dragState.value.draggedNodeIds.has(t.node.id));function R(){return I.value&&r.dragState.value.dropPosition===`before`?`var(--vj-accent, #007acc)`:`transparent`}function z(){return I.value&&r.dragState.value.dropPosition===`after`?`var(--vj-accent, #007acc)`:`transparent`}function B(){return x.value?r.isFocused.value?`var(--vj-bg-selected, #2a5a1e)`:`var(--vj-bg-selected-muted, var(--vj-bg-hover, #2a2d2e))`:c.value?`var(--vj-bg-hover, #2a2d2e)`:`transparent`}function V(){return x.value&&r.isFocused.value?`var(--vj-text-selected, var(--vj-text, #cccccc))`:`var(--vj-text, #cccccc)`}function H(){return we(t.node)}function U(){return Te(t.node)}function W(e){e.preventDefault();let n=e.currentTarget.getBoundingClientRect(),i=n.top+n.height/2;r.onDragOver(t.node.id,e.clientY<i?`before`:`after`)}function G(e){e.dataTransfer.effectAllowed=`move`,o.selectedNodeIds.value.size>1&&o.selectedNodeIds.value.has(t.node.id)&&Se(e.dataTransfer,o.selectedNodeIds.value.size),r.onDragStart(t.node.id)}function K(e){let n=De(e,A.value?.type,t.node.type),r=ee(o.tree.value,t.node.id,n);s.setTree(r)}function re(e){let n=te(o.tree.value,t.node.id,e);s.setTree(n)}function ae(){let e=ie(o.tree.value,t.node.id);s.setTree(e)}function oe(){let e=t.node.type===`array`?String(t.node.children.length):`newKey${t.node.children.length}`,n=ne(o.tree.value,t.node.id,e,``);s.setTree(n)}let se=b(()=>A.value?.enum&&A.value.enum.length>0),q=b(()=>`calc(${(r.maxDepth.value-t.depth)*16}px + ${r.maxKeyLength.value}ch)`);return y(C,async e=>{e&&(await f(),g.value?p.value&&p.value.focus():t.node.value!==null&&t.node.value!==void 0&&t.node.value!==``&&u.value?m():p.value&&p.value.focus())}),(t,i)=>{var s;return g.value?(_(),O(`div`,$e,[k(`div`,{"data-form-node-id":e.node.id,draggable:!v.value,style:a({display:`flex`,alignItems:`center`,gap:`6px`,padding:`1px 8px`,paddingLeft:8+e.depth*16+`px`,cursor:`pointer`,backgroundColor:B(),color:V(),height:`28px`,boxSizing:`border-box`,userSelect:`none`,opacity:P.value?.5:L.value?.4:1,borderTop:`2px solid ${R()}`,borderBottom:`2px solid ${z()}`}),onClick:i[3]||=j(t=>T(r).onSelect(e.node.id,t),[`stop`]),onDblclick:i[4]||=()=>T(r).onToggleCollapse(e.node.id),onMouseenter:i[5]||=()=>c.value=!0,onMouseleave:i[6]||=()=>c.value=!1,onDragstart:G,onDragover:W,onDragend:i[7]||=()=>T(r).onDragEnd(),onDrop:i[8]||=j(()=>T(r).onDrop(),[`prevent`])},[k(`button`,{style:a({background:`none`,border:`none`,color:`inherit`,cursor:`pointer`,padding:0,width:`16px`,fontSize:`9px`,flexShrink:0,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,transition:`transform 0.15s`,transform:E.value?`rotate(0deg)`:`rotate(90deg)`}),onClick:i[0]||=j(()=>T(r).onToggleCollapse(e.node.id),[`stop`])},` ▶ `,4),C.value&&!v.value?(_(),O(`input`,{key:0,ref_key:`keyInputRef`,ref:p,value:e.node.key,style:a({background:`none`,border:`none`,color:`inherit`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,fontWeight:500,padding:0,outline:`none`,flexShrink:0,width:q.value}),onInput:i[1]||=e=>re(e.target.value),onClick:i[2]||=j(()=>{},[`stop`])},null,44,tt)):(_(),O(`span`,{key:1,style:a({color:!v.value&&!D.value&&!x.value?`var(--vj-text-muted, #888888)`:`inherit`,fontSize:`var(--vj-input-font-size, 13px)`,fontFamily:`var(--vj-font, monospace)`,fontWeight:500,flexShrink:0,display:`inline-block`,width:q.value})},l(v.value?`/`:T(X)(e.node,T(o).tree.value)),5)),T(r).showDescriptions&&F.value&&!x.value?(_(),O(`span`,nt,l(F.value),1)):n(``,!0),c.value?(_(),O(`button`,{key:3,style:a({background:`none`,border:`none`,color:x.value?`inherit`:`var(--vj-text-muted, #888888)`,cursor:`pointer`,padding:0,fontSize:`12px`,fontFamily:`var(--vj-font, monospace)`}),onClick:j(oe,[`stop`])},` + Add `+l(e.node.type===`array`?`item`:`property`),5)):n(``,!0),T(r).showCounts?(_(),O(`span`,{key:4,style:a({color:x.value?`inherit`:`var(--vj-text-dim, #666666)`,fontSize:`12px`,fontFamily:`var(--vj-font, monospace)`,marginLeft:`auto`})},l(e.node.type===`array`?`${e.node.children.length} items`:`${e.node.children.length} properties`),5)):n(``,!0),!v.value&&C.value?(_(),O(`button`,{key:5,style:a({background:`none`,border:`none`,color:x.value?`inherit`:`var(--vj-text-muted, #888888)`,cursor:`pointer`,padding:`2px 4px`,fontSize:`14px`,fontFamily:`var(--vj-font, monospace)`,...T(r).showCounts?{}:{marginLeft:`auto`}}),title:`Remove`,onClick:j(ae,[`stop`])},` × `,4)):n(``,!0)],44,et),T(r).showDescriptions&&N.value?(_(),O(`div`,{key:0,style:a({padding:`2px 12px 4px`,paddingLeft:8+e.depth*16+22+`px`,fontSize:`11px`,color:`var(--vj-text-dim, #666666)`,fontFamily:`var(--vj-font, monospace)`})},l(N.value),5)):n(``,!0),E.value?n(``,!0):(_(),O(`div`,rt,[(_(!0),O(w,null,d(e.node.children,t=>(_(),h(ut,{key:t.id,node:t,depth:e.depth+1},null,8,[`node`,`depth`]))),128))]))])):(_(),O(`div`,{key:1,"data-form-node-id":e.node.id,draggable:!v.value,style:a({display:`flex`,alignItems:`center`,gap:`6px`,padding:`1px 8px`,paddingLeft:8+e.depth*16+`px`,cursor:`pointer`,backgroundColor:B(),color:V(),height:`28px`,boxSizing:`border-box`,userSelect:`none`,opacity:P.value?.5:L.value?.4:1,borderTop:`2px solid ${R()}`,borderBottom:`2px solid ${z()}`}),onClick:i[14]||=j(t=>T(r).onSelect(e.node.id,t),[`stop`]),onDblclick:i[15]||=()=>T(r).onStartEditing(e.node.id),onMouseenter:i[16]||=()=>c.value=!0,onMouseleave:i[17]||=()=>c.value=!1,onDragstart:G,onDragover:W,onDragend:i[18]||=()=>T(r).onDragEnd(),onDrop:i[19]||=j(()=>T(r).onDrop(),[`prevent`])},[i[20]||=k(`span`,{style:{width:`16px`,flexShrink:0}},null,-1),C.value&&D.value?(_(),O(`input`,{key:0,ref_key:`keyInputRef`,ref:p,value:e.node.key,style:a({background:`none`,border:`none`,color:`inherit`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,padding:0,flexShrink:0,outline:`none`,width:q.value}),onInput:i[9]||=e=>re(e.target.value),onClick:i[10]||=j(()=>{},[`stop`]),onKeydown:i[11]||=e=>{e.key===`Tab`&&!e.shiftKey&&u.value&&(e.preventDefault(),m())}},null,44,at)):(_(),O(`span`,{key:1,style:a({color:!D.value&&!x.value?`var(--vj-text-muted, #888888)`:`inherit`,fontSize:`var(--vj-input-font-size, 13px)`,fontFamily:`var(--vj-font, monospace)`,flexShrink:0,display:`inline-block`,width:q.value})},l(T(X)(e.node,T(o).tree.value)),5)),M.value&&!x.value?(_(),O(`span`,ot,` * `)):n(``,!0),C.value?(_(),O(`div`,st,[e.node.type===`boolean`?(_(),h(Qe,{key:0,ref_key:`valueInputRef`,ref:u,"enum-values":[`true`,`false`],value:String(e.node.value),"input-style":{background:`none`,border:`none`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,padding:`0`,flex:`1`,outline:`none`,color:H()},onValueChange:K},null,8,[`value`,`input-style`])):se.value&&(s=A.value)!=null&&s.enum?(_(),h(Qe,{key:1,ref_key:`valueInputRef`,ref:u,"enum-values":A.value.enum,value:U(),"input-style":{background:`none`,border:`none`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,padding:`0`,flex:`1`,outline:`none`,color:H()},onValueChange:K},null,8,[`enum-values`,`value`,`input-style`])):e.node.type===`null`?(_(),O(`span`,ct,` null `)):(_(),O(`input`,{key:3,ref_key:`valueInputRef`,ref:u,value:U(),placeholder:A.value?.default===void 0?`<value>`:String(A.value.default),style:a({background:`none`,border:`none`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,padding:0,flex:1,outline:`none`,color:H()}),onInput:i[12]||=e=>K(e.target.value),onClick:i[13]||=j(()=>{},[`stop`])},null,44,lt))])):(_(),O(`span`,{key:4,style:a({color:H(),fontSize:`var(--vj-input-font-size, 13px)`,fontFamily:`var(--vj-font, monospace)`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,fontStyle:e.node.type===`null`?`italic`:void 0})},l(U()),5)),C.value?(_(),O(`button`,{key:5,style:a({background:`none`,border:`none`,color:x.value?`inherit`:`var(--vj-text-muted, #888888)`,cursor:`pointer`,padding:`2px 4px`,fontSize:`14px`,fontFamily:`var(--vj-font, monospace)`,flexShrink:0}),title:`Remove`,onClick:j(ae,[`stop`])},` × `,4)):n(``,!0)],44,it))}}}),dt={style:{backgroundColor:`var(--vj-bg, #1e1e1e)`,color:`var(--vj-text, #cccccc)`,height:`100%`,fontFamily:`var(--vj-font, monospace)`,display:`flex`,flexDirection:`column`}},ft={style:{display:`flex`,alignItems:`center`,padding:`4px 8px`,borderBottom:`1px solid var(--vj-border, #333333)`,backgroundColor:`var(--vj-bg, #1e1e1e)`,flexShrink:0}},pt=t({__name:`FormView`,props:{class:{},showDescriptions:{type:Boolean,default:!1},showCounts:{type:Boolean,default:!1}},setup(e){let t=e,{state:n,actions:r}=$(),i=S(null),a=S(!1),c=S(null),l=S(new Set),u=n.tree.value,d=b(()=>(n.drillDownNodeId.value?n.tree.value.nodesById.get(n.drillDownNodeId.value):null)??n.tree.value.root);y(()=>d.value.id,()=>{c.value=null,l.value=new Set});let f=b(()=>Y(d.value,e=>!l.value.has(e))),{dragState:p,handleDragStart:h,handleDragOver:v,handleDragEnd:x,handleDrop:C}=Ne(f,n.selectedNodeIds);s(()=>{r.setVisibleNodesOverride(f.value)}),g(()=>{r.setVisibleNodesOverride(null)}),y(f,e=>{r.setVisibleNodesOverride(e)});let w=b(()=>{let e=1,t=0,r=d.value.path===`/`?0:d.value.path.split(`/`).filter(Boolean).length;for(let i of f.value){let a=i.parentId===null?`/`:X(i,n.tree.value);a.length>e&&(e=a.length);let o=(i.path===`/`?0:i.path.split(`/`).filter(Boolean).length)-r;o>t&&(t=o)}return{maxKeyLength:e,maxDepth:t}}),T=b(()=>w.value.maxKeyLength),E=b(()=>w.value.maxDepth),D=b(()=>n.schema.value),A=b(()=>n.schema.value??void 0);function j(e,t){c.value=null,t.shiftKey?(r.setVisibleNodesOverride(f.value),r.selectNodeRange(e)):t.metaKey||t.ctrlKey?r.toggleNodeSelection(e):r.selectNode(e)}function M(e){let t=new Set(l.value);t.has(e)?t.delete(e):t.add(e),l.value=t}function N(e){u=n.tree.value,c.value=e}function P(e){requestAnimationFrame(()=>{(i.value?.querySelector(`[data-form-node-id="${e}"]`))?.scrollIntoView({block:`nearest`})})}function F(e){var t,a;if(c.value){e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),r.setTree(u),c.value=null,(t=i.value)==null||t.focus()):e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),c.value=null,(a=i.value)==null||a.focus());return}let o=f.value.findIndex(e=>e.id===n.focusedNodeId.value);switch(o===-1&&f.value.length>0&&(o=0),e.key){case`ArrowDown`:{e.preventDefault();let t=f.value[o+1];t&&(e.shiftKey?(r.setVisibleNodesOverride(f.value),r.selectNodeRange(t.id)):r.selectNode(t.id),P(t.id));break}case`ArrowUp`:{e.preventDefault();let t=f.value[o-1];t&&(e.shiftKey?(r.setVisibleNodesOverride(f.value),r.selectNodeRange(t.id)):r.selectNode(t.id),P(t.id));break}case`ArrowRight`:{e.preventDefault();let t=o>=0?f.value[o]:null;if(t&&(t.type===`object`||t.type===`array`))if(l.value.has(t.id)){let e=new Set(l.value);e.delete(t.id),l.value=e}else t.children.length>0&&(r.selectNode(t.children[0].id),P(t.children[0].id));break}case`ArrowLeft`:{e.preventDefault();let t=o>=0?f.value[o]:null;if(!t)break;if((t.type===`object`||t.type===`array`)&&!l.value.has(t.id)){let e=new Set(l.value);e.add(t.id),l.value=e}else if(t.parentId){let e=f.value.find(e=>e.id===t.parentId);e&&(r.selectNode(e.id),P(e.id))}break}case`Enter`:e.preventDefault(),n.focusedNodeId.value&&(u=n.tree.value,r.selectNode(n.focusedNodeId.value),c.value=n.focusedNodeId.value);break;case`a`:if(e.metaKey||e.ctrlKey){e.preventDefault();let t=ke(n.tree.value,n.focusedNodeId.value,n.selectedNodeIds.value);t&&r.setSelection(n.focusedNodeId.value,t,n.focusedNodeId.value)}break;case`Escape`:e.preventDefault(),n.selectedNodeIds.value.size>1&&n.focusedNodeId.value?r.selectNode(n.focusedNodeId.value):r.setSelection(null,new Set,null);break;case`Delete`:case`Backspace`:{e.preventDefault();let{newTree:t,nextFocusId:i}=je(n.tree.value,n.selectedNodeIds.value,f.value);if(t===n.tree.value)break;r.setTree(t),i?r.selectNode(i):r.setSelection(null,new Set,null);break}}}return o(He,{schema:D,rootSchema:A,showDescriptions:t.showDescriptions,showCounts:t.showCounts,editingNodeId:c,collapsedIds:l,maxKeyLength:T,maxDepth:E,isFocused:a,dragState:p,onSelect:j,onToggleCollapse:M,onStartEditing:N,onDragStart:h,onDragOver:v,onDragEnd:x,onDrop:C}),(e,t)=>(_(),O(`div`,dt,[k(`div`,ft,[m(qe)]),k(`div`,{ref_key:`containerRef`,ref:i,"data-form-container":``,tabindex:`0`,style:{flex:1,overflow:`auto`,outline:`none`},onKeydown:F,onFocus:t[0]||=()=>a.value=!0,onBlur:t[1]||=e=>{e.currentTarget.contains(e.relatedTarget)||(a.value=!1)}},[m(ut,{node:d.value,depth:0},null,8,[`node`])],544)]))}}),mt={style:{display:`flex`,alignItems:`center`,gap:`6px`,padding:`4px 8px`,backgroundColor:`var(--vj-bg, #1e1e1e)`,borderBottom:`1px solid var(--vj-border, #333333)`}},ht=[`value`],gt={style:{display:`flex`,alignItems:`center`,gap:`2px`,flexShrink:0,height:`18px`}},_t=[`disabled`],vt=[`disabled`],yt=t({__name:`SearchBar`,props:{class:{}},setup(e){let{state:t,actions:n}=$(),r=S(null);function i(e){var t;e.key===`Enter`&&(e.preventDefault(),e.shiftKey?n.prevSearchMatch():n.nextSearchMatch()),e.key===`Escape`&&(e.preventDefault(),n.setSearchQuery(``),(t=r.value)==null||t.blur())}function o(e){var t,n;(e.metaKey||e.ctrlKey)&&e.key===`f`&&(e.preventDefault(),(t=r.value)==null||t.focus(),(n=r.value)==null||n.select())}return s(()=>document.addEventListener(`keydown`,o)),g(()=>document.removeEventListener(`keydown`,o)),(e,o)=>(_(),O(`div`,mt,[k(`input`,{ref_key:`inputRef`,ref:r,type:`text`,value:T(t).searchQuery.value,placeholder:`Search...`,spellcheck:`false`,autocomplete:`off`,style:{flex:1,background:`none`,border:`none`,borderRadius:`3px`,color:`var(--vj-text, #cccccc)`,fontFamily:`var(--vj-font, monospace)`,fontSize:`var(--vj-input-font-size, 13px)`,padding:`3px 8px`,outline:`none`,minWidth:0},onInput:o[0]||=e=>T(n).setSearchQuery(e.target.value),onKeydown:i},null,40,ht),k(`div`,gt,[T(t).searchQuery.value?(_(),O(w,{key:0},[k(`span`,{style:a({fontSize:`11px`,lineHeight:1,color:T(t).searchMatches.value.length>0?`var(--vj-text-muted, #999999)`:`var(--vj-error, #f48771)`,fontFamily:`var(--vj-font, monospace)`,whiteSpace:`nowrap`})},l(T(t).searchMatches.value.length>0?`${T(t).searchMatchIndex.value+1}/${T(t).searchMatches.value.length}`:`0/0`),5),k(`button`,{disabled:T(t).searchMatches.value.length===0,"aria-label":`Previous match (Shift+Enter)`,title:`Previous match (Shift+Enter)`,style:a({background:`none`,border:`none`,color:T(t).searchMatches.value.length>0?`var(--vj-text, #cccccc)`:`var(--vj-text-dimmer, #555555)`,cursor:T(t).searchMatches.value.length>0?`pointer`:`default`,padding:0,fontSize:`10px`,lineHeight:1,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`18px`,height:`18px`}),onClick:o[1]||=(...e)=>T(n).prevSearchMatch&&T(n).prevSearchMatch(...e)},` ▲ `,12,_t),k(`button`,{disabled:T(t).searchMatches.value.length===0,"aria-label":`Next match (Enter)`,title:`Next match (Enter)`,style:a({background:`none`,border:`none`,color:T(t).searchMatches.value.length>0?`var(--vj-text, #cccccc)`:`var(--vj-text-dimmer, #555555)`,cursor:T(t).searchMatches.value.length>0?`pointer`:`default`,padding:0,fontSize:`10px`,lineHeight:1,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`18px`,height:`18px`}),onClick:o[2]||=(...e)=>T(n).nextSearchMatch&&T(n).nextSearchMatch(...e)},` ▼ `,12,vt),k(`button`,{"aria-label":`Clear search (Esc)`,title:`Clear search (Esc)`,style:{background:`none`,border:`none`,color:`var(--vj-text, #cccccc)`,cursor:`pointer`,padding:0,fontSize:`14px`,lineHeight:1,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`18px`,height:`18px`},onClick:o[3]||=()=>T(n).setSearchQuery(``)},` × `)],64)):(_(),O(w,{key:1},[k(`button`,{"aria-label":`Expand all`,title:`Expand all`,style:{background:`none`,border:`none`,color:`var(--vj-text-muted, #888888)`,cursor:`pointer`,padding:`2px`,fontSize:`12px`,lineHeight:1,display:`inline-flex`,alignItems:`center`},onClick:o[4]||=(...e)=>T(n).expandAll&&T(n).expandAll(...e)},[...o[6]||=[k(`svg`,{width:`14`,height:`14`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[k(`path`,{d:`M8 2v4M5 4l3-2 3 2`}),k(`path`,{d:`M8 14v-4M5 12l3 2 3-2`}),k(`path`,{d:`M2 8h12`})],-1)]]),k(`button`,{"aria-label":`Collapse all`,title:`Collapse all`,style:{background:`none`,border:`none`,color:`var(--vj-text-muted, #888888)`,cursor:`pointer`,padding:`2px`,fontSize:`12px`,lineHeight:1,display:`inline-flex`,alignItems:`center`},onClick:o[5]||=(...e)=>T(n).collapseAll&&T(n).collapseAll(...e)},[...o[7]||=[k(`svg`,{width:`14`,height:`14`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[k(`path`,{d:`M8 5V1M5 3l3 2 3-2`}),k(`path`,{d:`M8 11v4M5 13l3-2 3 2`}),k(`path`,{d:`M2 8h12`})],-1)]])],64))])]))}}),bt={key:0,style:{flex:1,minHeight:0}},xt={style:{display:`flex`,flexShrink:0,borderBottom:`1px solid var(--vj-border, #333333)`,backgroundColor:`var(--vj-bg-panel, #252526)`}},St={style:{flex:1,minHeight:0,overflow:`hidden`}},Ct={key:0,style:{display:`flex`,flexDirection:`column`,height:`100%`}},wt={style:{flex:1,minHeight:0,overflow:`auto`}},Tt={key:1,style:{display:`flex`,flexDirection:`column`,height:`100%`}},Et={style:{flex:1,minHeight:0}},Dt={style:{flex:1,minHeight:0,overflow:`auto`}},Ot={key:0,style:{width:`1px`,flexShrink:0,backgroundColor:`var(--vj-border, #333333)`,position:`relative`,transition:`background-color 0.15s`}},kt={style:{display:`flex`,flexDirection:`column`,flex:1,minWidth:0,overflow:`hidden`}},At={style:{flex:1,minHeight:0}},jt=t({__name:`JsonEditor`,props:{value:{type:[String,Number,Boolean,null,Array,Object]},defaultValue:{type:[String,Number,Boolean,null,Array,Object]},onChange:{},schema:{default:null},height:{default:`100%`},width:{default:`100%`},class:{},style:{},readOnly:{type:Boolean,default:!1},treeShowValues:{type:Boolean,default:!0},treeShowCounts:{type:Boolean,default:!1},editorShowDescriptions:{type:Boolean,default:!1},editorShowCounts:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!0}},emits:[`change`],setup(t,{emit:r}){let i=t,o=r,c=i.value!==void 0,l=S(c?i.value:i.defaultValue??{}),u=S(0);y(()=>i.value,e=>{c&&e!==l.value&&(l.value=e,u.value++)});function d(e){var t;l.value=e,i.readOnly||(o(`change`,e),(t=i.onChange)==null||t.call(i,e))}let f=S(280),p=S(!1),v=S(`tree`),x=S(null),C=S(!1),T=0,E=0,D=null;function A(){x.value&&(p.value=x.value.offsetWidth<500)}s(()=>{A(),x.value&&(D=new ResizeObserver(A),D.observe(x.value))}),g(()=>{D?.disconnect()});function j(e){C.value=!0,T=e.clientX,E=f.value,document.body.style.cursor=`col-resize`,document.body.style.userSelect=`none`;function t(e){if(!C.value)return;let t=e.clientX-T;f.value=Math.max(180,Math.min(600,E+t))}function n(){C.value=!1,document.body.style.cursor=``,document.body.style.userSelect=``,document.removeEventListener(`mousemove`,t),document.removeEventListener(`mouseup`,n)}document.addEventListener(`mousemove`,t),document.addEventListener(`mouseup`,n)}let M=b(()=>({height:typeof i.height==`number`?`${i.height}px`:i.height,width:typeof i.width==`number`?`${i.width}px`:i.width,display:`flex`,flexDirection:`column`,overflow:`hidden`,...Z,...i.style??{}}));return(t,r)=>(_(),O(`div`,{"data-vj-root":``,style:a(M.value)},[(_(),h(Me,{key:u.value,value:l.value,schema:i.schema,onChange:d},{default:e(()=>[p.value?(_(),O(`div`,{key:0,ref_key:`containerRef`,ref:x,style:{display:`flex`,flexDirection:`column`,flex:1,minHeight:0}},[i.sidebarOpen?(_(),O(w,{key:1},[k(`div`,xt,[k(`button`,{style:a({flex:1,fontSize:`11px`,padding:`4px 0`,cursor:`pointer`,fontFamily:`var(--vj-font, monospace)`,border:`none`,background:v.value===`tree`?`var(--vj-accent-muted, #094771)`:`transparent`,color:v.value===`tree`?`var(--vj-text, #cccccc)`:`var(--vj-text-muted, #999999)`}),onClick:r[0]||=()=>v.value=`tree`},` Tree `,4),k(`button`,{style:a({flex:1,fontSize:`11px`,padding:`4px 0`,cursor:`pointer`,fontFamily:`var(--vj-font, monospace)`,border:`none`,background:v.value===`form`?`var(--vj-accent-muted, #094771)`:`transparent`,color:v.value===`form`?`var(--vj-text, #cccccc)`:`var(--vj-text-muted, #999999)`}),onClick:r[1]||=()=>v.value=`form`},` Form `,4)]),k(`div`,St,[v.value===`tree`?(_(),O(`div`,Ct,[m(yt),k(`div`,wt,[m(Ve,{"show-values":i.treeShowValues,"show-counts":i.treeShowCounts},null,8,[`show-values`,`show-counts`])])])):(_(),O(`div`,Tt,[k(`div`,Et,[m(pt,{"show-descriptions":i.editorShowDescriptions,"show-counts":i.editorShowCounts},null,8,[`show-descriptions`,`show-counts`])])]))])],64)):(_(),O(`div`,bt,[m(pt,{"show-descriptions":i.editorShowDescriptions,"show-counts":i.editorShowCounts},null,8,[`show-descriptions`,`show-counts`])]))],512)):(_(),O(`div`,{key:1,ref_key:`containerRef`,ref:x,style:{display:`flex`,flex:1,minHeight:0}},[k(`div`,{style:a({flexShrink:0,overflow:`hidden`,display:`flex`,flexDirection:`column`,width:i.sidebarOpen?f.value+`px`:`0`,transition:C.value?`none`:`width 0.2s ease`})},[m(yt),k(`div`,Dt,[m(Ve,{"show-values":i.treeShowValues,"show-counts":i.treeShowCounts},null,8,[`show-values`,`show-counts`])])],4),i.sidebarOpen?(_(),O(`div`,Ot,[k(`div`,{style:{position:`absolute`,top:0,bottom:0,left:`-3px`,width:`7px`,cursor:`col-resize`,zIndex:10},onMousedown:j,onMouseenter:r[2]||=e=>{let t=e.currentTarget.parentElement;t&&(t.style.backgroundColor=`var(--vj-accent, #007acc)`)},onMouseleave:r[3]||=e=>{if(!C.value){let t=e.currentTarget.parentElement;t&&(t.style.backgroundColor=`var(--vj-border, #333333)`)}}},null,32)])):n(``,!0),k(`div`,kt,[k(`div`,At,[m(pt,{"show-descriptions":i.editorShowDescriptions,"show-counts":i.editorShowCounts},null,8,[`show-descriptions`,`show-counts`])])])],512))]),_:1},8,[`value`,`schema`]))],4))}}),Mt={flex:`~`,"h-full":``,"of-hidden":``},Nt={"w-60":``,"shrink-0":``,border:`r base`,flex:`~ col`,"of-hidden":``},Pt={px3:``,py2:``,"text-xs":``,op60:``,border:`b base`,flex:`~ items-center justify-between`},Ft={flex:`~ items-center gap-1`,"cursor-pointer":``},It={"flex-1":``,"of-auto":``},Lt=[`onClick`],Rt={"flex-1":``,"of-auto":``},zt={key:0,flex:`~ items-center justify-center`,"h-full":``,op40:``,"text-sm":``},Bt={key:2,"h-full":``},Vt=Object.assign(t({__name:`SharedStateView`,props:{keys:{}},setup(e){let t=e,r=P(),i=x(!1),a=x(),o=b(()=>i.value?t.keys:t.keys.filter(e=>!e.startsWith(`devframe:`)&&!e.startsWith(`__`))),s=S(),c=x(!1);async function f(e){c.value=!0;try{s.value=await r.value.call(`devframe:rpc:server-state:get`,e)}finally{c.value=!1}}y(a,e=>{s.value=void 0,e&&f(e)});function g(e){a.value=e}async function v(e){if(!a.value)return;let t=M();s.value=e,await r.value.call(`devframe:rpc:server-state:set`,a.value,e,t)}return(e,t)=>{let r=u(`VisualLoading`);return _(),O(`div`,Mt,[k(`div`,Nt,[k(`div`,Pt,[k(`span`,null,l(o.value.length)+` shared states`,1),k(`label`,Ft,[C(k(`input`,{"onUpdate:modelValue":t[0]||=e=>i.value=e,type:`checkbox`},null,512),[[A,i.value]]),t[1]||=k(`span`,null,`Internal`,-1)])]),k(`div`,It,[(_(!0),O(w,null,d(o.value,e=>(_(),O(`button`,{key:e,block:``,"w-full":``,"text-left":``,px3:``,py2:``,"text-sm":``,"font-mono":``,border:`b base`,"hover:bg-active":``,"transition-colors":``,class:p(a.value===e?`bg-active! text-primary`:`op70`),onClick:t=>g(e)},l(e),11,Lt))),128))])]),k(`div`,Rt,[a.value?c.value?(_(),h(r,{key:1})):s.value===void 0?n(``,!0):(_(),O(`div`,Bt,[m(T(jt),{value:s.value,height:`100%`,onChange:v},null,8,[`value`])])):(_(),O(`div`,zt,` Select a shared state to inspect `))])])}}}),{__name:`SharedStateView`}),Ht=t({__name:`state`,setup(e){let t=P(),n=S();async function r(){n.value=await t.value.call(`devtoolskit:self-inspect:get-shared-state-keys`)}return N(r),s(r),(e,t)=>{let r=u(`VisualLoading`),i=Vt;return n.value?(_(),h(i,{key:1,keys:n.value},null,8,[`keys`])):(_(),h(r,{key:0}))}}});export{Ht as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,H as t,It as n,J as r,K as i,S as a,W as o,dt as s,h as c,w as l,x as u}from"./c51qs1uH.js";import{r as d,t as f}from"#entry";var p={flex:`~ col gap-3`,p4:``},m={flex:`~ items-center gap-3`,"text-xs":``},h={op60:``},g={key:0,op40:``,"text-sm":``,py4:``,"text-center":``},_={key:1,"w-full":``,"text-sm":``},v={px2:``,"py1.5":``,"font-mono":``,"text-xs":``},y={px2:``,"py1.5":``,"text-xs":``,op75:``,"max-w-60":``,truncate:``},b={px2:``,"py1.5":``,"text-xs":``,op75:``},x={px2:``,"py1.5":``,"text-xs":``,op75:``},S={px2:``,"py1.5":``,"text-center":``},C=[`onClick`],w=Object.assign(e({__name:`AuthTokensList`,props:{tokens:{}},emits:[`revoke`],setup(e,{emit:t}){let r=t;function a(e){return new Date(e).toLocaleString()}return(t,s)=>(o(),l(`div`,p,[u(`div`,m,[u(`span`,h,n(e.tokens.length)+` trusted client`+n(e.tokens.length===1?``:`s`),1)]),e.tokens.length===0?(o(),l(`div`,g,` No auth tokens found. `)):(o(),l(`table`,_,[s[0]||=u(`thead`,null,[u(`tr`,{border:`b base`,"text-left":``},[u(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Auth Token `),u(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` User Agent `),u(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Origin `),u(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Trusted At `),u(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Actions `)])],-1),u(`tbody`,null,[(o(!0),l(c,null,i(e.tokens,e=>(o(),l(`tr`,{key:e.authToken,border:`b base`,"hover:bg-active":``},[u(`td`,v,n(e.authToken),1),u(`td`,y,n(e.ua||`-`),1),u(`td`,b,n(e.origin||`-`),1),u(`td`,x,n(a(e.timestamp)),1),u(`td`,S,[u(`button`,{"text-xs":``,px2:``,"py0.5":``,rounded:``,"text-red":``,border:`~ red/30`,"hover:bg-red:10":``,onClick:t=>r(`revoke`,e.authToken)},` Revoke `,8,C)])]))),128))])]))]))}}),{__name:`AuthTokensList`}),T=e({__name:`auth`,setup(e){let n=f(),i=s();async function c(){i.value=await n.value.call(`devtoolskit:self-inspect:get-auth-tokens`)}async function l(e){await n.value.call(`devtoolskit:self-inspect:revoke-auth-token`,e),await c()}return d(c),t(c),(e,t)=>{let n=r(`VisualLoading`),s=w;return i.value?(o(),a(s,{key:1,tokens:i.value,onRevoke:l},null,8,[`tokens`])):(o(),a(n,{key:0}))}}});export{T as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,D as n,H as r,It as i,J as a,K as o,Nt as s,O as c,S as l,W as u,b as d,dt as f,h as p,w as m,x as h}from"./c51qs1uH.js";import{r as g,t as _}from"#entry";var v={flex:`~ col gap-3`,p4:``},y={"text-xs":``,op60:``},b={flex:`~ items-center gap-2`,mb1:``,mt2:``},x={"text-xs":``,"font-medium":``,op50:``},S={"w-full":``,"text-sm":``},C={px2:``,"py1.5":``,"font-mono":``,"text-xs":``,flex:`~ items-center gap-1`},w=[`title`],T={px2:``,"py1.5":``},E={px2:``,"py1.5":``},D={px2:``,"py1.5":``,"text-xs":``},O={key:0,"font-mono":``,op60:``},k={key:1,ml1:``},A={key:2,op20:``},j=Object.assign(e({__name:`DocksList`,props:{docks:{}},setup(e){let r=e,l=d(()=>{let e=new Map;for(let t of r.docks){let n=t.category||`default`;e.has(n)||e.set(n,[]),e.get(n).push(t)}return Array.from(e.entries())});function f(e){if(e.type===`iframe`)return e.url}function g(e){return e.type===`iframe`&&!!e.clientScript}return(e,d)=>{let _=a(`DisplayNumberBadge`),j=a(`DisplayBadge`);return u(),m(`div`,v,[h(`div`,y,i(r.docks.length)+` docks registered `,1),(u(!0),m(p,null,o(l.value,([e,r])=>(u(),m(`div`,{key:e},[h(`div`,b,[h(`span`,x,i(e),1),c(_,{number:r.length},null,8,[`number`])]),h(`table`,S,[d[0]||=h(`thead`,null,[h(`tr`,{border:`b base`,"text-left":``},[h(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` ID `),h(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Title `),h(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),h(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Details `)])],-1),h(`tbody`,null,[(u(!0),m(p,null,o(r,e=>(u(),m(`tr`,{key:e.id,border:`b base`,"hover:bg-active":``,class:s(e.when===`false`?`op40`:``)},[h(`td`,C,[e.when?(u(),m(`span`,{key:0,"i-ph-eye-slash":``,"text-xs":``,op60:``,title:`when: ${e.when}`},null,8,w)):t(``,!0),n(` `+i(e.id),1)]),h(`td`,T,i(e.title),1),h(`td`,E,[c(j,{text:e.type},null,8,[`text`])]),h(`td`,D,[f(e)?(u(),m(`span`,O,i(f(e)),1)):t(``,!0),g(e)?(u(),m(`span`,k,[c(j,{text:`client-script`})])):t(``,!0),!f(e)&&!g(e)?(u(),m(`span`,A,`-`)):t(``,!0)])],2))),128))])])]))),128))])}}}),{__name:`DocksList`}),M=e({__name:`docks`,setup(e){let t=_(),n=f();async function i(){n.value=await t.value.call(`devtoolskit:self-inspect:get-docks`)}return g(i),r(i),(e,t)=>{let r=a(`VisualLoading`),i=j;return n.value?(u(),l(i,{key:1,docks:n.value},null,8,[`docks`])):(u(),l(r,{key:0}))}}});export{M as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,D as n,H as r,It as i,J as a,K as o,O as s,S as c,W as l,b as u,ct as d,dt as f,et as p,h as m,w as h,x as g}from"./c51qs1uH.js";import{a as _}from"./vVSuVV04.js";import{r as v,t as y}from"#entry";var b={flex:`~ col gap-3`,p4:``},x={flex:`~ items-center gap-3 flex-wrap`},S={flex:`~ items-center gap-2`,"flex-1":``,"min-w-50":``},C={flex:`~ items-center gap-2`,"text-xs":``,op60:``},w={flex:`~ items-center gap-2`,mb1:``,mt2:``},T={"font-mono":``,"text-xs":``,op50:``},E={"w-full":``,"text-sm":``},D=[`title`],O={px2:``,"py1.5":``},k={px2:``,"py1.5":``,"text-center":``},A={key:0,"i-ph-check":``,"text-green":``},j={key:1,op20:``},M={px2:``,"py1.5":``,"text-center":``},N={key:0,flex:`~ items-center justify-center gap-1`},P={key:1,op20:``},F={px2:``,"py1.5":``,"text-center":``},I={key:0,"i-ph-check":``,"text-green":``},L={key:1,op20:``},R=Object.assign(e({__name:`RpcFunctionsList`,props:{functions:{}},setup(e){let r=e,f=d(``),v=u(()=>{let e=f.value.toLowerCase();return e?r.functions.filter(t=>t.name.toLowerCase().includes(e)):r.functions}),y=u(()=>{let e={};for(let t of r.functions)e[t.type]=(e[t.type]||0)+1;return e});function R(e){let t=e.split(`:`);return t.length<=1?`(other)`:t.slice(0,-1).join(`:`)}function z(e){return e.split(`:`).at(-1)}let B=u(()=>{let e=new Map;for(let t of v.value){let n=R(t.name);e.has(n)||e.set(n,[]),e.get(n).push(t)}return Array.from(e.entries()).sort(([e],[t])=>e.localeCompare(t))});return(e,u)=>{let d=a(`DisplayBadge`),v=a(`DisplayNumberBadge`);return l(),h(`div`,b,[g(`div`,x,[g(`div`,S,[u[1]||=g(`div`,{"i-ph-magnifying-glass":``,op40:``},null,-1),p(g(`input`,{"onUpdate:modelValue":u[0]||=e=>f.value=e,placeholder:`Filter functions...`,border:`~ base rounded`,"bg-transparent":``,px2:``,py1:``,"text-sm":``,"flex-1":``,"outline-none":``,"focus:border-primary":``},null,512),[[_,f.value]])]),g(`div`,C,[g(`span`,null,i(r.functions.length)+` total`,1),u[2]||=g(`span`,{op30:``},`|`,-1),(l(!0),h(m,null,o(y.value,(e,t)=>(l(),h(`span`,{key:t},[s(d,{text:String(t)},null,8,[`text`]),n(` `+i(e),1)]))),128))])]),(l(!0),h(m,null,o(B.value,([e,n])=>(l(),h(`div`,{key:e},[g(`div`,w,[g(`span`,T,i(e),1),s(v,{number:n.length},null,8,[`number`])]),g(`table`,E,[u[3]||=g(`thead`,null,[g(`tr`,{border:`b base`,"text-left":``},[g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Name `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Cacheable `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Schema `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Dump `)])],-1),g(`tbody`,null,[(l(!0),h(m,null,o(n,e=>(l(),h(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``},[g(`td`,{px2:``,"py1.5":``,"font-mono":``,"text-xs":``,title:e.name},i(z(e.name)),9,D),g(`td`,O,[s(d,{text:e.type},null,8,[`text`])]),g(`td`,k,[e.cacheable?(l(),h(`span`,A)):(l(),h(`span`,j,`-`))]),g(`td`,M,[e.hasArgs||e.hasReturns?(l(),h(`span`,N,[e.hasArgs?(l(),c(d,{key:0,text:`args`})):t(``,!0),e.hasReturns?(l(),c(d,{key:1,text:`returns`})):t(``,!0)])):(l(),h(`span`,P,`-`))]),g(`td`,F,[e.hasDump?(l(),h(`span`,I)):(l(),h(`span`,L,`-`))])]))),128))])])]))),128))])}}}),{__name:`RpcFunctionsList`}),z=e({__name:`rpc`,setup(e){let t=y(),n=f();async function i(){n.value=await t.value.call(`devtoolskit:self-inspect:get-rpc-functions`)}return v(i),r(i),(e,t)=>{let r=a(`VisualLoading`),i=R;return n.value?(l(),c(i,{key:1,functions:n.value},null,8,[`functions`])):(l(),c(r,{key:0}))}}});export{z as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e}from"./c51qs1uH.js";import{c as t}from"./CRn9xgBn.js";var n=e({__name:`index`,setup(e){return t(`/rpc`,{replace:!0}),()=>{}}});export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,D as n,H as r,It as i,J as a,K as o,Nt as s,S as c,W as l,b as u,ct as d,dt as f,et as p,h as m,w as h,x as g}from"./c51qs1uH.js";import{i as _}from"./vVSuVV04.js";import{r as v,t as y}from"#entry";var b={flex:`~ col gap-3`,p4:``},x={flex:`~ items-center gap-3`,"text-xs":``},S={op60:``},C={flex:`~ items-center gap-1.5`,op60:``,"cursor-pointer":``,"select-none":``},w={"w-full":``,"text-sm":``},T={px2:``,"py1.5":``,"font-mono":``,"text-xs":``},E={px2:``,"py1.5":``,"text-center":``},D={key:0,"i-ph-check":``,"text-green":``},O={key:1,op20:``},k={px2:``,"py1.5":``,"text-center":``},A={key:0,"i-ph-check":``,"text-green":``},j={key:1,op20:``},M={px2:``,"py1.5":``,flex:`~ items-center gap-1`},N={key:1,op20:``},P=Object.assign(e({__name:`DevtoolsPluginsList`,props:{plugins:{}},setup(e){let r=e,f=d(!1),v=u(()=>r.plugins.filter(e=>e.hasDevtools).length),y=u(()=>f.value?r.plugins:r.plugins.filter(e=>e.hasDevtools));return(r,u)=>{let d=a(`DisplayBadge`);return l(),h(`div`,b,[g(`div`,x,[g(`span`,S,i(v.value)+` devtools plugins / `+i(e.plugins.length)+` total `,1),g(`label`,C,[p(g(`input`,{"onUpdate:modelValue":u[0]||=e=>f.value=e,type:`checkbox`},null,512),[[_,f.value]]),u[1]||=n(` Show all `,-1)])]),g(`table`,w,[u[2]||=g(`thead`,null,[g(`tr`,{border:`b base`,"text-left":``},[g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Plugin Name `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` DevTools `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Setup `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Capabilities `)])],-1),g(`tbody`,null,[(l(!0),h(m,null,o(y.value,e=>(l(),h(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``,class:s(e.hasDevtools?``:`op40`)},[g(`td`,T,i(e.name),1),g(`td`,E,[e.hasDevtools?(l(),h(`span`,D)):(l(),h(`span`,O,`-`))]),g(`td`,k,[e.hasSetup?(l(),h(`span`,A)):(l(),h(`span`,j,`-`))]),g(`td`,M,[e.capabilities?(l(),h(m,{key:0},[e.capabilities.dev?(l(),c(d,{key:0,text:`dev`})):t(``,!0),e.capabilities.build?(l(),c(d,{key:1,text:`build`})):t(``,!0)],64)):(l(),h(`span`,N,`-`))])],2))),128))])])])}}}),{__name:`DevtoolsPluginsList`}),F=e({__name:`plugins`,setup(e){let t=y(),n=f();async function i(){n.value=await t.value.call(`devtoolskit:self-inspect:get-devtools-plugins`)}return v(i),r(i),(e,t)=>{let r=a(`VisualLoading`),i=P;return n.value?(l(),c(i,{key:1,plugins:n.value},null,8,[`plugins`])):(l(),c(r,{key:0}))}}});export{F as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"d9b82df5-fe2c-406b-bd7f-69f3e445a3f3","timestamp":1778476925879,"prerendered":[]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>S(e)===`[object Map]`,p=e=>S(e)===`[object Set]`,m=e=>S(e)===`[object Date]`,h=e=>S(e)===`[object RegExp]`,g=e=>typeof e==`function`,_=e=>typeof e==`string`,v=e=>typeof e==`symbol`,y=e=>typeof e==`object`&&!!e,b=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),x=Object.prototype.toString,S=e=>x.call(e),C=e=>S(e).slice(8,-1),w=e=>S(e)===`[object Object]`,T=e=>_(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,E=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),D=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ee=/-\w/g,O=D(e=>e.replace(ee,e=>e.slice(1).toUpperCase())),te=/\B([A-Z])/g,k=D(e=>e.replace(te,`-$1`).toLowerCase()),ne=D(e=>e.charAt(0).toUpperCase()+e.slice(1)),re=D(e=>e?`on${ne(e)}`:``),A=(e,t)=>!Object.is(e,t),j=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ie=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ae=e=>{let t=parseFloat(e);return isNaN(t)?e:t},oe=e=>{let t=_(e)?Number(e):NaN;return isNaN(t)?e:t},se,ce=()=>se||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:{};function le(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=_(r)?pe(r):le(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(_(e)||y(e))return e}var ue=/;(?![^(]*\))/g,de=/:([^]+)/,fe=/\/\*[^]*?\*\//g;function pe(e){let t={};return e.replace(fe,``).split(ue).forEach(e=>{if(e){let n=e.split(de);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function me(e){let t=``;if(_(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=me(e[n]);r&&(t+=r+` `)}else if(y(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function he(e){if(!e)return null;let{class:t,style:n}=e;return t&&!_(t)&&(e.class=me(t)),n&&(e.style=le(n)),e}var ge=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,_e=e(ge);ge+``;function ve(e){return!!e||e===``}function ye(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=be(e[r],t[r]);return n}function be(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=v(e),r=v(t),n||r)return e===t;if(n=d(e),r=d(t),n||r)return n&&r?ye(e,t):!1;if(n=y(e),r=y(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!be(e[n],t[n]))return!1}}return String(e)===String(t)}function xe(e,t){return e.findIndex(e=>be(e,t))}var Se=e=>!!(e&&e.__v_isRef===!0),Ce=e=>_(e)?e:e==null?``:d(e)||y(e)&&(e.toString===x||!g(e.toString))?Se(e)?Ce(e.value):JSON.stringify(e,we,2):String(e),we=(e,t)=>Se(t)?we(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Te(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Te(e))}:v(t)?Te(t):y(t)&&!d(t)&&!w(t)?String(t):t,Te=(e,t=``)=>v(e)?`Symbol(${e.description??t})`:e,M,Ee=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&M&&(M.active?(this.parent=M,this.index=(M.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function De(e){return new Ee(e)}function Oe(){return M}function ke(e,t=!1){M&&M.cleanups.push(e)}var N,Ae=new WeakSet,je=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ae.has(this)&&(Ae.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Fe(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qe(this),Re(this);let e=N,t=P;N=this,P=!0;try{return this.fn()}finally{ze(this),N=e,P=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)He(e);this.deps=this.depsTail=void 0,qe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ae.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Be(this)&&this.run()}get dirty(){return Be(this)}},Me=0,Ne,Pe;function Fe(e,t=!1){if(e.flags|=8,t){e.next=Pe,Pe=e;return}e.next=Ne,Ne=e}function Ie(){Me++}function Le(){if(--Me>0)return;if(Pe){let e=Pe;for(Pe=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ne;){let t=Ne;for(Ne=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Re(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ze(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),He(r),Ue(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Be(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ve(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ve(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Je)||(e.globalVersion=Je,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Be(e))))return;e.flags|=2;let t=e.dep,n=N,r=P;N=e,P=!0;try{Re(e);let n=e.fn(e._value);(t.version===0||A(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,P=r,ze(e),e.flags&=-3}}function He(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)He(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ue(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var P=!0,We=[];function Ge(){We.push(P),P=!1}function Ke(){let e=We.pop();P=e===void 0?!0:e}function qe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var Je=0,Ye=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Xe=class{constructor(e){this.computed=e,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(e){if(!N||!P||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new Ye(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,Ze(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,Je++,this.notify(e)}notify(e){Ie();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Le()}}};function Ze(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ze(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Qe=new WeakMap,$e=Symbol(``),et=Symbol(``),tt=Symbol(``);function F(e,t,n){if(P&&N){let t=Qe.get(e);t||Qe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Xe),r.map=t,r.key=n),r.track()}}function nt(e,t,n,r,i,a){let o=Qe.get(e);if(!o){Je++;return}let s=e=>{e&&e.trigger()};if(Ie(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&T(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===tt||!v(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(tt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get($e)),f(e)&&s(o.get(et)));break;case`delete`:i||(s(o.get($e)),f(e)&&s(o.get(et)));break;case`set`:f(e)&&s(o.get($e));break}}Le()}function rt(e,t){let n=Qe.get(e);return n&&n.get(t)}function it(e){let t=L(e);return t===e?t:(F(t,`iterate`,tt),I(e)?t:t.map(R))}function at(e){return F(e=L(e),`iterate`,tt),e}function ot(e,t){return Kt(e)?Yt(Gt(e)?R(t):t):R(t)}var st={__proto__:null,[Symbol.iterator](){return ct(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return it(this).concat(...e.map(e=>d(e)?it(e):e))},entries(){return ct(this,`entries`,e=>(e[1]=ot(this,e[1]),e))},every(e,t){return ut(this,`every`,e,t,void 0,arguments)},filter(e,t){return ut(this,`filter`,e,t,e=>e.map(e=>ot(this,e)),arguments)},find(e,t){return ut(this,`find`,e,t,e=>ot(this,e),arguments)},findIndex(e,t){return ut(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ut(this,`findLast`,e,t,e=>ot(this,e),arguments)},findLastIndex(e,t){return ut(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ut(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ft(this,`includes`,e)},indexOf(...e){return ft(this,`indexOf`,e)},join(e){return it(this).join(e)},lastIndexOf(...e){return ft(this,`lastIndexOf`,e)},map(e,t){return ut(this,`map`,e,t,void 0,arguments)},pop(){return pt(this,`pop`)},push(...e){return pt(this,`push`,e)},reduce(e,...t){return dt(this,`reduce`,e,t)},reduceRight(e,...t){return dt(this,`reduceRight`,e,t)},shift(){return pt(this,`shift`)},some(e,t){return ut(this,`some`,e,t,void 0,arguments)},splice(...e){return pt(this,`splice`,e)},toReversed(){return it(this).toReversed()},toSorted(e){return it(this).toSorted(e)},toSpliced(...e){return it(this).toSpliced(...e)},unshift(...e){return pt(this,`unshift`,e)},values(){return ct(this,`values`,e=>ot(this,e))}};function ct(e,t,n){let r=at(e),i=r[t]();return r!==e&&!I(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var lt=Array.prototype;function ut(e,t,n,r,i,a){let o=at(e),s=o!==e&&!I(e),c=o[t];if(c!==lt[t]){let t=c.apply(e,a);return s?R(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,ot(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function dt(e,t,n,r){let i=at(e),a=i!==e&&!I(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=ot(e,t)),n.call(this,t,ot(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?ot(e,c):c}function ft(e,t,n){let r=L(e);F(r,`iterate`,tt);let i=r[t](...n);return(i===-1||i===!1)&&qt(n[0])?(n[0]=L(n[0]),r[t](...n)):i}function pt(e,t,n=[]){Ge(),Ie();let r=L(e)[t].apply(e,n);return Le(),Ke(),r}var mt=e(`__proto__,__v_isRef,__isVue`),ht=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(v));function gt(e){v(e)||(e=String(e));let t=L(this);return F(t,`has`,e),t.hasOwnProperty(e)}var _t=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Lt:It:i?Ft:Pt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=st[t]))return e;if(t===`hasOwnProperty`)return gt}let o=Reflect.get(e,t,z(e)?e:n);if((v(t)?ht.has(t):mt(t))||(r||F(e,`get`,t),i))return o;if(z(o)){let e=a&&T(t)?o:o.value;return r&&y(e)?Ht(e):e}return y(o)?r?Ht(o):Bt(o):o}},vt=class extends _t{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&T(t);if(!this._isShallow){let e=Kt(i);if(!I(n)&&!Kt(n)&&(i=L(i),n=L(n)),!a&&z(i)&&!z(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,z(e)?e:r);return e===L(r)&&(o?A(n,i)&&nt(e,`set`,t,n,i):nt(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&nt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!v(t)||!ht.has(t))&&F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,d(e)?`length`:$e),Reflect.ownKeys(e)}},yt=class extends _t{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},bt=new vt,xt=new yt,St=new vt(!0),Ct=new yt(!0),wt=e=>e,Tt=e=>Reflect.getPrototypeOf(e);function Et(e,t,n){return function(...r){let i=this.__v_raw,a=L(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?wt:t?Yt:R;return!t&&F(a,`iterate`,l?et:$e),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Dt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Ot(e,t){let n={get(n){let r=this.__v_raw,i=L(r),a=L(n);e||(A(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=Tt(i),s=t?wt:e?Yt:R;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&F(L(t),`iterate`,$e),t.size},has(t){let n=this.__v_raw,r=L(n),i=L(t);return e||(A(t,i)&&F(r,`has`,t),F(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=L(a),s=t?wt:e?Yt:R;return!e&&F(o,`iterate`,$e),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Dt(`add`),set:Dt(`set`),delete:Dt(`delete`),clear:Dt(`clear`)}:{add(e){let n=L(this),r=Tt(n),i=L(e),a=!t&&!I(e)&&!Kt(e)?i:e;return r.has.call(n,a)||A(e,a)&&r.has.call(n,e)||A(i,a)&&r.has.call(n,i)||(n.add(a),nt(n,`add`,a,a)),this},set(e,n){!t&&!I(n)&&!Kt(n)&&(n=L(n));let r=L(this),{has:i,get:a}=Tt(r),o=i.call(r,e);o||=(e=L(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?A(n,s)&&nt(r,`set`,e,n,s):nt(r,`add`,e,n),this},delete(e){let t=L(this),{has:n,get:r}=Tt(t),i=n.call(t,e);i||=(e=L(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&nt(t,`delete`,e,void 0,a),o},clear(){let e=L(this),t=e.size!==0,n=e.clear();return t&&nt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Et(r,e,t)}),n}function kt(e,t){let n=Ot(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var At={get:kt(!1,!1)},jt={get:kt(!1,!0)},Mt={get:kt(!0,!1)},Nt={get:kt(!0,!0)},Pt=new WeakMap,Ft=new WeakMap,It=new WeakMap,Lt=new WeakMap;function Rt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function zt(e){return e.__v_skip||!Object.isExtensible(e)?0:Rt(C(e))}function Bt(e){return Kt(e)?e:Wt(e,!1,bt,At,Pt)}function Vt(e){return Wt(e,!1,St,jt,Ft)}function Ht(e){return Wt(e,!0,xt,Mt,It)}function Ut(e){return Wt(e,!0,Ct,Nt,Lt)}function Wt(e,t,n,r,i){if(!y(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=zt(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Gt(e){return Kt(e)?Gt(e.__v_raw):!!(e&&e.__v_isReactive)}function Kt(e){return!!(e&&e.__v_isReadonly)}function I(e){return!!(e&&e.__v_isShallow)}function qt(e){return e?!!e.__v_raw:!1}function L(e){let t=e&&e.__v_raw;return t?L(t):e}function Jt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&ie(e,`__v_skip`,!0),e}var R=e=>y(e)?Bt(e):e,Yt=e=>y(e)?Ht(e):e;function z(e){return e?e.__v_isRef===!0:!1}function Xt(e){return Qt(e,!1)}function Zt(e){return Qt(e,!0)}function Qt(e,t){return z(e)?e:new $t(e,t)}var $t=class{constructor(e,t){this.dep=new Xe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:L(e),this._value=t?e:R(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||I(e)||Kt(e);e=n?e:L(e),A(e,t)&&(this._rawValue=e,this._value=n?e:R(e),this.dep.trigger())}};function en(e){return z(e)?e.value:e}function tn(e){return g(e)?e():en(e)}var nn={get:(e,t,n)=>t===`__v_raw`?e:en(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return z(i)&&!z(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function rn(e){return Gt(e)?e:new Proxy(e,nn)}var an=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Xe,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function on(e){return new an(e)}var sn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=v(t)?t:String(t),this._raw=L(e);let r=!0,i=e;if(!d(e)||v(this._key)||!T(this._key))do r=!qt(i)||I(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=en(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&z(this._raw[this._key])){let t=this._object[this._key];if(z(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return rt(this._raw,this._key)}},cn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function ln(e,t,n){return z(e)?e:g(e)?new cn(e):y(e)&&arguments.length>1?un(e,t,n):Xt(e)}function un(e,t,n){return new sn(e,t,n)}var dn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Xe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Je-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return Fe(this,!0),!0}get value(){let e=this.dep.track();return Ve(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function fn(e,t,n=!1){let r,i;return g(e)?r=e:(r=e.get,i=e.set),new dn(r,i,n)}var pn={},mn=new WeakMap,hn=void 0;function gn(e,t=!1,n=hn){if(n){let t=mn.get(n);t||mn.set(n,t=[]),t.push(e)}}function _n(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:I(e)||o===!1||o===0?vn(e,1):vn(e),m,h,_,v,y=!1,b=!1;if(z(e)?(h=()=>e.value,y=I(e)):Gt(e)?(h=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Gt(e)||I(e)),h=()=>e.map(e=>{if(z(e))return e.value;if(Gt(e))return p(e);if(g(e))return f?f(e,2):e()})):h=g(e)?n?f?()=>f(e,2):e:()=>{if(_){Ge();try{_()}finally{Ke()}}let t=hn;hn=m;try{return f?f(e,3,[v]):e(v)}finally{hn=t}}:r,n&&o){let e=h,t=o===!0?1/0:o;h=()=>vn(e(),t)}let x=Oe(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{e(...t),S()}}let C=b?Array(e.length).fill(pn):pn,w=e=>{if(!(!(m.flags&1)||!m.dirty&&!e))if(n){let e=m.run();if(o||y||(b?e.some((e,t)=>A(e,C[t])):A(e,C))){_&&_();let t=hn;hn=m;try{let t=[e,C===pn?void 0:b&&C[0]===pn?[]:C,v];C=e,f?f(n,3,t):n(...t)}finally{hn=t}}}else m.run()};return u&&u(w),m=new je(h),m.scheduler=l?()=>l(w,!1):w,v=e=>gn(e,!1,m),_=m.onStop=()=>{let e=mn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();mn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function vn(e,t=1/0,n){if(t<=0||!y(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,z(e))vn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)vn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{vn(e,t,n)});else if(w(e)){for(let r in e)vn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vn(e[r],t,n)}return e}function yn(e,t,n,r){try{return r?e(...r):e()}catch(e){bn(e,t,n)}}function B(e,t,n,r){if(g(e)){let i=yn(e,t,n,r);return i&&b(i)&&i.catch(e=>{bn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(B(e[a],t,n,r));return i}}function bn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ge(),yn(o,null,10,[e,i,a]),Ke();return}}xn(e,r,a,i,s)}function xn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var V=[],Sn=-1,Cn=[],wn=null,Tn=0,En=Promise.resolve(),Dn=null;function On(e){let t=Dn||En;return e?t.then(this?e.bind(this):e):t}function kn(e){let t=Sn+1,n=V.length;for(;t<n;){let r=t+n>>>1,i=V[r],a=Fn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function An(e){if(!(e.flags&1)){let t=Fn(e),n=V[V.length-1];!n||!(e.flags&2)&&t>=Fn(n)?V.push(e):V.splice(kn(t),0,e),e.flags|=1,jn()}}function jn(){Dn||=En.then(In)}function Mn(e){d(e)?Cn.push(...e):wn&&e.id===-1?wn.splice(Tn+1,0,e):e.flags&1||(Cn.push(e),e.flags|=1),jn()}function Nn(e,t,n=Sn+1){for(;n<V.length;n++){let t=V[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;V.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Pn(e){if(Cn.length){let e=[...new Set(Cn)].sort((e,t)=>Fn(e)-Fn(t));if(Cn.length=0,wn){wn.push(...e);return}for(wn=e,Tn=0;Tn<wn.length;Tn++){let e=wn[Tn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}wn=null,Tn=0}}var Fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function In(e){try{for(Sn=0;Sn<V.length;Sn++){let e=V[Sn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),yn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Sn<V.length;Sn++){let e=V[Sn];e&&(e.flags&=-2)}Sn=-1,V.length=0,Pn(e),Dn=null,(V.length||Cn.length)&&In(e)}}var H=null,Ln=null;function Rn(e){let t=H;return H=e,Ln=e&&e.type.__scopeId||null,t}function zn(e,t=H,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&to(-1);let i=Rn(t),a;try{a=e(...n)}finally{Rn(i),r._d&&to(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Bn(e,n){if(H===null)return e;let r=Io(H),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(g(a)&&(a={mounted:a,updated:a}),a.deep&&vn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Vn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Ge(),B(c,n,8,[e.el,s,e,t]),Ke())}}function Hn(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function Un(e,t,n=!1){let r=xo();if(r||Ki){let i=Ki?Ki._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(r&&r.proxy):t}}function Wn(){return!!(xo()||Ki)}var Gn=Symbol.for(`v-scx`),Kn=()=>Un(Gn);function qn(e,t){return Xn(e,null,t)}function Jn(e,t){return Xn(e,null,{flush:`sync`})}function Yn(e,t,n){return Xn(e,t,n)}function Xn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(Do){if(c===`sync`){let e=Kn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=$;u.call=(e,t,n)=>B(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{G(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():An(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=_n(e,n,u);return Do&&(f?f.push(h):d&&h()),h}function Zn(e,t,n){let r=this.proxy,i=_(e)?e.includes(`.`)?Qn(r,e):()=>r[e]:e.bind(r,r),a;g(t)?a=t:(a=t.handler,n=t);let o=wo(this),s=Xn(i,a.bind(r),n);return o(),s}function Qn(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var $n=new WeakMap,er=Symbol(`_vte`),tr=e=>e.__isTeleport,nr=e=>e&&(e.disabled||e.disabled===``),rr=e=>e&&(e.defer||e.defer===``),ir=e=>typeof SVGElement<`u`&&e instanceof SVGElement,ar=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,or=(e,t)=>{let n=e&&e.to;return _(n)?t?t(n):null:n},sr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=nr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=nr(e.props),r=e.target=or(e.props,m),a=fr(r,e,h,p);r&&(o!==`svg`&&ir(r)?o=`svg`:o!==`mathml`&&ar(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),dr(e,!1)))},S=e=>{let t=()=>{$n.get(e)===t&&($n.delete(e),nr(e.props)&&(b(e,_(e.el)||n,e.anchor),dr(e,!0)),x(e))};$n.set(e,t),G(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),rr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),dr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=$n.get(e);if(u){u.flags|=8,$n.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=nr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||ir(p)?o=`svg`:(o===`mathml`||ar(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),ja(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=or(t.props,m);e&&cr(t,e,null,l,0)}else g&&cr(t,p,h,l,1);dr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=a||!nr(f),m=$n.get(e);if(m&&(m.flags|=8,$n.delete(e),p=!1),d&&(i(l),i(u)),a&&i(c),o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,p,!!i.dynamicChildren)}},move:cr,hydrate:lr};function cr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!$n.has(e)&&(!d||nr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function lr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=or(t.props,c),h=nr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||fr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||fr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),dr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var ur=sr;function dr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function fr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[er]=o,e&&(r(a,e,i),r(o,e,i)),o}var pr=Symbol(`_leaveCb`),mr=Symbol(`_enterCb`);function hr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ai(()=>{e.isMounted=!0}),ci(()=>{e.isUnmounting=!0}),e}var U=[Function,Array],gr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:U,onEnter:U,onAfterEnter:U,onEnterCancelled:U,onBeforeLeave:U,onLeave:U,onAfterLeave:U,onLeaveCancelled:U,onBeforeAppear:U,onAppear:U,onAfterAppear:U,onAppearCancelled:U},_r=e=>{let t=e.subTree;return t.component?_r(t.component):t},vr={name:`BaseTransition`,props:gr,setup(e,{slots:t}){let n=xo(),r=hr();return()=>{let i=t.default&&Er(t.default(),!0),a=i&&i.length?yr(i):n.subTree?mo():void 0;if(!a)return;let o=L(e),{mode:s}=o;if(r.isLeaving)return Cr(a);let c=wr(a);if(!c)return Cr(a);let l=Sr(c,o,r,n,e=>l=e);c.type!==q&&Tr(c,l);let u=n.subTree&&wr(n.subTree);if(u&&u.type!==q&&!Y(u,c)&&_r(n).type!==q){let e=Sr(u,o,r,n);if(Tr(u,e),s===`out-in`&&c.type!==q)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Cr(a);s===`in-out`&&c.type!==q?e.delayLeave=(e,t,n)=>{let i=xr(r,u);i[String(u.key)]=u,e[pr]=()=>{t(),e[pr]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function yr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==q){t=n;break}}return t}var br=vr;function xr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Sr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=xr(n,e),C=(e,t)=>{e&&B(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=_||c;else return;t[pr]&&t[pr](!0);let i=S[x];i&&Y(e,i)&&i.el[pr]&&i.el[pr](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted)if(a)r=v||l,i=y||u,o=b||f;else return;let s=!1;t[mr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[mr]=void 0)};let c=t[mr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[mr]&&t[mr](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[pr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[pr]=void 0,S[i]===e&&delete S[i])};let o=t[pr].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=Sr(e,t,n,r,i);return i&&i(a),a}};return T}function Cr(e){if(qr(e))return e=fo(e),e.children=null,e}function wr(e){if(!qr(e))return tr(e.type)&&e.children?yr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&g(n.default))return n.default()}}function Tr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Er(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===K?(o.patchFlag&128&&i++,r=r.concat(Er(o.children,t,s))):(t||o.type!==q)&&r.push(s==null?o:fo(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Dr(e,t){return g(e)?s({name:e.name},t,{setup:e}):e}function Or(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function kr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Ar=new WeakMap;function jr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>jr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Wr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&jr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?Io(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,h=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=L(v),b=v===t?i:e=>kr(h,e)?!1:u(y,e),x=(e,t)=>!(t&&kr(h,t));if(m!=null&&m!==p){if(Mr(n),_(m))h[m]=null,b(m)&&(v[m]=null);else if(z(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(g(p))yn(p,f,12,[l,h]);else{let t=_(p),n=z(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:h[p]:x(p)||!e.k?p.value:h[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)h[p]=[s],b(p)&&(v[p]=h[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(h[e.k]=t)}}else t?(h[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(h[e.k]=l))};if(l){let t=()=>{i(),Ar.delete(e)};t.id=-1,Ar.set(e,t),G(t,r)}else Mr(e),i()}}}function Mr(e){let t=Ar.get(e);t&&(t.flags|=8,Ar.delete(e))}var Nr=!1,Pr=()=>{Nr||=(console.error(`Hydration completed but contains mismatches.`),!0)},Fr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,Ir=e=>e.namespaceURI.includes(`MathML`),Lr=e=>{if(e.nodeType===1){if(Fr(e))return`svg`;if(Ir(e))return`mathml`}},Rr=e=>e.nodeType===8;function zr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),Pn(),t._vnode=e;return}f(t.firstChild,e,null,null,null),Pn(),t._vnode=e},f=(n,r,a,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=Rr(n)&&n.data===`[`,x=()=>g(n,r,a,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(d=!1,r.dynamicChildren=null);let D=null;switch(S){case Ya:E===3?(n.data!==r.children&&(Pr(),n.data=r.children),D=o(n)):r.children===``?(l(r.el=i(``),s(n),n),D=n):D=x();break;case q:y(n)?(D=o(n),v(r.el=n.content.firstChild,n,a)):D=E!==8||b?x():o(n);break;case Xa:if(b&&(n=o(n),E=n.nodeType),E===1||E===3){D=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=D.nodeType===1?D.outerHTML:D.data),t===r.staticCount-1&&(r.anchor=D),D=o(D);return b?o(D):D}else x();break;case K:D=b?h(n,r,a,c,u,d):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,a,c,u,d);else if(w&6){r.slotScopeIds=u;let e=s(n);if(D=b?_(n):Rr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):o(n),t(r,e,null,a,c,Lr(e),d),Wr(r)&&!r.type.__asyncResolved){let t;b?(t=X(K),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?po(``):X(`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,a,c,u,d,e,m):x():w&128&&(D=r.type.hydrate(n,r,a,c,Lr(s(n)),u,d,e,f))}return C!=null&&jr(C,null,c,r),D},p=(e,t,n,i,o,s)=>{s||=!!t.dynamicChildren;let{type:l,props:u,patchFlag:d,shapeFlag:f,dirs:p,transition:h}=t,g=l===`input`||l===`option`;if(g||d!==-1){p&&Vn(t,null,n,`created`);let l=!1;if(y(e)){l=Aa(null,h)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),h.beforeEnter(r)}v(r,e,n),t.el=e=r}if(f&16&&!(u&&(u.innerHTML||u.textContent))){let r=m(e.firstChild,t,e,n,i,o,s);for(;r;){Hr(e,1)||Pr();let t=r;r=r.nextSibling,c(t)}}else if(f&8){let n=t.children;n[0]===`
|
|
2
|
-
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
|
|
3
|
-
`)&&(Hr(e,0)||Pr(),e.textContent=t.children)}if(u){if(g||!s||d&48){let t=e.tagName.includes(`-`);for(let i in u)(g&&(i.endsWith(`value`)||i===`indeterminate`)||a(i)&&!E(i)||i[0]===`.`||t&&!E(i))&&r(e,i,null,u[i],void 0,n)}else if(u.onClick)r(e,`onClick`,null,u.onClick,void 0,n);else if(d&4&&Gt(u.style))for(let e in u.style)u.style[e]}let _;(_=u&&u.onVnodeBeforeMount)&&Q(_,n,t),p&&Vn(t,null,n,`beforeMount`),((_=u&&u.onVnodeMounted)||p||l)&&Ka(()=>{_&&Q(_,n,t),l&&h.enter(e),p&&Vn(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,a,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length;for(let t=0;t<p;t++){let m=u?d[t]:d[t]=Z(d[t]),h=m.type===Ya;e?(h&&!u&&t+1<p&&Z(d[t+1]).type===Ya&&(l(i(e.data.slice(m.children.length)),r,o(e)),e.data=m.children),e=f(e,m,a,s,c,u)):h&&!m.children?l(m.el=i(``),r):(Hr(r,1)||Pr(),n(null,m,r,null,a,s,Lr(r),c))}return e},h=(e,t,n,r,i,a)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=s(e),f=m(o(e),t,d,n,r,i,a);return f&&Rr(f)&&f.data===`]`?o(t.anchor=f):(Pr(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,a,l)=>{if(Hr(e.parentElement,1)||Pr(),t.el=null,l){let t=_(e);for(;;){let n=o(e);if(n&&n!==t)c(n);else break}}let u=o(e),d=s(e);return c(e),n(null,t,d,u,r,i,Lr(d),a),r&&(r.vnode.el=t.el,oa(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=o(e),e&&Rr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return o(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var Br=`data-allow-mismatch`,Vr={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Hr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Br);)e=e.parentElement;let n=e&&e.getAttribute(Br);if(n==null)return!1;if(n===``)return!0;{let e=n.split(`,`);return t===0&&e.includes(`children`)?!0:e.includes(Vr[t])}}ce().requestIdleCallback,ce().cancelIdleCallback;function Ur(e,t){if(Rr(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Rr(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}var Wr=e=>!!e.type.__asyncLoader;function Gr(e){g(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return Dr({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=!1;(t.bu||=[]).push(()=>r=!0);let i=()=>{r||n()},o=a?()=>{let n=a(i,t=>Ur(e,t));n&&(t.bum||=[]).push(n)}:i;u?o():p().then(()=>!t.isUnmounted&&o())},get __asyncResolved(){return u},setup(){let e=$;if(Or(e),u)return()=>Kr(u,e);let t=t=>{l=null,bn(t,e,13,!r)};if(s&&e.suspense||Do)return p().then(t=>()=>Kr(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=Xt(!1),c=Xt(),d=Xt(!!i);return i&&setTimeout(()=>{d.value=!1},i),o!=null&&setTimeout(()=>{if(!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o),p().then(()=>{a.value=!0,e.parent&&qr(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),c.value=e}),()=>{if(a.value&&u)return Kr(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return Kr(n,e)}}})}function Kr(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=X(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var qr=e=>e.type.__isKeepAlive,Jr={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=xo(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),G(()=>{a.isDeactivated=!1,a.a&&j(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Q(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;Pa(t.m),Pa(t.a),l(e,f,null,1,s),G(()=>{t.da&&j(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Q(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){ei(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=Lo(Wr(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!Y(t,o))?p(t):o&&ei(o),i.delete(e),a.delete(e)}Yn(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Yr(e,t)),t&&m(e=>!Yr(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(Ia(n.subTree.type)?G(()=>{i.set(g,ti(n.subTree))},n.subTree.suspense):i.set(g,ti(n.subTree)))};return ai(_),si(_),ci(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=ti(t);if(e.type===i.type&&e.key===i.key){ei(i);let e=i.component.da;e&&G(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!ao(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=ti(r);if(s.type===q)return o=null,s;let c=s.type,l=Lo(Wr(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Yr(u,l))||d&&l&&Yr(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=fo(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&Tr(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,Ia(r.type)?r:s}}};function Yr(e,t){return d(e)?e.some(e=>Yr(e,t)):_(e)?e.split(`,`).includes(t):h(e)?(e.lastIndex=0,e.test(t)):!1}function Xr(e,t){Qr(e,`a`,t)}function Zr(e,t){Qr(e,`da`,t)}function Qr(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(ni(t,r,n),n){let e=n.parent;for(;e&&e.parent;)qr(e.parent.vnode)&&$r(r,t,n,e),e=e.parent}}function $r(e,t,n,r){let i=ni(t,e,r,!0);li(()=>{c(r[t],i)},n)}function ei(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ti(e){return e.shapeFlag&128?e.ssContent:e}function ni(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ge();let i=wo(n),a=B(t,n,e,r);return i(),Ke(),a};return r?i.unshift(a):i.push(a),a}}var ri=e=>(t,n=$)=>{(!Do||e===`sp`)&&ni(e,(...e)=>t(...e),n)},ii=ri(`bm`),ai=ri(`m`),oi=ri(`bu`),si=ri(`u`),ci=ri(`bum`),li=ri(`um`),ui=ri(`sp`),di=ri(`rtg`),fi=ri(`rtc`);function pi(e,t=$){ni(`ec`,e,t)}var mi=`components`;function hi(e,t){return vi(mi,e,!0,t)||e}var gi=Symbol.for(`v-ndc`);function _i(e){return _(e)?vi(mi,e,!1)||e:e||gi}function vi(e,t,n=!0,r=!1){let i=H||$;if(i){let n=i.type;if(e===mi){let e=Lo(n,!1);if(e&&(e===t||e===O(t)||e===ne(O(t))))return n}let a=yi(i[e]||n[e],t)||yi(i.appContext[e],t);return!a&&r?n:a}}function yi(e,t){return e&&(e[t]||e[O(t)]||e[ne(O(t))])}function bi(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||_(e)){let n=o&&Gt(e),r=!1,s=!1;n&&(r=!I(e),s=Kt(e),e=at(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Yt(R(e[n])):R(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(y(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function xi(e,t,n={},r,i){if(H.ce||H.parent&&Wr(H.parent)&&H.parent.ce){let e=Object.keys(n).length>0;return t!==`default`&&(n.name=t),Qa(),io(K,null,[X(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),Qa();let o=a&&Si(a(n)),s=n.key||o&&o.key,c=io(K,{key:(s&&!v(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function Si(e){return e.some(e=>ao(e)?!(e.type===q||e.type===K&&!Si(e.children)):!0)?e:null}var Ci=e=>e?Eo(e)?Io(e):Ci(e.parent):null,wi=s(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=>Ci(e.parent),$root:e=>Ci(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Pi(e),$forceUpdate:e=>e.f||=()=>{An(e.update)},$nextTick:e=>e.n||=On.bind(e.proxy),$watch:e=>Zn.bind(e)}),Ti=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Ei={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(Ti(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else ki&&(s[n]=0)}let d=wi[n],f,p;if(d)return n===`$attrs`&&F(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return Ti(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||Ti(n,c)||u(o,c)||u(i,c)||u(wi,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Di(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Oi(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},Di(e),Di(t))}var ki=!0;function Ai(e){let t=Pi(e),n=e.proxy,i=e.ctx;ki=!1,t.beforeCreate&&Mi(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:h,updated:_,activated:v,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:E,renderTriggered:D,errorCaptured:ee,serverPrefetch:O,expose:te,inheritAttrs:k,components:ne,directives:re,filters:A}=t;if(u&&ji(u,i,null),s)for(let e in s){let t=s[e];g(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);y(t)&&(e.data=Bt(t))}if(ki=!0,o)for(let e in o){let t=o[e],a=zo({get:g(t)?t.bind(n,n):g(t.get)?t.get.bind(n,n):r,set:!g(t)&&g(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Ni(c[e],i,n,e);if(l){let e=g(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Hn(t,e[t])})}f&&Mi(f,e,`c`);function j(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(j(ii,p),j(ai,m),j(oi,h),j(si,_),j(Xr,v),j(Zr,b),j(pi,ee),j(fi,E),j(di,D),j(ci,S),j(li,w),j(ui,O),d(te))if(te.length){let t=e.exposed||={};te.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};T&&e.render===r&&(e.render=T),k!=null&&(e.inheritAttrs=k),ne&&(e.components=ne),re&&(e.directives=re),O&&Or(e)}function ji(e,t,n=r){d(e)&&(e=zi(e));for(let n in e){let r=e[n],i;i=y(r)?`default`in r?Un(r.from||n,r.default,!0):Un(r.from||n):Un(r),z(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Mi(e,t,n){B(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ni(e,t,n,r){let i=r.includes(`.`)?Qn(n,r):()=>n[r];if(_(e)){let n=t[e];g(n)&&Yn(i,n)}else if(g(e))Yn(i,e.bind(n));else if(y(e))if(d(e))e.forEach(e=>Ni(e,t,n,r));else{let r=g(e.handler)?e.handler.bind(n):t[e.handler];g(r)&&Yn(i,r,e)}}function Pi(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Fi(c,e,o,!0)),Fi(c,t,o)),y(t)&&a.set(t,c),c}function Fi(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Fi(e,a,n,!0),i&&i.forEach(t=>Fi(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ii[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Ii={data:Li,props:Vi,emits:Vi,methods:Bi,computed:Bi,beforeCreate:W,created:W,beforeMount:W,mounted:W,beforeUpdate:W,updated:W,beforeDestroy:W,beforeUnmount:W,destroyed:W,unmounted:W,activated:W,deactivated:W,errorCaptured:W,serverPrefetch:W,components:Bi,directives:Bi,watch:Hi,provide:Li,inject:Ri};function Li(e,t){return t?e?function(){return s(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function Ri(e,t){return Bi(zi(e),zi(t))}function zi(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function W(e,t){return e?[...new Set([].concat(e,t))]:t}function Bi(e,t){return e?s(Object.create(null),e,t):t}function Vi(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),Di(e),Di(t??{})):t}function Hi(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=W(e[r],t[r]);return n}function Ui(){return{app:null,config:{isNativeTag:i,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}}var Wi=0;function Gi(e,t){return function(n,r=null){g(n)||(n=s({},n)),r!=null&&!y(r)&&(r=null);let i=Ui(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Wi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Vo,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&g(e.install)?(a.add(e),e.install(l,...t)):g(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||X(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,Io(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(B(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Ki;Ki=l;try{return e()}finally{Ki=t}}};return l}}var Ki=null;function qi(e,n,r=t){let i=xo(),a=O(n),o=k(n),s=Ji(e,a),c=on((s,c)=>{let l,u=t,d;return Jn(()=>{let t=e[a];A(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!A(s,l)&&!(u!==t&&A(e,u)))return;let f=i.vnode.props;f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f)||(l=e,c()),i.emit(`update:${n}`,s),A(e,s)&&A(e,u)&&!A(s,d)&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Ji=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${O(t)}Modifiers`]||e[`${k(t)}Modifiers`];function Yi(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Ji(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>_(e)?e.trim():e)),s.number&&(a=r.map(ae)));let c,l=i[c=re(n)]||i[c=re(O(n))];!l&&o&&(l=i[c=re(k(n))]),l&&B(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,B(u,e,6,a)}}var Xi=new WeakMap;function Zi(e,t,n=!1){let r=n?Xi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!g(e)){let r=e=>{let n=Zi(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(y(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),y(e)&&r.set(e,o),o)}function Qi(e,t){return!e||!a(t)?!1:(t=t.slice(2).replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,k(t))||u(e,t))}function $i(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Rn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Z(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:ta(c)}}catch(t){Za.length=0,bn(t,e,1),v=X(q)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=na(y,a)),b=fo(b,y,!1,!0))}return n.dirs&&(b=fo(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Tr(b,n.transition),v=b,Rn(_),v}function ea(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(ao(r)){if(r.type!==q||r.children===`v-if`){if(n)return;n=r}}else return}return n}var ta=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},na=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ra(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ia(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(aa(o,r,n)&&!Qi(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?ia(r,o,l):!0:!!o;return!1}function ia(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(aa(t,e,a)&&!Qi(n,a))return!0}return!1}function aa(e,t,n){let r=e[n],i=t[n];return n===`style`&&y(r)&&y(i)?!be(r,i):r!==i}function oa({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var sa={},ca=()=>Object.create(sa),la=e=>Object.getPrototypeOf(e)===sa;function ua(e,t,n,r=!1){let i={},a=ca();e.propsDefaults=Object.create(null),fa(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Vt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function da(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=L(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Qi(e.emitsOptions,o))continue;let d=t[o];if(c)if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=O(o);i[t]=pa(c,s,t,d,e,!1)}else d!==a[o]&&(a[o]=d,l=!0)}}}else{fa(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=k(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=pa(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&nt(e.attrs,`set`,``)}function fa(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(E(t))continue;let l=n[t],d;a&&u(a,d=O(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Qi(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=L(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=pa(a,n,s,i[s],e,!u(i,s))}}return s}function pa(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&g(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=wo(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===k(n))&&(r=!0))}return r}var ma=new WeakMap;function ha(e,r,i=!1){let a=i?ma:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!g(e)){let t=e=>{p=!0;let[t,n]=ha(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return y(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=O(c[e]);ga(n)&&(l[n]=t)}else if(c)for(let e in c){let t=O(e);if(ga(t)){let n=c[e],r=l[t]=d(n)||g(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=g(t)&&t.name;if(n===`Boolean`){a=!0;break}else n===`String`&&(o=!1)}else a=g(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return y(e)&&a.set(e,m),m}function ga(e){return e[0]!==`$`&&!E(e)}var _a=e=>e===`_`||e===`_ctx`||e===`$stable`,va=e=>d(e)?e.map(Z):[Z(e)],ya=(e,t,n)=>{if(t._n)return t;let r=zn((...e)=>va(t(...e)),n);return r._c=!1,r},ba=(e,t,n)=>{let r=e._ctx;for(let n in e){if(_a(n))continue;let i=e[n];if(g(i))t[n]=ya(n,i,r);else if(i!=null){let e=va(i);t[n]=()=>e}}},xa=(e,t)=>{let n=va(t);e.slots.default=()=>n},Sa=(e,t,n)=>{for(let r in t)(n||!_a(r))&&(e[r]=t[r])},Ca=(e,t,n)=>{let r=e.slots=ca();if(e.vnode.shapeFlag&32){let e=t._;e?(Sa(r,t,n),n&&ie(r,`_`,e,!0)):ba(t,r)}else t&&xa(e,t)},wa=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:Sa(a,n,r):(o=!n.$stable,ba(n,a)),s=n}else n&&(xa(e,n),s={default:1});if(o)for(let e in a)!_a(e)&&s[e]==null&&delete a[e]},G=Ka;function Ta(e){return Da(e)}function Ea(e){return Da(e,zr)}function Da(e,i){let a=ce();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Y(e,t)&&(r=_e(e),fe(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case Ya:y(e,t,n,r);break;case q:b(e,t,n,r);break;case Xa:e??x(t,n,r,o);break;case K:ne(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?re(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?jr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&jr(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),O(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&ee(e.children,d,null,r,i,Oa(e,a),s,u),_&&Vn(e,null,r,`created`),D(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!E(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Q(f,r,e)}_&&Vn(e,null,r,`beforeMount`);let v=Aa(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&G(()=>{try{f&&Q(f,r,e),v&&g.enter(d),_&&Vn(e,null,r,`mounted`)}finally{}},i)},D=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Ia(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;D(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},ee=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)v(null,e[l]=s?ho(e[l]):Z(e[l]),t,n,r,i,a,o,s)},O=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&ka(r,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,r,n,e),f&&Vn(n,e,r,`beforeUpdate`),r&&ka(r,!0),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?te(e.dynamicChildren,d,l,r,i,Oa(n,a),o):s||se(e,n,l,null,r,i,Oa(n,a),o,!1),u>0){if(u&16)k(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else !s&&d==null&&k(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&G(()=>{g&&Q(g,r,n,e),f&&Vn(n,e,r,`updated`)},i)},te=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];v(c,l,c.el&&(c.type===K||!Y(c,l)||c.shapeFlag&198)?m(c.el):n,null,r,i,a,o,!0)}},k=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!E(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(E(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ne=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),ee(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(te(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&ja(e,t,!0)):se(e,t,n,f,i,a,s,c,l)},re=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):A(t,n,r,i,a,o,c):ie(e,t,c)},A=(e,t,n,r,i,a,o)=>{let s=e.component=bo(e,r,i);if(qr(e)&&(s.ctx.renderer=be),Oo(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ae,o),!e.el){let r=s.subTree=X(q);b(null,r,t,n),e.placeholder=r.el}}else ae(s,e,t,n,i,a,o)},ie=(e,t,n)=>{let r=t.component=e.component;if(ra(e,t,n))if(r.asyncDep&&!r.asyncResolved){oe(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},ae=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Na(e);if(n){t&&(t.el=c.el,oe(e,t,o)),n.asyncDep.then(()=>{G(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;ka(e,!1),t?(t.el=c.el,oe(e,t,o)):t=c,n&&j(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,s,t,c),ka(e,!0);let f=$i(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),_e(p),e,i,a),t.el=f.el,u===null&&oa(e,f.el),r&&G(r,i),(d=t.props&&t.props.onVnodeUpdated)&&G(()=>Q(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Wr(t);if(ka(e,!1),l&&j(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),ka(e,!0),s&&Se){let t=()=>{e.subTree=$i(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=$i(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&G(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;G(()=>Q(o,d,e),i)}(t.shapeFlag&256||d&&Wr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&G(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new je(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>An(u),ka(e,!0),l()},oe=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,da(e,t.props,r,n),wa(e,t.children,n),Ge(),Nn(e),Ke()},se=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){ue(l,d,n,r,i,a,o,s,c);return}else if(f&256){le(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ge(l,i,a),d!==l&&p(n,d)):u&16?m&16?ue(l,d,n,r,i,a,o,s,c):ge(l,i,a,!0):(u&8&&p(n,``),m&16&&ee(d,n,r,i,a,o,s,c))},le=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?ho(t[p]):Z(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ge(e,a,o,!0,!1,f):ee(t,r,i,a,o,s,c,l,f)},ue=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?ho(t[u]):Z(t[u]);if(Y(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?ho(t[p]):Z(t[p]);if(Y(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?ho(t[u]):Z(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)fe(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?ho(t[u]):Z(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){fe(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Y(n,t[_])){i=_;break}i===void 0?fe(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?Ma(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Fa(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?de(n,r,p,2):_--)}}},de=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){de(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,be);return}if(c===K){o(a,t,n);for(let e=0;e<u.length;e++)de(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Xa){S(e,t,n);return}if(r!==2&&d&1&&l)if(r===0)l.beforeEnter(a),o(a,t,n),G(()=>l.enter(a),i);else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{a._isLeaving&&a[pr](!0),r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},fe=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Ge(),jr(s,null,n,e,!0),Ke()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Wr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Q(_,t,e),u&6)he(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Vn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==K||d>0&&d&64)?ge(l,t,n,!1,!0):(a===K&&d&384||!i&&u&16)&&ge(c,t,n),r&&pe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&G(()=>{_&&Q(_,t,e),h&&Vn(e,null,t,`unmounted`),v&&(e.el=null)},n)},pe=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===K){me(n,r);return}if(t===Xa){C(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},me=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},he=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Pa(c),Pa(l),r&&j(r),i.stop(),a&&(a.flags|=8,fe(o,e,t,n)),s&&G(s,t),G(()=>{e.isUnmounted=!0},t)},ge=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)fe(e[o],t,n,r,i)},_e=e=>{if(e.shapeFlag&6)return _e(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[er];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(fe(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,Nn(r),Pn(),!1)},be={p:v,um:fe,m:de,r:pe,mt:A,mc:ee,pc:se,pbc:te,n:_e,o:e},xe,Se;return i&&([xe,Se]=i(be)),{render:ye,hydrate:xe,createApp:Gi(ye,xe)}}function Oa({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 ka({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Aa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ja(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=ho(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&ja(t,a)),a.type===Ya&&(a.patchFlag===-1&&(a=i[e]=ho(a)),a.el=t.el),a.type===q&&!a.el&&(a.el=t.el)}}function Ma(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function Na(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Na(t)}function Pa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Fa(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Fa(t.subTree):null}var Ia=e=>e.__isSuspense,La=0,Ra={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)Ba(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Va(e,t,n,r,i,o,s,c,l)}},hydrate:Ua,normalize:Wa};function za(e,t){let n=e.props&&e.props[t];g(n)&&n()}function Ba(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=Ha(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(za(e,`onPending`),za(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),qa(f,e.ssFallback)):f.resolve(!1,!0)}function Va(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,Y(h,f)?(c(h,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():g&&(_||(c(m,p,n,r,i,null,a,o,s),qa(d,p)))):(d.pendingId=La++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(c(m,p,n,r,i,null,a,o,s),qa(d,p))):m&&Y(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&Y(m,f))c(m,f,n,r,i,d,a,o,s),qa(d,f);else if(za(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=La++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function Ha(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=Ja(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?oe(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:La++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),Mn(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&G(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,qa(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){y.effects.push(...c),S=!0;break}y=y.parent}!S&&!g&&Mn(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),za(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;za(t,`onFallback`);let o=m(n),l=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(d(null,e,i,o,r,null,a,s,c),qa(x,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{bn(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;To(),e.asyncResolved=!0;let{vnode:s}=e;Ao(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),oa(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function Ua(e,t,n,r,i,a,o,s,c){let l=t.suspense=Ha(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function Wa(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ga(r?n.default:n),e.ssFallback=r?Ga(n.fallback):X(q)}function Ga(e){let t;if(g(e)){let n=eo&&e._c;n&&(e._d=!1,Qa()),e=e(),n&&(e._d=!0,t=J,$a())}return d(e)&&(e=ea(e)),e=Z(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function Ka(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Mn(e)}function qa(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,oa(r,i))}function Ja(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var K=Symbol.for(`v-fgt`),Ya=Symbol.for(`v-txt`),q=Symbol.for(`v-cmt`),Xa=Symbol.for(`v-stc`),Za=[],J=null;function Qa(e=!1){Za.push(J=e?null:[])}function $a(){Za.pop(),J=Za[Za.length-1]||null}var eo=1;function to(e,t=!1){eo+=e,e<0&&J&&t&&(J.hasOnce=!0)}function no(e){return e.dynamicChildren=eo>0?J||n:null,$a(),eo>0&&J&&J.push(e),e}function ro(e,t,n,r,i,a){return no(co(e,t,n,r,i,a,!0))}function io(e,t,n,r,i){return no(X(e,t,n,r,i,!0))}function ao(e){return e?e.__v_isVNode===!0:!1}function Y(e,t){return e.type===t.type&&e.key===t.key}var oo=({key:e})=>e??null,so=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:_(e)||z(e)||g(e)?{i:H,r:e,k:t,f:!!n}:e);function co(e,t=null,n=null,r=0,i=null,a=e===K?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&oo(t),ref:t&&so(t),scopeId:Ln,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:H};return s?(go(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=_(n)?8:16),eo>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}var X=lo;function lo(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===gi)&&(e=q),ao(e)){let r=fo(e,t,!0);return n&&go(r,n),eo>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(Ro(e)&&(e=e.__vccOpts),t){t=uo(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=me(e)),y(n)&&(qt(n)&&!d(n)&&(n=s({},n)),t.style=le(n))}let o=_(e)?1:Ia(e)?128:tr(e)?64:y(e)?4:g(e)?2:0;return co(e,t,n,r,i,o,a,!0)}function uo(e){return e?qt(e)||la(e)?s({},e):e:null}function fo(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?_o(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&oo(l),ref:t&&t.ref?n&&a?d(a)?a.concat(so(t)):[a,so(t)]:so(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==K?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&&fo(e.ssContent),ssFallback:e.ssFallback&&fo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Tr(u,c.clone(u)),u}function po(e=` `,t=0){return X(Ya,null,e,t)}function mo(e=``,t=!1){return t?(Qa(),io(q,null,e)):X(q,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(q):d(e)?X(K,null,e.slice()):ao(e)?ho(e):X(Ya,null,String(e))}function ho(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fo(e)}function go(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),go(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!la(t)?t._ctx=H:r===3&&H&&(H.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else g(t)?(t={default:t,_ctx:H},n=32):(t=String(t),r&64?(n=16,t=[po(t)]):n=8);e.children=t,e.shapeFlag|=n}function _o(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=me([t.class,r.class]));else if(e===`style`)t.style=le([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){B(e,t,7,[n,r])}var vo=Ui(),yo=0;function bo(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||vo,o={uid:yo++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ee(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ha(i,a),emitsOptions:Zi(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=Yi.bind(null,o),e.ce&&e.ce(o),o}var $=null,xo=()=>$||H,So,Co;{let e=ce(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};So=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),Co=t(`__VUE_SSR_SETTERS__`,e=>Do=e)}var wo=e=>{let t=$;return So(e),e.scope.on(),()=>{e.scope.off(),So(t)}},To=()=>{$&&$.scope.off(),So(null)};function Eo(e){return e.vnode.shapeFlag&4}var Do=!1;function Oo(e,t=!1,n=!1){t&&Co(t);let{props:r,children:i}=e.vnode,a=Eo(e);ua(e,r,a,t),Ca(e,i,n||t);let o=a?ko(e,t):void 0;return t&&Co(!1),o}function ko(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ei);let{setup:r}=n;if(r){Ge();let n=e.setupContext=r.length>1?Fo(e):null,i=wo(e),a=yn(r,e,0,[e.props,n]),o=b(a);if(Ke(),i(),(o||e.sp)&&!Wr(e)&&Or(e),o){if(a.then(To,To),t)return a.then(n=>{Ao(e,n,t)}).catch(t=>{bn(t,e,0)});e.asyncDep=a}else Ao(e,a,t)}else No(e,t)}function Ao(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=rn(t)),No(e,n)}var jo,Mo;function No(e,t,n){let i=e.type;if(!e.render){if(!t&&jo&&!i.render){let t=i.template||Pi(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=jo(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,Mo&&Mo(e)}{let t=wo(e);Ge();try{Ai(e)}finally{Ke(),t()}}}var Po={get(e,t){return F(e,`get`,``),e[t]}};function Fo(e){return{attrs:new Proxy(e.attrs,Po),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Io(e){return e.exposed?e.exposeProxy||=new Proxy(rn(Jt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wi)return wi[n](e)},has(e,t){return t in e||t in wi}}):e.proxy}function Lo(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}function Ro(e){return g(e)&&`__vccOpts`in e}var zo=(e,t)=>fn(e,t,Do);function Bo(e,t,n){try{to(-1);let r=arguments.length;return r===2?y(t)&&!d(t)?ao(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ao(n)&&(n=[n]),X(e,t,n))}finally{to(1)}}var Vo=`3.5.34`;function Ho(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?Ho(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var Uo=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function Wo(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>Wo(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function Go(e,t,n){if(e.length>0)return Wo(e,t,0,Uo(n))}function Ko(e,t,n){if(e.length>0){let r=Uo(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function qo(e,t){for(let n of[...e])n(t)}var Jo=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,`name`,{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=Ho(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=Ho(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Go,e,t)}callHookParallel(e,...t){return this.callHookWith(Ko,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&qo(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&qo(this._after,r)}):(this._after&&r&&qo(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Yo(){return new Jo}function Xo(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=()=>{if(i){let e=i.getStore();if(e!==void 0)return e}return t};return{use:()=>{let e=a();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>a(),set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,a)=>{r(e),t=e;try{return i?i.run(e,a):a()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let a=()=>{t=e},o=()=>t===e?a:void 0;rs.add(o);try{let a=i?i.run(e,r):r();return n||(t=void 0),await a}finally{rs.delete(o)}}}}function Zo(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=Xo({...e,...r})),t[n]}}}var Qo=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},$o=`__unctx__`,es=Qo[$o]||(Qo[$o]=Zo()),ts=(e,t={})=>es.get(e,t),ns=`__unctx_async_handlers__`,rs=Qo[ns]||(Qo[ns]=new Set);function is(e){let t=[];for(let e of rs){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}var as={id:`__nuxt-loader`},os={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},ss=`#__nuxt`,cs=`nuxt-app`,ls=36e5,us=`vite:preloadError`;function ds(e=`nuxt-app`){return ts(e,{asyncContext:!1})}var fs=`__nuxt_plugin`;function ps(e){let t=0,n={_id:e.id||`nuxt-app`,_scope:De(),provide:void 0,versions:{get nuxt(){return`4.4.5`},get vue(){return n.vueApp.version}},payload:Vt({...e.ssrContext?.payload||{},data:Vt({}),state:Bt({}),once:new Set,_errors:Vt({})}),static:{data:{}},runWithContext(e){return n._scope.active&&!Oe()?n._scope.run(()=>vs(n,e)):vs(n,e)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return n.isHydrating=!1,n.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:Vt({}),_state:Vt({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=Yo(),n.hook=n.hooks.hook;{let e=n.hooks.callHook;n.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}n.callHook=n.hooks.callHook,n.provide=(e,t)=>{let r=`$`+e;Ss(n,r,t),Ss(n.vueApp.config.globalProperties,r,t)},Ss(n.vueApp,`$nuxt`,n),Ss(n.vueApp.config.globalProperties,`$nuxt`,n);{window.addEventListener(us,e=>{n.callHook(`app:chunkError`,{error:e.payload}),e.payload.message.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=bs;let e=n.hook(`app:error`,(...e)=>{console.error(`[nuxt] error caught during app initialization`,...e)});n.hook(`app:mounted`,e)}let r=n.payload.config;return n.provide(`config`,r),n}function ms(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function hs(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function gs(e,t){let n=new Set,r=[],i=[],a,o=0;async function s(c){let l=c.dependsOn?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(l.length>0)r.push([new Set(l),c]);else{let t=hs(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),e.size===0&&(o++,await s(t)))})))}).catch(t=>{if(!c.parallel&&!e.payload.error)throw t;a||=t});c.parallel?i.push(t):await t}}for(let n of t)ms(e,n);for(let e of t)await s(e);if(await Promise.all(i),o)for(let e=0;e<o;e++)await Promise.all(i);if(a)throw e.payload.error||a}function _s(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[fs]:!0,_name:t})}function vs(e,t,n){return ds(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function ys(e){let t;return Wn()&&(t=xo()?.appContext.app.$nuxt),t||=ds(e).tryUse(),t||null}function bs(e){let t=ys(e);if(!t)throw Error(`[nuxt] instance unavailable`);return t}function xs(e){return bs().$config}function Ss(e,t,n){Object.defineProperty(e,t,{get:()=>n})}export{zn as $,Dr as A,be as At,Zr as B,mo as C,o as Ct,po as D,_e as Dt,Ta as E,p as Et,Un as F,le as Ft,Hn as G,ai as H,Oi as I,Ce as It,hi as J,bi as K,On as L,oe as Lt,uo as M,ae as Mt,Bo as N,me as Nt,X as O,_ as Ot,Wn as P,he as Pt,qn as Q,Xr as R,io as S,g as St,Ea as T,a as Tt,li as U,pi as V,Qa as W,qi as X,_i as Y,Yn as Z,Ra as _,s as _t,xs as a,ke as at,zo as b,j as bt,os as c,Xt as ct,is as d,Zt as dt,Bn as et,Yo as f,ln as ft,Jr as g,ne as gt,K as h,O as ht,bs as i,z as it,xo as j,xe as jt,Gr as k,v as kt,ls as l,Vt as lt,gr as m,en as mt,ps as n,Oe as nt,cs as o,Bt as ot,br as p,tn as pt,xi as q,_s as r,Kt as rt,as as s,Ht as st,gs as t,on as tt,ss as u,Ut as ut,ur as v,k as vt,ro as w,y as wt,co as x,d as xt,B as y,ve as yt,ci as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-842bd7c6]{display:grid}.mb-2[data-v-842bd7c6]{margin-bottom:.5rem}.mb-4[data-v-842bd7c6]{margin-bottom:1rem}.max-w-520px[data-v-842bd7c6]{max-width:520px}.min-h-screen[data-v-842bd7c6]{min-height:100vh}.w-full[data-v-842bd7c6]{width:100%}.flex[data-v-842bd7c6]{display:flex}.place-content-center[data-v-842bd7c6]{place-content:center}.items-center[data-v-842bd7c6]{align-items:center}.justify-center[data-v-842bd7c6]{justify-content:center}.overflow-hidden[data-v-842bd7c6]{overflow:hidden}.bg-white[data-v-842bd7c6]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-842bd7c6]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-842bd7c6]{text-align:center}.text-\[80px\][data-v-842bd7c6]{font-size:80px}.text-2xl[data-v-842bd7c6]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-842bd7c6]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-842bd7c6]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-842bd7c6]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-842bd7c6]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-842bd7c6]{font-weight:500}.font-semibold[data-v-842bd7c6]{font-weight:600}.leading-none[data-v-842bd7c6]{line-height:1}.tracking-wide[data-v-842bd7c6]{letter-spacing:.025em}.font-sans[data-v-842bd7c6]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-842bd7c6]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-842bd7c6]{text-decoration-line:underline}.underline-offset-3[data-v-842bd7c6]{text-underline-offset:3px}.antialiased[data-v-842bd7c6]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-842bd7c6]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-842bd7c6]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-842bd7c6]{font-size:110px}.sm\:text-3xl[data-v-842bd7c6]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-65a1b8cc]{display:grid}.mb-2[data-v-65a1b8cc]{margin-bottom:.5rem}.mb-4[data-v-65a1b8cc]{margin-bottom:1rem}.max-w-520px[data-v-65a1b8cc]{max-width:520px}.min-h-screen[data-v-65a1b8cc]{min-height:100vh}.place-content-center[data-v-65a1b8cc]{place-content:center}.overflow-hidden[data-v-65a1b8cc]{overflow:hidden}.bg-white[data-v-65a1b8cc]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-65a1b8cc]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-65a1b8cc]{text-align:center}.text-\[80px\][data-v-65a1b8cc]{font-size:80px}.text-2xl[data-v-65a1b8cc]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-65a1b8cc]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-65a1b8cc]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-65a1b8cc]{font-weight:600}.leading-none[data-v-65a1b8cc]{line-height:1}.tracking-wide[data-v-65a1b8cc]{letter-spacing:.025em}.font-sans[data-v-65a1b8cc]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-65a1b8cc]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-65a1b8cc]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-65a1b8cc]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-65a1b8cc]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-65a1b8cc]{font-size:110px}.sm\:text-3xl[data-v-65a1b8cc]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{At as e,Ct as t,Dt as n,E as r,Et as i,Lt as a,Mt as o,N as s,Ot as c,St as l,T as u,Tt as d,_t as f,bt as p,gt as m,ht as h,jt as g,kt as _,m as v,p as y,vt as b,wt as x,xt as S,y as C,yt as w}from"./c51qs1uH.js";var T=void 0,E=typeof window<`u`&&window.trustedTypes;if(E)try{T=E.createPolicy(`vue`,{createHTML:e=>e})}catch{}var D=T?e=>T.createHTML(e):e=>e,O=`http://www.w3.org/2000/svg`,ee=`http://www.w3.org/1998/Math/MathML`,k=typeof document<`u`?document:null,te=k&&k.createElement(`template`),ne={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?k.createElementNS(O,e):t===`mathml`?k.createElementNS(ee,e):n?k.createElement(e,{is:n}):k.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>k.createTextNode(e),createComment:e=>k.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>k.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{te.innerHTML=D(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=te.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},A=`transition`,j=`animation`,M=Symbol(`_vtc`),N={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},re=f({},v,N),ie=(e=>(e.displayName=`Transition`,e.props=re,e))((e,{slots:t})=>s(y,oe(e),t)),P=(e,t=[])=>{S(e)?e.forEach(e=>e(...t)):e&&e(...t)},ae=e=>e?S(e)?e.some(e=>e.length>1):e.length>1:!1;function oe(e){let t={};for(let n in e)n in N||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=se(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:T=b}=t,E=(e,t,n,r)=>{e._enterCancelled=r,L(e,t?u:s),L(e,t?l:o),n&&n()},D=(e,t)=>{e._isLeaving=!1,L(e,d),L(e,m),L(e,p),t&&t()},O=e=>(t,n)=>{let i=e?w:y,o=()=>E(t,e,n);P(i,[t,o]),R(()=>{L(t,e?c:a),I(t,e?u:s),ae(i)||z(t,r,g,o)})};return f(t,{onBeforeEnter(e){P(v,[e]),I(e,a),I(e,o)},onBeforeAppear(e){P(C,[e]),I(e,c),I(e,l)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>D(e,t);I(e,d),e._enterCancelled?(I(e,p),H(e)):(H(e),I(e,p)),R(()=>{e._isLeaving&&(L(e,d),I(e,m),ae(x)||z(e,r,_,n))}),P(x,[e,n])},onEnterCancelled(e){E(e,!1,void 0,!0),P(b,[e])},onAppearCancelled(e){E(e,!0,void 0,!0),P(T,[e])},onLeaveCancelled(e){D(e),P(S,[e])}})}function se(e){if(e==null)return null;if(x(e))return[F(e.enter),F(e.leave)];{let t=F(e);return[t,t]}}function F(e){return a(e)}function I(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[M]||(e[M]=new Set)).add(t)}function L(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[M];n&&(n.delete(t),n.size||(e[M]=void 0))}function R(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var ce=0;function z(e,t,n,r){let i=e._endId=++ce,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=le(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function le(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${A}Delay`),a=r(`${A}Duration`),o=B(i,a),s=r(`${j}Delay`),c=r(`${j}Duration`),l=B(s,c),u=null,d=0,f=0;t===A?o>0&&(u=A,d=o,f=a.length):t===j?l>0&&(u=j,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?A:j:null,f=u?u===A?a.length:c.length:0);let p=u===A&&/\b(?:transform|all)(?:,|$)/.test(r(`${A}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function B(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>V(t)+V(e[n])))}function V(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function H(e){return(e?e.ownerDocument:document).body.offsetHeight}function ue(e,t,n){let r=e[M];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var U=Symbol(`_vod`),de=Symbol(`_vsh`),fe=Symbol(``),pe=/(?:^|;)\s*display\s*:/;function me(e,t,n){let r=e.style,i=c(n),a=!1;if(n&&!i){if(t)if(c(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??G(r,t,``)}else for(let e in t)n[e]??G(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?G(r,i,``):ge(e,i,!c(t)&&t?t[i]:void 0,o)||G(r,i,o)}}else if(i){if(t!==n){let e=r[fe];e&&(n+=`;`+e),r.cssText=n,a=pe.test(n)}}else t&&e.removeAttribute(`style`);U in e&&(e[U]=a?r.display:``,e[de]&&(r.display=`none`))}var W=/\s*!important$/;function G(e,t,n){if(S(n))n.forEach(n=>G(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=he(e,t);W.test(n)?e.setProperty(b(r),n.replace(W,``),`important`):e[r]=n}}var K=[`Webkit`,`Moz`,`ms`],q={};function he(e,t){let n=q[t];if(n)return n;let r=h(t);if(r!==`filter`&&r in e)return q[t]=r;r=m(r);for(let n=0;n<K.length;n++){let i=K[n]+r;if(i in e)return q[t]=i}return t}function ge(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&c(r)&&n===r}var J=`http://www.w3.org/1999/xlink`;function _e(e,t,r,i,a,o=n(t)){i&&t.startsWith(`xlink:`)?r==null?e.removeAttributeNS(J,t.slice(6,t.length)):e.setAttributeNS(J,t,r):r==null||o&&!w(r)?e.removeAttribute(t):e.setAttribute(t,o?``:_(r)?String(r):r)}function ve(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?D(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=w(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Y(e,t,n,r){e.addEventListener(t,n,r)}function ye(e,t,n,r){e.removeEventListener(t,n,r)}var be=Symbol(`_vei`);function xe(e,t,n,r,i=null){let a=e[be]||(e[be]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Ce(t);r?Y(e,n,a[t]=De(r,i),s):o&&(ye(e,n,o,s),a[t]=void 0)}}var Se=/(?:Once|Passive|Capture)$/;function Ce(e){let t;if(Se.test(e)){t={};let n;for(;n=e.match(Se);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):b(e.slice(2)),t]}var we=0,Te=Promise.resolve(),Ee=()=>we||=(Te.then(()=>we=0),Date.now());function De(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;C(Oe(e,n.value),t,5,[e])};return n.value=e,n.attached=Ee(),n}function Oe(e,t){if(S(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var ke=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ae=(e,n,r,i,a,o)=>{let s=a===`svg`;n===`class`?ue(e,i,s):n===`style`?me(e,r,i):d(n)?t(n)||xe(e,n,r,i,o):(n[0]===`.`?(n=n.slice(1),!0):n[0]===`^`?(n=n.slice(1),!1):je(e,n,i,s))?(ve(e,n,i),!e.tagName.includes(`-`)&&(n===`value`||n===`checked`||n===`selected`)&&_e(e,n,i,s,o,n!==`value`)):e._isVueCE&&(Me(e,n)||e._def.__asyncLoader&&(/[A-Z]/.test(n)||!c(i)))?ve(e,h(n),i,o,n):(n===`true-value`?e._trueValue=i:n===`false-value`&&(e._falseValue=i),_e(e,n,i,s))};function je(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ke(t)&&l(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`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ke(t)&&c(n)?!1:t in e}function Me(e,t){let n=e._def.props;if(!n)return!1;let r=h(t);return Array.isArray(n)?n.some(e=>h(e)===r):Object.keys(n).some(e=>h(e)===r)}var X=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return S(t)?e=>p(t,e):t};function Ne(e){e.target.composing=!0}function Pe(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Z=Symbol(`_assign`);function Fe(e,t,n){return t&&(e=e.trim()),n&&(e=o(e)),e}var Ie={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Z]=X(i);let a=r||i.props&&i.props.type===`number`;Y(e,t?`change`:`input`,t=>{t.target.composing||e[Z](Fe(e.value,n,a))}),(n||a)&&Y(e,`change`,()=>{e.value=Fe(e.value,n,a)}),t||(Y(e,`compositionstart`,Ne),Y(e,`compositionend`,Pe),Y(e,`change`,Pe))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},s){if(e[Z]=X(s),e.composing)return;let c=(a||e.type===`number`)&&!/^0\d/.test(e.value)?o(e.value):e.value,l=t??``;if(c===l)return;let u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l)}},Le={deep:!0,created(e,t,n){e[Z]=X(n),Y(e,`change`,()=>{let t=e._modelValue,n=ze(e),r=e.checked,a=e[Z];if(S(t)){let e=g(t,n),i=e!==-1;if(r&&!i)a(t.concat(n));else if(!r&&i){let n=[...t];n.splice(e,1),a(n)}}else if(i(t)){let e=new Set(t);r?e.add(n):e.delete(n),a(e)}else a(Be(e,r))})},mounted:Re,beforeUpdate(e,t,n){e[Z]=X(n),Re(e,t,n)}};function Re(t,{value:n,oldValue:r},a){t._modelValue=n;let o;if(S(n))o=g(n,a.props.value)>-1;else if(i(n))o=n.has(a.props.value);else{if(n===r)return;o=e(n,Be(t,!0))}t.checked!==o&&(t.checked=o)}function ze(e){return`_value`in e?e._value:e.value}function Be(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Ve=[`ctrl`,`shift`,`alt`,`meta`],He={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)=>Ve.some(n=>e[`${n}Key`]&&!t.includes(n))},Ue=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=He[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},We=f({patchProp:Ae},ne),Q,Ge=!1;function Ke(){return Q||=r(We)}function qe(){return Q=Ge?Q:u(We),Ge=!0,Q}var Je=((...e)=>{let t=Ke().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=$(e);if(!r)return;let i=t._component;!l(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Xe(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Ye=((...e)=>{let t=qe().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=$(e);if(t)return n(t,!0,Xe(t))},t});function Xe(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function $(e){return c(e)?document.querySelector(e):e}export{Ie as a,Le as i,Je as n,Ue as o,Ye as r,ie as t};
|
|
File without changes
|