@qwik.dev/devtools 0.1.1 → 0.2.0

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 (822) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -2
  3. package/dist/plugin/index.d.ts +7 -0
  4. package/dist/plugin/index.js +8659 -0
  5. package/dist/ui/_virtual/index.qwik.cjs +6 -0
  6. package/dist/ui/_virtual/index.qwik.mjs +7 -0
  7. package/dist/ui/components/DevtoolsButton/DevtoolsButton.qwik.cjs +87 -4
  8. package/dist/ui/components/DevtoolsButton/DevtoolsButton.qwik.mjs +88 -5
  9. package/dist/ui/components/DevtoolsPanel/DevtoolsPanel.qwik.cjs +7 -6
  10. package/dist/ui/components/DevtoolsPanel/DevtoolsPanel.qwik.mjs +8 -7
  11. package/dist/ui/components/Tab/Tab.qwik.cjs +2 -2
  12. package/dist/ui/components/Tab/Tab.qwik.mjs +2 -2
  13. package/dist/ui/components/TabContent/TabContent.qwik.cjs +2 -2
  14. package/dist/ui/components/TabContent/TabContent.qwik.mjs +2 -2
  15. package/dist/ui/components/ThemeToggle/ThemeToggle.qwik.cjs +64 -0
  16. package/dist/ui/components/ThemeToggle/ThemeToggle.qwik.mjs +64 -0
  17. package/dist/ui/components/ThemeToggle/themToggle.css.qwik.cjs +3 -0
  18. package/dist/ui/components/ThemeToggle/themToggle.css.qwik.mjs +4 -0
  19. package/dist/ui/components/ThemeToggle/theme-script.qwik.cjs +17 -0
  20. package/dist/ui/components/ThemeToggle/theme-script.qwik.mjs +17 -0
  21. package/dist/ui/components/Tree/Tree.qwik.cjs +126 -0
  22. package/dist/ui/components/Tree/Tree.qwik.mjs +126 -0
  23. package/dist/ui/components/Tree/filterVnode.qwik.cjs +66 -0
  24. package/dist/ui/components/Tree/filterVnode.qwik.mjs +66 -0
  25. package/dist/ui/components/Tree/type.qwik.cjs +4 -0
  26. package/dist/ui/components/Tree/type.qwik.mjs +4 -0
  27. package/dist/ui/components/Tree/vnode.qwik.cjs +24 -0
  28. package/dist/ui/components/Tree/vnode.qwik.mjs +24 -0
  29. package/dist/ui/components/router-head/theme-script.qwik.cjs +4 -0
  30. package/dist/ui/components/router-head/theme-script.qwik.mjs +4 -0
  31. package/dist/ui/devtools.qwik.cjs +159 -109
  32. package/dist/ui/devtools.qwik.mjs +161 -111
  33. package/dist/ui/features/Assets/Assets.qwik.cjs +4 -4
  34. package/dist/ui/features/Assets/Assets.qwik.mjs +4 -4
  35. package/dist/ui/features/Overview/Overview.qwik.cjs +46 -24
  36. package/dist/ui/features/Overview/Overview.qwik.mjs +47 -25
  37. package/dist/ui/features/Packages/Packages.qwik.cjs +5 -5
  38. package/dist/ui/features/Packages/Packages.qwik.mjs +5 -5
  39. package/dist/ui/features/Packages/components/InstallButton/InstallButton.qwik.cjs +2 -2
  40. package/dist/ui/features/Packages/components/InstallButton/InstallButton.qwik.mjs +2 -2
  41. package/dist/ui/features/RenderTree/RenderTree.qwik.cjs +332 -0
  42. package/dist/ui/features/RenderTree/RenderTree.qwik.mjs +332 -0
  43. package/dist/ui/features/RenderTree/data.qwik.cjs +28 -0
  44. package/dist/ui/features/RenderTree/data.qwik.mjs +28 -0
  45. package/dist/ui/features/RenderTree/formatTreeData.qwik.cjs +247 -0
  46. package/dist/ui/features/RenderTree/formatTreeData.qwik.mjs +247 -0
  47. package/dist/ui/features/RenderTree/transfromqseq.qwik.cjs +91 -0
  48. package/dist/ui/features/RenderTree/transfromqseq.qwik.mjs +91 -0
  49. package/dist/ui/features/Routes/Routes.qwik.cjs +8 -10
  50. package/dist/ui/features/Routes/Routes.qwik.mjs +8 -10
  51. package/dist/ui/features/inspect/Inspect.qwik.cjs +17 -0
  52. package/dist/ui/features/inspect/Inspect.qwik.mjs +17 -0
  53. package/dist/ui/features/inspect/constant.qwik.cjs +4 -0
  54. package/dist/ui/features/inspect/constant.qwik.mjs +4 -0
  55. package/dist/ui/global.css.qwik.cjs +1255 -1
  56. package/dist/ui/global.css.qwik.mjs +1255 -1
  57. package/dist/ui/lib-types/kit/src/constants.d.ts +15 -0
  58. package/dist/ui/lib-types/kit/src/index.d.ts +1 -0
  59. package/dist/ui/lib-types/kit/src/types.d.ts +22 -0
  60. package/dist/ui/lib-types/ui/src/components/DevtoolsButton/DevtoolsButton.d.ts +1 -1
  61. package/dist/ui/lib-types/ui/src/components/DevtoolsPanel/DevtoolsPanel.d.ts +1 -1
  62. package/dist/ui/lib-types/ui/src/components/Tab/Tab.d.ts +1 -1
  63. package/dist/ui/lib-types/ui/src/components/ThemeToggle/ThemeToggle.d.ts +5 -0
  64. package/dist/ui/lib-types/ui/src/components/ThemeToggle/theme-script.d.ts +1 -0
  65. package/dist/ui/lib-types/ui/src/components/Tree/Tree.d.ts +22 -0
  66. package/dist/ui/lib-types/ui/src/components/Tree/constant.d.ts +1 -0
  67. package/dist/ui/lib-types/ui/src/components/Tree/filterVnode.d.ts +3 -0
  68. package/dist/ui/lib-types/ui/src/components/Tree/type.d.ts +3 -0
  69. package/dist/ui/lib-types/ui/src/components/Tree/vnode.d.ts +3 -0
  70. package/dist/ui/lib-types/ui/src/components/router-head/theme-script.d.ts +1 -0
  71. package/dist/ui/lib-types/ui/src/entry.dev.d.ts +2 -2
  72. package/dist/ui/lib-types/ui/src/entry.ssr.d.ts +1 -1
  73. package/dist/ui/lib-types/ui/src/features/Assets/Assets.d.ts +1 -1
  74. package/dist/ui/lib-types/ui/src/features/Overview/Overview.d.ts +1 -1
  75. package/dist/ui/lib-types/ui/src/features/Packages/components/InstallButton/InstallButton.d.ts +2 -2
  76. package/dist/ui/lib-types/ui/src/features/RenderTree/RenderTree.d.ts +1 -0
  77. package/dist/ui/lib-types/ui/src/features/RenderTree/data.d.ts +4 -0
  78. package/dist/ui/lib-types/ui/src/features/RenderTree/formatTreeData.d.ts +148 -0
  79. package/dist/ui/lib-types/ui/src/features/RenderTree/transfromqseq.d.ts +7 -0
  80. package/dist/ui/lib-types/ui/src/features/Routes/Routes.d.ts +1 -1
  81. package/dist/ui/lib-types/ui/src/features/inspect/Inspect.d.ts +1 -0
  82. package/dist/ui/lib-types/ui/src/features/inspect/constant.d.ts +1 -0
  83. package/dist/ui/lib-types/ui/src/hooks/useDebouncer.d.ts +1 -1
  84. package/dist/ui/lib-types/ui/src/index.d.ts +1 -1
  85. package/dist/ui/lib-types/ui/src/types/state.d.ts +5 -4
  86. package/dist/ui/lib-types/ui/src/utils/heplerState.d.ts +2 -0
  87. package/dist/ui/lib-types/ui/src/utils/location.d.ts +1 -0
  88. package/dist/ui/lib-types/ui/src/utils/type.d.ts +2 -0
  89. 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 +34 -0
  90. 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.mjs +34 -0
  91. 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 +130 -0
  92. 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.mjs +130 -0
  93. package/dist/ui/node_modules/.pnpm/@shikijs_core@3.8.1/node_modules/@shikijs/core/dist/index.qwik.cjs +1947 -0
  94. package/dist/ui/node_modules/.pnpm/@shikijs_core@3.8.1/node_modules/@shikijs/core/dist/index.qwik.mjs +1947 -0
  95. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/index.qwik.cjs +439 -0
  96. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/index.qwik.mjs +439 -0
  97. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.qwik.cjs +10 -0
  98. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.qwik.mjs +10 -0
  99. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/abap.qwik.cjs +6 -0
  100. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/abap.qwik.mjs +7 -0
  101. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/actionscript-3.qwik.cjs +6 -0
  102. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/actionscript-3.qwik.mjs +7 -0
  103. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ada.qwik.cjs +6 -0
  104. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ada.qwik.mjs +7 -0
  105. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-expression.qwik.cjs +6 -0
  106. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-expression.qwik.mjs +7 -0
  107. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-html.qwik.cjs +16 -0
  108. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-html.qwik.mjs +17 -0
  109. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-style.qwik.cjs +8 -0
  110. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-style.qwik.mjs +9 -0
  111. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-template.qwik.cjs +10 -0
  112. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-template.qwik.mjs +11 -0
  113. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-let-declaration.qwik.cjs +8 -0
  114. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-let-declaration.qwik.mjs +9 -0
  115. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template-blocks.qwik.cjs +10 -0
  116. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template-blocks.qwik.mjs +11 -0
  117. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template.qwik.cjs +8 -0
  118. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template.qwik.mjs +9 -0
  119. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-ts.qwik.cjs +18 -0
  120. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-ts.qwik.mjs +19 -0
  121. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apache.qwik.cjs +6 -0
  122. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apache.qwik.mjs +7 -0
  123. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apex.qwik.cjs +6 -0
  124. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apex.qwik.mjs +7 -0
  125. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apl.qwik.cjs +16 -0
  126. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apl.qwik.mjs +17 -0
  127. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/applescript.qwik.cjs +6 -0
  128. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/applescript.qwik.mjs +7 -0
  129. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ara.qwik.cjs +6 -0
  130. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ara.qwik.mjs +7 -0
  131. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asciidoc.qwik.cjs +6 -0
  132. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asciidoc.qwik.mjs +7 -0
  133. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asm.qwik.cjs +6 -0
  134. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asm.qwik.mjs +7 -0
  135. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/astro.qwik.cjs +18 -0
  136. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/astro.qwik.mjs +19 -0
  137. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/awk.qwik.cjs +6 -0
  138. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/awk.qwik.mjs +7 -0
  139. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ballerina.qwik.cjs +6 -0
  140. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ballerina.qwik.mjs +7 -0
  141. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bat.qwik.cjs +6 -0
  142. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bat.qwik.mjs +7 -0
  143. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/beancount.qwik.cjs +6 -0
  144. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/beancount.qwik.mjs +7 -0
  145. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/berry.qwik.cjs +6 -0
  146. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/berry.qwik.mjs +7 -0
  147. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bibtex.qwik.cjs +6 -0
  148. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bibtex.qwik.mjs +7 -0
  149. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bicep.qwik.cjs +6 -0
  150. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bicep.qwik.mjs +7 -0
  151. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/blade.qwik.cjs +20 -0
  152. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/blade.qwik.mjs +21 -0
  153. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bsl.qwik.cjs +8 -0
  154. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bsl.qwik.mjs +9 -0
  155. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/c.qwik.cjs +6 -0
  156. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/c.qwik.mjs +7 -0
  157. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cadence.qwik.cjs +6 -0
  158. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cadence.qwik.mjs +7 -0
  159. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cairo.qwik.cjs +8 -0
  160. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cairo.qwik.mjs +9 -0
  161. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clarity.qwik.cjs +6 -0
  162. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clarity.qwik.mjs +7 -0
  163. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clojure.qwik.cjs +6 -0
  164. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clojure.qwik.mjs +7 -0
  165. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cmake.qwik.cjs +6 -0
  166. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cmake.qwik.mjs +7 -0
  167. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cobol.qwik.cjs +10 -0
  168. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cobol.qwik.mjs +11 -0
  169. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeowners.qwik.cjs +6 -0
  170. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeowners.qwik.mjs +7 -0
  171. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeql.qwik.cjs +6 -0
  172. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeql.qwik.mjs +7 -0
  173. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coffee.qwik.cjs +8 -0
  174. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coffee.qwik.mjs +9 -0
  175. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/common-lisp.qwik.cjs +6 -0
  176. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/common-lisp.qwik.mjs +7 -0
  177. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coq.qwik.cjs +6 -0
  178. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coq.qwik.mjs +7 -0
  179. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp-macro.qwik.cjs +12 -0
  180. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp-macro.qwik.mjs +13 -0
  181. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp.qwik.cjs +14 -0
  182. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp.qwik.mjs +15 -0
  183. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/crystal.qwik.cjs +18 -0
  184. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/crystal.qwik.mjs +19 -0
  185. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csharp.qwik.cjs +6 -0
  186. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csharp.qwik.mjs +7 -0
  187. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/css.qwik.cjs +6 -0
  188. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/css.qwik.mjs +7 -0
  189. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csv.qwik.cjs +6 -0
  190. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csv.qwik.mjs +7 -0
  191. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cue.qwik.cjs +6 -0
  192. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cue.qwik.mjs +7 -0
  193. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cypher.qwik.cjs +6 -0
  194. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cypher.qwik.mjs +7 -0
  195. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/d.qwik.cjs +6 -0
  196. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/d.qwik.mjs +7 -0
  197. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dart.qwik.cjs +6 -0
  198. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dart.qwik.mjs +7 -0
  199. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dax.qwik.cjs +6 -0
  200. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dax.qwik.mjs +7 -0
  201. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/desktop.qwik.cjs +6 -0
  202. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/desktop.qwik.mjs +7 -0
  203. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/diff.qwik.cjs +6 -0
  204. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/diff.qwik.mjs +7 -0
  205. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/docker.qwik.cjs +6 -0
  206. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/docker.qwik.mjs +7 -0
  207. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dotenv.qwik.cjs +6 -0
  208. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dotenv.qwik.mjs +7 -0
  209. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dream-maker.qwik.cjs +6 -0
  210. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dream-maker.qwik.mjs +7 -0
  211. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/edge.qwik.cjs +12 -0
  212. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/edge.qwik.mjs +13 -0
  213. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elixir.qwik.cjs +8 -0
  214. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elixir.qwik.mjs +9 -0
  215. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elm.qwik.cjs +8 -0
  216. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elm.qwik.mjs +9 -0
  217. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/emacs-lisp.qwik.cjs +6 -0
  218. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/emacs-lisp.qwik.mjs +7 -0
  219. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erb.qwik.cjs +10 -0
  220. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erb.qwik.mjs +11 -0
  221. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erlang.qwik.cjs +8 -0
  222. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erlang.qwik.mjs +9 -0
  223. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-css.qwik.cjs +12 -0
  224. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-css.qwik.mjs +13 -0
  225. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-glsl.qwik.cjs +12 -0
  226. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-glsl.qwik.mjs +13 -0
  227. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-html.qwik.cjs +12 -0
  228. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-html.qwik.mjs +13 -0
  229. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-sql.qwik.cjs +10 -0
  230. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-sql.qwik.mjs +11 -0
  231. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-xml.qwik.cjs +8 -0
  232. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-xml.qwik.mjs +9 -0
  233. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fennel.qwik.cjs +6 -0
  234. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fennel.qwik.mjs +7 -0
  235. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fish.qwik.cjs +6 -0
  236. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fish.qwik.mjs +7 -0
  237. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fluent.qwik.cjs +6 -0
  238. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fluent.qwik.mjs +7 -0
  239. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-fixed-form.qwik.cjs +8 -0
  240. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-fixed-form.qwik.mjs +9 -0
  241. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-free-form.qwik.cjs +6 -0
  242. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-free-form.qwik.mjs +7 -0
  243. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fsharp.qwik.cjs +8 -0
  244. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fsharp.qwik.mjs +9 -0
  245. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdresource.qwik.cjs +10 -0
  246. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdresource.qwik.mjs +11 -0
  247. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdscript.qwik.cjs +6 -0
  248. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdscript.qwik.mjs +7 -0
  249. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdshader.qwik.cjs +6 -0
  250. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdshader.qwik.mjs +7 -0
  251. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/genie.qwik.cjs +6 -0
  252. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/genie.qwik.mjs +7 -0
  253. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gherkin.qwik.cjs +6 -0
  254. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gherkin.qwik.mjs +7 -0
  255. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-commit.qwik.cjs +8 -0
  256. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-commit.qwik.mjs +9 -0
  257. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-rebase.qwik.cjs +8 -0
  258. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-rebase.qwik.mjs +9 -0
  259. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gleam.qwik.cjs +6 -0
  260. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gleam.qwik.mjs +7 -0
  261. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-js.qwik.cjs +14 -0
  262. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-js.qwik.mjs +15 -0
  263. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-ts.qwik.cjs +14 -0
  264. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-ts.qwik.mjs +15 -0
  265. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glsl.qwik.cjs +8 -0
  266. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glsl.qwik.mjs +9 -0
  267. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gnuplot.qwik.cjs +6 -0
  268. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gnuplot.qwik.mjs +7 -0
  269. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/go.qwik.cjs +6 -0
  270. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/go.qwik.mjs +7 -0
  271. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/graphql.qwik.cjs +14 -0
  272. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/graphql.qwik.mjs +15 -0
  273. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/groovy.qwik.cjs +6 -0
  274. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/groovy.qwik.mjs +7 -0
  275. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hack.qwik.cjs +10 -0
  276. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hack.qwik.mjs +11 -0
  277. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haml.qwik.cjs +10 -0
  278. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haml.qwik.mjs +11 -0
  279. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/handlebars.qwik.cjs +14 -0
  280. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/handlebars.qwik.mjs +15 -0
  281. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haskell.qwik.cjs +6 -0
  282. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haskell.qwik.mjs +7 -0
  283. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haxe.qwik.cjs +6 -0
  284. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haxe.qwik.mjs +7 -0
  285. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hcl.qwik.cjs +6 -0
  286. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hcl.qwik.mjs +7 -0
  287. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hjson.qwik.cjs +6 -0
  288. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hjson.qwik.mjs +7 -0
  289. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hlsl.qwik.cjs +6 -0
  290. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hlsl.qwik.mjs +7 -0
  291. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html-derivative.qwik.cjs +8 -0
  292. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html-derivative.qwik.mjs +9 -0
  293. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html.qwik.cjs +10 -0
  294. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html.qwik.mjs +11 -0
  295. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/http.qwik.cjs +14 -0
  296. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/http.qwik.mjs +15 -0
  297. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hxml.qwik.cjs +8 -0
  298. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hxml.qwik.mjs +9 -0
  299. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hy.qwik.cjs +6 -0
  300. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hy.qwik.mjs +7 -0
  301. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/imba.qwik.cjs +6 -0
  302. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/imba.qwik.mjs +7 -0
  303. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ini.qwik.cjs +6 -0
  304. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ini.qwik.mjs +7 -0
  305. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/java.qwik.cjs +6 -0
  306. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/java.qwik.mjs +7 -0
  307. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/javascript.qwik.cjs +6 -0
  308. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/javascript.qwik.mjs +7 -0
  309. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja-html.qwik.cjs +8 -0
  310. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja-html.qwik.mjs +9 -0
  311. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja.qwik.cjs +8 -0
  312. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja.qwik.mjs +9 -0
  313. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jison.qwik.cjs +8 -0
  314. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jison.qwik.mjs +9 -0
  315. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json.qwik.cjs +6 -0
  316. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json.qwik.mjs +7 -0
  317. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json5.qwik.cjs +6 -0
  318. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json5.qwik.mjs +7 -0
  319. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonc.qwik.cjs +6 -0
  320. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonc.qwik.mjs +7 -0
  321. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonl.qwik.cjs +6 -0
  322. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonl.qwik.mjs +7 -0
  323. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonnet.qwik.cjs +6 -0
  324. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonnet.qwik.mjs +7 -0
  325. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jssm.qwik.cjs +6 -0
  326. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jssm.qwik.mjs +7 -0
  327. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsx.qwik.cjs +6 -0
  328. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsx.qwik.mjs +7 -0
  329. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/julia.qwik.cjs +16 -0
  330. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/julia.qwik.mjs +17 -0
  331. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kotlin.qwik.cjs +6 -0
  332. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kotlin.qwik.mjs +7 -0
  333. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kusto.qwik.cjs +6 -0
  334. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kusto.qwik.mjs +7 -0
  335. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/latex.qwik.cjs +8 -0
  336. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/latex.qwik.mjs +9 -0
  337. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lean.qwik.cjs +6 -0
  338. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lean.qwik.mjs +7 -0
  339. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/less.qwik.cjs +6 -0
  340. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/less.qwik.mjs +7 -0
  341. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/liquid.qwik.cjs +14 -0
  342. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/liquid.qwik.mjs +15 -0
  343. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/llvm.qwik.cjs +6 -0
  344. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/llvm.qwik.mjs +7 -0
  345. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/log.qwik.cjs +6 -0
  346. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/log.qwik.mjs +7 -0
  347. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/logo.qwik.cjs +6 -0
  348. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/logo.qwik.mjs +7 -0
  349. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lua.qwik.cjs +8 -0
  350. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lua.qwik.mjs +9 -0
  351. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/luau.qwik.cjs +6 -0
  352. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/luau.qwik.mjs +7 -0
  353. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/make.qwik.cjs +6 -0
  354. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/make.qwik.mjs +7 -0
  355. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown-vue.qwik.cjs +6 -0
  356. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown-vue.qwik.mjs +7 -0
  357. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown.qwik.cjs +6 -0
  358. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown.qwik.mjs +7 -0
  359. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/marko.qwik.cjs +14 -0
  360. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/marko.qwik.mjs +15 -0
  361. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/matlab.qwik.cjs +6 -0
  362. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/matlab.qwik.mjs +7 -0
  363. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdc.qwik.cjs +12 -0
  364. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdc.qwik.mjs +13 -0
  365. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdx.qwik.cjs +6 -0
  366. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdx.qwik.mjs +7 -0
  367. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mermaid.qwik.cjs +6 -0
  368. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mermaid.qwik.mjs +7 -0
  369. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mipsasm.qwik.cjs +6 -0
  370. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mipsasm.qwik.mjs +7 -0
  371. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mojo.qwik.cjs +6 -0
  372. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mojo.qwik.mjs +7 -0
  373. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/move.qwik.cjs +6 -0
  374. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/move.qwik.mjs +7 -0
  375. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/narrat.qwik.cjs +6 -0
  376. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/narrat.qwik.mjs +7 -0
  377. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nextflow.qwik.cjs +6 -0
  378. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nextflow.qwik.mjs +7 -0
  379. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nginx.qwik.cjs +8 -0
  380. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nginx.qwik.mjs +9 -0
  381. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nim.qwik.cjs +20 -0
  382. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nim.qwik.mjs +21 -0
  383. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nix.qwik.cjs +6 -0
  384. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nix.qwik.mjs +7 -0
  385. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nushell.qwik.cjs +6 -0
  386. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nushell.qwik.mjs +7 -0
  387. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-c.qwik.cjs +6 -0
  388. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-c.qwik.mjs +7 -0
  389. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-cpp.qwik.cjs +6 -0
  390. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-cpp.qwik.mjs +7 -0
  391. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ocaml.qwik.cjs +6 -0
  392. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ocaml.qwik.mjs +7 -0
  393. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pascal.qwik.cjs +6 -0
  394. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pascal.qwik.mjs +7 -0
  395. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/perl.qwik.cjs +16 -0
  396. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/perl.qwik.mjs +17 -0
  397. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/php.qwik.cjs +18 -0
  398. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/php.qwik.mjs +19 -0
  399. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/plsql.qwik.cjs +6 -0
  400. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/plsql.qwik.mjs +7 -0
  401. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/po.qwik.cjs +6 -0
  402. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/po.qwik.mjs +7 -0
  403. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/polar.qwik.cjs +6 -0
  404. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/polar.qwik.mjs +7 -0
  405. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/postcss.qwik.cjs +6 -0
  406. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/postcss.qwik.mjs +7 -0
  407. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powerquery.qwik.cjs +6 -0
  408. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powerquery.qwik.mjs +7 -0
  409. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powershell.qwik.cjs +6 -0
  410. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powershell.qwik.mjs +7 -0
  411. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prisma.qwik.cjs +6 -0
  412. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prisma.qwik.mjs +7 -0
  413. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prolog.qwik.cjs +6 -0
  414. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prolog.qwik.mjs +7 -0
  415. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/proto.qwik.cjs +6 -0
  416. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/proto.qwik.mjs +7 -0
  417. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pug.qwik.cjs +12 -0
  418. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pug.qwik.mjs +13 -0
  419. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/puppet.qwik.cjs +6 -0
  420. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/puppet.qwik.mjs +7 -0
  421. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/purescript.qwik.cjs +6 -0
  422. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/purescript.qwik.mjs +7 -0
  423. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/python.qwik.cjs +6 -0
  424. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/python.qwik.mjs +7 -0
  425. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qml.qwik.cjs +8 -0
  426. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qml.qwik.mjs +9 -0
  427. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qmldir.qwik.cjs +6 -0
  428. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qmldir.qwik.mjs +7 -0
  429. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qss.qwik.cjs +6 -0
  430. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qss.qwik.mjs +7 -0
  431. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/r.qwik.cjs +6 -0
  432. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/r.qwik.mjs +7 -0
  433. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/racket.qwik.cjs +6 -0
  434. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/racket.qwik.mjs +7 -0
  435. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/raku.qwik.cjs +6 -0
  436. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/raku.qwik.mjs +7 -0
  437. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/razor.qwik.cjs +10 -0
  438. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/razor.qwik.mjs +11 -0
  439. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/reg.qwik.cjs +6 -0
  440. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/reg.qwik.mjs +7 -0
  441. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/regexp.qwik.cjs +6 -0
  442. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/regexp.qwik.mjs +7 -0
  443. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rel.qwik.cjs +6 -0
  444. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rel.qwik.mjs +7 -0
  445. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/riscv.qwik.cjs +6 -0
  446. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/riscv.qwik.mjs +7 -0
  447. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rst.qwik.cjs +22 -0
  448. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rst.qwik.mjs +23 -0
  449. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ruby.qwik.cjs +30 -0
  450. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ruby.qwik.mjs +31 -0
  451. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rust.qwik.cjs +6 -0
  452. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rust.qwik.mjs +7 -0
  453. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sas.qwik.cjs +8 -0
  454. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sas.qwik.mjs +9 -0
  455. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sass.qwik.cjs +6 -0
  456. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sass.qwik.mjs +7 -0
  457. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scala.qwik.cjs +6 -0
  458. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scala.qwik.mjs +7 -0
  459. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scheme.qwik.cjs +6 -0
  460. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scheme.qwik.mjs +7 -0
  461. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scss.qwik.cjs +8 -0
  462. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scss.qwik.mjs +9 -0
  463. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sdbl.qwik.cjs +6 -0
  464. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sdbl.qwik.mjs +7 -0
  465. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shaderlab.qwik.cjs +8 -0
  466. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shaderlab.qwik.mjs +9 -0
  467. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellscript.qwik.cjs +6 -0
  468. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellscript.qwik.mjs +7 -0
  469. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellsession.qwik.cjs +8 -0
  470. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellsession.qwik.mjs +9 -0
  471. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/smalltalk.qwik.cjs +6 -0
  472. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/smalltalk.qwik.mjs +7 -0
  473. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/solidity.qwik.cjs +6 -0
  474. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/solidity.qwik.mjs +7 -0
  475. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/soy.qwik.cjs +8 -0
  476. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/soy.qwik.mjs +9 -0
  477. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sparql.qwik.cjs +8 -0
  478. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sparql.qwik.mjs +9 -0
  479. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/splunk.qwik.cjs +6 -0
  480. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/splunk.qwik.mjs +7 -0
  481. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sql.qwik.cjs +6 -0
  482. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sql.qwik.mjs +7 -0
  483. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ssh-config.qwik.cjs +6 -0
  484. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ssh-config.qwik.mjs +7 -0
  485. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stata.qwik.cjs +8 -0
  486. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stata.qwik.mjs +9 -0
  487. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stylus.qwik.cjs +6 -0
  488. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stylus.qwik.mjs +7 -0
  489. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/svelte.qwik.cjs +14 -0
  490. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/svelte.qwik.mjs +15 -0
  491. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/swift.qwik.cjs +6 -0
  492. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/swift.qwik.mjs +7 -0
  493. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/system-verilog.qwik.cjs +6 -0
  494. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/system-verilog.qwik.mjs +7 -0
  495. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/systemd.qwik.cjs +6 -0
  496. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/systemd.qwik.mjs +7 -0
  497. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/talonscript.qwik.cjs +6 -0
  498. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/talonscript.qwik.mjs +7 -0
  499. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tasl.qwik.cjs +6 -0
  500. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tasl.qwik.mjs +7 -0
  501. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tcl.qwik.cjs +6 -0
  502. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tcl.qwik.mjs +7 -0
  503. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/templ.qwik.cjs +12 -0
  504. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/templ.qwik.mjs +13 -0
  505. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/terraform.qwik.cjs +6 -0
  506. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/terraform.qwik.mjs +7 -0
  507. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tex.qwik.cjs +8 -0
  508. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tex.qwik.mjs +9 -0
  509. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/toml.qwik.cjs +6 -0
  510. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/toml.qwik.mjs +7 -0
  511. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ts-tags.qwik.cjs +18 -0
  512. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ts-tags.qwik.mjs +19 -0
  513. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsv.qwik.cjs +6 -0
  514. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsv.qwik.mjs +7 -0
  515. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsx.qwik.cjs +6 -0
  516. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsx.qwik.mjs +7 -0
  517. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/turtle.qwik.cjs +6 -0
  518. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/turtle.qwik.mjs +7 -0
  519. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/twig.qwik.cjs +18 -0
  520. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/twig.qwik.mjs +19 -0
  521. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typescript.qwik.cjs +6 -0
  522. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typescript.qwik.mjs +7 -0
  523. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typespec.qwik.cjs +6 -0
  524. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typespec.qwik.mjs +7 -0
  525. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typst.qwik.cjs +6 -0
  526. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typst.qwik.mjs +7 -0
  527. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/v.qwik.cjs +6 -0
  528. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/v.qwik.mjs +7 -0
  529. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vala.qwik.cjs +6 -0
  530. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vala.qwik.mjs +7 -0
  531. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vb.qwik.cjs +6 -0
  532. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vb.qwik.mjs +7 -0
  533. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/verilog.qwik.cjs +6 -0
  534. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/verilog.qwik.mjs +7 -0
  535. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vhdl.qwik.cjs +6 -0
  536. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vhdl.qwik.mjs +7 -0
  537. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/viml.qwik.cjs +6 -0
  538. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/viml.qwik.mjs +7 -0
  539. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-directives.qwik.cjs +6 -0
  540. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-directives.qwik.mjs +7 -0
  541. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-html.qwik.cjs +10 -0
  542. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-html.qwik.mjs +11 -0
  543. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-interpolations.qwik.cjs +6 -0
  544. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-interpolations.qwik.mjs +7 -0
  545. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.qwik.cjs +8 -0
  546. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.qwik.mjs +9 -0
  547. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-vine.qwik.cjs +20 -0
  548. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-vine.qwik.mjs +21 -0
  549. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue.qwik.cjs +26 -0
  550. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue.qwik.mjs +27 -0
  551. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vyper.qwik.cjs +6 -0
  552. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vyper.qwik.mjs +7 -0
  553. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wasm.qwik.cjs +6 -0
  554. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wasm.qwik.mjs +7 -0
  555. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wenyan.qwik.cjs +6 -0
  556. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wenyan.qwik.mjs +7 -0
  557. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wgsl.qwik.cjs +6 -0
  558. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wgsl.qwik.mjs +7 -0
  559. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wikitext.qwik.cjs +6 -0
  560. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wikitext.qwik.mjs +7 -0
  561. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wit.qwik.cjs +6 -0
  562. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wit.qwik.mjs +7 -0
  563. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wolfram.qwik.cjs +6 -0
  564. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wolfram.qwik.mjs +7 -0
  565. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xml.qwik.cjs +8 -0
  566. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xml.qwik.mjs +9 -0
  567. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xsl.qwik.cjs +8 -0
  568. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xsl.qwik.mjs +9 -0
  569. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/yaml.qwik.cjs +6 -0
  570. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/yaml.qwik.mjs +7 -0
  571. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zenscript.qwik.cjs +6 -0
  572. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zenscript.qwik.mjs +7 -0
  573. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zig.qwik.cjs +6 -0
  574. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zig.qwik.mjs +7 -0
  575. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/andromeeda.qwik.cjs +3 -0
  576. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/andromeeda.qwik.mjs +4 -0
  577. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/aurora-x.qwik.cjs +3 -0
  578. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/aurora-x.qwik.mjs +4 -0
  579. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/ayu-dark.qwik.cjs +3 -0
  580. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/ayu-dark.qwik.mjs +4 -0
  581. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-frappe.qwik.cjs +3 -0
  582. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-frappe.qwik.mjs +4 -0
  583. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-latte.qwik.cjs +3 -0
  584. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-latte.qwik.mjs +4 -0
  585. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-macchiato.qwik.cjs +3 -0
  586. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-macchiato.qwik.mjs +4 -0
  587. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-mocha.qwik.cjs +3 -0
  588. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-mocha.qwik.mjs +4 -0
  589. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dark-plus.qwik.cjs +3 -0
  590. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dark-plus.qwik.mjs +4 -0
  591. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula-soft.qwik.cjs +3 -0
  592. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula-soft.qwik.mjs +4 -0
  593. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula.qwik.cjs +3 -0
  594. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula.qwik.mjs +4 -0
  595. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-dark.qwik.cjs +3 -0
  596. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-dark.qwik.mjs +4 -0
  597. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-light.qwik.cjs +3 -0
  598. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-light.qwik.mjs +4 -0
  599. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-default.qwik.cjs +3 -0
  600. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-default.qwik.mjs +4 -0
  601. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-dimmed.qwik.cjs +3 -0
  602. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-dimmed.qwik.mjs +4 -0
  603. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-high-contrast.qwik.cjs +3 -0
  604. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-high-contrast.qwik.mjs +4 -0
  605. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark.qwik.cjs +3 -0
  606. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark.qwik.mjs +4 -0
  607. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-default.qwik.cjs +3 -0
  608. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-default.qwik.mjs +4 -0
  609. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-high-contrast.qwik.cjs +3 -0
  610. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-high-contrast.qwik.mjs +4 -0
  611. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light.qwik.cjs +3 -0
  612. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light.qwik.mjs +4 -0
  613. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.qwik.cjs +3 -0
  614. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.qwik.mjs +4 -0
  615. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.qwik.cjs +3 -0
  616. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.qwik.mjs +4 -0
  617. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.qwik.cjs +3 -0
  618. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.qwik.mjs +4 -0
  619. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-hard.qwik.cjs +3 -0
  620. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-hard.qwik.mjs +4 -0
  621. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-medium.qwik.cjs +3 -0
  622. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-medium.qwik.mjs +4 -0
  623. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-soft.qwik.cjs +3 -0
  624. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-soft.qwik.mjs +4 -0
  625. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/houston.qwik.cjs +3 -0
  626. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/houston.qwik.mjs +4 -0
  627. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-dragon.qwik.cjs +3 -0
  628. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-dragon.qwik.mjs +4 -0
  629. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-lotus.qwik.cjs +3 -0
  630. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-lotus.qwik.mjs +4 -0
  631. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-wave.qwik.cjs +3 -0
  632. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-wave.qwik.mjs +4 -0
  633. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/laserwave.qwik.cjs +3 -0
  634. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/laserwave.qwik.mjs +4 -0
  635. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/light-plus.qwik.cjs +3 -0
  636. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/light-plus.qwik.mjs +4 -0
  637. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-darker.qwik.cjs +3 -0
  638. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-darker.qwik.mjs +4 -0
  639. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-lighter.qwik.cjs +3 -0
  640. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-lighter.qwik.mjs +4 -0
  641. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-ocean.qwik.cjs +3 -0
  642. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-ocean.qwik.mjs +4 -0
  643. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-palenight.qwik.cjs +3 -0
  644. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-palenight.qwik.mjs +4 -0
  645. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme.qwik.cjs +3 -0
  646. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme.qwik.mjs +4 -0
  647. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-dark.qwik.cjs +3 -0
  648. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-dark.qwik.mjs +4 -0
  649. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-light.qwik.cjs +3 -0
  650. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-light.qwik.mjs +4 -0
  651. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/monokai.qwik.cjs +3 -0
  652. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/monokai.qwik.mjs +4 -0
  653. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/night-owl.qwik.cjs +3 -0
  654. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/night-owl.qwik.mjs +4 -0
  655. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/nord.qwik.cjs +3 -0
  656. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/nord.qwik.mjs +4 -0
  657. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-dark-pro.qwik.cjs +3 -0
  658. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-dark-pro.qwik.mjs +4 -0
  659. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-light.qwik.cjs +3 -0
  660. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-light.qwik.mjs +4 -0
  661. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/plastic.qwik.cjs +3 -0
  662. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/plastic.qwik.mjs +4 -0
  663. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/poimandres.qwik.cjs +3 -0
  664. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/poimandres.qwik.mjs +4 -0
  665. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/red.qwik.cjs +3 -0
  666. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/red.qwik.mjs +4 -0
  667. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-dawn.qwik.cjs +3 -0
  668. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-dawn.qwik.mjs +4 -0
  669. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-moon.qwik.cjs +3 -0
  670. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-moon.qwik.mjs +4 -0
  671. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine.qwik.cjs +3 -0
  672. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine.qwik.mjs +4 -0
  673. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-dark.qwik.cjs +3 -0
  674. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-dark.qwik.mjs +4 -0
  675. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-ochin.qwik.cjs +3 -0
  676. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-ochin.qwik.mjs +4 -0
  677. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/snazzy-light.qwik.cjs +3 -0
  678. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/snazzy-light.qwik.mjs +4 -0
  679. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-dark.qwik.cjs +3 -0
  680. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-dark.qwik.mjs +4 -0
  681. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-light.qwik.cjs +3 -0
  682. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-light.qwik.mjs +4 -0
  683. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/synthwave-84.qwik.cjs +3 -0
  684. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/synthwave-84.qwik.mjs +4 -0
  685. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/tokyo-night.qwik.cjs +3 -0
  686. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/tokyo-night.qwik.mjs +4 -0
  687. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vesper.qwik.cjs +3 -0
  688. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vesper.qwik.mjs +4 -0
  689. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-black.qwik.cjs +3 -0
  690. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-black.qwik.mjs +4 -0
  691. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-dark.qwik.cjs +3 -0
  692. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-dark.qwik.mjs +4 -0
  693. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-light.qwik.cjs +3 -0
  694. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-light.qwik.mjs +4 -0
  695. package/dist/ui/node_modules/.pnpm/@shikijs_types@3.8.1/node_modules/@shikijs/types/dist/index.qwik.cjs +9 -0
  696. package/dist/ui/node_modules/.pnpm/@shikijs_types@3.8.1/node_modules/@shikijs/types/dist/index.qwik.mjs +9 -0
  697. package/dist/ui/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.qwik.cjs +3119 -0
  698. package/dist/ui/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.qwik.mjs +3119 -0
  699. package/dist/ui/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.cjs +54 -47
  700. package/dist/ui/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.mjs +54 -47
  701. package/dist/ui/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.cjs +137 -131
  702. package/dist/ui/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.mjs +137 -132
  703. package/dist/ui/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.qwik.cjs +16 -0
  704. package/dist/ui/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.qwik.mjs +16 -0
  705. package/dist/ui/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.qwik.cjs +257 -0
  706. package/dist/ui/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.qwik.mjs +257 -0
  707. package/dist/ui/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.qwik.cjs +111 -0
  708. package/dist/ui/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.qwik.mjs +111 -0
  709. package/dist/ui/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.qwik.cjs +10 -0
  710. package/dist/ui/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.qwik.mjs +10 -0
  711. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.qwik.cjs +23 -0
  712. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.qwik.mjs +23 -0
  713. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.qwik.cjs +6 -0
  714. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.qwik.mjs +6 -0
  715. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.qwik.cjs +136 -0
  716. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.qwik.mjs +136 -0
  717. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.qwik.cjs +25 -0
  718. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.qwik.mjs +25 -0
  719. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.qwik.cjs +7 -0
  720. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.qwik.mjs +7 -0
  721. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.qwik.cjs +6 -0
  722. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.qwik.mjs +6 -0
  723. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.qwik.cjs +13 -0
  724. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.qwik.mjs +13 -0
  725. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.cjs +61 -0
  726. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.mjs +61 -0
  727. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.qwik.cjs +91 -0
  728. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.qwik.mjs +91 -0
  729. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.qwik.cjs +10 -0
  730. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.qwik.mjs +10 -0
  731. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.qwik.cjs +49 -0
  732. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.qwik.mjs +49 -0
  733. 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 +23 -0
  734. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.qwik.mjs +23 -0
  735. package/dist/ui/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.qwik.cjs +10 -0
  736. package/dist/ui/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.qwik.mjs +10 -0
  737. package/dist/ui/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.qwik.cjs +25 -0
  738. package/dist/ui/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.qwik.mjs +25 -0
  739. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.cjs +1 -1
  740. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.mjs +1 -1
  741. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs +1 -1
  742. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs +1 -1
  743. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.qwik.cjs +13 -0
  744. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.qwik.mjs +13 -0
  745. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.qwik.cjs +61 -0
  746. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.qwik.mjs +61 -0
  747. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.qwik.cjs +40 -0
  748. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.qwik.mjs +40 -0
  749. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.qwik.cjs +368 -0
  750. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.qwik.mjs +368 -0
  751. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.qwik.cjs +6 -0
  752. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.qwik.mjs +6 -0
  753. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.qwik.cjs +566 -0
  754. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.qwik.mjs +566 -0
  755. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.qwik.cjs +7 -0
  756. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.qwik.mjs +7 -0
  757. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.qwik.cjs +6 -0
  758. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.qwik.mjs +6 -0
  759. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.qwik.cjs +25 -0
  760. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.qwik.mjs +25 -0
  761. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.qwik.cjs +41 -0
  762. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.qwik.mjs +41 -0
  763. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.qwik.cjs +29 -0
  764. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.qwik.mjs +29 -0
  765. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.qwik.cjs +13 -0
  766. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.qwik.mjs +13 -0
  767. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.qwik.cjs +25 -0
  768. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.qwik.mjs +25 -0
  769. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.qwik.cjs +20 -0
  770. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.qwik.mjs +20 -0
  771. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.qwik.cjs +19 -0
  772. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.qwik.mjs +19 -0
  773. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.qwik.cjs +11 -0
  774. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.qwik.mjs +11 -0
  775. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.qwik.cjs +11 -0
  776. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.qwik.mjs +11 -0
  777. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/bundle-full.qwik.cjs +45 -0
  778. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/bundle-full.qwik.mjs +48 -0
  779. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/langs.qwik.cjs +1341 -0
  780. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/langs.qwik.mjs +1340 -0
  781. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/themes.qwik.cjs +368 -0
  782. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/themes.qwik.mjs +367 -0
  783. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/wasm.qwik.cjs +6 -0
  784. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/wasm.qwik.mjs +6 -0
  785. package/dist/ui/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.qwik.cjs +6 -0
  786. package/dist/ui/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.qwik.mjs +6 -0
  787. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.qwik.cjs +13 -0
  788. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.qwik.mjs +13 -0
  789. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.qwik.cjs +51 -0
  790. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.qwik.mjs +51 -0
  791. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.qwik.cjs +8 -0
  792. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.qwik.mjs +8 -0
  793. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.qwik.cjs +25 -0
  794. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.qwik.mjs +25 -0
  795. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.qwik.cjs +8 -0
  796. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.qwik.mjs +8 -0
  797. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.qwik.cjs +8 -0
  798. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.qwik.mjs +8 -0
  799. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.qwik.cjs +27 -0
  800. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.qwik.mjs +27 -0
  801. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.mjs +4 -4
  802. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.mjs +1 -1
  803. package/dist/ui/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.qwik.cjs +22 -0
  804. package/dist/ui/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.qwik.mjs +22 -0
  805. package/dist/ui/packages/kit/src/client.qwik.mjs +1 -1
  806. package/dist/ui/packages/kit/src/constants.qwik.cjs +18 -0
  807. package/dist/ui/packages/kit/src/constants.qwik.mjs +19 -1
  808. package/dist/ui/packages/kit/src/context.qwik.mjs +1 -1
  809. package/dist/ui/utils/location.qwik.cjs +10 -0
  810. package/dist/ui/utils/location.qwik.mjs +10 -0
  811. package/dist/ui/utils/type.qwik.cjs +14 -0
  812. package/dist/ui/utils/type.qwik.mjs +14 -0
  813. package/package.json +15 -9
  814. package/dist/plugin/index.cjs +0 -10543
  815. package/dist/plugin/index.mjs +0 -10531
  816. package/dist/ui/lib-types/ui/src/features/Components/Components.d.ts +0 -1
  817. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +0 -60
  818. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +0 -60
  819. /package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__ → @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 -0
  820. /package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__ → @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.mjs +0 -0
  821. /package/dist/ui/node_modules/.pnpm/{vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_ → 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 -0
  822. /package/dist/ui/node_modules/.pnpm/{vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_ → 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.mjs +0 -0
@@ -0,0 +1,3119 @@
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
+ var _a, _b;
6
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
7
+ function clone(something) {
8
+ return doClone(something);
9
+ }
10
+ function doClone(something) {
11
+ if (Array.isArray(something)) {
12
+ return cloneArray(something);
13
+ }
14
+ if (something instanceof RegExp) {
15
+ return something;
16
+ }
17
+ if (typeof something === "object") {
18
+ return cloneObj(something);
19
+ }
20
+ return something;
21
+ }
22
+ function cloneArray(arr) {
23
+ let r = [];
24
+ for (let i = 0, len = arr.length; i < len; i++) {
25
+ r[i] = doClone(arr[i]);
26
+ }
27
+ return r;
28
+ }
29
+ function cloneObj(obj) {
30
+ let r = {};
31
+ for (let key in obj) {
32
+ r[key] = doClone(obj[key]);
33
+ }
34
+ return r;
35
+ }
36
+ function mergeObjects(target, ...sources) {
37
+ sources.forEach((source) => {
38
+ for (let key in source) {
39
+ target[key] = source[key];
40
+ }
41
+ });
42
+ return target;
43
+ }
44
+ function basename(path) {
45
+ const idx = ~path.lastIndexOf("/") || ~path.lastIndexOf("\\");
46
+ if (idx === 0) {
47
+ return path;
48
+ } else if (~idx === path.length - 1) {
49
+ return basename(path.substring(0, path.length - 1));
50
+ } else {
51
+ return path.substr(~idx + 1);
52
+ }
53
+ }
54
+ var CAPTURING_REGEX_SOURCE = /\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;
55
+ var RegexSource = class {
56
+ static hasCaptures(regexSource) {
57
+ if (regexSource === null) {
58
+ return false;
59
+ }
60
+ CAPTURING_REGEX_SOURCE.lastIndex = 0;
61
+ return CAPTURING_REGEX_SOURCE.test(regexSource);
62
+ }
63
+ static replaceCaptures(regexSource, captureSource, captureIndices) {
64
+ return regexSource.replace(CAPTURING_REGEX_SOURCE, (match, index, commandIndex, command) => {
65
+ let capture = captureIndices[parseInt(index || commandIndex, 10)];
66
+ if (capture) {
67
+ let result = captureSource.substring(capture.start, capture.end);
68
+ while (result[0] === ".") {
69
+ result = result.substring(1);
70
+ }
71
+ switch (command) {
72
+ case "downcase":
73
+ return result.toLowerCase();
74
+ case "upcase":
75
+ return result.toUpperCase();
76
+ default:
77
+ return result;
78
+ }
79
+ } else {
80
+ return match;
81
+ }
82
+ });
83
+ }
84
+ };
85
+ function strcmp(a, b) {
86
+ if (a < b) {
87
+ return -1;
88
+ }
89
+ if (a > b) {
90
+ return 1;
91
+ }
92
+ return 0;
93
+ }
94
+ function strArrCmp(a, b) {
95
+ if (a === null && b === null) {
96
+ return 0;
97
+ }
98
+ if (!a) {
99
+ return -1;
100
+ }
101
+ if (!b) {
102
+ return 1;
103
+ }
104
+ let len1 = a.length;
105
+ let len2 = b.length;
106
+ if (len1 === len2) {
107
+ for (let i = 0; i < len1; i++) {
108
+ let res = strcmp(a[i], b[i]);
109
+ if (res !== 0) {
110
+ return res;
111
+ }
112
+ }
113
+ return 0;
114
+ }
115
+ return len1 - len2;
116
+ }
117
+ function isValidHexColor(hex) {
118
+ if (/^#[0-9a-f]{6}$/i.test(hex)) {
119
+ return true;
120
+ }
121
+ if (/^#[0-9a-f]{8}$/i.test(hex)) {
122
+ return true;
123
+ }
124
+ if (/^#[0-9a-f]{3}$/i.test(hex)) {
125
+ return true;
126
+ }
127
+ if (/^#[0-9a-f]{4}$/i.test(hex)) {
128
+ return true;
129
+ }
130
+ return false;
131
+ }
132
+ function escapeRegExpCharacters(value) {
133
+ return value.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&");
134
+ }
135
+ var CachedFn = class {
136
+ constructor(fn) {
137
+ __publicField(this, "cache", /* @__PURE__ */ new Map());
138
+ this.fn = fn;
139
+ }
140
+ get(key) {
141
+ if (this.cache.has(key)) {
142
+ return this.cache.get(key);
143
+ }
144
+ const value = this.fn(key);
145
+ this.cache.set(key, value);
146
+ return value;
147
+ }
148
+ };
149
+ var Theme = class {
150
+ constructor(_colorMap, _defaults, _root) {
151
+ __publicField(this, "_cachedMatchRoot", new CachedFn(
152
+ (scopeName) => this._root.match(scopeName)
153
+ ));
154
+ this._colorMap = _colorMap;
155
+ this._defaults = _defaults;
156
+ this._root = _root;
157
+ }
158
+ static createFromRawTheme(source, colorMap) {
159
+ return this.createFromParsedTheme(parseTheme(source), colorMap);
160
+ }
161
+ static createFromParsedTheme(source, colorMap) {
162
+ return resolveParsedThemeRules(source, colorMap);
163
+ }
164
+ getColorMap() {
165
+ return this._colorMap.getColorMap();
166
+ }
167
+ getDefaults() {
168
+ return this._defaults;
169
+ }
170
+ match(scopePath) {
171
+ if (scopePath === null) {
172
+ return this._defaults;
173
+ }
174
+ const scopeName = scopePath.scopeName;
175
+ const matchingTrieElements = this._cachedMatchRoot.get(scopeName);
176
+ const effectiveRule = matchingTrieElements.find(
177
+ (v) => _scopePathMatchesParentScopes(scopePath.parent, v.parentScopes)
178
+ );
179
+ if (!effectiveRule) {
180
+ return null;
181
+ }
182
+ return new StyleAttributes(
183
+ effectiveRule.fontStyle,
184
+ effectiveRule.foreground,
185
+ effectiveRule.background
186
+ );
187
+ }
188
+ };
189
+ var ScopeStack = class _ScopeStack {
190
+ constructor(parent, scopeName) {
191
+ this.parent = parent;
192
+ this.scopeName = scopeName;
193
+ }
194
+ static push(path, scopeNames) {
195
+ for (const name of scopeNames) {
196
+ path = new _ScopeStack(path, name);
197
+ }
198
+ return path;
199
+ }
200
+ static from(...segments) {
201
+ let result = null;
202
+ for (let i = 0; i < segments.length; i++) {
203
+ result = new _ScopeStack(result, segments[i]);
204
+ }
205
+ return result;
206
+ }
207
+ push(scopeName) {
208
+ return new _ScopeStack(this, scopeName);
209
+ }
210
+ getSegments() {
211
+ let item = this;
212
+ const result = [];
213
+ while (item) {
214
+ result.push(item.scopeName);
215
+ item = item.parent;
216
+ }
217
+ result.reverse();
218
+ return result;
219
+ }
220
+ toString() {
221
+ return this.getSegments().join(" ");
222
+ }
223
+ extends(other) {
224
+ if (this === other) {
225
+ return true;
226
+ }
227
+ if (this.parent === null) {
228
+ return false;
229
+ }
230
+ return this.parent.extends(other);
231
+ }
232
+ getExtensionIfDefined(base) {
233
+ const result = [];
234
+ let item = this;
235
+ while (item && item !== base) {
236
+ result.push(item.scopeName);
237
+ item = item.parent;
238
+ }
239
+ return item === base ? result.reverse() : void 0;
240
+ }
241
+ };
242
+ function _scopePathMatchesParentScopes(scopePath, parentScopes) {
243
+ if (parentScopes.length === 0) {
244
+ return true;
245
+ }
246
+ for (let index = 0; index < parentScopes.length; index++) {
247
+ let scopePattern = parentScopes[index];
248
+ let scopeMustMatch = false;
249
+ if (scopePattern === ">") {
250
+ if (index === parentScopes.length - 1) {
251
+ return false;
252
+ }
253
+ scopePattern = parentScopes[++index];
254
+ scopeMustMatch = true;
255
+ }
256
+ while (scopePath) {
257
+ if (_matchesScope(scopePath.scopeName, scopePattern)) {
258
+ break;
259
+ }
260
+ if (scopeMustMatch) {
261
+ return false;
262
+ }
263
+ scopePath = scopePath.parent;
264
+ }
265
+ if (!scopePath) {
266
+ return false;
267
+ }
268
+ scopePath = scopePath.parent;
269
+ }
270
+ return true;
271
+ }
272
+ function _matchesScope(scopeName, scopePattern) {
273
+ return scopePattern === scopeName || scopeName.startsWith(scopePattern) && scopeName[scopePattern.length] === ".";
274
+ }
275
+ var StyleAttributes = class {
276
+ constructor(fontStyle, foregroundId, backgroundId) {
277
+ this.fontStyle = fontStyle;
278
+ this.foregroundId = foregroundId;
279
+ this.backgroundId = backgroundId;
280
+ }
281
+ };
282
+ function parseTheme(source) {
283
+ if (!source) {
284
+ return [];
285
+ }
286
+ if (!source.settings || !Array.isArray(source.settings)) {
287
+ return [];
288
+ }
289
+ let settings = source.settings;
290
+ let result = [], resultLen = 0;
291
+ for (let i = 0, len = settings.length; i < len; i++) {
292
+ let entry = settings[i];
293
+ if (!entry.settings) {
294
+ continue;
295
+ }
296
+ let scopes;
297
+ if (typeof entry.scope === "string") {
298
+ let _scope = entry.scope;
299
+ _scope = _scope.replace(/^[,]+/, "");
300
+ _scope = _scope.replace(/[,]+$/, "");
301
+ scopes = _scope.split(",");
302
+ } else if (Array.isArray(entry.scope)) {
303
+ scopes = entry.scope;
304
+ } else {
305
+ scopes = [""];
306
+ }
307
+ let fontStyle = -1;
308
+ if (typeof entry.settings.fontStyle === "string") {
309
+ fontStyle = 0;
310
+ let segments = entry.settings.fontStyle.split(" ");
311
+ for (let j = 0, lenJ = segments.length; j < lenJ; j++) {
312
+ let segment = segments[j];
313
+ switch (segment) {
314
+ case "italic":
315
+ fontStyle = fontStyle | 1;
316
+ break;
317
+ case "bold":
318
+ fontStyle = fontStyle | 2;
319
+ break;
320
+ case "underline":
321
+ fontStyle = fontStyle | 4;
322
+ break;
323
+ case "strikethrough":
324
+ fontStyle = fontStyle | 8;
325
+ break;
326
+ }
327
+ }
328
+ }
329
+ let foreground = null;
330
+ if (typeof entry.settings.foreground === "string" && isValidHexColor(entry.settings.foreground)) {
331
+ foreground = entry.settings.foreground;
332
+ }
333
+ let background = null;
334
+ if (typeof entry.settings.background === "string" && isValidHexColor(entry.settings.background)) {
335
+ background = entry.settings.background;
336
+ }
337
+ for (let j = 0, lenJ = scopes.length; j < lenJ; j++) {
338
+ let _scope = scopes[j].trim();
339
+ let segments = _scope.split(" ");
340
+ let scope = segments[segments.length - 1];
341
+ let parentScopes = null;
342
+ if (segments.length > 1) {
343
+ parentScopes = segments.slice(0, segments.length - 1);
344
+ parentScopes.reverse();
345
+ }
346
+ result[resultLen++] = new ParsedThemeRule(
347
+ scope,
348
+ parentScopes,
349
+ i,
350
+ fontStyle,
351
+ foreground,
352
+ background
353
+ );
354
+ }
355
+ }
356
+ return result;
357
+ }
358
+ var ParsedThemeRule = class {
359
+ constructor(scope, parentScopes, index, fontStyle, foreground, background) {
360
+ this.scope = scope;
361
+ this.parentScopes = parentScopes;
362
+ this.index = index;
363
+ this.fontStyle = fontStyle;
364
+ this.foreground = foreground;
365
+ this.background = background;
366
+ }
367
+ };
368
+ var FontStyle = /* @__PURE__ */ ((FontStyle2) => {
369
+ FontStyle2[FontStyle2["NotSet"] = -1] = "NotSet";
370
+ FontStyle2[FontStyle2["None"] = 0] = "None";
371
+ FontStyle2[FontStyle2["Italic"] = 1] = "Italic";
372
+ FontStyle2[FontStyle2["Bold"] = 2] = "Bold";
373
+ FontStyle2[FontStyle2["Underline"] = 4] = "Underline";
374
+ FontStyle2[FontStyle2["Strikethrough"] = 8] = "Strikethrough";
375
+ return FontStyle2;
376
+ })(FontStyle || {});
377
+ function resolveParsedThemeRules(parsedThemeRules, _colorMap) {
378
+ parsedThemeRules.sort((a, b) => {
379
+ let r = strcmp(a.scope, b.scope);
380
+ if (r !== 0) {
381
+ return r;
382
+ }
383
+ r = strArrCmp(a.parentScopes, b.parentScopes);
384
+ if (r !== 0) {
385
+ return r;
386
+ }
387
+ return a.index - b.index;
388
+ });
389
+ let defaultFontStyle = 0;
390
+ let defaultForeground = "#000000";
391
+ let defaultBackground = "#ffffff";
392
+ while (parsedThemeRules.length >= 1 && parsedThemeRules[0].scope === "") {
393
+ let incomingDefaults = parsedThemeRules.shift();
394
+ if (incomingDefaults.fontStyle !== -1) {
395
+ defaultFontStyle = incomingDefaults.fontStyle;
396
+ }
397
+ if (incomingDefaults.foreground !== null) {
398
+ defaultForeground = incomingDefaults.foreground;
399
+ }
400
+ if (incomingDefaults.background !== null) {
401
+ defaultBackground = incomingDefaults.background;
402
+ }
403
+ }
404
+ let colorMap = new ColorMap(_colorMap);
405
+ let defaults = new StyleAttributes(defaultFontStyle, colorMap.getId(defaultForeground), colorMap.getId(defaultBackground));
406
+ let root = new ThemeTrieElement(new ThemeTrieElementRule(0, null, -1, 0, 0), []);
407
+ for (let i = 0, len = parsedThemeRules.length; i < len; i++) {
408
+ let rule = parsedThemeRules[i];
409
+ root.insert(0, rule.scope, rule.parentScopes, rule.fontStyle, colorMap.getId(rule.foreground), colorMap.getId(rule.background));
410
+ }
411
+ return new Theme(colorMap, defaults, root);
412
+ }
413
+ var ColorMap = class {
414
+ constructor(_colorMap) {
415
+ __publicField(this, "_isFrozen");
416
+ __publicField(this, "_lastColorId");
417
+ __publicField(this, "_id2color");
418
+ __publicField(this, "_color2id");
419
+ this._lastColorId = 0;
420
+ this._id2color = [];
421
+ this._color2id = /* @__PURE__ */ Object.create(null);
422
+ if (Array.isArray(_colorMap)) {
423
+ this._isFrozen = true;
424
+ for (let i = 0, len = _colorMap.length; i < len; i++) {
425
+ this._color2id[_colorMap[i]] = i;
426
+ this._id2color[i] = _colorMap[i];
427
+ }
428
+ } else {
429
+ this._isFrozen = false;
430
+ }
431
+ }
432
+ getId(color) {
433
+ if (color === null) {
434
+ return 0;
435
+ }
436
+ color = color.toUpperCase();
437
+ let value = this._color2id[color];
438
+ if (value) {
439
+ return value;
440
+ }
441
+ if (this._isFrozen) {
442
+ throw new Error(`Missing color in color map - ${color}`);
443
+ }
444
+ value = ++this._lastColorId;
445
+ this._color2id[color] = value;
446
+ this._id2color[value] = color;
447
+ return value;
448
+ }
449
+ getColorMap() {
450
+ return this._id2color.slice(0);
451
+ }
452
+ };
453
+ var emptyParentScopes = Object.freeze([]);
454
+ var ThemeTrieElementRule = class _ThemeTrieElementRule {
455
+ constructor(scopeDepth, parentScopes, fontStyle, foreground, background) {
456
+ __publicField(this, "scopeDepth");
457
+ __publicField(this, "parentScopes");
458
+ __publicField(this, "fontStyle");
459
+ __publicField(this, "foreground");
460
+ __publicField(this, "background");
461
+ this.scopeDepth = scopeDepth;
462
+ this.parentScopes = parentScopes || emptyParentScopes;
463
+ this.fontStyle = fontStyle;
464
+ this.foreground = foreground;
465
+ this.background = background;
466
+ }
467
+ clone() {
468
+ return new _ThemeTrieElementRule(this.scopeDepth, this.parentScopes, this.fontStyle, this.foreground, this.background);
469
+ }
470
+ static cloneArr(arr) {
471
+ let r = [];
472
+ for (let i = 0, len = arr.length; i < len; i++) {
473
+ r[i] = arr[i].clone();
474
+ }
475
+ return r;
476
+ }
477
+ acceptOverwrite(scopeDepth, fontStyle, foreground, background) {
478
+ if (this.scopeDepth > scopeDepth) {
479
+ console.log("how did this happen?");
480
+ } else {
481
+ this.scopeDepth = scopeDepth;
482
+ }
483
+ if (fontStyle !== -1) {
484
+ this.fontStyle = fontStyle;
485
+ }
486
+ if (foreground !== 0) {
487
+ this.foreground = foreground;
488
+ }
489
+ if (background !== 0) {
490
+ this.background = background;
491
+ }
492
+ }
493
+ };
494
+ var ThemeTrieElement = class _ThemeTrieElement {
495
+ constructor(_mainRule, rulesWithParentScopes = [], _children = {}) {
496
+ __publicField(this, "_rulesWithParentScopes");
497
+ this._mainRule = _mainRule;
498
+ this._children = _children;
499
+ this._rulesWithParentScopes = rulesWithParentScopes;
500
+ }
501
+ static _cmpBySpecificity(a, b) {
502
+ if (a.scopeDepth !== b.scopeDepth) {
503
+ return b.scopeDepth - a.scopeDepth;
504
+ }
505
+ let aParentIndex = 0;
506
+ let bParentIndex = 0;
507
+ while (true) {
508
+ if (a.parentScopes[aParentIndex] === ">") {
509
+ aParentIndex++;
510
+ }
511
+ if (b.parentScopes[bParentIndex] === ">") {
512
+ bParentIndex++;
513
+ }
514
+ if (aParentIndex >= a.parentScopes.length || bParentIndex >= b.parentScopes.length) {
515
+ break;
516
+ }
517
+ const parentScopeLengthDiff = b.parentScopes[bParentIndex].length - a.parentScopes[aParentIndex].length;
518
+ if (parentScopeLengthDiff !== 0) {
519
+ return parentScopeLengthDiff;
520
+ }
521
+ aParentIndex++;
522
+ bParentIndex++;
523
+ }
524
+ return b.parentScopes.length - a.parentScopes.length;
525
+ }
526
+ match(scope) {
527
+ if (scope !== "") {
528
+ let dotIndex = scope.indexOf(".");
529
+ let head;
530
+ let tail;
531
+ if (dotIndex === -1) {
532
+ head = scope;
533
+ tail = "";
534
+ } else {
535
+ head = scope.substring(0, dotIndex);
536
+ tail = scope.substring(dotIndex + 1);
537
+ }
538
+ if (this._children.hasOwnProperty(head)) {
539
+ return this._children[head].match(tail);
540
+ }
541
+ }
542
+ const rules = this._rulesWithParentScopes.concat(this._mainRule);
543
+ rules.sort(_ThemeTrieElement._cmpBySpecificity);
544
+ return rules;
545
+ }
546
+ insert(scopeDepth, scope, parentScopes, fontStyle, foreground, background) {
547
+ if (scope === "") {
548
+ this._doInsertHere(scopeDepth, parentScopes, fontStyle, foreground, background);
549
+ return;
550
+ }
551
+ let dotIndex = scope.indexOf(".");
552
+ let head;
553
+ let tail;
554
+ if (dotIndex === -1) {
555
+ head = scope;
556
+ tail = "";
557
+ } else {
558
+ head = scope.substring(0, dotIndex);
559
+ tail = scope.substring(dotIndex + 1);
560
+ }
561
+ let child;
562
+ if (this._children.hasOwnProperty(head)) {
563
+ child = this._children[head];
564
+ } else {
565
+ child = new _ThemeTrieElement(this._mainRule.clone(), ThemeTrieElementRule.cloneArr(this._rulesWithParentScopes));
566
+ this._children[head] = child;
567
+ }
568
+ child.insert(scopeDepth + 1, tail, parentScopes, fontStyle, foreground, background);
569
+ }
570
+ _doInsertHere(scopeDepth, parentScopes, fontStyle, foreground, background) {
571
+ if (parentScopes === null) {
572
+ this._mainRule.acceptOverwrite(scopeDepth, fontStyle, foreground, background);
573
+ return;
574
+ }
575
+ for (let i = 0, len = this._rulesWithParentScopes.length; i < len; i++) {
576
+ let rule = this._rulesWithParentScopes[i];
577
+ if (strArrCmp(rule.parentScopes, parentScopes) === 0) {
578
+ rule.acceptOverwrite(scopeDepth, fontStyle, foreground, background);
579
+ return;
580
+ }
581
+ }
582
+ if (fontStyle === -1) {
583
+ fontStyle = this._mainRule.fontStyle;
584
+ }
585
+ if (foreground === 0) {
586
+ foreground = this._mainRule.foreground;
587
+ }
588
+ if (background === 0) {
589
+ background = this._mainRule.background;
590
+ }
591
+ this._rulesWithParentScopes.push(new ThemeTrieElementRule(scopeDepth, parentScopes, fontStyle, foreground, background));
592
+ }
593
+ };
594
+ var EncodedTokenMetadata = class _EncodedTokenMetadata {
595
+ static toBinaryStr(encodedTokenAttributes) {
596
+ return encodedTokenAttributes.toString(2).padStart(32, "0");
597
+ }
598
+ static print(encodedTokenAttributes) {
599
+ const languageId = _EncodedTokenMetadata.getLanguageId(encodedTokenAttributes);
600
+ const tokenType = _EncodedTokenMetadata.getTokenType(encodedTokenAttributes);
601
+ const fontStyle = _EncodedTokenMetadata.getFontStyle(encodedTokenAttributes);
602
+ const foreground = _EncodedTokenMetadata.getForeground(encodedTokenAttributes);
603
+ const background = _EncodedTokenMetadata.getBackground(encodedTokenAttributes);
604
+ console.log({
605
+ languageId,
606
+ tokenType,
607
+ fontStyle,
608
+ foreground,
609
+ background
610
+ });
611
+ }
612
+ static getLanguageId(encodedTokenAttributes) {
613
+ return (encodedTokenAttributes & 255) >>> 0;
614
+ }
615
+ static getTokenType(encodedTokenAttributes) {
616
+ return (encodedTokenAttributes & 768) >>> 8;
617
+ }
618
+ static containsBalancedBrackets(encodedTokenAttributes) {
619
+ return (encodedTokenAttributes & 1024) !== 0;
620
+ }
621
+ static getFontStyle(encodedTokenAttributes) {
622
+ return (encodedTokenAttributes & 30720) >>> 11;
623
+ }
624
+ static getForeground(encodedTokenAttributes) {
625
+ return (encodedTokenAttributes & 16744448) >>> 15;
626
+ }
627
+ static getBackground(encodedTokenAttributes) {
628
+ return (encodedTokenAttributes & 4278190080) >>> 24;
629
+ }
630
+ /**
631
+ * Updates the fields in `metadata`.
632
+ * A value of `0`, `NotSet` or `null` indicates that the corresponding field should be left as is.
633
+ */
634
+ static set(encodedTokenAttributes, languageId, tokenType, containsBalancedBrackets, fontStyle, foreground, background) {
635
+ let _languageId = _EncodedTokenMetadata.getLanguageId(encodedTokenAttributes);
636
+ let _tokenType = _EncodedTokenMetadata.getTokenType(encodedTokenAttributes);
637
+ let _containsBalancedBracketsBit = _EncodedTokenMetadata.containsBalancedBrackets(encodedTokenAttributes) ? 1 : 0;
638
+ let _fontStyle = _EncodedTokenMetadata.getFontStyle(encodedTokenAttributes);
639
+ let _foreground = _EncodedTokenMetadata.getForeground(encodedTokenAttributes);
640
+ let _background = _EncodedTokenMetadata.getBackground(encodedTokenAttributes);
641
+ if (languageId !== 0) {
642
+ _languageId = languageId;
643
+ }
644
+ if (tokenType !== 8) {
645
+ _tokenType = fromOptionalTokenType(tokenType);
646
+ }
647
+ if (containsBalancedBrackets !== null) {
648
+ _containsBalancedBracketsBit = containsBalancedBrackets ? 1 : 0;
649
+ }
650
+ if (fontStyle !== -1) {
651
+ _fontStyle = fontStyle;
652
+ }
653
+ if (foreground !== 0) {
654
+ _foreground = foreground;
655
+ }
656
+ if (background !== 0) {
657
+ _background = background;
658
+ }
659
+ return (_languageId << 0 | _tokenType << 8 | _containsBalancedBracketsBit << 10 | _fontStyle << 11 | _foreground << 15 | _background << 24) >>> 0;
660
+ }
661
+ };
662
+ function toOptionalTokenType(standardType) {
663
+ return standardType;
664
+ }
665
+ function fromOptionalTokenType(standardType) {
666
+ return standardType;
667
+ }
668
+ function createMatchers(selector, matchesName) {
669
+ const results = [];
670
+ const tokenizer = newTokenizer(selector);
671
+ let token = tokenizer.next();
672
+ while (token !== null) {
673
+ let priority = 0;
674
+ if (token.length === 2 && token.charAt(1) === ":") {
675
+ switch (token.charAt(0)) {
676
+ case "R":
677
+ priority = 1;
678
+ break;
679
+ case "L":
680
+ priority = -1;
681
+ break;
682
+ default:
683
+ console.log(`Unknown priority ${token} in scope selector`);
684
+ }
685
+ token = tokenizer.next();
686
+ }
687
+ let matcher = parseConjunction();
688
+ results.push({ matcher, priority });
689
+ if (token !== ",") {
690
+ break;
691
+ }
692
+ token = tokenizer.next();
693
+ }
694
+ return results;
695
+ function parseOperand() {
696
+ if (token === "-") {
697
+ token = tokenizer.next();
698
+ const expressionToNegate = parseOperand();
699
+ return (matcherInput) => !!expressionToNegate && !expressionToNegate(matcherInput);
700
+ }
701
+ if (token === "(") {
702
+ token = tokenizer.next();
703
+ const expressionInParents = parseInnerExpression();
704
+ if (token === ")") {
705
+ token = tokenizer.next();
706
+ }
707
+ return expressionInParents;
708
+ }
709
+ if (isIdentifier(token)) {
710
+ const identifiers = [];
711
+ do {
712
+ identifiers.push(token);
713
+ token = tokenizer.next();
714
+ } while (isIdentifier(token));
715
+ return (matcherInput) => matchesName(identifiers, matcherInput);
716
+ }
717
+ return null;
718
+ }
719
+ function parseConjunction() {
720
+ const matchers = [];
721
+ let matcher = parseOperand();
722
+ while (matcher) {
723
+ matchers.push(matcher);
724
+ matcher = parseOperand();
725
+ }
726
+ return (matcherInput) => matchers.every((matcher2) => matcher2(matcherInput));
727
+ }
728
+ function parseInnerExpression() {
729
+ const matchers = [];
730
+ let matcher = parseConjunction();
731
+ while (matcher) {
732
+ matchers.push(matcher);
733
+ if (token === "|" || token === ",") {
734
+ do {
735
+ token = tokenizer.next();
736
+ } while (token === "|" || token === ",");
737
+ } else {
738
+ break;
739
+ }
740
+ matcher = parseConjunction();
741
+ }
742
+ return (matcherInput) => matchers.some((matcher2) => matcher2(matcherInput));
743
+ }
744
+ }
745
+ function isIdentifier(token) {
746
+ return !!token && !!token.match(/[\w\.:]+/);
747
+ }
748
+ function newTokenizer(input) {
749
+ let regex = /([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g;
750
+ let match = regex.exec(input);
751
+ return {
752
+ next: () => {
753
+ if (!match) {
754
+ return null;
755
+ }
756
+ const res = match[0];
757
+ match = regex.exec(input);
758
+ return res;
759
+ }
760
+ };
761
+ }
762
+ function disposeOnigString(str) {
763
+ if (typeof str.dispose === "function") {
764
+ str.dispose();
765
+ }
766
+ }
767
+ var TopLevelRuleReference = class {
768
+ constructor(scopeName) {
769
+ this.scopeName = scopeName;
770
+ }
771
+ toKey() {
772
+ return this.scopeName;
773
+ }
774
+ };
775
+ var TopLevelRepositoryRuleReference = class {
776
+ constructor(scopeName, ruleName) {
777
+ this.scopeName = scopeName;
778
+ this.ruleName = ruleName;
779
+ }
780
+ toKey() {
781
+ return `${this.scopeName}#${this.ruleName}`;
782
+ }
783
+ };
784
+ var ExternalReferenceCollector = class {
785
+ constructor() {
786
+ __publicField(this, "_references", []);
787
+ __publicField(this, "_seenReferenceKeys", /* @__PURE__ */ new Set());
788
+ __publicField(this, "visitedRule", /* @__PURE__ */ new Set());
789
+ }
790
+ get references() {
791
+ return this._references;
792
+ }
793
+ add(reference) {
794
+ const key = reference.toKey();
795
+ if (this._seenReferenceKeys.has(key)) {
796
+ return;
797
+ }
798
+ this._seenReferenceKeys.add(key);
799
+ this._references.push(reference);
800
+ }
801
+ };
802
+ var ScopeDependencyProcessor = class {
803
+ constructor(repo, initialScopeName) {
804
+ __publicField(this, "seenFullScopeRequests", /* @__PURE__ */ new Set());
805
+ __publicField(this, "seenPartialScopeRequests", /* @__PURE__ */ new Set());
806
+ __publicField(this, "Q");
807
+ this.repo = repo;
808
+ this.initialScopeName = initialScopeName;
809
+ this.seenFullScopeRequests.add(this.initialScopeName);
810
+ this.Q = [new TopLevelRuleReference(this.initialScopeName)];
811
+ }
812
+ processQueue() {
813
+ const q = this.Q;
814
+ this.Q = [];
815
+ const deps = new ExternalReferenceCollector();
816
+ for (const dep of q) {
817
+ collectReferencesOfReference(dep, this.initialScopeName, this.repo, deps);
818
+ }
819
+ for (const dep of deps.references) {
820
+ if (dep instanceof TopLevelRuleReference) {
821
+ if (this.seenFullScopeRequests.has(dep.scopeName)) {
822
+ continue;
823
+ }
824
+ this.seenFullScopeRequests.add(dep.scopeName);
825
+ this.Q.push(dep);
826
+ } else {
827
+ if (this.seenFullScopeRequests.has(dep.scopeName)) {
828
+ continue;
829
+ }
830
+ if (this.seenPartialScopeRequests.has(dep.toKey())) {
831
+ continue;
832
+ }
833
+ this.seenPartialScopeRequests.add(dep.toKey());
834
+ this.Q.push(dep);
835
+ }
836
+ }
837
+ }
838
+ };
839
+ function collectReferencesOfReference(reference, baseGrammarScopeName, repo, result) {
840
+ const selfGrammar = repo.lookup(reference.scopeName);
841
+ if (!selfGrammar) {
842
+ if (reference.scopeName === baseGrammarScopeName) {
843
+ throw new Error(`No grammar provided for <${baseGrammarScopeName}>`);
844
+ }
845
+ return;
846
+ }
847
+ const baseGrammar = repo.lookup(baseGrammarScopeName);
848
+ if (reference instanceof TopLevelRuleReference) {
849
+ collectExternalReferencesInTopLevelRule({ baseGrammar, selfGrammar }, result);
850
+ } else {
851
+ collectExternalReferencesInTopLevelRepositoryRule(
852
+ reference.ruleName,
853
+ { baseGrammar, selfGrammar, repository: selfGrammar.repository },
854
+ result
855
+ );
856
+ }
857
+ const injections = repo.injections(reference.scopeName);
858
+ if (injections) {
859
+ for (const injection of injections) {
860
+ result.add(new TopLevelRuleReference(injection));
861
+ }
862
+ }
863
+ }
864
+ function collectExternalReferencesInTopLevelRepositoryRule(ruleName, context, result) {
865
+ if (context.repository && context.repository[ruleName]) {
866
+ const rule = context.repository[ruleName];
867
+ collectExternalReferencesInRules([rule], context, result);
868
+ }
869
+ }
870
+ function collectExternalReferencesInTopLevelRule(context, result) {
871
+ if (context.selfGrammar.patterns && Array.isArray(context.selfGrammar.patterns)) {
872
+ collectExternalReferencesInRules(
873
+ context.selfGrammar.patterns,
874
+ { ...context, repository: context.selfGrammar.repository },
875
+ result
876
+ );
877
+ }
878
+ if (context.selfGrammar.injections) {
879
+ collectExternalReferencesInRules(
880
+ Object.values(context.selfGrammar.injections),
881
+ { ...context, repository: context.selfGrammar.repository },
882
+ result
883
+ );
884
+ }
885
+ }
886
+ function collectExternalReferencesInRules(rules, context, result) {
887
+ for (const rule of rules) {
888
+ if (result.visitedRule.has(rule)) {
889
+ continue;
890
+ }
891
+ result.visitedRule.add(rule);
892
+ const patternRepository = rule.repository ? mergeObjects({}, context.repository, rule.repository) : context.repository;
893
+ if (Array.isArray(rule.patterns)) {
894
+ collectExternalReferencesInRules(rule.patterns, { ...context, repository: patternRepository }, result);
895
+ }
896
+ const include = rule.include;
897
+ if (!include) {
898
+ continue;
899
+ }
900
+ const reference = parseInclude(include);
901
+ switch (reference.kind) {
902
+ case 0:
903
+ collectExternalReferencesInTopLevelRule({ ...context, selfGrammar: context.baseGrammar }, result);
904
+ break;
905
+ case 1:
906
+ collectExternalReferencesInTopLevelRule(context, result);
907
+ break;
908
+ case 2:
909
+ collectExternalReferencesInTopLevelRepositoryRule(reference.ruleName, { ...context, repository: patternRepository }, result);
910
+ break;
911
+ case 3:
912
+ case 4:
913
+ const selfGrammar = reference.scopeName === context.selfGrammar.scopeName ? context.selfGrammar : reference.scopeName === context.baseGrammar.scopeName ? context.baseGrammar : void 0;
914
+ if (selfGrammar) {
915
+ const newContext = { baseGrammar: context.baseGrammar, selfGrammar, repository: patternRepository };
916
+ if (reference.kind === 4) {
917
+ collectExternalReferencesInTopLevelRepositoryRule(reference.ruleName, newContext, result);
918
+ } else {
919
+ collectExternalReferencesInTopLevelRule(newContext, result);
920
+ }
921
+ } else {
922
+ if (reference.kind === 4) {
923
+ result.add(new TopLevelRepositoryRuleReference(reference.scopeName, reference.ruleName));
924
+ } else {
925
+ result.add(new TopLevelRuleReference(reference.scopeName));
926
+ }
927
+ }
928
+ break;
929
+ }
930
+ }
931
+ }
932
+ var BaseReference = class {
933
+ constructor() {
934
+ __publicField(this, "kind", 0);
935
+ }
936
+ };
937
+ var SelfReference = class {
938
+ constructor() {
939
+ __publicField(this, "kind", 1);
940
+ }
941
+ };
942
+ var RelativeReference = class {
943
+ constructor(ruleName) {
944
+ __publicField(this, "kind", 2);
945
+ this.ruleName = ruleName;
946
+ }
947
+ };
948
+ var TopLevelReference = class {
949
+ constructor(scopeName) {
950
+ __publicField(this, "kind", 3);
951
+ this.scopeName = scopeName;
952
+ }
953
+ };
954
+ var TopLevelRepositoryReference = class {
955
+ constructor(scopeName, ruleName) {
956
+ __publicField(this, "kind", 4);
957
+ this.scopeName = scopeName;
958
+ this.ruleName = ruleName;
959
+ }
960
+ };
961
+ function parseInclude(include) {
962
+ if (include === "$base") {
963
+ return new BaseReference();
964
+ } else if (include === "$self") {
965
+ return new SelfReference();
966
+ }
967
+ const indexOfSharp = include.indexOf("#");
968
+ if (indexOfSharp === -1) {
969
+ return new TopLevelReference(include);
970
+ } else if (indexOfSharp === 0) {
971
+ return new RelativeReference(include.substring(1));
972
+ } else {
973
+ const scopeName = include.substring(0, indexOfSharp);
974
+ const ruleName = include.substring(indexOfSharp + 1);
975
+ return new TopLevelRepositoryReference(scopeName, ruleName);
976
+ }
977
+ }
978
+ var HAS_BACK_REFERENCES = /\\(\d+)/;
979
+ var BACK_REFERENCING_END = /\\(\d+)/g;
980
+ var endRuleId = -1;
981
+ var whileRuleId = -2;
982
+ function ruleIdFromNumber(id) {
983
+ return id;
984
+ }
985
+ function ruleIdToNumber(id) {
986
+ return id;
987
+ }
988
+ var Rule = class {
989
+ constructor($location, id, name, contentName) {
990
+ __publicField(this, "$location");
991
+ __publicField(this, "id");
992
+ __publicField(this, "_nameIsCapturing");
993
+ __publicField(this, "_name");
994
+ __publicField(this, "_contentNameIsCapturing");
995
+ __publicField(this, "_contentName");
996
+ this.$location = $location;
997
+ this.id = id;
998
+ this._name = name || null;
999
+ this._nameIsCapturing = RegexSource.hasCaptures(this._name);
1000
+ this._contentName = contentName || null;
1001
+ this._contentNameIsCapturing = RegexSource.hasCaptures(this._contentName);
1002
+ }
1003
+ get debugName() {
1004
+ const location = this.$location ? `${basename(this.$location.filename)}:${this.$location.line}` : "unknown";
1005
+ return `${this.constructor.name}#${this.id} @ ${location}`;
1006
+ }
1007
+ getName(lineText, captureIndices) {
1008
+ if (!this._nameIsCapturing || this._name === null || lineText === null || captureIndices === null) {
1009
+ return this._name;
1010
+ }
1011
+ return RegexSource.replaceCaptures(this._name, lineText, captureIndices);
1012
+ }
1013
+ getContentName(lineText, captureIndices) {
1014
+ if (!this._contentNameIsCapturing || this._contentName === null) {
1015
+ return this._contentName;
1016
+ }
1017
+ return RegexSource.replaceCaptures(this._contentName, lineText, captureIndices);
1018
+ }
1019
+ };
1020
+ var CaptureRule = class extends Rule {
1021
+ constructor($location, id, name, contentName, retokenizeCapturedWithRuleId) {
1022
+ super($location, id, name, contentName);
1023
+ __publicField(this, "retokenizeCapturedWithRuleId");
1024
+ this.retokenizeCapturedWithRuleId = retokenizeCapturedWithRuleId;
1025
+ }
1026
+ dispose() {
1027
+ }
1028
+ collectPatterns(grammar, out) {
1029
+ throw new Error("Not supported!");
1030
+ }
1031
+ compile(grammar, endRegexSource) {
1032
+ throw new Error("Not supported!");
1033
+ }
1034
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1035
+ throw new Error("Not supported!");
1036
+ }
1037
+ };
1038
+ var MatchRule = class extends Rule {
1039
+ constructor($location, id, name, match, captures) {
1040
+ super($location, id, name, null);
1041
+ __publicField(this, "_match");
1042
+ __publicField(this, "captures");
1043
+ __publicField(this, "_cachedCompiledPatterns");
1044
+ this._match = new RegExpSource(match, this.id);
1045
+ this.captures = captures;
1046
+ this._cachedCompiledPatterns = null;
1047
+ }
1048
+ dispose() {
1049
+ if (this._cachedCompiledPatterns) {
1050
+ this._cachedCompiledPatterns.dispose();
1051
+ this._cachedCompiledPatterns = null;
1052
+ }
1053
+ }
1054
+ get debugMatchRegExp() {
1055
+ return `${this._match.source}`;
1056
+ }
1057
+ collectPatterns(grammar, out) {
1058
+ out.push(this._match);
1059
+ }
1060
+ compile(grammar, endRegexSource) {
1061
+ return this._getCachedCompiledPatterns(grammar).compile(grammar);
1062
+ }
1063
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1064
+ return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
1065
+ }
1066
+ _getCachedCompiledPatterns(grammar) {
1067
+ if (!this._cachedCompiledPatterns) {
1068
+ this._cachedCompiledPatterns = new RegExpSourceList();
1069
+ this.collectPatterns(grammar, this._cachedCompiledPatterns);
1070
+ }
1071
+ return this._cachedCompiledPatterns;
1072
+ }
1073
+ };
1074
+ var IncludeOnlyRule = class extends Rule {
1075
+ constructor($location, id, name, contentName, patterns) {
1076
+ super($location, id, name, contentName);
1077
+ __publicField(this, "hasMissingPatterns");
1078
+ __publicField(this, "patterns");
1079
+ __publicField(this, "_cachedCompiledPatterns");
1080
+ this.patterns = patterns.patterns;
1081
+ this.hasMissingPatterns = patterns.hasMissingPatterns;
1082
+ this._cachedCompiledPatterns = null;
1083
+ }
1084
+ dispose() {
1085
+ if (this._cachedCompiledPatterns) {
1086
+ this._cachedCompiledPatterns.dispose();
1087
+ this._cachedCompiledPatterns = null;
1088
+ }
1089
+ }
1090
+ collectPatterns(grammar, out) {
1091
+ for (const pattern of this.patterns) {
1092
+ const rule = grammar.getRule(pattern);
1093
+ rule.collectPatterns(grammar, out);
1094
+ }
1095
+ }
1096
+ compile(grammar, endRegexSource) {
1097
+ return this._getCachedCompiledPatterns(grammar).compile(grammar);
1098
+ }
1099
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1100
+ return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
1101
+ }
1102
+ _getCachedCompiledPatterns(grammar) {
1103
+ if (!this._cachedCompiledPatterns) {
1104
+ this._cachedCompiledPatterns = new RegExpSourceList();
1105
+ this.collectPatterns(grammar, this._cachedCompiledPatterns);
1106
+ }
1107
+ return this._cachedCompiledPatterns;
1108
+ }
1109
+ };
1110
+ var BeginEndRule = class extends Rule {
1111
+ constructor($location, id, name, contentName, begin, beginCaptures, end, endCaptures, applyEndPatternLast, patterns) {
1112
+ super($location, id, name, contentName);
1113
+ __publicField(this, "_begin");
1114
+ __publicField(this, "beginCaptures");
1115
+ __publicField(this, "_end");
1116
+ __publicField(this, "endHasBackReferences");
1117
+ __publicField(this, "endCaptures");
1118
+ __publicField(this, "applyEndPatternLast");
1119
+ __publicField(this, "hasMissingPatterns");
1120
+ __publicField(this, "patterns");
1121
+ __publicField(this, "_cachedCompiledPatterns");
1122
+ this._begin = new RegExpSource(begin, this.id);
1123
+ this.beginCaptures = beginCaptures;
1124
+ this._end = new RegExpSource(end ? end : "￿", -1);
1125
+ this.endHasBackReferences = this._end.hasBackReferences;
1126
+ this.endCaptures = endCaptures;
1127
+ this.applyEndPatternLast = applyEndPatternLast || false;
1128
+ this.patterns = patterns.patterns;
1129
+ this.hasMissingPatterns = patterns.hasMissingPatterns;
1130
+ this._cachedCompiledPatterns = null;
1131
+ }
1132
+ dispose() {
1133
+ if (this._cachedCompiledPatterns) {
1134
+ this._cachedCompiledPatterns.dispose();
1135
+ this._cachedCompiledPatterns = null;
1136
+ }
1137
+ }
1138
+ get debugBeginRegExp() {
1139
+ return `${this._begin.source}`;
1140
+ }
1141
+ get debugEndRegExp() {
1142
+ return `${this._end.source}`;
1143
+ }
1144
+ getEndWithResolvedBackReferences(lineText, captureIndices) {
1145
+ return this._end.resolveBackReferences(lineText, captureIndices);
1146
+ }
1147
+ collectPatterns(grammar, out) {
1148
+ out.push(this._begin);
1149
+ }
1150
+ compile(grammar, endRegexSource) {
1151
+ return this._getCachedCompiledPatterns(grammar, endRegexSource).compile(grammar);
1152
+ }
1153
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1154
+ return this._getCachedCompiledPatterns(grammar, endRegexSource).compileAG(grammar, allowA, allowG);
1155
+ }
1156
+ _getCachedCompiledPatterns(grammar, endRegexSource) {
1157
+ if (!this._cachedCompiledPatterns) {
1158
+ this._cachedCompiledPatterns = new RegExpSourceList();
1159
+ for (const pattern of this.patterns) {
1160
+ const rule = grammar.getRule(pattern);
1161
+ rule.collectPatterns(grammar, this._cachedCompiledPatterns);
1162
+ }
1163
+ if (this.applyEndPatternLast) {
1164
+ this._cachedCompiledPatterns.push(this._end.hasBackReferences ? this._end.clone() : this._end);
1165
+ } else {
1166
+ this._cachedCompiledPatterns.unshift(this._end.hasBackReferences ? this._end.clone() : this._end);
1167
+ }
1168
+ }
1169
+ if (this._end.hasBackReferences) {
1170
+ if (this.applyEndPatternLast) {
1171
+ this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length() - 1, endRegexSource);
1172
+ } else {
1173
+ this._cachedCompiledPatterns.setSource(0, endRegexSource);
1174
+ }
1175
+ }
1176
+ return this._cachedCompiledPatterns;
1177
+ }
1178
+ };
1179
+ var BeginWhileRule = class extends Rule {
1180
+ constructor($location, id, name, contentName, begin, beginCaptures, _while, whileCaptures, patterns) {
1181
+ super($location, id, name, contentName);
1182
+ __publicField(this, "_begin");
1183
+ __publicField(this, "beginCaptures");
1184
+ __publicField(this, "whileCaptures");
1185
+ __publicField(this, "_while");
1186
+ __publicField(this, "whileHasBackReferences");
1187
+ __publicField(this, "hasMissingPatterns");
1188
+ __publicField(this, "patterns");
1189
+ __publicField(this, "_cachedCompiledPatterns");
1190
+ __publicField(this, "_cachedCompiledWhilePatterns");
1191
+ this._begin = new RegExpSource(begin, this.id);
1192
+ this.beginCaptures = beginCaptures;
1193
+ this.whileCaptures = whileCaptures;
1194
+ this._while = new RegExpSource(_while, whileRuleId);
1195
+ this.whileHasBackReferences = this._while.hasBackReferences;
1196
+ this.patterns = patterns.patterns;
1197
+ this.hasMissingPatterns = patterns.hasMissingPatterns;
1198
+ this._cachedCompiledPatterns = null;
1199
+ this._cachedCompiledWhilePatterns = null;
1200
+ }
1201
+ dispose() {
1202
+ if (this._cachedCompiledPatterns) {
1203
+ this._cachedCompiledPatterns.dispose();
1204
+ this._cachedCompiledPatterns = null;
1205
+ }
1206
+ if (this._cachedCompiledWhilePatterns) {
1207
+ this._cachedCompiledWhilePatterns.dispose();
1208
+ this._cachedCompiledWhilePatterns = null;
1209
+ }
1210
+ }
1211
+ get debugBeginRegExp() {
1212
+ return `${this._begin.source}`;
1213
+ }
1214
+ get debugWhileRegExp() {
1215
+ return `${this._while.source}`;
1216
+ }
1217
+ getWhileWithResolvedBackReferences(lineText, captureIndices) {
1218
+ return this._while.resolveBackReferences(lineText, captureIndices);
1219
+ }
1220
+ collectPatterns(grammar, out) {
1221
+ out.push(this._begin);
1222
+ }
1223
+ compile(grammar, endRegexSource) {
1224
+ return this._getCachedCompiledPatterns(grammar).compile(grammar);
1225
+ }
1226
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1227
+ return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
1228
+ }
1229
+ _getCachedCompiledPatterns(grammar) {
1230
+ if (!this._cachedCompiledPatterns) {
1231
+ this._cachedCompiledPatterns = new RegExpSourceList();
1232
+ for (const pattern of this.patterns) {
1233
+ const rule = grammar.getRule(pattern);
1234
+ rule.collectPatterns(grammar, this._cachedCompiledPatterns);
1235
+ }
1236
+ }
1237
+ return this._cachedCompiledPatterns;
1238
+ }
1239
+ compileWhile(grammar, endRegexSource) {
1240
+ return this._getCachedCompiledWhilePatterns(grammar, endRegexSource).compile(grammar);
1241
+ }
1242
+ compileWhileAG(grammar, endRegexSource, allowA, allowG) {
1243
+ return this._getCachedCompiledWhilePatterns(grammar, endRegexSource).compileAG(grammar, allowA, allowG);
1244
+ }
1245
+ _getCachedCompiledWhilePatterns(grammar, endRegexSource) {
1246
+ if (!this._cachedCompiledWhilePatterns) {
1247
+ this._cachedCompiledWhilePatterns = new RegExpSourceList();
1248
+ this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences ? this._while.clone() : this._while);
1249
+ }
1250
+ if (this._while.hasBackReferences) {
1251
+ this._cachedCompiledWhilePatterns.setSource(0, endRegexSource ? endRegexSource : "￿");
1252
+ }
1253
+ return this._cachedCompiledWhilePatterns;
1254
+ }
1255
+ };
1256
+ var RuleFactory = class _RuleFactory {
1257
+ static createCaptureRule(helper, $location, name, contentName, retokenizeCapturedWithRuleId) {
1258
+ return helper.registerRule((id) => {
1259
+ return new CaptureRule($location, id, name, contentName, retokenizeCapturedWithRuleId);
1260
+ });
1261
+ }
1262
+ static getCompiledRuleId(desc, helper, repository) {
1263
+ if (!desc.id) {
1264
+ helper.registerRule((id) => {
1265
+ desc.id = id;
1266
+ if (desc.match) {
1267
+ return new MatchRule(
1268
+ desc.$vscodeTextmateLocation,
1269
+ desc.id,
1270
+ desc.name,
1271
+ desc.match,
1272
+ _RuleFactory._compileCaptures(desc.captures, helper, repository)
1273
+ );
1274
+ }
1275
+ if (typeof desc.begin === "undefined") {
1276
+ if (desc.repository) {
1277
+ repository = mergeObjects({}, repository, desc.repository);
1278
+ }
1279
+ let patterns = desc.patterns;
1280
+ if (typeof patterns === "undefined" && desc.include) {
1281
+ patterns = [{ include: desc.include }];
1282
+ }
1283
+ return new IncludeOnlyRule(
1284
+ desc.$vscodeTextmateLocation,
1285
+ desc.id,
1286
+ desc.name,
1287
+ desc.contentName,
1288
+ _RuleFactory._compilePatterns(patterns, helper, repository)
1289
+ );
1290
+ }
1291
+ if (desc.while) {
1292
+ return new BeginWhileRule(
1293
+ desc.$vscodeTextmateLocation,
1294
+ desc.id,
1295
+ desc.name,
1296
+ desc.contentName,
1297
+ desc.begin,
1298
+ _RuleFactory._compileCaptures(desc.beginCaptures || desc.captures, helper, repository),
1299
+ desc.while,
1300
+ _RuleFactory._compileCaptures(desc.whileCaptures || desc.captures, helper, repository),
1301
+ _RuleFactory._compilePatterns(desc.patterns, helper, repository)
1302
+ );
1303
+ }
1304
+ return new BeginEndRule(
1305
+ desc.$vscodeTextmateLocation,
1306
+ desc.id,
1307
+ desc.name,
1308
+ desc.contentName,
1309
+ desc.begin,
1310
+ _RuleFactory._compileCaptures(desc.beginCaptures || desc.captures, helper, repository),
1311
+ desc.end,
1312
+ _RuleFactory._compileCaptures(desc.endCaptures || desc.captures, helper, repository),
1313
+ desc.applyEndPatternLast,
1314
+ _RuleFactory._compilePatterns(desc.patterns, helper, repository)
1315
+ );
1316
+ });
1317
+ }
1318
+ return desc.id;
1319
+ }
1320
+ static _compileCaptures(captures, helper, repository) {
1321
+ let r = [];
1322
+ if (captures) {
1323
+ let maximumCaptureId = 0;
1324
+ for (const captureId in captures) {
1325
+ if (captureId === "$vscodeTextmateLocation") {
1326
+ continue;
1327
+ }
1328
+ const numericCaptureId = parseInt(captureId, 10);
1329
+ if (numericCaptureId > maximumCaptureId) {
1330
+ maximumCaptureId = numericCaptureId;
1331
+ }
1332
+ }
1333
+ for (let i = 0; i <= maximumCaptureId; i++) {
1334
+ r[i] = null;
1335
+ }
1336
+ for (const captureId in captures) {
1337
+ if (captureId === "$vscodeTextmateLocation") {
1338
+ continue;
1339
+ }
1340
+ const numericCaptureId = parseInt(captureId, 10);
1341
+ let retokenizeCapturedWithRuleId = 0;
1342
+ if (captures[captureId].patterns) {
1343
+ retokenizeCapturedWithRuleId = _RuleFactory.getCompiledRuleId(captures[captureId], helper, repository);
1344
+ }
1345
+ r[numericCaptureId] = _RuleFactory.createCaptureRule(helper, captures[captureId].$vscodeTextmateLocation, captures[captureId].name, captures[captureId].contentName, retokenizeCapturedWithRuleId);
1346
+ }
1347
+ }
1348
+ return r;
1349
+ }
1350
+ static _compilePatterns(patterns, helper, repository) {
1351
+ let r = [];
1352
+ if (patterns) {
1353
+ for (let i = 0, len = patterns.length; i < len; i++) {
1354
+ const pattern = patterns[i];
1355
+ let ruleId = -1;
1356
+ if (pattern.include) {
1357
+ const reference = parseInclude(pattern.include);
1358
+ switch (reference.kind) {
1359
+ case 0:
1360
+ case 1:
1361
+ ruleId = _RuleFactory.getCompiledRuleId(repository[pattern.include], helper, repository);
1362
+ break;
1363
+ case 2:
1364
+ let localIncludedRule = repository[reference.ruleName];
1365
+ if (localIncludedRule) {
1366
+ ruleId = _RuleFactory.getCompiledRuleId(localIncludedRule, helper, repository);
1367
+ }
1368
+ break;
1369
+ case 3:
1370
+ case 4:
1371
+ const externalGrammarName = reference.scopeName;
1372
+ const externalGrammarInclude = reference.kind === 4 ? reference.ruleName : null;
1373
+ const externalGrammar = helper.getExternalGrammar(externalGrammarName, repository);
1374
+ if (externalGrammar) {
1375
+ if (externalGrammarInclude) {
1376
+ let externalIncludedRule = externalGrammar.repository[externalGrammarInclude];
1377
+ if (externalIncludedRule) {
1378
+ ruleId = _RuleFactory.getCompiledRuleId(externalIncludedRule, helper, externalGrammar.repository);
1379
+ }
1380
+ } else {
1381
+ ruleId = _RuleFactory.getCompiledRuleId(externalGrammar.repository.$self, helper, externalGrammar.repository);
1382
+ }
1383
+ }
1384
+ break;
1385
+ }
1386
+ } else {
1387
+ ruleId = _RuleFactory.getCompiledRuleId(pattern, helper, repository);
1388
+ }
1389
+ if (ruleId !== -1) {
1390
+ const rule = helper.getRule(ruleId);
1391
+ let skipRule = false;
1392
+ if (rule instanceof IncludeOnlyRule || rule instanceof BeginEndRule || rule instanceof BeginWhileRule) {
1393
+ if (rule.hasMissingPatterns && rule.patterns.length === 0) {
1394
+ skipRule = true;
1395
+ }
1396
+ }
1397
+ if (skipRule) {
1398
+ continue;
1399
+ }
1400
+ r.push(ruleId);
1401
+ }
1402
+ }
1403
+ }
1404
+ return {
1405
+ patterns: r,
1406
+ hasMissingPatterns: (patterns ? patterns.length : 0) !== r.length
1407
+ };
1408
+ }
1409
+ };
1410
+ var RegExpSource = class _RegExpSource {
1411
+ constructor(regExpSource, ruleId) {
1412
+ __publicField(this, "source");
1413
+ __publicField(this, "ruleId");
1414
+ __publicField(this, "hasAnchor");
1415
+ __publicField(this, "hasBackReferences");
1416
+ __publicField(this, "_anchorCache");
1417
+ if (regExpSource && typeof regExpSource === "string") {
1418
+ const len = regExpSource.length;
1419
+ let lastPushedPos = 0;
1420
+ let output = [];
1421
+ let hasAnchor = false;
1422
+ for (let pos = 0; pos < len; pos++) {
1423
+ const ch = regExpSource.charAt(pos);
1424
+ if (ch === "\\") {
1425
+ if (pos + 1 < len) {
1426
+ const nextCh = regExpSource.charAt(pos + 1);
1427
+ if (nextCh === "z") {
1428
+ output.push(regExpSource.substring(lastPushedPos, pos));
1429
+ output.push("$(?!\\n)(?<!\\n)");
1430
+ lastPushedPos = pos + 2;
1431
+ } else if (nextCh === "A" || nextCh === "G") {
1432
+ hasAnchor = true;
1433
+ }
1434
+ pos++;
1435
+ }
1436
+ }
1437
+ }
1438
+ this.hasAnchor = hasAnchor;
1439
+ if (lastPushedPos === 0) {
1440
+ this.source = regExpSource;
1441
+ } else {
1442
+ output.push(regExpSource.substring(lastPushedPos, len));
1443
+ this.source = output.join("");
1444
+ }
1445
+ } else {
1446
+ this.hasAnchor = false;
1447
+ this.source = regExpSource;
1448
+ }
1449
+ if (this.hasAnchor) {
1450
+ this._anchorCache = this._buildAnchorCache();
1451
+ } else {
1452
+ this._anchorCache = null;
1453
+ }
1454
+ this.ruleId = ruleId;
1455
+ if (typeof this.source === "string") {
1456
+ this.hasBackReferences = HAS_BACK_REFERENCES.test(this.source);
1457
+ } else {
1458
+ this.hasBackReferences = false;
1459
+ }
1460
+ }
1461
+ clone() {
1462
+ return new _RegExpSource(this.source, this.ruleId);
1463
+ }
1464
+ setSource(newSource) {
1465
+ if (this.source === newSource) {
1466
+ return;
1467
+ }
1468
+ this.source = newSource;
1469
+ if (this.hasAnchor) {
1470
+ this._anchorCache = this._buildAnchorCache();
1471
+ }
1472
+ }
1473
+ resolveBackReferences(lineText, captureIndices) {
1474
+ if (typeof this.source !== "string") {
1475
+ throw new Error("This method should only be called if the source is a string");
1476
+ }
1477
+ let capturedValues = captureIndices.map((capture) => {
1478
+ return lineText.substring(capture.start, capture.end);
1479
+ });
1480
+ BACK_REFERENCING_END.lastIndex = 0;
1481
+ return this.source.replace(BACK_REFERENCING_END, (match, g1) => {
1482
+ return escapeRegExpCharacters(capturedValues[parseInt(g1, 10)] || "");
1483
+ });
1484
+ }
1485
+ _buildAnchorCache() {
1486
+ if (typeof this.source !== "string") {
1487
+ throw new Error("This method should only be called if the source is a string");
1488
+ }
1489
+ let A0_G0_result = [];
1490
+ let A0_G1_result = [];
1491
+ let A1_G0_result = [];
1492
+ let A1_G1_result = [];
1493
+ let pos, len, ch, nextCh;
1494
+ for (pos = 0, len = this.source.length; pos < len; pos++) {
1495
+ ch = this.source.charAt(pos);
1496
+ A0_G0_result[pos] = ch;
1497
+ A0_G1_result[pos] = ch;
1498
+ A1_G0_result[pos] = ch;
1499
+ A1_G1_result[pos] = ch;
1500
+ if (ch === "\\") {
1501
+ if (pos + 1 < len) {
1502
+ nextCh = this.source.charAt(pos + 1);
1503
+ if (nextCh === "A") {
1504
+ A0_G0_result[pos + 1] = "￿";
1505
+ A0_G1_result[pos + 1] = "￿";
1506
+ A1_G0_result[pos + 1] = "A";
1507
+ A1_G1_result[pos + 1] = "A";
1508
+ } else if (nextCh === "G") {
1509
+ A0_G0_result[pos + 1] = "￿";
1510
+ A0_G1_result[pos + 1] = "G";
1511
+ A1_G0_result[pos + 1] = "￿";
1512
+ A1_G1_result[pos + 1] = "G";
1513
+ } else {
1514
+ A0_G0_result[pos + 1] = nextCh;
1515
+ A0_G1_result[pos + 1] = nextCh;
1516
+ A1_G0_result[pos + 1] = nextCh;
1517
+ A1_G1_result[pos + 1] = nextCh;
1518
+ }
1519
+ pos++;
1520
+ }
1521
+ }
1522
+ }
1523
+ return {
1524
+ A0_G0: A0_G0_result.join(""),
1525
+ A0_G1: A0_G1_result.join(""),
1526
+ A1_G0: A1_G0_result.join(""),
1527
+ A1_G1: A1_G1_result.join("")
1528
+ };
1529
+ }
1530
+ resolveAnchors(allowA, allowG) {
1531
+ if (!this.hasAnchor || !this._anchorCache || typeof this.source !== "string") {
1532
+ return this.source;
1533
+ }
1534
+ if (allowA) {
1535
+ if (allowG) {
1536
+ return this._anchorCache.A1_G1;
1537
+ } else {
1538
+ return this._anchorCache.A1_G0;
1539
+ }
1540
+ } else {
1541
+ if (allowG) {
1542
+ return this._anchorCache.A0_G1;
1543
+ } else {
1544
+ return this._anchorCache.A0_G0;
1545
+ }
1546
+ }
1547
+ }
1548
+ };
1549
+ var RegExpSourceList = class {
1550
+ constructor() {
1551
+ __publicField(this, "_items");
1552
+ __publicField(this, "_hasAnchors");
1553
+ __publicField(this, "_cached");
1554
+ __publicField(this, "_anchorCache");
1555
+ this._items = [];
1556
+ this._hasAnchors = false;
1557
+ this._cached = null;
1558
+ this._anchorCache = {
1559
+ A0_G0: null,
1560
+ A0_G1: null,
1561
+ A1_G0: null,
1562
+ A1_G1: null
1563
+ };
1564
+ }
1565
+ dispose() {
1566
+ this._disposeCaches();
1567
+ }
1568
+ _disposeCaches() {
1569
+ if (this._cached) {
1570
+ this._cached.dispose();
1571
+ this._cached = null;
1572
+ }
1573
+ if (this._anchorCache.A0_G0) {
1574
+ this._anchorCache.A0_G0.dispose();
1575
+ this._anchorCache.A0_G0 = null;
1576
+ }
1577
+ if (this._anchorCache.A0_G1) {
1578
+ this._anchorCache.A0_G1.dispose();
1579
+ this._anchorCache.A0_G1 = null;
1580
+ }
1581
+ if (this._anchorCache.A1_G0) {
1582
+ this._anchorCache.A1_G0.dispose();
1583
+ this._anchorCache.A1_G0 = null;
1584
+ }
1585
+ if (this._anchorCache.A1_G1) {
1586
+ this._anchorCache.A1_G1.dispose();
1587
+ this._anchorCache.A1_G1 = null;
1588
+ }
1589
+ }
1590
+ push(item) {
1591
+ this._items.push(item);
1592
+ this._hasAnchors = this._hasAnchors || item.hasAnchor;
1593
+ }
1594
+ unshift(item) {
1595
+ this._items.unshift(item);
1596
+ this._hasAnchors = this._hasAnchors || item.hasAnchor;
1597
+ }
1598
+ length() {
1599
+ return this._items.length;
1600
+ }
1601
+ setSource(index, newSource) {
1602
+ if (this._items[index].source !== newSource) {
1603
+ this._disposeCaches();
1604
+ this._items[index].setSource(newSource);
1605
+ }
1606
+ }
1607
+ compile(onigLib) {
1608
+ if (!this._cached) {
1609
+ let regExps = this._items.map((e) => e.source);
1610
+ this._cached = new CompiledRule(onigLib, regExps, this._items.map((e) => e.ruleId));
1611
+ }
1612
+ return this._cached;
1613
+ }
1614
+ compileAG(onigLib, allowA, allowG) {
1615
+ if (!this._hasAnchors) {
1616
+ return this.compile(onigLib);
1617
+ } else {
1618
+ if (allowA) {
1619
+ if (allowG) {
1620
+ if (!this._anchorCache.A1_G1) {
1621
+ this._anchorCache.A1_G1 = this._resolveAnchors(onigLib, allowA, allowG);
1622
+ }
1623
+ return this._anchorCache.A1_G1;
1624
+ } else {
1625
+ if (!this._anchorCache.A1_G0) {
1626
+ this._anchorCache.A1_G0 = this._resolveAnchors(onigLib, allowA, allowG);
1627
+ }
1628
+ return this._anchorCache.A1_G0;
1629
+ }
1630
+ } else {
1631
+ if (allowG) {
1632
+ if (!this._anchorCache.A0_G1) {
1633
+ this._anchorCache.A0_G1 = this._resolveAnchors(onigLib, allowA, allowG);
1634
+ }
1635
+ return this._anchorCache.A0_G1;
1636
+ } else {
1637
+ if (!this._anchorCache.A0_G0) {
1638
+ this._anchorCache.A0_G0 = this._resolveAnchors(onigLib, allowA, allowG);
1639
+ }
1640
+ return this._anchorCache.A0_G0;
1641
+ }
1642
+ }
1643
+ }
1644
+ }
1645
+ _resolveAnchors(onigLib, allowA, allowG) {
1646
+ let regExps = this._items.map((e) => e.resolveAnchors(allowA, allowG));
1647
+ return new CompiledRule(onigLib, regExps, this._items.map((e) => e.ruleId));
1648
+ }
1649
+ };
1650
+ var CompiledRule = class {
1651
+ constructor(onigLib, regExps, rules) {
1652
+ __publicField(this, "scanner");
1653
+ this.regExps = regExps;
1654
+ this.rules = rules;
1655
+ this.scanner = onigLib.createOnigScanner(regExps);
1656
+ }
1657
+ dispose() {
1658
+ if (typeof this.scanner.dispose === "function") {
1659
+ this.scanner.dispose();
1660
+ }
1661
+ }
1662
+ toString() {
1663
+ const r = [];
1664
+ for (let i = 0, len = this.rules.length; i < len; i++) {
1665
+ r.push(" - " + this.rules[i] + ": " + this.regExps[i]);
1666
+ }
1667
+ return r.join("\n");
1668
+ }
1669
+ findNextMatchSync(string, startPosition, options) {
1670
+ const result = this.scanner.findNextMatchSync(string, startPosition, options);
1671
+ if (!result) {
1672
+ return null;
1673
+ }
1674
+ return {
1675
+ ruleId: this.rules[result.index],
1676
+ captureIndices: result.captureIndices
1677
+ };
1678
+ }
1679
+ };
1680
+ var BasicScopeAttributes = class {
1681
+ constructor(languageId, tokenType) {
1682
+ this.languageId = languageId;
1683
+ this.tokenType = tokenType;
1684
+ }
1685
+ };
1686
+ var BasicScopeAttributesProvider = (_a = class {
1687
+ constructor(initialLanguageId, embeddedLanguages) {
1688
+ __publicField(this, "_defaultAttributes");
1689
+ __publicField(this, "_embeddedLanguagesMatcher");
1690
+ __publicField(this, "_getBasicScopeAttributes", new CachedFn((scopeName) => {
1691
+ const languageId = this._scopeToLanguage(scopeName);
1692
+ const standardTokenType = this._toStandardTokenType(scopeName);
1693
+ return new BasicScopeAttributes(languageId, standardTokenType);
1694
+ }));
1695
+ this._defaultAttributes = new BasicScopeAttributes(
1696
+ initialLanguageId,
1697
+ 8
1698
+ /* NotSet */
1699
+ );
1700
+ this._embeddedLanguagesMatcher = new ScopeMatcher(Object.entries(embeddedLanguages || {}));
1701
+ }
1702
+ getDefaultAttributes() {
1703
+ return this._defaultAttributes;
1704
+ }
1705
+ getBasicScopeAttributes(scopeName) {
1706
+ if (scopeName === null) {
1707
+ return _a._NULL_SCOPE_METADATA;
1708
+ }
1709
+ return this._getBasicScopeAttributes.get(scopeName);
1710
+ }
1711
+ /**
1712
+ * Given a produced TM scope, return the language that token describes or null if unknown.
1713
+ * e.g. source.html => html, source.css.embedded.html => css, punctuation.definition.tag.html => null
1714
+ */
1715
+ _scopeToLanguage(scope) {
1716
+ return this._embeddedLanguagesMatcher.match(scope) || 0;
1717
+ }
1718
+ _toStandardTokenType(scopeName) {
1719
+ const m = scopeName.match(_a.STANDARD_TOKEN_TYPE_REGEXP);
1720
+ if (!m) {
1721
+ return 8;
1722
+ }
1723
+ switch (m[1]) {
1724
+ case "comment":
1725
+ return 1;
1726
+ case "string":
1727
+ return 2;
1728
+ case "regex":
1729
+ return 3;
1730
+ case "meta.embedded":
1731
+ return 0;
1732
+ }
1733
+ throw new Error("Unexpected match for standard token type!");
1734
+ }
1735
+ }, __publicField(_a, "_NULL_SCOPE_METADATA", new BasicScopeAttributes(0, 0)), __publicField(_a, "STANDARD_TOKEN_TYPE_REGEXP", /\b(comment|string|regex|meta\.embedded)\b/), _a);
1736
+ var ScopeMatcher = class {
1737
+ constructor(values) {
1738
+ __publicField(this, "values");
1739
+ __publicField(this, "scopesRegExp");
1740
+ if (values.length === 0) {
1741
+ this.values = null;
1742
+ this.scopesRegExp = null;
1743
+ } else {
1744
+ this.values = new Map(values);
1745
+ const escapedScopes = values.map(
1746
+ ([scopeName, value]) => escapeRegExpCharacters(scopeName)
1747
+ );
1748
+ escapedScopes.sort();
1749
+ escapedScopes.reverse();
1750
+ this.scopesRegExp = new RegExp(
1751
+ `^((${escapedScopes.join(")|(")}))($|\\.)`,
1752
+ ""
1753
+ );
1754
+ }
1755
+ }
1756
+ match(scope) {
1757
+ if (!this.scopesRegExp) {
1758
+ return void 0;
1759
+ }
1760
+ const m = scope.match(this.scopesRegExp);
1761
+ if (!m) {
1762
+ return void 0;
1763
+ }
1764
+ return this.values.get(m[1]);
1765
+ }
1766
+ };
1767
+ ({
1768
+ InDebugMode: typeof process !== "undefined" && !!process.env["VSCODE_TEXTMATE_DEBUG"]
1769
+ });
1770
+ var TokenizeStringResult = class {
1771
+ constructor(stack, stoppedEarly) {
1772
+ this.stack = stack;
1773
+ this.stoppedEarly = stoppedEarly;
1774
+ }
1775
+ };
1776
+ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTokens, checkWhileConditions, timeLimit) {
1777
+ const lineLength = lineText.content.length;
1778
+ let STOP = false;
1779
+ let anchorPosition = -1;
1780
+ if (checkWhileConditions) {
1781
+ const whileCheckResult = _checkWhileConditions(
1782
+ grammar,
1783
+ lineText,
1784
+ isFirstLine,
1785
+ linePos,
1786
+ stack,
1787
+ lineTokens
1788
+ );
1789
+ stack = whileCheckResult.stack;
1790
+ linePos = whileCheckResult.linePos;
1791
+ isFirstLine = whileCheckResult.isFirstLine;
1792
+ anchorPosition = whileCheckResult.anchorPosition;
1793
+ }
1794
+ const startTime = Date.now();
1795
+ while (!STOP) {
1796
+ if (timeLimit !== 0) {
1797
+ const elapsedTime = Date.now() - startTime;
1798
+ if (elapsedTime > timeLimit) {
1799
+ return new TokenizeStringResult(stack, true);
1800
+ }
1801
+ }
1802
+ scanNext();
1803
+ }
1804
+ return new TokenizeStringResult(stack, false);
1805
+ function scanNext() {
1806
+ const r = matchRuleOrInjections(
1807
+ grammar,
1808
+ lineText,
1809
+ isFirstLine,
1810
+ linePos,
1811
+ stack,
1812
+ anchorPosition
1813
+ );
1814
+ if (!r) {
1815
+ lineTokens.produce(stack, lineLength);
1816
+ STOP = true;
1817
+ return;
1818
+ }
1819
+ const captureIndices = r.captureIndices;
1820
+ const matchedRuleId = r.matchedRuleId;
1821
+ const hasAdvanced = captureIndices && captureIndices.length > 0 ? captureIndices[0].end > linePos : false;
1822
+ if (matchedRuleId === endRuleId) {
1823
+ const poppedRule = stack.getRule(grammar);
1824
+ lineTokens.produce(stack, captureIndices[0].start);
1825
+ stack = stack.withContentNameScopesList(stack.nameScopesList);
1826
+ handleCaptures(
1827
+ grammar,
1828
+ lineText,
1829
+ isFirstLine,
1830
+ stack,
1831
+ lineTokens,
1832
+ poppedRule.endCaptures,
1833
+ captureIndices
1834
+ );
1835
+ lineTokens.produce(stack, captureIndices[0].end);
1836
+ const popped = stack;
1837
+ stack = stack.parent;
1838
+ anchorPosition = popped.getAnchorPos();
1839
+ if (!hasAdvanced && popped.getEnterPos() === linePos) {
1840
+ stack = popped;
1841
+ lineTokens.produce(stack, lineLength);
1842
+ STOP = true;
1843
+ return;
1844
+ }
1845
+ } else {
1846
+ const _rule = grammar.getRule(matchedRuleId);
1847
+ lineTokens.produce(stack, captureIndices[0].start);
1848
+ const beforePush = stack;
1849
+ const scopeName = _rule.getName(lineText.content, captureIndices);
1850
+ const nameScopesList = stack.contentNameScopesList.pushAttributed(
1851
+ scopeName,
1852
+ grammar
1853
+ );
1854
+ stack = stack.push(
1855
+ matchedRuleId,
1856
+ linePos,
1857
+ anchorPosition,
1858
+ captureIndices[0].end === lineLength,
1859
+ null,
1860
+ nameScopesList,
1861
+ nameScopesList
1862
+ );
1863
+ if (_rule instanceof BeginEndRule) {
1864
+ const pushedRule = _rule;
1865
+ handleCaptures(
1866
+ grammar,
1867
+ lineText,
1868
+ isFirstLine,
1869
+ stack,
1870
+ lineTokens,
1871
+ pushedRule.beginCaptures,
1872
+ captureIndices
1873
+ );
1874
+ lineTokens.produce(stack, captureIndices[0].end);
1875
+ anchorPosition = captureIndices[0].end;
1876
+ const contentName = pushedRule.getContentName(
1877
+ lineText.content,
1878
+ captureIndices
1879
+ );
1880
+ const contentNameScopesList = nameScopesList.pushAttributed(
1881
+ contentName,
1882
+ grammar
1883
+ );
1884
+ stack = stack.withContentNameScopesList(contentNameScopesList);
1885
+ if (pushedRule.endHasBackReferences) {
1886
+ stack = stack.withEndRule(
1887
+ pushedRule.getEndWithResolvedBackReferences(
1888
+ lineText.content,
1889
+ captureIndices
1890
+ )
1891
+ );
1892
+ }
1893
+ if (!hasAdvanced && beforePush.hasSameRuleAs(stack)) {
1894
+ stack = stack.pop();
1895
+ lineTokens.produce(stack, lineLength);
1896
+ STOP = true;
1897
+ return;
1898
+ }
1899
+ } else if (_rule instanceof BeginWhileRule) {
1900
+ const pushedRule = _rule;
1901
+ handleCaptures(
1902
+ grammar,
1903
+ lineText,
1904
+ isFirstLine,
1905
+ stack,
1906
+ lineTokens,
1907
+ pushedRule.beginCaptures,
1908
+ captureIndices
1909
+ );
1910
+ lineTokens.produce(stack, captureIndices[0].end);
1911
+ anchorPosition = captureIndices[0].end;
1912
+ const contentName = pushedRule.getContentName(
1913
+ lineText.content,
1914
+ captureIndices
1915
+ );
1916
+ const contentNameScopesList = nameScopesList.pushAttributed(
1917
+ contentName,
1918
+ grammar
1919
+ );
1920
+ stack = stack.withContentNameScopesList(contentNameScopesList);
1921
+ if (pushedRule.whileHasBackReferences) {
1922
+ stack = stack.withEndRule(
1923
+ pushedRule.getWhileWithResolvedBackReferences(
1924
+ lineText.content,
1925
+ captureIndices
1926
+ )
1927
+ );
1928
+ }
1929
+ if (!hasAdvanced && beforePush.hasSameRuleAs(stack)) {
1930
+ stack = stack.pop();
1931
+ lineTokens.produce(stack, lineLength);
1932
+ STOP = true;
1933
+ return;
1934
+ }
1935
+ } else {
1936
+ const matchingRule = _rule;
1937
+ handleCaptures(
1938
+ grammar,
1939
+ lineText,
1940
+ isFirstLine,
1941
+ stack,
1942
+ lineTokens,
1943
+ matchingRule.captures,
1944
+ captureIndices
1945
+ );
1946
+ lineTokens.produce(stack, captureIndices[0].end);
1947
+ stack = stack.pop();
1948
+ if (!hasAdvanced) {
1949
+ stack = stack.safePop();
1950
+ lineTokens.produce(stack, lineLength);
1951
+ STOP = true;
1952
+ return;
1953
+ }
1954
+ }
1955
+ }
1956
+ if (captureIndices[0].end > linePos) {
1957
+ linePos = captureIndices[0].end;
1958
+ isFirstLine = false;
1959
+ }
1960
+ }
1961
+ }
1962
+ function _checkWhileConditions(grammar, lineText, isFirstLine, linePos, stack, lineTokens) {
1963
+ let anchorPosition = stack.beginRuleCapturedEOL ? 0 : -1;
1964
+ const whileRules = [];
1965
+ for (let node = stack; node; node = node.pop()) {
1966
+ const nodeRule = node.getRule(grammar);
1967
+ if (nodeRule instanceof BeginWhileRule) {
1968
+ whileRules.push({
1969
+ rule: nodeRule,
1970
+ stack: node
1971
+ });
1972
+ }
1973
+ }
1974
+ for (let whileRule = whileRules.pop(); whileRule; whileRule = whileRules.pop()) {
1975
+ const { ruleScanner, findOptions } = prepareRuleWhileSearch(whileRule.rule, grammar, whileRule.stack.endRule, isFirstLine, linePos === anchorPosition);
1976
+ const r = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
1977
+ if (r) {
1978
+ const matchedRuleId = r.ruleId;
1979
+ if (matchedRuleId !== whileRuleId) {
1980
+ stack = whileRule.stack.pop();
1981
+ break;
1982
+ }
1983
+ if (r.captureIndices && r.captureIndices.length) {
1984
+ lineTokens.produce(whileRule.stack, r.captureIndices[0].start);
1985
+ handleCaptures(grammar, lineText, isFirstLine, whileRule.stack, lineTokens, whileRule.rule.whileCaptures, r.captureIndices);
1986
+ lineTokens.produce(whileRule.stack, r.captureIndices[0].end);
1987
+ anchorPosition = r.captureIndices[0].end;
1988
+ if (r.captureIndices[0].end > linePos) {
1989
+ linePos = r.captureIndices[0].end;
1990
+ isFirstLine = false;
1991
+ }
1992
+ }
1993
+ } else {
1994
+ stack = whileRule.stack.pop();
1995
+ break;
1996
+ }
1997
+ }
1998
+ return { stack, linePos, anchorPosition, isFirstLine };
1999
+ }
2000
+ function matchRuleOrInjections(grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
2001
+ const matchResult = matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPosition);
2002
+ const injections = grammar.getInjections();
2003
+ if (injections.length === 0) {
2004
+ return matchResult;
2005
+ }
2006
+ const injectionResult = matchInjections(injections, grammar, lineText, isFirstLine, linePos, stack, anchorPosition);
2007
+ if (!injectionResult) {
2008
+ return matchResult;
2009
+ }
2010
+ if (!matchResult) {
2011
+ return injectionResult;
2012
+ }
2013
+ const matchResultScore = matchResult.captureIndices[0].start;
2014
+ const injectionResultScore = injectionResult.captureIndices[0].start;
2015
+ if (injectionResultScore < matchResultScore || injectionResult.priorityMatch && injectionResultScore === matchResultScore) {
2016
+ return injectionResult;
2017
+ }
2018
+ return matchResult;
2019
+ }
2020
+ function matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
2021
+ const rule = stack.getRule(grammar);
2022
+ const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar, stack.endRule, isFirstLine, linePos === anchorPosition);
2023
+ const r = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
2024
+ if (r) {
2025
+ return {
2026
+ captureIndices: r.captureIndices,
2027
+ matchedRuleId: r.ruleId
2028
+ };
2029
+ }
2030
+ return null;
2031
+ }
2032
+ function matchInjections(injections, grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
2033
+ let bestMatchRating = Number.MAX_VALUE;
2034
+ let bestMatchCaptureIndices = null;
2035
+ let bestMatchRuleId;
2036
+ let bestMatchResultPriority = 0;
2037
+ const scopes = stack.contentNameScopesList.getScopeNames();
2038
+ for (let i = 0, len = injections.length; i < len; i++) {
2039
+ const injection = injections[i];
2040
+ if (!injection.matcher(scopes)) {
2041
+ continue;
2042
+ }
2043
+ const rule = grammar.getRule(injection.ruleId);
2044
+ const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar, null, isFirstLine, linePos === anchorPosition);
2045
+ const matchResult = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
2046
+ if (!matchResult) {
2047
+ continue;
2048
+ }
2049
+ const matchRating = matchResult.captureIndices[0].start;
2050
+ if (matchRating >= bestMatchRating) {
2051
+ continue;
2052
+ }
2053
+ bestMatchRating = matchRating;
2054
+ bestMatchCaptureIndices = matchResult.captureIndices;
2055
+ bestMatchRuleId = matchResult.ruleId;
2056
+ bestMatchResultPriority = injection.priority;
2057
+ if (bestMatchRating === linePos) {
2058
+ break;
2059
+ }
2060
+ }
2061
+ if (bestMatchCaptureIndices) {
2062
+ return {
2063
+ priorityMatch: bestMatchResultPriority === -1,
2064
+ captureIndices: bestMatchCaptureIndices,
2065
+ matchedRuleId: bestMatchRuleId
2066
+ };
2067
+ }
2068
+ return null;
2069
+ }
2070
+ function prepareRuleSearch(rule, grammar, endRegexSource, allowA, allowG) {
2071
+ const ruleScanner = rule.compileAG(grammar, endRegexSource, allowA, allowG);
2072
+ return {
2073
+ ruleScanner,
2074
+ findOptions: 0
2075
+ /* None */
2076
+ };
2077
+ }
2078
+ function prepareRuleWhileSearch(rule, grammar, endRegexSource, allowA, allowG) {
2079
+ const ruleScanner = rule.compileWhileAG(grammar, endRegexSource, allowA, allowG);
2080
+ return {
2081
+ ruleScanner,
2082
+ findOptions: 0
2083
+ /* None */
2084
+ };
2085
+ }
2086
+ function handleCaptures(grammar, lineText, isFirstLine, stack, lineTokens, captures, captureIndices) {
2087
+ if (captures.length === 0) {
2088
+ return;
2089
+ }
2090
+ const lineTextContent = lineText.content;
2091
+ const len = Math.min(captures.length, captureIndices.length);
2092
+ const localStack = [];
2093
+ const maxEnd = captureIndices[0].end;
2094
+ for (let i = 0; i < len; i++) {
2095
+ const captureRule = captures[i];
2096
+ if (captureRule === null) {
2097
+ continue;
2098
+ }
2099
+ const captureIndex = captureIndices[i];
2100
+ if (captureIndex.length === 0) {
2101
+ continue;
2102
+ }
2103
+ if (captureIndex.start > maxEnd) {
2104
+ break;
2105
+ }
2106
+ while (localStack.length > 0 && localStack[localStack.length - 1].endPos <= captureIndex.start) {
2107
+ lineTokens.produceFromScopes(localStack[localStack.length - 1].scopes, localStack[localStack.length - 1].endPos);
2108
+ localStack.pop();
2109
+ }
2110
+ if (localStack.length > 0) {
2111
+ lineTokens.produceFromScopes(localStack[localStack.length - 1].scopes, captureIndex.start);
2112
+ } else {
2113
+ lineTokens.produce(stack, captureIndex.start);
2114
+ }
2115
+ if (captureRule.retokenizeCapturedWithRuleId) {
2116
+ const scopeName = captureRule.getName(lineTextContent, captureIndices);
2117
+ const nameScopesList = stack.contentNameScopesList.pushAttributed(scopeName, grammar);
2118
+ const contentName = captureRule.getContentName(lineTextContent, captureIndices);
2119
+ const contentNameScopesList = nameScopesList.pushAttributed(contentName, grammar);
2120
+ const stackClone = stack.push(captureRule.retokenizeCapturedWithRuleId, captureIndex.start, -1, false, null, nameScopesList, contentNameScopesList);
2121
+ const onigSubStr = grammar.createOnigString(lineTextContent.substring(0, captureIndex.end));
2122
+ _tokenizeString(
2123
+ grammar,
2124
+ onigSubStr,
2125
+ isFirstLine && captureIndex.start === 0,
2126
+ captureIndex.start,
2127
+ stackClone,
2128
+ lineTokens,
2129
+ false,
2130
+ /* no time limit */
2131
+ 0
2132
+ );
2133
+ disposeOnigString(onigSubStr);
2134
+ continue;
2135
+ }
2136
+ const captureRuleScopeName = captureRule.getName(lineTextContent, captureIndices);
2137
+ if (captureRuleScopeName !== null) {
2138
+ const base = localStack.length > 0 ? localStack[localStack.length - 1].scopes : stack.contentNameScopesList;
2139
+ const captureRuleScopesList = base.pushAttributed(captureRuleScopeName, grammar);
2140
+ localStack.push(new LocalStackElement(captureRuleScopesList, captureIndex.end));
2141
+ }
2142
+ }
2143
+ while (localStack.length > 0) {
2144
+ lineTokens.produceFromScopes(localStack[localStack.length - 1].scopes, localStack[localStack.length - 1].endPos);
2145
+ localStack.pop();
2146
+ }
2147
+ }
2148
+ var LocalStackElement = class {
2149
+ constructor(scopes, endPos) {
2150
+ __publicField(this, "scopes");
2151
+ __publicField(this, "endPos");
2152
+ this.scopes = scopes;
2153
+ this.endPos = endPos;
2154
+ }
2155
+ };
2156
+ function createGrammar(scopeName, grammar, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, onigLib) {
2157
+ return new Grammar(
2158
+ scopeName,
2159
+ grammar,
2160
+ initialLanguage,
2161
+ embeddedLanguages,
2162
+ tokenTypes,
2163
+ balancedBracketSelectors,
2164
+ grammarRepository,
2165
+ onigLib
2166
+ );
2167
+ }
2168
+ function collectInjections(result, selector, rule, ruleFactoryHelper, grammar) {
2169
+ const matchers = createMatchers(selector, nameMatcher);
2170
+ const ruleId = RuleFactory.getCompiledRuleId(rule, ruleFactoryHelper, grammar.repository);
2171
+ for (const matcher of matchers) {
2172
+ result.push({
2173
+ debugSelector: selector,
2174
+ matcher: matcher.matcher,
2175
+ ruleId,
2176
+ grammar,
2177
+ priority: matcher.priority
2178
+ });
2179
+ }
2180
+ }
2181
+ function nameMatcher(identifers, scopes) {
2182
+ if (scopes.length < identifers.length) {
2183
+ return false;
2184
+ }
2185
+ let lastIndex = 0;
2186
+ return identifers.every((identifier) => {
2187
+ for (let i = lastIndex; i < scopes.length; i++) {
2188
+ if (scopesAreMatching(scopes[i], identifier)) {
2189
+ lastIndex = i + 1;
2190
+ return true;
2191
+ }
2192
+ }
2193
+ return false;
2194
+ });
2195
+ }
2196
+ function scopesAreMatching(thisScopeName, scopeName) {
2197
+ if (!thisScopeName) {
2198
+ return false;
2199
+ }
2200
+ if (thisScopeName === scopeName) {
2201
+ return true;
2202
+ }
2203
+ const len = scopeName.length;
2204
+ return thisScopeName.length > len && thisScopeName.substr(0, len) === scopeName && thisScopeName[len] === ".";
2205
+ }
2206
+ var Grammar = class {
2207
+ constructor(_rootScopeName, grammar, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, _onigLib) {
2208
+ __publicField(this, "_rootId");
2209
+ __publicField(this, "_lastRuleId");
2210
+ __publicField(this, "_ruleId2desc");
2211
+ __publicField(this, "_includedGrammars");
2212
+ __publicField(this, "_grammarRepository");
2213
+ __publicField(this, "_grammar");
2214
+ __publicField(this, "_injections");
2215
+ __publicField(this, "_basicScopeAttributesProvider");
2216
+ __publicField(this, "_tokenTypeMatchers");
2217
+ this._rootScopeName = _rootScopeName;
2218
+ this.balancedBracketSelectors = balancedBracketSelectors;
2219
+ this._onigLib = _onigLib;
2220
+ this._basicScopeAttributesProvider = new BasicScopeAttributesProvider(
2221
+ initialLanguage,
2222
+ embeddedLanguages
2223
+ );
2224
+ this._rootId = -1;
2225
+ this._lastRuleId = 0;
2226
+ this._ruleId2desc = [null];
2227
+ this._includedGrammars = {};
2228
+ this._grammarRepository = grammarRepository;
2229
+ this._grammar = initGrammar(grammar, null);
2230
+ this._injections = null;
2231
+ this._tokenTypeMatchers = [];
2232
+ if (tokenTypes) {
2233
+ for (const selector of Object.keys(tokenTypes)) {
2234
+ const matchers = createMatchers(selector, nameMatcher);
2235
+ for (const matcher of matchers) {
2236
+ this._tokenTypeMatchers.push({
2237
+ matcher: matcher.matcher,
2238
+ type: tokenTypes[selector]
2239
+ });
2240
+ }
2241
+ }
2242
+ }
2243
+ }
2244
+ get themeProvider() {
2245
+ return this._grammarRepository;
2246
+ }
2247
+ dispose() {
2248
+ for (const rule of this._ruleId2desc) {
2249
+ if (rule) {
2250
+ rule.dispose();
2251
+ }
2252
+ }
2253
+ }
2254
+ createOnigScanner(sources) {
2255
+ return this._onigLib.createOnigScanner(sources);
2256
+ }
2257
+ createOnigString(sources) {
2258
+ return this._onigLib.createOnigString(sources);
2259
+ }
2260
+ getMetadataForScope(scope) {
2261
+ return this._basicScopeAttributesProvider.getBasicScopeAttributes(scope);
2262
+ }
2263
+ _collectInjections() {
2264
+ const grammarRepository = {
2265
+ lookup: (scopeName2) => {
2266
+ if (scopeName2 === this._rootScopeName) {
2267
+ return this._grammar;
2268
+ }
2269
+ return this.getExternalGrammar(scopeName2);
2270
+ },
2271
+ injections: (scopeName2) => {
2272
+ return this._grammarRepository.injections(scopeName2);
2273
+ }
2274
+ };
2275
+ const result = [];
2276
+ const scopeName = this._rootScopeName;
2277
+ const grammar = grammarRepository.lookup(scopeName);
2278
+ if (grammar) {
2279
+ const rawInjections = grammar.injections;
2280
+ if (rawInjections) {
2281
+ for (let expression in rawInjections) {
2282
+ collectInjections(
2283
+ result,
2284
+ expression,
2285
+ rawInjections[expression],
2286
+ this,
2287
+ grammar
2288
+ );
2289
+ }
2290
+ }
2291
+ const injectionScopeNames = this._grammarRepository.injections(scopeName);
2292
+ if (injectionScopeNames) {
2293
+ injectionScopeNames.forEach((injectionScopeName) => {
2294
+ const injectionGrammar = this.getExternalGrammar(injectionScopeName);
2295
+ if (injectionGrammar) {
2296
+ const selector = injectionGrammar.injectionSelector;
2297
+ if (selector) {
2298
+ collectInjections(
2299
+ result,
2300
+ selector,
2301
+ injectionGrammar,
2302
+ this,
2303
+ injectionGrammar
2304
+ );
2305
+ }
2306
+ }
2307
+ });
2308
+ }
2309
+ }
2310
+ result.sort((i1, i2) => i1.priority - i2.priority);
2311
+ return result;
2312
+ }
2313
+ getInjections() {
2314
+ if (this._injections === null) {
2315
+ this._injections = this._collectInjections();
2316
+ }
2317
+ return this._injections;
2318
+ }
2319
+ registerRule(factory) {
2320
+ const id = ++this._lastRuleId;
2321
+ const result = factory(ruleIdFromNumber(id));
2322
+ this._ruleId2desc[id] = result;
2323
+ return result;
2324
+ }
2325
+ getRule(ruleId) {
2326
+ return this._ruleId2desc[ruleIdToNumber(ruleId)];
2327
+ }
2328
+ getExternalGrammar(scopeName, repository) {
2329
+ if (this._includedGrammars[scopeName]) {
2330
+ return this._includedGrammars[scopeName];
2331
+ } else if (this._grammarRepository) {
2332
+ const rawIncludedGrammar = this._grammarRepository.lookup(scopeName);
2333
+ if (rawIncludedGrammar) {
2334
+ this._includedGrammars[scopeName] = initGrammar(
2335
+ rawIncludedGrammar,
2336
+ repository && repository.$base
2337
+ );
2338
+ return this._includedGrammars[scopeName];
2339
+ }
2340
+ }
2341
+ return void 0;
2342
+ }
2343
+ tokenizeLine(lineText, prevState, timeLimit = 0) {
2344
+ const r = this._tokenize(lineText, prevState, false, timeLimit);
2345
+ return {
2346
+ tokens: r.lineTokens.getResult(r.ruleStack, r.lineLength),
2347
+ ruleStack: r.ruleStack,
2348
+ stoppedEarly: r.stoppedEarly
2349
+ };
2350
+ }
2351
+ tokenizeLine2(lineText, prevState, timeLimit = 0) {
2352
+ const r = this._tokenize(lineText, prevState, true, timeLimit);
2353
+ return {
2354
+ tokens: r.lineTokens.getBinaryResult(r.ruleStack, r.lineLength),
2355
+ ruleStack: r.ruleStack,
2356
+ stoppedEarly: r.stoppedEarly
2357
+ };
2358
+ }
2359
+ _tokenize(lineText, prevState, emitBinaryTokens, timeLimit) {
2360
+ if (this._rootId === -1) {
2361
+ this._rootId = RuleFactory.getCompiledRuleId(
2362
+ this._grammar.repository.$self,
2363
+ this,
2364
+ this._grammar.repository
2365
+ );
2366
+ this.getInjections();
2367
+ }
2368
+ let isFirstLine;
2369
+ if (!prevState || prevState === StateStackImpl.NULL) {
2370
+ isFirstLine = true;
2371
+ const rawDefaultMetadata = this._basicScopeAttributesProvider.getDefaultAttributes();
2372
+ const defaultStyle = this.themeProvider.getDefaults();
2373
+ const defaultMetadata = EncodedTokenMetadata.set(
2374
+ 0,
2375
+ rawDefaultMetadata.languageId,
2376
+ rawDefaultMetadata.tokenType,
2377
+ null,
2378
+ defaultStyle.fontStyle,
2379
+ defaultStyle.foregroundId,
2380
+ defaultStyle.backgroundId
2381
+ );
2382
+ const rootScopeName = this.getRule(this._rootId).getName(
2383
+ null,
2384
+ null
2385
+ );
2386
+ let scopeList;
2387
+ if (rootScopeName) {
2388
+ scopeList = AttributedScopeStack.createRootAndLookUpScopeName(
2389
+ rootScopeName,
2390
+ defaultMetadata,
2391
+ this
2392
+ );
2393
+ } else {
2394
+ scopeList = AttributedScopeStack.createRoot(
2395
+ "unknown",
2396
+ defaultMetadata
2397
+ );
2398
+ }
2399
+ prevState = new StateStackImpl(
2400
+ null,
2401
+ this._rootId,
2402
+ -1,
2403
+ -1,
2404
+ false,
2405
+ null,
2406
+ scopeList,
2407
+ scopeList
2408
+ );
2409
+ } else {
2410
+ isFirstLine = false;
2411
+ prevState.reset();
2412
+ }
2413
+ lineText = lineText + "\n";
2414
+ const onigLineText = this.createOnigString(lineText);
2415
+ const lineLength = onigLineText.content.length;
2416
+ const lineTokens = new LineTokens(
2417
+ emitBinaryTokens,
2418
+ lineText,
2419
+ this._tokenTypeMatchers,
2420
+ this.balancedBracketSelectors
2421
+ );
2422
+ const r = _tokenizeString(
2423
+ this,
2424
+ onigLineText,
2425
+ isFirstLine,
2426
+ 0,
2427
+ prevState,
2428
+ lineTokens,
2429
+ true,
2430
+ timeLimit
2431
+ );
2432
+ disposeOnigString(onigLineText);
2433
+ return {
2434
+ lineLength,
2435
+ lineTokens,
2436
+ ruleStack: r.stack,
2437
+ stoppedEarly: r.stoppedEarly
2438
+ };
2439
+ }
2440
+ };
2441
+ function initGrammar(grammar, base) {
2442
+ grammar = clone(grammar);
2443
+ grammar.repository = grammar.repository || {};
2444
+ grammar.repository.$self = {
2445
+ $vscodeTextmateLocation: grammar.$vscodeTextmateLocation,
2446
+ patterns: grammar.patterns,
2447
+ name: grammar.scopeName
2448
+ };
2449
+ grammar.repository.$base = base || grammar.repository.$self;
2450
+ return grammar;
2451
+ }
2452
+ var AttributedScopeStack = class _AttributedScopeStack {
2453
+ /**
2454
+ * Invariant:
2455
+ * ```
2456
+ * if (parent && !scopePath.extends(parent.scopePath)) {
2457
+ * throw new Error();
2458
+ * }
2459
+ * ```
2460
+ */
2461
+ constructor(parent, scopePath, tokenAttributes) {
2462
+ this.parent = parent;
2463
+ this.scopePath = scopePath;
2464
+ this.tokenAttributes = tokenAttributes;
2465
+ }
2466
+ static fromExtension(namesScopeList, contentNameScopesList) {
2467
+ let current = namesScopeList;
2468
+ let scopeNames = namesScopeList?.scopePath ?? null;
2469
+ for (const frame of contentNameScopesList) {
2470
+ scopeNames = ScopeStack.push(scopeNames, frame.scopeNames);
2471
+ current = new _AttributedScopeStack(current, scopeNames, frame.encodedTokenAttributes);
2472
+ }
2473
+ return current;
2474
+ }
2475
+ static createRoot(scopeName, tokenAttributes) {
2476
+ return new _AttributedScopeStack(null, new ScopeStack(null, scopeName), tokenAttributes);
2477
+ }
2478
+ static createRootAndLookUpScopeName(scopeName, tokenAttributes, grammar) {
2479
+ const rawRootMetadata = grammar.getMetadataForScope(scopeName);
2480
+ const scopePath = new ScopeStack(null, scopeName);
2481
+ const rootStyle = grammar.themeProvider.themeMatch(scopePath);
2482
+ const resolvedTokenAttributes = _AttributedScopeStack.mergeAttributes(
2483
+ tokenAttributes,
2484
+ rawRootMetadata,
2485
+ rootStyle
2486
+ );
2487
+ return new _AttributedScopeStack(null, scopePath, resolvedTokenAttributes);
2488
+ }
2489
+ get scopeName() {
2490
+ return this.scopePath.scopeName;
2491
+ }
2492
+ toString() {
2493
+ return this.getScopeNames().join(" ");
2494
+ }
2495
+ equals(other) {
2496
+ return _AttributedScopeStack.equals(this, other);
2497
+ }
2498
+ static equals(a, b) {
2499
+ do {
2500
+ if (a === b) {
2501
+ return true;
2502
+ }
2503
+ if (!a && !b) {
2504
+ return true;
2505
+ }
2506
+ if (!a || !b) {
2507
+ return false;
2508
+ }
2509
+ if (a.scopeName !== b.scopeName || a.tokenAttributes !== b.tokenAttributes) {
2510
+ return false;
2511
+ }
2512
+ a = a.parent;
2513
+ b = b.parent;
2514
+ } while (true);
2515
+ }
2516
+ static mergeAttributes(existingTokenAttributes, basicScopeAttributes, styleAttributes) {
2517
+ let fontStyle = -1;
2518
+ let foreground = 0;
2519
+ let background = 0;
2520
+ if (styleAttributes !== null) {
2521
+ fontStyle = styleAttributes.fontStyle;
2522
+ foreground = styleAttributes.foregroundId;
2523
+ background = styleAttributes.backgroundId;
2524
+ }
2525
+ return EncodedTokenMetadata.set(
2526
+ existingTokenAttributes,
2527
+ basicScopeAttributes.languageId,
2528
+ basicScopeAttributes.tokenType,
2529
+ null,
2530
+ fontStyle,
2531
+ foreground,
2532
+ background
2533
+ );
2534
+ }
2535
+ pushAttributed(scopePath, grammar) {
2536
+ if (scopePath === null) {
2537
+ return this;
2538
+ }
2539
+ if (scopePath.indexOf(" ") === -1) {
2540
+ return _AttributedScopeStack._pushAttributed(this, scopePath, grammar);
2541
+ }
2542
+ const scopes = scopePath.split(/ /g);
2543
+ let result = this;
2544
+ for (const scope of scopes) {
2545
+ result = _AttributedScopeStack._pushAttributed(result, scope, grammar);
2546
+ }
2547
+ return result;
2548
+ }
2549
+ static _pushAttributed(target, scopeName, grammar) {
2550
+ const rawMetadata = grammar.getMetadataForScope(scopeName);
2551
+ const newPath = target.scopePath.push(scopeName);
2552
+ const scopeThemeMatchResult = grammar.themeProvider.themeMatch(newPath);
2553
+ const metadata = _AttributedScopeStack.mergeAttributes(
2554
+ target.tokenAttributes,
2555
+ rawMetadata,
2556
+ scopeThemeMatchResult
2557
+ );
2558
+ return new _AttributedScopeStack(target, newPath, metadata);
2559
+ }
2560
+ getScopeNames() {
2561
+ return this.scopePath.getSegments();
2562
+ }
2563
+ getExtensionIfDefined(base) {
2564
+ const result = [];
2565
+ let self = this;
2566
+ while (self && self !== base) {
2567
+ result.push({
2568
+ encodedTokenAttributes: self.tokenAttributes,
2569
+ scopeNames: self.scopePath.getExtensionIfDefined(self.parent?.scopePath ?? null)
2570
+ });
2571
+ self = self.parent;
2572
+ }
2573
+ return self === base ? result.reverse() : void 0;
2574
+ }
2575
+ };
2576
+ var StateStackImpl = (_b = class {
2577
+ /**
2578
+ * Invariant:
2579
+ * ```
2580
+ * if (contentNameScopesList !== nameScopesList && contentNameScopesList?.parent !== nameScopesList) {
2581
+ * throw new Error();
2582
+ * }
2583
+ * if (this.parent && !nameScopesList.extends(this.parent.contentNameScopesList)) {
2584
+ * throw new Error();
2585
+ * }
2586
+ * ```
2587
+ */
2588
+ constructor(parent, ruleId, enterPos, anchorPos, beginRuleCapturedEOL, endRule, nameScopesList, contentNameScopesList) {
2589
+ __publicField(this, "_stackElementBrand");
2590
+ /**
2591
+ * The position on the current line where this state was pushed.
2592
+ * This is relevant only while tokenizing a line, to detect endless loops.
2593
+ * Its value is meaningless across lines.
2594
+ */
2595
+ __publicField(this, "_enterPos");
2596
+ /**
2597
+ * The captured anchor position when this stack element was pushed.
2598
+ * This is relevant only while tokenizing a line, to restore the anchor position when popping.
2599
+ * Its value is meaningless across lines.
2600
+ */
2601
+ __publicField(this, "_anchorPos");
2602
+ /**
2603
+ * The depth of the stack.
2604
+ */
2605
+ __publicField(this, "depth");
2606
+ this.parent = parent;
2607
+ this.ruleId = ruleId;
2608
+ this.beginRuleCapturedEOL = beginRuleCapturedEOL;
2609
+ this.endRule = endRule;
2610
+ this.nameScopesList = nameScopesList;
2611
+ this.contentNameScopesList = contentNameScopesList;
2612
+ this.depth = this.parent ? this.parent.depth + 1 : 1;
2613
+ this._enterPos = enterPos;
2614
+ this._anchorPos = anchorPos;
2615
+ }
2616
+ equals(other) {
2617
+ if (other === null) {
2618
+ return false;
2619
+ }
2620
+ return _b._equals(this, other);
2621
+ }
2622
+ static _equals(a, b) {
2623
+ if (a === b) {
2624
+ return true;
2625
+ }
2626
+ if (!this._structuralEquals(a, b)) {
2627
+ return false;
2628
+ }
2629
+ return AttributedScopeStack.equals(a.contentNameScopesList, b.contentNameScopesList);
2630
+ }
2631
+ /**
2632
+ * A structural equals check. Does not take into account `scopes`.
2633
+ */
2634
+ static _structuralEquals(a, b) {
2635
+ do {
2636
+ if (a === b) {
2637
+ return true;
2638
+ }
2639
+ if (!a && !b) {
2640
+ return true;
2641
+ }
2642
+ if (!a || !b) {
2643
+ return false;
2644
+ }
2645
+ if (a.depth !== b.depth || a.ruleId !== b.ruleId || a.endRule !== b.endRule) {
2646
+ return false;
2647
+ }
2648
+ a = a.parent;
2649
+ b = b.parent;
2650
+ } while (true);
2651
+ }
2652
+ clone() {
2653
+ return this;
2654
+ }
2655
+ static _reset(el) {
2656
+ while (el) {
2657
+ el._enterPos = -1;
2658
+ el._anchorPos = -1;
2659
+ el = el.parent;
2660
+ }
2661
+ }
2662
+ reset() {
2663
+ _b._reset(this);
2664
+ }
2665
+ pop() {
2666
+ return this.parent;
2667
+ }
2668
+ safePop() {
2669
+ if (this.parent) {
2670
+ return this.parent;
2671
+ }
2672
+ return this;
2673
+ }
2674
+ push(ruleId, enterPos, anchorPos, beginRuleCapturedEOL, endRule, nameScopesList, contentNameScopesList) {
2675
+ return new _b(
2676
+ this,
2677
+ ruleId,
2678
+ enterPos,
2679
+ anchorPos,
2680
+ beginRuleCapturedEOL,
2681
+ endRule,
2682
+ nameScopesList,
2683
+ contentNameScopesList
2684
+ );
2685
+ }
2686
+ getEnterPos() {
2687
+ return this._enterPos;
2688
+ }
2689
+ getAnchorPos() {
2690
+ return this._anchorPos;
2691
+ }
2692
+ getRule(grammar) {
2693
+ return grammar.getRule(this.ruleId);
2694
+ }
2695
+ toString() {
2696
+ const r = [];
2697
+ this._writeString(r, 0);
2698
+ return "[" + r.join(",") + "]";
2699
+ }
2700
+ _writeString(res, outIndex) {
2701
+ if (this.parent) {
2702
+ outIndex = this.parent._writeString(res, outIndex);
2703
+ }
2704
+ res[outIndex++] = `(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`;
2705
+ return outIndex;
2706
+ }
2707
+ withContentNameScopesList(contentNameScopeStack) {
2708
+ if (this.contentNameScopesList === contentNameScopeStack) {
2709
+ return this;
2710
+ }
2711
+ return this.parent.push(
2712
+ this.ruleId,
2713
+ this._enterPos,
2714
+ this._anchorPos,
2715
+ this.beginRuleCapturedEOL,
2716
+ this.endRule,
2717
+ this.nameScopesList,
2718
+ contentNameScopeStack
2719
+ );
2720
+ }
2721
+ withEndRule(endRule) {
2722
+ if (this.endRule === endRule) {
2723
+ return this;
2724
+ }
2725
+ return new _b(
2726
+ this.parent,
2727
+ this.ruleId,
2728
+ this._enterPos,
2729
+ this._anchorPos,
2730
+ this.beginRuleCapturedEOL,
2731
+ endRule,
2732
+ this.nameScopesList,
2733
+ this.contentNameScopesList
2734
+ );
2735
+ }
2736
+ // Used to warn of endless loops
2737
+ hasSameRuleAs(other) {
2738
+ let el = this;
2739
+ while (el && el._enterPos === other._enterPos) {
2740
+ if (el.ruleId === other.ruleId) {
2741
+ return true;
2742
+ }
2743
+ el = el.parent;
2744
+ }
2745
+ return false;
2746
+ }
2747
+ toStateStackFrame() {
2748
+ return {
2749
+ ruleId: ruleIdToNumber(this.ruleId),
2750
+ beginRuleCapturedEOL: this.beginRuleCapturedEOL,
2751
+ endRule: this.endRule,
2752
+ nameScopesList: this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList ?? null) ?? [],
2753
+ contentNameScopesList: this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList) ?? []
2754
+ };
2755
+ }
2756
+ static pushFrame(self, frame) {
2757
+ const namesScopeList = AttributedScopeStack.fromExtension(self?.nameScopesList ?? null, frame.nameScopesList);
2758
+ return new _b(
2759
+ self,
2760
+ ruleIdFromNumber(frame.ruleId),
2761
+ frame.enterPos ?? -1,
2762
+ frame.anchorPos ?? -1,
2763
+ frame.beginRuleCapturedEOL,
2764
+ frame.endRule,
2765
+ namesScopeList,
2766
+ AttributedScopeStack.fromExtension(namesScopeList, frame.contentNameScopesList)
2767
+ );
2768
+ }
2769
+ }, // TODO remove me
2770
+ __publicField(_b, "NULL", new _b(
2771
+ null,
2772
+ 0,
2773
+ 0,
2774
+ 0,
2775
+ false,
2776
+ null,
2777
+ null,
2778
+ null
2779
+ )), _b);
2780
+ var BalancedBracketSelectors = class {
2781
+ constructor(balancedBracketScopes, unbalancedBracketScopes) {
2782
+ __publicField(this, "balancedBracketScopes");
2783
+ __publicField(this, "unbalancedBracketScopes");
2784
+ __publicField(this, "allowAny", false);
2785
+ this.balancedBracketScopes = balancedBracketScopes.flatMap(
2786
+ (selector) => {
2787
+ if (selector === "*") {
2788
+ this.allowAny = true;
2789
+ return [];
2790
+ }
2791
+ return createMatchers(selector, nameMatcher).map((m) => m.matcher);
2792
+ }
2793
+ );
2794
+ this.unbalancedBracketScopes = unbalancedBracketScopes.flatMap(
2795
+ (selector) => createMatchers(selector, nameMatcher).map((m) => m.matcher)
2796
+ );
2797
+ }
2798
+ get matchesAlways() {
2799
+ return this.allowAny && this.unbalancedBracketScopes.length === 0;
2800
+ }
2801
+ get matchesNever() {
2802
+ return this.balancedBracketScopes.length === 0 && !this.allowAny;
2803
+ }
2804
+ match(scopes) {
2805
+ for (const excluder of this.unbalancedBracketScopes) {
2806
+ if (excluder(scopes)) {
2807
+ return false;
2808
+ }
2809
+ }
2810
+ for (const includer of this.balancedBracketScopes) {
2811
+ if (includer(scopes)) {
2812
+ return true;
2813
+ }
2814
+ }
2815
+ return this.allowAny;
2816
+ }
2817
+ };
2818
+ var LineTokens = class {
2819
+ constructor(emitBinaryTokens, lineText, tokenTypeOverrides, balancedBracketSelectors) {
2820
+ __publicField(this, "_emitBinaryTokens");
2821
+ /**
2822
+ * defined only if `false`.
2823
+ */
2824
+ __publicField(this, "_lineText");
2825
+ /**
2826
+ * used only if `_emitBinaryTokens` is false.
2827
+ */
2828
+ __publicField(this, "_tokens");
2829
+ /**
2830
+ * used only if `_emitBinaryTokens` is true.
2831
+ */
2832
+ __publicField(this, "_binaryTokens");
2833
+ __publicField(this, "_lastTokenEndIndex");
2834
+ __publicField(this, "_tokenTypeOverrides");
2835
+ this.balancedBracketSelectors = balancedBracketSelectors;
2836
+ this._emitBinaryTokens = emitBinaryTokens;
2837
+ this._tokenTypeOverrides = tokenTypeOverrides;
2838
+ {
2839
+ this._lineText = null;
2840
+ }
2841
+ this._tokens = [];
2842
+ this._binaryTokens = [];
2843
+ this._lastTokenEndIndex = 0;
2844
+ }
2845
+ produce(stack, endIndex) {
2846
+ this.produceFromScopes(stack.contentNameScopesList, endIndex);
2847
+ }
2848
+ produceFromScopes(scopesList, endIndex) {
2849
+ if (this._lastTokenEndIndex >= endIndex) {
2850
+ return;
2851
+ }
2852
+ if (this._emitBinaryTokens) {
2853
+ let metadata = scopesList?.tokenAttributes ?? 0;
2854
+ let containsBalancedBrackets = false;
2855
+ if (this.balancedBracketSelectors?.matchesAlways) {
2856
+ containsBalancedBrackets = true;
2857
+ }
2858
+ if (this._tokenTypeOverrides.length > 0 || this.balancedBracketSelectors && !this.balancedBracketSelectors.matchesAlways && !this.balancedBracketSelectors.matchesNever) {
2859
+ const scopes2 = scopesList?.getScopeNames() ?? [];
2860
+ for (const tokenType of this._tokenTypeOverrides) {
2861
+ if (tokenType.matcher(scopes2)) {
2862
+ metadata = EncodedTokenMetadata.set(
2863
+ metadata,
2864
+ 0,
2865
+ toOptionalTokenType(tokenType.type),
2866
+ null,
2867
+ -1,
2868
+ 0,
2869
+ 0
2870
+ );
2871
+ }
2872
+ }
2873
+ if (this.balancedBracketSelectors) {
2874
+ containsBalancedBrackets = this.balancedBracketSelectors.match(scopes2);
2875
+ }
2876
+ }
2877
+ if (containsBalancedBrackets) {
2878
+ metadata = EncodedTokenMetadata.set(
2879
+ metadata,
2880
+ 0,
2881
+ 8,
2882
+ containsBalancedBrackets,
2883
+ -1,
2884
+ 0,
2885
+ 0
2886
+ );
2887
+ }
2888
+ if (this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 1] === metadata) {
2889
+ this._lastTokenEndIndex = endIndex;
2890
+ return;
2891
+ }
2892
+ this._binaryTokens.push(this._lastTokenEndIndex);
2893
+ this._binaryTokens.push(metadata);
2894
+ this._lastTokenEndIndex = endIndex;
2895
+ return;
2896
+ }
2897
+ const scopes = scopesList?.getScopeNames() ?? [];
2898
+ this._tokens.push({
2899
+ startIndex: this._lastTokenEndIndex,
2900
+ endIndex,
2901
+ // value: lineText.substring(lastTokenEndIndex, endIndex),
2902
+ scopes
2903
+ });
2904
+ this._lastTokenEndIndex = endIndex;
2905
+ }
2906
+ getResult(stack, lineLength) {
2907
+ if (this._tokens.length > 0 && this._tokens[this._tokens.length - 1].startIndex === lineLength - 1) {
2908
+ this._tokens.pop();
2909
+ }
2910
+ if (this._tokens.length === 0) {
2911
+ this._lastTokenEndIndex = -1;
2912
+ this.produce(stack, lineLength);
2913
+ this._tokens[this._tokens.length - 1].startIndex = 0;
2914
+ }
2915
+ return this._tokens;
2916
+ }
2917
+ getBinaryResult(stack, lineLength) {
2918
+ if (this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 2] === lineLength - 1) {
2919
+ this._binaryTokens.pop();
2920
+ this._binaryTokens.pop();
2921
+ }
2922
+ if (this._binaryTokens.length === 0) {
2923
+ this._lastTokenEndIndex = -1;
2924
+ this.produce(stack, lineLength);
2925
+ this._binaryTokens[this._binaryTokens.length - 2] = 0;
2926
+ }
2927
+ const result = new Uint32Array(this._binaryTokens.length);
2928
+ for (let i = 0, len = this._binaryTokens.length; i < len; i++) {
2929
+ result[i] = this._binaryTokens[i];
2930
+ }
2931
+ return result;
2932
+ }
2933
+ };
2934
+ var SyncRegistry = class {
2935
+ constructor(theme, _onigLib) {
2936
+ __publicField(this, "_grammars", /* @__PURE__ */ new Map());
2937
+ __publicField(this, "_rawGrammars", /* @__PURE__ */ new Map());
2938
+ __publicField(this, "_injectionGrammars", /* @__PURE__ */ new Map());
2939
+ __publicField(this, "_theme");
2940
+ this._onigLib = _onigLib;
2941
+ this._theme = theme;
2942
+ }
2943
+ dispose() {
2944
+ for (const grammar of this._grammars.values()) {
2945
+ grammar.dispose();
2946
+ }
2947
+ }
2948
+ setTheme(theme) {
2949
+ this._theme = theme;
2950
+ }
2951
+ getColorMap() {
2952
+ return this._theme.getColorMap();
2953
+ }
2954
+ /**
2955
+ * Add `grammar` to registry and return a list of referenced scope names
2956
+ */
2957
+ addGrammar(grammar, injectionScopeNames) {
2958
+ this._rawGrammars.set(grammar.scopeName, grammar);
2959
+ if (injectionScopeNames) {
2960
+ this._injectionGrammars.set(grammar.scopeName, injectionScopeNames);
2961
+ }
2962
+ }
2963
+ /**
2964
+ * Lookup a raw grammar.
2965
+ */
2966
+ lookup(scopeName) {
2967
+ return this._rawGrammars.get(scopeName);
2968
+ }
2969
+ /**
2970
+ * Returns the injections for the given grammar
2971
+ */
2972
+ injections(targetScope) {
2973
+ return this._injectionGrammars.get(targetScope);
2974
+ }
2975
+ /**
2976
+ * Get the default theme settings
2977
+ */
2978
+ getDefaults() {
2979
+ return this._theme.getDefaults();
2980
+ }
2981
+ /**
2982
+ * Match a scope in the theme.
2983
+ */
2984
+ themeMatch(scopePath) {
2985
+ return this._theme.match(scopePath);
2986
+ }
2987
+ /**
2988
+ * Lookup a grammar.
2989
+ */
2990
+ grammarForScopeName(scopeName, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors) {
2991
+ if (!this._grammars.has(scopeName)) {
2992
+ let rawGrammar = this._rawGrammars.get(scopeName);
2993
+ if (!rawGrammar) {
2994
+ return null;
2995
+ }
2996
+ this._grammars.set(scopeName, createGrammar(
2997
+ scopeName,
2998
+ rawGrammar,
2999
+ initialLanguage,
3000
+ embeddedLanguages,
3001
+ tokenTypes,
3002
+ balancedBracketSelectors,
3003
+ this,
3004
+ this._onigLib
3005
+ ));
3006
+ }
3007
+ return this._grammars.get(scopeName);
3008
+ }
3009
+ };
3010
+ var Registry$1 = class Registry {
3011
+ constructor(options) {
3012
+ __publicField(this, "_options");
3013
+ __publicField(this, "_syncRegistry");
3014
+ __publicField(this, "_ensureGrammarCache");
3015
+ this._options = options;
3016
+ this._syncRegistry = new SyncRegistry(
3017
+ Theme.createFromRawTheme(options.theme, options.colorMap),
3018
+ options.onigLib
3019
+ );
3020
+ this._ensureGrammarCache = /* @__PURE__ */ new Map();
3021
+ }
3022
+ dispose() {
3023
+ this._syncRegistry.dispose();
3024
+ }
3025
+ /**
3026
+ * Change the theme. Once called, no previous `ruleStack` should be used anymore.
3027
+ */
3028
+ setTheme(theme, colorMap) {
3029
+ this._syncRegistry.setTheme(Theme.createFromRawTheme(theme, colorMap));
3030
+ }
3031
+ /**
3032
+ * Returns a lookup array for color ids.
3033
+ */
3034
+ getColorMap() {
3035
+ return this._syncRegistry.getColorMap();
3036
+ }
3037
+ /**
3038
+ * Load the grammar for `scopeName` and all referenced included grammars asynchronously.
3039
+ * Please do not use language id 0.
3040
+ */
3041
+ loadGrammarWithEmbeddedLanguages(initialScopeName, initialLanguage, embeddedLanguages) {
3042
+ return this.loadGrammarWithConfiguration(initialScopeName, initialLanguage, { embeddedLanguages });
3043
+ }
3044
+ /**
3045
+ * Load the grammar for `scopeName` and all referenced included grammars asynchronously.
3046
+ * Please do not use language id 0.
3047
+ */
3048
+ loadGrammarWithConfiguration(initialScopeName, initialLanguage, configuration) {
3049
+ return this._loadGrammar(
3050
+ initialScopeName,
3051
+ initialLanguage,
3052
+ configuration.embeddedLanguages,
3053
+ configuration.tokenTypes,
3054
+ new BalancedBracketSelectors(
3055
+ configuration.balancedBracketSelectors || [],
3056
+ configuration.unbalancedBracketSelectors || []
3057
+ )
3058
+ );
3059
+ }
3060
+ /**
3061
+ * Load the grammar for `scopeName` and all referenced included grammars asynchronously.
3062
+ */
3063
+ loadGrammar(initialScopeName) {
3064
+ return this._loadGrammar(initialScopeName, 0, null, null, null);
3065
+ }
3066
+ _loadGrammar(initialScopeName, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors) {
3067
+ const dependencyProcessor = new ScopeDependencyProcessor(this._syncRegistry, initialScopeName);
3068
+ while (dependencyProcessor.Q.length > 0) {
3069
+ dependencyProcessor.Q.map((request) => this._loadSingleGrammar(request.scopeName));
3070
+ dependencyProcessor.processQueue();
3071
+ }
3072
+ return this._grammarForScopeName(
3073
+ initialScopeName,
3074
+ initialLanguage,
3075
+ embeddedLanguages,
3076
+ tokenTypes,
3077
+ balancedBracketSelectors
3078
+ );
3079
+ }
3080
+ _loadSingleGrammar(scopeName) {
3081
+ if (!this._ensureGrammarCache.has(scopeName)) {
3082
+ this._doLoadSingleGrammar(scopeName);
3083
+ this._ensureGrammarCache.set(scopeName, true);
3084
+ }
3085
+ }
3086
+ _doLoadSingleGrammar(scopeName) {
3087
+ const grammar = this._options.loadGrammar(scopeName);
3088
+ if (grammar) {
3089
+ const injections = typeof this._options.getInjections === "function" ? this._options.getInjections(scopeName) : void 0;
3090
+ this._syncRegistry.addGrammar(grammar, injections);
3091
+ }
3092
+ }
3093
+ /**
3094
+ * Adds a rawGrammar.
3095
+ */
3096
+ addGrammar(rawGrammar, injections = [], initialLanguage = 0, embeddedLanguages = null) {
3097
+ this._syncRegistry.addGrammar(rawGrammar, injections);
3098
+ return this._grammarForScopeName(rawGrammar.scopeName, initialLanguage, embeddedLanguages);
3099
+ }
3100
+ /**
3101
+ * Get the grammar for `scopeName`. The grammar must first be created via `loadGrammar` or `addGrammar`.
3102
+ */
3103
+ _grammarForScopeName(scopeName, initialLanguage = 0, embeddedLanguages = null, tokenTypes = null, balancedBracketSelectors = null) {
3104
+ return this._syncRegistry.grammarForScopeName(
3105
+ scopeName,
3106
+ initialLanguage,
3107
+ embeddedLanguages,
3108
+ tokenTypes,
3109
+ balancedBracketSelectors
3110
+ );
3111
+ }
3112
+ };
3113
+ var INITIAL = StateStackImpl.NULL;
3114
+ exports.EncodedTokenMetadata = EncodedTokenMetadata;
3115
+ exports.FontStyle = FontStyle;
3116
+ exports.INITIAL = INITIAL;
3117
+ exports.Registry = Registry$1;
3118
+ exports.Theme = Theme;
3119
+ exports.disposeOnigString = disposeOnigString;