@vitejs/devtools-vite 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +30 -12
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/{Dv2CAM3-.js → 457Jr4Pr.js} +1 -1
- package/dist/public/_nuxt/{5c1DPrly.js → B1xYalZA.js} +1 -1
- package/dist/public/_nuxt/{CcqwYoEJ.js → B4Gu6iiy.js} +2 -2
- package/dist/public/_nuxt/BC_sx2n1.js +2 -0
- package/dist/public/_nuxt/{CP22b8pv.js → BD4CFFZd.js} +1 -1
- package/dist/public/_nuxt/{DLDDv_7k.js → BJv-YGcz.js} +1 -1
- package/dist/public/_nuxt/{CJN_wQsK.js → BKuuhLmM.js} +1 -1
- package/dist/public/_nuxt/BaWrej0D.js +2 -0
- package/dist/public/_nuxt/{ClCG_dzz.js → C3lVFA1Q.js} +1 -1
- package/dist/public/_nuxt/CHXuaNaj.js +1 -0
- package/dist/public/_nuxt/{B4-kpPlj.js → CJwKXY9k.js} +1 -1
- package/dist/public/_nuxt/CQYaOgKz.js +1 -0
- package/dist/public/_nuxt/{ZaXNuNF4.js → CWPpjZx6.js} +1 -1
- package/dist/public/_nuxt/D3MExTHO.js +3 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/9ed128ae-36cf-47ec-9da9-d8526939fcad.json +1 -0
- package/dist/public/_nuxt/diff.worker-DFeiLCV8.js +10 -0
- package/dist/public/_nuxt/{entry.C93siYgZ.css → entry.WUs_YScM.css} +1 -1
- package/dist/public/_nuxt/error-404.YVLV_SWG.css +1 -0
- package/dist/public/_nuxt/error-500.DoVxOHYG.css +1 -0
- package/dist/public/_nuxt/{65vBZ263.js → r__Gyeey.js} +1 -1
- package/dist/public/index.html +1 -1
- package/package.json +6 -6
- package/dist/public/_nuxt/CPH0XTIl.js +0 -3
- package/dist/public/_nuxt/DFhP8lOG.js +0 -1
- package/dist/public/_nuxt/DNSDuWiF.js +0 -2
- package/dist/public/_nuxt/builds/meta/eb3b8c17-0790-417e-a6ed-95ac58726921.json +0 -1
- package/dist/public/_nuxt/cxI2zS99.js +0 -1
- package/dist/public/_nuxt/diff.worker-CjOQCDrL.js +0 -10
- package/dist/public/_nuxt/error-404.DSf_TRDj.css +0 -1
- package/dist/public/_nuxt/error-500.CSLpiw1A.css +0 -1
- package/dist/public/_nuxt/ynzAfXmP.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-2b626623]{display:grid}.mb-2[data-v-2b626623]{margin-bottom:.5rem}.mb-4[data-v-2b626623]{margin-bottom:1rem}.max-w-520px[data-v-2b626623]{max-width:520px}.min-h-screen[data-v-2b626623]{min-height:100vh}.w-full[data-v-2b626623]{width:100%}.flex[data-v-2b626623]{display:flex}.place-content-center[data-v-2b626623]{place-content:center}.items-center[data-v-2b626623]{align-items:center}.justify-center[data-v-2b626623]{justify-content:center}.overflow-hidden[data-v-2b626623]{overflow:hidden}.bg-white[data-v-2b626623]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-2b626623]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-2b626623]{text-align:center}.text-\[80px\][data-v-2b626623]{font-size:80px}.text-2xl[data-v-2b626623]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-2b626623]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-2b626623]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-2b626623]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-2b626623]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-2b626623]{font-weight:500}.font-semibold[data-v-2b626623]{font-weight:600}.leading-none[data-v-2b626623]{line-height:1}.tracking-wide[data-v-2b626623]{letter-spacing:.025em}.font-sans[data-v-2b626623]{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-2b626623]{--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-2b626623]{text-decoration-line:underline}.underline-offset-3[data-v-2b626623]{text-underline-offset:3px}.antialiased[data-v-2b626623]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-2b626623]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-2b626623]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (width>=640px){.sm\:text-\[110px\][data-v-2b626623]{font-size:110px}.sm\:text-3xl[data-v-2b626623]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-0b7bf20e]{display:grid}.mb-2[data-v-0b7bf20e]{margin-bottom:.5rem}.mb-4[data-v-0b7bf20e]{margin-bottom:1rem}.max-w-520px[data-v-0b7bf20e]{max-width:520px}.min-h-screen[data-v-0b7bf20e]{min-height:100vh}.place-content-center[data-v-0b7bf20e]{place-content:center}.overflow-hidden[data-v-0b7bf20e]{overflow:hidden}.bg-white[data-v-0b7bf20e]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-0b7bf20e]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-0b7bf20e]{text-align:center}.text-\[80px\][data-v-0b7bf20e]{font-size:80px}.text-2xl[data-v-0b7bf20e]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-0b7bf20e]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-0b7bf20e]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-0b7bf20e]{font-weight:600}.leading-none[data-v-0b7bf20e]{line-height:1}.tracking-wide[data-v-0b7bf20e]{letter-spacing:.025em}.font-sans[data-v-0b7bf20e]{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-0b7bf20e]{--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-0b7bf20e]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-0b7bf20e]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-0b7bf20e]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (width>=640px){.sm\:text-\[110px\][data-v-0b7bf20e]{font-size:110px}.sm\:text-3xl[data-v-0b7bf20e]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,A as t,C as n,Ct as r,Et as i,H as a,J as o,N as s,S as c,T as l,Xt as u,Y as d,Yt as f,ct as p,dt as m,et as h,ft as g,g as _,j as v,jt as y,lt as b,nt as x,q as S,qt as C,ut as w,w as T,x as E,xt as D}from"./CPH0XTIl.js";import{a as O,i as k,n as A}from"./ynzAfXmP.js";import{Z as j,t as M}from"./Dv2CAM3-.js";import{f as N,p as ee}from"./DLDDv_7k.js";import{A as P,C as F,D as I,E as L,O as R,S as z,_ as B,a as V,b as H,c as U,d as W,f as G,g as K,h as q,j as J,k as Y,l as te,m as X,n as Z,o as ne,r as re,s as ie,t as ae,u as oe,v as Q,x as se}from"./5c1DPrly.js";import{t as ce}from"./BDNMzG2s.js";import{C as le,S as ue,a as de,m as fe,n as pe,o as me,w as he,y as ge}from"./ClCG_dzz.js";var $=s({__name:`DisplayNumberBadge`,props:{number:{},color:{default:`badge-color-gray op75`},icon:{},prefix:{},suffix:{},format:{default:`locale`}},setup(e){let n=e,r=E(()=>n.format===`percent`?Number(n.number).toLocaleString(void 0,{style:`percent`,minimumFractionDigits:2,maximumFractionDigits:2}):Number(n.number).toLocaleString());return(n,i)=>(d(),l(`div`,{class:C([e.color,`px-0.4em py-0.2em font-mono line-height-none flex items-center`])},[e.icon?(d(),l(`div`,{key:0,class:C([e.icon,`mr-1`])},null,2)):T(``,!0),t(` `+u(e.prefix||``)+u(r.value)+u(e.suffix||``)+` `,1),h(n.$slots,`after`)],2))}}),_e={class:`op50 text-xs flex justify-center items-center`},ve=s({__name:`FlowmapNodePluginInfo`,props:{modules:{},calls:{},duration:{}},setup(e){return(t,n)=>(d(),l(`span`,_e,[v($,{number:e.modules,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${e.modules}`},null,8,[`number`,`title`]),n[1]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:e.calls,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${e.calls}`},null,8,[`number`,`title`]),n[2]||=c(`span`,{class:`op40`},`|`,-1),v(q,{duration:e.duration,class:`flex gap-1 items-center px1`,title:`Total build cost: ${y(B)(e.duration,!0)}`},{default:m(()=>[...n[0]||=[c(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`])]))}}),ye={class:`flex flex-col`},be={class:`select-none h-full of-auto ws-nowrap w-auto of-visible p4 flex flex-col`},xe={class:`flex`},Se={class:`flex items-center justify-center relative w-60 h14`},Ce={class:`op50 text-xs flex items-center justify-center gap-1 h6`},we=[`datetime`],Te={class:`flex items-center justify-center relative w-60 h14`},Ee={class:`op50 text-xs flex items-center justify-center gap-1 h6`},De=[`datetime`],Oe=Object.assign(s({__name:`PluginFlowTimeline`,props:{buildMetrics:{}},setup(e){let n=e;function r(e){let t={duration:0,calls:e.length,modules:0},n=new Set;return e.forEach(e=>{n.has(e.module)||(n.add(e.module),t.modules++),t.duration+=e.duration}),t}let i=E(()=>r(n.buildMetrics.resolveIdMetrics)),a=E(()=>r(n.buildMetrics.loadMetrics)),o=E(()=>r(n.buildMetrics.transformMetrics)),s=E(()=>{let e=n.buildMetrics.calls;if(e?.length)return e[0].timestamp_start}),f=E(()=>{let e=n.buildMetrics.calls;if(e?.length)return e.at(-1).timestamp_end});return(n,r)=>{let p=oe,g=ve;return d(),l(`div`,ye,[h(n.$slots,`header`),c(`div`,be,[c(`div`,xe,[v(p,{active:!1,"class-node-inner":`w60`},{content:m(()=>[c(`div`,{class:`p2 w-full text-center`,onClick:r[0]||=e=>y(G).pluginDetailSelectedHook=``},[v(X,{name:e.buildMetrics.plugin_name,class:`font-mono text-sm ws-nowrap text-ellipsis line-clamp-1`},null,8,[`name`])])]),_:1})]),c(`div`,Se,[r[5]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),r[6]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),c(`span`,Ce,[r[4]||=c(`i`,{class:`i-ph-airplane-takeoff-thin text-4 inline-flex`},null,-1),s.value?(d(),l(`time`,{key:0,datetime:new Date(s.value).toISOString()},u(new Date(s.value).toLocaleString()),9,we)):T(``,!0)])]),v(p,{"class-node-inner":`w60`,"class-node-outer":`${!i.value.modules&&!i.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0},active:y(G).pluginDetailSelectedHook===`resolve`},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[1]||=e=>y(G).pluginDetailSelectedHook=`resolve`},[r[7]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-magnifying-glass-duotone`}),t(` Resolve Id `)],-1),c(`div`,null,[v(g,{modules:i.value.modules,calls:i.value.calls,duration:i.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`class-node-outer`,`active`]),v(p,{active:y(G).pluginDetailSelectedHook===`load`,"class-node-inner":`w60`,"class-node-outer":`${!a.value.modules&&!a.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0}},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[2]||=e=>y(G).pluginDetailSelectedHook=`load`},[r[8]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-upload-simple-duotone`}),t(` Load `)],-1),c(`div`,null,[v(g,{modules:a.value.modules,calls:a.value.calls,duration:a.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),v(p,{active:y(G).pluginDetailSelectedHook===`transform`,"class-node-inner":`w60`,"class-node-outer":`${!o.value.modules&&!o.value.calls?`b-dashed!`:``}`},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[3]||=e=>y(G).pluginDetailSelectedHook=`transform`},[r[9]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-magic-wand-duotone`}),t(` Transform `)],-1),c(`div`,null,[v(g,{modules:o.value.modules,calls:o.value.calls,duration:o.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),c(`div`,Te,[r[11]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),r[12]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),r[13]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-14 w-2 h-2 border-4 rounded-full`},null,-1),c(`span`,Ee,[r[10]||=c(`i`,{class:`i-ph-airplane-landing-thin text-4 inline-flex`},null,-1),f.value?(d(),l(`time`,{key:0,datetime:new Date(f.value).toISOString()},u(new Date(f.value).toLocaleString()),9,De)):T(``,!0)])])])])}}}),{__name:`FlowmapPluginFlowTimeline`}),ke={role:`row`,class:`border-b border-base bg-base flex flex-row`},Ae={key:0,role:`columnheader`,class:`bg-base flex-none w32 ws-nowrap p1 text-center font-600`},je={key:1,role:`columnheader`,class:`bg-base flex-1 min-w100 ws-nowrap p1 text-left font-600`},Me={class:`flex flex-row gap1 items-center w-full`},Ne={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Pe={class:`p2 flex flex-col gap2`},Fe=[`title`],Ie=[`checked`,`onChange`],Le={class:`text-sm`},Re={key:2,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none ws-nowrap p1 text-center font-600 w-27`},ze={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Be={key:3,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},Ve={key:4,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},He={key:0,role:`cell`,class:`flex items-center justify-center flex-none w32 ws-nowrap op80`},Ue={key:1,role:`cell`,class:`flex-1 min-w100 text-left text-ellipsis line-clamp-2`},We={key:2,role:`cell`,class:`flex items-center justify-center flex-none text-center text-sm w-27`},Ge={key:3,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},Ke={key:4,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},qe={key:1,role:`table`,class:`min-w-max h-full`},Je={class:`p4`},Ye={class:`w-full h-48 flex items-center justify-center op50 italic`},Xe={key:0},Ze={key:1},Qe=Object.assign(ce(s({__name:`PluginDetailsTable`,props:{modules:{},buildMetrics:{},selectedFields:{},root:{}},setup(i){let a=i,o={resolve:`Resolve Id`,load:`Load`,transform:`Transform`},s=E(()=>a.modules.map(e=>({mod:e,type:Y(e.id)}))),f=E(()=>I.filter(e=>s.value.some(t=>e.match.test(t.mod.id)))),p=E(()=>{let e=new Map;for(let{mod:t,type:n}of s.value)e.set(t.id,n.name);return e}),h=r(G.value.pluginDetailsModuleTypes??f.value.map(e=>e.name)),g=E(()=>new Set(h.value)),{state:b,next:x}=me([``,`desc`,`asc`],{initialValue:G.value.pluginDetailsDurationSortType}),S=E(()=>{let e=G.value.pluginDetailSelectedHook,t=G.value.pluginDetailsShowType,n=t!==`all`&&[`load`,`transform`].includes(e),r=new Map(p.value),i=[];for(let o of a.buildMetrics.calls){if(!o.module||e&&o.type!==e||n&&(t===`changed`?o.unchanged:!o.unchanged))continue;let a=r.get(o.module);a||(a=Y(o.module).name,r.set(o.module,a)),g.value.has(a)&&i.push(o)}return b.value&&i.sort((e,t)=>b.value===`asc`?e.duration-t.duration:t.duration-e.duration),i});function w(e){h.value?.includes(e.name)?h.value=h.value?.filter(t=>t!==e.name):h.value?.push(e.name),G.value.pluginDetailsModuleTypes=h.value}function D(){x(),G.value.pluginDetailsDurationSortType=b.value}function O(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}return(r,a)=>{let s=se;return S.value.length&&i.selectedFields.length?(d(),n(H,{key:0,class:`plugin-details-table min-w-max h-full min-h-0`,role:`table`,items:S.value,"key-prop":`id`,"page-mode":!1,scroller:`fixed`,"item-size":36},{before:m(()=>[c(`div`,ke,[i.selectedFields.includes(`hookName`)?(d(),l(`div`,Ae,` Hook name `)):T(``,!0),i.selectedFields.includes(`module`)?(d(),l(`div`,je,[c(`button`,Me,[a[0]||=t(` Module `,-1),v(y(z),null,{popper:m(()=>[c(`div`,Pe,[(d(!0),l(_,null,e(f.value,e=>(d(),l(`label`,{key:e.name,title:e.description,class:`cursor-pointer module-type-filter border border-base rounded-md px2 py1 flex items-center gap-1 select-none`},[c(`input`,{type:`checkbox`,class:`mr1`,checked:h.value?.includes(e.name),onChange:t=>w(e)},null,40,Ie),c(`div`,{class:C([e.icon,`icon-catppuccin`])},null,2),c(`div`,Le,u(e.description||e.name),1)],8,Fe))),128))])]),default:m(()=>[c(`span`,Ne,[c(`i`,{class:C([`i-ph-funnel-duotone text-xs`,h.value.length===f.value.length?`op50`:`text-primary op100`])},null,2)])]),_:1})])])):T(``,!0),i.selectedFields.includes(`duration`)?(d(),l(`div`,Re,[c(`button`,{class:`flex flex-row gap1 items-center justify-center w-full`,onClick:D},[a[1]||=t(` Duration `,-1),c(`span`,ze,[c(`i`,{class:C([`text-xs`,[y(b)===`asc`?`i-ph-arrow-up-duotone`:`i-ph-arrow-down-duotone`,y(b)?`op100 text-primary`:`op50`]])},null,2)])])])):T(``,!0),i.selectedFields.includes(`startTime`)?(d(),l(`div`,Be,` Start Time `)):T(``,!0),i.selectedFields.includes(`endTime`)?(d(),l(`div`,Ve,` End Time `)):T(``,!0)])]),default:m(({item:e,index:t})=>[c(`div`,{role:`row`,class:C([`border-base border-b border-dashed flex flex-row h-9`,[t===S.value.length-1?`border-b-0`:``]])},[i.selectedFields.includes(`hookName`)?(d(),l(`div`,He,[v(F,{text:o[e.type]},null,8,[`text`])])):T(``,!0),i.selectedFields.includes(`module`)?(d(),l(`div`,Ue,[v(s,{id:e.module,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:i.root,link:O(e.graphModuleId)},null,8,[`id`,`cwd`,`link`])])):T(``,!0),i.selectedFields.includes(`duration`)?(d(),l(`div`,We,[v(q,{duration:e.duration},null,8,[`duration`])])):T(``,!0),i.selectedFields.includes(`startTime`)?(d(),l(`div`,Ge,u(y(Q)(e.timestamp_start)),1)):T(``,!0),i.selectedFields.includes(`endTime`)?(d(),l(`div`,Ke,u(y(Q)(e.timestamp_end)),1)):T(``,!0)],2)]),_:1},8,[`items`])):(d(),l(`div`,qe,[c(`div`,Je,[c(`div`,Ye,[i.selectedFields.length?(d(),l(`p`,Ze,` No data `)):(d(),l(`p`,Xe,` No columns selected `))])])]))}}}),[[`__scopeId`,`data-v-ba6a4bd9`]]),{__name:`DataPluginDetailsTable`}),$e={class:`p2 h-full w-full`},et={class:`flex border border-base rounded-2 h-full relative of-hidden`},tt={key:0,class:`of-hidden border-r border-base`},nt={class:`px2 h10 border-b border-base bg-base rounded-t-2 flex items-center justify-end`},rt={class:`flex-1 h-full min-h-0 flex flex-col`},it={class:`flex items-center justify-between border-b border-base px2 h10 bg-base rounded-t-2 of-x-auto ws-nowrap`},at={class:`flex items-center h-full`},ot={key:0,class:`flex items-center justify-center gap1 h-full text-xs py1`},st={class:`op50 flex items-center gap-1`},ct=[`title`],lt={class:`text-xs op50`},ut={class:`flex-1 min-h-0 overscroll-contain`},dt=Object.assign(s({__name:`PluginFlow`,props:{modules:{},buildMetrics:{},root:{}},setup(e){let n=e,[i,a]=le(!0),o=[{match:/hookName/,name:`hookName`,description:`Hook name`,icon:`i-ph-function-duotone`},{match:/module/,name:`module`,description:`Module`,icon:`i-ph-package-duotone`},{match:/duration/,name:`duration`,description:`Duration`,icon:`i-ph-clock-countdown-duotone`},{match:/startTime/,name:`startTime`,description:`Start Time`,icon:`i-ph-clock-duotone`},{match:/endTime/,name:`endTime`,description:`End Time`,icon:`i-ph-clock-duotone`}],s=r({selected:G.value.pluginDetailsTableFields,search:!1}),f=E(()=>G.value.pluginDetailsTableFields?G.value.pluginDetailsTableFields:o.map(e=>e.name)),{state:p,next:h}=me([`changed`,`unchanged`,`all`],{initialValue:G.value.pluginDetailsShowType}),g=E(()=>p.value===`all`?`Show Changed`:p.value===`changed`?`Show Unchanged`:`Show All`),_=E(()=>!(![`load`,`transform`].includes(G.value.pluginDetailSelectedHook)||!n.buildMetrics.calls?.filter(e=>e.type===G.value.pluginDetailSelectedHook).filter(e=>e.unchanged).length)),x=E(()=>{let e=n.buildMetrics.calls?.filter(e=>e.type===G.value.pluginDetailSelectedHook).filter(e=>e.unchanged),t=e.reduce((e,t)=>e+t.duration,0);return{count:e.length,duration:t}});b(()=>s.value.selected,e=>{G.value.pluginDetailsTableFields=e});function S(){h(),G.value.pluginDetailsShowType=p.value}return(n,r)=>{let p=Oe,h=Qe;return d(),l(`div`,$e,[c(`div`,et,[y(i)?(d(),l(`div`,tt,[v(p,{"build-metrics":e.buildMetrics},{header:m(()=>[c(`div`,nt,[c(`button`,{class:`w8 h8 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`,onClick:r[0]||=e=>y(a)(!1)},[...r[3]||=[c(`i`,{class:`i-ph-sidebar-simple-duotone inline-flex op50`},null,-1)]])])]),_:1},8,[`build-metrics`])])):T(``,!0),c(`div`,rt,[c(`div`,it,[c(`div`,at,[y(i)?T(``,!0):(d(),l(`button`,{key:0,class:`w8 h8 rounded-full cursor-pointer mr1 hover:bg-active flex items-center justify-center`,onClick:r[1]||=e=>y(a)(!0)},[...r[4]||=[c(`i`,{class:`i-ph-sidebar-duotone inline-flex op50`},null,-1)]])),v(re,{modelValue:s.value,"onUpdate:modelValue":r[2]||=e=>s.value=e,"selected-container-class":`px0! py1 border-none bg-none flex-nowrap! h-full`,rules:o,class:`[&_[icon-catppuccin]]:filter-none! h-full border-none`},null,8,[`modelValue`])]),_.value?(d(),l(`div`,ot,[c(`p`,st,[v($,{number:x.value.count},null,8,[`number`]),r[5]||=t(` module unchanged, but cost `,-1),v(q,{duration:x.value.duration},null,8,[`duration`])]),c(`button`,{class:`rounded-md px2 py1 select-none h-full border border-base rounded-lg hover:bg-active`,title:g.value,onClick:S},[c(`div`,lt,u(g.value),1)],8,ct)])):T(``,!0)]),c(`div`,ut,[v(h,{modules:e.modules,"build-metrics":e.buildMetrics,"selected-fields":f.value,root:e.root},null,8,[`modules`,`build-metrics`,`selected-fields`,`root`])])])])])}}}),{__name:`FlowmapPluginFlow`}),ft={class:`flex gap-1 items-center flex-wrap`},pt={key:0,class:`i-ph-arrow-right-bold text-sm op-fade`},mt=[`onClick`],ht=s({__name:`ChartNavBreadcrumb`,props:{selected:{},options:{}},emits:[`select`],setup(t,{emit:n}){let r=t,i=n,a=E(()=>{let e=[],t=r.selected;for(;t;)e.unshift(t),t=t.parent;return e});return(t,n)=>(d(),l(`div`,ft,[(d(!0),l(_,null,e(a.value,(e,t)=>(d(),l(_,{key:e.id},[t>0?(d(),l(`div`,pt)):T(``,!0),c(`button`,{class:`hover:bg-active rounded px1`,onClick:t=>i(`select`,e)},[c(`span`,null,u(e.text||e.id),1)],8,mt)],64))),128))]))}}),gt={class:`grid grid-cols-[max-content_1fr] gap-2 p4`},_t={class:`flex flex-col gap-4`},vt={key:0,class:`grid grid-cols-[300px_1fr] gap-1`},yt=[`onClick`],bt={key:0,class:`flex gap2 items-center pl2 hover:bg-active`},xt={class:`font-mono text-sm`},St=[`onClick`],Ct=[`title`],wt=s({__name:`PluginsSunburst`,props:{graph:{},selected:{}},emits:[`select`],setup(n,{emit:r}){let i=n,a=r,o=p(`el`);w(()=>o.value?.append(i.graph.el));function s(e){return ne(i.graph.options.getColor?.(e)||`#000`)}return(r,i)=>{let p=x(`tooltip`);return d(),l(`div`,gt,[c(`div`,{ref_key:`el`,ref:o,class:`w-500px`},null,512),c(`div`,_t,[v(ht,{class:`border-b border-base py2`,selected:n.selected,options:n.graph.options,onSelect:i[0]||=e=>a(`select`,e)},null,8,[`selected`,`options`]),n.selected?(d(),l(`div`,vt,[(d(!0),l(_,null,e(n.selected.children,e=>(d(),l(_,{key:e.id},[c(`button`,{class:`ws-nowrap text-nowrap text-left overflow-hidden text-ellipsis text-sm hover:bg-active rounded px2`,onClick:t=>a(`select`,e)},[e.meta?.type===`hook`?(d(),l(`div`,bt,[i[1]||=c(`i`,{class:`i-ph-function-duotone inline-flex`},null,-1),c(`span`,xt,u(e.text),1)])):h(r.$slots,`module`,{child:e},()=>[c(`span`,null,u(e.text||e.id),1)],void 0,1)],8,yt),c(`button`,{class:`relative flex gap-1 items-center hover:bg-active rounded`,onClick:t=>a(`select`,e)},[c(`div`,{class:`h-5 rounded shadow border border-base`,style:f({background:s(e),width:`${e.size/n.selected.size*100}%`})},null,4),v(q,{duration:e.size,class:`text-xs`},null,8,[`duration`]),e.children.length>0&&e.meta?.type!==`hook`?g((d(),l(`div`,{key:0,title:`${e.children.length} dependencies`,class:`text-xs op-fade`},[t(` (`+u(e.children.length)+`) `,1)],8,Ct)),[[p,`${e.children.length} dependencies`]]):T(``,!0)],8,St)],64))),128))])):T(``,!0)])])}}});function Tt(e){let{data:t,nameKey:n,sizeKey:s,rootText:c,nodeType:l,graphOptions:u,onUpdate:d}=e,f=i(void 0),p=i(void 0),m=r(void 0),h=i(void 0),g,_=E(()=>{if(e.tree)return e.tree.value;let r=y(t),i=new Map,a=0,o={id:`~root`,text:c,size:0,sizeSelf:0,children:[]};if(!r?.length)return{map:i,root:o,maxDepth:a};let u=[];u.unshift(()=>{o.size+=o.children.reduce((e,t)=>e+t.size,0),o.subtext=K(o.size).join(` `),o.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))});function d(e,t,n,r,o){if(i.has(t))return i.get(t);o>a&&(a=o);let s={id:t,text:n,size:0,sizeSelf:0,children:[],meta:{...e,path:n,type:`folder`},parent:r};return i.set(t,s),r.children.push(s),u.unshift(()=>{let t=s.sizeSelf;s.size+=s.children.reduce((e,t)=>e+t.size,0),s.subtext=K(s.size).join(` `),s.children.length&&t/s.size>.1&&s.children.push({id:`${s.id}-self`,text:``,size:t,sizeSelf:t,subtext:K(t).join(` `),children:[],meta:{...e,path:``,type:l},parent:s}),s.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))}),s}function f(e){let t=e[n].split(`/`).filter(Boolean),r=o,a=``,c=0;t.forEach((o,u)=>{if(a+=(a?`/`:``)+o,c++,u===t.length-1){let t={id:e[n],text:o,size:e[s],sizeSelf:e[s],subtext:K(e[s]).join(` `),children:[],meta:{...e,path:o,type:l}};r.children.push(t),i.set(e[n],t)}else r=d(e,a,o,r,c)})}return r.forEach(f),u.forEach(e=>e()),{map:i,root:o,maxDepth:a}}),v=E(()=>({animate:G.value.chartAnimation,palette:{stroke:J.value?`#222`:`#555`,fg:J.value?`#fff`:`#000`,bg:J.value?`#111`:`#fff`},getColor:ie(_.value.root,J.value?.8:.9,J.value?1:1.1),getSubtext:e=>e.subtext,...u}));function x(e,t){m.value=e?.meta,e?.children.length||(e=e?.parent),h.value?.select(e,t)}function S(){g?.(),p.value=_.value.root,d?.(),a(()=>{let e=m.value&&_.value.map.get(m.value[n])||null;e&&x(e,!1)}),g=()=>{h.value?.dispose(),h.value=void 0,m.value=void 0}}return a(()=>{b(()=>[_.value,v.value],()=>{S()},{deep:!0,immediate:!1}),S()}),o(()=>{g?.()}),{tree:_,chartOptions:v,graph:h,nodeHover:f,nodeSelected:p,selectedNode:m,selectNode:x,buildGraph:S}}var Et={key:1,class:`relative h-full w-full`},Dt={class:`bg-glass absolute left-2 top-2 z-panel-content p2 border border-base rounded-lg flex flex-col gap-2`},Ot={class:`font-mono px1`},kt={class:`text-xs font-mono flex items-center gap-3 ml2`},At={class:`flex gap-2`},jt={class:`of-auto h-full pt-30`},Mt={key:2,class:`flex items-center justify-center w-full h-full`},Nt={key:0,class:`border border-base rounded-lg shadow-lg px3 py2 bg-glass pointer-events-none text-sm max-w-80`},Pt={key:0,class:`flex items-center gap2`},Ft={key:0,class:`flex font-semibold font-mono text-base mb2`},It={key:1,class:`border-t border-base pt2 flex flex-col gap-1.5 min-w-48`},Lt={class:`flex justify-between items-center py1`},Rt=[`datetime`],zt={class:`flex justify-between items-center py1`},Bt=[`datetime`],Vt={class:`flex justify-between items-center py1 border-t border-base border-dashed pt2`},Ht={key:2},Ut=Object.assign(s({__name:`PluginDetailsLoader`,props:{plugin:{},query:{},modules:{},root:{}},emits:[`close`],setup(e,{emit:r}){let i=e,a=r,o=k(),{state:s,isLoading:f,execute:p}=de(async()=>await o.value.call(`vite:inspect:get-plugin-details`,i.query,i.plugin),null),h=ue(()=>{p()},100);b(()=>[i.query.vite,i.query.env,i.plugin],()=>{p()}),A(()=>{h()});let g=E(()=>{let e=new Set;return s.value?.calls?.filter(t=>e.has(t.module)?!1:(e.add(t.module),!0))??[]}),x=E(()=>s.value?.loadMetrics.reduce((e,t)=>e+t.duration,0)),S=E(()=>s.value?.transformMetrics.reduce((e,t)=>e+t.duration,0)),w=E(()=>s.value?.resolveIdMetrics.reduce((e,t)=>e+t.duration,0)),j=E(()=>s.value?.calls?.reduce((e,t)=>e+t.duration,0)),M=E(()=>i.modules.map(e=>({mod:e,path:ae(e.id,i.root),type:Y(e.id)}))),N=E(()=>I.filter(e=>M.value.some(t=>e.match.test(t.mod.id))));function ee(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}let P=E(()=>{let e=new Map;if(!s.value)return{root:t({id:`~root`,text:`Project`,children:[]}),map:new Map,maxDepth:3};function t(t,n){e.set(t.id,t);let r=U(t,n,(e,t)=>(t?.meta?.duration??0)-(e?.meta?.duration??0));return r.children&&r.children.forEach(e=>{e.parent=r}),r}function n(e,n){let r=n.filter(e=>!N.value.some(t=>Y(e.module).name===t.name));return[...N.value.map((r,i)=>{let a=n.filter(e=>Y(e.module).name===r.name);return t({id:`${e}-${r.name}-${i}`,text:r.description,children:a.map((n,r)=>t({id:`${e}-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:r.description,id:`${e}-${r.name}-${i}`,duration:a.reduce((e,t)=>e+t.duration,0)}})}),t({id:`${e}-other`,text:`Other`,children:r.map((n,r)=>t({id:`${e}-other-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:`Other`,id:`${e}-other`,duration:r.reduce((e,t)=>e+t.duration,0)}})]}let r=n(`resolveId`,s.value.resolveIdMetrics),i=n(`loads`,s.value.loadMetrics),a=n(`transforms`,s.value.transformMetrics);function o(e,n,r){return t({id:e,text:n,children:r.sort((e,t)=>t.size-e.size),meta:{id:e,type:`hook`,title:n,duration:{"~loads":x.value,"~resolves":w.value,"~transforms":S.value}[e]}})}return{root:t({id:`~root`,text:`Project`,children:[o(`~resolves`,`Resolve Id`,r),o(`~loads`,`Load`,i),o(`~transforms`,`Transform`,a)]}),map:e,maxDepth:3}}),F=D(fe()),{tree:L,chartOptions:R,graph:z,nodeHover:H,nodeSelected:K,selectedNode:J,selectNode:Z,buildGraph:ne}=Tt({data:[],tree:P,nameKey:`id`,sizeKey:`duration`,rootText:`Project`,graphOptions:{onClick(e){e&&(H.value=e),J.value=e?.meta},onHover(e){e&&(H.value=e),e===null&&(H.value=void 0)},onLeave(){H.value=void 0},onSelect(e){K.value=e||L.value.root,J.value=e?.meta},getSubtext(e){return B(e.size,!0)}},onUpdate(){z.value=new V(L.value.root,R.value)}});return b(()=>G.value.pluginDetailsViewType,()=>{ne()}),(r,i)=>{let o=O,p=dt,h=se,b=te;return d(),l(_,null,[y(f)?(d(),n(o,{key:0})):y(s)?.calls?.length?(d(),l(`div`,Et,[v(W,{class:`absolute right-2 top-1.5`,onClick:i[0]||=e=>a(`close`)}),c(`div`,Dt,[c(`div`,Ot,[v(X,{name:y(s)?.plugin_name},null,8,[`name`])]),c(`div`,kt,[v(q,{duration:w.value,class:`flex gap-1 items-center`,title:`Resolve Id hooks cost: ${y(B)(w.value,!0)}`},{default:m(()=>[...i[3]||=[c(`span`,{class:`i-ph-magnifying-glass-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),v(q,{duration:x.value,class:`flex gap-1 items-center`,title:`Load hooks cost: ${y(B)(x.value,!0)}`},{default:m(()=>[...i[4]||=[c(`span`,{class:`i-ph-upload-simple-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),v(q,{duration:S.value,class:`flex gap-1 items-center`,title:`Transform hooks cost: ${y(B)(S.value,!0)}`},{default:m(()=>[...i[5]||=[c(`span`,{class:`i-ph-magic-wand-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),i[7]||=c(`span`,{class:`op40`},`|`,-1),v(q,{duration:j.value,class:`flex gap-1 items-center`,title:`Total build cost: ${y(B)(j.value,!0)}`},{default:m(()=>[...i[6]||=[c(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),i[8]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:g.value.length,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${g.value.length}`},null,8,[`number`,`title`]),i[9]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:y(s)?.calls?.length??0,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${y(s)?.calls?.length??0}`},null,8,[`number`,`title`])]),c(`div`,At,[c(`button`,{class:C([y(G).pluginDetailsViewType===`flow`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:i[1]||=e=>y(G).pluginDetailsViewType=`flow`},[...i[10]||=[c(`div`,{class:`i-ph-git-branch-duotone rotate-180`},null,-1),t(` Build Flow `,-1)]],2),c(`button`,{class:C([y(G).pluginDetailsViewType===`sunburst`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:i[2]||=e=>y(G).pluginDetailsViewType=`sunburst`},[...i[11]||=[c(`div`,{"i-ph-chart-sunburst-duotone":``},null,-1),t(` Sunburst `,-1)]],2)])]),c(`div`,jt,[y(G).pluginDetailsViewType===`flow`?(d(),n(p,{key:0,modules:e.modules,"build-metrics":y(s),root:e.root},null,8,[`modules`,`build-metrics`,`root`])):T(``,!0),y(G).pluginDetailsViewType===`sunburst`&&y(z)?(d(),n(wt,{key:1,graph:y(z),selected:y(K),onSelect:y(Z)},{module:m(({child:t})=>[v(h,{id:t.text,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:e.root,link:ee(t.meta?.graphModuleId)},null,8,[`id`,`cwd`,`link`])]),_:1},8,[`graph`,`selected`,`onSelect`])):T(``,!0)])])):(d(),l(`div`,Mt,[...i[12]||=[c(`span`,{class:`italic op50`},` No data `,-1)]])),v(b,{"hover-x":F.x,"hover-y":F.y},{default:m(()=>[y(H)?(d(),l(`div`,Nt,[y(H).meta?.title?(d(),l(`div`,Pt,[t(u(y(H).meta.title)+` `,1),v(q,{duration:y(H).meta.duration},null,8,[`duration`])])):(d(),l(_,{key:1},[y(H).meta?.module?(d(),l(`div`,Ft,[v(h,{id:y(H).meta.module,cwd:e.root,link:!1},null,8,[`id`,`cwd`])])):T(``,!0),y(H).meta?.module?(d(),l(`div`,It,[c(`div`,Lt,[i[13]||=c(`label`,{class:`text-xs opacity-70`},`Start Time`,-1),c(`time`,{datetime:new Date(y(H).meta.timestamp_start).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},u(y(Q)(y(H).meta.timestamp_start)),9,Rt)]),c(`div`,zt,[i[14]||=c(`label`,{class:`text-xs opacity-70`},`End Time`,-1),c(`time`,{datetime:new Date(y(H).meta.timestamp_end).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},u(y(Q)(y(H).meta.timestamp_end)),9,Bt)]),c(`div`,Vt,[i[15]||=c(`label`,{class:`text-xs op70`},`Duration`,-1),v(q,{duration:y(H).meta.duration},null,8,[`duration`])])])):(d(),l(`div`,Ht,[v(q,{duration:y(H).meta?.duration},null,8,[`duration`])]))],64))])):T(``,!0)]),_:1},8,[`hover-x`,`hover-y`])],64)}}}),{__name:`DataPluginDetailsLoader`}),Wt={class:`flex flex-col gap-2 p4`},Gt={class:`flex pb2`},Kt={class:`w-8 text-right text-xs op50`},qt={class:`overflow-hidden text-ellipsis break-all line-clamp-2`},Jt=s({__name:`PluginsFlatList`,props:{plugins:{},itemSize:{},pageMode:{type:Boolean,default:!0},scroller:{default:`dynamic`}},setup(e){let t=N();return(n,r)=>(d(),l(`div`,Wt,[v(H,{items:e.plugins,"key-prop":`plugin_id`,"item-size":e.itemSize,"page-mode":e.pageMode,scroller:e.scroller},{default:m(({item:e})=>[c(`div`,Gt,[v(y(M),{to:{path:y(t).path,query:{plugin:e.plugin_id}},class:`font-mono border rounded border-base w-full px2 py1 text-sm hover:bg-active flex gap-4 items-center`},{default:m(()=>[c(`div`,Kt,` #`+u(e.plugin_id),1),c(`span`,qt,[v(X,{name:e.name},null,8,[`name`])])]),_:2},1032,[`to`])])]),_:1},8,[`items`,`item-size`,`page-mode`,`scroller`])]))}}),Yt={key:1,class:`h-full flex flex-col gap-3 items-center justify-center p8 text-center`},Xt={class:`font-mono text-sm max-w-180 ws-pre-wrap`},Zt={key:2,class:`relative min-h-screen`},Qt={class:`sticky left-4 right-4 top-4 z-panel-nav p-4`},$t={class:`fixed bottom-4 py-1 px-2 bg-glass left-1/2 translate-x--1/2 border border-base rounded-full text-center text-xs`},en={class:`op50`},tn=s({__name:`plugins`,setup(e){let a=k(),o=N(),s=ee(),f=i(null),p=i([]),m=r(!0),h=r(null),g=E(()=>typeof o.query.plugin==`string`?o.query.plugin:void 0),_=r({search:o.query.search||``,selected:o.query.plugin_types?W(o.query.plugin_types):null}),y=E(()=>f.value?.instances[0]),b=E(()=>y.value?.environments[0]||``),x=E(()=>y.value?.root||``),C=E(()=>!y.value?.vite||!b.value?null:{vite:y.value.vite,env:b.value}),w=E(()=>y.value?.plugins.map((e,t)=>z(e,t))??[]),D=E(()=>[...R.filter(e=>w.value.some(t=>e.match.test(t.name))),L]),M=E(()=>{let e=w.value;return _.value.selected&&(e=e.filter(e=>{let t=P(e.name);return _.value.selected.includes(t.name)})),e}),F=ge(()=>M.value,()=>new Z(M.value,{includeScore:!0,keys:[`name`],ignoreLocation:!0,threshold:.4})),I=E(()=>_.value.search?F.value.search(_.value.search).map(e=>e.item):M.value);he(_.value,e=>{s.replace({query:G({...o.query,search:e.search||void 0,plugin_types:e.selected||void 0})})},{debounce:500});function z(e,t){let n=e&&typeof e==`object`?e:{};return{plugin_id:t,name:typeof n.name==`string`?n.name:`plugin-${t}`,enforce:n.enforce===`pre`||n.enforce===`post`?n.enforce:void 0}}function B(){g.value&&s.replace({query:{...o.query,plugin:void 0}})}async function V(e={}){e.silent||(m.value=!0),h.value=null;try{f.value=await a.value.call(`vite:inspect:get-metadata`),C.value?p.value=(await a.value.call(`vite:inspect:get-modules-list`,C.value)).map(U):p.value=[]}catch(e){h.value=e}finally{e.silent||(m.value=!1)}}let H=ue(()=>{V({silent:!0})},100);function U(e){return{...e,imports:e.deps.map(e=>({module_id:e}))}}function W(e){return Array.isArray(e)?e.map(String):[String(e)]}function G(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}return S(()=>{V()}),A(()=>{H()}),pe(`Escape`,e=>{e.preventDefault(),!(!e.isTrusted||e.repeat)&&B()}),(e,r)=>{let i=O,a=Ut;return m.value?(d(),n(i,{key:0,text:`Loading plugins...`})):h.value?(d(),l(`div`,Yt,[r[3]||=c(`div`,{class:`i-ph-warning-duotone text-4xl text-amber`},null,-1),c(`div`,Xt,u(h.value.message),1),c(`button`,{class:`btn-action`,onClick:r[0]||=e=>V()},[...r[2]||=[c(`span`,{class:`i-ph-arrow-clockwise-duotone`},null,-1),t(` Retry `,-1)]])])):(d(),l(`div`,Zt,[c(`div`,Qt,[v(re,{modelValue:_.value,"onUpdate:modelValue":r[1]||=e=>_.value=e,rules:D.value},null,8,[`modelValue`,`rules`])]),v(Jt,{plugins:I.value??[],scroller:`window`},null,8,[`plugins`]),c(`div`,$t,[c(`span`,en,u(I.value.length)+` of `+u(w.value.length||0),1)]),g.value&&C.value?(d(),l(`div`,{key:0,class:`fixed inset-0 backdrop-blur-8 backdrop-brightness-95 z-panel-content`,onClick:j(B,[`self`])},[(d(),l(`div`,{key:g.value,class:`fixed right-0 bottom-0 top-20 left-20 z-panel-content bg-glass border-l border-t border-base rounded-tl-xl`},[v(a,{plugin:g.value,query:C.value,modules:p.value,root:x.value,onClose:B},null,8,[`plugin`,`query`,`modules`,`root`])]))])):T(``,!0)]))}}});export{tn as default};
|
|
1
|
+
import{$ as e,A as t,C as n,Ct as r,Et as i,H as a,J as o,N as s,S as c,T as l,Xt as u,Y as d,Yt as f,ct as p,dt as m,et as h,ft as g,g as _,j as v,jt as y,lt as b,nt as x,q as S,qt as C,ut as w,w as T,x as E,xt as D}from"./D3MExTHO.js";import{Z as O,t as k}from"./457Jr4Pr.js";import{f as A,p as j}from"./BJv-YGcz.js";import{a as M,i as N,n as ee}from"./BaWrej0D.js";import{A as P,C as F,D as I,E as L,O as R,S as z,_ as B,a as V,b as H,c as U,d as W,f as G,g as K,h as q,j as J,k as Y,l as te,m as X,n as Z,o as ne,r as re,s as ie,t as ae,u as oe,v as Q,x as se}from"./B1xYalZA.js";import{t as ce}from"./BDNMzG2s.js";import{C as le,S as ue,a as de,m as fe,n as pe,o as me,w as he,y as ge}from"./C3lVFA1Q.js";var $=s({__name:`DisplayNumberBadge`,props:{number:{},color:{default:`badge-color-gray op75`},icon:{},prefix:{},suffix:{},format:{default:`locale`}},setup(e){let n=e,r=E(()=>n.format===`percent`?Number(n.number).toLocaleString(void 0,{style:`percent`,minimumFractionDigits:2,maximumFractionDigits:2}):Number(n.number).toLocaleString());return(n,i)=>(d(),l(`div`,{class:C([e.color,`px-0.4em py-0.2em font-mono line-height-none flex items-center`])},[e.icon?(d(),l(`div`,{key:0,class:C([e.icon,`mr-1`])},null,2)):T(``,!0),t(` `+u(e.prefix||``)+u(r.value)+u(e.suffix||``)+` `,1),h(n.$slots,`after`)],2))}}),_e={class:`op50 text-xs flex justify-center items-center`},ve=s({__name:`FlowmapNodePluginInfo`,props:{modules:{},calls:{},duration:{}},setup(e){return(t,n)=>(d(),l(`span`,_e,[v($,{number:e.modules,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${e.modules}`},null,8,[`number`,`title`]),n[1]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:e.calls,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${e.calls}`},null,8,[`number`,`title`]),n[2]||=c(`span`,{class:`op40`},`|`,-1),v(q,{duration:e.duration,class:`flex gap-1 items-center px1`,title:`Total build cost: ${y(B)(e.duration,!0)}`},{default:m(()=>[...n[0]||=[c(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`])]))}}),ye={class:`flex flex-col`},be={class:`select-none h-full of-auto ws-nowrap w-auto of-visible p4 flex flex-col`},xe={class:`flex`},Se={class:`flex items-center justify-center relative w-60 h14`},Ce={class:`op50 text-xs flex items-center justify-center gap-1 h6`},we=[`datetime`],Te={class:`flex items-center justify-center relative w-60 h14`},Ee={class:`op50 text-xs flex items-center justify-center gap-1 h6`},De=[`datetime`],Oe=Object.assign(s({__name:`PluginFlowTimeline`,props:{buildMetrics:{}},setup(e){let n=e;function r(e){let t={duration:0,calls:e.length,modules:0},n=new Set;return e.forEach(e=>{n.has(e.module)||(n.add(e.module),t.modules++),t.duration+=e.duration}),t}let i=E(()=>r(n.buildMetrics.resolveIdMetrics)),a=E(()=>r(n.buildMetrics.loadMetrics)),o=E(()=>r(n.buildMetrics.transformMetrics)),s=E(()=>{let e=n.buildMetrics.calls;if(e?.length)return e[0].timestamp_start}),f=E(()=>{let e=n.buildMetrics.calls;if(e?.length)return e.at(-1).timestamp_end});return(n,r)=>{let p=oe,g=ve;return d(),l(`div`,ye,[h(n.$slots,`header`),c(`div`,be,[c(`div`,xe,[v(p,{active:!1,"class-node-inner":`w60`},{content:m(()=>[c(`div`,{class:`p2 w-full text-center`,onClick:r[0]||=e=>y(G).pluginDetailSelectedHook=``},[v(X,{name:e.buildMetrics.plugin_name,class:`font-mono text-sm ws-nowrap text-ellipsis line-clamp-1`},null,8,[`name`])])]),_:1})]),c(`div`,Se,[r[5]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),r[6]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),c(`span`,Ce,[r[4]||=c(`i`,{class:`i-ph-airplane-takeoff-thin text-4 inline-flex`},null,-1),s.value?(d(),l(`time`,{key:0,datetime:new Date(s.value).toISOString()},u(new Date(s.value).toLocaleString()),9,we)):T(``,!0)])]),v(p,{"class-node-inner":`w60`,"class-node-outer":`${!i.value.modules&&!i.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0},active:y(G).pluginDetailSelectedHook===`resolve`},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[1]||=e=>y(G).pluginDetailSelectedHook=`resolve`},[r[7]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-magnifying-glass-duotone`}),t(` Resolve Id `)],-1),c(`div`,null,[v(g,{modules:i.value.modules,calls:i.value.calls,duration:i.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`class-node-outer`,`active`]),v(p,{active:y(G).pluginDetailSelectedHook===`load`,"class-node-inner":`w60`,"class-node-outer":`${!a.value.modules&&!a.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0}},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[2]||=e=>y(G).pluginDetailSelectedHook=`load`},[r[8]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-upload-simple-duotone`}),t(` Load `)],-1),c(`div`,null,[v(g,{modules:a.value.modules,calls:a.value.calls,duration:a.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),v(p,{active:y(G).pluginDetailSelectedHook===`transform`,"class-node-inner":`w60`,"class-node-outer":`${!o.value.modules&&!o.value.calls?`b-dashed!`:``}`},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[3]||=e=>y(G).pluginDetailSelectedHook=`transform`},[r[9]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-magic-wand-duotone`}),t(` Transform `)],-1),c(`div`,null,[v(g,{modules:o.value.modules,calls:o.value.calls,duration:o.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),c(`div`,Te,[r[11]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),r[12]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),r[13]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-14 w-2 h-2 border-4 rounded-full`},null,-1),c(`span`,Ee,[r[10]||=c(`i`,{class:`i-ph-airplane-landing-thin text-4 inline-flex`},null,-1),f.value?(d(),l(`time`,{key:0,datetime:new Date(f.value).toISOString()},u(new Date(f.value).toLocaleString()),9,De)):T(``,!0)])])])])}}}),{__name:`FlowmapPluginFlowTimeline`}),ke={role:`row`,class:`border-b border-base bg-base flex flex-row`},Ae={key:0,role:`columnheader`,class:`bg-base flex-none w32 ws-nowrap p1 text-center font-600`},je={key:1,role:`columnheader`,class:`bg-base flex-1 min-w100 ws-nowrap p1 text-left font-600`},Me={class:`flex flex-row gap1 items-center w-full`},Ne={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Pe={class:`p2 flex flex-col gap2`},Fe=[`title`],Ie=[`checked`,`onChange`],Le={class:`text-sm`},Re={key:2,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none ws-nowrap p1 text-center font-600 w-27`},ze={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Be={key:3,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},Ve={key:4,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},He={key:0,role:`cell`,class:`flex items-center justify-center flex-none w32 ws-nowrap op80`},Ue={key:1,role:`cell`,class:`flex-1 min-w100 text-left text-ellipsis line-clamp-2`},We={key:2,role:`cell`,class:`flex items-center justify-center flex-none text-center text-sm w-27`},Ge={key:3,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},Ke={key:4,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},qe={key:1,role:`table`,class:`min-w-max h-full`},Je={class:`p4`},Ye={class:`w-full h-48 flex items-center justify-center op50 italic`},Xe={key:0},Ze={key:1},Qe=Object.assign(ce(s({__name:`PluginDetailsTable`,props:{modules:{},buildMetrics:{},selectedFields:{},root:{}},setup(i){let a=i,o={resolve:`Resolve Id`,load:`Load`,transform:`Transform`},s=E(()=>a.modules.map(e=>({mod:e,type:Y(e.id)}))),f=E(()=>I.filter(e=>s.value.some(t=>e.match.test(t.mod.id)))),p=E(()=>{let e=new Map;for(let{mod:t,type:n}of s.value)e.set(t.id,n.name);return e}),h=r(G.value.pluginDetailsModuleTypes??f.value.map(e=>e.name)),g=E(()=>new Set(h.value)),{state:b,next:x}=me([``,`desc`,`asc`],{initialValue:G.value.pluginDetailsDurationSortType}),S=E(()=>{let e=G.value.pluginDetailSelectedHook,t=G.value.pluginDetailsShowType,n=t!==`all`&&[`load`,`transform`].includes(e),r=new Map(p.value),i=[];for(let o of a.buildMetrics.calls){if(!o.module||e&&o.type!==e||n&&(t===`changed`?o.unchanged:!o.unchanged))continue;let a=r.get(o.module);a||(a=Y(o.module).name,r.set(o.module,a)),g.value.has(a)&&i.push(o)}return b.value&&i.sort((e,t)=>b.value===`asc`?e.duration-t.duration:t.duration-e.duration),i});function w(e){h.value?.includes(e.name)?h.value=h.value?.filter(t=>t!==e.name):h.value?.push(e.name),G.value.pluginDetailsModuleTypes=h.value}function D(){x(),G.value.pluginDetailsDurationSortType=b.value}function O(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}return(r,a)=>{let s=se;return S.value.length&&i.selectedFields.length?(d(),n(H,{key:0,class:`plugin-details-table min-w-max h-full min-h-0`,role:`table`,items:S.value,"key-prop":`id`,"page-mode":!1,scroller:`fixed`,"item-size":36},{before:m(()=>[c(`div`,ke,[i.selectedFields.includes(`hookName`)?(d(),l(`div`,Ae,` Hook name `)):T(``,!0),i.selectedFields.includes(`module`)?(d(),l(`div`,je,[c(`button`,Me,[a[0]||=t(` Module `,-1),v(y(z),null,{popper:m(()=>[c(`div`,Pe,[(d(!0),l(_,null,e(f.value,e=>(d(),l(`label`,{key:e.name,title:e.description,class:`cursor-pointer module-type-filter border border-base rounded-md px2 py1 flex items-center gap-1 select-none`},[c(`input`,{type:`checkbox`,class:`mr1`,checked:h.value?.includes(e.name),onChange:t=>w(e)},null,40,Ie),c(`div`,{class:C([e.icon,`icon-catppuccin`])},null,2),c(`div`,Le,u(e.description||e.name),1)],8,Fe))),128))])]),default:m(()=>[c(`span`,Ne,[c(`i`,{class:C([`i-ph-funnel-duotone text-xs`,h.value.length===f.value.length?`op50`:`text-primary op100`])},null,2)])]),_:1})])])):T(``,!0),i.selectedFields.includes(`duration`)?(d(),l(`div`,Re,[c(`button`,{class:`flex flex-row gap1 items-center justify-center w-full`,onClick:D},[a[1]||=t(` Duration `,-1),c(`span`,ze,[c(`i`,{class:C([`text-xs`,[y(b)===`asc`?`i-ph-arrow-up-duotone`:`i-ph-arrow-down-duotone`,y(b)?`op100 text-primary`:`op50`]])},null,2)])])])):T(``,!0),i.selectedFields.includes(`startTime`)?(d(),l(`div`,Be,` Start Time `)):T(``,!0),i.selectedFields.includes(`endTime`)?(d(),l(`div`,Ve,` End Time `)):T(``,!0)])]),default:m(({item:e,index:t})=>[c(`div`,{role:`row`,class:C([`border-base border-b border-dashed flex flex-row h-9`,[t===S.value.length-1?`border-b-0`:``]])},[i.selectedFields.includes(`hookName`)?(d(),l(`div`,He,[v(F,{text:o[e.type]},null,8,[`text`])])):T(``,!0),i.selectedFields.includes(`module`)?(d(),l(`div`,Ue,[v(s,{id:e.module,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:i.root,link:O(e.graphModuleId)},null,8,[`id`,`cwd`,`link`])])):T(``,!0),i.selectedFields.includes(`duration`)?(d(),l(`div`,We,[v(q,{duration:e.duration},null,8,[`duration`])])):T(``,!0),i.selectedFields.includes(`startTime`)?(d(),l(`div`,Ge,u(y(Q)(e.timestamp_start)),1)):T(``,!0),i.selectedFields.includes(`endTime`)?(d(),l(`div`,Ke,u(y(Q)(e.timestamp_end)),1)):T(``,!0)],2)]),_:1},8,[`items`])):(d(),l(`div`,qe,[c(`div`,Je,[c(`div`,Ye,[i.selectedFields.length?(d(),l(`p`,Ze,` No data `)):(d(),l(`p`,Xe,` No columns selected `))])])]))}}}),[[`__scopeId`,`data-v-ba6a4bd9`]]),{__name:`DataPluginDetailsTable`}),$e={class:`p2 h-full w-full`},et={class:`flex border border-base rounded-2 h-full relative of-hidden`},tt={key:0,class:`of-hidden border-r border-base`},nt={class:`px2 h10 border-b border-base bg-base rounded-t-2 flex items-center justify-end`},rt={class:`flex-1 h-full min-h-0 flex flex-col`},it={class:`flex items-center justify-between border-b border-base px2 h10 bg-base rounded-t-2 of-x-auto ws-nowrap`},at={class:`flex items-center h-full`},ot={key:0,class:`flex items-center justify-center gap1 h-full text-xs py1`},st={class:`op50 flex items-center gap-1`},ct=[`title`],lt={class:`text-xs op50`},ut={class:`flex-1 min-h-0 overscroll-contain`},dt=Object.assign(s({__name:`PluginFlow`,props:{modules:{},buildMetrics:{},root:{}},setup(e){let n=e,[i,a]=le(!0),o=[{match:/hookName/,name:`hookName`,description:`Hook name`,icon:`i-ph-function-duotone`},{match:/module/,name:`module`,description:`Module`,icon:`i-ph-package-duotone`},{match:/duration/,name:`duration`,description:`Duration`,icon:`i-ph-clock-countdown-duotone`},{match:/startTime/,name:`startTime`,description:`Start Time`,icon:`i-ph-clock-duotone`},{match:/endTime/,name:`endTime`,description:`End Time`,icon:`i-ph-clock-duotone`}],s=r({selected:G.value.pluginDetailsTableFields,search:!1}),f=E(()=>G.value.pluginDetailsTableFields?G.value.pluginDetailsTableFields:o.map(e=>e.name)),{state:p,next:h}=me([`changed`,`unchanged`,`all`],{initialValue:G.value.pluginDetailsShowType}),g=E(()=>p.value===`all`?`Show Changed`:p.value===`changed`?`Show Unchanged`:`Show All`),_=E(()=>!(![`load`,`transform`].includes(G.value.pluginDetailSelectedHook)||!n.buildMetrics.calls?.filter(e=>e.type===G.value.pluginDetailSelectedHook).filter(e=>e.unchanged).length)),x=E(()=>{let e=n.buildMetrics.calls?.filter(e=>e.type===G.value.pluginDetailSelectedHook).filter(e=>e.unchanged),t=e.reduce((e,t)=>e+t.duration,0);return{count:e.length,duration:t}});b(()=>s.value.selected,e=>{G.value.pluginDetailsTableFields=e});function S(){h(),G.value.pluginDetailsShowType=p.value}return(n,r)=>{let p=Oe,h=Qe;return d(),l(`div`,$e,[c(`div`,et,[y(i)?(d(),l(`div`,tt,[v(p,{"build-metrics":e.buildMetrics},{header:m(()=>[c(`div`,nt,[c(`button`,{class:`w8 h8 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`,onClick:r[0]||=e=>y(a)(!1)},[...r[3]||=[c(`i`,{class:`i-ph-sidebar-simple-duotone inline-flex op50`},null,-1)]])])]),_:1},8,[`build-metrics`])])):T(``,!0),c(`div`,rt,[c(`div`,it,[c(`div`,at,[y(i)?T(``,!0):(d(),l(`button`,{key:0,class:`w8 h8 rounded-full cursor-pointer mr1 hover:bg-active flex items-center justify-center`,onClick:r[1]||=e=>y(a)(!0)},[...r[4]||=[c(`i`,{class:`i-ph-sidebar-duotone inline-flex op50`},null,-1)]])),v(re,{modelValue:s.value,"onUpdate:modelValue":r[2]||=e=>s.value=e,"selected-container-class":`px0! py1 border-none bg-none flex-nowrap! h-full`,rules:o,class:`[&_[icon-catppuccin]]:filter-none! h-full border-none`},null,8,[`modelValue`])]),_.value?(d(),l(`div`,ot,[c(`p`,st,[v($,{number:x.value.count},null,8,[`number`]),r[5]||=t(` module unchanged, but cost `,-1),v(q,{duration:x.value.duration},null,8,[`duration`])]),c(`button`,{class:`rounded-md px2 py1 select-none h-full border border-base rounded-lg hover:bg-active`,title:g.value,onClick:S},[c(`div`,lt,u(g.value),1)],8,ct)])):T(``,!0)]),c(`div`,ut,[v(h,{modules:e.modules,"build-metrics":e.buildMetrics,"selected-fields":f.value,root:e.root},null,8,[`modules`,`build-metrics`,`selected-fields`,`root`])])])])])}}}),{__name:`FlowmapPluginFlow`}),ft={class:`flex gap-1 items-center flex-wrap`},pt={key:0,class:`i-ph-arrow-right-bold text-sm op-fade`},mt=[`onClick`],ht=s({__name:`ChartNavBreadcrumb`,props:{selected:{},options:{}},emits:[`select`],setup(t,{emit:n}){let r=t,i=n,a=E(()=>{let e=[],t=r.selected;for(;t;)e.unshift(t),t=t.parent;return e});return(t,n)=>(d(),l(`div`,ft,[(d(!0),l(_,null,e(a.value,(e,t)=>(d(),l(_,{key:e.id},[t>0?(d(),l(`div`,pt)):T(``,!0),c(`button`,{class:`hover:bg-active rounded px1`,onClick:t=>i(`select`,e)},[c(`span`,null,u(e.text||e.id),1)],8,mt)],64))),128))]))}}),gt={class:`grid grid-cols-[max-content_1fr] gap-2 p4`},_t={class:`flex flex-col gap-4`},vt={key:0,class:`grid grid-cols-[300px_1fr] gap-1`},yt=[`onClick`],bt={key:0,class:`flex gap2 items-center pl2 hover:bg-active`},xt={class:`font-mono text-sm`},St=[`onClick`],Ct=[`title`],wt=s({__name:`PluginsSunburst`,props:{graph:{},selected:{}},emits:[`select`],setup(n,{emit:r}){let i=n,a=r,o=p(`el`);w(()=>o.value?.append(i.graph.el));function s(e){return ne(i.graph.options.getColor?.(e)||`#000`)}return(r,i)=>{let p=x(`tooltip`);return d(),l(`div`,gt,[c(`div`,{ref_key:`el`,ref:o,class:`w-500px`},null,512),c(`div`,_t,[v(ht,{class:`border-b border-base py2`,selected:n.selected,options:n.graph.options,onSelect:i[0]||=e=>a(`select`,e)},null,8,[`selected`,`options`]),n.selected?(d(),l(`div`,vt,[(d(!0),l(_,null,e(n.selected.children,e=>(d(),l(_,{key:e.id},[c(`button`,{class:`ws-nowrap text-nowrap text-left overflow-hidden text-ellipsis text-sm hover:bg-active rounded px2`,onClick:t=>a(`select`,e)},[e.meta?.type===`hook`?(d(),l(`div`,bt,[i[1]||=c(`i`,{class:`i-ph-function-duotone inline-flex`},null,-1),c(`span`,xt,u(e.text),1)])):h(r.$slots,`module`,{child:e},()=>[c(`span`,null,u(e.text||e.id),1)],void 0,1)],8,yt),c(`button`,{class:`relative flex gap-1 items-center hover:bg-active rounded`,onClick:t=>a(`select`,e)},[c(`div`,{class:`h-5 rounded shadow border border-base`,style:f({background:s(e),width:`${e.size/n.selected.size*100}%`})},null,4),v(q,{duration:e.size,class:`text-xs`},null,8,[`duration`]),e.children.length>0&&e.meta?.type!==`hook`?g((d(),l(`div`,{key:0,title:`${e.children.length} dependencies`,class:`text-xs op-fade`},[t(` (`+u(e.children.length)+`) `,1)],8,Ct)),[[p,`${e.children.length} dependencies`]]):T(``,!0)],8,St)],64))),128))])):T(``,!0)])])}}});function Tt(e){let{data:t,nameKey:n,sizeKey:s,rootText:c,nodeType:l,graphOptions:u,onUpdate:d}=e,f=i(void 0),p=i(void 0),m=r(void 0),h=i(void 0),g,_=E(()=>{if(e.tree)return e.tree.value;let r=y(t),i=new Map,a=0,o={id:`~root`,text:c,size:0,sizeSelf:0,children:[]};if(!r?.length)return{map:i,root:o,maxDepth:a};let u=[];u.unshift(()=>{o.size+=o.children.reduce((e,t)=>e+t.size,0),o.subtext=K(o.size).join(` `),o.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))});function d(e,t,n,r,o){if(i.has(t))return i.get(t);o>a&&(a=o);let s={id:t,text:n,size:0,sizeSelf:0,children:[],meta:{...e,path:n,type:`folder`},parent:r};return i.set(t,s),r.children.push(s),u.unshift(()=>{let t=s.sizeSelf;s.size+=s.children.reduce((e,t)=>e+t.size,0),s.subtext=K(s.size).join(` `),s.children.length&&t/s.size>.1&&s.children.push({id:`${s.id}-self`,text:``,size:t,sizeSelf:t,subtext:K(t).join(` `),children:[],meta:{...e,path:``,type:l},parent:s}),s.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))}),s}function f(e){let t=e[n].split(`/`).filter(Boolean),r=o,a=``,c=0;t.forEach((o,u)=>{if(a+=(a?`/`:``)+o,c++,u===t.length-1){let t={id:e[n],text:o,size:e[s],sizeSelf:e[s],subtext:K(e[s]).join(` `),children:[],meta:{...e,path:o,type:l}};r.children.push(t),i.set(e[n],t)}else r=d(e,a,o,r,c)})}return r.forEach(f),u.forEach(e=>e()),{map:i,root:o,maxDepth:a}}),v=E(()=>({animate:G.value.chartAnimation,palette:{stroke:J.value?`#222`:`#555`,fg:J.value?`#fff`:`#000`,bg:J.value?`#111`:`#fff`},getColor:ie(_.value.root,J.value?.8:.9,J.value?1:1.1),getSubtext:e=>e.subtext,...u}));function x(e,t){m.value=e?.meta,e?.children.length||(e=e?.parent),h.value?.select(e,t)}function S(){g?.(),p.value=_.value.root,d?.(),a(()=>{let e=m.value&&_.value.map.get(m.value[n])||null;e&&x(e,!1)}),g=()=>{h.value?.dispose(),h.value=void 0,m.value=void 0}}return a(()=>{b(()=>[_.value,v.value],()=>{S()},{deep:!0,immediate:!1}),S()}),o(()=>{g?.()}),{tree:_,chartOptions:v,graph:h,nodeHover:f,nodeSelected:p,selectedNode:m,selectNode:x,buildGraph:S}}var Et={key:1,class:`relative h-full w-full`},Dt={class:`bg-glass absolute left-2 top-2 z-panel-content p2 border border-base rounded-lg flex flex-col gap-2`},Ot={class:`font-mono px1`},kt={class:`text-xs font-mono flex items-center gap-3 ml2`},At={class:`flex gap-2`},jt={class:`of-auto h-full pt-30`},Mt={key:2,class:`flex items-center justify-center w-full h-full`},Nt={key:0,class:`border border-base rounded-lg shadow-lg px3 py2 bg-glass pointer-events-none text-sm max-w-80`},Pt={key:0,class:`flex items-center gap2`},Ft={key:0,class:`flex font-semibold font-mono text-base mb2`},It={key:1,class:`border-t border-base pt2 flex flex-col gap-1.5 min-w-48`},Lt={class:`flex justify-between items-center py1`},Rt=[`datetime`],zt={class:`flex justify-between items-center py1`},Bt=[`datetime`],Vt={class:`flex justify-between items-center py1 border-t border-base border-dashed pt2`},Ht={key:2},Ut=Object.assign(s({__name:`PluginDetailsLoader`,props:{plugin:{},query:{},modules:{},root:{}},emits:[`close`],setup(e,{emit:r}){let i=e,a=r,o=N(),{state:s,isLoading:f,execute:p}=de(async()=>await o.value.call(`vite:inspect:get-plugin-details`,i.query,i.plugin),null),h=ue(()=>{p()},100);b(()=>[i.query.vite,i.query.env,i.plugin],()=>{p()}),ee(()=>{h()});let g=E(()=>{let e=new Set;return s.value?.calls?.filter(t=>e.has(t.module)?!1:(e.add(t.module),!0))??[]}),x=E(()=>s.value?.loadMetrics.reduce((e,t)=>e+t.duration,0)),S=E(()=>s.value?.transformMetrics.reduce((e,t)=>e+t.duration,0)),w=E(()=>s.value?.resolveIdMetrics.reduce((e,t)=>e+t.duration,0)),O=E(()=>s.value?.calls?.reduce((e,t)=>e+t.duration,0)),k=E(()=>i.modules.map(e=>({mod:e,path:ae(e.id,i.root),type:Y(e.id)}))),A=E(()=>I.filter(e=>k.value.some(t=>e.match.test(t.mod.id))));function j(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}let P=E(()=>{let e=new Map;if(!s.value)return{root:t({id:`~root`,text:`Project`,children:[]}),map:new Map,maxDepth:3};function t(t,n){e.set(t.id,t);let r=U(t,n,(e,t)=>(t?.meta?.duration??0)-(e?.meta?.duration??0));return r.children&&r.children.forEach(e=>{e.parent=r}),r}function n(e,n){let r=n.filter(e=>!A.value.some(t=>Y(e.module).name===t.name));return[...A.value.map((r,i)=>{let a=n.filter(e=>Y(e.module).name===r.name);return t({id:`${e}-${r.name}-${i}`,text:r.description,children:a.map((n,r)=>t({id:`${e}-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:r.description,id:`${e}-${r.name}-${i}`,duration:a.reduce((e,t)=>e+t.duration,0)}})}),t({id:`${e}-other`,text:`Other`,children:r.map((n,r)=>t({id:`${e}-other-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:`Other`,id:`${e}-other`,duration:r.reduce((e,t)=>e+t.duration,0)}})]}let r=n(`resolveId`,s.value.resolveIdMetrics),i=n(`loads`,s.value.loadMetrics),a=n(`transforms`,s.value.transformMetrics);function o(e,n,r){return t({id:e,text:n,children:r.sort((e,t)=>t.size-e.size),meta:{id:e,type:`hook`,title:n,duration:{"~loads":x.value,"~resolves":w.value,"~transforms":S.value}[e]}})}return{root:t({id:`~root`,text:`Project`,children:[o(`~resolves`,`Resolve Id`,r),o(`~loads`,`Load`,i),o(`~transforms`,`Transform`,a)]}),map:e,maxDepth:3}}),F=D(fe()),{tree:L,chartOptions:R,graph:z,nodeHover:H,nodeSelected:K,selectedNode:J,selectNode:Z,buildGraph:ne}=Tt({data:[],tree:P,nameKey:`id`,sizeKey:`duration`,rootText:`Project`,graphOptions:{onClick(e){e&&(H.value=e),J.value=e?.meta},onHover(e){e&&(H.value=e),e===null&&(H.value=void 0)},onLeave(){H.value=void 0},onSelect(e){K.value=e||L.value.root,J.value=e?.meta},getSubtext(e){return B(e.size,!0)}},onUpdate(){z.value=new V(L.value.root,R.value)}});return b(()=>G.value.pluginDetailsViewType,()=>{ne()}),(r,i)=>{let o=M,p=dt,h=se,b=te;return d(),l(_,null,[y(f)?(d(),n(o,{key:0})):y(s)?.calls?.length?(d(),l(`div`,Et,[v(W,{class:`absolute right-2 top-1.5`,onClick:i[0]||=e=>a(`close`)}),c(`div`,Dt,[c(`div`,Ot,[v(X,{name:y(s)?.plugin_name},null,8,[`name`])]),c(`div`,kt,[v(q,{duration:w.value,class:`flex gap-1 items-center`,title:`Resolve Id hooks cost: ${y(B)(w.value,!0)}`},{default:m(()=>[...i[3]||=[c(`span`,{class:`i-ph-magnifying-glass-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),v(q,{duration:x.value,class:`flex gap-1 items-center`,title:`Load hooks cost: ${y(B)(x.value,!0)}`},{default:m(()=>[...i[4]||=[c(`span`,{class:`i-ph-upload-simple-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),v(q,{duration:S.value,class:`flex gap-1 items-center`,title:`Transform hooks cost: ${y(B)(S.value,!0)}`},{default:m(()=>[...i[5]||=[c(`span`,{class:`i-ph-magic-wand-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),i[7]||=c(`span`,{class:`op40`},`|`,-1),v(q,{duration:O.value,class:`flex gap-1 items-center`,title:`Total build cost: ${y(B)(O.value,!0)}`},{default:m(()=>[...i[6]||=[c(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),i[8]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:g.value.length,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${g.value.length}`},null,8,[`number`,`title`]),i[9]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:y(s)?.calls?.length??0,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${y(s)?.calls?.length??0}`},null,8,[`number`,`title`])]),c(`div`,At,[c(`button`,{class:C([y(G).pluginDetailsViewType===`flow`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:i[1]||=e=>y(G).pluginDetailsViewType=`flow`},[...i[10]||=[c(`div`,{class:`i-ph-git-branch-duotone rotate-180`},null,-1),t(` Build Flow `,-1)]],2),c(`button`,{class:C([y(G).pluginDetailsViewType===`sunburst`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:i[2]||=e=>y(G).pluginDetailsViewType=`sunburst`},[...i[11]||=[c(`div`,{"i-ph-chart-sunburst-duotone":``},null,-1),t(` Sunburst `,-1)]],2)])]),c(`div`,jt,[y(G).pluginDetailsViewType===`flow`?(d(),n(p,{key:0,modules:e.modules,"build-metrics":y(s),root:e.root},null,8,[`modules`,`build-metrics`,`root`])):T(``,!0),y(G).pluginDetailsViewType===`sunburst`&&y(z)?(d(),n(wt,{key:1,graph:y(z),selected:y(K),onSelect:y(Z)},{module:m(({child:t})=>[v(h,{id:t.text,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:e.root,link:j(t.meta?.graphModuleId)},null,8,[`id`,`cwd`,`link`])]),_:1},8,[`graph`,`selected`,`onSelect`])):T(``,!0)])])):(d(),l(`div`,Mt,[...i[12]||=[c(`span`,{class:`italic op50`},` No data `,-1)]])),v(b,{"hover-x":F.x,"hover-y":F.y},{default:m(()=>[y(H)?(d(),l(`div`,Nt,[y(H).meta?.title?(d(),l(`div`,Pt,[t(u(y(H).meta.title)+` `,1),v(q,{duration:y(H).meta.duration},null,8,[`duration`])])):(d(),l(_,{key:1},[y(H).meta?.module?(d(),l(`div`,Ft,[v(h,{id:y(H).meta.module,cwd:e.root,link:!1},null,8,[`id`,`cwd`])])):T(``,!0),y(H).meta?.module?(d(),l(`div`,It,[c(`div`,Lt,[i[13]||=c(`label`,{class:`text-xs opacity-70`},`Start Time`,-1),c(`time`,{datetime:new Date(y(H).meta.timestamp_start).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},u(y(Q)(y(H).meta.timestamp_start)),9,Rt)]),c(`div`,zt,[i[14]||=c(`label`,{class:`text-xs opacity-70`},`End Time`,-1),c(`time`,{datetime:new Date(y(H).meta.timestamp_end).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},u(y(Q)(y(H).meta.timestamp_end)),9,Bt)]),c(`div`,Vt,[i[15]||=c(`label`,{class:`text-xs op70`},`Duration`,-1),v(q,{duration:y(H).meta.duration},null,8,[`duration`])])])):(d(),l(`div`,Ht,[v(q,{duration:y(H).meta?.duration},null,8,[`duration`])]))],64))])):T(``,!0)]),_:1},8,[`hover-x`,`hover-y`])],64)}}}),{__name:`DataPluginDetailsLoader`}),Wt={class:`flex flex-col gap-2 p4`},Gt={class:`flex pb2`},Kt={class:`w-8 text-right text-xs op50`},qt={class:`overflow-hidden text-ellipsis break-all line-clamp-2`},Jt=s({__name:`PluginsFlatList`,props:{plugins:{},itemSize:{},pageMode:{type:Boolean,default:!0},scroller:{default:`dynamic`}},setup(e){let t=A();return(n,r)=>(d(),l(`div`,Wt,[v(H,{items:e.plugins,"key-prop":`plugin_id`,"item-size":e.itemSize,"page-mode":e.pageMode,scroller:e.scroller},{default:m(({item:e})=>[c(`div`,Gt,[v(y(k),{to:{path:y(t).path,query:{plugin:e.plugin_id}},class:`font-mono border rounded border-base w-full px2 py1 text-sm hover:bg-active flex gap-4 items-center`},{default:m(()=>[c(`div`,Kt,` #`+u(e.plugin_id),1),c(`span`,qt,[v(X,{name:e.name},null,8,[`name`])])]),_:2},1032,[`to`])])]),_:1},8,[`items`,`item-size`,`page-mode`,`scroller`])]))}}),Yt={key:1,class:`h-full flex flex-col gap-3 items-center justify-center p8 text-center`},Xt={class:`font-mono text-sm max-w-180 ws-pre-wrap`},Zt={key:2,class:`relative min-h-screen`},Qt={class:`sticky left-4 right-4 top-4 z-panel-nav p-4`},$t={class:`fixed bottom-4 py-1 px-2 bg-glass left-1/2 translate-x--1/2 border border-base rounded-full text-center text-xs`},en={class:`op50`},tn=s({__name:`plugins`,setup(e){let a=N(),o=A(),s=j(),f=i(null),p=i([]),m=r(!0),h=r(null),g=E(()=>typeof o.query.plugin==`string`?o.query.plugin:void 0),_=r({search:o.query.search||``,selected:o.query.plugin_types?W(o.query.plugin_types):null}),y=E(()=>f.value?.instances[0]),b=E(()=>y.value?.environments[0]||``),x=E(()=>y.value?.root||``),C=E(()=>!y.value?.vite||!b.value?null:{vite:y.value.vite,env:b.value}),w=E(()=>y.value?.plugins.map((e,t)=>z(e,t))??[]),D=E(()=>[...R.filter(e=>w.value.some(t=>e.match.test(t.name))),L]),k=E(()=>{let e=w.value;return _.value.selected&&(e=e.filter(e=>{let t=P(e.name);return _.value.selected.includes(t.name)})),e}),F=ge(()=>k.value,()=>new Z(k.value,{includeScore:!0,keys:[`name`],ignoreLocation:!0,threshold:.4})),I=E(()=>_.value.search?F.value.search(_.value.search).map(e=>e.item):k.value);he(_.value,e=>{s.replace({query:G({...o.query,search:e.search||void 0,plugin_types:e.selected||void 0})})},{debounce:500});function z(e,t){let n=e&&typeof e==`object`?e:{};return{plugin_id:t,name:typeof n.name==`string`?n.name:`plugin-${t}`,enforce:n.enforce===`pre`||n.enforce===`post`?n.enforce:void 0}}function B(){g.value&&s.replace({query:{...o.query,plugin:void 0}})}async function V(e={}){e.silent||(m.value=!0),h.value=null;try{f.value=await a.value.call(`vite:inspect:get-metadata`),C.value?p.value=(await a.value.call(`vite:inspect:get-modules-list`,C.value)).map(U):p.value=[]}catch(e){h.value=e}finally{e.silent||(m.value=!1)}}let H=ue(()=>{V({silent:!0})},100);function U(e){return{...e,imports:e.deps.map(e=>({module_id:e}))}}function W(e){return Array.isArray(e)?e.map(String):[String(e)]}function G(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}return S(()=>{V()}),ee(()=>{H()}),pe(`Escape`,e=>{e.preventDefault(),!(!e.isTrusted||e.repeat)&&B()}),(e,r)=>{let i=M,a=Ut;return m.value?(d(),n(i,{key:0,text:`Loading plugins...`})):h.value?(d(),l(`div`,Yt,[r[3]||=c(`div`,{class:`i-ph-warning-duotone text-4xl text-amber`},null,-1),c(`div`,Xt,u(h.value.message),1),c(`button`,{class:`btn-action`,onClick:r[0]||=e=>V()},[...r[2]||=[c(`span`,{class:`i-ph-arrow-clockwise-duotone`},null,-1),t(` Retry `,-1)]])])):(d(),l(`div`,Zt,[c(`div`,Qt,[v(re,{modelValue:_.value,"onUpdate:modelValue":r[1]||=e=>_.value=e,rules:D.value},null,8,[`modelValue`,`rules`])]),v(Jt,{plugins:I.value??[],scroller:`window`},null,8,[`plugins`]),c(`div`,$t,[c(`span`,en,u(I.value.length)+` of `+u(w.value.length||0),1)]),g.value&&C.value?(d(),l(`div`,{key:0,class:`fixed inset-0 backdrop-blur-8 backdrop-brightness-95 z-panel-content`,onClick:O(B,[`self`])},[(d(),l(`div`,{key:g.value,class:`fixed right-0 bottom-0 top-20 left-20 z-panel-content bg-glass border-l border-t border-base rounded-tl-xl`},[v(a,{plugin:g.value,query:C.value,modules:p.value,root:x.value,onClose:B},null,8,[`plugin`,`query`,`modules`,`root`])]))])):T(``,!0)]))}}});export{tn as default};
|
package/dist/public/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vite DevTools</title><script type="importmap">{"imports":{"#entry":"/__devtools-vite/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="bg-dots"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vite DevTools</title><script type="importmap">{"imports":{"#entry":"/__devtools-vite/_nuxt/BC_sx2n1.js"}}</script><link rel="stylesheet" href="/__devtools-vite/_nuxt/entry.WUs_YScM.css" crossorigin><link rel="stylesheet" href="/__devtools-vite/_nuxt/rpc.CVTFzytL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/BC_sx2n1.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/D3MExTHO.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/457Jr4Pr.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/BJv-YGcz.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/NLJpu4QF.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/CQYaOgKz.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/CWPpjZx6.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/CAlSLYmJ.js"><link rel="modulepreload" as="script" crossorigin href="/__devtools-vite/_nuxt/BaWrej0D.js"><script type="module" src="/__devtools-vite/_nuxt/BC_sx2n1.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__devtools-vite/_nuxt/error-404.YVLV_SWG.css"><link rel="prefetch" as="script" crossorigin href="/__devtools-vite/_nuxt/CJwKXY9k.js"><link rel="prefetch" as="script" crossorigin href="/__devtools-vite/_nuxt/BDNMzG2s.js"><link rel="prefetch" as="style" crossorigin href="/__devtools-vite/_nuxt/error-500.DoVxOHYG.css"><link rel="prefetch" as="script" crossorigin href="/__devtools-vite/_nuxt/BKuuhLmM.js"><meta name="description" content="DevTools for Vite"><meta property="og:title" content="Vite DevTools"><meta property="og:description" content="DevTools for Vite"><link rel="icon" type="image/svg+xml" href="/favicon.svg"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__devtools-vite/",buildId:"9ed128ae-36cf-47ec-9da9-d8526939fcad",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1784780401968,false]</script></body></html>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitejs/devtools-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"description": "DevTools for Vite (work in progress)",
|
|
6
6
|
"author": "VoidZero Inc.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"nostics": "^1.2.0",
|
|
37
37
|
"pathe": "^2.0.3",
|
|
38
38
|
"perfect-debounce": "^2.1.0",
|
|
39
|
-
"@vitejs/devtools-kit": "0.4.
|
|
39
|
+
"@vitejs/devtools-kit": "0.4.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/d3-hierarchy": "^3.1.7",
|
|
@@ -48,17 +48,17 @@
|
|
|
48
48
|
"@vueuse/nuxt": "^14.3.0",
|
|
49
49
|
"comlink": "^4.4.2",
|
|
50
50
|
"d3-hierarchy": "^3.1.2",
|
|
51
|
-
"devframe": "^0.7.
|
|
52
|
-
"diff-match-patch-es": "^
|
|
51
|
+
"devframe": "^0.7.9",
|
|
52
|
+
"diff-match-patch-es": "^2.0.0",
|
|
53
53
|
"floating-vue": "^5.2.2",
|
|
54
54
|
"fuse.js": "^7.5.0",
|
|
55
55
|
"modern-monaco": "^0.4.2",
|
|
56
56
|
"nanovis": "^1.0.0",
|
|
57
57
|
"splitpanes": "^4.1.2",
|
|
58
|
-
"tsdown": "^0.22.
|
|
58
|
+
"tsdown": "^0.22.13",
|
|
59
59
|
"unocss": "^66.7.5",
|
|
60
60
|
"vue-virtual-scroller": "^3.0.4",
|
|
61
|
-
"@vitejs/devtools-ui": "0.4.
|
|
61
|
+
"@vitejs/devtools-ui": "0.4.4"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "pnpm dev:prepare && ROLLDOWN_OPTIONS_VALIDATION=loose nuxi build src && tsdown",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
function e(e,...t){return typeof e==`function`?e(...t):e}var t=Error.captureStackTrace,n=class e extends Error{name=`Diagnostic`;docs;fix;sources;get why(){return this.message}constructor(n,r=e){super(n.why,{cause:n.cause}),this.fix=n.fix,this.docs=n.docs,this.sources=n.sources,t?.(this,r)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,stack:this.stack}}};function r(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function i(t){let i=t.reporters??[],a={},{docsBase:o}=t;for(let s of Object.keys(t.codes)){let c=t.codes[s],l=c.docs===!1?void 0:c.docs||r(o,s),u=(t={},r={})=>{let a=new n({why:e(c.why,t),fix:e(c.fix,t),docs:l,cause:t.cause,sources:t.sources},u);a.name=s;for(let e of i)e(a,r);return a};a[s]=u}return a}function a(e={}){let{docsBase:t,reporters:i=[]}=e;return new Proxy({},{get(e,a){if(typeof a!=`string`)return;let o=(e={},s={})=>{let c=new n({why:a,docs:r(t,a),cause:e.cause,sources:e.sources},o);c.name=a;for(let e of i)e(c,s);return c};return o}})}function o(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var s=[e=>{console.error(`[${e.name}]`)}],c=a({docsBase:o,reporters:s});function l(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var u={},d=[],f=()=>{},p=()=>!1,m=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),h=e=>e.startsWith(`onUpdate:`),g=Object.assign,_=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},v=Object.prototype.hasOwnProperty,y=(e,t)=>v.call(e,t),b=Array.isArray,x=e=>re(e)===`[object Map]`,S=e=>re(e)===`[object Set]`,C=e=>re(e)===`[object Date]`,ee=e=>re(e)===`[object RegExp]`,w=e=>typeof e==`function`,T=e=>typeof e==`string`,E=e=>typeof e==`symbol`,D=e=>typeof e==`object`&&!!e,te=e=>(D(e)||w(e))&&w(e.then)&&w(e.catch),ne=Object.prototype.toString,re=e=>ne.call(e),ie=e=>re(e).slice(8,-1),ae=e=>re(e)===`[object Object]`,oe=e=>T(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,O=l(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),se=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ce=/-\w/g,k=se(e=>e.replace(ce,e=>e.slice(1).toUpperCase())),le=/\B([A-Z])/g,ue=se(e=>e.replace(le,`-$1`).toLowerCase()),de=se(e=>e.charAt(0).toUpperCase()+e.slice(1)),A=se(e=>e?`on${de(e)}`:``),j=(e,t)=>!Object.is(e,t),fe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},pe=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},me=e=>{let t=parseFloat(e);return isNaN(t)?e:t},he=e=>{let t=T(e)?Number(e):NaN;return isNaN(t)?e:t},ge,_e=()=>ge||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:{};function ve(e){if(b(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=T(r)?Se(r):ve(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(T(e)||D(e))return e}var ye=/;(?![^(]*\))/g,be=/:([^]+)/,xe=/\/\*[^]*?\*\//g;function Se(e){let t={};return e.replace(xe,``).split(ye).forEach(e=>{if(e){let n=e.split(be);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ce(e){let t=``;if(T(e))t=e;else if(b(e))for(let n=0;n<e.length;n++){let r=Ce(e[n]);r&&(t+=r+` `)}else if(D(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function we(e){if(!e)return null;let{class:t,style:n}=e;return t&&!T(t)&&(e.class=Ce(t)),n&&(e.style=ve(n)),e}var Te=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Ee=l(Te);Te+``;function De(e){return!!e||e===``}function Oe(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ke(e[r],t[r]);return n}function ke(e,t){if(e===t)return!0;let n=C(e),r=C(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=E(e),r=E(t),n||r)return e===t;if(n=b(e),r=b(t),n||r)return n&&r?Oe(e,t):!1;if(n=D(e),r=D(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!ke(e[n],t[n]))return!1}}return String(e)===String(t)}var Ae=e=>!!(e&&e.__v_isRef===!0),je=e=>T(e)?e:e==null?``:b(e)||D(e)&&(e.toString===ne||!w(e.toString))?Ae(e)?je(e.value):JSON.stringify(e,Me,2):String(e),Me=(e,t)=>Ae(t)?Me(e,t.value):x(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ne(t,r)+` =>`]=n,e),{})}:S(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ne(e))}:E(t)?Ne(t):D(t)&&!b(t)&&!ae(t)?String(t):t,Ne=(e,t=``)=>E(e)?`Symbol(${e.description??t})`:e,M,Pe=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&M&&(M.active?(this.parent=M,this.index=(M.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Fe(e){return new Pe(e)}function Ie(){return M}function Le(e,t=!1){M&&M.cleanups.push(e)}var N,Re=new WeakSet,ze=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Re.has(this)&&(Re.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ue(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tt(this),Ke(this);let e=N,t=P;N=this,P=!0;try{return this.fn()}finally{qe(this),N=e,P=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Xe(e);this.deps=this.depsTail=void 0,tt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Re.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Je(this)&&this.run()}get dirty(){return Je(this)}},Be=0,Ve,He;function Ue(e,t=!1){if(e.flags|=8,t){e.next=He,He=e;return}e.next=Ve,Ve=e}function We(){Be++}function Ge(){if(--Be>0)return;if(He){let e=He;for(He=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ve;){let t=Ve;for(Ve=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ke(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function qe(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Xe(r),Ze(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Je(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ye(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ye(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nt)||(e.globalVersion=nt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Je(e))))return;e.flags|=2;let t=e.dep,n=N,r=P;N=e,P=!0;try{Ke(e);let n=e.fn(e._value);(t.version===0||j(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,P=r,qe(e),e.flags&=-3}}function Xe(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Xe(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ze(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var P=!0,Qe=[];function $e(){Qe.push(P),P=!1}function et(){let e=Qe.pop();P=e===void 0||e}function tt(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var nt=0,rt=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},it=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!N||!P||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new rt(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,at(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,nt++,this.notify(e)}notify(e){We();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ge()}}};function at(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)at(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ot=new WeakMap,st=Symbol(``),ct=Symbol(``),lt=Symbol(``);function F(e,t,n){if(P&&N){let t=ot.get(e);t||ot.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new it),r.map=t,r.key=n),r.track()}}function ut(e,t,n,r,i,a){let o=ot.get(e);if(!o){nt++;return}let s=e=>{e&&e.trigger()};if(We(),t===`clear`)o.forEach(s);else{let i=b(e),a=i&&oe(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===lt||!E(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(lt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(st)),x(e)&&s(o.get(ct)));break;case`delete`:i||(s(o.get(st)),x(e)&&s(o.get(ct)));break;case`set`:x(e)&&s(o.get(st));break}}Ge()}function dt(e,t){let n=ot.get(e);return n&&n.get(t)}function ft(e){let t=L(e);return t===e?t:(F(t,`iterate`,lt),I(e)?t:t.map(R))}function pt(e){return F(e=L(e),`iterate`,lt),e}function mt(e,t){return $t(e)?nn(Qt(e)?R(t):t):R(t)}var ht={__proto__:null,[Symbol.iterator](){return gt(this,Symbol.iterator,e=>mt(this,e))},concat(...e){return ft(this).concat(...e.map(e=>b(e)?ft(e):e))},entries(){return gt(this,`entries`,e=>(e[1]=mt(this,e[1]),e))},every(e,t){return vt(this,`every`,e,t,void 0,arguments)},filter(e,t){return vt(this,`filter`,e,t,e=>e.map(e=>mt(this,e)),arguments)},find(e,t){return vt(this,`find`,e,t,e=>mt(this,e),arguments)},findIndex(e,t){return vt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return vt(this,`findLast`,e,t,e=>mt(this,e),arguments)},findLastIndex(e,t){return vt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return vt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return bt(this,`includes`,e)},indexOf(...e){return bt(this,`indexOf`,e)},join(e){return ft(this).join(e)},lastIndexOf(...e){return bt(this,`lastIndexOf`,e)},map(e,t){return vt(this,`map`,e,t,void 0,arguments)},pop(){return xt(this,`pop`)},push(...e){return xt(this,`push`,e)},reduce(e,...t){return yt(this,`reduce`,e,t)},reduceRight(e,...t){return yt(this,`reduceRight`,e,t)},shift(){return xt(this,`shift`)},some(e,t){return vt(this,`some`,e,t,void 0,arguments)},splice(...e){return xt(this,`splice`,e)},toReversed(){return ft(this).toReversed()},toSorted(e){return ft(this).toSorted(e)},toSpliced(...e){return ft(this).toSpliced(...e)},unshift(...e){return xt(this,`unshift`,e)},values(){return gt(this,`values`,e=>mt(this,e))}};function gt(e,t,n){let r=pt(e),i=r[t]();return r!==e&&!I(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var _t=Array.prototype;function vt(e,t,n,r,i,a){let o=pt(e),s=o!==e&&!I(e),c=o[t];if(c!==_t[t]){let t=c.apply(e,a);return s?R(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,mt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function yt(e,t,n,r){let i=pt(e),a=i!==e&&!I(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=mt(e,t)),n.call(this,t,mt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?mt(e,c):c}function bt(e,t,n){let r=L(e);F(r,`iterate`,lt);let i=r[t](...n);return(i===-1||i===!1)&&en(n[0])?(n[0]=L(n[0]),r[t](...n)):i}function xt(e,t,n=[]){$e(),We();let r=L(e)[t].apply(e,n);return Ge(),et(),r}var St=l(`__proto__,__v_isRef,__isVue`),Ct=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(E));function wt(e){E(e)||(e=String(e));let t=L(this);return F(t,`has`,e),t.hasOwnProperty(e)}var Tt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Gt:Wt:i?Ut:Ht).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=b(e);if(!r){let e;if(a&&(e=ht[t]))return e;if(t===`hasOwnProperty`)return wt}let o=Reflect.get(e,t,z(e)?e:n);if((E(t)?Ct.has(t):St(t))||(r||F(e,`get`,t),i))return o;if(z(o)){let e=a&&oe(t)?o:o.value;return r&&D(e)?Yt(e):e}return D(o)?r?Yt(o):qt(o):o}},Et=class extends Tt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=b(e)&&oe(t);if(!this._isShallow){let e=$t(i);if(!I(n)&&!$t(n)&&(i=L(i),n=L(n)),!a&&z(i)&&!z(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:y(e,t),s=Reflect.set(e,t,n,z(e)?e:r);return e===L(r)&&s&&(o?j(n,i)&&ut(e,`set`,t,n,i):ut(e,`add`,t,n)),s}deleteProperty(e,t){let n=y(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ut(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!E(t)||!Ct.has(t))&&F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,b(e)?`length`:st),Reflect.ownKeys(e)}},Dt=class extends Tt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Ot=new Et,kt=new Dt,At=new Et(!0),jt=new Dt(!0),Mt=e=>e,Nt=e=>Reflect.getPrototypeOf(e);function Pt(e,t,n){return function(...r){let i=this.__v_raw,a=L(i),o=x(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Mt:t?nn:R;return!t&&F(a,`iterate`,c?ct:st),g(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function Ft(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function It(e,t){let n={get(n){let r=this.__v_raw,i=L(r),a=L(n);e||(j(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=Nt(i),s=t?Mt:e?nn:R;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&F(L(t),`iterate`,st),t.size},has(t){let n=this.__v_raw,r=L(n),i=L(t);return e||(j(t,i)&&F(r,`has`,t),F(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=L(a),s=t?Mt:e?nn:R;return!e&&F(o,`iterate`,st),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return g(n,e?{add:Ft(`add`),set:Ft(`set`),delete:Ft(`delete`),clear:Ft(`clear`)}:{add(e){let n=L(this),r=Nt(n),i=L(e),a=!t&&!I(e)&&!$t(e)?i:e;return r.has.call(n,a)||j(e,a)&&r.has.call(n,e)||j(i,a)&&r.has.call(n,i)||(n.add(a),ut(n,`add`,a,a)),this},set(e,n){!t&&!I(n)&&!$t(n)&&(n=L(n));let r=L(this),{has:i,get:a}=Nt(r),o=i.call(r,e);o||=(e=L(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?j(n,s)&&ut(r,`set`,e,n,s):ut(r,`add`,e,n),this},delete(e){let t=L(this),{has:n,get:r}=Nt(t),i=n.call(t,e);i||=(e=L(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ut(t,`delete`,e,void 0,a),o},clear(){let e=L(this),t=e.size!==0,n=e.clear();return t&&ut(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Pt(r,e,t)}),n}function Lt(e,t){let n=It(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(y(n,r)&&r in t?n:t,r,i)}var Rt={get:Lt(!1,!1)},zt={get:Lt(!1,!0)},Bt={get:Lt(!0,!1)},Vt={get:Lt(!0,!0)},Ht=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap;function Kt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function qt(e){return $t(e)?e:Zt(e,!1,Ot,Rt,Ht)}function Jt(e){return Zt(e,!1,At,zt,Ut)}function Yt(e){return Zt(e,!0,kt,Bt,Wt)}function Xt(e){return Zt(e,!0,jt,Vt,Gt)}function Zt(e,t,n,r,i){if(!D(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Kt(ie(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Qt(e){return $t(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(e){return!!(e&&e.__v_isReadonly)}function I(e){return!!(e&&e.__v_isShallow)}function en(e){return e?!!e.__v_raw:!1}function L(e){let t=e&&e.__v_raw;return t?L(t):e}function tn(e){return!y(e,`__v_skip`)&&Object.isExtensible(e)&&pe(e,`__v_skip`,!0),e}var R=e=>D(e)?qt(e):e,nn=e=>D(e)?Yt(e):e;function z(e){return e?e.__v_isRef===!0:!1}function rn(e){return on(e,!1)}function an(e){return on(e,!0)}function on(e,t){return z(e)?e:new sn(e,t)}var sn=class{constructor(e,t){this.dep=new it,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:L(e),this._value=t?e:R(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||I(e)||$t(e);e=n?e:L(e),j(e,t)&&(this._rawValue=e,this._value=n?e:R(e),this.dep.trigger())}};function cn(e){e.dep&&e.dep.trigger()}function ln(e){return z(e)?e.value:e}function un(e){return w(e)?e():ln(e)}var dn={get:(e,t,n)=>t===`__v_raw`?e:ln(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return z(i)&&!z(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function fn(e){return Qt(e)?e:new Proxy(e,dn)}var pn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new it,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function mn(e){return new pn(e)}function hn(e){let t=b(e)?Array(e.length):{};for(let n in e)t[n]=yn(e,n);return t}var gn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=E(t)?t:String(t),this._raw=L(e);let r=!0,i=e;if(!b(e)||E(this._key)||!oe(this._key))do r=!en(i)||I(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=ln(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&z(this._raw[this._key])){let t=this._object[this._key];if(z(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return dt(this._raw,this._key)}},_n=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function vn(e,t,n){return z(e)?e:w(e)?new _n(e):D(e)&&arguments.length>1?yn(e,t,n):rn(e)}function yn(e,t,n){return new gn(e,t,n)}var bn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new it(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return Ue(this,!0),!0}get value(){let e=this.dep.track();return Ye(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function xn(e,t,n=!1){let r,i;return w(e)?r=e:(r=e.get,i=e.set),new bn(r,i,n)}var Sn={},Cn=new WeakMap,wn=void 0;function Tn(e,t=!1,n=wn){if(n){let t=Cn.get(n);t||Cn.set(n,t=[]),t.push(e)}}function En(e,t,n=u){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:I(e)||i===!1||i===0?Dn(e,1):Dn(e),d,p,m,h,g=!1,v=!1;if(z(e)?(p=()=>e.value,g=I(e)):Qt(e)?(p=()=>l(e),g=!0):b(e)?(v=!0,g=e.some(e=>Qt(e)||I(e)),p=()=>e.map(e=>{if(z(e))return e.value;if(Qt(e))return l(e);if(w(e))return c?c(e,2):e()})):p=w(e)?t?c?()=>c(e,2):e:()=>{if(m){$e();try{m()}finally{et()}}let t=wn;wn=d;try{return c?c(e,3,[h]):e(h)}finally{wn=t}}:f,t&&i){let e=p,t=i===!0?1/0:i;p=()=>Dn(e(),t)}let y=Ie(),x=()=>{d.stop(),y&&y.active&&_(y.effects,d)};if(a&&t){let e=t;t=(...t)=>{let n=e(...t);return x(),n}}let S=v?Array(e.length).fill(Sn):Sn,C=e=>{if(!(!(d.flags&1)||!d.dirty&&!e))if(t){let n=d.run();if(e||i||g||(v?n.some((e,t)=>j(e,S[t])):j(n,S))){m&&m();let e=wn;wn=d;try{let e=[n,S===Sn?void 0:v&&S[0]===Sn?[]:S,h];S=n,c?c(t,3,e):t(...e)}finally{wn=e}}}else d.run()};return s&&s(C),d=new ze(p),d.scheduler=o?()=>o(C,!1):C,h=e=>Tn(e,!1,d),m=d.onStop=()=>{let e=Cn.get(d);if(e){if(c)c(e,4);else for(let t of e)t();Cn.delete(d)}},t?r?C(!0):S=d.run():o?o(C.bind(null,!0),!0):d.run(),x.pause=d.pause.bind(d),x.resume=d.resume.bind(d),x.stop=x,x}function Dn(e,t=1/0,n){if(t<=0||!D(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,z(e))Dn(e.value,t,n);else if(b(e))for(let r=0;r<e.length;r++)Dn(e[r],t,n);else if(S(e)||x(e))e.forEach(e=>{Dn(e,t,n)});else if(ae(e)){for(let r in e)Dn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Dn(e[r],t,n)}return e}function On(e,t,n,r){try{return r?e(...r):e()}catch(e){kn(e,t,n)}}function B(e,t,n,r){if(w(e)){let i=On(e,t,n,r);return i&&te(i)&&i.catch(e=>{kn(e,t,n)}),i}if(b(e)){let i=[];for(let a=0;a<e.length;a++)i.push(B(e[a],t,n,r));return i}}function kn(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||u;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){$e(),On(a,null,10,[e,i,o]),et();return}}An(e,n,i,r,o)}function An(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var V=[],jn=-1,Mn=[],Nn=null,Pn=0,Fn=Promise.resolve(),In=null;function Ln(e){let t=In||Fn;return e?t.then(this?e.bind(this):e):t}function Rn(e){let t=jn+1,n=V.length;for(;t<n;){let r=t+n>>>1,i=V[r],a=Wn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function zn(e){if(!(e.flags&1)){let t=Wn(e),n=V[V.length-1];!n||!(e.flags&2)&&t>=Wn(n)?V.push(e):V.splice(Rn(t),0,e),e.flags|=1,Bn()}}function Bn(){In||=Fn.then(Gn)}function Vn(e){b(e)?Mn.push(...e):Nn&&e.id===-1?Nn.splice(Pn+1,0,e):e.flags&1||(Mn.push(e),e.flags|=1),Bn()}function Hn(e,t,n=jn+1){for(;n<V.length;n++){let t=V[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;V.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Un(e){if(Mn.length){let e=[...new Set(Mn)].sort((e,t)=>Wn(e)-Wn(t));if(Mn.length=0,Nn){Nn.push(...e);return}for(Nn=e,Pn=0;Pn<Nn.length;Pn++){let e=Nn[Pn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Nn=null,Pn=0}}var Wn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gn(e){try{for(jn=0;jn<V.length;jn++){let e=V[jn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),On(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;jn<V.length;jn++){let e=V[jn];e&&(e.flags&=-2)}jn=-1,V.length=0,Un(e),In=null,(V.length||Mn.length)&&Gn(e)}}var H=null,Kn=null;function qn(e){let t=H;return H=e,Kn=e&&e.type.__scopeId||null,t}function Jn(e){Kn=e}function Yn(){Kn=null}var Xn=e=>Zn;function Zn(e,t=H,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&To(-1);let i=qn(t),a=xo.length,o;try{o=e(...n)}finally{for(let e=xo.length;e>a;e--)Co();qn(i),r._d&&To(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Qn(e,t){if(H===null)return e;let n=ss(H),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=u]=t[e];i&&(w(i)&&(i={mounted:i,updated:i}),i.deep&&Dn(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function $n(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&($e(),B(c,n,8,[e.el,s,e,t]),et())}}function er(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function tr(e,t,n=!1){let r=Ko();if(r||ha){let i=ha?ha._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&w(t)?t.call(r&&r.proxy):t}}function nr(){return!!(Ko()||ha)}var rr=Symbol.for(`v-scx`),ir=()=>tr(rr);function ar(e,t){return cr(e,null,t)}function or(e,t){return cr(e,null,{flush:`sync`})}function sr(e,t,n){return cr(e,t,n)}function cr(e,t,n=u){let{immediate:r,deep:i,flush:a,once:o}=n,s=g({},n),c=t&&r||!t&&a!==`post`,l;if(Qo){if(a===`sync`){let e=ir();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=f,e.resume=f,e.pause=f,e}}let d=$;s.call=(e,t,n)=>B(e,d,t,n);let p=!1;a===`post`?s.scheduler=e=>{K(e,d&&d.suspense)}:a!==`sync`&&(p=!0,s.scheduler=(e,t)=>{t?e():zn(e)}),s.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,d&&(e.id=d.uid,e.i=d))};let m=En(e,t,s);return Qo&&(l?l.push(m):c&&m()),m}function lr(e,t,n){let r=this.proxy,i=T(e)?e.includes(`.`)?ur(r,e):()=>r[e]:e.bind(r,r),a;w(t)?a=t:(a=t.handler,n=t);let o=Yo(this),s=cr(i,a.bind(r),n);return o(),s}function ur(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var dr=new WeakMap,fr=Symbol(`_vte`),pr=e=>e.__isTeleport,mr=e=>e&&(e.disabled||e.disabled===``),hr=e=>e&&(e.defer||e.defer===``),gr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,_r=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,vr=(e,t)=>{let n=e&&e.to;return T(n)?t?t(n):null:n},yr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=mr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=mr(e.props),r=e.target=vr(e.props,m),a=wr(r,e,h,p);r&&(o!==`svg`&&gr(r)?o=`svg`:o!==`mathml`&&_r(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Cr(e,!1)))},S=e=>{let t=()=>{if(dr.get(e)===t){if(dr.delete(e),mr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Cr(e,!0)}x(e)}};dr.set(e,t),K(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),hr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Cr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=dr.get(e);if(u){u.flags|=8,dr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=mr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||gr(p)?o=`svg`:(o===`mathml`||_r(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),eo(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):br(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=vr(t.props,m);e&&(t.target=e,br(t,e,null,l,0))}else g&&br(t,p,h,l,1);Cr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=mr(f),m=a||!p,h=dr.get(e);if(h&&(h.flags|=8,dr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:br,hydrate:xr};function br(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!dr.has(e)&&(!d||mr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function xr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=vr(t.props,c),h=mr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||wr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||wr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Cr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Sr=yr;function Cr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function wr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[fr]=o,e&&(r(a,e,i),r(o,e,i)),o}var U=Symbol(`_leaveCb`),Tr=Symbol(`_enterCb`);function Er(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xi(()=>{e.isMounted=!0}),wi(()=>{e.isUnmounting=!0}),e}var W=[Function,Array],Dr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:W,onEnter:W,onAfterEnter:W,onEnterCancelled:W,onBeforeLeave:W,onLeave:W,onAfterLeave:W,onLeaveCancelled:W,onBeforeAppear:W,onAppear:W,onAfterAppear:W,onAppearCancelled:W},Or=e=>{let t=e.subTree;return t.component?Or(t.component):t},kr={name:`BaseTransition`,props:Dr,setup(e,{slots:t}){let n=Ko(),r=Er();return()=>{let i=t.default&&Lr(t.default(),!0),a=i&&i.length?Ar(i):n.subTree?zo():void 0;if(!a)return;let o=L(e),{mode:s}=o;if(r.isLeaving)return Pr(a);let c=Fr(a);if(!c)return Pr(a);let l=Nr(c,o,r,n,e=>l=e);c.type!==J&&Ir(c,l);let u=n.subTree&&Fr(n.subTree);if(u&&u.type!==J&&!Ao(u,c)&&Or(n).type!==J){let e=Nr(u,o,r,n);if(Ir(u,e),s===`out-in`&&c.type!==J)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Pr(a);s===`in-out`&&c.type!==J?e.delayLeave=(e,t,n)=>{let i=Mr(r,u);i[String(u.key)]=u,e[U]=()=>{t(),e[U]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function Ar(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==J){t=n;break}}return t}var jr=kr;function Mr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Nr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,x=String(e.key),S=Mr(n,e),C=(e,t)=>{e&&B(e,r,9,t)},ee=(e,t)=>{let n=t[1];C(e,t),b(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},w={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=g||c;else return;t[U]&&t[U](!0);let i=S[x];i&&Ao(e,i)&&i.el[U]&&i.el[U](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted)if(a)r=_||l,i=v||u,o=y||d;else return;let s=!1;t[Tr]=e=>{s||(s=!0,C(e?o:i,[t]),w.delayedLeave&&w.delayedLeave(),t[Tr]=void 0)};let c=t[Tr].bind(null,!1);r?ee(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Tr]&&t[Tr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[U]=n=>{a||(a=!0,r(),C(n?h:m,[t]),t[U]=void 0,S[i]===e&&delete S[i])};let o=t[U].bind(null,!1);S[i]=e,p?ee(p,[t,o]):o()},clone(e){let a=Nr(e,t,n,r,i);return i&&i(a),a}};return w}function Pr(e){if(li(e))return e=Io(e),e.children=null,e}function Fr(e){if(!li(e))return pr(e.type)&&e.children?Ar(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&w(n.default))return n.default()}}function Ir(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ir(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Lr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===q?(o.patchFlag&128&&i++,r=r.concat(Lr(o.children,t,s))):(t||o.type!==J)&&r.push(s==null?o:Io(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Rr(e,t){return w(e)?g({name:e.name},t,{setup:e}):e}function zr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Br(e){let t=Ko(),n=an(null);if(t){let r=t.refs===u?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function Vr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Hr=new WeakMap;function Ur(e,t,n,r,i=!1){if(b(e)){e.forEach((e,a)=>Ur(e,t&&(b(t)?t[a]:t),n,r,i));return}if(oi(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ur(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?ss(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,d=s.refs===u?s.refs={}:s.refs,f=s.setupState,m=L(f),h=f===u?p:e=>!Vr(d,e)&&y(m,e),g=(e,t)=>!(t&&Vr(d,t));if(l!=null&&l!==c){if(Wr(t),T(l))d[l]=null,h(l)&&(f[l]=null);else if(z(l)){let e=t;g(l,e.k)&&(l.value=null),e.k&&(d[e.k]=null)}}if(w(c))On(c,s,12,[o,d]);else{let t=T(c),r=z(c);if(t||r){let s=()=>{if(e.f){let n=t?h(c)?f[c]:d[c]:g(c)||!e.k?c.value:d[e.k];if(i)b(n)&&_(n,a);else if(b(n))n.includes(a)||n.push(a);else if(t)d[c]=[a],h(c)&&(f[c]=d[c]);else{let t=[a];g(c,e.k)&&(c.value=t),e.k&&(d[e.k]=t)}}else t?(d[c]=o,h(c)&&(f[c]=o)):r&&(g(c,e.k)&&(c.value=o),e.k&&(d[e.k]=o))};if(o){let t=()=>{s(),Hr.delete(e)};t.id=-1,Hr.set(e,t),K(t,n)}else Wr(e),s()}}}function Wr(e){let t=Hr.get(e);t&&(t.flags|=8,Hr.delete(e))}var Gr=!1,Kr=()=>{Gr||=(console.error(`Hydration completed but contains mismatches.`),!0)},qr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,Jr=e=>e.namespaceURI.includes(`MathML`),Yr=e=>{if(e.nodeType===1){if(qr(e))return`svg`;if(Jr(e))return`mathml`}},Xr=e=>e.nodeType===8;function Zr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),Un(),t._vnode=e;return}d(t.firstChild,e,null,null,null),Un(),t._vnode=e},d=(n,r,s,l,u,m=!1)=>{m||=!!r.dynamicChildren;let b=Xr(n)&&n.data===`[`,x=()=>g(n,r,s,l,u,b),{type:S,ref:C,shapeFlag:ee,patchFlag:w}=r,T=n.nodeType;r.el=n,w===-2&&(m=!1,r.dynamicChildren=null);let E=null;switch(S){case yo:T===3?(n.data!==r.children&&(Kr(),n.data=r.children),E=a(n)):r.children===``?(c(r.el=i(``),o(n),n),E=n):E=x();break;case J:y(n)?(E=a(n),v(r.el=n.content.firstChild,n,s)):E=T!==8||b?x():a(n);break;case bo:if(b&&(n=a(n),T=n.nodeType),T===1||T===3){E=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=E.nodeType===1?E.outerHTML:E.data),t===r.staticCount-1&&(r.anchor=E),E=a(E);return b?a(E):E}else x();break;case q:E=b?h(n,r,s,l,u,m):x();break;default:if(ee&1)E=(T!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():f(n,r,s,l,u,m);else if(ee&6){r.slotScopeIds=u;let e=o(n);if(E=b?_(n):Xr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,Yr(e),m),oi(r)&&!r.type.__asyncResolved){let t;b?(t=X(q),t.anchor=E?E.previousSibling:e.lastChild):t=n.nodeType===3?Lo(``):X(`div`),t.el=n,r.component.subTree=t}}else ee&64?E=T===8?r.type.hydrate(n,r,s,l,u,m,e,p):x():ee&128&&(E=r.type.hydrate(n,r,s,l,Yr(o(n)),u,m,e,d))}return C!=null&&Ur(C,null,l,r),E},f=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,dynamicProps:l,props:u,patchFlag:d,shapeFlag:f,dirs:h,transition:g}=t,_=c===`input`||c===`option`,b=!!l;if(_||b||d!==-1){h&&$n(t,null,n,`created`);let c=!1;if(y(e)){c=$a(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(f&16&&!(u&&(u.innerHTML||u.textContent))){let r=p(e.firstChild,t,e,n,i,a,o);for(r&&!ei(e,1)&&Kr();r;){let e=r;r=r.nextSibling,s(e)}}else if(f&8){let n=t.children;n[0]===`
|
|
2
|
-
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
|
|
3
|
-
`)&&(ei(e,0)||Kr(),e.textContent=t.children)}if(u){if(_||b||!o||d&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in u)(_&&(a.endsWith(`value`)||a===`indeterminate`)||m(a)&&!O(a)||a[0]===`.`||t&&!O(a)||l&&l.includes(a))&&r(e,a,null,u[a],i,n)}else if(u.onClick)r(e,`onClick`,null,u.onClick,void 0,n);else if(d&4&&Qt(u.style))for(let e in u.style)u.style[e]}let x;(x=u&&u.onVnodeBeforeMount)&&Q(x,n,t),h&&$n(t,null,n,`beforeMount`),((x=u&&u.onVnodeMounted)||h||c)&&go(()=>{x&&Q(x,n,t),c&&g.enter(e),h&&$n(t,null,n,`mounted`)},i)}return e.nextSibling},p=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length,m=!1;for(let t=0;t<p;t++){let h=u?f[t]:f[t]=Z(f[t]),g=h.type===yo;e?(g&&!u&&t+1<p&&Z(f[t+1]).type===yo&&(c(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=d(e,h,o,s,l,u)):g&&!h.children?c(h.el=i(``),r):(m||(m=!0,ei(r,1)||Kr()),n(null,h,r,null,o,s,Yr(r),l))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=p(a(e),t,d,n,r,i,s);return f&&Xr(f)&&f.data===`]`?a(t.anchor=f):(Kr(),c(t.anchor=l(`]`),d,f),f)},g=(e,t,r,i,c,l)=>{if(ni(e,t)||Kr(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,Yr(d),c),r&&(r.vnode.el=t.el,ka(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&Xr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}var Qr=`data-allow-mismatch`,$r={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function ei(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Qr);)e=e.parentElement;return ti(e&&e.getAttribute(Qr),t)}function ti(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes($r[t])}}function ni(e,t){return ei(e.parentElement,1)||ri(e)||ii(t)}function ri(e){return e.nodeType===1&&ti(e.getAttribute(Qr),1)}function ii({props:e}){let t=e&&e[Qr];return typeof t==`string`&&ti(t,1)}_e().requestIdleCallback,_e().cancelIdleCallback;function ai(e,t){if(Xr(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Xr(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}var oi=e=>!!e.type.__asyncLoader;function si(e){w(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return Rr({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>ai(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=$;if(zr(e),u)return()=>ci(u,e);let t=t=>{l=null,kn(t,e,13,!r)};if(s&&e.suspense||Qo)return p().then(t=>()=>ci(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=rn(!1),c=rn(),d=rn(!!i),f,m;return Ti(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&li(e.parent.vnode)&&e.parent.update())}).catch(n=>{if(e.isUnmounted){l=null;return}t(n),c.value=n}),()=>{if(a.value&&u)return ci(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return ci(n,e)}}})}function ci(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=X(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var li=e=>e.type.__isKeepAlive,ui={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Ko(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),K(()=>{a.isDeactivated=!1,a.a&&fe(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Q(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;ro(t.m),ro(t.a),l(e,f,null,1,s),K(()=>{t.da&&fe(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Q(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){gi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=cs(oi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!Ao(t,o))?p(t):o&&gi(o),i.delete(e),a.delete(e)}sr(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>di(e,t)),t&&m(e=>!di(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(ao(n.subTree.type)?K(()=>{i.set(g,_i(n.subTree))},n.subTree.suspense):i.set(g,_i(n.subTree)))};return xi(_),Ci(_),wi(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=_i(t);if(e.type===i.type&&e.key===i.key){gi(i);let e=i.component.da;e&&K(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!ko(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=_i(r);if(s.type===J)return o=null,s;let c=s.type,l=cs(oi(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!di(u,l))||d&&l&&di(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Io(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&Ir(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,ao(r.type)?r:s}}};function di(e,t){return b(e)?e.some(e=>di(e,t)):T(e)?e.split(`,`).includes(t):ee(e)?(e.lastIndex=0,e.test(t)):!1}function fi(e,t){mi(e,`a`,t)}function pi(e,t){mi(e,`da`,t)}function mi(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(vi(t,r,n),n){let e=n.parent;for(;e&&e.parent;)li(e.parent.vnode)&&hi(r,t,n,e),e=e.parent}}function hi(e,t,n,r){let i=vi(t,e,r,!0);Ti(()=>{_(r[t],i)},n)}function gi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _i(e){return e.shapeFlag&128?e.ssContent:e}function vi(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{$e();let i=Yo(n),a=B(t,n,e,r);return i(),et(),a};return r?i.unshift(a):i.push(a),a}}var yi=e=>(t,n=$)=>{(!Qo||e===`sp`)&&vi(e,(...e)=>t(...e),n)},bi=yi(`bm`),xi=yi(`m`),Si=yi(`bu`),Ci=yi(`u`),wi=yi(`bum`),Ti=yi(`um`),Ei=yi(`sp`),Di=yi(`rtg`),Oi=yi(`rtc`);function ki(e,t=$){vi(`ec`,e,t)}var Ai=`components`,ji=`directives`;function Mi(e,t){return Ii(Ai,e,!0,t)||e}var Ni=Symbol.for(`v-ndc`);function Pi(e){return T(e)?Ii(Ai,e,!1)||e:e||Ni}function Fi(e){return Ii(ji,e)}function Ii(e,t,n=!0,r=!1){let i=H||$;if(i){let n=i.type;if(e===Ai){let e=cs(n,!1);if(e&&(e===t||e===k(t)||e===de(k(t))))return n}let a=Li(i[e]||n[e],t)||Li(i.appContext[e],t);return!a&&r?n:a}}function Li(e,t){return e&&(e[t]||e[k(t)]||e[de(k(t))])}function Ri(e,t,n,r){let i,a=n&&n[r],o=b(e);if(o||T(e)){let n=o&&Qt(e),r=!1,s=!1;n&&(r=!I(e),s=$t(e),e=pt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?nn(R(e[n])):R(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(D(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function zi(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(b(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Bi(e,t,n={},r,i,a){if(H.ce||H.parent&&oi(H.parent)&&H.parent.ce){let e=a!=null&&n.key==null?g({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),So(),Oo(q,null,[X(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=xo.length;So();let c;try{let i=o&&Vi(o(n)),s=n.key||a||i&&i.key;c=Oo(q,{key:(s&&!E(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=xo.length;e>s;e--)Co();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function Vi(e){return e.some(e=>!ko(e)||!(e.type===J||e.type===q&&!Vi(e.children)))?e:null}function Hi(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:A(r)]=e[r];return n}var Ui=e=>e?Zo(e)?ss(e):Ui(e.parent):null,Wi=g(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ui(e.parent),$root:e=>Ui(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ra(e),$forceUpdate:e=>e.f||=()=>{zn(e.update)},$nextTick:e=>e.n||=Ln.bind(e.proxy),$watch:e=>lr.bind(e)}),Gi=(e,t)=>e!==u&&!e.__isScriptSetup&&y(e,t),Ki={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(Gi(r,t))return o[t]=1,r[t];else if(i!==u&&y(i,t))return o[t]=2,i[t];else if(y(a,t))return o[t]=3,a[t];else if(n!==u&&y(n,t))return o[t]=4,n[t];else Qi&&(o[t]=0)}let l=Wi[t],d,f;if(l)return t===`$attrs`&&F(e.attrs,`get`,``),l(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==u&&y(n,t))return o[t]=4,n[t];if(f=c.config.globalProperties,y(f,t))return f[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return Gi(i,t)?(i[t]=n,!0):r!==u&&y(r,t)?(r[t]=n,!0):y(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==u&&s[0]!==`$`&&y(e,s)||Gi(t,s)||y(a,s)||y(r,s)||y(Wi,s)||y(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?y(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function qi(){return Yi(`useSlots`).slots}function Ji(){return Yi(`useAttrs`).attrs}function Yi(e){let t=Ko();return t.setupContext||=os(t)}function Xi(e){return b(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Zi(e,t){return!e||!t?e||t:b(e)&&b(t)?e.concat(t):g({},Xi(e),Xi(t))}var Qi=!0;function $i(e){let t=ra(e),n=e.proxy,r=e.ctx;Qi=!1,t.beforeCreate&&ta(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:p,beforeUpdate:m,updated:h,activated:g,deactivated:_,beforeDestroy:v,beforeUnmount:y,destroyed:x,unmounted:S,render:C,renderTracked:ee,renderTriggered:T,errorCaptured:E,serverPrefetch:te,expose:ne,inheritAttrs:re,components:ie,directives:ae,filters:oe}=t;if(l&&ea(l,r,null),o)for(let e in o){let t=o[e];w(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);D(t)&&(e.data=qt(t))}if(Qi=!0,a)for(let e in a){let t=a[e],i=us({get:w(t)?t.bind(n,n):w(t.get)?t.get.bind(n,n):f,set:!w(t)&&w(t.set)?t.set.bind(n):f});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)na(s[e],r,n,e);if(c){let e=w(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{er(t,e[t])})}u&&ta(u,e,`c`);function O(e,t){b(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(O(bi,d),O(xi,p),O(Si,m),O(Ci,h),O(fi,g),O(pi,_),O(ki,E),O(Oi,ee),O(Di,T),O(wi,y),O(Ti,S),O(Ei,te),b(ne))if(ne.length){let t=e.exposed||={};ne.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};C&&e.render===f&&(e.render=C),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),ae&&(e.directives=ae),te&&zr(e)}function ea(e,t,n=f){b(e)&&(e=ca(e));for(let n in e){let r=e[n],i;i=D(r)?`default`in r?tr(r.from||n,r.default,!0):tr(r.from||n):tr(r),z(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function ta(e,t,n){B(b(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function na(e,t,n,r){let i=r.includes(`.`)?ur(n,r):()=>n[r];if(T(e)){let n=t[e];w(n)&&sr(i,n)}else if(w(e))sr(i,e.bind(n));else if(D(e))if(b(e))e.forEach(e=>na(e,t,n,r));else{let r=w(e.handler)?e.handler.bind(n):t[e.handler];w(r)&&sr(i,r,e)}}function ra(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>ia(c,e,o,!0)),ia(c,t,o)),D(t)&&a.set(t,c),c}function ia(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&ia(e,a,n,!0),i&&i.forEach(t=>ia(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=aa[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var aa={data:oa,props:ua,emits:ua,methods:la,computed:la,beforeCreate:G,created:G,beforeMount:G,mounted:G,beforeUpdate:G,updated:G,beforeDestroy:G,beforeUnmount:G,destroyed:G,unmounted:G,activated:G,deactivated:G,errorCaptured:G,serverPrefetch:G,components:la,directives:la,watch:da,provide:oa,inject:sa};function oa(e,t){return t?e?function(){return g(w(e)?e.call(this,this):e,w(t)?t.call(this,this):t)}:t:e}function sa(e,t){return la(ca(e),ca(t))}function ca(e){if(b(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function G(e,t){return e?[...new Set([].concat(e,t))]:t}function la(e,t){return e?g(Object.create(null),e,t):t}function ua(e,t){return e?b(e)&&b(t)?[...new Set([...e,...t])]:g(Object.create(null),Xi(e),Xi(t??{})):t}function da(e,t){if(!e)return t;if(!t)return e;let n=g(Object.create(null),e);for(let r in t)n[r]=G(e[r],t[r]);return n}function fa(){return{app:null,config:{isNativeTag:p,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var pa=0;function ma(e,t){return function(n,r=null){w(n)||(n=g({},n)),r!=null&&!D(r)&&(r=null);let i=fa(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:pa++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:fs,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&w(e.install)?(a.add(e),e.install(c,...t)):w(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||X(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,ss(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(B(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=ha;ha=c;try{return e()}finally{ha=t}}};return c}}var ha=null;function ga(e,t,n=u){let r=Ko(),i=k(t),a=ue(t),o=_a(e,i),s=mn((o,s)=>{let c,l=u,d;return or(()=>{let t=e[i];j(c,t)&&(c=t,s())}),{get(){return o(),n.get?n.get(c):c},set(e){let o=n.set?n.set(e):e;if(!j(o,c)&&!(l!==u&&j(e,l)))return;let f=r.vnode.props,p=!!(f&&(t in f||i in f||a in f)&&(`onUpdate:${t}`in f||`onUpdate:${i}`in f||`onUpdate:${a}`in f));p||(c=e,s()),r.emit(`update:${t}`,o),j(e,l)&&(j(e,o)&&!j(o,d)||p&&l!==u&&!j(o,c))&&s(),l=e,d=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||u:s,done:!1}:{done:!0}}}},s}var _a=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${k(t)}Modifiers`]||e[`${ue(t)}Modifiers`];function va(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||u,i=n,a=t.startsWith(`update:`),o=a&&_a(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>T(e)?e.trim():e)),o.number&&(i=n.map(me)));let s,c=r[s=A(t)]||r[s=A(k(t))];!c&&a&&(c=r[s=A(ue(t))]),c&&B(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,B(l,e,6,i)}}var ya=new WeakMap;function ba(e,t,n=!1){let r=n?ya:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!w(e)){let r=e=>{let n=ba(e,t,!0);n&&(s=!0,g(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(D(e)&&r.set(e,null),null):(b(a)?a.forEach(e=>o[e]=null):g(o,a),D(e)&&r.set(e,o),o)}function xa(e,t){return!e||!m(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),y(e,t[0].toLowerCase()+t.slice(1))||y(e,ue(t))||y(e,t))}function Sa(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:g}=e,_=qn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(l.call(t,e,u,d,p,f,m)),y=s}else{let e=t;v=Z(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),y=t.props?s:wa(s)}}catch(t){xo.length=0,kn(t,e,1),v=X(J)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(h)&&(y=Ta(y,a)),b=Io(b,y,!1,!0))}return n.dirs&&(b=Io(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Ir(b,n.transition),v=b,qn(_),v}function Ca(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(ko(r)){if(r.type!==J||r.children===`v-if`){if(n)return;n=r}}else return}return n}var wa=e=>{let t;for(let n in e)(n===`class`||n===`style`||m(n))&&((t||={})[n]=e[n]);return t},Ta=(e,t)=>{let n={};for(let r in e)(!h(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ea(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Da(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Oa(o,r,n)&&!xa(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||Da(r,o,l):!!o;return!1}function Da(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Oa(t,e,a)&&!xa(n,a))return!0}return!1}function Oa(e,t,n){let r=e[n],i=t[n];return n===`style`&&D(r)&&D(i)?!ke(r,i):r!==i}function ka({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Aa={},ja=()=>Object.create(Aa),Ma=e=>Object.getPrototypeOf(e)===Aa;function Na(e,t,n,r=!1){let i={},a=ja();e.propsDefaults=Object.create(null),Fa(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Jt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Pa(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=L(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(xa(e.emitsOptions,o))continue;let u=t[o];if(c)if(y(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=k(o);i[t]=Ia(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Fa(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!y(t,a)&&((r=ue(a))===a||!y(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ia(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!y(t,e))&&(delete a[e],l=!0)}l&&ut(e.attrs,`set`,``)}function Fa(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(O(c))continue;let l=t[c],u;i&&y(i,u=k(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:xa(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=L(n),r=s||u;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Ia(i,t,s,r[s],e,!y(r,s))}}return o}function Ia(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=y(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&w(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Yo(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ue(n))&&(r=!0))}return r}var La=new WeakMap;function Ra(e,t,n=!1){let r=n?La:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!w(e)){let r=e=>{c=!0;let[n,r]=Ra(e,t,!0);g(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return D(e)&&r.set(e,d),d;if(b(a))for(let e=0;e<a.length;e++){let t=k(a[e]);za(t)&&(o[t]=u)}else if(a)for(let e in a){let t=k(e);if(za(t)){let n=a[e],r=o[t]=b(n)||w(n)?{type:n}:g({},n),i=r.type,c=!1,l=!0;if(b(i))for(let e=0;e<i.length;++e){let t=i[e],n=w(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=w(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||y(r,`default`))&&s.push(t)}}let l=[o,s];return D(e)&&r.set(e,l),l}function za(e){return e[0]!==`$`&&!O(e)}var Ba=e=>e===`_`||e===`_ctx`||e===`$stable`,Va=e=>b(e)?e.map(Z):[Z(e)],Ha=(e,t,n)=>{if(t._n)return t;let r=Zn((...e)=>Va(t(...e)),n);return r._c=!1,r},Ua=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Ba(n))continue;let i=e[n];if(w(i))t[n]=Ha(n,i,r);else if(i!=null){let e=Va(i);t[n]=()=>e}}},Wa=(e,t)=>{let n=Va(t);e.slots.default=()=>n},Ga=(e,t,n)=>{for(let r in t)(n||!Ba(r))&&(e[r]=t[r])},Ka=(e,t,n)=>{let r=e.slots=ja();if(e.vnode.shapeFlag&32){let e=t._;e?(Ga(r,t,n),n&&pe(r,`_`,e,!0)):Ua(t,r)}else t&&Wa(e,t)},qa=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=u;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:Ga(i,t,n):(a=!t.$stable,Ua(t,i)),o=t}else t&&(Wa(e,t),o={default:1});if(a)for(let e in i)!Ba(e)&&o[e]==null&&delete i[e]},K=go;function Ja(e){return Xa(e)}function Ya(e){return Xa(e,Zr)}function Xa(e,t){let n=_e();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=f,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ao(e,t)&&(r=ge(e),A(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case yo:y(e,t,n,r);break;case J:b(e,t,n,r);break;case bo:e??x(t,n,r,o);break;case q:re(e,t,n,r,i,a,o,s,c);break;default:d&1?ee(e,t,n,r,i,a,o,s,c):d&6?ie(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?Ur(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Ur(e.ref,null,a,e,!0)},y=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},b=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=h(e),r(e,n,i),e=a;r(t,n,i)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),i(e),e=n;i(t)},ee=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)w(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),D(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},w=(e,t,n,i,s,c,l,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=o(e.type,c,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,i,s,Za(e,c),l,u),_&&$n(e,null,i,`created`),T(d,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!O(e)&&a(d,e,null,m[e],c,i);`value`in m&&a(d,`value`,null,m.value,c),(f=m.onVnodeBeforeMount)&&Q(f,i,e)}_&&$n(e,null,i,`beforeMount`);let v=$a(s,g);v&&g.beforeEnter(d),r(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&K(()=>{try{f&&Q(f,i,e),v&&g.enter(d),_&&$n(e,null,i,`mounted`)}finally{}},s)},T=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||ao(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;T(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},E=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Bo(e[l]):Z(e[l]);v(null,c,t,n,r,i,a,o,s)}},D=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let m=e.props||u,h=t.props||u,g;if(n&&Qa(n,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,n,t,e),f&&$n(t,e,n,`beforeUpdate`),n&&Qa(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(l=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(c,``),d?te(e.dynamicChildren,d,c,n,r,Za(t,i),o):s||k(e,t,c,null,n,r,Za(t,i),o,!1),l>0){if(l&16)ne(c,m,h,n,i);else if(l&2&&m.class!==h.class&&a(c,`class`,null,h.class,i),l&4&&a(c,`style`,m.style,h.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=m[r],s=h[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&p(c,t.children)}else!s&&d==null&&ne(c,m,h,n,i);((g=h.onVnodeUpdated)||f)&&K(()=>{g&&Q(g,n,t,e),f&&$n(t,e,n,`updated`)},r)},te=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===q||!Ao(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},ne=(e,t,n,r,i)=>{if(t!==n){if(t!==u)for(let o in t)!O(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(O(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},re=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),E(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(te(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&eo(e,t,!0)):k(e,t,n,f,a,o,c,l,u)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ae(t,n,r,i,a,o,c):oe(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=Go(e,r,i);if(li(e)&&(s.ctx.renderer=be),$o(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o),!e.el){let r=s.subTree=X(J);b(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if(Ea(e,t,n))if(r.asyncDep&&!r.asyncResolved){ce(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=no(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{K(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Qa(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&fe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,s,t,c),Qa(e,!0);let f=Sa(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ge(p),e,i,a),t.el=f.el,u===null&&ka(e,f.el),r&&K(r,i),(d=t.props&&t.props.onVnodeUpdated)&&K(()=>Q(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=oi(t);if(Qa(e,!1),l&&fe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),Qa(e,!0),s&&Se){let t=()=>{e.subTree=Sa(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Sa(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&K(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;K(()=>Q(o,d,e),i)}(t.shapeFlag&256||d&&oi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&K(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new ze(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>zn(u),Qa(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Pa(e,t.props,r,n),qa(e,t.children,n),$e(),Hn(e),et()},k=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){ue(l,d,n,r,i,a,o,s,c);return}else if(f&256){le(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&he(l,i,a),d!==l&&p(n,d)):u&16?m&16?ue(l,d,n,r,i,a,o,s,c):he(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},le=(e,t,n,r,i,a,o,s,c)=>{e||=d,t||=d;let l=e.length,u=t.length,f=Math.min(l,u),p;for(p=0;p<f;p++){let r=t[p]=c?Bo(t[p]):Z(t[p]);v(e[p],r,n,null,i,a,o,s,c)}l>u?he(e,i,a,!0,!1,f):E(t,n,r,i,a,o,s,c,f)},ue=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,f=e.length-1,p=u-1;for(;l<=f&&l<=p;){let r=e[l],u=t[l]=c?Bo(t[l]):Z(t[l]);if(Ao(r,u))v(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=f&&l<=p;){let r=e[f],l=t[p]=c?Bo(t[p]):Z(t[p]);if(Ao(r,l))v(r,l,n,null,i,a,o,s,c);else break;f--,p--}if(l>f){if(l<=p){let e=p+1,d=e<u?t[e].el:r;for(;l<=p;)v(null,t[l]=c?Bo(t[l]):Z(t[l]),n,d,i,a,o,s,c),l++}}else if(l>p)for(;l<=f;)A(e[l],i,a,!0),l++;else{let m=l,h=l,g=new Map;for(l=h;l<=p;l++){let e=t[l]=c?Bo(t[l]):Z(t[l]);e.key!=null&&g.set(e.key,l)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(l=0;l<b;l++)C[l]=0;for(l=m;l<=f;l++){let r=e[l];if(y>=b){A(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Ao(r,t[_])){u=_;break}u===void 0?A(r,i,a,!0):(C[u-h]=l+1,u>=S?S=u:x=!0,v(r,t[u],n,null,i,a,o,s,c),y++)}let ee=x?to(C):d;for(_=ee.length-1,l=b-1;l>=0;l--){let e=h+l,d=t[e],f=t[e+1],p=e+1<u?f.el||io(f):r;C[l]===0?v(null,d,n,p,i,a,o,s,c):x&&(_<0||l!==ee[_]?de(d,n,p,2):_--)}}},de=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){de(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,be);return}if(c===q){r(s,t,n);for(let e=0;e<u.length;e++)de(u[e],t,n,a);r(e.anchor,t,n);return}if(c===bo){S(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.persisted&&!s[U]?r(s,t,n):(l.beforeEnter(s),r(s,t,n),K(()=>l.enter(s),o));else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{let e=s._isLeaving||!!s[U];s._isLeaving&&s[U](!0),l.persisted&&!e?u():a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},A=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&($e(),Ur(s,null,n,e,!0),et()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!oi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Q(_,t,e),u&6)me(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&$n(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==q||d>0&&d&64)?he(l,t,n,!1,!0):(a===q&&d&384||!i&&u&16)&&he(c,t,n),r&&j(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&K(()=>{_&&Q(_,t,e),h&&$n(e,null,t,`unmounted`),v&&(e.el=null)},n)},j=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===q){pe(n,r);return}if(t===bo){C(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},pe=(e,t)=>{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},me=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ro(c),ro(l),r&&fe(r),i.stop(),a&&(a.flags|=8,A(o,e,t,n)),s&&K(s,t),K(()=>{e.isUnmounted=!0},t)},he=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)A(e[o],t,n,r,i)},ge=e=>{if(e.shapeFlag&6)return ge(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[fr];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(A(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,Hn(r),Un(),!1)},be={p:v,um:A,m:de,r:j,mt:ae,mc:E,pc:k,pbc:te,n:ge,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:ye,hydrate:xe,createApp:ma(ye,xe)}}function Za({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Qa({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function $a(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function eo(e,t,n=!1){let r=e.children,i=t.children;if(b(r)&&b(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Bo(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&eo(t,a)),a.type===yo&&(a.patchFlag===-1&&(a=i[e]=Bo(a)),a.el=t.el),a.type===J&&!a.el&&(a.el=t.el)}}function to(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function no(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:no(t)}function ro(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function io(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?io(t.subTree):null}var ao=e=>e.__isSuspense,oo=0,so={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)lo(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}uo(e,t,n,r,i,o,s,c,l)}},hydrate:po,normalize:mo};function co(e,t){let n=e.props&&e.props[t];w(n)&&n()}function lo(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=fo(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(co(e,`onPending`),co(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),_o(f,e.ssFallback)):f.resolve(!1,!0)}function uo(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,Ao(h,f)?(c(h,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():g&&(_||(c(m,p,n,r,i,null,a,o,s),_o(d,p)))):(d.pendingId=oo++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(c(m,p,n,r,i,null,a,o,s),_o(d,p))):m&&Ao(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&Ao(m,f))c(m,f,n,r,i,d,a,o,s),_o(d,f);else if(co(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=oo++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function fo(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=vo(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?he(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:oo++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),Vn(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&K(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,_o(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){y.effects.push(...c),S=!0;break}y=y.parent}!S&&!g&&Vn(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),co(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;co(t,`onFallback`);let o=m(n),l=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(d(null,e,i,o,r,null,a,s,c),_o(x,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{kn(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;Xo(),e.asyncResolved=!0;let{vnode:s}=e;ts(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),ka(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function po(e,t,n,r,i,a,o,s,c){let l=t.suspense=fo(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function mo(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ho(r?n.default:n),e.ssFallback=r?ho(n.fallback):X(J)}function ho(e){let t;if(w(e)){let n=wo&&e._c;n&&(e._d=!1,So()),e=e(),n&&(e._d=!0,t=Y,Co())}return b(e)&&(e=Ca(e)),e=Z(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function go(e,t){t&&t.pendingBranch?b(e)?t.effects.push(...e):t.effects.push(e):Vn(e)}function _o(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,ka(r,i))}function vo(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var q=Symbol.for(`v-fgt`),yo=Symbol.for(`v-txt`),J=Symbol.for(`v-cmt`),bo=Symbol.for(`v-stc`),xo=[],Y=null;function So(e=!1){xo.push(Y=e?null:[])}function Co(){xo.pop(),Y=xo[xo.length-1]||null}var wo=1;function To(e,t=!1){wo+=e,e<0&&Y&&t&&(Y.hasOnce=!0)}function Eo(e){return e.dynamicChildren=wo>0?Y||d:null,Co(),wo>0&&Y&&Y.push(e),e}function Do(e,t,n,r,i,a){return Eo(No(e,t,n,r,i,a,!0))}function Oo(e,t,n,r,i){return Eo(X(e,t,n,r,i,!0))}function ko(e){return e?e.__v_isVNode===!0:!1}function Ao(e,t){return e.type===t.type&&e.key===t.key}var jo=({key:e})=>e??null,Mo=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:T(e)||z(e)||w(e)?{i:H,r:e,k:t,f:!!n}:e);function No(e,t=null,n=null,r=0,i=null,a=e===q?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jo(t),ref:t&&Mo(t),scopeId:Kn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:H};return s?(Vo(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=T(n)?8:16),wo>0&&!o&&Y&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&Y.push(c),c}var X=Po;function Po(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Ni)&&(e=J),ko(e)){let r=Io(e,t,!0);return n&&Vo(r,n),wo>0&&!a&&Y&&(r.shapeFlag&6?Y[Y.indexOf(e)]=r:Y.push(r)),r.patchFlag=-2,r}if(ls(e)&&(e=e.__vccOpts),t){t=Fo(t);let{class:e,style:n}=t;e&&!T(e)&&(t.class=Ce(e)),D(n)&&(en(n)&&!b(n)&&(n=g({},n)),t.style=ve(n))}let o=T(e)?1:ao(e)?128:pr(e)?64:D(e)?4:w(e)?2:0;return No(e,t,n,r,i,o,a,!0)}function Fo(e){return e?en(e)||Ma(e)?g({},e):e:null}function Io(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Ho(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&jo(l),ref:t&&t.ref?n&&a?b(a)?a.concat(Mo(t)):[a,Mo(t)]:Mo(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==q?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Io(e.ssContent),ssFallback:e.ssFallback&&Io(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Ir(u,c.clone(u)),u}function Lo(e=` `,t=0){return X(yo,null,e,t)}function Ro(e,t){let n=X(bo,null,e);return n.staticCount=t,n}function zo(e=``,t=!1){return t?(So(),Oo(J,null,e)):X(J,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(J):b(e)?X(q,null,e.slice()):ko(e)?Bo(e):X(yo,null,String(e))}function Bo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Io(e)}function Vo(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(b(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Vo(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Ma(t)?t._ctx=H:r===3&&H&&(H.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(w(t)){if(r&65){Vo(e,{default:t});return}t={default:t,_ctx:H},n=32}else t=String(t),r&64?(n=16,t=[Lo(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ho(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=Ce([t.class,r.class]));else if(e===`style`)t.style=ve([t.style,r.style]);else if(m(e)){let n=t[e],i=r[e];i&&n!==i&&!(b(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!h(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){B(e,t,7,[n,r])}var Uo=fa(),Wo=0;function Go(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Uo,a={uid:Wo++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Pe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ra(r,i),emitsOptions:ba(r,i),emit:null,emitted:null,propsDefaults:u,inheritAttrs:r.inheritAttrs,ctx:u,data:u,props:u,attrs:u,slots:u,refs:u,setupState:u,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=va.bind(null,a),e.ce&&e.ce(a),a}var $=null,Ko=()=>$||H,qo,Jo;{let e=_e(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};qo=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),Jo=t(`__VUE_SSR_SETTERS__`,e=>Qo=e)}var Yo=e=>{let t=$;return qo(e),e.scope.on(),()=>{e.scope.off(),qo(t)}},Xo=()=>{$&&$.scope.off(),qo(null)};function Zo(e){return e.vnode.shapeFlag&4}var Qo=!1;function $o(e,t=!1,n=!1){t&&Jo(t);let{props:r,children:i}=e.vnode,a=Zo(e);Na(e,r,a,t),Ka(e,i,n||t);let o=a?es(e,t):void 0;return t&&Jo(!1),o}function es(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ki);let{setup:r}=n;if(r){$e();let n=e.setupContext=r.length>1?os(e):null,i=Yo(e),a=On(r,e,0,[e.props,n]),o=te(a);if(et(),i(),(o||e.sp)&&!oi(e)&&zr(e),o){if(a.then(Xo,Xo),t)return a.then(n=>{ts(e,n,t)}).catch(t=>{kn(t,e,0)});e.asyncDep=a}else ts(e,a,t)}else is(e,t)}function ts(e,t,n){w(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:D(t)&&(e.setupState=fn(t)),is(e,n)}var ns,rs;function is(e,t,n){let r=e.type;if(!e.render){if(!t&&ns&&!r.render){let t=r.template||ra(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=ns(t,g(g({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||f,rs&&rs(e)}{let t=Yo(e);$e();try{$i(e)}finally{et(),t()}}}var as={get(e,t){return F(e,`get`,``),e[t]}};function os(e){return{attrs:new Proxy(e.attrs,as),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ss(e){return e.exposed?e.exposeProxy||=new Proxy(fn(tn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wi)return Wi[n](e)},has(e,t){return t in e||t in Wi}}):e.proxy}function cs(e,t=!0){return w(e)?e.displayName||e.name:e.name||t&&e.__name}function ls(e){return w(e)&&`__vccOpts`in e}var us=(e,t)=>xn(e,t,Qo);function ds(e,t,n){try{To(-1);let r=arguments.length;return r===2?D(t)&&!b(t)?ko(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ko(n)&&(n=[n]),X(e,t,n))}finally{To(1)}}var fs=`3.5.40`;function ps(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?ps(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var ms=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function hs(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>hs(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function gs(e,t,n){if(e.length>0)return hs(e,t,0,ms(n))}function _s(e,t,n){if(e.length>0){let r=ms(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function vs(e,t){for(let n of[...e])n(t)}var ys=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=ps(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=ps(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(gs,e,t)}callHookParallel(e,...t){return this.callHookWith(_s,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&vs(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&vs(this._after,r)}):(this._after&&r&&vs(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function bs(){return new ys}var xs=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(!(!n||n.length===0))return hs(n,t,0)}};function Ss(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.(`node:async_hooks`)?.AsyncLocalStorage}function Cs(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||Ss();t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=e=>i&&typeof e==`object`&&e?{__unctx_weak:new WeakRef(e)}:e,o=e=>e&&e.__unctx_weak?e.__unctx_weak.deref():e,s=()=>{if(i){let e=i.getStore();if(e!==void 0)return o(e)}return t};return{use:()=>{let e=s();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>s(),set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,o)=>{r(e),t=e;try{return i?i.run(a(e),o):o()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let o=()=>{t=e},s=()=>t===e?o:void 0;As.add(s);try{let o=i?i.run(a(e),r):r();return n||(t=void 0),await o}finally{As.delete(s)}}}}function ws(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=Cs({...e,...r})),t[n]}}}var Ts=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},Es=`__unctx__`,Ds=Ts[Es]||(Ts[Es]=ws()),Os=(e,t={})=>Ds.get(e,t),ks=`__unctx_async_handlers__`,As=Ts[ks]||(Ts[ks]=new Set);function js(e){let t=[];for(let e of As){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}var Ms={meta:[{name:`viewport`,content:`width=device-width,initial-scale=1`},{charset:`utf-8`},{name:`description`,content:`DevTools for Vite`},{property:`og:title`,content:`Vite DevTools`},{property:`og:description`,content:`DevTools for Vite`}],link:[{rel:`icon`,type:`image/svg+xml`,href:`/favicon.svg`}],style:[],script:[],noscript:[],title:`Vite DevTools`,charset:`utf-8`,viewport:`width=device-width,initial-scale=1`,htmlAttrs:{lang:`en`,class:`bg-dots`}},Ns={id:`__nuxt-loader`},Ps={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},Fs=`#__nuxt`,Is=`nuxt-app`,Ls=36e5,Rs=`vite:preloadError`;function zs(e=`nuxt-app`){return Os(e,{asyncContext:!1})}var Bs=`__nuxt_plugin`;function Vs(e){let t=0,n={_id:e.id||`nuxt-app`,_scope:Fe(),provide:void 0,versions:{get nuxt(){return`4.5.0`},get vue(){return n.vueApp.version}},payload:Jt({...e.ssrContext?.payload||{},data:Jt({}),state:qt({}),once:new Set,_errors:Jt({})}),static:{data:{}},runWithContext(e){return n._scope.active&&!Ie()?n._scope.run(()=>Gs(n,e)):Gs(n,e)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return n.isHydrating=!1,n.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:Jt({}),_state:Jt({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=bs(),n.hook=n.hooks.hook;{let e=n.hooks.callHook;n.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}n.callHook=n.hooks.callHook,n.provide=(e,t)=>{let r=`$`+e;Ys(n,r,t),Ys(n.vueApp.config.globalProperties,r,t)},Ys(n.vueApp,`$nuxt`,n),Ys(n.vueApp.config.globalProperties,`$nuxt`,n);{window.addEventListener(Rs,e=>{n.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=qs;let e=n.hook(`app:error`,(...e)=>{c.NUXT_E1005({cause:e.length>1?e:e[0]})});n.hook(`app:mounted`,e)}let r=n.payload.config;return n.provide(`config`,r),n}async function Hs(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function Us(e,t){let n;for(let r of t)try{await Hs(e,r)}catch(t){if(!e.payload.error)throw t;n||=t}if(n)throw e.payload.error||n}function Ws(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Bs]:!0,_name:t})}function Gs(e,t,n){return zs(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function Ks(e){let t;return nr()&&(t=Ko()?.appContext.app.$nuxt),t||=zs(e).tryUse(),t||null}function qs(e){let t=Ks(e);if(!t)throw c.NUXT_E1001();return t}function Js(e){return qs().$config}function Ys(e,t,n){Object.defineProperty(e,t,{get:()=>n})}export{Ri as $,o as $t,Lo as A,cn as At,Zi as B,h as Bt,Oo as C,rn as Ct,Ja as D,vn as Dt,Ya as E,an as Et,Fo as F,ue as Ft,pi as G,E as Gt,Ln as H,m as Ht,ds as I,De as It,Ti as J,we as Jt,ki as K,me as Kt,nr as L,fe as Lt,si as M,k as Mt,Rr as N,de as Nt,zi as O,hn as Ot,Ko as P,g as Pt,Jn as Q,c as Qt,tr as R,b as Rt,No as S,Yt as St,Do as T,Xt as Tt,fi as U,Ee as Ut,Ho as V,D as Vt,wi as W,T as Wt,Yn as X,je as Xt,So as Y,ve as Yt,er as Z,he as Zt,ui as _,$t as _t,Js as a,Ji as at,B as b,Le as bt,Ns as c,Br as ct,Fs as d,Zn as dt,s as en,Bi as et,js as f,Qn as ft,q as g,Ie as gt,Dr as h,Fe as ht,qs as i,Hi as it,X as j,ln as jt,Ro as k,un as kt,Ps as l,sr as lt,jr as m,mn as mt,Vs as n,a as nn,Fi as nt,Ms as o,ga as ot,xs as p,Xn as pt,xi as q,Ce as qt,Ws as r,Pi as rt,Is as s,qi as st,Us as t,i as tn,Mi as tt,Ls as u,ar as ut,so as v,z as vt,zo as w,Jt as wt,us as x,qt as xt,Sr as y,tn as yt,ko as z,w as zt};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{N as e,T as t,Y as n}from"./CPH0XTIl.js";import{u as r}from"./DLDDv_7k.js";var i={class:`p10 flex flex-col items-center justify-center`},a=e({__name:`index`,setup(e){return r(`/home`),(e,r)=>(n(),t(`div`,i))}});export{a as default};
|