@joeyshi12/casper 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +1 -1
- package/dist/web/assets/{abap-DsBKuouk.js → abap-jokb6lkK.js} +1 -1
- package/dist/web/assets/{abnfDiagram-N423BO3Z-BntXFWDC.js → abnfDiagram-N423BO3Z-5RMwP9tv.js} +1 -1
- package/dist/web/assets/{actionscript-3-D_z4Izcz.js → actionscript-3-BXYeDGJT.js} +1 -1
- package/dist/web/assets/{ada-727ZlQH0.js → ada-CBhgZKLz.js} +1 -1
- package/dist/web/assets/andromeeda-C6FuwQ60.js +1 -0
- package/dist/web/assets/{angular-html-LfdN0zeE.js → angular-html-1hX26BPZ.js} +1 -1
- package/dist/web/assets/angular-ts-NOFjJDBC.js +1 -0
- package/dist/web/assets/{apache-Dn00JSTd.js → apache-DZWQkMCk.js} +1 -1
- package/dist/web/assets/{apex-COJ4H7py.js → apex-yOx7_f90.js} +1 -1
- package/dist/web/assets/{apl-BBq3IX1j.js → apl-COek7QEF.js} +1 -1
- package/dist/web/assets/{applescript-Bu5BbsvL.js → applescript-DK6hSn4y.js} +1 -1
- package/dist/web/assets/{ara-7O62HKoU.js → ara-NyGvP6OL.js} +1 -1
- package/dist/web/assets/arc-DEuUsPX5.js +1 -0
- package/dist/web/assets/architectureDiagram-T3A2C74G-k4h0zktw.js +36 -0
- package/dist/web/assets/{asciidoc-BPT9niGB.js → asciidoc-DDMctdp3.js} +1 -1
- package/dist/web/assets/{asm-Dhn9LcZ4.js → asm-C-s1ZrQ8.js} +1 -1
- package/dist/web/assets/{astro-CqkE3fuf.js → astro-CNP7wUB9.js} +1 -1
- package/dist/web/assets/aurora-x-C0VKFdlO.js +1 -0
- package/dist/web/assets/{awk-eg146-Ew.js → awk-DUctW4RQ.js} +1 -1
- package/dist/web/assets/ayu-dark-_V__kATy.js +1 -0
- package/dist/web/assets/{ballerina-Du268qiB.js → ballerina-DCDyHuU_.js} +1 -1
- package/dist/web/assets/{bat-fje9CFhw.js → bat-CYJ1VtZ8.js} +1 -1
- package/dist/web/assets/{beancount-BwXTMy5W.js → beancount-DXz1TR4C.js} +1 -1
- package/dist/web/assets/{berry-3xVqZejG.js → berry-DSxfSjpQ.js} +1 -1
- package/dist/web/assets/{bibtex-xW4inM5L.js → bibtex-D3osIjO9.js} +1 -1
- package/dist/web/assets/{bicep-DHo0CJ0O.js → bicep-BJtoMy_l.js} +1 -1
- package/dist/web/assets/{blade-a8OxSdnT.js → blade-BrTmz5zY.js} +1 -1
- package/dist/web/assets/{blockDiagram-VBNYF7ZC-Brv9Aqj6.js → blockDiagram-VBNYF7ZC-qTl9ZS2k.js} +1 -1
- package/dist/web/assets/{bsl-Dgyn0ogV.js → bsl-BOq_oGzx.js} +1 -1
- package/dist/web/assets/{c-C3t2pwGQ.js → c-C7geQHiD.js} +1 -1
- package/dist/web/assets/{c4Diagram-5PPSVZJV-CsCCridM.js → c4Diagram-5PPSVZJV-R6o_zt-Q.js} +1 -1
- package/dist/web/assets/{cadence-DNquZEk8.js → cadence-B8exyrQ2.js} +1 -1
- package/dist/web/assets/{cairo--RitsXJZ.js → cairo-CvnV_g6b.js} +1 -1
- package/dist/web/assets/catppuccin-frappe-7hveN6gg.js +1 -0
- package/dist/web/assets/catppuccin-latte-CDftU3M4.js +1 -0
- package/dist/web/assets/catppuccin-macchiato-DVaPwPDs.js +1 -0
- package/dist/web/assets/catppuccin-mocha-CYOEdfgP.js +1 -0
- package/dist/web/assets/channel-BQC-40u0.js +1 -0
- package/dist/web/assets/{chunk-2GRJ4B5K-D_ANB_P2.js → chunk-2GRJ4B5K-CrJyVfhF.js} +1 -1
- package/dist/web/assets/{chunk-2Q5K7J3B-DW22WjpO.js → chunk-2Q5K7J3B-BvGurkBq.js} +1 -1
- package/dist/web/assets/{chunk-5RXB4S5H-wtOenker.js → chunk-5RXB4S5H-DuE267ol.js} +3 -3
- package/dist/web/assets/{chunk-5VM5RSS4-D1yDtOMG.js → chunk-5VM5RSS4-DAVY20oh.js} +1 -1
- package/dist/web/assets/{chunk-6Q2QTUOP-Bk0pf9ER.js → chunk-6Q2QTUOP-DvkSg8Wl.js} +3 -3
- package/dist/web/assets/{chunk-GF5L2VYU-DsdtNU_v.js → chunk-GF5L2VYU-B8KQ7FAJ.js} +1 -1
- package/dist/web/assets/{chunk-JWPE2WC7--SnlIo8Q.js → chunk-JWPE2WC7-D2J6xFCq.js} +1 -1
- package/dist/web/assets/{chunk-KBJHAD2P-DtWSCQMb.js → chunk-KBJHAD2P-BfgGkRN_.js} +1 -1
- package/dist/web/assets/{chunk-RYQCIY6F-Du4c_cV1.js → chunk-RYQCIY6F-C0uby4vT.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-DZ8cNm58.js → chunk-XXDRQBXY-BAZLB2J1.js} +1 -1
- package/dist/web/assets/{clarity-BHOwM8T6.js → clarity-BspLniIr.js} +1 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-9L45zm4i.js +1 -0
- package/dist/web/assets/classDiagram-v2-OCEON4UE-9L45zm4i.js +1 -0
- package/dist/web/assets/{clojure-DxSadP1t.js → clojure-TcMZRJXX.js} +1 -1
- package/dist/web/assets/{cmake-DbXoA79R.js → cmake-Cq1xYuce.js} +1 -1
- package/dist/web/assets/{cobol-PTqiYgYu.js → cobol-DQNJTdu9.js} +1 -1
- package/dist/web/assets/{codeowners-Bp6g37R7.js → codeowners-CtwIM3TN.js} +1 -1
- package/dist/web/assets/{codeql-sacFqUAJ.js → codeql-Dfnujan1.js} +1 -1
- package/dist/web/assets/{coffee-dyiR41kL.js → coffee-CvgfVqck.js} +1 -1
- package/dist/web/assets/{common-lisp-C7gG9l05.js → common-lisp-DdDwuCTO.js} +1 -1
- package/dist/web/assets/{coq-Dsg_Bt_b.js → coq-xi22SHg_.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-9Wf3tO4_.js → cose-bilkent-JH36ORCC-8FFjV-r2.js} +1 -1
- package/dist/web/assets/{cpp-BksuvNSY.js → cpp-CZnLxZIX.js} +1 -1
- package/dist/web/assets/{crystal-DtDmRg-F.js → crystal-DtOJ9C4F.js} +1 -1
- package/dist/web/assets/{csharp-D9R-vmeu.js → csharp-D5GhjuXM.js} +1 -1
- package/dist/web/assets/{css-BPhBrDlE.js → css-DsSsXWQB.js} +1 -1
- package/dist/web/assets/{csv-B0qRVHPH.js → csv-CXMJgpSL.js} +1 -1
- package/dist/web/assets/{cue-DtFQj3wx.js → cue-usmCabPr.js} +1 -1
- package/dist/web/assets/{cynefin-VYW2F7L2-DR-DJAgB.js → cynefin-VYW2F7L2-CDT1GZi_.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-MW4NZA55-BN8dtb3y.js → cynefinDiagram-MW4NZA55-DMs5fXGJ.js} +2 -2
- package/dist/web/assets/{cypher-m2LEI-9-.js → cypher-CrL00TIU.js} +1 -1
- package/dist/web/assets/{d-BoXegm-a.js → d-CFhQIz9L.js} +1 -1
- package/dist/web/assets/{dagre-VZM6K2ZE-bEGuwESr.js → dagre-VZM6K2ZE-BUgnrG7T.js} +1 -1
- package/dist/web/assets/dark-plus-DLU5INA3.js +1 -0
- package/dist/web/assets/{dart-B9wLZaAG.js → dart-DMtosjLs.js} +1 -1
- package/dist/web/assets/{dax-ClGRhx96.js → dax-vckHzldx.js} +1 -1
- package/dist/web/assets/{desktop-DEIpsLCJ.js → desktop-B6eBibaS.js} +1 -1
- package/dist/web/assets/{diagram-7IWD3JNH-DY3RlWAl.js → diagram-7IWD3JNH-DUJeTMJj.js} +3 -3
- package/dist/web/assets/{diagram-B4RE2ZJO-P-8DDSKD.js → diagram-B4RE2ZJO-BsVTn5rU.js} +3 -3
- package/dist/web/assets/{diagram-LBJQPF4R-COyMwTD5.js → diagram-LBJQPF4R--uxNHPeF.js} +2 -2
- package/dist/web/assets/{diagram-Q27KOJAE-C9-App7G.js → diagram-Q27KOJAE-GYAROo1s.js} +1 -1
- package/dist/web/assets/{diagram-UB23O5K3-D5hjqgyv.js → diagram-UB23O5K3-CpJvxU_K.js} +1 -1
- package/dist/web/assets/{diff-BgYniUM_.js → diff-DSVZyKbn.js} +1 -1
- package/dist/web/assets/{docker-COcR7UxN.js → docker-CVy4PnLq.js} +1 -1
- package/dist/web/assets/{dotenv-BjQB5zDj.js → dotenv-Wk8gXVAW.js} +1 -1
- package/dist/web/assets/dracula-XcYHBZy6.js +1 -0
- package/dist/web/assets/dracula-soft-BPeX9gxW.js +1 -0
- package/dist/web/assets/{dream-maker-C-nORZOA.js → dream-maker-DSOBmQ4T.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-BXEA7PRR-Cf_WxbBp.js → ebnfDiagram-BXEA7PRR-l3iEqoSP.js} +1 -1
- package/dist/web/assets/{edge-D5gP-w-T.js → edge-DV1oJ-z-.js} +1 -1
- package/dist/web/assets/{elixir-CLiX3zqd.js → elixir-BAy7E9hx.js} +1 -1
- package/dist/web/assets/{elm-CmHSxxaM.js → elm-DI0HhLqI.js} +1 -1
- package/dist/web/assets/{emacs-lisp-BX77sIaO.js → emacs-lisp-CNyc7xnE.js} +1 -1
- package/dist/web/assets/{erDiagram-JOGREHBK-BLpPP0gJ.js → erDiagram-JOGREHBK-BoFHrs3B.js} +5 -5
- package/dist/web/assets/{erb-BYTLMnw6.js → erb-C2MyKaut.js} +1 -1
- package/dist/web/assets/{erlang-B-DoSBHF.js → erlang-qdDNB3kS.js} +1 -1
- package/dist/web/assets/everforest-dark-WOub3wle.js +1 -0
- package/dist/web/assets/everforest-light-DCUg8VH8.js +1 -0
- package/dist/web/assets/{fennel-bCA53EVm.js → fennel-C169Wmtk.js} +1 -1
- package/dist/web/assets/{fish-w-ucz2PV.js → fish-DdzwuySR.js} +1 -1
- package/dist/web/assets/{flowDiagram-UKHOOZJN-M3Qk_Suq.js → flowDiagram-UKHOOZJN-CXMq4-uD.js} +10 -10
- package/dist/web/assets/{fluent-Dayu4EKP.js → fluent-e88iTpwM.js} +1 -1
- package/dist/web/assets/{fortran-fixed-form-TqA4NnZg.js → fortran-fixed-form-DOoUYCKo.js} +1 -1
- package/dist/web/assets/{fortran-free-form-DKXYxT9g.js → fortran-free-form-entkArVT.js} +1 -1
- package/dist/web/assets/{fsharp-XplgxFYe.js → fsharp-BnQYn4eh.js} +1 -1
- package/dist/web/assets/{ganttDiagram-PKOTCBZU-CngEKyD4.js → ganttDiagram-PKOTCBZU-YMv8lvSL.js} +1 -1
- package/dist/web/assets/{gdresource-BHYsBjWJ.js → gdresource-BBYl1svN.js} +1 -1
- package/dist/web/assets/{gdscript-DfxzS6Rs.js → gdscript-CN9EyWwI.js} +1 -1
- package/dist/web/assets/{gdshader-SKMF96pI.js → gdshader-Bs2FnG4i.js} +1 -1
- package/dist/web/assets/{genie-ajMbGru0.js → genie-LZ41QQzG.js} +1 -1
- package/dist/web/assets/{gherkin--30QC5Em.js → gherkin-DdFu5Ka3.js} +1 -1
- package/dist/web/assets/{git-commit-i4q6IMui.js → git-commit-C_Fd7mZn.js} +1 -1
- package/dist/web/assets/{git-rebase-B-v9cOL2.js → git-rebase-AtJUntN1.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-DS77QQ5N-DWTBtgDc.js → gitGraphDiagram-DS77QQ5N-BgrfufCE.js} +7 -7
- package/dist/web/assets/github-dark-BQV5ugrc.js +1 -0
- package/dist/web/assets/github-dark-default-DLWDM7FH.js +1 -0
- package/dist/web/assets/github-dark-dimmed-D1FmiR_p.js +1 -0
- package/dist/web/assets/github-dark-high-contrast-BilLoi0o.js +1 -0
- package/dist/web/assets/github-light-Rcb2q3L5.js +1 -0
- package/dist/web/assets/github-light-default-CQ75esMw.js +1 -0
- package/dist/web/assets/github-light-high-contrast-CRF1wyLy.js +1 -0
- package/dist/web/assets/{gleam-B430Bg39.js → gleam-Cuj-GTDu.js} +1 -1
- package/dist/web/assets/{glimmer-js-D-cwc0-E.js → glimmer-js-CQwQIxfr.js} +1 -1
- package/dist/web/assets/{glimmer-ts-pgjy16dm.js → glimmer-ts-DzkKMqPs.js} +1 -1
- package/dist/web/assets/{glsl-DBO2IWDn.js → glsl-B5tAdZD8.js} +1 -1
- package/dist/web/assets/{gnuplot-CM8KxXT1.js → gnuplot-CZzrWc6Z.js} +1 -1
- package/dist/web/assets/{go-B1SYOhNW.js → go-CAz2AAgI.js} +1 -1
- package/dist/web/assets/{graphql-cDcHW_If.js → graphql-CsbcjAOe.js} +1 -1
- package/dist/web/assets/{groovy-DkBy-JyN.js → groovy-BHAqdEGB.js} +1 -1
- package/dist/web/assets/{hack-D1yCygmZ.js → hack-D_TkyKTp.js} +1 -1
- package/dist/web/assets/{haml-B2EZWmdv.js → haml-BsJe1mlH.js} +1 -1
- package/dist/web/assets/{handlebars-BQGss363.js → handlebars-DzHj2frt.js} +1 -1
- package/dist/web/assets/{haskell-BILxekzW.js → haskell-DBZShPJZ.js} +1 -1
- package/dist/web/assets/{haxe-C5wWYbrZ.js → haxe-BnfKaULB.js} +1 -1
- package/dist/web/assets/{hcl-HzYwdGDm.js → hcl-DG6oviwm.js} +1 -1
- package/dist/web/assets/highlightWorker-DJp1Ce5p.js +1 -0
- package/dist/web/assets/{hjson-T-Tgc4AT.js → hjson-9x786Szp.js} +1 -1
- package/dist/web/assets/{hlsl-ifBTmRxC.js → hlsl-BIjXBe-u.js} +1 -1
- package/dist/web/assets/houston-RHIKkNfR.js +1 -0
- package/dist/web/assets/{html-C2L_23MC.js → html-BfEhAfys.js} +1 -1
- package/dist/web/assets/{html-derivative-CSfWNPLT.js → html-derivative-khQn7CEq.js} +1 -1
- package/dist/web/assets/{http-FRrOvY1W.js → http-CkaUdRI6.js} +1 -1
- package/dist/web/assets/{hxml-TIA70rKU.js → hxml-DEEAihpB.js} +1 -1
- package/dist/web/assets/{hy-BMj5Y0dO.js → hy-BhTqYOi9.js} +1 -1
- package/dist/web/assets/{imba-bv_oIlVt.js → imba-BN90XemW.js} +1 -1
- package/dist/web/assets/index-D7QnyK89.css +1 -0
- package/dist/web/assets/index-IBYN7wml.js +353 -0
- package/dist/web/assets/index-t_Fnpkbb.js +12 -0
- package/dist/web/assets/{infoDiagram-6WML65LV-BStJJxiK.js → infoDiagram-6WML65LV-DMpqFKuC.js} +1 -1
- package/dist/web/assets/{ini-BjABl1g7.js → ini-CNYq1Vbh.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-WSZJBQD7-CxPNb82h.js → ishikawaDiagram-WSZJBQD7-BKdkzZXu.js} +4 -4
- package/dist/web/assets/{java-xI-RfyKK.js → java-BOuFdpVK.js} +1 -1
- package/dist/web/assets/{javascript-ySlJ1b_l.js → javascript-C1WZzX5w.js} +1 -1
- package/dist/web/assets/jinja-CPlEC2oM.js +1 -0
- package/dist/web/assets/{jison-BqZprYcd.js → jison-_WNGvU9Z.js} +1 -1
- package/dist/web/assets/{journeyDiagram-NVQOT4AX-DI2FdYe2.js → journeyDiagram-NVQOT4AX-NPjJ9Fq8.js} +1 -1
- package/dist/web/assets/{json-BQoSv7ci.js → json-CG0XIpmU.js} +1 -1
- package/dist/web/assets/{json5-w8dY5SsB.js → json5-wmRZLYNM.js} +1 -1
- package/dist/web/assets/{jsonc-TU54ms6u.js → jsonc-CJ5AVGwp.js} +1 -1
- package/dist/web/assets/{jsonl-DREVFZK8.js → jsonl-BZ9Ocixn.js} +1 -1
- package/dist/web/assets/{jsonnet-BfivnA6A.js → jsonnet-C1k_anf1.js} +1 -1
- package/dist/web/assets/{jssm-P4WzXJd0.js → jssm-DPmvb5V-.js} +1 -1
- package/dist/web/assets/{jsx-BAng5TT0.js → jsx-CKOz0mFu.js} +1 -1
- package/dist/web/assets/{julia-BBuGR-5E.js → julia-C-s-RWKo.js} +1 -1
- package/dist/web/assets/kanagawa-dragon-BOvIHJVT.js +1 -0
- package/dist/web/assets/kanagawa-lotus-Bwcd7Bvx.js +1 -0
- package/dist/web/assets/kanagawa-wave-0SAlpf0s.js +1 -0
- package/dist/web/assets/{kanban-definition-27J2QSJJ-DdrpquL_.js → kanban-definition-27J2QSJJ-MSVfDvXb.js} +8 -8
- package/dist/web/assets/{kotlin-B5lbUyaz.js → kotlin-DCv8F5Dl.js} +1 -1
- package/dist/web/assets/{kusto-mebxcVVE.js → kusto-BzMM2K9O.js} +1 -1
- package/dist/web/assets/laserwave-si7wuSrt.js +1 -0
- package/dist/web/assets/{latex-C-cWTeAZ.js → latex-C6cEKF_r.js} +1 -1
- package/dist/web/assets/{lean-XBlWyCtg.js → lean-DlZiO-DR.js} +1 -1
- package/dist/web/assets/{less-BfCpw3nA.js → less-DPX9Q-iF.js} +1 -1
- package/dist/web/assets/light-plus-g_Fi9vkG.js +1 -0
- package/dist/web/assets/{linear-CClJBsYj.js → linear-Bugxdj26.js} +1 -1
- package/dist/web/assets/{liquid-D3W5UaiH.js → liquid-BKbSSNuo.js} +1 -1
- package/dist/web/assets/{log-Cc5clBb7.js → log-DlRS7YvK.js} +1 -1
- package/dist/web/assets/{logo-IuBKFhSY.js → logo-VN04mNZ6.js} +1 -1
- package/dist/web/assets/{lua-CvWAzNxB.js → lua-DanyZPH_.js} +1 -1
- package/dist/web/assets/{luau-Du5NY7AG.js → luau-D93ufwnm.js} +1 -1
- package/dist/web/assets/{make-Bvotw-X0.js → make-CL8frSFP.js} +1 -1
- package/dist/web/assets/{markdown-UIAJJxZW.js → markdown-ByrpALUI.js} +1 -1
- package/dist/web/assets/{marko-z0MBrx5-.js → marko-DRSg2OrD.js} +1 -1
- package/dist/web/assets/material-theme-CIJ3cGaW.js +1 -0
- package/dist/web/assets/material-theme-darker-BWg3m1GB.js +1 -0
- package/dist/web/assets/material-theme-lighter-DR8HWMN7.js +1 -0
- package/dist/web/assets/material-theme-ocean-CZf9pk28.js +1 -0
- package/dist/web/assets/material-theme-palenight-BF01YeZy.js +1 -0
- package/dist/web/assets/{matlab-D9-PGadD.js → matlab-BHcro1_y.js} +1 -1
- package/dist/web/assets/{mdc-DB_EDNY_.js → mdc-CVTKaK9l.js} +1 -1
- package/dist/web/assets/{mdx-sdHcTMYB.js → mdx-CCTQUHLn.js} +1 -1
- package/dist/web/assets/{mermaid-Ci6OQyBP.js → mermaid-QUEeqX1B.js} +1 -1
- package/dist/web/assets/{mermaid.core-ONfBNVRk.js → mermaid.core-BrC5_l7I.js} +6 -6
- package/dist/web/assets/min-dark-DhfaepVE.js +1 -0
- package/dist/web/assets/min-light-6xx0uMgm.js +1 -0
- package/dist/web/assets/{mindmap-definition-FAOFIHXS-CBQ7h3OO.js → mindmap-definition-FAOFIHXS-yB60YQKy.js} +3 -3
- package/dist/web/assets/{mipsasm-BC5c_5Pe.js → mipsasm-q9X1oIjH.js} +1 -1
- package/dist/web/assets/{mojo-Tz6hzZYG.js → mojo-XjOS2v-j.js} +1 -1
- package/dist/web/assets/monokai-BodnsaDQ.js +1 -0
- package/dist/web/assets/{move-DB_GagMm.js → move-BX9wJykM.js} +1 -1
- package/dist/web/assets/{narrat-DLbgOhZU.js → narrat-BIAE-JNJ.js} +1 -1
- package/dist/web/assets/{nextflow-B0XVJmRM.js → nextflow-C3Zpn0NH.js} +1 -1
- package/dist/web/assets/{nginx-D_VnBJ67.js → nginx-K8be3xw8.js} +1 -1
- package/dist/web/assets/night-owl-EdP2Hztp.js +1 -0
- package/dist/web/assets/{nim-ZlGxZxc3.js → nim-BXrdZEnW.js} +1 -1
- package/dist/web/assets/{nix-shcSOmrb.js → nix-BJFrXuto.js} +1 -1
- package/dist/web/assets/nord-BAu0wM6c.js +1 -0
- package/dist/web/assets/{nushell-D4Tzg5kh.js → nushell-DEgT14oF.js} +1 -1
- package/dist/web/assets/{objective-c-Deuh7S70.js → objective-c-CYCTDIQP.js} +1 -1
- package/dist/web/assets/{objective-cpp-BUEGK8hf.js → objective-cpp-CAecc67Z.js} +1 -1
- package/dist/web/assets/{ocaml-BNioltXt.js → ocaml-Bsxv_Kxh.js} +1 -1
- package/dist/web/assets/one-dark-pro-BsKIA8GN.js +1 -0
- package/dist/web/assets/one-light-s-s--efq.js +1 -0
- package/dist/web/assets/{pascal-JqZropPD.js → pascal-BDJShKAI.js} +1 -1
- package/dist/web/assets/{pegDiagram-VL7TDLO6-Buje72cq.js → pegDiagram-VL7TDLO6-BfdGiZwB.js} +1 -1
- package/dist/web/assets/{perl-CHQXSrWU.js → perl-C2vWUXWi.js} +1 -1
- package/dist/web/assets/{php-B5ebYQev.js → php-DK-qQ6uC.js} +1 -1
- package/dist/web/assets/pieDiagram-7S7Q4E2Y-BuJwU-QQ.js +39 -0
- package/dist/web/assets/plastic-CXnNNlFZ.js +1 -0
- package/dist/web/assets/{plsql-LKU2TuZ1.js → plsql-B9Xnh5qb.js} +1 -1
- package/dist/web/assets/{po-BFLt1xDp.js → po-DMjhmVbd.js} +1 -1
- package/dist/web/assets/poimandres-BrOVMvuE.js +1 -0
- package/dist/web/assets/{polar-DKykz6zU.js → polar-yYtLLj-r.js} +1 -1
- package/dist/web/assets/{postcss-B3ZDOciz.js → postcss-CJ1yqXqD.js} +1 -1
- package/dist/web/assets/{powerquery-CSHBycmS.js → powerquery-DC5VyW2x.js} +1 -1
- package/dist/web/assets/{powershell-BIEUsx6d.js → powershell-EzVS97da.js} +1 -1
- package/dist/web/assets/{prisma-B48N-Iqd.js → prisma-CHOHSoLN.js} +1 -1
- package/dist/web/assets/{prolog-BY-TUvya.js → prolog-DwYUCN91.js} +1 -1
- package/dist/web/assets/{proto-zocC4JxJ.js → proto-62gbbcWM.js} +1 -1
- package/dist/web/assets/{pug-CM9l7STV.js → pug-CkZF2A-M.js} +1 -1
- package/dist/web/assets/{puppet-Cza_XSSt.js → puppet-DBtA4RyP.js} +1 -1
- package/dist/web/assets/{purescript-Bg-kzb6g.js → purescript-CtNtlKn6.js} +1 -1
- package/dist/web/assets/{python-DhUJRlN_.js → python-Cmxmv3et.js} +1 -1
- package/dist/web/assets/{qml-D8XfuvdV.js → qml-Bp5NUdYD.js} +1 -1
- package/dist/web/assets/{qmldir-C8lEn-DE.js → qmldir-DXd9s5XC.js} +1 -1
- package/dist/web/assets/{qss-DhMKtDLN.js → qss-COHgjnFa.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-CIZ2JOQS-DfjvRhwZ.js → quadrantDiagram-CIZ2JOQS-DvYy4rS6.js} +1 -1
- package/dist/web/assets/{r-CwjWoCRV.js → r-fEWCeYop.js} +1 -1
- package/dist/web/assets/{racket-CzouJOBO.js → racket-DeqZVGhA.js} +1 -1
- package/dist/web/assets/{railroadDiagram-AXF67PYL-CLC53cPk.js → railroadDiagram-AXF67PYL-D0Slzbqv.js} +1 -1
- package/dist/web/assets/{raku-B1bQXN8T.js → raku-2Ooz0w2a.js} +1 -1
- package/dist/web/assets/{razor-CNLDkMZG.js → razor-BSfiIh5a.js} +1 -1
- package/dist/web/assets/red-DR6ZwibK.js +1 -0
- package/dist/web/assets/{reg-5LuOXUq_.js → reg-B-dYDP6y.js} +1 -1
- package/dist/web/assets/{regexp-DWJ3fJO_.js → regexp-CZXE-O4g.js} +1 -1
- package/dist/web/assets/{rel-DJlmqQ1C.js → rel-CFc0GWi_.js} +1 -1
- package/dist/web/assets/{requirementDiagram-LRYGKXZP-Bh0xhzbL.js → requirementDiagram-LRYGKXZP-O1O4JCzu.js} +3 -3
- package/dist/web/assets/{riscv-QhoSD0DR.js → riscv-BXk1R-Oi.js} +1 -1
- package/dist/web/assets/rose-pine-BdvZjiDe.js +1 -0
- package/dist/web/assets/rose-pine-dawn-C0sjdsEC.js +1 -0
- package/dist/web/assets/rose-pine-moon-DYFWp_hT.js +1 -0
- package/dist/web/assets/{rst-4NLicBqY.js → rst-BLGbJK1H.js} +1 -1
- package/dist/web/assets/{ruby-DeZ3UC14.js → ruby-D2E7iJ0s.js} +1 -1
- package/dist/web/assets/{rust-Be6lgOlo.js → rust-BsY_F5cx.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-W5VNT64P-KSOJwFOV.js → sankeyDiagram-W5VNT64P-WTewsL_K.js} +2 -2
- package/dist/web/assets/{sas-BmTFh92c.js → sas-DMLSfKIw.js} +1 -1
- package/dist/web/assets/{sass-BJ4Li9vH.js → sass-DmSX4WtY.js} +1 -1
- package/dist/web/assets/{scala-DQVVAn-B.js → scala-DYeJBAW8.js} +1 -1
- package/dist/web/assets/{scheme-BJGe-b2p.js → scheme-CCAsyj2s.js} +1 -1
- package/dist/web/assets/{scss-C31hgJw-.js → scss-0gJUc9a6.js} +1 -1
- package/dist/web/assets/{sdbl-BLhTXw86.js → sdbl-BxOweiR9.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-SI44F4Z6-Brj5mw1M.js → sequenceDiagram-SI44F4Z6-BUoBi4kR.js} +4 -4
- package/dist/web/assets/{shaderlab-B7qAK45m.js → shaderlab-CbagduOQ.js} +1 -1
- package/dist/web/assets/{shellscript-atvbtKCR.js → shellscript-D3bMYZAJ.js} +1 -1
- package/dist/web/assets/{shellsession-C_rIy8kc.js → shellsession-BPnHQqN9.js} +1 -1
- package/dist/web/assets/{sizeCapture-X5ZJPWSS-CH05wdHR.js → sizeCapture-X5ZJPWSS-BV9d3RVn.js} +1 -1
- package/dist/web/assets/slack-dark-CWRQmTmo.js +1 -0
- package/dist/web/assets/slack-ochin-DO_ok7XK.js +1 -0
- package/dist/web/assets/{smalltalk-DkLiglaE.js → smalltalk-BMwf8jcw.js} +1 -1
- package/dist/web/assets/snazzy-light-B5llO_gK.js +1 -0
- package/dist/web/assets/solarized-dark-G9yBjKj_.js +1 -0
- package/dist/web/assets/solarized-light-DeSzljQz.js +1 -0
- package/dist/web/assets/{solidity-C1w2a3ep.js → solidity-BxZpkxtV.js} +1 -1
- package/dist/web/assets/{soy-C-lX7w71.js → soy-BtgE62v-.js} +1 -1
- package/dist/web/assets/{sparql-bYkjHRlG.js → sparql-_iLxUxfJ.js} +1 -1
- package/dist/web/assets/{splunk-Cf8iN4DR.js → splunk-CDXNg1TZ.js} +1 -1
- package/dist/web/assets/{sql-COK4E0Yg.js → sql-DWijR-2F.js} +1 -1
- package/dist/web/assets/{ssh-config-BknIz3MU.js → ssh-config-D_LcGZIn.js} +1 -1
- package/dist/web/assets/{stata-DorPZHa4.js → stata-4mZtT6ij.js} +1 -1
- package/dist/web/assets/stateDiagram-OKZ733FA-BqdAeMq4.js +1 -0
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DQeB4eKD.js +1 -0
- package/dist/web/assets/{stylus-BeQkCIfX.js → stylus-DrmVbdhX.js} +1 -1
- package/dist/web/assets/{svelte-MSaWC3Je.js → svelte-ka6mjOzI.js} +1 -1
- package/dist/web/assets/{swift-BSxZ-RaX.js → swift-DkIjBhB-.js} +1 -1
- package/dist/web/assets/{swimlanes-SLNWSIFB-ELf6gJKu.js → swimlanes-SLNWSIFB-Dn0Z0yF4.js} +2 -2
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-Dl6pHbTK.js +8 -0
- package/dist/web/assets/synthwave-84-DRVv-_m_.js +1 -0
- package/dist/web/assets/{system-verilog-C7L56vO4.js → system-verilog-CZLUg-Ri.js} +1 -1
- package/dist/web/assets/{systemd-CUnW07Te.js → systemd-BuJkd4yg.js} +1 -1
- package/dist/web/assets/{talonscript-C1XDQQGZ.js → talonscript-BMPZxVzx.js} +1 -1
- package/dist/web/assets/{tasl-CQjiPCtT.js → tasl-DVVRcRkA.js} +1 -1
- package/dist/web/assets/{tcl-DQ1-QYvQ.js → tcl-CA1YyYjY.js} +1 -1
- package/dist/web/assets/{templ-dwX3ZSMB.js → templ-bd1y3IAS.js} +1 -1
- package/dist/web/assets/{terraform-BbSNqyBO.js → terraform-Dz7t1_iL.js} +1 -1
- package/dist/web/assets/{tex-rYs2v40G.js → tex-Bvf-FxBj.js} +1 -1
- package/dist/web/assets/{timeline-definition-Z64GVDOM-DeaTiF-8.js → timeline-definition-Z64GVDOM-RXIqWmas.js} +3 -3
- package/dist/web/assets/tokyo-night-BpPvklgd.js +1 -0
- package/dist/web/assets/{toml-CB2ApiWb.js → toml-CghlGpNM.js} +1 -1
- package/dist/web/assets/ts-tags-27UfV0Yx.js +1 -0
- package/dist/web/assets/{tsv-B_m7g4N7.js → tsv-BFtm7NXx.js} +1 -1
- package/dist/web/assets/{tsx-B6W0miNI.js → tsx-CvLnrXoc.js} +1 -1
- package/dist/web/assets/{turtle-BMR_PYu6.js → turtle-CLj0zYni.js} +1 -1
- package/dist/web/assets/{twig-NC5TFiHP.js → twig-BEYz8PCZ.js} +1 -1
- package/dist/web/assets/{typescript-Dj6nwHGl.js → typescript-ChR4GJfA.js} +1 -1
- package/dist/web/assets/{typespec-BpWG_bgh.js → typespec-BsO-HK2h.js} +1 -1
- package/dist/web/assets/{typst-BVUVsWT6.js → typst-C9z_G1G3.js} +1 -1
- package/dist/web/assets/{v-CAQ2eGtk.js → v-UOp3PMQa.js} +1 -1
- package/dist/web/assets/{vala-BFOHcciG.js → vala-9t0Jazjg.js} +1 -1
- package/dist/web/assets/{vb-CdO5JTpU.js → vb-BjPFQNKy.js} +1 -1
- package/dist/web/assets/{vennDiagram-T6HMQDX7-B_pKKDwZ.js → vennDiagram-T6HMQDX7-Djv2Kody.js} +4 -4
- package/dist/web/assets/{verilog-CJaU5se_.js → verilog-3_G7wE-H.js} +1 -1
- package/dist/web/assets/vesper-DXVBNDlZ.js +1 -0
- package/dist/web/assets/{vhdl-DYoNaHQp.js → vhdl-KKKa5jXK.js} +1 -1
- package/dist/web/assets/{viml-m4uW47V2.js → viml-B0JfLneA.js} +1 -1
- package/dist/web/assets/vitesse-black-B_BYPdvp.js +1 -0
- package/dist/web/assets/vitesse-dark-DOSOf2Sz.js +1 -0
- package/dist/web/assets/vitesse-light-gUX51GpB.js +1 -0
- package/dist/web/assets/vue-Bvh4pc9M.js +1 -0
- package/dist/web/assets/{vue-html-xdeiXROB.js → vue-html-WOs3W6Bt.js} +1 -1
- package/dist/web/assets/{vyper-nyqBNV6O.js → vyper-CDIMwK9O.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-T6FBY63Y-jLsFKv0C.js → wardleyDiagram-T6FBY63Y-k8z1iXMI.js} +1 -1
- package/dist/web/assets/{wasm-C6j12Q_x.js → wasm-DnnIR_xd.js} +1 -1
- package/dist/web/assets/{wenyan-7A4Fjokl.js → wenyan-BKvj6Muf.js} +1 -1
- package/dist/web/assets/{wgsl-CB0Krxn9.js → wgsl-DQkNTPT4.js} +1 -1
- package/dist/web/assets/{wikitext-DCE3LsBG.js → wikitext-Bx_2Gb24.js} +1 -1
- package/dist/web/assets/{wolfram-C3FkfJm5.js → wolfram-CfjDyZMz.js} +1 -1
- package/dist/web/assets/{xml-e3z08dGr.js → xml-D2mywr7C.js} +1 -1
- package/dist/web/assets/{xsl-Dd0NUgwM.js → xsl-BazRubtb.js} +1 -1
- package/dist/web/assets/{xychartDiagram-ELKLHX3M-BA6zkq4L.js → xychartDiagram-ELKLHX3M-DBRaiGnz.js} +1 -1
- package/dist/web/assets/{yaml-CVw76BM1.js → yaml-CcrPW8Jr.js} +1 -1
- package/dist/web/assets/{zenscript-HnGAYVZD.js → zenscript-C_cgpljH.js} +1 -1
- package/dist/web/assets/{zig-BVz_zdnA.js → zig-2aGeTlGI.js} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/andromeeda-C3khCPGq.js +0 -1
- package/dist/web/assets/angular-ts-CKsD7JZE.js +0 -1
- package/dist/web/assets/arc-PxLvJSnb.js +0 -1
- package/dist/web/assets/architectureDiagram-T3A2C74G-C3W7640R.js +0 -36
- package/dist/web/assets/aurora-x-D-2ljcwZ.js +0 -1
- package/dist/web/assets/ayu-dark-Cv9koXgw.js +0 -1
- package/dist/web/assets/catppuccin-frappe-CD_QflpE.js +0 -1
- package/dist/web/assets/catppuccin-latte-DRW-0cLl.js +0 -1
- package/dist/web/assets/catppuccin-macchiato-C-_shW-Y.js +0 -1
- package/dist/web/assets/catppuccin-mocha-LGGdnPYs.js +0 -1
- package/dist/web/assets/channel-BIucJZnb.js +0 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-BGlLKBgl.js +0 -1
- package/dist/web/assets/classDiagram-v2-OCEON4UE-BGlLKBgl.js +0 -1
- package/dist/web/assets/dark-plus-C3mMm8J8.js +0 -1
- package/dist/web/assets/dracula-BzJJZx-M.js +0 -1
- package/dist/web/assets/dracula-soft-BXkSAIEj.js +0 -1
- package/dist/web/assets/everforest-dark-BgDCqdQA.js +0 -1
- package/dist/web/assets/everforest-light-C8M2exoo.js +0 -1
- package/dist/web/assets/github-dark-DHJKELXO.js +0 -1
- package/dist/web/assets/github-dark-default-Cuk6v7N8.js +0 -1
- package/dist/web/assets/github-dark-dimmed-DH5Ifo-i.js +0 -1
- package/dist/web/assets/github-dark-high-contrast-E3gJ1_iC.js +0 -1
- package/dist/web/assets/github-light-DAi9KRSo.js +0 -1
- package/dist/web/assets/github-light-default-D7oLnXFd.js +0 -1
- package/dist/web/assets/github-light-high-contrast-BfjtVDDH.js +0 -1
- package/dist/web/assets/houston-DnULxvSX.js +0 -1
- package/dist/web/assets/index-BHQqzlI6.js +0 -13
- package/dist/web/assets/index-BL8L2yQv.css +0 -1
- package/dist/web/assets/index-ouQFVkG-.js +0 -342
- package/dist/web/assets/jinja-DGy0s7-h.js +0 -1
- package/dist/web/assets/kanagawa-dragon-CkXjmgJE.js +0 -1
- package/dist/web/assets/kanagawa-lotus-CfQXZHmo.js +0 -1
- package/dist/web/assets/kanagawa-wave-DWedfzmr.js +0 -1
- package/dist/web/assets/laserwave-DUszq2jm.js +0 -1
- package/dist/web/assets/light-plus-B7mTdjB0.js +0 -1
- package/dist/web/assets/material-theme-D5KoaKCx.js +0 -1
- package/dist/web/assets/material-theme-darker-BfHTSMKl.js +0 -1
- package/dist/web/assets/material-theme-lighter-B0m2ddpp.js +0 -1
- package/dist/web/assets/material-theme-ocean-CyktbL80.js +0 -1
- package/dist/web/assets/material-theme-palenight-Csfq5Kiy.js +0 -1
- package/dist/web/assets/min-dark-CafNBF8u.js +0 -1
- package/dist/web/assets/min-light-CTRr51gU.js +0 -1
- package/dist/web/assets/monokai-D4h5O-jR.js +0 -1
- package/dist/web/assets/night-owl-C39BiMTA.js +0 -1
- package/dist/web/assets/nord-Ddv68eIx.js +0 -1
- package/dist/web/assets/one-dark-pro-GBQ2dnAY.js +0 -1
- package/dist/web/assets/one-light-PoHY5YXO.js +0 -1
- package/dist/web/assets/pieDiagram-7S7Q4E2Y-DNQc-yHW.js +0 -39
- package/dist/web/assets/plastic-3e1v2bzS.js +0 -1
- package/dist/web/assets/poimandres-CS3Unz2-.js +0 -1
- package/dist/web/assets/red-bN70gL4F.js +0 -1
- package/dist/web/assets/rose-pine-CmCqftbK.js +0 -1
- package/dist/web/assets/rose-pine-dawn-Ds-gbosJ.js +0 -1
- package/dist/web/assets/rose-pine-moon-CjDtw9vr.js +0 -1
- package/dist/web/assets/slack-dark-BthQWCQV.js +0 -1
- package/dist/web/assets/slack-ochin-DqwNpetd.js +0 -1
- package/dist/web/assets/snazzy-light-Bw305WKR.js +0 -1
- package/dist/web/assets/solarized-dark-DXbdFlpD.js +0 -1
- package/dist/web/assets/solarized-light-L9t79GZl.js +0 -1
- package/dist/web/assets/stateDiagram-OKZ733FA-B9AFHzH-.js +0 -1
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DXjkPo3z.js +0 -1
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-uM2fmMPE.js +0 -8
- package/dist/web/assets/synthwave-84-CbfX1IO0.js +0 -1
- package/dist/web/assets/tokyo-night-DBQeEorK.js +0 -1
- package/dist/web/assets/ts-tags-CipyTH0X.js +0 -1
- package/dist/web/assets/vesper-BEBZ7ncR.js +0 -1
- package/dist/web/assets/vitesse-black-Bkuqu6BP.js +0 -1
- package/dist/web/assets/vitesse-dark-D0r3Knsf.js +0 -1
- package/dist/web/assets/vitesse-light-CVO1_9PV.js +0 -1
- package/dist/web/assets/vue-BuYVFjOK.js +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var yn=Object.defineProperty;var _n=(n,e,t)=>e in n?yn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var d=(n,e,t)=>_n(n,typeof e!="symbol"?e+"":e,t);const xt=[{id:"abap",name:"ABAP",import:()=>import("./abap-jokb6lkK.js")},{id:"actionscript-3",name:"ActionScript",import:()=>import("./actionscript-3-BXYeDGJT.js")},{id:"ada",name:"Ada",import:()=>import("./ada-CBhgZKLz.js")},{id:"angular-html",name:"Angular HTML",import:()=>import("./angular-html-1hX26BPZ.js").then(function(n){return n.f})},{id:"angular-ts",name:"Angular TypeScript",import:()=>import("./angular-ts-NOFjJDBC.js")},{id:"apache",name:"Apache Conf",import:()=>import("./apache-DZWQkMCk.js")},{id:"apex",name:"Apex",import:()=>import("./apex-yOx7_f90.js")},{id:"apl",name:"APL",import:()=>import("./apl-COek7QEF.js")},{id:"applescript",name:"AppleScript",import:()=>import("./applescript-DK6hSn4y.js")},{id:"ara",name:"Ara",import:()=>import("./ara-NyGvP6OL.js")},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>import("./asciidoc-DDMctdp3.js")},{id:"asm",name:"Assembly",import:()=>import("./asm-C-s1ZrQ8.js")},{id:"astro",name:"Astro",import:()=>import("./astro-CNP7wUB9.js")},{id:"awk",name:"AWK",import:()=>import("./awk-DUctW4RQ.js")},{id:"ballerina",name:"Ballerina",import:()=>import("./ballerina-DCDyHuU_.js")},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>import("./bat-CYJ1VtZ8.js")},{id:"beancount",name:"Beancount",import:()=>import("./beancount-DXz1TR4C.js")},{id:"berry",name:"Berry",aliases:["be"],import:()=>import("./berry-DSxfSjpQ.js")},{id:"bibtex",name:"BibTeX",import:()=>import("./bibtex-D3osIjO9.js")},{id:"bicep",name:"Bicep",import:()=>import("./bicep-BJtoMy_l.js")},{id:"blade",name:"Blade",import:()=>import("./blade-BrTmz5zY.js")},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>import("./bsl-BOq_oGzx.js")},{id:"c",name:"C",import:()=>import("./c-C7geQHiD.js")},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>import("./cadence-B8exyrQ2.js")},{id:"cairo",name:"Cairo",import:()=>import("./cairo-CvnV_g6b.js")},{id:"clarity",name:"Clarity",import:()=>import("./clarity-BspLniIr.js")},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>import("./clojure-TcMZRJXX.js")},{id:"cmake",name:"CMake",import:()=>import("./cmake-Cq1xYuce.js")},{id:"cobol",name:"COBOL",import:()=>import("./cobol-DQNJTdu9.js")},{id:"codeowners",name:"CODEOWNERS",import:()=>import("./codeowners-CtwIM3TN.js")},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>import("./codeql-Dfnujan1.js")},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>import("./coffee-CvgfVqck.js")},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>import("./common-lisp-DdDwuCTO.js")},{id:"coq",name:"Coq",import:()=>import("./coq-xi22SHg_.js")},{id:"cpp",name:"C++",aliases:["c++"],import:()=>import("./cpp-CZnLxZIX.js")},{id:"crystal",name:"Crystal",import:()=>import("./crystal-DtOJ9C4F.js")},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>import("./csharp-D5GhjuXM.js")},{id:"css",name:"CSS",import:()=>import("./css-DsSsXWQB.js")},{id:"csv",name:"CSV",import:()=>import("./csv-CXMJgpSL.js")},{id:"cue",name:"CUE",import:()=>import("./cue-usmCabPr.js")},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>import("./cypher-CrL00TIU.js")},{id:"d",name:"D",import:()=>import("./d-CFhQIz9L.js")},{id:"dart",name:"Dart",import:()=>import("./dart-DMtosjLs.js")},{id:"dax",name:"DAX",import:()=>import("./dax-vckHzldx.js")},{id:"desktop",name:"Desktop",import:()=>import("./desktop-B6eBibaS.js")},{id:"diff",name:"Diff",import:()=>import("./diff-DSVZyKbn.js")},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>import("./docker-CVy4PnLq.js")},{id:"dotenv",name:"dotEnv",import:()=>import("./dotenv-Wk8gXVAW.js")},{id:"dream-maker",name:"Dream Maker",import:()=>import("./dream-maker-DSOBmQ4T.js")},{id:"edge",name:"Edge",import:()=>import("./edge-DV1oJ-z-.js")},{id:"elixir",name:"Elixir",import:()=>import("./elixir-BAy7E9hx.js")},{id:"elm",name:"Elm",import:()=>import("./elm-DI0HhLqI.js")},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>import("./emacs-lisp-CNyc7xnE.js")},{id:"erb",name:"ERB",import:()=>import("./erb-C2MyKaut.js")},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>import("./erlang-qdDNB3kS.js")},{id:"fennel",name:"Fennel",import:()=>import("./fennel-C169Wmtk.js")},{id:"fish",name:"Fish",import:()=>import("./fish-DdzwuySR.js")},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>import("./fluent-e88iTpwM.js")},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>import("./fortran-fixed-form-DOoUYCKo.js")},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>import("./fortran-free-form-entkArVT.js")},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>import("./fsharp-BnQYn4eh.js")},{id:"gdresource",name:"GDResource",import:()=>import("./gdresource-BBYl1svN.js")},{id:"gdscript",name:"GDScript",import:()=>import("./gdscript-CN9EyWwI.js")},{id:"gdshader",name:"GDShader",import:()=>import("./gdshader-Bs2FnG4i.js")},{id:"genie",name:"Genie",import:()=>import("./genie-LZ41QQzG.js")},{id:"gherkin",name:"Gherkin",import:()=>import("./gherkin-DdFu5Ka3.js")},{id:"git-commit",name:"Git Commit Message",import:()=>import("./git-commit-C_Fd7mZn.js")},{id:"git-rebase",name:"Git Rebase Message",import:()=>import("./git-rebase-AtJUntN1.js")},{id:"gleam",name:"Gleam",import:()=>import("./gleam-Cuj-GTDu.js")},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>import("./glimmer-js-CQwQIxfr.js")},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>import("./glimmer-ts-DzkKMqPs.js")},{id:"glsl",name:"GLSL",import:()=>import("./glsl-B5tAdZD8.js")},{id:"gnuplot",name:"Gnuplot",import:()=>import("./gnuplot-CZzrWc6Z.js")},{id:"go",name:"Go",import:()=>import("./go-CAz2AAgI.js")},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>import("./graphql-CsbcjAOe.js")},{id:"groovy",name:"Groovy",import:()=>import("./groovy-BHAqdEGB.js")},{id:"hack",name:"Hack",import:()=>import("./hack-D_TkyKTp.js")},{id:"haml",name:"Ruby Haml",import:()=>import("./haml-BsJe1mlH.js")},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>import("./handlebars-DzHj2frt.js")},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>import("./haskell-DBZShPJZ.js")},{id:"haxe",name:"Haxe",import:()=>import("./haxe-BnfKaULB.js")},{id:"hcl",name:"HashiCorp HCL",import:()=>import("./hcl-DG6oviwm.js")},{id:"hjson",name:"Hjson",import:()=>import("./hjson-9x786Szp.js")},{id:"hlsl",name:"HLSL",import:()=>import("./hlsl-BIjXBe-u.js")},{id:"html",name:"HTML",import:()=>import("./html-BfEhAfys.js")},{id:"html-derivative",name:"HTML (Derivative)",import:()=>import("./html-derivative-khQn7CEq.js")},{id:"http",name:"HTTP",import:()=>import("./http-CkaUdRI6.js")},{id:"hxml",name:"HXML",import:()=>import("./hxml-DEEAihpB.js")},{id:"hy",name:"Hy",import:()=>import("./hy-BhTqYOi9.js")},{id:"imba",name:"Imba",import:()=>import("./imba-BN90XemW.js")},{id:"ini",name:"INI",aliases:["properties"],import:()=>import("./ini-CNYq1Vbh.js")},{id:"java",name:"Java",import:()=>import("./java-BOuFdpVK.js")},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>import("./javascript-C1WZzX5w.js")},{id:"jinja",name:"Jinja",import:()=>import("./jinja-CPlEC2oM.js")},{id:"jison",name:"Jison",import:()=>import("./jison-_WNGvU9Z.js")},{id:"json",name:"JSON",import:()=>import("./json-CG0XIpmU.js")},{id:"json5",name:"JSON5",import:()=>import("./json5-wmRZLYNM.js")},{id:"jsonc",name:"JSON with Comments",import:()=>import("./jsonc-CJ5AVGwp.js")},{id:"jsonl",name:"JSON Lines",import:()=>import("./jsonl-BZ9Ocixn.js")},{id:"jsonnet",name:"Jsonnet",import:()=>import("./jsonnet-C1k_anf1.js")},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>import("./jssm-DPmvb5V-.js")},{id:"jsx",name:"JSX",import:()=>import("./jsx-CKOz0mFu.js")},{id:"julia",name:"Julia",aliases:["jl"],import:()=>import("./julia-C-s-RWKo.js")},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>import("./kotlin-DCv8F5Dl.js")},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>import("./kusto-BzMM2K9O.js")},{id:"latex",name:"LaTeX",import:()=>import("./latex-C6cEKF_r.js")},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>import("./lean-DlZiO-DR.js")},{id:"less",name:"Less",import:()=>import("./less-DPX9Q-iF.js")},{id:"liquid",name:"Liquid",import:()=>import("./liquid-BKbSSNuo.js")},{id:"log",name:"Log file",import:()=>import("./log-DlRS7YvK.js")},{id:"logo",name:"Logo",import:()=>import("./logo-VN04mNZ6.js")},{id:"lua",name:"Lua",import:()=>import("./lua-DanyZPH_.js")},{id:"luau",name:"Luau",import:()=>import("./luau-D93ufwnm.js")},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>import("./make-CL8frSFP.js")},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>import("./markdown-ByrpALUI.js")},{id:"marko",name:"Marko",import:()=>import("./marko-DRSg2OrD.js")},{id:"matlab",name:"MATLAB",import:()=>import("./matlab-BHcro1_y.js")},{id:"mdc",name:"MDC",import:()=>import("./mdc-CVTKaK9l.js")},{id:"mdx",name:"MDX",import:()=>import("./mdx-CCTQUHLn.js")},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>import("./mermaid-QUEeqX1B.js")},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>import("./mipsasm-q9X1oIjH.js")},{id:"mojo",name:"Mojo",import:()=>import("./mojo-XjOS2v-j.js")},{id:"move",name:"Move",import:()=>import("./move-BX9wJykM.js")},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>import("./narrat-BIAE-JNJ.js")},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>import("./nextflow-C3Zpn0NH.js")},{id:"nginx",name:"Nginx",import:()=>import("./nginx-K8be3xw8.js")},{id:"nim",name:"Nim",import:()=>import("./nim-BXrdZEnW.js")},{id:"nix",name:"Nix",import:()=>import("./nix-BJFrXuto.js")},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>import("./nushell-DEgT14oF.js")},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>import("./objective-c-CYCTDIQP.js")},{id:"objective-cpp",name:"Objective-C++",import:()=>import("./objective-cpp-CAecc67Z.js")},{id:"ocaml",name:"OCaml",import:()=>import("./ocaml-Bsxv_Kxh.js")},{id:"pascal",name:"Pascal",import:()=>import("./pascal-BDJShKAI.js")},{id:"perl",name:"Perl",import:()=>import("./perl-C2vWUXWi.js")},{id:"php",name:"PHP",import:()=>import("./php-DK-qQ6uC.js")},{id:"plsql",name:"PL/SQL",import:()=>import("./plsql-B9Xnh5qb.js")},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>import("./po-DMjhmVbd.js")},{id:"polar",name:"Polar",import:()=>import("./polar-yYtLLj-r.js")},{id:"postcss",name:"PostCSS",import:()=>import("./postcss-CJ1yqXqD.js")},{id:"powerquery",name:"PowerQuery",import:()=>import("./powerquery-DC5VyW2x.js")},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>import("./powershell-EzVS97da.js")},{id:"prisma",name:"Prisma",import:()=>import("./prisma-CHOHSoLN.js")},{id:"prolog",name:"Prolog",import:()=>import("./prolog-DwYUCN91.js")},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>import("./proto-62gbbcWM.js")},{id:"pug",name:"Pug",aliases:["jade"],import:()=>import("./pug-CkZF2A-M.js")},{id:"puppet",name:"Puppet",import:()=>import("./puppet-DBtA4RyP.js")},{id:"purescript",name:"PureScript",import:()=>import("./purescript-CtNtlKn6.js")},{id:"python",name:"Python",aliases:["py"],import:()=>import("./python-Cmxmv3et.js")},{id:"qml",name:"QML",import:()=>import("./qml-Bp5NUdYD.js")},{id:"qmldir",name:"QML Directory",import:()=>import("./qmldir-DXd9s5XC.js")},{id:"qss",name:"Qt Style Sheets",import:()=>import("./qss-COHgjnFa.js")},{id:"r",name:"R",import:()=>import("./r-fEWCeYop.js")},{id:"racket",name:"Racket",import:()=>import("./racket-DeqZVGhA.js")},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>import("./raku-2Ooz0w2a.js")},{id:"razor",name:"ASP.NET Razor",import:()=>import("./razor-BSfiIh5a.js")},{id:"reg",name:"Windows Registry Script",import:()=>import("./reg-B-dYDP6y.js")},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>import("./regexp-CZXE-O4g.js")},{id:"rel",name:"Rel",import:()=>import("./rel-CFc0GWi_.js")},{id:"riscv",name:"RISC-V",import:()=>import("./riscv-BXk1R-Oi.js")},{id:"rst",name:"reStructuredText",import:()=>import("./rst-BLGbJK1H.js")},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>import("./ruby-D2E7iJ0s.js")},{id:"rust",name:"Rust",aliases:["rs"],import:()=>import("./rust-BsY_F5cx.js")},{id:"sas",name:"SAS",import:()=>import("./sas-DMLSfKIw.js")},{id:"sass",name:"Sass",import:()=>import("./sass-DmSX4WtY.js")},{id:"scala",name:"Scala",import:()=>import("./scala-DYeJBAW8.js")},{id:"scheme",name:"Scheme",import:()=>import("./scheme-CCAsyj2s.js")},{id:"scss",name:"SCSS",import:()=>import("./scss-0gJUc9a6.js")},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>import("./sdbl-BxOweiR9.js")},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>import("./shaderlab-CbagduOQ.js")},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>import("./shellscript-D3bMYZAJ.js")},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>import("./shellsession-BPnHQqN9.js")},{id:"smalltalk",name:"Smalltalk",import:()=>import("./smalltalk-BMwf8jcw.js")},{id:"solidity",name:"Solidity",import:()=>import("./solidity-BxZpkxtV.js")},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>import("./soy-BtgE62v-.js")},{id:"sparql",name:"SPARQL",import:()=>import("./sparql-_iLxUxfJ.js")},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>import("./splunk-CDXNg1TZ.js")},{id:"sql",name:"SQL",import:()=>import("./sql-DWijR-2F.js")},{id:"ssh-config",name:"SSH Config",import:()=>import("./ssh-config-D_LcGZIn.js")},{id:"stata",name:"Stata",import:()=>import("./stata-4mZtT6ij.js")},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>import("./stylus-DrmVbdhX.js")},{id:"svelte",name:"Svelte",import:()=>import("./svelte-ka6mjOzI.js")},{id:"swift",name:"Swift",import:()=>import("./swift-DkIjBhB-.js")},{id:"system-verilog",name:"SystemVerilog",import:()=>import("./system-verilog-CZLUg-Ri.js")},{id:"systemd",name:"Systemd Units",import:()=>import("./systemd-BuJkd4yg.js")},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>import("./talonscript-BMPZxVzx.js")},{id:"tasl",name:"Tasl",import:()=>import("./tasl-DVVRcRkA.js")},{id:"tcl",name:"Tcl",import:()=>import("./tcl-CA1YyYjY.js")},{id:"templ",name:"Templ",import:()=>import("./templ-bd1y3IAS.js")},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>import("./terraform-Dz7t1_iL.js")},{id:"tex",name:"TeX",import:()=>import("./tex-Bvf-FxBj.js")},{id:"toml",name:"TOML",import:()=>import("./toml-CghlGpNM.js")},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>import("./ts-tags-27UfV0Yx.js")},{id:"tsv",name:"TSV",import:()=>import("./tsv-BFtm7NXx.js")},{id:"tsx",name:"TSX",import:()=>import("./tsx-CvLnrXoc.js")},{id:"turtle",name:"Turtle",import:()=>import("./turtle-CLj0zYni.js")},{id:"twig",name:"Twig",import:()=>import("./twig-BEYz8PCZ.js")},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>import("./typescript-ChR4GJfA.js")},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>import("./typespec-BsO-HK2h.js")},{id:"typst",name:"Typst",aliases:["typ"],import:()=>import("./typst-C9z_G1G3.js")},{id:"v",name:"V",import:()=>import("./v-UOp3PMQa.js")},{id:"vala",name:"Vala",import:()=>import("./vala-9t0Jazjg.js")},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>import("./vb-BjPFQNKy.js")},{id:"verilog",name:"Verilog",import:()=>import("./verilog-3_G7wE-H.js")},{id:"vhdl",name:"VHDL",import:()=>import("./vhdl-KKKa5jXK.js")},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>import("./viml-B0JfLneA.js")},{id:"vue",name:"Vue",import:()=>import("./vue-Bvh4pc9M.js")},{id:"vue-html",name:"Vue HTML",import:()=>import("./vue-html-WOs3W6Bt.js")},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>import("./vyper-CDIMwK9O.js")},{id:"wasm",name:"WebAssembly",import:()=>import("./wasm-DnnIR_xd.js")},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>import("./wenyan-BKvj6Muf.js")},{id:"wgsl",name:"WGSL",import:()=>import("./wgsl-DQkNTPT4.js")},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>import("./wikitext-Bx_2Gb24.js")},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>import("./wolfram-CfjDyZMz.js")},{id:"xml",name:"XML",import:()=>import("./xml-D2mywr7C.js")},{id:"xsl",name:"XSL",import:()=>import("./xsl-BazRubtb.js")},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>import("./yaml-CcrPW8Jr.js")},{id:"zenscript",name:"ZenScript",import:()=>import("./zenscript-C_cgpljH.js")},{id:"zig",name:"Zig",import:()=>import("./zig-2aGeTlGI.js")}],bn=Object.fromEntries(xt.map(n=>[n.id,n.import])),Sn=Object.fromEntries(xt.flatMap(n=>{var e;return((e=n.aliases)==null?void 0:e.map(t=>[t,n.import]))||[]})),Cn={...bn,...Sn},wn=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>import("./andromeeda-C6FuwQ60.js")},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>import("./aurora-x-C0VKFdlO.js")},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>import("./ayu-dark-_V__kATy.js")},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>import("./catppuccin-frappe-7hveN6gg.js")},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>import("./catppuccin-latte-CDftU3M4.js")},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>import("./catppuccin-macchiato-DVaPwPDs.js")},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>import("./catppuccin-mocha-CYOEdfgP.js")},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>import("./dark-plus-DLU5INA3.js")},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>import("./dracula-XcYHBZy6.js")},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>import("./dracula-soft-BPeX9gxW.js")},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>import("./everforest-dark-WOub3wle.js")},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>import("./everforest-light-DCUg8VH8.js")},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>import("./github-dark-BQV5ugrc.js")},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>import("./github-dark-default-DLWDM7FH.js")},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>import("./github-dark-dimmed-D1FmiR_p.js")},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>import("./github-dark-high-contrast-BilLoi0o.js")},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>import("./github-light-Rcb2q3L5.js")},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>import("./github-light-default-CQ75esMw.js")},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>import("./github-light-high-contrast-CRF1wyLy.js")},{id:"houston",displayName:"Houston",type:"dark",import:()=>import("./houston-RHIKkNfR.js")},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>import("./kanagawa-dragon-BOvIHJVT.js")},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>import("./kanagawa-lotus-Bwcd7Bvx.js")},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>import("./kanagawa-wave-0SAlpf0s.js")},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>import("./laserwave-si7wuSrt.js")},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>import("./light-plus-g_Fi9vkG.js")},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>import("./material-theme-CIJ3cGaW.js")},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>import("./material-theme-darker-BWg3m1GB.js")},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>import("./material-theme-lighter-DR8HWMN7.js")},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>import("./material-theme-ocean-CZf9pk28.js")},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>import("./material-theme-palenight-BF01YeZy.js")},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>import("./min-dark-DhfaepVE.js")},{id:"min-light",displayName:"Min Light",type:"light",import:()=>import("./min-light-6xx0uMgm.js")},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>import("./monokai-BodnsaDQ.js")},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>import("./night-owl-EdP2Hztp.js")},{id:"nord",displayName:"Nord",type:"dark",import:()=>import("./nord-BAu0wM6c.js")},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>import("./one-dark-pro-BsKIA8GN.js")},{id:"one-light",displayName:"One Light",type:"light",import:()=>import("./one-light-s-s--efq.js")},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>import("./plastic-CXnNNlFZ.js")},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>import("./poimandres-BrOVMvuE.js")},{id:"red",displayName:"Red",type:"dark",import:()=>import("./red-DR6ZwibK.js")},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>import("./rose-pine-BdvZjiDe.js")},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>import("./rose-pine-dawn-C0sjdsEC.js")},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>import("./rose-pine-moon-DYFWp_hT.js")},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>import("./slack-dark-CWRQmTmo.js")},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>import("./slack-ochin-DO_ok7XK.js")},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>import("./snazzy-light-B5llO_gK.js")},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>import("./solarized-dark-G9yBjKj_.js")},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>import("./solarized-light-DeSzljQz.js")},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>import("./synthwave-84-DRVv-_m_.js")},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>import("./tokyo-night-BpPvklgd.js")},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>import("./vesper-DXVBNDlZ.js")},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>import("./vitesse-black-B_BYPdvp.js")},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>import("./vitesse-dark-DOSOf2Sz.js")},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>import("./vitesse-light-gUX51GpB.js")}],kn=Object.fromEntries(wn.map(n=>[n.id,n.import]));let F=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Ye=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function vn(){return 2147483648}function Rn(){return typeof performance<"u"?performance.now():Date.now()}const Nn=(n,e)=>n+(e-n%e)%e;async function An(n){let e,t;const r={};function i(m){t=m,r.HEAPU8=new Uint8Array(m),r.HEAPU32=new Uint32Array(m)}function o(m,f,C){r.HEAPU8.copyWithin(m,f,f+C)}function s(m){try{return e.grow(m-t.byteLength+65535>>>16),i(e.buffer),1}catch{}}function l(m){const f=r.HEAPU8.length;m=m>>>0;const C=vn();if(m>C)return!1;for(let _=1;_<=4;_*=2){let y=f*(1+.2/_);y=Math.min(y,m+100663296);const b=Math.min(C,Nn(Math.max(m,y),65536));if(s(b))return!0}return!1}const a=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(m,f,C=1024){const _=f+C;let y=f;for(;m[y]&&!(y>=_);)++y;if(y-f>16&&m.buffer&&a)return a.decode(m.subarray(f,y));let b="";for(;f<y;){let S=m[f++];if(!(S&128)){b+=String.fromCharCode(S);continue}const k=m[f++]&63;if((S&224)===192){b+=String.fromCharCode((S&31)<<6|k);continue}const R=m[f++]&63;if((S&240)===224?S=(S&15)<<12|k<<6|R:S=(S&7)<<18|k<<12|R<<6|m[f++]&63,S<65536)b+=String.fromCharCode(S);else{const I=S-65536;b+=String.fromCharCode(55296|I>>10,56320|I&1023)}}return b}function u(m,f){return m?c(r.HEAPU8,m,f):""}const p={emscripten_get_now:Rn,emscripten_memcpy_big:o,emscripten_resize_heap:l,fd_write:()=>0};async function h(){const f=await n({env:p,wasi_snapshot_preview1:p});e=f.memory,i(e.buffer),Object.assign(r,f),r.UTF8ToString=u}return await h(),r}var Tn=Object.defineProperty,Pn=(n,e,t)=>e in n?Tn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,T=(n,e,t)=>(Pn(n,typeof e!="symbol"?e+"":e,t),t);let x=null;function xn(n){throw new Ye(n.UTF8ToString(n.getLastOnigError()))}class Te{constructor(e){T(this,"utf16Length"),T(this,"utf8Length"),T(this,"utf16Value"),T(this,"utf8Value"),T(this,"utf16OffsetToUtf8"),T(this,"utf8OffsetToUtf16");const t=e.length,r=Te._utf8ByteLength(e),i=r!==t,o=i?new Uint32Array(t+1):null;i&&(o[t]=r);const s=i?new Uint32Array(r+1):null;i&&(s[r]=t);const l=new Uint8Array(r);let a=0;for(let c=0;c<t;c++){const u=e.charCodeAt(c);let p=u,h=!1;if(u>=55296&&u<=56319&&c+1<t){const m=e.charCodeAt(c+1);m>=56320&&m<=57343&&(p=(u-55296<<10)+65536|m-56320,h=!0)}i&&(o[c]=a,h&&(o[c+1]=a),p<=127?s[a+0]=c:p<=2047?(s[a+0]=c,s[a+1]=c):p<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),p<=127?l[a++]=p:p<=2047?(l[a++]=192|(p&1984)>>>6,l[a++]=128|(p&63)>>>0):p<=65535?(l[a++]=224|(p&61440)>>>12,l[a++]=128|(p&4032)>>>6,l[a++]=128|(p&63)>>>0):(l[a++]=240|(p&1835008)>>>18,l[a++]=128|(p&258048)>>>12,l[a++]=128|(p&4032)>>>6,l[a++]=128|(p&63)>>>0),h&&c++}this.utf16Length=t,this.utf8Length=r,this.utf16Value=e,this.utf8Value=l,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=s}static _utf8ByteLength(e){let t=0;for(let r=0,i=e.length;r<i;r++){const o=e.charCodeAt(r);let s=o,l=!1;if(o>=55296&&o<=56319&&r+1<i){const a=e.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(o-55296<<10)+65536|a-56320,l=!0)}s<=127?t+=1:s<=2047?t+=2:s<=65535?t+=3:t+=4,l&&r++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const D=class{constructor(n){if(T(this,"id",++D.LAST_ID),T(this,"_onigBinding"),T(this,"content"),T(this,"utf16Length"),T(this,"utf8Length"),T(this,"utf16OffsetToUtf8"),T(this,"utf8OffsetToUtf16"),T(this,"ptr"),!x)throw new Ye("Must invoke loadWasm first.");this._onigBinding=x,this.content=n;const e=new Te(n);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!D._sharedPtrInUse?(D._sharedPtr||(D._sharedPtr=x.omalloc(1e4)),D._sharedPtrInUse=!0,x.HEAPU8.set(e.utf8Value,D._sharedPtr),this.ptr=D._sharedPtr):this.ptr=e.createString(x)}convertUtf8OffsetToUtf16(n){return this.utf8OffsetToUtf16?n<0?0:n>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[n]:n}convertUtf16OffsetToUtf8(n){return this.utf16OffsetToUtf8?n<0?0:n>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[n]:n}dispose(){this.ptr===D._sharedPtr?D._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let le=D;T(le,"LAST_ID",0);T(le,"_sharedPtr",0);T(le,"_sharedPtrInUse",!1);class Ln{constructor(e){if(T(this,"_onigBinding"),T(this,"_ptr"),!x)throw new Ye("Must invoke loadWasm first.");const t=[],r=[];for(let l=0,a=e.length;l<a;l++){const c=new Te(e[l]);t[l]=c.createString(x),r[l]=c.utf8Length}const i=x.omalloc(4*e.length);x.HEAPU32.set(t,i/4);const o=x.omalloc(4*e.length);x.HEAPU32.set(r,o/4);const s=x.createOnigScanner(i,o,e.length);for(let l=0,a=e.length;l<a;l++)x.ofree(t[l]);x.ofree(o),x.ofree(i),s===0&&xn(x),this._onigBinding=x,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,r){let i=0;if(typeof r=="number"&&(i=r),typeof e=="string"){e=new le(e);const o=this._findNextMatchSync(e,t,!1,i);return e.dispose(),o}return this._findNextMatchSync(e,t,!1,i)}_findNextMatchSync(e,t,r,i){const o=this._onigBinding,s=o.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),i);if(s===0)return null;const l=o.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],p=[];for(let h=0;h<u;h++){const m=e.convertUtf8OffsetToUtf16(l[a++]),f=e.convertUtf8OffsetToUtf16(l[a++]);p[h]={start:m,end:f,length:f-m}}return{index:c,captureIndices:p}}}function En(n){return typeof n.instantiator=="function"}function In(n){return typeof n.default=="function"}function On(n){return typeof n.data<"u"}function Mn(n){return typeof Response<"u"&&n instanceof Response}function Bn(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let me;function Gn(n){if(me)return me;async function e(){x=await An(async t=>{let r=n;return r=await r,typeof r=="function"&&(r=await r(t)),typeof r=="function"&&(r=await r(t)),En(r)?r=await r.instantiator(t):In(r)?r=await r.default(t):(On(r)&&(r=r.data),Mn(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Dn(r)(t):r=await jn(r)(t):Bn(r)?r=await Ie(r)(t):r instanceof WebAssembly.Module?r=await Ie(r)(t):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ie(r.default)(t))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return me=e(),me}function Ie(n){return e=>WebAssembly.instantiate(n,e)}function Dn(n){return e=>WebAssembly.instantiateStreaming(n,e)}function jn(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Un;function $n(){return Un}async function Lt(n){return n&&await Gn(n),{createScanner(e){return new Ln(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new le(e)}}}function Wn(n){return Qe(n)}function Qe(n){return Array.isArray(n)?Hn(n):n instanceof RegExp?n:typeof n=="object"?Fn(n):n}function Hn(n){let e=[];for(let t=0,r=n.length;t<r;t++)e[t]=Qe(n[t]);return e}function Fn(n){let e={};for(let t in n)e[t]=Qe(n[t]);return e}function Et(n,...e){return e.forEach(t=>{for(let r in t)n[r]=t[r]}),n}function It(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?It(n.substring(0,n.length-1)):n.substr(~e+1)}var Oe=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,he=class{static hasCaptures(n){return n===null?!1:(Oe.lastIndex=0,Oe.test(n))}static replaceCaptures(n,e,t){return n.replace(Oe,(r,i,o,s)=>{let l=t[parseInt(i||o,10)];if(l){let a=e.substring(l.start,l.end);for(;a[0]===".";)a=a.substring(1);switch(s){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return r})}};function Ot(n,e){return n<e?-1:n>e?1:0}function Mt(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,r=e.length;if(t===r){for(let i=0;i<t;i++){let o=Ot(n[i],e[i]);if(o!==0)return o}return 0}return t-r}function lt(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Bt(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Gt=class{constructor(n){d(this,"cache",new Map);this.fn=n}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},_e=class{constructor(n,e,t){d(this,"_cachedMatchRoot",new Gt(n=>this._root.match(n)));this._colorMap=n,this._defaults=e,this._root=t}static createFromRawTheme(n,e){return this.createFromParsedTheme(Vn(n),e)}static createFromParsedTheme(n,e){return Jn(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,r=this._cachedMatchRoot.get(e).find(i=>zn(n.parent,i.parentScopes));return r?new Dt(r.fontStyle,r.foreground,r.background):null}},Me=class ge{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const r of t)e=new ge(e,r);return e}static from(...e){let t=null;for(let r=0;r<e.length;r++)t=new ge(t,e[r]);return t}push(e){return new ge(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let r=this;for(;r&&r!==e;)t.push(r.scopeName),r=r.parent;return r===e?t.reverse():void 0}};function zn(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let r=e[t],i=!1;if(r===">"){if(t===e.length-1)return!1;r=e[++t],i=!0}for(;n&&!qn(n.scopeName,r);){if(i)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function qn(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var Dt=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function Vn(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],r=0;for(let i=0,o=e.length;i<o;i++){let s=e[i];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let p=s.scope;p=p.replace(/^[,]+/,""),p=p.replace(/[,]+$/,""),l=p.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let p=s.settings.fontStyle.split(" ");for(let h=0,m=p.length;h<m;h++)switch(p[h]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&<(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&<(s.settings.background)&&(u=s.settings.background);for(let p=0,h=l.length;p<h;p++){let f=l[p].trim().split(" "),C=f[f.length-1],_=null;f.length>1&&(_=f.slice(0,f.length-1),_.reverse()),t[r++]=new Kn(C,_,i,a,c,u)}}return t}var Kn=class{constructor(n,e,t,r,i,o){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=r,this.foreground=i,this.background=o}},H=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(H||{});function Jn(n,e){n.sort((a,c)=>{let u=Ot(a.scope,c.scope);return u!==0||(u=Mt(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let t=0,r="#000000",i="#ffffff";for(;n.length>=1&&n[0].scope==="";){let a=n.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(i=a.background)}let o=new Xn(e),s=new Dt(t,o.getId(r),o.getId(i)),l=new Qn(new $e(0,null,-1,0,0),[]);for(let a=0,c=n.length;a<c;a++){let u=n[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new _e(o,s,l)}var Xn=class{constructor(n){d(this,"_isFrozen");d(this,"_lastColorId");d(this,"_id2color");d(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},Yn=Object.freeze([]),$e=class jt{constructor(e,t,r,i,o){d(this,"scopeDepth");d(this,"parentScopes");d(this,"fontStyle");d(this,"foreground");d(this,"background");this.scopeDepth=e,this.parentScopes=t||Yn,this.fontStyle=r,this.foreground=i,this.background=o}clone(){return new jt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let r=0,i=e.length;r<i;r++)t[r]=e[r].clone();return t}acceptOverwrite(e,t,r,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},Qn=class We{constructor(e,t=[],r={}){d(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,t.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=t.parentScopes.length);){const o=t.parentScopes[i].length-e.parentScopes[r].length;if(o!==0)return o;r++,i++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,o;if(r===-1?(i=e,o=""):(i=e.substring(0,r),o=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(o)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(We._cmpBySpecificity),t}insert(e,t,r,i,o,s){if(t===""){this._doInsertHere(e,r,i,o,s);return}let l=t.indexOf("."),a,c;l===-1?(a=t,c=""):(a=t.substring(0,l),c=t.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new We(this._mainRule.clone(),$e.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(e+1,c,r,i,o,s)}_doInsertHere(e,t,r,i,o){if(t===null){this._mainRule.acceptOverwrite(e,r,i,o);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(Mt(a.parentScopes,t)===0){a.acceptOverwrite(e,r,i,o);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new $e(e,t,r,i,o))}},Y=class B{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=B.getLanguageId(e),r=B.getTokenType(e),i=B.getFontStyle(e),o=B.getForeground(e),s=B.getBackground(e);console.log({languageId:t,tokenType:r,fontStyle:i,foreground:o,background:s})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,r,i,o,s,l){let a=B.getLanguageId(e),c=B.getTokenType(e),u=B.containsBalancedBrackets(e)?1:0,p=B.getFontStyle(e),h=B.getForeground(e),m=B.getBackground(e);return t!==0&&(a=t),r!==8&&(c=r),i!==null&&(u=i?1:0),o!==-1&&(p=o),s!==0&&(h=s),l!==0&&(m=l),(a<<0|c<<8|u<<10|p<<11|h<<15|m<<24)>>>0}};function be(n,e){const t=[],r=Zn(n);let i=r.next();for(;i!==null;){let a=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=s();if(t.push({matcher:c,priority:a}),i!==",")break;i=r.next()}return t;function o(){if(i==="-"){i=r.next();const a=o();return c=>!!a&&!a(c)}if(i==="("){i=r.next();const a=l();return i===")"&&(i=r.next()),a}if(ct(i)){const a=[];do a.push(i),i=r.next();while(ct(i));return c=>e(a,c)}return null}function s(){const a=[];let c=o();for(;c;)a.push(c),c=o();return u=>a.every(p=>p(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=s()}return u=>a.some(p=>p(u))}}function ct(n){return!!n&&!!n.match(/[\w\.:]+/)}function Zn(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const r=t[0];return t=e.exec(n),r}}}function Ut(n){typeof n.dispose=="function"&&n.dispose()}var ie=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},er=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},tr=class{constructor(){d(this,"_references",[]);d(this,"_seenReferenceKeys",new Set);d(this,"visitedRule",new Set)}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},nr=class{constructor(n,e){d(this,"seenFullScopeRequests",new Set);d(this,"seenPartialScopeRequests",new Set);d(this,"Q");this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ie(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new tr;for(const t of n)rr(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof ie){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function rr(n,e,t,r){const i=t.lookup(n.scopeName);if(!i){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=t.lookup(e);n instanceof ie?ye({baseGrammar:o,selfGrammar:i},r):He(n.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},r);const s=t.injections(n.scopeName);if(s)for(const l of s)r.add(new ie(l))}function He(n,e,t){if(e.repository&&e.repository[n]){const r=e.repository[n];Se([r],e,t)}}function ye(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Se(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Se(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Se(n,e,t){for(const r of n){if(t.visitedRule.has(r))continue;t.visitedRule.add(r);const i=r.repository?Et({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&Se(r.patterns,{...e,repository:i},t);const o=r.include;if(!o)continue;const s=$t(o);switch(s.kind){case 0:ye({...e,selfGrammar:e.baseGrammar},t);break;case 1:ye(e,t);break;case 2:He(s.ruleName,{...e,repository:i},t);break;case 3:case 4:const l=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:i};s.kind===4?He(s.ruleName,a,t):ye(a,t)}else s.kind===4?t.add(new er(s.scopeName,s.ruleName)):t.add(new ie(s.scopeName));break}}}var ir=class{constructor(){d(this,"kind",0)}},or=class{constructor(){d(this,"kind",1)}},sr=class{constructor(n){d(this,"kind",2);this.ruleName=n}},ar=class{constructor(n){d(this,"kind",3);this.scopeName=n}},lr=class{constructor(n,e){d(this,"kind",4);this.scopeName=n,this.ruleName=e}};function $t(n){if(n==="$base")return new ir;if(n==="$self")return new or;const e=n.indexOf("#");if(e===-1)return new ar(n);if(e===0)return new sr(n.substring(1));{const t=n.substring(0,e),r=n.substring(e+1);return new lr(t,r)}}var cr=/\\(\d+)/,ut=/\\(\d+)/g,ur=-1,Wt=-2;var ce=class{constructor(n,e,t,r){d(this,"$location");d(this,"id");d(this,"_nameIsCapturing");d(this,"_name");d(this,"_contentNameIsCapturing");d(this,"_contentName");this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=he.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=he.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${It(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:he.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:he.replaceCaptures(this._contentName,n,e)}},pr=class extends ce{constructor(e,t,r,i,o){super(e,t,r,i);d(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,r,i){throw new Error("Not supported!")}},mr=class extends ce{constructor(e,t,r,i,o){super(e,t,r,null);d(this,"_match");d(this,"captures");d(this,"_cachedCompiledPatterns");this._match=new oe(i,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new se,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},pt=class extends ce{constructor(e,t,r,i,o){super(e,t,r,i);d(this,"hasMissingPatterns");d(this,"patterns");d(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new se,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Fe=class extends ce{constructor(e,t,r,i,o,s,l,a,c,u){super(e,t,r,i);d(this,"_begin");d(this,"beginCaptures");d(this,"_end");d(this,"endHasBackReferences");d(this,"endCaptures");d(this,"applyEndPatternLast");d(this,"hasMissingPatterns");d(this,"patterns");d(this,"_cachedCompiledPatterns");this._begin=new oe(o,this.id),this.beginCaptures=s,this._end=new oe(l||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new se;for(const r of this.patterns)e.getRule(r).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Ce=class extends ce{constructor(e,t,r,i,o,s,l,a,c){super(e,t,r,i);d(this,"_begin");d(this,"beginCaptures");d(this,"whileCaptures");d(this,"_while");d(this,"whileHasBackReferences");d(this,"hasMissingPatterns");d(this,"patterns");d(this,"_cachedCompiledPatterns");d(this,"_cachedCompiledWhilePatterns");this._begin=new oe(o,this.id),this.beginCaptures=s,this.whileCaptures=a,this._while=new oe(l,Wt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new se;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,r,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new se,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Ht=class L{static createCaptureRule(e,t,r,i,o){return e.registerRule(s=>new pr(t,s,r,i,o))}static getCompiledRuleId(e,t,r){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new mr(e.$vscodeTextmateLocation,e.id,e.name,e.match,L._compileCaptures(e.captures,t,r));if(typeof e.begin>"u"){e.repository&&(r=Et({},r,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new pt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,L._compilePatterns(o,t,r))}return e.while?new Ce(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,L._compileCaptures(e.beginCaptures||e.captures,t,r),e.while,L._compileCaptures(e.whileCaptures||e.captures,t,r),L._compilePatterns(e.patterns,t,r)):new Fe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,L._compileCaptures(e.beginCaptures||e.captures,t,r),e.end,L._compileCaptures(e.endCaptures||e.captures,t,r),e.applyEndPatternLast,L._compilePatterns(e.patterns,t,r))}),e.id}static _compileCaptures(e,t,r){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>o&&(o=l)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;e[s].patterns&&(a=L.getCompiledRuleId(e[s],t,r)),i[l]=L.createCaptureRule(t,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,a)}}return i}static _compilePatterns(e,t,r){let i=[];if(e)for(let o=0,s=e.length;o<s;o++){const l=e[o];let a=-1;if(l.include){const c=$t(l.include);switch(c.kind){case 0:case 1:a=L.getCompiledRuleId(r[l.include],t,r);break;case 2:let u=r[c.ruleName];u&&(a=L.getCompiledRuleId(u,t,r));break;case 3:case 4:const p=c.scopeName,h=c.kind===4?c.ruleName:null,m=t.getExternalGrammar(p,r);if(m)if(h){let f=m.repository[h];f&&(a=L.getCompiledRuleId(f,t,m.repository))}else a=L.getCompiledRuleId(m.repository.$self,t,m.repository);break}}else a=L.getCompiledRuleId(l,t,r);if(a!==-1){const c=t.getRule(a);let u=!1;if((c instanceof pt||c instanceof Fe||c instanceof Ce)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;i.push(a)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},oe=class Ft{constructor(e,t){d(this,"source");d(this,"ruleId");d(this,"hasAnchor");d(this,"hasBackReferences");d(this,"_anchorCache");if(e&&typeof e=="string"){const r=e.length;let i=0,o=[],s=!1;for(let l=0;l<r;l++)if(e.charAt(l)==="\\"&&l+1<r){const c=e.charAt(l+1);c==="z"?(o.push(e.substring(i,l)),o.push("$(?!\\n)(?<!\\n)"),i=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,i===0?this.source=e:(o.push(e.substring(i,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source=="string"?this.hasBackReferences=cr.test(this.source):this.hasBackReferences=!1}clone(){return new Ft(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=t.map(i=>e.substring(i.start,i.end));return ut.lastIndex=0,this.source.replace(ut,(i,o)=>Bt(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],t=[],r=[],i=[],o,s,l,a;for(o=0,s=this.source.length;o<s;o++)l=this.source.charAt(o),e[o]=l,t[o]=l,r[o]=l,i[o]=l,l==="\\"&&o+1<s&&(a=this.source.charAt(o+1),a==="A"?(e[o+1]="",t[o+1]="",r[o+1]="A",i[o+1]="A"):a==="G"?(e[o+1]="",t[o+1]="G",r[o+1]="",i[o+1]="G"):(e[o+1]=a,t[o+1]=a,r[o+1]=a,i[o+1]=a),o++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},se=class{constructor(){d(this,"_items");d(this,"_hasAnchors");d(this,"_cached");d(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new mt(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let r=this._items.map(i=>i.resolveAnchors(e,t));return new mt(n,r,this._items.map(i=>i.ruleId))}},mt=class{constructor(n,e,t){d(this,"scanner");this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
2
|
+
`)}findNextMatchSync(n,e,t){const r=this.scanner.findNextMatchSync(n,e,t);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Be=class{constructor(n,e){this.languageId=n,this.tokenType=e}},W,hr=(W=class{constructor(e,t){d(this,"_defaultAttributes");d(this,"_embeddedLanguagesMatcher");d(this,"_getBasicScopeAttributes",new Gt(e=>{const t=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new Be(t,r)}));this._defaultAttributes=new Be(e,8),this._embeddedLanguagesMatcher=new dr(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?W._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(W.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},d(W,"_NULL_SCOPE_METADATA",new Be(0,0)),d(W,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),W),dr=class{constructor(n){d(this,"values");d(this,"scopesRegExp");if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,r])=>Bt(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},ht=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function zt(n,e,t,r,i,o,s,l){const a=e.content.length;let c=!1,u=-1;if(s){const m=fr(n,e,t,r,i,o);i=m.stack,r=m.linePos,t=m.isFirstLine,u=m.anchorPosition}const p=Date.now();for(;!c;){if(l!==0&&Date.now()-p>l)return new ht(i,!0);h()}return new ht(i,!1);function h(){const m=gr(n,e,t,r,i,u);if(!m){o.produce(i,a),c=!0;return}const f=m.captureIndices,C=m.matchedRuleId,_=f&&f.length>0?f[0].end>r:!1;if(C===ur){const y=i.getRule(n);o.produce(i,f[0].start),i=i.withContentNameScopesList(i.nameScopesList),ne(n,e,t,i,o,y.endCaptures,f),o.produce(i,f[0].end);const b=i;if(i=i.parent,u=b.getAnchorPos(),!_&&b.getEnterPos()===r){i=b,o.produce(i,a),c=!0;return}}else{const y=n.getRule(C);o.produce(i,f[0].start);const b=i,S=y.getName(e.content,f),k=i.contentNameScopesList.pushAttributed(S,n);if(i=i.push(C,r,u,f[0].end===a,null,k,k),y instanceof Fe){const R=y;ne(n,e,t,i,o,R.beginCaptures,f),o.produce(i,f[0].end),u=f[0].end;const I=R.getContentName(e.content,f),A=k.pushAttributed(I,n);if(i=i.withContentNameScopesList(A),R.endHasBackReferences&&(i=i.withEndRule(R.getEndWithResolvedBackReferences(e.content,f))),!_&&b.hasSameRuleAs(i)){i=i.pop(),o.produce(i,a),c=!0;return}}else if(y instanceof Ce){const R=y;ne(n,e,t,i,o,R.beginCaptures,f),o.produce(i,f[0].end),u=f[0].end;const I=R.getContentName(e.content,f),A=k.pushAttributed(I,n);if(i=i.withContentNameScopesList(A),R.whileHasBackReferences&&(i=i.withEndRule(R.getWhileWithResolvedBackReferences(e.content,f))),!_&&b.hasSameRuleAs(i)){i=i.pop(),o.produce(i,a),c=!0;return}}else if(ne(n,e,t,i,o,y.captures,f),o.produce(i,f[0].end),i=i.pop(),!_){i=i.safePop(),o.produce(i,a),c=!0;return}}f[0].end>r&&(r=f[0].end,t=!1)}}function fr(n,e,t,r,i,o){let s=i.beginRuleCapturedEOL?0:-1;const l=[];for(let a=i;a;a=a.pop()){const c=a.getRule(n);c instanceof Ce&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=br(a.rule,n,a.stack.endRule,t,r===s),p=c.findNextMatchSync(e,r,u);if(p){if(p.ruleId!==Wt){i=a.stack.pop();break}p.captureIndices&&p.captureIndices.length&&(o.produce(a.stack,p.captureIndices[0].start),ne(n,e,t,a.stack,o,a.rule.whileCaptures,p.captureIndices),o.produce(a.stack,p.captureIndices[0].end),s=p.captureIndices[0].end,p.captureIndices[0].end>r&&(r=p.captureIndices[0].end,t=!1))}else{i=a.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:s,isFirstLine:t}}function gr(n,e,t,r,i,o){const s=yr(n,e,t,r,i,o),l=n.getInjections();if(l.length===0)return s;const a=_r(l,n,e,t,r,i,o);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:s}function yr(n,e,t,r,i,o){const s=i.getRule(n),{ruleScanner:l,findOptions:a}=qt(s,n,i.endRule,t,r===o),c=l.findNextMatchSync(e,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function _r(n,e,t,r,i,o,s){let l=Number.MAX_VALUE,a=null,c,u=0;const p=o.contentNameScopesList.getScopeNames();for(let h=0,m=n.length;h<m;h++){const f=n[h];if(!f.matcher(p))continue;const C=e.getRule(f.ruleId),{ruleScanner:_,findOptions:y}=qt(C,e,null,r,i===s),b=_.findNextMatchSync(t,i,y);if(!b)continue;const S=b.captureIndices[0].start;if(!(S>=l)&&(l=S,a=b.captureIndices,c=b.ruleId,u=f.priority,l===i))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function qt(n,e,t,r,i){return{ruleScanner:n.compileAG(e,t,r,i),findOptions:0}}function br(n,e,t,r,i){return{ruleScanner:n.compileWhileAG(e,t,r,i),findOptions:0}}function ne(n,e,t,r,i,o,s){if(o.length===0)return;const l=e.content,a=Math.min(o.length,s.length),c=[],u=s[0].end;for(let p=0;p<a;p++){const h=o[p];if(h===null)continue;const m=s[p];if(m.length===0)continue;if(m.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=m.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,m.start):i.produce(r,m.start),h.retokenizeCapturedWithRuleId){const C=h.getName(l,s),_=r.contentNameScopesList.pushAttributed(C,n),y=h.getContentName(l,s),b=_.pushAttributed(y,n),S=r.push(h.retokenizeCapturedWithRuleId,m.start,-1,!1,null,_,b),k=n.createOnigString(l.substring(0,m.end));zt(n,k,t&&m.start===0,m.start,S,i,!1,0),Ut(k);continue}const f=h.getName(l,s);if(f!==null){const _=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(f,n);c.push(new Sr(_,m.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Sr=class{constructor(n,e){d(this,"scopes");d(this,"endPos");this.scopes=n,this.endPos=e}};function Cr(n,e,t,r,i,o,s,l){return new kr(n,e,t,r,i,o,s,l)}function dt(n,e,t,r,i){const o=be(e,we),s=Ht.getCompiledRuleId(t,r,i.repository);for(const l of o)n.push({debugSelector:e,matcher:l.matcher,ruleId:s,grammar:i,priority:l.priority})}function we(n,e){if(e.length<n.length)return!1;let t=0;return n.every(r=>{for(let i=t;i<e.length;i++)if(wr(e[i],r))return t=i+1,!0;return!1})}function wr(n,e){if(!n)return!1;if(n===e)return!0;const t=e.length;return n.length>t&&n.substr(0,t)===e&&n[t]==="."}var kr=class{constructor(n,e,t,r,i,o,s,l){d(this,"_rootId");d(this,"_lastRuleId");d(this,"_ruleId2desc");d(this,"_includedGrammars");d(this,"_grammarRepository");d(this,"_grammar");d(this,"_injections");d(this,"_basicScopeAttributesProvider");d(this,"_tokenTypeMatchers");if(this._rootScopeName=n,this.balancedBracketSelectors=o,this._onigLib=l,this._basicScopeAttributesProvider=new hr(t,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=ft(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const a of Object.keys(i)){const c=be(a,we);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:i[a]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],t=this._rootScopeName,r=n.lookup(t);if(r){const i=r.injections;if(i)for(let s in i)dt(e,s,i[s],this,r);const o=this._grammarRepository.injections(t);o&&o.forEach(s=>{const l=this.getExternalGrammar(s);if(l){const a=l.injectionSelector;a&&dt(e,a,l,this,l)}})}return e.sort((i,o)=>i.priority-o.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=ft(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const r=this._tokenize(n,e,!1,t);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(n,e,t=0){const r=this._tokenize(n,e,!0,t);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(n,e,t,r){this._rootId===-1&&(this._rootId=Ht.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===ze.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),p=Y.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),h=this.getRule(this._rootId).getName(null,null);let m;h?m=re.createRootAndLookUpScopeName(h,p,this):m=re.createRoot("unknown",p),e=new ze(null,this._rootId,-1,-1,!1,null,m,m)}else i=!1,e.reset();n=n+`
|
|
3
|
+
`;const o=this.createOnigString(n),s=o.content.length,l=new Rr(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),a=zt(this,o,i,0,e,l,!0,r);return Ut(o),{lineLength:s,lineTokens:l,ruleStack:a.stack,stoppedEarly:a.stoppedEarly}}};function ft(n,e){return n=Wn(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var re=class j{constructor(e,t,r){this.parent=e,this.scopePath=t,this.tokenAttributes=r}static fromExtension(e,t){let r=e,i=(e==null?void 0:e.scopePath)??null;for(const o of t)i=Me.push(i,o.scopeNames),r=new j(r,i,o.encodedTokenAttributes);return r}static createRoot(e,t){return new j(null,new Me(null,e),t)}static createRootAndLookUpScopeName(e,t,r){const i=r.getMetadataForScope(e),o=new Me(null,e),s=r.themeProvider.themeMatch(o),l=j.mergeAttributes(t,i,s);return new j(null,o,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return j.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,r){let i=-1,o=0,s=0;return r!==null&&(i=r.fontStyle,o=r.foregroundId,s=r.backgroundId),Y.set(e,t.languageId,t.tokenType,null,i,o,s)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return j._pushAttributed(this,e,t);const r=e.split(/ /g);let i=this;for(const o of r)i=j._pushAttributed(i,o,t);return i}static _pushAttributed(e,t,r){const i=r.getMetadataForScope(t),o=e.scopePath.push(t),s=r.themeProvider.themeMatch(o),l=j.mergeAttributes(e.tokenAttributes,i,s);return new j(e,o,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var i;const t=[];let r=this;for(;r&&r!==e;)t.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((i=r.parent)==null?void 0:i.scopePath)??null)}),r=r.parent;return r===e?t.reverse():void 0}},G,ze=(G=class{constructor(e,t,r,i,o,s,l,a){d(this,"_stackElementBrand");d(this,"_enterPos");d(this,"_anchorPos");d(this,"depth");this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=o,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(e){return e===null?!1:G._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?re.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){G._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,r,i,o,s,l){return new G(this,e,t,r,i,o,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var r,i;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new G(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const r=re.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new G(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,r,re.fromExtension(r,t.contentNameScopesList))}},d(G,"NULL",new G(null,0,0,0,!1,null,null,null)),G),vr=class{constructor(n,e){d(this,"balancedBracketScopes");d(this,"unbalancedBracketScopes");d(this,"allowAny",!1);this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):be(t,we).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>be(t,we).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},Rr=class{constructor(n,e,t,r){d(this,"_emitBinaryTokens");d(this,"_lineText");d(this,"_tokens");d(this,"_binaryTokens");d(this,"_lastTokenEndIndex");d(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var r;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let i=(n==null?void 0:n.tokenAttributes)??0,o=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(n==null?void 0:n.getScopeNames())??[];for(const l of this._tokenTypeOverrides)l.matcher(s)&&(i=Y.set(i,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(s))}if(o&&(i=Y.set(i,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r<i;r++)t[r]=this._binaryTokens[r];return t}},Nr=class{constructor(n,e){d(this,"_grammars",new Map);d(this,"_rawGrammars",new Map);d(this,"_injectionGrammars",new Map);d(this,"_theme");this._onigLib=e,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,e,t,r,i){if(!this._grammars.has(n)){let o=this._rawGrammars.get(n);if(!o)return null;this._grammars.set(n,Cr(n,o,e,t,r,i,this,this._onigLib))}return this._grammars.get(n)}},Ar=class{constructor(e){d(this,"_options");d(this,"_syncRegistry");d(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new Nr(_e.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(_e.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,r){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,t,r){return this._loadGrammar(e,t,r.embeddedLanguages,r.tokenTypes,new vr(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,r,i,o){const s=new nr(this._syncRegistry,e);for(;s.Q.length>0;)s.Q.map(l=>this._loadSingleGrammar(l.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,r,i,o)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,i=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,i)}_grammarForScopeName(e,t=0,r=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,r,i,o)}},qe=ze.NULL;const Tr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ue{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}ue.prototype.normal={};ue.prototype.property={};ue.prototype.space=void 0;function Vt(n,e){const t={},r={};for(const i of n)Object.assign(t,i.property),Object.assign(r,i.normal);return new ue(t,r,e)}function Ve(n){return n.toLowerCase()}class O{constructor(e,t){this.attribute=t,this.property=e}}O.prototype.attribute="";O.prototype.booleanish=!1;O.prototype.boolean=!1;O.prototype.commaOrSpaceSeparated=!1;O.prototype.commaSeparated=!1;O.prototype.defined=!1;O.prototype.mustUseProperty=!1;O.prototype.number=!1;O.prototype.overloadedBoolean=!1;O.prototype.property="";O.prototype.spaceSeparated=!1;O.prototype.space=void 0;let Pr=0;const w=K(),N=K(),Ke=K(),g=K(),v=K(),V=K(),M=K();function K(){return 2**++Pr}var Je=Object.freeze({__proto__:null,boolean:w,booleanish:N,commaOrSpaceSeparated:M,commaSeparated:V,number:g,overloadedBoolean:Ke,spaceSeparated:v});const Ge=Object.keys(Je);class Ze extends O{constructor(e,t,r,i){let o=-1;if(super(e,t),gt(this,"space",i),typeof r=="number")for(;++o<Ge.length;){const s=Ge[o];gt(this,Ge[o],(r&Je[s])===Je[s])}}}Ze.prototype.defined=!0;function gt(n,e,t){t&&(n[e]=t)}function Q(n){const e={},t={};for(const[r,i]of Object.entries(n.properties)){const o=new Ze(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,t[Ve(r)]=r,t[Ve(o.attribute)]=r}return new ue(e,t,n.space)}const Kt=Q({properties:{ariaActiveDescendant:null,ariaAtomic:N,ariaAutoComplete:null,ariaBusy:N,ariaChecked:N,ariaColCount:g,ariaColIndex:g,ariaColSpan:g,ariaControls:v,ariaCurrent:null,ariaDescribedBy:v,ariaDetails:null,ariaDisabled:N,ariaDropEffect:v,ariaErrorMessage:null,ariaExpanded:N,ariaFlowTo:v,ariaGrabbed:N,ariaHasPopup:null,ariaHidden:N,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:v,ariaLevel:g,ariaLive:null,ariaModal:N,ariaMultiLine:N,ariaMultiSelectable:N,ariaOrientation:null,ariaOwns:v,ariaPlaceholder:null,ariaPosInSet:g,ariaPressed:N,ariaReadOnly:N,ariaRelevant:null,ariaRequired:N,ariaRoleDescription:v,ariaRowCount:g,ariaRowIndex:g,ariaRowSpan:g,ariaSelected:N,ariaSetSize:g,ariaSort:null,ariaValueMax:g,ariaValueMin:g,ariaValueNow:g,ariaValueText:null,role:null},transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function Jt(n,e){return e in n?n[e]:e}function Xt(n,e){return Jt(n,e.toLowerCase())}const xr=Q({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:V,acceptCharset:v,accessKey:v,action:null,allow:null,allowFullScreen:w,allowPaymentRequest:w,allowUserMedia:w,alpha:w,alt:null,as:null,async:w,autoCapitalize:null,autoComplete:v,autoFocus:w,autoPlay:w,blocking:v,capture:null,charSet:null,checked:w,cite:null,className:v,closedBy:null,colorSpace:null,cols:g,colSpan:g,command:null,commandFor:null,content:null,contentEditable:N,controls:w,controlsList:v,coords:g|V,crossOrigin:null,data:null,dateTime:null,decoding:null,default:w,defer:w,dir:null,dirName:null,disabled:w,download:Ke,draggable:N,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:w,formTarget:null,headers:v,height:g,hidden:Ke,high:g,href:null,hrefLang:null,htmlFor:v,httpEquiv:v,id:null,imageSizes:null,imageSrcSet:null,inert:w,inputMode:null,integrity:null,is:null,isMap:w,itemId:null,itemProp:v,itemRef:v,itemScope:w,itemType:v,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:w,low:g,manifest:null,max:null,maxLength:g,media:null,method:null,min:null,minLength:g,multiple:w,muted:w,name:null,nonce:null,noModule:w,noValidate:w,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:w,optimum:g,pattern:null,ping:v,placeholder:null,playsInline:w,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:w,referrerPolicy:null,rel:v,required:w,reversed:w,rows:g,rowSpan:g,sandbox:v,scope:null,scoped:w,seamless:w,selected:w,shadowRootClonable:w,shadowRootCustomElementRegistry:w,shadowRootDelegatesFocus:w,shadowRootMode:null,shadowRootSerializable:w,shape:null,size:g,sizes:null,slot:null,span:g,spellCheck:N,src:null,srcDoc:null,srcLang:null,srcSet:null,start:g,step:null,style:null,tabIndex:g,target:null,title:null,translate:null,type:null,typeMustMatch:w,useMap:null,value:N,width:g,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:v,axis:null,background:null,bgColor:null,border:g,borderColor:null,bottomMargin:g,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:w,declare:w,event:null,face:null,frame:null,frameBorder:null,hSpace:g,leftMargin:g,link:null,longDesc:null,lowSrc:null,marginHeight:g,marginWidth:g,noResize:w,noHref:w,noShade:w,noWrap:w,object:null,profile:null,prompt:null,rev:null,rightMargin:g,rules:null,scheme:null,scrolling:N,standby:null,summary:null,text:null,topMargin:g,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:w,disablePictureInPicture:w,disableRemotePlayback:w,exportParts:V,part:v,prefix:null,property:null,results:g,security:null,unselectable:null},space:"html",transform:Xt}),Lr=Q({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:M,accentHeight:g,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:g,amplitude:g,arabicForm:null,ascent:g,attributeName:null,attributeType:null,azimuth:g,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:g,by:null,calcMode:null,capHeight:g,className:v,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:g,diffuseConstant:g,direction:null,display:null,dur:null,divisor:g,dominantBaseline:null,download:w,dx:null,dy:null,edgeMode:null,editable:null,elevation:g,enableBackground:null,end:null,event:null,exponent:g,externalResourcesRequired:null,fill:null,fillOpacity:g,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:V,g2:V,glyphName:V,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:g,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:g,horizOriginX:g,horizOriginY:g,id:null,ideographic:g,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:g,k:g,k1:g,k2:g,k3:g,k4:g,kernelMatrix:M,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:g,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:g,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:g,overlineThickness:g,paintOrder:null,panose1:null,path:null,pathLength:g,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:v,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:g,pointsAtY:g,pointsAtZ:g,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:M,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:M,rev:M,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:M,requiredFeatures:M,requiredFonts:M,requiredFormats:M,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:g,specularExponent:g,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:g,strikethroughThickness:g,string:null,stroke:null,strokeDashArray:M,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:g,strokeOpacity:g,strokeWidth:null,style:null,surfaceScale:g,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:M,tabIndex:g,tableValues:null,target:null,targetX:g,targetY:g,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:M,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:g,underlineThickness:g,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:g,values:null,vAlphabetic:g,vMathematical:g,vectorEffect:null,vHanging:g,vIdeographic:g,version:null,vertAdvY:g,vertOriginX:g,vertOriginY:g,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:g,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Jt}),Yt=Q({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()}}),Qt=Q({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Xt}),Zt=Q({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()}}),Er=/[A-Z]/g,yt=/-[a-z]/g,Ir=/^data[-\w.:]+$/i;function Or(n,e){const t=Ve(e);let r=e,i=O;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Ir.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(yt,Br);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!yt.test(o)){let s=o.replace(Er,Mr);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}i=Ze}return new i(r,e)}function Mr(n){return"-"+n.toLowerCase()}function Br(n){return n.charAt(1).toUpperCase()}const Gr=Vt([Kt,xr,Yt,Qt,Zt],"html"),en=Vt([Kt,Lr,Yt,Qt,Zt],"svg"),_t={}.hasOwnProperty;function Dr(n,e){const t=e||{};function r(i,...o){let s=r.invalid;const l=r.handlers;if(i&&_t.call(i,n)){const a=String(i[n]);s=_t.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,i,...o)}return r.handlers=t.handlers||{},r.invalid=t.invalid,r.unknown=t.unknown,r}const jr=/["&'<>`]/g,Ur=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$r=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Wr=/[|\\{}()[\]^$+*?.]/g,bt=new WeakMap;function Hr(n,e){if(n=n.replace(e.subset?Fr(e.subset):jr,r),e.subset||e.escapeOnly)return n;return n.replace(Ur,t).replace($r,r);function t(i,o,s){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function r(i,o,s){return e.format(i.charCodeAt(0),s.charCodeAt(o+1),e)}}function Fr(n){let e=bt.get(n);return e||(e=zr(n),bt.set(n,e)),e}function zr(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(Wr,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const qr=/[\dA-Fa-f]/;function Vr(n,e,t){const r="&#x"+n.toString(16).toUpperCase();return t&&e&&!qr.test(String.fromCharCode(e))?r:r+";"}const Kr=/\d/;function Jr(n,e,t){const r="&#"+String(n);return t&&e&&!Kr.test(String.fromCharCode(e))?r:r+";"}const Xr=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],De={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Yr=["cent","copy","divide","gt","lt","not","para","times"],tn={}.hasOwnProperty,Xe={};let de;for(de in De)tn.call(De,de)&&(Xe[De[de]]=de);const Qr=/[^\dA-Za-z]/;function Zr(n,e,t,r){const i=String.fromCharCode(n);if(tn.call(Xe,i)){const o=Xe[i],s="&"+o;return t&&Xr.includes(o)&&!Yr.includes(o)&&(!r||e&&e!==61&&Qr.test(String.fromCharCode(e)))?s:s+";"}return""}function ei(n,e,t){let r=Vr(n,e,t.omitOptionalSemicolons),i;if((t.useNamedReferences||t.useShortestReferences)&&(i=Zr(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!i)&&t.useShortestReferences){const o=Jr(n,e,t.omitOptionalSemicolons);o.length<r.length&&(r=o)}return i&&(!t.useShortestReferences||i.length<r.length)?i:r}function X(n,e){return Hr(n,Object.assign({format:ei},e))}const ti=/^>|^->|<!--|-->|--!>|<!-$/g,ni=[">"],ri=["<",">"];function ii(n,e,t,r){return r.settings.bogusComments?"<?"+X(n.value,Object.assign({},r.settings.characterReferences,{subset:ni}))+">":"<!--"+n.value.replace(ti,i)+"-->";function i(o){return X(o,Object.assign({},r.settings.characterReferences,{subset:ri}))}}function oi(n,e,t,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function St(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(e);for(;i!==-1;)r++,i=t.indexOf(e,i+e.length);return r}function si(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function ai(n){return n.join(" ").trim()}const li=/[ \t\n\f\r]/g;function et(n){return typeof n=="object"?n.type==="text"?Ct(n.value):!1:Ct(n)}function Ct(n){return n.replace(li,"")===""}const P=rn(1),nn=rn(-1),ci=[];function rn(n){return e;function e(t,r,i){const o=t?t.children:ci;let s=(r||0)+n,l=o[s];if(!i)for(;l&&et(l);)s+=n,l=o[s];return l}}const ui={}.hasOwnProperty;function on(n){return e;function e(t,r,i){return ui.call(n,t.tagName)&&n[t.tagName](t,r,i)}}const tt=on({body:mi,caption:je,colgroup:je,dd:gi,dt:fi,head:je,html:pi,li:di,optgroup:yi,option:_i,p:hi,rp:wt,rt:wt,tbody:Si,td:kt,tfoot:Ci,th:kt,thead:bi,tr:wi});function je(n,e,t){const r=P(t,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&et(r.value.charAt(0)))}function pi(n,e,t){const r=P(t,e);return!r||r.type!=="comment"}function mi(n,e,t){const r=P(t,e);return!r||r.type!=="comment"}function hi(n,e,t){const r=P(t,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function di(n,e,t){const r=P(t,e);return!r||r.type==="element"&&r.tagName==="li"}function fi(n,e,t){const r=P(t,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function gi(n,e,t){const r=P(t,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function wt(n,e,t){const r=P(t,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function yi(n,e,t){const r=P(t,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function _i(n,e,t){const r=P(t,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function bi(n,e,t){const r=P(t,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Si(n,e,t){const r=P(t,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Ci(n,e,t){return!P(t,e)}function wi(n,e,t){const r=P(t,e);return!r||r.type==="element"&&r.tagName==="tr"}function kt(n,e,t){const r=P(t,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const ki=on({body:Ni,colgroup:Ai,head:Ri,html:vi,tbody:Ti});function vi(n){const e=P(n,-1);return!e||e.type!=="comment"}function Ri(n){const e=new Set;for(const r of n.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const t=n.children[0];return!t||t.type==="element"}function Ni(n){const e=P(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&et(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Ai(n,e,t){const r=nn(t,e),i=P(n,-1,!0);return t&&r&&r.type==="element"&&r.tagName==="colgroup"&&tt(r,t.children.indexOf(r),t)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function Ti(n,e,t){const r=nn(t,e),i=P(n,-1);return t&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&tt(r,t.children.indexOf(r),t)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const fe={name:[[`
|
|
4
|
+
\f\r &/=>`.split(""),`
|
|
5
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
6
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
7
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
8
|
+
\f\r &>`.split(""),`\0
|
|
9
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
10
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
11
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Pi(n,e,t,r){const i=r.schema,o=i.space==="svg"?!1:r.settings.omitOptionalTags;let s=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(n.tagName.toLowerCase());const l=[];let a;i.space==="html"&&n.tagName==="svg"&&(r.schema=en);const c=xi(r,n.properties),u=r.all(i.space==="html"&&n.tagName==="template"?n.content:n);return r.schema=i,u&&(s=!1),(c||!o||!ki(n,e,t))&&(l.push("<",n.tagName,c?" "+c:""),s&&(i.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!o||!tt(n,e,t))&&l.push("</"+n.tagName+">"),l.join("")}function xi(n,e){const t=[];let r=-1,i;if(e){for(i in e)if(e[i]!==null&&e[i]!==void 0){const o=Li(n,i,e[i]);o&&t.push(o)}}for(;++r<t.length;){const o=n.settings.tightAttributes?t[r].charAt(t[r].length-1):void 0;r!==t.length-1&&o!=='"'&&o!=="'"&&(t[r]+=" ")}return t.join("")}function Li(n,e,t){const r=Or(n.schema,e),i=n.settings.allowParseErrors&&n.schema.space==="html"?0:1,o=n.settings.allowDangerousCharacters?0:1;let s=n.quote,l;if(r.overloadedBoolean&&(t===r.attribute||t==="")?t=!0:(r.boolean||r.overloadedBoolean)&&(typeof t!="string"||t===r.attribute||t==="")&&(t=!!t),t==null||t===!1||typeof t=="number"&&Number.isNaN(t))return"";const a=X(r.attribute,Object.assign({},n.settings.characterReferences,{subset:fe.name[i][o]}));return t===!0||(t=Array.isArray(t)?(r.commaSeparated?si:ai)(t,{padLeft:!n.settings.tightCommaSeparatedLists}):String(t),n.settings.collapseEmptyAttributes&&!t)?a:(n.settings.preferUnquoted&&(l=X(t,Object.assign({},n.settings.characterReferences,{attribute:!0,subset:fe.unquoted[i][o]}))),l!==t&&(n.settings.quoteSmart&&St(t,s)>St(t,n.alternative)&&(s=n.alternative),l=s+X(t,Object.assign({},n.settings.characterReferences,{subset:(s==="'"?fe.single:fe.double)[i][o],attribute:!0}))+s),a+(l&&"="+l))}const Ei=["<","&"];function sn(n,e,t,r){return t&&t.type==="element"&&(t.tagName==="script"||t.tagName==="style")?n.value:X(n.value,Object.assign({},r.settings.characterReferences,{subset:Ei}))}function Ii(n,e,t,r){return r.settings.allowDangerousHtml?n.value:sn(n,e,t,r)}function Oi(n,e,t,r){return r.all(n)}const Mi=Dr("type",{invalid:Bi,unknown:Gi,handlers:{comment:ii,doctype:oi,element:Pi,raw:Ii,root:Oi,text:sn}});function Bi(n){throw new Error("Expected node, not `"+n+"`")}function Gi(n){const e=n;throw new Error("Cannot compile unknown node `"+e.type+"`")}const Di={},ji={},Ui=[];function $i(n,e){const t=Di,r=t.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Wi,all:Hi,settings:{omitOptionalTags:t.omitOptionalTags||!1,allowParseErrors:t.allowParseErrors||!1,allowDangerousCharacters:t.allowDangerousCharacters||!1,quoteSmart:t.quoteSmart||!1,preferUnquoted:t.preferUnquoted||!1,tightAttributes:t.tightAttributes||!1,upperDoctype:t.upperDoctype||!1,tightDoctype:t.tightDoctype||!1,bogusComments:t.bogusComments||!1,tightCommaSeparatedLists:t.tightCommaSeparatedLists||!1,tightSelfClosing:t.tightSelfClosing||!1,collapseEmptyAttributes:t.collapseEmptyAttributes||!1,allowDangerousHtml:t.allowDangerousHtml||!1,voids:t.voids||Tr,characterReferences:t.characterReferences||ji,closeSelfClosing:t.closeSelfClosing||!1,closeEmptyElements:t.closeEmptyElements||!1},schema:t.space==="svg"?en:Gr,quote:r,alternative:i}.one(Array.isArray(n)?{type:"root",children:n}:n,void 0,void 0)}function Wi(n,e,t){return Mi(n,e,t,this)}function Hi(n){const e=[],t=n&&n.children||Ui;let r=-1;for(;++r<t.length;)e[r]=this.one(t[r],r,n);return e.join("")}function Fi(n){return Array.isArray(n)?n:[n]}function Pe(n,e=!1){var o;const t=n.split(/(\r?\n)/g);let r=0;const i=[];for(let s=0;s<t.length;s+=2){const l=e?t[s]+(t[s+1]||""):t[s];i.push([l,r]),r+=t[s].length,r+=((o=t[s+1])==null?void 0:o.length)||0}return i}function nt(n){return!n||["plaintext","txt","text","plain"].includes(n)}function an(n){return n==="ansi"||nt(n)}function rt(n){return n==="none"}function ln(n){return rt(n)}function cn(n,e){var r;if(!e)return n;n.properties||(n.properties={}),(r=n.properties).class||(r.class=[]),typeof n.properties.class=="string"&&(n.properties.class=n.properties.class.split(/\s+/g)),Array.isArray(n.properties.class)||(n.properties.class=[]);const t=Array.isArray(e)?e:e.split(/\s+/g);for(const i of t)i&&!n.properties.class.includes(i)&&n.properties.class.push(i);return n}function zi(n,e){let t=0;const r=[];for(const i of e)i>t&&r.push({...n,content:n.content.slice(t,i),offset:n.offset+t}),t=i;return t<n.content.length&&r.push({...n,content:n.content.slice(t),offset:n.offset+t}),r}function qi(n,e){const t=Array.from(e instanceof Set?e:new Set(e)).sort((r,i)=>r-i);return t.length?n.map(r=>r.flatMap(i=>{const o=t.filter(s=>i.offset<s&&s<i.offset+i.content.length).map(s=>s-i.offset).sort((s,l)=>s-l);return o.length?zi(i,o):i})):n}async function un(n){return Promise.resolve(typeof n=="function"?n():n).then(e=>e.default||e)}function ke(n,e){const t=typeof n=="string"?{}:{...n.colorReplacements},r=typeof n=="string"?n:n.name;for(const[i,o]of Object.entries((e==null?void 0:e.colorReplacements)||{}))typeof o=="string"?t[i]=o:i===r&&Object.assign(t,o);return t}function z(n,e){return n&&((e==null?void 0:e[n==null?void 0:n.toLowerCase()])||n)}function pn(n){const e={};return n.color&&(e.color=n.color),n.bgColor&&(e["background-color"]=n.bgColor),n.fontStyle&&(n.fontStyle&H.Italic&&(e["font-style"]="italic"),n.fontStyle&H.Bold&&(e["font-weight"]="bold"),n.fontStyle&H.Underline&&(e["text-decoration"]="underline")),e}function Vi(n){return typeof n=="string"?n:Object.entries(n).map(([e,t])=>`${e}:${t}`).join(";")}function Ki(n){const e=Pe(n,!0).map(([i])=>i);function t(i){if(i===n.length)return{line:e.length-1,character:e[e.length-1].length};let o=i,s=0;for(const l of e){if(o<l.length)break;o-=l.length,s++}return{line:s,character:o}}function r(i,o){let s=0;for(let l=0;l<i;l++)s+=e[l].length;return s+=o,s}return{lines:e,indexToPos:t,posToIndex:r}}class E extends Error{constructor(e){super(e),this.name="ShikiError"}}const mn=new WeakMap;function xe(n,e){mn.set(n,e)}function ae(n){return mn.get(n)}class Z{constructor(...e){d(this,"_stacks",{});d(this,"lang");if(e.length===2){const[t,r]=e;this.lang=r,this._stacks=t}else{const[t,r,i]=e;this.lang=r,this._stacks={[i]:t}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new Z(Object.fromEntries(Fi(t).map(r=>[r,qe])),e)}getInternalStack(e=this.theme){return this._stacks[e]}get scopes(){return vt(this._stacks[this.theme])}getScopes(e=this.theme){return vt(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.scopes}}}function vt(n){const e=[],t=new Set;function r(i){var s;if(t.has(i))return;t.add(i);const o=(s=i==null?void 0:i.nameScopesList)==null?void 0:s.scopeName;o&&e.push(o),i.parent&&r(i.parent)}return r(n),e}function Ji(n,e){if(!(n instanceof Z))throw new E("Invalid grammar state");return n.getInternalStack(e)}function Xi(){const n=new WeakMap;function e(t){if(!n.has(t.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>t.source.length)throw new E(`Invalid decoration offset: ${s}. Code length: ${t.source.length}`);return{...i.indexToPos(s),offset:s}}else{const l=i.lines[s.line];if(l===void 0)throw new E(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${i.lines.length}`);if(s.character<0||s.character>l.length)throw new E(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${l.length}`);return{...s,offset:i.posToIndex(s.line,s.character)}}};const i=Ki(t.source),o=(t.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));Yi(o),n.set(t.meta,{decorations:o,converter:i,source:t.source})}return n.get(t.meta)}return{name:"shiki:decorations",tokens(t){var s;if(!((s=this.options.decorations)!=null&&s.length))return;const i=e(this).decorations.flatMap(l=>[l.start.offset,l.end.offset]);return qi(t,i)},code(t){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=e(this),i=Array.from(t.children).filter(p=>p.type==="element"&&p.tagName==="span");if(i.length!==r.converter.lines.length)throw new E(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(p,h,m,f){const C=i[p];let _="",y=-1,b=-1;if(h===0&&(y=0),m===0&&(b=0),m===Number.POSITIVE_INFINITY&&(b=C.children.length),y===-1||b===-1)for(let k=0;k<C.children.length;k++)_+=hn(C.children[k]),y===-1&&_.length===h&&(y=k+1),b===-1&&_.length===m&&(b=k+1);if(y===-1)throw new E(`Failed to find start index for decoration ${JSON.stringify(f.start)}`);if(b===-1)throw new E(`Failed to find end index for decoration ${JSON.stringify(f.end)}`);const S=C.children.slice(y,b);if(!f.alwaysWrap&&S.length===C.children.length)l(C,f,"line");else if(!f.alwaysWrap&&S.length===1&&S[0].type==="element")l(S[0],f,"token");else{const k={type:"element",tagName:"span",properties:{},children:S};l(k,f,"wrapper"),C.children.splice(y,S.length,k)}}function s(p,h){i[p]=l(i[p],h,"line")}function l(p,h,m){var _;const f=h.properties||{},C=h.transform||(y=>y);return p.tagName=h.tagName||"span",p.properties={...p.properties,...f,class:p.properties.class},(_=h.properties)!=null&&_.class&&cn(p,h.properties.class),p=C(p,m)||p,p}const a=[],c=r.decorations.sort((p,h)=>h.start.offset-p.start.offset);for(const p of c){const{start:h,end:m}=p;if(h.line===m.line)o(h.line,h.character,m.character,p);else if(h.line<m.line){o(h.line,h.character,Number.POSITIVE_INFINITY,p);for(let f=h.line+1;f<m.line;f++)a.unshift(()=>s(f,p));o(m.line,0,m.character,p)}}a.forEach(p=>p())}}}function Yi(n){for(let e=0;e<n.length;e++){const t=n[e];if(t.start.offset>t.end.offset)throw new E(`Invalid decoration range: ${JSON.stringify(t.start)} - ${JSON.stringify(t.end)}`);for(let r=e+1;r<n.length;r++){const i=n[r],o=t.start.offset<i.start.offset&&i.start.offset<t.end.offset,s=t.start.offset<i.end.offset&&i.end.offset<t.end.offset,l=i.start.offset<t.start.offset&&t.start.offset<i.end.offset,a=i.start.offset<t.end.offset&&t.end.offset<i.end.offset;if(o||s||l||a){if(s&&s||l&&a)continue;throw new E(`Decorations ${JSON.stringify(t.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}function hn(n){return n.type==="text"?n.value:n.type==="element"?n.children.map(hn).join(""):""}const Qi=[Xi()];function ve(n){return[...n.transformers||[],...Qi]}var q=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ue={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Zi(n,e){const t=n.indexOf("\x1B[",e);if(t!==-1){const r=n.indexOf("m",t);return{sequence:n.substring(t+2,r).split(";"),startPosition:t,position:r+1}}return{position:n.length}}function Rt(n,e){let t=1;const r=n[e+t++];let i;if(r==="2"){const o=[n[e+t++],n[e+t++],n[e+t]].map(s=>Number.parseInt(s));o.length===3&&!o.some(s=>Number.isNaN(s))&&(i={type:"rgb",rgb:o})}else if(r==="5"){const o=Number.parseInt(n[e+t]);Number.isNaN(o)||(i={type:"table",index:Number(o)})}return[t,i]}function eo(n){const e=[];for(let t=0;t<n.length;t++){const r=n[t],i=Number.parseInt(r);if(!Number.isNaN(i))if(i===0)e.push({type:"resetAll"});else if(i<=9)Ue[i]&&e.push({type:"setDecoration",value:Ue[i]});else if(i<=29){const o=Ue[i-20];o&&e.push({type:"resetDecoration",value:o})}else if(i<=37)e.push({type:"setForegroundColor",value:{type:"named",name:q[i-30]}});else if(i===38){const[o,s]=Rt(n,t);s&&e.push({type:"setForegroundColor",value:s}),t+=o}else if(i===39)e.push({type:"resetForegroundColor"});else if(i<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:q[i-40]}});else if(i===48){const[o,s]=Rt(n,t);s&&e.push({type:"setBackgroundColor",value:s}),t+=o}else i===49?e.push({type:"resetBackgroundColor"}):i>=90&&i<=97?e.push({type:"setForegroundColor",value:{type:"named",name:q[i-90+8]}}):i>=100&&i<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:q[i-100+8]}})}return e}function to(){let n=null,e=null,t=new Set;return{parse(r){const i=[];let o=0;do{const s=Zi(r,o),l=s.sequence?r.substring(o,s.startPosition):r.substring(o);if(l.length>0&&i.push({value:l,foreground:n,background:e,decorations:new Set(t)}),s.sequence){const a=eo(s.sequence);for(const c of a)c.type==="resetAll"?(n=null,e=null,t.clear()):c.type==="resetForegroundColor"?n=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&t.delete(c.value);for(const c of a)c.type==="setForegroundColor"?n=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&t.add(c.value)}o=s.position}while(o<r.length);return i}}}var no={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function ro(n=no){function e(l){return n[l]}function t(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function i(){if(r)return r;r=[];for(let c=0;c<q.length;c++)r.push(e(q[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let p=0;p<6;p++)r.push(t([l[c],l[u],l[p]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(t([a,a,a]));return r}function o(l){return i()[l]}function s(l){switch(l.type){case"named":return e(l.name);case"rgb":return t(l.rgb);case"table":return o(l.index)}}return{value:s}}function io(n,e,t){const r=ke(n,t),i=Pe(e),o=ro(Object.fromEntries(q.map(l=>{var a;return[l,(a=n.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=to();return i.map(l=>s.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?o.value(a.background):n.bg,u=a.foreground?o.value(a.foreground):n.fg):(c=a.foreground?o.value(a.foreground):n.fg,u=a.background?o.value(a.background):void 0),c=z(c,r),u=z(u,r),a.decorations.has("dim")&&(c=oo(c));let p=H.None;return a.decorations.has("bold")&&(p|=H.Bold),a.decorations.has("italic")&&(p|=H.Italic),a.decorations.has("underline")&&(p|=H.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:p}}))}function oo(n){const e=n.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const r=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${r}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(r=>`${r}${r}`).join("")}80`;const t=n.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return t?`var(${t[1]}-dim)`:n}function it(n,e,t={}){const{lang:r="text",theme:i=n.getLoadedThemes()[0]}=t;if(nt(r)||rt(i))return Pe(e).map(a=>[{content:a[0],offset:a[1]}]);const{theme:o,colorMap:s}=n.setTheme(i);if(r==="ansi")return io(o,e,t);const l=n.getLanguage(r);if(t.grammarState){if(t.grammarState.lang!==l.name)throw new F(`Grammar state language "${t.grammarState.lang}" does not match highlight language "${l.name}"`);if(!t.grammarState.themes.includes(o.name))throw new F(`Grammar state themes "${t.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return ao(e,l,o,s,t)}function so(...n){if(n.length===2)return ae(n[1]);const[e,t,r={}]=n,{lang:i="text",theme:o=e.getLoadedThemes()[0]}=r;if(nt(i)||rt(o))throw new F("Plain language does not have grammar state");if(i==="ansi")throw new F("ANSI language does not have grammar state");const{theme:s,colorMap:l}=e.setTheme(o),a=e.getLanguage(i);return new Z(Re(t,a,s,l,r).stateStack,a.name,s.name)}function ao(n,e,t,r,i){const o=Re(n,e,t,r,i),s=new Z(Re(n,e,t,r,i).stateStack,e.name,t.name);return xe(o.tokens,s),o.tokens}function Re(n,e,t,r,i){const o=ke(t,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=i,a=Pe(n);let c=i.grammarState?Ji(i.grammarState,t.name)??qe:i.grammarContextCode!=null?Re(i.grammarContextCode,e,t,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:qe,u=[];const p=[];for(let h=0,m=a.length;h<m;h++){const[f,C]=a[h];if(f===""){u=[],p.push([]);continue}if(s>0&&f.length>=s){u=[],p.push([{content:f,offset:C,color:"",fontStyle:0}]);continue}let _,y,b;i.includeExplanation&&(_=e.tokenizeLine(f,c),y=_.tokens,b=0);const S=e.tokenizeLine2(f,c,l),k=S.tokens.length/2;for(let R=0;R<k;R++){const I=S.tokens[2*R],A=R+1<k?S.tokens[2*R+2]:f.length;if(I===A)continue;const U=S.tokens[2*R+1],pe=z(r[Y.getForeground(U)],o),ee=Y.getFontStyle(U),Le={content:f.substring(I,A),offset:C+I,color:pe,fontStyle:ee};if(i.includeExplanation){const st=[];if(i.includeExplanation!=="scopeName")for(const $ of t.settings){let J;switch(typeof $.scope){case"string":J=$.scope.split(/,/).map(Ee=>Ee.trim());break;case"object":J=$.scope;break;default:continue}st.push({settings:$,selectors:J.map(Ee=>Ee.split(/ /))})}Le.explanation=[];let at=0;for(;I+at<A;){const $=y[b],J=f.substring($.startIndex,$.endIndex);at+=J.length,Le.explanation.push({content:J,scopes:i.includeExplanation==="scopeName"?lo($.scopes):co(st,$.scopes)}),b+=1}}u.push(Le)}p.push(u),u=[],c=S.ruleStack}return{tokens:p,stateStack:c}}function lo(n){return n.map(e=>({scopeName:e}))}function co(n,e){const t=[];for(let r=0,i=e.length;r<i;r++){const o=e[r];t[r]={scopeName:o,themeMatches:po(n,o,e.slice(0,r))}}return t}function Nt(n,e){return n===e||e.substring(0,n.length)===n&&e[n.length]==="."}function uo(n,e,t){if(!Nt(n[n.length-1],e))return!1;let r=n.length-2,i=t.length-1;for(;r>=0&&i>=0;)Nt(n[r],t[i])&&(r-=1),i-=1;return r===-1}function po(n,e,t){const r=[];for(const{selectors:i,settings:o}of n)for(const s of i)if(uo(s,e,t)){r.push(o);break}return r}function dn(n,e,t){const r=Object.entries(t.themes).filter(a=>a[1]).map(a=>({color:a[0],theme:a[1]})),i=r.map(a=>{const c=it(n,e,{...t,theme:a.theme}),u=ae(c),p=typeof a.theme=="string"?a.theme:a.theme.name;return{tokens:c,state:u,theme:p}}),o=mo(...i.map(a=>a.tokens)),s=o[0].map((a,c)=>a.map((u,p)=>{const h={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in t&&t.includeExplanation&&(h.explanation=u.explanation),o.forEach((m,f)=>{const{content:C,explanation:_,offset:y,...b}=m[c][p];h.variants[r[f].color]=b}),h})),l=i[0].state?new Z(Object.fromEntries(i.map(a=>{var c;return[a.theme,(c=a.state)==null?void 0:c.getInternalStack(a.theme)]})),i[0].state.lang):void 0;return l&&xe(s,l),s}function mo(...n){const e=n.map(()=>[]),t=n.length;for(let r=0;r<n[0].length;r++){const i=n.map(a=>a[r]),o=e.map(()=>[]);e.forEach((a,c)=>a.push(o[c]));const s=i.map(()=>0),l=i.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<t;c++){const u=l[c];u.content.length===a?(o[c].push(u),s[c]+=1,l[c]=i[c][s[c]]):(o[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return e}function Ne(n,e,t){let r,i,o,s,l,a;if("themes"in t){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-"}=t,p=Object.entries(t.themes).filter(_=>_[1]).map(_=>({color:_[0],theme:_[1]})).sort((_,y)=>_.color===c?-1:y.color===c?1:0);if(p.length===0)throw new F("`themes` option must not be empty");const h=dn(n,e,t);if(a=ae(h),c&&!p.find(_=>_.color===c))throw new F(`\`themes\` option must contain the defaultColor key \`${c}\``);const m=p.map(_=>n.getTheme(_.theme)),f=p.map(_=>_.color);o=h.map(_=>_.map(y=>ho(y,f,u,c))),a&&xe(o,a);const C=p.map(_=>ke(_.theme,t));i=p.map((_,y)=>(y===0&&c?"":`${u+_.color}:`)+(z(m[y].fg,C[y])||"inherit")).join(";"),r=p.map((_,y)=>(y===0&&c?"":`${u+_.color}-bg:`)+(z(m[y].bg,C[y])||"inherit")).join(";"),s=`shiki-themes ${m.map(_=>_.name).join(" ")}`,l=c?void 0:[i,r].join(";")}else if("theme"in t){const c=ke(t.theme,t);o=it(n,e,t);const u=n.getTheme(t.theme);r=z(u.bg,c),i=z(u.fg,c),s=u.name,a=ae(o)}else throw new F("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:i,bg:r,themeName:s,rootStyle:l,grammarState:a}}function ho(n,e,t,r){const i={content:n.content,explanation:n.explanation,offset:n.offset},o=e.map(a=>pn(n.variants[a])),s=new Set(o.flatMap(a=>Object.keys(a))),l={};return o.forEach((a,c)=>{for(const u of s){const p=a[u]||"inherit";if(c===0&&r)l[u]=p;else{const h=u==="color"?"":u==="background-color"?"-bg":`-${u}`,m=t+e[c]+(u==="color"?"":h);l[m]=p}}}),i.htmlStyle=l,i}function Ae(n,e,t,r={meta:{},options:t,codeToHast:(i,o)=>Ae(n,i,o),codeToTokens:(i,o)=>Ne(n,i,o)}){var m,f;let i=e;for(const C of ve(t))i=((m=C.preprocess)==null?void 0:m.call(r,i,t))||i;let{tokens:o,fg:s,bg:l,themeName:a,rootStyle:c,grammarState:u}=Ne(n,i,t);const{mergeWhitespaces:p=!0}=t;p===!0?o=go(o):p==="never"&&(o=yo(o));const h={...r,get source(){return i}};for(const C of ve(t))o=((f=C.tokens)==null?void 0:f.call(h,o))||o;return fo(o,{...t,fg:s,bg:l,themeName:a,rootStyle:c},h,u)}function fo(n,e,t,r=ae(n)){var f,C,_;const i=ve(e),o=[],s={type:"root",children:[]},{structure:l="classic",tabindex:a="0"}=e;let c={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,...a!==!1&&a!=null?{tabindex:a.toString()}:{},...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([y])=>!y.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:o};const p=[],h={...t,structure:l,addClassToHast:cn,get source(){return t.source},get tokens(){return n},get options(){return e},get root(){return s},get pre(){return c},get code(){return u},get lines(){return p}};if(n.forEach((y,b)=>{var R,I;b&&(l==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):l==="classic"&&o.push({type:"text",value:`
|
|
12
|
+
`}));let S={type:"element",tagName:"span",properties:{class:"line"},children:[]},k=0;for(const A of y){let U={type:"element",tagName:"span",properties:{...A.htmlAttrs},children:[{type:"text",value:A.content}]};A.htmlStyle;const pe=Vi(A.htmlStyle||pn(A));pe&&(U.properties.style=pe);for(const ee of i)U=((R=ee==null?void 0:ee.span)==null?void 0:R.call(h,U,b+1,k,S,A))||U;l==="inline"?s.children.push(U):l==="classic"&&S.children.push(U),k+=A.content.length}if(l==="classic"){for(const A of i)S=((I=A==null?void 0:A.line)==null?void 0:I.call(h,S,b+1))||S;p.push(S),o.push(S)}}),l==="classic"){for(const y of i)u=((f=y==null?void 0:y.code)==null?void 0:f.call(h,u))||u;c.children.push(u);for(const y of i)c=((C=y==null?void 0:y.pre)==null?void 0:C.call(h,c))||c;s.children.push(c)}let m=s;for(const y of i)m=((_=y==null?void 0:y.root)==null?void 0:_.call(h,m))||m;return r&&xe(m,r),m}function go(n){return n.map(e=>{const t=[];let r="",i=0;return e.forEach((o,s)=>{const a=!(o.fontStyle&&o.fontStyle&H.Underline);a&&o.content.match(/^\s+$/)&&e[s+1]?(i||(i=o.offset),r+=o.content):r?(a?t.push({...o,offset:i,content:r+o.content}):t.push({content:r,offset:i},o),i=0,r=""):t.push(o)}),t})}function yo(n){return n.map(e=>e.flatMap(t=>{if(t.content.match(/^\s+$/))return t;const r=t.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return t;const[,i,o,s]=r;if(!i&&!s)return t;const l=[{...t,offset:t.offset+i.length,content:o}];return i&&l.unshift({content:i,offset:t.offset}),s&&l.push({content:s,offset:t.offset+i.length+o.length}),l}))}function _o(n,e,t){var o;const r={meta:{},options:t,codeToHast:(s,l)=>Ae(n,s,l),codeToTokens:(s,l)=>Ne(n,s,l)};let i=$i(Ae(n,e,t,r));for(const s of ve(t))i=((o=s.postprocess)==null?void 0:o.call(r,i,t))||i;return i}const At={light:"#333333",dark:"#bbbbbb"},Tt={light:"#fffffe",dark:"#1e1e1e"},Pt="__shiki_resolved";function ot(n){var l,a,c,u,p;if(n!=null&&n[Pt])return n;const e={...n};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||(e.type="dark"),e.colorReplacements={...e.colorReplacements},e.settings||(e.settings=[]);let{bg:t,fg:r}=e;if(!t||!r){const h=e.settings?e.settings.find(m=>!m.name&&!m.scope):void 0;(l=h==null?void 0:h.settings)!=null&&l.foreground&&(r=h.settings.foreground),(a=h==null?void 0:h.settings)!=null&&a.background&&(t=h.settings.background),!r&&((c=e==null?void 0:e.colors)!=null&&c["editor.foreground"])&&(r=e.colors["editor.foreground"]),!t&&((u=e==null?void 0:e.colors)!=null&&u["editor.background"])&&(t=e.colors["editor.background"]),r||(r=e.type==="light"?At.light:At.dark),t||(t=e.type==="light"?Tt.light:Tt.dark),e.fg=r,e.bg=t}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let i=0;const o=new Map;function s(h){var f;if(o.has(h))return o.get(h);i+=1;const m=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return(f=e.colorReplacements)!=null&&f[`#${m}`]?s(h):(o.set(h,m),m)}e.settings=e.settings.map(h=>{var _,y;const m=((_=h.settings)==null?void 0:_.foreground)&&!h.settings.foreground.startsWith("#"),f=((y=h.settings)==null?void 0:y.background)&&!h.settings.background.startsWith("#");if(!m&&!f)return h;const C={...h,settings:{...h.settings}};if(m){const b=s(h.settings.foreground);e.colorReplacements[b]=h.settings.foreground,C.settings.foreground=b}if(f){const b=s(h.settings.background);e.colorReplacements[b]=h.settings.background,C.settings.background=b}return C});for(const h of Object.keys(e.colors||{}))if((h==="editor.foreground"||h==="editor.background"||h.startsWith("terminal.ansi"))&&!((p=e.colors[h])!=null&&p.startsWith("#"))){const m=s(e.colors[h]);e.colorReplacements[m]=e.colors[h],e.colors[h]=m}return Object.defineProperty(e,Pt,{enumerable:!1,writable:!1,value:!0}),e}async function fn(n){return Array.from(new Set((await Promise.all(n.filter(e=>!an(e)).map(async e=>await un(e).then(t=>Array.isArray(t)?t:[t])))).flat()))}async function gn(n){return(await Promise.all(n.map(async t=>ln(t)?null:ot(await un(t))))).filter(t=>!!t)}class bo extends Ar{constructor(t,r,i,o={}){super(t);d(this,"_resolvedThemes",new Map);d(this,"_resolvedGrammars",new Map);d(this,"_langMap",new Map);d(this,"_langGraph",new Map);d(this,"_textmateThemeCache",new WeakMap);d(this,"_loadedThemesCache",null);d(this,"_loadedLanguagesCache",null);this._resolver=t,this._themes=r,this._langs=i,this._alias=o,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const r=ot(t);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let r=this._textmateThemeCache.get(t);r||(r=_e.createFromRawTheme(t),this._textmateThemeCache.set(t,r)),this._syncRegistry.setTheme(r)}getGrammar(t){if(this._alias[t]){const r=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],r.has(t))throw new E(`Circular alias \`${Array.from(r).join(" -> ")} -> ${t}\``);r.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){var s,l,a,c;if(this.getGrammar(t.name))return;const r=new Set([...this._langMap.values()].filter(u=>{var p;return(p=u.embeddedLangsLazy)==null?void 0:p.includes(t.name)}));this._resolver.addLanguage(t);const i={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,i);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(u=>{this._alias[u]=t.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const r=Array.from(this._langGraph.entries()),i=r.filter(([o,s])=>!s);if(i.length){const o=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>i.map(([u])=>u).includes(c)))}).filter(s=>!i.includes(s));throw new E(`Missing languages ${i.map(([s])=>`\`${s}\``).join(", ")}, required by ${o.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[o,s]of r)this._resolver.addLanguage(s);for(const[o,s]of r)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const r of t.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class So{constructor(e,t){d(this,"_langs",new Map);d(this,"_scopeToLang",new Map);d(this,"_injections",new Map);d(this,"_onigLib");this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},t.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let r=[];for(let i=1;i<=t.length;i++){const o=t.slice(0,i).join(".");r=[...r,...this._injections.get(o)||[]]}return r}}let te=0;function Co(n){te+=1,n.warnings!==!1&&te>=10&&te%10===0&&console.warn(`[Shiki] ${te} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let e=!1;if(!n.engine)throw new E("`engine` option is required for synchronous mode");const t=(n.langs||[]).flat(1),r=(n.themes||[]).flat(1).map(ot),i=new So(n.engine,t),o=new bo(i,r,t,n.langAlias);let s;function l(b){_();const S=o.getGrammar(typeof b=="string"?b:b.name);if(!S)throw new E(`Language \`${b}\` not found, you may need to load it first`);return S}function a(b){if(b==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};_();const S=o.getTheme(b);if(!S)throw new E(`Theme \`${b}\` not found, you may need to load it first`);return S}function c(b){_();const S=a(b);s!==b&&(o.setTheme(S),s=b);const k=o.getColorMap();return{theme:S,colorMap:k}}function u(){return _(),o.getLoadedThemes()}function p(){return _(),o.getLoadedLanguages()}function h(...b){_(),o.loadLanguages(b.flat(1))}async function m(...b){return h(await fn(b))}function f(...b){_();for(const S of b.flat(1))o.loadTheme(S)}async function C(...b){return _(),f(await gn(b))}function _(){if(e)throw new E("Shiki instance has been disposed")}function y(){e||(e=!0,o.dispose(),te-=1)}return{setTheme:c,getTheme:a,getLanguage:l,getLoadedThemes:u,getLoadedLanguages:p,loadLanguage:m,loadLanguageSync:h,loadTheme:C,loadThemeSync:f,dispose:y,[Symbol.dispose]:y}}async function wo(n={}){n.loadWasm;const[e,t,r]=await Promise.all([gn(n.themes||[]),fn(n.langs||[]),n.engine||Lt(n.loadWasm||$n())]);return Co({...n,themes:e,langs:t,engine:r})}async function ko(n={}){const e=await wo(n);return{getLastGrammarState:(...t)=>so(e,...t),codeToTokensBase:(t,r)=>it(e,t,r),codeToTokensWithThemes:(t,r)=>dn(e,t,r),codeToTokens:(t,r)=>Ne(e,t,r),codeToHast:(t,r)=>Ae(e,t,r),codeToHtml:(t,r)=>_o(e,t,r),...e,getInternalContext:()=>e}}function vo(n,e,t){let r,i,o;{const l=n;r=l.langs,i=l.themes,o=l.engine}async function s(l){function a(m){if(typeof m=="string"){if(an(m))return[];const f=r[m];if(!f)throw new F(`Language \`${m}\` is not included in this bundle. You may want to load it from external source.`);return f}return m}function c(m){if(ln(m))return"none";if(typeof m=="string"){const f=i[m];if(!f)throw new F(`Theme \`${m}\` is not included in this bundle. You may want to load it from external source.`);return f}return m}const u=(l.themes??[]).map(m=>c(m)),p=(l.langs??[]).map(m=>a(m)),h=await ko({engine:l.engine??o(),...l,themes:u,langs:p});return{...h,loadLanguage(...m){return h.loadLanguage(...m.map(a))},loadTheme(...m){return h.loadTheme(...m.map(c))}}}return s}const Po=vo({langs:Cn,themes:kn,engine:()=>Lt(import("./wasm-CG6Dc4jp.js"))});export{H as FontStyle,F as ShikiError,Y as StackElementMetadata,cn as addClassToHast,z as applyColorReplacements,Cn as bundledLanguages,Sn as bundledLanguagesAlias,bn as bundledLanguagesBase,xt as bundledLanguagesInfo,kn as bundledThemes,wn as bundledThemesInfo,Po as createHighlighter,ko as createHighlighterCore,Lt as createOnigurumaEngine,Ki as createPositionConverter,wo as createShikiInternal,Co as createShikiInternalSync,vo as createdBundledHighlighter,pn as getTokenStyleObject,$i as hastToHtml,rt as isNoneTheme,nt as isPlainLang,an as isSpecialLang,ln as isSpecialTheme,Gn as loadWasm,un as normalizeGetter,ot as normalizeTheme,ke as resolveColorReplacements,Pe as splitLines,zi as splitToken,qi as splitTokens,Vi as stringifyTokenStyle,Fi as toArray,io as tokenizeAnsiWithTheme,ao as tokenizeWithTheme,fo as tokensToHast,Xi as transformerDecorations};
|
package/dist/web/assets/{infoDiagram-6WML65LV-BStJJxiK.js → infoDiagram-6WML65LV-DMpqFKuC.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as a,l as s,
|
|
1
|
+
import{_ as a,l as s,D as o,e as i}from"./mermaid.core-BrC5_l7I.js";import{p as g}from"./cynefin-VYW2F7L2-CDT1GZi_.js";import"./index-IBYN7wml.js";var p={parse:a(async r=>{const e=await g("info",r);s.debug(e)},"parse")},v={version:"11.16.1"},d=a(()=>v.version,"getVersion"),m={getVersion:d},c=a((r,e,n)=>{s.debug(`rendering info diagram
|
|
2
2
|
`+r);const t=o(e);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)},"draw"),l={draw:c},b={parser:p,db:m,renderer:l};export{b as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const n=Object.freeze(JSON.parse(`{"displayName":"INI","name":"ini","patterns":[{"begin":"(^[ \\\\t]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.number-sign.ini"}]},{"begin":"(^[ \\\\t]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.semicolon.ini"}]},{"captures":{"1":{"name":"keyword.other.definition.ini"},"2":{"name":"punctuation.separator.key-value.ini"}},"match":"\\\\b([a-zA-Z0-9_.-]+)\\\\b\\\\s*(=)"},{"captures":{"1":{"name":"punctuation.definition.entity.ini"},"3":{"name":"punctuation.definition.entity.ini"}},"match":"^(\\\\[)(.*?)(\\\\])","name":"entity.name.section.group-title.ini"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.single.ini","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ini"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.double.ini"}],"scopeName":"source.ini","aliases":["properties"]}`))
|
|
1
|
+
const n=Object.freeze(JSON.parse(`{"displayName":"INI","name":"ini","patterns":[{"begin":"(^[ \\\\t]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.number-sign.ini"}]},{"begin":"(^[ \\\\t]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.semicolon.ini"}]},{"captures":{"1":{"name":"keyword.other.definition.ini"},"2":{"name":"punctuation.separator.key-value.ini"}},"match":"\\\\b([a-zA-Z0-9_.-]+)\\\\b\\\\s*(=)"},{"captures":{"1":{"name":"punctuation.definition.entity.ini"},"3":{"name":"punctuation.definition.entity.ini"}},"match":"^(\\\\[)(.*?)(\\\\])","name":"entity.name.section.group-title.ini"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.single.ini","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ini"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.double.ini"}],"scopeName":"source.ini","aliases":["properties"]}`));var i=[n];export{i as default};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as o,c as ot,
|
|
1
|
+
import{_ as o,c as ot,K as ut,D as dt,al as yt,p as ft,k as pt,n as it,a as gt,b as kt,g as mt,s as wt,o as _t,e as bt}from"./mermaid.core-BrC5_l7I.js";import"./index-IBYN7wml.js";var tt=(function(){var e=o(function(M,t,s,i){for(s=s||{},i=M.length;i--;s[M[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],c=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],N={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,u,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return u;case 15:u.addNode(n[w-1].length,n[w].trim());break;case 16:u.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(c,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],u=[],p=[null],n=[],v=this.table,w="",I=0,S=0,L=2,E=1,R=n.slice.call(arguments,1),b=Object.create(this.lexer),C={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(C.yy[F]=this.yy[F]);b.setInput(t,C.yy),C.yy.lexer=b,C.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var T=b.yylloc;n.push(T);var D=b.options&&b.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function j(P){i.length=i.length-2*P,p.length=p.length-P,n.length=n.length-P}o(j,"popStack");function z(){var P;return P=u.pop()||b.lex()||E,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}o(z,"lex");for(var A,W,B,q,H={},K,V,et,X;;){if(W=i[i.length-1],this.defaultActions[W]?B=this.defaultActions[W]:((A===null||typeof A>"u")&&(A=z()),B=v[W]&&v[W][A]),typeof B>"u"||!B.length||!B[0]){var Q="";X=[];for(K in v[W])this.terminals_[K]&&K>L&&X.push("'"+this.terminals_[K]+"'");b.showPosition?Q="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
|
-
Expecting `+
|
|
3
|
+
Expecting `+X.join(", ")+", got '"+(this.terminals_[A]||A)+"'":Q="Parse error on line "+(I+1)+": Unexpected "+(A==E?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(Q,{text:b.match,token:this.terminals_[A]||A,line:b.yylineno,loc:T,expected:X})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+A);switch(B[0]){case 1:i.push(A),p.push(b.yytext),n.push(b.yylloc),i.push(B[1]),A=null,S=b.yyleng,w=b.yytext,I=b.yylineno,T=b.yylloc;break;case 2:if(V=this.productions_[B[1]][1],H.$=p[p.length-V],H._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},D&&(H._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),q=this.performAction.apply(H,[w,S,I,C.yy,B[1],p,n].concat(R)),typeof q<"u")return q;V&&(i=i.slice(0,-1*V*2),p=p.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[B[1]][0]),p.push(H.$),n.push(H._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var M={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===u.length?this.yylloc.first_column:0)+u[u.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
5
5
|
`+s+"^"},"showPosition"),test_match:o(function(t,s){var i,u,p;if(this.options.backtrack_lexer&&(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(p.yylloc.range=this.yylloc.range.slice(0))),u=t[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in p)this[n]=p[n];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,s,i,u;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),n=0;n<p.length;n++)if(i=this._input.match(this.rules[p[n]]),i&&(!s||i[0].length>s[0].length)){if(s=i,u=n,this.options.backtrack_lexer){if(t=this.test_match(i,p[n]),t!==!1)return t;if(this._backtrack){s=!1;continue}else return!1}else if(!this.options.flex)break}return s?(t=this.test_match(s,p[u]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var s=this.next();return s||this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){var s=this.conditionStack.length-1;return s>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},"topState"),pushState:o(function(s){this.begin(s)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(s,i,u,p){switch(u){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return M})();N.lexer=O;function $(){this.yy={}}return o($,"Parser"),$.prototype=N,N.Parser=$,new $})();tt.parser=tt;var xt=tt,Z,vt=(Z=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,ft()}getRoot(){return this.root}addNode(h,r){const a=pt.sanitizeText(r,ot());if(!this.root){this.root={text:a,children:[]},this.stack=[{level:0,node:this.root}],it(a);return}this.baseLevel??(this.baseLevel=h);let l=h-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();const y=this.stack[this.stack.length-1].node,f={text:a,children:[]};y.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return gt()}setAccTitle(h){kt(h)}getAccDescription(){return mt()}setAccDescription(h){wt(h)}getDiagramTitle(){return _t()}setDiagramTitle(h){it(h)}},o(Z,"IshikawaDB"),Z),St=14,G=250,$t=30,Et=60,At=5,ht=82*Math.PI/180,st=Math.cos(ht),nt=Math.sin(ht),at=o((e,h,r)=>{const a=e.node().getBBox(),l=a.width+h*2,y=a.height+h*2;bt(e,y,l,r),e.attr("viewBox",`${a.x-h} ${a.y-h} ${l} ${y}`)},"applyPaddedViewBox"),It=o((e,h,r,a)=>{var C,
|
|
7
|
-
`)},"wrapText"),
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var s=this.next();return s||this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){var s=this.conditionStack.length-1;return s>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},"topState"),pushState:o(function(s){this.begin(s)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(s,i,u,p){switch(u){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return M})();N.lexer=O;function $(){this.yy={}}return o($,"Parser"),$.prototype=N,N.Parser=$,new $})();tt.parser=tt;var xt=tt,Z,vt=(Z=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,ft()}getRoot(){return this.root}addNode(h,r){const a=pt.sanitizeText(r,ot());if(!this.root){this.root={text:a,children:[]},this.stack=[{level:0,node:this.root}],it(a);return}this.baseLevel??(this.baseLevel=h);let l=h-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();const y=this.stack[this.stack.length-1].node,f={text:a,children:[]};y.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return gt()}setAccTitle(h){kt(h)}getAccDescription(){return mt()}setAccDescription(h){wt(h)}getDiagramTitle(){return _t()}setDiagramTitle(h){it(h)}},o(Z,"IshikawaDB"),Z),St=14,G=250,$t=30,Et=60,At=5,ht=82*Math.PI/180,st=Math.cos(ht),nt=Math.sin(ht),at=o((e,h,r)=>{const a=e.node().getBBox(),l=a.width+h*2,y=a.height+h*2;bt(e,y,l,r),e.attr("viewBox",`${a.x-h} ${a.y-h} ${l} ${y}`)},"applyPaddedViewBox"),It=o((e,h,r,a)=>{var C,F;const y=a.db.getRoot();if(!y)return;const f=ot(),{look:d,handDrawnSeed:m,themeVariables:c}=f,k=ut(f.fontSize)[0]??St,g=d==="handDrawn",_=y.children??[],x=((C=f.ishikawa)==null?void 0:C.diagramPadding)??20,N=((F=f.ishikawa)==null?void 0:F.useMaxWidth)??!1,O=dt(h),$=O.append("g").attr("class","ishikawa"),M=g?yt.svg(O.node()):void 0,t=M?{roughSvg:M,seed:m??0,lineColor:(c==null?void 0:c.lineColor)??"#333",fillColor:(c==null?void 0:c.mainBkg)??"#fff"}:void 0,s=`ishikawa-arrow-${h}`;g||$.append("defs").append("marker").attr("id",s).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let i=0,u=G;const p=g?void 0:U($,i,u,i,u,"ishikawa-spine");if(Lt($,i,u,y.text,k,t),!_.length){g&&U($,i,u,i,u,"ishikawa-spine",t),at(O,x,N);return}i-=20;const n=_.filter((T,D)=>D%2===0),v=_.filter((T,D)=>D%2===1),w=rt(n),I=rt(v),S=w.total+I.total;let L=G,E=G;if(S>0){const T=G*2,D=G*.3;L=Math.max(D,T*(w.total/S)),E=Math.max(D,T*(I.total/S))}const R=k*2;L=Math.max(L,w.max*R),E=Math.max(E,I.max*R),u=Math.max(L,G),p&&p.attr("y1",u).attr("y2",u),$.select(".ishikawa-head-group").attr("transform",`translate(0,${u})`);const b=Math.ceil(_.length/2);for(let T=0;T<b;T++){const D=$.append("g").attr("class","ishikawa-pair");for(const[j,z,A]of[[_[T*2],-1,L],[_[T*2+1],1,E]])j&&Pt(D,j,i,u,z,A,k,t);i=D.selectAll("text").nodes().reduce((j,z)=>Math.min(j,z.getBBox().x),1/0)}if(g)U($,i,u,0,u,"ishikawa-spine",t);else{p.attr("x1",i);const T=`url(#${s})`;$.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",T)}at(O,x,N)},"draw"),rt=o(e=>{const h=o(r=>r.children.reduce((a,l)=>a+1+h(l),0),"countDescendants");return e.reduce((r,a)=>{const l=h(a);return r.total+=l,r.max=Math.max(r.max,l),r},{total:0,max:0})},"sideStats"),Lt=o((e,h,r,a,l,y)=>{const f=Math.max(6,Math.floor(110/(l*.6))),d=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${h},${r})`),m=Y(d,ct(a,f),0,0,"ishikawa-head-label","start",l),c=m.node().getBBox(),k=Math.max(60,c.width+6),g=Math.max(40,c.height*2+40),_=`M 0 ${-g/2} L 0 ${g/2} Q ${k*2.4} 0 0 ${-g/2} Z`;if(y){const x=y.roughSvg.path(_,{roughness:1.5,seed:y.seed,fill:y.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:y.lineColor,strokeWidth:2});d.insert(()=>x,":first-child").attr("class","ishikawa-head")}else d.insert("path",":first-child").attr("class","ishikawa-head").attr("d",_);m.attr("transform",`translate(${(k-c.width)/2-c.x+3},${-c.y-c.height/2})`)},"drawHead"),Tt=o((e,h)=>{const r=[],a=[],l=o((y,f,d)=>{const m=h===-1?[...y].reverse():y;for(const c of m){const k=r.length,g=c.children??[];r.push({depth:d,text:ct(c.text,15),parentIndex:f,childCount:g.length}),d%2===0?(a.push(k),g.length&&l(g,k,d+1)):(g.length&&l(g,k,d+1),a.push(k))}},"walk");return l(e,-1,2),{entries:r,yOrder:a}},"flattenTree"),Mt=o((e,h,r,a,l,y,f)=>{const d=e.append("g").attr("class","ishikawa-label-group"),c=Y(d,h,r,a+11*l,"ishikawa-label cause","middle",y).node().getBBox();if(f){const k=f.roughSvg.rectangle(c.x-20,c.y-2,c.width+40,c.height+4,{roughness:1.5,seed:f.seed,fill:f.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:f.lineColor,strokeWidth:2});d.insert(()=>k,":first-child").attr("class","ishikawa-label-box")}else d.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",c.x-20).attr("y",c.y-2).attr("width",c.width+40).attr("height",c.height+4)},"drawCauseLabel"),J=o((e,h,r,a,l,y)=>{const f=Math.sqrt(a*a+l*l);if(f===0)return;const d=a/f,m=l/f,c=6,k=-m*c,g=d*c,_=h,x=r,N=`M ${_} ${x} L ${_-d*c*2+k} ${x-m*c*2+g} L ${_-d*c*2-k} ${x-m*c*2-g} Z`,O=y.roughSvg.path(N,{roughness:1,seed:y.seed,fill:y.lineColor,fillStyle:"solid",stroke:y.lineColor,strokeWidth:1});e.append(()=>O)},"drawArrowMarker"),Pt=o((e,h,r,a,l,y,f,d)=>{const m=h.children??[],c=y*(m.length?1:.2),k=-st*c,g=nt*c*l,_=r+k,x=a+g;if(U(e,r,a,_,x,"ishikawa-branch",d),d&&J(e,r,a,r-_,a-x,d),Mt(e,h.text,_,x,l,f,d),!m.length)return;const{entries:N,yOrder:O}=Tt(m,l),$=N.length,M=new Array($);for(const[p,n]of O.entries())M[n]=a+g*((p+1)/($+1));const t=new Map;t.set(-1,{x0:r,y0:a,x1:_,y1:x,childCount:m.length,childrenDrawn:0});const s=-st,i=nt*l,u=l<0?"ishikawa-label up":"ishikawa-label down";for(const[p,n]of N.entries()){const v=M[p],w=t.get(n.parentIndex),I=e.append("g").attr("class","ishikawa-sub-group");let S=0,L=0,E=0;if(n.depth%2===0){const R=w.y1-w.y0;S=lt(w.x0,w.x1,R?(v-w.y0)/R:.5),L=v,E=S-(n.childCount>0?Et+n.childCount*At:$t),U(I,S,v,E,v,"ishikawa-sub-branch",d),d&&J(I,S,v,1,0,d),Y(I,n.text,E,v,"ishikawa-label align","end",f)}else{const R=w.childrenDrawn++;S=lt(w.x0,w.x1,(w.childCount-R)/(w.childCount+1)),L=w.y0,E=S+s*((v-L)/i),U(I,S,L,E,v,"ishikawa-sub-branch",d),d&&J(I,S,L,S-E,L-v,d),Y(I,n.text,E,v,u,"end",f)}n.childCount>0&&t.set(p,{x0:S,y0:L,x1:E,y1:v,childCount:n.childCount,childrenDrawn:0})}},"drawBranch"),Bt=o(e=>e.split(/<br\s*\/?>|\n/),"splitLines"),ct=o((e,h)=>{if(e.length<=h)return e;const r=[];for(const a of e.split(/\s+/)){const l=r.length-1;l>=0&&r[l].length+1+a.length<=h?r[l]+=" "+a:r.push(a)}return r.join(`
|
|
7
|
+
`)},"wrapText"),Y=o((e,h,r,a,l,y,f)=>{const d=Bt(h),m=f*1.05,c=e.append("text").attr("class",l).attr("text-anchor",y).attr("x",r).attr("y",a-(d.length-1)*m/2);for(const[k,g]of d.entries())c.append("tspan").attr("x",r).attr("dy",k===0?0:m).text(g);return c},"drawMultilineText"),lt=o((e,h,r)=>e+(h-e)*r,"lerp"),U=o((e,h,r,a,l,y,f)=>{if(f){const d=f.roughSvg.line(h,r,a,l,{roughness:1.5,seed:f.seed,stroke:f.lineColor,strokeWidth:2});e.append(()=>d).attr("class",y);return}return e.append("line").attr("class",y).attr("x1",h).attr("y1",r).attr("x2",a).attr("y2",l)},"drawLine"),Nt={draw:It},Dt=o(e=>`
|
|
8
8
|
.ishikawa .ishikawa-spine,
|
|
9
9
|
.ishikawa .ishikawa-branch,
|
|
10
10
|
.ishikawa .ishikawa-sub-branch {
|