@vitejs/devtools-self-inspect 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/index.mjs +20 -0
  2. package/dist/nitro.json +3 -3
  3. package/dist/public/200.html +1 -1
  4. package/dist/public/404.html +1 -1
  5. package/dist/public/_nuxt/B3So2_WZ.js +1 -0
  6. package/dist/public/_nuxt/{BBX-ZUUP.js → BCUYQkBl.js} +2 -2
  7. package/dist/public/_nuxt/BI0YL3iH.js +5 -0
  8. package/dist/public/_nuxt/BelzqlhL.js +1 -0
  9. package/dist/public/_nuxt/BhNsG-_1.js +1 -0
  10. package/dist/public/_nuxt/Bq0LRuKw.js +1 -0
  11. package/dist/public/_nuxt/CO61I3Oj.js +1 -0
  12. package/dist/public/_nuxt/CcwKXvt3.js +1 -0
  13. package/dist/public/_nuxt/Daug6VfF.js +1 -0
  14. package/dist/public/_nuxt/Dla5cS7p.js +1 -0
  15. package/dist/public/_nuxt/DsBZNqov.js +1 -0
  16. package/dist/public/_nuxt/VkD6RBvy.js +1 -0
  17. package/dist/public/_nuxt/builds/latest.json +1 -1
  18. package/dist/public/_nuxt/builds/meta/c5db94b2-552e-4d2e-bcde-f9d6cdf20a82.json +1 -0
  19. package/dist/public/_nuxt/{entry.rm-CrWH4.css → entry.Di6uKqcj.css} +1 -1
  20. package/dist/public/_nuxt/error-404.DkiWPM7Q.css +1 -0
  21. package/dist/public/_nuxt/error-500.Wfu13SYC.css +1 -0
  22. package/dist/public/_nuxt/g225hJtQ.js +1 -0
  23. package/dist/public/index.html +1 -1
  24. package/package.json +5 -5
  25. package/dist/public/_nuxt/BE_JSTTi.js +0 -1
  26. package/dist/public/_nuxt/BMLt4BHz.js +0 -1
  27. package/dist/public/_nuxt/B_DOj8eM.js +0 -1
  28. package/dist/public/_nuxt/C1NhDgiZ.js +0 -1
  29. package/dist/public/_nuxt/CDTllBcg.js +0 -1
  30. package/dist/public/_nuxt/CELKKGsd.js +0 -1
  31. package/dist/public/_nuxt/D5J1Nb6l.js +0 -1
  32. package/dist/public/_nuxt/DAmmHap6.js +0 -1
  33. package/dist/public/_nuxt/DWax1IXt.js +0 -1
  34. package/dist/public/_nuxt/DbA1e8sE.js +0 -1
  35. package/dist/public/_nuxt/Dhk3iHOP.js +0 -4
  36. package/dist/public/_nuxt/OGH9CFAd.js +0 -1
  37. package/dist/public/_nuxt/ObSL26e4.js +0 -2
  38. package/dist/public/_nuxt/_kqRH7g9.js +0 -1
  39. package/dist/public/_nuxt/builds/meta/148a6205-0002-4533-adc6-c5a19a4d8dde.json +0 -1
  40. package/dist/public/_nuxt/daAs_G9B.js +0 -1
  41. package/dist/public/_nuxt/error-404.BeKtb6Ri.css +0 -1
  42. package/dist/public/_nuxt/error-500.DRkk-cad.css +0 -1
  43. /package/dist/public/_nuxt/{BUwCbG2W.js → CHHO6nw6.js} +0 -0
