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