@qwik.dev/devtools 0.1.2 → 0.2.1

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 (677) hide show
  1. package/dist/plugin/index.js +228 -12
  2. package/dist/ui/_virtual/index.qwik.mjs +5 -3
  3. package/dist/ui/components/DevtoolsContainer/DevtoolsContainer.qwik.mjs +6 -3
  4. package/dist/ui/components/Tab/Tab.qwik.mjs +1 -1
  5. package/dist/ui/components/TabContent/TabContent.qwik.mjs +5 -2
  6. package/dist/ui/components/ThemeToggle/{ThemeToggle.qwik.mjs → QwikThemeToggle.qwik.mjs} +6 -6
  7. package/dist/ui/components/Tree/Tree.qwik.mjs +37 -17
  8. package/dist/ui/components/Tree/filterVnode.qwik.mjs +4 -4
  9. package/dist/ui/devtools.qwik.mjs +103 -57
  10. package/dist/ui/features/CodeBreack/CodeBreack.qwik.mjs +57 -0
  11. package/dist/ui/features/CodeBreack/HtmlParser.qwik.mjs +155 -0
  12. package/dist/ui/features/CodeBreack/StateParser.qwik.mjs +168 -0
  13. package/dist/ui/features/Overview/Overview.qwik.mjs +4 -4
  14. package/dist/ui/features/Packages/Packages.qwik.mjs +48 -88
  15. package/dist/ui/features/Packages/components/DependencyCard/DependencyCard.qwik.mjs +170 -0
  16. package/dist/ui/features/Packages/components/PackageIcon/PackageIcon.qwik.mjs +27 -0
  17. package/dist/ui/features/RenderTree/RenderTree.qwik.mjs +152 -83
  18. package/dist/ui/features/RenderTree/data.qwik.mjs +2 -5
  19. package/dist/ui/features/RenderTree/formatTreeData.qwik.mjs +3 -0
  20. package/dist/ui/global.css.qwik.mjs +1 -1182
  21. package/dist/ui/lib-types/kit/src/types.d.ts +1 -0
  22. package/dist/ui/lib-types/ui/src/components/ThemeToggle/{ThemeToggle.d.ts → QwikThemeToggle.d.ts} +1 -1
  23. package/dist/ui/lib-types/ui/src/features/CodeBreack/CodeBreack.d.ts +1 -0
  24. package/dist/ui/lib-types/ui/src/features/CodeBreack/HtmlParser.d.ts +1 -0
  25. package/dist/ui/lib-types/ui/src/features/CodeBreack/StateParser.d.ts +1 -0
  26. package/dist/ui/lib-types/ui/src/features/Packages/Packages.d.ts +6 -1
  27. package/dist/ui/lib-types/ui/src/features/Packages/components/DependencyCard/DependencyCard.d.ts +4 -0
  28. package/dist/ui/lib-types/ui/src/features/Packages/components/DependencyCard/index.d.ts +1 -0
  29. package/dist/ui/lib-types/ui/src/features/Packages/components/PackageIcon/PackageIcon.d.ts +6 -0
  30. package/dist/ui/lib-types/ui/src/features/Packages/components/PackageIcon/index.d.ts +1 -0
  31. package/dist/ui/lib-types/ui/src/features/Packages/types.d.ts +11 -0
  32. package/dist/ui/lib-types/ui/src/features/RenderTree/data.d.ts +5 -0
  33. package/dist/ui/lib-types/ui/src/types/state.d.ts +3 -1
  34. package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__ → @qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.6._02d306fcbd9f637dd624291702bff9c0}/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +10 -10
  35. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs +1 -1
  36. package/package.json +15 -6
  37. package/dist/ui/_virtual/_commonjsHelpers.qwik.cjs +0 -6
  38. package/dist/ui/_virtual/client.qwik.cjs +0 -5
  39. package/dist/ui/_virtual/client.qwik.mjs +0 -5
  40. package/dist/ui/_virtual/client.qwik2.cjs +0 -4
  41. package/dist/ui/_virtual/client.qwik2.mjs +0 -4
  42. package/dist/ui/_virtual/index.qwik.cjs +0 -5
  43. package/dist/ui/_virtual/index.qwik2.cjs +0 -8
  44. package/dist/ui/_virtual/index.qwik2.mjs +0 -8
  45. package/dist/ui/_virtual/index.qwik3.cjs +0 -4
  46. package/dist/ui/_virtual/index.qwik3.mjs +0 -4
  47. package/dist/ui/_virtual/index.qwik4.cjs +0 -4
  48. package/dist/ui/_virtual/index.qwik4.mjs +0 -4
  49. package/dist/ui/_virtual/index.qwik5.cjs +0 -6
  50. package/dist/ui/_virtual/index.qwik5.mjs +0 -7
  51. package/dist/ui/_virtual/index.qwik6.cjs +0 -4
  52. package/dist/ui/_virtual/index.qwik6.mjs +0 -4
  53. package/dist/ui/_virtual/jsx-runtime.qwik.cjs +0 -5
  54. package/dist/ui/_virtual/jsx-runtime.qwik.mjs +0 -5
  55. package/dist/ui/_virtual/jsx-runtime.qwik2.cjs +0 -4
  56. package/dist/ui/_virtual/jsx-runtime.qwik2.mjs +0 -4
  57. package/dist/ui/_virtual/react-dom-server-legacy.node.development.qwik.cjs +0 -4
  58. package/dist/ui/_virtual/react-dom-server-legacy.node.development.qwik.mjs +0 -4
  59. package/dist/ui/_virtual/react-dom-server-legacy.node.production.min.qwik.cjs +0 -4
  60. package/dist/ui/_virtual/react-dom-server-legacy.node.production.min.qwik.mjs +0 -4
  61. package/dist/ui/_virtual/react-dom-server.node.development.qwik.cjs +0 -4
  62. package/dist/ui/_virtual/react-dom-server.node.development.qwik.mjs +0 -4
  63. package/dist/ui/_virtual/react-dom-server.node.production.min.qwik.cjs +0 -4
  64. package/dist/ui/_virtual/react-dom-server.node.production.min.qwik.mjs +0 -4
  65. package/dist/ui/_virtual/react-dom.development.qwik.cjs +0 -4
  66. package/dist/ui/_virtual/react-dom.development.qwik.mjs +0 -4
  67. package/dist/ui/_virtual/react-dom.production.min.qwik.cjs +0 -4
  68. package/dist/ui/_virtual/react-dom.production.min.qwik.mjs +0 -4
  69. package/dist/ui/_virtual/react-jsx-runtime.development.qwik.cjs +0 -4
  70. package/dist/ui/_virtual/react-jsx-runtime.development.qwik.mjs +0 -4
  71. package/dist/ui/_virtual/react-jsx-runtime.production.min.qwik.cjs +0 -4
  72. package/dist/ui/_virtual/react-jsx-runtime.production.min.qwik.mjs +0 -4
  73. package/dist/ui/_virtual/react.development.qwik.cjs +0 -4
  74. package/dist/ui/_virtual/react.development.qwik.mjs +0 -4
  75. package/dist/ui/_virtual/react.production.min.qwik.cjs +0 -4
  76. package/dist/ui/_virtual/react.production.min.qwik.mjs +0 -4
  77. package/dist/ui/_virtual/scheduler.development.qwik.cjs +0 -4
  78. package/dist/ui/_virtual/scheduler.development.qwik.mjs +0 -4
  79. package/dist/ui/_virtual/scheduler.production.min.qwik.cjs +0 -4
  80. package/dist/ui/_virtual/scheduler.production.min.qwik.mjs +0 -4
  81. package/dist/ui/_virtual/server.node.qwik.cjs +0 -5
  82. package/dist/ui/_virtual/server.node.qwik.mjs +0 -5
  83. package/dist/ui/_virtual/server.node.qwik2.cjs +0 -4
  84. package/dist/ui/_virtual/server.node.qwik2.mjs +0 -4
  85. package/dist/ui/components/DevtoolsButton/DevtoolsButton.qwik.cjs +0 -104
  86. package/dist/ui/components/DevtoolsContainer/DevtoolsContainer.qwik.cjs +0 -12
  87. package/dist/ui/components/DevtoolsPanel/DevtoolsPanel.qwik.cjs +0 -35
  88. package/dist/ui/components/Tab/Tab.qwik.cjs +0 -17
  89. package/dist/ui/components/TabContent/TabContent.qwik.cjs +0 -21
  90. package/dist/ui/components/TabTitle/TabTitle.qwik.cjs +0 -11
  91. package/dist/ui/components/ThemeToggle/ThemeToggle.qwik.cjs +0 -64
  92. package/dist/ui/components/ThemeToggle/themToggle.css.qwik.cjs +0 -3
  93. package/dist/ui/components/ThemeToggle/theme-script.qwik.cjs +0 -17
  94. package/dist/ui/components/Tree/Tree.qwik.cjs +0 -106
  95. package/dist/ui/components/Tree/filterVnode.qwik.cjs +0 -66
  96. package/dist/ui/components/Tree/type.qwik.cjs +0 -4
  97. package/dist/ui/components/Tree/vnode.qwik.cjs +0 -24
  98. package/dist/ui/components/router-head/theme-script.qwik.cjs +0 -4
  99. package/dist/ui/devtools.qwik.cjs +0 -279
  100. package/dist/ui/features/Assets/Assets.qwik.cjs +0 -60
  101. package/dist/ui/features/Components/Components.qwik.cjs +0 -108
  102. package/dist/ui/features/Components/Components.qwik.mjs +0 -108
  103. package/dist/ui/features/Components/components/Tree.qwik.cjs +0 -60
  104. package/dist/ui/features/Components/components/Tree.qwik.mjs +0 -60
  105. package/dist/ui/features/Components/styles.css.qwik.cjs +0 -3
  106. package/dist/ui/features/Components/styles.css.qwik.mjs +0 -4
  107. package/dist/ui/features/Overview/Overview.qwik.cjs +0 -187
  108. package/dist/ui/features/Packages/Packages.qwik.cjs +0 -95
  109. package/dist/ui/features/Packages/components/InstallButton/InstallButton.qwik.cjs +0 -36
  110. package/dist/ui/features/Packages/components/InstallButton/InstallButton.qwik.mjs +0 -36
  111. package/dist/ui/features/RenderTree/RenderTree.qwik.cjs +0 -269
  112. package/dist/ui/features/RenderTree/data.qwik.cjs +0 -28
  113. package/dist/ui/features/RenderTree/formatTreeData.qwik.cjs +0 -244
  114. package/dist/ui/features/RenderTree/transfromqseq.qwik.cjs +0 -91
  115. package/dist/ui/features/Routes/Routes.qwik.cjs +0 -63
  116. package/dist/ui/features/inspect/Inspect.qwik.cjs +0 -17
  117. package/dist/ui/features/inspect/constant.qwik.cjs +0 -4
  118. package/dist/ui/global.css.qwik.cjs +0 -1184
  119. package/dist/ui/hooks/useDebouncer.qwik.cjs +0 -13
  120. package/dist/ui/hooks/useDebouncer.qwik.mjs +0 -13
  121. package/dist/ui/index.qwik.cjs +0 -4
  122. package/dist/ui/lib-types/ui/src/features/Components/Components.d.ts +0 -19
  123. package/dist/ui/lib-types/ui/src/features/Components/components/Tree.d.ts +0 -1
  124. package/dist/ui/node_modules/.pnpm/@qwik.dev_react@2.0.0-beta.9_@qwik.dev_core@2.0.0-beta.9_prettier@3.3.3_vite@7.1.3_@typ_acdb3a1fab641cc17ee740fd3c684547/node_modules/@qwik.dev/react/lib/index.qwik.qwik.cjs +0 -269
  125. package/dist/ui/node_modules/.pnpm/@qwik.dev_react@2.0.0-beta.9_@qwik.dev_core@2.0.0-beta.9_prettier@3.3.3_vite@7.1.3_@typ_acdb3a1fab641cc17ee740fd3c684547/node_modules/@qwik.dev/react/lib/index.qwik.qwik.mjs +0 -269
  126. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/bs.qwik.qwik.cjs +0 -34
  127. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +0 -147
  128. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/lu.qwik.qwik.cjs +0 -32
  129. package/dist/ui/node_modules/.pnpm/@shikijs_core@3.8.1/node_modules/@shikijs/core/dist/index.qwik.cjs +0 -1947
  130. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/index.qwik.cjs +0 -439
  131. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.qwik.cjs +0 -10
  132. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/abap.qwik.cjs +0 -6
  133. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/actionscript-3.qwik.cjs +0 -6
  134. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ada.qwik.cjs +0 -6
  135. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-expression.qwik.cjs +0 -6
  136. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-html.qwik.cjs +0 -16
  137. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-style.qwik.cjs +0 -8
  138. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-template.qwik.cjs +0 -10
  139. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-let-declaration.qwik.cjs +0 -8
  140. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template-blocks.qwik.cjs +0 -10
  141. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template.qwik.cjs +0 -8
  142. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-ts.qwik.cjs +0 -18
  143. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apache.qwik.cjs +0 -6
  144. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apex.qwik.cjs +0 -6
  145. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apl.qwik.cjs +0 -16
  146. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/applescript.qwik.cjs +0 -6
  147. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ara.qwik.cjs +0 -6
  148. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asciidoc.qwik.cjs +0 -6
  149. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asm.qwik.cjs +0 -6
  150. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/astro.qwik.cjs +0 -18
  151. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/awk.qwik.cjs +0 -6
  152. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ballerina.qwik.cjs +0 -6
  153. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bat.qwik.cjs +0 -6
  154. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/beancount.qwik.cjs +0 -6
  155. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/berry.qwik.cjs +0 -6
  156. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bibtex.qwik.cjs +0 -6
  157. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bicep.qwik.cjs +0 -6
  158. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/blade.qwik.cjs +0 -20
  159. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bsl.qwik.cjs +0 -8
  160. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/c.qwik.cjs +0 -6
  161. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cadence.qwik.cjs +0 -6
  162. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cairo.qwik.cjs +0 -8
  163. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clarity.qwik.cjs +0 -6
  164. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clojure.qwik.cjs +0 -6
  165. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cmake.qwik.cjs +0 -6
  166. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cobol.qwik.cjs +0 -10
  167. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeowners.qwik.cjs +0 -6
  168. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeql.qwik.cjs +0 -6
  169. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coffee.qwik.cjs +0 -8
  170. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/common-lisp.qwik.cjs +0 -6
  171. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coq.qwik.cjs +0 -6
  172. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp-macro.qwik.cjs +0 -12
  173. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp.qwik.cjs +0 -14
  174. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/crystal.qwik.cjs +0 -18
  175. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csharp.qwik.cjs +0 -6
  176. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/css.qwik.cjs +0 -6
  177. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csv.qwik.cjs +0 -6
  178. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cue.qwik.cjs +0 -6
  179. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cypher.qwik.cjs +0 -6
  180. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/d.qwik.cjs +0 -6
  181. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dart.qwik.cjs +0 -6
  182. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dax.qwik.cjs +0 -6
  183. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/desktop.qwik.cjs +0 -6
  184. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/diff.qwik.cjs +0 -6
  185. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/docker.qwik.cjs +0 -6
  186. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dotenv.qwik.cjs +0 -6
  187. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dream-maker.qwik.cjs +0 -6
  188. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/edge.qwik.cjs +0 -12
  189. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elixir.qwik.cjs +0 -8
  190. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elm.qwik.cjs +0 -8
  191. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/emacs-lisp.qwik.cjs +0 -6
  192. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erb.qwik.cjs +0 -10
  193. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erlang.qwik.cjs +0 -8
  194. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-css.qwik.cjs +0 -12
  195. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-glsl.qwik.cjs +0 -12
  196. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-html.qwik.cjs +0 -12
  197. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-sql.qwik.cjs +0 -10
  198. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-xml.qwik.cjs +0 -8
  199. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fennel.qwik.cjs +0 -6
  200. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fish.qwik.cjs +0 -6
  201. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fluent.qwik.cjs +0 -6
  202. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-fixed-form.qwik.cjs +0 -8
  203. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-free-form.qwik.cjs +0 -6
  204. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fsharp.qwik.cjs +0 -8
  205. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdresource.qwik.cjs +0 -10
  206. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdscript.qwik.cjs +0 -6
  207. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdshader.qwik.cjs +0 -6
  208. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/genie.qwik.cjs +0 -6
  209. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gherkin.qwik.cjs +0 -6
  210. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-commit.qwik.cjs +0 -8
  211. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-rebase.qwik.cjs +0 -8
  212. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gleam.qwik.cjs +0 -6
  213. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-js.qwik.cjs +0 -14
  214. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-ts.qwik.cjs +0 -14
  215. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glsl.qwik.cjs +0 -8
  216. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gnuplot.qwik.cjs +0 -6
  217. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/go.qwik.cjs +0 -6
  218. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/graphql.qwik.cjs +0 -14
  219. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/groovy.qwik.cjs +0 -6
  220. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hack.qwik.cjs +0 -10
  221. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haml.qwik.cjs +0 -10
  222. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/handlebars.qwik.cjs +0 -14
  223. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haskell.qwik.cjs +0 -6
  224. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haxe.qwik.cjs +0 -6
  225. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hcl.qwik.cjs +0 -6
  226. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hjson.qwik.cjs +0 -6
  227. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hlsl.qwik.cjs +0 -6
  228. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html-derivative.qwik.cjs +0 -8
  229. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html.qwik.cjs +0 -10
  230. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/http.qwik.cjs +0 -14
  231. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hxml.qwik.cjs +0 -8
  232. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hy.qwik.cjs +0 -6
  233. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/imba.qwik.cjs +0 -6
  234. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ini.qwik.cjs +0 -6
  235. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/java.qwik.cjs +0 -6
  236. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/javascript.qwik.cjs +0 -6
  237. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja-html.qwik.cjs +0 -8
  238. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja.qwik.cjs +0 -8
  239. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jison.qwik.cjs +0 -8
  240. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json.qwik.cjs +0 -6
  241. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json5.qwik.cjs +0 -6
  242. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonc.qwik.cjs +0 -6
  243. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonl.qwik.cjs +0 -6
  244. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonnet.qwik.cjs +0 -6
  245. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jssm.qwik.cjs +0 -6
  246. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsx.qwik.cjs +0 -6
  247. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/julia.qwik.cjs +0 -16
  248. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kotlin.qwik.cjs +0 -6
  249. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kusto.qwik.cjs +0 -6
  250. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/latex.qwik.cjs +0 -8
  251. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lean.qwik.cjs +0 -6
  252. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/less.qwik.cjs +0 -6
  253. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/liquid.qwik.cjs +0 -14
  254. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/llvm.qwik.cjs +0 -6
  255. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/log.qwik.cjs +0 -6
  256. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/logo.qwik.cjs +0 -6
  257. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lua.qwik.cjs +0 -8
  258. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/luau.qwik.cjs +0 -6
  259. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/make.qwik.cjs +0 -6
  260. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown-vue.qwik.cjs +0 -6
  261. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown.qwik.cjs +0 -6
  262. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/marko.qwik.cjs +0 -14
  263. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/matlab.qwik.cjs +0 -6
  264. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdc.qwik.cjs +0 -12
  265. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdx.qwik.cjs +0 -6
  266. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mermaid.qwik.cjs +0 -6
  267. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mipsasm.qwik.cjs +0 -6
  268. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mojo.qwik.cjs +0 -6
  269. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/move.qwik.cjs +0 -6
  270. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/narrat.qwik.cjs +0 -6
  271. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nextflow.qwik.cjs +0 -6
  272. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nginx.qwik.cjs +0 -8
  273. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nim.qwik.cjs +0 -20
  274. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nix.qwik.cjs +0 -6
  275. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nushell.qwik.cjs +0 -6
  276. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-c.qwik.cjs +0 -6
  277. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-cpp.qwik.cjs +0 -6
  278. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ocaml.qwik.cjs +0 -6
  279. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pascal.qwik.cjs +0 -6
  280. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/perl.qwik.cjs +0 -16
  281. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/php.qwik.cjs +0 -18
  282. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/plsql.qwik.cjs +0 -6
  283. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/po.qwik.cjs +0 -6
  284. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/polar.qwik.cjs +0 -6
  285. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/postcss.qwik.cjs +0 -6
  286. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powerquery.qwik.cjs +0 -6
  287. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powershell.qwik.cjs +0 -6
  288. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prisma.qwik.cjs +0 -6
  289. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prolog.qwik.cjs +0 -6
  290. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/proto.qwik.cjs +0 -6
  291. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pug.qwik.cjs +0 -12
  292. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/puppet.qwik.cjs +0 -6
  293. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/purescript.qwik.cjs +0 -6
  294. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/python.qwik.cjs +0 -6
  295. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qml.qwik.cjs +0 -8
  296. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qmldir.qwik.cjs +0 -6
  297. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qss.qwik.cjs +0 -6
  298. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/r.qwik.cjs +0 -6
  299. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/racket.qwik.cjs +0 -6
  300. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/raku.qwik.cjs +0 -6
  301. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/razor.qwik.cjs +0 -10
  302. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/reg.qwik.cjs +0 -6
  303. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/regexp.qwik.cjs +0 -6
  304. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rel.qwik.cjs +0 -6
  305. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/riscv.qwik.cjs +0 -6
  306. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rst.qwik.cjs +0 -22
  307. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ruby.qwik.cjs +0 -30
  308. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rust.qwik.cjs +0 -6
  309. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sas.qwik.cjs +0 -8
  310. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sass.qwik.cjs +0 -6
  311. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scala.qwik.cjs +0 -6
  312. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scheme.qwik.cjs +0 -6
  313. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scss.qwik.cjs +0 -8
  314. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sdbl.qwik.cjs +0 -6
  315. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shaderlab.qwik.cjs +0 -8
  316. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellscript.qwik.cjs +0 -6
  317. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellsession.qwik.cjs +0 -8
  318. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/smalltalk.qwik.cjs +0 -6
  319. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/solidity.qwik.cjs +0 -6
  320. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/soy.qwik.cjs +0 -8
  321. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sparql.qwik.cjs +0 -8
  322. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/splunk.qwik.cjs +0 -6
  323. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sql.qwik.cjs +0 -6
  324. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ssh-config.qwik.cjs +0 -6
  325. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stata.qwik.cjs +0 -8
  326. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stylus.qwik.cjs +0 -6
  327. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/svelte.qwik.cjs +0 -14
  328. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/swift.qwik.cjs +0 -6
  329. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/system-verilog.qwik.cjs +0 -6
  330. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/systemd.qwik.cjs +0 -6
  331. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/talonscript.qwik.cjs +0 -6
  332. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tasl.qwik.cjs +0 -6
  333. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tcl.qwik.cjs +0 -6
  334. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/templ.qwik.cjs +0 -12
  335. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/terraform.qwik.cjs +0 -6
  336. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tex.qwik.cjs +0 -8
  337. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/toml.qwik.cjs +0 -6
  338. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ts-tags.qwik.cjs +0 -18
  339. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsv.qwik.cjs +0 -6
  340. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsx.qwik.cjs +0 -6
  341. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/turtle.qwik.cjs +0 -6
  342. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/twig.qwik.cjs +0 -18
  343. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typescript.qwik.cjs +0 -6
  344. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typespec.qwik.cjs +0 -6
  345. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typst.qwik.cjs +0 -6
  346. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/v.qwik.cjs +0 -6
  347. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vala.qwik.cjs +0 -6
  348. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vb.qwik.cjs +0 -6
  349. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/verilog.qwik.cjs +0 -6
  350. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vhdl.qwik.cjs +0 -6
  351. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/viml.qwik.cjs +0 -6
  352. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-directives.qwik.cjs +0 -6
  353. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-html.qwik.cjs +0 -10
  354. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-interpolations.qwik.cjs +0 -6
  355. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.qwik.cjs +0 -8
  356. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-vine.qwik.cjs +0 -20
  357. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue.qwik.cjs +0 -26
  358. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vyper.qwik.cjs +0 -6
  359. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wasm.qwik.cjs +0 -6
  360. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wenyan.qwik.cjs +0 -6
  361. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wgsl.qwik.cjs +0 -6
  362. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wikitext.qwik.cjs +0 -6
  363. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wit.qwik.cjs +0 -6
  364. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wolfram.qwik.cjs +0 -6
  365. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xml.qwik.cjs +0 -8
  366. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xsl.qwik.cjs +0 -8
  367. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/yaml.qwik.cjs +0 -6
  368. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zenscript.qwik.cjs +0 -6
  369. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zig.qwik.cjs +0 -6
  370. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/andromeeda.qwik.cjs +0 -3
  371. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/aurora-x.qwik.cjs +0 -3
  372. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/ayu-dark.qwik.cjs +0 -3
  373. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-frappe.qwik.cjs +0 -3
  374. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-latte.qwik.cjs +0 -3
  375. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-macchiato.qwik.cjs +0 -3
  376. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-mocha.qwik.cjs +0 -3
  377. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dark-plus.qwik.cjs +0 -3
  378. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula-soft.qwik.cjs +0 -3
  379. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula.qwik.cjs +0 -3
  380. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-dark.qwik.cjs +0 -3
  381. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-light.qwik.cjs +0 -3
  382. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-default.qwik.cjs +0 -3
  383. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-dimmed.qwik.cjs +0 -3
  384. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-high-contrast.qwik.cjs +0 -3
  385. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark.qwik.cjs +0 -3
  386. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-default.qwik.cjs +0 -3
  387. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-high-contrast.qwik.cjs +0 -3
  388. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light.qwik.cjs +0 -3
  389. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.qwik.cjs +0 -3
  390. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.qwik.cjs +0 -3
  391. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.qwik.cjs +0 -3
  392. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-hard.qwik.cjs +0 -3
  393. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-medium.qwik.cjs +0 -3
  394. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-soft.qwik.cjs +0 -3
  395. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/houston.qwik.cjs +0 -3
  396. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-dragon.qwik.cjs +0 -3
  397. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-lotus.qwik.cjs +0 -3
  398. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-wave.qwik.cjs +0 -3
  399. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/laserwave.qwik.cjs +0 -3
  400. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/light-plus.qwik.cjs +0 -3
  401. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-darker.qwik.cjs +0 -3
  402. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-lighter.qwik.cjs +0 -3
  403. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-ocean.qwik.cjs +0 -3
  404. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-palenight.qwik.cjs +0 -3
  405. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme.qwik.cjs +0 -3
  406. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-dark.qwik.cjs +0 -3
  407. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-light.qwik.cjs +0 -3
  408. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/monokai.qwik.cjs +0 -3
  409. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/night-owl.qwik.cjs +0 -3
  410. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/nord.qwik.cjs +0 -3
  411. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-dark-pro.qwik.cjs +0 -3
  412. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-light.qwik.cjs +0 -3
  413. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/plastic.qwik.cjs +0 -3
  414. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/poimandres.qwik.cjs +0 -3
  415. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/red.qwik.cjs +0 -3
  416. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-dawn.qwik.cjs +0 -3
  417. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-moon.qwik.cjs +0 -3
  418. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine.qwik.cjs +0 -3
  419. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-dark.qwik.cjs +0 -3
  420. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-ochin.qwik.cjs +0 -3
  421. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/snazzy-light.qwik.cjs +0 -3
  422. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-dark.qwik.cjs +0 -3
  423. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-light.qwik.cjs +0 -3
  424. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/synthwave-84.qwik.cjs +0 -3
  425. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/tokyo-night.qwik.cjs +0 -3
  426. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vesper.qwik.cjs +0 -3
  427. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-black.qwik.cjs +0 -3
  428. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-dark.qwik.cjs +0 -3
  429. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-light.qwik.cjs +0 -3
  430. package/dist/ui/node_modules/.pnpm/@shikijs_types@3.8.1/node_modules/@shikijs/types/dist/index.qwik.cjs +0 -9
  431. package/dist/ui/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.qwik.cjs +0 -3119
  432. package/dist/ui/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.cjs +0 -61
  433. package/dist/ui/node_modules/.pnpm/birpc@0.2.19/node_modules/birpc/dist/index.qwik.cjs +0 -128
  434. package/dist/ui/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.cjs +0 -155
  435. package/dist/ui/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.qwik.cjs +0 -16
  436. package/dist/ui/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.qwik.cjs +0 -257
  437. package/dist/ui/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.qwik.cjs +0 -111
  438. package/dist/ui/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.qwik.cjs +0 -10
  439. package/dist/ui/node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.qwik.cjs +0 -36
  440. package/dist/ui/node_modules/.pnpm/dree@5.1.5/node_modules/dree/bundled/lib/esm/index.esm.qwik.cjs +0 -12
  441. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.qwik.cjs +0 -23
  442. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.qwik.cjs +0 -6
  443. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.qwik.cjs +0 -136
  444. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.qwik.cjs +0 -25
  445. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.qwik.cjs +0 -7
  446. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.qwik.cjs +0 -6
  447. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.qwik.cjs +0 -13
  448. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.cjs +0 -61
  449. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.qwik.cjs +0 -91
  450. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.qwik.cjs +0 -10
  451. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.qwik.cjs +0 -49
  452. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.qwik.cjs +0 -23
  453. package/dist/ui/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.qwik.cjs +0 -10
  454. package/dist/ui/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.qwik.cjs +0 -25
  455. package/dist/ui/node_modules/.pnpm/is-what@4.1.16/node_modules/is-what/dist/index.qwik.cjs +0 -17
  456. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.qwik.cjs +0 -12
  457. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.cjs +0 -513
  458. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.qwik.cjs +0 -110
  459. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.qwik.cjs +0 -6
  460. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs +0 -738
  461. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.qwik.cjs +0 -6
  462. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.qwik.cjs +0 -13
  463. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.qwik.cjs +0 -61
  464. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.qwik.cjs +0 -40
  465. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.qwik.cjs +0 -368
  466. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.qwik.cjs +0 -6
  467. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.qwik.cjs +0 -566
  468. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.qwik.cjs +0 -7
  469. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.qwik.cjs +0 -6
  470. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.qwik.cjs +0 -25
  471. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.qwik.cjs +0 -41
  472. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.qwik.cjs +0 -29
  473. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.qwik.cjs +0 -13
  474. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.qwik.cjs +0 -25
  475. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.qwik.cjs +0 -20
  476. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.qwik.cjs +0 -19
  477. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.qwik.cjs +0 -11
  478. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.qwik.cjs +0 -11
  479. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/EventEmitter.qwik.cjs +0 -162
  480. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/EventEmitter.qwik.mjs +0 -162
  481. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/ControlledTreeEnvironment.qwik.cjs +0 -48
  482. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/ControlledTreeEnvironment.qwik.mjs +0 -48
  483. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/InteractionManagerProvider.qwik.cjs +0 -29
  484. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/InteractionManagerProvider.qwik.mjs +0 -29
  485. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/buildInteractionMode.qwik.cjs +0 -19
  486. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/buildInteractionMode.qwik.mjs +0 -19
  487. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/layoutUtils.qwik.cjs +0 -17
  488. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/layoutUtils.qwik.mjs +0 -17
  489. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/mergeInteractionManagers.qwik.cjs +0 -22
  490. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/mergeInteractionManagers.qwik.mjs +0 -22
  491. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useControlledTreeEnvironmentProps.qwik.cjs +0 -127
  492. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useControlledTreeEnvironmentProps.qwik.mjs +0 -127
  493. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useLinearItems.qwik.cjs +0 -7
  494. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useLinearItems.qwik.mjs +0 -7
  495. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DragAndDropProvider.qwik.cjs +0 -231
  496. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DragAndDropProvider.qwik.mjs +0 -231
  497. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DraggingPositionEvaluation.qwik.cjs +0 -179
  498. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DraggingPositionEvaluation.qwik.mjs +0 -179
  499. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useCanDropAt.qwik.cjs +0 -30
  500. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useCanDropAt.qwik.mjs +0 -30
  501. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useDraggingPosition.qwik.cjs +0 -87
  502. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useDraggingPosition.qwik.mjs +0 -87
  503. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetParentOfLinearItem.qwik.cjs +0 -21
  504. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetParentOfLinearItem.qwik.mjs +0 -21
  505. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetViableDragPositions.qwik.cjs +0 -90
  506. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetViableDragPositions.qwik.mjs +0 -90
  507. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/EnvironmentActionsProvider.qwik.cjs +0 -321
  508. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/EnvironmentActionsProvider.qwik.mjs +0 -321
  509. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/useCreatedEnvironmentRef.qwik.cjs +0 -24
  510. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/useCreatedEnvironmentRef.qwik.mjs +0 -24
  511. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/defaultKeyboardBindings.qwik.cjs +0 -18
  512. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/defaultKeyboardBindings.qwik.mjs +0 -18
  513. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useHotkey.qwik.cjs +0 -76
  514. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useHotkey.qwik.mjs +0 -76
  515. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKey.qwik.cjs +0 -15
  516. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKey.qwik.mjs +0 -15
  517. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKeyboardBindings.qwik.cjs +0 -26
  518. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKeyboardBindings.qwik.mjs +0 -26
  519. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickArrowToExpandInteractionManager.qwik.cjs +0 -49
  520. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickArrowToExpandInteractionManager.qwik.mjs +0 -49
  521. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickItemToExpandInteractionManager.qwik.cjs +0 -52
  522. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickItemToExpandInteractionManager.qwik.mjs +0 -52
  523. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/DoubleClickItemToExpandInteractionManager.qwik.cjs +0 -56
  524. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/DoubleClickItemToExpandInteractionManager.qwik.mjs +0 -56
  525. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/isControlKey.qwik.cjs +0 -6
  526. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/isControlKey.qwik.mjs +0 -6
  527. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/createDefaultRenderers.qwik.cjs +0 -136
  528. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/createDefaultRenderers.qwik.mjs +0 -136
  529. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/useRenderers.qwik.cjs +0 -42
  530. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/useRenderers.qwik.mjs +0 -42
  531. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/SearchInput.qwik.cjs +0 -69
  532. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/SearchInput.qwik.mjs +0 -69
  533. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/defaultMatcher.qwik.cjs +0 -6
  534. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/defaultMatcher.qwik.mjs +0 -6
  535. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/useSearchMatchFocus.qwik.cjs +0 -37
  536. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/useSearchMatchFocus.qwik.mjs +0 -37
  537. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/DragBetweenLine.qwik.cjs +0 -31
  538. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/DragBetweenLine.qwik.mjs +0 -31
  539. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/LiveDescription.qwik.cjs +0 -52
  540. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/LiveDescription.qwik.mjs +0 -52
  541. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/MaybeLiveDescription.qwik.cjs +0 -14
  542. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/MaybeLiveDescription.qwik.mjs +0 -14
  543. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/Tree.qwik.cjs +0 -87
  544. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/Tree.qwik.mjs +0 -87
  545. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/TreeManager.qwik.cjs +0 -62
  546. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/TreeManager.qwik.mjs +0 -62
  547. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/defaultLiveDescriptors.qwik.cjs +0 -10
  548. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/defaultLiveDescriptors.qwik.mjs +0 -10
  549. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/getItemsLinearly.qwik.cjs +0 -19
  550. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/getItemsLinearly.qwik.mjs +0 -19
  551. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/resolveLiveDescriptor.qwik.cjs +0 -41
  552. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/resolveLiveDescriptor.qwik.mjs +0 -41
  553. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/scrollIntoView.qwik.cjs +0 -19
  554. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/scrollIntoView.qwik.mjs +0 -19
  555. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useCreatedTreeInformation.qwik.cjs +0 -37
  556. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useCreatedTreeInformation.qwik.mjs +0 -37
  557. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useFocusWithin.qwik.cjs +0 -31
  558. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useFocusWithin.qwik.mjs +0 -31
  559. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useMoveFocusToIndex.qwik.cjs +0 -25
  560. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useMoveFocusToIndex.qwik.mjs +0 -25
  561. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useSelectUpTo.qwik.cjs +0 -82
  562. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useSelectUpTo.qwik.mjs +0 -82
  563. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useTreeKeyboardBindings.qwik.cjs +0 -164
  564. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useTreeKeyboardBindings.qwik.mjs +0 -164
  565. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useViewState.qwik.cjs +0 -11
  566. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useViewState.qwik.mjs +0 -11
  567. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/TreeActionsProvider.qwik.cjs +0 -87
  568. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/TreeActionsProvider.qwik.mjs +0 -87
  569. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/useCreatedTreeRef.qwik.cjs +0 -26
  570. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/useCreatedTreeRef.qwik.mjs +0 -26
  571. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemChildren.qwik.cjs +0 -27
  572. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemChildren.qwik.mjs +0 -27
  573. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemElement.qwik.cjs +0 -53
  574. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemElement.qwik.mjs +0 -53
  575. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemRenamingInput.qwik.cjs +0 -78
  576. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemRenamingInput.qwik.mjs +0 -78
  577. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/useTreeItemRenderContext.qwik.cjs +0 -200
  578. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/useTreeItemRenderContext.qwik.mjs +0 -200
  579. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/types.qwik.cjs +0 -8
  580. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/types.qwik.mjs +0 -9
  581. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/CompleteTreeDataProvider.qwik.cjs +0 -145
  582. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/CompleteTreeDataProvider.qwik.mjs +0 -145
  583. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/StaticTreeDataProvider.qwik.cjs +0 -152
  584. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/StaticTreeDataProvider.qwik.mjs +0 -152
  585. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/UncontrolledTreeEnvironment.qwik.cjs +0 -320
  586. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/UncontrolledTreeEnvironment.qwik.mjs +0 -320
  587. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useCallSoon.qwik.cjs +0 -29
  588. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useCallSoon.qwik.mjs +0 -29
  589. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useGetOriginalItemOrder.qwik.cjs +0 -27
  590. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useGetOriginalItemOrder.qwik.mjs +0 -27
  591. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useHtmlElementEventListener.qwik.cjs +0 -18
  592. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useHtmlElementEventListener.qwik.mjs +0 -18
  593. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useIsMounted.qwik.cjs +0 -14
  594. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useIsMounted.qwik.mjs +0 -14
  595. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useRefCopy.qwik.cjs +0 -9
  596. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useRefCopy.qwik.mjs +0 -9
  597. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useSideEffect.qwik.cjs +0 -30
  598. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useSideEffect.qwik.mjs +0 -30
  599. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useStableHandler.qwik.cjs +0 -17
  600. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useStableHandler.qwik.mjs +0 -17
  601. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/utils.qwik.cjs +0 -27
  602. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/utils.qwik.mjs +0 -27
  603. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/waitFor.qwik.cjs +0 -30
  604. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/waitFor.qwik.mjs +0 -30
  605. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/style-modern.css.qwik.cjs +0 -3
  606. package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/style-modern.css.qwik.mjs +0 -4
  607. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.qwik.cjs +0 -5418
  608. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.qwik.mjs +0 -5418
  609. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.qwik.cjs +0 -1531
  610. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.qwik.mjs +0 -1531
  611. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.development.qwik.cjs +0 -5432
  612. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.development.qwik.mjs +0 -5432
  613. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.production.min.qwik.cjs +0 -1595
  614. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.production.min.qwik.mjs +0 -1595
  615. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.qwik.cjs +0 -21128
  616. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.qwik.mjs +0 -21128
  617. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.qwik.cjs +0 -6420
  618. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.qwik.mjs +0 -6420
  619. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.qwik.cjs +0 -34
  620. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.qwik.mjs +0 -34
  621. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.qwik.cjs +0 -31
  622. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.qwik.mjs +0 -31
  623. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/server.node.qwik.cjs +0 -28
  624. package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/server.node.qwik.mjs +0 -28
  625. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.qwik.cjs +0 -875
  626. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.qwik.mjs +0 -875
  627. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.qwik.cjs +0 -33
  628. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.qwik.mjs +0 -33
  629. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.qwik.cjs +0 -1887
  630. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.qwik.mjs +0 -1887
  631. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.qwik.cjs +0 -265
  632. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.qwik.mjs +0 -265
  633. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/index.qwik.cjs +0 -17
  634. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/index.qwik.mjs +0 -17
  635. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.qwik.cjs +0 -17
  636. package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.qwik.mjs +0 -17
  637. package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.qwik.cjs +0 -453
  638. package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.qwik.mjs +0 -453
  639. package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.qwik.cjs +0 -248
  640. package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.qwik.mjs +0 -248
  641. package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.qwik.cjs +0 -17
  642. package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.qwik.mjs +0 -17
  643. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/bundle-full.qwik.cjs +0 -45
  644. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/langs.qwik.cjs +0 -1341
  645. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/themes.qwik.cjs +0 -368
  646. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/wasm.qwik.cjs +0 -6
  647. package/dist/ui/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.qwik.cjs +0 -6
  648. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.qwik.cjs +0 -13
  649. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.qwik.cjs +0 -51
  650. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.qwik.cjs +0 -8
  651. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.qwik.cjs +0 -25
  652. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.qwik.cjs +0 -8
  653. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.qwik.cjs +0 -8
  654. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.qwik.cjs +0 -27
  655. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.qwik.cjs +0 -120
  656. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.qwik.cjs +0 -23
  657. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.qwik.cjs +0 -18
  658. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.qwik.cjs +0 -23
  659. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.qwik.cjs +0 -91
  660. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.qwik.cjs +0 -51
  661. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.qwik.cjs +0 -30
  662. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.cjs +0 -148
  663. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.qwik.cjs +0 -28
  664. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.cjs +0 -203
  665. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.qwik.cjs +0 -47
  666. package/dist/ui/node_modules/.pnpm/vite-hot-client@2.0.4_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0_/node_modules/vite-hot-client/dist/index.qwik.cjs +0 -35
  667. package/dist/ui/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.qwik.cjs +0 -22
  668. package/dist/ui/packages/kit/src/client.qwik.cjs +0 -18
  669. package/dist/ui/packages/kit/src/constants.qwik.cjs +0 -22
  670. package/dist/ui/packages/kit/src/context.qwik.cjs +0 -20
  671. package/dist/ui/packages/kit/src/globals.qwik.cjs +0 -6
  672. package/dist/ui/packages/kit/src/shared.qwik.cjs +0 -4
  673. package/dist/ui/utils/location.qwik.cjs +0 -10
  674. package/dist/ui/utils/type.qwik.cjs +0 -14
  675. /package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__ → @qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.6._02d306fcbd9f637dd624291702bff9c0}/node_modules/@qwikest/icons/lib/bs.qwik.qwik.mjs +0 -0
  676. /package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__ → @qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.6._02d306fcbd9f637dd624291702bff9c0}/node_modules/@qwikest/icons/lib/lu.qwik.qwik.mjs +0 -0
  677. /package/dist/ui/node_modules/.pnpm/{vite-hot-client@2.0.4_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0_ → vite-hot-client@2.0.4_vite@7.1.3_@types_node@20.14.11_jiti@2.6.1_lightningcss@1.30.1_tsx@4.19.2_yaml@2.8.1_}/node_modules/vite-hot-client/dist/index.qwik.mjs +0 -0