@@ -0,0 +1 @@
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,J as l,K as u,L as d,Mt as f,O as p,Pt as m,S as h,U as g,W as _,X as v,Z as y,b,ct as x,et as S,h as C,pt as w,q as T,ut as E,v as D,w as O,x as k}from"./BCUYQkBl.js";import{i as A,o as j}from"./Bq0LRuKw.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=E(z(n.value)),a=E(null),c=E(new Set),l=E(null),u=E(null),d=E(new Set([i.value.root.id])),f=b(()=>Y(i.value.root,e=>d.value.has(e))),p=null,m=new le,h=E(0),_=b(()=>(h.value,m.canUndo)),v=b(()=>(h.value,m.canRedo)),x=E(``),S=E([]),C=E(0),w=b(()=>new Set(S.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=``,S.value=[],C.value=0},{flush:`sync`}),y(i,e=>{if(!x.value.trim())return;let t=pe(e,x.value);S.value=t,C.value=Math.min(C.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:S,searchMatchIndex:C,searchMatchNodeIds:w,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()){S.value=[],C.value=0;return}let t=pe(i.value,e);if(S.value=t,C.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(S.value.length===0)return;let e=(C.value+1)%S.value.length;C.value=e,O(S.value[e].nodeId)},prevSearchMatch(){if(S.value.length===0)return;let e=(C.value-1+S.value.length)%S.value.length;C.value=e,O(S.value[e].nodeId)}}}),(e,t)=>T(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=E(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=E(!1);function l(){return o.selectedNodeIds.value.has(r.node.id)}function d(){return o.expandedNodeIds.value.has(r.node.id)}let f=r.node.type===`object`||r.node.type===`array`,p=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 f?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 S(){return r.dragState.dropTargetNodeId===r.node.id&&r.dragState.dropPosition===`after`?`var(--vj-accent, #007acc)`:`transparent`}function T(){let e=l(),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(C,null,[k(`div`,{role:`treeitem`,"aria-selected":l(),"aria-expanded":w(f)?d():void 0,draggable:!p,"data-node-id":e.node.id,style:m({display:`flex`,alignItems:`center`,gap:`6px`,padding:`1px 8px`,paddingLeft:8+e.depth*16+`px`,cursor:`pointer`,backgroundColor:T(),minHeight:`28px`,userSelect:`none`,opacity:e.dragState.draggedNodeIds.has(e.node.id)?.4:1,borderTop:`2px solid ${x()}`,borderBottom:`2px solid ${S()}`,boxSizing:`border-box`,color:l()&&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`])},[w(f)?(_(),O(`button`,{key:0,"aria-label":d()?`Collapse`:`Expand`,style:m({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:d()?`rotate(90deg)`:`rotate(0deg)`}),onClick:r[0]||=j(()=>w(s).toggleExpand(e.node.id),[`stop`])},` ▶ `,12,Fe)):(_(),O(`span`,Ie)),k(`span`,{style:m({color:`inherit`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,flexShrink:0,fontWeight:p?600:400})},a(p?`/`:w(X)(e.node,w(o).tree.value)),5),!p&&w(f)&&e.showCounts?(_(),O(`span`,{key:2,style:m({color:l()?`inherit`:`var(--vj-text-muted, #888888)`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,whiteSpace:`nowrap`,marginLeft:`auto`})},a(y()),5)):n(``,!0),!p&&!w(f)&&e.showValues?(_(),O(`span`,{key:3,style:m({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`})},a(y()),5)):n(``,!0)],44,Pe),d()?(_(!0),O(C,{key:0},u(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=E(null),c=E({left:r.x,top:r.y});y(()=>[r.x,r.y],async()=>{if(await d(),!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 l(e){o.value&&!o.value.contains(e.target)&&i(`close`)}function f(e){e.key===`Escape`&&i(`close`)}return s(async()=>{if(await d(),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`,l),document.addEventListener(`keydown`,f)}),g(()=>{document.removeEventListener(`mousedown`,l),document.removeEventListener(`keydown`,f)}),(t,r)=>(_(),h(D,{to:`body`},[k(`div`,{ref_key:`menuRef`,ref:o,style:m({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(C,null,u(e.items,(e,t)=>(_(),O(C,{key:t},[`separator`in e&&e.separator?(_(),O(`div`,Re)):`label`in e?(_(),O(`button`,{key:1,disabled:e.disabled,style:m({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`}},a(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=E(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=E(null),m=E(!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 S(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(C,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:S,onFocus:i[0]||=()=>m.value=!0,onBlur:i[1]||=()=>m.value=!1},[p(Le,{node:w(r).tree.value.root,depth:0,"drag-state":w(s),"show-values":t.showValues??!0,"show-counts":t.showCounts??!1,"is-focused":m.value,onDragStart:w(c),onDragOver:w(l),onDragEnd:w(u),onDrop:w(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=E(o.value),l=E(!1),d=E(0),f=E(null),p=E(null),h=E(null);y(o,e=>{c.value=e});let v=b(()=>{if(!l.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,()=>{d.value=0}),y(()=>[d.value,l.value],([e,t])=>{let n=p.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}l.value=!1,(n=f.value)==null||n.blur()}function S(e){var t;if(!l.value){(e.key===`ArrowDown`||e.key===`Enter`)&&(l.value=!0,e.preventDefault());return}switch(e.key){case`ArrowDown`:e.preventDefault(),d.value=Math.min(d.value+1,v.value.length-1);break;case`ArrowUp`:e.preventDefault(),d.value=Math.max(d.value-1,0);break;case`Enter`:e.preventDefault(),v.value.length>0&&d.value<v.value.length?x(v.value[d.value].path):x(c.value.trim()||`/`);break;case`Escape`:e.preventDefault(),c.value=o.value,l.value=!1,(t=f.value)==null||t.blur();break}}function w(e){h.value&&!h.value.contains(e.target)&&(c.value=o.value,l.value=!1)}return s(()=>document.addEventListener(`mousedown`,w)),g(()=>document.removeEventListener(`mousedown`,w)),(e,t)=>(_(),O(`div`,{ref_key:`wrapperRef`,ref:h,style:{position:`relative`,flex:1,minWidth:0}},[k(`input`,{ref_key:`inputRef`,ref:f,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,l.value||=!0},onFocus:t[1]||=e=>{e.target.select(),l.value=!0},onKeydown:S},null,40,Ue),l.value&&v.value.length>0?(_(),O(`div`,{key:0,ref_key:`listRef`,ref:p,style:m({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(C,null,u(v.value,(e,t)=>(_(),O(`div`,{key:e.id,style:m({padding:`4px 12px`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,color:t===d.value?`var(--vj-text, #cccccc)`:`var(--vj-text-muted, #888888)`,backgroundColor:t===d.value?`var(--vj-bg-hover, #2a2d2e)`:`transparent`,cursor:`pointer`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}),onMousedown:j(()=>x(e.path),[`prevent`]),onMouseenter:()=>d.value=t},a(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 l=E(o.value),d=E(!1),f=E(0),p=E(null),h=E(null),x=E(null);y(()=>o.value,e=>{l.value=e});let S=b(()=>o.enumValues.map(e=>String(e)));y(S,()=>{f.value=0}),y(()=>[f.value,d.value],([e,t])=>{let n=p.value;!n||!t||n.children[e]?.scrollIntoView({block:`nearest`})});function w(e){c(`valueChange`,e),l.value=e,d.value=!1}function T(e){if(!d.value){(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(e.preventDefault(),e.stopPropagation(),d.value=!0);return}switch(e.key){case`ArrowDown`:e.preventDefault(),e.stopPropagation(),f.value=Math.min(f.value+1,S.value.length-1);break;case`ArrowUp`:e.preventDefault(),e.stopPropagation(),f.value=Math.max(f.value-1,0);break;case`Enter`:e.preventDefault(),e.stopPropagation(),S.value.length>0&&f.value<S.value.length&&w(S.value[f.value]);break;case`Escape`:e.preventDefault(),e.stopPropagation(),l.value=o.value,d.value=!1;break;case`Tab`:l.value=o.value,d.value=!1;break}}function D(e){h.value&&!h.value.contains(e.target)&&(l.value=o.value,d.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:l.value,spellcheck:`false`,autocomplete:`off`,style:m(e.inputStyle),onInput:i[0]||=e=>{l.value=e.target.value,d.value||=!0},onFocus:i[1]||=()=>d.value=!0,onKeydown:T,onClick:i[2]||=j(()=>{},[`stop`])},null,44,Je),d.value&&S.value.length>0?(_(),O(`div`,{key:0,ref_key:`listRef`,ref:p,style:m({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(C,null,u(S.value,(t,n)=>(_(),O(`div`,{key:t,style:m({padding:`4px 12px`,fontSize:`13px`,fontFamily:`var(--vj-font, monospace)`,display:`flex`,alignItems:`center`,gap:`6px`,color:n===f.value?`var(--vj-text, #cccccc)`:`var(--vj-text-muted, #888888)`,backgroundColor:n===f.value?`var(--vj-bg-hover, #2a2d2e)`:`transparent`,cursor:`pointer`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}),onMousedown:j(()=>w(t),[`prevent`]),onMouseenter:()=>f.value=n},[k(`span`,Xe,a(t===e.value?`✓`:``),1),r(` `+a(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=E(!1),l=E(null),f=E(null);function p(){l.value&&typeof l.value.focus==`function`&&l.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)),S=b(()=>r.editingNodeId.value===t.node.id),T=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(S,async e=>{e&&(await d(),g.value?f.value&&f.value.focus():t.node.value!==null&&t.node.value!==void 0&&t.node.value!==``&&l.value?p():f.value&&f.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:m({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=>w(r).onSelect(e.node.id,t),[`stop`]),onDblclick:i[4]||=()=>w(r).onToggleCollapse(e.node.id),onMouseenter:i[5]||=()=>c.value=!0,onMouseleave:i[6]||=()=>c.value=!1,onDragstart:G,onDragover:W,onDragend:i[7]||=()=>w(r).onDragEnd(),onDrop:i[8]||=j(()=>w(r).onDrop(),[`prevent`])},[k(`button`,{style:m({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:T.value?`rotate(0deg)`:`rotate(90deg)`}),onClick:i[0]||=j(()=>w(r).onToggleCollapse(e.node.id),[`stop`])},` ▶ `,4),S.value&&!v.value?(_(),O(`input`,{key:0,ref_key:`keyInputRef`,ref:f,value:e.node.key,style:m({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:m({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})},a(v.value?`/`:w(X)(e.node,w(o).tree.value)),5)),w(r).showDescriptions&&F.value&&!x.value?(_(),O(`span`,nt,a(F.value),1)):n(``,!0),c.value?(_(),O(`button`,{key:3,style:m({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 `+a(e.node.type===`array`?`item`:`property`),5)):n(``,!0),w(r).showCounts?(_(),O(`span`,{key:4,style:m({color:x.value?`inherit`:`var(--vj-text-dim, #666666)`,fontSize:`12px`,fontFamily:`var(--vj-font, monospace)`,marginLeft:`auto`})},a(e.node.type===`array`?`${e.node.children.length} items`:`${e.node.children.length} properties`),5)):n(``,!0),!v.value&&S.value?(_(),O(`button`,{key:5,style:m({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)`,...w(r).showCounts?{}:{marginLeft:`auto`}}),title:`Remove`,onClick:j(ae,[`stop`])},` × `,4)):n(``,!0)],44,et),w(r).showDescriptions&&N.value?(_(),O(`div`,{key:0,style:m({padding:`2px 12px 4px`,paddingLeft:8+e.depth*16+22+`px`,fontSize:`11px`,color:`var(--vj-text-dim, #666666)`,fontFamily:`var(--vj-font, monospace)`})},a(N.value),5)):n(``,!0),T.value?n(``,!0):(_(),O(`div`,rt,[(_(!0),O(C,null,u(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:m({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=>w(r).onSelect(e.node.id,t),[`stop`]),onDblclick:i[15]||=()=>w(r).onStartEditing(e.node.id),onMouseenter:i[16]||=()=>c.value=!0,onMouseleave:i[17]||=()=>c.value=!1,onDragstart:G,onDragover:W,onDragend:i[18]||=()=>w(r).onDragEnd(),onDrop:i[19]||=j(()=>w(r).onDrop(),[`prevent`])},[i[20]||=k(`span`,{style:{width:`16px`,flexShrink:0}},null,-1),S.value&&D.value?(_(),O(`input`,{key:0,ref_key:`keyInputRef`,ref:f,value:e.node.key,style:m({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&&l.value&&(e.preventDefault(),p())}},null,44,at)):(_(),O(`span`,{key:1,style:m({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})},a(w(X)(e.node,w(o).tree.value)),5)),M.value&&!x.value?(_(),O(`span`,ot,` * `)):n(``,!0),S.value?(_(),O(`div`,st,[e.node.type===`boolean`?(_(),h(Qe,{key:0,ref_key:`valueInputRef`,ref:l,"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:l,"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:l,value:U(),placeholder:A.value?.default===void 0?`<value>`:String(A.value.default),style:m({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:m({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})},a(U()),5)),S.value?(_(),O(`button`,{key:5,style:m({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=E(null),a=E(!1),c=E(null),l=E(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:m,handleDragStart:h,handleDragOver:v,handleDragEnd:x,handleDrop:S}=Ne(f,n.selectedNodeIds);s(()=>{r.setVisibleNodesOverride(f.value)}),g(()=>{r.setVisibleNodesOverride(null)}),y(f,e=>{r.setVisibleNodesOverride(e)});let C=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}}),w=b(()=>C.value.maxKeyLength),T=b(()=>C.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:w,maxDepth:T,isFocused:a,dragState:m,onSelect:j,onToggleCollapse:M,onStartEditing:N,onDragStart:h,onDragOver:v,onDragEnd:x,onDrop:S}),(e,t)=>(_(),O(`div`,dt,[k(`div`,ft,[p(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)}},[p(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=E(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:w(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=>w(n).setSearchQuery(e.target.value),onKeydown:i},null,40,ht),k(`div`,gt,[w(t).searchQuery.value?(_(),O(C,{key:0},[k(`span`,{style:m({fontSize:`11px`,lineHeight:1,color:w(t).searchMatches.value.length>0?`var(--vj-text-muted, #999999)`:`var(--vj-error, #f48771)`,fontFamily:`var(--vj-font, monospace)`,whiteSpace:`nowrap`})},a(w(t).searchMatches.value.length>0?`${w(t).searchMatchIndex.value+1}/${w(t).searchMatches.value.length}`:`0/0`),5),k(`button`,{disabled:w(t).searchMatches.value.length===0,"aria-label":`Previous match (Shift+Enter)`,title:`Previous match (Shift+Enter)`,style:m({background:`none`,border:`none`,color:w(t).searchMatches.value.length>0?`var(--vj-text, #cccccc)`:`var(--vj-text-dimmer, #555555)`,cursor:w(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)=>w(n).prevSearchMatch&&w(n).prevSearchMatch(...e)},` ▲ `,12,_t),k(`button`,{disabled:w(t).searchMatches.value.length===0,"aria-label":`Next match (Enter)`,title:`Next match (Enter)`,style:m({background:`none`,border:`none`,color:w(t).searchMatches.value.length>0?`var(--vj-text, #cccccc)`:`var(--vj-text-dimmer, #555555)`,cursor:w(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)=>w(n).nextSearchMatch&&w(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]||=()=>w(n).setSearchQuery(``)},` × `)],64)):(_(),O(C,{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)=>w(n).expandAll&&w(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)=>w(n).collapseAll&&w(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,a=r,o=i.value!==void 0,c=E(o?i.value:i.defaultValue??{}),l=E(0);y(()=>i.value,e=>{o&&e!==c.value&&(c.value=e,l.value++)});function u(e){var t;c.value=e,i.readOnly||(a(`change`,e),(t=i.onChange)==null||t.call(i,e))}let d=E(280),f=E(!1),v=E(`tree`),x=E(null),S=E(!1),w=0,T=0,D=null;function A(){x.value&&(f.value=x.value.offsetWidth<500)}s(()=>{A(),x.value&&(D=new ResizeObserver(A),D.observe(x.value))}),g(()=>{D?.disconnect()});function j(e){S.value=!0,w=e.clientX,T=d.value,document.body.style.cursor=`col-resize`,document.body.style.userSelect=`none`;function t(e){if(!S.value)return;let t=e.clientX-w;d.value=Math.max(180,Math.min(600,T+t))}function n(){S.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:m(M.value)},[(_(),h(Me,{key:l.value,value:c.value,schema:i.schema,onChange:u},{default:e(()=>[f.value?(_(),O(`div`,{key:0,ref_key:`containerRef`,ref:x,style:{display:`flex`,flexDirection:`column`,flex:1,minHeight:0}},[i.sidebarOpen?(_(),O(C,{key:1},[k(`div`,xt,[k(`button`,{style:m({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:m({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,[p(yt),k(`div`,wt,[p(Ve,{"show-values":i.treeShowValues,"show-counts":i.treeShowCounts},null,8,[`show-values`,`show-counts`])])])):(_(),O(`div`,Tt,[k(`div`,Et,[p(pt,{"show-descriptions":i.editorShowDescriptions,"show-counts":i.editorShowCounts},null,8,[`show-descriptions`,`show-counts`])])]))])],64)):(_(),O(`div`,bt,[p(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:m({flexShrink:0,overflow:`hidden`,display:`flex`,flexDirection:`column`,width:i.sidebarOpen?d.value+`px`:`0`,transition:S.value?`none`:`width 0.2s ease`})},[p(yt),k(`div`,Dt,[p(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(!S.value){let t=e.currentTarget.parentElement;t&&(t.style.backgroundColor=`var(--vj-border, #333333)`)}}},null,32)])):n(``,!0),k(`div`,kt,[k(`div`,At,[p(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),o=x(),s=b(()=>i.value?t.keys:t.keys.filter(e=>!e.startsWith(`devtoolskit:internal:`)&&!e.startsWith(`__`))),c=E(),d=x(!1);async function m(e){d.value=!0;try{c.value=await r.value.call(`devtoolskit:internal:rpc:server-state:get`,e)}finally{d.value=!1}}y(o,e=>{c.value=void 0,e&&m(e)});function g(e){o.value=e}async function v(e){if(!o.value)return;let t=M();c.value=e,await r.value.call(`devtoolskit:internal:rpc:server-state:set`,o.value,e,t)}return(e,t)=>{let r=l(`VisualLoading`);return _(),O(`div`,Mt,[k(`div`,Nt,[k(`div`,Pt,[k(`span`,null,a(s.value.length)+` shared states`,1),k(`label`,Ft,[S(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(C,null,u(s.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:f(o.value===e?`bg-active! text-primary`:`op70`),onClick:t=>g(e)},a(e),11,Lt))),128))])]),k(`div`,Rt,[o.value?d.value?(_(),h(r,{key:1})):c.value===void 0?n(``,!0):(_(),O(`div`,Bt,[p(w(jt),{value:c.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=E();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=l(`VisualLoading`),i=Vt;return n.value?(_(),h(i,{key:1,keys:n.value},null,8,[`keys`])):(_(),h(r,{key:0}))}}});export{Ht as default};
@@ -0,0 +1 @@
1
+ import{A as e}from"./BCUYQkBl.js";import{c as t}from"./BhNsG-_1.js";var n=e({__name:`index`,setup(e){return t(`/rpc`,{replace:!0}),()=>{}}});export{n as default};
@@ -1 +1 @@
1
- {"id":"148a6205-0002-4533-adc6-c5a19a4d8dde","timestamp":1776385421007}
1
+ {"id":"c5db94b2-552e-4d2e-bcde-f9d6cdf20a82","timestamp":1777537303657}
@@ -0,0 +1 @@
1
+ {"id":"c5db94b2-552e-4d2e-bcde-f9d6cdf20a82","timestamp":1777537303657,"prerendered":[]}
@@ -1 +1 @@
1
- @font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:200;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:200;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:700;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:700;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--un-bg-opacity:100%;--un-text-opacity:100%;--un-leading:initial;--un-border-bottom-opacity:100%;--un-border-opacity:100%}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-leading{syntax:"*";inherits:false}@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-border-bottom-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-numeric-figure{syntax:"*";inherits:false}@property --un-numeric-fraction{syntax:"*";inherits:false}@property --un-numeric-spacing{syntax:"*";inherits:false}@property --un-ordinal{syntax:"*";inherits:false}@property --un-slashed-zero{syntax:"*";inherits:false}:host,:root{--font-sans:"DM Sans",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";--colors-white:#fff;--colors-neutral-800:oklch(26.9% 0 0);--colors-neutral-200:oklch(92.2% 0 0);--spacing:0.25rem;--default-transition-timingFunction:cubic-bezier(0.4,0,0.2,1);--default-transition-duration:150ms;--radius-DEFAULT:0.25rem;--tracking-wide:0.025em;--fontWeight-semibold:600;--leading-none:1;--fontWeight-medium:500;--font-mono:"DM Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--colors-red-DEFAULT:oklch(70.4% 0.191 22.216);--colors-green-DEFAULT:oklch(79.2% 0.209 151.711);--colors-primary-DEFAULT:#d577ff;--text-sm-fontSize:0.875rem;--text-sm-lineHeight:1.25rem;--text-base-fontSize:1rem;--text-base-lineHeight:1.5rem;--text-2xl-fontSize:1.5rem;--text-2xl-lineHeight:2rem;--text-xs-fontSize:0.75rem;--text-xs-lineHeight:1rem;--text-3xl-fontSize:1.875rem;--text-3xl-lineHeight:2.25rem;--default-font-family:var(--font-sans);--default-monoFont-family:var(--font-mono)}*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var( --default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" );font-feature-settings:var(--default-font-featureSettings,normal);font-variation-settings:var(--default-font-variationSettings,normal);-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var( --default-monoFont-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace );font-feature-settings:var(--default-monoFont-featureSettings,normal);font-size:1em;font-variation-settings:var(--default-monoFont-variationSettings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden~=until-found])){display:none!important}.dark .dark\:i-ph-moon-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M227.89 147.89A96 96 0 1 1 108.11 28.11a96.09 96.09 0 0 0 119.78 119.78' opacity='.2'/%3E%3Cpath d='M233.54 142.23a8 8 0 0 0-8-2a88.08 88.08 0 0 1-109.8-109.8a8 8 0 0 0-10-10a104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88a104.84 104.84 0 0 0 37-52.91a8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104a106 106 0 0 0 14.92-1.06a89 89 0 0 1-26.02 31.4'/%3E%3C/g%3E%3C/svg%3E")}.dark .dark\:i-ph-moon-duotone,.i-ph-arrow-clockwise,[i-ph-arrow-clockwise=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-arrow-clockwise,[i-ph-arrow-clockwise=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M240 56v48a8 8 0 0 1-8 8h-48a8 8 0 0 1 0-16h27.4l-26.59-24.36l-.25-.24a80 80 0 1 0-1.67 114.78a8 8 0 0 1 11 11.63A95.44 95.44 0 0 1 128 224h-1.32a96 96 0 1 1 69.07-164L224 85.8V56a8 8 0 1 1 16 0'/%3E%3C/svg%3E")}.i-ph-check,[i-ph-check=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69L218.34 66.34a8 8 0 0 1 11.32 11.32'/%3E%3C/svg%3E")}.i-ph-check,.i-ph-code-duotone,[i-ph-check=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-code-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m240 128l-48 40H64l-48-40l48-40h128Z' opacity='.2'/%3E%3Cpath d='M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-database-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 80c0 26.51-39.4 48-88 48s-88-21.49-88-48s39.4-48 88-48s88 21.49 88 48' opacity='.2'/%3E%3Cpath d='M128 24c-53.83 0-96 24.6-96 56v96c0 31.4 42.17 56 96 56s96-24.6 96-56V80c0-31.4-42.17-56-96-56m80 104c0 9.62-7.88 19.43-21.61 26.92C170.93 163.35 150.19 168 128 168s-42.93-4.65-58.39-13.08C55.88 147.43 48 137.62 48 128v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64ZM69.61 53.08C85.07 44.65 105.81 40 128 40s42.93 4.65 58.39 13.08C200.12 60.57 208 70.38 208 80s-7.88 19.43-21.61 26.92C170.93 115.35 150.19 120 128 120s-42.93-4.65-58.39-13.08C55.88 99.43 48 89.62 48 80s7.88-19.43 21.61-26.92m116.78 149.84C170.93 211.35 150.19 216 128 216s-42.93-4.65-58.39-13.08C55.88 195.43 48 185.62 48 176v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64V176c0 9.62-7.88 19.43-21.61 26.92'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-database-duotone,.i-ph-eye-slash,[i-ph-eye-slash=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-eye-slash,[i-ph-eye-slash=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M53.92 34.62a8 8 0 1 0-11.84 10.76l19.24 21.17C25 88.84 9.38 123.2 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208a127.1 127.1 0 0 0 52.07-10.83l22 24.21a8 8 0 1 0 11.84-10.76Zm47.33 75.84l41.67 45.85a32 32 0 0 1-41.67-45.85M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.2 133.2 0 0 1 25 128c4.69-8.79 19.66-33.39 47.35-49.38l18 19.75a48 48 0 0 0 63.66 70l14.73 16.2A112 112 0 0 1 128 192m6-95.43a8 8 0 0 1 3-15.72a48.16 48.16 0 0 1 38.77 42.64a8 8 0 0 1-7.22 8.71a6 6 0 0 1-.75 0a8 8 0 0 1-8-7.26A32.09 32.09 0 0 0 134 96.57m113.28 34.69c-.42.94-10.55 23.37-33.36 43.8a8 8 0 1 1-10.67-11.92a132.8 132.8 0 0 0 27.8-35.14a133.2 133.2 0 0 0-23.12-30.77C185.67 75.19 158.78 64 128 64a118.4 118.4 0 0 0-19.36 1.57A8 8 0 1 1 106 49.79A134 134 0 0 1 128 48c34.88 0 66.57 13.26 91.66 38.35c18.83 18.83 27.3 37.62 27.65 38.41a8 8 0 0 1 0 6.5Z'/%3E%3C/svg%3E")}.i-ph-key-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M232 98.36c-1.27 38.56-33.33 69.64-71.91 69.64a71.7 71.7 0 0 1-26.92-5.17L120 176H96v24H72v24H40a8 8 0 0 1-8-8v-28.69a8 8 0 0 1 2.34-5.65l58.83-58.83A71.7 71.7 0 0 1 88 95.91c0-38.58 31.08-70.64 69.64-71.87A72 72 0 0 1 232 98.36' opacity='.2'/%3E%3Cpath d='M216.57 39.43a80 80 0 0 0-132.66 81.35L28.69 176A15.86 15.86 0 0 0 24 187.31V216a16 16 0 0 0 16 16h32a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 5.66-2.34l9.56-9.57A79.7 79.7 0 0 0 160 176h.1a80 80 0 0 0 56.47-136.57M224 98.1c-1.09 34.09-29.75 61.86-63.89 61.9H160a63.7 63.7 0 0 1-23.65-4.51a8 8 0 0 0-8.84 1.68L116.69 168H96a8 8 0 0 0-8 8v16H72a8 8 0 0 0-8 8v16H40v-28.69l58.83-58.82a8 8 0 0 0 1.68-8.84A63.7 63.7 0 0 1 96 95.92c0-34.14 27.81-62.8 61.9-63.89A64 64 0 0 1 224 98.1M192 76a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-key-duotone,.i-ph-layout-duotone{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-layout-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M104 104v104H40a8 8 0 0 1-8-8v-96Z' opacity='.2'/%3E%3Cpath d='M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 16v40H40V56ZM40 112h56v88H40Zm176 88H112v-88h104z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-magnifying-glass,[i-ph-magnifying-glass=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72a72.08 72.08 0 0 1-72-72'/%3E%3C/svg%3E")}.i-ph-magnifying-glass,.i-ph-plugs-connected-duotone,[i-ph-magnifying-glass=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-plugs-connected-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m185 127l-58 58a24 24 0 0 1-33.94 0L71 162.91A24 24 0 0 1 71 129l58-58a24 24 0 0 1 33.94 0L185 93.09a24 24 0 0 1 0 33.91' opacity='.2'/%3E%3Cpath d='M237.66 18.34a8 8 0 0 0-11.32 0l-52.4 52.41l-5.37-5.38a32.05 32.05 0 0 0-45.26 0L100 88.69l-6.34-6.35a8 8 0 0 0-11.32 11.32l6.35 6.34l-23.32 23.31a32 32 0 0 0 0 45.26l5.38 5.37l-52.41 52.4a8 8 0 0 0 11.32 11.32l52.4-52.41l5.37 5.38a32.06 32.06 0 0 0 45.26 0L156 167.31l6.34 6.35a8 8 0 0 0 11.32-11.32l-6.35-6.34l23.32-23.31a32 32 0 0 0 0-45.26l-5.38-5.37l52.41-52.4a8 8 0 0 0 0-11.32m-116.29 161a16 16 0 0 1-22.62 0l-22.06-22.09a16 16 0 0 1 0-22.62L100 111.31L144.69 156Zm57.94-57.94L156 144.69L111.31 100l23.32-23.31a16 16 0 0 1 22.62 0l22.06 22a16 16 0 0 1 0 22.63ZM88.57 35a8 8 0 0 1 14.86-6l8 20a8 8 0 0 1-14.86 6Zm-64 58A8 8 0 0 1 35 88.57l20 8a8 8 0 0 1-6 14.86l-20-8A8 8 0 0 1 24.57 93m206.86 70a8 8 0 0 1-10.4 4.46l-20-8a8 8 0 1 1 5.97-14.89l20 8a8 8 0 0 1 4.43 10.43m-64 58.06a8 8 0 0 1-14.86 5.94l-8-20a8 8 0 0 1 14.86-6Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-puzzle-piece-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M204 168a28 28 0 0 0 12-2.69V208a8 8 0 0 1-8 8H64a8 8 0 0 1-8-8v-42.69a28 28 0 1 1 0-50.62V72a8 8 0 0 1 8-8h46.69a28 28 0 1 1 50.61 0H208a8 8 0 0 1 8 8v42.69A28 28 0 1 0 204 168' opacity='.2'/%3E%3Cpath d='M220.27 158.54a8 8 0 0 0-7.7-.46a20 20 0 1 1 0-36.16a8 8 0 0 0 11.43-7.23V72a16 16 0 0 0-16-16h-36.22a35 35 0 0 0 .22-4a36.15 36.15 0 0 0-11.36-26.25a36 36 0 0 0-60.55 23.63a36.6 36.6 0 0 0 .14 6.62H64a16 16 0 0 0-16 16v32.22a35 35 0 0 0-4-.22a36.12 36.12 0 0 0-26.24 11.36a35.7 35.7 0 0 0-9.69 27a36.08 36.08 0 0 0 33.31 33.6a36.6 36.6 0 0 0 6.62-.14V208a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16v-42.69a8 8 0 0 0-3.73-6.77M208 208H64v-42.69a8 8 0 0 0-11.43-7.23a20 20 0 1 1 0-36.16A8 8 0 0 0 64 114.69V72h46.69a8 8 0 0 0 7.23-11.43a20 20 0 1 1 36.16 0A8 8 0 0 0 161.31 72H208v32.23a35.7 35.7 0 0 0-6.62-.14A36 36 0 0 0 204 176a35 35 0 0 0 4-.22Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-puzzle-piece-duotone,.i-ph-sun-duotone{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-sun-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M184 128a56 56 0 1 1-56-56a56 56 0 0 1 56 56' opacity='.2'/%3E%3Cpath d='M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0m72 88a64 64 0 1 1-64-64a64.07 64.07 0 0 1 64 64m-16 0a48 48 0 1 0-48 48a48.05 48.05 0 0 0 48-48M58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68l-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32M192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72m5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8m80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8m112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16'/%3E%3C/g%3E%3C/svg%3E")}[border~=base]{border-color:color-mix(in oklab,#8882 var(--un-border-opacity),transparent)}.bg-active\!{background-color:color-mix(in oklab,#8881 var(--un-bg-opacity),transparent)!important}.hover\:bg-active:hover,[hover\:bg-active=""]:hover{background-color:color-mix(in oklab,#8881 var(--un-bg-opacity),transparent)}.text-\[80px\]{font-size:80px}.text-2xl{font-size:var(--text-2xl-fontSize);line-height:var(--un-leading,var(--text-2xl-lineHeight))}.text-base,[text-base=""]{font-size:var(--text-base-fontSize);line-height:var(--un-leading,var(--text-base-lineHeight))}.text-sm,[text-sm=""]{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight))}.text-xs,[text-xs=""]{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight))}.dark .dark\:text-white{color:color-mix(in srgb,var(--colors-white) var(--un-text-opacity),transparent)}.text-\[\#020420\]{color:color-mix(in oklab,#020420 var(--un-text-opacity),transparent)}.text-\[\#64748B\]{color:color-mix(in oklab,#64748b var(--un-text-opacity),transparent)}.text-green,[text-green=""]{color:color-mix(in srgb,var(--colors-green-DEFAULT) var(--un-text-opacity),transparent)}.text-primary{color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-text-opacity),transparent)}.text-red,[text-red=""]{color:color-mix(in srgb,var(--colors-red-DEFAULT) var(--un-text-opacity),transparent)}.hover\:text-\[\#00DC82\]:hover{color:color-mix(in oklab,#00dc82 var(--un-text-opacity),transparent)}.leading-none{--un-leading:var(--leading-none);line-height:var(--leading-none)}.tracking-wide{--un-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.font-medium,[font-medium=""]{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium)}.font-mono,[font-mono=""]{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-semibold{--un-font-weight:var(--fontWeight-semibold);font-weight:var(--fontWeight-semibold)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb1,[mb1=""]{margin-bottom:calc(var(--spacing)*1)}.ml1,[ml1=""]{margin-left:calc(var(--spacing)*1)}.mr2,[mr2=""]{margin-right:calc(var(--spacing)*2)}.mt2,[mt2=""]{margin-top:calc(var(--spacing)*2)}.p1\.5,[p1\.5=""]{padding:calc(var(--spacing)*1.5)}.p4,[p4=""]{padding:calc(var(--spacing)*4)}.px-2,.px2,[px2=""]{padding-inline:calc(var(--spacing)*2)}.px3,[px3=""]{padding-inline:calc(var(--spacing)*3)}.py0\.5,[py0\.5=""]{padding-block:calc(var(--spacing)*.5)}.py1,[py1=""]{padding-block:calc(var(--spacing)*1)}.py1\.5,[py1\.5=""]{padding-block:calc(var(--spacing)*1.5)}.py2,[py2=""]{padding-block:calc(var(--spacing)*2)}.py4,[py4=""]{padding-block:calc(var(--spacing)*4)}.py8,[py8=""]{padding-block:calc(var(--spacing)*8)}.text-center,[text-center=""]{text-align:center}.text-left,[text-left=""]{text-align:left}.outline-none,[outline-none=""]{--un-outline-style:none;outline-style:none}.b,.border,[b=""],[border~="\~"]{border-width:1px}.b-2{border-width:2px}[border~=b-2]{border-bottom-width:2px}[border~=b]{border-bottom-width:1px}[border~=r]{border-right-width:1px}[border~="red\/30"]{border-color:color-mix(in srgb,var(--colors-red-DEFAULT) 30%,transparent)}[border~=transparent]{border-color:transparent}.focus\:border-primary:focus,[focus\:border-primary=""]:focus{border-color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-border-opacity),transparent)}.border-b-primary\!{border-bottom-color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-border-bottom-opacity),transparent)!important;--un-border-bottom-opacity:var(--un-border-opacity)!important}.rounded,[border~=rounded],[rounded=""]{border-radius:var(--radius-DEFAULT)}.bg-transparent,[bg-transparent=""]{background-color:transparent}.bg-white{background-color:color-mix(in srgb,var(--colors-white) var(--un-bg-opacity),transparent)}.dark .dark\:bg-\[\#020420\]{background-color:color-mix(in oklab,#020420 var(--un-bg-opacity),transparent)}.hover\:bg-red\:10:hover,[hover\:bg-red\:10=""]:hover{background-color:color-mix(in srgb,var(--colors-red-DEFAULT) 10%,transparent)}.op100\!{opacity:100%!important}.op20,[op20=""]{opacity:20%}.op30,[op30=""]{opacity:30%}.op40,[op40=""]{opacity:40%}.op50,[op50=""]{opacity:50%}.op60,[op60=""]{opacity:60%}.op70{opacity:70%}.op75,[op75=""]{opacity:75%}.hover\:op100:hover,[hover\:op100=""]:hover{opacity:100%}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.flex,[flex~="\~"]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}.shrink-0,[shrink-0=""]{flex-shrink:0}.shrink-0\>{flex-shrink:1}[flex~=col]{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-1,[flex~=gap-1]{gap:calc(var(--spacing)*1)}.gap-1\.5,[flex~="gap-1\.5"]{gap:calc(var(--spacing)*1.5)}.gap-2,[flex~=gap-2]{gap:calc(var(--spacing)*2)}.gap-3,[flex~=gap-3]{gap:calc(var(--spacing)*3)}.grid{display:grid}.h-full,[h-full=""]{height:100%}.h-vh,[h-vh=""]{height:100vh}.h9,[h9=""]{height:calc(var(--spacing)*9)}.max-w-520px{max-width:520px}.max-w-60,[max-w-60=""]{max-width:calc(var(--spacing)*60)}.min-h-screen{min-height:100vh}.min-w-50,[min-w-50=""]{min-width:calc(var(--spacing)*50)}.w-60,[w-60=""]{width:calc(var(--spacing)*60)}.w-full,[w-full=""]{width:100%}.block,[block=""]{display:block}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none,[select-none=""]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.truncate,[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.transition-colors,[transition-colors=""]{transition-duration:var(--un-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction))}.items-center,[flex~=items-center]{align-items:center}.justify-center,[flex~=justify-center]{justify-content:center}.justify-between,[flex~=justify-between]{justify-content:space-between}.place-content-center{place-content:center}.of-auto,[of-auto=""]{overflow:auto}.of-hidden,.overflow-hidden,[of-hidden=""]{overflow:hidden}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.table{display:table}.tabular-nums{--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,)}@supports (color:color-mix(in lab,red,red)){.dark .dark\:text-white{color:color-mix(in oklab,var(--colors-white) var(--un-text-opacity),transparent)}.text-green{color:color-mix(in oklab,var(--colors-green-DEFAULT) var(--un-text-opacity),transparent)}.text-primary{color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-text-opacity),transparent)}.text-red{color:color-mix(in oklab,var(--colors-red-DEFAULT) var(--un-text-opacity),transparent)}[text-green=""]{color:color-mix(in oklab,var(--colors-green-DEFAULT) var(--un-text-opacity),transparent)}[text-red=""]{color:color-mix(in oklab,var(--colors-red-DEFAULT) var(--un-text-opacity),transparent)}[border~="red\/30"]{border-color:color-mix(in oklab,var(--colors-red-DEFAULT) 30%,transparent)}.focus\:border-primary:focus,[focus\:border-primary=""]:focus{border-color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-border-opacity),transparent)}.border-b-primary\!{border-bottom-color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-border-bottom-opacity),transparent)!important}.bg-white{background-color:color-mix(in oklab,var(--colors-white) var(--un-bg-opacity),transparent)}.hover\:bg-red\:10:hover,[hover\:bg-red\:10=""]:hover{background-color:color-mix(in oklab,var(--colors-red-DEFAULT) 10%,transparent)}}@media (min-width:40rem){.sm\:text-\[110px\]{font-size:110px}.sm\:text-3xl{font-size:var(--text-3xl-fontSize);line-height:var(--un-leading,var(--text-3xl-lineHeight))}}#__nuxt,body,html{height:100vh;margin:0;padding:0}:root{--app-scrollbar-size:6px;--app-scrollbar-radius:1px;--app-scrollbar-thumb:#8884;--app-scrollbar-thumb-hover:#8885}html{font-family:var(--font-sans);background-color:color-mix(in srgb, var(--colors-white) var(--un-bg-opacity), transparent) /* #fff */;}@supports (color: color-mix(in lab, red, red)){html{background-color:color-mix(in oklab, var(--colors-white) var(--un-bg-opacity), transparent) /* #fff */;}}.dark html{background-color:color-mix(in oklab, #111 var(--un-bg-opacity), transparent) /* #111 */;}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;syntax:"<percentage>";inherits:false;initial-value:100%;}body{color:color-mix(in srgb, var(--colors-neutral-800) var(--un-text-opacity), transparent) /* oklch(26.9% 0 0) */;}@supports (color: color-mix(in lab, red, red)){body{color:color-mix(in oklab, var(--colors-neutral-800) var(--un-text-opacity), transparent) /* oklch(26.9% 0 0) */;}}.dark body{color:color-mix(in srgb, var(--colors-neutral-200) var(--un-text-opacity), transparent) /* oklch(92.2% 0 0) */;}@supports (color: color-mix(in lab, red, red)){.dark body{color:color-mix(in oklab, var(--colors-neutral-200) var(--un-text-opacity), transparent) /* oklch(92.2% 0 0) */;}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;syntax:"<percentage>";inherits:false;initial-value:100%;}.bg-dots{background-image:url(/dot-grid-light.png);background-repeat:repeat;background-size:50px}.bg-dots.dark,.dark .bg-dots{background-color:#000;background-image:url(/dot-grid-dark.png);color-scheme:dark}::-webkit-scrollbar{width:var(--app-scrollbar-size)}::-webkit-scrollbar:horizontal{height:var(--app-scrollbar-size)}::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-thumb{background-color:var(--app-scrollbar-thumb);border-radius:var(--app-scrollbar-radius);-webkit-transition:background .2s ease;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background-color:var(--app-scrollbar-thumb-hover)}::-webkit-scrollbar-track{background:transparent;border-radius:var(--app-scrollbar-radius)}html{color-scheme:light}html.dark{background-color:#121212;color-scheme:dark}
1
+ @font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:200;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:200;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:700;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:700;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--un-bg-opacity:100%;--un-text-opacity:100%;--un-leading:initial;--un-border-bottom-opacity:100%;--un-border-opacity:100%}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-leading{syntax:"*";inherits:false}@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-border-bottom-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-numeric-figure{syntax:"*";inherits:false}@property --un-numeric-fraction{syntax:"*";inherits:false}@property --un-numeric-spacing{syntax:"*";inherits:false}@property --un-ordinal{syntax:"*";inherits:false}@property --un-slashed-zero{syntax:"*";inherits:false}:host,:root{--font-sans:"DM Sans",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";--colors-white:#fff;--colors-neutral-800:oklch(26.9% 0 0);--colors-neutral-200:oklch(92.2% 0 0);--spacing:0.25rem;--default-transition-timingFunction:cubic-bezier(0.4,0,0.2,1);--default-transition-duration:150ms;--radius-DEFAULT:0.25rem;--fontWeight-medium:500;--font-mono:"DM Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--tracking-wide:0.025em;--fontWeight-semibold:600;--leading-none:1;--colors-red-DEFAULT:oklch(70.4% 0.191 22.216);--colors-green-DEFAULT:oklch(79.2% 0.209 151.711);--colors-primary-DEFAULT:#d577ff;--text-sm-fontSize:0.875rem;--text-sm-lineHeight:1.25rem;--text-base-fontSize:1rem;--text-base-lineHeight:1.5rem;--text-xs-fontSize:0.75rem;--text-xs-lineHeight:1rem;--text-2xl-fontSize:1.5rem;--text-2xl-lineHeight:2rem;--text-3xl-fontSize:1.875rem;--text-3xl-lineHeight:2.25rem;--default-font-family:var(--font-sans);--default-monoFont-family:var(--font-mono)}*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var( --default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" );font-feature-settings:var(--default-font-featureSettings,normal);font-variation-settings:var(--default-font-variationSettings,normal);-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var( --default-monoFont-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace );font-feature-settings:var(--default-monoFont-featureSettings,normal);font-size:1em;font-variation-settings:var(--default-monoFont-variationSettings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden~=until-found])){display:none!important}.dark .dark\:i-ph-moon-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M227.89 147.89A96 96 0 1 1 108.11 28.11a96.09 96.09 0 0 0 119.78 119.78' opacity='.2'/%3E%3Cpath d='M233.54 142.23a8 8 0 0 0-8-2a88.08 88.08 0 0 1-109.8-109.8a8 8 0 0 0-10-10a104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88a104.84 104.84 0 0 0 37-52.91a8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104a106 106 0 0 0 14.92-1.06a89 89 0 0 1-26.02 31.4'/%3E%3C/g%3E%3C/svg%3E")}.dark .dark\:i-ph-moon-duotone,.i-ph-arrow-clockwise,[i-ph-arrow-clockwise=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-arrow-clockwise,[i-ph-arrow-clockwise=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M240 56v48a8 8 0 0 1-8 8h-48a8 8 0 0 1 0-16h27.4l-26.59-24.36l-.25-.24a80 80 0 1 0-1.67 114.78a8 8 0 0 1 11 11.63A95.44 95.44 0 0 1 128 224h-1.32a96 96 0 1 1 69.07-164L224 85.8V56a8 8 0 1 1 16 0'/%3E%3C/svg%3E")}.i-ph-check,[i-ph-check=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69L218.34 66.34a8 8 0 0 1 11.32 11.32'/%3E%3C/svg%3E")}.i-ph-check,.i-ph-code-duotone,[i-ph-check=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-code-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m240 128l-48 40H64l-48-40l48-40h128Z' opacity='.2'/%3E%3Cpath d='M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-database-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 80c0 26.51-39.4 48-88 48s-88-21.49-88-48s39.4-48 88-48s88 21.49 88 48' opacity='.2'/%3E%3Cpath d='M128 24c-53.83 0-96 24.6-96 56v96c0 31.4 42.17 56 96 56s96-24.6 96-56V80c0-31.4-42.17-56-96-56m80 104c0 9.62-7.88 19.43-21.61 26.92C170.93 163.35 150.19 168 128 168s-42.93-4.65-58.39-13.08C55.88 147.43 48 137.62 48 128v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64ZM69.61 53.08C85.07 44.65 105.81 40 128 40s42.93 4.65 58.39 13.08C200.12 60.57 208 70.38 208 80s-7.88 19.43-21.61 26.92C170.93 115.35 150.19 120 128 120s-42.93-4.65-58.39-13.08C55.88 99.43 48 89.62 48 80s7.88-19.43 21.61-26.92m116.78 149.84C170.93 211.35 150.19 216 128 216s-42.93-4.65-58.39-13.08C55.88 195.43 48 185.62 48 176v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64V176c0 9.62-7.88 19.43-21.61 26.92'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-database-duotone,.i-ph-eye-slash,[i-ph-eye-slash=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-eye-slash,[i-ph-eye-slash=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M53.92 34.62a8 8 0 1 0-11.84 10.76l19.24 21.17C25 88.84 9.38 123.2 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208a127.1 127.1 0 0 0 52.07-10.83l22 24.21a8 8 0 1 0 11.84-10.76Zm47.33 75.84l41.67 45.85a32 32 0 0 1-41.67-45.85M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.2 133.2 0 0 1 25 128c4.69-8.79 19.66-33.39 47.35-49.38l18 19.75a48 48 0 0 0 63.66 70l14.73 16.2A112 112 0 0 1 128 192m6-95.43a8 8 0 0 1 3-15.72a48.16 48.16 0 0 1 38.77 42.64a8 8 0 0 1-7.22 8.71a6 6 0 0 1-.75 0a8 8 0 0 1-8-7.26A32.09 32.09 0 0 0 134 96.57m113.28 34.69c-.42.94-10.55 23.37-33.36 43.8a8 8 0 1 1-10.67-11.92a132.8 132.8 0 0 0 27.8-35.14a133.2 133.2 0 0 0-23.12-30.77C185.67 75.19 158.78 64 128 64a118.4 118.4 0 0 0-19.36 1.57A8 8 0 1 1 106 49.79A134 134 0 0 1 128 48c34.88 0 66.57 13.26 91.66 38.35c18.83 18.83 27.3 37.62 27.65 38.41a8 8 0 0 1 0 6.5Z'/%3E%3C/svg%3E")}.i-ph-key-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M232 98.36c-1.27 38.56-33.33 69.64-71.91 69.64a71.7 71.7 0 0 1-26.92-5.17L120 176H96v24H72v24H40a8 8 0 0 1-8-8v-28.69a8 8 0 0 1 2.34-5.65l58.83-58.83A71.7 71.7 0 0 1 88 95.91c0-38.58 31.08-70.64 69.64-71.87A72 72 0 0 1 232 98.36' opacity='.2'/%3E%3Cpath d='M216.57 39.43a80 80 0 0 0-132.66 81.35L28.69 176A15.86 15.86 0 0 0 24 187.31V216a16 16 0 0 0 16 16h32a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 5.66-2.34l9.56-9.57A79.7 79.7 0 0 0 160 176h.1a80 80 0 0 0 56.47-136.57M224 98.1c-1.09 34.09-29.75 61.86-63.89 61.9H160a63.7 63.7 0 0 1-23.65-4.51a8 8 0 0 0-8.84 1.68L116.69 168H96a8 8 0 0 0-8 8v16H72a8 8 0 0 0-8 8v16H40v-28.69l58.83-58.82a8 8 0 0 0 1.68-8.84A63.7 63.7 0 0 1 96 95.92c0-34.14 27.81-62.8 61.9-63.89A64 64 0 0 1 224 98.1M192 76a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-key-duotone,.i-ph-layout-duotone{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-layout-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M104 104v104H40a8 8 0 0 1-8-8v-96Z' opacity='.2'/%3E%3Cpath d='M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 16v40H40V56ZM40 112h56v88H40Zm176 88H112v-88h104z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-magnifying-glass,[i-ph-magnifying-glass=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72a72.08 72.08 0 0 1-72-72'/%3E%3C/svg%3E")}.i-ph-magnifying-glass,.i-ph-plugs-connected-duotone,[i-ph-magnifying-glass=""]{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-plugs-connected-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m185 127l-58 58a24 24 0 0 1-33.94 0L71 162.91A24 24 0 0 1 71 129l58-58a24 24 0 0 1 33.94 0L185 93.09a24 24 0 0 1 0 33.91' opacity='.2'/%3E%3Cpath d='M237.66 18.34a8 8 0 0 0-11.32 0l-52.4 52.41l-5.37-5.38a32.05 32.05 0 0 0-45.26 0L100 88.69l-6.34-6.35a8 8 0 0 0-11.32 11.32l6.35 6.34l-23.32 23.31a32 32 0 0 0 0 45.26l5.38 5.37l-52.41 52.4a8 8 0 0 0 11.32 11.32l52.4-52.41l5.37 5.38a32.06 32.06 0 0 0 45.26 0L156 167.31l6.34 6.35a8 8 0 0 0 11.32-11.32l-6.35-6.34l23.32-23.31a32 32 0 0 0 0-45.26l-5.38-5.37l52.41-52.4a8 8 0 0 0 0-11.32m-116.29 161a16 16 0 0 1-22.62 0l-22.06-22.09a16 16 0 0 1 0-22.62L100 111.31L144.69 156Zm57.94-57.94L156 144.69L111.31 100l23.32-23.31a16 16 0 0 1 22.62 0l22.06 22a16 16 0 0 1 0 22.63ZM88.57 35a8 8 0 0 1 14.86-6l8 20a8 8 0 0 1-14.86 6Zm-64 58A8 8 0 0 1 35 88.57l20 8a8 8 0 0 1-6 14.86l-20-8A8 8 0 0 1 24.57 93m206.86 70a8 8 0 0 1-10.4 4.46l-20-8a8 8 0 1 1 5.97-14.89l20 8a8 8 0 0 1 4.43 10.43m-64 58.06a8 8 0 0 1-14.86 5.94l-8-20a8 8 0 0 1 14.86-6Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-puzzle-piece-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M204 168a28 28 0 0 0 12-2.69V208a8 8 0 0 1-8 8H64a8 8 0 0 1-8-8v-42.69a28 28 0 1 1 0-50.62V72a8 8 0 0 1 8-8h46.69a28 28 0 1 1 50.61 0H208a8 8 0 0 1 8 8v42.69A28 28 0 1 0 204 168' opacity='.2'/%3E%3Cpath d='M220.27 158.54a8 8 0 0 0-7.7-.46a20 20 0 1 1 0-36.16a8 8 0 0 0 11.43-7.23V72a16 16 0 0 0-16-16h-36.22a35 35 0 0 0 .22-4a36.15 36.15 0 0 0-11.36-26.25a36 36 0 0 0-60.55 23.63a36.6 36.6 0 0 0 .14 6.62H64a16 16 0 0 0-16 16v32.22a35 35 0 0 0-4-.22a36.12 36.12 0 0 0-26.24 11.36a35.7 35.7 0 0 0-9.69 27a36.08 36.08 0 0 0 33.31 33.6a36.6 36.6 0 0 0 6.62-.14V208a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16v-42.69a8 8 0 0 0-3.73-6.77M208 208H64v-42.69a8 8 0 0 0-11.43-7.23a20 20 0 1 1 0-36.16A8 8 0 0 0 64 114.69V72h46.69a8 8 0 0 0 7.23-11.43a20 20 0 1 1 36.16 0A8 8 0 0 0 161.31 72H208v32.23a35.7 35.7 0 0 0-6.62-.14A36 36 0 0 0 204 176a35 35 0 0 0 4-.22Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-puzzle-piece-duotone,.i-ph-sun-duotone{background-color:currentColor;color:inherit;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;width:1.2em}.i-ph-sun-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M184 128a56 56 0 1 1-56-56a56 56 0 0 1 56 56' opacity='.2'/%3E%3Cpath d='M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0m72 88a64 64 0 1 1-64-64a64.07 64.07 0 0 1 64 64m-16 0a48 48 0 1 0-48 48a48.05 48.05 0 0 0 48-48M58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68l-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32M192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72m5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8m80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8m112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16'/%3E%3C/g%3E%3C/svg%3E")}[border~=base]{border-color:color-mix(in oklab,#8882 var(--un-border-opacity),transparent)}.bg-active\!{background-color:color-mix(in oklab,#8881 var(--un-bg-opacity),transparent)!important}.hover\:bg-active:hover{background-color:color-mix(in oklab,#8881 var(--un-bg-opacity),transparent)}[hover\:bg-active=""]:hover{background-color:color-mix(in oklab,#8881 var(--un-bg-opacity),transparent)}.text-\[80px\]{font-size:80px}.text-2xl{font-size:var(--text-2xl-fontSize);line-height:var(--un-leading,var(--text-2xl-lineHeight))}.text-base,[text-base=""]{font-size:var(--text-base-fontSize);line-height:var(--un-leading,var(--text-base-lineHeight))}.text-sm,[text-sm=""]{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight))}.text-xs,[text-xs=""]{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight))}.dark .dark\:text-white{color:color-mix(in srgb,var(--colors-white) var(--un-text-opacity),transparent)}.text-\[\#020420\]{color:color-mix(in oklab,#020420 var(--un-text-opacity),transparent)}.text-\[\#64748B\]{color:color-mix(in oklab,#64748b var(--un-text-opacity),transparent)}.text-green,[text-green=""]{color:color-mix(in srgb,var(--colors-green-DEFAULT) var(--un-text-opacity),transparent)}.text-primary{color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-text-opacity),transparent)}.text-red,[text-red=""]{color:color-mix(in srgb,var(--colors-red-DEFAULT) var(--un-text-opacity),transparent)}.hover\:text-\[\#00DC82\]:hover{color:color-mix(in oklab,#00dc82 var(--un-text-opacity),transparent)}.leading-none{--un-leading:var(--leading-none);line-height:var(--leading-none)}.tracking-wide{--un-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.font-medium,[font-medium=""]{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium)}.font-mono,[font-mono=""]{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-semibold{--un-font-weight:var(--fontWeight-semibold);font-weight:var(--fontWeight-semibold)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb1,[mb1=""]{margin-bottom:calc(var(--spacing)*1)}.ml1,[ml1=""]{margin-left:calc(var(--spacing)*1)}.mr2,[mr2=""]{margin-right:calc(var(--spacing)*2)}.mt2,[mt2=""]{margin-top:calc(var(--spacing)*2)}.p1\.5,[p1\.5=""]{padding:calc(var(--spacing)*1.5)}.p4,[p4=""]{padding:calc(var(--spacing)*4)}.px-2,.px2,[px2=""]{padding-inline:calc(var(--spacing)*2)}.px3,[px3=""]{padding-inline:calc(var(--spacing)*3)}.py0\.5,[py0\.5=""]{padding-block:calc(var(--spacing)*.5)}.py1,[py1=""]{padding-block:calc(var(--spacing)*1)}.py1\.5,[py1\.5=""]{padding-block:calc(var(--spacing)*1.5)}.py2,[py2=""]{padding-block:calc(var(--spacing)*2)}.py4,[py4=""]{padding-block:calc(var(--spacing)*4)}.py8,[py8=""]{padding-block:calc(var(--spacing)*8)}.text-center,[text-center=""]{text-align:center}.text-left,[text-left=""]{text-align:left}.outline-none,[outline-none=""]{--un-outline-style:none;outline-style:none}.b,.border,[b=""],[border~="\~"]{border-width:1px}.b-2{border-width:2px}[border~=b-2]{border-bottom-width:2px}[border~=b]{border-bottom-width:1px}[border~=r]{border-right-width:1px}[border~="red\/30"]{border-color:color-mix(in srgb,var(--colors-red-DEFAULT) 30%,transparent)}[border~=transparent]{border-color:transparent}.focus\:border-primary:focus{border-color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-border-opacity),transparent)}[focus\:border-primary=""]:focus{border-color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-border-opacity),transparent)}.border-b-primary\!{border-bottom-color:color-mix(in srgb,var(--colors-primary-DEFAULT) var(--un-border-bottom-opacity),transparent)!important;--un-border-bottom-opacity:var(--un-border-opacity)!important}.rounded,[border~=rounded],[rounded=""]{border-radius:var(--radius-DEFAULT)}.bg-transparent,[bg-transparent=""]{background-color:transparent}.bg-white{background-color:color-mix(in srgb,var(--colors-white) var(--un-bg-opacity),transparent)}.dark .dark\:bg-\[\#020420\]{background-color:color-mix(in oklab,#020420 var(--un-bg-opacity),transparent)}.hover\:bg-red\:10:hover{background-color:color-mix(in srgb,var(--colors-red-DEFAULT) 10%,transparent)}[hover\:bg-red\:10=""]:hover{background-color:color-mix(in srgb,var(--colors-red-DEFAULT) 10%,transparent)}.op100\!{opacity:100%!important}.op20,[op20=""]{opacity:20%}.op30,[op30=""]{opacity:30%}.op40,[op40=""]{opacity:40%}.op50,[op50=""]{opacity:50%}.op60,[op60=""]{opacity:60%}.op70{opacity:70%}.op75,[op75=""]{opacity:75%}.hover\:op100:hover{opacity:100%}[hover\:op100=""]:hover{opacity:100%}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.flex,[flex~="\~"]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}.shrink-0,[shrink-0=""]{flex-shrink:0}.shrink-0\>{flex-shrink:1}[flex~=col]{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-1,[flex~=gap-1]{gap:calc(var(--spacing)*1)}.gap-1\.5,[flex~="gap-1\.5"]{gap:calc(var(--spacing)*1.5)}.gap-2,[flex~=gap-2]{gap:calc(var(--spacing)*2)}.gap-3,[flex~=gap-3]{gap:calc(var(--spacing)*3)}.grid{display:grid}.h-full,[h-full=""]{height:100%}.h-vh,[h-vh=""]{height:100vh}.h9,[h9=""]{height:calc(var(--spacing)*9)}.max-w-520px{max-width:520px}.max-w-60,[max-w-60=""]{max-width:calc(var(--spacing)*60)}.min-h-screen{min-height:100vh}.min-w-50,[min-w-50=""]{min-width:calc(var(--spacing)*50)}.w-60,[w-60=""]{width:calc(var(--spacing)*60)}.w-full,[w-full=""]{width:100%}.block,[block=""]{display:block}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none,[select-none=""]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.truncate,[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.transition-colors,[transition-colors=""]{transition-duration:var(--un-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction))}.items-center,[flex~=items-center]{align-items:center}.justify-center,[flex~=justify-center]{justify-content:center}.justify-between,[flex~=justify-between]{justify-content:space-between}.place-content-center{place-content:center}.of-auto,[of-auto=""]{overflow:auto}.of-hidden,.overflow-hidden,[of-hidden=""]{overflow:hidden}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.table{display:table}.tabular-nums{--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,)}@supports (color:color-mix(in lab,red,red)){.dark .dark\:text-white{color:color-mix(in oklab,var(--colors-white) var(--un-text-opacity),transparent)}.text-green{color:color-mix(in oklab,var(--colors-green-DEFAULT) var(--un-text-opacity),transparent)}.text-primary{color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-text-opacity),transparent)}.text-red{color:color-mix(in oklab,var(--colors-red-DEFAULT) var(--un-text-opacity),transparent)}[text-green=""]{color:color-mix(in oklab,var(--colors-green-DEFAULT) var(--un-text-opacity),transparent)}[text-red=""]{color:color-mix(in oklab,var(--colors-red-DEFAULT) var(--un-text-opacity),transparent)}[border~="red\/30"]{border-color:color-mix(in oklab,var(--colors-red-DEFAULT) 30%,transparent)}.focus\:border-primary:focus{border-color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-border-opacity),transparent)}[focus\:border-primary=""]:focus{border-color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-border-opacity),transparent)}.border-b-primary\!{border-bottom-color:color-mix(in oklab,var(--colors-primary-DEFAULT) var(--un-border-bottom-opacity),transparent)!important}.bg-white{background-color:color-mix(in oklab,var(--colors-white) var(--un-bg-opacity),transparent)}.hover\:bg-red\:10:hover{background-color:color-mix(in oklab,var(--colors-red-DEFAULT) 10%,transparent)}[hover\:bg-red\:10=""]:hover{background-color:color-mix(in oklab,var(--colors-red-DEFAULT) 10%,transparent)}}@media (min-width:40rem){.sm\:text-\[110px\]{font-size:110px}.sm\:text-3xl{font-size:var(--text-3xl-fontSize);line-height:var(--un-leading,var(--text-3xl-lineHeight))}}#__nuxt,body,html{height:100vh;margin:0;padding:0}:root{--app-scrollbar-size:6px;--app-scrollbar-radius:1px;--app-scrollbar-thumb:#8884;--app-scrollbar-thumb-hover:#8885}html{font-family:var(--font-sans);background-color:color-mix(in srgb, var(--colors-white) var(--un-bg-opacity), transparent) /* #fff */;}@supports (color: color-mix(in lab, red, red)){html{background-color:color-mix(in oklab, var(--colors-white) var(--un-bg-opacity), transparent) /* #fff */;}}.dark html{background-color:color-mix(in oklab, #111 var(--un-bg-opacity), transparent) /* #111 */;}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;syntax:"<percentage>";inherits:false;initial-value:100%;}body{color:color-mix(in srgb, var(--colors-neutral-800) var(--un-text-opacity), transparent) /* oklch(26.9% 0 0) */;}@supports (color: color-mix(in lab, red, red)){body{color:color-mix(in oklab, var(--colors-neutral-800) var(--un-text-opacity), transparent) /* oklch(26.9% 0 0) */;}}.dark body{color:color-mix(in srgb, var(--colors-neutral-200) var(--un-text-opacity), transparent) /* oklch(92.2% 0 0) */;}@supports (color: color-mix(in lab, red, red)){.dark body{color:color-mix(in oklab, var(--colors-neutral-200) var(--un-text-opacity), transparent) /* oklch(92.2% 0 0) */;}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;syntax:"<percentage>";inherits:false;initial-value:100%;}.bg-dots{background-image:url(/dot-grid-light.png);background-repeat:repeat;background-size:50px}.bg-dots.dark,.dark .bg-dots{background-color:#000;background-image:url(/dot-grid-dark.png);color-scheme:dark}::-webkit-scrollbar{width:var(--app-scrollbar-size)}::-webkit-scrollbar:horizontal{height:var(--app-scrollbar-size)}::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-thumb{background-color:var(--app-scrollbar-thumb);border-radius:var(--app-scrollbar-radius);-webkit-transition:background .2s ease;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background-color:var(--app-scrollbar-thumb-hover)}::-webkit-scrollbar-track{background:transparent;border-radius:var(--app-scrollbar-radius)}html{color-scheme:light}html.dark{background-color:#121212;color-scheme:dark}
@@ -0,0 +1 @@
1
+ .grid[data-v-ba200554]{display:grid}.mb-2[data-v-ba200554]{margin-bottom:.5rem}.mb-4[data-v-ba200554]{margin-bottom:1rem}.max-w-520px[data-v-ba200554]{max-width:520px}.min-h-screen[data-v-ba200554]{min-height:100vh}.w-full[data-v-ba200554]{width:100%}.flex[data-v-ba200554]{display:flex}.place-content-center[data-v-ba200554]{place-content:center}.items-center[data-v-ba200554]{align-items:center}.justify-center[data-v-ba200554]{justify-content:center}.overflow-hidden[data-v-ba200554]{overflow:hidden}.bg-white[data-v-ba200554]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-ba200554]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-ba200554]{text-align:center}.text-\[80px\][data-v-ba200554]{font-size:80px}.text-2xl[data-v-ba200554]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-ba200554]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-ba200554]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-ba200554]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-ba200554]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-ba200554]{font-weight:500}.font-semibold[data-v-ba200554]{font-weight:600}.leading-none[data-v-ba200554]{line-height:1}.tracking-wide[data-v-ba200554]{letter-spacing:.025em}.font-sans[data-v-ba200554]{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-ba200554]{--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-ba200554]{text-decoration-line:underline}.underline-offset-3[data-v-ba200554]{text-underline-offset:3px}.antialiased[data-v-ba200554]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-ba200554]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-ba200554]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-ba200554]{font-size:110px}.sm\:text-3xl[data-v-ba200554]{font-size:1.875rem;line-height:2.25rem}}
@@ -0,0 +1 @@
1
+ .grid[data-v-3f2b1973]{display:grid}.mb-2[data-v-3f2b1973]{margin-bottom:.5rem}.mb-4[data-v-3f2b1973]{margin-bottom:1rem}.max-w-520px[data-v-3f2b1973]{max-width:520px}.min-h-screen[data-v-3f2b1973]{min-height:100vh}.place-content-center[data-v-3f2b1973]{place-content:center}.overflow-hidden[data-v-3f2b1973]{overflow:hidden}.bg-white[data-v-3f2b1973]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-3f2b1973]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-3f2b1973]{text-align:center}.text-\[80px\][data-v-3f2b1973]{font-size:80px}.text-2xl[data-v-3f2b1973]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-3f2b1973]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-3f2b1973]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-3f2b1973]{font-weight:600}.leading-none[data-v-3f2b1973]{line-height:1}.tracking-wide[data-v-3f2b1973]{letter-spacing:.025em}.font-sans[data-v-3f2b1973]{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-3f2b1973]{--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-3f2b1973]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-3f2b1973]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-3f2b1973]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-3f2b1973]{font-size:110px}.sm\:text-3xl[data-v-3f2b1973]{font-size:1.875rem;line-height:2.25rem}}
@@ -0,0 +1 @@
1
+ import{A as e,Ft as t,H as n,J as r,K as i,S as a,W as o,h as s,ut as c,w as l,x as u}from"./BCUYQkBl.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:n}){let r=n;function a(e){return new Date(e).toLocaleString()}return(n,c)=>(o(),l(`div`,p,[u(`div`,m,[u(`span`,h,t(e.tokens.length)+` trusted client`+t(e.tokens.length===1?``:`s`),1)]),e.tokens.length===0?(o(),l(`div`,g,` No auth tokens found. `)):(o(),l(`table`,_,[c[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(s,null,i(e.tokens,e=>(o(),l(`tr`,{key:e.authToken,border:`b base`,"hover:bg-active":``},[u(`td`,v,t(e.authToken),1),u(`td`,y,t(e.ua||`-`),1),u(`td`,b,t(e.origin||`-`),1),u(`td`,x,t(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 t=f(),i=c();async function s(){i.value=await t.value.call(`devtoolskit:self-inspect:get-auth-tokens`)}async function l(e){await t.value.call(`devtoolskit:self-inspect:revoke-auth-token`,e),await s()}return d(s),n(s),(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 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-self-inspect/_nuxt/ObSL26e4.js"}}</script><title>DevTools Self Inspect</title><link rel="stylesheet" href="/.devtools-self-inspect/_nuxt/entry.rm-CrWH4.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/ObSL26e4.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/Dhk3iHOP.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/BBX-ZUUP.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/C1NhDgiZ.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/OGH9CFAd.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/BE_JSTTi.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/DbA1e8sE.js"><script type="module" src="/.devtools-self-inspect/_nuxt/ObSL26e4.js" crossorigin></script><meta name="description" content="DevTools for inspecting the DevTools itself"><script id="unhead:payload" type="application/json">{"title":"DevTools Self Inspect"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-self-inspect/",buildId:"148a6205-0002-4533-adc6-c5a19a4d8dde",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1776385424973,false]</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/.devtools-self-inspect/_nuxt/BI0YL3iH.js"}}</script><title>DevTools Self Inspect</title><link rel="stylesheet" href="/.devtools-self-inspect/_nuxt/entry.Di6uKqcj.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/BI0YL3iH.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/BCUYQkBl.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/Bq0LRuKw.js"><link rel="modulepreload" as="script" crossorigin href="/.devtools-self-inspect/_nuxt/BhNsG-_1.js"><script type="module" src="/.devtools-self-inspect/_nuxt/BI0YL3iH.js" crossorigin></script><meta name="description" content="DevTools for inspecting the DevTools itself"><script id="unhead:payload" type="application/json">{"title":"DevTools Self Inspect"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/.devtools-self-inspect/",buildId:"c5db94b2-552e-4d2e-bcde-f9d6cdf20a82",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1777537307751,false]</script></body></html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitejs/devtools-self-inspect",
3
3
  "type": "module",
4
- "version": "0.1.14",
4
+ "version": "0.1.16",
5
5
  "description": "DevTools for inspecting the DevTools itself",
6
6
  "author": "VoidZero Inc.",
7
7
  "license": "MIT",
@@ -28,9 +28,9 @@
28
28
  "dependencies": {
29
29
  "birpc": "^4.0.0",
30
30
  "pathe": "^2.0.3",
31
- "@vitejs/devtools-kit": "0.1.14",
32
- "@vitejs/devtools-rpc": "0.1.14",
33
- "@vitejs/devtools": "0.1.14"
31
+ "@vitejs/devtools": "0.1.16",
32
+ "@vitejs/devtools-kit": "0.1.16",
33
+ "devframe": "0.1.16"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@unocss/nuxt": "^66.6.8",
@@ -38,7 +38,7 @@
38
38
  "@vueuse/core": "^14.2.1",
39
39
  "@vueuse/nuxt": "^14.2.1",
40
40
  "structured-clone-es": "^2.0.0",
41
- "tsdown": "^0.21.8",
41
+ "tsdown": "^0.21.10",
42
42
  "unocss": "^66.6.8",
43
43
  "vite-hot-client": "^2.1.0"
44
44
  },
@@ -1 +0,0 @@
1
- import{F as e,P as t,dt as n,i as r}from"./BBX-ZUUP.js";var i=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,a=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,o=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function s(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){c(e);return}return t}function c(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function l(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!o.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(i.test(e)||a.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,s)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}String.fromCharCode;var u=/#/g,d=/&/g,ee=/\//g,te=/=/g,f=/\?/g,p=/\+/g,ne=/%5e/gi,m=/%60/gi,h=/%7c/gi,g=/%20/gi,re=/%2f/gi,ie=/%252f/gi;function _(e){return encodeURI(``+e).replace(h,`|`)}function v(e){return _(typeof e==`string`?e:JSON.stringify(e)).replace(p,`%2B`).replace(g,`+`).replace(u,`%23`).replace(d,`%26`).replace(m,"`").replace(ne,`^`).replace(ee,`%2F`)}function y(e){return v(e).replace(te,`%3D`)}function ae(e){return _(e).replace(u,`%23`).replace(f,`%3F`).replace(ie,`%2F`).replace(d,`%26`).replace(p,`%2B`)}function b(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function oe(e){return b(e.replace(re,`%252F`))}function x(e){return b(e.replace(p,` `))}function S(e){return b(e.replace(p,` `))}function C(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=x(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=S(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function w(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${y(e)}=${v(t)}`).join(`&`):`${y(e)}=${v(t)}`:y(e)}function T(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>w(t,e[t])).filter(Boolean).join(`&`)}var E=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,se=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ce=/^([/\\]\s*){2,}[^/\\]/,le=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ue=/\/$|\/\?|\/#/,de=/^\.?\//;function D(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?E.test(e):se.test(e)||(t.acceptRelative?ce.test(e):!1)}function fe(e){return!!e&&le.test(e)}function O(e=``,t){return t?ue.test(e):e.endsWith(`/`)}function k(e=``,t){if(!t)return(O(e)?e.slice(0,-1):e)||`/`;if(!O(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function A(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(O(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function j(e,t){if(P(t)||D(e))return e;let n=k(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return I(n,e)}function M(e,t){if(P(t))return e;let n=k(t);if(!e.startsWith(n))return e;let r=e[n.length];if(r&&r!==`/`&&r!==`?`)return e;let i=e.slice(n.length);return i[0]===`/`?i:`/`+i}function N(e,t){let n=B(e);return n.search=T({...C(n.search),...t}),pe(n)}function P(e){return!e||e===`/`}function F(e){return e&&e!==`/`}function I(e,...t){let n=e||``;for(let e of t.filter(e=>F(e)))if(n){let t=e.replace(de,``);n=A(n)+t}else n=e;return n}function L(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&D(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function R(e,t){return b(k(e))===b(k(t))}var z=Symbol.for(`ufo:protocolRelative`);function B(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!D(e,{acceptRelative:!0}))return t?B(t+e):V(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=V(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[z]:!r}}function V(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function pe(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[z]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function H(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function U(e,t,n=`.`,r){if(!H(t))return U(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:H(a)&&H(i[t])?i[t]=U(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function me(e){return(...t)=>t.reduce((t,n)=>U(t,n,``,e),{})}var W=me();function he(e,t){try{return t in e}catch{return!1}}var G=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:q(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=K(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function ge(e){if(typeof e==`string`)return new G(e);if(_e(e))return e;let t=new G(e.message??e.statusMessage??``,{cause:e.cause||e});if(he(e,`stack`))try{Object.defineProperty(t,`stack`,{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=q(e.statusCode,t.statusCode):e.status&&(t.statusCode=q(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;K(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function _e(e){return e?.constructor?.__h3_error__===!0}var ve=/[^\u0009\u0020-\u007E]/g;function K(e=``){return e.replace(ve,``)}function q(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var ye=Symbol(`layout-meta`),J=Symbol(`route`);import.meta.url.replace(/\/app\/.*$/,`/`);var Y=()=>r()?.$router,be=()=>t()?e(J,r()._route):r()._route;function xe(e){return e}var Se=()=>{try{if(r()._processingMiddleware)return!0}catch{return!1}return!1},Ce=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?X(e):Y().resolve(e).href;if(t?.open){let{target:e=`_blank`,windowFeatures:r={}}=t.open,i=[];for(let[e,t]of Object.entries(r))t!==void 0&&i.push(`${e.toLowerCase()}=${t}`);return open(n,e,i.join(`, `)),Promise.resolve()}let i=D(n,{acceptRelative:!0}),a=t?.external||i;if(a){if(!t?.external)throw Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");let{protocol:e}=new URL(n,window.location.href);if(e&&fe(e))throw Error(`Cannot navigate to a URL with '${e}' protocol.`)}let o=Se();if(!a&&o){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=B(e);return{path:t,...n&&{query:C(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=Y(),c=r();if(a)return c._scope.stop(),t?.replace?location.replace(n):location.href=n,o?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?Z(e):e;return t?.replace?s.replace(l):s.push(l)};function X(e){return N(e.path||``,e.query||{})+(e.hash||``)}function Z(e){let t=B(e);return ae(oe(t.pathname))+t.search+t.hash}var we=`__nuxt_error`,Q=()=>n(r().payload,`error`),Te=e=>{let t=$(e);try{let e=Q();r().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Ee=async(e={})=>{let t=r(),n=Q();t.callHook(`app:error:cleared`,e),e.redirect&&await Y().replace(e.redirect),n.value=void 0},De=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,$=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=ge(e);return Object.defineProperty(t,we,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,`status`,{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,`statusText`,{get:()=>t.statusMessage,configurable:!0}),t};export{M as C,A as S,l as T,L as _,Q as a,j as b,Ce as c,Y as d,ye as f,R as g,D as h,Te as i,X as l,W as m,$ as n,xe as o,J as p,De as r,Z as s,Ee as t,be as u,I as v,k as w,N as x,C as y};
@@ -1 +0,0 @@
1
- import{$ as e,D as t,Ft as n,O as r,W as i,w as a,x as o}from"./BBX-ZUUP.js";import{t as s}from"./C1NhDgiZ.js";import{t as c}from"./DbA1e8sE.js";import{t as l}from"./BUwCbG2W.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=l({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(l){let g=l;return s({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(s,g)=>{let _=c;return i(),a(`div`,u,[o(`div`,d,[o(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(l.status)},null,8,f),o(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(l.statusText)},null,8,p),o(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(l.description)},null,8,m),o(`div`,h,[r(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:e(()=>[t(n(l.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-d6b19dd6`]]);export{g as default};
@@ -1 +0,0 @@
1
- import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,Ft as r,H as i,J as a,K as o,O as s,S as c,W as l,b as u,h as d,ut as f,w as p,x as m}from"./BBX-ZUUP.js";var h={key:0,flex:`~ items-center justify-center`,py8:``,op50:``},g={key:1,flex:`~ col gap-3`,p4:``},_={"text-xs":``,op60:``},v={flex:`~ items-center gap-2`,mb1:``,mt2:``},y={"w-full":``,"text-sm":``},b={px2:``,"py1.5":``,"font-mono":``,"text-xs":``},x={px2:``,"py1.5":``},S=[`title`],C={px2:``,"py1.5":``,"font-mono":``,"text-xs":``},w=Object.assign(n({__name:`ClientScriptsList`,props:{scripts:{}},setup(e){let t=e,n=u(()=>{let e=new Map;for(let n of t.scripts){let t=n.dockType;e.has(t)||e.set(t,[]),e.get(t).push(n)}return Array.from(e.entries()).sort(([e],[t])=>e.localeCompare(t))});function i(e){let t=e.split(`/`);return t.length<=3?e:`.../${t.slice(-3).join(`/`)}`}return(t,c)=>{let u=a(`DisplayBadge`),f=a(`DisplayNumberBadge`);return e.scripts.length===0?(l(),p(`div`,h,` No client scripts registered. `)):(l(),p(`div`,g,[m(`div`,_,r(e.scripts.length)+` client scripts registered `,1),(l(!0),p(d,null,o(n.value,([e,t])=>(l(),p(`div`,{key:e},[m(`div`,v,[s(u,{text:e},null,8,[`text`]),s(f,{number:t.length},null,8,[`number`])]),m(`table`,y,[c[0]||=m(`thead`,null,[m(`tr`,{border:`b base`,"text-left":``},[m(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Dock ID `),m(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Dock Title `),m(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Import From `),m(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Import Name `)])],-1),m(`tbody`,null,[(l(!0),p(d,null,o(t,e=>(l(),p(`tr`,{key:e.dockId,border:`b base`,"hover:bg-active":``},[m(`td`,b,r(e.dockId),1),m(`td`,x,r(e.dockTitle),1),m(`td`,{px2:``,"py1.5":``,"font-mono":``,"text-xs":``,"max-w-60":``,truncate:``,title:e.script.importFrom},r(i(e.script.importFrom)),9,S),m(`td`,C,r(e.script.importName??`default`),1)]))),128))])])]))),128))]))}}}),{__name:`ClientScriptsList`}),T=n({__name:`scripts`,setup(n){let r=t(),o=f();async function s(){o.value=await r.value.call(`devtoolskit:self-inspect:get-client-scripts`)}return e(s),i(s),(e,t)=>{let n=a(`VisualLoading`),r=w;return o.value?(l(),c(r,{key:1,scripts:o.value},null,8,[`scripts`])):(l(),c(n,{key:0}))}}});export{T as default};
@@ -1 +0,0 @@
1
- import{B as e,F as t,P as n,Q as r,R as i,ct as a,ft as o,i as s,it as c,j as l,z as u}from"./BBX-ZUUP.js";var d=new Set([`link`,`style`,`script`,`noscript`]),f=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),p=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),m=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),h=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),g=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),_=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),v=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),y=[`name`,`property`,`http-equiv`],b=new Set([`viewport`,`description`,`keywords`,`robots`]);function x(e){let t=e.split(`:`);return t.length?v.has(t[1]):!1}function S(e){let{props:t,tag:n}=e;if(h.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of y)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&b.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(f.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function C(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function w(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>w(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=w(r[n],t,n);return e}return r}function T(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function E(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=p.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=T(r,i);return}if(g.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function D(e,t){let n=E({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&d.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function O(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=w(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(D(e,n))}),r.flat()}var k=(e,t)=>c(t)?o(t):t,A=`usehead`;function j(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(A,e)}}.install}function M(){if(n()){let e=t(A);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function N(e,t={}){let n=t.head||M();return n.ssr?n.push(e||{},t):P(n,e,t)}function P(t,n,o={}){let s=a(!1),c;return r(()=>{let e=s.value?{}:w(n,k);c?c.patch(e):c=t.push(e,o)}),l()&&(u(()=>{c.dispose()}),e(()=>{s.value=!0}),i(()=>{s.value=!1})),c}function F(e){let r=e||s();return r.ssrContext?.head||r.runWithContext(()=>{if(n()){let e=t(`usehead`);if(!e)throw Error(`[nuxt] [unhead] Missing Unhead instance.`);return e}})}function I(e,t={}){return N(e,{head:t.head||F(t.nuxt),...t})}export{x as a,p as c,C as i,_ as l,j as n,O as o,S as r,E as s,I as t,m as u};
@@ -1 +0,0 @@
1
- import{Ft as e,W as t,w as n,x as r}from"./BBX-ZUUP.js";import{t as i}from"./C1NhDgiZ.js";import{t as a}from"./BUwCbG2W.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(i,d)=>(t(),n(`div`,o,[r(`div`,s,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:e(a.status)},null,8,c),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:e(a.statusText)},null,8,l),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:e(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-2d885d94`]]);export{d as default};
@@ -1 +0,0 @@
1
- import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,C as r,D as i,Ft as a,H as o,J as s,K as c,Mt as l,O as u,S as d,W as f,b as p,h as m,ut as h,w as g,x as _}from"./BBX-ZUUP.js";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(n({__name:`DocksList`,props:{docks:{}},setup(e){let t=e,n=p(()=>{let e=new Map;for(let n of t.docks){let t=n.category||`default`;e.has(t)||e.set(t,[]),e.get(t).push(n)}return Array.from(e.entries())});function o(e){if(e.type===`iframe`)return e.url}function d(e){return e.type===`iframe`&&!!e.clientScript}return(e,p)=>{let h=s(`DisplayNumberBadge`),j=s(`DisplayBadge`);return f(),g(`div`,v,[_(`div`,y,a(t.docks.length)+` docks registered `,1),(f(!0),g(m,null,c(n.value,([e,t])=>(f(),g(`div`,{key:e},[_(`div`,b,[_(`span`,x,a(e),1),u(h,{number:t.length},null,8,[`number`])]),_(`table`,S,[p[0]||=_(`thead`,null,[_(`tr`,{border:`b base`,"text-left":``},[_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` ID `),_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Title `),_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Details `)])],-1),_(`tbody`,null,[(f(!0),g(m,null,c(t,e=>(f(),g(`tr`,{key:e.id,border:`b base`,"hover:bg-active":``,class:l(e.when===`false`?`op40`:``)},[_(`td`,C,[e.when?(f(),g(`span`,{key:0,"i-ph-eye-slash":``,"text-xs":``,op60:``,title:`when: ${e.when}`},null,8,w)):r(``,!0),i(` `+a(e.id),1)]),_(`td`,T,a(e.title),1),_(`td`,E,[u(j,{text:e.type},null,8,[`text`])]),_(`td`,D,[o(e)?(f(),g(`span`,O,a(o(e)),1)):r(``,!0),d(e)?(f(),g(`span`,k,[u(j,{text:`client-script`})])):r(``,!0),!o(e)&&!d(e)?(f(),g(`span`,A,`-`)):r(``,!0)])],2))),128))])])]))),128))])}}}),{__name:`DocksList`}),M=n({__name:`docks`,setup(n){let r=t(),i=h();async function a(){i.value=await r.value.call(`devtoolskit:self-inspect:get-docks`)}return e(a),o(a),(e,t)=>{let n=s(`VisualLoading`),r=j;return i.value?(f(),d(r,{key:1,docks:i.value},null,8,[`docks`])):(f(),d(n,{key:0}))}}});export{M as default};
@@ -1 +0,0 @@
1
- import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,C as r,D as i,Ft as a,H as o,J as s,K as c,Mt as l,S as u,W as d,b as f,ct as p,et as m,h,ut as g,w as _,x as v}from"./BBX-ZUUP.js";import{i as y}from"./OGH9CFAd.js";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(n({__name:`DevtoolsPluginsList`,props:{plugins:{}},setup(e){let t=e,n=p(!1),o=f(()=>t.plugins.filter(e=>e.hasDevtools).length),g=f(()=>n.value?t.plugins:t.plugins.filter(e=>e.hasDevtools));return(t,f)=>{let p=s(`DisplayBadge`);return d(),_(`div`,b,[v(`div`,x,[v(`span`,S,a(o.value)+` devtools plugins / `+a(e.plugins.length)+` total `,1),v(`label`,C,[m(v(`input`,{"onUpdate:modelValue":f[0]||=e=>n.value=e,type:`checkbox`},null,512),[[y,n.value]]),f[1]||=i(` Show all `,-1)])]),v(`table`,w,[f[2]||=v(`thead`,null,[v(`tr`,{border:`b base`,"text-left":``},[v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Plugin Name `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` DevTools `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Setup `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Capabilities `)])],-1),v(`tbody`,null,[(d(!0),_(h,null,c(g.value,e=>(d(),_(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``,class:l(e.hasDevtools?``:`op40`)},[v(`td`,T,a(e.name),1),v(`td`,E,[e.hasDevtools?(d(),_(`span`,D)):(d(),_(`span`,O,`-`))]),v(`td`,k,[e.hasSetup?(d(),_(`span`,A)):(d(),_(`span`,j,`-`))]),v(`td`,M,[e.capabilities?(d(),_(h,{key:0},[e.capabilities.dev?(d(),u(p,{key:0,text:`dev`})):r(``,!0),e.capabilities.build?(d(),u(p,{key:1,text:`build`})):r(``,!0)],64)):(d(),_(`span`,N,`-`))])],2))),128))])])])}}}),{__name:`DevtoolsPluginsList`}),F=n({__name:`plugins`,setup(n){let r=t(),i=g();async function a(){i.value=await r.value.call(`devtoolskit:self-inspect:get-devtools-plugins`)}return e(a),o(a),(e,t)=>{let n=s(`VisualLoading`),r=P;return i.value?(d(),u(r,{key:1,plugins:i.value},null,8,[`plugins`])):(d(),u(n,{key:0}))}}});export{F as default};
@@ -1 +0,0 @@
1
- import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,C as r,D as i,Ft as a,H as o,J as s,K as c,O as l,S as u,W as d,b as f,ct as p,et as m,h,ut as g,w as _,x as v}from"./BBX-ZUUP.js";import{a as y}from"./OGH9CFAd.js";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(n({__name:`RpcFunctionsList`,props:{functions:{}},setup(e){let t=e,n=p(``),o=f(()=>{let e=n.value.toLowerCase();return e?t.functions.filter(t=>t.name.toLowerCase().includes(e)):t.functions}),g=f(()=>{let e={};for(let n of t.functions)e[n.type]=(e[n.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=f(()=>{let e=new Map;for(let t of o.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,o)=>{let f=s(`DisplayBadge`),p=s(`DisplayNumberBadge`);return d(),_(`div`,b,[v(`div`,x,[v(`div`,S,[o[1]||=v(`div`,{"i-ph-magnifying-glass":``,op40:``},null,-1),m(v(`input`,{"onUpdate:modelValue":o[0]||=e=>n.value=e,placeholder:`Filter functions...`,border:`~ base rounded`,"bg-transparent":``,px2:``,py1:``,"text-sm":``,"flex-1":``,"outline-none":``,"focus:border-primary":``},null,512),[[y,n.value]])]),v(`div`,C,[v(`span`,null,a(t.functions.length)+` total`,1),o[2]||=v(`span`,{op30:``},`|`,-1),(d(!0),_(h,null,c(g.value,(e,t)=>(d(),_(`span`,{key:t},[l(f,{text:String(t)},null,8,[`text`]),i(` `+a(e),1)]))),128))])]),(d(!0),_(h,null,c(B.value,([e,t])=>(d(),_(`div`,{key:e},[v(`div`,w,[v(`span`,T,a(e),1),l(p,{number:t.length},null,8,[`number`])]),v(`table`,E,[o[3]||=v(`thead`,null,[v(`tr`,{border:`b base`,"text-left":``},[v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Name `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Cacheable `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Schema `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Dump `)])],-1),v(`tbody`,null,[(d(!0),_(h,null,c(t,e=>(d(),_(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``},[v(`td`,{px2:``,"py1.5":``,"font-mono":``,"text-xs":``,title:e.name},a(z(e.name)),9,D),v(`td`,O,[l(f,{text:e.type},null,8,[`text`])]),v(`td`,k,[e.cacheable?(d(),_(`span`,A)):(d(),_(`span`,j,`-`))]),v(`td`,M,[e.hasArgs||e.hasReturns?(d(),_(`span`,N,[e.hasArgs?(d(),u(f,{key:0,text:`args`})):r(``,!0),e.hasReturns?(d(),u(f,{key:1,text:`returns`})):r(``,!0)])):(d(),_(`span`,P,`-`))]),v(`td`,F,[e.hasDump?(d(),_(`span`,I)):(d(),_(`span`,L,`-`))])]))),128))])])]))),128))])}}}),{__name:`RpcFunctionsList`}),z=n({__name:`rpc`,setup(n){let r=t(),i=g();async function a(){i.value=await r.value.call(`devtoolskit:self-inspect:get-rpc-functions`)}return e(a),o(a),(e,t)=>{let n=s(`VisualLoading`),r=R;return i.value?(d(),u(r,{key:1,functions:i.value},null,8,[`functions`])):(d(),u(n,{key:0}))}}});export{z as default};
@@ -1 +0,0 @@
1
- import{A as e}from"./BBX-ZUUP.js";import{c as t}from"./BE_JSTTi.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,F as t,G as n,H as r,J as i,L as a,N as o,Z as s,a as c,b as l,c as u,ct as d,i as f,lt as p,ot as m,pt as h,ut as g,z as _}from"./BBX-ZUUP.js";import{t as ee}from"./OGH9CFAd.js";import{S as v,c as y,d as b,h as x,l as te,m as S,s as ne,v as C,w,y as re}from"./BE_JSTTi.js";var T=typeof document<`u`;function E(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ie(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&E(e.default)}var D=Object.assign;function ae(e,t){let n={};for(let r in t){let i=t[r];n[r]=k(i)?i.map(e):e(i)}return n}var O=()=>{},k=Array.isArray;function A(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var j=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),M=Symbol(``);j.MATCHER_NOT_FOUND,j.NAVIGATION_GUARD_REDIRECT,j.NAVIGATION_ABORTED,j.NAVIGATION_CANCELLED,j.NAVIGATION_DUPLICATED;function N(e,t){return D(Error(),{type:e,[M]:!0},t)}function P(e,t){return e instanceof Error&&M in e&&(t==null||!!(e.type&t))}var F=Symbol(``),oe=Symbol(``),se=Symbol(``),ce=Symbol(``),le=Symbol(``),I=/#/g,ue=/&/g,L=/\//g,R=/=/g,de=/\?/g,z=/\+/g,fe=/%5B/g,B=/%5D/g,V=/%5E/g,H=/%60/g,U=/%7B/g,W=/%7C/g,pe=/%7D/g,me=/%20/g;function he(e){return e==null?``:encodeURI(``+e).replace(W,`|`).replace(fe,`[`).replace(B,`]`)}function ge(e){return he(e).replace(U,`{`).replace(pe,`}`).replace(V,`^`)}function _e(e){return he(e).replace(z,`%2B`).replace(me,`+`).replace(I,`%23`).replace(ue,`%26`).replace(H,"`").replace(U,`{`).replace(pe,`}`).replace(V,`^`)}function ve(e){return _e(e).replace(R,`%3D`)}function ye(e){return he(e).replace(I,`%23`).replace(de,`%3F`)}function be(e){return ye(e).replace(L,`%2F`)}function G(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var xe=/\/$/,Se=e=>e.replace(xe,``);function Ce(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Ae(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:G(o)}}function we(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Te(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Ee(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&K(t.matched[r],n.matched[i])&&De(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function K(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function De(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Oe(e[n],t[n]))return!1;return!0}function Oe(e,t){return k(e)?ke(e,t):k(t)?ke(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function ke(e,t){return k(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Ae(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var q={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},je=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Me=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Ne(e){if(!e)if(T){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Se(e)}var Pe=/^[^#]+#/;function Fe(e,t){return e.replace(Pe,`#`)+t}function Ie(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var J=()=>({left:window.scrollX,top:window.scrollY});function Le(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ie(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Re(e,t){return(history.state?history.state.position-t:-1)+e}var ze=new Map;function Be(e,t){ze.set(e,t)}function Ve(e){let t=ze.get(e);return ze.delete(e),t}function He(e){return typeof e==`string`||e&&typeof e==`object`}function Ue(e){return typeof e==`string`||typeof e==`symbol`}function We(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(z,` `),i=r.indexOf(`=`),a=G(i<0?r:r.slice(0,i)),o=i<0?null:G(r.slice(i+1));if(a in t){let e=t[a];k(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Ge(e){let t=``;for(let n in e){let r=e[n];if(n=ve(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(k(r)?r.map(e=>e&&_e(e)):[r&&_e(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Ke(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=k(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Y(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function X(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(N(j.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):He(e)?c(N(j.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function qe(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(E(s)){let c=(s.__vccOpts||s)[t];c&&a.push(X(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ie(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&X(c,n,r,o,e,i)()}))}}return a}function Je(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>K(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>K(e,s))||i.push(s))}return[n,r,i]}var Ye=()=>location.protocol+`//`+location.host;function Xe(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Te(n,``)}return Te(n,e)+r+i}function Ze(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Xe(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:je.pop,direction:u?u>0?Me.forward:Me.back:Me.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(D({},e.state,{scroll:J()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Qe(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?J():null}}function $e(e){let{history:t,location:n}=window,r={value:Xe(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ye()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,D({},t.state,Qe(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=D({},i.value,t.state,{forward:e,scroll:J()});a(o.current,o,!0),a(e,D({},Qe(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function et(e){e=Ne(e);let t=$e(e),n=Ze(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=D({location:``,base:e,go:r,createHref:Fe.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function tt(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),et(e)}var Z=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Q||{}),nt={type:Z.Static,value:``},rt=/[a-zA-Z0-9_]/;function it(e){if(!e)return[[]];if(e===`/`)return[[nt]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Z.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Z.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:rt.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var at=`[^/]+?`,ot={sensitive:!1,strict:!1,start:!0,end:!0},$=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}($||{}),st=/[.+*?^${}()[\]/\\]/g;function ct(e,t){let n=D({},ot,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Z.Static)r||(i+=`/`),i+=o.value.replace(st,`\\$&`),s+=$.Static;else if(o.type===Z.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||at;if(u!==at){s+=$.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Z.Static)n+=e.value;else if(e.type===Z.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(k(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=k(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function lt(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function ut(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=lt(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(dt(r))return 1;if(dt(i))return-1}return i.length-r.length}function dt(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ft={strict:!1,end:!0,sensitive:!1};function pt(e,t,n){let r=D(ct(it(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function mt(e,t){let n=[],r=new Map;t=A(ft,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=gt(e);s.aliasOf=r&&r.record;let l=A(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(gt(D({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=pt(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!vt(d)&&o(e.name)),St(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:O}function o(e){if(Ue(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=bt(e,n);n.splice(t,0,e),e.record.name&&!vt(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw N(j.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=D(ht(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&ht(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw N(j.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=D({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:yt(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function ht(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function gt(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_t(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function _t(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function vt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yt(e){return e.reduce((e,t)=>D(e,t.meta),{})}function bt(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;ut(e,t[i])<0?r=i:n=i+1}let i=xt(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function xt(e){let t=e;for(;t=t.parent;)if(St(t)&&ut(e,t)===0)return t}function St({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ct(e){let n=t(se),r=t(ce),i=l(()=>{let t=h(e.to);return n.resolve(t)}),a=l(()=>{let{matched:e}=i.value,{length:t}=e,n=e[t-1],a=r.matched;if(!n||!a.length)return-1;let o=a.findIndex(K.bind(null,n));if(o>-1)return o;let s=Ot(e[t-2]);return t>1&&Ot(n)===s&&a[a.length-1].path!==s?a.findIndex(K.bind(null,e[t-2])):o}),o=l(()=>a.value>-1&&Dt(r.params,i.value.params)),s=l(()=>a.value>-1&&a.value===r.matched.length-1&&De(r.params,i.value.params));function c(t={}){if(Et(t)){let t=n[h(e.replace)?`replace`:`push`](h(e.to)).catch(O);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>t),t}return Promise.resolve()}return{route:i,href:l(()=>i.value.href),isActive:o,isExactActive:s,navigate:c}}function wt(e){return e.length===1?e[0]:e}var Tt=e({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Ct,setup(e,{slots:n}){let r=m(Ct(e)),{options:i}=t(se),a=l(()=>({[kt(e.activeClass,i.linkActiveClass,`router-link-active`)]:r.isActive,[kt(e.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:r.isExactActive}));return()=>{let t=n.default&&wt(n.default(r));return e.custom?t:o(`a`,{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},t)}}});function Et(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!k(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ot(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var kt=(e,t,n)=>e??t??n,At=e({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:r,slots:i}){let a=t(le),c=l(()=>e.route||a.value),u=t(oe,0),f=l(()=>{let e=h(u),{matched:t}=c.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),p=l(()=>c.value.matched[f.value]);n(oe,l(()=>f.value+1)),n(F,p),n(le,c);let m=d();return s(()=>[m.value,p.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!K(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let t=c.value,n=e.name,a=p.value,s=a&&a.components[n];if(!s)return jt(i.default,{Component:s,route:t});let l=a.props[n],u=o(s,D({},l?l===!0?t.params:typeof l==`function`?l(t):l:null,r,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[n]=null)},ref:m}));return jt(i.default,{Component:u,route:t})||u}}});function jt(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Mt=At;function Nt(e){let t=mt(e.routes,e),n=e.parseQuery||We,r=e.stringifyQuery||Ge,i=e.history,o=Y(),s=Y(),c=Y(),l=g(q),u=q;T&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=ae.bind(null,e=>``+e),f=ae.bind(null,be),m=ae.bind(null,G);function _(e,n){let r,i;return Ue(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function ee(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function v(){return t.getRoutes().map(e=>e.record)}function y(e){return!!t.getRecordMatcher(e)}function b(e,a){if(a=D({},a||l.value),typeof e==`string`){let r=Ce(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return D(r,o,{params:m(o.params),hash:G(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=D({},e,{path:Ce(n,e.path,a.path).path});else{let t=D({},e.params);for(let e in t)t[e]??delete t[e];o=D({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),c=e.hash||``;s.params=d(m(s.params));let u=we(r,D({},e,{hash:ge(c),path:s.path})),p=i.createHref(u);return D({fullPath:u,hash:c,query:r===Ge?Ke(e.query):e.query||{}},s,{redirectedFrom:void 0,href:p})}function x(e){return typeof e==`string`?Ce(n,e,l.value.path):D({},e)}function te(e,t){if(u!==e)return N(j.NAVIGATION_CANCELLED,{from:t,to:e})}function S(e){return w(e)}function ne(e){return S(D(x(e),{replace:!0}))}function C(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=x(i):{path:i},i.params={}),D({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function w(e,t){let n=u=b(e),i=l.value,a=e.state,o=e.force,s=e.replace===!0,c=C(n,i);if(c)return w(D(x(c),{state:typeof c==`object`?D({},a,c.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Ee(r,i,n)&&(f=N(j.NAVIGATION_DUPLICATED,{to:d,from:i}),fe(i,i,!0,!1)),(f?Promise.resolve(f):ie(d,i)).catch(e=>P(e)?P(e,j.NAVIGATION_GUARD_REDIRECT)?e:z(e):R(e,d,i)).then(e=>{if(e){if(P(e,j.NAVIGATION_GUARD_REDIRECT))return w(D({replace:s},x(e.to),{state:typeof e.to==`object`?D({},a,e.to.state):a,force:o}),t||d)}else e=M(d,i,!0,s,a);return A(d,i,e),e})}function re(e,t){let n=te(e,t);return n?Promise.reject(n):Promise.resolve()}function E(e){let t=H.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ie(e,t){let n,[r,i,a]=Je(e,t);n=qe(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(X(r,e,t))});let c=re.bind(null,e,t);return n.push(c),W(n).then(()=>{n=[];for(let r of o.list())n.push(X(r,e,t));return n.push(c),W(n)}).then(()=>{n=qe(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(X(r,e,t))});return n.push(c),W(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(k(r.beforeEnter))for(let i of r.beforeEnter)n.push(X(i,e,t));else n.push(X(r.beforeEnter,e,t));return n.push(c),W(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=qe(a,`beforeRouteEnter`,e,t,E),n.push(c),W(n))).then(()=>{n=[];for(let r of s.list())n.push(X(r,e,t));return n.push(c),W(n)}).catch(e=>P(e,j.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function A(e,t,n){c.list().forEach(r=>E(()=>r(e,t,n)))}function M(e,t,n,r,a){let o=te(e,t);if(o)return o;let s=t===q,c=T?history.state:{};n&&(r||s?i.replace(e.fullPath,D({scroll:s&&c&&c.scroll},a)):i.push(e.fullPath,a)),l.value=e,fe(e,t,n,s),z()}let F;function oe(){F||=i.listen((e,t,n)=>{if(!U.listening)return;let r=b(e),a=C(r,U.currentRoute.value);if(a){w(D(a,{replace:!0,force:!0}),r).catch(O);return}u=r;let o=l.value;T&&Be(Re(o.fullPath,n.delta),J()),ie(r,o).catch(e=>P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_CANCELLED)?e:P(e,j.NAVIGATION_GUARD_REDIRECT)?(w(D(x(e.to),{force:!0}),r).then(e=>{P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===je.pop&&i.go(-1,!1)}).catch(O),Promise.reject()):(n.delta&&i.go(-n.delta,!1),R(e,r,o))).then(e=>{e||=M(r,o,!1),e&&(n.delta&&!P(e,j.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===je.pop&&P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),A(r,o,e)}).catch(O)})}let I=Y(),ue=Y(),L;function R(e,t,n){z(e);let r=ue.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function de(){return L&&l.value!==q?Promise.resolve():new Promise((e,t)=>{I.add([e,t])})}function z(e){return L||(L=!e,oe(),I.list().forEach(([t,n])=>e?n(e):t()),I.reset()),e}function fe(t,n,r,i){let{scrollBehavior:o}=e;if(!T||!o)return Promise.resolve();let s=!r&&Ve(Re(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return a().then(()=>o(t,n,s)).then(e=>e&&Le(e)).catch(e=>R(e,t,n))}let B=e=>i.go(e),V,H=new Set,U={currentRoute:l,listening:!0,addRoute:_,removeRoute:ee,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:v,resolve:b,options:e,push:S,replace:ne,go:B,back:()=>B(-1),forward:()=>B(1),beforeEach:o.add,beforeResolve:s.add,afterEach:c.add,onError:ue.add,isReady:de,install(e){e.component(`RouterLink`,Tt),e.component(`RouterView`,Mt),e.config.globalProperties.$router=U,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>h(l)}),T&&!V&&l.value===q&&(V=!0,S(i.location).catch(e=>{}));let t={};for(let e in q)Object.defineProperty(t,e,{get:()=>l.value[e],enumerable:!0});e.provide(se,U),e.provide(ce,p(t)),e.provide(le,l);let n=e.unmount;H.add(e),e.unmount=function(){H.delete(e),H.size<1&&(u=q,F&&F(),F=null,l.value=q,V=!1,L=!1),n()}}};function W(e){return e.reduce((e,t)=>e.then(()=>E(t)),Promise.resolve())}return U}var Pt=(e,t)=>({default:()=>e?o(ee,e===!0?{}:e,t):t.default?.()}),Ft=/(:\w+)\([^)]+\)/g,It=/(:\w+)[?+*]/g,Lt=/:\w+/g;function Rt(e){let t=e?.meta.key??e.path.replace(Ft,`$1`).replace(It,`$1`).replace(Lt,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function zt(e,t){return e===t||t===q?!1:Rt(e)===Rt(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Bt(e){return Array.isArray(e)?e:[e]}function Vt(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Bt(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Bt(n.onBeforeLeave):void 0});return S(...t)}var Ht={scrollBehavior(e,t,n){let r=f(),i=b().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ut(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===q?Wt(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(Wt(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function Ut(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Wt(e,t,n,r){if(n)return n;let i=zt(e,t);return e.hash?{el:e.hash,top:Ut(e.hash),behavior:i?r:`instant`}:{left:0,top:0}}var Gt={hashMode:!1,scrollBehaviorType:`auto`,...Ht},Kt=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),qt=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Jt=e=>{let t=f();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Kt(()=>e())}):Kt(()=>e())};function Yt(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Xt(e,t=b()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>Xt(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var Zt=(...e)=>e.find(e=>e!==void 0);function Qt(t){let n=t.componentName||`NuxtLink`;function a(e){return typeof e==`string`&&e.startsWith(`#`)}function s(e,n,r){let i=r??t.trailingSlash;if(!e||i!==`append`&&i!==`remove`)return e;if(typeof e==`string`)return en(e,i);let a=`path`in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:en(a,i)}}function u(e){let n=b(),r=c(),o=l(()=>!!h(e.target)&&h(e.target)!==`_self`),u=l(()=>{let t=h(e.to)||h(e.href)||``;return typeof t==`string`&&x(t,{acceptRelative:!0})}),d=i(`RouterLink`),f=d&&typeof d!=`string`?d.useLink:void 0,p=l(()=>{if(h(e.external))return!0;let t=h(e.to)||h(e.href)||``;return typeof t==`object`?!1:t===``||u.value}),m=l(()=>{let t=h(e.to)||h(e.href)||``;return p.value?t:s(t,n.resolve,h(e.trailingSlash))}),g=p.value?void 0:f?.({...e,to:m,viewTransition:h(e.viewTransition)}),_=l(()=>{let i=h(e.trailingSlash)??t.trailingSlash;if(!m.value||u.value||a(m.value))return m.value;if(p.value){let e=typeof m.value==`object`&&`path`in m.value?te(m.value):m.value;return en(typeof e==`object`?n.resolve(e).href:e,i)}return typeof m.value==`object`?n.resolve(m.value)?.href??null:en(C(r.app.baseURL,m.value),i)});return{to:m,hasTarget:o,isAbsoluteUrl:u,isExternal:p,href:_,isActive:g?.isActive??l(()=>m.value===n.currentRoute.value.path),isExactActive:g?.isExactActive??l(()=>m.value===n.currentRoute.value.path),route:g?.route??l(()=>n.resolve(m.value)),async navigate(t){await y(_.value,{replace:h(e.replace),external:p.value||o.value})}}}return e({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:u,setup(e,{slots:n}){let s=b(),{to:c,href:l,navigate:p,isExternal:m,hasTarget:h,isAbsoluteUrl:ee}=u(e),v=g(!1),y=d(null),x=t=>{y.value=e.custom?t?.$el?.nextElementSibling:t?.$el};function S(n){return!v.value&&(typeof e.prefetchOn==`string`?e.prefetchOn===n:e.prefetchOn?.[n]??t.prefetchOn?.[n])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!==`_blank`&&!rn()}async function C(e=f()){if(v.value)return;v.value=!0;let t=typeof c.value==`string`?c.value:m.value?te(c.value):s.resolve(c.value).fullPath,n=m.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!m.value&&!h.value&&Xt(c.value,s).catch(()=>{})])}if(S(`visibility`)){let e=f(),t,n=null;r(()=>{let r=tn();Jt(()=>{t=Kt(()=>{y?.value?.tagName&&(n=r.observe(y.value,async()=>{n?.(),n=null,await C(e)}))})})}),_(()=>{t&&qt(t),n?.(),n=null})}return()=>{if(!m.value&&!h.value&&!a(c.value)){let r={ref:x,to:c.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(S(`interaction`)&&(r.onPointerenter=C.bind(null,void 0),r.onFocus=C.bind(null,void 0)),v.value&&(r.class=e.prefetchedClass||t.prefetchedClass),r.rel=e.rel||void 0),o(i(`RouterLink`),r,n.default)}let r=e.target||null,u=Zt(e.noRel?``:e.rel,t.externalRelAttribute,ee.value||h.value?`noopener noreferrer`:``)||null;return e.custom?n.default?n.default({href:l.value,navigate:p,prefetch:C,get route(){if(!l.value)return;let e=new URL(l.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return re(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:u,target:r,isExternal:m.value||h.value,isActive:!1,isExactActive:!1}):null:o(`a`,{ref:y,href:l.value||null,rel:u,target:r,onClick:async t=>{if(!(m.value||h.value)){t.preventDefault();try{let t=ne(l.value);return await(e.replace?s.replace(t):s.push(t))}finally{if(a(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},n.default?.())}}})}var $t=Qt(u);function en(e,t){let n=t===`append`?v:w;return x(e)&&!e.startsWith(`http`)?e:n(e,!0)}function tn(){let e=f();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var nn=/2g/;function rn(){let e=navigator.connection;return!!(e&&(e.saveData||nn.test(e.effectiveType)))}export{Vt as a,Nt as c,q as d,Gt as i,tt as l,Yt as n,Pt as o,Jt as r,Mt as s,$t as t,et as u};