@nuxt/devtools 4.0.0-alpha.3 → 4.0.0-alpha.6
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/chunks/analyze-build.mjs +0 -1
- package/dist/chunks/module-main.mjs +105 -100
- package/dist/chunks/vite-inspect.mjs +8 -20
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/__blank-ekrx7eve.js +1 -0
- package/dist/client/_nuxt/analyze-build-gtjxxh9s.js +1 -0
- package/dist/client/_nuxt/assets-fxuoynew.js +6 -0
- package/dist/client/_nuxt/auth-required-panel-gwrodxrm.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/386e78c8-3698-49a8-a7c5-53c44542b939.json +1 -0
- package/dist/client/_nuxt/client-jwk7bkap.js +1 -0
- package/dist/client/_nuxt/{code-diff-o5b2z2ie.js → code-diff-d1bf4mlz.js} +4 -4
- package/dist/client/_nuxt/code-snippets-nodldh90.js +1 -0
- package/dist/client/_nuxt/components-ibu6c1zd.js +1 -0
- package/dist/client/_nuxt/composable-item-lb3qexrh.js +1 -0
- package/dist/client/_nuxt/custom-_name_-dt22ybu3.js +1 -0
- package/dist/client/_nuxt/data-schema-button-m4wb470q.js +1 -0
- package/dist/client/_nuxt/data-schema-drawer-5ccj6aug.js +2 -0
- package/dist/client/_nuxt/debug-nxl66qh3.js +1 -0
- package/dist/client/_nuxt/default-ibmlv6hu.js +1 -0
- package/dist/client/_nuxt/dist-nsuzcp77.js +1 -0
- package/dist/client/_nuxt/duration-display-cfe3xsok.js +1 -0
- package/dist/client/_nuxt/entry.css-m21ytcnz.css +1 -0
- package/dist/client/_nuxt/error-404-izmgsqlm.js +1 -0
- package/dist/client/_nuxt/error-404.css-l9jcssuy.css +1 -0
- package/dist/client/_nuxt/{error-500-oozftcqy.js → error-500-fejd4grh.js} +1 -1
- package/dist/client/_nuxt/error-500.css-he4ew8b1.css +1 -0
- package/dist/client/_nuxt/{error-knm3fbzu.js → error-mm873c55.js} +2 -2
- package/dist/client/_nuxt/filepath-item-calgslzq.js +1 -0
- package/dist/client/_nuxt/full-pesi6bu3.js +1 -0
- package/dist/client/_nuxt/h0fobd1u.js +4 -0
- package/dist/client/_nuxt/help-fab-ietvwhig.js +1 -0
- package/dist/client/_nuxt/hooks-mqgelnks.js +1 -0
- package/dist/client/_nuxt/imports-bofdhcsr.js +1 -0
- package/dist/client/_nuxt/launch-page-i8mgxym7.js +1 -0
- package/dist/client/_nuxt/modules-b6uha2ss.js +1 -0
- package/dist/client/_nuxt/nbadge-ft1i3ddy.js +1 -0
- package/dist/client/_nuxt/ncheckbox-gl62y715.js +1 -0
- package/dist/client/_nuxt/ncode-block-ksrq5ppu.js +2 -0
- package/dist/client/_nuxt/{ncode-block.css-o2ixs97j.css → ncode-block.css-ivoxtfjk.css} +1 -1
- package/dist/client/_nuxt/ndrawer-evv584t1.js +1 -0
- package/dist/client/_nuxt/ndropdown-dqqc8bnq.js +1 -0
- package/dist/client/_nuxt/nicon-title-f3ho3hah.js +1 -0
- package/dist/client/_nuxt/nlink-endeyoly.js +1 -0
- package/dist/client/_nuxt/nmarkdown-iw4stzqp.js +1 -0
- package/dist/client/_nuxt/nnavbar-n8fcnalx.js +1 -0
- package/dist/client/_nuxt/none-gr24yqiq.js +1 -0
- package/dist/client/_nuxt/nsection-block-n5u7wj9x.js +1 -0
- package/dist/client/_nuxt/nsection-block.css-h1lgpwgm.css +1 -0
- package/dist/client/_nuxt/nselect-kdzalcm2.js +1 -0
- package/dist/client/_nuxt/nselect-tabs-e440xayq.js +1 -0
- package/dist/client/_nuxt/nswitch-pdw73751.js +1 -0
- package/dist/client/_nuxt/ntip-m8x8y44j.js +1 -0
- package/dist/client/_nuxt/nuxt-kphganvs.js +1 -0
- package/dist/client/_nuxt/open-graph-mtq8qyx5.js +3 -0
- package/dist/client/_nuxt/overview-mgkokpl9.js +1 -0
- package/dist/client/_nuxt/pages-g3tcvbsn.js +1 -0
- package/dist/client/_nuxt/pages-lk0hxlsc.js +1 -0
- package/dist/client/_nuxt/payload-ovd8emqe.js +1 -0
- package/dist/client/_nuxt/pinia-e6em75yg.js +1 -0
- package/dist/client/_nuxt/plugins-ojph2z4c.js +1 -0
- package/dist/client/_nuxt/ready-b5u27bv4.js +1 -0
- package/dist/client/_nuxt/render-tree-iwtso0n9.js +1 -0
- package/dist/client/_nuxt/rolldown-runtime-imbltlrc.js +1 -0
- package/dist/client/_nuxt/rpc-ewzip6fb.js +4 -0
- package/dist/client/_nuxt/runtime-configs-gyhmrfcz.js +1 -0
- package/dist/client/_nuxt/server-discovery-cfu428ir.js +1 -0
- package/dist/client/_nuxt/server-route-inputs-hhxdu10p.js +1 -0
- package/dist/client/_nuxt/server-routes-efc7olve.js +7 -0
- package/dist/client/_nuxt/server-tasks-o59rfww6.js +1 -0
- package/dist/client/_nuxt/settings-c6tbo50r.js +1 -0
- package/dist/client/_nuxt/stacktrace-list-c5b46nul.js +1 -0
- package/dist/client/_nuxt/{state-components-pfh0w3gz.js → state-components-eaw2evd3.js} +1 -1
- package/dist/client/_nuxt/state-editor-jm35t8p1.js +1 -0
- package/dist/client/_nuxt/state-modules-oox7nhib.js +1 -0
- package/dist/client/_nuxt/storage-fdd2zc94.js +1 -0
- package/dist/client/_nuxt/{storage-options-fmhmng6m.js → storage-options-ho965h55.js} +1 -1
- package/dist/client/_nuxt/terminals-b8awmi75.js +1 -0
- package/dist/client/_nuxt/timeline-nsh72kov.js +31 -0
- package/dist/client/_nuxt/unocss-runtime-mcb0a6oh.js +1 -0
- package/dist/client/_nuxt/utils-hgmynvjd.js +2 -0
- package/dist/client/_nuxt/vendor/json-editor-vue-mkw4apmc.js +3869 -0
- package/dist/client/_nuxt/vendor/{json-editor-vue.css-lkbe0qhh.css → json-editor-vue.css-lb1ewor6.css} +1 -1
- package/dist/client/_nuxt/vendor/markdown-it-gg8o3tmh.js +14 -0
- package/dist/client/_nuxt/vendor/{quicktype-core-bxh3g3c2.js → quicktype-core-ozubcbyl.js} +50 -50
- package/dist/client/_nuxt/vendor/shiki-c7z35hpo.js +293 -0
- package/dist/client/_nuxt/vendor/unocss-mfjt4fak.js +3 -0
- package/dist/client/_nuxt/vendor/unocss.css-flyrgbwp.css +1 -0
- package/dist/client/_nuxt/vendor/vis-izx2wksk.js +26 -0
- package/dist/client/_nuxt/vendor/{xterm-g6v3jqah.js → xterm-eb5atty5.js} +3 -3
- package/dist/client/_nuxt/vendor/{xterm.css-jqmddlol.css → xterm.css-j9zpjwmg.css} +1 -1
- package/dist/client/_nuxt/virtual-files-met9zkti.js +1 -0
- package/dist/client/_nuxt/vue-devtools-bl144b70.js +4 -0
- package/dist/client/_nuxt/vue-router-cnnrtyb0.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/devtools.client.js +1 -1
- package/dist/runtime/plugins/view/client.js +1 -1
- package/dist/shared/{devtools.DClER4Dv.mjs → devtools.nEotcg1R.mjs} +1 -1
- package/dist/webcomponents/index.mjs +23 -27
- package/package.json +50 -49
- package/dist/client/_nuxt/__blank-hkoz1rvj.js +0 -1
- package/dist/client/_nuxt/analyze-build-kqtn42f3.js +0 -1
- package/dist/client/_nuxt/assets-pdpavuv7.js +0 -6
- package/dist/client/_nuxt/auth-required-panel-eykuzska.js +0 -1
- package/dist/client/_nuxt/builds/meta/424f9fd7-bd33-4b1e-8498-929c14b6ad71.json +0 -1
- package/dist/client/_nuxt/client-coqmopwz.js +0 -1
- package/dist/client/_nuxt/code-snippets-lje00rjy.js +0 -1
- package/dist/client/_nuxt/components-mkmd03mc.js +0 -1
- package/dist/client/_nuxt/composable-item-lw4aqry9.js +0 -1
- package/dist/client/_nuxt/custom-_name_-h2d0kmts.js +0 -1
- package/dist/client/_nuxt/data-schema-button-g6gxhvpu.js +0 -1
- package/dist/client/_nuxt/data-schema-drawer-h229qgae.js +0 -2
- package/dist/client/_nuxt/debug-ezvak7q9.js +0 -1
- package/dist/client/_nuxt/default-f17ja76u.js +0 -1
- package/dist/client/_nuxt/dev-auth-h6radlhi.js +0 -1
- package/dist/client/_nuxt/dist-duc3zu0y.js +0 -1
- package/dist/client/_nuxt/dist-f16b9vaq.js +0 -1
- package/dist/client/_nuxt/dist-mnod32r1.js +0 -1
- package/dist/client/_nuxt/duration-display-lgba3ul7.js +0 -1
- package/dist/client/_nuxt/entry.css-d9crsfkn.css +0 -1
- package/dist/client/_nuxt/error-404-j6bw0i0a.js +0 -1
- package/dist/client/_nuxt/error-404.css-op0yx84h.css +0 -1
- package/dist/client/_nuxt/error-500.css-f169vd1x.css +0 -1
- package/dist/client/_nuxt/filepath-item-o7vxzdbh.js +0 -1
- package/dist/client/_nuxt/full-h1zczfpi.js +0 -1
- package/dist/client/_nuxt/h9sdxxta.js +0 -4
- package/dist/client/_nuxt/help-fab-ekagn9f2.js +0 -1
- package/dist/client/_nuxt/hooks-k3agmywq.js +0 -1
- package/dist/client/_nuxt/imports-gw4s306d.js +0 -1
- package/dist/client/_nuxt/launch-page-jvtn5jef.js +0 -1
- package/dist/client/_nuxt/mitt.es-pc7qwi6p.js +0 -1
- package/dist/client/_nuxt/modules-b3ta2mlp.js +0 -1
- package/dist/client/_nuxt/nbadge-ia2sg78l.js +0 -1
- package/dist/client/_nuxt/ncard-bpchuz30.js +0 -1
- package/dist/client/_nuxt/ncheckbox-dqqmiqln.js +0 -1
- package/dist/client/_nuxt/ncode-block-lbvhz228.js +0 -2
- package/dist/client/_nuxt/ndrawer-pdhwqkg2.js +0 -1
- package/dist/client/_nuxt/ndropdown-o0hg8oi1.js +0 -1
- package/dist/client/_nuxt/nicon-o8vtl3nv.js +0 -1
- package/dist/client/_nuxt/nicon-title-f04kekaa.js +0 -1
- package/dist/client/_nuxt/nlink-flm1s7uj.js +0 -1
- package/dist/client/_nuxt/nmarkdown-cu68ujlp.js +0 -1
- package/dist/client/_nuxt/nnavbar-iwf1qrzf.js +0 -1
- package/dist/client/_nuxt/none-b8do2yyn.js +0 -1
- package/dist/client/_nuxt/nsection-block-oc6icst0.js +0 -1
- package/dist/client/_nuxt/nsection-block.css-h05mpq8x.css +0 -1
- package/dist/client/_nuxt/nselect-k14i70o0.js +0 -1
- package/dist/client/_nuxt/nselect-tabs-gmel1seg.js +0 -1
- package/dist/client/_nuxt/nswitch-kprd7bwp.js +0 -1
- package/dist/client/_nuxt/ntip-erjk5wo4.js +0 -1
- package/dist/client/_nuxt/nuxt-bl8ryhiw.js +0 -1
- package/dist/client/_nuxt/nuxt-link-h8a2u03t.js +0 -1
- package/dist/client/_nuxt/open-graph-ipvg6gyk.js +0 -3
- package/dist/client/_nuxt/overview-fbg2mjz1.js +0 -1
- package/dist/client/_nuxt/pages-jx3r1z1o.js +0 -1
- package/dist/client/_nuxt/pages-nqnq5f5t.js +0 -1
- package/dist/client/_nuxt/payload-f7ar9blu.js +0 -1
- package/dist/client/_nuxt/pinia-in67b2ff.js +0 -1
- package/dist/client/_nuxt/plugins-foc4m9cu.js +0 -1
- package/dist/client/_nuxt/ready-nmtplnq5.js +0 -1
- package/dist/client/_nuxt/render-tree-mzpnvjww.js +0 -1
- package/dist/client/_nuxt/rolldown-runtime-oipoa1or.js +0 -1
- package/dist/client/_nuxt/rpc-ga26o8l5.js +0 -1
- package/dist/client/_nuxt/runtime-configs-f691dtpr.js +0 -1
- package/dist/client/_nuxt/server-discovery-fa3lq0oe.js +0 -1
- package/dist/client/_nuxt/server-route-inputs-kx5eivj6.js +0 -1
- package/dist/client/_nuxt/server-routes-ozsawrbd.js +0 -7
- package/dist/client/_nuxt/server-tasks-sykxh8ji.js +0 -1
- package/dist/client/_nuxt/settings-eufw79s0.js +0 -1
- package/dist/client/_nuxt/splitpanes.es-krbzt5ww.js +0 -1
- package/dist/client/_nuxt/stacktrace-list-ilvbql3y.js +0 -1
- package/dist/client/_nuxt/state-editor-c9yn0k8x.js +0 -1
- package/dist/client/_nuxt/state-modules-c35cpfly.js +0 -1
- package/dist/client/_nuxt/state-tabs-0wkipn6s.js +0 -1
- package/dist/client/_nuxt/storage-dqgie6yp.js +0 -1
- package/dist/client/_nuxt/terminals-o5xyk44w.js +0 -1
- package/dist/client/_nuxt/timeline-hwj8vazt.js +0 -31
- package/dist/client/_nuxt/unocss-runtime-fghua2d1.js +0 -1
- package/dist/client/_nuxt/utils-c43quyky.js +0 -2
- package/dist/client/_nuxt/vendor/json-editor-vue-mpqfj7dd.js +0 -3869
- package/dist/client/_nuxt/vendor/markdown-it-liuu8zo7.js +0 -14
- package/dist/client/_nuxt/vendor/shiki-ildq90cv.js +0 -153
- package/dist/client/_nuxt/vendor/unocss-hiscr44j.js +0 -3
- package/dist/client/_nuxt/vendor/unocss.css-3gd0e2sv.css +0 -1
- package/dist/client/_nuxt/vendor/vis-obscvyyi.js +0 -26
- package/dist/client/_nuxt/virtual-files-ld5g0ep3.js +0 -1
- package/dist/client/_nuxt/vue-devtools-mcimudqm.js +0 -4
- package/dist/client/_nuxt/vue-router-imuzx5c1.js +0 -1
- /package/dist/client/_nuxt/{_plugin-vue_export-helper-n58akrbk.js → _plugin-vue_export-helper-d9irwgla.js} +0 -0
- /package/dist/client/_nuxt/{color-bh8526bd.js → color-abaog8vc.js} +0 -0
- /package/dist/client/_nuxt/{composables-f0oa0ya0.js → composables-ioamscf4.js} +0 -0
- /package/dist/client/_nuxt/{constants-g7ujya00.js → constants-g2z8m4rs.js} +0 -0
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{C as e,Ct as t,E as n,F as r,Mt as i,P as a,Qt as o,W as s,Y as c,Z as l,_ as u,c as d,ct as f,dt as p,en as m,g as h,h as g,m as _,t as v,tn as y,v as b,w as x}from"./vendor/json-editor-vue-mpqfj7dd.js";import"./ready-nmtplnq5.js";import{L as S,P as C,S as w,v as T,w as E,z as D}from"./utils-c43quyky.js";import"./dev-auth-h6radlhi.js";import{E as O,b as k,i as A,u as j}from"./rpc-ga26o8l5.js";import"./vendor/shiki-ildq90cv.js";import"./storage-options-fmhmng6m.js";import"./nuxt-link-h8a2u03t.js";import{t as M}from"./_plugin-vue_export-helper-n58akrbk.js";import"./nicon-o8vtl3nv.js";import"./ncard-bpchuz30.js";import{C as N,T as P,a as F,h as ee,i as te,v as I}from"#entry";import"./client-coqmopwz.js";import"./ncode-block-lbvhz228.js";import{t as L}from"./ndrawer-pdhwqkg2.js";import"./composables-f0oa0ya0.js";import{t as R}from"./nlink-flm1s7uj.js";import"./filepath-item-o7vxzdbh.js";import{t as z}from"./help-fab-ekagn9f2.js";import{t as B}from"./nbadge-ia2sg78l.js";import"./nmarkdown-cu68ujlp.js";import{t as V}from"./launch-page-jvtn5jef.js";import{t as H}from"./color-bh8526bd.js";import{t as U}from"./stacktrace-list-ilvbql3y.js";import{t as W}from"./duration-display-lgba3ul7.js";import{t as G}from"./composable-item-lw4aqry9.js";import{t as K}from"./code-diff-o5b2z2ie.js";var q=Object.assign(n({__name:`TimelineItemFunction`,props:{item:{}},setup(e){let t=e,n=/_op_/,r=_(()=>H(t.item.name,50,60,`_op_`)),i=_(()=>r.value.replace(n,`1`)),a=_(()=>H(t.item.name,50,40)),o=_(()=>r.value.replace(n,`0.2`));return(t,n)=>(s(),b(`button`,{class:`group`,style:m({color:i.value,borderLeft:`2px solid ${i.value}`}),relative:``,"bg-base":``,"text-sm":``,transition:``,"hover:z-1000":``},[g(`div`,{style:m({backgroundColor:o.value}),absolute:``,"bottom-0":``,"left--1px":``,"top-0":``,"w-full":``,"text-sm":``,"transition-all":``,"duration-300":``},null,4),g(`div`,{style:m({color:a.value,"--c":i.value}),border:`r-2 t-2 y-2 transparent`,"min-w-max":``,px1:``,"text-left":``,"group-hover":`border-$c`},y(e.item.name),5)],4))}}),{__name:`TimelineItemFunction`}),J={relative:``,"h-full":``},Y={absolute:``,"left-2":``,"top-2.3em":``,"text-xs":``,op50:``},X=Object.assign(n({__name:`TimelineSegment`,props:{segment:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,a=O(()=>n.segment.start,{updateInterval:1e3,showSecond:!0,controls:!1,messages:{justNow:``,past:e=>e,future:e=>e,invalid:`-`,second:e=>e?`${e}s`:``,minute:e=>`${e}m`,hour:e=>`${e}h`,week:e=>`${e}w`,day:e=>`${e}d`,month:e=>`${e}mo`,year:e=>`${e}y`}});return(t,n)=>{let o=q;return s(),b(`div`,J,[g(`button`,{absolute:``,"left-0":``,"right-0":``,"top-0":``,"bg-green:5":``,px2:``,py1:``,"text-left":``,"text-xs":``,"text-green6":``,"font-mono":``,onClick:n[0]||=t=>e.segment.route?r(`select`,e.segment.route):void 0},y(e.segment.route?.event.to),1),g(`div`,Y,y(i(a))+` ago `,1),g(`div`,null,[(s(!0),b(d,null,c(e.segment.functions,(e,t)=>(s(),h(o,{key:t,item:e.event,style:m({position:`absolute`,minWidth:`${e.relativeWidth*100}%`,maxWidth:`${e.relativeWidth*100}%`,top:`${4+e.layer*1.6}em`,left:`${e.relativeStart*100}%`}),onClick:t=>r(`select`,e)},null,8,[`item`,`style`,`onClick`]))),128))])])}}}),{__name:`TimelineSegment`}),Z=3e3,Q=50;function ne(e){let t=[],n={start:0,end:0,events:[],functions:[],duration:0};for(let r of e){let e=r.end||r.start;(r.start-n.end>Z||r.type===`route`)&&(n={start:r.start,end:e,events:[],functions:[],duration:0},t.push(n)),n.events.push(r),n.end=e+Q}return t.forEach((e,n)=>{let r=e.end-e.start,i=[];e.duration=r,e.previousGap=n>0?e.start-t[n-1].end:0,e.events.forEach(t=>{let n=t.end||t.start,a=0;t.type!==`route`&&(a=i.findIndex(e=>e<=t.start),a===-1?(a=i.length,i.push(n+1e3)):i[a]=n+1e3);let o={event:t,segment:e,relativeStart:(t.start-e.start)/r,relativeWidth:(n-t.start)/r,layer:a};t.type===`function`?e.functions.push(o):e.route=o})}),t}var re={relative:``},ie={key:0,border:`x base`,"h-full":``,"flex-inline":``,"bg-true-gray-1":``,py15:``,"text-xs":``,"write-vertical-left":``,op50:``,"dark:bg-true-gray-9":``},ae=Object.assign(M(n({__name:`TimelineTable`,props:{data:{}},emits:[`select`],setup(e,{emit:n}){let a=e,l=n,p=t(),h=t(),v=t(),y=t(),S=t(!0),w=t(1.5),T=_(()=>ne(a.data.events)),E=_(()=>(a.data.events.length,p.value?.scrollWidth||window.innerWidth));function D(){y.value&&(y.value.style.width=`${E.value}px`)}function O(){S.value&&p.value&&(p.value.scrollTo({left:p.value.scrollWidth-p.value.clientWidth,behavior:`smooth`}),v.value.scrollTo({left:p.value.scrollWidth-p.value.clientWidth,behavior:`smooth`}))}return f(()=>a.data.events.length,async()=>{await r(),D(),O()},{flush:`post`}),k(p,`scroll`,()=>{v.value.scrollLeft!==p.value.scrollLeft&&(D(),v.value.scrollLeft=p.value.scrollLeft,S.value=p.value.scrollLeft>=p.value.scrollWidth-p.value.clientWidth)}),k(v,`scroll`,()=>{v.value.scrollLeft!==p.value.scrollLeft&&(D(),p.value.scrollLeft=v.value.scrollLeft)}),k(p,`wheel`,e=>{e.altKey?(w.value=C(w.value+e.deltaY/200,.5,3),D()):p.value.scrollLeft+=e.deltaY}),(e,t)=>{let n=W,r=X;return s(),b(d,null,[g(`div`,re,[g(`div`,{ref_key:`minimap`,ref:h,border:`t b base`,relative:``,"h-50px":``,"ws-nowrap":``,"border-base":``},[(s(!0),b(d,null,c(T.value,(t,n)=>(s(),b(`div`,{key:n,relative:``,"h-full":``,"flex-inline":``,style:m({width:`${Math.max(100,t.duration/10)/E.value*100}%`})},[(s(!0),b(d,null,c(t.functions,(t,n)=>(s(),b(`div`,{key:n,"h-3px":``,rounded:``,style:m({width:`max(${t.relativeWidth*100}%, 10px)`,position:`absolute`,top:`${t.layer*4}px`,left:`${t.relativeStart*100}%`,backgroundColor:(`getHslColorFromStringHash`in e?e.getHslColorFromStringHash:i(H))(t.event.name,50,60)})},null,4))),128)),t.route?(s(),b(`div`,{key:0,absolute:``,"top-0":``,"h-full":``,"w-px":``,"border-l":``,"border-green6":``,op10:``,style:m({left:`${t.route.relativeStart*100}%`})},null,4)):u(``,!0)],4))),128))],512),g(`div`,{ref_key:`minimapScroller`,ref:v,class:`timeline-scroller`,absolute:``,"inset-0":``,"h-full":``,"w-full":``,"of-x-scroll":``},[g(`div`,{ref_key:`minimapScrollerInner`,ref:y,"h-1px":``},null,512)],512)]),g(`div`,{ref_key:`scroller`,ref:p,relative:``,"h-full":``,"w-full":``,"of-x-scroll":``,"of-y-hidden":``,"ws-nowrap":``,"n-panel-grids":``},[(s(!0),b(d,null,c(T.value,(e,i)=>(s(),b(d,{key:i},[e.previousGap&&e.previousGap>=200?(s(),b(`div`,ie,[x(n,{op50:``,duration:e.previousGap,color:!1},null,8,[`duration`])])):u(``,!0),x(r,{"flex-inline":``,"of-x-hidden":``,"bg-base":``,"hover:of-x-visible":``,class:o(i===T.value.length-1?`border-r border-base`:``),segment:e,style:m({width:`${Math.max(50,e.duration/10)*w.value}px`}),onSelect:t[0]||=e=>l(`select`,e)},null,8,[`class`,`segment`,`style`])],64))),128))],512)],64)}}}),[[`__scopeId`,`data-v-da163089`]]),{__name:`TimelineTable`}),oe={border:`t base`,flex:`~ col`,"h-full":``,"of-y-auto":``,"text-sm":``},se=[`onClick`],ce={flex:`~`,"ml--1":``,"font-mono":``},le={key:0,mr2:``,op30:``},ue={op75:``},de={flex:`~ col items-start`},fe={"text-xs":``,"font-mono":``,op30:``},pe={"text-green":``,"font-bold":``,"font-mono":``},me=Object.assign(n({__name:`TimelineList`,props:{data:{}},emits:[`select`],setup(e,{emit:t}){let n=t;return(t,r)=>{let a=W;return s(),b(`div`,oe,[(s(!0),b(d,null,c(e.data.events,(e,o)=>(s(),b(`button`,{key:o,border:`b base`,px3:``,py2:``,flex:`~ items-center gap-2`,hover:`bg-active`,onClick:t=>n(`select`,e)},[e.type===`function`?(s(),b(d,{key:0},[r[2]||=g(`div`,{"i-carbon-function":``,op50:``},null,-1),g(`div`,{"font-mono":``,style:m({color:e.type===`function`?(`getHslColorFromStringHash`in t?t.getHslColorFromStringHash:i(H))(e.name,50,60):``})},y(e.name),5),g(`div`,ce,[r[0]||=g(`div`,{op30:``},` ( `,-1),(s(!0),b(d,null,c(e.args,(e,t)=>(s(),b(d,{key:t},[t?(s(),b(`div`,le,` , `)):u(``,!0),g(`div`,ue,y(e===null?`null`:e===void 0?`undefined`:typeof e==`function`?`[function]`:Array.isArray(e)?`[Array]`:typeof e==`object`?`[object]`:JSON.stringify(e)),1)],64))),128)),r[1]||=g(`div`,{op30:``},` ) `,-1)])],64)):(s(),b(d,{key:1},[r[3]||=g(`div`,{"mr-1":``,"h-7":``,"w-7":``,flex:``,"rounded-lg":``,"bg-primary:5":``,p1:``,"text-green6":``},[g(`div`,{"i-carbon-direction-rotary-right":``,ma:``,"text-lg":``})],-1),g(`div`,de,[g(`div`,fe,y(e.from),1),g(`div`,pe,y(e.to),1)])],64)),r[4]||=g(`div`,{"flex-auto":``},null,-1),e.end?(s(),h(a,{key:2,duration:e.end-e.start,color:e.type===`function`},null,8,[`duration`,`color`])):u(``,!0)],8,se))),128)),r[5]||=g(`div`,{"min-h-100":``},null,-1)])}}}),{__name:`TimelineList`}),he={key:0,"text-blue":``},ge={key:1,"text-purple":``},_e={key:2,"text-green":``},ve={key:3,"text-gray":``},ye={key:4,"text-gray":``},be={key:5,"text-gray":``},xe={key:0,"bg-red:10":``,px2:``,py1:``,"text-red":``},Se={key:1},Ce={p2:``,"text-sm":``,border:`t base`},we=Object.assign(n({__name:`TimelineArgumentView`,props:{value:{}},setup(r){let c=r,d=t(),f=t();function m(){try{d.value=JSON.parse(JSON.stringify(c.value))}catch(e){console.error(e),f.value=e}}let _=n({emits:[`setup`],setup(e,{emit:t}){return t(`setup`),()=>null}}),C=S(),w=te();return(t,n)=>{let c=N,S=l(`VMenu`);return typeof r.value==`string`?(s(),b(`div`,he,y(JSON.stringify(r.value)),1)):typeof r.value==`number`?(s(),b(`div`,ge,y(r.value),1)):typeof r.value==`boolean`?(s(),b(`div`,_e,y(r.value),1)):r.value===void 0?(s(),b(`div`,ve,` undefined `)):typeof r.value==`function`?(s(),b(`div`,ye,` [Function`+y(r.value.name?`: ${r.value.name}`:``)+`] `,1)):r.value===null?(s(),b(`div`,be,` null `)):(s(),h(S,{key:6,placement:`top`},{popper:p(()=>[x(i(_),{onSetup:m}),f.value?(s(),b(`div`,xe,` Failed to display object: `+y(f.value),1)):d.value?(s(),b(`div`,Se,[x(i(v),a({"model-value":d.value},t.$attrs,{class:[`json-editor-vue`,[i(C)===`dark`?`jse-theme-dark`:``]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":!0,indentation:2,"tab-size":2}),null,16,[`model-value`,`class`]),g(`div`,Ce,[x(c,{title:`Copy to clipboard`,icon:`carbon-copy`,onClick:n[0]||=e=>i(w)(JSON.stringify(d.value,null,2),`timeline-argument`)},{default:p(()=>[...n[1]||=[e(` Copy `,-1)]]),_:1})])])):u(``,!0)]),default:p(()=>[g(`span`,{"rounded-sm":``,px1:``,"py0.5":``,"text-sm":``,class:o([Array.isArray(r.value)?`text-amber bg-amber:10`:`text-orange bg-orange:10`])},y(Array.isArray(r.value)?`[Array(${r.value.length})]`:`[Object]`),3)]),_:1}))}}}),{__name:`TimelineArgumentView`}),Te={key:0,"p-4":``,flex:`~ col gap-2`,"text-base":``},Ee={"mx--1":``},De={flex:`~ gap-1`,"font-mono":``},Oe={key:1},ke={key:0,op30:``},Ae={flex:`~ gap-1`,"text-sm":``},je={class:`text-sm text-gray-400`},Me=Object.assign(n({__name:`TimelineDetailsFunction`,props:{record:{}},setup(e){let t=e,n=O(()=>t.record.start,{showSecond:!0}),r=T(),a=_(()=>r.value?.metadata),o=_(()=>r.value?.imports.find(e=>e.as===t.record.name));return(t,r)=>{let l=B,f=G,p=we,m=W,_=U;return e.record?(s(),b(`div`,Te,[g(`div`,Ee,[x(l,{n:`yellow`,textContent:`Function call`})]),g(`div`,De,[o.value?(s(),h(f,{key:0,item:o.value,metadata:a.value,counter:!1,classes:`px2 py1`,"mx--2":``},null,8,[`item`,`metadata`])):(s(),b(`span`,Oe,y(e.record.name),1)),r[0]||=g(`span`,{ml1:``,op30:``},`(`,-1),(s(!0),b(d,null,c(e.record.args,(e,t)=>(s(),b(d,{key:t},[t?(s(),b(`span`,ke,`, `)):u(``,!0),x(p,{value:e},null,8,[`value`])],64))),128)),r[1]||=g(`span`,{op30:``},`)`,-1)]),g(`div`,Ae,[e.record.end?(s(),h(m,{key:0,duration:e.record.end-e.record.start},null,8,[`duration`])):u(``,!0),r[2]||=g(`span`,{mx1:``,op50:``},`·`,-1),g(`div`,je,y(i(n)),1)]),e.record.stacktrace?(s(),h(_,{key:0,stacktrace:e.record.stacktrace,class:`text-xs text-gray-400`},null,8,[`stacktrace`])):u(``,!0)])):u(``,!0)}}}),{__name:`TimelineDetailsFunction`}),Ne={key:0,"p-4":``,flex:`~ col gap-2`},Pe={"mx--1":``},Fe={flex:`~ gap-1 items-center`,"font-mono":``},Ie={op50:``},Le={flex:`~ gap-1`,"text-sm":``},Re={class:`text-sm text-gray-400`},ze=Object.assign(n({__name:`TimelineDetailsRoute`,props:{record:{}},setup(e){let t=e,n=O(()=>t.record.start,{showSecond:!0});return(t,r)=>{let a=B,o=W;return e.record?(s(),b(`div`,Ne,[g(`div`,Pe,[x(a,{n:`green`,textContent:`Route Change`})]),g(`div`,Fe,[g(`span`,Ie,y(e.record.from),1),r[0]||=g(`span`,{"i-carbon-arrow-right":``,op50:``},null,-1),g(`span`,null,y(e.record.to),1)]),g(`div`,Le,[e.record.end?(s(),h(o,{key:0,duration:e.record.end-e.record.start},null,8,[`duration`])):u(``,!0),r[1]||=g(`span`,{mx1:``,op50:``},`·`,-1),g(`div`,Re,y(i(n)),1)])])):u(``,!0)}}}),{__name:`TimelineDetailsRoute`}),Be={key:0,"h-screen":``,"of-hidden":``},Ve={"h-screen":``,"w-full":``,flex:``,"flex-col":``},$={"h-10":``,flex:`~ gap-2 items-center justify-end`,p2:``,px3:``},He={"text-sm":``},Ue={"min-h-50":``,px3:``,py2:``},We=Object.assign(n({__name:`TimelineView`,setup(n){let r=D(),i=t(`table`),a=t(),c=_(()=>r.value?.metrics.clientTimeline());function d(){c.value&&(c.value.events=[])}function f(){i.value=i.value===`table`?`list`:`table`}return(t,n)=>{let r=l(`VTooltip`),m=N,_=ae,v=me,S=Me,C=ze,w=L;return c.value?(s(),b(`div`,Be,[g(`div`,Ve,[g(`div`,$,[x(r,{flex:``},{popper:p(()=>[g(`div`,He,y(c.value.options.enabled?`Recording...`:`Paused`),1)]),default:p(()=>[g(`div`,{"text-lg":``,class:o(c.value.options.enabled?`i-carbon-radio-button-checked text-primary animate-pulse`:`i-carbon-pause-outline op30`)},null,2)]),_:1}),c.value.options.enabled?(s(),h(m,{key:1,size:`small`,ml1:``,"text-sm":``,n:`orange`,icon:`i-carbon-stop`,onClick:n[1]||=e=>c.value.options.enabled=!1},{default:p(()=>[...n[6]||=[e(` Stop Tracking `,-1)]]),_:1})):(s(),h(m,{key:0,size:`small`,ml1:``,"text-sm":``,n:`primary`,icon:`i-carbon-play`,onClick:n[0]||=e=>c.value.options.enabled=!0},{default:p(()=>[...n[5]||=[e(` Start Tracking `,-1)]]),_:1})),n[7]||=g(`div`,{"flex-auto":``},null,-1),x(m,{icon:i.value===`table`?`i-carbon-roadmap`:`i-carbon-list`,class:`ml-2`,title:`Toggle View`,border:!1,onClick:f},null,8,[`icon`]),x(m,{icon:`i-carbon-trash-can`,"hover-text-red":``,class:`ml-2`,border:!1,onClick:d})]),i.value===`table`?(s(),h(_,{key:0,data:{...c.value},onSelect:n[2]||=e=>a.value=e.event},null,8,[`data`])):(s(),h(v,{key:1,data:{...c.value},onSelect:n[3]||=e=>a.value=e},null,8,[`data`]))]),x(w,{"model-value":!!a.value,"auto-close":``,transition:`bottom`,left:`#nuxt-devtools-side-nav`,onClose:n[4]||=e=>a.value=void 0},{default:p(()=>[g(`div`,Ue,[a.value?.type===`function`?(s(),h(S,{key:0,record:a.value},null,8,[`record`])):a.value?.type===`route`?(s(),h(C,{key:1,record:a.value},null,8,[`record`])):u(``,!0)])]),_:1},8,[`model-value`])])):u(``,!0)}}}),{__name:`TimelineView`}),Ge={},Ke={class:`markdown-body`};function qe(t,n){return s(),b(`div`,Ke,[...n[0]||=[g(`template`,null,[g(`div`,{class:`markdown-body`},[g(`h1`,null,`Timeline`),g(`blockquote`,{"text-orange":``,"bg-orange:10":``,py1:``},` This is an experimental feature `),g(`p`,null,`Timeline tracks your route navigations and functions calls in your Nuxt application. It can be used to debug performance issues and to understand how your application works.`),g(`h2`,null,`Function calls`),g(`p`,null,[e(`Nuxt DevTools tracks function calls by wrapping them in the build time. It works for functions referenced by auto-imports, or explicit imports through `),g(`code`,{"v-pre":``},`import {} from '#imports'`),e(`.`)]),g(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"background-color":`#ffffff`,"--shiki-dark-bg":`#121212`,color:`#393a34`,"--shiki-dark":`#dbd7caee`},tabindex:`0`},[g(`code`,{"v-pre":``},[g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`<`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`script`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` setup`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`>`)]),e(`
|
|
2
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` useRoute`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`#app/composables/router`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
|
|
3
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` useNuxtApp`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`#imports`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
|
|
4
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` useMouse`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`@vueuse/core`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
|
|
5
|
-
`),g(`span`,{class:`line`}),e(`
|
|
6
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},`const`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` route`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` useRoute`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`()`),g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // tracked`)]),e(`
|
|
7
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},`const`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` app`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` useNuxtApp`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`()`),g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // tracked`)]),e(`
|
|
8
|
-
`),g(`span`,{class:`line`}),e(`
|
|
9
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// NOT tracked because it's directly imported`)]),e(`
|
|
10
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},`const`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` mouse`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` useMouse`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`()`)]),e(`
|
|
11
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`</`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`script`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`>`)]),e(`
|
|
12
|
-
`),g(`span`,{class:`line`})])]),g(`p`,null,[e(`By default, it tracks Nuxt provided composables as well as user defined functions. You can include/exclude functions by using the `),g(`code`,{"v-pre":``},`include`),e(` and `),g(`code`,{"v-pre":``},`exclude`),e(` options in the `),g(`code`,{"v-pre":``},`nuxt.config.js`),e(` file.`)]),g(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"background-color":`#ffffff`,"--shiki-dark-bg":`#121212`,color:`#393a34`,"--shiki-dark":`#dbd7caee`},tabindex:`0`},[g(`code`,{"v-pre":``},[g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` defineNuxtConfig`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`({`)]),e(`
|
|
13
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` devtools`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`)]),e(`
|
|
14
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` timeline`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`)]),e(`
|
|
15
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` functions`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`)]),e(`
|
|
16
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` include`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` [`)]),e(`
|
|
17
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}}," // track `useMouse`")]),e(`
|
|
18
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`useMouse`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`,`)]),e(`
|
|
19
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}}," // track all functions starting with `use`")]),e(`
|
|
20
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` /`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`^`),g(`span`,{style:{color:`#AB5E3F`,"--shiki-dark":`#C4704F`}},`use`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`[`),g(`span`,{style:{color:`#A65E2B`,"--shiki-dark":`#C99076`}},`A-Z`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`]`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`/`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`,`)]),e(`
|
|
21
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // track all functions from @vueuse/core`)]),e(`
|
|
22
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` entry`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =>`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` entry`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`.`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},`from`),g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},` ===`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`@vueuse/core`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`,`)]),e(`
|
|
23
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` ],`)]),e(`
|
|
24
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` exclude`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` [`)]),e(`
|
|
25
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`useRouter`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
|
|
26
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` ]`)]),e(`
|
|
27
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`)]),e(`
|
|
28
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`)]),e(`
|
|
29
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`)]),e(`
|
|
30
|
-
`),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`})`)]),e(`
|
|
31
|
-
`),g(`span`,{class:`line`})])])])],-1)]])}var Je=M(Ge,[[`render`,qe]]),Ye={flex:`~ col gap-2`,"w-150":``,p4:``,border:`t base`},Xe={op50:``},Ze={flex:`~ gap-3`,mt2:``,"justify-end":``},Qe=n({__name:`timeline`,setup(t){let n=w(),r=E(),a=j(),o=F();async function c(){try{let[e,t]=await A.enableTimeline(!0);if(!await a.start(e,t))return;await A.enableTimeline(!1)}catch{P({message:`Failed to enable timeline automatically. Check the terminal for more details.`,icon:`i-carbon-warning`,classes:`text-red`})}}return(t,l)=>{let u=We,f=V,m=I,_=R,v=K,y=N,S=ee,C=Je,w=z;return s(),b(d,null,[i(n)?.timeline?.enabled?(s(),h(u,{key:0})):(s(),b(d,{key:1},[x(m,null,{default:p(()=>[x(f,{icon:`i-carbon-roadmap`,name:`feature-timeline`,title:`Timeline`,description:`Timeline enables the inspection of when composable being executed and the route changes.`,actions:[{label:`Enable`}],onAction:c})]),_:1}),x(i(a),null,{default:p(({resolve:t,args:n})=>[x(S,{"model-value":!0,onClose:e=>t(!1)},{default:p(()=>[g(`div`,Ye,[l[5]||=g(`h2`,{"text-xl":``},[g(`span`,{capitalize:``},`Enable Timeline?`)],-1),g(`p`,Xe,[l[1]||=e(` Your `,-1),x(_,{role:`button`,n:`primary`,underline:``,onClick:l[0]||=e=>i(o)(i(r)?._nuxtConfigFile),textContent:`Nuxt config`}),l[2]||=e(` will be updated as: `,-1)]),x(v,{from:n[0],to:n[1],"max-h-80":``,"of-auto":``,py2:``,border:`~ base rounded`,lang:`ts`},null,8,[`from`,`to`]),l[6]||=g(`p`,null,[g(`span`,{op50:``},`Then Nuxt will `),g(`span`,{"text-orange":``},`restart automatically`),e(`. `)],-1),g(`div`,Ze,[x(y,{onClick:e=>t(!1)},{default:p(()=>[...l[3]||=[e(` Cancel `,-1)]]),_:1},8,[`onClick`]),x(y,{n:`solid primary`,capitalize:``,onClick:e=>t(!0)},{default:p(()=>[...l[4]||=[e(` Enable `,-1)]]),_:1},8,[`onClick`])])])]),_:2},1032,[`onClose`])]),_:1})],64)),x(w,null,{default:p(()=>[x(C)]),_:1})],64)}}});export{Qe as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor/json-editor-vue-mpqfj7dd.js";import{n as e,t}from"./vendor/unocss-hiscr44j.js";t({defaults:{presets:[e({prefix:[`i-`,``],collections:{},cdn:`https://esm.sh/`,scale:1.2,extraProperties:{display:`inline-block`,"vertical-align":`middle`}})]},bypassDefined:!0});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor/markdown-it-liuu8zo7.js","./rolldown-runtime-oipoa1or.js","./vendor/shiki-ildq90cv.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{A as e,At as t,Ct as n,D as r,E as i,Et as a,F as o,H as s,J as c,K as l,L as u,M as d,Mt as f,Ot as p,V as m,Wt as h,a as g,bt as _,ct as v,gt as y,jt as b,m as x,p as S,v as C,vt as w,xt as T}from"./vendor/json-editor-vue-mpqfj7dd.js";import{c as E}from"./ready-nmtplnq5.js";import{c as ee,i as D,l as te}from"./nuxt-bl8ryhiw.js";import{L as O,_ as ne,i as k,n as re,w as ie}from"./rpc-ga26o8l5.js";import{D as ae,O as oe,k as se}from"./vendor/shiki-ildq90cv.js";var ce={trailing:!0};function A(e,t=25,n={}){if(n={...ce,...n},!Number.isFinite(t))throw TypeError("Expected `wait` to be a finite number");let r,i,a=[],o,s,c=(t,r)=>(o=le(e,t,r),o.finally(()=>{if(o=null,n.trailing&&s&&!i){let e=c(t,s);return s=null,e}}),o),l=function(...e){return n.trailing&&(s=e),o||new Promise(o=>{let l=!i&&n.leading;clearTimeout(i),i=setTimeout(()=>{i=null;let t=n.leading?r:c(this,e);s=null;for(let e of a)e(t);a=[]},t),l?(r=c(this,e),o(r)):a.push(o)})},u=e=>{e&&(clearTimeout(e),i=null)};return l.isPending=()=>!!i,l.cancel=()=>{u(i),a=[],s=null},l.flush=()=>{if(u(i),!s||o)return;let e=s;return s=null,c(this,e)},l}async function le(e,t,n){return await e.apply(t,n)}i({name:`ServerPlaceholder`,render(){return C(`div`)}});var j=Symbol.for(`nuxt:client-only`),ue=i({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(t,{slots:n,attrs:i}){let o=a(!1);m(()=>{o.value=!0});let s=r();return s&&(s._nuxtClientOnly=!0),l(j,!0),()=>{if(o.value){let e=n.default?.();return e&&e.length===1?[S(e[0],i)]:e}let r=n.fallback||n.placeholder;if(r)return e(r);let a=t.fallback||t.placeholder||``;return C(t.fallbackTag||t.placeholderTag||`span`,i,a)}}});function M(e){return Object.defineProperty(function(){throw Error(`[nuxt] \`${e.name}\` is a compiler macro and cannot be called at runtime.`)},`__nuxt_factory`,{enumerable:!1,get:()=>e.factory})}var N=M({name:`createUseAsyncData`,factory(e={}){function n(...n){let i=typeof n[n.length-1]==`string`?n.pop():void 0;de(n[0],n[1])&&n.unshift(i);let[a,o,l={}]=n,f=!1,p=x(()=>t(a));if(typeof p.value!=`string`)throw TypeError(`[nuxt] [useAsyncData] key must be a string.`);if(typeof o!=`function`)throw TypeError(`[nuxt] [useAsyncData] handler must be a function.`);let m=typeof e==`function`,h=D(),g=m?e(l):e;if(!m)for(let e in g)g[e]!==void 0&&l[e]===void 0&&(l[e]=g[e]);if(l.server??=!0,l.default??=pe,l.getCachedData??=R,l.lazy??=!1,l.immediate??=!0,l.deep??=ee.deep,l.dedupe??=`cancel`,m)for(let e in g)g[e]!==void 0&&(l[e]=g[e]);h._asyncData[p.value];function b(){let e={cause:`initial`,dedupe:l.dedupe};return h._asyncData[p.value]?._init||(e.cachedData=l.getCachedData(p.value,h,{cause:`initial`}),h._asyncData[p.value]=L(h,p.value,o,l,e.cachedData)),()=>h._asyncData[p.value].execute(e)}let S=b(),C=h._asyncData[p.value];C._deps++;let w=l.server!==!1&&h.payload.serverRendered;{let e=function(e){let t=h._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())},t=r();if(t&&w&&l.immediate&&!t.sp&&(t.sp=[]),t&&!t._nuxtOnBeforeMountCbs){t._nuxtOnBeforeMountCbs=[];let e=t._nuxtOnBeforeMountCbs;u(()=>{e.forEach(e=>{e()}),e.splice(0,e.length)}),s(()=>e.splice(0,e.length))}let n=t&&(t._nuxtClientOnly||d(j,!1));w&&h.isHydrating&&(C.error.value||C.data.value!==void 0)?C.status.value=C.error.value?`error`:`success`:t&&(!n&&h.payload.serverRendered&&h.isHydrating||l.lazy)&&l.immediate?t._nuxtOnBeforeMountCbs.push(S):l.immediate&&C.status.value!==`success`&&S();let i=y(),a=v(p,(t,n)=>{if((t||n)&&t!==n){f=!0;let r=h._asyncData[n]?.data.value!==void 0,i=h._asyncDataPromises[n]!==void 0,a={cause:`initial`,dedupe:l.dedupe};if(!h._asyncData[t]?._init){let e;n&&r?e=h._asyncData[n].data.value:(e=l.getCachedData(t,h,{cause:`initial`}),a.cachedData=e),h._asyncData[t]=L(h,t,o,l,e)}h._asyncData[t]._deps++,n&&e(n),(l.immediate||r||i)&&h._asyncData[t].execute(a),c(()=>{f=!1})}},{flush:`sync`}),m=l.watch?v(l.watch,()=>{f||(h._asyncData[p.value]?._execute.isPending()&&c(()=>{h._asyncData[p.value]?._execute.flush()}),h._asyncData[p.value]?._execute({cause:`watch`,dedupe:l.dedupe}))}):()=>{};i&&_(()=>{a(),m(),e(p.value)})}let T={data:F(()=>h._asyncData[p.value]?.data),pending:F(()=>h._asyncData[p.value]?.pending),status:F(()=>h._asyncData[p.value]?.status),error:F(()=>h._asyncData[p.value]?.error),refresh:(...e)=>h._asyncData[p.value]?._init?h._asyncData[p.value].execute(...e):b()(),execute:(...e)=>T.refresh(...e),clear:()=>{let e=h._asyncData[p.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}I(h,p.value)}},E=Promise.resolve(h._asyncDataPromises[p.value]).then(()=>T);return Object.assign(E,T),Object.defineProperties(E,{then:{enumerable:!0,value:E.then.bind(E)},catch:{enumerable:!0,value:E.catch.bind(E)},finally:{enumerable:!0,value:E.finally.bind(E)}}),E}return n}}),P=N.__nuxt_factory();N.__nuxt_factory({lazy:!0,_functionName:`useLazyAsyncData`});function F(e){return x({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}})}function de(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function I(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=f(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function fe(e,t){let n={};for(let r of t)n[r]=e[r];return n}function L(e,t,r,i,s){e.payload._errors[t]??=void 0;let c=i.getCachedData!==R,l=r,u=i.deep?n:a,d=s!==void 0,m=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await h.execute({cause:`refresh:hook`})}),h={data:u(d?s:i.default()),pending:x(()=>h.status.value===`pending`),error:p(e.payload._errors,t),status:a(`idle`),execute:(...n)=>{let[r,a=void 0]=n,o=r&&a===void 0&&typeof r==`object`?r:{};if(e._asyncDataPromises[t]&&(o.dedupe??i.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in o?o.cachedData:i.getCachedData(t,e,{cause:o.cause??`refresh:manual`});if(n!==void 0)return e.payload.data[t]=h.data.value=n,h.error.value=void 0,h.status.value=`success`,Promise.resolve(n)}h._abortController&&h._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),h._abortController=new AbortController,h.status.value=`pending`;let s=new AbortController,c=new Promise((t,n)=>{try{let r=o.timeout??i.timeout,a=me([h._abortController?.signal,o?.signal],s.signal,r);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}return a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:s.signal}),Promise.resolve(l(e,{signal:a})).then(t,n)}catch(e){n(e)}}).then(async n=>{let r=n;i.transform&&(r=await i.transform(n)),i.pick&&(r=fe(r,i.pick)),e.payload.data[t]=r,h.data.value=r,h.error.value=void 0,h.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==c||h._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return h.status.value=`idle`,e._asyncDataPromises[t];h.error.value=E(n),h.data.value=f(i.default()),h.status.value=`error`}).finally(()=>{s.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=c,e._asyncDataPromises[t]},_execute:A((...e)=>h.execute(...e),0,{leading:!0}),_default:i.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{m(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),c||o(()=>{e._asyncData[t]?._init||(I(e,t),h.execute=()=>Promise.resolve())})}};return h}var pe=()=>void 0,R=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function me(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var he=/^[A-Za-z]:\//;function ge(e=``){return e&&e.replace(/\\/g,`/`).replace(he,e=>e.toUpperCase())}var _e=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,z=/^\/([A-Za-z]:)?$/;function ve(){return typeof process<`u`&&typeof process.cwd==`function`?process.cwd().replace(/\\/g,`/`):`/`}var B=function(...e){e=e.map(e=>ge(e));let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:ve();!i||i.length===0||(t=`${i}/${t}`,n=V(i))}return t=ye(t,!n),n&&!V(t)?`/${t}`:t.length>0?t:`.`};function ye(e,t){let n=``,r=0,i=-1,a=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else if(o===`/`)break;else o=`/`;if(o===`/`){if(!(i===s-1||a===1))if(a===2){if(n.length<2||r!==2||n[n.length-1]!==`.`||n[n.length-2]!==`.`){if(n.length>2){let e=n.lastIndexOf(`/`);e===-1?(n=``,r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}else if(n.length>0){n=``,r=0,i=s,a=0;continue}}t&&(n+=n.length>0?`/..`:`..`,r=2)}else n.length>0?n+=`/${e.slice(i+1,s)}`:n=e.slice(i+1,s),r=s-i-1;i=s,a=0}else o===`.`&&a!==-1?++a:a=-1}return n}var V=function(e){return _e.test(e)},be=function(e,t){let n=B(e).replace(z,`$1`).split(`/`),r=B(t).replace(z,`$1`).split(`/`);if(r[0][1]===`:`&&n[0][1]===`:`&&n[0]!==r[0])return r.join(`/`);let i=[...n];for(let e of i){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>`..`),...r].join(`/`)},H=a(),xe;function Se(){xe||=(async()=>{let{default:e}=await g(async()=>{let{default:e}=await import(`./vendor/markdown-it-liuu8zo7.js`).then(e=>e.t);return{default:e}},__vite__mapDeps([0,1]),import.meta.url);H.value=new e({html:!0,linkify:!0,breaks:!0})})()}function Ce(e){return Se(),H.value?H.value.render(e):e}var U={json:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.S),__vite__mapDeps([2,1]),import.meta.url),yaml:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e._),__vite__mapDeps([2,1]),import.meta.url),yml:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e._),__vite__mapDeps([2,1]),import.meta.url),css:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.E),__vite__mapDeps([2,1]),import.meta.url),javascript:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),js:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),cjs:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),mjs:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),typescript:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),ts:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),cts:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),mts:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),vue:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),"vue-html":()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url),html:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.C),__vite__mapDeps([2,1]),import.meta.url),diff:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.T),__vite__mapDeps([2,1]),import.meta.url),shellscript:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),bash:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),sh:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),shell:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),zsh:()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url)},W={"vitesse-dark":()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.g),__vite__mapDeps([2,1]),import.meta.url),"vitesse-light":()=>g(()=>import(`./vendor/shiki-ildq90cv.js`).then(e=>e.h),__vite__mapDeps([2,1]),import.meta.url)},G=oe({langs:U,themes:W,engine:()=>ae()}),{codeToHtml:we,codeToHast:Te,codeToTokensBase:Ee,codeToTokens:De,codeToTokensWithThemes:Oe,getSingletonHighlighter:ke,getLastGrammarState:Ae}=se(G),K=a(),q=null;function je(e,t=`text`,n){!q&&!K.value&&(q=G({langs:Object.keys(U),themes:Object.keys(W)}).then(e=>{K.value=e}));let r=K.value?.getLoadedLanguages().includes(t);return r?{code:K.value.codeToHtml(e,{...n,lang:t,themes:{dark:`vitesse-dark`,light:`vitesse-light`},transformers:[{root(e){return{type:`root`,children:e.children[0].children[0].children}}}]}),supported:!0}:{code:e,supported:r}}var Me=`$s`;function J(...e){let t=typeof e[e.length-1]==`string`?e.pop():void 0;typeof e[0]!=`string`&&e.unshift(t);let[n,r]=e;if(!n||typeof n!=`string`)throw TypeError(`[nuxt] [useState] key must be a string: `+n);if(r!==void 0&&typeof r!=`function`)throw Error(`[nuxt] [useState] init must be a function: `+r);let i=Me+n,a=D(),o=p(a.payload.state,i);if(r&&(a._state[i]??={_default:r}),o.value===void 0&&r){let e=r();if(w(e))return a.payload.state[i]=e,e;o.value=e}return o}function Y(){return J(`devtools-client`)}function Ne(){let e=Y();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function X(){let e=Y();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function Pe(){let e=Y();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}var Fe=n(!1);setTimeout(()=>{Fe.value=!0},2e3);var Ie=x(()=>Fe.value&&!Y().value);function Le(){return ne({storageKey:`nuxt-devtools-color-mode`})}function Re(){let e=Y(),t=Le();return x(()=>({host:e.value,devtools:{rpc:k,colorMode:t.value,renderCodeHighlight(e,t){return je(e,t)},renderMarkdown(e){return Ce(e)},extendClientRpc(e,t){return re.set(e,t),new Proxy({},{get(t,n){if(typeof n==`string`)return k[`${e}:${n}`]}})}}}))}function ze(e){let n=[t(e.method)?.toUpperCase()||`GET`,t(e.baseURL)];for(let r of[e.query||e.params]){let e=t(r);if(!e)continue;let i={};for(let[n,r]of Object.entries(e))i[t(n)]=t(r);n.push(i)}if(e.body){let r=t(e.body);if(!r)n.push(O(r));else if(r instanceof ArrayBuffer)n.push(O(Object.fromEntries([...new Uint8Array(r).entries()].map(([e,t])=>[e,t.toString()]))));else if(r instanceof FormData){let e={};for(let t of r.entries()){let[n,r]=t;e[n]=r instanceof File?r.name:r}n.push(O(e))}else if(h(r))n.push(O(T(r)));else try{n.push(O(r))}catch{console.warn(`[useFetch] Failed to hash body`,r)}}return n}var Be=M({name:`createUseFetch`,factory(e={}){function n(n,r,i){let[a={},o]=typeof r==`string`?[{},r]:[r,i],s=x(()=>t(n)),c=x(()=>t(a.key)||`$f`+O([o,typeof s.value==`string`?s.value:``,...ze(a)]));if(!a.baseURL&&typeof s.value==`string`&&s.value[0]===`/`&&s.value[1]===`/`)throw Error(`[nuxt] [useFetch] the request URL must not start with "//".`);let l=typeof e==`function`?e(a):e,{server:u,lazy:d,default:f,transform:p,pick:m,watch:h,immediate:g,getCachedData:_,deep:v,dedupe:y,timeout:b,...S}={...typeof e==`function`?{}:l,...a,...typeof e==`function`?l:{}},C=T({...te,...S,cache:typeof S.cache==`boolean`?void 0:S.cache}),w={server:u,lazy:d,default:f,transform:p,pick:m,immediate:g,getCachedData:_,deep:v,dedupe:y,timeout:b,watch:h===!1?[]:[...h||[],C]};return P(h===!1?c.value:c,(e,{signal:t})=>(a.$fetch||globalThis.$fetch)(s.value,{signal:t,...C}),w)}return n}}),Ve=Be.__nuxt_factory();Be.__nuxt_factory({lazy:!0,_functionName:`useLazyFetch`});function He(e,t,n){return Math.min(n,Math.max(t,e))}var Ue=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function We(e=16,t=Ue){let n=``,r=e,i=t.length;for(;r--;)n+=t[Math.random()*i|0];return n}function Ge(e,t,n=!1){return t.reduce((t,r)=>(r in e&&(!n||e[r]!==void 0)&&(t[r]=e[r]),t),{})}function Ke(){return Q(`getServerPages`,()=>k.getServerPages())}function qe(){return Q(`getServerRoutes`,()=>k.getServerRoutes())}function Je(){return Q(`getServerTasks`,()=>k.getServerTasks())}function Ye(){return Q(`getServerHooks`,()=>k.getServerHooks())}function Xe(){return Q(`getServerLayouts`,()=>k.getServerLayouts())}function Ze(){return Q(`getAutoImports`,()=>k.getAutoImports())}function Qe(){return Q(`getStaticAssets`,()=>k.getStaticAssets())}function $e(){return Q(`getServerConfig`,()=>k.getServerConfig())}function et(){return Q(`getServerDebugContext`,()=>k.getServerDebugContext())}function tt(){return Q(`getServerRuntimeConfig`,()=>k.getServerRuntimeConfig())}function nt(){return Q(`getModuleOptions`,()=>k.getModuleOptions())}function rt(){return Q(`getServerApp`,()=>k.getServerApp())}function it(){return Q(`getCustomTabs`,()=>k.getCustomTabs())}function at(){return Q(`getTerminals`,()=>k.getTerminals())}function ot(){return Q(`getAnalyzeBuildInfo`,()=>k.getAnalyzeBuildInfo())}function st(){let{data:e}=Ve(`/_vfs.json`,{key:`vfs-list`,baseURL:`/`,responseType:`json`},`$2gLbxsrny1`);return e}function ct(){let e=Ke(),t=X();return x(()=>(t.value?.getRoutes()||[]).map(e=>Ge(e,[`path`,`name`,`meta`,`props`,`children`])).map(t=>({...e.value?.find(e=>e.name&&e.name===t.name),...t})))}var lt=/[/\\]node_modules[/\\]/,ut=/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/,dt=/\\/g,ft=/.*\/node_modules\/(.*)$/;function pt(e){return!!e.match(lt)||Z(e)}function Z(e){return e[0]===`#`||!!e.match(ut)}function mt(e){if(Z(e))return e;let t=e.replace(dt,`/`).match(ft)?.[1];if(t)return t.startsWith(`@`)?t.split(`/`).slice(0,2).join(`/`):t.split(`/`)[0]}function ht(e){let t=e.match(ft)?.[1];if(t)return t}function gt(e){if(e)return[`nuxt`,`#app`,`#head`,`vue`].includes(e)}function _t(e,t){if(e=e.replace(dt,`/`),Z(e))return{moduleName:e,path:e};let n=mt(e),r=ht(e);if(n&&r)return{moduleName:n,path:r};try{let n=be(t,e);return!n.startsWith(`./`)&&!n.startsWith(`../`)&&(n=`./${n}`),n.startsWith(`./.nuxt/`)&&(n=`#build${n.slice(7)}`),{path:n}}catch{return{path:e}}}function Q(e,t,n){let r=D(),{data:i}=P(e,t,{...n,getCachedData:e=>r.payload.data[e]});return i}function vt(){return typeof navigator<`u`&&navigator.platform.toLowerCase().includes(`mac`)}var $={get:`n-green`,post:`n-blue`,put:`n-orange`,delete:`n-red`,patch:`n-purple`,head:`n-teal`,default:`n-gray`};function yt(e){return $[e.toLowerCase()]||$.default}function bt(e,t){let n={};for(let[r,i]of Object.entries(t))for(let t of i){let i=e.find(e=>e.tag===t.tag&&(t.name?e.name===t.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function xt(e){return e=Number(e),Number.isNaN(e)||e<0?`-`:e<1?`<1ms`:e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function St(e,t){return J(e,()=>ie(e,t,{listenToStorageChanges:!1}))}function Ct(e,t){return{component:e,dependencies:t?.find(t=>t.id===e.filePath)?.deps?.map(e=>t?.find(t=>t.id===e)?.id).filter(Boolean),dependents:t?.filter(t=>t.deps.includes(e.filePath)).map(e=>e.id)}}function wt(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}function Tt(){let e=Y(),t=D();t.hooks.callHookParallel(`app:data:refresh`,Object.keys(t.payload.data)),b(e),e.value.revision.value+=1}function Et(){location.reload()}function Dt(e){let t=[];return JSON.stringify(e,(e,n)=>{if(typeof n==`function`)return n.toString();if(w(n)&&(n=n.value),typeof n==`object`&&n){if(e===`devServer`)return;let r=t.indexOf(n);if(r>=0)return`<Circular #${r}>`;t.push(n)}return n})}function Ot(){return $e().value?.future.compatibilityVersion}export{Je as A,Pe as B,rt as C,Ke as D,Ye as E,Ge as F,P as G,X as H,We as I,ue as K,Le as L,at as M,st as N,qe as O,He as P,Ie as R,nt as S,et as T,Re as U,Ne as V,J as W,ot as _,yt as a,Xe as b,pt as c,wt as d,Tt as f,St as g,Ot as h,mt as i,Qe as j,tt as k,Dt as l,Q as m,Ct as n,bt as o,Et as p,A as q,vt as r,gt as s,xt as t,_t as u,Ze as v,$e as w,ct as x,it as y,Y as z};
|