@nuxt/devtools 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/dist/chunks/module-main.mjs +30 -4
  2. package/dist/chunks/plugin-metrics.mjs +2 -0
  3. package/dist/chunks/vite-inspect.mjs +1 -0
  4. package/dist/chunks/vscode.mjs +4 -2
  5. package/dist/client/200.html +2 -2
  6. package/dist/client/404.html +2 -2
  7. package/dist/client/__inspecting/index.html +2 -2
  8. package/dist/client/_nuxt/Badge.cd3914e8.js +1 -0
  9. package/dist/client/_nuxt/CodeSnippets.vue.632ecac5.js +1 -0
  10. package/dist/client/_nuxt/ContentDoc.3c736737.js +1 -0
  11. package/dist/client/_nuxt/ContentList.5cf63827.js +1 -0
  12. package/dist/client/_nuxt/ContentNavigation.d3330b12.js +1 -0
  13. package/dist/client/_nuxt/ContentQuery.c351de6d.js +1 -0
  14. package/dist/client/_nuxt/ContentRenderer.84f6a8ba.js +1 -0
  15. package/dist/client/_nuxt/ContentRendererMarkdown.9627ed5f.js +1 -0
  16. package/dist/client/_nuxt/ContentSlot.e5309aa2.js +1 -0
  17. package/dist/client/_nuxt/DocumentDrivenEmpty.3a7246d4.js +1 -0
  18. package/dist/client/_nuxt/DocumentDrivenNotFound.4003c1dc.js +1 -0
  19. package/dist/client/_nuxt/DrawerRight.vue.87ef0065.js +1 -0
  20. package/dist/client/_nuxt/DurationDisplay.vue.d82ba06a.js +1 -0
  21. package/dist/client/_nuxt/FilepathItem.vue.c910f268.js +1 -0
  22. package/dist/client/_nuxt/HelpFab.vue.f1360997.js +1 -0
  23. package/dist/client/_nuxt/HelpImportsDirs.d2f2fbd4.js +1 -0
  24. package/dist/client/_nuxt/HelpImportsModules.cb999704.js +1 -0
  25. package/dist/client/_nuxt/HelpTip.66944fd5.js +1 -0
  26. package/dist/client/_nuxt/HelpTip.vue.66567591.js +1 -0
  27. package/dist/client/_nuxt/HelpTipPerformance.d870bc22.js +1 -0
  28. package/dist/client/_nuxt/LaunchPage.vue.7af6375c.js +1 -0
  29. package/dist/client/_nuxt/Markdown.9c3fd89e.js +1 -0
  30. package/dist/client/_nuxt/NCheckbox.vue.556df786.js +1 -0
  31. package/dist/client/_nuxt/NCodeBlock.vue.0cfd6eb2.js +2 -0
  32. package/dist/client/_nuxt/NIconButton.vue.3972e12f.js +1 -0
  33. package/dist/client/_nuxt/{NIconTitle.vue.20baf9ca.js → NIconTitle.vue.c904da9d.js} +1 -1
  34. package/dist/client/_nuxt/{NMarkdown.vue.04a4db38.js → NMarkdown.vue.141eb8e5.js} +1 -1
  35. package/dist/client/_nuxt/NPanelGrids.e798da22.js +1 -0
  36. package/dist/client/_nuxt/NSectionBlock.3f4396b3.js +1 -0
  37. package/dist/client/_nuxt/NSelect.vue.6f8626a9.js +1 -0
  38. package/dist/client/_nuxt/NSwitch.vue.b4a00fa1.js +1 -0
  39. package/dist/client/_nuxt/NTextInput.vue.3ee9e6a6.js +1 -0
  40. package/dist/client/_nuxt/NpmVersionCheck.vue.ff1c08a5.js +1 -0
  41. package/dist/client/_nuxt/NuxtLogo.49ed4c34.js +1 -0
  42. package/dist/client/_nuxt/{PanelLeftRight.vue.9f476475.js → PanelLeftRight.vue.6f7c90d0.js} +1 -1
  43. package/dist/client/_nuxt/ProseA.723ab41b.js +1 -0
  44. package/dist/client/_nuxt/ProseBlockquote.31111395.js +1 -0
  45. package/dist/client/_nuxt/ProseCode.91764405.js +1 -0
  46. package/dist/client/_nuxt/ProseCodeInline.95391ff4.js +1 -0
  47. package/dist/client/_nuxt/ProseEm.7e9bacf8.js +1 -0
  48. package/dist/client/_nuxt/ProseH1.f4be965c.js +1 -0
  49. package/dist/client/_nuxt/ProseH2.3323da15.js +1 -0
  50. package/dist/client/_nuxt/ProseH3.97aadf2d.js +1 -0
  51. package/dist/client/_nuxt/ProseH4.77f0d76e.js +1 -0
  52. package/dist/client/_nuxt/ProseH5.a1e9a524.js +1 -0
  53. package/dist/client/_nuxt/ProseH6.badb2182.js +1 -0
  54. package/dist/client/_nuxt/ProseHr.1f3f8a19.js +1 -0
  55. package/dist/client/_nuxt/ProseImg.addee287.js +1 -0
  56. package/dist/client/_nuxt/ProseLi.c0a4081c.js +1 -0
  57. package/dist/client/_nuxt/ProseOl.f409cff0.js +1 -0
  58. package/dist/client/_nuxt/ProseP.90fa930a.js +1 -0
  59. package/dist/client/_nuxt/ProseStrong.ef82c4c4.js +1 -0
  60. package/dist/client/_nuxt/ProseTable.559935a7.js +1 -0
  61. package/dist/client/_nuxt/ProseTbody.bea00982.js +1 -0
  62. package/dist/client/_nuxt/ProseTd.5c53f1ad.js +1 -0
  63. package/dist/client/_nuxt/ProseTh.da6bf596.js +1 -0
  64. package/dist/client/_nuxt/ProseThead.ab101e90.js +1 -0
  65. package/dist/client/_nuxt/ProseTr.10b22f69.js +1 -0
  66. package/dist/client/_nuxt/ProseUl.92d3161d.js +1 -0
  67. package/dist/client/_nuxt/StateEditor.vue.a8ab5450.js +1 -0
  68. package/dist/client/_nuxt/__inspecting.a8b39e37.js +1 -0
  69. package/dist/client/_nuxt/_commonjsHelpers.87174ba5.js +1 -0
  70. package/dist/client/_nuxt/assets.7855a15c.js +16 -0
  71. package/dist/client/_nuxt/client-db.340d7fc8.js +1 -0
  72. package/dist/client/_nuxt/components.51a27467.js +1 -0
  73. package/dist/client/_nuxt/custom-_name_.397eb835.js +1 -0
  74. package/dist/client/_nuxt/default.5983d3fb.js +1 -0
  75. package/dist/client/_nuxt/editor.ec5a160f.js +1 -0
  76. package/dist/client/_nuxt/{entry.573eb475.js → entry.af9b874e.js} +111 -109
  77. package/dist/client/_nuxt/entry.c396e258.css +32 -0
  78. package/dist/client/_nuxt/error-404.ef05cd7d.js +1 -0
  79. package/dist/client/_nuxt/error-500.b994b6de.js +1 -0
  80. package/dist/client/_nuxt/{error-component.9b2b9ea0.js → error-component.93dcf272.js} +2 -2
  81. package/dist/client/_nuxt/full.3c77498c.js +1 -0
  82. package/dist/client/_nuxt/{fuse.esm.dd081c31.js → fuse.esm.6cb10448.js} +1 -1
  83. package/dist/client/_nuxt/hooks.8df155de.js +1 -0
  84. package/dist/client/_nuxt/imports.25b1c719.js +1 -0
  85. package/dist/client/_nuxt/index.38611814.js +1 -0
  86. package/dist/client/_nuxt/{index.ce8efa93.js → index.840dc95c.js} +6 -6
  87. package/dist/client/_nuxt/index.a6ef77ff.js +1 -0
  88. package/dist/client/_nuxt/{middleware.8446ef05.js → middleware.dacaa23f.js} +1 -1
  89. package/dist/client/_nuxt/modules.f91472de.js +1 -0
  90. package/dist/client/_nuxt/none.bb3f80b9.js +1 -0
  91. package/dist/client/_nuxt/overview.e0d22c39.js +1 -0
  92. package/dist/client/_nuxt/pages.12d35349.js +1 -0
  93. package/dist/client/_nuxt/payload.81558f87.js +1 -0
  94. package/dist/client/_nuxt/plugins.f5f45f1f.js +1 -0
  95. package/dist/client/_nuxt/preview.f5b42a41.js +1 -0
  96. package/dist/client/_nuxt/query.1a3ba2be.js +1 -0
  97. package/dist/client/_nuxt/runtime-configs.67372add.js +1 -0
  98. package/dist/client/_nuxt/server-routes.204b3d28.js +9 -0
  99. package/dist/client/_nuxt/settings.953b561c.js +1 -0
  100. package/dist/client/_nuxt/storage.857d8900.js +1 -0
  101. package/dist/client/_nuxt/terminals.961240f9.js +1 -0
  102. package/dist/client/_nuxt/unocss-runtime.c139499c.js +2 -0
  103. package/dist/client/_nuxt/utils.f4f8ef5c.js +1 -0
  104. package/dist/client/_nuxt/virtual-files.2e221c7c.js +1 -0
  105. package/dist/client/api/_content/cache.1682797615036.json +1 -0
  106. package/dist/client/index.html +2 -2
  107. package/dist/client/modules/assets/index.html +2 -2
  108. package/dist/client/modules/components/index.html +2 -2
  109. package/dist/client/modules/hooks/index.html +2 -2
  110. package/dist/client/modules/imports/index.html +2 -2
  111. package/dist/client/modules/middleware/index.html +2 -2
  112. package/dist/client/modules/modules/index.html +2 -2
  113. package/dist/client/modules/overview/index.html +2 -2
  114. package/dist/client/modules/pages/index.html +2 -2
  115. package/dist/client/modules/payload/index.html +2 -2
  116. package/dist/client/modules/plugins/index.html +2 -2
  117. package/dist/client/modules/runtime-configs/index.html +2 -2
  118. package/dist/client/modules/server-routes/index.html +2 -2
  119. package/dist/client/modules/storage/index.html +2 -2
  120. package/dist/client/modules/terminals/index.html +2 -2
  121. package/dist/client/modules/virtual-files/index.html +2 -2
  122. package/dist/client/settings/index.html +2 -2
  123. package/dist/module.json +1 -1
  124. package/dist/module.mjs +1 -1
  125. package/dist/runtime/plugins/devtools.client.mjs +34 -31
  126. package/dist/runtime/plugins/view/Frame.vue +1 -1
  127. package/dist/shared/{devtools.95cf6023.mjs → devtools.23768dcf.mjs} +2 -0
  128. package/dist/types.d.ts +2 -0
  129. package/package.json +25 -21
  130. package/dist/client/_nuxt/Badge.18a1faa1.js +0 -1
  131. package/dist/client/_nuxt/CodeSnippets.vue.93d86055.js +0 -1
  132. package/dist/client/_nuxt/DrawerRight.vue.753ffedf.js +0 -1
  133. package/dist/client/_nuxt/DurationDisplay.vue.2e10a9ab.js +0 -1
  134. package/dist/client/_nuxt/FilepathItem.vue.17a1ef3b.js +0 -1
  135. package/dist/client/_nuxt/LaunchPage.vue.d669f6a6.js +0 -1
  136. package/dist/client/_nuxt/NCheckbox.vue.e9f99715.js +0 -1
  137. package/dist/client/_nuxt/NCodeBlock.vue.bac56013.js +0 -2
  138. package/dist/client/_nuxt/NIconButton.vue.dc045a77.js +0 -1
  139. package/dist/client/_nuxt/NPanelGrids.02a70c97.js +0 -1
  140. package/dist/client/_nuxt/NSectionBlock.a11f230b.js +0 -1
  141. package/dist/client/_nuxt/NSelect.vue.ee701084.js +0 -1
  142. package/dist/client/_nuxt/NSwitch.vue.57428898.js +0 -1
  143. package/dist/client/_nuxt/NTextInput.vue.321edbfc.js +0 -1
  144. package/dist/client/_nuxt/NTip.vue.6b28ea49.js +0 -1
  145. package/dist/client/_nuxt/NpmVersionCheck.vue.cf2f92dc.js +0 -1
  146. package/dist/client/_nuxt/NuxtLogo.9393be93.js +0 -1
  147. package/dist/client/_nuxt/StateEditor.vue.780bea4b.js +0 -1
  148. package/dist/client/_nuxt/__inspecting.dca08c99.js +0 -1
  149. package/dist/client/_nuxt/assets.32f43d91.js +0 -16
  150. package/dist/client/_nuxt/components.cf2ad6d8.js +0 -1
  151. package/dist/client/_nuxt/custom-_name_.02a0e7a4.js +0 -1
  152. package/dist/client/_nuxt/default.15ad6f94.js +0 -1
  153. package/dist/client/_nuxt/editor.21c0f631.js +0 -1
  154. package/dist/client/_nuxt/entry.7a4bae62.css +0 -32
  155. package/dist/client/_nuxt/error-404.362e6f4b.js +0 -1
  156. package/dist/client/_nuxt/error-500.333947d6.js +0 -1
  157. package/dist/client/_nuxt/full.11c5f922.js +0 -1
  158. package/dist/client/_nuxt/hooks.5ac5215b.js +0 -1
  159. package/dist/client/_nuxt/imports.a42ed4e0.js +0 -1
  160. package/dist/client/_nuxt/index.207404a1.js +0 -1
  161. package/dist/client/_nuxt/index.c769634a.js +0 -3
  162. package/dist/client/_nuxt/modules.7af01df4.js +0 -1
  163. package/dist/client/_nuxt/none.a6f40eb7.js +0 -1
  164. package/dist/client/_nuxt/overview.57469504.js +0 -1
  165. package/dist/client/_nuxt/pages.e7c45d03.js +0 -1
  166. package/dist/client/_nuxt/payload.45880f90.js +0 -1
  167. package/dist/client/_nuxt/plugins.c2b464a0.js +0 -1
  168. package/dist/client/_nuxt/runtime-configs.c3bb5842.js +0 -1
  169. package/dist/client/_nuxt/server-routes.39ca7aaf.js +0 -9
  170. package/dist/client/_nuxt/settings.63e9273e.js +0 -1
  171. package/dist/client/_nuxt/storage.997cf777.js +0 -1
  172. package/dist/client/_nuxt/terminals.c017f557.js +0 -1
  173. package/dist/client/_nuxt/unocss-runtime.32a65eb2.js +0 -2
  174. package/dist/client/_nuxt/virtual-files.554fde6c.js +0 -1
