product-doc 0.14.1 → 0.14.2
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/guide/previews.md +5 -1
- package/package.json +2 -2
- package/viewer-dist/assets/{core-BkcJpkJE.js → core-cZCITU9I.js} +1 -1
- package/viewer-dist/assets/{highlights-NUSPeu9U.js → highlights-nN81K30Y.js} +1 -1
- package/viewer-dist/assets/{index-C8Oxwcs8.js → index-DOfF35Q-.js} +4 -4
- package/viewer-dist/assets/{langs-Di6vPLUk.js → langs-b5pvyHTU.js} +1 -1
- package/viewer-dist/assets/{loader-Cvp9wZb2.js → loader-DfKq13Mg.js} +1 -1
- package/viewer-dist/assets/{shiki-CTIyHrkn.js → shiki-CqdI0RHM.js} +2 -2
- package/viewer-dist/assets/{stream-tokenizer-8imCpDcl.js → stream-tokenizer-D5CKTlAR.js} +1 -1
- package/viewer-dist/assets/{themes-CGzFOfgV.js → themes-DsXaTcpb.js} +2 -2
- package/viewer-dist/index.html +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-C4LeXCe-.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/html-CvoVzlT3.js","assets/javascript-DcMHgNcu.js","assets/css-BiJUKRHp.js","assets/angular-ts-CRxW7p1W.js","assets/scss-BuNb6cgZ.js","assets/apl-D60kkz--.js","assets/xml-C01ajBW7.js","assets/java-D7h0NA_A.js","assets/json-DePJdKYk.js","assets/astro-3Zgg9XqN.js","assets/typescript-BTGs5etX.js","assets/postcss-BXeXVLqQ.js","assets/tsx-DvWhG4dC.js","assets/blade-B5YUZNEG.js","assets/html-derivative-CmO0_REm.js","assets/sql-CrePkbX5.js","assets/bsl-_VjlB9mv.js","assets/sdbl-bTVj8UrX.js","assets/c-BNQJhXlP.js","assets/cairo-DLTphjLi.js","assets/python-gzcpVVnB.js","assets/chapel-CFMD-Djs.js","assets/cobol-DY6IFdmX.js","assets/coffee-BP03ytLP.js","assets/cpp-CUBNVKxn.js","assets/regexp-I2jnduhj.js","assets/glsl-CyFpZtQv.js","assets/crystal-NSr8mDkd.js","assets/shellscript-B51zB43X.js","assets/edge-DznSXZdq.js","assets/elixir-D1HcpP2u.js","assets/elm-Bmx6Fs0i.js","assets/erb-CdvLbCTI.js","assets/ruby-COXzLN2W.js","assets/haml-BkBm6IgF.js","assets/graphql-BIyAKkG2.js","assets/jsx-BUUYi3qs.js","assets/lua-Z49wBRLR.js","assets/yaml-BWCS3NLV.js","assets/erlang-Cphh6RMH.js","assets/markdown-BYOwaDjH.js","assets/fortran-fixed-form-DEKoE2YW.js","assets/fortran-free-form-CYNrtFtB.js","assets/fsharp-D13ZGOAj.js","assets/gdresource-xMC7jr7x.js","assets/gdshader-CBce3t8t.js","assets/gdscript-DYvRD3hg.js","assets/git-commit-BSykSTBG.js","assets/diff-woXpYk--.js","assets/git-rebase-C-RR1FSc.js","assets/glimmer-js-BUse42ki.js","assets/glimmer-ts-zH_nSjyx.js","assets/hack-qk6BiceN.js","assets/handlebars-FMeV8O-Z.js","assets/http-c4_vT9ST.js","assets/hurl-BqZA9I9Q.js","assets/csv-Dx-8-gkx.js","assets/hxml-Dcm88srW.js","assets/haxe-C8oCnwJJ.js","assets/jinja-IxhZJXij.js","assets/jison-Ru_S5AEn.js","assets/julia-BuaSHoYZ.js","assets/r-CvCSiWB_.js","assets/just-BJW1YJYB.js","assets/perl-DLhC7S_Q.js","assets/latex-B6yY1rfM.js","assets/tex-JPaUWOrn.js","assets/liquid-DNgNMjPq.js","assets/marko-i5cBncq8.js","assets/less-DVTAwKKz.js","assets/mdc-C3wRYKz5.js","assets/nextflow-CSgcYZcx.js","assets/nextflow-groovy-D7IRt6Pp.js","assets/nginx-BrbrEdla.js","assets/nim-BCe7ZKXY.js","assets/org-DDCXkPsd.js","assets/clojure-DqKBuwfJ.js","assets/csharp-dmMxLVLW.js","assets/dart-CHZY9Xhz.js","assets/docker-IyjqRm3v.js","assets/go-rLFTqkRN.js","assets/groovy-CacY0gHj.js","assets/ini-B5eOa1yu.js","assets/make-Dixweg8N.js","assets/objective-c-D1A_Heim.js","assets/ocaml-O90oeIOV.js","assets/php-CDzTReqR.js","assets/vb-DOwzaHZ0.js","assets/raku-B3gFvitq.js","assets/rust-DpiIf5JO.js","assets/scala-BiFt_7mu.js","assets/zig-CMLA9XwU.js","assets/xsl-CCLNyvR3.js","assets/pug-COoI2o4U.js","assets/qml-g4UDed-8.js","assets/razor-BRLDaw7i.js","assets/rst-BEQnCgL0.js","assets/cmake-Bj61d0ZC.js","assets/sas-Cr47JhdL.js","assets/shaderlab-TOUzSsQk.js","assets/hlsl-Cvrh5tZx.js","assets/shellsession-B-KBpmJs.js","assets/soy-B-X4e_cm.js","assets/sparql-D_iOobhT.js","assets/turtle-ByJddavk.js","assets/stata-LQMPNdRb.js","assets/surrealql-DalIYx4r.js","assets/svelte-CutSaB0m.js","assets/templ-STIZV9cS.js","assets/ts-tags-DugY2c1f.js","assets/twig-CAQ2meH1.js","assets/typst-D2auzO0m.js","assets/bat-qdxAdBWQ.js","assets/bibtex-Ci_nEsc7.js","assets/jsonc-CYpm1nAK.js","assets/log-BNLmms1o.js","assets/powershell-QtSnmXcu.js","assets/swift-CyEgAFGc.js","assets/system-verilog-Dh5ihWbf.js","assets/verilog-B2gwz-sJ.js","assets/vue-Bu9nv_eN.js","assets/vue-html-BXjKVtKk.js","assets/vue-vine-Ci2qndh_.js","assets/stylus-B6D30XZt.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{h as e}from"./index-C8Oxwcs8.js";var t=[{id:`abap`,name:`ABAP`,import:(()=>e(()=>import(`./abap-CLvhMVsD.js`),[]))},{id:`actionscript-3`,name:`ActionScript`,aliases:[`actionscript`,`as3`],import:(()=>e(()=>import(`./actionscript-3-Cs6JJXT5.js`),[]))},{id:`ada`,name:`Ada`,import:(()=>e(()=>import(`./ada-X3Y2mlq2.js`),[]))},{id:`ahk`,name:`AutoHotkey`,aliases:[`ahk1`],import:(()=>e(()=>import(`./ahk-DwADkxyd.js`),[]))},{id:`ahk2`,name:`AutoHotkey2`,import:(()=>e(()=>import(`./ahk2-_6rzW9BS.js`),[]))},{id:`angular-html`,name:`Angular HTML`,import:(()=>e(()=>import(`./angular-html-C4LeXCe-.js`).then(e=>e.n),__vite__mapDeps([0,1,2,3,4])))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>e(()=>import(`./angular-ts-CRxW7p1W.js`),__vite__mapDeps([5,0,1,2,3,4,6])))},{id:`apache`,name:`Apache Conf`,import:(()=>e(()=>import(`./apache-U0d_L8uA.js`),[]))},{id:`apex`,name:`Apex`,import:(()=>e(()=>import(`./apex-KFGFyKwG.js`),[]))},{id:`apl`,name:`APL`,import:(()=>e(()=>import(`./apl-D60kkz--.js`),__vite__mapDeps([7,3,1,4,2,8,9,10])))},{id:`applescript`,name:`AppleScript`,import:(()=>e(()=>import(`./applescript-CCn79oCD.js`),[]))},{id:`ara`,name:`Ara`,import:(()=>e(()=>import(`./ara-4CJ0cIlV.js`),[]))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>e(()=>import(`./asciidoc-SCjQUq34.js`),[]))},{id:`asm`,name:`Assembly`,import:(()=>e(()=>import(`./asm-Cmm7eHzH.js`),[]))},{id:`astro`,name:`Astro`,import:(()=>e(()=>import(`./astro-3Zgg9XqN.js`),__vite__mapDeps([11,3,1,4,10,12,13,14])))},{id:`awk`,name:`AWK`,import:(()=>e(()=>import(`./awk-BWXHIvNe.js`),[]))},{id:`ballerina`,name:`Ballerina`,import:(()=>e(()=>import(`./ballerina-B7ZEbQpA.js`),[]))},{id:`bat`,name:`Batch File`,aliases:[`batch`,`cmd`],import:(()=>e(()=>import(`./bat-qdxAdBWQ.js`),[]))},{id:`beancount`,name:`Beancount`,import:(()=>e(()=>import(`./beancount-C2IN4Vk8.js`),[]))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>e(()=>import(`./berry-DKpUyyne.js`),[]))},{id:`bibtex`,name:`BibTeX`,import:(()=>e(()=>import(`./bibtex-Ci_nEsc7.js`),[]))},{id:`bicep`,name:`Bicep`,import:(()=>e(()=>import(`./bicep-CUHmPFLl.js`),[]))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>e(()=>import(`./bird2-CYIUgYqB.js`),[]))},{id:`blade`,name:`Blade`,import:(()=>e(()=>import(`./blade-B5YUZNEG.js`),__vite__mapDeps([15,3,1,4,2,8,9,10,16,17])))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>e(()=>import(`./bsl-_VjlB9mv.js`),__vite__mapDeps([18,19])))},{id:`c`,name:`C`,import:(()=>e(()=>import(`./c-BNQJhXlP.js`).then(e=>e.n),__vite__mapDeps([20,1])))},{id:`c3`,name:`C3`,import:(()=>e(()=>import(`./c3-D0apG41V.js`),[]))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>e(()=>import(`./cadence-CQ2zXKGN.js`),[]))},{id:`cairo`,name:`Cairo`,import:(()=>e(()=>import(`./cairo-DLTphjLi.js`),__vite__mapDeps([21,22])))},{id:`chapel`,name:`Chapel`,aliases:[`chpl`],import:(()=>e(()=>import(`./chapel-CFMD-Djs.js`),__vite__mapDeps([23,20,1])))},{id:`clarity`,name:`Clarity`,import:(()=>e(()=>import(`./clarity-CtfBBspg.js`),[]))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>e(()=>import(`./clojure-DqKBuwfJ.js`),[]))},{id:`cmake`,name:`CMake`,import:(()=>e(()=>import(`./cmake-Bj61d0ZC.js`),[]))},{id:`cobol`,name:`COBOL`,import:(()=>e(()=>import(`./cobol-DY6IFdmX.js`),__vite__mapDeps([24,2,1,3,4,9])))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>e(()=>import(`./codeowners-C8r90Shi.js`),[]))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>e(()=>import(`./codeql-oeQT6MSM.js`),[]))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>e(()=>import(`./coffee-BP03ytLP.js`),__vite__mapDeps([25,3,1])))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>e(()=>import(`./common-lisp-Cv5bFMCO.js`),[]))},{id:`coq`,name:`Rocq`,import:(()=>e(()=>import(`./coq-CGaSfhwR.js`),[]))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>e(()=>import(`./cpp-CUBNVKxn.js`).then(e=>e.n),__vite__mapDeps([26,1,27,28,20])))},{id:`crystal`,name:`Crystal`,import:(()=>e(()=>import(`./crystal-NSr8mDkd.js`),__vite__mapDeps([29,3,1,4,2,30,17,20])))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>e(()=>import(`./csharp-dmMxLVLW.js`),[]))},{id:`css`,name:`CSS`,import:(()=>e(()=>import(`./css-BiJUKRHp.js`).then(e=>e.n),__vite__mapDeps([4,1])))},{id:`csv`,name:`CSV`,import:(()=>e(()=>import(`./csv-Dx-8-gkx.js`),[]))},{id:`cue`,name:`CUE`,import:(()=>e(()=>import(`./cue-CE9AQfxI.js`),[]))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>e(()=>import(`./cypher-ClKdZ_lG.js`),[]))},{id:`d`,name:`D`,import:(()=>e(()=>import(`./d-qD-0Kul2.js`),[]))},{id:`dart`,name:`Dart`,import:(()=>e(()=>import(`./dart-CHZY9Xhz.js`),[]))},{id:`dax`,name:`DAX`,import:(()=>e(()=>import(`./dax-BkyTk9wS.js`),[]))},{id:`desktop`,name:`Desktop`,import:(()=>e(()=>import(`./desktop-Dlh5hvp9.js`),[]))},{id:`diff`,name:`Diff`,import:(()=>e(()=>import(`./diff-woXpYk--.js`),[]))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>e(()=>import(`./docker-IyjqRm3v.js`),[]))},{id:`dotenv`,name:`dotEnv`,import:(()=>e(()=>import(`./dotenv-CuH5my32.js`),[]))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>e(()=>import(`./dream-maker-DW3nJb8Q.js`),[]))},{id:`edge`,name:`Edge`,import:(()=>e(()=>import(`./edge-DznSXZdq.js`),__vite__mapDeps([31,2,1,3,4,12,16])))},{id:`elixir`,name:`Elixir`,import:(()=>e(()=>import(`./elixir-D1HcpP2u.js`),__vite__mapDeps([32,2,1,3,4])))},{id:`elm`,name:`Elm`,import:(()=>e(()=>import(`./elm-Bmx6Fs0i.js`),__vite__mapDeps([33,28,1,20])))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>e(()=>import(`./emacs-lisp-DR2vtWaj.js`),[]))},{id:`erb`,name:`ERB`,import:(()=>e(()=>import(`./erb-CdvLbCTI.js`),__vite__mapDeps([34,2,1,3,4,35,8,9,30,17,20,26,27,28,36,37,12,14,38,39,40])))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>e(()=>import(`./erlang-Cphh6RMH.js`),__vite__mapDeps([41,42])))},{id:`fennel`,name:`Fennel`,import:(()=>e(()=>import(`./fennel-DQxkIbk2.js`),[]))},{id:`fish`,name:`Fish`,import:(()=>e(()=>import(`./fish-BJitypiv.js`),[]))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>e(()=>import(`./fluent-C03EYrpw.js`),[]))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>e(()=>import(`./fortran-fixed-form-DEKoE2YW.js`),__vite__mapDeps([43,44])))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>e(()=>import(`./fortran-free-form-CYNrtFtB.js`),[]))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>e(()=>import(`./fsharp-D13ZGOAj.js`),__vite__mapDeps([45,42])))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>e(()=>import(`./gdresource-xMC7jr7x.js`),__vite__mapDeps([46,47,48])))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>e(()=>import(`./gdscript-DYvRD3hg.js`),[]))},{id:`gdshader`,name:`GDShader`,import:(()=>e(()=>import(`./gdshader-CBce3t8t.js`),[]))},{id:`genie`,name:`Genie`,import:(()=>e(()=>import(`./genie-CV2tkWYe.js`),[]))},{id:`gherkin`,name:`Gherkin`,import:(()=>e(()=>import(`./gherkin-DExj1W_8.js`),[]))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>e(()=>import(`./git-commit-BSykSTBG.js`),__vite__mapDeps([49,50])))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>e(()=>import(`./git-rebase-C-RR1FSc.js`),__vite__mapDeps([51,30,1])))},{id:`gleam`,name:`Gleam`,import:(()=>e(()=>import(`./gleam-CSRkHgEL.js`),[]))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>e(()=>import(`./glimmer-js-BUse42ki.js`),__vite__mapDeps([52,3,1,4,2,12])))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>e(()=>import(`./glimmer-ts-zH_nSjyx.js`),__vite__mapDeps([53,3,1,4,2,12])))},{id:`glsl`,name:`GLSL`,import:(()=>e(()=>import(`./glsl-CyFpZtQv.js`).then(e=>e.n),__vite__mapDeps([28,1,20])))},{id:`gn`,name:`GN`,import:(()=>e(()=>import(`./gn-CAXYAgV-.js`),[]))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>e(()=>import(`./gnuplot-7GGW24-e.js`),[]))},{id:`go`,name:`Go`,import:(()=>e(()=>import(`./go-rLFTqkRN.js`),[]))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>e(()=>import(`./graphql-BIyAKkG2.js`).then(e=>e.n),__vite__mapDeps([37,1,3,12,14,38])))},{id:`groovy`,name:`Groovy`,import:(()=>e(()=>import(`./groovy-CacY0gHj.js`),[]))},{id:`hack`,name:`Hack`,import:(()=>e(()=>import(`./hack-qk6BiceN.js`),__vite__mapDeps([54,2,1,3,4,17])))},{id:`haml`,name:`Ruby Haml`,import:(()=>e(()=>import(`./haml-BkBm6IgF.js`).then(e=>e.n),__vite__mapDeps([36,1,3,4])))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>e(()=>import(`./handlebars-FMeV8O-Z.js`),__vite__mapDeps([55,3,1,4,2,40])))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>e(()=>import(`./haskell-D8IpX4py.js`),[]))},{id:`haxe`,name:`Haxe`,import:(()=>e(()=>import(`./haxe-C8oCnwJJ.js`),[]))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>e(()=>import(`./hcl-Dh228itO.js`),[]))},{id:`hjson`,name:`Hjson`,import:(()=>e(()=>import(`./hjson-CxZEssPk.js`),[]))},{id:`hlsl`,name:`HLSL`,import:(()=>e(()=>import(`./hlsl-Cvrh5tZx.js`),[]))},{id:`html`,name:`HTML`,import:(()=>e(()=>import(`./html-CvoVzlT3.js`).then(e=>e.n),__vite__mapDeps([2,1,3,4])))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>e(()=>import(`./html-derivative-CmO0_REm.js`),__vite__mapDeps([16,2,1,3,4])))},{id:`http`,name:`HTTP`,import:(()=>e(()=>import(`./http-c4_vT9ST.js`),__vite__mapDeps([56,8,1,9,10,30,37,3,12,14,38])))},{id:`hurl`,name:`Hurl`,import:(()=>e(()=>import(`./hurl-BqZA9I9Q.js`),__vite__mapDeps([57,8,1,9,58,37,3,12,14,38])))},{id:`hxml`,name:`HXML`,import:(()=>e(()=>import(`./hxml-Dcm88srW.js`),__vite__mapDeps([59,60])))},{id:`hy`,name:`Hy`,import:(()=>e(()=>import(`./hy-CZbG8q4J.js`),[]))},{id:`imba`,name:`Imba`,import:(()=>e(()=>import(`./imba-DsUTQ-LC.js`),[]))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>e(()=>import(`./ini-B5eOa1yu.js`),[]))},{id:`java`,name:`Java`,import:(()=>e(()=>import(`./java-D7h0NA_A.js`).then(e=>e.n),__vite__mapDeps([9,1])))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>e(()=>import(`./javascript-DcMHgNcu.js`).then(e=>e.n),__vite__mapDeps([3,1])))},{id:`jinja`,name:`Jinja`,import:(()=>e(()=>import(`./jinja-IxhZJXij.js`),__vite__mapDeps([61,2,1,3,4])))},{id:`jison`,name:`Jison`,import:(()=>e(()=>import(`./jison-Ru_S5AEn.js`),__vite__mapDeps([62,3,1])))},{id:`json`,name:`JSON`,import:(()=>e(()=>import(`./json-DePJdKYk.js`).then(e=>e.n),__vite__mapDeps([10,1])))},{id:`json5`,name:`JSON5`,import:(()=>e(()=>import(`./json5-BR5RXkoi.js`),[]))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>e(()=>import(`./jsonc-CYpm1nAK.js`),[]))},{id:`jsonl`,name:`JSON Lines`,import:(()=>e(()=>import(`./jsonl-CmCQp5Yx.js`),[]))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>e(()=>import(`./jsonnet-CJTPZ8u_.js`),[]))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>e(()=>import(`./jssm-DXw9l8Rf.js`),[]))},{id:`jsx`,name:`JSX`,import:(()=>e(()=>import(`./jsx-BUUYi3qs.js`).then(e=>e.n),__vite__mapDeps([38,1])))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>e(()=>import(`./julia-BuaSHoYZ.js`),__vite__mapDeps([63,3,1,17,22,26,27,28,20,64])))},{id:`just`,name:`Just`,aliases:[`justfile`],import:(()=>e(()=>import(`./just-BJW1YJYB.js`),__vite__mapDeps([65,3,1,12,30,22,35,4,2,8,9,17,20,26,27,28,36,37,14,38,39,40,66])))},{id:`kdl`,name:`KDL`,import:(()=>e(()=>import(`./kdl-CsD5j6eV.js`),[]))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>e(()=>import(`./kotlin-DhhofPvG.js`),[]))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>e(()=>import(`./kusto-C7mF5XQf.js`),[]))},{id:`latex`,name:`LaTeX`,import:(()=>e(()=>import(`./latex-B6yY1rfM.js`),__vite__mapDeps([67,68,1,64])))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>e(()=>import(`./lean-CewbzKMR.js`),[]))},{id:`less`,name:`Less`,import:(()=>e(()=>import(`./less-DVTAwKKz.js`),[]))},{id:`liquid`,name:`Liquid`,import:(()=>e(()=>import(`./liquid-DNgNMjPq.js`),__vite__mapDeps([69,3,1,4,2,10])))},{id:`llvm`,name:`LLVM IR`,import:(()=>e(()=>import(`./llvm-DqHOMS-s.js`),[]))},{id:`log`,name:`Log file`,import:(()=>e(()=>import(`./log-BNLmms1o.js`),[]))},{id:`logo`,name:`Logo`,import:(()=>e(()=>import(`./logo-Cluzi2Zq.js`),[]))},{id:`lua`,name:`Lua`,import:(()=>e(()=>import(`./lua-Z49wBRLR.js`).then(e=>e.n),__vite__mapDeps([39,1,20])))},{id:`luau`,name:`Luau`,import:(()=>e(()=>import(`./luau-VGWVLoqX.js`),[]))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>e(()=>import(`./make-Dixweg8N.js`),[]))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>e(()=>import(`./markdown-BYOwaDjH.js`),[]))},{id:`marko`,name:`Marko`,import:(()=>e(()=>import(`./marko-i5cBncq8.js`),__vite__mapDeps([70,4,1,6,12,71])))},{id:`matlab`,name:`MATLAB`,import:(()=>e(()=>import(`./matlab-D7qyCx1q.js`),[]))},{id:`mdc`,name:`MDC`,import:(()=>e(()=>import(`./mdc-C3wRYKz5.js`),__vite__mapDeps([72,16,2,1,3,4,40,42])))},{id:`mdx`,name:`MDX`,import:(()=>e(()=>import(`./mdx-DQZ5AkYe.js`),[]))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>e(()=>import(`./mermaid-BxpfTIzt.js`),[]))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>e(()=>import(`./mipsasm-BMqwQI7S.js`),[]))},{id:`mojo`,name:`Mojo`,import:(()=>e(()=>import(`./mojo-fg40_ntQ.js`),[]))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>e(()=>import(`./moonbit-D9W784E_.js`),[]))},{id:`move`,name:`Move`,import:(()=>e(()=>import(`./move-BYnGhZoM.js`),[]))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>e(()=>import(`./narrat-_X_XdTYD.js`),[]))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>e(()=>import(`./nextflow-CSgcYZcx.js`),__vite__mapDeps([73,74])))},{id:`nextflow-groovy`,name:`Nextflow Groovy`,import:(()=>e(()=>import(`./nextflow-groovy-D7IRt6Pp.js`),[]))},{id:`nginx`,name:`Nginx`,import:(()=>e(()=>import(`./nginx-BrbrEdla.js`),__vite__mapDeps([75,39,1,20])))},{id:`nim`,name:`Nim`,import:(()=>e(()=>import(`./nim-BCe7ZKXY.js`),__vite__mapDeps([76,3,1,4,2,8,9,20,28,42])))},{id:`nix`,name:`Nix`,import:(()=>e(()=>import(`./nix-IvuFDN5E.js`),[]))},{id:`nsis`,name:`NSIS`,import:(()=>e(()=>import(`./nsis-CjNLYCLg.js`),[]))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>e(()=>import(`./nushell--0fT3PI1.js`),[]))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>e(()=>import(`./objective-c-D1A_Heim.js`),[]))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>e(()=>import(`./objective-cpp-BsSzOQcm.js`),[]))},{id:`ocaml`,name:`OCaml`,import:(()=>e(()=>import(`./ocaml-O90oeIOV.js`),[]))},{id:`odin`,name:`Odin`,import:(()=>e(()=>import(`./odin-B1RWQWA5.js`),[]))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>e(()=>import(`./openscad-BUDT5pXO.js`),[]))},{id:`org`,name:`Org Markup`,import:(()=>e(()=>import(`./org-DDCXkPsd.js`),__vite__mapDeps([77,3,1,4,2,6,9,8,10,12,14,30,17,20,22,78,25,27,26,28,79,80,50,81,32,39,40,35,36,37,38,42,41,49,51,82,83,84,64,66,67,68,71,85,76,86,87,88,89,90,91,92,93,94])))},{id:`pascal`,name:`Pascal`,import:(()=>e(()=>import(`./pascal-4ZHwLPI5.js`),[]))},{id:`perl`,name:`Perl`,import:(()=>e(()=>import(`./perl-DLhC7S_Q.js`),__vite__mapDeps([66,3,1,4,2,8,9,17])))},{id:`php`,name:`PHP`,import:(()=>e(()=>import(`./php-CDzTReqR.js`),__vite__mapDeps([88,3,1,4,2,8,9,10,17])))},{id:`pkl`,name:`Pkl`,import:(()=>e(()=>import(`./pkl-ot-7Btpt.js`),[]))},{id:`plsql`,name:`PL/SQL`,import:(()=>e(()=>import(`./plsql-DGHpHOYJ.js`),[]))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>e(()=>import(`./po-BiJDBrnU.js`),[]))},{id:`polar`,name:`Polar`,import:(()=>e(()=>import(`./polar-C7UOKdEL.js`),[]))},{id:`postcss`,name:`PostCSS`,import:(()=>e(()=>import(`./postcss-BXeXVLqQ.js`),[]))},{id:`powerquery`,name:`PowerQuery`,import:(()=>e(()=>import(`./powerquery-DNMTfnFr.js`),[]))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`,`pwsh`],import:(()=>e(()=>import(`./powershell-QtSnmXcu.js`),[]))},{id:`prisma`,name:`Prisma`,import:(()=>e(()=>import(`./prisma-DMgNhnYS.js`),[]))},{id:`prolog`,name:`Prolog`,import:(()=>e(()=>import(`./prolog-iXnhIJG7.js`),[]))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>e(()=>import(`./proto-DB4EqR-F.js`),[]))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>e(()=>import(`./pug-COoI2o4U.js`),__vite__mapDeps([95,3,1,4,2])))},{id:`puppet`,name:`Puppet`,import:(()=>e(()=>import(`./puppet-CDv2pdJW.js`),[]))},{id:`purescript`,name:`PureScript`,import:(()=>e(()=>import(`./purescript-9MfHhQsQ.js`),[]))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>e(()=>import(`./python-gzcpVVnB.js`),[]))},{id:`qml`,name:`QML`,import:(()=>e(()=>import(`./qml-g4UDed-8.js`),__vite__mapDeps([96,3,1])))},{id:`qmldir`,name:`QML Directory`,import:(()=>e(()=>import(`./qmldir-DCQb3MpD.js`),[]))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>e(()=>import(`./qss-Fe1Jh2GI.js`),[]))},{id:`r`,name:`R`,import:(()=>e(()=>import(`./r-CvCSiWB_.js`).then(e=>e.n),__vite__mapDeps([64,1])))},{id:`racket`,name:`Racket`,import:(()=>e(()=>import(`./racket-DcIDlBhZ.js`),[]))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>e(()=>import(`./raku-B3gFvitq.js`),[]))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>e(()=>import(`./razor-BRLDaw7i.js`),__vite__mapDeps([97,2,1,3,4,79])))},{id:`rbs`,name:`RBS`,aliases:[`ruby-signature`],import:(()=>e(()=>import(`./rbs-C0MpOrj4.js`),[]))},{id:`reg`,name:`Windows Registry Script`,import:(()=>e(()=>import(`./reg-CRGYupPL.js`),[]))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>e(()=>import(`./regexp-I2jnduhj.js`).then(e=>e.n),__vite__mapDeps([27,1])))},{id:`rel`,name:`Rel`,import:(()=>e(()=>import(`./rel-BtDbiS_P.js`),[]))},{id:`riscv`,name:`RISC-V`,import:(()=>e(()=>import(`./riscv-Ckw8ddFX.js`),[]))},{id:`ron`,name:`RON`,import:(()=>e(()=>import(`./ron-VUp2lXgN.js`),[]))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>e(()=>import(`./rosmsg-CAekHB0j.js`),[]))},{id:`rst`,name:`reStructuredText`,import:(()=>e(()=>import(`./rst-BEQnCgL0.js`),__vite__mapDeps([98,3,1,30,16,2,4,22,99,26,27,28,20,40,35,8,9,17,36,37,12,14,38,39])))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>e(()=>import(`./ruby-COXzLN2W.js`),__vite__mapDeps([35,3,1,4,2,8,9,30,17,20,26,27,28,36,37,12,14,38,39,40])))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>e(()=>import(`./rust-DpiIf5JO.js`),[]))},{id:`sas`,name:`SAS`,import:(()=>e(()=>import(`./sas-Cr47JhdL.js`),__vite__mapDeps([100,17,1])))},{id:`sass`,name:`Sass`,import:(()=>e(()=>import(`./sass-DXrisJhu.js`),[]))},{id:`scala`,name:`Scala`,import:(()=>e(()=>import(`./scala-BiFt_7mu.js`),[]))},{id:`scheme`,name:`Scheme`,import:(()=>e(()=>import(`./scheme-DQCgrYNe.js`),[]))},{id:`scss`,name:`SCSS`,import:(()=>e(()=>import(`./scss-BuNb6cgZ.js`).then(e=>e.n),__vite__mapDeps([6,1,4])))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>e(()=>import(`./sdbl-bTVj8UrX.js`),[]))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>e(()=>import(`./shaderlab-TOUzSsQk.js`),__vite__mapDeps([101,102])))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>e(()=>import(`./shellscript-B51zB43X.js`).then(e=>e.n),__vite__mapDeps([30,1])))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>e(()=>import(`./shellsession-B-KBpmJs.js`),__vite__mapDeps([103,30,1])))},{id:`smalltalk`,name:`GNU Smalltalk`,import:(()=>e(()=>import(`./smalltalk-BHpQb5nM.js`),[]))},{id:`smithy`,name:`Smithy`,import:(()=>e(()=>import(`./smithy-Dgaz7aur.js`),[]))},{id:`solidity`,name:`Solidity`,import:(()=>e(()=>import(`./solidity-Bj7E1mRn.js`),[]))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>e(()=>import(`./soy-B-X4e_cm.js`),__vite__mapDeps([104,2,1,3,4])))},{id:`sparql`,name:`SPARQL`,import:(()=>e(()=>import(`./sparql-D_iOobhT.js`),__vite__mapDeps([105,106])))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>e(()=>import(`./splunk-BC2Px7Mm.js`),[]))},{id:`sql`,name:`SQL`,import:(()=>e(()=>import(`./sql-CrePkbX5.js`).then(e=>e.n),__vite__mapDeps([17,1])))},{id:`ssh-config`,name:`SSH Config`,import:(()=>e(()=>import(`./ssh-config-BgfXC-Er.js`),[]))},{id:`stata`,name:`Stata`,import:(()=>e(()=>import(`./stata-LQMPNdRb.js`),__vite__mapDeps([107,17,1])))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>e(()=>import(`./stylus-B6D30XZt.js`),[]))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>e(()=>import(`./surrealql-DalIYx4r.js`),__vite__mapDeps([108,3,1])))},{id:`svelte`,name:`Svelte`,import:(()=>e(()=>import(`./svelte-CutSaB0m.js`),__vite__mapDeps([109,3,1,4,12,13])))},{id:`swift`,name:`Swift`,import:(()=>e(()=>import(`./swift-CyEgAFGc.js`),[]))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>e(()=>import(`./system-verilog-Dh5ihWbf.js`),[]))},{id:`systemd`,name:`Systemd Units`,import:(()=>e(()=>import(`./systemd-BxMlprV5.js`),[]))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>e(()=>import(`./talonscript-CohzipZa.js`),[]))},{id:`tasl`,name:`Tasl`,import:(()=>e(()=>import(`./tasl-DMoTqEGO.js`),[]))},{id:`tcl`,name:`Tcl`,import:(()=>e(()=>import(`./tcl-CZd0xW_V.js`),[]))},{id:`templ`,name:`Templ`,import:(()=>e(()=>import(`./templ-STIZV9cS.js`),__vite__mapDeps([110,3,1,4,82])))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>e(()=>import(`./terraform-DswuEJGm.js`),[]))},{id:`tex`,name:`TeX`,import:(()=>e(()=>import(`./tex-JPaUWOrn.js`).then(e=>e.n),__vite__mapDeps([68,1,64])))},{id:`toml`,name:`TOML`,import:(()=>e(()=>import(`./toml-CcmNWLt0.js`),[]))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>e(()=>import(`./ts-tags-DugY2c1f.js`),__vite__mapDeps([111,3,1,4,2,8,9,12,17,28,20])))},{id:`tsv`,name:`TSV`,import:(()=>e(()=>import(`./tsv-sltzmVWM.js`),[]))},{id:`tsx`,name:`TSX`,import:(()=>e(()=>import(`./tsx-DvWhG4dC.js`).then(e=>e.n),__vite__mapDeps([14,1])))},{id:`turtle`,name:`Turtle`,import:(()=>e(()=>import(`./turtle-ByJddavk.js`),[]))},{id:`twig`,name:`Twig`,import:(()=>e(()=>import(`./twig-CAQ2meH1.js`),__vite__mapDeps([112,3,1,4,6,22,35,2,8,9,30,17,20,26,27,28,36,37,12,14,38,39,40,88,10])))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>e(()=>import(`./typescript-BTGs5etX.js`).then(e=>e.n),__vite__mapDeps([12,1])))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>e(()=>import(`./typespec-BGhR2SqG.js`),[]))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>e(()=>import(`./typst-D2auzO0m.js`),__vite__mapDeps([113,3,1,4,2,6,9,8,10,12,14,30,114,115,17,20,22,78,25,27,26,28,79,80,50,81,32,39,40,35,36,37,38,42,41,45,49,51,82,83,55,84,116,64,63,66,67,68,71,117,85,86,88,89,90,91,92,94,118,95,119,120,112,121])))},{id:`v`,name:`V`,import:(()=>e(()=>import(`./v-DBj4K9d_.js`),[]))},{id:`vala`,name:`Vala`,import:(()=>e(()=>import(`./vala-zf12oZj6.js`),[]))},{id:`vb`,name:`Visual Basic`,import:(()=>e(()=>import(`./vb-DOwzaHZ0.js`),[]))},{id:`verilog`,name:`Verilog`,import:(()=>e(()=>import(`./verilog-B2gwz-sJ.js`),[]))},{id:`vhdl`,name:`VHDL`,import:(()=>e(()=>import(`./vhdl-BroJfC0k.js`),[]))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>e(()=>import(`./viml-DvXPmvsu.js`),[]))},{id:`vue`,name:`Vue`,import:(()=>e(()=>import(`./vue-Bu9nv_eN.js`),__vite__mapDeps([122,3,1,4,2,10,12,16])))},{id:`vue-html`,name:`Vue HTML`,import:(()=>e(()=>import(`./vue-html-BXjKVtKk.js`),__vite__mapDeps([123,3,1])))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>e(()=>import(`./vue-vine-Ci2qndh_.js`),__vite__mapDeps([124,3,1,4,6,13,71,125])))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>e(()=>import(`./vyper-CgoNMtux.js`),[]))},{id:`wasm`,name:`WebAssembly`,import:(()=>e(()=>import(`./wasm-ByWQv1Qj.js`),[]))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>e(()=>import(`./wenyan-C8pVoKbM.js`),[]))},{id:`wgsl`,name:`WGSL`,import:(()=>e(()=>import(`./wgsl-BsKzXJz4.js`),[]))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>e(()=>import(`./wikitext-ClFFjSW2.js`),[]))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>e(()=>import(`./wit-DdvCle-K.js`),[]))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>e(()=>import(`./wolfram-DLL8P-h_.js`),[]))},{id:`xml`,name:`XML`,import:(()=>e(()=>import(`./xml-C01ajBW7.js`).then(e=>e.n),__vite__mapDeps([8,1,9])))},{id:`xsl`,name:`XSL`,import:(()=>e(()=>import(`./xsl-CCLNyvR3.js`),__vite__mapDeps([94,8,1,9])))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>e(()=>import(`./yaml-BWCS3NLV.js`).then(e=>e.n),__vite__mapDeps([40,1])))},{id:`zenscript`,name:`ZenScript`,import:(()=>e(()=>import(`./zenscript-BnlCZFoB.js`),[]))},{id:`zig`,name:`Zig`,import:(()=>e(()=>import(`./zig-CMLA9XwU.js`),[]))}],n=Object.fromEntries(t.map(e=>[e.id,e.import])),r=Object.fromEntries(t.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),i={...n,...r};export{i as bundledLanguages};
|
|
2
|
+
import{h as e}from"./index-DOfF35Q-.js";var t=[{id:`abap`,name:`ABAP`,import:(()=>e(()=>import(`./abap-CLvhMVsD.js`),[]))},{id:`actionscript-3`,name:`ActionScript`,aliases:[`actionscript`,`as3`],import:(()=>e(()=>import(`./actionscript-3-Cs6JJXT5.js`),[]))},{id:`ada`,name:`Ada`,import:(()=>e(()=>import(`./ada-X3Y2mlq2.js`),[]))},{id:`ahk`,name:`AutoHotkey`,aliases:[`ahk1`],import:(()=>e(()=>import(`./ahk-DwADkxyd.js`),[]))},{id:`ahk2`,name:`AutoHotkey2`,import:(()=>e(()=>import(`./ahk2-_6rzW9BS.js`),[]))},{id:`angular-html`,name:`Angular HTML`,import:(()=>e(()=>import(`./angular-html-C4LeXCe-.js`).then(e=>e.n),__vite__mapDeps([0,1,2,3,4])))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>e(()=>import(`./angular-ts-CRxW7p1W.js`),__vite__mapDeps([5,0,1,2,3,4,6])))},{id:`apache`,name:`Apache Conf`,import:(()=>e(()=>import(`./apache-U0d_L8uA.js`),[]))},{id:`apex`,name:`Apex`,import:(()=>e(()=>import(`./apex-KFGFyKwG.js`),[]))},{id:`apl`,name:`APL`,import:(()=>e(()=>import(`./apl-D60kkz--.js`),__vite__mapDeps([7,3,1,4,2,8,9,10])))},{id:`applescript`,name:`AppleScript`,import:(()=>e(()=>import(`./applescript-CCn79oCD.js`),[]))},{id:`ara`,name:`Ara`,import:(()=>e(()=>import(`./ara-4CJ0cIlV.js`),[]))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>e(()=>import(`./asciidoc-SCjQUq34.js`),[]))},{id:`asm`,name:`Assembly`,import:(()=>e(()=>import(`./asm-Cmm7eHzH.js`),[]))},{id:`astro`,name:`Astro`,import:(()=>e(()=>import(`./astro-3Zgg9XqN.js`),__vite__mapDeps([11,3,1,4,10,12,13,14])))},{id:`awk`,name:`AWK`,import:(()=>e(()=>import(`./awk-BWXHIvNe.js`),[]))},{id:`ballerina`,name:`Ballerina`,import:(()=>e(()=>import(`./ballerina-B7ZEbQpA.js`),[]))},{id:`bat`,name:`Batch File`,aliases:[`batch`,`cmd`],import:(()=>e(()=>import(`./bat-qdxAdBWQ.js`),[]))},{id:`beancount`,name:`Beancount`,import:(()=>e(()=>import(`./beancount-C2IN4Vk8.js`),[]))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>e(()=>import(`./berry-DKpUyyne.js`),[]))},{id:`bibtex`,name:`BibTeX`,import:(()=>e(()=>import(`./bibtex-Ci_nEsc7.js`),[]))},{id:`bicep`,name:`Bicep`,import:(()=>e(()=>import(`./bicep-CUHmPFLl.js`),[]))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>e(()=>import(`./bird2-CYIUgYqB.js`),[]))},{id:`blade`,name:`Blade`,import:(()=>e(()=>import(`./blade-B5YUZNEG.js`),__vite__mapDeps([15,3,1,4,2,8,9,10,16,17])))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>e(()=>import(`./bsl-_VjlB9mv.js`),__vite__mapDeps([18,19])))},{id:`c`,name:`C`,import:(()=>e(()=>import(`./c-BNQJhXlP.js`).then(e=>e.n),__vite__mapDeps([20,1])))},{id:`c3`,name:`C3`,import:(()=>e(()=>import(`./c3-D0apG41V.js`),[]))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>e(()=>import(`./cadence-CQ2zXKGN.js`),[]))},{id:`cairo`,name:`Cairo`,import:(()=>e(()=>import(`./cairo-DLTphjLi.js`),__vite__mapDeps([21,22])))},{id:`chapel`,name:`Chapel`,aliases:[`chpl`],import:(()=>e(()=>import(`./chapel-CFMD-Djs.js`),__vite__mapDeps([23,20,1])))},{id:`clarity`,name:`Clarity`,import:(()=>e(()=>import(`./clarity-CtfBBspg.js`),[]))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>e(()=>import(`./clojure-DqKBuwfJ.js`),[]))},{id:`cmake`,name:`CMake`,import:(()=>e(()=>import(`./cmake-Bj61d0ZC.js`),[]))},{id:`cobol`,name:`COBOL`,import:(()=>e(()=>import(`./cobol-DY6IFdmX.js`),__vite__mapDeps([24,2,1,3,4,9])))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>e(()=>import(`./codeowners-C8r90Shi.js`),[]))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>e(()=>import(`./codeql-oeQT6MSM.js`),[]))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>e(()=>import(`./coffee-BP03ytLP.js`),__vite__mapDeps([25,3,1])))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>e(()=>import(`./common-lisp-Cv5bFMCO.js`),[]))},{id:`coq`,name:`Rocq`,import:(()=>e(()=>import(`./coq-CGaSfhwR.js`),[]))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>e(()=>import(`./cpp-CUBNVKxn.js`).then(e=>e.n),__vite__mapDeps([26,1,27,28,20])))},{id:`crystal`,name:`Crystal`,import:(()=>e(()=>import(`./crystal-NSr8mDkd.js`),__vite__mapDeps([29,3,1,4,2,30,17,20])))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>e(()=>import(`./csharp-dmMxLVLW.js`),[]))},{id:`css`,name:`CSS`,import:(()=>e(()=>import(`./css-BiJUKRHp.js`).then(e=>e.n),__vite__mapDeps([4,1])))},{id:`csv`,name:`CSV`,import:(()=>e(()=>import(`./csv-Dx-8-gkx.js`),[]))},{id:`cue`,name:`CUE`,import:(()=>e(()=>import(`./cue-CE9AQfxI.js`),[]))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>e(()=>import(`./cypher-ClKdZ_lG.js`),[]))},{id:`d`,name:`D`,import:(()=>e(()=>import(`./d-qD-0Kul2.js`),[]))},{id:`dart`,name:`Dart`,import:(()=>e(()=>import(`./dart-CHZY9Xhz.js`),[]))},{id:`dax`,name:`DAX`,import:(()=>e(()=>import(`./dax-BkyTk9wS.js`),[]))},{id:`desktop`,name:`Desktop`,import:(()=>e(()=>import(`./desktop-Dlh5hvp9.js`),[]))},{id:`diff`,name:`Diff`,import:(()=>e(()=>import(`./diff-woXpYk--.js`),[]))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>e(()=>import(`./docker-IyjqRm3v.js`),[]))},{id:`dotenv`,name:`dotEnv`,import:(()=>e(()=>import(`./dotenv-CuH5my32.js`),[]))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>e(()=>import(`./dream-maker-DW3nJb8Q.js`),[]))},{id:`edge`,name:`Edge`,import:(()=>e(()=>import(`./edge-DznSXZdq.js`),__vite__mapDeps([31,2,1,3,4,12,16])))},{id:`elixir`,name:`Elixir`,import:(()=>e(()=>import(`./elixir-D1HcpP2u.js`),__vite__mapDeps([32,2,1,3,4])))},{id:`elm`,name:`Elm`,import:(()=>e(()=>import(`./elm-Bmx6Fs0i.js`),__vite__mapDeps([33,28,1,20])))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>e(()=>import(`./emacs-lisp-DR2vtWaj.js`),[]))},{id:`erb`,name:`ERB`,import:(()=>e(()=>import(`./erb-CdvLbCTI.js`),__vite__mapDeps([34,2,1,3,4,35,8,9,30,17,20,26,27,28,36,37,12,14,38,39,40])))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>e(()=>import(`./erlang-Cphh6RMH.js`),__vite__mapDeps([41,42])))},{id:`fennel`,name:`Fennel`,import:(()=>e(()=>import(`./fennel-DQxkIbk2.js`),[]))},{id:`fish`,name:`Fish`,import:(()=>e(()=>import(`./fish-BJitypiv.js`),[]))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>e(()=>import(`./fluent-C03EYrpw.js`),[]))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>e(()=>import(`./fortran-fixed-form-DEKoE2YW.js`),__vite__mapDeps([43,44])))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>e(()=>import(`./fortran-free-form-CYNrtFtB.js`),[]))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>e(()=>import(`./fsharp-D13ZGOAj.js`),__vite__mapDeps([45,42])))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>e(()=>import(`./gdresource-xMC7jr7x.js`),__vite__mapDeps([46,47,48])))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>e(()=>import(`./gdscript-DYvRD3hg.js`),[]))},{id:`gdshader`,name:`GDShader`,import:(()=>e(()=>import(`./gdshader-CBce3t8t.js`),[]))},{id:`genie`,name:`Genie`,import:(()=>e(()=>import(`./genie-CV2tkWYe.js`),[]))},{id:`gherkin`,name:`Gherkin`,import:(()=>e(()=>import(`./gherkin-DExj1W_8.js`),[]))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>e(()=>import(`./git-commit-BSykSTBG.js`),__vite__mapDeps([49,50])))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>e(()=>import(`./git-rebase-C-RR1FSc.js`),__vite__mapDeps([51,30,1])))},{id:`gleam`,name:`Gleam`,import:(()=>e(()=>import(`./gleam-CSRkHgEL.js`),[]))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>e(()=>import(`./glimmer-js-BUse42ki.js`),__vite__mapDeps([52,3,1,4,2,12])))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>e(()=>import(`./glimmer-ts-zH_nSjyx.js`),__vite__mapDeps([53,3,1,4,2,12])))},{id:`glsl`,name:`GLSL`,import:(()=>e(()=>import(`./glsl-CyFpZtQv.js`).then(e=>e.n),__vite__mapDeps([28,1,20])))},{id:`gn`,name:`GN`,import:(()=>e(()=>import(`./gn-CAXYAgV-.js`),[]))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>e(()=>import(`./gnuplot-7GGW24-e.js`),[]))},{id:`go`,name:`Go`,import:(()=>e(()=>import(`./go-rLFTqkRN.js`),[]))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>e(()=>import(`./graphql-BIyAKkG2.js`).then(e=>e.n),__vite__mapDeps([37,1,3,12,14,38])))},{id:`groovy`,name:`Groovy`,import:(()=>e(()=>import(`./groovy-CacY0gHj.js`),[]))},{id:`hack`,name:`Hack`,import:(()=>e(()=>import(`./hack-qk6BiceN.js`),__vite__mapDeps([54,2,1,3,4,17])))},{id:`haml`,name:`Ruby Haml`,import:(()=>e(()=>import(`./haml-BkBm6IgF.js`).then(e=>e.n),__vite__mapDeps([36,1,3,4])))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>e(()=>import(`./handlebars-FMeV8O-Z.js`),__vite__mapDeps([55,3,1,4,2,40])))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>e(()=>import(`./haskell-D8IpX4py.js`),[]))},{id:`haxe`,name:`Haxe`,import:(()=>e(()=>import(`./haxe-C8oCnwJJ.js`),[]))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>e(()=>import(`./hcl-Dh228itO.js`),[]))},{id:`hjson`,name:`Hjson`,import:(()=>e(()=>import(`./hjson-CxZEssPk.js`),[]))},{id:`hlsl`,name:`HLSL`,import:(()=>e(()=>import(`./hlsl-Cvrh5tZx.js`),[]))},{id:`html`,name:`HTML`,import:(()=>e(()=>import(`./html-CvoVzlT3.js`).then(e=>e.n),__vite__mapDeps([2,1,3,4])))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>e(()=>import(`./html-derivative-CmO0_REm.js`),__vite__mapDeps([16,2,1,3,4])))},{id:`http`,name:`HTTP`,import:(()=>e(()=>import(`./http-c4_vT9ST.js`),__vite__mapDeps([56,8,1,9,10,30,37,3,12,14,38])))},{id:`hurl`,name:`Hurl`,import:(()=>e(()=>import(`./hurl-BqZA9I9Q.js`),__vite__mapDeps([57,8,1,9,58,37,3,12,14,38])))},{id:`hxml`,name:`HXML`,import:(()=>e(()=>import(`./hxml-Dcm88srW.js`),__vite__mapDeps([59,60])))},{id:`hy`,name:`Hy`,import:(()=>e(()=>import(`./hy-CZbG8q4J.js`),[]))},{id:`imba`,name:`Imba`,import:(()=>e(()=>import(`./imba-DsUTQ-LC.js`),[]))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>e(()=>import(`./ini-B5eOa1yu.js`),[]))},{id:`java`,name:`Java`,import:(()=>e(()=>import(`./java-D7h0NA_A.js`).then(e=>e.n),__vite__mapDeps([9,1])))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>e(()=>import(`./javascript-DcMHgNcu.js`).then(e=>e.n),__vite__mapDeps([3,1])))},{id:`jinja`,name:`Jinja`,import:(()=>e(()=>import(`./jinja-IxhZJXij.js`),__vite__mapDeps([61,2,1,3,4])))},{id:`jison`,name:`Jison`,import:(()=>e(()=>import(`./jison-Ru_S5AEn.js`),__vite__mapDeps([62,3,1])))},{id:`json`,name:`JSON`,import:(()=>e(()=>import(`./json-DePJdKYk.js`).then(e=>e.n),__vite__mapDeps([10,1])))},{id:`json5`,name:`JSON5`,import:(()=>e(()=>import(`./json5-BR5RXkoi.js`),[]))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>e(()=>import(`./jsonc-CYpm1nAK.js`),[]))},{id:`jsonl`,name:`JSON Lines`,import:(()=>e(()=>import(`./jsonl-CmCQp5Yx.js`),[]))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>e(()=>import(`./jsonnet-CJTPZ8u_.js`),[]))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>e(()=>import(`./jssm-DXw9l8Rf.js`),[]))},{id:`jsx`,name:`JSX`,import:(()=>e(()=>import(`./jsx-BUUYi3qs.js`).then(e=>e.n),__vite__mapDeps([38,1])))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>e(()=>import(`./julia-BuaSHoYZ.js`),__vite__mapDeps([63,3,1,17,22,26,27,28,20,64])))},{id:`just`,name:`Just`,aliases:[`justfile`],import:(()=>e(()=>import(`./just-BJW1YJYB.js`),__vite__mapDeps([65,3,1,12,30,22,35,4,2,8,9,17,20,26,27,28,36,37,14,38,39,40,66])))},{id:`kdl`,name:`KDL`,import:(()=>e(()=>import(`./kdl-CsD5j6eV.js`),[]))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>e(()=>import(`./kotlin-DhhofPvG.js`),[]))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>e(()=>import(`./kusto-C7mF5XQf.js`),[]))},{id:`latex`,name:`LaTeX`,import:(()=>e(()=>import(`./latex-B6yY1rfM.js`),__vite__mapDeps([67,68,1,64])))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>e(()=>import(`./lean-CewbzKMR.js`),[]))},{id:`less`,name:`Less`,import:(()=>e(()=>import(`./less-DVTAwKKz.js`),[]))},{id:`liquid`,name:`Liquid`,import:(()=>e(()=>import(`./liquid-DNgNMjPq.js`),__vite__mapDeps([69,3,1,4,2,10])))},{id:`llvm`,name:`LLVM IR`,import:(()=>e(()=>import(`./llvm-DqHOMS-s.js`),[]))},{id:`log`,name:`Log file`,import:(()=>e(()=>import(`./log-BNLmms1o.js`),[]))},{id:`logo`,name:`Logo`,import:(()=>e(()=>import(`./logo-Cluzi2Zq.js`),[]))},{id:`lua`,name:`Lua`,import:(()=>e(()=>import(`./lua-Z49wBRLR.js`).then(e=>e.n),__vite__mapDeps([39,1,20])))},{id:`luau`,name:`Luau`,import:(()=>e(()=>import(`./luau-VGWVLoqX.js`),[]))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>e(()=>import(`./make-Dixweg8N.js`),[]))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>e(()=>import(`./markdown-BYOwaDjH.js`),[]))},{id:`marko`,name:`Marko`,import:(()=>e(()=>import(`./marko-i5cBncq8.js`),__vite__mapDeps([70,4,1,6,12,71])))},{id:`matlab`,name:`MATLAB`,import:(()=>e(()=>import(`./matlab-D7qyCx1q.js`),[]))},{id:`mdc`,name:`MDC`,import:(()=>e(()=>import(`./mdc-C3wRYKz5.js`),__vite__mapDeps([72,16,2,1,3,4,40,42])))},{id:`mdx`,name:`MDX`,import:(()=>e(()=>import(`./mdx-DQZ5AkYe.js`),[]))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>e(()=>import(`./mermaid-BxpfTIzt.js`),[]))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>e(()=>import(`./mipsasm-BMqwQI7S.js`),[]))},{id:`mojo`,name:`Mojo`,import:(()=>e(()=>import(`./mojo-fg40_ntQ.js`),[]))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>e(()=>import(`./moonbit-D9W784E_.js`),[]))},{id:`move`,name:`Move`,import:(()=>e(()=>import(`./move-BYnGhZoM.js`),[]))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>e(()=>import(`./narrat-_X_XdTYD.js`),[]))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>e(()=>import(`./nextflow-CSgcYZcx.js`),__vite__mapDeps([73,74])))},{id:`nextflow-groovy`,name:`Nextflow Groovy`,import:(()=>e(()=>import(`./nextflow-groovy-D7IRt6Pp.js`),[]))},{id:`nginx`,name:`Nginx`,import:(()=>e(()=>import(`./nginx-BrbrEdla.js`),__vite__mapDeps([75,39,1,20])))},{id:`nim`,name:`Nim`,import:(()=>e(()=>import(`./nim-BCe7ZKXY.js`),__vite__mapDeps([76,3,1,4,2,8,9,20,28,42])))},{id:`nix`,name:`Nix`,import:(()=>e(()=>import(`./nix-IvuFDN5E.js`),[]))},{id:`nsis`,name:`NSIS`,import:(()=>e(()=>import(`./nsis-CjNLYCLg.js`),[]))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>e(()=>import(`./nushell--0fT3PI1.js`),[]))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>e(()=>import(`./objective-c-D1A_Heim.js`),[]))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>e(()=>import(`./objective-cpp-BsSzOQcm.js`),[]))},{id:`ocaml`,name:`OCaml`,import:(()=>e(()=>import(`./ocaml-O90oeIOV.js`),[]))},{id:`odin`,name:`Odin`,import:(()=>e(()=>import(`./odin-B1RWQWA5.js`),[]))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>e(()=>import(`./openscad-BUDT5pXO.js`),[]))},{id:`org`,name:`Org Markup`,import:(()=>e(()=>import(`./org-DDCXkPsd.js`),__vite__mapDeps([77,3,1,4,2,6,9,8,10,12,14,30,17,20,22,78,25,27,26,28,79,80,50,81,32,39,40,35,36,37,38,42,41,49,51,82,83,84,64,66,67,68,71,85,76,86,87,88,89,90,91,92,93,94])))},{id:`pascal`,name:`Pascal`,import:(()=>e(()=>import(`./pascal-4ZHwLPI5.js`),[]))},{id:`perl`,name:`Perl`,import:(()=>e(()=>import(`./perl-DLhC7S_Q.js`),__vite__mapDeps([66,3,1,4,2,8,9,17])))},{id:`php`,name:`PHP`,import:(()=>e(()=>import(`./php-CDzTReqR.js`),__vite__mapDeps([88,3,1,4,2,8,9,10,17])))},{id:`pkl`,name:`Pkl`,import:(()=>e(()=>import(`./pkl-ot-7Btpt.js`),[]))},{id:`plsql`,name:`PL/SQL`,import:(()=>e(()=>import(`./plsql-DGHpHOYJ.js`),[]))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>e(()=>import(`./po-BiJDBrnU.js`),[]))},{id:`polar`,name:`Polar`,import:(()=>e(()=>import(`./polar-C7UOKdEL.js`),[]))},{id:`postcss`,name:`PostCSS`,import:(()=>e(()=>import(`./postcss-BXeXVLqQ.js`),[]))},{id:`powerquery`,name:`PowerQuery`,import:(()=>e(()=>import(`./powerquery-DNMTfnFr.js`),[]))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`,`pwsh`],import:(()=>e(()=>import(`./powershell-QtSnmXcu.js`),[]))},{id:`prisma`,name:`Prisma`,import:(()=>e(()=>import(`./prisma-DMgNhnYS.js`),[]))},{id:`prolog`,name:`Prolog`,import:(()=>e(()=>import(`./prolog-iXnhIJG7.js`),[]))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>e(()=>import(`./proto-DB4EqR-F.js`),[]))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>e(()=>import(`./pug-COoI2o4U.js`),__vite__mapDeps([95,3,1,4,2])))},{id:`puppet`,name:`Puppet`,import:(()=>e(()=>import(`./puppet-CDv2pdJW.js`),[]))},{id:`purescript`,name:`PureScript`,import:(()=>e(()=>import(`./purescript-9MfHhQsQ.js`),[]))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>e(()=>import(`./python-gzcpVVnB.js`),[]))},{id:`qml`,name:`QML`,import:(()=>e(()=>import(`./qml-g4UDed-8.js`),__vite__mapDeps([96,3,1])))},{id:`qmldir`,name:`QML Directory`,import:(()=>e(()=>import(`./qmldir-DCQb3MpD.js`),[]))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>e(()=>import(`./qss-Fe1Jh2GI.js`),[]))},{id:`r`,name:`R`,import:(()=>e(()=>import(`./r-CvCSiWB_.js`).then(e=>e.n),__vite__mapDeps([64,1])))},{id:`racket`,name:`Racket`,import:(()=>e(()=>import(`./racket-DcIDlBhZ.js`),[]))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>e(()=>import(`./raku-B3gFvitq.js`),[]))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>e(()=>import(`./razor-BRLDaw7i.js`),__vite__mapDeps([97,2,1,3,4,79])))},{id:`rbs`,name:`RBS`,aliases:[`ruby-signature`],import:(()=>e(()=>import(`./rbs-C0MpOrj4.js`),[]))},{id:`reg`,name:`Windows Registry Script`,import:(()=>e(()=>import(`./reg-CRGYupPL.js`),[]))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>e(()=>import(`./regexp-I2jnduhj.js`).then(e=>e.n),__vite__mapDeps([27,1])))},{id:`rel`,name:`Rel`,import:(()=>e(()=>import(`./rel-BtDbiS_P.js`),[]))},{id:`riscv`,name:`RISC-V`,import:(()=>e(()=>import(`./riscv-Ckw8ddFX.js`),[]))},{id:`ron`,name:`RON`,import:(()=>e(()=>import(`./ron-VUp2lXgN.js`),[]))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>e(()=>import(`./rosmsg-CAekHB0j.js`),[]))},{id:`rst`,name:`reStructuredText`,import:(()=>e(()=>import(`./rst-BEQnCgL0.js`),__vite__mapDeps([98,3,1,30,16,2,4,22,99,26,27,28,20,40,35,8,9,17,36,37,12,14,38,39])))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>e(()=>import(`./ruby-COXzLN2W.js`),__vite__mapDeps([35,3,1,4,2,8,9,30,17,20,26,27,28,36,37,12,14,38,39,40])))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>e(()=>import(`./rust-DpiIf5JO.js`),[]))},{id:`sas`,name:`SAS`,import:(()=>e(()=>import(`./sas-Cr47JhdL.js`),__vite__mapDeps([100,17,1])))},{id:`sass`,name:`Sass`,import:(()=>e(()=>import(`./sass-DXrisJhu.js`),[]))},{id:`scala`,name:`Scala`,import:(()=>e(()=>import(`./scala-BiFt_7mu.js`),[]))},{id:`scheme`,name:`Scheme`,import:(()=>e(()=>import(`./scheme-DQCgrYNe.js`),[]))},{id:`scss`,name:`SCSS`,import:(()=>e(()=>import(`./scss-BuNb6cgZ.js`).then(e=>e.n),__vite__mapDeps([6,1,4])))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>e(()=>import(`./sdbl-bTVj8UrX.js`),[]))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>e(()=>import(`./shaderlab-TOUzSsQk.js`),__vite__mapDeps([101,102])))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>e(()=>import(`./shellscript-B51zB43X.js`).then(e=>e.n),__vite__mapDeps([30,1])))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>e(()=>import(`./shellsession-B-KBpmJs.js`),__vite__mapDeps([103,30,1])))},{id:`smalltalk`,name:`GNU Smalltalk`,import:(()=>e(()=>import(`./smalltalk-BHpQb5nM.js`),[]))},{id:`smithy`,name:`Smithy`,import:(()=>e(()=>import(`./smithy-Dgaz7aur.js`),[]))},{id:`solidity`,name:`Solidity`,import:(()=>e(()=>import(`./solidity-Bj7E1mRn.js`),[]))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>e(()=>import(`./soy-B-X4e_cm.js`),__vite__mapDeps([104,2,1,3,4])))},{id:`sparql`,name:`SPARQL`,import:(()=>e(()=>import(`./sparql-D_iOobhT.js`),__vite__mapDeps([105,106])))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>e(()=>import(`./splunk-BC2Px7Mm.js`),[]))},{id:`sql`,name:`SQL`,import:(()=>e(()=>import(`./sql-CrePkbX5.js`).then(e=>e.n),__vite__mapDeps([17,1])))},{id:`ssh-config`,name:`SSH Config`,import:(()=>e(()=>import(`./ssh-config-BgfXC-Er.js`),[]))},{id:`stata`,name:`Stata`,import:(()=>e(()=>import(`./stata-LQMPNdRb.js`),__vite__mapDeps([107,17,1])))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>e(()=>import(`./stylus-B6D30XZt.js`),[]))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>e(()=>import(`./surrealql-DalIYx4r.js`),__vite__mapDeps([108,3,1])))},{id:`svelte`,name:`Svelte`,import:(()=>e(()=>import(`./svelte-CutSaB0m.js`),__vite__mapDeps([109,3,1,4,12,13])))},{id:`swift`,name:`Swift`,import:(()=>e(()=>import(`./swift-CyEgAFGc.js`),[]))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>e(()=>import(`./system-verilog-Dh5ihWbf.js`),[]))},{id:`systemd`,name:`Systemd Units`,import:(()=>e(()=>import(`./systemd-BxMlprV5.js`),[]))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>e(()=>import(`./talonscript-CohzipZa.js`),[]))},{id:`tasl`,name:`Tasl`,import:(()=>e(()=>import(`./tasl-DMoTqEGO.js`),[]))},{id:`tcl`,name:`Tcl`,import:(()=>e(()=>import(`./tcl-CZd0xW_V.js`),[]))},{id:`templ`,name:`Templ`,import:(()=>e(()=>import(`./templ-STIZV9cS.js`),__vite__mapDeps([110,3,1,4,82])))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>e(()=>import(`./terraform-DswuEJGm.js`),[]))},{id:`tex`,name:`TeX`,import:(()=>e(()=>import(`./tex-JPaUWOrn.js`).then(e=>e.n),__vite__mapDeps([68,1,64])))},{id:`toml`,name:`TOML`,import:(()=>e(()=>import(`./toml-CcmNWLt0.js`),[]))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>e(()=>import(`./ts-tags-DugY2c1f.js`),__vite__mapDeps([111,3,1,4,2,8,9,12,17,28,20])))},{id:`tsv`,name:`TSV`,import:(()=>e(()=>import(`./tsv-sltzmVWM.js`),[]))},{id:`tsx`,name:`TSX`,import:(()=>e(()=>import(`./tsx-DvWhG4dC.js`).then(e=>e.n),__vite__mapDeps([14,1])))},{id:`turtle`,name:`Turtle`,import:(()=>e(()=>import(`./turtle-ByJddavk.js`),[]))},{id:`twig`,name:`Twig`,import:(()=>e(()=>import(`./twig-CAQ2meH1.js`),__vite__mapDeps([112,3,1,4,6,22,35,2,8,9,30,17,20,26,27,28,36,37,12,14,38,39,40,88,10])))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>e(()=>import(`./typescript-BTGs5etX.js`).then(e=>e.n),__vite__mapDeps([12,1])))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>e(()=>import(`./typespec-BGhR2SqG.js`),[]))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>e(()=>import(`./typst-D2auzO0m.js`),__vite__mapDeps([113,3,1,4,2,6,9,8,10,12,14,30,114,115,17,20,22,78,25,27,26,28,79,80,50,81,32,39,40,35,36,37,38,42,41,45,49,51,82,83,55,84,116,64,63,66,67,68,71,117,85,86,88,89,90,91,92,94,118,95,119,120,112,121])))},{id:`v`,name:`V`,import:(()=>e(()=>import(`./v-DBj4K9d_.js`),[]))},{id:`vala`,name:`Vala`,import:(()=>e(()=>import(`./vala-zf12oZj6.js`),[]))},{id:`vb`,name:`Visual Basic`,import:(()=>e(()=>import(`./vb-DOwzaHZ0.js`),[]))},{id:`verilog`,name:`Verilog`,import:(()=>e(()=>import(`./verilog-B2gwz-sJ.js`),[]))},{id:`vhdl`,name:`VHDL`,import:(()=>e(()=>import(`./vhdl-BroJfC0k.js`),[]))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>e(()=>import(`./viml-DvXPmvsu.js`),[]))},{id:`vue`,name:`Vue`,import:(()=>e(()=>import(`./vue-Bu9nv_eN.js`),__vite__mapDeps([122,3,1,4,2,10,12,16])))},{id:`vue-html`,name:`Vue HTML`,import:(()=>e(()=>import(`./vue-html-BXjKVtKk.js`),__vite__mapDeps([123,3,1])))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>e(()=>import(`./vue-vine-Ci2qndh_.js`),__vite__mapDeps([124,3,1,4,6,13,71,125])))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>e(()=>import(`./vyper-CgoNMtux.js`),[]))},{id:`wasm`,name:`WebAssembly`,import:(()=>e(()=>import(`./wasm-ByWQv1Qj.js`),[]))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>e(()=>import(`./wenyan-C8pVoKbM.js`),[]))},{id:`wgsl`,name:`WGSL`,import:(()=>e(()=>import(`./wgsl-BsKzXJz4.js`),[]))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>e(()=>import(`./wikitext-ClFFjSW2.js`),[]))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>e(()=>import(`./wit-DdvCle-K.js`),[]))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>e(()=>import(`./wolfram-DLL8P-h_.js`),[]))},{id:`xml`,name:`XML`,import:(()=>e(()=>import(`./xml-C01ajBW7.js`).then(e=>e.n),__vite__mapDeps([8,1,9])))},{id:`xsl`,name:`XSL`,import:(()=>e(()=>import(`./xsl-CCLNyvR3.js`),__vite__mapDeps([94,8,1,9])))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>e(()=>import(`./yaml-BWCS3NLV.js`).then(e=>e.n),__vite__mapDeps([40,1])))},{id:`zenscript`,name:`ZenScript`,import:(()=>e(()=>import(`./zenscript-BnlCZFoB.js`),[]))},{id:`zig`,name:`Zig`,import:(()=>e(()=>import(`./zig-CMLA9XwU.js`),[]))}],n=Object.fromEntries(t.map(e=>[e.id,e.import])),r=Object.fromEntries(t.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),i={...n,...r};export{i as bundledLanguages};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./index-
|
|
1
|
+
import{h as e}from"./index-DOfF35Q-.js";var t={andromeeda:()=>e(()=>import(`./andromeeda-BJLMrMlp.js`),[]),"aurora-x":()=>e(()=>import(`./aurora-x-BCChoRpm.js`),[]),"ayu-dark":()=>e(()=>import(`./ayu-dark-DzFZPuMV.js`),[]),"ayu-light":()=>e(()=>import(`./ayu-light-DSkcX_XD.js`),[]),"ayu-mirage":()=>e(()=>import(`./ayu-mirage-DSve0zuE.js`),[]),"catppuccin-frappe":()=>e(()=>import(`./catppuccin-frappe-DbLkF0J2.js`),[]),"catppuccin-latte":()=>e(()=>import(`./catppuccin-latte-b6208YQK.js`),[]),"catppuccin-macchiato":()=>e(()=>import(`./catppuccin-macchiato-CNNBbV1L.js`),[]),"catppuccin-mocha":()=>e(()=>import(`./catppuccin-mocha-DHkNF0Mp.js`),[]),"dark-plus":()=>e(()=>import(`./dark-plus-BVZ_4wTZ.js`),[]),dracula:()=>e(()=>import(`./dracula-BoZgXveB.js`),[]),"dracula-soft":()=>e(()=>import(`./dracula-soft-D-Kgh5gw.js`),[]),"everforest-dark":()=>e(()=>import(`./everforest-dark-Y6tr-2zD.js`),[]),"everforest-light":()=>e(()=>import(`./everforest-light-CA0Ol4Qu.js`),[]),"github-dark":()=>e(()=>import(`./github-dark-C895GGrm.js`),[]),"github-dark-default":()=>e(()=>import(`./github-dark-default-adAWTKmX.js`),[]),"github-dark-dimmed":()=>e(()=>import(`./github-dark-dimmed-jPx1V1fR.js`),[]),"github-dark-high-contrast":()=>e(()=>import(`./github-dark-high-contrast-UN5YjL_Z.js`),[]),"github-light":()=>e(()=>import(`./github-light-B4HDwToD.js`),[]),"github-light-default":()=>e(()=>import(`./github-light-default-CfC59JYV.js`),[]),"github-light-high-contrast":()=>e(()=>import(`./github-light-high-contrast-C3edEHcK.js`),[]),"gruvbox-dark-hard":()=>e(()=>import(`./gruvbox-dark-hard-BdGOuxq8.js`),[]),"gruvbox-dark-medium":()=>e(()=>import(`./gruvbox-dark-medium-CmygtSMi.js`),[]),"gruvbox-dark-soft":()=>e(()=>import(`./gruvbox-dark-soft-BJH4XuY9.js`),[]),"gruvbox-light-hard":()=>e(()=>import(`./gruvbox-light-hard-BkSILF4E.js`),[]),"gruvbox-light-medium":()=>e(()=>import(`./gruvbox-light-medium-DiZUfgdz.js`),[]),"gruvbox-light-soft":()=>e(()=>import(`./gruvbox-light-soft-CRCTnbIj.js`),[]),horizon:()=>e(()=>import(`./horizon-DUI96lQn.js`),[]),"horizon-bright":()=>e(()=>import(`./horizon-bright-COxh1lHf.js`),[]),houston:()=>e(()=>import(`./houston-DduE73P7.js`),[]),"kanagawa-dragon":()=>e(()=>import(`./kanagawa-dragon-BHDhSKDf.js`),[]),"kanagawa-lotus":()=>e(()=>import(`./kanagawa-lotus-NJjGXXql.js`),[]),"kanagawa-wave":()=>e(()=>import(`./kanagawa-wave-DsGe2Uqk.js`),[]),laserwave:()=>e(()=>import(`./laserwave-DYV0fvJ_.js`),[]),"light-plus":()=>e(()=>import(`./light-plus-FTnIShls.js`),[]),"material-theme":()=>e(()=>import(`./material-theme-IcIb8QNx.js`),[]),"material-theme-darker":()=>e(()=>import(`./material-theme-darker-B_f2vxdL.js`),[]),"material-theme-lighter":()=>e(()=>import(`./material-theme-lighter-CR2Q-4Hp.js`),[]),"material-theme-ocean":()=>e(()=>import(`./material-theme-ocean-BX6hAJ_y.js`),[]),"material-theme-palenight":()=>e(()=>import(`./material-theme-palenight-B6DWAotd.js`),[]),"min-dark":()=>e(()=>import(`./min-dark-DECtZcqS.js`),[]),"min-light":()=>e(()=>import(`./min-light-qRIVcaqf.js`),[]),monokai:()=>e(()=>import(`./monokai-CLmrJ-8t.js`),[]),"night-owl":()=>e(()=>import(`./night-owl-eR4AsyAP.js`),[]),"night-owl-light":()=>e(()=>import(`./night-owl-light-C74n5ti-.js`),[]),nord:()=>e(()=>import(`./nord-D4wy7NEP.js`),[]),"one-dark-pro":()=>e(()=>import(`./one-dark-pro-28TLzoS8.js`),[]),"one-light":()=>e(()=>import(`./one-light-C0UY_Fh7.js`),[]),"pierre-dark":()=>e(()=>import(`./pierre-dark-fPlffE7i.js`),[]),"pierre-dark-protanopia-deuteranopia":()=>e(()=>import(`./pierre-dark-protanopia-deuteranopia-BmjibgrW.js`),[]),"pierre-dark-soft":()=>e(()=>import(`./pierre-dark-soft-Cng2SYKc.js`),[]),"pierre-dark-tritanopia":()=>e(()=>import(`./pierre-dark-tritanopia-DneQ5i7L.js`),[]),"pierre-dark-vibrant":()=>e(()=>import(`./pierre-dark-vibrant-BUK9Y-N_.js`),[]),"pierre-light":()=>e(()=>import(`./pierre-light-BvcXQJIj.js`),[]),"pierre-light-protanopia-deuteranopia":()=>e(()=>import(`./pierre-light-protanopia-deuteranopia-Cd5nk0bp.js`),[]),"pierre-light-soft":()=>e(()=>import(`./pierre-light-soft-BvU23vks.js`),[]),"pierre-light-tritanopia":()=>e(()=>import(`./pierre-light-tritanopia-BSHccQzI.js`),[]),"pierre-light-vibrant":()=>e(()=>import(`./pierre-light-vibrant-BgMZEwQI.js`),[]),plastic:()=>e(()=>import(`./plastic-B2V_PDVk.js`),[]),poimandres:()=>e(()=>import(`./poimandres-DB9-pI6r.js`),[]),red:()=>e(()=>import(`./red-CqYzoXtd.js`),[]),"rose-pine":()=>e(()=>import(`./rose-pine-C3zjVKxG.js`),[]),"rose-pine-dawn":()=>e(()=>import(`./rose-pine-dawn-C72QYfqa.js`),[]),"rose-pine-moon":()=>e(()=>import(`./rose-pine-moon-CSM8ewhO.js`),[]),"slack-dark":()=>e(()=>import(`./slack-dark-Dtzi51su.js`),[]),"slack-ochin":()=>e(()=>import(`./slack-ochin-Bb7oPExa.js`),[]),"snazzy-light":()=>e(()=>import(`./snazzy-light-DXgiwzKu.js`),[]),"solarized-dark":()=>e(()=>import(`./solarized-dark-BKOT3ICq.js`),[]),"solarized-light":()=>e(()=>import(`./solarized-light--Lk5pOfE.js`),[]),"synthwave-84":()=>e(()=>import(`./synthwave-84-BJJFg-sc.js`),[]),"tokyo-night":()=>e(()=>import(`./tokyo-night-DvpptEDd.js`),[]),vesper:()=>e(()=>import(`./vesper-C1rBZbON.js`),[]),"vitesse-black":()=>e(()=>import(`./vitesse-black-Sqvrs2Sw.js`),[]),"vitesse-dark":()=>e(()=>import(`./vitesse-dark-BWf_ZQtP.js`),[]),"vitesse-light":()=>e(()=>import(`./vitesse-light-Cqenv4Qv.js`),[])};export{t as themes};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/langs-
|
|
2
|
-
import{createCssVariablesTheme as e,createHighlighterCore as t,n,t as r}from"./core-BkcJpkJE.js";import{n as i,t as a}from"./stream-tokenizer-8imCpDcl.js";import{a as o,c as s,d as c,h as l,l as u,s as d,t as f,u as p}from"./index-C8Oxwcs8.js";function m(e,t){for(let n of Array.isArray(e)?e:[e]){let e=p.get(n.name);e??(e=n,p.set(n.name,e)),t.attachLanguages([e]),s.add(e.name)}}async function h(e){if(typeof __DIFFS_WORKER__<`u`?__DIFFS_WORKER__:d())throw Error(`resolveLanguage("${e}") cannot be called from a worker context. Languages must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);let t=c.get(e);if(t!=null)return t;let n=(async()=>{let t=u.get(e);if(t==null){let{bundledLanguages:n}=await l(async()=>{let{bundledLanguages:e}=await import(`./langs-Di6vPLUk.js`);return{bundledLanguages:e}},__vite__mapDeps([0,1,2,3]));Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e])}if(t==null)throw Error(`resolveLanguage: "${e}" not found in bundled or custom languages`);let{default:n}=await t(),r={name:e,data:n};return p.has(e)||p.set(e,r),r})();c.set(e,n);try{return await n}finally{c.get(e)===n&&c.delete(e)}}function g(e){return p.get(e)??h(e)}async function _(e){let t=[],n=[];for(let r of e){if(r===`text`||r===`ansi`)continue;let e=g(r)??h(r);`then`in e?n.push(e):t.push(e)}return n.length>0&&await Promise.all(n).then(e=>{for(let n of e){if(n==null)throw Error(`resolvedLanguages: unable to resolve language`);t.push(n)}}),t}function v(e,t){let n;return function(...r){clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}}var y=0,b=0,x=class{backend;#e;#t;#n;#r;#i;#a;#o;#s;#c;#l=!1;#u=[n];#d=[];#f=0;#p=[];#m=-1;#h=!0;#g=!1;#_=0;#v=++b;#y=-1;#b=-1;#x;#S=0;#C=[];#w=!1;#T=v(async e=>{if(this.#l)return;let{startingLine:t=0,totalLines:n=1/0}=e??{},r=Math.min(n===1/0?1/0:t+n,this.#i.lineCount);if(this.#t==null&&!C(this.#i.languageId)){if(await this.backend?.loadLanguages([this.#i.languageId]),this.#l)return;this.#t=this.#e.getLanguage(this.#i.languageId)}this.#D(),this.#N(r)},500);#E=({data:e})=>{if(typeof e!=`object`||!e)return;let{type:t,tokenizerId:n,jobId:r}=e;t===`tokenize`&&n===this.#v&&typeof r==`number`&&r===this.#_&&(this.#y>=0?this.#z(r):this.#B(r))};getStringCommentRegexpRangesInLine(e){if(!this.#s||e<0||e>=this.#i.lineCount||(this.#O(),this.#t==null))return null;if(this.#C[e]===void 0){this.#R(e);let t=this.#u[e]??n,r=this.#P(e,t);this.#u[e+1]=r.state}return this.#C[e]??null}constructor(e,t,n){this.backend=n,this.#e=e,this.#i=t.textDocument,this.#n=t.theme,this.#r=[],this.#a=t.tokenizeMaxLineLength??1e3,this.#o=t.onDeferTokenize,this.#s=t.matchBrackets!==!1,this.#c=t.__debug??!1,this.#O(),this.#D()}setTheme(e){this.#n!==e&&(this.#n=e,this.#D(),this.stopBackgroundTokenize(),this.#u=[n],this.#d=[],this.#f=0,this.#p=[],this.#t!=null&&this.#i.lineCount>0&&this.#M(0))}#D(){if(this.#n===``)return;this.backend?.getTheme(this.#n);let{colorMap:e}=this.#e.setTheme(this.#n);this.#r=e}dispose(){this.#l=!0,this.stopBackgroundTokenize(),this.#A()}tokenize(e,t,r=!1){if(this.#O(),this.#D(),this.#t==null&&!C(this.#i.languageId))throw Error(`Grammar for language "${this.#i.languageId}" not loaded`);let{lineCount:i}=this.#i,{startingLine:a=0,totalLines:o=1/0}=t??{},s=o===1/0?i:Math.min(a+o,i),c=e.startLine,l=Math.max(a,c),u=t!=null&&o!==1/0&&e.lineDelta>0&&c<s&&e.endLine>=s,d=e.lineDelta===0&&(e.changedLineChanges?.every(([,,e])=>e===0)??!0);this.#s&&!d&&(this.#C.length=Math.min(this.#C.length,e.startLine));let f=r&&e.lineDelta!==0&&c>=a,p=d||t==null||c>=l,m=e.changedLineRanges??[[c,e.endLine]];this.#d=[],this.#f=0,this.#p=[];let h=-1;if(c<l)for(let[e,t]of m)e<l&&(h=Math.max(h,Math.min(t,l-1)));let g=h>=c&&(d||e.lineDelta<0);d?this.#R(c):(this.#I(e),(t==null||c>=l)&&this.#R(l));let _=0,v=m[_][1],y,b=0,x=d?m[_][0]:l,S=!1,w=new Map,T=g?new Map:void 0;if(T!=null&&!d){let e=Math.min(h+1,l,s);if(e>c){this.#R(e);let t=c,r=this.#u[t]??n;for(;t<e;t++){let e=this.#P(t,r);r=e.state,T.set(t,e.resolvedTokens)}this.#u[e]=r}}let E=this.#u[x]??n;for(;x<s;){let e=d?this.#u[x+1]:f?this.#L(x+1):void 0;p&&(this.#u[x]=E);let{resolvedTokens:t,state:n}=this.#P(x,E);if(E=n,x>=l?w.set(x,t):T?.set(x,t),p&&(this.#u[x+1]=E),S=x>=v&&(d||f)&&e!=null&&E.equals(e),S){_++;let e=m[_];if(e==null)break;if(e[0]>=s){y=e[0],b=_;break}let t=this.#u[e[0]];if(f)for(let n=x+2;n<=e[0]&&(t=this.#L(n),t!=null);n++)this.#u[n]=t;t==null?(v=e[1],x++):(x=e[0],E=t,v=e[1]),S=!1;continue}x++}if(p&&(x<s?this.#u[x+1]=E:this.#u[x]=E),S&&f&&y==null){for(let e=x+2;e<=i;e++){let t=this.#L(e);if(t==null)break;this.#u[e]=t}this.#d=[],this.#f=0,this.#p=[]}if(T!=null&&T.size>0&&this.#o(T),y!=null)this.#s&&d&&(this.#C.length=Math.min(this.#C.length,y)),this.#M(y,m,b);else if(!S&&x<i){let e=u&&c>=l?s:c<l&&!d?c:x;this.#s&&d&&(this.#C.length=Math.min(this.#C.length,e)),this.#M(e,m,_)}return w}prebuildStateStack(e){this.#O(),this.#T(e)}stopBackgroundTokenize(){this.#b=-1,!this.#h&&(this.#h=!0,this.#g=!1,this.#m=-1,this.#y=-1,this.#x=void 0,this.#S=0,this.#d=[],this.#f=0,this.#p=[],this.#A())}pauseBackgroundTokenize(){this.#h||this.#g||(this.#c&&console.log(`[diffs/editor] background tokenization paused`,{jobId:this.#_}),this.#g=!0)}resumeBackgroundTokenize(){this.#h||!this.#g||this.#t==null||this.#m<0||(this.#c&&console.log(`[diffs/editor] background tokenization resumed`,{jobId:this.#_}),this.#g=!1,this.#j(this.#_))}#O(){this.#t==null&&!C(this.#i.languageId)&&this.#e.getLoadedLanguages().includes(this.#i.languageId)&&(this.#t=this.#e.getLanguage(this.#i.languageId))}#k(){this.#w||=(globalThis.addEventListener(`message`,this.#E),!0)}#A(){this.#w&&=(globalThis.removeEventListener(`message`,this.#E),!1)}#j(e){globalThis.postMessage({type:`tokenize`,tokenizerId:this.#v,jobId:e})}#M(e,t,n=0){if(C(this.#i.languageId))return;let r=++this.#_;this.#c&&console.log(`[diffs/editor] background tokenization scheduled`,{jobId:r,startLine:e,changedLineRanges:t,changedRangeIndex:n}),this.#h=!1,this.#g=!1,this.#m=e,this.#y>=0&&(this.#b=Math.max(this.#b,this.#y)),this.#y=-1,this.#x=t,this.#S=n,this.#k(),this.#j(r)}#N(e){if(this.#t==null||this.#u.length>e)return;if(!this.#h){this.#y>=0?this.#y=Math.max(this.#y,e):this.#b=Math.max(this.#b,e);return}let t=++this.#_;this.#h=!1,this.#g=!1,this.#m=this.#u.length-1,this.#y=e,this.#b=-1,this.#x=void 0,this.#S=0,this.#k(),this.#j(t)}#P(e,t){let n=this.#i.getLineText(e);if(n.length>=this.#a)return console.warn(`[diffs] Line(${e}) too long to tokenize: ${n.length}`),this.#F(e,null),{resolvedTokens:[[0,``,n]],state:t};if(this.#t==null||n===``||n.trim()===``)return this.#F(e,null),{resolvedTokens:[[0,``,n]],state:t};let r=S(this.#t,this.#r,n,t,y,this.#s);return this.#F(e,r.bracketIgnoredRanges),{resolvedTokens:r.resolvedTokens,state:r.ruleStack}}#F(e,t){this.#s&&(this.#C[e]=t)}#I(e){let t=e.changedLineChanges??[[e.startLine,e.endLine,e.lineDelta]],n=e.startLine+1;n<=this.#u.length-n?(this.#d=this.#u,this.#f=0,this.#u=this.#u.slice(0,n)):(this.#f=n,this.#d=this.#u.slice(n),this.#u.length=Math.min(this.#u.length,n)),this.#p=t}#L(e){let t=e;for(let n=this.#p.length-1;n>=0;n--){let[r,i,a]=this.#p[n];if(a!==0){if(t>i)t-=a;else if(t>r)return this.#u[e]}}return this.#d[t-this.#f]??this.#u[e]}#R(e,t){let r=Math.min(Math.max(0,e),this.#i.lineCount);if(this.#u.length>r||this.#t==null)return!0;let i=t==null?0:performance.now(),a=this.#u.length-1,o=this.#u[a]??n;for(;a<r;){this.#u[a]=o;let e=this.#i.getLineText(a);if(e.length<this.#a&&e!==``&&e.trim()!==``){let t=S(this.#t,this.#r,e,o,y,this.#s,!1);this.#F(a,t.bracketIgnoredRanges),o=t.ruleStack}else this.#F(a,null);if(a++,this.#u[a]=o,t!=null&&performance.now()-i>t)break}return a>=r}#z(e){if(this.#h||this.#g||this.#t==null||e!==this.#_)return;this.#D();let t=this.#R(this.#y,1);if(!(this.#h||this.#g||e!==this.#_)){if(t){this.stopBackgroundTokenize();return}this.#m=this.#u.length-1,this.#j(e)}}#B(e){if(this.#h||this.#g||this.#t==null||e!==this.#_)return;this.#D();let t=performance.now(),r=new Map,i=this.#i.lineCount,a=this.#x,o=this.#m,s=this.#u[o]??n,c=!1,l=this.#S,u=a?.[l]?.[1];for(;o<i;){this.#u[o]=s;let e=u==null?void 0:this.#L(o+1),n=this.#P(o,s);if(r.set(o,n.resolvedTokens),s=n.state,this.#u[o+1]=s,c=u!=null&&o>=u&&e!=null&&s.equals(e),o++,c){l++;let e=a?.[l];if(e==null)break;if(u=e[1],this.#u[e[0]]==null)c=!1;else{o=e[0],s=this.#u[o]??s,c=!1;continue}}if(performance.now()-t>1)break}if(this.#o(r),!(this.#h||this.#g||e!==this.#_)){if(c||o>=i){let e=this.#b;this.stopBackgroundTokenize(),e>=0&&this.#N(e);return}this.#m=o,this.#S=l,this.#j(e)}}};function S(e,t,n,i,a,o=!0,s=!0){let c=e.tokenizeLine2(n,i,a);c.stoppedEarly&&console.warn(`[diffs] Time limit reached when tokenizing line: ${n.substring(0,100)}`);let l=c.tokens,u=l.length/2,d=[],f=[];if(!s&&!o)return{ruleStack:c.ruleStack,resolvedTokens:d,bracketIgnoredRanges:f};for(let e=0;e<u;e++){let i=l[2*e],a=e+1<u?l[2*e+2]:n.length;if(i===a)continue;let c=l[2*e+1];if(s){let e=r.getForeground(c);d.push([i,t[e],n.slice(i,a)])}o&&r.getTokenType(c)>0&&f.push([i,a])}return{ruleStack:c.ruleStack,resolvedTokens:d,bracketIgnoredRanges:f}}function C(e){return e===`text`||e===`ansi`}var w=class e extends a{highlighter;options;#e=``;#t;constructor(e,t){super(),this.highlighter=e,this.options=t}tokenizeChunk(e,t){let n=(this.#e+e).split(/(\r\n|\r|\n)/),r=[];for(let e=0;e<n.length;e+=2){let i=n[e],a=this.highlighter.codeToTokens(i,{...this.options,grammarState:this.#t}),o=a.tokens[0].map(e=>({...e,offset:e.offset+this.stableOffset}));e+1<n.length?(f(t,o),this.pushLineBreak(t,i.length,n[e+1]),this.#t=a.grammarState):(r=o,this.#e=i)}return{unstable:r,tailLength:this.#e.length}}clone(){this.assertActive();let t=new e(this.highlighter,this.options);return this.copyStateTo(t),t.#e=this.#e,t.#t=this.#t,t}resetSource(){this.#e=``,this.#t=void 0}releaseSource(){this.resetSource()}},T=class n extends i{raw;loadedThemes=new Map;attachedLanguages=new Set([`text`,`ansi`]);static async create(e){let r=e===`shiki-wasm`?(await l(async()=>{let{createOnigurumaEngine:e}=await import(`./engine-oniguruma-BO8SA_1o.js`);return{createOnigurumaEngine:e}},[])).createOnigurumaEngine(l(()=>import(`./wasm-BnjxR4X6.js`),[])):(await l(async()=>{let{createJavaScriptRegexEngine:e}=await import(`./engine-javascript-BopS6peh.js`);return{createJavaScriptRegexEngine:e}},[])).createJavaScriptRegexEngine(),i=await t({themes:[],langs:[],engine:r});return new n(e,i)}constructor(e,t){super(e,o(e)),this.raw=t}getTheme(t){this.assertNotDisposed();let n=this.loadedThemes.get(t),r=this.themeResolver.getResolvedTheme(t)??n;if(r==null)throw Error(`Theme "${t}" has not been resolved`);if(n!==r){let n=r.textmate??(r.cssVariables==null?void 0:e(r.cssVariables));if(n==null)throw Error(`Theme "${t}" does not support Shiki`);this.raw.setTheme({...n,name:t}),this.loadedThemes.set(t,r)}return r}codeToTokens(e,t){return this.raw.codeToTokens(e,this.resolveOptions(t))}createEditorTokenizer(e){return new x(this.raw,e,this)}createStreamTokenizer(e){return new w(this.raw,this.resolveOptions(e))}async loadLanguages(e){this.assertNotDisposed(),m(await _(e.filter(e=>!this.attachedLanguages.has(e))),this)}hasLoadedLanguages(e){if(this.disposed)return!1;let t;return e.every(e=>this.attachedLanguages.has(e)?!0:!u.has(e)&&(t??=this.raw.getLoadedLanguages(),t.includes(e)))}attachLanguages(e){this.assertNotDisposed();for(let t of e){if(this.attachedLanguages.has(t.name))continue;let e=t.data.find(e=>e.name===t.name||e.aliases?.includes(t.name)===!0);if(e==null)throw Error(`attachResolvedLanguages: No returned grammar declares "${t.name}" as its name or an alias.`);this.raw.loadLanguageSync(t.data);try{this.raw.getLanguage(t.name)}catch{throw Error(`attachResolvedLanguages: "${e.name}" is already loaded without alias "${t.name}". Load the alias first or give the grammar a unique name.`)}this.attachedLanguages.add(t.name)}}releaseResources(){this.loadedThemes.clear(),this.attachedLanguages.clear(),this.raw.dispose()}resolveOptions({theme:e,themes:t,...n}){if(this.assertNotDisposed(),e!=null)return this.getTheme(e),{...n,theme:e};if(t==null)throw Error(`A theme or themes option is required`);for(let e of Object.values(t))this.getTheme(e);return{...n,themes:t}}};export{T as ShikiHighlighter};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/langs-b5pvyHTU.js","assets/index-DOfF35Q-.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/index-B0ZrAosS.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{createCssVariablesTheme as e,createHighlighterCore as t,n,t as r}from"./core-cZCITU9I.js";import{n as i,t as a}from"./stream-tokenizer-D5CKTlAR.js";import{a as o,c as s,d as c,h as l,l as u,s as d,t as f,u as p}from"./index-DOfF35Q-.js";function m(e,t){for(let n of Array.isArray(e)?e:[e]){let e=p.get(n.name);e??(e=n,p.set(n.name,e)),t.attachLanguages([e]),s.add(e.name)}}async function h(e){if(typeof __DIFFS_WORKER__<`u`?__DIFFS_WORKER__:d())throw Error(`resolveLanguage("${e}") cannot be called from a worker context. Languages must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);let t=c.get(e);if(t!=null)return t;let n=(async()=>{let t=u.get(e);if(t==null){let{bundledLanguages:n}=await l(async()=>{let{bundledLanguages:e}=await import(`./langs-b5pvyHTU.js`);return{bundledLanguages:e}},__vite__mapDeps([0,1,2,3]));Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e])}if(t==null)throw Error(`resolveLanguage: "${e}" not found in bundled or custom languages`);let{default:n}=await t(),r={name:e,data:n};return p.has(e)||p.set(e,r),r})();c.set(e,n);try{return await n}finally{c.get(e)===n&&c.delete(e)}}function g(e){return p.get(e)??h(e)}async function _(e){let t=[],n=[];for(let r of e){if(r===`text`||r===`ansi`)continue;let e=g(r)??h(r);`then`in e?n.push(e):t.push(e)}return n.length>0&&await Promise.all(n).then(e=>{for(let n of e){if(n==null)throw Error(`resolvedLanguages: unable to resolve language`);t.push(n)}}),t}function v(e,t){let n;return function(...r){clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}}var y=0,b=0,x=class{backend;#e;#t;#n;#r;#i;#a;#o;#s;#c;#l=!1;#u=[n];#d=[];#f=0;#p=[];#m=-1;#h=!0;#g=!1;#_=0;#v=++b;#y=-1;#b=-1;#x;#S=0;#C=[];#w=!1;#T=v(async e=>{if(this.#l)return;let{startingLine:t=0,totalLines:n=1/0}=e??{},r=Math.min(n===1/0?1/0:t+n,this.#i.lineCount);if(this.#t==null&&!C(this.#i.languageId)){if(await this.backend?.loadLanguages([this.#i.languageId]),this.#l)return;this.#t=this.#e.getLanguage(this.#i.languageId)}this.#D(),this.#N(r)},500);#E=({data:e})=>{if(typeof e!=`object`||!e)return;let{type:t,tokenizerId:n,jobId:r}=e;t===`tokenize`&&n===this.#v&&typeof r==`number`&&r===this.#_&&(this.#y>=0?this.#z(r):this.#B(r))};getStringCommentRegexpRangesInLine(e){if(!this.#s||e<0||e>=this.#i.lineCount||(this.#O(),this.#t==null))return null;if(this.#C[e]===void 0){this.#R(e);let t=this.#u[e]??n,r=this.#P(e,t);this.#u[e+1]=r.state}return this.#C[e]??null}constructor(e,t,n){this.backend=n,this.#e=e,this.#i=t.textDocument,this.#n=t.theme,this.#r=[],this.#a=t.tokenizeMaxLineLength??1e3,this.#o=t.onDeferTokenize,this.#s=t.matchBrackets!==!1,this.#c=t.__debug??!1,this.#O(),this.#D()}setTheme(e){this.#n!==e&&(this.#n=e,this.#D(),this.stopBackgroundTokenize(),this.#u=[n],this.#d=[],this.#f=0,this.#p=[],this.#t!=null&&this.#i.lineCount>0&&this.#M(0))}#D(){if(this.#n===``)return;this.backend?.getTheme(this.#n);let{colorMap:e}=this.#e.setTheme(this.#n);this.#r=e}dispose(){this.#l=!0,this.stopBackgroundTokenize(),this.#A()}tokenize(e,t,r=!1){if(this.#O(),this.#D(),this.#t==null&&!C(this.#i.languageId))throw Error(`Grammar for language "${this.#i.languageId}" not loaded`);let{lineCount:i}=this.#i,{startingLine:a=0,totalLines:o=1/0}=t??{},s=o===1/0?i:Math.min(a+o,i),c=e.startLine,l=Math.max(a,c),u=t!=null&&o!==1/0&&e.lineDelta>0&&c<s&&e.endLine>=s,d=e.lineDelta===0&&(e.changedLineChanges?.every(([,,e])=>e===0)??!0);this.#s&&!d&&(this.#C.length=Math.min(this.#C.length,e.startLine));let f=r&&e.lineDelta!==0&&c>=a,p=d||t==null||c>=l,m=e.changedLineRanges??[[c,e.endLine]];this.#d=[],this.#f=0,this.#p=[];let h=-1;if(c<l)for(let[e,t]of m)e<l&&(h=Math.max(h,Math.min(t,l-1)));let g=h>=c&&(d||e.lineDelta<0);d?this.#R(c):(this.#I(e),(t==null||c>=l)&&this.#R(l));let _=0,v=m[_][1],y,b=0,x=d?m[_][0]:l,S=!1,w=new Map,T=g?new Map:void 0;if(T!=null&&!d){let e=Math.min(h+1,l,s);if(e>c){this.#R(e);let t=c,r=this.#u[t]??n;for(;t<e;t++){let e=this.#P(t,r);r=e.state,T.set(t,e.resolvedTokens)}this.#u[e]=r}}let E=this.#u[x]??n;for(;x<s;){let e=d?this.#u[x+1]:f?this.#L(x+1):void 0;p&&(this.#u[x]=E);let{resolvedTokens:t,state:n}=this.#P(x,E);if(E=n,x>=l?w.set(x,t):T?.set(x,t),p&&(this.#u[x+1]=E),S=x>=v&&(d||f)&&e!=null&&E.equals(e),S){_++;let e=m[_];if(e==null)break;if(e[0]>=s){y=e[0],b=_;break}let t=this.#u[e[0]];if(f)for(let n=x+2;n<=e[0]&&(t=this.#L(n),t!=null);n++)this.#u[n]=t;t==null?(v=e[1],x++):(x=e[0],E=t,v=e[1]),S=!1;continue}x++}if(p&&(x<s?this.#u[x+1]=E:this.#u[x]=E),S&&f&&y==null){for(let e=x+2;e<=i;e++){let t=this.#L(e);if(t==null)break;this.#u[e]=t}this.#d=[],this.#f=0,this.#p=[]}if(T!=null&&T.size>0&&this.#o(T),y!=null)this.#s&&d&&(this.#C.length=Math.min(this.#C.length,y)),this.#M(y,m,b);else if(!S&&x<i){let e=u&&c>=l?s:c<l&&!d?c:x;this.#s&&d&&(this.#C.length=Math.min(this.#C.length,e)),this.#M(e,m,_)}return w}prebuildStateStack(e){this.#O(),this.#T(e)}stopBackgroundTokenize(){this.#b=-1,!this.#h&&(this.#h=!0,this.#g=!1,this.#m=-1,this.#y=-1,this.#x=void 0,this.#S=0,this.#d=[],this.#f=0,this.#p=[],this.#A())}pauseBackgroundTokenize(){this.#h||this.#g||(this.#c&&console.log(`[diffs/editor] background tokenization paused`,{jobId:this.#_}),this.#g=!0)}resumeBackgroundTokenize(){this.#h||!this.#g||this.#t==null||this.#m<0||(this.#c&&console.log(`[diffs/editor] background tokenization resumed`,{jobId:this.#_}),this.#g=!1,this.#j(this.#_))}#O(){this.#t==null&&!C(this.#i.languageId)&&this.#e.getLoadedLanguages().includes(this.#i.languageId)&&(this.#t=this.#e.getLanguage(this.#i.languageId))}#k(){this.#w||=(globalThis.addEventListener(`message`,this.#E),!0)}#A(){this.#w&&=(globalThis.removeEventListener(`message`,this.#E),!1)}#j(e){globalThis.postMessage({type:`tokenize`,tokenizerId:this.#v,jobId:e})}#M(e,t,n=0){if(C(this.#i.languageId))return;let r=++this.#_;this.#c&&console.log(`[diffs/editor] background tokenization scheduled`,{jobId:r,startLine:e,changedLineRanges:t,changedRangeIndex:n}),this.#h=!1,this.#g=!1,this.#m=e,this.#y>=0&&(this.#b=Math.max(this.#b,this.#y)),this.#y=-1,this.#x=t,this.#S=n,this.#k(),this.#j(r)}#N(e){if(this.#t==null||this.#u.length>e)return;if(!this.#h){this.#y>=0?this.#y=Math.max(this.#y,e):this.#b=Math.max(this.#b,e);return}let t=++this.#_;this.#h=!1,this.#g=!1,this.#m=this.#u.length-1,this.#y=e,this.#b=-1,this.#x=void 0,this.#S=0,this.#k(),this.#j(t)}#P(e,t){let n=this.#i.getLineText(e);if(n.length>=this.#a)return console.warn(`[diffs] Line(${e}) too long to tokenize: ${n.length}`),this.#F(e,null),{resolvedTokens:[[0,``,n]],state:t};if(this.#t==null||n===``||n.trim()===``)return this.#F(e,null),{resolvedTokens:[[0,``,n]],state:t};let r=S(this.#t,this.#r,n,t,y,this.#s);return this.#F(e,r.bracketIgnoredRanges),{resolvedTokens:r.resolvedTokens,state:r.ruleStack}}#F(e,t){this.#s&&(this.#C[e]=t)}#I(e){let t=e.changedLineChanges??[[e.startLine,e.endLine,e.lineDelta]],n=e.startLine+1;n<=this.#u.length-n?(this.#d=this.#u,this.#f=0,this.#u=this.#u.slice(0,n)):(this.#f=n,this.#d=this.#u.slice(n),this.#u.length=Math.min(this.#u.length,n)),this.#p=t}#L(e){let t=e;for(let n=this.#p.length-1;n>=0;n--){let[r,i,a]=this.#p[n];if(a!==0){if(t>i)t-=a;else if(t>r)return this.#u[e]}}return this.#d[t-this.#f]??this.#u[e]}#R(e,t){let r=Math.min(Math.max(0,e),this.#i.lineCount);if(this.#u.length>r||this.#t==null)return!0;let i=t==null?0:performance.now(),a=this.#u.length-1,o=this.#u[a]??n;for(;a<r;){this.#u[a]=o;let e=this.#i.getLineText(a);if(e.length<this.#a&&e!==``&&e.trim()!==``){let t=S(this.#t,this.#r,e,o,y,this.#s,!1);this.#F(a,t.bracketIgnoredRanges),o=t.ruleStack}else this.#F(a,null);if(a++,this.#u[a]=o,t!=null&&performance.now()-i>t)break}return a>=r}#z(e){if(this.#h||this.#g||this.#t==null||e!==this.#_)return;this.#D();let t=this.#R(this.#y,1);if(!(this.#h||this.#g||e!==this.#_)){if(t){this.stopBackgroundTokenize();return}this.#m=this.#u.length-1,this.#j(e)}}#B(e){if(this.#h||this.#g||this.#t==null||e!==this.#_)return;this.#D();let t=performance.now(),r=new Map,i=this.#i.lineCount,a=this.#x,o=this.#m,s=this.#u[o]??n,c=!1,l=this.#S,u=a?.[l]?.[1];for(;o<i;){this.#u[o]=s;let e=u==null?void 0:this.#L(o+1),n=this.#P(o,s);if(r.set(o,n.resolvedTokens),s=n.state,this.#u[o+1]=s,c=u!=null&&o>=u&&e!=null&&s.equals(e),o++,c){l++;let e=a?.[l];if(e==null)break;if(u=e[1],this.#u[e[0]]==null)c=!1;else{o=e[0],s=this.#u[o]??s,c=!1;continue}}if(performance.now()-t>1)break}if(this.#o(r),!(this.#h||this.#g||e!==this.#_)){if(c||o>=i){let e=this.#b;this.stopBackgroundTokenize(),e>=0&&this.#N(e);return}this.#m=o,this.#S=l,this.#j(e)}}};function S(e,t,n,i,a,o=!0,s=!0){let c=e.tokenizeLine2(n,i,a);c.stoppedEarly&&console.warn(`[diffs] Time limit reached when tokenizing line: ${n.substring(0,100)}`);let l=c.tokens,u=l.length/2,d=[],f=[];if(!s&&!o)return{ruleStack:c.ruleStack,resolvedTokens:d,bracketIgnoredRanges:f};for(let e=0;e<u;e++){let i=l[2*e],a=e+1<u?l[2*e+2]:n.length;if(i===a)continue;let c=l[2*e+1];if(s){let e=r.getForeground(c);d.push([i,t[e],n.slice(i,a)])}o&&r.getTokenType(c)>0&&f.push([i,a])}return{ruleStack:c.ruleStack,resolvedTokens:d,bracketIgnoredRanges:f}}function C(e){return e===`text`||e===`ansi`}var w=class e extends a{highlighter;options;#e=``;#t;constructor(e,t){super(),this.highlighter=e,this.options=t}tokenizeChunk(e,t){let n=(this.#e+e).split(/(\r\n|\r|\n)/),r=[];for(let e=0;e<n.length;e+=2){let i=n[e],a=this.highlighter.codeToTokens(i,{...this.options,grammarState:this.#t}),o=a.tokens[0].map(e=>({...e,offset:e.offset+this.stableOffset}));e+1<n.length?(f(t,o),this.pushLineBreak(t,i.length,n[e+1]),this.#t=a.grammarState):(r=o,this.#e=i)}return{unstable:r,tailLength:this.#e.length}}clone(){this.assertActive();let t=new e(this.highlighter,this.options);return this.copyStateTo(t),t.#e=this.#e,t.#t=this.#t,t}resetSource(){this.#e=``,this.#t=void 0}releaseSource(){this.resetSource()}},T=class n extends i{raw;loadedThemes=new Map;attachedLanguages=new Set([`text`,`ansi`]);static async create(e){let r=e===`shiki-wasm`?(await l(async()=>{let{createOnigurumaEngine:e}=await import(`./engine-oniguruma-BO8SA_1o.js`);return{createOnigurumaEngine:e}},[])).createOnigurumaEngine(l(()=>import(`./wasm-BnjxR4X6.js`),[])):(await l(async()=>{let{createJavaScriptRegexEngine:e}=await import(`./engine-javascript-BopS6peh.js`);return{createJavaScriptRegexEngine:e}},[])).createJavaScriptRegexEngine(),i=await t({themes:[],langs:[],engine:r});return new n(e,i)}constructor(e,t){super(e,o(e)),this.raw=t}getTheme(t){this.assertNotDisposed();let n=this.loadedThemes.get(t),r=this.themeResolver.getResolvedTheme(t)??n;if(r==null)throw Error(`Theme "${t}" has not been resolved`);if(n!==r){let n=r.textmate??(r.cssVariables==null?void 0:e(r.cssVariables));if(n==null)throw Error(`Theme "${t}" does not support Shiki`);this.raw.setTheme({...n,name:t}),this.loadedThemes.set(t,r)}return r}codeToTokens(e,t){return this.raw.codeToTokens(e,this.resolveOptions(t))}createEditorTokenizer(e){return new x(this.raw,e,this)}createStreamTokenizer(e){return new w(this.raw,this.resolveOptions(e))}async loadLanguages(e){this.assertNotDisposed(),m(await _(e.filter(e=>!this.attachedLanguages.has(e))),this)}hasLoadedLanguages(e){if(this.disposed)return!1;let t;return e.every(e=>this.attachedLanguages.has(e)?!0:!u.has(e)&&(t??=this.raw.getLoadedLanguages(),t.includes(e)))}attachLanguages(e){this.assertNotDisposed();for(let t of e){if(this.attachedLanguages.has(t.name))continue;let e=t.data.find(e=>e.name===t.name||e.aliases?.includes(t.name)===!0);if(e==null)throw Error(`attachResolvedLanguages: No returned grammar declares "${t.name}" as its name or an alias.`);this.raw.loadLanguageSync(t.data);try{this.raw.getLanguage(t.name)}catch{throw Error(`attachResolvedLanguages: "${e.name}" is already loaded without alias "${t.name}". Load the alias first or give the grammar a unique name.`)}this.attachedLanguages.add(t.name)}}releaseResources(){this.loadedThemes.clear(),this.attachedLanguages.clear(),this.raw.dispose()}resolveOptions({theme:e,themes:t,...n}){if(this.assertNotDisposed(),e!=null)return this.getTheme(e),{...n,theme:e};if(t==null)throw Error(`A theme or themes option is required`);for(let e of Object.values(t))this.getTheme(e);return{...n,themes:t}}};export{T as ShikiHighlighter};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as e,i as t,m as n,n as r,p as i}from"./index-
|
|
1
|
+
import{f as e,i as t,m as n,n as r,p as i}from"./index-DOfF35Q-.js";function a(e,n,i,a=!1){let o=[0];if(i.decorations?.some(e=>typeof e.start==`number`||typeof e.end==`number`)===!0)for(let t=e.indexOf(`
|
|
2
2
|
`);t!==-1;t=e.indexOf(`
|
|
3
3
|
`,t+1))o.push(t+1);let s={type:`element`,tagName:`code`,properties:{},children:[]},c=r(n.tokens,{decorations:i.decorations,mergeWhitespaces:i.mergeWhitespaces,lineOffsets:o,cacheHtmlStyles:a});for(let e=0;e<c.length;e++)e>0&&s.children.push({type:`text`,value:`
|
|
4
4
|
`}),s.children.push(c[e]);let l={type:`root`,children:[{type:`element`,tagName:`pre`,properties:{class:`diffs`,style:n.rootStyle===!1?void 0:n.rootStyle??[n.fg==null?``:`color:${n.fg}`,n.bg==null?``:`background-color:${n.bg}`].filter(Boolean).join(`;`),tabIndex:0},children:[s]}]};return t(l)}var o=class{name;themeResolver;disposed=!1;constructor(e,t){this.name=e,this.themeResolver=t,i(e)}codeToHtml(e,t){return a(e,this.codeToTokens(e,t),t,this.name===`highlights`)}get isDisposed(){return this.disposed}dispose(){this.disposed||(this.disposed=!0,this.releaseResources(),n())}assertNotDisposed(){if(this.disposed)throw new e}},s=class{disposed=!1;stableOffset=0;unstable=[];pendingCarriageReturn=``;enqueue(e){this.assertActive(),e=this.pendingCarriageReturn+e,this.pendingCarriageReturn=e.endsWith(`\r`)?`\r`:``,this.pendingCarriageReturn!==``&&(e=e.slice(0,-1));let t=this.unstable.length,n=[],{unstable:r,tailLength:i}=this.tokenizeChunk(e,n);return this.pendingCarriageReturn!==``&&r.push({content:`\r`,offset:this.stableOffset+i}),this.unstable=r,{recall:t,stable:n,unstable:r}}pushLineBreak(e,t,n){for(let r=0;r<n.length;r++)e.push({content:n[r],offset:this.stableOffset+t+r});this.stableOffset+=t+n.length}close(){let e=this.unstable;return this.dispose(),{stable:e}}clear(){this.assertActive(),this.stableOffset=0,this.unstable=[],this.pendingCarriageReturn=``,this.resetSource()}dispose(){this.disposed||(this.disposed=!0,this.unstable=[],this.releaseSource())}copyStateTo(e){e.stableOffset=this.stableOffset,e.unstable=this.unstable.slice(),e.pendingCarriageReturn=this.pendingCarriageReturn}assertActive(){if(this.disposed)throw Error(`stream tokenizer is disposed`)}};export{o as n,s as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/core-
|
|
2
|
-
import{h as e,o as t}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/core-cZCITU9I.js","assets/index-DOfF35Q-.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/index-B0ZrAosS.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{h as e,o as t}from"./index-DOfF35Q-.js";function n(e){let t=[],i=new Set;for(let n of r(e.themes)){let e=o(n)?n.getThemes():[n];for(let n of e){if(i.has(n.name))throw Error(`Theme collection already contains theme "${n.name}"`);i.add(n.name),t.push(n)}}let a=Object.freeze([...t]),s=Object.freeze(a.filter(e=>e.colorScheme===`light`)),c=Object.freeze(a.filter(e=>e.colorScheme===`dark`)),l=new Map(a.map(e=>[e.name,e])),u=Object.freeze(a.map(e=>e.name)),d=Object.freeze(s.map(e=>e.name)),f=Object.freeze(c.map(e=>e.name));function p(e){if(e==null)return a;let{colorScheme:t,collection:n}=e;return n==null?t===`light`?s:t===`dark`?c:a:a.filter(e=>e.collection===n?t==null||e.colorScheme===t:!1)}return{getTheme(e){return l.get(e)},getThemes(e){return p(e)},getThemeNames(e){return e?.collection==null?e?.colorScheme===`light`?d:e?.colorScheme===`dark`?f:u:p(e).map(e=>e.name)},hasTheme(e){return l.has(e)},orderBy(e){return n({themes:a.map((e,t)=>({descriptor:e,index:t})).sort((t,n)=>{let r=e(t.descriptor,n.descriptor);return r===0?t.index-n.index:r}).map(e=>e.descriptor)})},pick(e){let t=[],r=new Set;for(let n of e){if(r.has(n))throw Error(`Theme collection pick already includes theme "${n}"`);r.add(n);let e=l.get(n);if(e==null)throw Error(`Theme collection does not contain theme "${n}"`);t.push(e)}return n({themes:t})},registerInto(e){for(let t of a)e.registerThemeIfAbsent(t.name,t.load)}}}function r(e){return i(e)?[e]:e}function i(e){return o(e)||a(e)}function a(e){return typeof e.name==`string`&&typeof e.load==`function`}function o(e){return typeof e.getThemes==`function`}function s({name:e,load:t,colorScheme:n,collection:r,displayName:i}){return{name:e,colorScheme:n,collection:r,displayName:i,load:c(t)}}function c(n){return async()=>{let[r,{normalizeTheme:i}]=await Promise.all([n(),e(()=>import(`./core-cZCITU9I.js`),__vite__mapDeps([0,1,2,3]))]);return i(t(r))}}var l=`pierre`,u=[`pierre-dark`,`pierre-dark-soft`,`pierre-dark-vibrant`,`pierre-dark-protanopia-deuteranopia`,`pierre-dark-tritanopia`],d=[`pierre-light`,`pierre-light-soft`,`pierre-light-vibrant`,`pierre-light-protanopia-deuteranopia`,`pierre-light-tritanopia`],f=[...d,...u],p=new Set(d);function m(e){return p.has(e)?`light`:`dark`}var h={"pierre-dark":`Pierre Dark`,"pierre-dark-soft":`Pierre Dark Soft`,"pierre-dark-vibrant":`Pierre Dark Vibrant`,"pierre-dark-protanopia-deuteranopia":`Pierre Dark Protanopia & Deuteranopia`,"pierre-dark-tritanopia":`Pierre Dark Tritanopia`,"pierre-light":`Pierre Light`,"pierre-light-soft":`Pierre Light Soft`,"pierre-light-vibrant":`Pierre Light Vibrant`,"pierre-light-protanopia-deuteranopia":`Pierre Light Protanopia & Deuteranopia`,"pierre-light-tritanopia":`Pierre Light Tritanopia`},g={"pierre-dark":()=>e(()=>import(`./pierre-dark-CpLgRqie.js`),[]),"pierre-dark-soft":()=>e(()=>import(`./pierre-dark-soft-kZQmAZld.js`),[]),"pierre-dark-vibrant":()=>e(()=>import(`./pierre-dark-vibrant-CpQYzh95.js`),[]),"pierre-dark-protanopia-deuteranopia":()=>e(()=>import(`./pierre-dark-protanopia-deuteranopia-B35FxJx-.js`),[]),"pierre-dark-tritanopia":()=>e(()=>import(`./pierre-dark-tritanopia-CpjhbsIL.js`),[]),"pierre-light":()=>e(()=>import(`./pierre-light-CoaEpmwp.js`),[]),"pierre-light-soft":()=>e(()=>import(`./pierre-light-soft-lWLdNTOI.js`),[]),"pierre-light-vibrant":()=>e(()=>import(`./pierre-light-vibrant-D80Fkn33.js`),[]),"pierre-light-protanopia-deuteranopia":()=>e(()=>import(`./pierre-light-protanopia-deuteranopia-0fSaH845.js`),[]),"pierre-light-tritanopia":()=>e(()=>import(`./pierre-light-tritanopia-CEbqgOJL.js`),[])};function _(e){return s({name:e,collection:l,colorScheme:m(e),displayName:h[e],load:g[e]})}var v=n({themes:f.map(e=>_(e))}),y=`shiki`,b=[`ayu-light`,`catppuccin-latte`,`everforest-light`,`github-light`,`github-light-default`,`github-light-high-contrast`,`gruvbox-light-hard`,`gruvbox-light-medium`,`gruvbox-light-soft`,`horizon-bright`,`kanagawa-lotus`,`light-plus`,`material-theme-lighter`,`min-light`,`night-owl-light`,`one-light`,`rose-pine-dawn`,`slack-ochin`,`snazzy-light`,`solarized-light`,`vitesse-light`],x=`andromeeda.aurora-x.ayu-dark.ayu-mirage.catppuccin-frappe.catppuccin-macchiato.catppuccin-mocha.dark-plus.dracula.dracula-soft.everforest-dark.github-dark.github-dark-default.github-dark-dimmed.github-dark-high-contrast.gruvbox-dark-hard.gruvbox-dark-medium.gruvbox-dark-soft.horizon.houston.kanagawa-dragon.kanagawa-wave.laserwave.material-theme.material-theme-darker.material-theme-ocean.material-theme-palenight.min-dark.monokai.night-owl.nord.one-dark-pro.plastic.poimandres.red.rose-pine.rose-pine-moon.slack-dark.solarized-dark.synthwave-84.tokyo-night.vesper.vitesse-black.vitesse-dark`.split(`.`),S=new Set(b);function C(e){return S.has(e)?`light`:`dark`}var w={andromeeda:()=>e(()=>import(`./andromeeda-vGVdxbeo.js`),[]),"aurora-x":()=>e(()=>import(`./aurora-x-CDeNXAV0.js`),[]),"ayu-dark":()=>e(()=>import(`./ayu-dark-DluEY0Gj.js`),[]),"ayu-light":()=>e(()=>import(`./ayu-light-C3h-C4tm.js`),[]),"ayu-mirage":()=>e(()=>import(`./ayu-mirage-Bqwy1Gya.js`),[]),"catppuccin-frappe":()=>e(()=>import(`./catppuccin-frappe-C9Q5zVZY.js`),[]),"catppuccin-latte":()=>e(()=>import(`./catppuccin-latte-CtsyrtPq.js`),[]),"catppuccin-macchiato":()=>e(()=>import(`./catppuccin-macchiato-R8nAf1vR.js`),[]),"catppuccin-mocha":()=>e(()=>import(`./catppuccin-mocha-DjuaAJKi.js`),[]),"dark-plus":()=>e(()=>import(`./dark-plus-Cs2F2srj.js`),[]),dracula:()=>e(()=>import(`./dracula-BHWKrbxM.js`),[]),"dracula-soft":()=>e(()=>import(`./dracula-soft-5eyTD99u.js`),[]),"everforest-dark":()=>e(()=>import(`./everforest-dark-sB-x3p7T.js`),[]),"everforest-light":()=>e(()=>import(`./everforest-light-Df2xbC6M.js`),[]),"github-dark":()=>e(()=>import(`./github-dark-C-LZuMrd.js`),[]),"github-dark-default":()=>e(()=>import(`./github-dark-default-DXG-b-1a.js`),[]),"github-dark-dimmed":()=>e(()=>import(`./github-dark-dimmed-Bx1FflLF.js`),[]),"github-dark-high-contrast":()=>e(()=>import(`./github-dark-high-contrast-B_tTalzw.js`),[]),"github-light":()=>e(()=>import(`./github-light-EUqPIrTm.js`),[]),"github-light-default":()=>e(()=>import(`./github-light-default-BXViO-2h.js`),[]),"github-light-high-contrast":()=>e(()=>import(`./github-light-high-contrast-B68TUdTA.js`),[]),"gruvbox-dark-hard":()=>e(()=>import(`./gruvbox-dark-hard-C820rvS2.js`),[]),"gruvbox-dark-medium":()=>e(()=>import(`./gruvbox-dark-medium-BPjhmG05.js`),[]),"gruvbox-dark-soft":()=>e(()=>import(`./gruvbox-dark-soft-MrdJrrXF.js`),[]),"gruvbox-light-hard":()=>e(()=>import(`./gruvbox-light-hard-BC_s9l72.js`),[]),"gruvbox-light-medium":()=>e(()=>import(`./gruvbox-light-medium-BAWPOn9u.js`),[]),"gruvbox-light-soft":()=>e(()=>import(`./gruvbox-light-soft-BSMLrYjP.js`),[]),horizon:()=>e(()=>import(`./horizon-CE9ld1lL.js`),[]),"horizon-bright":()=>e(()=>import(`./horizon-bright-DSNQnXHK.js`),[]),houston:()=>e(()=>import(`./houston-CsvMBhTu.js`),[]),"kanagawa-dragon":()=>e(()=>import(`./kanagawa-dragon-Bozd7klA.js`),[]),"kanagawa-lotus":()=>e(()=>import(`./kanagawa-lotus-BmuOG9ZW.js`),[]),"kanagawa-wave":()=>e(()=>import(`./kanagawa-wave-BML5mF2J.js`),[]),laserwave:()=>e(()=>import(`./laserwave-C_8bwKvT.js`),[]),"light-plus":()=>e(()=>import(`./light-plus-DVQuIRkW.js`),[]),"material-theme":()=>e(()=>import(`./material-theme-Bm3Qr25_.js`),[]),"material-theme-darker":()=>e(()=>import(`./material-theme-darker-2IIEA8gg.js`),[]),"material-theme-lighter":()=>e(()=>import(`./material-theme-lighter-uhdI0v04.js`),[]),"material-theme-ocean":()=>e(()=>import(`./material-theme-ocean-CHQ94UKr.js`),[]),"material-theme-palenight":()=>e(()=>import(`./material-theme-palenight-B5W6OYN7.js`),[]),"min-dark":()=>e(()=>import(`./min-dark-BSWPekZh.js`),[]),"min-light":()=>e(()=>import(`./min-light-DDpmG2fV.js`),[]),monokai:()=>e(()=>import(`./monokai-BscAjiQZ.js`),[]),"night-owl":()=>e(()=>import(`./night-owl-DhmEMT88.js`),[]),"night-owl-light":()=>e(()=>import(`./night-owl-light-eJ-hLW7d.js`),[]),nord:()=>e(()=>import(`./nord-Cb4Vim4T.js`),[]),"one-dark-pro":()=>e(()=>import(`./one-dark-pro-C6YyR8OD.js`),[]),"one-light":()=>e(()=>import(`./one-light-D7Lr4KcI.js`),[]),plastic:()=>e(()=>import(`./plastic-DQwYfKfQ.js`),[]),poimandres:()=>e(()=>import(`./poimandres-DRFjx7u4.js`),[]),red:()=>e(()=>import(`./red-CYlAq2b0.js`),[]),"rose-pine":()=>e(()=>import(`./rose-pine-aMsaMD1D.js`),[]),"rose-pine-dawn":()=>e(()=>import(`./rose-pine-dawn-8PwUyIlP.js`),[]),"rose-pine-moon":()=>e(()=>import(`./rose-pine-moon-DO-qXg-I.js`),[]),"slack-dark":()=>e(()=>import(`./slack-dark-DnToyrRv.js`),[]),"slack-ochin":()=>e(()=>import(`./slack-ochin-B2OO5cIa.js`),[]),"snazzy-light":()=>e(()=>import(`./snazzy-light-4G7pJPwS.js`),[]),"solarized-dark":()=>e(()=>import(`./solarized-dark-b97czJOk.js`),[]),"solarized-light":()=>e(()=>import(`./solarized-light-DFPxpIYQ.js`),[]),"synthwave-84":()=>e(()=>import(`./synthwave-84-nFMaYfgc.js`),[]),"tokyo-night":()=>e(()=>import(`./tokyo-night-oM2G3aXe.js`),[]),vesper:()=>e(()=>import(`./vesper-DdrHHSXu.js`),[]),"vitesse-black":()=>e(()=>import(`./vitesse-black-fwtXNY1n.js`),[]),"vitesse-dark":()=>e(()=>import(`./vitesse-dark-BZCL-v6S.js`),[]),"vitesse-light":()=>e(()=>import(`./vitesse-light-VbXTXTou.js`),[])};function T(e){return s({name:e,collection:y,colorScheme:C(e),load:w[e]})}var E=n({themes:Object.freeze([...b.map(e=>T(e)),...x.map(e=>T(e))])}),D=n({themes:[v,E]});export{s as createTheme,v as pierreThemes,E as shikiThemes,D as themes};
|
package/viewer-dist/index.html
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
type="image/svg+xml"
|
|
62
62
|
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 -8 108 108' stroke-width='5' stroke-linejoin='round'%3E%3Cstyle%3E@media (prefers-color-scheme: dark) { .g { fill: %23a9d8c1; stroke: %235ba784 } .c { fill: %23f1ece2; stroke: %23cec2aa } .r { fill: %23f0a295; stroke: %23d86e5b } }%3C/style%3E%3Cpath class='g' d='M8 22 41 10v58L8 80z' fill='%23b5e3cc' stroke='%235fae8a'/%3E%3Cpath class='c' d='M41 10l34 12v58L41 68z' fill='%23fbf7ef' stroke='%23d9cdb4'/%3E%3Cpath class='r' d='M75 22l33-12v58L75 80z' fill='%23f7a99c' stroke='%23e2725f'/%3E%3C/svg%3E"
|
|
63
63
|
/>
|
|
64
|
-
<script type="module" crossorigin src="/assets/index-
|
|
64
|
+
<script type="module" crossorigin src="/assets/index-DOfF35Q-.js"></script>
|
|
65
65
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-Dd_uD5pT.js">
|
|
66
66
|
<link rel="stylesheet" crossorigin href="/assets/index-B0ZrAosS.css">
|
|
67
67
|
</head>
|