@@ -1,1947 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
6
- const index = require("../../../../../@shikijs_types@3.8.1/node_modules/@shikijs/types/dist/index.qwik.cjs");
7
- const index$2 = require("../../../../../@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.qwik.cjs");
8
- const index$1 = require("../../../../../hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.cjs");
9
- function resolveColorReplacements(theme, options) {
10
- const replacements = typeof theme === "string" ? {} : { ...theme.colorReplacements };
11
- const themeName = typeof theme === "string" ? theme : theme.name;
12
- for (const [key, value] of Object.entries(options?.colorReplacements || {})) {
13
- if (typeof value === "string")
14
- replacements[key] = value;
15
- else if (key === themeName)
16
- Object.assign(replacements, value);
17
- }
18
- return replacements;
19
- }
20
- function applyColorReplacements(color, replacements) {
21
- if (!color)
22
- return color;
23
- return replacements?.[color?.toLowerCase()] || color;
24
- }
25
- function toArray(x) {
26
- return Array.isArray(x) ? x : [x];
27
- }
28
- async function normalizeGetter(p) {
29
- return Promise.resolve(typeof p === "function" ? p() : p).then((r) => r.default || r);
30
- }
31
- function isPlainLang(lang) {
32
- return !lang || ["plaintext", "txt", "text", "plain"].includes(lang);
33
- }
34
- function isSpecialLang(lang) {
35
- return lang === "ansi" || isPlainLang(lang);
36
- }
37
- function isNoneTheme(theme) {
38
- return theme === "none";
39
- }
40
- function isSpecialTheme(theme) {
41
- return isNoneTheme(theme);
42
- }
43
- function addClassToHast(node, className) {
44
- var _a;
45
- if (!className)
46
- return node;
47
- node.properties || (node.properties = {});
48
- (_a = node.properties).class || (_a.class = []);
49
- if (typeof node.properties.class === "string")
50
- node.properties.class = node.properties.class.split(/\s+/g);
51
- if (!Array.isArray(node.properties.class))
52
- node.properties.class = [];
53
- const targets = Array.isArray(className) ? className : className.split(/\s+/g);
54
- for (const c of targets) {
55
- if (c && !node.properties.class.includes(c))
56
- node.properties.class.push(c);
57
- }
58
- return node;
59
- }
60
- function splitLines(code, preserveEnding = false) {
61
- const parts = code.split(/(\r?\n)/g);
62
- let index2 = 0;
63
- const lines = [];
64
- for (let i = 0; i < parts.length; i += 2) {
65
- const line = preserveEnding ? parts[i] + (parts[i + 1] || "") : parts[i];
66
- lines.push([line, index2]);
67
- index2 += parts[i].length;
68
- index2 += parts[i + 1]?.length || 0;
69
- }
70
- return lines;
71
- }
72
- function createPositionConverter(code) {
73
- const lines = splitLines(code, true).map(([line]) => line);
74
- function indexToPos(index2) {
75
- if (index2 === code.length) {
76
- return {
77
- line: lines.length - 1,
78
- character: lines[lines.length - 1].length
79
- };
80
- }
81
- let character = index2;
82
- let line = 0;
83
- for (const lineText of lines) {
84
- if (character < lineText.length)
85
- break;
86
- character -= lineText.length;
87
- line++;
88
- }
89
- return { line, character };
90
- }
91
- function posToIndex(line, character) {
92
- let index2 = 0;
93
- for (let i = 0; i < line; i++)
94
- index2 += lines[i].length;
95
- index2 += character;
96
- return index2;
97
- }
98
- return {
99
- lines,
100
- indexToPos,
101
- posToIndex
102
- };
103
- }
104
- const DEFAULT_COLOR_LIGHT_DARK = "light-dark()";
105
- const COLOR_KEYS = ["color", "background-color"];
106
- function splitToken(token, offsets) {
107
- let lastOffset = 0;
108
- const tokens = [];
109
- for (const offset of offsets) {
110
- if (offset > lastOffset) {
111
- tokens.push({
112
- ...token,
113
- content: token.content.slice(lastOffset, offset),
114
- offset: token.offset + lastOffset
115
- });
116
- }
117
- lastOffset = offset;
118
- }
119
- if (lastOffset < token.content.length) {
120
- tokens.push({
121
- ...token,
122
- content: token.content.slice(lastOffset),
123
- offset: token.offset + lastOffset
124
- });
125
- }
126
- return tokens;
127
- }
128
- function splitTokens(tokens, breakpoints) {
129
- const sorted = Array.from(breakpoints instanceof Set ? breakpoints : new Set(breakpoints)).sort((a, b) => a - b);
130
- if (!sorted.length)
131
- return tokens;
132
- return tokens.map((line) => {
133
- return line.flatMap((token) => {
134
- const breakpointsInToken = sorted.filter((i) => token.offset < i && i < token.offset + token.content.length).map((i) => i - token.offset).sort((a, b) => a - b);
135
- if (!breakpointsInToken.length)
136
- return token;
137
- return splitToken(token, breakpointsInToken);
138
- });
139
- });
140
- }
141
- function flatTokenVariants(merged, variantsOrder, cssVariablePrefix, defaultColor, colorsRendering = "css-vars") {
142
- const token = {
143
- content: merged.content,
144
- explanation: merged.explanation,
145
- offset: merged.offset
146
- };
147
- const styles = variantsOrder.map((t) => getTokenStyleObject(merged.variants[t]));
148
- const styleKeys = new Set(styles.flatMap((t) => Object.keys(t)));
149
- const mergedStyles = {};
150
- const varKey = (idx, key) => {
151
- const keyName = key === "color" ? "" : key === "background-color" ? "-bg" : `-${key}`;
152
- return cssVariablePrefix + variantsOrder[idx] + (key === "color" ? "" : keyName);
153
- };
154
- styles.forEach((cur, idx) => {
155
- for (const key of styleKeys) {
156
- const value = cur[key] || "inherit";
157
- if (idx === 0 && defaultColor && COLOR_KEYS.includes(key)) {
158
- if (defaultColor === DEFAULT_COLOR_LIGHT_DARK && styles.length > 1) {
159
- const lightIndex = variantsOrder.findIndex((t) => t === "light");
160
- const darkIndex = variantsOrder.findIndex((t) => t === "dark");
161
- if (lightIndex === -1 || darkIndex === -1)
162
- throw new index.ShikiError('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
163
- const lightValue = styles[lightIndex][key] || "inherit";
164
- const darkValue = styles[darkIndex][key] || "inherit";
165
- mergedStyles[key] = `light-dark(${lightValue}, ${darkValue})`;
166
- if (colorsRendering === "css-vars")
167
- mergedStyles[varKey(idx, key)] = value;
168
- } else {
169
- mergedStyles[key] = value;
170
- }
171
- } else {
172
- if (colorsRendering === "css-vars")
173
- mergedStyles[varKey(idx, key)] = value;
174
- }
175
- }
176
- });
177
- token.htmlStyle = mergedStyles;
178
- return token;
179
- }
180
- function getTokenStyleObject(token) {
181
- const styles = {};
182
- if (token.color)
183
- styles.color = token.color;
184
- if (token.bgColor)
185
- styles["background-color"] = token.bgColor;
186
- if (token.fontStyle) {
187
- if (token.fontStyle & index$2.FontStyle.Italic)
188
- styles["font-style"] = "italic";
189
- if (token.fontStyle & index$2.FontStyle.Bold)
190
- styles["font-weight"] = "bold";
191
- const decorations2 = [];
192
- if (token.fontStyle & index$2.FontStyle.Underline)
193
- decorations2.push("underline");
194
- if (token.fontStyle & index$2.FontStyle.Strikethrough)
195
- decorations2.push("line-through");
196
- if (decorations2.length)
197
- styles["text-decoration"] = decorations2.join(" ");
198
- }
199
- return styles;
200
- }
201
- function stringifyTokenStyle(token) {
202
- if (typeof token === "string")
203
- return token;
204
- return Object.entries(token).map(([key, value]) => `${key}:${value}`).join(";");
205
- }
206
- const _grammarStateMap = /* @__PURE__ */ new WeakMap();
207
- function setLastGrammarStateToMap(keys, state) {
208
- _grammarStateMap.set(keys, state);
209
- }
210
- function getLastGrammarStateFromMap(keys) {
211
- return _grammarStateMap.get(keys);
212
- }
213
- class GrammarState {
214
- constructor(...args) {
215
- /**
216
- * Theme to Stack mapping
217
- */
218
- __publicField(this, "_stacks", {});
219
- __publicField(this, "lang");
220
- if (args.length === 2) {
221
- const [stacksMap, lang] = args;
222
- this.lang = lang;
223
- this._stacks = stacksMap;
224
- } else {
225
- const [stack, lang, theme] = args;
226
- this.lang = lang;
227
- this._stacks = { [theme]: stack };
228
- }
229
- }
230
- get themes() {
231
- return Object.keys(this._stacks);
232
- }
233
- get theme() {
234
- return this.themes[0];
235
- }
236
- get _stack() {
237
- return this._stacks[this.theme];
238
- }
239
- /**
240
- * Static method to create a initial grammar state.
241
- */
242
- static initial(lang, themes) {
243
- return new GrammarState(
244
- Object.fromEntries(toArray(themes).map((theme) => [theme, index$2.INITIAL])),
245
- lang
246
- );
247
- }
248
- /**
249
- * Get the internal stack object.
250
- * @internal
251
- */
252
- getInternalStack(theme = this.theme) {
253
- return this._stacks[theme];
254
- }
255
- getScopes(theme = this.theme) {
256
- return getScopes(this._stacks[theme]);
257
- }
258
- toJSON() {
259
- return {
260
- lang: this.lang,
261
- theme: this.theme,
262
- themes: this.themes,
263
- scopes: this.getScopes()
264
- };
265
- }
266
- }
267
- function getScopes(stack) {
268
- const scopes = [];
269
- const visited = /* @__PURE__ */ new Set();
270
- function pushScope(stack2) {
271
- if (visited.has(stack2))
272
- return;
273
- visited.add(stack2);
274
- const name = stack2?.nameScopesList?.scopeName;
275
- if (name)
276
- scopes.push(name);
277
- if (stack2.parent)
278
- pushScope(stack2.parent);
279
- }
280
- pushScope(stack);
281
- return scopes;
282
- }
283
- function getGrammarStack(state, theme) {
284
- if (!(state instanceof GrammarState))
285
- throw new index.ShikiError("Invalid grammar state");
286
- return state.getInternalStack(theme);
287
- }
288
- function transformerDecorations() {
289
- const map = /* @__PURE__ */ new WeakMap();
290
- function getContext(shiki) {
291
- if (!map.has(shiki.meta)) {
292
- let normalizePosition = function(p) {
293
- if (typeof p === "number") {
294
- if (p < 0 || p > shiki.source.length)
295
- throw new index.ShikiError(`Invalid decoration offset: ${p}. Code length: ${shiki.source.length}`);
296
- return {
297
- ...converter.indexToPos(p),
298
- offset: p
299
- };
300
- } else {
301
- const line = converter.lines[p.line];
302
- if (line === void 0)
303
- throw new index.ShikiError(`Invalid decoration position ${JSON.stringify(p)}. Lines length: ${converter.lines.length}`);
304
- if (p.character < 0 || p.character > line.length)
305
- throw new index.ShikiError(`Invalid decoration position ${JSON.stringify(p)}. Line ${p.line} length: ${line.length}`);
306
- return {
307
- ...p,
308
- offset: converter.posToIndex(p.line, p.character)
309
- };
310
- }
311
- };
312
- const converter = createPositionConverter(shiki.source);
313
- const decorations2 = (shiki.options.decorations || []).map((d) => ({
314
- ...d,
315
- start: normalizePosition(d.start),
316
- end: normalizePosition(d.end)
317
- }));
318
- verifyIntersections(decorations2);
319
- map.set(shiki.meta, {
320
- decorations: decorations2,
321
- converter,
322
- source: shiki.source
323
- });
324
- }
325
- return map.get(shiki.meta);
326
- }
327
- return {
328
- name: "shiki:decorations",
329
- tokens(tokens) {
330
- if (!this.options.decorations?.length)
331
- return;
332
- const ctx = getContext(this);
333
- const breakpoints = ctx.decorations.flatMap((d) => [d.start.offset, d.end.offset]);
334
- const splitted = splitTokens(tokens, breakpoints);
335
- return splitted;
336
- },
337
- code(codeEl) {
338
- if (!this.options.decorations?.length)
339
- return;
340
- const ctx = getContext(this);
341
- const lines = Array.from(codeEl.children).filter((i) => i.type === "element" && i.tagName === "span");
342
- if (lines.length !== ctx.converter.lines.length)
343
- throw new index.ShikiError(`Number of lines in code element (${lines.length}) does not match the number of lines in the source (${ctx.converter.lines.length}). Failed to apply decorations.`);
344
- function applyLineSection(line, start, end, decoration) {
345
- const lineEl = lines[line];
346
- let text = "";
347
- let startIndex = -1;
348
- let endIndex = -1;
349
- if (start === 0)
350
- startIndex = 0;
351
- if (end === 0)
352
- endIndex = 0;
353
- if (end === Number.POSITIVE_INFINITY)
354
- endIndex = lineEl.children.length;
355
- if (startIndex === -1 || endIndex === -1) {
356
- for (let i = 0; i < lineEl.children.length; i++) {
357
- text += stringify(lineEl.children[i]);
358
- if (startIndex === -1 && text.length === start)
359
- startIndex = i + 1;
360
- if (endIndex === -1 && text.length === end)
361
- endIndex = i + 1;
362
- }
363
- }
364
- if (startIndex === -1)
365
- throw new index.ShikiError(`Failed to find start index for decoration ${JSON.stringify(decoration.start)}`);
366
- if (endIndex === -1)
367
- throw new index.ShikiError(`Failed to find end index for decoration ${JSON.stringify(decoration.end)}`);
368
- const children = lineEl.children.slice(startIndex, endIndex);
369
- if (!decoration.alwaysWrap && children.length === lineEl.children.length) {
370
- applyDecoration(lineEl, decoration, "line");
371
- } else if (!decoration.alwaysWrap && children.length === 1 && children[0].type === "element") {
372
- applyDecoration(children[0], decoration, "token");
373
- } else {
374
- const wrapper = {
375
- type: "element",
376
- tagName: "span",
377
- properties: {},
378
- children
379
- };
380
- applyDecoration(wrapper, decoration, "wrapper");
381
- lineEl.children.splice(startIndex, children.length, wrapper);
382
- }
383
- }
384
- function applyLine(line, decoration) {
385
- lines[line] = applyDecoration(lines[line], decoration, "line");
386
- }
387
- function applyDecoration(el, decoration, type) {
388
- const properties = decoration.properties || {};
389
- const transform = decoration.transform || ((i) => i);
390
- el.tagName = decoration.tagName || "span";
391
- el.properties = {
392
- ...el.properties,
393
- ...properties,
394
- class: el.properties.class
395
- };
396
- if (decoration.properties?.class)
397
- addClassToHast(el, decoration.properties.class);
398
- el = transform(el, type) || el;
399
- return el;
400
- }
401
- const lineApplies = [];
402
- const sorted = ctx.decorations.sort((a, b) => b.start.offset - a.start.offset || a.end.offset - b.end.offset);
403
- for (const decoration of sorted) {
404
- const { start, end } = decoration;
405
- if (start.line === end.line) {
406
- applyLineSection(start.line, start.character, end.character, decoration);
407
- } else if (start.line < end.line) {
408
- applyLineSection(start.line, start.character, Number.POSITIVE_INFINITY, decoration);
409
- for (let i = start.line + 1; i < end.line; i++)
410
- lineApplies.unshift(() => applyLine(i, decoration));
411
- applyLineSection(end.line, 0, end.character, decoration);
412
- }
413
- }
414
- lineApplies.forEach((i) => i());
415
- }
416
- };
417
- }
418
- function verifyIntersections(items) {
419
- for (let i = 0; i < items.length; i++) {
420
- const foo = items[i];
421
- if (foo.start.offset > foo.end.offset)
422
- throw new index.ShikiError(`Invalid decoration range: ${JSON.stringify(foo.start)} - ${JSON.stringify(foo.end)}`);
423
- for (let j = i + 1; j < items.length; j++) {
424
- const bar = items[j];
425
- const isFooHasBarStart = foo.start.offset <= bar.start.offset && bar.start.offset < foo.end.offset;
426
- const isFooHasBarEnd = foo.start.offset < bar.end.offset && bar.end.offset <= foo.end.offset;
427
- const isBarHasFooStart = bar.start.offset <= foo.start.offset && foo.start.offset < bar.end.offset;
428
- const isBarHasFooEnd = bar.start.offset < foo.end.offset && foo.end.offset <= bar.end.offset;
429
- if (isFooHasBarStart || isFooHasBarEnd || isBarHasFooStart || isBarHasFooEnd) {
430
- if (isFooHasBarStart && isFooHasBarEnd)
431
- continue;
432
- if (isBarHasFooStart && isBarHasFooEnd)
433
- continue;
434
- if (isBarHasFooStart && foo.start.offset === foo.end.offset)
435
- continue;
436
- if (isFooHasBarEnd && bar.start.offset === bar.end.offset)
437
- continue;
438
- throw new index.ShikiError(`Decorations ${JSON.stringify(foo.start)} and ${JSON.stringify(bar.start)} intersect.`);
439
- }
440
- }
441
- }
442
- }
443
- function stringify(el) {
444
- if (el.type === "text")
445
- return el.value;
446
- if (el.type === "element")
447
- return el.children.map(stringify).join("");
448
- return "";
449
- }
450
- const builtInTransformers = [
451
- /* @__PURE__ */ transformerDecorations()
452
- ];
453
- function getTransformers(options) {
454
- return [
455
- ...options.transformers || [],
456
- ...builtInTransformers
457
- ];
458
- }
459
- var namedColors = [
460
- "black",
461
- "red",
462
- "green",
463
- "yellow",
464
- "blue",
465
- "magenta",
466
- "cyan",
467
- "white",
468
- "brightBlack",
469
- "brightRed",
470
- "brightGreen",
471
- "brightYellow",
472
- "brightBlue",
473
- "brightMagenta",
474
- "brightCyan",
475
- "brightWhite"
476
- ];
477
- var decorations = {
478
- 1: "bold",
479
- 2: "dim",
480
- 3: "italic",
481
- 4: "underline",
482
- 7: "reverse",
483
- 8: "hidden",
484
- 9: "strikethrough"
485
- };
486
- function findSequence(value, position) {
487
- const nextEscape = value.indexOf("\x1B", position);
488
- if (nextEscape !== -1) {
489
- if (value[nextEscape + 1] === "[") {
490
- const nextClose = value.indexOf("m", nextEscape);
491
- if (nextClose !== -1) {
492
- return {
493
- sequence: value.substring(nextEscape + 2, nextClose).split(";"),
494
- startPosition: nextEscape,
495
- position: nextClose + 1
496
- };
497
- }
498
- }
499
- }
500
- return {
501
- position: value.length
502
- };
503
- }
504
- function parseColor(sequence) {
505
- const colorMode = sequence.shift();
506
- if (colorMode === "2") {
507
- const rgb = sequence.splice(0, 3).map((x) => Number.parseInt(x));
508
- if (rgb.length !== 3 || rgb.some((x) => Number.isNaN(x)))
509
- return;
510
- return {
511
- type: "rgb",
512
- rgb
513
- };
514
- } else if (colorMode === "5") {
515
- const index2 = sequence.shift();
516
- if (index2) {
517
- return { type: "table", index: Number(index2) };
518
- }
519
- }
520
- }
521
- function parseSequence(sequence) {
522
- const commands = [];
523
- while (sequence.length > 0) {
524
- const code = sequence.shift();
525
- if (!code)
526
- continue;
527
- const codeInt = Number.parseInt(code);
528
- if (Number.isNaN(codeInt))
529
- continue;
530
- if (codeInt === 0) {
531
- commands.push({ type: "resetAll" });
532
- } else if (codeInt <= 9) {
533
- const decoration = decorations[codeInt];
534
- if (decoration) {
535
- commands.push({
536
- type: "setDecoration",
537
- value: decorations[codeInt]
538
- });
539
- }
540
- } else if (codeInt <= 29) {
541
- const decoration = decorations[codeInt - 20];
542
- if (decoration) {
543
- commands.push({
544
- type: "resetDecoration",
545
- value: decoration
546
- });
547
- if (decoration === "dim") {
548
- commands.push({
549
- type: "resetDecoration",
550
- value: "bold"
551
- });
552
- }
553
- }
554
- } else if (codeInt <= 37) {
555
- commands.push({
556
- type: "setForegroundColor",
557
- value: { type: "named", name: namedColors[codeInt - 30] }
558
- });
559
- } else if (codeInt === 38) {
560
- const color = parseColor(sequence);
561
- if (color) {
562
- commands.push({
563
- type: "setForegroundColor",
564
- value: color
565
- });
566
- }
567
- } else if (codeInt === 39) {
568
- commands.push({
569
- type: "resetForegroundColor"
570
- });
571
- } else if (codeInt <= 47) {
572
- commands.push({
573
- type: "setBackgroundColor",
574
- value: { type: "named", name: namedColors[codeInt - 40] }
575
- });
576
- } else if (codeInt === 48) {
577
- const color = parseColor(sequence);
578
- if (color) {
579
- commands.push({
580
- type: "setBackgroundColor",
581
- value: color
582
- });
583
- }
584
- } else if (codeInt === 49) {
585
- commands.push({
586
- type: "resetBackgroundColor"
587
- });
588
- } else if (codeInt === 53) {
589
- commands.push({
590
- type: "setDecoration",
591
- value: "overline"
592
- });
593
- } else if (codeInt === 55) {
594
- commands.push({
595
- type: "resetDecoration",
596
- value: "overline"
597
- });
598
- } else if (codeInt >= 90 && codeInt <= 97) {
599
- commands.push({
600
- type: "setForegroundColor",
601
- value: { type: "named", name: namedColors[codeInt - 90 + 8] }
602
- });
603
- } else if (codeInt >= 100 && codeInt <= 107) {
604
- commands.push({
605
- type: "setBackgroundColor",
606
- value: { type: "named", name: namedColors[codeInt - 100 + 8] }
607
- });
608
- }
609
- }
610
- return commands;
611
- }
612
- function createAnsiSequenceParser() {
613
- let foreground = null;
614
- let background = null;
615
- let decorations2 = /* @__PURE__ */ new Set();
616
- return {
617
- parse(value) {
618
- const tokens = [];
619
- let position = 0;
620
- do {
621
- const findResult = findSequence(value, position);
622
- const text = findResult.sequence ? value.substring(position, findResult.startPosition) : value.substring(position);
623
- if (text.length > 0) {
624
- tokens.push({
625
- value: text,
626
- foreground,
627
- background,
628
- decorations: new Set(decorations2)
629
- });
630
- }
631
- if (findResult.sequence) {
632
- const commands = parseSequence(findResult.sequence);
633
- for (const styleToken of commands) {
634
- if (styleToken.type === "resetAll") {
635
- foreground = null;
636
- background = null;
637
- decorations2.clear();
638
- } else if (styleToken.type === "resetForegroundColor") {
639
- foreground = null;
640
- } else if (styleToken.type === "resetBackgroundColor") {
641
- background = null;
642
- } else if (styleToken.type === "resetDecoration") {
643
- decorations2.delete(styleToken.value);
644
- }
645
- }
646
- for (const styleToken of commands) {
647
- if (styleToken.type === "setForegroundColor") {
648
- foreground = styleToken.value;
649
- } else if (styleToken.type === "setBackgroundColor") {
650
- background = styleToken.value;
651
- } else if (styleToken.type === "setDecoration") {
652
- decorations2.add(styleToken.value);
653
- }
654
- }
655
- }
656
- position = findResult.position;
657
- } while (position < value.length);
658
- return tokens;
659
- }
660
- };
661
- }
662
- var defaultNamedColorsMap = {
663
- black: "#000000",
664
- red: "#bb0000",
665
- green: "#00bb00",
666
- yellow: "#bbbb00",
667
- blue: "#0000bb",
668
- magenta: "#ff00ff",
669
- cyan: "#00bbbb",
670
- white: "#eeeeee",
671
- brightBlack: "#555555",
672
- brightRed: "#ff5555",
673
- brightGreen: "#00ff00",
674
- brightYellow: "#ffff55",
675
- brightBlue: "#5555ff",
676
- brightMagenta: "#ff55ff",
677
- brightCyan: "#55ffff",
678
- brightWhite: "#ffffff"
679
- };
680
- function createColorPalette(namedColorsMap = defaultNamedColorsMap) {
681
- function namedColor(name) {
682
- return namedColorsMap[name];
683
- }
684
- function rgbColor(rgb) {
685
- return `#${rgb.map((x) => Math.max(0, Math.min(x, 255)).toString(16).padStart(2, "0")).join("")}`;
686
- }
687
- let colorTable;
688
- function getColorTable() {
689
- if (colorTable) {
690
- return colorTable;
691
- }
692
- colorTable = [];
693
- for (let i = 0; i < namedColors.length; i++) {
694
- colorTable.push(namedColor(namedColors[i]));
695
- }
696
- let levels = [0, 95, 135, 175, 215, 255];
697
- for (let r = 0; r < 6; r++) {
698
- for (let g = 0; g < 6; g++) {
699
- for (let b = 0; b < 6; b++) {
700
- colorTable.push(rgbColor([levels[r], levels[g], levels[b]]));
701
- }
702
- }
703
- }
704
- let level = 8;
705
- for (let i = 0; i < 24; i++, level += 10) {
706
- colorTable.push(rgbColor([level, level, level]));
707
- }
708
- return colorTable;
709
- }
710
- function tableColor(index2) {
711
- return getColorTable()[index2];
712
- }
713
- function value(color) {
714
- switch (color.type) {
715
- case "named":
716
- return namedColor(color.name);
717
- case "rgb":
718
- return rgbColor(color.rgb);
719
- case "table":
720
- return tableColor(color.index);
721
- }
722
- }
723
- return {
724
- value
725
- };
726
- }
727
- function tokenizeAnsiWithTheme(theme, fileContents, options) {
728
- const colorReplacements = resolveColorReplacements(theme, options);
729
- const lines = splitLines(fileContents);
730
- const colorPalette = createColorPalette(
731
- Object.fromEntries(
732
- namedColors.map((name) => [
733
- name,
734
- theme.colors?.[`terminal.ansi${name[0].toUpperCase()}${name.substring(1)}`]
735
- ])
736
- )
737
- );
738
- const parser = createAnsiSequenceParser();
739
- return lines.map(
740
- (line) => parser.parse(line[0]).map((token) => {
741
- let color;
742
- let bgColor;
743
- if (token.decorations.has("reverse")) {
744
- color = token.background ? colorPalette.value(token.background) : theme.bg;
745
- bgColor = token.foreground ? colorPalette.value(token.foreground) : theme.fg;
746
- } else {
747
- color = token.foreground ? colorPalette.value(token.foreground) : theme.fg;
748
- bgColor = token.background ? colorPalette.value(token.background) : void 0;
749
- }
750
- color = applyColorReplacements(color, colorReplacements);
751
- bgColor = applyColorReplacements(bgColor, colorReplacements);
752
- if (token.decorations.has("dim"))
753
- color = dimColor(color);
754
- let fontStyle = index$2.FontStyle.None;
755
- if (token.decorations.has("bold"))
756
- fontStyle |= index$2.FontStyle.Bold;
757
- if (token.decorations.has("italic"))
758
- fontStyle |= index$2.FontStyle.Italic;
759
- if (token.decorations.has("underline"))
760
- fontStyle |= index$2.FontStyle.Underline;
761
- if (token.decorations.has("strikethrough"))
762
- fontStyle |= index$2.FontStyle.Strikethrough;
763
- return {
764
- content: token.value,
765
- offset: line[1],
766
- // TODO: more accurate offset? might need to fork ansi-sequence-parser
767
- color,
768
- bgColor,
769
- fontStyle
770
- };
771
- })
772
- );
773
- }
774
- function dimColor(color) {
775
- const hexMatch = color.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);
776
- if (hexMatch) {
777
- if (hexMatch[3]) {
778
- const alpha = Math.round(Number.parseInt(hexMatch[3], 16) / 2).toString(16).padStart(2, "0");
779
- return `#${hexMatch[1]}${hexMatch[2]}${alpha}`;
780
- } else if (hexMatch[2]) {
781
- return `#${hexMatch[1]}${hexMatch[2]}80`;
782
- } else {
783
- return `#${Array.from(hexMatch[1]).map((x) => `${x}${x}`).join("")}80`;
784
- }
785
- }
786
- const cssVarMatch = color.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);
787
- if (cssVarMatch)
788
- return `var(${cssVarMatch[1]}-dim)`;
789
- return color;
790
- }
791
- function codeToTokensBase(internal, code, options = {}) {
792
- const {
793
- lang = "text",
794
- theme: themeName = internal.getLoadedThemes()[0]
795
- } = options;
796
- if (isPlainLang(lang) || isNoneTheme(themeName))
797
- return splitLines(code).map((line) => [{ content: line[0], offset: line[1] }]);
798
- const { theme, colorMap } = internal.setTheme(themeName);
799
- if (lang === "ansi")
800
- return tokenizeAnsiWithTheme(theme, code, options);
801
- const _grammar = internal.getLanguage(lang);
802
- if (options.grammarState) {
803
- if (options.grammarState.lang !== _grammar.name) {
804
- throw new index.ShikiError(`Grammar state language "${options.grammarState.lang}" does not match highlight language "${_grammar.name}"`);
805
- }
806
- if (!options.grammarState.themes.includes(theme.name)) {
807
- throw new index.ShikiError(`Grammar state themes "${options.grammarState.themes}" do not contain highlight theme "${theme.name}"`);
808
- }
809
- }
810
- return tokenizeWithTheme(code, _grammar, theme, colorMap, options);
811
- }
812
- function getLastGrammarState(...args) {
813
- if (args.length === 2) {
814
- return getLastGrammarStateFromMap(args[1]);
815
- }
816
- const [internal, code, options = {}] = args;
817
- const {
818
- lang = "text",
819
- theme: themeName = internal.getLoadedThemes()[0]
820
- } = options;
821
- if (isPlainLang(lang) || isNoneTheme(themeName))
822
- throw new index.ShikiError("Plain language does not have grammar state");
823
- if (lang === "ansi")
824
- throw new index.ShikiError("ANSI language does not have grammar state");
825
- const { theme, colorMap } = internal.setTheme(themeName);
826
- const _grammar = internal.getLanguage(lang);
827
- return new GrammarState(
828
- _tokenizeWithTheme(code, _grammar, theme, colorMap, options).stateStack,
829
- _grammar.name,
830
- theme.name
831
- );
832
- }
833
- function tokenizeWithTheme(code, grammar, theme, colorMap, options) {
834
- const result = _tokenizeWithTheme(code, grammar, theme, colorMap, options);
835
- const grammarState = new GrammarState(
836
- _tokenizeWithTheme(code, grammar, theme, colorMap, options).stateStack,
837
- grammar.name,
838
- theme.name
839
- );
840
- setLastGrammarStateToMap(result.tokens, grammarState);
841
- return result.tokens;
842
- }
843
- function _tokenizeWithTheme(code, grammar, theme, colorMap, options) {
844
- const colorReplacements = resolveColorReplacements(theme, options);
845
- const {
846
- tokenizeMaxLineLength = 0,
847
- tokenizeTimeLimit = 500
848
- } = options;
849
- const lines = splitLines(code);
850
- let stateStack = options.grammarState ? getGrammarStack(options.grammarState, theme.name) ?? index$2.INITIAL : options.grammarContextCode != null ? _tokenizeWithTheme(
851
- options.grammarContextCode,
852
- grammar,
853
- theme,
854
- colorMap,
855
- {
856
- ...options,
857
- grammarState: void 0,
858
- grammarContextCode: void 0
859
- }
860
- ).stateStack : index$2.INITIAL;
861
- let actual = [];
862
- const final = [];
863
- for (let i = 0, len = lines.length; i < len; i++) {
864
- const [line, lineOffset] = lines[i];
865
- if (line === "") {
866
- actual = [];
867
- final.push([]);
868
- continue;
869
- }
870
- if (tokenizeMaxLineLength > 0 && line.length >= tokenizeMaxLineLength) {
871
- actual = [];
872
- final.push([{
873
- content: line,
874
- offset: lineOffset,
875
- color: "",
876
- fontStyle: 0
877
- }]);
878
- continue;
879
- }
880
- let resultWithScopes;
881
- let tokensWithScopes;
882
- let tokensWithScopesIndex;
883
- if (options.includeExplanation) {
884
- resultWithScopes = grammar.tokenizeLine(line, stateStack, tokenizeTimeLimit);
885
- tokensWithScopes = resultWithScopes.tokens;
886
- tokensWithScopesIndex = 0;
887
- }
888
- const result = grammar.tokenizeLine2(line, stateStack, tokenizeTimeLimit);
889
- const tokensLength = result.tokens.length / 2;
890
- for (let j = 0; j < tokensLength; j++) {
891
- const startIndex = result.tokens[2 * j];
892
- const nextStartIndex = j + 1 < tokensLength ? result.tokens[2 * j + 2] : line.length;
893
- if (startIndex === nextStartIndex)
894
- continue;
895
- const metadata = result.tokens[2 * j + 1];
896
- const color = applyColorReplacements(
897
- colorMap[index$2.EncodedTokenMetadata.getForeground(metadata)],
898
- colorReplacements
899
- );
900
- const fontStyle = index$2.EncodedTokenMetadata.getFontStyle(metadata);
901
- const token = {
902
- content: line.substring(startIndex, nextStartIndex),
903
- offset: lineOffset + startIndex,
904
- color,
905
- fontStyle
906
- };
907
- if (options.includeExplanation) {
908
- const themeSettingsSelectors = [];
909
- if (options.includeExplanation !== "scopeName") {
910
- for (const setting of theme.settings) {
911
- let selectors;
912
- switch (typeof setting.scope) {
913
- case "string":
914
- selectors = setting.scope.split(/,/).map((scope) => scope.trim());
915
- break;
916
- case "object":
917
- selectors = setting.scope;
918
- break;
919
- default:
920
- continue;
921
- }
922
- themeSettingsSelectors.push({
923
- settings: setting,
924
- selectors: selectors.map((selector) => selector.split(/ /))
925
- });
926
- }
927
- }
928
- token.explanation = [];
929
- let offset = 0;
930
- while (startIndex + offset < nextStartIndex) {
931
- const tokenWithScopes = tokensWithScopes[tokensWithScopesIndex];
932
- const tokenWithScopesText = line.substring(
933
- tokenWithScopes.startIndex,
934
- tokenWithScopes.endIndex
935
- );
936
- offset += tokenWithScopesText.length;
937
- token.explanation.push({
938
- content: tokenWithScopesText,
939
- scopes: options.includeExplanation === "scopeName" ? explainThemeScopesNameOnly(
940
- tokenWithScopes.scopes
941
- ) : explainThemeScopesFull(
942
- themeSettingsSelectors,
943
- tokenWithScopes.scopes
944
- )
945
- });
946
- tokensWithScopesIndex += 1;
947
- }
948
- }
949
- actual.push(token);
950
- }
951
- final.push(actual);
952
- actual = [];
953
- stateStack = result.ruleStack;
954
- }
955
- return {
956
- tokens: final,
957
- stateStack
958
- };
959
- }
960
- function explainThemeScopesNameOnly(scopes) {
961
- return scopes.map((scope) => ({ scopeName: scope }));
962
- }
963
- function explainThemeScopesFull(themeSelectors, scopes) {
964
- const result = [];
965
- for (let i = 0, len = scopes.length; i < len; i++) {
966
- const scope = scopes[i];
967
- result[i] = {
968
- scopeName: scope,
969
- themeMatches: explainThemeScope(themeSelectors, scope, scopes.slice(0, i))
970
- };
971
- }
972
- return result;
973
- }
974
- function matchesOne(selector, scope) {
975
- return selector === scope || scope.substring(0, selector.length) === selector && scope[selector.length] === ".";
976
- }
977
- function matches(selectors, scope, parentScopes) {
978
- if (!matchesOne(selectors[selectors.length - 1], scope))
979
- return false;
980
- let selectorParentIndex = selectors.length - 2;
981
- let parentIndex = parentScopes.length - 1;
982
- while (selectorParentIndex >= 0 && parentIndex >= 0) {
983
- if (matchesOne(selectors[selectorParentIndex], parentScopes[parentIndex]))
984
- selectorParentIndex -= 1;
985
- parentIndex -= 1;
986
- }
987
- if (selectorParentIndex === -1)
988
- return true;
989
- return false;
990
- }
991
- function explainThemeScope(themeSettingsSelectors, scope, parentScopes) {
992
- const result = [];
993
- for (const { selectors, settings } of themeSettingsSelectors) {
994
- for (const selectorPieces of selectors) {
995
- if (matches(selectorPieces, scope, parentScopes)) {
996
- result.push(settings);
997
- break;
998
- }
999
- }
1000
- }
1001
- return result;
1002
- }
1003
- function codeToTokensWithThemes(internal, code, options) {
1004
- const themes = Object.entries(options.themes).filter((i) => i[1]).map((i) => ({ color: i[0], theme: i[1] }));
1005
- const themedTokens = themes.map((t) => {
1006
- const tokens2 = codeToTokensBase(internal, code, {
1007
- ...options,
1008
- theme: t.theme
1009
- });
1010
- const state = getLastGrammarStateFromMap(tokens2);
1011
- const theme = typeof t.theme === "string" ? t.theme : t.theme.name;
1012
- return {
1013
- tokens: tokens2,
1014
- state,
1015
- theme
1016
- };
1017
- });
1018
- const tokens = syncThemesTokenization(
1019
- ...themedTokens.map((i) => i.tokens)
1020
- );
1021
- const mergedTokens = tokens[0].map(
1022
- (line, lineIdx) => line.map((_token, tokenIdx) => {
1023
- const mergedToken = {
1024
- content: _token.content,
1025
- variants: {},
1026
- offset: _token.offset
1027
- };
1028
- if ("includeExplanation" in options && options.includeExplanation) {
1029
- mergedToken.explanation = _token.explanation;
1030
- }
1031
- tokens.forEach((t, themeIdx) => {
1032
- const {
1033
- content: _,
1034
- explanation: __,
1035
- offset: ___,
1036
- ...styles
1037
- } = t[lineIdx][tokenIdx];
1038
- mergedToken.variants[themes[themeIdx].color] = styles;
1039
- });
1040
- return mergedToken;
1041
- })
1042
- );
1043
- const mergedGrammarState = themedTokens[0].state ? new GrammarState(
1044
- Object.fromEntries(themedTokens.map((s) => [s.theme, s.state?.getInternalStack(s.theme)])),
1045
- themedTokens[0].state.lang
1046
- ) : void 0;
1047
- if (mergedGrammarState)
1048
- setLastGrammarStateToMap(mergedTokens, mergedGrammarState);
1049
- return mergedTokens;
1050
- }
1051
- function syncThemesTokenization(...themes) {
1052
- const outThemes = themes.map(() => []);
1053
- const count = themes.length;
1054
- for (let i = 0; i < themes[0].length; i++) {
1055
- const lines = themes.map((t) => t[i]);
1056
- const outLines = outThemes.map(() => []);
1057
- outThemes.forEach((t, i2) => t.push(outLines[i2]));
1058
- const indexes = lines.map(() => 0);
1059
- const current = lines.map((l) => l[0]);
1060
- while (current.every((t) => t)) {
1061
- const minLength = Math.min(...current.map((t) => t.content.length));
1062
- for (let n = 0; n < count; n++) {
1063
- const token = current[n];
1064
- if (token.content.length === minLength) {
1065
- outLines[n].push(token);
1066
- indexes[n] += 1;
1067
- current[n] = lines[n][indexes[n]];
1068
- } else {
1069
- outLines[n].push({
1070
- ...token,
1071
- content: token.content.slice(0, minLength)
1072
- });
1073
- current[n] = {
1074
- ...token,
1075
- content: token.content.slice(minLength),
1076
- offset: token.offset + minLength
1077
- };
1078
- }
1079
- }
1080
- }
1081
- }
1082
- return outThemes;
1083
- }
1084
- function codeToTokens(internal, code, options) {
1085
- let bg;
1086
- let fg;
1087
- let tokens;
1088
- let themeName;
1089
- let rootStyle;
1090
- let grammarState;
1091
- if ("themes" in options) {
1092
- const {
1093
- defaultColor = "light",
1094
- cssVariablePrefix = "--shiki-",
1095
- colorsRendering = "css-vars"
1096
- } = options;
1097
- const themes = Object.entries(options.themes).filter((i) => i[1]).map((i) => ({ color: i[0], theme: i[1] })).sort((a, b) => a.color === defaultColor ? -1 : b.color === defaultColor ? 1 : 0);
1098
- if (themes.length === 0)
1099
- throw new index.ShikiError("`themes` option must not be empty");
1100
- const themeTokens = codeToTokensWithThemes(
1101
- internal,
1102
- code,
1103
- options
1104
- );
1105
- grammarState = getLastGrammarStateFromMap(themeTokens);
1106
- if (defaultColor && DEFAULT_COLOR_LIGHT_DARK !== defaultColor && !themes.find((t) => t.color === defaultColor))
1107
- throw new index.ShikiError(`\`themes\` option must contain the defaultColor key \`${defaultColor}\``);
1108
- const themeRegs = themes.map((t) => internal.getTheme(t.theme));
1109
- const themesOrder = themes.map((t) => t.color);
1110
- tokens = themeTokens.map((line) => line.map((token) => flatTokenVariants(token, themesOrder, cssVariablePrefix, defaultColor, colorsRendering)));
1111
- if (grammarState)
1112
- setLastGrammarStateToMap(tokens, grammarState);
1113
- const themeColorReplacements = themes.map((t) => resolveColorReplacements(t.theme, options));
1114
- fg = mapThemeColors(themes, themeRegs, themeColorReplacements, cssVariablePrefix, defaultColor, "fg", colorsRendering);
1115
- bg = mapThemeColors(themes, themeRegs, themeColorReplacements, cssVariablePrefix, defaultColor, "bg", colorsRendering);
1116
- themeName = `shiki-themes ${themeRegs.map((t) => t.name).join(" ")}`;
1117
- rootStyle = defaultColor ? void 0 : [fg, bg].join(";");
1118
- } else if ("theme" in options) {
1119
- const colorReplacements = resolveColorReplacements(options.theme, options);
1120
- tokens = codeToTokensBase(
1121
- internal,
1122
- code,
1123
- options
1124
- );
1125
- const _theme = internal.getTheme(options.theme);
1126
- bg = applyColorReplacements(_theme.bg, colorReplacements);
1127
- fg = applyColorReplacements(_theme.fg, colorReplacements);
1128
- themeName = _theme.name;
1129
- grammarState = getLastGrammarStateFromMap(tokens);
1130
- } else {
1131
- throw new index.ShikiError("Invalid options, either `theme` or `themes` must be provided");
1132
- }
1133
- return {
1134
- tokens,
1135
- fg,
1136
- bg,
1137
- themeName,
1138
- rootStyle,
1139
- grammarState
1140
- };
1141
- }
1142
- function mapThemeColors(themes, themeRegs, themeColorReplacements, cssVariablePrefix, defaultColor, property, colorsRendering) {
1143
- return themes.map((t, idx) => {
1144
- const value = applyColorReplacements(themeRegs[idx][property], themeColorReplacements[idx]) || "inherit";
1145
- const cssVar = `${cssVariablePrefix + t.color}${property === "bg" ? "-bg" : ""}:${value}`;
1146
- if (idx === 0 && defaultColor) {
1147
- if (defaultColor === DEFAULT_COLOR_LIGHT_DARK && themes.length > 1) {
1148
- const lightIndex = themes.findIndex((t2) => t2.color === "light");
1149
- const darkIndex = themes.findIndex((t2) => t2.color === "dark");
1150
- if (lightIndex === -1 || darkIndex === -1)
1151
- throw new index.ShikiError('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
1152
- const lightValue = applyColorReplacements(themeRegs[lightIndex][property], themeColorReplacements[lightIndex]) || "inherit";
1153
- const darkValue = applyColorReplacements(themeRegs[darkIndex][property], themeColorReplacements[darkIndex]) || "inherit";
1154
- return `light-dark(${lightValue}, ${darkValue});${cssVar}`;
1155
- }
1156
- return value;
1157
- }
1158
- if (colorsRendering === "css-vars") {
1159
- return cssVar;
1160
- }
1161
- return null;
1162
- }).filter((i) => !!i).join(";");
1163
- }
1164
- function codeToHast(internal, code, options, transformerContext = {
1165
- meta: {},
1166
- options,
1167
- codeToHast: (_code, _options) => codeToHast(internal, _code, _options),
1168
- codeToTokens: (_code, _options) => codeToTokens(internal, _code, _options)
1169
- }) {
1170
- let input = code;
1171
- for (const transformer of getTransformers(options))
1172
- input = transformer.preprocess?.call(transformerContext, input, options) || input;
1173
- let {
1174
- tokens,
1175
- fg,
1176
- bg,
1177
- themeName,
1178
- rootStyle,
1179
- grammarState
1180
- } = codeToTokens(internal, input, options);
1181
- const {
1182
- mergeWhitespaces = true,
1183
- mergeSameStyleTokens = false
1184
- } = options;
1185
- if (mergeWhitespaces === true)
1186
- tokens = mergeWhitespaceTokens(tokens);
1187
- else if (mergeWhitespaces === "never")
1188
- tokens = splitWhitespaceTokens(tokens);
1189
- if (mergeSameStyleTokens) {
1190
- tokens = mergeAdjacentStyledTokens(tokens);
1191
- }
1192
- const contextSource = {
1193
- ...transformerContext,
1194
- get source() {
1195
- return input;
1196
- }
1197
- };
1198
- for (const transformer of getTransformers(options))
1199
- tokens = transformer.tokens?.call(contextSource, tokens) || tokens;
1200
- return tokensToHast(
1201
- tokens,
1202
- {
1203
- ...options,
1204
- fg,
1205
- bg,
1206
- themeName,
1207
- rootStyle
1208
- },
1209
- contextSource,
1210
- grammarState
1211
- );
1212
- }
1213
- function tokensToHast(tokens, options, transformerContext, grammarState = getLastGrammarStateFromMap(tokens)) {
1214
- const transformers = getTransformers(options);
1215
- const lines = [];
1216
- const root = {
1217
- type: "root",
1218
- children: []
1219
- };
1220
- const {
1221
- structure = "classic",
1222
- tabindex = "0"
1223
- } = options;
1224
- let preNode = {
1225
- type: "element",
1226
- tagName: "pre",
1227
- properties: {
1228
- class: `shiki ${options.themeName || ""}`,
1229
- style: options.rootStyle || `background-color:${options.bg};color:${options.fg}`,
1230
- ...tabindex !== false && tabindex != null ? {
1231
- tabindex: tabindex.toString()
1232
- } : {},
1233
- ...Object.fromEntries(
1234
- Array.from(
1235
- Object.entries(options.meta || {})
1236
- ).filter(([key]) => !key.startsWith("_"))
1237
- )
1238
- },
1239
- children: []
1240
- };
1241
- let codeNode = {
1242
- type: "element",
1243
- tagName: "code",
1244
- properties: {},
1245
- children: lines
1246
- };
1247
- const lineNodes = [];
1248
- const context = {
1249
- ...transformerContext,
1250
- structure,
1251
- addClassToHast,
1252
- get source() {
1253
- return transformerContext.source;
1254
- },
1255
- get tokens() {
1256
- return tokens;
1257
- },
1258
- get options() {
1259
- return options;
1260
- },
1261
- get root() {
1262
- return root;
1263
- },
1264
- get pre() {
1265
- return preNode;
1266
- },
1267
- get code() {
1268
- return codeNode;
1269
- },
1270
- get lines() {
1271
- return lineNodes;
1272
- }
1273
- };
1274
- tokens.forEach((line, idx) => {
1275
- if (idx) {
1276
- if (structure === "inline")
1277
- root.children.push({ type: "element", tagName: "br", properties: {}, children: [] });
1278
- else if (structure === "classic")
1279
- lines.push({ type: "text", value: "\n" });
1280
- }
1281
- let lineNode = {
1282
- type: "element",
1283
- tagName: "span",
1284
- properties: { class: "line" },
1285
- children: []
1286
- };
1287
- let col = 0;
1288
- for (const token of line) {
1289
- let tokenNode = {
1290
- type: "element",
1291
- tagName: "span",
1292
- properties: {
1293
- ...token.htmlAttrs
1294
- },
1295
- children: [{ type: "text", value: token.content }]
1296
- };
1297
- const style = stringifyTokenStyle(token.htmlStyle || getTokenStyleObject(token));
1298
- if (style)
1299
- tokenNode.properties.style = style;
1300
- for (const transformer of transformers)
1301
- tokenNode = transformer?.span?.call(context, tokenNode, idx + 1, col, lineNode, token) || tokenNode;
1302
- if (structure === "inline")
1303
- root.children.push(tokenNode);
1304
- else if (structure === "classic")
1305
- lineNode.children.push(tokenNode);
1306
- col += token.content.length;
1307
- }
1308
- if (structure === "classic") {
1309
- for (const transformer of transformers)
1310
- lineNode = transformer?.line?.call(context, lineNode, idx + 1) || lineNode;
1311
- lineNodes.push(lineNode);
1312
- lines.push(lineNode);
1313
- }
1314
- });
1315
- if (structure === "classic") {
1316
- for (const transformer of transformers)
1317
- codeNode = transformer?.code?.call(context, codeNode) || codeNode;
1318
- preNode.children.push(codeNode);
1319
- for (const transformer of transformers)
1320
- preNode = transformer?.pre?.call(context, preNode) || preNode;
1321
- root.children.push(preNode);
1322
- }
1323
- let result = root;
1324
- for (const transformer of transformers)
1325
- result = transformer?.root?.call(context, result) || result;
1326
- if (grammarState)
1327
- setLastGrammarStateToMap(result, grammarState);
1328
- return result;
1329
- }
1330
- function mergeWhitespaceTokens(tokens) {
1331
- return tokens.map((line) => {
1332
- const newLine = [];
1333
- let carryOnContent = "";
1334
- let firstOffset = 0;
1335
- line.forEach((token, idx) => {
1336
- const isDecorated = token.fontStyle && (token.fontStyle & index$2.FontStyle.Underline || token.fontStyle & index$2.FontStyle.Strikethrough);
1337
- const couldMerge = !isDecorated;
1338
- if (couldMerge && token.content.match(/^\s+$/) && line[idx + 1]) {
1339
- if (!firstOffset)
1340
- firstOffset = token.offset;
1341
- carryOnContent += token.content;
1342
- } else {
1343
- if (carryOnContent) {
1344
- if (couldMerge) {
1345
- newLine.push({
1346
- ...token,
1347
- offset: firstOffset,
1348
- content: carryOnContent + token.content
1349
- });
1350
- } else {
1351
- newLine.push(
1352
- {
1353
- content: carryOnContent,
1354
- offset: firstOffset
1355
- },
1356
- token
1357
- );
1358
- }
1359
- firstOffset = 0;
1360
- carryOnContent = "";
1361
- } else {
1362
- newLine.push(token);
1363
- }
1364
- }
1365
- });
1366
- return newLine;
1367
- });
1368
- }
1369
- function splitWhitespaceTokens(tokens) {
1370
- return tokens.map((line) => {
1371
- return line.flatMap((token) => {
1372
- if (token.content.match(/^\s+$/))
1373
- return token;
1374
- const match = token.content.match(/^(\s*)(.*?)(\s*)$/);
1375
- if (!match)
1376
- return token;
1377
- const [, leading, content, trailing] = match;
1378
- if (!leading && !trailing)
1379
- return token;
1380
- const expanded = [{
1381
- ...token,
1382
- offset: token.offset + leading.length,
1383
- content
1384
- }];
1385
- if (leading) {
1386
- expanded.unshift({
1387
- content: leading,
1388
- offset: token.offset
1389
- });
1390
- }
1391
- if (trailing) {
1392
- expanded.push({
1393
- content: trailing,
1394
- offset: token.offset + leading.length + content.length
1395
- });
1396
- }
1397
- return expanded;
1398
- });
1399
- });
1400
- }
1401
- function mergeAdjacentStyledTokens(tokens) {
1402
- return tokens.map((line) => {
1403
- const newLine = [];
1404
- for (const token of line) {
1405
- if (newLine.length === 0) {
1406
- newLine.push({ ...token });
1407
- continue;
1408
- }
1409
- const prevToken = newLine[newLine.length - 1];
1410
- const prevStyle = stringifyTokenStyle(prevToken.htmlStyle || getTokenStyleObject(prevToken));
1411
- const currentStyle = stringifyTokenStyle(token.htmlStyle || getTokenStyleObject(token));
1412
- const isPrevDecorated = prevToken.fontStyle && (prevToken.fontStyle & index$2.FontStyle.Underline || prevToken.fontStyle & index$2.FontStyle.Strikethrough);
1413
- const isDecorated = token.fontStyle && (token.fontStyle & index$2.FontStyle.Underline || token.fontStyle & index$2.FontStyle.Strikethrough);
1414
- if (!isPrevDecorated && !isDecorated && prevStyle === currentStyle) {
1415
- prevToken.content += token.content;
1416
- } else {
1417
- newLine.push({ ...token });
1418
- }
1419
- }
1420
- return newLine;
1421
- });
1422
- }
1423
- const hastToHtml = index$1.toHtml;
1424
- function codeToHtml(internal, code, options) {
1425
- const context = {
1426
- meta: {},
1427
- options,
1428
- codeToHast: (_code, _options) => codeToHast(internal, _code, _options),
1429
- codeToTokens: (_code, _options) => codeToTokens(internal, _code, _options)
1430
- };
1431
- let result = hastToHtml(codeToHast(internal, code, options, context));
1432
- for (const transformer of getTransformers(options))
1433
- result = transformer.postprocess?.call(context, result, options) || result;
1434
- return result;
1435
- }
1436
- const VSCODE_FALLBACK_EDITOR_FG = { light: "#333333", dark: "#bbbbbb" };
1437
- const VSCODE_FALLBACK_EDITOR_BG = { light: "#fffffe", dark: "#1e1e1e" };
1438
- const RESOLVED_KEY = "__shiki_resolved";
1439
- function normalizeTheme(rawTheme) {
1440
- if (rawTheme?.[RESOLVED_KEY])
1441
- return rawTheme;
1442
- const theme = {
1443
- ...rawTheme
1444
- };
1445
- if (theme.tokenColors && !theme.settings) {
1446
- theme.settings = theme.tokenColors;
1447
- delete theme.tokenColors;
1448
- }
1449
- theme.type || (theme.type = "dark");
1450
- theme.colorReplacements = { ...theme.colorReplacements };
1451
- theme.settings || (theme.settings = []);
1452
- let { bg, fg } = theme;
1453
- if (!bg || !fg) {
1454
- const globalSetting = theme.settings ? theme.settings.find((s) => !s.name && !s.scope) : void 0;
1455
- if (globalSetting?.settings?.foreground)
1456
- fg = globalSetting.settings.foreground;
1457
- if (globalSetting?.settings?.background)
1458
- bg = globalSetting.settings.background;
1459
- if (!fg && theme?.colors?.["editor.foreground"])
1460
- fg = theme.colors["editor.foreground"];
1461
- if (!bg && theme?.colors?.["editor.background"])
1462
- bg = theme.colors["editor.background"];
1463
- if (!fg)
1464
- fg = theme.type === "light" ? VSCODE_FALLBACK_EDITOR_FG.light : VSCODE_FALLBACK_EDITOR_FG.dark;
1465
- if (!bg)
1466
- bg = theme.type === "light" ? VSCODE_FALLBACK_EDITOR_BG.light : VSCODE_FALLBACK_EDITOR_BG.dark;
1467
- theme.fg = fg;
1468
- theme.bg = bg;
1469
- }
1470
- if (!(theme.settings[0] && theme.settings[0].settings && !theme.settings[0].scope)) {
1471
- theme.settings.unshift({
1472
- settings: {
1473
- foreground: theme.fg,
1474
- background: theme.bg
1475
- }
1476
- });
1477
- }
1478
- let replacementCount = 0;
1479
- const replacementMap = /* @__PURE__ */ new Map();
1480
- function getReplacementColor(value) {
1481
- if (replacementMap.has(value))
1482
- return replacementMap.get(value);
1483
- replacementCount += 1;
1484
- const hex = `#${replacementCount.toString(16).padStart(8, "0").toLowerCase()}`;
1485
- if (theme.colorReplacements?.[`#${hex}`])
1486
- return getReplacementColor(value);
1487
- replacementMap.set(value, hex);
1488
- return hex;
1489
- }
1490
- theme.settings = theme.settings.map((setting) => {
1491
- const replaceFg = setting.settings?.foreground && !setting.settings.foreground.startsWith("#");
1492
- const replaceBg = setting.settings?.background && !setting.settings.background.startsWith("#");
1493
- if (!replaceFg && !replaceBg)
1494
- return setting;
1495
- const clone = {
1496
- ...setting,
1497
- settings: {
1498
- ...setting.settings
1499
- }
1500
- };
1501
- if (replaceFg) {
1502
- const replacement = getReplacementColor(setting.settings.foreground);
1503
- theme.colorReplacements[replacement] = setting.settings.foreground;
1504
- clone.settings.foreground = replacement;
1505
- }
1506
- if (replaceBg) {
1507
- const replacement = getReplacementColor(setting.settings.background);
1508
- theme.colorReplacements[replacement] = setting.settings.background;
1509
- clone.settings.background = replacement;
1510
- }
1511
- return clone;
1512
- });
1513
- for (const key of Object.keys(theme.colors || {})) {
1514
- if (key === "editor.foreground" || key === "editor.background" || key.startsWith("terminal.ansi")) {
1515
- if (!theme.colors[key]?.startsWith("#")) {
1516
- const replacement = getReplacementColor(theme.colors[key]);
1517
- theme.colorReplacements[replacement] = theme.colors[key];
1518
- theme.colors[key] = replacement;
1519
- }
1520
- }
1521
- }
1522
- Object.defineProperty(theme, RESOLVED_KEY, {
1523
- enumerable: false,
1524
- writable: false,
1525
- value: true
1526
- });
1527
- return theme;
1528
- }
1529
- async function resolveLangs(langs) {
1530
- return Array.from(new Set((await Promise.all(
1531
- langs.filter((l) => !isSpecialLang(l)).map(async (lang) => await normalizeGetter(lang).then((r) => Array.isArray(r) ? r : [r]))
1532
- )).flat()));
1533
- }
1534
- async function resolveThemes(themes) {
1535
- const resolved = await Promise.all(
1536
- themes.map(
1537
- async (theme) => isSpecialTheme(theme) ? null : normalizeTheme(await normalizeGetter(theme))
1538
- )
1539
- );
1540
- return resolved.filter((i) => !!i);
1541
- }
1542
- let _emitDeprecation = 3;
1543
- function warnDeprecated(message, version = 3) {
1544
- if (version > _emitDeprecation)
1545
- return;
1546
- {
1547
- console.trace(`[SHIKI DEPRECATE]: ${message}`);
1548
- }
1549
- }
1550
- class ShikiError extends Error {
1551
- constructor(message) {
1552
- super(message);
1553
- this.name = "ShikiError";
1554
- }
1555
- }
1556
- class Registry extends index$2.Registry {
1557
- constructor(_resolver, _themes, _langs, _alias = {}) {
1558
- super(_resolver);
1559
- __publicField(this, "_resolvedThemes", /* @__PURE__ */ new Map());
1560
- __publicField(this, "_resolvedGrammars", /* @__PURE__ */ new Map());
1561
- __publicField(this, "_langMap", /* @__PURE__ */ new Map());
1562
- __publicField(this, "_langGraph", /* @__PURE__ */ new Map());
1563
- __publicField(this, "_textmateThemeCache", /* @__PURE__ */ new WeakMap());
1564
- __publicField(this, "_loadedThemesCache", null);
1565
- __publicField(this, "_loadedLanguagesCache", null);
1566
- this._resolver = _resolver;
1567
- this._themes = _themes;
1568
- this._langs = _langs;
1569
- this._alias = _alias;
1570
- this._themes.map((t) => this.loadTheme(t));
1571
- this.loadLanguages(this._langs);
1572
- }
1573
- getTheme(theme) {
1574
- if (typeof theme === "string")
1575
- return this._resolvedThemes.get(theme);
1576
- else
1577
- return this.loadTheme(theme);
1578
- }
1579
- loadTheme(theme) {
1580
- const _theme = normalizeTheme(theme);
1581
- if (_theme.name) {
1582
- this._resolvedThemes.set(_theme.name, _theme);
1583
- this._loadedThemesCache = null;
1584
- }
1585
- return _theme;
1586
- }
1587
- getLoadedThemes() {
1588
- if (!this._loadedThemesCache)
1589
- this._loadedThemesCache = [...this._resolvedThemes.keys()];
1590
- return this._loadedThemesCache;
1591
- }
1592
- // Override and re-implement this method to cache the textmate themes as `TextMateTheme.createFromRawTheme`
1593
- // is expensive. Themes can switch often especially for dual-theme support.
1594
- //
1595
- // The parent class also accepts `colorMap` as the second parameter, but since we don't use that,
1596
- // we omit here so it's easier to cache the themes.
1597
- setTheme(theme) {
1598
- let textmateTheme = this._textmateThemeCache.get(theme);
1599
- if (!textmateTheme) {
1600
- textmateTheme = index$2.Theme.createFromRawTheme(theme);
1601
- this._textmateThemeCache.set(theme, textmateTheme);
1602
- }
1603
- this._syncRegistry.setTheme(textmateTheme);
1604
- }
1605
- getGrammar(name) {
1606
- if (this._alias[name]) {
1607
- const resolved = /* @__PURE__ */ new Set([name]);
1608
- while (this._alias[name]) {
1609
- name = this._alias[name];
1610
- if (resolved.has(name))
1611
- throw new ShikiError(`Circular alias \`${Array.from(resolved).join(" -> ")} -> ${name}\``);
1612
- resolved.add(name);
1613
- }
1614
- }
1615
- return this._resolvedGrammars.get(name);
1616
- }
1617
- loadLanguage(lang) {
1618
- if (this.getGrammar(lang.name))
1619
- return;
1620
- const embeddedLazilyBy = new Set(
1621
- [...this._langMap.values()].filter((i) => i.embeddedLangsLazy?.includes(lang.name))
1622
- );
1623
- this._resolver.addLanguage(lang);
1624
- const grammarConfig = {
1625
- balancedBracketSelectors: lang.balancedBracketSelectors || ["*"],
1626
- unbalancedBracketSelectors: lang.unbalancedBracketSelectors || []
1627
- };
1628
- this._syncRegistry._rawGrammars.set(lang.scopeName, lang);
1629
- const g = this.loadGrammarWithConfiguration(lang.scopeName, 1, grammarConfig);
1630
- g.name = lang.name;
1631
- this._resolvedGrammars.set(lang.name, g);
1632
- if (lang.aliases) {
1633
- lang.aliases.forEach((alias) => {
1634
- this._alias[alias] = lang.name;
1635
- });
1636
- }
1637
- this._loadedLanguagesCache = null;
1638
- if (embeddedLazilyBy.size) {
1639
- for (const e of embeddedLazilyBy) {
1640
- this._resolvedGrammars.delete(e.name);
1641
- this._loadedLanguagesCache = null;
1642
- this._syncRegistry?._injectionGrammars?.delete(e.scopeName);
1643
- this._syncRegistry?._grammars?.delete(e.scopeName);
1644
- this.loadLanguage(this._langMap.get(e.name));
1645
- }
1646
- }
1647
- }
1648
- dispose() {
1649
- super.dispose();
1650
- this._resolvedThemes.clear();
1651
- this._resolvedGrammars.clear();
1652
- this._langMap.clear();
1653
- this._langGraph.clear();
1654
- this._loadedThemesCache = null;
1655
- }
1656
- loadLanguages(langs) {
1657
- for (const lang of langs)
1658
- this.resolveEmbeddedLanguages(lang);
1659
- const langsGraphArray = Array.from(this._langGraph.entries());
1660
- const missingLangs = langsGraphArray.filter(([_, lang]) => !lang);
1661
- if (missingLangs.length) {
1662
- const dependents = langsGraphArray.filter(([_, lang]) => lang && lang.embeddedLangs?.some((l) => missingLangs.map(([name]) => name).includes(l))).filter((lang) => !missingLangs.includes(lang));
1663
- throw new ShikiError(`Missing languages ${missingLangs.map(([name]) => `\`${name}\``).join(", ")}, required by ${dependents.map(([name]) => `\`${name}\``).join(", ")}`);
1664
- }
1665
- for (const [_, lang] of langsGraphArray)
1666
- this._resolver.addLanguage(lang);
1667
- for (const [_, lang] of langsGraphArray)
1668
- this.loadLanguage(lang);
1669
- }
1670
- getLoadedLanguages() {
1671
- if (!this._loadedLanguagesCache) {
1672
- this._loadedLanguagesCache = [
1673
- .../* @__PURE__ */ new Set([...this._resolvedGrammars.keys(), ...Object.keys(this._alias)])
1674
- ];
1675
- }
1676
- return this._loadedLanguagesCache;
1677
- }
1678
- resolveEmbeddedLanguages(lang) {
1679
- this._langMap.set(lang.name, lang);
1680
- this._langGraph.set(lang.name, lang);
1681
- if (lang.embeddedLangs) {
1682
- for (const embeddedLang of lang.embeddedLangs)
1683
- this._langGraph.set(embeddedLang, this._langMap.get(embeddedLang));
1684
- }
1685
- }
1686
- }
1687
- class Resolver {
1688
- constructor(engine, langs) {
1689
- __publicField(this, "_langs", /* @__PURE__ */ new Map());
1690
- __publicField(this, "_scopeToLang", /* @__PURE__ */ new Map());
1691
- __publicField(this, "_injections", /* @__PURE__ */ new Map());
1692
- __publicField(this, "_onigLib");
1693
- this._onigLib = {
1694
- createOnigScanner: (patterns) => engine.createScanner(patterns),
1695
- createOnigString: (s) => engine.createString(s)
1696
- };
1697
- langs.forEach((i) => this.addLanguage(i));
1698
- }
1699
- get onigLib() {
1700
- return this._onigLib;
1701
- }
1702
- getLangRegistration(langIdOrAlias) {
1703
- return this._langs.get(langIdOrAlias);
1704
- }
1705
- loadGrammar(scopeName) {
1706
- return this._scopeToLang.get(scopeName);
1707
- }
1708
- addLanguage(l) {
1709
- this._langs.set(l.name, l);
1710
- if (l.aliases) {
1711
- l.aliases.forEach((a) => {
1712
- this._langs.set(a, l);
1713
- });
1714
- }
1715
- this._scopeToLang.set(l.scopeName, l);
1716
- if (l.injectTo) {
1717
- l.injectTo.forEach((i) => {
1718
- if (!this._injections.get(i))
1719
- this._injections.set(i, []);
1720
- this._injections.get(i).push(l.scopeName);
1721
- });
1722
- }
1723
- }
1724
- getInjections(scopeName) {
1725
- const scopeParts = scopeName.split(".");
1726
- let injections = [];
1727
- for (let i = 1; i <= scopeParts.length; i++) {
1728
- const subScopeName = scopeParts.slice(0, i).join(".");
1729
- injections = [...injections, ...this._injections.get(subScopeName) || []];
1730
- }
1731
- return injections;
1732
- }
1733
- }
1734
- let instancesCount = 0;
1735
- function createShikiInternalSync(options) {
1736
- instancesCount += 1;
1737
- if (options.warnings !== false && instancesCount >= 10 && instancesCount % 10 === 0)
1738
- console.warn(`[Shiki] ${instancesCount} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);
1739
- let isDisposed = false;
1740
- if (!options.engine)
1741
- throw new ShikiError("`engine` option is required for synchronous mode");
1742
- const langs = (options.langs || []).flat(1);
1743
- const themes = (options.themes || []).flat(1).map(normalizeTheme);
1744
- const resolver = new Resolver(options.engine, langs);
1745
- const _registry = new Registry(resolver, themes, langs, options.langAlias);
1746
- let _lastTheme;
1747
- function getLanguage(name) {
1748
- ensureNotDisposed();
1749
- const _lang = _registry.getGrammar(typeof name === "string" ? name : name.name);
1750
- if (!_lang)
1751
- throw new ShikiError(`Language \`${name}\` not found, you may need to load it first`);
1752
- return _lang;
1753
- }
1754
- function getTheme(name) {
1755
- if (name === "none")
1756
- return { bg: "", fg: "", name: "none", settings: [], type: "dark" };
1757
- ensureNotDisposed();
1758
- const _theme = _registry.getTheme(name);
1759
- if (!_theme)
1760
- throw new ShikiError(`Theme \`${name}\` not found, you may need to load it first`);
1761
- return _theme;
1762
- }
1763
- function setTheme(name) {
1764
- ensureNotDisposed();
1765
- const theme = getTheme(name);
1766
- if (_lastTheme !== name) {
1767
- _registry.setTheme(theme);
1768
- _lastTheme = name;
1769
- }
1770
- const colorMap = _registry.getColorMap();
1771
- return {
1772
- theme,
1773
- colorMap
1774
- };
1775
- }
1776
- function getLoadedThemes() {
1777
- ensureNotDisposed();
1778
- return _registry.getLoadedThemes();
1779
- }
1780
- function getLoadedLanguages() {
1781
- ensureNotDisposed();
1782
- return _registry.getLoadedLanguages();
1783
- }
1784
- function loadLanguageSync(...langs2) {
1785
- ensureNotDisposed();
1786
- _registry.loadLanguages(langs2.flat(1));
1787
- }
1788
- async function loadLanguage(...langs2) {
1789
- return loadLanguageSync(await resolveLangs(langs2));
1790
- }
1791
- function loadThemeSync(...themes2) {
1792
- ensureNotDisposed();
1793
- for (const theme of themes2.flat(1)) {
1794
- _registry.loadTheme(theme);
1795
- }
1796
- }
1797
- async function loadTheme(...themes2) {
1798
- ensureNotDisposed();
1799
- return loadThemeSync(await resolveThemes(themes2));
1800
- }
1801
- function ensureNotDisposed() {
1802
- if (isDisposed)
1803
- throw new ShikiError("Shiki instance has been disposed");
1804
- }
1805
- function dispose() {
1806
- if (isDisposed)
1807
- return;
1808
- isDisposed = true;
1809
- _registry.dispose();
1810
- instancesCount -= 1;
1811
- }
1812
- return {
1813
- setTheme,
1814
- getTheme,
1815
- getLanguage,
1816
- getLoadedThemes,
1817
- getLoadedLanguages,
1818
- loadLanguage,
1819
- loadLanguageSync,
1820
- loadTheme,
1821
- loadThemeSync,
1822
- dispose,
1823
- [Symbol.dispose]: dispose
1824
- };
1825
- }
1826
- async function createShikiInternal(options) {
1827
- if (!options.engine) {
1828
- warnDeprecated("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");
1829
- }
1830
- const [
1831
- themes,
1832
- langs,
1833
- engine
1834
- ] = await Promise.all([
1835
- resolveThemes(options.themes || []),
1836
- resolveLangs(options.langs || []),
1837
- options.engine
1838
- ]);
1839
- return createShikiInternalSync({
1840
- ...options,
1841
- themes,
1842
- langs,
1843
- engine
1844
- });
1845
- }
1846
- async function createHighlighterCore(options) {
1847
- const internal = await createShikiInternal(options);
1848
- return {
1849
- getLastGrammarState: (...args) => getLastGrammarState(internal, ...args),
1850
- codeToTokensBase: (code, options2) => codeToTokensBase(internal, code, options2),
1851
- codeToTokensWithThemes: (code, options2) => codeToTokensWithThemes(internal, code, options2),
1852
- codeToTokens: (code, options2) => codeToTokens(internal, code, options2),
1853
- codeToHast: (code, options2) => codeToHast(internal, code, options2),
1854
- codeToHtml: (code, options2) => codeToHtml(internal, code, options2),
1855
- getBundledLanguages: () => ({}),
1856
- getBundledThemes: () => ({}),
1857
- ...internal,
1858
- getInternalContext: () => internal
1859
- };
1860
- }
1861
- function createdBundledHighlighter(options) {
1862
- const bundledLanguages = options.langs;
1863
- const bundledThemes = options.themes;
1864
- const engine = options.engine;
1865
- async function createHighlighter(options2) {
1866
- function resolveLang(lang) {
1867
- if (typeof lang === "string") {
1868
- if (isSpecialLang(lang))
1869
- return [];
1870
- lang = options2.langAlias?.[lang] || lang;
1871
- const bundle = bundledLanguages[lang];
1872
- if (!bundle)
1873
- throw new index.ShikiError(`Language \`${lang}\` is not included in this bundle. You may want to load it from external source.`);
1874
- return bundle;
1875
- }
1876
- return lang;
1877
- }
1878
- function resolveTheme(theme) {
1879
- if (isSpecialTheme(theme))
1880
- return "none";
1881
- if (typeof theme === "string") {
1882
- const bundle = bundledThemes[theme];
1883
- if (!bundle)
1884
- throw new index.ShikiError(`Theme \`${theme}\` is not included in this bundle. You may want to load it from external source.`);
1885
- return bundle;
1886
- }
1887
- return theme;
1888
- }
1889
- const _themes = (options2.themes ?? []).map((i) => resolveTheme(i));
1890
- const langs = (options2.langs ?? []).map((i) => resolveLang(i));
1891
- const core = await createHighlighterCore({
1892
- engine: options2.engine ?? engine(),
1893
- ...options2,
1894
- themes: _themes,
1895
- langs
1896
- });
1897
- return {
1898
- ...core,
1899
- loadLanguage(...langs2) {
1900
- return core.loadLanguage(...langs2.map(resolveLang));
1901
- },
1902
- loadTheme(...themes) {
1903
- return core.loadTheme(...themes.map(resolveTheme));
1904
- },
1905
- getBundledLanguages() {
1906
- return bundledLanguages;
1907
- },
1908
- getBundledThemes() {
1909
- return bundledThemes;
1910
- }
1911
- };
1912
- }
1913
- return createHighlighter;
1914
- }
1915
- exports.ShikiError = index.ShikiError;
1916
- exports.addClassToHast = addClassToHast;
1917
- exports.applyColorReplacements = applyColorReplacements;
1918
- exports.codeToHast = codeToHast;
1919
- exports.codeToHtml = codeToHtml;
1920
- exports.codeToTokens = codeToTokens;
1921
- exports.codeToTokensBase = codeToTokensBase;
1922
- exports.codeToTokensWithThemes = codeToTokensWithThemes;
1923
- exports.createHighlighterCore = createHighlighterCore;
1924
- exports.createPositionConverter = createPositionConverter;
1925
- exports.createShikiInternal = createShikiInternal;
1926
- exports.createShikiInternalSync = createShikiInternalSync;
1927
- exports.createdBundledHighlighter = createdBundledHighlighter;
1928
- exports.flatTokenVariants = flatTokenVariants;
1929
- exports.getTokenStyleObject = getTokenStyleObject;
1930
- exports.hastToHtml = hastToHtml;
1931
- exports.isNoneTheme = isNoneTheme;
1932
- exports.isPlainLang = isPlainLang;
1933
- exports.isSpecialLang = isSpecialLang;
1934
- exports.isSpecialTheme = isSpecialTheme;
1935
- exports.normalizeGetter = normalizeGetter;
1936
- exports.normalizeTheme = normalizeTheme;
1937
- exports.resolveColorReplacements = resolveColorReplacements;
1938
- exports.splitLines = splitLines;
1939
- exports.splitToken = splitToken;
1940
- exports.splitTokens = splitTokens;
1941
- exports.stringifyTokenStyle = stringifyTokenStyle;
1942
- exports.toArray = toArray;
1943
- exports.tokenizeAnsiWithTheme = tokenizeAnsiWithTheme;
1944
- exports.tokenizeWithTheme = tokenizeWithTheme;
1945
- exports.tokensToHast = tokensToHast;
1946
- exports.transformerDecorations = transformerDecorations;
1947
- exports.warnDeprecated = warnDeprecated;