@jackuait/blok 0.11.1 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -1
- package/NOTICE +10 -0
- package/README.md +7 -1
- package/codemod/migrate-editorjs-to-blok.js +51 -1
- package/codemod/test.js +95 -0
- package/dist/blok.cjs +1 -1
- package/dist/blok.iife.js +31 -30
- package/dist/blok.mjs +2 -2
- package/dist/chunks/_basePickBy-CLCgPLk_.cjs +1 -0
- package/dist/chunks/_basePickBy-cIM18c5w.mjs +166 -0
- package/dist/chunks/_baseUniq-C3lUNj_l.mjs +682 -0
- package/dist/chunks/_baseUniq-Cm3XBb1f.cjs +1 -0
- package/dist/chunks/arc-BSr2jl4o.mjs +80 -0
- package/dist/chunks/arc-C-l7V0ww.cjs +1 -0
- package/dist/chunks/architecture-YZFGNWBL-C5uKTSqd.mjs +3 -0
- package/dist/chunks/architecture-YZFGNWBL-DopZbt9d.cjs +1 -0
- package/dist/chunks/architectureDiagram-Q4EWVU46-B3EkmUoA.cjs +36 -0
- package/dist/chunks/architectureDiagram-Q4EWVU46-DL5lPOq_.mjs +4066 -0
- package/dist/chunks/blockDiagram-DXYQGD6D-ChnytJiO.cjs +132 -0
- package/dist/chunks/blockDiagram-DXYQGD6D-DjFfRgP_.mjs +3074 -0
- package/dist/chunks/blok-B4ebnd6l.mjs +13853 -0
- package/dist/chunks/blok-k8Yo4v2F.cjs +17 -0
- package/dist/chunks/c4Diagram-AHTNJAMY-D9cwQ5dP.cjs +10 -0
- package/dist/chunks/c4Diagram-AHTNJAMY-DDydXzN1.mjs +2956 -0
- package/dist/chunks/channel-1VaVTmSI.mjs +5 -0
- package/dist/chunks/channel-DTKWBt5v.cjs +1 -0
- package/dist/chunks/chunk-2KRD3SAO-Dcv71dz8.cjs +1 -0
- package/dist/chunks/chunk-2KRD3SAO-DslQvmzC.mjs +20 -0
- package/dist/chunks/chunk-336JU56O-CUNPhOYK.mjs +49 -0
- package/dist/chunks/chunk-336JU56O-DsJvvQpB.cjs +1 -0
- package/dist/chunks/chunk-426QAEUC-Ciny2-Rz.mjs +13 -0
- package/dist/chunks/chunk-426QAEUC-DEYJ0OiL.cjs +1 -0
- package/dist/chunks/chunk-4BX2VUAB-D1dKBLiS.cjs +1 -0
- package/dist/chunks/chunk-4BX2VUAB-ljY9_i7D.mjs +19 -0
- package/dist/chunks/chunk-4TB4RGXK-C-eXrWWX.cjs +206 -0
- package/dist/chunks/chunk-4TB4RGXK-orLiGd4g.mjs +3250 -0
- package/dist/chunks/chunk-55IACEB6-BOy3ofgp.cjs +1 -0
- package/dist/chunks/chunk-55IACEB6-BPnDY27B.mjs +8 -0
- package/dist/chunks/chunk-5FUZZQ4R-D3UGwLBL.cjs +62 -0
- package/dist/chunks/chunk-5FUZZQ4R-D5gG1Dk4.mjs +3786 -0
- package/dist/chunks/chunk-5PVQY5BW-BCwqe25T.cjs +2 -0
- package/dist/chunks/chunk-5PVQY5BW-DVKx7m4a.mjs +1122 -0
- package/dist/chunks/chunk-67CJDMHE-BU_rrdV4.mjs +20 -0
- package/dist/chunks/chunk-67CJDMHE-VKwQfp25.cjs +1 -0
- package/dist/chunks/chunk-7N4EOEYR-BpM-QbmS.cjs +1 -0
- package/dist/chunks/chunk-7N4EOEYR-Cx6N1y9w.mjs +29 -0
- package/dist/chunks/chunk-AA7GKIK3-DCAy6uIg.mjs +24 -0
- package/dist/chunks/chunk-AA7GKIK3-RcaBhHiZ.cjs +1 -0
- package/dist/chunks/chunk-BSJP7CBP-BHijZ5f8.mjs +83 -0
- package/dist/chunks/chunk-BSJP7CBP-wiZ2ll8-.cjs +1 -0
- package/dist/chunks/chunk-CIAEETIT-0sn8TZoo.cjs +1 -0
- package/dist/chunks/chunk-CIAEETIT-BWpztfre.mjs +20 -0
- package/dist/chunks/chunk-EDXVE4YY-BJAhHZ3a.mjs +26 -0
- package/dist/chunks/chunk-EDXVE4YY-CXhcVSEI.cjs +1 -0
- package/dist/chunks/chunk-ENJZ2VHE-BgpbBBSF.cjs +10 -0
- package/dist/chunks/chunk-ENJZ2VHE-COIAdqL4.mjs +566 -0
- package/dist/chunks/chunk-FMBD7UC4-CUTvay8e.mjs +5 -0
- package/dist/chunks/chunk-FMBD7UC4-DCJ-fphu.cjs +15 -0
- package/dist/chunks/chunk-FOC6F5B3-3FOtyf3P.mjs +20 -0
- package/dist/chunks/chunk-FOC6F5B3-C2-FyqYn.cjs +1 -0
- package/dist/chunks/chunk-ICPOFSXX-BUWZvUuu.cjs +122 -0
- package/dist/chunks/chunk-ICPOFSXX-Dn5WbEeN.mjs +3290 -0
- package/dist/chunks/chunk-K5T4RW27-CX5gsk1T.cjs +94 -0
- package/dist/chunks/chunk-K5T4RW27-De7GqZCP.mjs +16372 -0
- package/dist/chunks/chunk-KGLVRYIC-Cwvjry7S.cjs +1 -0
- package/dist/chunks/chunk-KGLVRYIC-sDQUxLS7.mjs +20 -0
- package/dist/chunks/chunk-LIHQZDEY-BC8om0l2.cjs +1 -0
- package/dist/chunks/chunk-LIHQZDEY-BoY9X2Wj.mjs +55 -0
- package/dist/chunks/chunk-ORNJ4GCN-CYLjqcXc.mjs +25 -0
- package/dist/chunks/chunk-ORNJ4GCN-CoC7A1vn.cjs +1 -0
- package/dist/chunks/chunk-OYMX7WX6-Bbwq_g2w.mjs +2038 -0
- package/dist/chunks/chunk-OYMX7WX6-D3csU8-J.cjs +231 -0
- package/dist/chunks/chunk-QZHKN3VN-Bs3XaH0U.mjs +12 -0
- package/dist/chunks/chunk-QZHKN3VN-Db_x7kn8.cjs +1 -0
- package/dist/chunks/chunk-U2HBQHQK-CEwYxA8R.cjs +70 -0
- package/dist/chunks/chunk-U2HBQHQK-DLyzqElq.mjs +1875 -0
- package/dist/chunks/chunk-X2U36JSP-BY9JBwLQ.cjs +1 -0
- package/dist/chunks/chunk-X2U36JSP-UKGkP2m1.mjs +68 -0
- package/dist/chunks/chunk-XPW4576I-2i_ZgZLs.mjs +1146 -0
- package/dist/chunks/chunk-XPW4576I-Ym5mFsxv.cjs +32 -0
- package/dist/chunks/chunk-YZCP3GAM-C2GbOoUx.mjs +60 -0
- package/dist/chunks/chunk-YZCP3GAM-WMeXt5aH.cjs +1 -0
- package/dist/chunks/chunk-ZZ45TVLE-CeD1lNAB.cjs +1 -0
- package/dist/chunks/chunk-ZZ45TVLE-DyYus02Y.mjs +33 -0
- package/dist/chunks/classDiagram-6PBFFD2Q-DNHZ3qE5.mjs +30 -0
- package/dist/chunks/classDiagram-6PBFFD2Q-DWcC9USb.cjs +1 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-BXKTiJNh.cjs +1 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-GgfA5-jG.mjs +30 -0
- package/dist/chunks/clone-DeEumpiC.mjs +8 -0
- package/dist/chunks/clone-gX2HWen_.cjs +1 -0
- package/dist/chunks/constants-BsyOzSoJ.mjs +3432 -0
- package/dist/chunks/constants-DGaNl2M0.cjs +457 -0
- package/dist/chunks/cose-bilkent-S5V4N54A-BuQ-Gx1y.mjs +2246 -0
- package/dist/chunks/cose-bilkent-S5V4N54A-CdxjlgEx.cjs +1 -0
- package/dist/chunks/dagre-BVQ5RQE_.mjs +1483 -0
- package/dist/chunks/dagre-D9QEFKwC.cjs +1 -0
- package/dist/chunks/dagre-KV5264BT-BxQkkVxZ.mjs +298 -0
- package/dist/chunks/dagre-KV5264BT-Dz_FEBZU.cjs +4 -0
- package/dist/chunks/diagram-5BDNPKRD-Cf9AymAx.cjs +10 -0
- package/dist/chunks/diagram-5BDNPKRD-joiZwmh1.mjs +112 -0
- package/dist/chunks/diagram-G4DWMVQ6-3CAnipxw.cjs +24 -0
- package/dist/chunks/diagram-G4DWMVQ6-DrvbpYBX.mjs +546 -0
- package/dist/chunks/diagram-MMDJMWI5-B3CwY62T.mjs +234 -0
- package/dist/chunks/diagram-MMDJMWI5-DMrk0xwH.cjs +43 -0
- package/dist/chunks/diagram-TYMM5635-B3g66i1E.mjs +144 -0
- package/dist/chunks/diagram-TYMM5635-BAuYHtjV.cjs +24 -0
- package/dist/chunks/erDiagram-SMLLAGMA-4Ks-44BH.cjs +85 -0
- package/dist/chunks/erDiagram-SMLLAGMA-Bw6U_hHz.mjs +1712 -0
- package/dist/chunks/flowDiagram-DWJPFMVM-D2yMfIFs.mjs +4175 -0
- package/dist/chunks/flowDiagram-DWJPFMVM-O6dDtont.cjs +162 -0
- package/dist/chunks/ganttDiagram-T4ZO3ILL-D-ymktbJ.cjs +292 -0
- package/dist/chunks/ganttDiagram-T4ZO3ILL-SEs0Ez0p.mjs +3083 -0
- package/dist/chunks/gitGraph-7Q5UKJZL-BLhgGqhG.cjs +1 -0
- package/dist/chunks/gitGraph-7Q5UKJZL-DbRxS8Lo.mjs +3 -0
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-BSuqMw-A.cjs +106 -0
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-BpVIPN2N.mjs +792 -0
- package/dist/chunks/graphlib-C2L_nEcM.cjs +1 -0
- package/dist/chunks/graphlib-Cpp6Todw.mjs +225 -0
- package/dist/chunks/i18next-loader-BJAXtkt3.cjs +1 -0
- package/dist/chunks/i18next-loader-dnJtS6Nb.mjs +35 -0
- package/dist/chunks/info-OMHHGYJF-BRxQdcvB.mjs +3 -0
- package/dist/chunks/info-OMHHGYJF-Cb4wPKNP.cjs +1 -0
- package/dist/chunks/infoDiagram-42DDH7IO-BNAE_Dp2.cjs +2 -0
- package/dist/chunks/infoDiagram-42DDH7IO-JYmpv-Gn.mjs +29 -0
- package/dist/chunks/isEmpty-BYDpYNyM.cjs +1 -0
- package/dist/chunks/isEmpty-Bgy1eL0m.mjs +35 -0
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-Ca_1igMn.cjs +70 -0
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-ClkZz1Tc.mjs +719 -0
- package/dist/chunks/journeyDiagram-VCZTEJTY-BTzeo896.mjs +885 -0
- package/dist/chunks/journeyDiagram-VCZTEJTY-D69nfb5v.cjs +139 -0
- package/dist/chunks/kanban-definition-6JOO6SKY-BTSuFyjj.cjs +89 -0
- package/dist/chunks/kanban-definition-6JOO6SKY-C2Jk5rDA.mjs +980 -0
- package/dist/chunks/lightweight-i18n-T_Nc45AF.cjs +1 -0
- package/dist/chunks/lightweight-i18n-qpzXlOVm.mjs +344 -0
- package/dist/chunks/line-CjJKN63i.cjs +1 -0
- package/dist/chunks/line-zarcRAiW.mjs +34 -0
- package/dist/chunks/linear-CDUWrVHa.cjs +1 -0
- package/dist/chunks/linear-CXe29GGg.mjs +289 -0
- package/dist/chunks/mdast-util-math-BfFBcnFx.cjs +5 -0
- package/dist/chunks/mdast-util-math-CqPx3t0S.mjs +151 -0
- package/dist/chunks/mermaid-parser.core-BXANIhlc.mjs +57 -0
- package/dist/chunks/mermaid-parser.core-DMmP6uoD.cjs +3 -0
- package/dist/chunks/mermaid.core-A4e6ZJqs.mjs +977 -0
- package/dist/chunks/mermaid.core-C66G0J-z.cjs +10 -0
- package/dist/chunks/messages--BWLKiOP2.mjs +319 -0
- package/dist/chunks/messages--LI6Qp0h.mjs +319 -0
- package/dist/chunks/messages-4TiLLTpr2.cjs +1 -0
- package/dist/chunks/messages-7ul_s8GB2.mjs +319 -0
- package/dist/chunks/messages-8BZGqPD1.cjs +1 -0
- package/dist/chunks/messages-96ztlozp.cjs +1 -0
- package/dist/chunks/messages-B-_ZQLp5.mjs +319 -0
- package/dist/chunks/messages-B1YSYW3Y.cjs +1 -0
- package/dist/chunks/messages-B3E33lPt2.mjs +319 -0
- package/dist/chunks/messages-BABN8cuN.mjs +319 -0
- package/dist/chunks/messages-BDAXqxYw.cjs +1 -0
- package/dist/chunks/messages-BE0YZo6f.cjs +1 -0
- package/dist/chunks/messages-BIg9D7T52.cjs +1 -0
- package/dist/chunks/messages-BKtPvquH2.mjs +319 -0
- package/dist/chunks/messages-BMKq6Ps12.cjs +1 -0
- package/dist/chunks/messages-BMqvMau_2.mjs +319 -0
- package/dist/chunks/messages-BNmaVDtf.mjs +319 -0
- package/dist/chunks/messages-BRRMkfZY2.cjs +1 -0
- package/dist/chunks/messages-BUg0EGM6.cjs +1 -0
- package/dist/chunks/messages-BV88VXs-2.mjs +319 -0
- package/dist/chunks/messages-BVAjj_W_2.mjs +319 -0
- package/dist/chunks/messages-BWd6mmTm.mjs +319 -0
- package/dist/chunks/messages-BXce9Dbm.mjs +319 -0
- package/dist/chunks/messages-B_OU8dr_.mjs +319 -0
- package/dist/chunks/messages-B_VpqVFy.mjs +319 -0
- package/dist/chunks/messages-B_t9669l.mjs +319 -0
- package/dist/chunks/messages-Begh-7SQ.cjs +1 -0
- package/dist/chunks/messages-BfTeMiOT.cjs +1 -0
- package/dist/chunks/messages-BguYUD04.cjs +1 -0
- package/dist/chunks/messages-Bi5NKhkL.cjs +1 -0
- package/dist/chunks/messages-BliJJjNK2.cjs +1 -0
- package/dist/chunks/messages-BmSnovX9.cjs +1 -0
- package/dist/chunks/messages-BoZAdwRU2.mjs +319 -0
- package/dist/chunks/messages-Bp-PMdAJ.mjs +319 -0
- package/dist/chunks/messages-BphoNqXl2.mjs +319 -0
- package/dist/chunks/messages-Bs5HM4rw2.cjs +1 -0
- package/dist/chunks/messages-BtZSlvVR.cjs +1 -0
- package/dist/chunks/messages-Btg_N5Nj2.cjs +1 -0
- package/dist/chunks/messages-C67MLHmh.cjs +1 -0
- package/dist/chunks/messages-C6RXCX1D2.mjs +319 -0
- package/dist/chunks/messages-C6Zo4thu.mjs +319 -0
- package/dist/chunks/messages-C7QEUxQf2.cjs +1 -0
- package/dist/chunks/messages-CB-RDoMj2.cjs +1 -0
- package/dist/chunks/messages-CBOtPEE5.cjs +1 -0
- package/dist/chunks/messages-CBoKI_4k2.mjs +319 -0
- package/dist/chunks/messages-CCMMPgcH.mjs +319 -0
- package/dist/chunks/messages-CFvaU-9Q2.mjs +319 -0
- package/dist/chunks/messages-CHDxRwD8.mjs +319 -0
- package/dist/chunks/messages-CJWSRA8r.cjs +1 -0
- package/dist/chunks/messages-CJaj0WrV.mjs +319 -0
- package/dist/chunks/messages-CLnZAk7s.mjs +319 -0
- package/dist/chunks/messages-CNWWk9zU.cjs +1 -0
- package/dist/chunks/messages-CO4IPaU22.mjs +319 -0
- package/dist/chunks/messages-CQii-Hly.mjs +319 -0
- package/dist/chunks/messages-CSPoZeJd.cjs +1 -0
- package/dist/chunks/messages-CThWJOaj2.cjs +1 -0
- package/dist/chunks/messages-CWbag2W1.mjs +319 -0
- package/dist/chunks/messages-CWfPtitC.mjs +319 -0
- package/dist/chunks/messages-CYh8BT-U2.cjs +1 -0
- package/dist/chunks/messages-CZAwmrBN2.mjs +319 -0
- package/dist/chunks/messages-CcmzbJED2.mjs +319 -0
- package/dist/chunks/messages-Cdp2ao16.cjs +1 -0
- package/dist/chunks/messages-CeSGFPaX.mjs +319 -0
- package/dist/chunks/messages-CfmN_C_V2.cjs +1 -0
- package/dist/chunks/messages-CgTWiYXl.mjs +319 -0
- package/dist/chunks/messages-CiqFmj282.mjs +319 -0
- package/dist/chunks/messages-Cj1I1bdS.mjs +319 -0
- package/dist/chunks/messages-CktwPONk2.cjs +1 -0
- package/dist/chunks/messages-ClMbt_082.cjs +1 -0
- package/dist/chunks/messages-ClfpoVLB.cjs +1 -0
- package/dist/chunks/messages-CmcpUpmY2.cjs +1 -0
- package/dist/chunks/messages-CnNUiCOF2.cjs +1 -0
- package/dist/chunks/messages-Cq-tyBQ7.cjs +1 -0
- package/dist/chunks/messages-Cqs6tnMT.mjs +319 -0
- package/dist/chunks/messages-CrPQatEP.cjs +1 -0
- package/dist/chunks/messages-CtNhn2A72.cjs +1 -0
- package/dist/chunks/messages-Cw-JQsbB.cjs +1 -0
- package/dist/chunks/messages-CxLZNPP22.mjs +319 -0
- package/dist/chunks/messages-D2to7PFh.mjs +319 -0
- package/dist/chunks/messages-D7GNxw46.cjs +1 -0
- package/dist/chunks/messages-DDqbUQPS2.cjs +1 -0
- package/dist/chunks/messages-DIsfRggy.mjs +319 -0
- package/dist/chunks/messages-DLvqdeVe.mjs +319 -0
- package/dist/chunks/messages-DMukq8ei2.cjs +1 -0
- package/dist/chunks/messages-DOJ7TGKc.mjs +319 -0
- package/dist/chunks/messages-DPpKBEMV.mjs +319 -0
- package/dist/chunks/messages-DWDt4hEW.mjs +319 -0
- package/dist/chunks/messages-DYPc3t5L.cjs +1 -0
- package/dist/chunks/messages-DYRRi1JW.mjs +319 -0
- package/dist/chunks/messages-DYbP7_iL.cjs +1 -0
- package/dist/chunks/messages-D_gbD8W22.mjs +319 -0
- package/dist/chunks/messages-DaQ1XgNk.mjs +319 -0
- package/dist/chunks/messages-DjW1_-Ba2.mjs +319 -0
- package/dist/chunks/messages-Dop11yxi.mjs +319 -0
- package/dist/chunks/messages-DoyFY1Ye.mjs +319 -0
- package/dist/chunks/messages-DpjZ6YjX.cjs +1 -0
- package/dist/chunks/messages-DprfonW1.mjs +319 -0
- package/dist/chunks/messages-Dq8w46wu.cjs +1 -0
- package/dist/chunks/messages-DqbBTg1F2.mjs +319 -0
- package/dist/chunks/messages-DsGOj3A62.cjs +1 -0
- package/dist/chunks/messages-Dt6sbdaY.mjs +319 -0
- package/dist/chunks/messages-Dv3xqn-c.mjs +319 -0
- package/dist/chunks/messages-DwZCK3WR2.cjs +1 -0
- package/dist/chunks/messages-G-grLA6L2.cjs +1 -0
- package/dist/chunks/messages-HmyGBKiy2.cjs +1 -0
- package/dist/chunks/messages-IsKrH6md2.mjs +319 -0
- package/dist/chunks/messages-L1H9KlM8.cjs +1 -0
- package/dist/chunks/messages-OwCNaUA2.cjs +1 -0
- package/dist/chunks/messages-Q1fgq2tw.cjs +1 -0
- package/dist/chunks/messages-RLMDvD9N.mjs +319 -0
- package/dist/chunks/messages-SGrUP3jU2.mjs +319 -0
- package/dist/chunks/messages-TET2HqbJ.mjs +319 -0
- package/dist/chunks/messages-UR9AknuE.cjs +1 -0
- package/dist/chunks/messages-UXbrSqP4.mjs +319 -0
- package/dist/chunks/messages-UlQUIo4t.cjs +1 -0
- package/dist/chunks/messages-VO5bBaDw2.cjs +1 -0
- package/dist/chunks/messages-Vz-ouTEN.mjs +319 -0
- package/dist/chunks/messages-Z5hg0_Dz2.mjs +319 -0
- package/dist/chunks/messages-bBZDrpto2.mjs +319 -0
- package/dist/chunks/messages-ipwQdTtE.cjs +1 -0
- package/dist/chunks/messages-jXbN1DEs.mjs +319 -0
- package/dist/chunks/messages-kon7ablY2.cjs +1 -0
- package/dist/chunks/messages-oeTrLt0-.cjs +1 -0
- package/dist/chunks/messages-qga5_rrO.cjs +1 -0
- package/dist/chunks/messages-sEnNaZIo.cjs +1 -0
- package/dist/chunks/messages-szOBKu5g.cjs +1 -0
- package/dist/chunks/messages-tZ7nZ7qL.cjs +1 -0
- package/dist/chunks/messages-u_dR89Qy.mjs +319 -0
- package/dist/chunks/messages-wDo4f3f9.cjs +1 -0
- package/dist/chunks/messages-wxVdFEgz2.mjs +319 -0
- package/dist/chunks/messages-x3ljzuuQ2.cjs +1 -0
- package/dist/chunks/messages-x6wDbfws2.mjs +319 -0
- package/dist/chunks/messages-ygmjC_Dc.cjs +1 -0
- package/dist/chunks/messages-zPVJyoxM.cjs +1 -0
- package/dist/chunks/micromark-extension-math-Cm8w3ABm.cjs +1 -0
- package/dist/chunks/micromark-extension-math-cDSPzUWY.mjs +169 -0
- package/dist/chunks/mindmap-definition-QFDTVHPH-DLO594eM.cjs +96 -0
- package/dist/chunks/mindmap-definition-QFDTVHPH-QxqvL96A.mjs +1013 -0
- package/dist/chunks/notifier-CfO3Icvp.cjs +1 -0
- package/dist/chunks/notifier-DMdYq9FS.mjs +73 -0
- package/dist/chunks/ordinal-DgAmiD5I.mjs +65 -0
- package/dist/chunks/ordinal-mgpK7IL3.cjs +1 -0
- package/dist/chunks/packet-4T2RLAQJ-BQYK4Pey.cjs +1 -0
- package/dist/chunks/packet-4T2RLAQJ-BwgNXqij.mjs +3 -0
- package/dist/chunks/pie-ZZUOXDRM-BLh1-ocA.cjs +1 -0
- package/dist/chunks/pie-ZZUOXDRM-CrDtyZu4.mjs +3 -0
- package/dist/chunks/pieDiagram-DEJITSTG-CGduyUgA.mjs +179 -0
- package/dist/chunks/pieDiagram-DEJITSTG-Do5jGsL7.cjs +30 -0
- package/dist/chunks/prism-bash-OGjZLOVe.cjs +1 -0
- package/dist/chunks/prism-bash-oISNNULp.mjs +175 -0
- package/dist/chunks/prism-c-1g9CdJOp.cjs +1 -0
- package/dist/chunks/prism-c-MtM8JocP.mjs +54 -0
- package/dist/chunks/prism-cpp-CORR584T.cjs +1 -0
- package/dist/chunks/prism-cpp-DswQJFJz.mjs +63 -0
- package/dist/chunks/prism-csharp-BqZp_TTb.cjs +1 -0
- package/dist/chunks/prism-csharp-GIfQrsqe.mjs +236 -0
- package/dist/chunks/prism-css-BLyqeHZR.mjs +55 -0
- package/dist/chunks/prism-css-DmF38Kcs.cjs +1 -0
- package/dist/chunks/prism-dart-CFseeodJ.cjs +1 -0
- package/dist/chunks/prism-dart-DbCi1QVI.mjs +52 -0
- package/dist/chunks/prism-docker-BOsXo4aW.cjs +1 -0
- package/dist/chunks/prism-docker-CUCbqggk.mjs +75 -0
- package/dist/chunks/prism-go-DVHXGmKb.mjs +20 -0
- package/dist/chunks/prism-go-DsEyoP6D.cjs +1 -0
- package/dist/chunks/prism-graphql-DGEYZFbw.mjs +114 -0
- package/dist/chunks/prism-graphql-DqXh7GRP.cjs +1 -0
- package/dist/chunks/prism-java-CzQtfd6W.mjs +99 -0
- package/dist/chunks/prism-java-DQn4zrh0.cjs +1 -0
- package/dist/chunks/prism-javascript-CAkVOGaq.mjs +101 -0
- package/dist/chunks/prism-javascript-UQPp4ffL.cjs +1 -0
- package/dist/chunks/prism-json-B-63BF6R.cjs +1 -0
- package/dist/chunks/prism-json-BSGjg8pt.mjs +25 -0
- package/dist/chunks/prism-kotlin-D9r_epW6.mjs +64 -0
- package/dist/chunks/prism-kotlin-DmCIViWe.cjs +1 -0
- package/dist/chunks/prism-latex-Bcpg2uQr.cjs +1 -0
- package/dist/chunks/prism-latex-o70KNu9w.mjs +43 -0
- package/dist/chunks/prism-lua-7od8jpGg.mjs +17 -0
- package/dist/chunks/prism-lua-DyMxrgA_.cjs +1 -0
- package/dist/chunks/prism-markdown-BY8dZr_8.cjs +1 -0
- package/dist/chunks/prism-markdown-CI62y6qt.mjs +251 -0
- package/dist/chunks/prism-markup-DFqZi51m.mjs +116 -0
- package/dist/chunks/prism-markup-OdaHxDBn.cjs +1 -0
- package/dist/chunks/prism-markup-templating-Cnde-rJf.cjs +1 -0
- package/dist/chunks/prism-markup-templating-DTIDwO2f.mjs +39 -0
- package/dist/chunks/prism-php-BFUaOiLc.mjs +277 -0
- package/dist/chunks/prism-php-D8NgAYtH.cjs +1 -0
- package/dist/chunks/prism-python-CTRSlrPP.mjs +59 -0
- package/dist/chunks/prism-python-vAqxHcox.cjs +1 -0
- package/dist/chunks/prism-r-AA_ZuQPX.mjs +19 -0
- package/dist/chunks/prism-r-BsUW1w_m.cjs +1 -0
- package/dist/chunks/prism-ruby-BttDevO3.mjs +156 -0
- package/dist/chunks/prism-ruby-D7wGSPCx.cjs +1 -0
- package/dist/chunks/prism-rust-1wrW82hd.mjs +92 -0
- package/dist/chunks/prism-rust-C65Pn3Oc.cjs +1 -0
- package/dist/chunks/prism-scala-C26iL30s.mjs +43 -0
- package/dist/chunks/prism-scala-DuAsLUh6.cjs +1 -0
- package/dist/chunks/prism-sql-CSv-2hNx.mjs +29 -0
- package/dist/chunks/prism-sql-DHhl_Wd1.cjs +1 -0
- package/dist/chunks/prism-swift-2HH6IALG.cjs +1 -0
- package/dist/chunks/prism-swift-ik83oO-E.mjs +94 -0
- package/dist/chunks/prism-typescript-ChaS5gh3.mjs +38 -0
- package/dist/chunks/prism-typescript-Cuqi9QKv.cjs +1 -0
- package/dist/chunks/prism-yaml-BT2oArqa.cjs +1 -0
- package/dist/chunks/prism-yaml-YI3VZVAw.mjs +68 -0
- package/dist/chunks/quadrantDiagram-34T5L4WZ-BdwmsqYk.cjs +7 -0
- package/dist/chunks/quadrantDiagram-34T5L4WZ-BiqiWPbj.mjs +1960 -0
- package/dist/chunks/radar-PYXPWWZC-CYtB39az.mjs +3 -0
- package/dist/chunks/radar-PYXPWWZC-Drac9aGm.cjs +1 -0
- package/dist/chunks/requirementDiagram-MS252O5E-Cko4AhA2.mjs +2224 -0
- package/dist/chunks/requirementDiagram-MS252O5E-DBRLVWVl.cjs +84 -0
- package/dist/chunks/sankeyDiagram-XADWPNL6-BFWIr9AZ.mjs +909 -0
- package/dist/chunks/sankeyDiagram-XADWPNL6-Dq3Fi6gG.cjs +10 -0
- package/dist/chunks/sequenceDiagram-FGHM5R23-BKKZAG9O.cjs +157 -0
- package/dist/chunks/sequenceDiagram-FGHM5R23-DHFzzYeT.mjs +4181 -0
- package/dist/chunks/stateDiagram-FHFEXIEX-B1vJTyiJ.mjs +218 -0
- package/dist/chunks/stateDiagram-FHFEXIEX-DsHbgVAE.cjs +1 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-DC206QSk.mjs +28 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-DzkxV3pL.cjs +1 -0
- package/dist/chunks/timeline-definition-GMOUNBTQ-BlXvHIKp.mjs +1084 -0
- package/dist/chunks/timeline-definition-GMOUNBTQ-durCMWAX.cjs +120 -0
- package/dist/chunks/tools-CPzDYrWa.cjs +115 -0
- package/dist/chunks/tools-JNr7LO1_.mjs +13853 -0
- package/dist/chunks/treeView-SZITEDCU-BpLDxB8w.cjs +1 -0
- package/dist/chunks/treeView-SZITEDCU-DIbHFtMw.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-4t60SvLo.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-jpjSZokO.cjs +1 -0
- package/dist/chunks/vennDiagram-DHZGUBPP-BVxAvXiG.mjs +1876 -0
- package/dist/chunks/vennDiagram-DHZGUBPP-Dtpe6giP.cjs +34 -0
- package/dist/chunks/wardley-RL74JXVD-CBBTKC3H.cjs +1 -0
- package/dist/chunks/wardley-RL74JXVD-g5DNBeQ1.mjs +3 -0
- package/dist/chunks/wardleyDiagram-NUSXRM2D-BGORQqtQ.mjs +594 -0
- package/dist/chunks/wardleyDiagram-NUSXRM2D-ClsU-9PV.cjs +20 -0
- package/dist/chunks/xychartDiagram-5P7HB3ND-DplTzQI6.mjs +2017 -0
- package/dist/chunks/xychartDiagram-5P7HB3ND-EO18s7Fo.cjs +7 -0
- package/dist/full.cjs +1 -1
- package/dist/full.mjs +9 -9
- package/dist/locales.mjs +175 -68
- package/dist/markdown.cjs +2 -2
- package/dist/markdown.mjs +392 -384
- package/dist/messages-28LGzsNB.mjs +319 -0
- package/dist/messages-35X8GsGw2.mjs +319 -0
- package/dist/messages-5ygX-4B92.mjs +319 -0
- package/dist/messages-83AcZNii.mjs +319 -0
- package/dist/messages-B-OvX3Vz2.mjs +319 -0
- package/dist/messages-B56oJj_X2.mjs +319 -0
- package/dist/messages-B7peBJXJ2.mjs +319 -0
- package/dist/messages-BGwTNk0S2.mjs +319 -0
- package/dist/messages-BH-SS-wY.mjs +319 -0
- package/dist/messages-BPX8V6tu.mjs +319 -0
- package/dist/messages-BUp8P-0d.mjs +319 -0
- package/dist/messages-BX3WM02N2.mjs +319 -0
- package/dist/messages-BZrMZvRb2.mjs +319 -0
- package/dist/messages-B_0akf3T.mjs +319 -0
- package/dist/messages-BaE65Wtr.mjs +319 -0
- package/dist/messages-BdSGtvzM.mjs +319 -0
- package/dist/messages-BerXSWcD.mjs +319 -0
- package/dist/messages-BqKaz7yB2.mjs +319 -0
- package/dist/messages-BrqBJ6W_2.mjs +319 -0
- package/dist/messages-BvgGIpxE2.mjs +319 -0
- package/dist/messages-BxSe3rKx.mjs +319 -0
- package/dist/messages-ByD9AIJL2.mjs +319 -0
- package/dist/messages-CDJS_Tu2.mjs +319 -0
- package/dist/messages-CF9R29jb.mjs +319 -0
- package/dist/messages-CIbK29nM.mjs +319 -0
- package/dist/messages-CMD0tgb2.mjs +319 -0
- package/dist/messages-CMW0tO_d2.mjs +319 -0
- package/dist/messages-CMrYQJ5x2.mjs +319 -0
- package/dist/messages-CQZJnkss2.mjs +319 -0
- package/dist/messages-CRnolvNg.mjs +319 -0
- package/dist/messages-CS74u2hS2.mjs +319 -0
- package/dist/messages-CTxao0S32.mjs +319 -0
- package/dist/messages-CZl83L7T.mjs +319 -0
- package/dist/messages-C_kloJSr.mjs +319 -0
- package/dist/messages-Cfe_CPBW.mjs +319 -0
- package/dist/messages-Ch0oiQp5.mjs +319 -0
- package/dist/messages-Cigiz7tI.mjs +319 -0
- package/dist/messages-Cjac781Z.mjs +319 -0
- package/dist/messages-CqVFa1ZA.mjs +319 -0
- package/dist/messages-CwDgZL5-.mjs +319 -0
- package/dist/messages-Czd64cAx.mjs +319 -0
- package/dist/messages-CzxMz1wI.mjs +319 -0
- package/dist/messages-D2SkVxgV.mjs +319 -0
- package/dist/messages-D4ZsN52E2.mjs +319 -0
- package/dist/messages-DG0aBs1m2.mjs +319 -0
- package/dist/messages-DIkQAMxZ2.mjs +319 -0
- package/dist/messages-DJBc5_b_2.mjs +319 -0
- package/dist/messages-DN8oOcrS.mjs +319 -0
- package/dist/messages-DV5yhL0q.mjs +319 -0
- package/dist/messages-DVI1iDTn2.mjs +319 -0
- package/dist/messages-DVzrCNrY.mjs +319 -0
- package/dist/messages-DXwJOr-H2.mjs +319 -0
- package/dist/messages-D_edVQrv.mjs +319 -0
- package/dist/messages-DbODRieP.mjs +319 -0
- package/dist/messages-KMQrhAva.mjs +319 -0
- package/dist/messages-L4NsHX-g.mjs +319 -0
- package/dist/messages-PPuF4CRy.mjs +319 -0
- package/dist/messages-UTJEPSiL.mjs +319 -0
- package/dist/messages-Wa5EXypv2.mjs +319 -0
- package/dist/messages-Wfxn9jZh.mjs +319 -0
- package/dist/messages-XieI4326.mjs +319 -0
- package/dist/messages-ZASZzduy.mjs +319 -0
- package/dist/messages-Z_3X1FJJ2.mjs +319 -0
- package/dist/messages-huyV3ICu.mjs +319 -0
- package/dist/messages-rd6zBwaX2.mjs +319 -0
- package/dist/messages-sBpTj74Q.mjs +319 -0
- package/dist/messages-twD0eDdc.mjs +319 -0
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +25 -26
- package/dist/tools.cjs +1 -1
- package/dist/tools.mjs +3 -3
- package/dist/vendor.LICENSE.txt +141 -899
- package/package.json +11 -5
- package/src/components/block-tunes/block-tune-copy-link.ts +2 -2
- package/src/components/constants/data-attributes.ts +2 -0
- package/src/components/dom.ts +4 -2
- package/src/components/i18n/locales/am/messages.json +109 -1
- package/src/components/i18n/locales/ar/messages.json +109 -1
- package/src/components/i18n/locales/az/messages.json +109 -1
- package/src/components/i18n/locales/bg/messages.json +109 -1
- package/src/components/i18n/locales/bn/messages.json +109 -1
- package/src/components/i18n/locales/bs/messages.json +109 -1
- package/src/components/i18n/locales/cs/messages.json +109 -1
- package/src/components/i18n/locales/da/messages.json +109 -1
- package/src/components/i18n/locales/de/messages.json +110 -2
- package/src/components/i18n/locales/dv/messages.json +109 -1
- package/src/components/i18n/locales/el/messages.json +109 -1
- package/src/components/i18n/locales/en/messages.json +108 -1
- package/src/components/i18n/locales/es/messages.json +109 -1
- package/src/components/i18n/locales/et/messages.json +109 -1
- package/src/components/i18n/locales/fa/messages.json +109 -1
- package/src/components/i18n/locales/fi/messages.json +109 -1
- package/src/components/i18n/locales/fil/messages.json +109 -1
- package/src/components/i18n/locales/fr/messages.json +110 -2
- package/src/components/i18n/locales/gu/messages.json +109 -1
- package/src/components/i18n/locales/he/messages.json +109 -1
- package/src/components/i18n/locales/hi/messages.json +109 -1
- package/src/components/i18n/locales/hr/messages.json +109 -1
- package/src/components/i18n/locales/hu/messages.json +109 -1
- package/src/components/i18n/locales/hy/messages.json +109 -1
- package/src/components/i18n/locales/id/messages.json +109 -1
- package/src/components/i18n/locales/it/messages.json +109 -1
- package/src/components/i18n/locales/ja/messages.json +109 -1
- package/src/components/i18n/locales/ka/messages.json +109 -1
- package/src/components/i18n/locales/km/messages.json +109 -1
- package/src/components/i18n/locales/kn/messages.json +109 -1
- package/src/components/i18n/locales/ko/messages.json +109 -1
- package/src/components/i18n/locales/ku/messages.json +109 -1
- package/src/components/i18n/locales/lo/messages.json +109 -1
- package/src/components/i18n/locales/lt/messages.json +109 -1
- package/src/components/i18n/locales/lv/messages.json +109 -1
- package/src/components/i18n/locales/mk/messages.json +109 -1
- package/src/components/i18n/locales/ml/messages.json +109 -1
- package/src/components/i18n/locales/mn/messages.json +109 -1
- package/src/components/i18n/locales/mr/messages.json +109 -1
- package/src/components/i18n/locales/ms/messages.json +109 -1
- package/src/components/i18n/locales/my/messages.json +109 -1
- package/src/components/i18n/locales/ne/messages.json +109 -1
- package/src/components/i18n/locales/nl/messages.json +110 -2
- package/src/components/i18n/locales/no/messages.json +109 -1
- package/src/components/i18n/locales/pa/messages.json +109 -1
- package/src/components/i18n/locales/pl/messages.json +109 -1
- package/src/components/i18n/locales/ps/messages.json +109 -1
- package/src/components/i18n/locales/pt/messages.json +109 -1
- package/src/components/i18n/locales/ro/messages.json +109 -1
- package/src/components/i18n/locales/ru/messages.json +109 -1
- package/src/components/i18n/locales/sd/messages.json +109 -1
- package/src/components/i18n/locales/si/messages.json +109 -1
- package/src/components/i18n/locales/sk/messages.json +109 -1
- package/src/components/i18n/locales/sl/messages.json +109 -1
- package/src/components/i18n/locales/sq/messages.json +109 -1
- package/src/components/i18n/locales/sr/messages.json +109 -1
- package/src/components/i18n/locales/sv/messages.json +109 -1
- package/src/components/i18n/locales/sw/messages.json +109 -1
- package/src/components/i18n/locales/ta/messages.json +109 -1
- package/src/components/i18n/locales/te/messages.json +109 -1
- package/src/components/i18n/locales/th/messages.json +109 -1
- package/src/components/i18n/locales/tr/messages.json +109 -1
- package/src/components/i18n/locales/ug/messages.json +109 -1
- package/src/components/i18n/locales/uk/messages.json +109 -1
- package/src/components/i18n/locales/ur/messages.json +109 -1
- package/src/components/i18n/locales/vi/messages.json +109 -1
- package/src/components/i18n/locales/yi/messages.json +109 -1
- package/src/components/i18n/locales/zh/messages.json +109 -1
- package/src/components/icons/index.ts +59 -0
- package/src/components/inline-tools/inline-tool-code.ts +1 -1
- package/src/components/modules/api/toolbar.ts +6 -4
- package/src/components/modules/blockEvents/index.ts +9 -0
- package/src/components/modules/blockManager/operations.ts +14 -1
- package/src/components/modules/drag/DragController.ts +24 -3
- package/src/components/modules/paste/handlers/files-handler.ts +41 -4
- package/src/components/modules/paste/index.ts +159 -3
- package/src/components/modules/paste/tool-registry.ts +22 -12
- package/src/components/modules/toolbar/blockSettings.ts +14 -2
- package/src/components/modules/toolbar/index.ts +49 -16
- package/src/components/modules/toolbar/inline/selection-validator.ts +17 -0
- package/src/components/modules/toolbar/plus-button.ts +4 -2
- package/src/components/modules/toolbar/positioning.ts +27 -0
- package/src/components/modules/toolbar/settings-toggler.ts +16 -5
- package/src/components/modules/toolbar/tooltip.ts +59 -15
- package/src/components/modules/ui.ts +23 -8
- package/src/components/ui/toolbox.ts +92 -7
- package/src/components/utils/data-model-transform.ts +71 -1
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.const.ts +5 -4
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.ts +1 -0
- package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.const.ts +1 -1
- package/src/components/utils/popover/components/search-input/search-input.const.ts +3 -3
- package/src/components/utils/popover/popover-abstract.ts +137 -2
- package/src/components/utils/popover/popover-desktop.ts +260 -14
- package/src/components/utils/popover/popover-inline.ts +3 -2
- package/src/components/utils/popover/popover-nested-position.ts +132 -0
- package/src/components/utils/popover/popover-position.ts +46 -5
- package/src/components/utils/popover/popover.const.ts +6 -3
- package/src/components/utils/tooltip.ts +52 -8
- package/src/components/utils/top-layer.ts +137 -0
- package/src/playground/block-states-gallery.ts +123 -0
- package/src/playground/icon-gallery.ts +346 -0
- package/src/styles/checklist.css +70 -0
- package/src/styles/colors.css +723 -0
- package/src/styles/database.css +1176 -0
- package/src/styles/emoji-picker.css +58 -0
- package/src/styles/fonts.css +33 -0
- package/src/styles/image.css +1021 -0
- package/src/styles/isolation.css +204 -0
- package/src/styles/keyframes.css +62 -0
- package/src/styles/main.css +144 -2540
- package/src/styles/popover-animation.css +34 -0
- package/src/styles/preflight.css +283 -0
- package/src/styles/slash-search.css +52 -0
- package/src/styles/tables.css +154 -0
- package/src/styles/tokens.css +127 -0
- package/src/tools/callout/emoji-picker/index.ts +4 -2
- package/src/tools/callout/index.ts +0 -1
- package/src/tools/code/code-keyboard.ts +70 -8
- package/src/tools/code/constants.ts +3 -9
- package/src/tools/code/dom-builder.ts +5 -1
- package/src/tools/code/index.ts +202 -25
- package/src/tools/code/language-detector.ts +47 -52
- package/src/tools/code/prism-applier.ts +183 -0
- package/src/tools/code/prism-loader.ts +197 -0
- package/src/tools/database/database-board-view.ts +4 -2
- package/src/tools/database/database-card-drawer.ts +3 -2
- package/src/tools/database/database-list-view.ts +1 -1
- package/src/tools/database/database-model.ts +15 -3
- package/src/tools/database/database-property-type-popover.ts +14 -10
- package/src/tools/database/database-tab-bar.ts +9 -3
- package/src/tools/database/database-view-popover.ts +15 -7
- package/src/tools/database/index.ts +0 -2
- package/src/tools/header/index.ts +6 -6
- package/src/tools/image/alt-popover.css +42 -0
- package/src/tools/image/alt-popover.ts +104 -0
- package/src/tools/image/constants.ts +25 -0
- package/src/tools/image/crop-editor.css +513 -0
- package/src/tools/image/crop-editor.ts +331 -0
- package/src/tools/image/crop-math.ts +117 -0
- package/src/tools/image/crop-modal.css +105 -0
- package/src/tools/image/crop-modal.ts +92 -0
- package/src/tools/image/empty-state.ts +407 -0
- package/src/tools/image/error-state.ts +69 -0
- package/src/tools/image/errors.ts +18 -0
- package/src/tools/image/i18n.ts +8 -0
- package/src/tools/image/index.ts +754 -0
- package/src/tools/image/resizer.ts +119 -0
- package/src/tools/image/spring.ts +16 -0
- package/src/tools/image/ui.ts +926 -0
- package/src/tools/image/uploader.ts +61 -0
- package/src/tools/image/uploading-state.ts +117 -0
- package/src/tools/index.ts +2 -0
- package/src/tools/list/style-config.ts +0 -3
- package/src/tools/paragraph/index.ts +0 -1
- package/src/tools/quote/index.ts +0 -1
- package/src/tools/table/index.ts +0 -1
- package/src/tools/toggle/constants.ts +3 -1
- package/src/tools/toggle/index.ts +0 -1
- package/src/types-internal/prismjs-components.d.ts +9 -0
- package/types/api/toolbar.d.ts +14 -1
- package/types/configs/blok-config.d.ts +24 -0
- package/types/tools/image.d.ts +72 -0
- package/types/utils/popover/popover.d.ts +27 -0
- package/dist/chunks/_basePickBy-6gOwWeg0.mjs +0 -166
- package/dist/chunks/_basePickBy-mUHvTE6c.cjs +0 -1
- package/dist/chunks/_baseUniq-BP5sM8qF.cjs +0 -1
- package/dist/chunks/_baseUniq-BcOWmEX6.mjs +0 -682
- package/dist/chunks/arc-kVpio4JL.mjs +0 -80
- package/dist/chunks/arc-lSzOinJz.cjs +0 -1
- package/dist/chunks/architecture-YZFGNWBL-BFcrDSEW.mjs +0 -3
- package/dist/chunks/architecture-YZFGNWBL-D91d5pcl.cjs +0 -1
- package/dist/chunks/architectureDiagram-Q4EWVU46-CN6p4Aji.mjs +0 -4066
- package/dist/chunks/architectureDiagram-Q4EWVU46-CyW5N5Ic.cjs +0 -36
- package/dist/chunks/blockDiagram-DXYQGD6D-BvZWa5Rv.mjs +0 -3074
- package/dist/chunks/blockDiagram-DXYQGD6D-DmhBCLgd.cjs +0 -132
- package/dist/chunks/blok-CNEP3LpI.cjs +0 -16
- package/dist/chunks/blok-DNvzyOYn.mjs +0 -13679
- package/dist/chunks/c-CQrSye6K.mjs +0 -5
- package/dist/chunks/c-DNJHkQXQ.cjs +0 -1
- package/dist/chunks/c4Diagram-AHTNJAMY-Cmc2PsEs.mjs +0 -2956
- package/dist/chunks/c4Diagram-AHTNJAMY-DU2IYTXY.cjs +0 -10
- package/dist/chunks/ccount-B7is2MU0.mjs +0 -10
- package/dist/chunks/ccount-DtzbJUOh.cjs +0 -1
- package/dist/chunks/channel-BTWFNzkv.mjs +0 -5
- package/dist/chunks/channel-BqhnS5zl.cjs +0 -1
- package/dist/chunks/chunk-2KRD3SAO-COfwt0om.cjs +0 -1
- package/dist/chunks/chunk-2KRD3SAO-DWLzBIZw.mjs +0 -20
- package/dist/chunks/chunk-336JU56O-CqWDeAp1.cjs +0 -1
- package/dist/chunks/chunk-336JU56O-DbaX7hyp.mjs +0 -49
- package/dist/chunks/chunk-426QAEUC-MjtXwzdI.cjs +0 -1
- package/dist/chunks/chunk-426QAEUC-pmH9mm_X.mjs +0 -13
- package/dist/chunks/chunk-4BX2VUAB-B1LZI9QZ.mjs +0 -19
- package/dist/chunks/chunk-4BX2VUAB-Zs4zJRk9.cjs +0 -1
- package/dist/chunks/chunk-4TB4RGXK-BC8qRYSD.mjs +0 -3250
- package/dist/chunks/chunk-4TB4RGXK-Bq0teBqe.cjs +0 -206
- package/dist/chunks/chunk-55IACEB6-CaLO8kWA.mjs +0 -8
- package/dist/chunks/chunk-55IACEB6-DyTTYuc2.cjs +0 -1
- package/dist/chunks/chunk-5FUZZQ4R-6rlcIGG-.cjs +0 -62
- package/dist/chunks/chunk-5FUZZQ4R-DAWdfx4J.mjs +0 -3786
- package/dist/chunks/chunk-5PVQY5BW-7Voh8aPS.mjs +0 -1122
- package/dist/chunks/chunk-5PVQY5BW-DmATt7Fz.cjs +0 -2
- package/dist/chunks/chunk-67CJDMHE-DSEGOn_f.mjs +0 -20
- package/dist/chunks/chunk-67CJDMHE-zWcmgvwZ.cjs +0 -1
- package/dist/chunks/chunk-7N4EOEYR-CAuNhdG9.cjs +0 -1
- package/dist/chunks/chunk-7N4EOEYR-CnSg1Hfu.mjs +0 -29
- package/dist/chunks/chunk-AA7GKIK3-BmatWFnp.mjs +0 -24
- package/dist/chunks/chunk-AA7GKIK3-YMbh5HEs.cjs +0 -1
- package/dist/chunks/chunk-BSJP7CBP-BtFfqv7R.mjs +0 -83
- package/dist/chunks/chunk-BSJP7CBP-CjkEoJDh.cjs +0 -1
- package/dist/chunks/chunk-CIAEETIT-BP9BiKe5.cjs +0 -1
- package/dist/chunks/chunk-CIAEETIT-nVgPUEW1.mjs +0 -20
- package/dist/chunks/chunk-EDXVE4YY-Bw1v2mUF.cjs +0 -1
- package/dist/chunks/chunk-EDXVE4YY-e7599cf4.mjs +0 -26
- package/dist/chunks/chunk-ENJZ2VHE-9fAN50L-.cjs +0 -10
- package/dist/chunks/chunk-ENJZ2VHE-DaMNdqfV.mjs +0 -566
- package/dist/chunks/chunk-FMBD7UC4-CH_SSwhS.cjs +0 -15
- package/dist/chunks/chunk-FMBD7UC4-xT5c0WSd.mjs +0 -5
- package/dist/chunks/chunk-FOC6F5B3-AxSG6qaj.mjs +0 -20
- package/dist/chunks/chunk-FOC6F5B3-ScFIigAO.cjs +0 -1
- package/dist/chunks/chunk-ICPOFSXX-DQ4NxQTM.cjs +0 -122
- package/dist/chunks/chunk-ICPOFSXX-DbL0YBQf.mjs +0 -3290
- package/dist/chunks/chunk-K5T4RW27-BdGvq1o8.cjs +0 -94
- package/dist/chunks/chunk-K5T4RW27-CYdwJMQV.mjs +0 -16372
- package/dist/chunks/chunk-KGLVRYIC-BwOmLwqF.mjs +0 -20
- package/dist/chunks/chunk-KGLVRYIC-uzPiXgAg.cjs +0 -1
- package/dist/chunks/chunk-LIHQZDEY-ChgbfPTz.cjs +0 -1
- package/dist/chunks/chunk-LIHQZDEY-Csx8-523.mjs +0 -55
- package/dist/chunks/chunk-ORNJ4GCN-CCDHRflI.mjs +0 -25
- package/dist/chunks/chunk-ORNJ4GCN-HF28XIop.cjs +0 -1
- package/dist/chunks/chunk-OYMX7WX6-BAoDgMPF.mjs +0 -2038
- package/dist/chunks/chunk-OYMX7WX6-CGUpemDb.cjs +0 -231
- package/dist/chunks/chunk-QZHKN3VN-D1myzhE_.mjs +0 -12
- package/dist/chunks/chunk-QZHKN3VN-d_ESXyai.cjs +0 -1
- package/dist/chunks/chunk-U2HBQHQK-BXyrI_xP.mjs +0 -1875
- package/dist/chunks/chunk-U2HBQHQK-D62A_XCV.cjs +0 -70
- package/dist/chunks/chunk-X2U36JSP-BEHpYlmW.cjs +0 -1
- package/dist/chunks/chunk-X2U36JSP-CXhWYelJ.mjs +0 -68
- package/dist/chunks/chunk-XPW4576I-BidQL50C.cjs +0 -32
- package/dist/chunks/chunk-XPW4576I-DOztVf6t.mjs +0 -1146
- package/dist/chunks/chunk-YZCP3GAM-DrkjtME-.mjs +0 -60
- package/dist/chunks/chunk-YZCP3GAM-DuLQPyT4.cjs +0 -1
- package/dist/chunks/chunk-ZZ45TVLE-CSFFLvxb.mjs +0 -33
- package/dist/chunks/chunk-ZZ45TVLE-CZOUDLGO.cjs +0 -1
- package/dist/chunks/classDiagram-6PBFFD2Q-Ci3S9iu3.mjs +0 -30
- package/dist/chunks/classDiagram-6PBFFD2Q-GDkPRBlp.cjs +0 -1
- package/dist/chunks/classDiagram-v2-HSJHXN6E-B4vt694Q.cjs +0 -1
- package/dist/chunks/classDiagram-v2-HSJHXN6E-BkaFKbgJ.mjs +0 -30
- package/dist/chunks/clone-WSLD7bVs.mjs +0 -8
- package/dist/chunks/clone-_XTzxdN3.cjs +0 -1
- package/dist/chunks/constants-DJjFgioo.cjs +0 -451
- package/dist/chunks/constants-DMsOCPcF.mjs +0 -3268
- package/dist/chunks/core-C8BHLAAO.cjs +0 -12
- package/dist/chunks/core-D2KrVz4a.mjs +0 -4501
- package/dist/chunks/cose-bilkent-S5V4N54A-BXBidSxC.mjs +0 -2246
- package/dist/chunks/cose-bilkent-S5V4N54A-RkR02HV4.cjs +0 -1
- package/dist/chunks/cpp-DVBevX-J.cjs +0 -1
- package/dist/chunks/cpp-DnMQuZPn.mjs +0 -16
- package/dist/chunks/csharp-ByiKf6DR.mjs +0 -3
- package/dist/chunks/csharp-CHUT4JOq.cjs +0 -1
- package/dist/chunks/css-BqsWMbBt.mjs +0 -3
- package/dist/chunks/css-QEheyxtB.cjs +0 -1
- package/dist/chunks/dagre-C7z2UZ4M.mjs +0 -1483
- package/dist/chunks/dagre-KV5264BT-B5pZgbkN.cjs +0 -4
- package/dist/chunks/dagre-KV5264BT-Ct6qUqKI.mjs +0 -298
- package/dist/chunks/dagre-VHP8Ngkv.cjs +0 -1
- package/dist/chunks/dart-aYsezAEv.mjs +0 -3
- package/dist/chunks/dart-jPH5d8ma.cjs +0 -1
- package/dist/chunks/diagram-5BDNPKRD-B9hNG7ht.mjs +0 -112
- package/dist/chunks/diagram-5BDNPKRD-C1llOHQP.cjs +0 -10
- package/dist/chunks/diagram-G4DWMVQ6-9_YOaVXe.mjs +0 -546
- package/dist/chunks/diagram-G4DWMVQ6-CLdEGHkn.cjs +0 -24
- package/dist/chunks/diagram-MMDJMWI5-CnbiCUM3.cjs +0 -43
- package/dist/chunks/diagram-MMDJMWI5-DmStUoNk.mjs +0 -234
- package/dist/chunks/diagram-TYMM5635-BtMB4AKf.cjs +0 -24
- package/dist/chunks/diagram-TYMM5635-DmrkkW85.mjs +0 -144
- package/dist/chunks/dockerfile-1GBIWF66.mjs +0 -3
- package/dist/chunks/dockerfile-B2jMQOes.cjs +0 -1
- package/dist/chunks/engine-javascript-CYa8VRAu.mjs +0 -2373
- package/dist/chunks/engine-javascript-HHRWd9yA.cjs +0 -141
- package/dist/chunks/erDiagram-SMLLAGMA-5vkZ5DwJ.mjs +0 -1712
- package/dist/chunks/erDiagram-SMLLAGMA-luvZB3lF.cjs +0 -85
- package/dist/chunks/flowDiagram-DWJPFMVM-BpYbAeYP.cjs +0 -162
- package/dist/chunks/flowDiagram-DWJPFMVM-CGTiQBd7.mjs +0 -4175
- package/dist/chunks/ganttDiagram-T4ZO3ILL-BNtXyM0I.mjs +0 -3083
- package/dist/chunks/ganttDiagram-T4ZO3ILL-BaWZufgI.cjs +0 -292
- package/dist/chunks/gitGraph-7Q5UKJZL-Ds_Z9h4o.cjs +0 -1
- package/dist/chunks/gitGraph-7Q5UKJZL-DxMmuJIv.mjs +0 -3
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-CmQR-xZp.mjs +0 -792
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-DjMU1Vyg.cjs +0 -106
- package/dist/chunks/go-4mRqLTld.mjs +0 -3
- package/dist/chunks/go-BX-cNLGO.cjs +0 -1
- package/dist/chunks/graphlib-BfwqhpXp.mjs +0 -225
- package/dist/chunks/graphlib-CYv_-0LK.cjs +0 -1
- package/dist/chunks/graphql-4Htarzhp.mjs +0 -11
- package/dist/chunks/graphql-BnxAS09v.cjs +0 -1
- package/dist/chunks/html-CAN0GHkJ.cjs +0 -1
- package/dist/chunks/html-DW39yhuS.mjs +0 -10
- package/dist/chunks/i18next-loader-CyDs2NKf.mjs +0 -35
- package/dist/chunks/i18next-loader-cGwOOjK3.cjs +0 -1
- package/dist/chunks/info-OMHHGYJF-ChWZqC0a.mjs +0 -3
- package/dist/chunks/info-OMHHGYJF-u0RRQ9Uo.cjs +0 -1
- package/dist/chunks/infoDiagram-42DDH7IO-BbV_tozh.mjs +0 -29
- package/dist/chunks/infoDiagram-42DDH7IO-DOYkYMWg.cjs +0 -2
- package/dist/chunks/isEmpty-BHdznGlG.cjs +0 -1
- package/dist/chunks/isEmpty-jlCmuYeg.mjs +0 -35
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-CbqoivFu.cjs +0 -70
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-DJBG3b-A.mjs +0 -719
- package/dist/chunks/java-DD_iwrM-.mjs +0 -5
- package/dist/chunks/java-O-rzZ2Bn.cjs +0 -1
- package/dist/chunks/javascript-CJBlE5PB.mjs +0 -3
- package/dist/chunks/javascript-z9G2vOAZ.cjs +0 -1
- package/dist/chunks/journeyDiagram-VCZTEJTY-B5Peb7wS.cjs +0 -139
- package/dist/chunks/journeyDiagram-VCZTEJTY-BdMsFn3r.mjs +0 -885
- package/dist/chunks/json-C_epQRuA.cjs +0 -1
- package/dist/chunks/json-yRGZVu2_.mjs +0 -3
- package/dist/chunks/kanban-definition-6JOO6SKY-CwmSo6Ve.cjs +0 -89
- package/dist/chunks/kanban-definition-6JOO6SKY-ncNaxcxH.mjs +0 -980
- package/dist/chunks/kotlin-BmkhKZGf.mjs +0 -3
- package/dist/chunks/kotlin-Dj7KFgV1.cjs +0 -1
- package/dist/chunks/latex-BeVX0E4Z.mjs +0 -5
- package/dist/chunks/latex-u7qVP95p.cjs +0 -1
- package/dist/chunks/lightweight-i18n-Bb_VS9v5.mjs +0 -237
- package/dist/chunks/lightweight-i18n-CGBjC2TJ.cjs +0 -1
- package/dist/chunks/line-B7XG48Uf.cjs +0 -1
- package/dist/chunks/line-CWJNfvdn.mjs +0 -34
- package/dist/chunks/linear-BU4OjSPS.mjs +0 -289
- package/dist/chunks/linear-D5j5Vgij.cjs +0 -1
- package/dist/chunks/lua-6ceNckPi.cjs +0 -1
- package/dist/chunks/lua-CPnWrc7C.mjs +0 -5
- package/dist/chunks/markdown-DSiOSAsn.mjs +0 -3
- package/dist/chunks/markdown-Vce1p-mO.cjs +0 -1
- package/dist/chunks/mdast-util-math-B9OHoBuN.cjs +0 -5
- package/dist/chunks/mdast-util-math-D42zbZda.mjs +0 -151
- package/dist/chunks/mermaid-C2y_3PIg.mjs +0 -3
- package/dist/chunks/mermaid-Cu5vPKfS.cjs +0 -1
- package/dist/chunks/mermaid-parser.core-BrZQFEht.cjs +0 -3
- package/dist/chunks/mermaid-parser.core-DBhkcRo7.mjs +0 -57
- package/dist/chunks/mermaid.core-GiTRPJLF.cjs +0 -10
- package/dist/chunks/mermaid.core-uSzF9nF1.mjs +0 -977
- package/dist/chunks/messages--CbdZY2w.cjs +0 -1
- package/dist/chunks/messages--c74ihtM.mjs +0 -212
- package/dist/chunks/messages-041mNyU42.mjs +0 -212
- package/dist/chunks/messages-1hpCmcb5.cjs +0 -1
- package/dist/chunks/messages-44SP7ajI.mjs +0 -212
- package/dist/chunks/messages-4_3WFJMy2.cjs +0 -1
- package/dist/chunks/messages-7NvouWKA2.mjs +0 -212
- package/dist/chunks/messages-ADxG1iWK2.cjs +0 -1
- package/dist/chunks/messages-AnuHiDPc2.mjs +0 -212
- package/dist/chunks/messages-B1V7UT9I.mjs +0 -212
- package/dist/chunks/messages-B2Q9NH4D.mjs +0 -212
- package/dist/chunks/messages-B3MONaxw2.cjs +0 -1
- package/dist/chunks/messages-B3tNgyxG2.cjs +0 -1
- package/dist/chunks/messages-B6j77WNV2.mjs +0 -212
- package/dist/chunks/messages-B91FdwB0.cjs +0 -1
- package/dist/chunks/messages-B9igXgiw.cjs +0 -1
- package/dist/chunks/messages-BB1xM_oB.cjs +0 -1
- package/dist/chunks/messages-BEV0lzGv2.mjs +0 -212
- package/dist/chunks/messages-BG749_88.mjs +0 -212
- package/dist/chunks/messages-BGZLiYrQ.cjs +0 -1
- package/dist/chunks/messages-BGpGj8nJ2.mjs +0 -212
- package/dist/chunks/messages-BK6gK3wu.cjs +0 -1
- package/dist/chunks/messages-BKmAFG9Z.cjs +0 -1
- package/dist/chunks/messages-BMVJq-1T.cjs +0 -1
- package/dist/chunks/messages-BMsqJNz0.cjs +0 -1
- package/dist/chunks/messages-BNYDShPm2.mjs +0 -212
- package/dist/chunks/messages-BSVhckNg.cjs +0 -1
- package/dist/chunks/messages-BUaHDggs.cjs +0 -1
- package/dist/chunks/messages-BUaJv5qS.cjs +0 -1
- package/dist/chunks/messages-BW--wNis.mjs +0 -212
- package/dist/chunks/messages-BXcSH14N.cjs +0 -1
- package/dist/chunks/messages-BYOYrUOu.cjs +0 -1
- package/dist/chunks/messages-BYSE1Iq2.cjs +0 -1
- package/dist/chunks/messages-B_Mqw9Dl2.mjs +0 -212
- package/dist/chunks/messages-Bb225KE6.cjs +0 -1
- package/dist/chunks/messages-BbYwT3FH2.mjs +0 -212
- package/dist/chunks/messages-Bda8jwos2.mjs +0 -212
- package/dist/chunks/messages-BdpFAZGZ.mjs +0 -212
- package/dist/chunks/messages-BiDR95AW.cjs +0 -1
- package/dist/chunks/messages-BkAoxm6t.cjs +0 -1
- package/dist/chunks/messages-BmNLNUz_.mjs +0 -212
- package/dist/chunks/messages-BnGtg6t4.mjs +0 -212
- package/dist/chunks/messages-BnXkEkD_.mjs +0 -212
- package/dist/chunks/messages-BpUasRQ3.cjs +0 -1
- package/dist/chunks/messages-BwtU06Ax.mjs +0 -212
- package/dist/chunks/messages-BxV8K7y42.cjs +0 -1
- package/dist/chunks/messages-Bxhns4Ui.cjs +0 -1
- package/dist/chunks/messages-ByRcwLIO.mjs +0 -212
- package/dist/chunks/messages-C0sxGmLV2.cjs +0 -1
- package/dist/chunks/messages-C5nqE8O42.cjs +0 -1
- package/dist/chunks/messages-C7il6l-S.cjs +0 -1
- package/dist/chunks/messages-CFyGEGXM2.cjs +0 -1
- package/dist/chunks/messages-CHBH3EQG.mjs +0 -212
- package/dist/chunks/messages-CIYU5iEj.mjs +0 -212
- package/dist/chunks/messages-CJGOmFxi.mjs +0 -212
- package/dist/chunks/messages-CN2yjHzW.cjs +0 -1
- package/dist/chunks/messages-CP7Ncgaf.mjs +0 -212
- package/dist/chunks/messages-CP8YKa4F.mjs +0 -212
- package/dist/chunks/messages-CTy_3-mw2.cjs +0 -1
- package/dist/chunks/messages-CUxaqK8t2.mjs +0 -212
- package/dist/chunks/messages-CXDk_Rlr2.mjs +0 -212
- package/dist/chunks/messages-CYZxR91M.mjs +0 -212
- package/dist/chunks/messages-C_ogasse2.cjs +0 -1
- package/dist/chunks/messages-CbFuceEb.cjs +0 -1
- package/dist/chunks/messages-CbbYb7cc.cjs +0 -1
- package/dist/chunks/messages-CfO5kKI72.cjs +0 -1
- package/dist/chunks/messages-Cgv5DuNV.cjs +0 -1
- package/dist/chunks/messages-Cjm7Nj1C.mjs +0 -212
- package/dist/chunks/messages-CjzZ6nxv.mjs +0 -212
- package/dist/chunks/messages-CkBrRFY02.cjs +0 -1
- package/dist/chunks/messages-CpVtcYqo.mjs +0 -212
- package/dist/chunks/messages-CpppvIiu.cjs +0 -1
- package/dist/chunks/messages-CumomgDd2.mjs +0 -212
- package/dist/chunks/messages-CvCb4dCy.mjs +0 -212
- package/dist/chunks/messages-D3DNj1jh.mjs +0 -212
- package/dist/chunks/messages-D7d2U-tx.mjs +0 -212
- package/dist/chunks/messages-D8-vyZ2V.cjs +0 -1
- package/dist/chunks/messages-DFWhnXF12.mjs +0 -212
- package/dist/chunks/messages-DIpVfyX-2.cjs +0 -1
- package/dist/chunks/messages-DJBeEI7G.cjs +0 -1
- package/dist/chunks/messages-DJr1x1i2.mjs +0 -212
- package/dist/chunks/messages-DN7PU5Un2.mjs +0 -212
- package/dist/chunks/messages-DR8nFHdw2.cjs +0 -1
- package/dist/chunks/messages-DT5Ux3el.cjs +0 -1
- package/dist/chunks/messages-DVh_Bwwq.mjs +0 -212
- package/dist/chunks/messages-DVwHxslb.mjs +0 -212
- package/dist/chunks/messages-DZ1Pfnl0.mjs +0 -212
- package/dist/chunks/messages-Da2SYMf52.cjs +0 -1
- package/dist/chunks/messages-DaaqkvOz2.cjs +0 -1
- package/dist/chunks/messages-DdiqfVCc.cjs +0 -1
- package/dist/chunks/messages-DfZe7SKZ.cjs +0 -1
- package/dist/chunks/messages-DkJ0bcqu.cjs +0 -1
- package/dist/chunks/messages-DkmG49t8.cjs +0 -1
- package/dist/chunks/messages-Do3QV7QW.mjs +0 -212
- package/dist/chunks/messages-Do4o9ckW.cjs +0 -1
- package/dist/chunks/messages-DrbTe09r.cjs +0 -1
- package/dist/chunks/messages-Drxwphbg2.mjs +0 -212
- package/dist/chunks/messages-DtgIZDlN.cjs +0 -1
- package/dist/chunks/messages-DtloGH1v2.mjs +0 -212
- package/dist/chunks/messages-Du0zg7UM.mjs +0 -212
- package/dist/chunks/messages-DuA_D23n.mjs +0 -212
- package/dist/chunks/messages-DwKRw3jP2.mjs +0 -212
- package/dist/chunks/messages-DxCaGN-Q2.cjs +0 -1
- package/dist/chunks/messages-DxpBJ5ZY.cjs +0 -1
- package/dist/chunks/messages-DyWu9_0D.cjs +0 -1
- package/dist/chunks/messages-DzAYvMm72.mjs +0 -212
- package/dist/chunks/messages-Dzmge-lj.mjs +0 -212
- package/dist/chunks/messages-ETNAE7WV.mjs +0 -212
- package/dist/chunks/messages-F4r6ruTX2.mjs +0 -212
- package/dist/chunks/messages-FNQdT9Da.mjs +0 -212
- package/dist/chunks/messages-FYGyC6zk2.mjs +0 -212
- package/dist/chunks/messages-Hg0BECWK.cjs +0 -1
- package/dist/chunks/messages-JlduXweH2.cjs +0 -1
- package/dist/chunks/messages-Km2PU_o7.cjs +0 -1
- package/dist/chunks/messages-MgJnGL9X2.cjs +0 -1
- package/dist/chunks/messages-PIoKW4js2.cjs +0 -1
- package/dist/chunks/messages-VEm9mp5H.cjs +0 -1
- package/dist/chunks/messages-WgwkG5PL2.cjs +0 -1
- package/dist/chunks/messages-X46KAUoI.cjs +0 -1
- package/dist/chunks/messages-ZS1Ro8ZB.mjs +0 -212
- package/dist/chunks/messages-ZZd1ckSO2.cjs +0 -1
- package/dist/chunks/messages-dyhHlgE9.mjs +0 -212
- package/dist/chunks/messages-fAEKtYXO.mjs +0 -212
- package/dist/chunks/messages-hhptyJO3.mjs +0 -212
- package/dist/chunks/messages-hk4dinYI.mjs +0 -212
- package/dist/chunks/messages-knSLxvI6.mjs +0 -212
- package/dist/chunks/messages-lORohDgW2.mjs +0 -212
- package/dist/chunks/messages-mvnz8DvU.mjs +0 -212
- package/dist/chunks/messages-pHWKsrcZ.mjs +0 -212
- package/dist/chunks/messages-q2McAyOz.mjs +0 -212
- package/dist/chunks/messages-r62SI44r.mjs +0 -212
- package/dist/chunks/messages-uFdMhLbJ.mjs +0 -212
- package/dist/chunks/messages-vRqPeNM_.cjs +0 -1
- package/dist/chunks/messages-vhq442qv.cjs +0 -1
- package/dist/chunks/micromark-extension-math-BXJknrtf.cjs +0 -1
- package/dist/chunks/micromark-extension-math-x3wvkKaN.mjs +0 -169
- package/dist/chunks/mindmap-definition-QFDTVHPH-6O8s-b35.cjs +0 -96
- package/dist/chunks/mindmap-definition-QFDTVHPH-BfOyKFtC.mjs +0 -1013
- package/dist/chunks/notifier-B-wErJJB.mjs +0 -73
- package/dist/chunks/notifier-CwnFVNdD.cjs +0 -1
- package/dist/chunks/objectWithoutProperties-BbzyiphF.cjs +0 -1
- package/dist/chunks/objectWithoutProperties-Dci1-l7D.mjs +0 -23
- package/dist/chunks/one-light-D2mpnHEP.cjs +0 -1
- package/dist/chunks/one-light-bqnXiA0I.mjs +0 -4
- package/dist/chunks/ordinal-CN3SDQau.mjs +0 -65
- package/dist/chunks/ordinal-DFFZs5-y.cjs +0 -1
- package/dist/chunks/packet-4T2RLAQJ-7DW35MGl.mjs +0 -3
- package/dist/chunks/packet-4T2RLAQJ-B5XvZd2W.cjs +0 -1
- package/dist/chunks/php-BMavm1CR.cjs +0 -1
- package/dist/chunks/php-Dejkjxb5.mjs +0 -18
- package/dist/chunks/pie-ZZUOXDRM-Dtuq0w2k.mjs +0 -3
- package/dist/chunks/pie-ZZUOXDRM-SOG0aDPa.cjs +0 -1
- package/dist/chunks/pieDiagram-DEJITSTG-B1sjciNi.mjs +0 -179
- package/dist/chunks/pieDiagram-DEJITSTG-BkEwYBz9.cjs +0 -30
- package/dist/chunks/python-Dcoit5Q5.cjs +0 -1
- package/dist/chunks/python-tdu-oDWx.mjs +0 -3
- package/dist/chunks/quadrantDiagram-34T5L4WZ-CV838wf-.mjs +0 -1960
- package/dist/chunks/quadrantDiagram-34T5L4WZ-RJme4lkz.cjs +0 -7
- package/dist/chunks/r-BdDCwgEs.cjs +0 -1
- package/dist/chunks/r-D8fCyoTl.mjs +0 -5
- package/dist/chunks/radar-PYXPWWZC-Bz4lwSbg.mjs +0 -3
- package/dist/chunks/radar-PYXPWWZC-Doch8Lt3.cjs +0 -1
- package/dist/chunks/requirementDiagram-MS252O5E-CA3LUAVZ.mjs +0 -2224
- package/dist/chunks/requirementDiagram-MS252O5E-CMqFsK_K.cjs +0 -84
- package/dist/chunks/ruby-DHm8_lqY.cjs +0 -1
- package/dist/chunks/ruby-Z7wCYjey.mjs +0 -33
- package/dist/chunks/rust-Cdm0j4IC.cjs +0 -1
- package/dist/chunks/rust-D5IQAarB.mjs +0 -3
- package/dist/chunks/sankeyDiagram-XADWPNL6-BPaUkDQv.cjs +0 -10
- package/dist/chunks/sankeyDiagram-XADWPNL6-Cw8wB2YO.mjs +0 -909
- package/dist/chunks/scala-CbcMYkuq.mjs +0 -3
- package/dist/chunks/scala-Tb1u_9W3.cjs +0 -1
- package/dist/chunks/sequenceDiagram-FGHM5R23-DbM-gyMR.cjs +0 -157
- package/dist/chunks/sequenceDiagram-FGHM5R23-pm0MaeXC.mjs +0 -4181
- package/dist/chunks/shellscript-CZefq5l_.mjs +0 -3
- package/dist/chunks/shellscript-D6KsENaG.cjs +0 -1
- package/dist/chunks/sql-BlpbD7FB.cjs +0 -1
- package/dist/chunks/sql-C4ibVEDs.mjs +0 -3
- package/dist/chunks/stateDiagram-FHFEXIEX-CEcLtV9Z.cjs +0 -1
- package/dist/chunks/stateDiagram-FHFEXIEX-CMcsvm0M.mjs +0 -218
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-C4nZGNBm.mjs +0 -28
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-aa692V81.cjs +0 -1
- package/dist/chunks/swift-Drpgj9J0.mjs +0 -3
- package/dist/chunks/swift-DubrdZus.cjs +0 -1
- package/dist/chunks/timeline-definition-GMOUNBTQ-DwHKPj3j.mjs +0 -1084
- package/dist/chunks/timeline-definition-GMOUNBTQ-ceXDJGg_.cjs +0 -120
- package/dist/chunks/tools-DPov06L-.mjs +0 -11458
- package/dist/chunks/tools-NAqHj-Cy.cjs +0 -9
- package/dist/chunks/treeView-SZITEDCU-BUuSm_Hn.cjs +0 -1
- package/dist/chunks/treeView-SZITEDCU-DPG9FJ6Q.mjs +0 -3
- package/dist/chunks/treemap-W4RFUUIX-BerKlw0i.cjs +0 -1
- package/dist/chunks/treemap-W4RFUUIX-N4tZJR1-.mjs +0 -3
- package/dist/chunks/typescript-BKtlqLze.cjs +0 -1
- package/dist/chunks/typescript-Bnpf4OG6.mjs +0 -5
- package/dist/chunks/vennDiagram-DHZGUBPP-BzOeMJe8.cjs +0 -34
- package/dist/chunks/vennDiagram-DHZGUBPP-Gfy0QWtB.mjs +0 -1876
- package/dist/chunks/vitesse-dark-BSL-cCXL.cjs +0 -1
- package/dist/chunks/vitesse-dark-dflHsflb.mjs +0 -4
- package/dist/chunks/wardley-RL74JXVD-BzKtPJ3g.cjs +0 -1
- package/dist/chunks/wardley-RL74JXVD-C7Hzc5y2.mjs +0 -3
- package/dist/chunks/wardleyDiagram-NUSXRM2D-ChZiL3a0.mjs +0 -594
- package/dist/chunks/wardleyDiagram-NUSXRM2D-qo6LFohO.cjs +0 -20
- package/dist/chunks/xml-C1PUeKuL.mjs +0 -5
- package/dist/chunks/xml-CwiH0x4E.cjs +0 -1
- package/dist/chunks/xychartDiagram-5P7HB3ND-CH1Z2Cbf.cjs +0 -7
- package/dist/chunks/xychartDiagram-5P7HB3ND-t_dhLiOA.mjs +0 -2017
- package/dist/chunks/yaml-CecI9urB.mjs +0 -3
- package/dist/chunks/yaml-CkVxfQ4c.cjs +0 -1
- package/dist/messages--zgIPYtb.mjs +0 -212
- package/dist/messages-4jULpVvw.mjs +0 -212
- package/dist/messages-AbwSlRf_.mjs +0 -212
- package/dist/messages-B-dl7Pwb2.mjs +0 -212
- package/dist/messages-B3rCRhb1.mjs +0 -212
- package/dist/messages-B73L8nKc2.mjs +0 -212
- package/dist/messages-BAjsD2Vm2.mjs +0 -212
- package/dist/messages-BBodSb5B2.mjs +0 -212
- package/dist/messages-BTpn6H9x2.mjs +0 -212
- package/dist/messages-BWb0GjTj2.mjs +0 -212
- package/dist/messages-BbCgnri12.mjs +0 -212
- package/dist/messages-Bfon_Y3q.mjs +0 -212
- package/dist/messages-BhOtow9J2.mjs +0 -212
- package/dist/messages-BoB7m0uu2.mjs +0 -212
- package/dist/messages-BsOZPjeg.mjs +0 -212
- package/dist/messages-BuzKUYPV.mjs +0 -212
- package/dist/messages-BzOKMdMQ.mjs +0 -212
- package/dist/messages-C2H3PeQW2.mjs +0 -212
- package/dist/messages-C5KNzSTk.mjs +0 -212
- package/dist/messages-CIDYjE6l.mjs +0 -212
- package/dist/messages-CJmyF5ye.mjs +0 -212
- package/dist/messages-CTwiYb2a2.mjs +0 -212
- package/dist/messages-CUHoJaDO.mjs +0 -212
- package/dist/messages-CVeuqUjQ2.mjs +0 -212
- package/dist/messages-CW75b4sz.mjs +0 -212
- package/dist/messages-CXd7YeWV.mjs +0 -212
- package/dist/messages-CjlYkunD.mjs +0 -212
- package/dist/messages-CrGx64yd.mjs +0 -212
- package/dist/messages-Ct0jbgHd.mjs +0 -212
- package/dist/messages-CtKrCYD1.mjs +0 -212
- package/dist/messages-Cu2eLjfJ.mjs +0 -212
- package/dist/messages-CvwQ-fK_2.mjs +0 -212
- package/dist/messages-Cy6UYN9b.mjs +0 -212
- package/dist/messages-D01vnfA9.mjs +0 -212
- package/dist/messages-D0BAV45W.mjs +0 -212
- package/dist/messages-D5LGpdga.mjs +0 -212
- package/dist/messages-DATK4ftv.mjs +0 -212
- package/dist/messages-DEl77Urv2.mjs +0 -212
- package/dist/messages-DHNjM2nv2.mjs +0 -212
- package/dist/messages-DMW8b_sO.mjs +0 -212
- package/dist/messages-DNmgANKr.mjs +0 -212
- package/dist/messages-DQaa3cEM.mjs +0 -212
- package/dist/messages-DSlD4bV9.mjs +0 -212
- package/dist/messages-DTzbkXFt.mjs +0 -212
- package/dist/messages-DbZihxtV.mjs +0 -212
- package/dist/messages-DeE8fyKQ.mjs +0 -212
- package/dist/messages-Dg-TpO2S2.mjs +0 -212
- package/dist/messages-DgP82LzF.mjs +0 -212
- package/dist/messages-Dh3Vt7WC.mjs +0 -212
- package/dist/messages-DiVVyZD22.mjs +0 -212
- package/dist/messages-DpRnGjoe.mjs +0 -212
- package/dist/messages-DqZmrFaa2.mjs +0 -212
- package/dist/messages-Dra9Fz5Q.mjs +0 -212
- package/dist/messages-DuPBRgEF2.mjs +0 -212
- package/dist/messages-DuxEyAY-2.mjs +0 -212
- package/dist/messages-FmJD6lHR2.mjs +0 -212
- package/dist/messages-ONielGl92.mjs +0 -212
- package/dist/messages-RzgUqCGb2.mjs +0 -212
- package/dist/messages-U22AKGKs.mjs +0 -212
- package/dist/messages-XufeeRfO.mjs +0 -212
- package/dist/messages-fprUm7SO2.mjs +0 -212
- package/dist/messages-gFNdz3Tn2.mjs +0 -212
- package/dist/messages-h_n5GBm6.mjs +0 -212
- package/dist/messages-oOogIpsL2.mjs +0 -212
- package/dist/messages-otwg3KcK.mjs +0 -212
- package/dist/messages-rDDoBMWb.mjs +0 -212
- package/dist/messages-trQPxZIu.mjs +0 -212
- package/src/tools/code/highlight-applier.ts +0 -229
- package/src/tools/code/shiki-loader.ts +0 -135
- /package/dist/chunks/{am-CyXvGFRE.cjs → am-CGgVs8Sg.cjs} +0 -0
- /package/dist/chunks/{am-JTszxMum.mjs → am-TVbhxPdQ.mjs} +0 -0
- /package/dist/chunks/{ar-CME8m7Ug.mjs → ar-ClSvzRAM.mjs} +0 -0
- /package/dist/chunks/{ar-BbusVfTp.cjs → ar-nFMIw80i.cjs} +0 -0
- /package/dist/chunks/{array-BMXfsgb2.cjs → array-B193TMZz.cjs} +0 -0
- /package/dist/chunks/{array-B4E6ednJ.mjs → array-ChMzkF5S.mjs} +0 -0
- /package/dist/chunks/{az-D7MMnw6r.cjs → az-Cb6l6ydx.cjs} +0 -0
- /package/dist/chunks/{az-CU1BXEnK.mjs → az-Df0rChHp.mjs} +0 -0
- /package/dist/chunks/{bg-C3H2Qh_2.cjs → bg-BdZUTRFn.cjs} +0 -0
- /package/dist/chunks/{bg-C1QKbOOv.mjs → bg-DLJ0oZ8E.mjs} +0 -0
- /package/dist/chunks/{bn-BGOycYTM.cjs → bn-CneGelWq.cjs} +0 -0
- /package/dist/chunks/{bn-DbDE4DPn.mjs → bn-rM6ek4mO.mjs} +0 -0
- /package/dist/chunks/{bs-5jPxlF97.mjs → bs-16ZwjsQl.mjs} +0 -0
- /package/dist/chunks/{bs-C7amuK1D.cjs → bs-XAmTKQeJ.cjs} +0 -0
- /package/dist/chunks/{cs-BEZB2qcc.mjs → cs-C-zvdtZ-.mjs} +0 -0
- /package/dist/chunks/{cs-BUD3Muxp.cjs → cs-DKYguxBC.cjs} +0 -0
- /package/dist/chunks/{cytoscape.esm-CWkCAUzT.mjs → cytoscape.esm-BsvVxiuI.mjs} +0 -0
- /package/dist/chunks/{cytoscape.esm-CjWrb5SM.cjs → cytoscape.esm-gv01QJ5y.cjs} +0 -0
- /package/dist/chunks/{da-DXZ2uOgL.mjs → da-D1HzIKpF.mjs} +0 -0
- /package/dist/chunks/{da-CO2FYbLa.cjs → da-DiLbdYqu.cjs} +0 -0
- /package/dist/chunks/{de-B8nkOjfD.cjs → de-ClyUjm_W.cjs} +0 -0
- /package/dist/chunks/{de-D4FxC1Yq.mjs → de-Dpmwqjaw.mjs} +0 -0
- /package/dist/chunks/{default-DPWNu2LM.mjs → default-D5Eal3bU.mjs} +0 -0
- /package/dist/chunks/{default-DP8dtTxC.cjs → default-D9azvkQ_.cjs} +0 -0
- /package/dist/chunks/{defaultLocale-BxWls4I1.cjs → defaultLocale-CSsowJXG.cjs} +0 -0
- /package/dist/chunks/{defaultLocale-BYV2aVaI.mjs → defaultLocale-DiiR34KB.mjs} +0 -0
- /package/dist/chunks/{dist-CKM-fjTE.mjs → dist-BFuUZzlT.mjs} +0 -0
- /package/dist/chunks/{dist-CxdzFxpy.cjs → dist-DS4hv48u.cjs} +0 -0
- /package/dist/chunks/{el-D2ILhp1-.cjs → el-CFVhJTIb.cjs} +0 -0
- /package/dist/chunks/{el-DwIVDdku.mjs → el-DQ-dU1wp.mjs} +0 -0
- /package/dist/chunks/{es-DXxnOS9P.cjs → es-BlajxX2r.cjs} +0 -0
- /package/dist/chunks/{es-DlO4MePt.mjs → es-Dhzgzei6.mjs} +0 -0
- /package/dist/chunks/{et-BBSbb8pL.mjs → et-CnhEwclb.mjs} +0 -0
- /package/dist/chunks/{et-mT4xnDc7.cjs → et-ggACA1d9.cjs} +0 -0
- /package/dist/chunks/{fa-DsJou-pw.mjs → fa-B4zSY96K.mjs} +0 -0
- /package/dist/chunks/{fa-D9CUFSHX.cjs → fa-DuYd0CQw.cjs} +0 -0
- /package/dist/chunks/{fi-CsMgo7Wk.mjs → fi-B525ro09.mjs} +0 -0
- /package/dist/chunks/{fi-DpCqdl_1.cjs → fi-D3-4SL4-.cjs} +0 -0
- /package/dist/chunks/{fil-BjeZREJI.cjs → fil-Cs84dmNe.cjs} +0 -0
- /package/dist/chunks/{fil-Dlw8sEta.mjs → fil-DPB6Byn0.mjs} +0 -0
- /package/dist/chunks/{fr-DYmwW1y1.cjs → fr-C8Z2PE7u.cjs} +0 -0
- /package/dist/chunks/{fr-DeapG5NH.mjs → fr-CbMgtPHe.mjs} +0 -0
- /package/dist/chunks/{gu-klAnA_ns.mjs → gu-BDs1p7Uo.mjs} +0 -0
- /package/dist/chunks/{gu-4g6NA9h8.cjs → gu-CPQY3Iyq.cjs} +0 -0
- /package/dist/chunks/{he-2H5DcbO0.cjs → he-BkMGwSM7.cjs} +0 -0
- /package/dist/chunks/{he-9TdyXc1J.mjs → he-DWa_-C46.mjs} +0 -0
- /package/dist/chunks/{hi-DVOss_Zp.mjs → hi-Buu8Rua9.mjs} +0 -0
- /package/dist/chunks/{hi-Dvb4O5oj.cjs → hi-ClQSrRZz.cjs} +0 -0
- /package/dist/chunks/{hr-CXo-QFLf.mjs → hr-WosECnFF.mjs} +0 -0
- /package/dist/chunks/{hr-B4Y5vULZ.cjs → hr-wrh48ogh.cjs} +0 -0
- /package/dist/chunks/{hu-D3Pi7CJx.cjs → hu-BSVMkfs2.cjs} +0 -0
- /package/dist/chunks/{hu-B6uKq-NU.mjs → hu-CeBjtxCd.mjs} +0 -0
- /package/dist/chunks/{hy-DZ74SDlC.cjs → hy-CwF59lJj.cjs} +0 -0
- /package/dist/chunks/{hy-B7CWqbUW.mjs → hy-DwfBE3Yt.mjs} +0 -0
- /package/dist/chunks/{i18next-CkovSPO7.cjs → i18next-C14J6E5L.cjs} +0 -0
- /package/dist/chunks/{i18next-BFvS_Rnh.mjs → i18next-DjO-l2Ee.mjs} +0 -0
- /package/dist/chunks/{id-C5d2QGEQ.mjs → id-CBV5ivYd.mjs} +0 -0
- /package/dist/chunks/{id-WfjZeYKN.cjs → id-DN2KcAmG.cjs} +0 -0
- /package/dist/chunks/{init-C3Dyaaly.mjs → init-C2Iht9jH.mjs} +0 -0
- /package/dist/chunks/{init-BvlcnoG2.cjs → init-DMaknHdL.cjs} +0 -0
- /package/dist/chunks/{isArrayLikeObject-CnaR8YJm.cjs → isArrayLikeObject-Bk7ImDHR.cjs} +0 -0
- /package/dist/chunks/{isArrayLikeObject-B-1mfvNK.mjs → isArrayLikeObject-CyB7POJY.mjs} +0 -0
- /package/dist/chunks/{it-hqsqt6f7.cjs → it-CSt1S7SQ.cjs} +0 -0
- /package/dist/chunks/{it-BgPXC2_F.mjs → it-CU5gg8BZ.mjs} +0 -0
- /package/dist/chunks/{ja-BwLgKsdH.cjs → ja-BbwATm6F.cjs} +0 -0
- /package/dist/chunks/{ja-CQ7ujOz3.mjs → ja-khPKQhMG.mjs} +0 -0
- /package/dist/chunks/{ka-xoKako16.cjs → ka-Cqnq4zZT.cjs} +0 -0
- /package/dist/chunks/{ka-DAPmSm_-.mjs → ka-DN17rDOq.mjs} +0 -0
- /package/dist/chunks/{katex-_C7fvrbX.cjs → katex-D_RH6O9V.cjs} +0 -0
- /package/dist/chunks/{katex-Bbz34ZLq.mjs → katex-thO7aa9b.mjs} +0 -0
- /package/dist/chunks/{km-BJ9H-RbD.mjs → km-BbS9HEwx.mjs} +0 -0
- /package/dist/chunks/{km-D7Fl8wAA.cjs → km-COh3mhzp.cjs} +0 -0
- /package/dist/chunks/{kn-CthdB8vH.mjs → kn-7TPoJJQt.mjs} +0 -0
- /package/dist/chunks/{kn-Ckju1oeq.cjs → kn-CX062fVg.cjs} +0 -0
- /package/dist/chunks/{ko-DbEA41LU.mjs → ko-CDI2MnWL.mjs} +0 -0
- /package/dist/chunks/{ko-Dt1tQEjC.cjs → ko-gSw_U9kC.cjs} +0 -0
- /package/dist/chunks/{ku-B_j9qSrv.mjs → ku-DONc_aap.mjs} +0 -0
- /package/dist/chunks/{ku-_i2C5XD5.cjs → ku-DnvmAkID.cjs} +0 -0
- /package/dist/chunks/{lo-DfEpgG9m.cjs → lo-BrwlEjmE.cjs} +0 -0
- /package/dist/chunks/{lo-DSklR1Zs.mjs → lo-PtNU87QX.mjs} +0 -0
- /package/dist/chunks/{lt-BwLILIED.cjs → lt-Bw969G31.cjs} +0 -0
- /package/dist/chunks/{lt-C9aVbfRt.mjs → lt-CV9PgETS.mjs} +0 -0
- /package/dist/chunks/{lv-DLwMSEc0.mjs → lv-CFPT5CoC.mjs} +0 -0
- /package/dist/chunks/{lv-DdrYab3x.cjs → lv-DhwZOfiA.cjs} +0 -0
- /package/dist/chunks/{micromark-factory-space-BnsBDplI.cjs → micromark-factory-space-CsUhZvC1.cjs} +0 -0
- /package/dist/chunks/{micromark-factory-space-C6wz33de.mjs → micromark-factory-space-y4SDWQKm.mjs} +0 -0
- /package/dist/chunks/{mk-D96bSjMK.mjs → mk-5waYEn6e.mjs} +0 -0
- /package/dist/chunks/{mk-CsPHE4cO.cjs → mk-vuwbN_RA.cjs} +0 -0
- /package/dist/chunks/{ml-CAsiw8BP.cjs → ml-DQZZm6v3.cjs} +0 -0
- /package/dist/chunks/{ml-D1Ek94RG.mjs → ml-iK4LpGaW.mjs} +0 -0
- /package/dist/chunks/{mn-Db6DwHPv.cjs → mn-Dz3r2r3T.cjs} +0 -0
- /package/dist/chunks/{mn-CyNCFOYP.mjs → mn-nfQCBqsj.mjs} +0 -0
- /package/dist/chunks/{mr-CaA3xXVf.mjs → mr-8ddBHqrW.mjs} +0 -0
- /package/dist/chunks/{mr-BBAuoEIQ.cjs → mr-BDjve7Md.cjs} +0 -0
- /package/dist/chunks/{ms-Cfv7BOEG.cjs → ms-2boGmWFn.cjs} +0 -0
- /package/dist/chunks/{ms-IZU-A3Qk.mjs → ms-BRxHmUVO.mjs} +0 -0
- /package/dist/chunks/{my-C-AQLGIp.mjs → my-Bq-MP3br.mjs} +0 -0
- /package/dist/chunks/{my-DOLHceI8.cjs → my-BtRZdE5q.cjs} +0 -0
- /package/dist/chunks/{native-DbFHGXp1.cjs → native-Bok_u8yD.cjs} +0 -0
- /package/dist/chunks/{native-CarRLbbJ.mjs → native-DIGOFhyn.mjs} +0 -0
- /package/dist/chunks/{ne-LaymXAjm.mjs → ne-B6JfM08W.mjs} +0 -0
- /package/dist/chunks/{ne-B2gHspK_.cjs → ne-C9oc_I3v.cjs} +0 -0
- /package/dist/chunks/{nl-C5ezxTkA.cjs → nl-CkIGPyM6.cjs} +0 -0
- /package/dist/chunks/{nl-Dm1eVwTA.mjs → nl-NuO8CW66.mjs} +0 -0
- /package/dist/chunks/{no-B2WicGhz.mjs → no-BtwrqS-b.mjs} +0 -0
- /package/dist/chunks/{no-D4hjenPs.cjs → no-De7tM2WX.cjs} +0 -0
- /package/dist/chunks/{pa-CemLebw7.cjs → pa-Bm15OLTz.cjs} +0 -0
- /package/dist/chunks/{pa-ry61xHq9.mjs → pa-ClSxjHFF.mjs} +0 -0
- /package/dist/chunks/{path-CLcQoP7n.cjs → path-CFQyJ4S5.cjs} +0 -0
- /package/dist/chunks/{path-Crax6eds.mjs → path-iPyWZTLQ.mjs} +0 -0
- /package/dist/chunks/{pl-DzCnx7eR.mjs → pl-C-aTCeRd.mjs} +0 -0
- /package/dist/chunks/{pl-D_sFAkCs.cjs → pl-D80QrSlq.cjs} +0 -0
- /package/dist/chunks/{ps-DKXG6JHY.mjs → ps-B8wPRrcC.mjs} +0 -0
- /package/dist/chunks/{ps-ygHHO68A.cjs → ps-ySfeV5NE.cjs} +0 -0
- /package/dist/chunks/{pt-e09B0rEd.mjs → pt-8tijWt3B.mjs} +0 -0
- /package/dist/chunks/{pt-x_mmaTtD.cjs → pt-Bigoi5oj.cjs} +0 -0
- /package/dist/chunks/{ro-HNnYR5pB.mjs → ro-BiUSkkwp.mjs} +0 -0
- /package/dist/chunks/{ro-CLGSgHzJ.cjs → ro-Dvtjmd-W.cjs} +0 -0
- /package/dist/chunks/{rough.esm-BaIXPgTh.cjs → rough.esm-DC-UFdM0.cjs} +0 -0
- /package/dist/chunks/{rough.esm-CChKUjNP.mjs → rough.esm-buj-m5wB.mjs} +0 -0
- /package/dist/chunks/{ru-LpaLXWmO.cjs → ru-dq73Ra3e.cjs} +0 -0
- /package/dist/chunks/{ru-D_jTWgK8.mjs → ru-qkCthz2J.mjs} +0 -0
- /package/dist/chunks/{sd-B5PS8K1I.cjs → sd-BhtQCaFq.cjs} +0 -0
- /package/dist/chunks/{sd-B7bgXBin.mjs → sd-DfoXSEBK.mjs} +0 -0
- /package/dist/chunks/{si-BjMoO5xu.cjs → si-CWG8h4tD.cjs} +0 -0
- /package/dist/chunks/{si-aQCsTBIp.mjs → si-RPCp-GrG.mjs} +0 -0
- /package/dist/chunks/{sk-pQPYnDDU.cjs → sk-Bkag9oKD.cjs} +0 -0
- /package/dist/chunks/{sk-Bjrct9rr.mjs → sk-CVRHQjYN.mjs} +0 -0
- /package/dist/chunks/{sl-B_yalM3h.cjs → sl-BhupPCcO.cjs} +0 -0
- /package/dist/chunks/{sl-DvS57kCB.mjs → sl-Clf3YXji.mjs} +0 -0
- /package/dist/chunks/{sq-gzZkHXFJ.cjs → sq-Bosym4Xb.cjs} +0 -0
- /package/dist/chunks/{sq-BexoWiW2.mjs → sq-C-nwTgWs.mjs} +0 -0
- /package/dist/chunks/{sr-CXir4bLq.mjs → sr-BiElo1CU.mjs} +0 -0
- /package/dist/chunks/{sr-O4v1KJY1.cjs → sr-DFPGZJ0s.cjs} +0 -0
- /package/dist/chunks/{src-d9yswOqA.cjs → src-al3Kn9PA.cjs} +0 -0
- /package/dist/chunks/{src-yreeH1hr.mjs → src-gZQLeVvM.mjs} +0 -0
- /package/dist/chunks/{sv-D0tEFwN7.cjs → sv-CiYmSxqX.cjs} +0 -0
- /package/dist/chunks/{sv-B_Owhjrs.mjs → sv-DVztafBI.mjs} +0 -0
- /package/dist/chunks/{sw-DE8oPVEt.cjs → sw-CMbHoINv.cjs} +0 -0
- /package/dist/chunks/{sw-B4p84FCO.mjs → sw-CgJk20G2.mjs} +0 -0
- /package/dist/chunks/{ta-BCVLtFMU.cjs → ta-BrC1o95Z.cjs} +0 -0
- /package/dist/chunks/{ta-BU_-jQ33.mjs → ta-rqChn3y2.mjs} +0 -0
- /package/dist/chunks/{te-BISdOeGS.cjs → te-DAKpWpi8.cjs} +0 -0
- /package/dist/chunks/{te-5FGke4TK.mjs → te-LIsqeDyD.mjs} +0 -0
- /package/dist/chunks/{th-DFyekAQ3.mjs → th-Bm6lDr_S.mjs} +0 -0
- /package/dist/chunks/{th-CJXhSA-L.cjs → th-D0CG2M2k.cjs} +0 -0
- /package/dist/chunks/{tr-BjTvmhJt.cjs → tr-Bw_nVU1b.cjs} +0 -0
- /package/dist/chunks/{tr-C7Zj3lX4.mjs → tr-g8oLvvcP.mjs} +0 -0
- /package/dist/chunks/{types-BNvlbr9u.mjs → types-DrdCPGbk.mjs} +0 -0
- /package/dist/chunks/{types-BQX8SD8Q.cjs → types-GPfn5gE2.cjs} +0 -0
- /package/dist/chunks/{ug-DsQjxbOa.cjs → ug-DvC-UnxD.cjs} +0 -0
- /package/dist/chunks/{ug-DJwD0iui.mjs → ug-zVaKVoWE.mjs} +0 -0
- /package/dist/chunks/{uk-BPzbNIjw.cjs → uk-Cx32rUi7.cjs} +0 -0
- /package/dist/chunks/{uk-hkOj8kWN.mjs → uk-DGVBUwum.mjs} +0 -0
- /package/dist/chunks/{ur-Cy5A8nFG.mjs → ur-7wbChoVl.mjs} +0 -0
- /package/dist/chunks/{ur-Do8k1hR-.cjs → ur-BMh2seDu.cjs} +0 -0
- /package/dist/chunks/{vi-CCTEx9XR.cjs → vi-4TUS0GSi.cjs} +0 -0
- /package/dist/chunks/{vi-CEt0cTzQ.mjs → vi-CLg1e4-a.mjs} +0 -0
- /package/dist/chunks/{zh-Ive4on8E.cjs → zh-DZtmJNDR.cjs} +0 -0
- /package/dist/chunks/{zh-BwQjLCGO.mjs → zh-LvpOPMNT.mjs} +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-Kud-AIAt.cjs`),t=require(`./objectSpread2-iNkE6aJh.cjs`),n=require(`./objectWithoutProperties-BbzyiphF.cjs`),r=require(`./ccount-DtzbJUOh.cjs`);var i={}.hasOwnProperty;function a(e,t){let n=t||{};function r(t,...n){let a=r.invalid,o=r.handlers;if(t&&i.call(t,e)){let n=String(t[e]);a=i.call(o,n)?o[n]:r.unknown}if(a)return a.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var o=class extends Error{constructor(e){super(e),this.name=`ShikiError`}},s,c;function l(e){return u(e)}function u(e){return Array.isArray(e)?d(e):e instanceof RegExp?e:typeof e==`object`?f(e):e}function d(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=u(e[n]);return t}function f(e){let t={};for(let n in e)t[n]=u(e[n]);return t}function p(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function m(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?m(e.substring(0,e.length-1)):e.substr(~t+1)}var h=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,g=class{static hasCaptures(e){return e===null?!1:(h.lastIndex=0,h.test(e))}static replaceCaptures(e,t,n){return e.replace(h,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function _(e,t){return e<t?-1:e>t?1:0}function v(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=_(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function y(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function ee(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var te=class{constructor(e){t.n(this,`cache`,new Map),this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},b=class{constructor(e,n,r){t.n(this,`_cachedMatchRoot`,new te(e=>this._root.match(e))),this._colorMap=e,this._defaults=n,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(oe(e),t)}static createFromParsedTheme(e,t){return ce(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>re(e.parent,t.parentScopes));return n?new ae(n.fontStyle,n.foreground,n.background):null}},ne=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,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){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function re(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!ie(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function ie(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var ae=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function oe(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8;break}}let s=null;typeof i.settings.foreground==`string`&&y(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&y(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new se(l,u,e,o,s,c)}}return n}var se=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},x=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(x||{});function ce(e,t){e.sort((e,t)=>{let n=_(e.scope,t.scope);return n!==0||(n=v(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new le(t),o=new ae(n,a.getId(r),a.getId(i)),s=new fe(new de(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new b(a,o,s)}var le=class{constructor(e){if(t.n(this,`_isFrozen`,void 0),t.n(this,`_lastColorId`,void 0),t.n(this,`_id2color`,void 0),t.n(this,`_color2id`,void 0),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},ue=Object.freeze([]),de=class e{constructor(e,n,r,i,a){t.n(this,`scopeDepth`,void 0),t.n(this,`parentScopes`,void 0),t.n(this,`fontStyle`,void 0),t.n(this,`foreground`,void 0),t.n(this,`background`,void 0),this.scopeDepth=e,this.parentScopes=n||ue,this.fontStyle=r,this.foreground=i,this.background=a}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},fe=class e{constructor(e,n=[],r={}){t.n(this,`_rulesWithParentScopes`,void 0),this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(t!==``){let e=t.indexOf(`.`),n,r;if(e===-1?(n=t,r=``):(n=t.substring(0,e),r=t.substring(e+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){if(n===``){this._doInsertHere(t,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new e(this._mainRule.clone(),de.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(t+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(v(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new de(e,t,n,r,i))}},S=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}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(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=e.containsBalancedBrackets(t)?1:0,d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=me(r)),i!==null&&(u=i?1:0),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function pe(e){return e}function me(e){return e}function C(e,t){let n=[],r=ge(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(he(i)){let e=[];do e.push(i),i=r.next();while(he(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function he(e){return!!e&&!!e.match(/[\w\.:]+/)}function ge(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function _e(e){typeof e.dispose==`function`&&e.dispose()}var w=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},ve=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},ye=class{constructor(){t.n(this,`_references`,[]),t.n(this,`_seenReferenceKeys`,new Set),t.n(this,`visitedRule`,new Set)}get references(){return this._references}add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},be=class{constructor(e,n){t.n(this,`seenFullScopeRequests`,new Set),t.n(this,`seenPartialScopeRequests`,new Set),t.n(this,`Q`,void 0),this.repo=e,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new w(this.initialScopeName)]}processQueue(){let e=this.Q;this.Q=[];let t=new ye;for(let n of e)xe(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof w){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function xe(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof w?Ce({baseGrammar:a,selfGrammar:i},r):Se(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new w(e))}function Se(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];T([r],t,n)}}function Ce(e,n){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&T(e.selfGrammar.patterns,t.t(t.t({},e),{},{repository:e.selfGrammar.repository}),n),e.selfGrammar.injections&&T(Object.values(e.selfGrammar.injections),t.t(t.t({},e),{},{repository:e.selfGrammar.repository}),n)}function T(e,n,r){for(let i of e){if(r.visitedRule.has(i))continue;r.visitedRule.add(i);let e=i.repository?p({},n.repository,i.repository):n.repository;Array.isArray(i.patterns)&&T(i.patterns,t.t(t.t({},n),{},{repository:e}),r);let a=i.include;if(!a)continue;let o=ke(a);switch(o.kind){case 0:Ce(t.t(t.t({},n),{},{selfGrammar:n.baseGrammar}),r);break;case 1:Ce(n,r);break;case 2:Se(o.ruleName,t.t(t.t({},n),{},{repository:e}),r);break;case 3:case 4:let i=o.scopeName===n.selfGrammar.scopeName?n.selfGrammar:o.scopeName===n.baseGrammar.scopeName?n.baseGrammar:void 0;if(i){let t={baseGrammar:n.baseGrammar,selfGrammar:i,repository:e};o.kind===4?Se(o.ruleName,t,r):Ce(t,r)}else o.kind===4?r.add(new ve(o.scopeName,o.ruleName)):r.add(new w(o.scopeName));break}}}var we=class{constructor(){t.n(this,`kind`,0)}},Te=class{constructor(){t.n(this,`kind`,1)}},Ee=class{constructor(e){t.n(this,`kind`,2),this.ruleName=e}},De=class{constructor(e){t.n(this,`kind`,3),this.scopeName=e}},Oe=class{constructor(e,n){t.n(this,`kind`,4),this.scopeName=e,this.ruleName=n}};function ke(e){if(e===`$base`)return new we;if(e===`$self`)return new Te;let t=e.indexOf(`#`);return t===-1?new De(e):t===0?new Ee(e.substring(1)):new Oe(e.substring(0,t),e.substring(t+1))}var Ae=/\\(\d+)/,je=/\\(\d+)/g,Me=-1,Ne=-2;function Pe(e){return e}function Fe(e){return e}var E=class{constructor(e,n,r,i){t.n(this,`$location`,void 0),t.n(this,`id`,void 0),t.n(this,`_nameIsCapturing`,void 0),t.n(this,`_name`,void 0),t.n(this,`_contentNameIsCapturing`,void 0),t.n(this,`_contentName`,void 0),this.$location=e,this.id=n,this._name=r||null,this._nameIsCapturing=g.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=g.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${m(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:g.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:g.replaceCaptures(this._contentName,e,t)}},Ie=class extends E{constructor(e,n,r,i,a){super(e,n,r,i),t.n(this,`retokenizeCapturedWithRuleId`,void 0),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},Le=class extends E{constructor(e,n,r,i,a){super(e,n,r,null),t.n(this,`_match`,void 0),t.n(this,`captures`,void 0),t.n(this,`_cachedCompiledPatterns`,void 0),this._match=new O(i,this.id),this.captures=a,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,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new k,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Re=class extends E{constructor(e,n,r,i,a){super(e,n,r,i),t.n(this,`hasMissingPatterns`,void 0),t.n(this,`patterns`,void 0),t.n(this,`_cachedCompiledPatterns`,void 0),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new k,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ze=class extends E{constructor(e,n,r,i,a,o,s,c,l,u){super(e,n,r,i),t.n(this,`_begin`,void 0),t.n(this,`beginCaptures`,void 0),t.n(this,`_end`,void 0),t.n(this,`endHasBackReferences`,void 0),t.n(this,`endCaptures`,void 0),t.n(this,`applyEndPatternLast`,void 0),t.n(this,`hasMissingPatterns`,void 0),t.n(this,`patterns`,void 0),t.n(this,`_cachedCompiledPatterns`,void 0),this._begin=new O(a,this.id),this.beginCaptures=o,this._end=new O(s||``,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=l||!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,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new k;for(let t of this.patterns)e.getRule(t).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}},D=class extends E{constructor(e,n,r,i,a,o,s,c,l){super(e,n,r,i),t.n(this,`_begin`,void 0),t.n(this,`beginCaptures`,void 0),t.n(this,`whileCaptures`,void 0),t.n(this,`_while`,void 0),t.n(this,`whileHasBackReferences`,void 0),t.n(this,`hasMissingPatterns`,void 0),t.n(this,`patterns`,void 0),t.n(this,`_cachedCompiledPatterns`,void 0),t.n(this,`_cachedCompiledWhilePatterns`,void 0),this._begin=new O(a,this.id),this.beginCaptures=o,this.whileCaptures=c,this._while=new O(s,Ne),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new k;for(let 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,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new k,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||``),this._cachedCompiledWhilePatterns}},Be=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Ie(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new Le(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=p({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new Re(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new D(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new ze(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=ke(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l)if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository);break}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof Re||e instanceof ze||e instanceof D)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},O=class e{constructor(e,n){if(t.n(this,`source`,void 0),t.n(this,`ruleId`,void 0),t.n(this,`hasAnchor`,void 0),t.n(this,`hasBackReferences`,void 0),t.n(this,`_anchorCache`,void 0),e&&typeof e==`string`){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if(e.charAt(a)===`\\`&&a+1<t){let t=e.charAt(a+1);t===`z`?(r.push(e.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(t===`A`||t===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source==`string`?this.hasBackReferences=Ae.test(this.source):this.hasBackReferences=!1}clone(){return new e(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 Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return je.lastIndex=0,this.source.replace(je,(e,t)=>ee(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=``,t[i+1]=``,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=``,t[i+1]=`G`,n[i+1]=``,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.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}},k=class{constructor(){t.n(this,`_items`,void 0),t.n(this,`_hasAnchors`,void 0),t.n(this,`_cached`,void 0),t.n(this,`_anchorCache`,void 0),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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){return this._cached||(this._cached=new Ve(e,this._items.map(e=>e.source),this._items.map(e=>e.ruleId))),this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new Ve(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Ve=class{constructor(e,n,r){t.n(this,`scanner`,void 0),this.regExps=n,this.rules=r,this.scanner=e.createOnigScanner(n)}dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
|
|
2
|
-
`)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},He=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Ue=(s=class e{constructor(e,n){t.n(this,`_defaultAttributes`,void 0),t.n(this,`_embeddedLanguagesMatcher`,void 0),t.n(this,`_getBasicScopeAttributes`,new te(e=>new He(this._scopeToLanguage(e),this._toStandardTokenType(e)))),this._defaultAttributes=new He(e,8),this._embeddedLanguagesMatcher=new We(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case`comment`:return 1;case`string`:return 2;case`regex`:return 3;case`meta.embedded`:return 0}throw Error(`Unexpected match for standard token type!`)}},t.n(s,`_NULL_SCOPE_METADATA`,new He(0,0)),t.n(s,`STANDARD_TOKEN_TYPE_REGEXP`,/\b(comment|string|regex|meta\.embedded)\b/),s),We=class{constructor(e){if(t.n(this,`values`,void 0),t.n(this,`scopesRegExp`,void 0),e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>ee(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(`)|(`)}))($|\\.)`,``)}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<`u`&&process.env.VSCODE_TEXTMATE_DEBUG;var Ge=!1,Ke=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function qe(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=Je(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,u=o.anchorPosition}let d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new Ke(i,!0);f()}return new Ke(i,!1);function f(){let o=Ye(e,t,n,r,i,u);if(!o){a.produce(i,c),l=!0;return}let s=o.captureIndices,d=o.matchedRuleId,f=s&&s.length>0?s[0].end>r:!1;if(d===Me){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),A(e,t,n,i,a,o.endCaptures,s),a.produce(i,s[0].end);let d=i;if(i=i.parent,u=d.getAnchorPos(),!f&&d.getEnterPos()===r){i=d,a.produce(i,c),l=!0;return}}else{let o=e.getRule(d);a.produce(i,s[0].start);let p=i,m=o.getName(t.content,s),h=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(d,r,u,s[0].end===c,null,h,h),o instanceof ze){let r=o;A(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(o instanceof D){let r=o;A(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(A(e,t,n,i,a,o.captures,s),a.produce(i,s[0].end),i=i.pop(),!f){i=i.safePop(),a.produce(i,c),l=!0;return}}s[0].end>r&&(r=s[0].end,n=!1)}}function Je(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,s=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof D&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=$e(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==Ne){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),A(e,t,n,c.stack,a,c.rule.whileCaptures,u.captureIndices),a.produce(c.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=c.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function Ye(e,t,n,r,i,a){let o=Xe(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=Ze(s,e,t,n,r,i,a);if(!c)return o;if(!o)return c;let l=o.captureIndices[0].start,u=c.captureIndices[0].start;return u<l||c.priorityMatch&&u===l?c:o}function Xe(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=Qe(i.getRule(e),e,i.endRule,n,r===a),c=o.findNextMatchSync(t,r,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Ze(e,t,n,r,i,a,o){let s=Number.MAX_VALUE,c=null,l,u=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,f=e.length;a<f;a++){let f=e[a];if(!f.matcher(d))continue;let{ruleScanner:p,findOptions:m}=Qe(t.getRule(f.ruleId),t,null,r,i===o),h=p.findNextMatchSync(n,i,m);if(!h)continue;let g=h.captureIndices[0].start;if(!(g>=s)&&(s=g,c=h.captureIndices,l=h.ruleId,u=f.priority,s===i))break}return c?{priorityMatch:u===-1,captureIndices:c,matchedRuleId:l}:null}function Qe(e,t,n,r,i){return Ge?{ruleScanner:e.compile(t,n),findOptions:et(r,i)}:{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function $e(e,t,n,r,i){return Ge?{ruleScanner:e.compileWhile(t,n),findOptions:et(r,i)}:{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function et(e,t){let n=0;return e||(n|=1),t||(n|=4),n}function A(e,t,n,r,i,a,o){if(a.length===0)return;let s=t.content,c=Math.min(a.length,o.length),l=[],u=o[0].end;for(let t=0;t<c;t++){let c=a[t];if(c===null)continue;let d=o[t];if(d.length===0)continue;if(d.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=d.start;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?i.produceFromScopes(l[l.length-1].scopes,d.start):i.produce(r,d.start),c.retokenizeCapturedWithRuleId){let t=c.getName(s,o),a=r.contentNameScopesList.pushAttributed(t,e),l=c.getContentName(s,o),u=a.pushAttributed(l,e),f=r.push(c.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,u),p=e.createOnigString(s.substring(0,d.end));qe(e,p,n&&d.start===0,d.start,f,i,!1,0),_e(p);continue}let f=c.getName(s,o);if(f!==null){let t=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(f,e);l.push(new tt(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var tt=class{constructor(e,n){t.n(this,`scopes`,void 0),t.n(this,`endPos`,void 0),this.scopes=e,this.endPos=n}};function nt(e,t,n,r,i,a,o,s){return new at(e,t,n,r,i,a,o,s)}function rt(e,t,n,r,i){let a=C(t,j),o=Be.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function j(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(it(t[r],e))return n=r+1,!0;return!1})}function it(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]===`.`}var at=class{constructor(e,n,r,i,a,o,s,c){if(t.n(this,`_rootId`,void 0),t.n(this,`_lastRuleId`,void 0),t.n(this,`_ruleId2desc`,void 0),t.n(this,`_includedGrammars`,void 0),t.n(this,`_grammarRepository`,void 0),t.n(this,`_grammar`,void 0),t.n(this,`_injections`,void 0),t.n(this,`_basicScopeAttributesProvider`,void 0),t.n(this,`_tokenTypeMatchers`,void 0),this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=c,this._basicScopeAttributesProvider=new Ue(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=ot(n,null),this._injections=null,this._tokenTypeMatchers=[],a)for(let e of Object.keys(a)){let t=C(e,j);for(let n of t)this._tokenTypeMatchers.push({matcher:n.matcher,type:a[e]})}}get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e={lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){let e=r.injections;if(e)for(let n in e)rt(t,n,e[n],this,r);let i=this._grammarRepository.injections(n);i&&i.forEach(e=>{let n=this.getExternalGrammar(e);if(n){let e=n.injectionSelector;e&&rt(t,e,n,this,n)}})}return t.sort((e,t)=>e.priority-t.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(Pe(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[Fe(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ot(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Be.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===st.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=S.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?M.createRootAndLookUpScopeName(a,r,this):M.createRoot(`unknown`,r),t=new st(null,this._rootId,-1,-1,!1,null,o,o)}else i=!1,t.reset();e+=`
|
|
3
|
-
`;let a=this.createOnigString(e),o=a.content.length,s=new lt(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=qe(this,a,i,0,t,s,!0,r);return _e(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function ot(e,t){return e=l(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var M=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){var r;let i=t,a=(r=t==null?void 0:t.scopePath)==null?null:r;for(let t of n)a=ne.push(a,t.scopeNames),i=new e(i,a,t.encodedTokenAttributes);return i}static createRoot(t,n){return new e(null,new ne(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new ne(null,t),o=r.themeProvider.themeMatch(a);return new e(null,a,e.mergeAttributes(n,i,o))}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(` `)}equals(t){return e.equals(this,t)}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,n){let r=-1,i=0,a=0;return n!==null&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),S.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(` `)===-1)return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a);return new e(t,a,e.mergeAttributes(t.tokenAttributes,i,o))}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;){var r,i;t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined((r=(i=n.parent)==null?void 0:i.scopePath)==null?null:r)}),n=n.parent}return n===e?t.reverse():void 0}},st=(c=class e{constructor(e,n,r,i,a,o,s,c){t.n(this,`_stackElementBrand`,void 0),t.n(this,`_enterPos`,void 0),t.n(this,`_anchorPos`,void 0),t.n(this,`depth`,void 0),this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=a,this.endRule=o,this.nameScopesList=s,this.contentNameScopesList=c,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(t){return t===null?!1:e._equals(this,t)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?M.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(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,o,s){return new e(this,t,n,r,i,a,o,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),`[`+e.join(`,`)+`]`}_writeString(e,t){var n,r;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.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(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,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,n,r,i,a;return{ruleId:Fe(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:(e=(t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined((n=(r=this.parent)==null?void 0:r.nameScopesList)==null?null:n))==null?[]:e,contentNameScopesList:(i=(a=this.contentNameScopesList)==null?void 0:a.getExtensionIfDefined(this.nameScopesList))==null?[]:i}}static pushFrame(t,n){var r,i,a;let o=M.fromExtension((r=t==null?void 0:t.nameScopesList)==null?null:r,n.nameScopesList);return new e(t,Pe(n.ruleId),(i=n.enterPos)==null?-1:i,(a=n.anchorPos)==null?-1:a,n.beginRuleCapturedEOL,n.endRule,o,M.fromExtension(o,n.contentNameScopesList))}},t.n(c,`NULL`,new c(null,0,0,0,!1,null,null,null)),c),ct=class{constructor(e,n){t.n(this,`balancedBracketScopes`,void 0),t.n(this,`unbalancedBracketScopes`,void 0),t.n(this,`allowAny`,!1),this.balancedBracketScopes=e.flatMap(e=>e===`*`?(this.allowAny=!0,[]):C(e,j).map(e=>e.matcher)),this.unbalancedBracketScopes=n.flatMap(e=>C(e,j).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},lt=class{constructor(e,n,r,i){t.n(this,`_emitBinaryTokens`,void 0),t.n(this,`_lineText`,void 0),t.n(this,`_tokens`,void 0),t.n(this,`_binaryTokens`,void 0),t.n(this,`_lastTokenEndIndex`,void 0),t.n(this,`_tokenTypeOverrides`,void 0),this.balancedBracketSelectors=i,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){var r,i;let n=(r=e==null?void 0:e.tokenAttributes)==null?0:r,o=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){var a;let t=(a=e==null?void 0:e.getScopeNames())==null?[]:a;for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=S.set(n,0,pe(e.type),null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(t))}if(o&&(n=S.set(n,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let o=(n=e==null?void 0:e.getScopeNames())==null?[]:n;this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:o}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},ut=class{constructor(e,n){t.n(this,`_grammars`,new Map),t.n(this,`_rawGrammars`,new Map),t.n(this,`_injectionGrammars`,new Map),t.n(this,`_theme`,void 0),this._onigLib=n,this._theme=e}dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,nt(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},dt=class{constructor(e){t.n(this,`_options`,void 0),t.n(this,`_syncRegistry`,void 0),t.n(this,`_ensureGrammarCache`,void 0),this._options=e,this._syncRegistry=new ut(b.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(b.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new ct(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new be(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n=typeof this._options.getInjections==`function`?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},ft=st.NULL,pt=[`content`,`explanation`,`offset`];function N(e,n){let r=typeof e==`string`?{}:t.t({},e.colorReplacements),i=typeof e==`string`?e:e.name;for(let[e,t]of Object.entries((n==null?void 0:n.colorReplacements)||{}))typeof t==`string`?r[e]=t:e===i&&Object.assign(r,t);return r}function P(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function mt(e){return Array.isArray(e)?e:[e]}async function ht(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function gt(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function _t(e){return e===`ansi`||gt(e)}function vt(e){return e===`none`}function yt(e){return vt(e)}function bt(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;e<n.length;e+=2){var a;let o=t?n[e]+(n[e+1]||``):n[e];i.push([o,r]),r+=n[e].length,r+=((a=n[e+1])==null?void 0:a.length)||0}return i}var xt={light:`#333333`,dark:`#bbbbbb`},St={light:`#fffffe`,dark:`#1e1e1e`},Ct=`__shiki_resolved`;function wt(e){if(e!=null&&e[Ct])return e;let n=t.t({},e);n.tokenColors&&!n.settings&&(n.settings=n.tokenColors,delete n.tokenColors),n.type||(n.type=`dark`),n.colorReplacements=t.t({},n.colorReplacements),n.settings||(n.settings=[]);let{bg:r,fg:i}=n;if(!r||!i){var a,o,s,c;let e=n.settings?n.settings.find(e=>!e.name&&!e.scope):void 0;!(e==null||(a=e.settings)==null)&&a.foreground&&(i=e.settings.foreground),!(e==null||(o=e.settings)==null)&&o.background&&(r=e.settings.background),!i&&!(n==null||(s=n.colors)==null)&&s[`editor.foreground`]&&(i=n.colors[`editor.foreground`]),!r&&!(n==null||(c=n.colors)==null)&&c[`editor.background`]&&(r=n.colors[`editor.background`]),i||(i=n.type===`light`?xt.light:xt.dark),r||(r=n.type===`light`?St.light:St.dark),n.fg=i,n.bg=r}n.settings[0]&&n.settings[0].settings&&!n.settings[0].scope||n.settings.unshift({settings:{foreground:n.fg,background:n.bg}});let l=0,u=new Map;function d(e){var t;if(u.has(e))return u.get(e);l+=1;let r=`#${l.toString(16).padStart(8,`0`).toLowerCase()}`;return(t=n.colorReplacements)!=null&&t[`#${r}`]?d(e):(u.set(e,r),r)}n.settings=n.settings.map(e=>{var r,i;let a=((r=e.settings)==null?void 0:r.foreground)&&!e.settings.foreground.startsWith(`#`),o=((i=e.settings)==null?void 0:i.background)&&!e.settings.background.startsWith(`#`);if(!a&&!o)return e;let s=t.t(t.t({},e),{},{settings:t.t({},e.settings)});if(a){let t=d(e.settings.foreground);n.colorReplacements[t]=e.settings.foreground,s.settings.foreground=t}if(o){let t=d(e.settings.background);n.colorReplacements[t]=e.settings.background,s.settings.background=t}return s});for(let e of Object.keys(n.colors||{}))if(e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`)){var f;if(!((f=n.colors[e])!=null&&f.startsWith(`#`))){let t=d(n.colors[e]);n.colorReplacements[t]=n.colors[e],n.colors[e]=t}}return Object.defineProperty(n,Ct,{enumerable:!1,writable:!1,value:!0}),n}async function Tt(e){return Array.from(new Set((await Promise.all(e.filter(e=>!_t(e)).map(async e=>await ht(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function Et(e){return(await Promise.all(e.map(async e=>yt(e)?null:wt(await ht(e))))).filter(e=>!!e)}function Dt(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new o(`Circular alias \`${Array.from(n).join(` -> `)} -> ${e}\``);n.add(e)}}return e}var Ot=class extends dt{constructor(e,n,r,i={}){super(e),t.n(this,`_resolvedThemes`,new Map),t.n(this,`_resolvedGrammars`,new Map),t.n(this,`_langMap`,new Map),t.n(this,`_langGraph`,new Map),t.n(this,`_textmateThemeCache`,new WeakMap),t.n(this,`_loadedThemesCache`,null),t.n(this,`_loadedLanguagesCache`,null),this._resolver=e,this._themes=n,this._langs=r,this._alias=i,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=wt(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=b.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Dt(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>{var n;return(n=t.embeddedLangsLazy)==null?void 0:n.includes(e.name)}));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t){var i,a;this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,(i=this._syncRegistry)==null||(i=i._injectionGrammars)==null||i.delete(e.scopeName),(a=this._syncRegistry)==null||(a=a._grammars)==null||a.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>{var r;return t?(r=t.embeddedLanguages||t.embeddedLangs)==null?void 0:r.some(e=>n.map(([e])=>e).includes(e)):!1}).filter(e=>!n.includes(e));throw new o(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){var t;this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let n=(t=e.embeddedLanguages)==null?e.embeddedLangs:t;if(n)for(let e of n)this._langGraph.set(e,this._langMap.get(e))}},kt=class{constructor(e,n){t.n(this,`_langs`,new Map),t.n(this,`_scopeToLang`,new Map),t.n(this,`_injections`,new Map),t.n(this,`_onigLib`,void 0),this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},n.forEach(e=>this.addLanguage(e))}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){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},F=0;function At(e){F+=1,e.warnings!==!1&&F>=10&&F%10==0&&console.warn(`[Shiki] ${F} 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 t=!1;if(!e.engine)throw new o("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(wt),i=new Ot(new kt(e.engine,n),r,n,e.langAlias),a;function s(t){return Dt(t,e.langAlias)}function c(e){_();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new o(`Language \`${e}\` not found, you may need to load it first`);return t}function l(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};_();let t=i.getTheme(e);if(!t)throw new o(`Theme \`${e}\` not found, you may need to load it first`);return t}function u(e){_();let t=l(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function d(){return _(),i.getLoadedThemes()}function f(){return _(),i.getLoadedLanguages()}function p(...e){_(),i.loadLanguages(e.flat(1))}async function m(...e){return p(await Tt(e))}function h(...e){_();for(let t of e.flat(1))i.loadTheme(t)}async function g(...e){return _(),h(await Et(e))}function _(){if(t)throw new o(`Shiki instance has been disposed`)}function v(){t||(t=!0,i.dispose(),--F)}return{setTheme:u,getTheme:l,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:f,resolveLangAlias:s,loadLanguage:m,loadLanguageSync:p,loadTheme:g,loadThemeSync:h,dispose:v,[Symbol.dispose]:v}}async function jt(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[n,r,i]=await Promise.all([Et(e.themes||[]),Tt(e.langs||[]),e.engine]);return At(t.t(t.t({},e),{},{themes:n,langs:r,engine:i}))}var Mt=new WeakMap;function I(e,t){Mt.set(e,t)}function L(e){return Mt.get(e)}var R=class e{get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new e(Object.fromEntries(mt(n).map(e=>[e,ft])),t)}constructor(...e){if(t.n(this,`_stacks`,{}),t.n(this,`lang`,void 0),e.length===2){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Nt(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Nt(e){let t=[],n=new Set;function r(e){var i;if(n.has(e))return;n.add(e);let a=e==null||(i=e.nameScopesList)==null?void 0:i.scopeName;a&&t.push(a),e.parent&&r(e.parent)}return r(e),t}function Pt(e,t){if(!(e instanceof R))throw new o(`Invalid grammar state`);return e.getInternalStack(t)}function Ft(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n;if(gt(e.resolveLangAlias(n.lang||`text`))||vt(r))return bt(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:i,colorMap:a}=e.setTheme(r),s=e.getLanguage(n.lang||`text`);if(n.grammarState){if(n.grammarState.lang!==s.name)throw new o(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(i.name))throw new o(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return Lt(t,s,i,a,n)}function It(...e){if(e.length===2)return L(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(gt(i)||vt(a))throw new o(`Plain language does not have grammar state`);if(i===`ansi`)throw new o(`ANSI language does not have grammar state`);let{theme:s,colorMap:c}=t.setTheme(a),l=t.getLanguage(i);return new R(Rt(n,l,s,c,r).stateStack,l.name,s.name)}function Lt(e,t,n,r,i){let a=Rt(e,t,n,r,i),o=new R(a.stateStack,t.name,n.name);return I(a.tokens,o),a.tokens}function Rt(e,n,r,i,a){var o;let s=N(r,a),{tokenizeMaxLineLength:c=0,tokenizeTimeLimit:l=500}=a,u=bt(e),d=a.grammarState?(o=Pt(a.grammarState,r.name))==null?ft:o:a.grammarContextCode==null?ft:Rt(a.grammarContextCode,n,r,i,t.t(t.t({},a),{},{grammarState:void 0,grammarContextCode:void 0})).stateStack,f=[],p=[];for(let e=0,t=u.length;e<t;e++){let[t,o]=u[e];if(t===``){f=[],p.push([]);continue}if(c>0&&t.length>=c){f=[],p.push([{content:t,offset:o,color:``,fontStyle:0}]);continue}let m,h,g;a.includeExplanation&&(m=n.tokenizeLine(t,d,l),h=m.tokens,g=0);let _=n.tokenizeLine2(t,d,l),v=_.tokens.length/2;for(let e=0;e<v;e++){let n=_.tokens[2*e],c=e+1<v?_.tokens[2*e+2]:t.length;if(n===c)continue;let l=_.tokens[2*e+1],u=P(i[S.getForeground(l)],s),d=S.getFontStyle(l),p={content:t.substring(n,c),offset:o+n,color:u,fontStyle:d};if(a.includeExplanation){let e=[];if(a.includeExplanation!==`scopeName`)for(let t of r.settings){let n;switch(typeof t.scope){case`string`:n=t.scope.split(/,/).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}p.explanation=[];let i=0;for(;n+i<c;){let n=h[g],r=t.substring(n.startIndex,n.endIndex);i+=r.length,p.explanation.push({content:r,scopes:a.includeExplanation===`scopeName`?zt(n.scopes):Bt(e,n.scopes)}),g+=1}}f.push(p)}p.push(f),f=[],d=_.ruleStack}return{tokens:p,stateStack:d}}function zt(e){return e.map(e=>({scopeName:e}))}function Bt(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:Ut(e,i,t.slice(0,r))}}return n}function Vt(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function Ht(e,t,n){if(!Vt(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)Vt(e[r],n[i])&&--r,--i;return r===-1}function Ut(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(Ht(e,t,n)){r.push(a);break}return r}function Wt(e,r,i,a=Ft){let o=Object.entries(i.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),s=o.map(n=>{let o=a(e,r,t.t(t.t({},i),{},{theme:n.theme}));return{tokens:o,state:L(o),theme:typeof n.theme==`string`?n.theme:n.theme.name}}),c=Gt(...s.map(e=>e.tokens)),l=c[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in i&&i.includeExplanation&&(a.explanation=e.explanation),c.forEach((e,i)=>{let s=e[t][r],{content:c,explanation:l,offset:u}=s,d=n.t(s,pt);a.variants[o[i].color]=d}),a})),u=s[0].state?new R(Object.fromEntries(s.map(e=>{var t;return[e.theme,(t=e.state)==null?void 0:t.getInternalStack(e.theme)]})),s[0].state.lang):void 0;return u&&I(l,u),l}function Gt(...e){let n=e.map(()=>[]),r=e.length;for(let i=0;i<e[0].length;i++){let a=e.map(e=>e[i]),o=n.map(()=>[]);n.forEach((e,t)=>e.push(o[t]));let s=a.map(()=>0),c=a.map(e=>e[0]);for(;c.every(e=>e);){let e=Math.min(...c.map(e=>e.content.length));for(let n=0;n<r;n++){let r=c[n];r.content.length===e?(o[n].push(r),s[n]+=1,c[n]=a[n][s[n]]):(o[n].push(t.t(t.t({},r),{},{content:r.content.slice(0,e)})),c[n]=t.t(t.t({},r),{},{content:r.content.slice(e),offset:r.offset+e}))}}}return n}var Kt=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],z=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};z.prototype.normal={},z.prototype.property={},z.prototype.space=void 0;function qt(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new z(n,r,t)}function Jt(e){return e.toLowerCase()}var B=class{constructor(e,t){this.attribute=t,this.property=e}};B.prototype.attribute=``,B.prototype.booleanish=!1,B.prototype.boolean=!1,B.prototype.commaOrSpaceSeparated=!1,B.prototype.commaSeparated=!1,B.prototype.defined=!1,B.prototype.mustUseProperty=!1,B.prototype.number=!1,B.prototype.overloadedBoolean=!1,B.prototype.property=``,B.prototype.spaceSeparated=!1,B.prototype.space=void 0;var Yt=e.r({boolean:()=>V,booleanish:()=>H,commaOrSpaceSeparated:()=>K,commaSeparated:()=>G,number:()=>U,overloadedBoolean:()=>Zt,spaceSeparated:()=>W}),Xt=0,V=q(),H=q(),Zt=q(),U=q(),W=q(),G=q(),K=q();function q(){return 2**++Xt}var Qt=Object.keys(Yt),$t=class extends B{constructor(e,t,n,r){let i=-1;if(super(e,t),en(this,`space`,r),typeof n==`number`)for(;++i<Qt.length;){let e=Qt[i];en(this,Qt[i],(n&Yt[e])===Yt[e])}}};$t.prototype.defined=!0;function en(e,t,n){n&&(e[t]=n)}function J(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new $t(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Jt(r)]=r,n[Jt(a.attribute)]=r}return new z(t,n,e.space)}var tn=J({properties:{ariaActiveDescendant:null,ariaAtomic:H,ariaAutoComplete:null,ariaBusy:H,ariaChecked:H,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:W,ariaCurrent:null,ariaDescribedBy:W,ariaDetails:null,ariaDisabled:H,ariaDropEffect:W,ariaErrorMessage:null,ariaExpanded:H,ariaFlowTo:W,ariaGrabbed:H,ariaHasPopup:null,ariaHidden:H,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:W,ariaLevel:U,ariaLive:null,ariaModal:H,ariaMultiLine:H,ariaMultiSelectable:H,ariaOrientation:null,ariaOwns:W,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:H,ariaReadOnly:H,ariaRelevant:null,ariaRequired:H,ariaRoleDescription:W,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:H,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function nn(e,t){return t in e?e[t]:t}function rn(e,t){return nn(e,t.toLowerCase())}var an=J({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:G,acceptCharset:W,accessKey:W,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:W,autoFocus:V,autoPlay:V,blocking:W,capture:null,charSet:null,checked:V,cite:null,className:W,cols:U,colSpan:null,content:null,contentEditable:H,controls:V,controlsList:W,coords:U|G,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:Zt,draggable:H,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:W,height:U,hidden:Zt,high:U,href:null,hrefLang:null,htmlFor:W,httpEquiv:W,id:null,imageSizes:null,imageSrcSet:null,inert:V,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:W,itemRef:W,itemScope:V,itemType:W,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,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:V,optimum:U,pattern:null,ping:W,placeholder:null,playsInline:V,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:W,required:V,reversed:V,rows:U,rowSpan:U,sandbox:W,scope:null,scoped:V,seamless:V,selected:V,shadowRootClonable:V,shadowRootDelegatesFocus:V,shadowRootMode:null,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:H,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:H,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:W,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:H,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:U,security:null,unselectable:null},space:`html`,transform:rn}),on=J({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`,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:K,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:W,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:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:V,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,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:G,g2:G,glyphName:G,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:K,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,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:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:W,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:K,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:K,rev:K,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:K,requiredFeatures:K,requiredFonts:K,requiredFormats:K,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:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:K,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:K,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:K,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:nn}),sn=J({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),cn=J({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:rn}),ln=J({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),un=/[A-Z]/g,dn=/-[a-z]/g,fn=/^data[-\w.:]+$/i;function pn(e,t){let n=Jt(t),r=t,i=B;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&fn.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(dn,hn);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!dn.test(e)){let n=e.replace(un,mn);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=$t}return new i(r,t)}function mn(e){return`-`+e.toLowerCase()}function hn(e){return e.charAt(1).toUpperCase()}var gn=qt([tn,an,sn,cn,ln],`html`),_n=qt([tn,on,sn,cn,ln],`svg`),vn=/["&'<>`]/g,yn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bn=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,xn=/[|\\{}()[\]^$+*?.]/g,Sn=new WeakMap;function Cn(e,t){if(e=e.replace(t.subset?wn(t.subset):vn,r),t.subset||t.escapeOnly)return e;return e.replace(yn,n).replace(bn,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function wn(e){let t=Sn.get(e);return t||(t=Tn(e),Sn.set(e,t)),t}function Tn(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(xn,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var En=/[\dA-Fa-f]/;function Dn(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!En.test(String.fromCharCode(t))?r:r+`;`}var On=/\d/;function kn(e,t,n){let r=`&#`+String(e);return n&&t&&!On.test(String.fromCharCode(t))?r:r+`;`}var An=`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`.split(`.`),jn={nbsp:`\xA0`,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:`€`},Mn=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],Nn={}.hasOwnProperty,Pn={},Y;for(Y in jn)Nn.call(jn,Y)&&(Pn[jn[Y]]=Y);var Fn=/[^\dA-Za-z]/;function In(e,t,n,r){let i=String.fromCharCode(e);if(Nn.call(Pn,i)){let e=Pn[i],a=`&`+e;return n&&An.includes(e)&&!Mn.includes(e)&&(!r||t&&t!==61&&Fn.test(String.fromCharCode(t)))?a:a+`;`}return``}function Ln(e,t,n){let r=Dn(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=In(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=kn(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function X(e,t){return Cn(e,Object.assign({format:Ln},t))}var Rn=/^>|^->|<!--|-->|--!>|<!-$/g,zn=[`>`],Bn=[`<`,`>`];function Vn(e,t,n,r){return r.settings.bogusComments?`<?`+X(e.value,Object.assign({},r.settings.characterReferences,{subset:zn}))+`>`:`<!--`+e.value.replace(Rn,i)+`-->`;function i(e){return X(e,Object.assign({},r.settings.characterReferences,{subset:Bn}))}}function Hn(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function Un(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function Wn(e){return e.join(` `).trim()}var Gn=/[ \t\n\f\r]/g;function Kn(e){return typeof e==`object`?e.type===`text`?qn(e.value):!1:qn(e)}function qn(e){return e.replace(Gn,``)===``}var Z=Xn(1),Jn=Xn(-1),Yn=[];function Xn(e){return t;function t(t,n,r){let i=t?t.children:Yn,a=(n||0)+e,o=i[a];if(!r)for(;o&&Kn(o);)a+=e,o=i[a];return o}}var Zn={}.hasOwnProperty;function Qn(e){return t;function t(t,n,r){return Zn.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var $n=Qn({body:nr,caption:er,colgroup:er,dd:or,dt:ar,head:er,html:tr,li:ir,optgroup:cr,option:lr,p:rr,rp:sr,rt:sr,tbody:dr,td:mr,tfoot:fr,th:mr,thead:ur,tr:pr});function er(e,t,n){let r=Z(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&Kn(r.value.charAt(0)))}function tr(e,t,n){let r=Z(n,t);return!r||r.type!==`comment`}function nr(e,t,n){let r=Z(n,t);return!r||r.type!==`comment`}function rr(e,t,n){let r=Z(n,t);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`):!n||!(n.type===`element`&&(n.tagName===`a`||n.tagName===`audio`||n.tagName===`del`||n.tagName===`ins`||n.tagName===`map`||n.tagName===`noscript`||n.tagName===`video`))}function ir(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&r.tagName===`li`}function ar(e,t,n){let r=Z(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function or(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function sr(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function cr(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function lr(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function ur(e,t,n){let r=Z(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function dr(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function fr(e,t,n){return!Z(n,t)}function pr(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function mr(e,t,n){let r=Z(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var hr=Qn({body:vr,colgroup:yr,head:_r,html:gr,tbody:br});function gr(e){let t=Z(e,-1);return!t||t.type!==`comment`}function _r(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function vr(e){let t=Z(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&Kn(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function yr(e,t,n){let r=Jn(n,t),i=Z(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&$n(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function br(e,t,n){let r=Jn(n,t),i=Z(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&$n(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var xr={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 Sr(e,t,n,r){let i=r.schema,a=i.space===`svg`?!1:r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=_n);let l=Cr(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!hr(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!$n(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function Cr(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=wr(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function wr(e,t,n){let i=pn(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,o=e.settings.allowDangerousCharacters?0:1,s=e.quote,c;if(i.overloadedBoolean&&(n===i.attribute||n===``)?n=!0:(i.boolean||i.overloadedBoolean)&&(typeof n!=`string`||n===i.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let l=X(i.attribute,Object.assign({},e.settings.characterReferences,{subset:xr.name[a][o]}));return n===!0||(n=Array.isArray(n)?(i.commaSeparated?Un:Wn)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(c=X(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:xr.unquoted[a][o]}))),c!==n&&(e.settings.quoteSmart&&r.t(n,s)>r.t(n,e.alternative)&&(s=e.alternative),c=s+X(n,Object.assign({},e.settings.characterReferences,{subset:(s===`'`?xr.single:xr.double)[a][o],attribute:!0}))+s),l+(c&&`=`+c))}var Tr=[`<`,`&`];function Er(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:X(e.value,Object.assign({},r.settings.characterReferences,{subset:Tr}))}function Dr(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Er(e,t,n,r)}function Or(e,t,n,r){return r.all(e)}var kr=a(`type`,{invalid:Ar,unknown:jr,handlers:{comment:Vn,doctype:Hn,element:Sr,raw:Dr,root:Or,text:Er}});function Ar(e){throw Error("Expected node, not `"+e+"`")}function jr(e){let t=e;throw Error("Cannot compile unknown node `"+t.type+"`")}var Mr={},Nr={},Pr=[];function Fr(e,t){let n=t||Mr,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Ir,all:Lr,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Kt,characterReferences:n.characterReferences||Nr,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?_n:gn,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function Ir(e,t,n){return kr(e,t,n,this)}function Lr(e){let t=[],n=e&&e.children||Pr,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function Rr(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class==`string`&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);let r=Array.isArray(t)?t:t.split(/\s+/g);for(let t of r)t&&!e.properties.class.includes(t)&&e.properties.class.push(t);return e}function zr(e){let t=bt(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}}function r(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+=n,r}return{lines:t,indexToPos:n,posToIndex:r}}var Br=`light-dark()`,Vr=[`color`,`background-color`];function Hr(e,n){let r=0,i=[];for(let a of n)a>r&&i.push(t.t(t.t({},e),{},{content:e.content.slice(r,a),offset:e.offset+r})),r=a;return r<e.content.length&&i.push(t.t(t.t({},e),{},{content:e.content.slice(r),offset:e.offset+r})),i}function Ur(e,t){let n=Array.from(t instanceof Set?t:new Set(t)).sort((e,t)=>e-t);return n.length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);return t.length?Hr(e,t):e})):e}function Wr(e,t,n,r,i=`css-vars`){let a={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(t=>Q(e.variants[t])),c=new Set(s.flatMap(e=>Object.keys(e))),l={},u=(e,r)=>{let i=r===`color`?``:r===`background-color`?`-bg`:`-${r}`;return n+t[e]+(r===`color`?``:i)};return s.forEach((e,n)=>{for(let a of c){let c=e[a]||`inherit`;if(n===0&&r&&Vr.includes(a))if(r===Br&&s.length>1){let e=t.findIndex(e=>e===`light`),r=t.findIndex(e=>e===`dark`);if(e===-1||r===-1)throw new o('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[a]=`light-dark(${s[e][a]||`inherit`}, ${s[r][a]||`inherit`})`,i===`css-vars`&&(l[u(n,a)]=c)}else l[a]=c;else i===`css-vars`&&(l[u(n,a)]=c)}}),a.htmlStyle=l,a}function Q(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle){e.fontStyle&x.Italic&&(t[`font-style`]=`italic`),e.fontStyle&x.Bold&&(t[`font-weight`]=`bold`);let n=[];e.fontStyle&x.Underline&&n.push(`underline`),e.fontStyle&x.Strikethrough&&n.push(`line-through`),n.length&&(t[`text-decoration`]=n.join(` `))}return t}function Gr(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function Kr(){let e=new WeakMap;function n(n){if(!e.has(n.meta)){let r=zr(n.source);function i(e){if(typeof e==`number`){if(e<0||e>n.source.length)throw new o(`Invalid decoration offset: ${e}. Code length: ${n.source.length}`);return t.t(t.t({},r.indexToPos(e)),{},{offset:e})}else{let n=r.lines[e.line];if(n===void 0)throw new o(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let i=e.character;if(i<0&&(i=n.length+i),i<0||i>n.length)throw new o(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${n.length}`);return t.t(t.t({},e),{},{character:i,offset:r.posToIndex(e.line,i)})}}let a=(n.options.decorations||[]).map(e=>t.t(t.t({},e),{},{start:i(e.start),end:i(e.end)}));qr(a),e.set(n.meta,{decorations:a,converter:r,source:n.source})}return e.get(n.meta)}return{name:`shiki:decorations`,tokens(e){var t;if((t=this.options.decorations)!=null&&t.length)return Ur(e,n(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){var r;if(!((r=this.options.decorations)!=null&&r.length))return;let i=n(this),a=Array.from(e.children).filter(e=>e.type===`element`&&e.tagName===`span`);if(a.length!==i.converter.lines.length)throw new o(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function s(e,t,n,r){let i=a[e],s=``,c=-1,u=-1;if(t===0&&(c=0),n===0&&(u=0),n===1/0&&(u=i.children.length),c===-1||u===-1)for(let e=0;e<i.children.length;e++)s+=Jr(i.children[e]),c===-1&&s.length===t&&(c=e+1),u===-1&&s.length===n&&(u=e+1);if(c===-1)throw new o(`Failed to find start index for decoration ${JSON.stringify(r.start)}`);if(u===-1)throw new o(`Failed to find end index for decoration ${JSON.stringify(r.end)}`);let d=i.children.slice(c,u);if(!r.alwaysWrap&&d.length===i.children.length)l(i,r,`line`);else if(!r.alwaysWrap&&d.length===1&&d[0].type===`element`)l(d[0],r,`token`);else{let e={type:`element`,tagName:`span`,properties:{},children:d};l(e,r,`wrapper`),i.children.splice(c,d.length,e)}}function c(e,t){a[e]=l(a[e],t,`line`)}function l(e,n,r){var i;let a=n.properties||{},o=n.transform||(e=>e);return e.tagName=n.tagName||`span`,e.properties=t.t(t.t(t.t({},e.properties),a),{},{class:e.properties.class}),(i=n.properties)!=null&&i.class&&Rr(e,n.properties.class),e=o(e,r)||e,e}let u=[],d=i.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset);for(let e of d){let{start:t,end:n}=e;if(t.line===n.line)s(t.line,t.character,n.character,e);else if(t.line<n.line){s(t.line,t.character,1/0,e);for(let r=t.line+1;r<n.line;r++)u.unshift(()=>c(r,e));s(n.line,0,n.character,e)}}u.forEach(e=>e())}}}function qr(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new o(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,s=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,c=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||s||c){if(i&&a||s&&c||s&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new o(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}}function Jr(e){return e.type===`text`?e.value:e.type===`element`?e.children.map(Jr).join(``):``}var Yr=[Kr()];function Xr(e){let t=Zr(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Yr]}function Zr(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case`pre`:t.push(i);break;case`post`:n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}var $=[`black`,`red`,`green`,`yellow`,`blue`,`magenta`,`cyan`,`white`,`brightBlack`,`brightRed`,`brightGreen`,`brightYellow`,`brightBlue`,`brightMagenta`,`brightCyan`,`brightWhite`],Qr={1:`bold`,2:`dim`,3:`italic`,4:`underline`,7:`reverse`,8:`hidden`,9:`strikethrough`};function $r(e,t){let n=e.indexOf(`\x1B`,t);if(n!==-1&&e[n+1]===`[`){let t=e.indexOf(`m`,n);if(t!==-1)return{sequence:e.substring(n+2,t).split(`;`),startPosition:n,position:t+1}}return{position:e.length}}function ei(e){let t=e.shift();if(t===`2`){let t=e.splice(0,3).map(e=>Number.parseInt(e));return t.length!==3||t.some(e=>Number.isNaN(e))?void 0:{type:`rgb`,rgb:t}}else if(t===`5`){let t=e.shift();if(t)return{type:`table`,index:Number(t)}}}function ti(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:`resetAll`});else if(r<=9)Qr[r]&&t.push({type:`setDecoration`,value:Qr[r]});else if(r<=29){let e=Qr[r-20];e&&(t.push({type:`resetDecoration`,value:e}),e===`dim`&&t.push({type:`resetDecoration`,value:`bold`}))}else if(r<=37)t.push({type:`setForegroundColor`,value:{type:`named`,name:$[r-30]}});else if(r===38){let n=ei(e);n&&t.push({type:`setForegroundColor`,value:n})}else if(r===39)t.push({type:`resetForegroundColor`});else if(r<=47)t.push({type:`setBackgroundColor`,value:{type:`named`,name:$[r-40]}});else if(r===48){let n=ei(e);n&&t.push({type:`setBackgroundColor`,value:n})}else r===49?t.push({type:`resetBackgroundColor`}):r===53?t.push({type:`setDecoration`,value:`overline`}):r===55?t.push({type:`resetDecoration`,value:`overline`}):r>=90&&r<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:$[r-90+8]}}):r>=100&&r<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:$[r-100+8]}})}return t}function ni(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=$r(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=ti(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(a<r.length);return i}}}var ri={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 ii(e=ri){function t(t){return e[t]}function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e<$.length;e++)r.push(t($[e]));let e=[0,95,135,175,215,255];for(let t=0;t<6;t++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)r.push(n([e[t],e[i],e[a]]));let i=8;for(let e=0;e<24;e++,i+=10)r.push(n([i,i,i]));return r}function a(e){return i()[e]}function o(e){switch(e.type){case`named`:return t(e.name);case`rgb`:return n(e.rgb);case`table`:return a(e.index)}}return{value:o}}var ai={black:`#000000`,red:`#cd3131`,green:`#0DBC79`,yellow:`#E5E510`,blue:`#2472C8`,magenta:`#BC3FBC`,cyan:`#11A8CD`,white:`#E5E5E5`,brightBlack:`#666666`,brightRed:`#F14C4C`,brightGreen:`#23D18B`,brightYellow:`#F5F543`,brightBlue:`#3B8EEA`,brightMagenta:`#D670D6`,brightCyan:`#29B8DB`,brightWhite:`#FFFFFF`};function oi(e,t,n){let r=N(e,n),i=bt(t),a=ii(Object.fromEntries($.map(t=>{var n;let r=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,((n=e.colors)==null?void 0:n[r])||ai[t]]}))),o=ni();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=P(i,r),o=P(o,r),n.decorations.has(`dim`)&&(i=si(i));let s=x.None;return n.decorations.has(`bold`)&&(s|=x.Bold),n.decorations.has(`italic`)&&(s|=x.Italic),n.decorations.has(`underline`)&&(s|=x.Underline),n.decorations.has(`strikethrough`)&&(s|=x.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function si(e){let t=e.match(/#([0-9a-f]{3,8})/i);if(t){let e=t[1];if(e.length===8){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,`0`);return`#${e.slice(0,6)}${t}`}else if(e.length===6)return`#${e}80`;else if(e.length===4){let t=e[0],n=e[1],r=e[2],i=e[3];return`#${t}${t}${n}${n}${r}${r}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,`0`)}`}else if(e.length===3){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function ci(e,t,n={}){let r=e.resolveLangAlias(n.lang||`text`),{theme:i=e.getLoadedThemes()[0]}=n;if(!gt(r)&&!vt(i)&&r===`ansi`){let{theme:r}=e.setTheme(i);return oi(r,t,n)}return Ft(e,t,n)}function li(e,t,n){let r,i,a,s,c,l;if(`themes`in n){let{defaultColor:u=`light`,cssVariablePrefix:d=`--shiki-`,colorsRendering:f=`css-vars`}=n,p=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===u?-1:t.color===u?1:0);if(p.length===0)throw new o("`themes` option must not be empty");let m=Wt(e,t,n,ci);if(l=L(m),u&&Br!==u&&!p.find(e=>e.color===u))throw new o(`\`themes\` option must contain the defaultColor key \`${u}\``);let h=p.map(t=>e.getTheme(t.theme)),g=p.map(e=>e.color);a=m.map(e=>e.map(e=>Wr(e,g,d,u,f))),l&&I(a,l);let _=p.map(e=>N(e.theme,n));i=ui(p,h,_,d,u,`fg`,f),r=ui(p,h,_,d,u,`bg`,f),s=`shiki-themes ${h.map(e=>e.name).join(` `)}`,c=u?void 0:[i,r].join(`;`)}else if(`theme`in n){let o=N(n.theme,n);a=ci(e,t,n);let c=e.getTheme(n.theme);r=P(c.bg,o),i=P(c.fg,o),s=c.name,l=L(a)}else throw new o("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:s,rootStyle:c,grammarState:l}}function ui(e,t,n,r,i,a,s){return e.map((c,l)=>{let u=P(t[l][a],n[l])||`inherit`,d=`${r+c.color}${a===`bg`?`-bg`:``}:${u}`;if(l===0&&i){if(i===Br&&e.length>1){let r=e.findIndex(e=>e.color===`light`),i=e.findIndex(e=>e.color===`dark`);if(r===-1||i===-1)throw new o('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${P(t[r][a],n[r])||`inherit`}, ${P(t[i][a],n[i])||`inherit`});${d}`}return u}return s===`css-vars`?d:null}).filter(e=>!!e).join(`;`)}function di(e,n,r,i={meta:{},options:r,codeToHast:(t,n)=>di(e,t,n),codeToTokens:(t,n)=>li(e,t,n)}){var a,o,s;let c=n;for(let e of Xr(r))c=((a=e.preprocess)==null?void 0:a.call(i,c,r))||c;let{tokens:l,fg:u,bg:d,themeName:f,rootStyle:p,grammarState:m}=li(e,c,r),{mergeWhitespaces:h=!0,mergeSameStyleTokens:g=!1}=r;h===!0?l=pi(l):h===`never`&&(l=mi(l)),g&&(l=hi(l));let _=t.t(t.t({},i),{},{get source(){return c}});for(let e of Xr(r))l=((o=e.tokens)==null?void 0:o.call(_,l))||l;return fi(l,t.t(t.t({},r),{},{fg:u,bg:d,themeName:f,rootStyle:r.rootStyle===!1?!1:(s=r.rootStyle)==null?p:s}),_,m)}function fi(e,n,r,i=L(e)){var a;let o=Xr(n),s=[],c={type:`root`,children:[]},{structure:l=`classic`,tabindex:u=`0`}=n,d={class:`shiki ${n.themeName||``}`};n.rootStyle!==!1&&(n.rootStyle==null?d.style=`background-color:${n.bg};color:${n.fg}`:d.style=n.rootStyle),u!==!1&&u!=null&&(d.tabindex=u.toString());for(let[e,t]of Object.entries(n.meta||{}))e.startsWith(`_`)||(d[e]=t);let f={type:`element`,tagName:`pre`,properties:d,children:[],data:n.data},p={type:`element`,tagName:`code`,properties:{},children:s},m=[],h=t.t(t.t({},r),{},{structure:l,addClassToHast:Rr,get source(){return r.source},get tokens(){return e},get options(){return n},get root(){return c},get pre(){return f},get code(){return p},get lines(){return m}});if(e.forEach((e,n)=>{n&&(l===`inline`?c.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):l===`classic`&&s.push({type:`text`,value:`
|
|
12
|
-
`}));let r={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},i=0;for(let s of e){var a;let e={type:`element`,tagName:`span`,properties:t.t({},s.htmlAttrs),children:[{type:`text`,value:s.content}]},u=Gr(s.htmlStyle||Q(s));u&&(e.properties.style=u);for(let t of o)e=(t==null||(a=t.span)==null?void 0:a.call(h,e,n+1,i,r,s))||e;l===`inline`?c.children.push(e):l===`classic`&&r.children.push(e),i+=s.content.length}if(l===`classic`){var u;for(let e of o)r=(e==null||(u=e.line)==null?void 0:u.call(h,r,n+1))||r;m.push(r),s.push(r)}else l===`inline`&&m.push(r)}),l===`classic`){var g,_;for(let e of o)p=(e==null||(g=e.code)==null?void 0:g.call(h,p))||p;f.children.push(p);for(let e of o)f=(e==null||(_=e.pre)==null?void 0:_.call(h,f))||f;c.children.push(f)}else if(l===`inline`){var v;let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of c.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of o)n=(e==null||(v=e.code)==null?void 0:v.call(h,n))||n;c.children=[];for(let e=0;e<n.children.length;e++){e>0&&c.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&c.children.push(...t.children)}}let y=c;for(let e of o)y=(e==null||(a=e.root)==null?void 0:a.call(h,y))||y;return i&&I(y,i),y}function pi(e){return e.map(e=>{let n=[],r=``,i;return e.forEach((a,o)=>{let s=!(a.fontStyle&&(a.fontStyle&x.Underline||a.fontStyle&x.Strikethrough));s&&a.content.match(/^\s+$/)&&e[o+1]?(i===void 0&&(i=a.offset),r+=a.content):r?(s?n.push(t.t(t.t({},a),{},{offset:i,content:r+a.content})):n.push({content:r,offset:i},a),i=void 0,r=``):n.push(a)}),n})}function mi(e){return e.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let n=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return e;let[,r,i,a]=n;if(!r&&!a)return e;let o=[t.t(t.t({},e),{},{offset:e.offset+r.length,content:i})];return r&&o.unshift({content:r,offset:e.offset}),a&&o.push({content:a,offset:e.offset+r.length+i.length}),o}))}function hi(e){return e.map(e=>{let n=[];for(let r of e){if(n.length===0){n.push(t.t({},r));continue}let e=n[n.length-1],i=Gr(e.htmlStyle||Q(e)),a=Gr(r.htmlStyle||Q(r)),o=e.fontStyle&&(e.fontStyle&x.Underline||e.fontStyle&x.Strikethrough),s=r.fontStyle&&(r.fontStyle&x.Underline||r.fontStyle&x.Strikethrough);!o&&!s&&i===a?e.content+=r.content:n.push(t.t({},r))}return n})}var gi=Fr;function _i(e,t,n){var r;let i={meta:{},options:n,codeToHast:(t,n)=>di(e,t,n),codeToTokens:(t,n)=>li(e,t,n)},a=gi(di(e,t,n,i));for(let e of Xr(n))a=((r=e.postprocess)==null?void 0:r.call(i,a,n))||a;return a}async function vi(e){let n=await jt(e);return t.t(t.t({getLastGrammarState:(...e)=>It(n,...e),codeToTokensBase:(e,t)=>ci(n,e,t),codeToTokensWithThemes:(e,t)=>Wt(n,e,t),codeToTokens:(e,t)=>li(n,e,t),codeToHast:(e,t)=>di(n,e,t),codeToHtml:(e,t)=>_i(n,e,t),getBundledLanguages:()=>({}),getBundledThemes:()=>({})},n),{},{getInternalContext:()=>n})}exports.createHighlighterCore=vi;
|