@nuxt/devtools-nightly 3.2.2-29550409.4d481d5 → 3.2.2-29550552.77c32d4

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 (158) hide show
  1. package/dist/chunks/module-main.mjs +141 -52
  2. package/dist/chunks/plugin-metrics.mjs +4 -2
  3. package/dist/chunks/timeline.mjs +2 -1
  4. package/dist/chunks/vite-inspect.mjs +7 -4
  5. package/dist/client/200.html +1 -1
  6. package/dist/client/404.html +1 -1
  7. package/dist/client/_nuxt/__blank-gayjf0ih.js +1 -0
  8. package/dist/client/_nuxt/analyze-build-bnq2cil8.js +1 -0
  9. package/dist/client/_nuxt/assets-fjp0hrmh.js +6 -0
  10. package/dist/client/_nuxt/builds/latest.json +1 -1
  11. package/dist/client/_nuxt/builds/meta/b4ea867d-556a-40bd-b899-5018491fcc2d.json +1 -0
  12. package/dist/client/_nuxt/{client-lfu9nb62.js → client-lh91kcpv.js} +1 -1
  13. package/dist/client/_nuxt/{client-ea5fdhj9.js → client-s5g5n0ac.js} +2 -2
  14. package/dist/client/_nuxt/{code-diff-otsxuk81.js → code-diff-cb7twqkt.js} +3 -3
  15. package/dist/client/_nuxt/{code-snippets-c0ulfayj.js → code-snippets-ho13b87l.js} +1 -1
  16. package/dist/client/_nuxt/components-peth8amc.js +1 -0
  17. package/dist/client/_nuxt/{composable-item-jjp1tvft.js → composable-item-b09pj4ca.js} +1 -1
  18. package/dist/client/_nuxt/custom-_name_-lfwzilnd.js +1 -0
  19. package/dist/client/_nuxt/{data-schema-button-fk6ozqve.js → data-schema-button-ke4komn6.js} +1 -1
  20. package/dist/client/_nuxt/{data-schema-drawer-mi3x7oeb.js → data-schema-drawer-dqe6w00i.js} +1 -1
  21. package/dist/client/_nuxt/debug-itzra6gt.js +1 -0
  22. package/dist/client/_nuxt/{default-n9xykcpp.js → default-bunv5fnq.js} +1 -1
  23. package/dist/client/_nuxt/{dev-auth-jrf61eu0.js → dev-auth-j4vxv6a1.js} +1 -1
  24. package/dist/client/_nuxt/{dist-jq34z2yz.js → dist-duc3zu0y.js} +1 -1
  25. package/dist/client/_nuxt/{duration-display-k6iuyk4f.js → duration-display-20xlusue.js} +1 -1
  26. package/dist/client/_nuxt/{entry.css-gx482m17.css → entry.css-ckq2wff8.css} +1 -1
  27. package/dist/client/_nuxt/{error-404-b375yxaj.js → error-404-c73bftho.js} +1 -1
  28. package/dist/client/_nuxt/error-404.css-pazrj6fo.css +1 -0
  29. package/dist/client/_nuxt/{error-500-marpmos8.js → error-500-75llnfh8.js} +1 -1
  30. package/dist/client/_nuxt/error-500.css-hlldh6hu.css +1 -0
  31. package/dist/client/_nuxt/error-isnb18yz.js +9 -0
  32. package/dist/client/_nuxt/{filepath-item-e4nchqwg.js → filepath-item-fnp9jxof.js} +1 -1
  33. package/dist/client/_nuxt/full-h8pokapo.js +1 -0
  34. package/dist/client/_nuxt/{head-k6pu038r.js → head-c2jgvqd9.js} +1 -1
  35. package/dist/client/_nuxt/{help-fab-hk76lwiw.js → help-fab-oc1qudll.js} +1 -1
  36. package/dist/client/_nuxt/hooks-i5p6cuw0.js +1 -0
  37. package/dist/client/_nuxt/imports-ia8eldh8.js +1 -0
  38. package/dist/client/_nuxt/kzt4clis.js +4 -0
  39. package/dist/client/_nuxt/{launch-page-k1lwfnm2.js → launch-page-kf0w74wk.js} +1 -1
  40. package/dist/client/_nuxt/modules-obwfskfp.js +1 -0
  41. package/dist/client/_nuxt/nbadge-hpznun17.js +1 -0
  42. package/dist/client/_nuxt/{nbutton-m0kqfedx.js → nbutton-oi1rfqiz.js} +1 -1
  43. package/dist/client/_nuxt/ncard-ech06vlh.js +1 -0
  44. package/dist/client/_nuxt/{ncheckbox-knbe2cxv.js → ncheckbox-k9nxqa1w.js} +1 -1
  45. package/dist/client/_nuxt/{ncode-block-o9sq6td7.js → ncode-block-coc4sua0.js} +1 -1
  46. package/dist/client/_nuxt/{ndrawer-ufyhcx08.js → ndrawer-ijwn9421.js} +1 -1
  47. package/dist/client/_nuxt/{ndropdown-lkmzobqs.js → ndropdown-moy416uy.js} +1 -1
  48. package/dist/client/_nuxt/{nicon-j0r9gdjm.js → nicon-m5br9nvg.js} +1 -1
  49. package/dist/client/_nuxt/{nicon-title-ggx25xp9.js → nicon-title-e35pdr21.js} +1 -1
  50. package/dist/client/_nuxt/{nlink-hz4zwb3c.js → nlink-dmk2d6qc.js} +1 -1
  51. package/dist/client/_nuxt/{nmarkdown-nsbirjtv.js → nmarkdown-nct1w6kn.js} +1 -1
  52. package/dist/client/_nuxt/{nnavbar-b0i34u17.js → nnavbar-n3j7iul1.js} +1 -1
  53. package/dist/client/_nuxt/none-bs12srzp.js +1 -0
  54. package/dist/client/_nuxt/npanel-grids-bl37sfq7.js +1 -0
  55. package/dist/client/_nuxt/{nsection-block-dzbgwc4z.js → nsection-block-l0c6dpg8.js} +1 -1
  56. package/dist/client/_nuxt/{nselect-ne66fzrs.js → nselect-kgjpj17v.js} +1 -1
  57. package/dist/client/_nuxt/{nselect-tabs-jgvac6a8.js → nselect-tabs-if6er1us.js} +1 -1
  58. package/dist/client/_nuxt/{nswitch-abl34kow.js → nswitch-b36trghq.js} +1 -1
  59. package/dist/client/_nuxt/{ntext-input-ozkk5xro.js → ntext-input-ngomk0u2.js} +1 -1
  60. package/dist/client/_nuxt/{nuxt-h34yfo3l.js → nuxt-bfozs29x.js} +1 -1
  61. package/dist/client/_nuxt/{nuxt-link-lrojf3ui.js → nuxt-link-mev16ngd.js} +1 -1
  62. package/dist/client/_nuxt/open-graph-m7wd1sxi.js +3 -0
  63. package/dist/client/_nuxt/overview-fauwb2xr.js +1 -0
  64. package/dist/client/_nuxt/pages-gnfgydad.js +1 -0
  65. package/dist/client/_nuxt/pages-izgjpbm4.js +1 -0
  66. package/dist/client/_nuxt/payload-hc17espa.js +1 -0
  67. package/dist/client/_nuxt/pinia-ns87k5yi.js +1 -0
  68. package/dist/client/_nuxt/plugins-mswypwe4.js +1 -0
  69. package/dist/client/_nuxt/{ready-mmkdpbhg.js → ready-szdlhgcr.js} +1 -1
  70. package/dist/client/_nuxt/render-tree-hec27xi7.js +1 -0
  71. package/dist/client/_nuxt/runtime-configs-chx5ggf0.js +1 -0
  72. package/dist/client/_nuxt/server-discovery-cjcj8emm.js +1 -0
  73. package/dist/client/_nuxt/server-route-inputs-lqwnul2k.js +1 -0
  74. package/dist/client/_nuxt/server-routes-e0uqj8di.js +7 -0
  75. package/dist/client/_nuxt/server-tasks-izz5mcrk.js +1 -0
  76. package/dist/client/_nuxt/settings-dhxjcakv.js +1 -0
  77. package/dist/client/_nuxt/{splitpanes.es-gcrxxdgy.js → splitpanes.es-ceqv8417.js} +1 -1
  78. package/dist/client/_nuxt/stacktrace-list-m1sv2uvd.js +1 -0
  79. package/dist/client/_nuxt/state-components-mnfvrbtw.js +1 -0
  80. package/dist/client/_nuxt/state-dkywakbf.js +1 -0
  81. package/dist/client/_nuxt/{state-editor-egz1k0a8.js → state-editor-epijodsw.js} +1 -1
  82. package/dist/client/_nuxt/{state-modules-dyb3mv6i.js → state-modules-ehax0fup.js} +1 -1
  83. package/dist/client/_nuxt/{state-routes-ovtjymzc.js → state-routes-m6gv5n9v.js} +1 -1
  84. package/dist/client/_nuxt/{state-tabs-jkd7jbwg.js → state-tabs-mo8r9nzk.js} +1 -1
  85. package/dist/client/_nuxt/storage-hdyfvofj.js +1 -0
  86. package/dist/client/_nuxt/{storage-options-os0x8zby.js → storage-options-owy2vf04.js} +1 -1
  87. package/dist/client/_nuxt/{telemetry-pccqt90w.js → telemetry-bagjjni2.js} +1 -1
  88. package/dist/client/_nuxt/terminals-hem69799.js +1 -0
  89. package/dist/client/_nuxt/timeline-luryae8h.js +31 -0
  90. package/dist/client/_nuxt/unocss-runtime-jcr8lucj.js +1 -0
  91. package/dist/client/_nuxt/vendor/{json-editor-vue-jlmu1vk1.js → json-editor-vue-hkofgjf7.js} +3 -3
  92. package/dist/client/_nuxt/vendor/shiki-niqic03h.js +153 -0
  93. package/dist/client/_nuxt/vendor/unocss-bj3ln324.js +3 -0
  94. package/dist/client/_nuxt/vendor/unocss.css-3gd0e2sv.css +1 -0
  95. package/dist/client/_nuxt/vendor/{vis-p9fufs7k.js → vis-id8udisj.js} +1 -1
  96. package/dist/client/_nuxt/virtual-files-o2l5arel.js +1 -0
  97. package/dist/client/_nuxt/vue-devtools-na2nb82m.js +3 -0
  98. package/dist/client/_nuxt/{vue-router-fwt4i0j8.js → vue-router-dxks01bs.js} +1 -1
  99. package/dist/client/_nuxt/{vue-virtual-scroller.esm-hq850jog.js → vue-virtual-scroller.esm-d0igfpwe.js} +1 -1
  100. package/dist/client/index.html +1 -1
  101. package/dist/dirs.mjs +2 -1
  102. package/dist/module.json +1 -1
  103. package/dist/runtime/plugins/view/client.js +2 -1
  104. package/dist/webcomponents/index.mjs +8 -6
  105. package/package.json +24 -24
  106. package/dist/client/_nuxt/__blank-jnbqrgps.js +0 -1
  107. package/dist/client/_nuxt/analyze-build-c3vdx12p.js +0 -1
  108. package/dist/client/_nuxt/assets-myudvi12.js +0 -6
  109. package/dist/client/_nuxt/builds/meta/edc4110e-235b-4b9c-b5cf-5d6752c79836.json +0 -1
  110. package/dist/client/_nuxt/components-dwnwjv62.js +0 -1
  111. package/dist/client/_nuxt/custom-_name_-k9wxhx5t.js +0 -1
  112. package/dist/client/_nuxt/debug-jzrj2rrq.js +0 -1
  113. package/dist/client/_nuxt/error-404.css-k620a6z0.css +0 -1
  114. package/dist/client/_nuxt/error-500.css-j1xt9kl6.css +0 -1
  115. package/dist/client/_nuxt/error-f0x29wdg.js +0 -9
  116. package/dist/client/_nuxt/full-ix5b85yu.js +0 -1
  117. package/dist/client/_nuxt/hooks-oamlzps1.js +0 -1
  118. package/dist/client/_nuxt/imports-rq4f924m.js +0 -1
  119. package/dist/client/_nuxt/kqysrhbw.js +0 -4
  120. package/dist/client/_nuxt/modules-fev9bjof.js +0 -1
  121. package/dist/client/_nuxt/nbadge-h59v1exj.js +0 -1
  122. package/dist/client/_nuxt/ncard-qqqgbjy9.js +0 -1
  123. package/dist/client/_nuxt/none-bfunqbwh.js +0 -1
  124. package/dist/client/_nuxt/npanel-grids-m4ogaoh1.js +0 -1
  125. package/dist/client/_nuxt/open-graph-jokpmi3z.js +0 -3
  126. package/dist/client/_nuxt/overview-iaqgcdai.js +0 -1
  127. package/dist/client/_nuxt/pages-heq5sr3n.js +0 -1
  128. package/dist/client/_nuxt/pages-nev63916.js +0 -1
  129. package/dist/client/_nuxt/payload-cwkdgfbg.js +0 -1
  130. package/dist/client/_nuxt/pinia-cmp1aao2.js +0 -1
  131. package/dist/client/_nuxt/plugins-h6nd4bpq.js +0 -1
  132. package/dist/client/_nuxt/render-tree-c25vnw9j.js +0 -1
  133. package/dist/client/_nuxt/runtime-configs-oyvmfkja.js +0 -1
  134. package/dist/client/_nuxt/server-discovery-k4kknv5h.js +0 -1
  135. package/dist/client/_nuxt/server-route-inputs-heqgxrjl.js +0 -1
  136. package/dist/client/_nuxt/server-routes-bgud29n1.js +0 -7
  137. package/dist/client/_nuxt/server-tasks-kx1cj481.js +0 -1
  138. package/dist/client/_nuxt/settings-fav4xaeh.js +0 -1
  139. package/dist/client/_nuxt/stacktrace-list-ivp3f076.js +0 -1
  140. package/dist/client/_nuxt/state-b65zn1p8.js +0 -1
  141. package/dist/client/_nuxt/state-components-gdb1hu1j.js +0 -1
  142. package/dist/client/_nuxt/storage-noqjkcnn.js +0 -1
  143. package/dist/client/_nuxt/terminals-jwh8xdao.js +0 -1
  144. package/dist/client/_nuxt/timeline-nj0c9ow3.js +0 -31
  145. package/dist/client/_nuxt/unocss-runtime-mfhoy4ux.js +0 -1
  146. package/dist/client/_nuxt/vendor/shiki-jnavg768.js +0 -152
  147. package/dist/client/_nuxt/vendor/unocss-o75ihzkt.js +0 -3
  148. package/dist/client/_nuxt/virtual-files-nyi1q55e.js +0 -1
  149. package/dist/client/_nuxt/vue-devtools-b8p76ncm.js +0 -3
  150. /package/dist/client/_nuxt/{_plugin-vue_export-helper-myijwyyb.js → _plugin-vue_export-helper-dp8rxgcg.js} +0 -0
  151. /package/dist/client/_nuxt/{color-m9fh6h3t.js → color-b9xoe9j2.js} +0 -0
  152. /package/dist/client/_nuxt/{composables-k2ak4j8d.js → composables-cwesk2q8.js} +0 -0
  153. /package/dist/client/_nuxt/{constants-ihoovckn.js → constants-lof1c7kz.js} +0 -0
  154. /package/dist/client/_nuxt/{dist-9xqq72tk.js → dist-m49wlq01.js} +0 -0
  155. /package/dist/client/_nuxt/{dist-h291wass.js → dist-mnod32r1.js} +0 -0
  156. /package/dist/client/_nuxt/vendor/{markdown-it-ocmvh7ju.js → markdown-it-bcxn77q6.js} +0 -0
  157. /package/dist/client/_nuxt/vendor/{quicktype-core-jebn1o7i.js → quicktype-core-f8dnflnv.js} +0 -0
  158. /package/dist/client/_nuxt/vendor/{xterm-du7kv949.js → xterm-ed0pys2e.js} +0 -0