@@ -0,0 +1 @@
1
+ const f=/\d/,l=["-","_","/","."];function h(e=""){if(!f.test(e))return e.toUpperCase()===e}function C(e,o){const c=o??l,s=[];if(!e||typeof e!="string")return s;let t="",p,u;for(const r of e){const i=c.includes(r);if(i===!0){s.push(t),t="",p=void 0;continue}const n=h(r);if(u===!1){if(p===!1&&n===!0){s.push(t),t=r,p=n;continue}if(p===!0&&n===!1&&t.length>1){const a=t[t.length-1];s.push(t.slice(0,Math.max(0,t.length-1))),t=a+r,p=n;continue}}t+=r,p=n,u=i}return s.push(t),s}function U(e){return e?e[0].toUpperCase()+e.slice(1):""}function R(e){return e?(Array.isArray(e)?e:C(e)).map(o=>U(o)).join(""):""}export{R as p};
@@ -1 +1 @@
1
- import{a as e,o as a,h as n}from"./entry.573eb475.js";const s=e({__name:"middleware",setup(o){return(t,r)=>(a(),n("div",null," WIP "))}});export{s as default};
1
+ import{a as e,o as a,e as n}from"./entry.af9b874e.js";const s=e({__name:"middleware",setup(o){return(t,r)=>(a(),n("div",null," WIP "))}});export{s as default};
@@ -0,0 +1 @@
1
+ import{a as V,L as U,h as b,aA as j,i as O,M as R,aM as H,aN as J,o as e,c as u,w as d,m as o,u as t,N as C,t as p,e as a,f as l,l as y,F as f,r as M,I as z,aJ as G,V as F,ar as K}from"./entry.af9b874e.js";import{_ as Q}from"./FilepathItem.vue.c910f268.js";import{_ as W}from"./NpmVersionCheck.vue.ff1c08a5.js";import{u as X}from"./editor.ec5a160f.js";import{_ as Y}from"./NSectionBlock.3f4396b3.js";import{_ as Z}from"./HelpFab.vue.f1360997.js";import"./Badge.cd3914e8.js";import"./NCodeBlock.vue.0cfd6eb2.js";import"./NCheckbox.vue.556df786.js";import"./NIconTitle.vue.c904da9d.js";import"./ContentRenderer.84f6a8ba.js";import"./ContentRendererMarkdown.9627ed5f.js";import"./index.a6ef77ff.js";import"./preview.f5b42a41.js";import"./NIconButton.vue.3972e12f.js";import"./query.1a3ba2be.js";import"./utils.f4f8ef5c.js";const tt={flex:"~ col gap2","flex-auto":"","of-hidden":"",px1:""},et={"of-hidden":"","text-ellipsis":"","ws-nowrap":"","text-lg":""},ot={key:2},nt={key:0,"line-clamp-2":"","mt--1":"","text-sm":"",op50:""},at=o("div",{"flex-auto":""},null,-1),st={key:1,flex:"~ gap-2",title:"Documentation"},it=o("span",{"i-carbon-link":"","text-lg":"",op50:""},null,-1),rt={key:2,flex:"~ gap-2"},lt=o("span",{"i-carbon-logo-github":"","text-lg":"",op50:""},null,-1),ct={key:3,flex:"~ gap-2",title:"Open on filesystem"},dt=o("span",{"i-carbon-folder-move-to":"","text-lg":"",op50:""},null,-1),mt=o("span",{"i-carbon-circle-dash":"","animate-spin":"","text-lg":"",op50:""},null,-1),pt=o("code",{"text-sm":"",op50:""},"Upgrading...",-1),ut={key:1,"mx--2":""},_t=["onClick"],ht=o("span",{"i-carbon-intent-request-active":"","text-lg":"","text-primary":""},null,-1),gt=o("code",{"text-xs":""},"Update installed, click to restart",-1),xt=[ht,gt],ft={key:2,"mx--2":""},yt=["onClick"],vt=o("span",{"i-carbon-intent-request-upgrade":"","text-lg":"",op50:""},null,-1),kt={op50:""},bt=o("div",{"i-carbon-arrow-right":"",op50:""},null,-1),wt={"text-green":""},Pt={key:3,flex:"~ gap-2","items-center":"",title:"NPM"},Ct=o("span",{"i-carbon-cube":"","text-lg":"",op50:""},null,-1),Mt={"text-sm":"",op50:""},Nt={flex:"~ col"},$t={key:0,"h-20":"","w-20":"",flex:"","flex-none":"",rounded:"","bg-gray:3":"",p4:""},Bt=["src","alt"],It=o("div",{"i-carbon-circle-dash":"",ma:"","text-4xl":"",op50:""},null,-1),Ft={key:1,flex:"~",mt2:"","flex-auto":"","items-end":"","justify-end":""},Vt=["src"],Ut=V({__name:"ModuleItem",props:{mod:null},async setup(h){let g,v;const c=h,_=U(),m=b(()=>c.mod.entryPath&&j(c.mod.entryPath)),s=b(()=>c.mod.meta?.name?c.mod.meta.name:c.mod.entryPath?m.value?O(c.mod.entryPath):_.value?.rootDir?R(c.mod.entryPath,_.value?.rootDir).path:"":""),N=([g,v]=H(()=>J()),g=await g,v(),g),n=b(()=>({name:s,...c.mod?.meta,...(N||[]).find?.(P=>P.npm===s.value||P.name===s.value)})),k="https://api.nuxtjs.org/api/ipx/s_80,f_webp/gh/nuxt/modules/main/icons/",w="https://api.nuxtjs.org/api/ipx/s_44,f_webp/gh_avatar/",i="https://github.com/",D="https://www.npmjs.com/package/",E=X();return(P,$)=>{const x=z,L=Q,S=W,T=G;return e(),u(T,{p4:"",flex:"~ gap2"},{default:d(()=>[o("div",tt,[o("div",et,[t(m)?(e(),u(x,{key:0,to:D+(t(n).npm||t(n).name),target:"_blank",hover:"underline text-primary"},{default:d(()=>[C(p(t(n).name),1)]),_:1},8,["to"])):h.mod.entryPath?(e(),a("button",{key:1,role:"button",hover:"underline text-primary",onClick:$[0]||($[0]=r=>t(E)(h.mod.entryPath))},p(t(n).name),1)):(e(),a("span",ot,p(t(n).name),1))]),t(n).description?(e(),a("div",nt,p(t(n).description),1)):l("",!0),at,t(n).website?(e(),a("div",st,[it,y(x,{to:t(n).website,target:"_blank","text-sm":"",op50:"",hover:"op100 underline text-primary"},{default:d(()=>[C(p(t(n).website.replace(/^https?:\/\//,"")),1)]),_:1},8,["to"])])):l("",!0),t(n).github?(e(),a("div",rt,[lt,y(x,{to:t(n).github,target:"_blank","text-sm":"",op50:"",hover:"op100 underline text-primary"},{default:d(()=>[C(p(t(n).github.replace(/^https?:\/\/github.com\//,"")),1)]),_:1},8,["to"])])):l("",!0),h.mod.entryPath?(e(),a("div",ct,[dt,y(L,{filepath:h.mod.entryPath,"text-sm":"",op50:"",hover:"text-primary op100"},null,8,["filepath"])])):l("",!0),t(n).npm?(e(),u(S,{key:t(n).npm,"package-name":t(n).npm,options:{dev:!0}},{default:d(({info:r,update:q,state:B,id:I,restart:A})=>[B==="running"?(e(),u(x,{key:0,flex:"~ gap-2","animate-pulse":"","items-center":"",to:I?`/modules/terminals?id=${encodeURIComponent(I)}`:void 0},{default:d(()=>[mt,pt]),_:2},1032,["to"])):B==="updated"?(e(),a("div",ut,[o("button",{flex:"~ gap-2",hover:"bg-primary/20","items-center":"",rounded:"","bg-primary:10":"",px2:"","text-sm":"","text-primary":"",onClick:A},xt,8,_t)])):r?.needsUpdate?(e(),a("div",ft,[o("button",{flex:"~ gap-2",title:"Click to upgrade","items-center":"",rounded:"",px2:"","text-sm":"",hover:"bg-active",onClick:Et=>q()},[vt,o("code",kt,"v"+p(r.current),1),bt,o("code",wt,"v"+p(r.latest),1)],8,yt)])):r?.latest?(e(),a("div",Pt,[Ct,o("code",Mt,"v"+p(r.current),1)])):l("",!0)]),_:1},8,["package-name"])):l("",!0)]),o("div",Nt,[t(n).icon||t(m)?(e(),a("div",$t,[t(n).icon?(e(),a("img",{key:0,src:k+t(n).icon,alt:t(s),ma:""},null,8,Bt)):l("",!0),It])):l("",!0),t(n).maintainers?.length?(e(),a("div",Ft,[(e(!0),a(f,null,M(t(n).maintainers,r=>(e(),u(x,{key:r.name,target:"_blank",to:i+r.github,title:r.name},{default:d(()=>[o("img",{src:w+r.github,"h-6":"","w-6":"","rounded-full":""},null,8,Vt)]),_:2},1032,["to","title"]))),128))])):l("",!0)])]),_:1})}}}),jt={"h-full":"","w-full":"","of-auto":""},Dt=o("div",{px4:""},[o("span",{op50:""},"Find more modules at "),o("a",{href:"https://nuxt.com/modules",target:"_blank",hover:"text-primary underline"},"nuxt.com/modules")],-1),te=V({__name:"modules",setup(h){const g=["pages","meta","components","imports","nuxt-config-schema","@nuxt/devtools","@nuxt/telemetry"],v=U(),c=b(()=>v.value?._installedModules||[]),_=F([]),m=F([]);return K(()=>{_.value.length=0,m.value.length=0;for(const s of c.value)g.includes(s.meta?.name)||(s.entryPath&&j(s.entryPath)?_.value.push(s):m.value.push(s))}),(s,N)=>{const n=Ut,k=Y,w=Z;return e(),a(f,null,[o("div",jt,[y(k,{icon:"carbon-3d-mpr-toggle",text:"Installed Modules","container-class":"grid grid-cols-minmax-400px gap3 px4",padding:!1,description:`Total modules: ${t(_).length}`},{footer:d(()=>[Dt]),default:d(()=>[(e(!0),a(f,null,M(t(_),i=>(e(),u(n,{key:i.meta?.name||i.entryPath,mod:i},null,8,["mod"]))),128))]),_:1},8,["description"]),t(m).length?(e(),u(k,{key:0,icon:"carbon-3d-mpr-toggle",text:"User Modules","container-class":"grid grid-cols-minmax-400px gap3 px4",padding:!1,description:`Total modules: ${t(m).length}`},{default:d(()=>[(e(!0),a(f,null,M(t(m),i=>(e(),a(f,{key:i.meta?.name||i.entryPath},[i.meta?.name||i.entryPath?(e(),u(n,{key:0,mod:i},null,8,["mod"])):l("",!0)],64))),128))]),_:1},8,["description"])):l("",!0)]),y(w,{path:"/modules"})],64)}}});export{te as default};
@@ -0,0 +1 @@
1
+ import{k as r,p as n}from"./entry.af9b874e.js";const t={};function o(e,s){return n(e.$slots,"default")}const a=r(t,[["render",o]]);export{a as default};
@@ -0,0 +1 @@
1
+ import{_ as B}from"./NuxtLogo.49ed4c34.js";import{_ as I}from"./Badge.cd3914e8.js";import{_ as V,a as j}from"./NpmVersionCheck.vue.ff1c08a5.js";import{a as D,a3 as R,L as T,aB as L,b as $,aS as A,aT as F,R as M,o as s,c as a,w as o,u as e,e as d,m as t,l as i,t as _,F as p,f as c,aU as O,N as n,a5 as P,I as W,a6 as G}from"./entry.af9b874e.js";import{_ as U}from"./NPanelGrids.e798da22.js";import"./NCodeBlock.vue.0cfd6eb2.js";import"./NCheckbox.vue.556df786.js";const E="0.4.3",H={key:0},q={key:1,flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",p8:"",px20:""},z=t("div",{"flex-auto":""},null,-1),J={flex:"~ col","mt-20":"","items-center":""},K={flex:"~","mt--10":"","items-center":"","justify-center":""},Q={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},X=t("span",{op40:""}," Nuxt DevTools ",-1),Y={op40:""},Z={flex:"~ gap2 wrap"},tt={p4:"","theme-card-green":"",flex:"~ col auto"},et=t("div",{"logos-nuxt-icon":"","text-3xl":""},null,-1),ot=t("div",{"carbon-tree-view-alt":"","text-3xl":""},null,-1),nt=t("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),st=t("div",{"carbon-function":"","text-3xl":""},null,-1),it=t("div",{"carbon-3d-mpr-toggle":"","text-3xl":""},null,-1),lt=t("div",{"carbon-plug":"","text-3xl":""},null,-1),at={flex:"~ col gap2"},ct={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},rt=t("a",{href:"https://github.com/nuxt/devtools",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[t("div",{"i-carbon-star":""}),n(" Star on GitHub ")],-1),ut=t("a",{href:"https://github.com/nuxt/devtools/discussions/29",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[t("div",{"i-carbon-data-enrichment":""}),n(" Ideas & Suggestions ")],-1),_t=t("a",{href:"https://github.com/nuxt/devtools/discussions/31",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[t("div",{"i-carbon-plan":""}),n(" Project Roadmap ")],-1),dt=t("a",{href:"https://github.com/nuxt/devtools/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[t("div",{"i-carbon-debug":""}),n(" Bug Reports ")],-1),pt=t("div",{"i-carbon-settings":""},null,-1),mt=t("div",{"flex-auto":""},null,-1),ht={flex:"~ gap-1","items-center":"","justify-center":"","text-sm":"",op40:""},xt=t("span",null,"+",-1),ft=t("span",null,"+",-1),gt=t("span",null,"+",-1),vt=t("span",null,"+",-1),Vt=D({__name:"overview",setup(bt){const f=R(),l=T(),g=L(),m=$(),v=A(),b=F(),k=M();function w(){P.value=!0,k.push("/")}return(h,kt)=>{const y=B,N=I,x=V,r=W,C=j,u=G,S=U;return s(),a(S,{"h-screen":"","w-full":"",flex:""},{default:o(()=>[e(l)?(s(),d("div",q,[z,t("div",J,[t("div",K,[i(y,{"h-18":""}),t("button",{"mr--16":"","mt--6":"",onClick:w},[i(N,{"bg-green-400:10":"","text-green-400":"",title:"preview",textContent:"preview"})])]),t("div",Q,[X,t("code",Y,"v"+_(e(E)),1),i(x,{"package-name":"@nuxt/devtools",options:{dev:!0},"show-version":!1})])]),t("div",Z,[t("div",tt,[et,i(x,{"package-name":"nuxt",options:{dev:!0}})]),e(l)?(s(),d(p,{key:0},[e(l)&&e(l).pages&&e(f)?(s(),a(r,{key:0,"min-w-40":"",p4:"","theme-card-lime":"",flex:"~ col auto",to:"/modules/pages"},{default:o(()=>[ot,t("div",null,_(e(v).length)+" pages",1)]),_:1})):c("",!0),e(l)?(s(),a(r,{key:1,"min-w-40":"",p4:"","theme-card-lime":"",flex:"~ col auto",to:"/modules/components"},{default:o(()=>[nt,t("div",null,_(e(g).length)+" components",1)]),_:1})):c("",!0),e(l)&&e(m)?(s(),a(r,{key:2,"min-w-40":"",p4:"","theme-card-yellow":"",flex:"~ col auto",to:"/modules/imports"},{default:o(()=>[st,t("div",null,_(e(m).imports.length)+" imports",1)]),_:1})):c("",!0),e(l)?(s(),a(r,{key:3,"min-w-40":"",p4:"","theme-card-purple":"",flex:"~ col auto",to:"/modules/modules"},{default:o(()=>[it,t("div",null,_(e(l)._installedModules.length)+" modules",1)]),_:1})):c("",!0),e(l)?(s(),a(r,{key:4,"min-w-40":"",p4:"","theme-card-teal":"",flex:"~ col auto",to:"/modules/plugins"},{default:o(()=>[lt,t("div",null,_(e(l).plugins.length)+" plugins",1)]),_:1})):c("",!0)],64)):c("",!0)]),t("div",at,[("showConnectionWarning"in h?h.showConnectionWarning:e(O))?(s(),a(C,{key:0,n:"yellow5",icon:"carbon-unlink","justify-center":""},{default:o(()=>[n(" Not connected to the client app, showing server-side data only. Use the embedded mode for full features. ")]),_:1})):c("",!0)]),t("div",ct,[rt,ut,_t,dt,i(r,{to:"/settings",flex:"~ gap1","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:o(()=>[pt,n(" Settings ")]),_:1})]),mt,t("div",ht,[n(" Press "),e(b)?(s(),d(p,{key:0},[i(u,{n:"xs",class:"px2"},{default:o(()=>[n(" ⇧ Shift ")]),_:1}),xt,i(u,{n:"xs",class:"px2"},{default:o(()=>[n(" ⌥ Option ")]),_:1}),ft,i(u,{n:"xs",class:"px2"},{default:o(()=>[n(" D ")]),_:1})],64)):(s(),d(p,{key:1},[i(u,{n:"xs",class:"px2"},{default:o(()=>[n(" Shift ")]),_:1}),gt,i(u,{n:"xs",class:"px2"},{default:o(()=>[n(" Alt ")]),_:1}),vt,i(u,{n:"xs",class:"px2"},{default:o(()=>[n(" D ")]),_:1})],64)),n(" to toggle DevTools ")])])):(s(),d("div",H," Loading... "))]),_:1})}}});export{Vt as default};
@@ -0,0 +1 @@
1
+ import{_ as L}from"./NTextInput.vue.3ee9e6a6.js";import{_ as F}from"./Badge.cd3914e8.js";import{a as T,V as M,h as b,aV as j,Y as z,u as n,o,e as a,m as e,t as k,c as g,w as C,aW as Y,F as _,r as P,f as v,l as h,N as B,O as E,a6 as H,aX as A,aY as X,aZ as Z,L as q,au as G,av as J,a_ as Q,a$ as S,x as ee,af as te,aD as ne,S as oe}from"./entry.af9b874e.js";import{_ as D}from"./FilepathItem.vue.c910f268.js";import{u as ae}from"./editor.ec5a160f.js";import{_ as se}from"./NSectionBlock.3f4396b3.js";import{_ as re}from"./LaunchPage.vue.7af6375c.js";import{_ as le}from"./HelpFab.vue.f1360997.js";import"./NIconTitle.vue.c904da9d.js";import"./NMarkdown.vue.141eb8e5.js";import"./NPanelGrids.e798da22.js";import"./ContentRenderer.84f6a8ba.js";import"./ContentRendererMarkdown.9627ed5f.js";import"./index.a6ef77ff.js";import"./preview.f5b42a41.js";import"./NIconButton.vue.3972e12f.js";import"./query.1a3ba2be.js";import"./utils.f4f8ef5c.js";const ie={block:"","cursor-pointer":""},ue={p2:""},ce=["onSubmit"],de=e("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1),pe={flex:"~","items-center":"",p2:"","font-mono":"","text-sm":""},me={key:1},he=T({__name:"RoutePathItem",props:{route:null},emits:["navigate"],setup(m,{emit:c}){const i=m,f=M([]),y=b(()=>{const s=j(i.route.path);return f.value=Array.from({length:s.length},()=>""),s}),w=b(()=>y.value.map((s,l)=>s[0]===":"?f.value[l]:s).join("").replace(/\/+/g,"/")),x=b(()=>i.route.path.includes(":"));function u(){c("navigate",w.value)}return(s,l)=>{const N=L,p=H,r=z("VDropdown");return n(x)?(o(),g(r,{key:1},{popper:C(({hide:t})=>[e("div",ue,[e("form",{flex:"~ col",onSubmit:Y(()=>{u(),t()},["prevent"])},[n(x)?(o(),a(_,{key:0},[de,e("div",pe,[(o(!0),a(_,null,P(n(y),(d,R)=>(o(),a(_,{key:R},[d[0]===":"?(o(),g(N,{key:0,modelValue:n(f)[R],"onUpdate:modelValue":V=>n(f)[R]=V,"w-20":"","n-sm":"",placeholder:d.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(o(),a("span",me,k(d),1))],64))),128))])],64)):v("",!0),h(p,{block:"",n:"primary"},{default:C(()=>[B(" Navigate ")]),_:1})],40,ce)])]),default:C(()=>[e("code",ie,[(o(!0),a(_,null,P(n(y),(t,d)=>(o(),a("span",{key:d,class:E(t[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},k(t[0]===":"?t.slice(1):t),3))),128))])]),_:1})):(o(),a("button",{key:0,onClick:u},[e("code",null,k(m.route.path),1)]))}}}),_e={"w-full":""},fe=e("thead",{border:"b base"},[e("tr",null,[e("th",{"text-left":""}),e("th",{"text-left":""}," Route Path "),e("th",{"text-left":""}," Name "),e("th",{"text-left":""}," Middleware "),e("th",null," Layout ")])],-1),ge={"w-20":"","pr-1":""},ve={flex:"","items-center":"","justify-end":""},ye={"text-sm":""},xe={flex:"inline gap3","items-center":""},be={op0:"","group-hover:op100":"",flex:"~ gap1"},ke=["onClick"],we=e("div",{"i-carbon-script-reference":""},null,-1),$e=[we],Ce={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","font-mono":"","text-sm":"",op50:""},Ne={"w-0":"","ws-nowrap":"","pr-1":"","text-center":"","font-mono":"","text-sm":"",op50:""},Re={"w-0":"","ws-nowrap":"","text-center":"","font-mono":"","text-sm":""},Ve={key:0},Pe=["onClick"],Ie=T({__name:"RoutesTable",props:{pages:null,layouts:null,matched:null,matchedPending:null},emits:["navigate"],setup(m){const c=m,i=ae(),f=A(),y=b(()=>[...c.pages].sort((u,s)=>u.path.localeCompare(s.path)));function w(u){const s=c.layouts.find(l=>l.name===u);s&&i(s.file)}function x(u){if(typeof u=="string")return f.value?.middleware.find(s=>s.name===u)?.path}return(u,s)=>{const l=F,N=he,p=D;return o(),a("div",null,[e("table",_e,[fe,e("tbody",null,[(o(!0),a(_,null,P(n(y),r=>(o(),a("tr",{key:r.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[e("td",ge,[e("div",ve,[m.matched.find(t=>t.name===r.name)?(o(),g(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):v("",!0),m.matchedPending.find(t=>t.name===r.name)?(o(),g(l,{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):v("",!0)])]),e("td",ye,[e("div",xe,[h(N,{route:r,class:E(m.matched.find(t=>t.name===r.name)?"text-primary":m.matchedPending.find(t=>t.name===r.name)?"text-teal":""),onNavigate:s[0]||(s[0]=t=>u.$emit("navigate",t))},null,8,["route","class"]),e("div",be,[r.file||r.meta?.file?(o(),a("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary",title:"Open in editor",onClick:t=>n(i)(r.file||r.meta?.file)},$e,8,ke)):v("",!0)])])]),e("td",Ce,k(r.name),1),e("td",Ne,[h(p,{filepath:x(r.meta.middleware),override:`${r.meta.middleware||"-"}`},null,8,["filepath","override"])]),e("td",Re,[r.meta.layout===!1?(o(),a("span",Ve,"-")):r.meta.layout?(o(),a("button",{key:1,onClick:t=>w(r.meta.layout)},k(r.meta.layout),9,Pe)):(o(),a("button",{key:2,"text-sm":"",op15:"",onClick:s[1]||(s[1]=t=>w("default"))}," (default) "))])]))),128))])])])}}}),Be={key:0,"h-full":"","of-auto":""},Te={border:"b base",flex:"~ col gap1",px4:"",py3:"","navbar-glass":""},Ee=e("span",{op50:""},"Navigate from ",-1),Se={"font-mono":""},Le=e("span",{op50:""}," to ",-1),Fe={key:1,op50:""},Me=e("span",null,[B("Press "),e("b",{"font-bold":""},"Enter"),B(" to navigate")],-1),Ae={key:0,"text-orange":"",op75:""},De={key:1,op50:""},Ke={"w-full":""},Oe=e("thead",{border:"b base","h-7":""},[e("tr",null,[e("th",{"text-left":""}," Name "),e("th",{"text-left":""}," Path ")])],-1),Ue={mr1:""},lt=T({__name:"pages",setup(m){const c=X(),i=Z(),f=q(),y=A(),w=G(),x=J(),u=b(()=>(c.value?.getRoutes()||[]).map(t=>Q(t,["path","name","meta","props","children"])).map(t=>({...w.value?.find(d=>d.name&&d.name===t.name),...t}))),s=b(()=>y.value?.middleware||[]),l=M("");S(i).toBeTruthy().then(t=>{l.value=t.path}),S(c).toBeTruthy().then(t=>{t.afterEach(()=>{ee(()=>{l.value=i.value.path})})});async function N(){l.value!==i.value.path&&c.value.push(l.value||"/")}const p=b(()=>l.value===i.value.path?[]:c.value.resolve(l.value||"/").matched);function r(t){c.value.push(t)}return(t,d)=>{const R=L,V=Ie,I=se,K=F,O=D,U=re,W=le;return o(),a(_,null,[n(f)?.pages&&n(c)?(o(),a("div",Be,[e("div",Te,[e("div",null,[n(i).path!==n(l)?(o(),a(_,{key:0},[Ee,e("span",Se,k(n(i).path),1),Le],64)):(o(),a("span",Fe,"Current route"))]),h(R,{modelValue:n(l),"onUpdate:modelValue":d[0]||(d[0]=$=>te(l)?l.value=$:null),"font-mono":"",icon:"carbon-direction-right-01 scale-y--100",class:E(n(i).path===n(l)?"":n(p).length?"text-green":"text-orange"),onKeydown:ne(N,["enter"])},null,8,["modelValue","class","onKeydown"]),e("div",null,[n(i).path!==n(l)?(o(),a(_,{key:0},[Me,n(p).length?v("",!0):(o(),a("span",Ae," (no match)"))],64)):(o(),a("span",De,"Edit path above to navigate"))])]),n(p).length?(o(),g(I,{key:0,icon:"carbon-tree-view",text:"Matched Routes",padding:!1},{default:C(()=>[h(V,{pages:n(p),layouts:n(x)||[],matched:[],"matched-pending":n(p),onNavigate:r},null,8,["pages","layouts","matched-pending"])]),_:1})):v("",!0),h(I,{icon:"carbon-tree-view-alt",text:"All Routes",description:`${n(u).length} routes registered in your application`,padding:"pr5"},{default:C(()=>[h(V,{pages:n(u),layouts:n(x)||[],matched:n(i).matched,"matched-pending":n(p),onNavigate:r},null,8,["pages","layouts","matched","matched-pending"])]),_:1},8,["description"]),n(s).length?(o(),g(I,{key:1,icon:"carbon:ibm-watson-studio",text:"Middleware",description:`${n(s).length} middleware registered in your application`,padding:"px13"},{default:C(()=>[e("table",Ke,[Oe,(o(!0),a(_,null,P(n(s),$=>(o(),a("tr",{key:$.path,"h-7":""},[e("td",null,[e("span",Ue,k($.name),1),$.global?(o(),g(K,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"global"})):v("",!0)]),e("td",null,[h(O,{filepath:$.path},null,8,["filepath"])])]))),128))])]),_:1},8,["description"])):v("",!0)])):(o(),g(U,{key:1,icon:"carbon-tree-view-alt",title:"Nuxt Routing",description:"Create `./pages/index.vue` to enable routing",actions:[{label:"Learn more",src:"https://nuxt.com/docs/getting-started/routing",attrs:{n:"primary"}},{label:"Enable Routing",handle(){return("rpc"in t?t.rpc:n(oe)).runWizard("enablePages")}}]},null,8,["actions"])),h(W,{path:"/pages"})],64)}}});export{lt as default};
@@ -0,0 +1 @@
1
+ import{_ as h}from"./StateEditor.vue.a8ab5450.js";import{a as y,o as t,e as r,F as k,r as S,c as f,w as o,p as N,n as C,g as B,a3 as F,h as w,u as c,l as a,f as d,N as D,a6 as E}from"./entry.af9b874e.js";import{_ as P}from"./NSectionBlock.3f4396b3.js";import{_ as R}from"./NIconButton.vue.3972e12f.js";import{_ as V}from"./HelpFab.vue.f1360997.js";import"./NIconTitle.vue.c904da9d.js";import"./ContentRenderer.84f6a8ba.js";import"./ContentRendererMarkdown.9627ed5f.js";import"./index.a6ef77ff.js";import"./preview.f5b42a41.js";import"./query.1a3ba2be.js";import"./utils.f4f8ef5c.js";const j={key:0,flex:"~ col gap-1"},G={key:1,mt2:"",px4:"",italic:"",op35:""},H=y({__name:"StateGroup",props:{state:null,prefix:{default:""}},setup(n){return(i,s)=>{const l=h;return t(),r("div",null,[n.state&&Object.keys(n.state).length>0?(t(),r("div",j,[(t(!0),r(k,null,S(n.state,(p,e)=>(t(),f(l,{key:e,state:p,name:e.startsWith(n.prefix)?e.slice(n.prefix.length):e},{actions:o(u=>[N(i.$slots,"actions",C(B(u)))]),_:2},1032,["state","name"]))),128))])):(t(),r("div",G," No data "))])}}}),K={key:0},Y=y({__name:"payload",setup(n){const i=F(),s=w(()=>i.value?.nuxt.payload);async function l(p){await i.value?.nuxt.hooks.callHookParallel("app:data:refresh",p)}return(p,e)=>{const u=H,m=P,$=E,b=R,g=h,v=V;return t(),r(k,null,[c(i)?(t(),r("div",K,[a(m,{icon:"carbon-data-set",text:"State",description:"Keyed state from `useState`",padding:!1},{default:o(()=>[a(u,{state:c(s).state,prefix:"$s"},null,8,["state"])]),_:1}),a(m,{icon:"carbon-data-blob",text:"Data",description:"Keyed state from `useAsyncData`",padding:!1},{actions:o(()=>[a($,{n:"xs primary","self-start":"",icon:"i-carbon-recycle",onClick:e[0]||(e[0]=x=>l())},{default:o(()=>[D(" Re-fetch all data ")]),_:1})]),default:o(()=>[a(u,{state:c(s).data},{actions:o(({isOpen:x,name:_})=>[x&&_?(t(),f(b,{key:0,title:`Re-fetch '${_}'`,icon:"carbon-recycle",onClick:O=>l([_])},null,8,["title","onClick"])):d("",!0)]),_:1},8,["state"])]),_:1}),c(s).functions&&Object.keys(c(s).functions).length?(t(),f(m,{key:0,icon:"carbon-function",text:"Functions",description:"State for functions (experimental)"},{default:o(()=>[a(g,{"ml--6":"",state:c(s).functions},null,8,["state"])]),_:1})):d("",!0)])):d("",!0),a(v,{path:"/payload"})],64)}}});export{Y as default};
@@ -0,0 +1 @@
1
+ import{_ as P}from"./FilepathItem.vue.c910f268.js";import{_ as B}from"./Badge.cd3914e8.js";import{_ as b}from"./DurationDisplay.vue.d82ba06a.js";import{a as C,L as k,h as x,M as D,o as n,e as d,m as l,t as M,l as g,u as a,c,f as u,a3 as F,w as N,F as y,r as S,O as w}from"./entry.af9b874e.js";import{_ as E}from"./NSectionBlock.3f4396b3.js";import{_ as I}from"./HelpFab.vue.f1360997.js";import"./editor.ec5a160f.js";import"./NIconTitle.vue.c904da9d.js";import"./ContentRenderer.84f6a8ba.js";import"./ContentRendererMarkdown.9627ed5f.js";import"./index.a6ef77ff.js";import"./preview.f5b42a41.js";import"./NIconButton.vue.3972e12f.js";import"./query.1a3ba2be.js";import"./utils.f4f8ef5c.js";const T={flex:"~ gap2","items-center":""},V={w8:"","text-right":"","text-sm":"",op25:""},W={key:0,"flex-auto":"","text-right":""},L=C({__name:"PluginItem",props:{plugin:null,index:null},setup(o){const s=o,m=k(),p=x(()=>D(s.plugin.src,m.value?.rootDir||"").path);return(f,i)=>{const r=P,t=B,e=b;return n(),d("div",T,[l("div",V,M(o.index),1),g(r,{filepath:s.plugin.src,subpath:!0},null,8,["filepath"]),l("div",null,[a(p).startsWith("#")?(n(),c(t,{key:0,"bg-rose-400:10":"","text-rose":"",textContent:"virtual"})):a(p).startsWith(".")?u("",!0):(n(),c(t,{key:1,"bg-gray-400:10":"","text-gray":"",textContent:"module"})),o.plugin.mode==="server"?(n(),c(t,{key:2,"bg-teal-400:10":"","text-teal-400":"",textContent:"server"})):u("",!0),o.plugin.mode==="client"?(n(),c(t,{key:3,"bg-orange-400:10":"","text-orange-400":"",textContent:"client"})):u("",!0)]),o.plugin.metric?.duration!=null?(n(),d("div",W,[g(e,{duration:o.plugin.metric?.duration,factor:10},null,8,["duration"])])):u("",!0)])}}}),j={pt4:""},z={class:"text-sm",flex:"~ gap-1 items-center justify-end","mt-3":""},H=l("div",{"i-carbon-timer":"","text-lg":"",op75:""},null,-1),O=l("span",{op50:""},"Total execution time:",-1),st=C({__name:"plugins",setup(o){const s=k(),m=F(),p=x(()=>{const i=s.value?.plugins||[],r=m.value?.getClientPluginMetrics()||[];return i.map(t=>{const e=typeof t=="string"?{src:t}:t;return{...e,metric:r.find(_=>_.src===e.src||_.src.startsWith(e.src))}})}),f=x(()=>{const i=m.value?.getClientPluginMetrics()||[],r=Math.min(...i.map(e=>e.start));return Math.max(...i.map(e=>e.end))-r});return(i,r)=>{const t=L,e=b,_=E,$=I;return n(),d(y,null,[a(s)?(n(),c(_,{key:0,icon:"carbon-plug",text:"Plugins",description:`Total plugins: ${a(s).plugins.length}`},{default:N(()=>[l("div",j,[(n(!0),d(y,null,S(a(p),(h,v)=>(n(),c(t,{key:h.src,plugin:h,index:v+1,"ml--4":"","border-base":"",py2:"",class:w(v?"border-t":"")},null,8,["plugin","index","class"]))),128)),l("div",z,[H,O,g(e,{duration:a(f),factor:10},null,8,["duration"])])])]),_:1},8,["description"])):u("",!0),g($,{path:"/plugins"})],64)}}});export{st as default};
@@ -0,0 +1 @@
1
+ import{V as m,s as v,W as g,v as d}from"./entry.af9b874e.js";const h=decodeURIComponent,S=encodeURIComponent,y=/; */,p=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function k(t,o){if(typeof t!="string")throw new TypeError("argument str must be a string");let i={},e=o||{},n=t.split(y),a=e.decode||h;for(let r=0;r<n.length;r++){let s=n[r],l=s.indexOf("=");if(l<0)continue;let f=s.substr(0,l).trim(),c=s.substr(++l,s.length).trim();c[0]=='"'&&(c=c.slice(1,-1)),i[f]==null&&(i[f]=T(c,a))}return i}function w(t,o,i){let e=i||{},n=e.encode||S;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!p.test(t))throw new TypeError("argument name is invalid");let a=n(o);if(a&&!p.test(a))throw new TypeError("argument val is invalid");let r=t+"="+a;if(e.maxAge!=null){let s=e.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");r+="; Max-Age="+Math.floor(s)}if(e.domain){if(!p.test(e.domain))throw new TypeError("option domain is invalid");r+="; Domain="+e.domain}if(e.path){if(!p.test(e.path))throw new TypeError("option path is invalid");r+="; Path="+e.path}if(e.expires){if(typeof e.expires.toUTCString!="function")throw new TypeError("option expires is invalid");r+="; Expires="+e.expires.toUTCString()}if(e.httpOnly&&(r+="; HttpOnly"),e.secure&&(r+="; Secure"),e.sameSite)switch(typeof e.sameSite=="string"?e.sameSite.toLowerCase():e.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}function T(t,o){try{return o(t)}catch{return t}}const x={path:"/",watch:!0,decode:t=>g(decodeURIComponent(t)),encode:t=>encodeURIComponent(typeof t=="string"?t:JSON.stringify(t))};function u(t,o){const i={...x,...o},e=C(i)||{},n=m(e[t]??i.default?.());{const a=()=>{b(t,n.value,i)};i.watch?v(n,a,{deep:i.watch!=="shallow"}):a()}return n}function C(t={}){return k(document.cookie,t)}function E(t,o,i={}){return o==null?w(t,o,{...i,maxAge:-1}):w(t,o,i)}function b(t,o,i={}){document.cookie=E(t,o,i)}const R=()=>({isEnabled:()=>{const e=d().query;return Object.prototype.hasOwnProperty.call(e,"preview")&&!e.preview?!1:!!(e.preview||u("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>u("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:e=>{u("previewToken").value=e,d().query.preview=e||"",e?sessionStorage.setItem("previewToken",e):sessionStorage.removeItem("previewToken"),window.location.reload()}});export{R as u};
@@ -0,0 +1 @@
1
+ import{z as h,a0 as g,a1 as d,a2 as _,D as p,_ as $}from"./entry.af9b874e.js";import{w as f,s as P}from"./utils.f4f8ef5c.js";import{u as E}from"./preview.f5b42a41.js";const l=(r,e)=>e.split(".").reduce((t,s)=>t&&t[s],r),y=(r,e)=>Object.keys(r).filter(e).reduce((t,s)=>Object.assign(t,{[s]:r[s]}),{}),L=r=>e=>Array.isArray(e)?e.map(t=>r(t)):r(e),w=r=>{const e=[],t=[];for(const s of r)["$","_"].includes(s)?e.push(s):t.push(s);return{prefixes:e,properties:t}},R=(r=[])=>e=>{if(r.length===0||!e)return e;const{prefixes:t,properties:s}=w(r);return y(e,n=>!s.includes(n)&&!t.includes(n[0]))},q=(r=[])=>e=>{if(r.length===0||!e)return e;const{prefixes:t,properties:s}=w(r);return y(e,n=>s.includes(n)||t.includes(n[0]))},D=(r,e)=>{const t=new Intl.Collator(e.$locale,{numeric:e.$numeric,caseFirst:e.$caseFirst,sensitivity:e.$sensitivity}),s=Object.keys(e).filter(n=>!n.startsWith("$"));for(const n of s)r=r.sort((o,i)=>{const c=[l(o,n),l(i,n)].map(u=>{if(u!==null)return u instanceof Date?u.toISOString():u});return e[n]===-1&&c.reverse(),t.compare(c[0],c[1])});return r},j=(r,e="Expected an array")=>{if(!Array.isArray(r))throw new TypeError(e)},a=r=>Array.isArray(r)?r:r?[r]:[],S=["sort","where","only","without"],x=(r,e)=>{const t={...e};for(const o of S)t[o]&&(t[o]=a(t[o]));const s=(o,i=c=>c)=>(...c)=>(t[o]=i(...c),n),n={params:()=>({...t,...t.where?{where:[...a(t.where)]}:{},...t.sort?{sort:[...a(t.sort)]}:{}}),only:s("only",a),without:s("without",a),where:s("where",o=>[...a(t.where),...a(o)]),sort:s("sort",o=>[...a(t.sort),...a(o)]),limit:s("limit",o=>parseInt(String(o),10)),skip:s("skip",o=>parseInt(String(o),10)),find:()=>r(n),findOne:()=>(t.first=!0,r(n)),findSurround:(o,i)=>(t.surround={query:o,...i},r(n)),locale:o=>n.where({_locale:o})};return n};function m(r){return JSON.stringify(r,k)}function k(r,e){return e instanceof RegExp?`--REGEX ${e.toString()}`:e}const A=r=>{let e=m(r);return e=typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e),e=e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(e.match(/.{1,100}/g)||[]).join("/")},C=()=>async r=>{const{content:e}=h().public,t=r.params(),s=e.experimental.stripQueryParameters?f(`/query/${`${p(t)}.${e.integrity}`}/${A(t)}.json`):f(`/query/${p(t)}.${e.integrity}.json`);if(P())return(await $(()=>import("./client-db.340d7fc8.js"),["./client-db.340d7fc8.js","./entry.af9b874e.js","./entry.c396e258.css","./index.a6ef77ff.js","./_commonjsHelpers.87174ba5.js","./preview.f5b42a41.js","./utils.f4f8ef5c.js"],import.meta.url).then(i=>i.useContentDatabase())).fetch(r);const n=await $fetch(s,{method:"GET",responseType:"json",params:e.experimental.stripQueryParameters?void 0:{_params:m(t),previewToken:E().getPreviewToken()}});if(typeof n=="string"&&n.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return n};function B(r,...e){const{content:t}=h().public,s=x(C(),typeof r!="string"?r:{});let n;typeof r=="string"&&(n=g(d(r,...e)));const o=s.params;return s.params=()=>{const i=o();return n&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:_(n)}):i.where.push({_path:new RegExp(`^${n.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),i.sort?.length||(i.sort=[{_file:1,$numeric:!0}]),t.locales.length&&(i.where?.find(u=>u._locale)?._locale||(i.where=i.where||[],i.where.push({_locale:t.defaultLocale}))),i},s}export{j as a,a as b,L as c,q as d,A as e,x as f,l as g,m as j,B as q,D as s,R as w};
@@ -0,0 +1 @@
1
+ import{_ as f}from"./StateEditor.vue.a8ab5450.js";import{_ as d}from"./NSectionBlock.3f4396b3.js";import{_ as g}from"./HelpFab.vue.f1360997.js";import{a as C,a3 as v,L as x,h as r,o as c,e as p,u as o,l as e,w as s,f as h,F as b}from"./entry.af9b874e.js";import"./NIconButton.vue.3972e12f.js";import"./NIconTitle.vue.c904da9d.js";import"./ContentRenderer.84f6a8ba.js";import"./ContentRendererMarkdown.9627ed5f.js";import"./index.a6ef77ff.js";import"./preview.f5b42a41.js";import"./query.1a3ba2be.js";import"./utils.f4f8ef5c.js";const y={key:0},H=C({__name:"runtime-configs",setup(k){const n=v(),l=x(),m=r(()=>n.value?.nuxt.payload),u=r(()=>{const t={...l.value?.runtimeConfig};return delete t.public,delete t.app,t});return(t,B)=>{const a=f,i=d,_=g;return c(),p(b,null,[o(n)?(c(),p("div",y,[e(i,{icon:"carbon-settings-services",text:"App Config",padding:!1},{default:s(()=>[e(a,{state:o(n).appConfig},null,8,["state"])]),_:1}),e(i,{icon:"carbon-settings",text:"Public Runtime Config",padding:!1},{default:s(()=>[e(a,{state:o(m).config?.public},null,8,["state"])]),_:1}),e(i,{icon:"i-carbon-code-signing-service",text:"Private Runtime Config",open:!1,padding:!1,description:"These values are not exposed to the client. Readonly in the DevTools."},{default:s(()=>[e(a,{state:o(u),readonly:""},null,8,["state"])]),_:1})])):h("",!0),e(_,{path:"/runtime-configs"})],64)}}});export{H as default};
@@ -0,0 +1,9 @@
1
+ import{F as ce,_ as ie}from"./fuse.esm.6cb10448.js";import{_ as Y}from"./Badge.cd3914e8.js";import{a as Z,L as de,aE as pe,h as p,V as k,o as a,e as m,m as c,c as x,w as l,N as h,t as y,u as e,O as b,b2 as G,F as j,r as A,af as ee,l as s,f as $,a6 as me,q as fe,b3 as _e,v as ve,b4 as he,b5 as ye,I as ge,aJ as xe}from"./entry.af9b874e.js";import{_ as be}from"./NSelect.vue.6f8626a9.js";import{_ as Ce}from"./NTextInput.vue.3ee9e6a6.js";import{_ as ke}from"./CodeSnippets.vue.632ecac5.js";import{_ as te}from"./NPanelGrids.e798da22.js";import{_ as $e}from"./NCodeBlock.vue.0cfd6eb2.js";import{u as Re}from"./editor.ec5a160f.js";import{C as X}from"./constants.126da185.js";import{_ as Te}from"./PanelLeftRight.vue.6f7c90d0.js";const qe={"h-full":"","w-full":"",flex:"~ col"},je={flex:"~ col gap-2","flex-none":"",p4:"","navbar-glass":""},Ve={flex:"~ gap2"},Se={flex:"~ gap2","w-full":"","items-center":"",px4:"",pb2:"","text-center":"","text-sm":"",border:"b base"},we=c("div",{"flex-auto":""},null,-1),Ne={key:0,border:"b base","items-center":"",px4:"",py2:"",grid:"~ cols-[max-content_1fr] gap-2"},Ee={"text-right":"","font-mono":""},Ue={key:1,relative:""},Pe={key:2,px4:"",py2:"",flex:"~ col gap-2",border:"b base"},Oe={border:"b base",flex:"~ gap2","items-center":"",px4:"",py2:""},Be=c("div",null,"Response",-1),Le={key:1,"text-xs":"",op50:""},Me=c("div",{"flex-auto":""},null,-1),De=c("div",{op50:""}," Request finished in ",-1),Fe=Z({__name:"ServerRouteDetails",props:{route:{type:Object,required:!0}},setup(P){const O=P,R=de(),u=pe({contentType:"text/plain",data:"",statusCode:200,error:void 0}),T=p(()=>u.contentType.includes("application/json")?"json":u.contentType.includes("text/html")?"html":u.contentType.includes("text/css")?"css":u.contentType.includes("text/javascript")?"javascript":u.contentType.includes("text/xml")||u.contentType.includes("application/xml")?"xml":"text"),q=p(()=>T.value==="json"?JSON.stringify(u.data,null,2):u.data),w=k(0),C=k(!1),N=k(!1),I=Re(),B=p(()=>O.route.route?.split(/((?:\*\*)?:[\w_]+)/g)),V=p(()=>B.value?.filter(n=>n.startsWith(":")||n.startsWith("**:"))||[]),g=k(O.route.method||"GET"),E=k({}),U=k([{key:"",value:""}]),S=k([{key:"",value:""}]),f=k([{key:"Content-Type",value:"application/json"}]),J=p(()=>S.value.filter(({key:n})=>n).length),z=p(()=>f.value.filter(({key:n})=>n).length),W=p(()=>{const n={};for(let t=0;t<U.value.length;t++){const{key:o,value:i}=U.value[t];n[o]=i}return Object.keys(n)[0]?n:null}),ne=p(()=>{let n=R.value?.devServer.url||"http://localhost";n.charAt(n.length-1)==="/"&&(n=n.slice(0,-1));const t=R.value?.devServer.port||3e3;return n.includes(`:${t}`)?n:`${n}:${t}`}),L=p(()=>{let n=new URLSearchParams(Object.fromEntries(S.value.filter(({key:i})=>i).map(({key:i,value:_})=>[i,_]))).toString();n&&(n=`?${n}`);const t=(B.value?.map(i=>(i.startsWith(":")||i.startsWith("**:"))&&E.value[i]||i).join("")||"")+n;let o=R.value?.app.baseURL||"";return(o==="./"||o===".")&&(o=""),o.endsWith("/")&&(o=o.slice(0,-1)),o+t}),oe=p(()=>ne.value+L.value);async function K(){N.value=!0,C.value=!0,Object.assign(u,{lang:"text",contentType:"",data:"",content:"",error:void 0});const n=Date.now();try{u.data=await $fetch(oe.value,{method:g.value.toUpperCase(),headers:Object.fromEntries(f.value.filter(({key:t,value:o})=>t&&o).map(({key:t,value:o})=>[t,o])),query:Object.fromEntries(S.value.filter(({key:t,value:o})=>t&&o).map(({key:t,value:o})=>[t,o])),body:W.value,onResponse({response:t}){u.contentType=(t.headers.get("content-type")||"").toString().toLowerCase().trim(),u.statusCode=t.status},onResponseError(t){u.error=t.response._data,u.data=t.response._data}})}catch{}C.value=!1,w.value=Date.now()-n}const Q=p(()=>{const n=[],t=[],o=f.value.filter(({key:_,value:v})=>_&&v&&!(_==="Content-Type"&&v==="application/json")).map(({key:_,value:v})=>` '${_}': '${v}'`).join(`,
2
+ `);g.value.toUpperCase()!=="GET"&&t.push(`method: '${g.value.toUpperCase()}'`),o&&t.push(`headers: {
3
+ ${o}
4
+ }`),W.value&&t.push(`body: ${JSON.stringify(W.value,null,2)}`);const i=t.length?`, {
5
+ ${t.join(`,
6
+ `).split(`
7
+ `).map(_=>` ${_}`).join(`
8
+ `)}
9
+ }`:"";return n.push({name:"useFetch",lang:"javascript",docs:X.nuxt.useFetch,code:`const { data, pending, error, refresh } = useFetch('${L.value}'${i})`}),n.push({name:"$fetch",lang:"javascript",docs:X.nuxt.$fetch,code:`await $fetch('${L.value}'${i})`}),n}),d=k(V.value.length?"params":"query"),M=p(()=>{if(d.value==="query")return S.value;if(d.value==="body")return U.value;if(d.value==="headers")return f.value}),se=["GET","POST","PUT","PATCH","DELETE","HEAD"];return(n,t)=>{const o=me,i=be,_=Ce,v=fe,ae=ke,re=te,le=_e,H=Y,ue=$e;return a(),m("div",qe,[c("div",je,[c("div",Ve,[P.route.method?(a(),x(o,{key:0,class:b(("getRequestMethodClass"in n?n.getRequestMethodClass:e(G))(e(g))),"pointer-events-none":"",tabindex:"-1"},{default:l(()=>[h(y(e(g).toUpperCase()),1)]),_:1},8,["class"])):(a(),x(i,{key:1,modelValue:e(g),"onUpdate:modelValue":t[0]||(t[0]=r=>ee(g)?g.value=r:null),class:b(("getRequestMethodClass"in n?n.getRequestMethodClass:e(G))(e(g)))},{default:l(()=>[(a(),m(j,null,A(se,r=>c("option",{key:r,class:b(("getRequestMethodClass"in n?n.getRequestMethodClass:e(G))(r))},y(r.toUpperCase()),3)),64))]),_:1},8,["modelValue","class"])),s(_,{"model-value":e(L),disabled:"","flex-auto":"","font-mono":"",p:"x5 y2",n:"primary xs"},null,8,["model-value"]),s(o,{n:"primary solid",onClick:K},{default:l(()=>[s(v,{icon:"carbon:send"})]),_:1})])]),c("div",Se,[e(V).length?(a(),x(o,{key:0,class:b(e(d)==="params"?"text-primary n-primary":"border-transparent! shadow-none!"),onClick:t[1]||(t[1]=r=>d.value="params")},{default:l(()=>[s(v,{icon:"i-carbon-text-selection"}),h(" Params ("+y(e(V).length)+") ",1)]),_:1},8,["class"])):$("",!0),s(o,{class:b(e(d)==="query"?"text-primary n-primary":"border-transparent! shadow-none!"),onClick:t[2]||(t[2]=r=>d.value="query")},{default:l(()=>[s(v,{icon:"i-carbon-help"}),h(" Query "+y(e(J)?`(${e(J)})`:""),1)]),_:1},8,["class"]),e(g)!=="GET"?(a(),x(o,{key:1,class:b(e(d)==="body"?"text-primary n-primary":"border-transparent! shadow-none!"),onClick:t[3]||(t[3]=r=>d.value="body")},{default:l(()=>[s(v,{icon:"i-carbon-document"}),h(" Body ")]),_:1},8,["class"])):$("",!0),s(o,{class:b(e(d)==="headers"?"text-primary n-primary":"border-transparent! shadow-none!"),onClick:t[4]||(t[4]=r=>d.value="headers")},{default:l(()=>[s(v,{icon:"i-carbon-html-reference"}),h(" Headers "+y(e(z)?`(${e(z)})`:""),1)]),_:1},8,["class"]),s(o,{class:b(e(d)==="snippet"?"text-primary n-primary":"border-transparent! shadow-none!"),onClick:t[5]||(t[5]=r=>d.value="snippet")},{default:l(()=>[s(v,{icon:"carbon:code"}),h(" Snippets ")]),_:1},8,["class"]),we,s(o,{icon:"carbon-launch",onClick:t[6]||(t[6]=r=>e(I)(P.route.filepath))},{default:l(()=>[h(" Open in Editor ")]),_:1})]),e(d)==="params"?(a(),m("div",Ne,[(a(!0),m(j,null,A(e(V),r=>(a(),m(j,{key:r},[c("div",Ee,y(r),1),s(_,{modelValue:e(E)[r],"onUpdate:modelValue":D=>e(E)[r]=D,placeholder:r,"flex-1":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])],64))),128))])):$("",!0),e(d)==="snippet"?(a(),m("div",Ue,[e(Q).length?(a(),x(ae,{key:0,border:"b base","code-snippets":e(Q)},null,8,["code-snippets"])):$("",!0)])):e(M)?(a(),m("div",Pe,[(a(!0),m(j,null,A(e(M),(r,D)=>(a(),m("div",{key:D,flex:"~ gap-2","justify-around":""},[s(_,{modelValue:r.key,"onUpdate:modelValue":F=>r.key=F,placeholder:"Key","flex-1":"","font-mono":"",n:"sm"},null,8,["modelValue","onUpdate:modelValue"]),s(_,{modelValue:r.value,"onUpdate:modelValue":F=>r.value=F,placeholder:"Value","flex-1":"","font-mono":"",n:"sm"},null,8,["modelValue","onUpdate:modelValue"]),s(o,{n:"red",onClick:F=>e(M).splice(D,1)},{default:l(()=>[s(v,{icon:"carbon:delete"})]),_:2},1032,["onClick"])]))),128)),c("div",null,[s(o,{icon:"carbon-add",n:"sm primary",my1:"","px-3":"",onClick:t[7]||(t[7]=r=>e(M).push({key:"",value:""}))},{default:l(()=>[h(" Add ")]),_:1})])])):$("",!0),e(N)?e(C)?(a(),x(le,{key:4,"z-10":"","flex-auto":"","backdrop-blur":""},{default:l(()=>[h(" Fetching... ")]),_:1})):(a(),m(j,{key:5},[c("div",Oe,[Be,e(u).error?(a(),x(H,{key:0,"bg-red-400:10":"","text-red-400":""},{default:l(()=>[h(" Error ")]),_:1})):$("",!0),s(H,{class:b({"bg-orange-400:10 text-orange-400":e(u).error,"bg-green-400:10 text-green-400":!e(u).error})},{default:l(()=>[h(y(e(u).statusCode),1)]),_:1},8,["class"]),e(u).contentType?(a(),m("code",Le,y(e(u).contentType),1)):$("",!0),Me,De,s(H,{"bg-green-400:10":"","text-green-400":""},{default:l(()=>[h(y(e(w))+" ms ",1)]),_:1})]),s(ue,{"flex-auto":"","overflow-auto":"","py-2":"",code:e(q),lang:e(T)},null,8,["code","lang"])],64)):(a(),x(re,{key:3},{default:l(()=>[s(o,{n:"primary",onClick:K},{default:l(()=>[s(v,{icon:"carbon:send"}),h(" Send request ")]),_:1})]),_:1}))])}}}),Ge={flex:"~ gap1","text-sm":"",op50:""},Ae={key:0},Ie={"w-12":"","flex-none":"","text-right":""},We={"font-mono":"","text-sm":""},He=c("div",{"x-divider":""},null,-1),Je=c("span",{op75:""},"Select a route to start",-1),at=Z({__name:"server-routes",setup(P){const O=ve(),R=he(),u=p(()=>new ce(R.value||[],{keys:["method","route"],shouldSort:!0})),T=p(()=>R.value?.find(C=>C.path===O.query?.path)),q=k(""),w=p(()=>R.value?q.value?u.value.search(q.value).map(C=>C.item):R.value:[]);return(C,N)=>{const I=ie,B=Y,V=ge,g=Fe,E=xe,U=te,S=Te;return a(),x(S,null,{left:l(()=>[s(I,{search:e(q),"onUpdate:search":N[0]||(N[0]=f=>ee(q)?q.value=f:null),pb2:""},{default:l(()=>[c("div",Ge,[e(q)?(a(),m("span",Ae,y(e(w).length)+" matched · ",1)):$("",!0),c("span",null,y(e(R)?.length)+" routes in total",1)])]),_:1},8,["search"]),(a(!0),m(j,null,A(e(w),f=>(a(),m(j,{key:f.id},[s(V,{flex:"~ gap-2","items-center":"","hover-bg-active":"",px2:"",py1:"",class:b([{"bg-active":e(T)?.path===f.path}]),to:{query:{path:f.path}}},{default:l(()=>[c("div",Ie,[s(B,{class:b(("getRequestMethodClass"in C?C.getRequestMethodClass:e(G))(f.method||"*")),title:"updates available",textContent:y((f.method||"*").toUpperCase())},null,8,["class","textContent"])]),c("span",We,y(f.route),1)]),_:2},1032,["class","to"]),He],64))),128))]),right:l(()=>[(a(),x(ye,{max:10},[e(T)?(a(),x(g,{key:e(T).path,route:e(T)},null,8,["route"])):$("",!0)],1024)),e(T)?$("",!0):(a(),x(U,{key:0},{default:l(()=>[s(E,{px6:"",py2:""},{default:l(()=>[Je]),_:1})]),_:1}))]),_:1})}}});export{at as default};
@@ -0,0 +1 @@
1
+ import{_ as F}from"./NIconTitle.vue.c904da9d.js";import{_ as O}from"./NSwitch.vue.b4a00fa1.js";import{a as j,bc as I,o as i,e as u,l as a,m as e,F as m,r as V,u as s,w as n,af as f,az as L,bd as E,O as T,t as g,c as H,f as A,N as K,aK as R,a6 as q}from"./entry.af9b874e.js";import{_ as G}from"./NSelect.vue.6f8626a9.js";import{_ as J}from"./NCheckbox.vue.556df786.js";const M={px6:"",py6:""},P={grid:"~ md:cols-2 gap-x-10 gap-y-3","max-w-300":""},Q={flex:"~ col gap-1",py3:""},W=e("h3",{mb1:"","text-lg":""}," Tabs ",-1),X={flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":""},Y={capitalize:"",op75:""},Z={flex:"~ col gap-1",border:"~ base rounded",py3:"",pl4:"",pr2:""},ee={py3:"",flex:"~ col gap-1",border:"b base"},oe=e("h3",{mb1:"","text-lg":""}," Appearance ",-1),te=e("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),le={py3:"",flex:"~ col gap-1",border:"b base"},ae=e("h3",{mb1:"","text-lg":""}," UI Scale ",-1),se=["value"],ne={py3:"",flex:"~ col gap-1"},ie=e("h3",{mb1:"","text-lg":""}," Features ",-1),de=e("span",null,"Close DevTools when clicking outside",-1),ue=e("span",null,"Show experimental features",-1),re=e("span",null,"Show help buttons",-1),ve=j({__name:"settings",setup(ce){const{interactionCloseOnOutsideClick:v,showExperimentalFeatures:x,showHelpButtons:h,scale:y,hiddenTabs:r,hiddenTabCategories:c}=L(),C=[["Tiny",12/15],["Small",14/15],["Normal",1],["Large",16/15],["Huge",18/15]],N=I(!1);function w(d,t){t?r.value=r.value.filter(p=>p!==d):r.value.push(d)}function S(d,t){t?c.value=c.value.filter(p=>p!==d):c.value.push(d)}return(d,t)=>{const p=F,k=O,U=R,$=q,B=E,D=G,b=J;return i(),u("div",M,[a(p,{class:"mb-5 text-xl op75",icon:"i-carbon-settings-adjust",text:"DevTools Settings"}),e("div",P,[e("div",Q,[W,(i(!0),u(m,null,V(s(N),([o,_])=>(i(),u(m,{key:o},[_.length?(i(),u("div",{key:0,flex:"~ col gap-1","mx--1":"",class:T(s(c).includes(o)?"op50 grayscale":""),"pt-2":""},[a(k,{flex:"~ row-reverse",px2:"",py1:"","n-lime":"","model-value":!s(c).includes(o),"onUpdate:modelValue":l=>S(o,l)},{default:n(()=>[e("div",X,[e("span",Y,g(o),1)])]),_:2},1032,["model-value","onUpdate:modelValue"]),e("div",Z,[(i(!0),u(m,null,V(_,l=>(i(),H(k,{key:l.name,flex:"~ row-reverse",py1:"","n-primary":"","model-value":!s(r).includes(l.name),"onUpdate:modelValue":z=>w(l.name,z)},{default:n(()=>[e("div",{flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":"",class:T(s(r).includes(l.name)?"op25":"")},[a(U,{"text-xl":"",icon:l.icon,title:l.title},null,8,["icon","title"]),e("span",null,g(l.title),1)],2)]),_:2},1032,["model-value","onUpdate:modelValue"]))),128))])],2)):A("",!0)],64))),128))]),e("div",null,[e("div",ee,[oe,e("div",null,[a(B,null,{default:n(({toggle:o,isDark:_})=>[a($,{n:"primary",onClick:l=>o()},{default:n(()=>[te,K(" "+g(_.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1})])]),e("div",le,[ae,a(D,{modelValue:s(y),"onUpdate:modelValue":t[0]||(t[0]=o=>f(y)?y.value=o:null),n:"primary"},{default:n(()=>[(i(),u(m,null,V(C,o=>e("option",{key:o[0],value:o[1]},g(o[0]),9,se)),64))]),_:1},8,["modelValue"])]),e("div",ne,[ie,a(b,{modelValue:s(v),"onUpdate:modelValue":t[1]||(t[1]=o=>f(v)?v.value=o:null),"n-primary":""},{default:n(()=>[de]),_:1},8,["modelValue"]),a(b,{modelValue:s(x),"onUpdate:modelValue":t[2]||(t[2]=o=>f(x)?x.value=o:null),"n-primary":""},{default:n(()=>[ue]),_:1},8,["modelValue"]),a(b,{modelValue:s(h),"onUpdate:modelValue":t[3]||(t[3]=o=>f(h)?h.value=o:null),"n-primary":""},{default:n(()=>[re]),_:1},8,["modelValue"])])])])])}}});export{ve as default};
@@ -0,0 +1 @@
1
+ import{_ as re}from"./NIconButton.vue.3972e12f.js";import{_ as le}from"./NSelect.vue.6f8626a9.js";import{_ as ue}from"./NTextInput.vue.3ee9e6a6.js";import{a as z,o as r,c as m,w as l,p as ie,ao as G,P as de,u as t,I as W,aO as ce,R as pe,V as I,h as j,v as P,aM as E,aG as me,s as _e,ar as fe,a4 as ye,S as _,H as F,m as u,l as c,e as p,r as q,t as g,F as x,af as L,N as d,O,aD as U,f as T,b1 as ve,ah as ge,b8 as he,aW as ke,q as be,a6 as xe,aJ as we}from"./entry.af9b874e.js";import{_ as Ce}from"./NPanelGrids.e798da22.js";import{_ as Ke}from"./PanelLeftRight.vue.6f7c90d0.js";import{_ as Ne}from"./FilepathItem.vue.c910f268.js";import"./editor.ec5a160f.js";const Ve=z({__name:"NLink",props:{to:null,href:null,target:null},setup(w){return(i,v)=>(r(),m(de(w.href||w.target?"a":t(W)),G(i.$props,{class:"n-link hover:n-link-hover n-transition n-link-base"}),{default:l(()=>[ie(i.$slots,"default")]),_:3},16))}}),$e={class:"h-[48px] flex items-center justify-between gap1 px-3"},Se={class:"w-full text-sm"},Ie=["value"],je=u("div",{"x-divider":""},null,-1),qe={key:0,"h-full":"","of-hidden":"",flex:"~ col"},Le={border:"b base",class:"h-[49px] flex flex-none items-center justify-between px-4 text-sm"},Ue={class:"flex items-center gap-4"},De={key:1},Me=["onKeyup"],Be=u("br",null,null,-1),Re={key:0,op50:""},Ae={key:1},Pe=u("code",null,"nitro.storage",-1),Ee=u("br",null,null,-1),Fe={"font-bold":""},Oe=u("br",null,null,-1),Te={"text-sm":""},ze=u("br",null,null,-1),tt=z({__name:"storage",async setup(w){let i,v;const H=ce(),h=pe(),k=I(""),y=I(""),a=j({get(){return P().query?.storage},set(n){h.replace({query:{storage:n}})}}),e=I(),b=j(()=>P().query?.key),{data:C}=([i,v]=E(()=>F("storageMounts",()=>_.getStorageMounts())),i=await i,v(),i),{data:K,refresh:D}=([i,v]=E(async()=>F("storageKeys",async()=>a.value?await _.getStorageKeys(a.value):[])),i=await i,v(),i),J=H.hook("storage:key:update",async(n,s)=>{if(!(!a.value||n.split(":")[0]!==a.value)&&(await D(),b.value===n)){if(s==="remove")return h.replace({query:{storage:a.value}});await V(b.value)}});me(J),_e(a,D),fe(async()=>{if(!b.value){e.value=null;return}V(b.value)}),ye("keydown",n=>{n.key==="s"&&(n.ctrlKey||n.metaKey)&&($(),n.preventDefault())});function N(n){return n.replace(`${a.value}:`,"")}const Q=j(()=>K.value?K.value.filter(n=>n.includes(k.value)):[]);async function V(n){const s=await _.getStorageItem(n);e.value={key:n,updatedKey:N(n),editingKey:!1,content:s,updatedContent:s}}async function X(){if(!y.value||!a.value)return;const n=`${a.value}:${y.value}`;K.value?.includes(n)||await _.setStorageItem(n,""),h.replace({query:{storage:a.value,key:n}}),y.value=""}async function $(){e.value&&(await _.setStorageItem(e.value.key,e.value.updatedContent),await V(e.value.key))}async function Y(){!e.value||!a.value||(await _.removeStorageItem(e.value.key),e.value=null)}async function Z(){if(!e.value||!a.value)return;const n=`${a.value}:${e.value.updatedKey}`;await _.setStorageItem(n,e.value.updatedContent),await _.removeStorageItem(e.value.key),h.replace({query:{storage:a.value,key:n}})}return(n,s)=>{const ee=re,te=le,S=ue,ne=W,oe=be,M=xe,B=Ve,R=we,A=Ce,ae=Ke,se=Ne;return t(a)?(r(),m(ae,{key:0,"storage-key":"tab-storage"},{left:l(()=>[u("div",$e,[c(ee,{icon:"carbon-chevron-left","ml--1":"",onClick:s[0]||(s[0]=o=>a.value="")}),u("div",Se,[c(te,{modelValue:t(a),"onUpdate:modelValue":s[1]||(s[1]=o=>L(a)?a.value=o:null),n:"primary",icon:"carbon-data-base"},{default:l(()=>[(r(!0),p(x,null,q(t(C),(o,f)=>(r(),p("option",{key:f,value:f},g(f),9,Ie))),128))]),_:1},8,["modelValue"])])]),c(S,{modelValue:t(k),"onUpdate:modelValue":s[2]||(s[2]=o=>L(k)?k.value=o:null),icon:"carbon-search",placeholder:"Search...",n:"primary sm",border:"y x-none base! rounded-0",class:"w-full py2 ring-0!"},null,8,["modelValue"]),(r(!0),p(x,null,q(t(Q),o=>(r(),p(x,{key:o},[c(ne,{block:"",truncate:"",px2:"",py1:"","font-mono":"","text-sm":"",to:{query:{key:o,storage:t(a)}},class:O(o===t(e)?.key?"text-primary n-bg-active":"text-secondary hover:n-bg-hover")},{default:l(()=>[d(g(N(o)),1)]),_:2},1032,["to","class"]),je],64))),128)),c(S,{modelValue:t(y),"onUpdate:modelValue":s[3]||(s[3]=o=>L(y)?y.value=o:null),icon:"carbon-add",placeholder:"key",n:"sm",border:"t-none x-none base! rounded-0",class:"w-full py2 font-mono ring-0!",onKeyup:U(X,["enter"])},null,8,["modelValue","onKeyup"])]),right:l(()=>[t(e)?.key?(r(),p("div",qe,[u("div",Le,[u("div",Ue,[t(e).editingKey?(r(),m(S,{key:0,modelValue:t(e).updatedKey,"onUpdate:modelValue":s[4]||(s[4]=o=>t(e).updatedKey=o),onKeyup:U(Z,["enter"])},null,8,["modelValue","onKeyup"])):(r(),p("code",De,[d(g(N(t(e).key))+" ",1),c(oe,{icon:"carbon-edit",class:"cursor-pointer op50 hover:op100",onClick:s[5]||(s[5]=o=>t(e).editingKey=!0)})])),t(e).editingKey?T("",!0):(r(),m(M,{key:2,n:"green xs",disabled:t(e).content===t(e).updatedContent,class:O({"border-green":t(e).content!==t(e).updatedContent}),onClick:$},{default:l(()=>[d(" Save ")]),_:1},8,["disabled","class"]))]),u("div",null,[c(M,{n:"red xs",onClick:Y},{default:l(()=>[d(" Delete ")]),_:1})])]),typeof t(e).content=="object"?(r(),m(t(ve),G({key:0,modelValue:t(e).updatedContent,"onUpdate:modelValue":s[6]||(s[6]=o=>t(e).updatedContent=o),class:[[n.$colorMode.value==="dark"?"jse-theme-dark":"light"],"json-editor-vue h-full of-auto text-sm outline-none"]},n.$attrs,{mode:"text","navigation-bar":!1,indentation:2,"tab-size":2}),null,16,["modelValue","class"])):ge((r(),p("textarea",{key:1,"onUpdate:modelValue":s[7]||(s[7]=o=>t(e).updatedContent=o),placeholder:"Item value...",class:"h-full of-auto p-4 font-mono text-sm outline-none",onKeyup:U(ke($,["ctrl"]),["enter"])},null,40,Me)),[[he,t(e).updatedContent]])])):(r(),m(A,{key:1},{default:l(()=>[c(R,{px6:"",py4:""},{default:l(()=>[d(" Select one key to start."),Be,d("Learn more about "),c(B,{href:"https://nitro.unjs.io/guide/introduction/storage",n:"orange",target:"_blank"},{default:l(()=>[d(" Nitro storage ")]),_:1})]),_:1})]),_:1}))]),_:1})):(r(),m(A,{key:1},{default:l(()=>[Object.keys(t(C)).length?(r(),p("p",Re," Select one storage to start: ")):(r(),p("p",Ae,[d(" No custom storage defined in "),Pe,d("."),Ee,d(" Learn more about "),c(B,{href:"https://nitro.unjs.io/guide/storage",n:"orange",target:"_blank"},{default:l(()=>[d(" Nitro storage ")]),_:1})])),(r(!0),p(x,null,q(t(C),(o,f)=>(r(),m(R,{key:f,"min-w-80":"","cursor-pointer":"","p-4":"","text-left":"",hover:"border-green",onClick:Ge=>a.value=f},{default:l(()=>[u("span",Fe,g(f),1),Oe,u("span",Te,g(o.driver)+" driver",1),ze,o.base?(r(),m(se,{key:0,"text-xs":"",filepath:o.base},null,8,["filepath"])):T("",!0)]),_:2},1032,["onClick"]))),128))]),_:1}))}}});export{tt as default};
@@ -0,0 +1 @@
1
+ import{a as T,V as y,aO as $,ax as A,b9 as R,ba as V,a4 as B,S as f,o,e as _,m as c,l as E,u as e,c as m,f as x,t as k,F as g,bb as I,v as q,R as F,h as L,ar as M,r as z,N as w,w as D,O as h,aW as O,q as S,I as U}from"./entry.af9b874e.js";import{_ as C}from"./NIconButton.vue.3972e12f.js";const j={border:"t base",flex:"~ gap-2","items-center":"",p2:""},W={"text-sm":"",op50:""},G=T({__name:"TerminalView",props:{id:null},setup(p){const a=p,d=y(),v=$(),n=y();let s;A(async()=>{s=new R.Terminal({convertEol:!0,cols:80,screenReaderMode:!0});const t=new V.FitAddon;s.loadAddon(t),s.open(d.value),t.fit(),B(window,"resize",()=>{t.fit()}),n.value=await f.getTerminalDetail(a.id),n.value?.buffer&&s.write(n.value.buffer),v.hook("devtools:terminal:data",({id:i,data:l})=>{i===a.id&&s.write(l)})});function u(){f.runTerminalAction(a.id,"clear"),s?.clear()}return(t,i)=>{const l=C;return o(),_(g,null,[c("div",{ref_key:"container",ref:d,"h-full":"","w-full":"","of-auto":"","bg-black":""},null,512),c("div",j,[E(l,{title:"Clear",icon:"i-carbon-clean",onClick:i[0]||(i[0]=b=>u())}),e(n)?.restartable?(o(),m(l,{key:0,title:"Restart",icon:"carbon-renew",onClick:i[1]||(i[1]=b=>("rpc"in t?t.rpc:e(f)).runTerminalAction(p.id,"restart"))})):x("",!0),e(n)?.terminatable?(o(),m(l,{key:1,title:"Terminate",icon:"carbon-delete",onClick:i[2]||(i[2]=b=>("rpc"in t?t.rpc:e(f)).runTerminalAction(p.id,"terminate"))})):x("",!0),c("span",W,k(e(n)?.description),1)])],64)}}}),H={key:0,"h-full":"","w-full":"","of-hidden":"",grid:"~ rows-[max-content_1fr_max-content]"},J={flex:"~",border:"b base","flex-1":"","items-center":"","navbar-glass":""},K={key:1,p10:""},P={key:1,"h-full":"",flex:"","items-center":"","justify-center":""},Q=c("em",{op50:""},"No terminal attached",-1),X=[Q],ne=T({__name:"terminals",setup(p){const a=I(),d=q(),v=F(),n=L(()=>{const u=d.query.id;return a.value?.find(t=>t.id===u)});function s(u){f.runTerminalAction(u,"remove"),v.replace("/modules/terminals")}return M(()=>{!d.query.id&&a.value?.length&&v.replace(`/modules/terminals?id=${encodeURIComponent(a.value[0].id)}`)}),(u,t)=>{const i=S,l=C,b=U,N=G;return e(a)?.length?(o(),_("div",H,[c("div",J,[(o(!0),_(g,null,z(e(a),r=>(o(),m(b,{key:r.id,border:"r base",flex:"~ gap-2","items-center":"",px3:"",py2:"",class:h(r.id===e(n)?.id?"bg-active":""),to:`/modules/terminals?id=${encodeURIComponent(r.id)}`},{default:D(()=>[r.icon?(o(),m(i,{key:0,icon:r.icon},null,8,["icon"])):x("",!0),c("span",{class:h(r.id===e(n)?.id?"":"op50")},k(r.name)+k(r.isTerminated?" (terminated)":""),3),r.isTerminated?(o(),m(l,{key:1,icon:"carbon-close","mx--2":"",onClick:O(Y=>s(r.id),["stop"])},null,8,["onClick"])):x("",!0)]),_:2},1032,["class","to"]))),128))]),e(n)?(o(),m(N,{id:e(n).id,key:e(n).id},null,8,["id"])):(o(),_("div",K,[w(" Terminal "),c("code",null,k(e(d).query.id),1),w(" not found ")]))])):(o(),_("div",P,X))}}});export{ne as default};
@@ -0,0 +1,2 @@
1
+ import{$ as be}from"./entry.af9b874e.js";const K=Object.freeze({left:0,top:0,width:16,height:16}),H=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ue=Object.freeze({...K,...H}),ve=Object.freeze({...ue,body:"",hidden:!1}),Se=Object.freeze({width:null,height:null}),fe=Object.freeze({...Se,...H});function xe(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const i=((t.rotate||0)+(e.rotate||0))%4;return i&&(n.rotate=i),n}function Z(t,e){const n=xe(t,e);for(const i in ve)i in H?i in t&&!(i in n)&&(n[i]=H[i]):i in e?n[i]=e[i]:i in t&&(n[i]=t[i]);return n}function ke(t,e){const n=t.icons,i=t.aliases||Object.create(null),r=Object.create(null);function o(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const c=i[a]&&i[a].parent,u=c&&o(c);u&&(r[a]=[c].concat(u))}return r[a]}return(e||Object.keys(n).concat(Object.keys(i))).forEach(o),r}function J(t,e,n){const i=t.icons,r=t.aliases||Object.create(null);let o={};function a(c){o=Z(i[c]||r[c],o)}return a(e),n.forEach(a),Z(t,o)}function $e(t,e){if(t.icons[e])return J(t,e,[]);const n=ke(t,[e])[e];return n?J(t,e,n):null}({...K});Object.keys(K).concat(["provider"]);const Ae=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ce=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Q(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const i=t.split(Ae);if(i===null||!i.length)return t;const r=[];let o=i.shift(),a=Ce.test(o);for(;;){if(a){const c=parseFloat(o);isNaN(c)?r.push(o):r.push(Math.ceil(c*e*n)/n)}else r.push(o);if(o=i.shift(),o===void 0)return r.join("");a=!a}}const X=t=>t==="unset"||t==="undefined"||t==="none";function Oe(t,e){const n={...ue,...t},i={...fe,...e},r={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,i].forEach(A=>{const g=[],m=A.hFlip,k=A.vFlip;let b=A.rotate;m?k?b+=2:(g.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),g.push("scale(-1 1)"),r.top=r.left=0):k&&(g.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),g.push("scale(1 -1)"),r.top=r.left=0);let p;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:p=r.height/2+r.top,g.unshift("rotate(90 "+p.toString()+" "+p.toString()+")");break;case 2:g.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:p=r.width/2+r.left,g.unshift("rotate(-90 "+p.toString()+" "+p.toString()+")");break}b%2===1&&(r.left!==r.top&&(p=r.left,r.left=r.top,r.top=p),r.width!==r.height&&(p=r.width,r.width=r.height,r.height=p)),g.length&&(o='<g transform="'+g.join(" ")+'">'+o+"</g>")});const a=i.width,c=i.height,u=r.width,f=r.height;let l,d;a===null?(d=c===null?"1em":c==="auto"?f:c,l=Q(d,u/f)):(l=a==="auto"?u:a,d=c===null?Q(l,f/u):c==="auto"?f:c);const w={},x=(A,g)=>{X(g)||(w[A]=g.toString())};return x("width",l),x("height",d),w.viewBox=r.left.toString()+" "+r.top.toString()+" "+u.toString()+" "+f.toString(),{attributes:w,body:o}}""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);function je(t){return t.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').trim()}function s(t,e){const n="rgb",i=e[0],r=e.length;r>1&&e[1],r>2&&e[2],r>3&&e[3]}s("silver",[192]);s("gray",[128]);s("white",[255]);s("maroon",[128,0,0]);s("red",[255,0,0]);s("purple",[128,0]);s("fuchsia",[255,0]);s("green",[0,128]);s("lime",[0,255]);s("olive",[128,128,0]);s("yellow",[255,255,0]);s("navy",[0,0,128]);s("blue",[0,0,255]);s("teal",[0,128,128]);s("aqua",[0,255,255]);s("aliceblue",[240,248,255]);s("antiquewhite",[250,235,215]);s("aqua",[0,255,255]);s("aquamarine",[127,255,212]);s("azure",[240,255,255]);s("beige",[245,245,220]);s("bisque",[255,228,196]);s("black",[0]);s("blanchedalmond",[255,235,205]);s("blue",[0,0,255]);s("blueviolet",[138,43,226]);s("brown",[165,42,42]);s("burlywood",[222,184,135]);s("cadetblue",[95,158,160]);s("chartreuse",[127,255,0]);s("chocolate",[210,105,30]);s("coral",[255,127,80]);s("cornflowerblue",[100,149,237]);s("cornsilk",[255,248,220]);s("crimson",[220,20,60]);s("cyan",[0,255,255]);s("darkblue",[0,0,139]);s("darkcyan",[0,139,139]);s("darkgoldenrod",[184,134,11]);s("darkgray",[169]);s("darkgreen",[0,100]);s("darkgrey",[169]);s("darkkhaki",[189,183,107]);s("darkmagenta",[139,0]);s("darkolivegreen",[85,107,47]);s("darkorange",[255,140,0]);s("darkorchid",[153,50,204]);s("darkred",[139,0,0]);s("darksalmon",[233,150,122]);s("darkseagreen",[143,188]);s("darkslateblue",[72,61,139]);s("darkslategray",[47,79,79]);s("darkslategrey",[47,79,79]);s("darkturquoise",[0,206,209]);s("darkviolet",[148,0,211]);s("deeppink",[255,20,147]);s("deepskyblue",[0,191,255]);s("dimgray",[105]);s("dimgrey",[105]);s("dodgerblue",[30,144,255]);s("firebrick",[178,34,34]);s("floralwhite",[255,250,240]);s("forestgreen",[34,139]);s("fuchsia",[255,0]);s("gainsboro",[220]);s("ghostwhite",[248,248,255]);s("gold",[255,215,0]);s("goldenrod",[218,165,32]);s("gray",[128]);s("green",[0,128]);s("greenyellow",[173,255,47]);s("grey",[128]);s("honeydew",[240,255]);s("hotpink",[255,105,180]);s("indianred",[205,92,92]);s("indigo",[75,0,130]);s("ivory",[255,255,240]);s("khaki",[240,230,140]);s("lavender",[230,230,250]);s("lavenderblush",[255,240,245]);s("lawngreen",[124,252,0]);s("lemonchiffon",[255,250,205]);s("lightblue",[173,216,230]);s("lightcoral",[240,128,128]);s("lightcyan",[224,255,255]);s("lightgoldenrodyellow",[250,250,210]);s("lightgray",[211]);s("lightgreen",[144,238]);s("lightgrey",[211]);s("lightpink",[255,182,193]);s("lightsalmon",[255,160,122]);s("lightseagreen",[32,178,170]);s("lightskyblue",[135,206,250]);s("lightslategray",[119,136,153]);s("lightslategrey",[119,136,153]);s("lightsteelblue",[176,196,222]);s("lightyellow",[255,255,224]);s("lime",[0,255]);s("limegreen",[50,205]);s("linen",[250,240,230]);s("magenta",[255,0]);s("maroon",[128,0,0]);s("mediumaquamarine",[102,205,170]);s("mediumblue",[0,0,205]);s("mediumorchid",[186,85,211]);s("mediumpurple",[147,112,219]);s("mediumseagreen",[60,179,113]);s("mediumslateblue",[123,104,238]);s("mediumspringgreen",[0,250,154]);s("mediumturquoise",[72,209,204]);s("mediumvioletred",[199,21,133]);s("midnightblue",[25,25,112]);s("mintcream",[245,255,250]);s("mistyrose",[255,228,225]);s("moccasin",[255,228,181]);s("navajowhite",[255,222,173]);s("navy",[0,0,128]);s("oldlace",[253,245,230]);s("olive",[128,128,0]);s("olivedrab",[107,142,35]);s("orange",[255,165,0]);s("orangered",[255,69,0]);s("orchid",[218,112,214]);s("palegoldenrod",[238,232,170]);s("palegreen",[152,251]);s("paleturquoise",[175,238,238]);s("palevioletred",[219,112,147]);s("papayawhip",[255,239,213]);s("peachpuff",[255,218,185]);s("peru",[205,133,63]);s("pink",[255,192,203]);s("plum",[221,160]);s("powderblue",[176,224,230]);s("purple",[128,0]);s("rebeccapurple",[102,51,153]);s("red",[255,0,0]);s("rosybrown",[188,143,143]);s("royalblue",[65,105,225]);s("saddlebrown",[139,69,19]);s("salmon",[250,128,114]);s("sandybrown",[244,164,96]);s("seagreen",[46,139,87]);s("seashell",[255,245,238]);s("sienna",[160,82,45]);s("silver",[192]);s("skyblue",[135,206,235]);s("slateblue",[106,90,205]);s("slategray",[112,128,144]);s("slategrey",[112,128,144]);s("snow",[255,250,250]);s("springgreen",[0,255,127]);s("steelblue",[70,130,180]);s("tan",[210,180,140]);s("teal",[0,128,128]);s("thistle",[216,191]);s("tomato",[255,99,71]);s("turquoise",[64,224,208]);s("violet",[238,130]);s("wheat",[245,222,179]);s("white",[255]);s("whitesmoke",[245]);s("yellow",[255,255,0]);s("yellowgreen",[154,205,50]);const Ee=/\swidth\s*=\s*["'](\w+)["']/,Me=/\sheight\s*=\s*["'](\w+)["']/,N=/<svg\s+/;function _e(t,e,n){const i=t.slice(0,t.indexOf(">")),r=(o,a)=>{const c=a.exec(i),u=c!=null,f=e[o];return!f&&!X(f)&&(typeof n=="number"?n>0&&(e[o]=`${n}em`):c&&(e[o]=c[1])),u};return[r("width",Ee),r("height",Me)]}async function he(t,e,n,i,r,o){const{scale:a,addXmlNs:c=!1}=i??{},{additionalProps:u={},iconCustomizer:f}=i?.customizations??{},l=await r?.()??{};await f?.(e,n,l),Object.keys(u).forEach(g=>{const m=u[g];m!=null&&(l[g]=m)}),o?.(l);const[d,w]=_e(t,l,a);c&&(!t.includes("xmlns=")&&!l.xmlns&&(l.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!l["xmlns:xlink"]&&(l["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const x=Object.keys(l).map(g=>g==="width"&&d||g==="height"&&w?null:`${g}="${l[g]}"`).filter(g=>g!=null);if(x.length&&(t=t.replace(N,`<svg ${x.join(" ")} `)),i){const{defaultStyle:g,defaultClass:m}=i;m&&!t.includes("class=")&&(t=t.replace(N,`<svg class="${m}" `)),g&&!t.includes("style=")&&(t=t.replace(N,`<svg style="${g}" `))}const A=i?.usedProps;return A&&(Object.keys(u).forEach(g=>{const m=l[g];m!=null&&(A[g]=m)}),typeof l.width<"u"&&l.width!==null&&(A.width=l.width),typeof l.height<"u"&&l.height!==null&&(A.height=l.height)),t}async function ee(t,e,n,i){let r;if(typeof t=="function")r=await t(n);else{const o=t[n];r=typeof o=="function"?await o():o}if(r){const o=r.indexOf("<svg");o>0&&(r=r.slice(o));const{transform:a}=i?.customizations??{};return r=typeof a=="function"?await a(r,e,n):r,r.startsWith("<svg")?await he(i?.customizations?.trimCustomSvg===!0?je(r):r,e,n,i,void 0):(console.warn(`Custom icon "${n}" in "${e}" is not a valid SVG`),r)}}async function de(t,e,n,i){let r;const{customize:o}=i?.customizations??{};for(const a of n)if(r=$e(t,a),r){let c={...fe};typeof o=="function"&&(c=o(c));const{attributes:{width:u,height:f,...l},body:d}=Oe(r,c),w=i?.scale;return await he(`<svg >${d}</svg>`,e,a,i,()=>({...l}),x=>{const A=(g,m)=>{const k=x[g];let b;if(!X(k)){if(k)return;typeof w=="number"?w&&(b=`${w}em`):b=m}b?x[g]=b:delete x[g]};A("width",u),A("height",f)})}}const pe=async(t,e,n)=>{const i=n?.customCollections?.[t];if(i)if(typeof i=="function"){const r=await i(e);if(r){if(typeof r=="string")return await ee(()=>r,t,e,n);if("icons"in r){const o=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await de(r,t,o,n)}}}else return await ee(i,t,e,n)};var ze=["academicons","akar-icons","ant-design","arcticons","basil","bi","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","cryptocurrency-color","cryptocurrency","dashicons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","foundation","fxemoji","gala","game-icons","geo","gg","gis","gridicons","grommet-icons","healthicons","heroicons-outline","heroicons-solid","heroicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconoir","icons8","il","ion","iwwa","jam","la","line-md","logos","ls","lucide","majesticons","maki","map","material-symbols","mdi-light","mdi","medical-icon","memory","mi","mingcute","mono-icons","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","pajamas","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline","subway","svg-spinners","system-uicons","tabler","teenyicons","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];function Le(t){const e=new Map;function n(i){if(ze.includes(i))return e.has(i)||e.set(i,be(`${t}@iconify-json/${i}/icons.json`)),e.get(i)}return async(i,r,o)=>{let a=await pe(i,r,o);if(a)return a;const c=await n(i);if(c){const u=[r,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r.replace(/([a-z])(\d+)/g,"$1-$2")];a=await de(c,i,u,o)}return a}}function Te(t){const e=t.length;let n=-1,i,r="";const o=t.charCodeAt(0);for(;++n<e;){if(i=t.charCodeAt(n),i===0){r+="�";continue}if(i===44){r+="\\,";continue}if(i>=1&&i<=31||i===127||n===0&&i>=48&&i<=57||n===1&&i>=48&&i<=57&&o===45){r+=`\\${i.toString(16)} `;continue}if(n===0&&e===1&&i===45){r+=`\\${t.charAt(n)}`;continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){r+=t.charAt(n);continue}r+=`\\${t.charAt(n)}`}return r}const q=Te;function z(t=[]){return Array.isArray(t)?t:[t]}function R(t){return Array.from(new Set(t))}function j(t){return typeof t=="string"}function D(t){return j(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Ie(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>D(e)):[t]:[D(t)]}function Pe(t){return t.filter(([e,n],i)=>{if(e.startsWith("$$"))return!1;for(let r=i-1;r>=0;r--)if(t[r][0]===e&&t[r][1]===n)return!1;return!0})}function G(t){return t==null?"":Pe(t).map(([e,n])=>n!=null?`${e}:${n};`:void 0).filter(Boolean).join("")}function V(t){return t&&typeof t=="object"&&!Array.isArray(t)}function ge(t,e,n=!1){const i=t,r=e;if(Array.isArray(r))return n&&Array.isArray(r)?[...i,...r]:[...r];const o={...i};return V(i)&&V(r)&&Object.keys(r).forEach(a=>{V(i[a])&&V(r[a])||Array.isArray(i[a])&&Array.isArray(r[a])?o[a]=ge(i[a],r[a],n):Object.assign(o,{[a]:r[a]})}),o}function U(t){let e,n,i;if(Array.isArray(t)){for(n=Array(e=t.length);e--;)n[e]=(i=t[e])&&typeof i=="object"?U(i):i;return n}if(Object.prototype.toString.call(t)==="[object Object]"){n={};for(e in t)e==="__proto__"?Object.defineProperty(n,e,{value:U(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=(i=t[e])&&typeof i=="object"?U(i):i;return n}return t}function Re(t){return j(t[0])}function De(t){return j(t[0])}const te="$$shortcut-no-merge";function Fe(t){return typeof t=="function"?{match:t}:t}function re(t){return t.length===3}function Ve(t){return t!=null}function Be(){}class Ue{constructor(){this._map=new Map}get(e,n){const i=this._map.get(e);if(i)return i.get(n)}getFallback(e,n,i){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(n)||r.set(n,i),r.get(n)}set(e,n,i){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(n,i),this}has(e,n){return this._map.get(e)?.has(n)}delete(e,n){return this._map.get(e)?.delete(n)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([n,i])=>Array.from(i.entries()).map(([r,o])=>e(o,n,r)))}}const B={};function He(t=["-",":"]){const e=t.join("|");return B[e]||(B[e]=new RegExp(`((?:[!@\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),B[e].lastIndex=0,B[e]}function Ne(t,e=["-",":"],n=5){const i=He(e);let r=!1,o=t.toString();const a=new Set;do{const c=o;o=o.replace(i,(u,f,l,d)=>e.includes(l)?(a.add(f+l),d.split(/\s/g).filter(Boolean).map(w=>w==="~"?f:w.replace(/^(!?)(.*)/,`$1${f}${l}$2`)).join(" ")):u),r=o!==c,n-=1}while(r&&n);return{prefixes:Array.from(a),expanded:o,hasChanged:r}}function qe(t,e=["-",":"],n=5){const{expanded:i}=Ne(t.toString(),e,n);return typeof t=="string"?i:t.length()?t.overwrite(0,t.length(),i):t}const ne=new Set;function me(t){ne.has(t)||(console.warn("[unocss]",t),ne.add(t))}const Ge=/[\\:]?[\s'"`;{}]+/g;function We(t){return[...new Set(t.split(Ge))]}const Ye={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return We(t)}};function Ke(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(n=>n(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(n=>n!==e)}}}const W="default",Y="preflights",Xe="shortcuts",Ze={[Y]:-100,[Xe]:-10,[W]:0};function ye(t){return z(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const ie="_uno_resolved";function Je(t){if(ie in t)return t;t={...t},Object.defineProperty(t,ie,{value:!0,enumerable:!1});const e=t.shortcuts?ye(t.shortcuts):void 0;if(t.shortcuts=e,t.prefix||t.layer){const n=i=>{i[2]||(i[2]={});const r=i[2];r.prefix==null&&t.prefix&&(r.prefix=z(t.prefix)),r.layer==null&&t.layer&&(r.layer=t.layer)};e?.forEach(n),t.rules?.forEach(n)}return t}function we(t){const e=Je(t);if(!e.presets)return[e];const n=(e.presets||[]).flatMap(z).flatMap(we);return[e,...n]}function se(t={},e={}){const n=Object.assign({},e,t),i=R((n.presets||[]).flatMap(z).flatMap(we)),r=[...i.filter(h=>h.enforce==="pre"),...i.filter(h=>!h.enforce),...i.filter(h=>h.enforce==="post")],o=[...r,n],a=[...o].reverse(),c=Object.assign({},Ze,...o.map(h=>h.layers));function u(h){return R(o.flatMap(v=>z(v[h]||[])))}const f=u("extractors");let l=a.find(h=>h.extractorDefault!==void 0)?.extractorDefault;l===void 0&&(l=Ye),l&&!f.includes(l)&&f.unshift(l),f.sort((h,v)=>(h.order||0)-(v.order||0));const d=u("rules"),w={},x=d.length,A=d.map((h,v)=>{if(Re(h)){z(h[2]?.prefix||"").forEach(O=>{w[O+h[0]]=[v,h[1],h[2],h]});return}return[v,...h]}).filter(Boolean).reverse();let g=o.map(h=>h.theme?U(h.theme):{}).reduce((h,v)=>ge(h,v),{});const m=u("extendTheme");for(const h of m)g=h(g)||g;const k={templates:R(o.flatMap(h=>z(h.autocomplete?.templates))),extractors:o.flatMap(h=>z(h.autocomplete?.extractors)).sort((h,v)=>(h.order||0)-(v.order||0))};let b=u("separators");b.length||(b=[":","-"]);const p={mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:h=>h,...n,presets:r,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:c,theme:g,rulesSize:x,rulesDynamic:A,rulesStaticMap:w,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:k,variants:u("variants").map(Fe).sort((h,v)=>(h.order||0)-(v.order||0)),shortcuts:ye(u("shortcuts")).reverse(),extractors:f,safelist:u("safelist"),separators:b};for(const h of o)h?.configResolved?.(p);return p}const Qe="0.51.8";class et{constructor(e={},n={}){this.userConfig=e,this.defaults=n,this.version=Qe,this._cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.events=Ke(),this.config=se(e,n),this.events.emit("config",this.config)}setConfig(e,n){e&&(n&&(this.defaults=n),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=se(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,n,i=new Set){const r={original:e,code:e,id:n,extracted:i};for(const o of this.config.extractors){const a=await o.extract?.(r);if(a)for(const c of a)i.add(c)}return i}makeContext(e,n){const i={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...r)=>this.constructCustomCSS(i,...r),variantMatch:n};return i}async parseToken(e,n){if(this.blocked.has(e))return;const i=`${e}${n?` ${n}`:""}`;if(this._cache.has(i))return this._cache.get(i);let r=e;for(const f of this.config.preprocess)r=f(e);if(this.isBlocked(r)){this.blocked.add(e),this._cache.set(i,null);return}const o=await this.matchVariants(e,r);if(!o||this.isBlocked(o[1])){this.blocked.add(e),this._cache.set(i,null);return}const a=this.makeContext(e,[n||o[0],o[1],o[2],o[3]]);this.config.details&&(a.variants=[...o[3]]);const c=await this.expandShortcut(a.currentSelector,a),u=c?await this.stringifyShortcuts(a.variantMatch,a,c[0],c[1]):(await this.parseUtil(a.variantMatch,a))?.map(f=>this.stringifyUtil(f,a)).filter(Ve);if(u?.length)return this._cache.set(i,u),u;this._cache.set(i,null)}async generate(e,n={}){const{id:i,scope:r,preflights:o=!0,safelist:a=!0,minify:c=!1}=n,u=j(e)?await this.applyExtractors(e,i):Array.isArray(e)?new Set(e):e;a&&this.config.safelist.forEach(p=>u.add(p));const f=c?"":`
2
+ `,l=new Set([W]),d=new Set,w=new Map;let x={};const A=Array.from(u).map(async p=>{if(d.has(p))return;const h=await this.parseToken(p);if(h!=null){d.add(p);for(const v of h){const C=v[3]||"",O=v[4]?.layer;w.has(C)||w.set(C,[]),w.get(C).push(v),O&&l.add(O)}}});await Promise.all(A),await(async()=>{if(!o)return;const p={generator:this,theme:this.config.theme},h=new Set([]);this.config.preflights.forEach(({layer:v=Y})=>{l.add(v),h.add(v)}),x=Object.fromEntries(await Promise.all(Array.from(h).map(async v=>{const O=(await Promise.all(this.config.preflights.filter(M=>(M.layer||Y)===v).map(async M=>await M.getCSS(p)))).filter(Boolean).join(f);return[v,O]})))})();const g=this.config.sortLayers(Array.from(l).sort((p,h)=>(this.config.layers[p]??0)-(this.config.layers[h]??0)||p.localeCompare(h))),m={},k=p=>{if(m[p])return m[p];let h=Array.from(w).sort((C,O)=>(this.parentOrders.get(C[0])??0)-(this.parentOrders.get(O[0])??0)||C[0]?.localeCompare(O[0]||"")||0).map(([C,O])=>{const M=O.length,P=O.filter(y=>(y[4]?.layer||W)===p).sort((y,$)=>y[0]-$[0]||(y[4]?.sort||0)-($[4]?.sort||0)||y[5]?.currentSelector?.localeCompare($[5]?.currentSelector??"")||y[1]?.localeCompare($[1]||"")||y[2]?.localeCompare($[2]||"")||0).map(([,y,$,,E,,_])=>[[[(y&&it(y,r))??"",E?.sort??0]],$,!!(_??E?.noMerge)]);if(!P.length)return;const F=P.reverse().map(([y,$,E],_)=>{if(!E&&this.config.mergeSelectors)for(let I=_+1;I<M;I++){const L=P[I];if(L&&!L[2]&&(y&&L[0]||y==null&&L[0]==null)&&L[1]===$)return y&&L[0]&&L[0].push(...y),null}const T=y?R(y.sort((I,L)=>I[1]-L[1]||I[0]?.localeCompare(L[0]||"")||0).map(I=>I[0]).filter(Boolean)):[];return T.length?`${T.join(`,${f}`)}{${$}}`:$}).filter(Boolean).reverse().join(f);if(!C)return F;const S=C.split(" $$ ");return`${S.join("{")}{${f}${F}${f}}${S.map(y=>"").join("}")}`}).filter(Boolean).join(f);o&&(h=[x[p],h].filter(Boolean).join(f));const v=c?"":`/* layer: ${p} */${f}`;return m[p]=h?v+h:""},b=(p=g,h)=>p.filter(v=>!h?.includes(v)).map(v=>k(v)||"").filter(Boolean).join(f);return{get css(){return b()},layers:g,matched:d,getLayers:b,getLayer:k}}async matchVariants(e,n){const i=new Set,r=[];let o=n||e,a=!1;const c={rawSelector:e,theme:this.config.theme,generator:this};for(;;){a=!1;for(const u of this.config.variants){if(!u.multiPass&&i.has(u))continue;let f=await u.match(o,c);if(f){j(f)&&(f={matcher:f}),o=f.matcher,r.unshift(f),i.add(u),a=!0;break}}if(!a)break;if(r.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,o,r,i]}applyVariants(e,n=e[4],i=e[1]){const o=n.slice().sort((f,l)=>(f.order||0)-(l.order||0)).reduceRight((f,l)=>d=>{const w=l.body?.(d.entries)||d.entries,x=Array.isArray(l.parent)?l.parent:[l.parent,void 0];return(l.handle??ot)({...d,entries:w,selector:l.selector?.(d.selector,w)||d.selector,parent:x[0]||d.parent,parentOrder:x[1]||d.parentOrder,layer:l.layer||d.layer,sort:l.sort||d.sort},f)},f=>f)({prefix:"",selector:st(i),pseudo:"",entries:e[2]}),{parent:a,parentOrder:c}=o;a!=null&&c!=null&&this.parentOrders.set(a,c);const u={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:a,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(const f of this.config.postprocess)f(u);return u}constructCustomCSS(e,n,i){const r=D(n);if(j(r))return r;const{selector:o,entries:a,parent:c}=this.applyVariants([0,i||e.rawSelector,r,void 0,e.variantHandlers]),u=`${o}{${G(a)}}`;return c?`${c}{${u}}`:u}async parseUtil(e,n,i=!1,r){const[o,a,c]=j(e)?await this.matchVariants(e):e;this.config.details&&(n.rules=n.rules??[]);const u=this.config.rulesStaticMap[a];if(u&&u[1]&&(i||!u[2]?.internal)){this.config.details&&n.rules.push(u[3]);const l=u[0],d=D(u[1]),w=u[2];return j(d)?[[l,d,w]]:[[l,o,d,w,c]]}n.variantHandlers=c;const{rulesDynamic:f}=this.config;for(const[l,d,w,x]of f){if(x?.internal&&!i)continue;let A=a;if(x?.prefix){const b=z(x.prefix);if(r){const p=z(r);if(!b.some(h=>p.includes(h)))continue}else{const p=b.find(h=>a.startsWith(h));if(p==null)continue;A=a.slice(p.length)}}const g=A.match(d);if(!g)continue;const m=await w(g,n);if(!m)continue;this.config.details&&n.rules.push([d,w,x]);const k=Ie(m).filter(b=>b.length);if(k.length)return k.map(b=>j(b)?[l,b,x]:[l,o,b,x,c])}}stringifyUtil(e,n){if(!e)return;if(re(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?n:void 0,void 0];const{selector:i,entries:r,parent:o,layer:a,sort:c,noMerge:u}=this.applyVariants(e),f=G(r);if(!f)return;const{layer:l,sort:d,...w}=e[3]??{},x={...w,layer:a??l,sort:c??d};return[e[0],i,f,o,x,this.config.details?n:void 0,u]}async expandShortcut(e,n,i=5){if(i===0)return;const r=this.config.details?c=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(c)}:Be;let o,a;for(const c of this.config.shortcuts){let u=e;if(c[2]?.prefix){const l=z(c[2].prefix).find(d=>e.startsWith(d));if(l==null)continue;u=e.slice(l.length)}if(De(c)){if(c[0]===u){o=o||c[2],a=c[1],r(c);break}}else{const f=u.match(c[0]);if(f&&(a=c[1](f,n)),a){o=o||c[2],r(c);break}}}if(j(a)&&(a=qe(a.trim()).split(/\s+/g)),!a){const[c,u]=j(e)?await this.matchVariants(e):e;if(c!==u){const f=await this.expandShortcut(u,n,i-1);f&&(a=f[0].map(l=>j(l)?c.replace(u,l):l))}}if(a)return[(await Promise.all(a.map(async c=>(j(c)?(await this.expandShortcut(c,n,i-1))?.[0]:void 0)||[c]))).flat(1).filter(Boolean),o]}async stringifyShortcuts(e,n,i,r={layer:this.config.shortcutsLayer}){const o=new Ue,a=(await Promise.all(R(i).map(async l=>{const d=j(l)?await this.parseUtil(l,n,!0,r.prefix):[[1/0,"{inline}",D(l),void 0,[]]];return d||me(`unmatched utility "${l}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((l,d)=>l[0]-d[0]),[c,,u]=e,f=[];for(const l of a){if(re(l)){f.push([l[0],void 0,l[1],void 0,l[2],n,void 0]);continue}const{selector:d,entries:w,parent:x,sort:A,noMerge:g}=this.applyVariants(l,[...l[4],...u],c);o.getFallback(d,x,[[],l[0]])[0].push([w,!!(g??l[3]?.noMerge),A??0])}return f.concat(o.map(([l,d],w,x)=>{const A=(m,k,b)=>{const p=Math.max(...b.map(v=>v[1])),h=b.map(v=>v[0]);return(m?[h.flat(1)]:h).map(v=>{const C=G(v);if(C)return[d,w,C,x,{...r,noMerge:k,sort:p},n,void 0]})};return[[l.filter(([,m])=>m).map(([m,,k])=>[m,k]),!0],[l.filter(([,m])=>!m).map(([m,,k])=>[m,k]),!1]].map(([m,k])=>[...A(!1,k,m.filter(([b])=>b.some(p=>p[0]===te))),...A(!0,k,m.filter(([b])=>b.every(p=>p[0]!==te)))])}).flat(2).filter(Boolean))}isBlocked(e){return!e||this.config.blocklist.some(n=>j(n)?n===e:n.test(e))}}function tt(t,e){return new et(t,e)}const rt=/\s\$\$\s+/g;function nt(t){return t.match(/\s\$\$\s/)}function it(t,e){return nt(t)?t.replace(rt,e?` ${e} `:" "):e?`${e} ${t}`:t}const oe=/^\[(.+?)(~?=)"(.*)"\]$/;function st(t){return oe.test(t)?t.replace(oe,(e,n,i,r)=>`[${q(n)}${i}"${q(r)}"]`):`.${q(t)}`}function ot(t,e){return e(t)}function at(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ct(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),at(e)}const lt=3;function ut(t){return function(n={}){const{scale:i=1,mode:r="auto",prefix:o="i-",warn:a=!1,collections:c,extraProperties:u={},customizations:f={},autoInstall:l=!1,layer:d="icons",unit:w}=n,x={addXmlNs:!0,scale:i,customCollections:c,autoInstall:l,warn:void 0,customizations:{...f,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(g,m,k){await f.iconCustomizer?.(g,m,k),w&&(k.width||(k.width=`${i}${w}`),k.height||(k.height=`${i}${w}`))}}};let A;return{name:"@unocss/preset-icons",enforce:"pre",options:n,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([g,m,k=r])=>{let b="",p="",h;A=A||await t(n);const v={};if(m.includes(":"))[b,p]=m.split(":"),h=await A(b,p,{...x,usedProps:v});else{const O=m.split(/-/g);for(let M=lt;M>=1&&(b=O.slice(0,M).join("-"),p=O.slice(M).join("-"),h=await A(b,p,{...x,usedProps:v}),!h);M--);}if(!h){a&&me(`failed to load icon "${g}"`);return}const C=`url("data:image/svg+xml;utf8,${ct(h)}")`;return k==="auto"&&(k=h.includes("currentColor")?"mask":"bg"),k==="mask"?{"--un-icon":C,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...v}:{background:`${C} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...v}},{layer:d,prefix:o}]]}}}const ft=ut(async t=>{const{cdn:e}=t;return e?Le(e):pe});function ht(t){return t.replace(/-(\w)/g,(e,n)=>n?n.toUpperCase():"")}function ae(t){return t.charAt(0).toUpperCase()+t.slice(1)}function ce(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var le=["Webkit","Moz","ms"];function dt(t){const e={};function n(i){const r=e[i];if(r)return r;let o=ht(i);if(o!=="filter"&&o in t)return e[i]=ce(o);o=ae(o);for(let a=0;a<le.length;a++){const c=`${le[a]}${o}`;if(c in t)return e[i]=ce(ae(c))}return i}return({entries:i})=>i.forEach(r=>{r[0].startsWith("--")||(r[0]=n(r[0]))})}function pt(t){return t.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}function gt(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,n=window.document,i=()=>n.documentElement,r=e.__unocss||{},o=Object.assign({},t,r.runtime),a=o.defaults||{},c=o.cloakAttribute??"un-cloak";o.autoPrefix&&(a.postprocess=z(a.postprocess)).unshift(dt(n.createElement("div").style)),o.configResolved?.(r,a);const u=tt(r,a),f=new Map;let l=!0,d=new Set,w,x,A=[];const g=()=>new Promise(S=>{A.push(S),x!=null&&clearTimeout(x),x=setTimeout(()=>b().then(()=>{const y=A;A=[],y.forEach($=>$())}),0)});function m(S){if(S.nodeType!==1)return;const y=S;y.hasAttribute(c)&&y.removeAttribute(c),y.querySelectorAll(`[${c}]`).forEach($=>{$.removeAttribute(c)})}function k(S,y){let $=f.get(S);if(!$)if($=n.createElement("style"),$.setAttribute("data-unocss-runtime-layer",S),f.set(S,$),y==null)i().prepend($);else{const E=k(y),_=E.parentNode;_?_.insertBefore($,E.nextSibling):i().prepend($)}return $}async function b(){const S=await u.generate(d);return S.layers.reduce((y,$)=>(k($,y).innerHTML=S.getLayer($)??"",$),void 0),d=S.matched,{...S,getStyleElement:y=>f.get(y),getStyleElements:()=>f}}async function p(S){const y=d.size;await u.applyExtractors(S,void 0,d),y!==d.size&&await g()}async function h(){const S=n.body,y=S&&S.outerHTML;y&&(await p(`${y} ${pt(y)}`),m(i()),m(S))}const v=new MutationObserver(S=>{l||S.forEach(async y=>{if(y.target.nodeType!==1)return;const $=y.target;for(const E of f)if($===E[1])return;if(y.type==="childList")y.addedNodes.forEach(async E=>{if(E.nodeType!==1)return;const _=E;w&&!w(_)||(await p(_.outerHTML),m(_))});else{if(w&&!w($))return;if(y.attributeName!==c){const E=Array.from($.attributes).map(T=>T.value?`${T.name}="${T.value}"`:T.name).join(" "),_=`<${$.tagName.toLowerCase()} ${E}>`;await p(_)}$.hasAttribute(c)&&$.removeAttribute(c)}})});let C=!1;function O(){if(C)return;const S=i()||n.body;S&&(v.observe(S,{childList:!0,subtree:!0,attributes:!0}),C=!0)}function M(){o.bypassDefined&&mt(u.blocked),h(),O()}function P(){n.readyState==="loading"?e.addEventListener("DOMContentLoaded",M):M()}const F=e.__unocss_runtime=e.__unocss_runtime={version:u.version,uno:u,async extract(S){j(S)||(S.forEach(y=>d.add(y)),S=""),await p(S)},extractAll:h,inspect(S){w=S},toggleObserver(S){S===void 0?l=!l:l=!!S,!C&&!l&&P()},update:b};o.ready?.(F)!==!1&&(l=!1,P())}function mt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const n=document.styleSheets[e];let i;try{if(i=n.cssRules||n.rules,!i)continue;Array.from(i).flatMap(r=>r.selectorText?.split(/,/g)||[]).forEach(r=>{r&&(r=r.trim(),r.startsWith(".")&&(r=r.slice(1)),t.add(r))})}catch{continue}}return t}gt({defaults:{presets:[ft({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
@@ -0,0 +1 @@
1
+ import{K as o,z as a}from"./entry.af9b874e.js";import{u as p}from"./preview.f5b42a41.js";const y=["p","h1","h2","h3","h4","h5","h6","li"];function i(r,t){return r.type===t||typeof r.type=="object"&&r.type.tag===t||r.tag===t}function c(r){return i(r,"text")||typeof r.children=="string"}function l(r){return Array.isArray(r.children)||typeof r.children=="string"?r.children:typeof r.children?.default=="function"?r.children.default():[]}function u(r){if(!r)return"";if(Array.isArray(r))return r.map(u).join("");if(c(r))return r.children||r.value;const t=l(r);return Array.isArray(t)?t.map(u).join(""):""}function s(r,t=["p"]){if(Array.isArray(r))return r.flatMap(n=>s(n,t));let e=r;return t.some(n=>n==="*"||i(r,n))&&(e=l(r)||r,!Array.isArray(e)&&y.some(n=>i(r,n))&&(e=[e])),e}function f(r,t=["p"]){return r=Array.isArray(r)?r:[r],t.length?r.flatMap(e=>f(s(e,[t[0]]),t.slice(1))).filter(e=>!(c(e)&&u(e).trim()==="")):r}const w=r=>o(r,a().public.content.api.baseURL),A=()=>({unwrap:s,flatUnwrap:f}),b=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxtjs.org/guide/writing/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},C=()=>{const{experimental:r}=a().public.content;return r.clientDB?!0:p().isEnabled()};export{A as a,C as s,b as u,w};
@@ -0,0 +1 @@
1
+ import{F as D,_ as R}from"./fuse.esm.6cb10448.js";import{a as V,V as v,Q as w,h as u,v as I,ar as S,o as l,e as _,l as s,w as c,F as p,u as a,af as L,r as P,O as U,N as j,t as h,m,c as E,I as W,aJ as q}from"./entry.af9b874e.js";import{_ as z}from"./NCodeBlock.vue.0cfd6eb2.js";import{_ as G}from"./NPanelGrids.e798da22.js";import{_ as H}from"./PanelLeftRight.vue.6f7c90d0.js";import{_ as J}from"./HelpFab.vue.f1360997.js";import"./NTextInput.vue.3ee9e6a6.js";import"./ContentRenderer.84f6a8ba.js";import"./ContentRendererMarkdown.9627ed5f.js";import"./index.a6ef77ff.js";import"./preview.f5b42a41.js";import"./NIconButton.vue.3972e12f.js";import"./query.1a3ba2be.js";import"./utils.f4f8ef5c.js";const O=m("div",{"x-divider":""},null,-1),Q={key:0,"h-full":"","of-hidden":"",flex:"~ col"},T={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},A=m("span",{op75:""},"Select a file to start",-1),ue=V({__name:"virtual-files",setup(K){const r=v(""),o=w(),d=u(()=>I().query?.id),i=v();S(()=>{if(!d.value)return;const e=`/_vfs.json/${encodeURIComponent(d.value)}`;fetch(e).then(t=>t.json()).then(t=>i.value=t.current)});function x(e){if(o.value?.rootDir)return e.startsWith(o.value?.rootDir)?e.slice(o.value.rootDir.length):e}const f=u(()=>o.value?o.value.entries.filter(e=>!e.id.startsWith(`${o.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),y=u(()=>new D(f.value,{keys:["id","path"]})),g=u(()=>r.value?y.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const k=R,b=W,N=z,C=q,F=G,$=H,B=J;return l(),_(p,null,[s($,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:c(()=>[s(k,{search:a(r),"onUpdate:search":t[0]||(t[0]=n=>L(r)?r.value=n:null),"no-padding":"",p3:""},null,8,["search"]),(l(!0),_(p,null,P(a(g),n=>(l(),_(p,{key:n.id},[s(b,{block:"","select-none":"",truncate:"",px2:"",py1:"","font-mono":"","text-sm":"",to:`/modules/virtual-files?id=${encodeURIComponent(n.id)}`,class:U(n.id===a(i)?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover")},{default:c(()=>[j(h(x(n.id)),1)]),_:2},1032,["to","class"]),O],64))),128))]),right:c(()=>[a(i)?.content?(l(),_("div",Q,[m("div",T,[m("code",null,h(a(i).id),1)]),s(N,{"h-full":"","of-auto":"","text-sm":"",code:a(i).content,lang:"typescript"},null,8,["code"])])):(l(),E(F,{key:1},{default:c(()=>[s(C,{px6:"",py2:""},{default:c(()=>[A]),_:1})]),_:1}))]),_:1}),s(B,{path:"/virtual-files"})],64)}}});export{ue as default};
@@ -0,0 +1 @@
1
+ {"generatedAt":1682797624553,"generateTime":40,"contents":[{"_path":"/components","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Components","description":"Vue components under the components/ directory are automatically registered and can be used in your templates without importing them.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"components"},"children":[{"type":"text","value":"Components"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Vue components under the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"components/"}]},{"type":"text","value":" directory are automatically registered and can be used in your templates without importing them."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/components","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:components.md","_source":"content","_file":"components.md","_extension":"md"},{"_path":"/hooks","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Hooks","description":"Hooks are an advanced API mainly for module authors or advanced use cases. The hooking system to expand almost every aspect of Nuxt. It's powered by unjs/hookable.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"hooks"},"children":[{"type":"text","value":"Hooks"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Hooks are an advanced API mainly for module authors or advanced use cases. The hooking system to expand almost every aspect of Nuxt. It's powered by "},{"type":"element","tag":"a","props":{"href":"https://github.com/unjs/hookable","rel":["nofollow"]},"children":[{"type":"text","value":"unjs/hookable"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/going-further/hooks","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more about hooks"}]},{"type":"text","value":"."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:hooks.md","_source":"content","_file":"hooks.md","_extension":"md"},{"_path":"/imports","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Auto imports","description":"Nuxt auto-imports helper functions, composables and Vue APIs to use across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own components, composables and plugins. Components, composables or plugins can use these functions.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"auto-imports"},"children":[{"type":"text","value":"Auto imports"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt auto-imports helper functions, composables and Vue APIs to use across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own components, composables and plugins. Components, composables or plugins can use these functions."}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"According to your config, exports of files under the following folders will be registed as auto-imports entry:"}]},{"type":"element","tag":"help-imports-dirs","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:"}]},{"type":"element","tag":"help-imports-modules","props":{},"children":[]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/concepts/auto-imports","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:imports.md","_source":"content","_file":"imports.md","_extension":"md"},{"_path":"/modules","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Modules","description":"Nuxt provides a module system to extend the framework core and simplify integrations. You don't need to develop everything from scratch or maintain boilerplate if there is already a Nuxt module for it. Adding Nuxt modules is possible using nuxt.config.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"modules"},"children":[{"type":"text","value":"Modules"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt provides a module system to extend the framework core and simplify integrations. You don't need to develop everything from scratch or maintain boilerplate if there is already a Nuxt module for it. Adding Nuxt modules is possible using "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/concepts/modules","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:modules.md","_source":"content","_file":"modules.md","_extension":"md"},{"_path":"/pages","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Pages","description":"One core feature of Nuxt is the file system router. Every Vue file inside the pages/ directory creates a corresponding URL (or route) that displays the contents of the file. By using dynamic imports for each page, Nuxt leverages code-splitting to ship the minimum amount of JavaScript for the requested route.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"pages"},"children":[{"type":"text","value":"Pages"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"One core feature of Nuxt is the file system router. Every Vue file inside the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"pages/"}]},{"type":"text","value":" directory creates a corresponding URL (or route) that displays the contents of the file. By using dynamic imports for each page, Nuxt leverages code-splitting to ship the minimum amount of JavaScript for the requested route."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/routing","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"h1","props":{"id":"middlewares"},"children":[{"type":"text","value":"Middlewares"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt provides a customizable route middleware framework you can use throughout your application, ideal for extracting code that you want to run before navigating to a particular route."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/middleware","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:pages.md","_source":"content","_file":"pages.md","_extension":"md"},{"_path":"/payload","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"State & Async Data","description":"// TODO","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"state-async-data"},"children":[{"type":"text","value":"State & Async Data"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"// TODO"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:payload.md","_source":"content","_file":"payload.md","_extension":"md"},{"_path":"/plugins","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Plugins","description":"Nuxt plugins allows you to extend the functionality of Nuxt runtime and the Vue instance. You can add plugins to the plugins/ directory and they will be automatically imported and registered.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"plugins"},"children":[{"type":"text","value":"Plugins"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt plugins allows you to extend the functionality of Nuxt runtime and the Vue instance. You can add plugins to the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"plugins/"}]},{"type":"text","value":" directory and they will be automatically imported and registered."}]},{"type":"element","tag":"help-tip-performance","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Plugins runs before your application at runtime, the time each plugin cost will directly affect your application's initial loading time."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/plugins","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:plugins.md","_source":"content","_file":"plugins.md","_extension":"md"},{"_path":"/runtime-configs","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Runtime Configs","description":"// TODO:","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"runtime-configs"},"children":[{"type":"text","value":"Runtime Configs"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"// TODO:"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:runtime-configs.md","_source":"content","_file":"runtime-configs.md","_extension":"md"},{"_path":"/virtual-files","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Virtual Files","description":"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"virtual-files"},"children":[{"type":"text","value":"Virtual Files"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:virtual-files.md","_source":"content","_file":"virtual-files.md","_extension":"md"}],"navigation":[{"title":"Components","_path":"/components"},{"title":"Hooks","_path":"/hooks"},{"title":"Auto imports","_path":"/imports"},{"title":"Modules","_path":"/modules"},{"title":"Pages","_path":"/pages"},{"title":"State & Async Data","_path":"/payload"},{"title":"Plugins","_path":"/plugins"},{"title":"Runtime Configs","_path":"/runtime-configs"},{"title":"Virtual Files","_path":"/virtual-files"}]}
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.840dc95c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_commonjsHelpers.87174ba5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.5983d3fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.3c77498c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bb3f80b9.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.c139499c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.93dcf272.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__=(function(a,b){return {_errors:{},serverRendered:a,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts",content:{locales:[],defaultLocale:b,integrity:1682797615036,experimental:{stripQueryParameters:a,clientDB:a,advancedIgnoresPattern:a},api:{baseURL:"\u002Fapi\u002F_content"},navigation:{fields:[]},tags:{p:"prose-p",a:"prose-a",blockquote:"prose-blockquote","code-inline":"prose-code-inline",code:"prose-code",em:"prose-em",h1:"prose-h1",h2:"prose-h2",h3:"prose-h3",h4:"prose-h4",h5:"prose-h5",h6:"prose-h6",hr:"prose-hr",img:"prose-img",ul:"prose-ul",ol:"prose-ol",li:"prose-li",strong:"prose-strong",table:"prose-table",thead:"prose-thead",tbody:"prose-tbody",td:"prose-td",th:"prose-th",tr:"prose-tr"},highlight:a,wsUrl:b,documentDriven:a,host:b,trailingSlash:a,anchorLinks:{depth:4,exclude:[1]}}},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:b}}}}(false,""))</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.840dc95c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_commonjsHelpers.87174ba5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.5983d3fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.3c77498c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bb3f80b9.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.c139499c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.93dcf272.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__=(function(a,b){return {_errors:{},serverRendered:a,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts",content:{locales:[],defaultLocale:b,integrity:1682797615036,experimental:{stripQueryParameters:a,clientDB:a,advancedIgnoresPattern:a},api:{baseURL:"\u002Fapi\u002F_content"},navigation:{fields:[]},tags:{p:"prose-p",a:"prose-a",blockquote:"prose-blockquote","code-inline":"prose-code-inline",code:"prose-code",em:"prose-em",h1:"prose-h1",h2:"prose-h2",h3:"prose-h3",h4:"prose-h4",h5:"prose-h5",h6:"prose-h6",hr:"prose-hr",img:"prose-img",ul:"prose-ul",ol:"prose-ol",li:"prose-li",strong:"prose-strong",table:"prose-table",thead:"prose-thead",tbody:"prose-tbody",td:"prose-td",th:"prose-th",tr:"prose-tr"},highlight:a,wsUrl:b,documentDriven:a,host:b,trailingSlash:a,anchorLinks:{depth:4,exclude:[1]}}},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:b}}}}(false,""))</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.840dc95c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_commonjsHelpers.87174ba5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.5983d3fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.3c77498c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bb3f80b9.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.c139499c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.93dcf272.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__=(function(a,b){return {_errors:{},serverRendered:a,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts",content:{locales:[],defaultLocale:b,integrity:1682797615036,experimental:{stripQueryParameters:a,clientDB:a,advancedIgnoresPattern:a},api:{baseURL:"\u002Fapi\u002F_content"},navigation:{fields:[]},tags:{p:"prose-p",a:"prose-a",blockquote:"prose-blockquote","code-inline":"prose-code-inline",code:"prose-code",em:"prose-em",h1:"prose-h1",h2:"prose-h2",h3:"prose-h3",h4:"prose-h4",h5:"prose-h5",h6:"prose-h6",hr:"prose-hr",img:"prose-img",ul:"prose-ul",ol:"prose-ol",li:"prose-li",strong:"prose-strong",table:"prose-table",thead:"prose-thead",tbody:"prose-tbody",td:"prose-td",th:"prose-th",tr:"prose-tr"},highlight:a,wsUrl:b,documentDriven:a,host:b,trailingSlash:a,anchorLinks:{depth:4,exclude:[1]}}},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:b}}}}(false,""))</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.840dc95c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_commonjsHelpers.87174ba5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.5983d3fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.3c77498c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bb3f80b9.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.c139499c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.93dcf272.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__=(function(a,b){return {_errors:{},serverRendered:a,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts",content:{locales:[],defaultLocale:b,integrity:1682797615036,experimental:{stripQueryParameters:a,clientDB:a,advancedIgnoresPattern:a},api:{baseURL:"\u002Fapi\u002F_content"},navigation:{fields:[]},tags:{p:"prose-p",a:"prose-a",blockquote:"prose-blockquote","code-inline":"prose-code-inline",code:"prose-code",em:"prose-em",h1:"prose-h1",h2:"prose-h2",h3:"prose-h3",h4:"prose-h4",h5:"prose-h5",h6:"prose-h6",hr:"prose-hr",img:"prose-img",ul:"prose-ul",ol:"prose-ol",li:"prose-li",strong:"prose-strong",table:"prose-table",thead:"prose-thead",tbody:"prose-tbody",td:"prose-td",th:"prose-th",tr:"prose-tr"},highlight:a,wsUrl:b,documentDriven:a,host:b,trailingSlash:a,anchorLinks:{depth:4,exclude:[1]}}},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:b}}}}(false,""))</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.840dc95c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_commonjsHelpers.87174ba5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.5983d3fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.3c77498c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bb3f80b9.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.c139499c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.93dcf272.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__=(function(a,b){return {_errors:{},serverRendered:a,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts",content:{locales:[],defaultLocale:b,integrity:1682797615036,experimental:{stripQueryParameters:a,clientDB:a,advancedIgnoresPattern:a},api:{baseURL:"\u002Fapi\u002F_content"},navigation:{fields:[]},tags:{p:"prose-p",a:"prose-a",blockquote:"prose-blockquote","code-inline":"prose-code-inline",code:"prose-code",em:"prose-em",h1:"prose-h1",h2:"prose-h2",h3:"prose-h3",h4:"prose-h4",h5:"prose-h5",h6:"prose-h6",hr:"prose-hr",img:"prose-img",ul:"prose-ul",ol:"prose-ol",li:"prose-li",strong:"prose-strong",table:"prose-table",thead:"prose-thead",tbody:"prose-tbody",td:"prose-td",th:"prose-th",tr:"prose-tr"},highlight:a,wsUrl:b,documentDriven:a,host:b,trailingSlash:a,anchorLinks:{depth:4,exclude:[1]}}},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:b}}}}(false,""))</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.840dc95c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_commonjsHelpers.87174ba5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.5983d3fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.3c77498c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bb3f80b9.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.c139499c.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.93dcf272.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.c396e258.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__=(function(a,b){return {_errors:{},serverRendered:a,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts",content:{locales:[],defaultLocale:b,integrity:1682797615036,experimental:{stripQueryParameters:a,clientDB:a,advancedIgnoresPattern:a},api:{baseURL:"\u002Fapi\u002F_content"},navigation:{fields:[]},tags:{p:"prose-p",a:"prose-a",blockquote:"prose-blockquote","code-inline":"prose-code-inline",code:"prose-code",em:"prose-em",h1:"prose-h1",h2:"prose-h2",h3:"prose-h3",h4:"prose-h4",h5:"prose-h5",h6:"prose-h6",hr:"prose-hr",img:"prose-img",ul:"prose-ul",ol:"prose-ol",li:"prose-li",strong:"prose-strong",table:"prose-table",thead:"prose-thead",tbody:"prose-tbody",td:"prose-td",th:"prose-th",tr:"prose-tr"},highlight:a,wsUrl:b,documentDriven:a,host:b,trailingSlash:a,anchorLinks:{depth:4,exclude:[1]}}},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:b}}}}(false,""))</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.af9b874e.js" crossorigin></script></body>
7
7
  </html>