@@ -1,3 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../dist-jq34z2yz.js","../rolldown-runtime-oipoa1or.js","../dist-h291wass.js"])))=>i.map(i=>d[i]);
2
- import{a as e}from"./json-editor-vue-jlmu1vk1.js";var t=`default`,n=`preflights`,r=`shortcuts`,i={imports:-200,[n]:-100,[r]:-10,[t]:0},a=/[\\:]?[\s'"`;{}]+/g;function o(e){return e.split(a)}var s={name:`@unocss/core/extractor-split`,order:0,extract({code:e}){return o(e)}};function c(e=[]){return Array.isArray(e)?e:[e]}function l(e){return Array.from(new Set(e))}function u(e,t){return e.reduce((e,n)=>(e.findIndex(e=>t(n,e))===-1&&e.push(n),e),[])}function d(e){return typeof e==`string`}var f=class extends Set{constructor(e){if(super(),this._map=new Map,e)for(let t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function p(e){return e instanceof f}function m(e){let t=e.length,n=-1,r,i=``,a=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){i+=`�`;continue}if(r===37){i+=`\\%`;continue}if(r===44){i+=`\\,`;continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&a===45){i+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){i+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){i+=e.charAt(n);continue}i+=`\\${e.charAt(n)}`}return i}var h=m;function g(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(e=>e(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(e=>e!==t)}}}function _(e){return typeof e==`function`?{match:e}:e}function v(e){return e.length===3}function y(e){return e!=null}function b(){}var x=class{constructor(){this._map=new Map}get(e,t){let n=this._map.get(e);if(n)return n.get(t)}getFallback(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(t)||r.set(t,n),r.get(t)}set(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(t,n),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,n])=>Array.from(n.entries()).map(([n,r])=>e(r,t,n)))}},S=class extends Map{getFallback(e,t){let n=this.get(e);return n===void 0?(this.set(e,t),t):n}map(e){let t=[];return this.forEach((n,r)=>{t.push(e(n,r))}),t}flatMap(e){let t=[];return this.forEach((n,r)=>{t.push(...e(n,r))}),t}};function C(e){return d(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>e[1]!=null)}function w(e){return Array.isArray(e)?e.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?e.map(e=>C(e)):[e]:[C(e)]}function T(e){return e.filter(([t,n],r)=>{if(t.startsWith(`$$`))return!1;for(let i=r-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===n)return!1;return!0})}var E=`__virtual_key__`;function D(e){return e==null?``:T(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function O(e){return e&&typeof e==`object`&&!Array.isArray(e)}function k(e,t,n=!1){let r=e,i=t;if(Array.isArray(i))return n&&Array.isArray(i)?[...r,...i]:[...i];let a={...r};return O(r)&&O(i)&&Object.keys(i).forEach(e=>{O(r[e])&&O(i[e])||Array.isArray(r[e])&&Array.isArray(i[e])?a[e]=k(r[e],i[e],n):Object.assign(a,{[e]:i[e]})}),a}function A(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r==`object`?A(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:A(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?A(r):r;return n}return e}function ee(e){return d(e[0])}function te(e){return d(e[0])}var j={};function ne(e=[`-`,`:`]){let t=e.join(`|`);return j[t]||(j[t]=RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,`gm`)),j[t].lastIndex=0,j[t]}function re(e,t=[`-`,`:`],n=5){let r=ne(t),i,a=e.toString(),o=new Set,s=new Map;do i=!1,a=a.replace(r,(e,n,r,a,c)=>{if(!t.includes(r))return e;i=!0,o.add(n+r);let l=c+n.length+r.length+1,u={length:e.length,items:[]};s.set(c,u);for(let e of[...a.matchAll(/\S+/g)]){let t=l+e.index,i=s.get(t)?.items;i?s.delete(t):i=[{offset:t,length:e[0].length,className:e[0]}];for(let e of i)e.className=e.className===`~`?n:e.className.replace(/^(!?)(.*)/,`$1${n}${r}$2`),u.items.push(e)}return`$`.repeat(e.length)}),--n;while(i&&n);let c;if(typeof e==`string`){c=``;let t=0;for(let[n,r]of s)c+=e.slice(t,n),c+=r.items.map(e=>e.className).join(` `),t=n+r.length;c+=e.slice(t)}else{c=e;for(let[e,t]of s)c.overwrite(e,e+t.length,t.items.map(e=>e.className).join(` `))}return{prefixes:Array.from(o),hasChanged:i,groupsByOffset:s,get expanded(){return c.toString()}}}function ie(e,t=[`-`,`:`],n=5){let r=re(e,t,n);return typeof e==`string`?r.expanded:e}var ae=new Set;function oe(e){ae.has(e)||(console.warn(`[unocss]`,e),ae.add(e))}function M(e){return c(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var N=`_uno_resolved`;async function se(e){let t=typeof e==`function`?await e():await e;if(N in t)return t;t={...t},Object.defineProperty(t,N,{value:!0,enumerable:!1});let n=t.shortcuts?M(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){let e=e=>{e[2]||={};let n=e[2];n.prefix==null&&t.prefix&&(n.prefix=c(t.prefix)),n.layer==null&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}async function P(e){let t=await se(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(c).flatMap(P))).flat()]:[t]}function ce(e){if(e.length===0)return{};let t=[],n=[],r=!1,i=[],a=[];for(let o of e){if(o.pipeline===!1){r=!0;break}else o.pipeline?.include&&t.push(o.pipeline.include),o.pipeline?.exclude&&n.push(o.pipeline.exclude);o.filesystem&&i.push(o.filesystem),o.inline&&a.push(o.inline)}let o={pipeline:r?!1:{include:l(I(...t)),exclude:l(I(...n))}};return i.length&&(o.filesystem=l(i.flat())),a.length&&(o.inline=l(a.flat())),o}async function F(e={},t={}){let n=Object.assign({},t,e),r=u((await Promise.all((n.presets||[]).flatMap(c).flatMap(P))).flat(),(e,t)=>e.name===t.name),a=[...r.filter(e=>e.enforce===`pre`),...r.filter(e=>!e.enforce),...r.filter(e=>e.enforce===`post`)],o=[...a,n],d=[...o].reverse(),f=Object.assign({},i,...o.map(e=>e.layers));function p(e){return l(o.flatMap(t=>c(t[e]||[])))}let m=p(`extractors`),h=d.find(e=>e.extractorDefault!==void 0)?.extractorDefault;h===void 0&&(h=s),h&&!m.includes(h)&&m.unshift(h),m.sort((e,t)=>(e.order||0)-(t.order||0));let g=p(`rules`),v=g.length,y={},b=[];for(let[e,t]of g.entries()){let n=t[2]??={};n.__index=e,ee(t)?c(n.prefix??``).forEach(e=>{y[e+t[0]]=t}):b.unshift(t)}let x={templates:l(o.flatMap(e=>c(e.autocomplete?.templates))),extractors:o.flatMap(e=>c(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:ue(o.map(e=>e.autocomplete?.shorthands||{}))},S=p(`separators`);S.length||(S=[`:`,`-`]);let C=ce(p(`content`)),w={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:p(`blocklist`),presets:a,envMode:n.envMode||`build`,shortcutsLayer:n.shortcutsLayer||`shortcuts`,layers:f,theme:le(o.map(e=>e.theme)),rules:g,rulesSize:v,rulesDynamic:b,rulesStaticMap:y,preprocess:p(`preprocess`),postprocess:p(`postprocess`),preflights:p(`preflights`),autocomplete:x,variants:p(`variants`).map(_).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:M(p(`shortcuts`)).reverse(),extractors:m,safelist:p(`safelist`),separators:S,details:n.details??n.envMode===`dev`,content:C,transformers:u(p(`transformers`),(e,t)=>e.name===t.name)},T=p(`extendTheme`);for(let e of T)w.theme=e(w.theme,w)||w.theme;for(let e of o)e?.configResolved?.(w);return w}function le(e){return e.map(e=>e?A(e):{}).reduce((e,t)=>k(e,t),{})}function ue(e){return e.reduce((e,t)=>{let n={};for(let e in t){let r=t[e];Array.isArray(r)?n[e]=`(${r.join(`|`)})`:n[e]=r}return{...e,...n}},{})}function I(...e){return e.flatMap(de)}function de(e){return Array.isArray(e)?e:e?[e]:[]}function fe(e){return e}var pe=`66.6.0`,L={shortcutsNoMerge:`$$symbol-shortcut-no-merge`,noMerge:`$$symbol-no-merge`,variants:`$$symbol-variants`,parent:`$$symbol-parent`,selector:`$$symbol-selector`,layer:`$$symbol-layer`,sort:`$$symbol-sort`,body:`$$symbol-body`},me=class e{constructor(e={},t={}){this.userConfig=e,this.defaults=t,this.version=pe,this.events=g(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(e,t,n,r)=>{let i=w(t).filter(e=>e.length);if(i.length){this.config.details&&r.rules.push(n),r.generator.activatedRules.add(n);let t=n[2];return i.map(n=>{if(d(n))return[t.__index,n,t];let i=r.variantHandlers,a=t;for(let e of n)e[0]===L.variants?i=typeof e[1]==`function`?e[1](i)||i:[...c(e[1]),...i]:e[0]===L.parent?i=[{parent:e[1]},...i]:e[0]===L.selector?i=[{selector:e[1]},...i]:e[0]===L.layer?i=[{layer:e[1]},...i]:e[0]===L.sort?a={...a,sort:e[1]}:e[0]===L.noMerge?a={...a,noMerge:e[1]}:e[0]===L.body&&(e[0]=E);return[t.__index,e,n,a,i]})}}}static async create(t={},n={}){let r=new e(t,n);return r.config=await F(r.userConfig,r.defaults),r.events.emit(`config`,r.config),r}async setConfig(e,t){e&&(t&&(this.defaults=t),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await F(e,this.defaults),this.events.emit(`config`,this.config))}async applyExtractors(e,t,n=new Set){let r={original:e,code:e,id:t,extracted:n,envMode:this.config.envMode};for(let e of this.config.extractors){let t=await e.extract?.(r);if(t)if(p(t)&&p(n))for(let e of t)n.setCount(e,n.getCount(e)+t.getCount(e));else for(let e of t)n.add(e)}return n}makeContext(e,t){let n={rawSelector:e,currentSelector:t[1],theme:this.config.theme,generator:this,symbols:L,variantHandlers:t[2],constructCSS:(...e)=>this.constructCustomCSS(n,...e),variantMatch:t};return n}async parseToken(e,t){if(this.blocked.has(e))return;let n=`${e}${t?` ${t}`:``}`;if(this.cache.has(n))return this.cache.get(n);let r=this.config.preprocess.reduce((e,t)=>t(e)??e,e);if(this.isBlocked(r)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,r);if(i.every(e=>!e||this.isBlocked(e[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async n=>{let r=this.makeContext(e,[t||n[0],n[1],n[2],n[3]]);this.config.details&&(r.variants=[...n[3]]);let i=await this.expandShortcut(r.currentSelector,r);return i?await this.stringifyShortcuts(r.variantMatch,r,i[0],i[1]):(await this.parseUtil(r.variantMatch,r))?.flatMap(e=>this.stringifyUtil(e,r)).filter(y)},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o?.length)return this.cache.set(n,o),o;this.cache.set(n,null)}async generate(e,r={}){let{id:i,scope:a,preflights:o=!0,safelist:s=!0,minify:c=!1,extendedInfo:u=!1}=r,m=d(e)?await this.applyExtractors(e,i,u?new f:new Set):Array.isArray(e)?new Set(e):e;if(s){let e={generator:this,theme:this.config.theme};this.config.safelist.flatMap(t=>typeof t==`function`?t(e):t).forEach(e=>{let t=e.trim();t&&!m.has(t)&&m.add(t)})}let h=c?``:`
3
- `,g=new Set([t]),_=u?new Map:new Set,v=new Map,b={},x=Array.from(m).map(async e=>{if(_.has(e))return;let t=await this.parseToken(e);if(t!=null){_ instanceof Map?_.set(e,{data:t,count:p(m)?m.getCount(e):-1}):_.add(e);for(let e of t){let t=e[3]||``,n=e[4]?.layer;v.has(t)||v.set(t,[]),v.get(t).push(e),n&&g.add(n)}}});await Promise.all(x),await(async()=>{if(!o)return;let e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=n})=>{g.add(e),t.add(e)}),b=Object.fromEntries(await Promise.all(Array.from(t).map(async t=>[t,(await Promise.all(this.config.preflights.filter(e=>(e.layer||`preflights`)===t).map(async t=>await t.getCSS(e)))).filter(Boolean).join(h)])))})();let S=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),C=S(Array.from(g)),w={},T=this.config.outputToCssLayers,E=e=>{let t=e;return typeof T==`object`&&(t=T.cssLayerName?.(e)),t===null?null:t??e},D=(e=t)=>{if(w[e])return w[e];let n=Array.from(v).sort((e,t)=>(this.parentOrders.get(e[0])??0)-(this.parentOrders.get(t[0])??0)||e[0]?.localeCompare(t[0]||``)||0).map(([t,n])=>{let r=n.length,i=n.filter(t=>(t[4]?.layer||`default`)===e).sort((e,t)=>e[0]-t[0]||(e[4]?.sort||0)-(t[4]?.sort||0)||e[5]?.currentSelector?.localeCompare(t[5]?.currentSelector??``)||e[1]?.localeCompare(t[1]||``)||e[2]?.localeCompare(t[2]||``)||0).map(([,e,t,,n,,r])=>[[[(e&&_e(e,a))??``,n?.sort??0]],t,!!(r??n?.noMerge)]);if(!i.length)return;let o=i.reverse().map(([e,t,n],a)=>{if(!n&&this.config.mergeSelectors)for(let n=a+1;n<r;n++){let r=i[n];if(r&&!r[2]&&(e&&r[0]||e==null&&r[0]==null)&&r[1]===t)return e&&r[0]&&r[0].push(...e),null}let o=e?l(e.sort((e,t)=>e[1]-t[1]||e[0]?.localeCompare(t[0]||``)||0).map(e=>e[0]).filter(Boolean)):[];return o.length?`${o.join(`,${h}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(o)).reverse().join(h);if(!t)return s;let c=t.split(` $$ `);return`${c.join(`{`)}{${h}${s}${h}${`}`.repeat(c.length)}`}).filter(Boolean).join(h);o&&(n=[b[e],n].filter(Boolean).join(h));let r;T&&n&&(r=E(e),r!==null&&(n=`@layer ${r}{${h}${n}${h}}`));let i=c?``:`/* layer: ${e}${r&&r!==e?`, alias: ${r}`:``} */${h}`;return w[e]=n?i+n:``},O=(e=C,t)=>{let n=e.filter(e=>!t?.includes(e)),r=n.map(D).filter(Boolean);if(T){let e=n;typeof T==`object`&&T.allLayers&&(e=S(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(E).filter(y).join(`, `)};`)}return r.join(h)};return{get css(){return O()},layers:C,matched:_,getLayers:O,getLayer:D,setLayer:async(e,t)=>{let n=await t(D(e));return w[e]=n,n}}}async matchVariants(e,t){let n={rawSelector:e,theme:this.config.theme,generator:this},r=async t=>{let i=!0,[,,a,o]=t;for(;i;){i=!1;let s=t[1];for(let e of this.config.variants){if(!e.multiPass&&o.has(e))continue;let c=await e.match(s,n);if(c){if(d(c)){if(c===s)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(e.multiPass)throw Error(`multiPass can not be used together with array return variants`);let n=c.map(n=>{let r=n.matcher??s,i=[n,...a],c=new Set(o);return c.add(e),[t[0],r,i,c]});return(await Promise.all(n.map(e=>r(e)))).flat()}}t[1]=c.matcher??s,a.unshift(c),o.add(e),i=!0;break}}if(!i)break;if(a.length>500)throw Error(`Too many variants applied to "${e}"`)}return[t]};return await r([e,t||e,[],new Set])}applyVariants(e,t=e[4],n=e[1]){let r=t.slice().sort((e,t)=>(e.order||0)-(t.order||0)).reduceRight((e,t)=>n=>{let r=t.body?.(n.entries)||n.entries,i=Array.isArray(t.parent)?t.parent:[t.parent,void 0],a=t.selector?.(n.selector,r);return(t.handle??ye)({...n,entries:r,selector:a||n.selector,parent:i[0]||n.parent,parentOrder:i[1]||n.parentOrder,layer:t.layer||n.layer,sort:t.sort||n.sort},e)},e=>e)({prefix:``,selector:ve(n),pseudo:``,entries:e[2]}),{parent:i,parentOrder:a}=r;i!=null&&a!=null&&this.parentOrders.set(i,a);let o={selector:[r.prefix,r.selector,r.pseudo].join(``),entries:r.entries,parent:i,layer:r.layer,sort:r.sort,noMerge:r.noMerge};return this.config.postprocess.reduce((e,t)=>{let n=[];for(let r of e){let e=t(r);Array.isArray(e)?n.push(...e.filter(y)):n.push(e||r)}return n},[o])}constructCustomCSS(e,t,n){let r=C(t);return d(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{let r=`${e}{${D(t)}}`;return n?`${n}{${r}}`:r}).join(``)}async parseUtil(e,t,n=!1,r){let i=d(e)?await this.matchVariants(e):[e],a=async([e,i,a])=>{this.config.details&&(t.rules=t.rules??[]);let o={...t,variantHandlers:a},s=this.config.rulesStaticMap[i];if(s&&s[1]&&(n||!s[2]?.internal))return this.resolveCSSResult(e,s[1],s,o);for(let t of this.config.rulesDynamic){let[a,s,l]=t;if(l?.internal&&!n)continue;let u=i;if(l?.prefix){let e=c(l.prefix);if(r){let t=c(r);if(!e.some(e=>t.includes(e)))continue}else{let t=e.find(e=>i.startsWith(e));if(t==null)continue;u=i.slice(t.length)}}let d=u.match(a);if(!d)continue;let f=await s(d,o);if(!f)continue;if(typeof f!=`string`)if(Symbol.asyncIterator in f){let e=[];for await(let t of f)t&&e.push(t);f=e}else Symbol.iterator in f&&!Array.isArray(f)&&(f=Array.from(f).filter(y));let p=this.resolveCSSResult(e,f,t,o);if(p)return p}},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o.length)return o}stringifyUtil(e,t){if(!e)return;if(v(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?t:void 0,void 0]];let n=this.applyVariants(e),r=[];for(let i of n){let{selector:n,entries:a,parent:o,layer:s,sort:c,noMerge:l}=i,u=D(a);if(!u)continue;let{layer:d,sort:f,...p}=e[3]??{},m={...p,layer:s??d,sort:c??f};r.push([e[0],n,u,o,m,this.config.details?t:void 0,l])}return r}async expandShortcut(e,t,n=5){if(n===0)return;let r=this.config.details?e=>{t.shortcuts=t.shortcuts??[],t.shortcuts.push(e)}:b,i,a,o,s;for(let n of this.config.shortcuts){let o=e;if(n[2]?.prefix){let t=c(n[2].prefix).find(t=>e.startsWith(t));if(t==null)continue;o=e.slice(t.length)}if(te(n)){if(n[0]===o){i||=n[2],a=n[1],r(n);break}}else{let e=o.match(n[0]);if(e&&(a=n[1](e,t)),a){i||=n[2],r(n);break}}}if(a&&(o=l(c(a).filter(d).map(e=>ie(e.trim()).split(/\s+/g)).flat()),s=c(a).filter(e=>!d(e)).map(e=>({handles:[],value:e}))),!a){let r=d(e)?await this.matchVariants(e):[e];for(let e of r){let[r,i,a]=e;if(r!==i){let e=await this.expandShortcut(i,t,n-1);e&&(o=e[0].filter(d).map(e=>r.replace(i,e)),s=e[0].filter(e=>!d(e)).map(e=>({handles:[...e.handles,...a],value:e.value})))}}}if(!(!o?.length&&!s?.length))return[[await Promise.all(c(o).map(async e=>(await this.expandShortcut(e,t,n-1))?.[0]||[e])),s].flat(2).filter(e=>!!e),i]}async stringifyShortcuts(e,t,n,r={layer:this.config.shortcutsLayer}){let i=new S,a=(await Promise.all(l(n).map(async n=>{let i=d(n)?await this.parseUtil(n,t,!0,r.prefix):[[1/0,`{inline}`,C(n.value),void 0,n.handles]];return!i&&this.config.warn&&oe(`unmatched utility "${n}" in shortcut "${e[1]}"`),i||[]}))).flat(1).filter(Boolean).sort((e,t)=>e[0]-t[0]),[o,,s]=e,c=[];for(let e of a){if(v(e)){c.push([e[0],void 0,e[1],void 0,e[2],t,void 0]);continue}let n=Object.fromEntries(e[2])[L.shortcutsNoMerge],a=[...e[4],...n?[]:s];for(let{selector:t,entries:n,parent:s,sort:c,noMerge:l,layer:u}of this.applyVariants(e,a,o))i.getFallback(u??r.layer,new x).getFallback(t,s,[[],e[0]])[0].push([n,!!(l??e[3]?.noMerge),c??0])}return c.concat(i.flatMap((e,n)=>e.map(([e,i],a,o)=>{let s=(e,s,c)=>{let l=Math.max(...c.map(e=>e[1])),u=c.map(e=>e[0]);return(e?[u.flat(1)]:u).map(e=>{let c=D(e);if(c)return[i,a,c,o,{...r,noMerge:s,sort:l,layer:n},t,void 0]})};return[[e.filter(([,e])=>e).map(([e,,t])=>[e,t]),!0],[e.filter(([,e])=>!e).map(([e,,t])=>[e,t]),!1]].map(([e,t])=>[...s(!1,t,e.filter(([e])=>e.some(e=>e[0]===L.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==L.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(e=>Array.isArray(e)?e[0]:e).some(t=>typeof t==`function`?t(e):d(t)?t===e:t.test(e))}getBlocked(e){let t=this.config.blocklist.find(t=>{let n=Array.isArray(t)?t[0]:t;return typeof n==`function`?n(e):d(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};async function he(e,t){return await me.create(e,t)}var R=/\s\$\$\s+/g;function ge(e){return R.test(e)}function _e(e,t){return ge(e)?e.replace(R,t?` ${t} `:` `):t?`${t} ${e}`:e}var z=/^\[(.+?)(~?=)"(.*)"\]$/;function ve(e){return z.test(e)?e.replace(z,(e,t,n,r)=>`[${h(t)}${n}"${h(r)}"]`):`.${h(e)}`}function ye(e,t){return t(e)}function be(e){return e.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,`="`).replace(/(\s)+\/>/g,`/>`).trim()}var xe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Se=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function B(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(xe);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Se.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}var Ce=Object.freeze({left:0,top:0,width:16,height:16}),V=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),H=Object.freeze({...Ce,...V}),we=Object.freeze({...H,body:``,hidden:!1}),Te=Object.freeze({width:null,height:null}),U=Object.freeze({...Te,...V});function Ee(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function De(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Oe(e,t,n){let r=Ee(e);return De(r.defs,t+r.content+n)}var W=e=>e===`unset`||e===`undefined`||e===`none`;function ke(e,t){let n={...H,...e},r={...U,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Oe(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=B(d,c/l)):(u=o===`auto`?c:o,d=s===null?B(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{W(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var Ae=/\swidth\s*=\s*["']([\w.]+)["']/,je=/\sheight\s*=\s*["']([\w.]+)["']/,G=/<svg\s+/;function Me(e,t,n){let r=e.slice(0,e.indexOf(`>`)),i=(e,i)=>{let a=i.exec(r),o=a!=null,s=t[e];return!s&&!W(s)&&(typeof n==`number`?n>0&&(t[e]=B(a?.[1]??`1em`,n)):a&&(t[e]=a[1])),o};return[i(`width`,Ae),i(`height`,je)]}async function K(e,t,n,r,i,a){let{scale:o,addXmlNs:s=!1}=r??{},{additionalProps:c={},iconCustomizer:l}=r?.customizations??{},u=await i?.()??{};await l?.(t,n,u),Object.keys(c).forEach(e=>{let t=c[e];t!=null&&(u[e]=t)}),a?.(u);let[d,f]=Me(e,u,o);s&&(!e.includes(`xmlns=`)&&!u.xmlns&&(u.xmlns=`http://www.w3.org/2000/svg`),!e.includes(`xmlns:xlink=`)&&e.includes(`xlink:`)&&!u[`xmlns:xlink`]&&(u[`xmlns:xlink`]=`http://www.w3.org/1999/xlink`));let p=Object.keys(u).map(e=>e===`width`&&d||e===`height`&&f?null:`${e}="${u[e]}"`).filter(e=>e!=null);if(p.length&&(e=e.replace(G,`<svg ${p.join(` `)} `)),r){let{defaultStyle:t,defaultClass:n}=r;n&&!e.includes(`class=`)&&(e=e.replace(G,`<svg class="${n}" `)),t&&!e.includes(`style=`)&&(e=e.replace(G,`<svg style="${t}" `))}let m=r?.usedProps;return m&&(Object.keys(c).forEach(e=>{let t=u[e];t!=null&&(m[e]=t)}),u.width!==void 0&&u.width!==null&&(m.width=u.width),u.height!==void 0&&u.height!==null&&(m.height=u.height)),e}async function q(e,t,n,r){let i;try{if(typeof e==`function`)i=await e(n);else{let t=e[n];i=typeof t==`function`?await t():t}}catch(e){console.warn(`Failed to load custom icon "${n}" in "${t}":`,e);return}if(i){let e=i.indexOf(`<svg`);e>0&&(i=i.slice(e));let{transform:a}=r?.customizations??{};return i=typeof a==`function`?await a(i,t,n):i,i.startsWith(`<svg`)?await K(r?.customizations?.trimCustomSvg===!0?be(i):i,t,n,r,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}}function Ne(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function J(e,t){let n=Ne(e,t);for(let r in we)r in V?r in e&&!(r in n)&&(n[r]=V[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Pe(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function Y(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=J(r[e]||i[e],a)}return o(t),n.forEach(o),J(e,a)}function Fe(e,t){if(e.icons[t])return Y(e,t,[]);let n=Pe(e,[t])[t];return n?Y(e,t,n):null}async function X(e,t,n,r){let i,{customize:a}=r?.customizations??{};for(let o of n)if(i=Fe(e,o),i){let e={...U};typeof a==`function`&&(i=Object.assign({},i),e=a(e,i,`${t}:${o}`)??e);let{attributes:{width:n,height:s,...c},body:l}=ke(i,e),u=r?.scale;return await K(`<svg >${l}</svg>`,t,o,r,()=>({...c}),e=>{let t=(t,n)=>{let r=e[t],i;if(!W(r)){if(r)return;typeof u==`number`?u&&(i=B(n??`1em`,u)):i=n}i?e[t]=i:delete e[t]};t(`width`,n),t(`height`,s)})}}var Z=async(e,t,n)=>{let r=n?.customCollections?.[e];if(r)if(typeof r==`function`){let i;try{i=await r(t)}catch(n){console.warn(`Failed to load custom icon "${t}" in "${e}":`,n);return}if(i){if(typeof i==`string`)return await q(()=>i,e,t,n);if(`icons`in i){let r=[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)];return await X(i,e,r,n)}}}else return await q(r,e,t,n)};function Ie(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Q(e){let t=e.startsWith(`<svg>`)?e.replace(`<svg>`,`<svg >`):e;return!t.includes(` xmlns:xlink=`)&&t.includes(` xlink:`)&&(t=t.replace(`<svg `,`<svg xmlns:xlink="http://www.w3.org/1999/xlink" `)),t.includes(` xmlns=`)||(t=t.replace(`<svg `,`<svg xmlns="http://www.w3.org/2000/svg" `)),Ie(t)}function Le(){let e=typeof process<`u`&&process.stdout;return{isNode:e,isVSCode:e&&!!{}.VSCODE_CWD,isESLint:e&&!!{}.ESLINT}}var $=`academicons.akar-icons.ant-design.arcticons.basil.bi.bitcoin-icons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.geo.gg.gis.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wpf.zmdi.zondicons`.split(`.`),Re=3;function ze(e){return fe((t={})=>{let{scale:n=1,mode:r=`auto`,prefix:i=`i-`,warn:a=!1,iconifyCollectionsNames:o,collections:s,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:d,layer:f=`icons`,unit:p,processor:m}=t,h=Le(),g={addXmlNs:!0,scale:n,customCollections:s,autoInstall:u,cwd:d,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,r){await l.iconCustomizer?.(e,t,r),p&&(r.width||=`${n}${p}`,r.height||=`${n}${p}`)}}},_;return{name:`@unocss/preset-icons`,enforce:`pre`,options:t,layers:{icons:-30},api:{encodeSvgForCss:Q,parseIconWithLoader:Ve},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,s,c=r]=n;_||=await e(t);let l={},u=await Ve(s,_,{...g,usedProps:l},o);if(!u){a&&!h.isESLint&&oe(`failed to load icon "${i}"`);return}let d,f=`url("data:image/svg+xml;utf8,${Q(u.svg)}")`;return c===`auto`&&(c=u.svg.includes(`currentColor`)?`mask`:`bg`),d=c===`mask`?{"--un-icon":f,"-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`,...l}:{background:`${f} no-repeat`,"background-size":`100% 100%`,"background-color":`transparent`,...l},m?.(d,{...u,icon:u.name,mode:c}),d},{layer:f,prefix:i}]]}})}function Be(e,t,n=new Map){function r(r){if($.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(e,t,n)=>{let i=await Z(e,t,n);if(i)return i;let a=await r(e);return a&&(i=await X(a,e,[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)],n)),i}}async function Ve(e,t,n={},r=[]){let i=``,a=``,o,s=new Set([...$,...r,...Object.keys(n.customCollections||{})]);if(e.includes(`:`)){if([i,a]=e.split(`:`),!s.has(i))return;o=await t(i,a,n)}else{let r=e.split(/-/g);for(let e=Re;e>=1&&(i=r.slice(0,e).join(`-`),!(s.has(i)&&(a=r.slice(e).join(`-`),o=await t(i,a,n),o)));e--);}if(o)return{collection:i,name:a,svg:o}}async function He(t){let{$fetch:n}=await e(async()=>{let{$fetch:e}=await import(`../dist-jq34z2yz.js`).then(e=>e.n);return{$fetch:e}},__vite__mapDeps([0,1,2]),import.meta.url);return Be(n,t)}var Ue=ze(async e=>{let t=e?.customFetch,n=e?.cdn;return t&&n?Be(t,n):n?await He(n):Z});function We(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function Ge(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ke(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}var qe=[`Webkit`,`Moz`,`ms`];function Je(e){let t={};function n(n){let r=t[n];if(r)return r;let i=We(n);if(i!==`filter`&&i in e)return t[n]=Ke(i);i=Ge(i);for(let r=0;r<qe.length;r++){let a=`${qe[r]}${i}`;if(a in e)return t[n]=Ke(Ge(a))}return n}return({entries:e})=>e.forEach(e=>{e[0].startsWith(`--`)||(e[0]=n(e[0]))})}function Ye(e){return e.replace(/&amp;/g,`&`).replace(/&gt;/g,`>`).replace(/&lt;/g,`<`)}async function Xe(e={}){if(typeof window>`u`){console.warn(`@unocss/runtime been used in non-browser environment, skipped.`);return}let t=window,n=window.document,r=()=>n.documentElement,i=t.__unocss||{},a=Object.assign({},e,i.runtime),o=a.defaults||{},s=a.cloakAttribute??`un-cloak`;a.autoPrefix&&(o.postprocess=c(o.postprocess)).unshift(Je(n.createElement(`div`).style)),a.configResolved?.(i,o);let l=await he(i,o),u=t=>{let n=e.rootElement?.();if(n){n.appendChild(t);return}a.inject?a.inject(t):r().prepend(t)},f=()=>a.rootElement?a.rootElement():n.body,p=new Map,m=!0,h=new Set,g,_,v=[],y=()=>new Promise(e=>{v.push(e),_!=null&&clearTimeout(_),_=setTimeout(()=>S().then(()=>{let e=v;v=[],e.forEach(e=>e())}),0)});function b(e,t=!1){if(e.nodeType!==1)return;let n=e;n.hasAttribute(s)&&n.removeAttribute(s),t&&n.querySelectorAll(`[${s}]`).forEach(e=>{e.removeAttribute(s)})}function x(e,t){let r=p.get(e);if(!r)if(r=n.createElement(`style`),r.setAttribute(`data-unocss-runtime-layer`,e),p.set(e,r),t==null)u(r);else{let e=x(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):u(r)}return r}async function S(){let e=[...h],t=await l.generate(e);return t.layers.reduce((e,n)=>(x(n,e).innerHTML=t.getLayer(n)??``,n),void 0),e.filter(e=>!t.matched.has(e)).forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function C(e){let t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await y()}async function w(e=f()){let t=e&&e.outerHTML;t&&(await C(`${t} ${Ye(t)}`),b(r()),b(e,!0))}let T=new MutationObserver(e=>{m||e.forEach(async e=>{if(e.target.nodeType!==1)return;let t=e.target;for(let e of p)if(t===e[1])return;if(e.type===`childList`)e.addedNodes.forEach(async e=>{if(e.nodeType!==1)return;let t=e;g&&!g(t)||(await C(t.outerHTML),b(t))});else{if(g&&!g(t))return;if(e.attributeName!==s){let e=Array.from(t.attributes).map(e=>e.value?`${e.name}="${e.value}"`:e.name).join(` `);await C(`<${t.tagName.toLowerCase()} ${e}>`)}b(t)}})}),E=!1;function D(){if(E)return;let e=a.observer?.target?a.observer.target():f();e&&(T.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:a.observer?.attributeFilter}),E=!0)}function O(){a.bypassDefined&&Ze(l.blocked),w(),D()}function k(){n.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,O):O()}let A=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(e){d(e)||(e.forEach(e=>h.add(e)),e=``),await C(e)},extractAll:w,inspect(e){g=e},toggleObserver(e){m=e===void 0?!m:!!e,!E&&!m&&k()},update:S,presets:t.__unocss_runtime?.presets??{}};a.ready?.(A)!==!1&&(m=!1,k())}function Ze(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let n=document.styleSheets[t],r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(e=>e.selectorText?.split(/,/g)||[]).forEach(t=>{t&&(t=t.trim(),t.startsWith(`.`)&&(t=t.slice(1)),e.add(t))})}catch{continue}}return e}export{Ue as n,Xe as t};
@@ -1 +0,0 @@
1
- import{Ct as e,E as t,Qt as n,W as r,Y as i,c as a,dt as o,g as s,h as c,lt as l,m as u,tn as d,v as f,w as p}from"./vendor/json-editor-vue-jlmu1vk1.js";import"./ready-mmkdpbhg.js";import"./nuxt-h34yfo3l.js";import"./head-k6pu038r.js";import{_ as m}from"./state-b65zn1p8.js";import"./client-ea5fdhj9.js";import"./vendor/shiki-jnavg768.js";import"./storage-options-os0x8zby.js";import"./nuxt-link-lrojf3ui.js";import{t as h}from"./_plugin-vue_export-helper-myijwyyb.js";import"./nicon-j0r9gdjm.js";import"./nbutton-m0kqfedx.js";import{t as g}from"./ncard-qqqgbjy9.js";import{i as _}from"./state-routes-ovtjymzc.js";import{t as v}from"./npanel-grids-m4ogaoh1.js";import"./ntext-input-ozkk5xro.js";import{c as y,s as b}from"#entry";import"./client-lfu9nb62.js";import{t as x}from"./ncode-block-o9sq6td7.js";import"./composables-k2ak4j8d.js";import{t as S}from"./help-fab-hk76lwiw.js";import{t as C}from"./nnavbar-b0i34u17.js";var w={},T={class:`markdown-body`};function E(e,t){return r(),f(`div`,T,[...t[0]||=[c(`template`,null,[c(`div`,{class:`markdown-body`},[c(`h1`,null,`Virtual Files`),c(`p`,null,`Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.`)])],-1)]])}var D=h(w,[[`render`,E]]),O=[`onClick`],k={key:0,"h-full":``,"of-hidden":``,flex:`~ col`},A={border:`b base`,"flex-none":``,px4:``,py2:``,"text-sm":``,op75:``},j=t({__name:`virtual-files`,setup(t){let h=e(``),w=m(),T=_(),E=e();l(()=>{if(!T.value)return;let e=`/_vfs.json/${encodeURIComponent(T.value)}`;fetch(e,{headers:{accept:`application/json`}}).then(e=>e.json()).then(e=>E.value=e.current)});function j(e){if(w.value?.rootDir)return e.startsWith(w.value?.rootDir)?e.slice(w.value.rootDir.length):e}let M=u(()=>w.value?w.value.entries.filter(e=>!e.id.startsWith(`${w.value?.rootDir||``}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),N=u(()=>new b(M.value,{keys:[`id`,`path`]})),P=u(()=>h.value?N.value.search(h.value).map(e=>e.item):M.value);return(e,t)=>{let l=C,u=x,m=g,_=v,b=y,w=D,M=S;return r(),f(a,null,[p(b,{class:`virtual-files`,"storage-key":`tab-virtual-files`},{left:o(()=>[p(l,{search:h.value,"onUpdate:search":t[0]||=e=>h.value=e,"no-padding":``,p3:``},null,8,[`search`]),(r(!0),f(a,null,i(P.value,e=>(r(),f(a,{key:e.id},[c(`button`,{block:``,"w-full":``,"select-none":``,truncate:``,px2:``,py1:``,"text-start":``,"text-sm":``,"font-mono":``,class:n(e.id===E.value?.id?`text-primary n-bg-active`:`text-secondary hover:n-bg-hover`),onClick:t=>T.value=e.id},d(j(e.id)),11,O),t[1]||=c(`div`,{"x-divider":``},null,-1)],64))),128))]),right:o(()=>[E.value?.content?(r(),f(`div`,k,[c(`div`,A,[c(`code`,null,d(E.value.id),1)]),p(u,{"h-full":``,"of-auto":``,"text-sm":``,code:E.value.content,lang:`typescript`},null,8,[`code`])])):(r(),s(_,{key:1},{default:o(()=>[p(m,{px6:``,py2:``},{default:o(()=>[...t[2]||=[c(`span`,{op75:``},`Select a file to start`,-1)]]),_:1})]),_:1}))]),_:1}),p(M,null,{default:o(()=>[p(w)]),_:1})],64)}}});export{j as default};