@arcadeai/design-system 3.45.2 → 3.45.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CompositeItem-CPfB1zbY.js → CompositeItem-BWqRobLN.js} +3 -3
- package/dist/{CompositeList-D2ysG8rW.js → CompositeList-DJUJLDbx.js} +4 -4
- package/dist/{CompositeRoot-NCzhKgoT.js → CompositeRoot-BIh8l7ys.js} +10 -10
- package/dist/DialogRoot-eVsH835b.js +9 -0
- package/dist/{DialogTrigger-BTPMu18a.js → DialogTrigger-BuKadcdL.js} +23 -23
- package/dist/{DirectionContext-ssVniOu8.js → DirectionContext-B4CbbM--.js} +1 -1
- package/dist/{FieldItemContext-DOG63F_i.js → FieldItemContext-4qBxodsW.js} +1 -1
- package/dist/{FloatingPortalLite-uSCCGrVj.js → FloatingPortalLite-B1JyBlt0.js} +2 -2
- package/dist/{FormContext-nhTvz3F8.js → FormContext-4NSsO4w6.js} +2 -2
- package/dist/{LabelableContext-D62QOYZS.js → LabelableContext-Q1Z-xUI9.js} +4 -4
- package/dist/{Separator-D5Jbn9_a.js → Separator-CgntgfMd.js} +2 -2
- package/dist/{ToolbarRootContext-BCFQEGJJ.js → ToolbarRootContext-Dubw_915.js} +4 -4
- package/dist/{accordion-D8fNg7cc.js → accordion-D-o5VBR2.js} +20 -20
- package/dist/{alert-dialog-C_Vt5qVj.js → alert-dialog-oB_cE8NP.js} +5 -5
- package/dist/{andromeeda-Dp0Ur2bT.js → andromeeda-SaJYFW8S.js} +1 -1
- package/dist/{angular-html-CCvzJfQt.js → angular-html-BDzibLIk.js} +2 -2
- package/dist/{angular-html-DKFaBpuE.js → angular-html-D85fwMJh.js} +2 -2
- package/dist/{angular-ts-DJElN9UQ.js → angular-ts-C3bnauCX.js} +2 -2
- package/dist/{angular-ts-BHLU9KRK.js → angular-ts-D81F0-9A.js} +3 -3
- package/dist/{apl-NjK7jFNJ.js → apl-92oxg4m4.js} +5 -5
- package/dist/{arcade-gradient-I0PSYlkO.js → arcade-gradient-DwcApsxT.js} +1 -1
- package/dist/{astro-bMBIA5W9.js → astro-BmZ7vV4W.js} +5 -5
- package/dist/{astro-D3wSNNcH.js → astro-Up1TtKOj.js} +5 -5
- package/dist/{aurora-x-BbH5eLAF.js → aurora-x-CuwCHvmc.js} +1 -1
- package/dist/{avatar-DWqr9gAD.js → avatar-BSYWkGGc.js} +10 -10
- package/dist/{ayu-dark-MDTJ_IAt.js → ayu-dark-Cgo9767u.js} +1 -1
- package/dist/{ayu-light-BJ8vz57v.js → ayu-light-CG4FE7t1.js} +1 -1
- package/dist/{ayu-mirage-Comeu6t1.js → ayu-mirage-B_mwMqGf.js} +1 -1
- package/dist/{blade-BiuHKr_S.js → blade-CpVdu14g.js} +7 -7
- package/dist/{blade-DRXVXpDl.js → blade-CsxOO3tZ.js} +7 -7
- package/dist/{utils-BphajtTJ.js → bundle-mjs-DlI0Ilmo.js} +358 -369
- package/dist/{button-B7gJ_sBM.js → button-BNOmhdpM.js} +5 -5
- package/dist/{c-CENSAUdD.js → c-CoKjrVSd.js} +1 -1
- package/dist/{c-tDGT7jEj.js → c-DtxJex1m.js} +2 -2
- package/dist/{calendar-D6NEdfPP.js → calendar-DizaWURn.js} +556 -541
- package/dist/{catppuccin-frappe-SqWaW1mz.js → catppuccin-frappe-BNsyB8rL.js} +1 -1
- package/dist/{catppuccin-latte-3sTrPL4h.js → catppuccin-latte-CUJafsDq.js} +1 -1
- package/dist/{catppuccin-macchiato-B9MQ8Q28.js → catppuccin-macchiato-d3k0D605.js} +1 -1
- package/dist/{catppuccin-mocha-BC5ZM4Be.js → catppuccin-mocha-sqt-O4hL.js} +1 -1
- package/dist/{checkbox-DR7-WAYo.js → checkbox-CfF6tabe.js} +17 -17
- package/dist/{chunk-CWhphoD1.js → chunk-Dqa2HsxW.js} +2 -5
- package/dist/{clamp-BDniF_t1.js → clamp-DQAQAGkj.js} +2 -2
- package/dist/{cobol-CtDWjgdF.js → cobol-DW9I8MrZ.js} +2 -2
- package/dist/{coffee-C32NBpdX.js → coffee-B9lToztK.js} +2 -2
- package/dist/{coffee-CEpG5t5A.js → coffee-IcWixSuh.js} +1 -1
- package/dist/{collapsible-DzN5KXxo.js → collapsible-Dt__KKUJ.js} +9 -9
- package/dist/{command-CYE4mtPg.js → command-ChimIUHM.js} +1 -1
- package/dist/components/index.js +25 -25
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +1 -1
- package/dist/components/ui/atoms/alert.js +2 -2
- package/dist/components/ui/atoms/arcade-gradient.js +1 -1
- package/dist/components/ui/atoms/avatar-notification-badge.js +2 -2
- package/dist/components/ui/atoms/avatar.js +1 -1
- package/dist/components/ui/atoms/badge.js +4 -4
- package/dist/components/ui/atoms/brand-chip.js +1 -1
- package/dist/components/ui/atoms/breadcrumb.js +3 -3
- package/dist/components/ui/atoms/button.js +1 -1
- package/dist/components/ui/atoms/byoc-badge.js +2 -2
- package/dist/components/ui/atoms/calendar.js +1 -1
- package/dist/components/ui/atoms/card.js +1 -1
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/chat-container.js +1 -1
- package/dist/components/ui/atoms/checkbox.js +1 -1
- package/dist/components/ui/atoms/code-block.js +2 -2
- package/dist/components/ui/atoms/collapsible.js +1 -1
- package/dist/components/ui/atoms/command.js +1 -1
- package/dist/components/ui/atoms/copy-button.js +2 -2
- package/dist/components/ui/atoms/dialog.js +4 -4
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/flow-connector.js +1 -1
- package/dist/components/ui/atoms/flow-hub.js +2 -2
- package/dist/components/ui/atoms/flow-tile.js +2 -2
- package/dist/components/ui/atoms/form.js +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/index.js +24 -24
- package/dist/components/ui/atoms/input-group.js +4 -4
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/json-highlight.js +2 -2
- package/dist/components/ui/atoms/label.js +1 -1
- package/dist/components/ui/atoms/loader.js +1 -1
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/mobile-tooltip.js +2 -2
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/pro-badge.js +2 -2
- package/dist/components/ui/atoms/progress.js +1 -1
- package/dist/components/ui/atoms/radio-group.js +1 -1
- package/dist/components/ui/atoms/resizable.js +1 -1
- package/dist/components/ui/atoms/scroll-area.js +1 -1
- package/dist/components/ui/atoms/scroll-button.js +3 -3
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/separator.js +2 -2
- package/dist/components/ui/atoms/sheet.js +4 -4
- package/dist/components/ui/atoms/sidebar.js +7 -7
- package/dist/components/ui/atoms/skeleton.js +1 -1
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/sparkle-burst.js +1 -1
- package/dist/components/ui/atoms/step-indicator.js +2 -2
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/table.js +1 -1
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/textarea.js +1 -1
- package/dist/components/ui/atoms/toggle.js +1 -1
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +2 -2
- package/dist/components/ui/blocks/demo.js +4 -4
- package/dist/components/ui/index.js +25 -25
- package/dist/components/ui/molecules/chat-history-item.js +2 -2
- package/dist/components/ui/molecules/chat-message-list.js +1 -1
- package/dist/components/ui/molecules/client-secret-field.js +2 -2
- package/dist/components/ui/molecules/command-bar.js +2 -2
- package/dist/components/ui/molecules/confirm-popover.js +2 -2
- package/dist/components/ui/molecules/date-time-picker.js +4 -4
- package/dist/components/ui/molecules/error-state.js +1 -1
- package/dist/components/ui/molecules/flow-diagram.js +1 -1
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/message.js +4 -4
- package/dist/components/ui/molecules/prompt-input.js +2 -2
- package/dist/components/ui/molecules/requirement-badges.js +1 -1
- package/dist/components/ui/molecules/steps-progress.js +2 -2
- package/dist/components/ui/molecules/suggestion-card.js +1 -1
- package/dist/components/ui/molecules/tags-input.js +1 -1
- package/dist/components/ui/molecules/tool-authorization.js +2 -2
- package/dist/components/ui/molecules/tool-call-accordion.js +4 -4
- package/dist/components/ui/molecules/tool-card.js +4 -4
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/user-nav.js +4 -4
- package/dist/components/ui/pages/chat-page-skeleton.js +1 -1
- package/dist/components/ui/pages/login-page.js +2 -2
- package/dist/components/ui/templates/auth-template.js +3 -3
- package/dist/components/ui/templates/chat-template-skeletons.js +1 -1
- package/dist/components/ui/templates/chat-template.js +1 -1
- package/dist/components/ui/templates/error-template.js +1 -1
- package/dist/{composite-C5aSVns0.js → composite-BlDfbDkL.js} +1 -1
- package/dist/{composite-CmdWYKT-.js → composite-HOje5ugx.js} +3 -3
- package/dist/{constants-3RAo_0fn.js → constants-VB9bsA8p.js} +1 -1
- package/dist/{cpp-Cz7x0sgj.js → cpp-BEQCV3s5.js} +4 -4
- package/dist/{cpp-B0ApZrc9.js → cpp-BLc8IWxi.js} +4 -4
- package/dist/{createBaseUIEventDetails-JTJtk1s7.js → createBaseUIEventDetails-ChcQXp54.js} +3 -3
- package/dist/{crystal-Dp3_Rm_0.js → crystal-Bpo57dB-.js} +6 -6
- package/dist/{css-A5dPh-hw.js → css-DSy_xl5Z.js} +1 -1
- package/dist/{css-C0Wqv74W.js → css-DcJEitGa.js} +2 -2
- package/dist/{dark-plus-BiskWDrz.js → dark-plus-B8sVNXvs.js} +1 -1
- package/dist/{dist-DZIV9o39.js → dist-Ber_p4PA.js} +1 -1
- package/dist/{dracula-CPyEDfn4.js → dracula-C-iwNp86.js} +1 -1
- package/dist/{dracula-soft-BQy_oE-Q.js → dracula-soft-BgICPn4A.js} +1 -1
- package/dist/{dropdown-menu-CwVAL83J.js → dropdown-menu-DCFuLDwH.js} +55 -55
- package/dist/{edge-DB-nxOg9.js → edge-Crbn4Nhk.js} +3 -3
- package/dist/{elixir-Bh05715y.js → elixir-CIj8u1AY.js} +1 -1
- package/dist/{elm-DhZqiJ0D.js → elm-CfYD1d_e.js} +1 -1
- package/dist/{erb-BAiiKgzO.js → erb-BJQo6_56.js} +2 -2
- package/dist/{event-DRs_Ywjy.js → event-DWcDp5kt.js} +1 -1
- package/dist/{everforest-dark-DDbz8RTU.js → everforest-dark-DG_yfpzL.js} +1 -1
- package/dist/{everforest-light-TY02Kg0-.js → everforest-light-oQ4LYcyq.js} +1 -1
- package/dist/{getPseudoElementBounds-BIFEJg_E.js → getPseudoElementBounds-DarjR4tH.js} +16 -16
- package/dist/{git-rebase-B-Y-hwdW.js → git-rebase-DVA6p9-5.js} +1 -1
- package/dist/{github-dark-DCnFeoCu.js → github-dark-DxWx9eCv.js} +1 -1
- package/dist/{github-dark-default-jDb_gVbd.js → github-dark-default-DMnDNCqB.js} +1 -1
- package/dist/{github-dark-dimmed-Juy4HUCs.js → github-dark-dimmed-CftPlIXb.js} +1 -1
- package/dist/{github-dark-high-contrast-Cv5xIz_Z.js → github-dark-high-contrast-iXcGuuWC.js} +1 -1
- package/dist/{github-light-Cu1gnt-I.js → github-light-9kT9Ooux.js} +1 -1
- package/dist/{github-light-default-DqTAtha1.js → github-light-default-BgUEXJWz.js} +1 -1
- package/dist/{github-light-high-contrast-gj61WERk.js → github-light-high-contrast--krAqmie.js} +1 -1
- package/dist/{glimmer-js-DFMKp7MA.js → glimmer-js-DVJpm-CV.js} +4 -4
- package/dist/{glimmer-ts-BB_orehZ.js → glimmer-ts-kH8c2RJ9.js} +4 -4
- package/dist/{glsl-CdkYDqWc.js → glsl-7eSg02Gr.js} +3 -3
- package/dist/{glsl-BMUVAYSF.js → glsl-Ckye8FrQ.js} +2 -2
- package/dist/{graphql-BO7oc1vW.js → graphql-CE7EXOgY.js} +5 -5
- package/dist/{graphql-DVZ4Am5r.js → graphql-DEzE15R4.js} +5 -5
- package/dist/{gruvbox-dark-hard-CLOUMf54.js → gruvbox-dark-hard-CsqFBqpp.js} +1 -1
- package/dist/{gruvbox-dark-medium-BH6-7aQM.js → gruvbox-dark-medium-BDcNnBCD.js} +1 -1
- package/dist/{gruvbox-dark-soft-B3w6hXiS.js → gruvbox-dark-soft-D0C6_bfY.js} +1 -1
- package/dist/{gruvbox-light-hard-ePdwSP_y.js → gruvbox-light-hard-CjoqSDnu.js} +1 -1
- package/dist/{gruvbox-light-medium-DV_yeczJ.js → gruvbox-light-medium-Bw-HLAX4.js} +1 -1
- package/dist/{gruvbox-light-soft-DJUVaKDI.js → gruvbox-light-soft-DH2SdcDR.js} +1 -1
- package/dist/{hack-CtGoaz4-.js → hack-o7fvIqt8.js} +2 -2
- package/dist/{haml-DH7v2a1T.js → haml-BP5AnOwP.js} +3 -3
- package/dist/{haml-DZGfKrgp.js → haml-C5GSorf3.js} +3 -3
- package/dist/{handlebars-C0ZsvHDH.js → handlebars-Bhpj_d0s.js} +4 -4
- package/dist/{handlebars-DULd3ZmC.js → handlebars-BjC-t2fq.js} +4 -4
- package/dist/{highlighted-body-OFNGDK62-BCIc09Ns.js → highlighted-body-OFNGDK62-BoSFtT5s.js} +2 -2
- package/dist/{horizon-mSXuT4Cx.js → horizon-DQM3kiLi.js} +1 -1
- package/dist/{horizon-bright-B9UMpzhP.js → horizon-bright-Cb9lGu-x.js} +1 -1
- package/dist/{houston-BigpcY7q.js → houston-CTCJUekH.js} +1 -1
- package/dist/{hover-card-Bavb-slQ.js → hover-card-z1GPavWa.js} +22 -22
- package/dist/{html-CisyjiEv.js → html-Ct25QrQu.js} +4 -4
- package/dist/{html-D4MIdpEU.js → html-D4w9Dm28.js} +3 -3
- package/dist/{html-derivative-Bz-6tuZ9.js → html-derivative-Bj-VxhMx.js} +1 -1
- package/dist/{html-derivative-DtJ1tdb9.js → html-derivative-DSKrIQn9.js} +2 -2
- package/dist/{http--CKuHaq6.js → http-BCk9QAjz.js} +3 -3
- package/dist/{http-CX-tkfXJ.js → http-d-m0Mc7D.js} +4 -4
- package/dist/{hurl-BKTZkNJM.js → hurl-DWxVzahG.js} +3 -3
- package/dist/{hurl-CNgmevsW.js → hurl-DfTnDfTu.js} +2 -2
- package/dist/{inertValue-BLWhcuO6.js → inertValue-C36grUTu.js} +1 -1
- package/dist/{input-DD1GTmLm.js → input-CSc-AfAa.js} +9 -9
- package/dist/{java-nyWqLPcA.js → java-BKNJluE5.js} +1 -1
- package/dist/{java-BhtYksJu.js → java-CuIj5nvv.js} +2 -2
- package/dist/{javascript-B7hw7btH.js → javascript-C_3Wy_Gj.js} +2 -2
- package/dist/{javascript-8AY484FX.js → javascript-Da2xmRTV.js} +1 -1
- package/dist/{jinja-Cs8KQ05J.js → jinja-C8xQEEYN.js} +2 -2
- package/dist/{jinja-ILVKjN-h.js → jinja-DhkDj1Xi.js} +1 -1
- package/dist/{jison-L3KbL1Tm.js → jison-CShmv6Fb.js} +1 -1
- package/dist/{jison-DeeC1Fpp.js → jison-CyKFq-6a.js} +2 -2
- package/dist/{json-CFrUf_15.js → json-Df3TJ3vS.js} +1 -1
- package/dist/{jsx-zfLWOWap.js → jsx-CfQ2JFaq.js} +2 -2
- package/dist/{jsx-C19pZCax.js → jsx-D0xGKDLn.js} +1 -1
- package/dist/julia-BMAFK3Gd.js +16 -0
- package/dist/{julia-BkeV_GAI.js → julia-BN-I8ZOK.js} +4 -4
- package/dist/{just-CmaOAIrC.js → just-YBnaWXEe.js} +5 -5
- package/dist/{kanagawa-dragon-E65Vs5Mw.js → kanagawa-dragon-DxkEO9SU.js} +1 -1
- package/dist/{kanagawa-lotus-iowqfmE6.js → kanagawa-lotus-Cc9ldDM2.js} +1 -1
- package/dist/{kanagawa-wave-DK04gpNV.js → kanagawa-wave-C-P3oH-q.js} +1 -1
- package/dist/{laserwave-BANf-GYP.js → laserwave-DyIpDR4_.js} +1 -1
- package/dist/{latex-CCJD2YW0.js → latex-C_OKc6Tr.js} +1 -1
- package/dist/lib/utils.js +27 -2
- package/dist/{lib-B5caseGF.js → lib-BeKETz9d.js} +29 -17
- package/dist/{light-plus-CEthkmqH.js → light-plus-5Kq1clvF.js} +1 -1
- package/dist/{liquid-BbxzyJM4.js → liquid-BK9PRBL0.js} +4 -4
- package/dist/{lua-Q8A6kKKb.js → lua-BLio8ECy.js} +2 -2
- package/dist/main.js +25 -25
- package/dist/{markdown-Skk5B2-K.js → markdown-D3ExE6yF.js} +3700 -5358
- package/dist/{marko-Cyw_40EQ.js → marko-DYmCev7q.js} +4 -4
- package/dist/{marko-DcT3V8D5.js → marko-Fde_uU3F.js} +3 -3
- package/dist/{material-theme-ViY2fGQJ.js → material-theme-BrL4vOLl.js} +1 -1
- package/dist/{material-theme-darker-CozT8MFx.js → material-theme-darker-tvhNVUuj.js} +1 -1
- package/dist/{material-theme-lighter-Dz8t6Bwz.js → material-theme-lighter-BlIcyJcm.js} +1 -1
- package/dist/{material-theme-ocean-4r3uvaZR.js → material-theme-ocean-ijmZnVMq.js} +1 -1
- package/dist/{material-theme-palenight-B21rwtkV.js → material-theme-palenight-prHD2zpS.js} +1 -1
- package/dist/{mdc-Kc_DncTv.js → mdc-D7QSJBKx.js} +2 -2
- package/dist/{mdc-Bjifxtws.js → mdc-wawAspAJ.js} +2 -2
- package/dist/mermaid-GHXKKRXX-B8Qglwis.js +3 -0
- package/dist/{min-dark-Be010b_p.js → min-dark-D7PJp-Ix.js} +1 -1
- package/dist/{min-light-z6kfyw7y.js → min-light-DB47A7Yk.js} +1 -1
- package/dist/{monokai-Bt_scbyM.js → monokai-B2xRWdzR.js} +1 -1
- package/dist/{nginx-2GbmfKNT.js → nginx-WcmIS9lz.js} +1 -1
- package/dist/{night-owl-light-62kchSnb.js → night-owl-light-BIjsLF9R.js} +1 -1
- package/dist/{night-owl-B79jAJ7s.js → night-owl-oV0ypOQV.js} +1 -1
- package/dist/{nim-Cvtoi7Us.js → nim-C_JBe3PW.js} +6 -6
- package/dist/{nord-DXce807i.js → nord-BehyGTcU.js} +1 -1
- package/dist/{one-dark-pro-CRJOxaRU.js → one-dark-pro-C8h8a1R2.js} +1 -1
- package/dist/{one-light-h-D-w7sB.js → one-light-DXZihwn3.js} +1 -1
- package/dist/{perl-CX-MiiDr.js → perl-DxzDgnFP.js} +5 -5
- package/dist/{php-ZG4n9rUZ.js → php-BslXz14x.js} +6 -6
- package/dist/php-h4fQX9du.js +18 -0
- package/dist/{plastic-C0uOSuYA.js → plastic-BoNd5nnt.js} +1 -1
- package/dist/{poimandres-CCQMXoym.js → poimandres-kN4w1zeG.js} +1 -1
- package/dist/{popover-BnkWhaIi.js → popover-Ck3ILBUA.js} +29 -29
- package/dist/{popupStateMapping-BpjNa9Vs.js → popupStateMapping-PdIQcWEz.js} +381 -381
- package/dist/{progress-CSNlue4q.js → progress-TdXkokPe.js} +13 -13
- package/dist/{pug-2I-RXpNR.js → pug-CxpNRXGa.js} +4 -4
- package/dist/{pug-Caizs4rF.js → pug-yS-UC2lD.js} +3 -3
- package/dist/{qml-BoCV4IvZ.js → qml-tenACNq4.js} +1 -1
- package/dist/{r-B5x6J8zw.js → r-DdU4yNZO.js} +1 -1
- package/dist/{radio-group-DLTaFKYP.js → radio-group-Cc5ftdVj.js} +24 -24
- package/dist/{razor-D3fp603X.js → razor-D5yYWriQ.js} +1 -1
- package/dist/{red-BrKvWCst.js → red-CG3DfhwS.js} +1 -1
- package/dist/{regexp-CmEgFPF7.js → regexp-BusfBBwF.js} +2 -2
- package/dist/{regexp-DuxmzSB9.js → regexp-Dnzoo8L8.js} +1 -1
- package/dist/{resizable-BHqehzdj.js → resizable-DkYW5Uwh.js} +1 -1
- package/dist/{resolveAriaLabelledBy-DQCacn_1.js → resolveAriaLabelledBy-DR9UHvi-.js} +1 -1
- package/dist/{rose-pine-B4LlND70.js → rose-pine-D35bu7cN.js} +1 -1
- package/dist/{rose-pine-dawn-kknjr6c1.js → rose-pine-dawn-DMvcvJnV.js} +1 -1
- package/dist/{rose-pine-moon-BHjNEDSL.js → rose-pine-moon-yq_U0wEu.js} +1 -1
- package/dist/{rst-gpj3N0N_.js → rst-C-dkSMvp.js} +6 -6
- package/dist/{ruby-CmU0Z5fo.js → ruby-7kZgYYwi.js} +12 -12
- package/dist/{safePolygon-DkNjWjVX.js → safePolygon-CscU2iWL.js} +14 -14
- package/dist/{sas-CC2Zc1Ed.js → sas-DtHo0e4p.js} +1 -1
- package/dist/{scroll-area-CERCtbh5.js → scroll-area-BD6qsU_I.js} +19 -19
- package/dist/{scrollEdges-BzNCZZ6v.js → scrollEdges-VoRBF4DB.js} +2 -2
- package/dist/{scss-B9O2M_0v.js → scss-DaY16nmX.js} +3 -3
- package/dist/{scss-CVKxdJLF.js → scss-bso_k44A.js} +2 -2
- package/dist/{select-CYFtC5dg.js → select-cAvbXH_n.js} +57 -57
- package/dist/{serializeValue-Cq2HX7CQ.js → serializeValue-kHY7UUsW.js} +1 -1
- package/dist/{shadowDom-CDCExTGf.js → shadowDom-C-4Ejp9R.js} +1 -1
- package/dist/{shellscript-C0LzMqgl.js → shellscript-BWxNrzSf.js} +1 -1
- package/dist/{shellsession-CF6VlYGY.js → shellsession-IETTXW5g.js} +1 -1
- package/dist/shim-ieZ_MRlN.js +136 -0
- package/dist/{slack-dark-BZoVLe04.js → slack-dark-BODbPe4Z.js} +1 -1
- package/dist/{slack-ochin-DT_O7_d6.js → slack-ochin-DhVt5-hM.js} +1 -1
- package/dist/{slider-DbzYORRs.js → slider-CN3uEkeD.js} +39 -39
- package/dist/{snazzy-light-D28Ei2Yq.js → snazzy-light-BYSfhLsO.js} +1 -1
- package/dist/{solarized-dark-CQD4vSly.js → solarized-dark-Dheru8RM.js} +1 -1
- package/dist/{solarized-light-xhrPZJpe.js → solarized-light-Bj5LWrzk.js} +1 -1
- package/dist/{soy-Bb3A5g7-.js → soy-33Xu8yiH.js} +1 -1
- package/dist/{sql-BKgzmiHp.js → sql-8d8R_FnS.js} +3 -3
- package/dist/{sql-D5BZidSb.js → sql-B432xaB7.js} +1 -1
- package/dist/{stata-B_L0aoJ1.js → stata-B5wF29_Y.js} +1 -1
- package/dist/{store-C2-4zmvj.js → store-Bdrhndby.js} +4 -4
- package/dist/{surrealql-C0xAC_g5.js → surrealql-DYHeSEsk.js} +1 -1
- package/dist/{svelte-BaimehAA.js → svelte-BiN7hc1M.js} +4 -4
- package/dist/{svelte-FpnNQhYw.js → svelte-wsTs0hbr.js} +3 -3
- package/dist/{switch-B3dLgsX7.js → switch-CP9j-8px.js} +13 -13
- package/dist/{synthwave-84-T1uBFLkk.js → synthwave-84-CUYER07E.js} +1 -1
- package/dist/{tabs-B90OKOQ_.js → tabs-C7JA8G0W.js} +20 -20
- package/dist/{templ-Bag4mmVn.js → templ-DEwqY_Qt.js} +2 -2
- package/dist/{tex-DZgMegoC.js → tex-Bi7DoImG.js} +1 -1
- package/dist/{toggle-BJEwA8Ui.js → toggle-C4ztdcN-.js} +9 -9
- package/dist/{tokyo-night-gaciWRT1.js → tokyo-night-DrHuJo9W.js} +1 -1
- package/dist/{tooltip-BgYvlcwv.js → tooltip-34vRSwJG.js} +30 -30
- package/dist/{ts-tags-C1lJngtr.js → ts-tags-BK3ScQNp.js} +8 -8
- package/dist/{ts-tags-C3uBfS_j.js → ts-tags-DOmIyh9G.js} +7 -7
- package/dist/{tsx-BPoqShTM.js → tsx-D2IQdrsN.js} +2 -2
- package/dist/{tsx-C-FNQM0T.js → tsx-oo1y-gXD.js} +1 -1
- package/dist/{twig-Rt8_5-_I.js → twig-DxRYLs_L.js} +5 -5
- package/dist/{typescript-CroVN6-N.js → typescript-C40nYMtR.js} +2 -2
- package/dist/{typescript-B7wdlXbF.js → typescript-CWrXW5hv.js} +1 -1
- package/dist/{ui-DouvHx5k.js → ui-BaLLCKkd.js} +4 -4
- package/dist/{useAnimationFrame-Dzw_xWCP.js → useAnimationFrame-xwbX87TY.js} +1 -1
- package/dist/{useAriaLabelledBy-Cl0ww_5y.js → useAriaLabelledBy-DKl6aNOD.js} +2 -2
- package/dist/{useBaseUiId-BFABznPV.js → useBaseUiId-DOm5ACje.js} +1 -1
- package/dist/{useButton-BRp5r_FD.js → useButton-AXffhTAZ.js} +5 -5
- package/dist/{useCollapsiblePanel-DbMTbMXN.js → useCollapsiblePanel-B7ERXY1c.js} +10 -10
- package/dist/{useCompositeItem-Cz1yXoak.js → useCompositeItem-DA_RDTEI.js} +4 -4
- package/dist/{useCompositeListItem-HE1b96Lp.js → useCompositeListItem-xM6vOR9-.js} +2 -2
- package/dist/{useFocus-DZgGGAxw.js → useFocus-DzHCrvH6.js} +9 -9
- package/dist/{useLabelableId-67GwEJe-.js → useLabelableId-Dgoo7-Ly.js} +5 -5
- package/dist/{useOpenChangeComplete-D1WLBqEV.js → useOpenChangeComplete-DjMFUwhi.js} +7 -7
- package/dist/{useOpenInteractionType-CLGXwYtJ.js → useOpenInteractionType-D-ymktmc.js} +24 -24
- package/dist/{usePositioner-ku7JYvKU.js → usePositioner-D65mUNMo.js} +13 -13
- package/dist/useRender-B4Oazk_w.js +7 -0
- package/dist/{useRenderElement-Cdy6ZfU9.js → useRenderElement-CmuWsiNa.js} +5 -5
- package/dist/{useStableCallback-DzEDGauc.js → useStableCallback-CqEVb76s.js} +1 -1
- package/dist/{useTimeout-BeaGP7up.js → useTimeout-B1x6NSZb.js} +1 -1
- package/dist/{useTriggerFocusGuards-DMglXkIl.js → useTriggerFocusGuards-D1QlFlDK.js} +4 -4
- package/dist/{useValueAsRef-ClW7BTBw.js → useValueAsRef-CCU3eUYq.js} +1 -1
- package/dist/{useValueChanged-B01bzVDJ.js → useValueChanged-j5e75XB6.js} +2 -2
- package/dist/{valueToPercent-BS7gvTU6.js → valueToPercent-9aZaNeTG.js} +2 -2
- package/dist/vesper-DE1caIDd.js +4 -0
- package/dist/{vitesse-black-BQG8EAn4.js → vitesse-black-ZDkSCQzx.js} +1 -1
- package/dist/{vitesse-dark-BaB1doTc.js → vitesse-dark-B9MgwVCj.js} +1 -1
- package/dist/{vitesse-light-DWP_0tC3.js → vitesse-light-DqhBayaq.js} +1 -1
- package/dist/{vue-WV6e076M.js → vue-BEPn_TF_.js} +6 -6
- package/dist/{vue-BoIwcTNU.js → vue-COUaRKLt.js} +5 -5
- package/dist/{vue-html-CF2Ge3FO.js → vue-html-CEiB3REn.js} +1 -1
- package/dist/{vue-html-DVl87uhv.js → vue-html-DjKFzwWo.js} +2 -2
- package/dist/{vue-vine-tcPYViWT.js → vue-vine-D0Lpd94a.js} +4 -4
- package/dist/{vue-vine-o73v-MMj.js → vue-vine-D6cSZo1M.js} +3 -3
- package/dist/{wasm-5aV6JIGv.js → wasm-BMAmnBgD.js} +1 -1
- package/dist/{web-BMVVZSj5.js → web-DF40pCMx.js} +391 -382
- package/dist/{xml-Bww5eBn6.js → xml-DL5p3-50.js} +3 -3
- package/dist/{xml-C19nPMGd.js → xml-DRTU1nx4.js} +2 -2
- package/dist/{xsl-CU-qdMyh.js → xsl-3eu75y43.js} +1 -1
- package/dist/{yaml-BQn8oezX.js → yaml-6pzV2NiB.js} +1 -1
- package/package.json +11 -12
- package/dist/DialogRoot-7HAboV4G.js +0 -9
- package/dist/clsx-CeX9s6vy.js +0 -16
- package/dist/julia-cM9QIxaq.js +0 -16
- package/dist/mermaid-GHXKKRXX-Byt4Eksi.js +0 -3
- package/dist/php-iBJfpCPp.js +0 -18
- package/dist/shim-CsAgVHE8.js +0 -133
- package/dist/useRender-DWxKE1Gb.js +0 -7
- package/dist/vesper-D42otQD-.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./chunk-
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { a as n, c as r, l as i, o as a, s as o, t as s, u as c } from "./lib-
|
|
1
|
+
import { n as e } from "./chunk-Dqa2HsxW.js";
|
|
2
|
+
import { n as t } from "./bundle-mjs-DlI0Ilmo.js";
|
|
3
|
+
import { a as n, c as r, l as i, o as a, s as o, t as s, u as c } from "./lib-BeKETz9d.js";
|
|
4
4
|
import { forwardRef as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
|
|
5
5
|
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
6
6
|
//#region ../../node_modules/.bun/dequal@2.0.3/node_modules/dequal/dist/index.mjs
|
|
@@ -45,42 +45,42 @@ function y(e, t) {
|
|
|
45
45
|
return e !== e && t !== t;
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/.bun/shiki@4.0
|
|
49
|
-
var b = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, te = Object.getOwnPropertyNames, ne = Object.prototype.hasOwnProperty,
|
|
48
|
+
//#region ../../node_modules/.bun/shiki@4.2.0/node_modules/shiki/dist/chunk-BBjsoOtd.mjs
|
|
49
|
+
var b = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, te = Object.getOwnPropertyNames, ne = Object.prototype.hasOwnProperty, x = (e, t) => {
|
|
50
50
|
let n = {};
|
|
51
51
|
for (var r in e) b(n, r, {
|
|
52
52
|
get: e[r],
|
|
53
53
|
enumerable: !0
|
|
54
54
|
});
|
|
55
55
|
return t || b(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
56
|
-
},
|
|
56
|
+
}, S = (e, t, n, r) => {
|
|
57
57
|
if (t && typeof t == "object" || typeof t == "function") for (var i = te(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !ne.call(e, s) && s !== n && b(e, s, {
|
|
58
58
|
get: ((e) => t[e]).bind(null, s),
|
|
59
59
|
enumerable: !(r = ee(t, s)) || r.enumerable
|
|
60
60
|
});
|
|
61
61
|
return e;
|
|
62
|
-
},
|
|
62
|
+
}, C = (e, t, n) => (S(e, t, "default"), n && S(n, t, "default")), w = class extends Error {
|
|
63
63
|
constructor(e) {
|
|
64
64
|
super(e), this.name = "ShikiError";
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region ../../node_modules/.bun/@shikijs+primitive@4.0
|
|
69
|
-
function
|
|
68
|
+
//#region ../../node_modules/.bun/@shikijs+primitive@4.2.0/node_modules/@shikijs/primitive/dist/index.mjs
|
|
69
|
+
function T(e, t) {
|
|
70
70
|
let n = typeof e == "string" ? {} : { ...e.colorReplacements }, r = typeof e == "string" ? e : e.name;
|
|
71
71
|
for (let [e, i] of Object.entries(t?.colorReplacements || {})) typeof i == "string" ? n[e] = i : e === r && Object.assign(n, i);
|
|
72
72
|
return n;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function E(e, t) {
|
|
75
75
|
return e && (t?.[e?.toLowerCase()] || e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function re(e) {
|
|
78
78
|
return Array.isArray(e) ? e : [e];
|
|
79
79
|
}
|
|
80
|
-
async function
|
|
80
|
+
async function ie(e) {
|
|
81
81
|
return Promise.resolve(typeof e == "function" ? e() : e).then((e) => e.default || e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function D(e) {
|
|
84
84
|
return !e || [
|
|
85
85
|
"plaintext",
|
|
86
86
|
"txt",
|
|
@@ -88,18 +88,19 @@ function E(e) {
|
|
|
88
88
|
"plain"
|
|
89
89
|
].includes(e);
|
|
90
90
|
}
|
|
91
|
-
function D(e) {
|
|
92
|
-
return e === "ansi" || E(e);
|
|
93
|
-
}
|
|
94
91
|
function O(e) {
|
|
95
|
-
return e === "
|
|
92
|
+
return e === "ansi" || D(e);
|
|
96
93
|
}
|
|
97
94
|
function k(e) {
|
|
98
|
-
return
|
|
95
|
+
return e === "none";
|
|
99
96
|
}
|
|
100
|
-
function A(e
|
|
97
|
+
function A(e) {
|
|
98
|
+
return k(e);
|
|
99
|
+
}
|
|
100
|
+
var ae = /(\r?\n)/g;
|
|
101
|
+
function j(e, t = !1) {
|
|
101
102
|
if (e.length === 0) return [["", 0]];
|
|
102
|
-
let n = e.split(
|
|
103
|
+
let n = e.split(ae), r = 0, i = [];
|
|
103
104
|
for (let e = 0; e < n.length; e += 2) {
|
|
104
105
|
let a = t ? n[e] + (n[e + 1] || "") : n[e];
|
|
105
106
|
i.push([a, r]), r += n[e].length, r += n[e + 1]?.length || 0;
|
|
@@ -113,7 +114,7 @@ var oe = {
|
|
|
113
114
|
light: "#fffffe",
|
|
114
115
|
dark: "#1e1e1e"
|
|
115
116
|
}, ce = "__shiki_resolved";
|
|
116
|
-
function
|
|
117
|
+
function M(e) {
|
|
117
118
|
if (e?.[ce]) return e;
|
|
118
119
|
let t = { ...e };
|
|
119
120
|
t.tokenColors && !t.settings && (t.settings = t.tokenColors, delete t.tokenColors), t.type ||= "dark", t.colorReplacements = { ...t.colorReplacements }, t.settings ||= [];
|
|
@@ -161,23 +162,27 @@ function j(e) {
|
|
|
161
162
|
}), t;
|
|
162
163
|
}
|
|
163
164
|
async function le(e) {
|
|
164
|
-
return
|
|
165
|
+
return [...new Set((await Promise.all(e.filter((e) => !O(e)).map(async (e) => await ie(e).then((e) => Array.isArray(e) ? e : [e])))).flat())];
|
|
165
166
|
}
|
|
166
167
|
async function ue(e) {
|
|
167
|
-
return (await Promise.all(e.map(async (e) =>
|
|
168
|
+
return (await Promise.all(e.map(async (e) => A(e) ? null : M(await ie(e))))).filter((e) => !!e);
|
|
168
169
|
}
|
|
169
170
|
function de(e, t) {
|
|
170
171
|
if (!t) return e;
|
|
171
172
|
if (t[e]) {
|
|
172
173
|
let n = new Set([e]);
|
|
173
174
|
for (; t[e];) {
|
|
174
|
-
if (e = t[e], n.has(e)) throw new
|
|
175
|
+
if (e = t[e], n.has(e)) throw new w(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);
|
|
175
176
|
n.add(e);
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
179
|
return e;
|
|
179
180
|
}
|
|
180
181
|
var fe = class extends r {
|
|
182
|
+
_resolver;
|
|
183
|
+
_themes;
|
|
184
|
+
_langs;
|
|
185
|
+
_alias;
|
|
181
186
|
_resolvedThemes = /* @__PURE__ */ new Map();
|
|
182
187
|
_resolvedGrammars = /* @__PURE__ */ new Map();
|
|
183
188
|
_langMap = /* @__PURE__ */ new Map();
|
|
@@ -192,7 +197,7 @@ var fe = class extends r {
|
|
|
192
197
|
return typeof e == "string" ? this._resolvedThemes.get(e) : this.loadTheme(e);
|
|
193
198
|
}
|
|
194
199
|
loadTheme(e) {
|
|
195
|
-
let t =
|
|
200
|
+
let t = M(e);
|
|
196
201
|
return t.name && (this._resolvedThemes.set(t.name, t), this._loadedThemesCache = null), t;
|
|
197
202
|
}
|
|
198
203
|
getLoadedThemes() {
|
|
@@ -224,10 +229,10 @@ var fe = class extends r {
|
|
|
224
229
|
}
|
|
225
230
|
loadLanguages(e) {
|
|
226
231
|
for (let t of e) this.resolveEmbeddedLanguages(t);
|
|
227
|
-
let t =
|
|
232
|
+
let t = [...this._langGraph.entries()], n = t.filter(([e, t]) => !t);
|
|
228
233
|
if (n.length) {
|
|
229
234
|
let e = t.filter(([e, t]) => t ? (t.embeddedLanguages || t.embeddedLangs)?.some((e) => n.map(([e]) => e).includes(e)) : !1).filter((e) => !n.includes(e));
|
|
230
|
-
throw new
|
|
235
|
+
throw new w(`Missing languages ${n.map(([e]) => `\`${e}\``).join(", ")}, required by ${e.map(([e]) => `\`${e}\``).join(", ")}`);
|
|
231
236
|
}
|
|
232
237
|
for (let [e, n] of t) this._resolver.addLanguage(n);
|
|
233
238
|
for (let [e, n] of t) this.loadLanguage(n);
|
|
@@ -275,19 +280,19 @@ var fe = class extends r {
|
|
|
275
280
|
}
|
|
276
281
|
return n;
|
|
277
282
|
}
|
|
278
|
-
},
|
|
283
|
+
}, N = 0;
|
|
279
284
|
function me(e) {
|
|
280
|
-
|
|
285
|
+
N += 1, e.warnings !== !1 && N >= 10 && N % 10 == 0 && console.warn(`[Shiki] ${N} 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.`);
|
|
281
286
|
let t = !1;
|
|
282
|
-
if (!e.engine) throw new
|
|
283
|
-
let n = (e.langs || []).flat(1), r = (e.themes || []).flat(1).map(
|
|
287
|
+
if (!e.engine) throw new w("`engine` option is required for synchronous mode");
|
|
288
|
+
let n = (e.langs || []).flat(1), r = (e.themes || []).flat(1).map(M), i = new fe(new pe(e.engine, n), r, n, e.langAlias), a;
|
|
284
289
|
function o(t) {
|
|
285
290
|
return de(t, e.langAlias);
|
|
286
291
|
}
|
|
287
292
|
function s(e) {
|
|
288
293
|
g();
|
|
289
294
|
let t = i.getGrammar(typeof e == "string" ? e : e.name);
|
|
290
|
-
if (!t) throw new
|
|
295
|
+
if (!t) throw new w(`Language \`${e}\` not found, you may need to load it first`);
|
|
291
296
|
return t;
|
|
292
297
|
}
|
|
293
298
|
function c(e) {
|
|
@@ -300,7 +305,7 @@ function me(e) {
|
|
|
300
305
|
};
|
|
301
306
|
g();
|
|
302
307
|
let t = i.getTheme(e);
|
|
303
|
-
if (!t) throw new
|
|
308
|
+
if (!t) throw new w(`Theme \`${e}\` not found, you may need to load it first`);
|
|
304
309
|
return t;
|
|
305
310
|
}
|
|
306
311
|
function l(e) {
|
|
@@ -331,10 +336,10 @@ function me(e) {
|
|
|
331
336
|
return g(), m(await ue(e));
|
|
332
337
|
}
|
|
333
338
|
function g() {
|
|
334
|
-
if (t) throw new
|
|
339
|
+
if (t) throw new w("Shiki instance has been disposed");
|
|
335
340
|
}
|
|
336
341
|
function _() {
|
|
337
|
-
t || (t = !0, i.dispose(), --
|
|
342
|
+
t || (t = !0, i.dispose(), --N);
|
|
338
343
|
}
|
|
339
344
|
return {
|
|
340
345
|
setTheme: l,
|
|
@@ -366,13 +371,13 @@ async function he(e) {
|
|
|
366
371
|
});
|
|
367
372
|
}
|
|
368
373
|
var ge = /* @__PURE__ */ new WeakMap();
|
|
369
|
-
function
|
|
374
|
+
function P(e, t) {
|
|
370
375
|
ge.set(e, t);
|
|
371
376
|
}
|
|
372
|
-
function
|
|
377
|
+
function F(e) {
|
|
373
378
|
return ge.get(e);
|
|
374
379
|
}
|
|
375
|
-
var
|
|
380
|
+
var I = class e {
|
|
376
381
|
_stacks = {};
|
|
377
382
|
lang;
|
|
378
383
|
get themes() {
|
|
@@ -385,7 +390,7 @@ var F = class e {
|
|
|
385
390
|
return this._stacks[this.theme];
|
|
386
391
|
}
|
|
387
392
|
static initial(t, n) {
|
|
388
|
-
return new e(Object.fromEntries(
|
|
393
|
+
return new e(Object.fromEntries(re(n).map((e) => [e, o])), t);
|
|
389
394
|
}
|
|
390
395
|
constructor(...e) {
|
|
391
396
|
if (e.length === 2) {
|
|
@@ -422,36 +427,37 @@ function _e(e) {
|
|
|
422
427
|
return r(e), t;
|
|
423
428
|
}
|
|
424
429
|
function ve(e, t) {
|
|
425
|
-
if (!(e instanceof
|
|
430
|
+
if (!(e instanceof I)) throw new w("Invalid grammar state");
|
|
426
431
|
return e.getInternalStack(t);
|
|
427
432
|
}
|
|
428
|
-
|
|
433
|
+
var ye = /,/, be = / /;
|
|
434
|
+
function L(e, t, n = {}) {
|
|
429
435
|
let { theme: r = e.getLoadedThemes()[0] } = n;
|
|
430
|
-
if (
|
|
436
|
+
if (D(e.resolveLangAlias(n.lang || "text")) || k(r)) return j(t).map((e) => [{
|
|
431
437
|
content: e[0],
|
|
432
438
|
offset: e[1]
|
|
433
439
|
}]);
|
|
434
440
|
let { theme: i, colorMap: a } = e.setTheme(r), o = e.getLanguage(n.lang || "text");
|
|
435
441
|
if (n.grammarState) {
|
|
436
|
-
if (n.grammarState.lang !== o.name) throw new
|
|
437
|
-
if (!n.grammarState.themes.includes(i.name)) throw new
|
|
442
|
+
if (n.grammarState.lang !== o.name) throw new w(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);
|
|
443
|
+
if (!n.grammarState.themes.includes(i.name)) throw new w(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`);
|
|
438
444
|
}
|
|
439
|
-
return
|
|
445
|
+
return Se(t, o, i, a, n);
|
|
440
446
|
}
|
|
441
|
-
function
|
|
442
|
-
if (e.length === 2) return
|
|
447
|
+
function xe(...e) {
|
|
448
|
+
if (e.length === 2) return F(e[1]);
|
|
443
449
|
let [t, n, r = {}] = e, { lang: i = "text", theme: a = t.getLoadedThemes()[0] } = r;
|
|
444
|
-
if (
|
|
445
|
-
if (i === "ansi") throw new
|
|
450
|
+
if (D(i) || k(a)) throw new w("Plain language does not have grammar state");
|
|
451
|
+
if (i === "ansi") throw new w("ANSI language does not have grammar state");
|
|
446
452
|
let { theme: o, colorMap: s } = t.setTheme(a), c = t.getLanguage(i);
|
|
447
|
-
return new
|
|
453
|
+
return new I(R(n, c, o, s, r).stateStack, c.name, o.name);
|
|
448
454
|
}
|
|
449
|
-
function
|
|
450
|
-
let a =
|
|
451
|
-
return
|
|
455
|
+
function Se(e, t, n, r, i) {
|
|
456
|
+
let a = R(e, t, n, r, i), o = new I(a.stateStack, t.name, n.name);
|
|
457
|
+
return P(a.tokens, o), a.tokens;
|
|
452
458
|
}
|
|
453
|
-
function
|
|
454
|
-
let s =
|
|
459
|
+
function R(e, t, r, i, a) {
|
|
460
|
+
let s = T(r, a), { tokenizeMaxLineLength: c = 0, tokenizeTimeLimit: l = 500 } = a, u = j(e), d = a.grammarState ? ve(a.grammarState, r.name) ?? o : a.grammarContextCode == null ? o : R(a.grammarContextCode, t, r, i, {
|
|
455
461
|
...a,
|
|
456
462
|
grammarState: void 0,
|
|
457
463
|
grammarContextCode: void 0
|
|
@@ -477,7 +483,7 @@ function L(e, t, r, i, a) {
|
|
|
477
483
|
for (let e = 0; e < y; e++) {
|
|
478
484
|
let t = v.tokens[2 * e], c = e + 1 < y ? v.tokens[2 * e + 2] : o.length;
|
|
479
485
|
if (t === c) continue;
|
|
480
|
-
let l = v.tokens[2 * e + 1], u =
|
|
486
|
+
let l = v.tokens[2 * e + 1], u = E(i[n.getForeground(l)], s), d = n.getFontStyle(l), p = {
|
|
481
487
|
content: o.substring(t, c),
|
|
482
488
|
offset: m + t,
|
|
483
489
|
color: u,
|
|
@@ -489,7 +495,7 @@ function L(e, t, r, i, a) {
|
|
|
489
495
|
let n;
|
|
490
496
|
switch (typeof t.scope) {
|
|
491
497
|
case "string":
|
|
492
|
-
n = t.scope.split(
|
|
498
|
+
n = t.scope.split(ye).map((e) => e.trim());
|
|
493
499
|
break;
|
|
494
500
|
case "object":
|
|
495
501
|
n = t.scope;
|
|
@@ -498,7 +504,7 @@ function L(e, t, r, i, a) {
|
|
|
498
504
|
}
|
|
499
505
|
e.push({
|
|
500
506
|
settings: t,
|
|
501
|
-
selectors: n.map((e) => e.split(
|
|
507
|
+
selectors: n.map((e) => e.split(be))
|
|
502
508
|
});
|
|
503
509
|
}
|
|
504
510
|
p.explanation = [];
|
|
@@ -507,7 +513,7 @@ function L(e, t, r, i, a) {
|
|
|
507
513
|
let t = g[_], r = o.substring(t.startIndex, t.endIndex);
|
|
508
514
|
n += r.length, p.explanation.push({
|
|
509
515
|
content: r,
|
|
510
|
-
scopes: a.includeExplanation === "scopeName" ?
|
|
516
|
+
scopes: a.includeExplanation === "scopeName" ? Ce(t.scopes) : we(e, t.scopes)
|
|
511
517
|
}), _ += 1;
|
|
512
518
|
}
|
|
513
519
|
}
|
|
@@ -520,38 +526,38 @@ function L(e, t, r, i, a) {
|
|
|
520
526
|
stateStack: d
|
|
521
527
|
};
|
|
522
528
|
}
|
|
523
|
-
function
|
|
529
|
+
function Ce(e) {
|
|
524
530
|
return e.map((e) => ({ scopeName: e }));
|
|
525
531
|
}
|
|
526
|
-
function
|
|
532
|
+
function we(e, t) {
|
|
527
533
|
let n = [];
|
|
528
534
|
for (let r = 0, i = t.length; r < i; r++) {
|
|
529
535
|
let i = t[r];
|
|
530
536
|
n[r] = {
|
|
531
537
|
scopeName: i,
|
|
532
|
-
themeMatches:
|
|
538
|
+
themeMatches: De(e, i, t.slice(0, r))
|
|
533
539
|
};
|
|
534
540
|
}
|
|
535
541
|
return n;
|
|
536
542
|
}
|
|
537
|
-
function
|
|
543
|
+
function Te(e, t) {
|
|
538
544
|
return e === t || t.substring(0, e.length) === e && t[e.length] === ".";
|
|
539
545
|
}
|
|
540
|
-
function
|
|
541
|
-
if (!
|
|
546
|
+
function Ee(e, t, n) {
|
|
547
|
+
if (!Te(e.at(-1), t)) return !1;
|
|
542
548
|
let r = e.length - 2, i = n.length - 1;
|
|
543
|
-
for (; r >= 0 && i >= 0;)
|
|
549
|
+
for (; r >= 0 && i >= 0;) Te(e[r], n[i]) && --r, --i;
|
|
544
550
|
return r === -1;
|
|
545
551
|
}
|
|
546
|
-
function
|
|
552
|
+
function De(e, t, n) {
|
|
547
553
|
let r = [];
|
|
548
|
-
for (let { selectors: i, settings: a } of e) for (let e of i) if (
|
|
554
|
+
for (let { selectors: i, settings: a } of e) for (let e of i) if (Ee(e, t, n)) {
|
|
549
555
|
r.push(a);
|
|
550
556
|
break;
|
|
551
557
|
}
|
|
552
558
|
return r;
|
|
553
559
|
}
|
|
554
|
-
function
|
|
560
|
+
function Oe(e, t, n, r = L) {
|
|
555
561
|
let i = Object.entries(n.themes).filter((e) => e[1]).map((e) => ({
|
|
556
562
|
color: e[0],
|
|
557
563
|
theme: e[1]
|
|
@@ -562,10 +568,10 @@ function Ee(e, t, n, r = I) {
|
|
|
562
568
|
});
|
|
563
569
|
return {
|
|
564
570
|
tokens: a,
|
|
565
|
-
state:
|
|
571
|
+
state: F(a),
|
|
566
572
|
theme: typeof i.theme == "string" ? i.theme : i.theme.name
|
|
567
573
|
};
|
|
568
|
-
}), o =
|
|
574
|
+
}), o = ke(...a.map((e) => e.tokens)), s = o[0].map((e, t) => e.map((e, r) => {
|
|
569
575
|
let a = {
|
|
570
576
|
content: e.content,
|
|
571
577
|
variants: {},
|
|
@@ -575,10 +581,10 @@ function Ee(e, t, n, r = I) {
|
|
|
575
581
|
let { content: o, explanation: s, offset: c, ...l } = e[t][r];
|
|
576
582
|
a.variants[i[n].color] = l;
|
|
577
583
|
}), a;
|
|
578
|
-
})), c = a[0].state ? new
|
|
579
|
-
return c &&
|
|
584
|
+
})), c = a[0].state ? new I(Object.fromEntries(a.map((e) => [e.theme, e.state?.getInternalStack(e.theme)])), a[0].state.lang) : void 0;
|
|
585
|
+
return c && P(s, c), s;
|
|
580
586
|
}
|
|
581
|
-
function
|
|
587
|
+
function ke(...e) {
|
|
582
588
|
let t = e.map(() => []), n = e.length;
|
|
583
589
|
for (let r = 0; r < e[0].length; r++) {
|
|
584
590
|
let i = e.map((e) => e[r]), a = t.map(() => []);
|
|
@@ -602,20 +608,22 @@ function De(...e) {
|
|
|
602
608
|
return t;
|
|
603
609
|
}
|
|
604
610
|
//#endregion
|
|
605
|
-
//#region ../../node_modules/.bun/@shikijs+core@4.0
|
|
606
|
-
|
|
611
|
+
//#region ../../node_modules/.bun/@shikijs+core@4.2.0/node_modules/@shikijs/core/dist/index.mjs
|
|
612
|
+
var Ae = /\s+/g;
|
|
613
|
+
function je(e, t) {
|
|
607
614
|
if (!t) return e;
|
|
608
|
-
e.properties ||= {}, e.properties.class ||= [], typeof e.properties.class == "string" && (e.properties.class = e.properties.class.split(
|
|
609
|
-
let n = Array.isArray(t) ? t : t.split(
|
|
615
|
+
e.properties ||= {}, e.properties.class ||= [], typeof e.properties.class == "string" && (e.properties.class = e.properties.class.split(Ae)), Array.isArray(e.properties.class) || (e.properties.class = []);
|
|
616
|
+
let n = Array.isArray(t) ? t : t.split(Ae);
|
|
610
617
|
for (let t of n) t && !e.properties.class.includes(t) && e.properties.class.push(t);
|
|
611
618
|
return e;
|
|
612
619
|
}
|
|
613
|
-
|
|
614
|
-
|
|
620
|
+
var Me = /:?lang=["']([^"']+)["']/g, Ne = /(?:```|~~~)([\w-]+)/g, Pe = /\\begin\{([\w-]+)\}/g, Fe = /<script\s+(?:type|lang)=["']([^"']+)["']/gi;
|
|
621
|
+
function Ie(e) {
|
|
622
|
+
let t = j(e, !0).map(([e]) => e);
|
|
615
623
|
function n(n) {
|
|
616
624
|
if (n === e.length) return {
|
|
617
625
|
line: t.length - 1,
|
|
618
|
-
character: t
|
|
626
|
+
character: t.at(-1).length
|
|
619
627
|
};
|
|
620
628
|
let r = n, i = 0;
|
|
621
629
|
for (let e of t) {
|
|
@@ -638,30 +646,30 @@ function ke(e) {
|
|
|
638
646
|
posToIndex: r
|
|
639
647
|
};
|
|
640
648
|
}
|
|
641
|
-
function
|
|
649
|
+
function Le(e, t, n) {
|
|
642
650
|
let r = /* @__PURE__ */ new Set();
|
|
643
|
-
for (let t of e.matchAll(
|
|
651
|
+
for (let t of e.matchAll(Me)) {
|
|
644
652
|
let e = t[1].toLowerCase().trim();
|
|
645
653
|
e && r.add(e);
|
|
646
654
|
}
|
|
647
|
-
for (let t of e.matchAll(
|
|
655
|
+
for (let t of e.matchAll(Ne)) {
|
|
648
656
|
let e = t[1].toLowerCase().trim();
|
|
649
657
|
e && r.add(e);
|
|
650
658
|
}
|
|
651
|
-
for (let t of e.matchAll(
|
|
659
|
+
for (let t of e.matchAll(Pe)) {
|
|
652
660
|
let e = t[1].toLowerCase().trim();
|
|
653
661
|
e && r.add(e);
|
|
654
662
|
}
|
|
655
|
-
for (let t of e.matchAll(
|
|
663
|
+
for (let t of e.matchAll(Fe)) {
|
|
656
664
|
let e = t[1].toLowerCase().trim(), n = e.includes("/") ? e.split("/").pop() : e;
|
|
657
665
|
n && r.add(n);
|
|
658
666
|
}
|
|
659
|
-
if (!n) return
|
|
667
|
+
if (!n) return [...r];
|
|
660
668
|
let i = n.getBundledLanguages();
|
|
661
|
-
return
|
|
669
|
+
return [...r].filter((e) => e && i[e]);
|
|
662
670
|
}
|
|
663
|
-
var
|
|
664
|
-
function
|
|
671
|
+
var Re = ["color", "background-color"];
|
|
672
|
+
function ze(e, t) {
|
|
665
673
|
let n = 0, r = [];
|
|
666
674
|
for (let i of t) i > n && r.push({
|
|
667
675
|
...e,
|
|
@@ -674,14 +682,14 @@ function Me(e, t) {
|
|
|
674
682
|
offset: e.offset + n
|
|
675
683
|
}), r;
|
|
676
684
|
}
|
|
677
|
-
function
|
|
678
|
-
let n =
|
|
685
|
+
function Be(e, t) {
|
|
686
|
+
let n = [...t instanceof Set ? t : new Set(t)].sort((e, t) => e - t);
|
|
679
687
|
return n.length ? e.map((e) => e.flatMap((e) => {
|
|
680
688
|
let t = n.filter((t) => e.offset < t && t < e.offset + e.content.length).map((t) => t - e.offset).sort((e, t) => e - t);
|
|
681
|
-
return t.length ?
|
|
689
|
+
return t.length ? ze(e, t) : e;
|
|
682
690
|
})) : e;
|
|
683
691
|
}
|
|
684
|
-
function
|
|
692
|
+
function Ve(e, t, n, r, i = "css-vars") {
|
|
685
693
|
let a = {
|
|
686
694
|
content: e.content,
|
|
687
695
|
explanation: e.explanation,
|
|
@@ -693,9 +701,9 @@ function Pe(e, t, n, r, i = "css-vars") {
|
|
|
693
701
|
return o.forEach((e, n) => {
|
|
694
702
|
for (let a of s) {
|
|
695
703
|
let s = e[a] || "inherit";
|
|
696
|
-
if (n === 0 && r &&
|
|
704
|
+
if (n === 0 && r && Re.includes(a)) if (r === "light-dark()" && o.length > 1) {
|
|
697
705
|
let e = t.findIndex((e) => e === "light"), r = t.findIndex((e) => e === "dark");
|
|
698
|
-
if (e === -1 || r === -1) throw new
|
|
706
|
+
if (e === -1 || r === -1) throw new w("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
|
|
699
707
|
c[a] = `light-dark(${o[e][a] || "inherit"}, ${o[r][a] || "inherit"})`, i === "css-vars" && (c[l(n, a)] = s);
|
|
700
708
|
} else c[a] = s;
|
|
701
709
|
else i === "css-vars" && (c[l(n, a)] = s);
|
|
@@ -714,23 +722,23 @@ function z(e) {
|
|
|
714
722
|
function B(e) {
|
|
715
723
|
return typeof e == "string" ? e : Object.entries(e).map(([e, t]) => `${e}:${t}`).join(";");
|
|
716
724
|
}
|
|
717
|
-
function
|
|
725
|
+
function He() {
|
|
718
726
|
let e = /* @__PURE__ */ new WeakMap();
|
|
719
727
|
function t(t) {
|
|
720
728
|
if (!e.has(t.meta)) {
|
|
721
|
-
let n =
|
|
729
|
+
let n = Ie(t.source);
|
|
722
730
|
function r(e) {
|
|
723
731
|
if (typeof e == "number") {
|
|
724
|
-
if (e < 0 || e > t.source.length) throw new
|
|
732
|
+
if (e < 0 || e > t.source.length) throw new w(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);
|
|
725
733
|
return {
|
|
726
734
|
...n.indexToPos(e),
|
|
727
735
|
offset: e
|
|
728
736
|
};
|
|
729
737
|
} else {
|
|
730
738
|
let t = n.lines[e.line];
|
|
731
|
-
if (t === void 0) throw new
|
|
739
|
+
if (t === void 0) throw new w(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${n.lines.length}`);
|
|
732
740
|
let r = e.character;
|
|
733
|
-
if (r < 0 && (r = t.length + r), r < 0 || r > t.length) throw new
|
|
741
|
+
if (r < 0 && (r = t.length + r), r < 0 || r > t.length) throw new w(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);
|
|
734
742
|
return {
|
|
735
743
|
...e,
|
|
736
744
|
character: r,
|
|
@@ -743,7 +751,7 @@ function Fe() {
|
|
|
743
751
|
start: r(e.start),
|
|
744
752
|
end: r(e.end)
|
|
745
753
|
}));
|
|
746
|
-
|
|
754
|
+
Ue(i), e.set(t.meta, {
|
|
747
755
|
decorations: i,
|
|
748
756
|
converter: n,
|
|
749
757
|
source: t.source
|
|
@@ -754,17 +762,17 @@ function Fe() {
|
|
|
754
762
|
return {
|
|
755
763
|
name: "shiki:decorations",
|
|
756
764
|
tokens(e) {
|
|
757
|
-
if (this.options.decorations?.length) return
|
|
765
|
+
if (this.options.decorations?.length) return Be(e, t(this).decorations.flatMap((e) => [e.start.offset, e.end.offset]));
|
|
758
766
|
},
|
|
759
767
|
code(e) {
|
|
760
768
|
if (!this.options.decorations?.length) return;
|
|
761
|
-
let n = t(this), r =
|
|
762
|
-
if (r.length !== n.converter.lines.length) throw new
|
|
769
|
+
let n = t(this), r = [...e.children].filter((e) => e.type === "element" && e.tagName === "span");
|
|
770
|
+
if (r.length !== n.converter.lines.length) throw new w(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);
|
|
763
771
|
function i(e, t, n, i) {
|
|
764
772
|
let a = r[e], s = "", c = -1, l = -1;
|
|
765
|
-
if (t === 0 && (c = 0), n === 0 && (l = 0), n === Infinity && (l = a.children.length), c === -1 || l === -1) for (let e = 0; e < a.children.length; e++) s +=
|
|
766
|
-
if (c === -1) throw new
|
|
767
|
-
if (l === -1) throw new
|
|
773
|
+
if (t === 0 && (c = 0), n === 0 && (l = 0), n === Infinity && (l = a.children.length), c === -1 || l === -1) for (let e = 0; e < a.children.length; e++) s += We(a.children[e]), c === -1 && s.length === t && (c = e + 1), l === -1 && s.length === n && (l = e + 1);
|
|
774
|
+
if (c === -1) throw new w(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);
|
|
775
|
+
if (l === -1) throw new w(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);
|
|
768
776
|
let u = a.children.slice(c, l);
|
|
769
777
|
if (!i.alwaysWrap && u.length === a.children.length) o(a, i, "line");
|
|
770
778
|
else if (!i.alwaysWrap && u.length === 1 && u[0].type === "element") o(u[0], i, "token");
|
|
@@ -787,7 +795,7 @@ function Fe() {
|
|
|
787
795
|
...e.properties,
|
|
788
796
|
...r,
|
|
789
797
|
class: e.properties.class
|
|
790
|
-
}, t.properties?.class &&
|
|
798
|
+
}, t.properties?.class && je(e, t.properties.class), e = i(e, n) || e, e;
|
|
791
799
|
}
|
|
792
800
|
let s = [], c = n.decorations.sort((e, t) => t.start.offset - e.start.offset || e.end.offset - t.end.offset);
|
|
793
801
|
for (let e of c) {
|
|
@@ -803,33 +811,33 @@ function Fe() {
|
|
|
803
811
|
}
|
|
804
812
|
};
|
|
805
813
|
}
|
|
806
|
-
function
|
|
814
|
+
function Ue(e) {
|
|
807
815
|
for (let t = 0; t < e.length; t++) {
|
|
808
816
|
let n = e[t];
|
|
809
|
-
if (n.start.offset > n.end.offset) throw new
|
|
817
|
+
if (n.start.offset > n.end.offset) throw new w(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);
|
|
810
818
|
for (let r = t + 1; r < e.length; r++) {
|
|
811
819
|
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, o = t.start.offset <= n.start.offset && n.start.offset < t.end.offset, s = t.start.offset < n.end.offset && n.end.offset <= t.end.offset;
|
|
812
820
|
if (i || a || o || s) {
|
|
813
821
|
if (i && a || o && s || o && n.start.offset === n.end.offset || a && t.start.offset === t.end.offset) continue;
|
|
814
|
-
throw new
|
|
822
|
+
throw new w(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`);
|
|
815
823
|
}
|
|
816
824
|
}
|
|
817
825
|
}
|
|
818
826
|
}
|
|
819
|
-
function
|
|
820
|
-
return e.type === "text" ? e.value : e.type === "element" ? e.children.map(
|
|
827
|
+
function We(e) {
|
|
828
|
+
return e.type === "text" ? e.value : e.type === "element" ? e.children.map(We).join("") : "";
|
|
821
829
|
}
|
|
822
|
-
var
|
|
830
|
+
var Ge = [/* @__PURE__ */ He()];
|
|
823
831
|
function V(e) {
|
|
824
|
-
let t =
|
|
832
|
+
let t = Ke(e.transformers || []);
|
|
825
833
|
return [
|
|
826
834
|
...t.pre,
|
|
827
835
|
...t.normal,
|
|
828
836
|
...t.post,
|
|
829
|
-
...
|
|
837
|
+
...Ge
|
|
830
838
|
];
|
|
831
839
|
}
|
|
832
|
-
function
|
|
840
|
+
function Ke(e) {
|
|
833
841
|
let t = [], n = [], r = [];
|
|
834
842
|
for (let i of e) switch (i.enforce) {
|
|
835
843
|
case "pre":
|
|
@@ -872,7 +880,7 @@ var H = [
|
|
|
872
880
|
8: "hidden",
|
|
873
881
|
9: "strikethrough"
|
|
874
882
|
};
|
|
875
|
-
function
|
|
883
|
+
function qe(e, t) {
|
|
876
884
|
let n = e.indexOf("\x1B", t);
|
|
877
885
|
if (n !== -1 && e[n + 1] === "[") {
|
|
878
886
|
let t = e.indexOf("m", n);
|
|
@@ -884,7 +892,7 @@ function Be(e, t) {
|
|
|
884
892
|
}
|
|
885
893
|
return { position: e.length };
|
|
886
894
|
}
|
|
887
|
-
function
|
|
895
|
+
function Je(e) {
|
|
888
896
|
let t = e.shift();
|
|
889
897
|
if (t === "2") {
|
|
890
898
|
let t = e.splice(0, 3).map((e) => Number.parseInt(e));
|
|
@@ -900,7 +908,7 @@ function Ve(e) {
|
|
|
900
908
|
};
|
|
901
909
|
}
|
|
902
910
|
}
|
|
903
|
-
function
|
|
911
|
+
function Ye(e) {
|
|
904
912
|
let t = [];
|
|
905
913
|
for (; e.length > 0;) {
|
|
906
914
|
let n = e.shift();
|
|
@@ -928,7 +936,7 @@ function He(e) {
|
|
|
928
936
|
}
|
|
929
937
|
});
|
|
930
938
|
else if (r === 38) {
|
|
931
|
-
let n =
|
|
939
|
+
let n = Je(e);
|
|
932
940
|
n && t.push({
|
|
933
941
|
type: "setForegroundColor",
|
|
934
942
|
value: n
|
|
@@ -942,7 +950,7 @@ function He(e) {
|
|
|
942
950
|
}
|
|
943
951
|
});
|
|
944
952
|
else if (r === 48) {
|
|
945
|
-
let n =
|
|
953
|
+
let n = Je(e);
|
|
946
954
|
n && t.push({
|
|
947
955
|
type: "setBackgroundColor",
|
|
948
956
|
value: n
|
|
@@ -969,19 +977,19 @@ function He(e) {
|
|
|
969
977
|
}
|
|
970
978
|
return t;
|
|
971
979
|
}
|
|
972
|
-
function
|
|
980
|
+
function Xe() {
|
|
973
981
|
let e = null, t = null, n = /* @__PURE__ */ new Set();
|
|
974
982
|
return { parse(r) {
|
|
975
983
|
let i = [], a = 0;
|
|
976
984
|
do {
|
|
977
|
-
let o =
|
|
985
|
+
let o = qe(r, a), s = o.sequence ? r.substring(a, o.startPosition) : r.substring(a);
|
|
978
986
|
if (s.length > 0 && i.push({
|
|
979
987
|
value: s,
|
|
980
988
|
foreground: e,
|
|
981
989
|
background: t,
|
|
982
990
|
decorations: new Set(n)
|
|
983
991
|
}), o.sequence) {
|
|
984
|
-
let r =
|
|
992
|
+
let r = Ye(o.sequence);
|
|
985
993
|
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);
|
|
986
994
|
for (let i of r) i.type === "setForegroundColor" ? e = i.value : i.type === "setBackgroundColor" ? t = i.value : i.type === "setDecoration" && n.add(i.value);
|
|
987
995
|
}
|
|
@@ -990,7 +998,7 @@ function Ue() {
|
|
|
990
998
|
return i;
|
|
991
999
|
} };
|
|
992
1000
|
}
|
|
993
|
-
var
|
|
1001
|
+
var Ze = {
|
|
994
1002
|
black: "#000000",
|
|
995
1003
|
red: "#bb0000",
|
|
996
1004
|
green: "#00bb00",
|
|
@@ -1008,7 +1016,7 @@ var We = {
|
|
|
1008
1016
|
brightCyan: "#55ffff",
|
|
1009
1017
|
brightWhite: "#ffffff"
|
|
1010
1018
|
};
|
|
1011
|
-
function
|
|
1019
|
+
function Qe(e = Ze) {
|
|
1012
1020
|
function t(t) {
|
|
1013
1021
|
return e[t];
|
|
1014
1022
|
}
|
|
@@ -1053,7 +1061,7 @@ function Ge(e = We) {
|
|
|
1053
1061
|
}
|
|
1054
1062
|
return { value: o };
|
|
1055
1063
|
}
|
|
1056
|
-
var
|
|
1064
|
+
var $e = /#([0-9a-f]{3,8})/i, et = /var\((--[\w-]+-ansi-[\w-]+)\)/, tt = {
|
|
1057
1065
|
black: "#000000",
|
|
1058
1066
|
red: "#cd3131",
|
|
1059
1067
|
green: "#0DBC79",
|
|
@@ -1071,14 +1079,14 @@ var Ke = {
|
|
|
1071
1079
|
brightCyan: "#29B8DB",
|
|
1072
1080
|
brightWhite: "#FFFFFF"
|
|
1073
1081
|
};
|
|
1074
|
-
function
|
|
1075
|
-
let r =
|
|
1082
|
+
function nt(e, t, n) {
|
|
1083
|
+
let r = T(e, n), i = j(t), o = Qe(Object.fromEntries(H.map((t) => {
|
|
1076
1084
|
let n = `terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;
|
|
1077
|
-
return [t, e.colors?.[n] ||
|
|
1078
|
-
}))), s =
|
|
1085
|
+
return [t, e.colors?.[n] || tt[t]];
|
|
1086
|
+
}))), s = Xe();
|
|
1079
1087
|
return i.map((t) => s.parse(t[0]).map((n) => {
|
|
1080
1088
|
let i, s;
|
|
1081
|
-
n.decorations.has("reverse") ? (i = n.background ? o.value(n.background) : e.bg, s = n.foreground ? o.value(n.foreground) : e.fg) : (i = n.foreground ? o.value(n.foreground) : e.fg, s = n.background ? o.value(n.background) : void 0), i =
|
|
1089
|
+
n.decorations.has("reverse") ? (i = n.background ? o.value(n.background) : e.bg, s = n.foreground ? o.value(n.foreground) : e.fg) : (i = n.foreground ? o.value(n.foreground) : e.fg, s = n.background ? o.value(n.background) : void 0), i = E(i, r), s = E(s, r), n.decorations.has("dim") && (i = rt(i));
|
|
1082
1090
|
let c = a.None;
|
|
1083
1091
|
return n.decorations.has("bold") && (c |= a.Bold), n.decorations.has("italic") && (c |= a.Italic), n.decorations.has("underline") && (c |= a.Underline), n.decorations.has("strikethrough") && (c |= a.Strikethrough), {
|
|
1084
1092
|
content: n.value,
|
|
@@ -1089,8 +1097,8 @@ function qe(e, t, n) {
|
|
|
1089
1097
|
};
|
|
1090
1098
|
}));
|
|
1091
1099
|
}
|
|
1092
|
-
function
|
|
1093
|
-
let t = e.match(
|
|
1100
|
+
function rt(e) {
|
|
1101
|
+
let t = e.match($e);
|
|
1094
1102
|
if (t) {
|
|
1095
1103
|
let e = t[1];
|
|
1096
1104
|
if (e.length === 8) {
|
|
@@ -1105,16 +1113,16 @@ function Je(e) {
|
|
|
1105
1113
|
return `#${t}${t}${n}${n}${r}${r}80`;
|
|
1106
1114
|
}
|
|
1107
1115
|
}
|
|
1108
|
-
let n = e.match(
|
|
1116
|
+
let n = e.match(et);
|
|
1109
1117
|
return n ? `var(${n[1]}-dim)` : e;
|
|
1110
1118
|
}
|
|
1111
1119
|
function W(e, t, n = {}) {
|
|
1112
1120
|
let r = e.resolveLangAlias(n.lang || "text"), { theme: i = e.getLoadedThemes()[0] } = n;
|
|
1113
|
-
if (!
|
|
1121
|
+
if (!D(r) && !k(i) && r === "ansi") {
|
|
1114
1122
|
let { theme: r } = e.setTheme(i);
|
|
1115
|
-
return
|
|
1123
|
+
return nt(r, t, n);
|
|
1116
1124
|
}
|
|
1117
|
-
return
|
|
1125
|
+
return L(e, t, n);
|
|
1118
1126
|
}
|
|
1119
1127
|
function G(e, t, n) {
|
|
1120
1128
|
let r, i, a, o, s, c;
|
|
@@ -1123,19 +1131,19 @@ function G(e, t, n) {
|
|
|
1123
1131
|
color: e[0],
|
|
1124
1132
|
theme: e[1]
|
|
1125
1133
|
})).sort((e, t) => e.color === l ? -1 : +(t.color === l));
|
|
1126
|
-
if (f.length === 0) throw new
|
|
1127
|
-
let p =
|
|
1128
|
-
if (c =
|
|
1134
|
+
if (f.length === 0) throw new w("`themes` option must not be empty");
|
|
1135
|
+
let p = Oe(e, t, n, W);
|
|
1136
|
+
if (c = F(p), l && l !== "light-dark()" && !f.some((e) => e.color === l)) throw new w(`\`themes\` option must contain the defaultColor key \`${l}\``);
|
|
1129
1137
|
let m = f.map((t) => e.getTheme(t.theme)), h = f.map((e) => e.color);
|
|
1130
|
-
a = p.map((e) => e.map((e) =>
|
|
1131
|
-
let g = f.map((e) =>
|
|
1132
|
-
i =
|
|
1138
|
+
a = p.map((e) => e.map((e) => Ve(e, h, u, l, d))), c && P(a, c);
|
|
1139
|
+
let g = f.map((e) => T(e.theme, n));
|
|
1140
|
+
i = it(f, m, g, u, l, "fg", d), r = it(f, m, g, u, l, "bg", d), o = `shiki-themes ${m.map((e) => e.name).join(" ")}`, s = l ? void 0 : [i, r].join(";");
|
|
1133
1141
|
} else if ("theme" in n) {
|
|
1134
|
-
let s =
|
|
1142
|
+
let s = T(n.theme, n);
|
|
1135
1143
|
a = W(e, t, n);
|
|
1136
1144
|
let l = e.getTheme(n.theme);
|
|
1137
|
-
r =
|
|
1138
|
-
} else throw new
|
|
1145
|
+
r = E(l.bg, s), i = E(l.fg, s), o = l.name, c = F(a);
|
|
1146
|
+
} else throw new w("Invalid options, either `theme` or `themes` must be provided");
|
|
1139
1147
|
return {
|
|
1140
1148
|
tokens: a,
|
|
1141
1149
|
fg: i,
|
|
@@ -1145,20 +1153,21 @@ function G(e, t, n) {
|
|
|
1145
1153
|
grammarState: c
|
|
1146
1154
|
};
|
|
1147
1155
|
}
|
|
1148
|
-
function
|
|
1156
|
+
function it(e, t, n, r, i, a, o) {
|
|
1149
1157
|
return e.map((s, c) => {
|
|
1150
|
-
let l =
|
|
1158
|
+
let l = E(t[c][a], n[c]) || "inherit", u = `${r + s.color}${a === "bg" ? "-bg" : ""}:${l}`;
|
|
1151
1159
|
if (c === 0 && i) {
|
|
1152
|
-
if (i ===
|
|
1160
|
+
if (i === "light-dark()" && e.length > 1) {
|
|
1153
1161
|
let r = e.findIndex((e) => e.color === "light"), i = e.findIndex((e) => e.color === "dark");
|
|
1154
|
-
if (r === -1 || i === -1) throw new
|
|
1155
|
-
return `light-dark(${
|
|
1162
|
+
if (r === -1 || i === -1) throw new w("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
|
|
1163
|
+
return `light-dark(${E(t[r][a], n[r]) || "inherit"}, ${E(t[i][a], n[i]) || "inherit"});${u}`;
|
|
1156
1164
|
}
|
|
1157
1165
|
return l;
|
|
1158
1166
|
}
|
|
1159
1167
|
return o === "css-vars" ? u : null;
|
|
1160
1168
|
}).filter((e) => !!e).join(";");
|
|
1161
1169
|
}
|
|
1170
|
+
var at = /^\s+$/, ot = /^(\s*)(.*?)(\s*)$/;
|
|
1162
1171
|
function K(e, t, n, r = {
|
|
1163
1172
|
meta: {},
|
|
1164
1173
|
options: n,
|
|
@@ -1168,7 +1177,7 @@ function K(e, t, n, r = {
|
|
|
1168
1177
|
let i = t;
|
|
1169
1178
|
for (let e of V(n)) i = e.preprocess?.call(r, i, n) || i;
|
|
1170
1179
|
let { tokens: a, fg: o, bg: s, themeName: c, rootStyle: l, grammarState: u } = G(e, i, n), { mergeWhitespaces: d = !0, mergeSameStyleTokens: f = !1 } = n;
|
|
1171
|
-
d === !0 ? a =
|
|
1180
|
+
d === !0 ? a = ct(a) : d === "never" && (a = lt(a)), f && (a = ut(a));
|
|
1172
1181
|
let p = {
|
|
1173
1182
|
...r,
|
|
1174
1183
|
get source() {
|
|
@@ -1176,7 +1185,7 @@ function K(e, t, n, r = {
|
|
|
1176
1185
|
}
|
|
1177
1186
|
};
|
|
1178
1187
|
for (let e of V(n)) a = e.tokens?.call(p, a) || a;
|
|
1179
|
-
return
|
|
1188
|
+
return st(a, {
|
|
1180
1189
|
...n,
|
|
1181
1190
|
fg: o,
|
|
1182
1191
|
bg: s,
|
|
@@ -1184,7 +1193,7 @@ function K(e, t, n, r = {
|
|
|
1184
1193
|
rootStyle: n.rootStyle === !1 ? !1 : n.rootStyle ?? l
|
|
1185
1194
|
}, p, u);
|
|
1186
1195
|
}
|
|
1187
|
-
function
|
|
1196
|
+
function st(e, t, n, r = F(e)) {
|
|
1188
1197
|
let i = V(t), a = [], o = {
|
|
1189
1198
|
type: "root",
|
|
1190
1199
|
children: []
|
|
@@ -1205,7 +1214,7 @@ function Xe(e, t, n, r = P(e)) {
|
|
|
1205
1214
|
}, f = [], p = {
|
|
1206
1215
|
...n,
|
|
1207
1216
|
structure: s,
|
|
1208
|
-
addClassToHast:
|
|
1217
|
+
addClassToHast: je,
|
|
1209
1218
|
get source() {
|
|
1210
1219
|
return n.source;
|
|
1211
1220
|
},
|
|
@@ -1302,14 +1311,14 @@ function Xe(e, t, n, r = P(e)) {
|
|
|
1302
1311
|
}
|
|
1303
1312
|
let m = o;
|
|
1304
1313
|
for (let e of i) m = e?.root?.call(p, m) || m;
|
|
1305
|
-
return r &&
|
|
1314
|
+
return r && P(m, r), m;
|
|
1306
1315
|
}
|
|
1307
|
-
function
|
|
1316
|
+
function ct(e) {
|
|
1308
1317
|
return e.map((e) => {
|
|
1309
1318
|
let t = [], n = "", r;
|
|
1310
1319
|
return e.forEach((i, o) => {
|
|
1311
1320
|
let s = !(i.fontStyle && (i.fontStyle & a.Underline || i.fontStyle & a.Strikethrough));
|
|
1312
|
-
s && i.content
|
|
1321
|
+
s && at.test(i.content) && e[o + 1] ? (r === void 0 && (r = i.offset), n += i.content) : n ? (s ? t.push({
|
|
1313
1322
|
...i,
|
|
1314
1323
|
offset: r,
|
|
1315
1324
|
content: n + i.content
|
|
@@ -1320,10 +1329,10 @@ function Ze(e) {
|
|
|
1320
1329
|
}), t;
|
|
1321
1330
|
});
|
|
1322
1331
|
}
|
|
1323
|
-
function
|
|
1332
|
+
function lt(e) {
|
|
1324
1333
|
return e.map((e) => e.flatMap((e) => {
|
|
1325
|
-
if (e.content
|
|
1326
|
-
let t = e.content.match(
|
|
1334
|
+
if (at.test(e.content)) return e;
|
|
1335
|
+
let t = e.content.match(ot);
|
|
1327
1336
|
if (!t) return e;
|
|
1328
1337
|
let [, n, r, i] = t;
|
|
1329
1338
|
if (!n && !i) return e;
|
|
@@ -1341,7 +1350,7 @@ function Qe(e) {
|
|
|
1341
1350
|
}), a;
|
|
1342
1351
|
}));
|
|
1343
1352
|
}
|
|
1344
|
-
function
|
|
1353
|
+
function ut(e) {
|
|
1345
1354
|
return e.map((e) => {
|
|
1346
1355
|
let t = [];
|
|
1347
1356
|
for (let n of e) {
|
|
@@ -1349,60 +1358,60 @@ function $e(e) {
|
|
|
1349
1358
|
t.push({ ...n });
|
|
1350
1359
|
continue;
|
|
1351
1360
|
}
|
|
1352
|
-
let e = t
|
|
1361
|
+
let e = t.at(-1), r = B(e.htmlStyle || z(e)), i = B(n.htmlStyle || z(n)), o = e.fontStyle && (e.fontStyle & a.Underline || e.fontStyle & a.Strikethrough), s = n.fontStyle && (n.fontStyle & a.Underline || n.fontStyle & a.Strikethrough);
|
|
1353
1362
|
!o && !s && r === i ? e.content += n.content : t.push({ ...n });
|
|
1354
1363
|
}
|
|
1355
1364
|
return t;
|
|
1356
1365
|
});
|
|
1357
1366
|
}
|
|
1358
|
-
var
|
|
1359
|
-
function
|
|
1367
|
+
var dt = s;
|
|
1368
|
+
function ft(e, t, n) {
|
|
1360
1369
|
let r = {
|
|
1361
1370
|
meta: {},
|
|
1362
1371
|
options: n,
|
|
1363
1372
|
codeToHast: (t, n) => K(e, t, n),
|
|
1364
1373
|
codeToTokens: (t, n) => G(e, t, n)
|
|
1365
|
-
}, i =
|
|
1374
|
+
}, i = dt(K(e, t, n, r));
|
|
1366
1375
|
for (let e of V(n)) i = e.postprocess?.call(r, i, n) || i;
|
|
1367
1376
|
return i;
|
|
1368
1377
|
}
|
|
1369
|
-
async function
|
|
1378
|
+
async function pt(e) {
|
|
1370
1379
|
let t = await he(e);
|
|
1371
1380
|
return {
|
|
1372
|
-
getLastGrammarState: (...e) =>
|
|
1381
|
+
getLastGrammarState: (...e) => xe(t, ...e),
|
|
1373
1382
|
codeToTokensBase: (e, n) => W(t, e, n),
|
|
1374
|
-
codeToTokensWithThemes: (e, n) =>
|
|
1383
|
+
codeToTokensWithThemes: (e, n) => Oe(t, e, n),
|
|
1375
1384
|
codeToTokens: (e, n) => G(t, e, n),
|
|
1376
1385
|
codeToHast: (e, n) => K(t, e, n),
|
|
1377
|
-
codeToHtml: (e, n) =>
|
|
1386
|
+
codeToHtml: (e, n) => ft(t, e, n),
|
|
1378
1387
|
getBundledLanguages: () => ({}),
|
|
1379
1388
|
getBundledThemes: () => ({}),
|
|
1380
1389
|
...t,
|
|
1381
1390
|
getInternalContext: () => t
|
|
1382
1391
|
};
|
|
1383
1392
|
}
|
|
1384
|
-
function
|
|
1393
|
+
function mt(e) {
|
|
1385
1394
|
let t = e.langs, n = e.themes, r = e.engine;
|
|
1386
1395
|
async function i(e) {
|
|
1387
1396
|
function i(n) {
|
|
1388
1397
|
if (typeof n == "string") {
|
|
1389
|
-
if (n = e.langAlias?.[n] || n,
|
|
1398
|
+
if (n = e.langAlias?.[n] || n, O(n)) return [];
|
|
1390
1399
|
let r = t[n];
|
|
1391
|
-
if (!r) throw new
|
|
1400
|
+
if (!r) throw new w(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);
|
|
1392
1401
|
return r;
|
|
1393
1402
|
}
|
|
1394
1403
|
return n;
|
|
1395
1404
|
}
|
|
1396
1405
|
function a(e) {
|
|
1397
|
-
if (
|
|
1406
|
+
if (A(e)) return "none";
|
|
1398
1407
|
if (typeof e == "string") {
|
|
1399
1408
|
let t = n[e];
|
|
1400
|
-
if (!t) throw new
|
|
1409
|
+
if (!t) throw new w(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);
|
|
1401
1410
|
return t;
|
|
1402
1411
|
}
|
|
1403
1412
|
return e;
|
|
1404
1413
|
}
|
|
1405
|
-
let o = (e.themes ?? []).map((e) => a(e)), s = (e.langs ?? []).map((e) => i(e)), c = await
|
|
1414
|
+
let o = (e.themes ?? []).map((e) => a(e)), s = (e.langs ?? []).map((e) => i(e)), c = await pt({
|
|
1406
1415
|
engine: e.engine ?? r(),
|
|
1407
1416
|
...e,
|
|
1408
1417
|
themes: o,
|
|
@@ -1426,7 +1435,7 @@ function rt(e) {
|
|
|
1426
1435
|
}
|
|
1427
1436
|
return i;
|
|
1428
1437
|
}
|
|
1429
|
-
function
|
|
1438
|
+
function ht(e) {
|
|
1430
1439
|
let t;
|
|
1431
1440
|
async function n(n = {}) {
|
|
1432
1441
|
if (t) {
|
|
@@ -1444,8 +1453,8 @@ function it(e) {
|
|
|
1444
1453
|
}
|
|
1445
1454
|
return n;
|
|
1446
1455
|
}
|
|
1447
|
-
function
|
|
1448
|
-
let n =
|
|
1456
|
+
function gt(e, t) {
|
|
1457
|
+
let n = ht(e);
|
|
1449
1458
|
async function r(e, r) {
|
|
1450
1459
|
let i = await n({
|
|
1451
1460
|
langs: [r.lang],
|
|
@@ -1481,31 +1490,31 @@ function at(e, t) {
|
|
|
1481
1490
|
};
|
|
1482
1491
|
}
|
|
1483
1492
|
//#endregion
|
|
1484
|
-
//#region ../../node_modules/.bun/react-shiki@0.10.1+
|
|
1493
|
+
//#region ../../node_modules/.bun/react-shiki@0.10.1+c24c3269a5ef484e/node_modules/react-shiki/dist/component-CYq7SnJ0.mjs
|
|
1485
1494
|
var q = (e) => {
|
|
1486
1495
|
let t = f(e);
|
|
1487
1496
|
return e !== t.current && !y(e, t.current) && (t.current = e), t.current;
|
|
1488
|
-
},
|
|
1497
|
+
}, _t = (e, t, n) => {
|
|
1489
1498
|
clearTimeout(t.current.timeoutId);
|
|
1490
1499
|
let r = Math.max(0, t.current.nextAllowedTime - Date.now());
|
|
1491
1500
|
t.current.timeoutId = setTimeout(() => {
|
|
1492
1501
|
e(), t.current.nextAllowedTime = Date.now() + n;
|
|
1493
1502
|
}, r);
|
|
1494
|
-
},
|
|
1503
|
+
}, vt = "plaintext", yt = (e, t, n) => {
|
|
1495
1504
|
let r = n.getBundledLanguages();
|
|
1496
|
-
return
|
|
1497
|
-
},
|
|
1505
|
+
return Le(e, t).flatMap((e) => r[e] ?? []);
|
|
1506
|
+
}, bt = (e) => e == null ? [] : Array.isArray(e) ? e : [e], xt = (e) => e == null ? null : typeof e == "string" ? `s:${e}` : `o:${e.name}::${e.scopeName}`, St = (e) => {
|
|
1498
1507
|
let t = /* @__PURE__ */ new Set(), n = [];
|
|
1499
1508
|
for (let r of e) {
|
|
1500
|
-
let e =
|
|
1509
|
+
let e = xt(r);
|
|
1501
1510
|
e == null || t.has(e) || (t.add(e), n.push(r));
|
|
1502
1511
|
}
|
|
1503
1512
|
return n;
|
|
1504
|
-
},
|
|
1505
|
-
let i =
|
|
1513
|
+
}, Ct = (e, t) => e == null ? !1 : typeof e == "string" ? e in t : typeof e.name == "string" && typeof e.scopeName == "string", wt = (e, t) => O(e) || t.includes(e) ? e : vt, Tt = (e, t, n, r) => {
|
|
1514
|
+
let i = bt(t), a = bt(r), o = [...i, ...a], s = vt, c;
|
|
1506
1515
|
if (e == null || typeof e == "string" && !e.trim()) return {
|
|
1507
1516
|
languageId: s,
|
|
1508
|
-
langsToLoad:
|
|
1517
|
+
langsToLoad: St([...a, ...i])
|
|
1509
1518
|
};
|
|
1510
1519
|
if (typeof e == "object") s = e.name, c = e;
|
|
1511
1520
|
else {
|
|
@@ -1514,38 +1523,38 @@ var q = (e) => {
|
|
|
1514
1523
|
}
|
|
1515
1524
|
return {
|
|
1516
1525
|
languageId: s,
|
|
1517
|
-
langsToLoad:
|
|
1526
|
+
langsToLoad: St([
|
|
1518
1527
|
c,
|
|
1519
1528
|
...a,
|
|
1520
1529
|
...i
|
|
1521
1530
|
])
|
|
1522
1531
|
};
|
|
1523
|
-
},
|
|
1532
|
+
}, Et = {
|
|
1524
1533
|
light: "github-light",
|
|
1525
1534
|
dark: "github-dark"
|
|
1526
|
-
},
|
|
1535
|
+
}, Dt = (e) => {
|
|
1527
1536
|
if (typeof e != "object" || !e) return !1;
|
|
1528
1537
|
let t = e, n = Array.isArray(t.tokenColors) || Array.isArray(t.settings), r = typeof t.name == "string" || typeof t.type == "string";
|
|
1529
1538
|
return n && r;
|
|
1530
1539
|
};
|
|
1531
|
-
function
|
|
1532
|
-
if (typeof e != "object" || !e ||
|
|
1540
|
+
function Ot(e) {
|
|
1541
|
+
if (typeof e != "object" || !e || Dt(e)) return {
|
|
1533
1542
|
isMulti: !1,
|
|
1534
1543
|
theme: e,
|
|
1535
1544
|
themesToLoad: [e]
|
|
1536
1545
|
};
|
|
1537
|
-
let t = Object.entries(e).filter(([e, t]) => e.trim() !== "" && (typeof t == "string" && t.trim() !== "" ||
|
|
1546
|
+
let t = Object.entries(e).filter(([e, t]) => e.trim() !== "" && (typeof t == "string" && t.trim() !== "" || Dt(t)));
|
|
1538
1547
|
return t.length === 0 ? (console.warn("[react-shiki] invalid multi-theme config, falling back to defaults"), {
|
|
1539
1548
|
isMulti: !0,
|
|
1540
|
-
themes:
|
|
1541
|
-
themesToLoad: Object.values(
|
|
1549
|
+
themes: Et,
|
|
1550
|
+
themesToLoad: Object.values(Et)
|
|
1542
1551
|
}) : (t.length !== Object.keys(e).length && console.warn("[react-shiki] multi-theme config contained invalid entries; they were dropped"), {
|
|
1543
1552
|
isMulti: !0,
|
|
1544
1553
|
themes: Object.fromEntries(t),
|
|
1545
1554
|
themesToLoad: t.map(([, e]) => e)
|
|
1546
1555
|
});
|
|
1547
1556
|
}
|
|
1548
|
-
function
|
|
1557
|
+
function kt(e = 1) {
|
|
1549
1558
|
return {
|
|
1550
1559
|
name: "react-shiki:line-numbers",
|
|
1551
1560
|
code(t) {
|
|
@@ -1562,24 +1571,24 @@ function vt(e = 1) {
|
|
|
1562
1571
|
}
|
|
1563
1572
|
};
|
|
1564
1573
|
}
|
|
1565
|
-
var
|
|
1574
|
+
var At = (e, t, n) => e.isMulti ? {
|
|
1566
1575
|
themes: e.themes,
|
|
1567
1576
|
defaultColor: t,
|
|
1568
1577
|
cssVariablePrefix: n
|
|
1569
|
-
} : { theme: e.theme },
|
|
1578
|
+
} : { theme: e.theme }, jt = (e, t, n) => {
|
|
1570
1579
|
let { delay: r, customLanguages: i, preloadLanguages: a, outputFormat: o, highlighter: s, langAlias: c, engine: l, defaultColor: u, cssVariablePrefix: d, showLineNumbers: f, startingLineNumber: p, transformers: m, ...h } = n, g = [...m || []];
|
|
1571
|
-
return f && g.push(
|
|
1580
|
+
return f && g.push(kt(p)), {
|
|
1572
1581
|
lang: e,
|
|
1573
|
-
...
|
|
1582
|
+
...At(t, u, d),
|
|
1574
1583
|
...h,
|
|
1575
1584
|
transformers: g
|
|
1576
1585
|
};
|
|
1577
1586
|
};
|
|
1578
|
-
async function
|
|
1587
|
+
async function Mt(e, t, n, r) {
|
|
1579
1588
|
let { languageId: i, langsToLoad: a, themesToLoad: o, shikiOptions: s } = t, l = n.highlighter ?? await (async () => {
|
|
1580
1589
|
let t = await r(a, o, n.engine);
|
|
1581
|
-
return await t.loadLanguage(...
|
|
1582
|
-
})(), u =
|
|
1590
|
+
return await t.loadLanguage(...yt(e, i, t)), t;
|
|
1591
|
+
})(), u = wt(i, l.getLoadedLanguages()), d = {
|
|
1583
1592
|
...s,
|
|
1584
1593
|
lang: u
|
|
1585
1594
|
};
|
|
@@ -1589,9 +1598,9 @@ async function xt(e, t, n, r) {
|
|
|
1589
1598
|
Fragment: m
|
|
1590
1599
|
});
|
|
1591
1600
|
}
|
|
1592
|
-
var
|
|
1601
|
+
var Nt = (e, t, n, r = {}, i) => {
|
|
1593
1602
|
let [a, o] = p(null), s = q(t), c = q(n), l = q(r), m = d(() => {
|
|
1594
|
-
let { languageId: e, langsToLoad: t } =
|
|
1603
|
+
let { languageId: e, langsToLoad: t } = Tt(s, l.customLanguages, l.langAlias, l.preloadLanguages), n = Ot(c), r = jt(e, n, l);
|
|
1595
1604
|
return {
|
|
1596
1605
|
languageId: e,
|
|
1597
1606
|
langsToLoad: t,
|
|
@@ -1611,13 +1620,13 @@ var St = (e, t, n, r = {}, i) => {
|
|
|
1611
1620
|
if (!m.languageId) return;
|
|
1612
1621
|
let n = async () => {
|
|
1613
1622
|
try {
|
|
1614
|
-
let n = await
|
|
1623
|
+
let n = await Mt(e, m, l, _.current);
|
|
1615
1624
|
t === h.current && o(n);
|
|
1616
1625
|
} catch (e) {
|
|
1617
1626
|
console.error("[react-shiki] highlight failed", e);
|
|
1618
1627
|
}
|
|
1619
1628
|
};
|
|
1620
|
-
return l.delay ?
|
|
1629
|
+
return l.delay ? _t(n, g, l.delay) : n(), () => {
|
|
1621
1630
|
clearTimeout(g.current.timeoutId);
|
|
1622
1631
|
};
|
|
1623
1632
|
}, [
|
|
@@ -1625,8 +1634,8 @@ var St = (e, t, n, r = {}, i) => {
|
|
|
1625
1634
|
m,
|
|
1626
1635
|
l
|
|
1627
1636
|
]), a;
|
|
1628
|
-
},
|
|
1629
|
-
let
|
|
1637
|
+
}, Pt = (e) => l(({ language: n, theme: r, delay: i, transformers: a, defaultColor: o, cssVariablePrefix: s, addDefaultStyles: c = !0, style: l, langStyle: u, className: d, langClassName: f, showLanguage: p = !0, showLineNumbers: m = !1, startingLineNumber: _ = 1, children: v, as: y = "div", customLanguages: b, preloadLanguages: ee, ...te }, ne) => {
|
|
1638
|
+
let x = {
|
|
1630
1639
|
delay: i,
|
|
1631
1640
|
transformers: a,
|
|
1632
1641
|
customLanguages: b,
|
|
@@ -1636,42 +1645,42 @@ var St = (e, t, n, r = {}, i) => {
|
|
|
1636
1645
|
cssVariablePrefix: s,
|
|
1637
1646
|
startingLineNumber: _,
|
|
1638
1647
|
...te
|
|
1639
|
-
},
|
|
1648
|
+
}, S = typeof n == "object" ? n.name || null : n?.trim() || null, C = e(v, n, r, x);
|
|
1640
1649
|
return /* @__PURE__ */ g(y, {
|
|
1641
1650
|
ref: ne,
|
|
1642
1651
|
"data-testid": "shiki-container",
|
|
1643
1652
|
"data-slot": "container",
|
|
1644
1653
|
className: t("rs-root", "not-prose", c && "rs-default-styles", d),
|
|
1645
1654
|
style: l,
|
|
1646
|
-
children: [p &&
|
|
1655
|
+
children: [p && S ? /* @__PURE__ */ h("span", {
|
|
1647
1656
|
id: "language-label",
|
|
1648
1657
|
"data-slot": "language-label",
|
|
1649
1658
|
className: t("rs-language-label", f),
|
|
1650
1659
|
style: u,
|
|
1651
|
-
children:
|
|
1652
|
-
}) : null, typeof
|
|
1660
|
+
children: S
|
|
1661
|
+
}) : null, typeof C == "string" ? /* @__PURE__ */ h("div", {
|
|
1653
1662
|
"data-slot": "content",
|
|
1654
|
-
dangerouslySetInnerHTML: { __html:
|
|
1655
|
-
}) :
|
|
1663
|
+
dangerouslySetInnerHTML: { __html: C }
|
|
1664
|
+
}) : C]
|
|
1656
1665
|
});
|
|
1657
|
-
}),
|
|
1658
|
-
createOnigurumaEngine: () =>
|
|
1659
|
-
getDefaultWasmLoader: () =>
|
|
1660
|
-
loadWasm: () =>
|
|
1661
|
-
setDefaultWasmLoader: () =>
|
|
1666
|
+
}), Ft = /* @__PURE__ */ e({
|
|
1667
|
+
createOnigurumaEngine: () => rn,
|
|
1668
|
+
getDefaultWasmLoader: () => nn,
|
|
1669
|
+
loadWasm: () => Zt,
|
|
1670
|
+
setDefaultWasmLoader: () => tn
|
|
1662
1671
|
}), J = class extends Error {
|
|
1663
1672
|
constructor(e) {
|
|
1664
1673
|
super(e), this.name = "ShikiError";
|
|
1665
1674
|
}
|
|
1666
1675
|
};
|
|
1667
|
-
function
|
|
1676
|
+
function It() {
|
|
1668
1677
|
return 2147483648;
|
|
1669
1678
|
}
|
|
1670
|
-
function
|
|
1679
|
+
function Lt() {
|
|
1671
1680
|
return typeof performance < "u" ? performance.now() : Date.now();
|
|
1672
1681
|
}
|
|
1673
|
-
var
|
|
1674
|
-
async function
|
|
1682
|
+
var Rt = (e, t) => e + (t - e % t) % t;
|
|
1683
|
+
async function zt(e) {
|
|
1675
1684
|
let t, n, r = {};
|
|
1676
1685
|
function i(e) {
|
|
1677
1686
|
n = e, r.HEAPU8 = new Uint8Array(e), r.HEAPU32 = new Uint32Array(e);
|
|
@@ -1687,11 +1696,11 @@ async function Ot(e) {
|
|
|
1687
1696
|
function s(e) {
|
|
1688
1697
|
let t = r.HEAPU8.length;
|
|
1689
1698
|
e >>>= 0;
|
|
1690
|
-
let n =
|
|
1699
|
+
let n = It();
|
|
1691
1700
|
if (e > n) return !1;
|
|
1692
1701
|
for (let r = 1; r <= 4; r *= 2) {
|
|
1693
1702
|
let i = t * (1 + .2 / r);
|
|
1694
|
-
if (i = Math.min(i, e + 100663296), o(Math.min(n,
|
|
1703
|
+
if (i = Math.min(i, e + 100663296), o(Math.min(n, Rt(Math.max(e, i), 65536)))) return !0;
|
|
1695
1704
|
}
|
|
1696
1705
|
return !1;
|
|
1697
1706
|
}
|
|
@@ -1725,7 +1734,7 @@ async function Ot(e) {
|
|
|
1725
1734
|
return e ? l(r.HEAPU8, e, t) : "";
|
|
1726
1735
|
}
|
|
1727
1736
|
let d = {
|
|
1728
|
-
emscripten_get_now:
|
|
1737
|
+
emscripten_get_now: Lt,
|
|
1729
1738
|
emscripten_memcpy_big: a,
|
|
1730
1739
|
emscripten_resize_heap: s,
|
|
1731
1740
|
fd_write: () => 0
|
|
@@ -1739,16 +1748,16 @@ async function Ot(e) {
|
|
|
1739
1748
|
}
|
|
1740
1749
|
return await f(), r;
|
|
1741
1750
|
}
|
|
1742
|
-
var
|
|
1751
|
+
var Bt = Object.defineProperty, Vt = (e, t, n) => t in e ? Bt(e, t, {
|
|
1743
1752
|
enumerable: !0,
|
|
1744
1753
|
configurable: !0,
|
|
1745
1754
|
writable: !0,
|
|
1746
1755
|
value: n
|
|
1747
|
-
}) : e[t] = n, Y = (e, t, n) =>
|
|
1748
|
-
function
|
|
1756
|
+
}) : e[t] = n, Y = (e, t, n) => Vt(e, typeof t == "symbol" ? t : t + "", n), X = null;
|
|
1757
|
+
function Ht(e) {
|
|
1749
1758
|
throw new J(e.UTF8ToString(e.getLastOnigError()));
|
|
1750
1759
|
}
|
|
1751
|
-
var
|
|
1760
|
+
var Ut = class e {
|
|
1752
1761
|
constructor(t) {
|
|
1753
1762
|
Y(this, "utf16Length"), Y(this, "utf8Length"), Y(this, "utf16Value"), Y(this, "utf8Value"), Y(this, "utf16OffsetToUtf8"), Y(this, "utf8OffsetToUtf16");
|
|
1754
1763
|
let n = t.length, r = e._utf8ByteLength(t), i = r !== n, a = i ? new Uint32Array(n + 1) : null;
|
|
@@ -1786,7 +1795,7 @@ var Mt = class e {
|
|
|
1786
1795
|
constructor(t) {
|
|
1787
1796
|
if (Y(this, "id", ++e.LAST_ID), Y(this, "_onigBinding"), Y(this, "content"), Y(this, "utf16Length"), Y(this, "utf8Length"), Y(this, "utf16OffsetToUtf8"), Y(this, "utf8OffsetToUtf16"), Y(this, "ptr"), !X) throw new J("Must invoke loadWasm first.");
|
|
1788
1797
|
this._onigBinding = X, this.content = t;
|
|
1789
|
-
let n = new
|
|
1798
|
+
let n = new Ut(t);
|
|
1790
1799
|
this.utf16Length = n.utf16Length, this.utf8Length = n.utf8Length, this.utf16OffsetToUtf8 = n.utf16OffsetToUtf8, this.utf8OffsetToUtf16 = n.utf8OffsetToUtf16, this.utf8Length < 1e4 && !e._sharedPtrInUse ? (e._sharedPtr ||= X.omalloc(1e4), e._sharedPtrInUse = !0, X.HEAPU8.set(n.utf8Value, e._sharedPtr), this.ptr = e._sharedPtr) : this.ptr = n.createString(X);
|
|
1791
1800
|
}
|
|
1792
1801
|
convertUtf8OffsetToUtf16(e) {
|
|
@@ -1800,12 +1809,12 @@ var Mt = class e {
|
|
|
1800
1809
|
}
|
|
1801
1810
|
};
|
|
1802
1811
|
Y(Z, "LAST_ID", 0), Y(Z, "_sharedPtr", 0), Y(Z, "_sharedPtrInUse", !1);
|
|
1803
|
-
var
|
|
1812
|
+
var Wt = Z, Gt = class {
|
|
1804
1813
|
constructor(e) {
|
|
1805
1814
|
if (Y(this, "_onigBinding"), Y(this, "_ptr"), !X) throw new J("Must invoke loadWasm first.");
|
|
1806
1815
|
let t = [], n = [];
|
|
1807
1816
|
for (let r = 0, i = e.length; r < i; r++) {
|
|
1808
|
-
let i = new
|
|
1817
|
+
let i = new Ut(e[r]);
|
|
1809
1818
|
t[r] = i.createString(X), n[r] = i.utf8Length;
|
|
1810
1819
|
}
|
|
1811
1820
|
let r = X.omalloc(4 * e.length);
|
|
@@ -1814,7 +1823,7 @@ var Nt = Z, Pt = class {
|
|
|
1814
1823
|
X.HEAPU32.set(n, i / 4);
|
|
1815
1824
|
let a = X.createOnigScanner(r, i, e.length);
|
|
1816
1825
|
for (let n = 0, r = e.length; n < r; n++) X.ofree(t[n]);
|
|
1817
|
-
X.ofree(i), X.ofree(r), a === 0 &&
|
|
1826
|
+
X.ofree(i), X.ofree(r), a === 0 && Ht(X), this._onigBinding = X, this._ptr = a;
|
|
1818
1827
|
}
|
|
1819
1828
|
dispose() {
|
|
1820
1829
|
this._onigBinding.freeOnigScanner(this._ptr);
|
|
@@ -1822,7 +1831,7 @@ var Nt = Z, Pt = class {
|
|
|
1822
1831
|
findNextMatchSync(e, t, n) {
|
|
1823
1832
|
let r = 0;
|
|
1824
1833
|
if (typeof n == "number" && (r = n), typeof e == "string") {
|
|
1825
|
-
e = new
|
|
1834
|
+
e = new Wt(e);
|
|
1826
1835
|
let n = this._findNextMatchSync(e, t, !1, r);
|
|
1827
1836
|
return e.dispose(), n;
|
|
1828
1837
|
}
|
|
@@ -1846,498 +1855,498 @@ var Nt = Z, Pt = class {
|
|
|
1846
1855
|
};
|
|
1847
1856
|
}
|
|
1848
1857
|
};
|
|
1849
|
-
function
|
|
1858
|
+
function Kt(e) {
|
|
1850
1859
|
return typeof e.instantiator == "function";
|
|
1851
1860
|
}
|
|
1852
|
-
function
|
|
1861
|
+
function qt(e) {
|
|
1853
1862
|
return typeof e.default == "function";
|
|
1854
1863
|
}
|
|
1855
|
-
function
|
|
1864
|
+
function Jt(e) {
|
|
1856
1865
|
return e.data !== void 0;
|
|
1857
1866
|
}
|
|
1858
|
-
function
|
|
1867
|
+
function Yt(e) {
|
|
1859
1868
|
return typeof Response < "u" && e instanceof Response;
|
|
1860
1869
|
}
|
|
1861
|
-
function
|
|
1870
|
+
function Xt(e) {
|
|
1862
1871
|
return typeof ArrayBuffer < "u" && (e instanceof ArrayBuffer || ArrayBuffer.isView(e)) || typeof Buffer < "u" && Buffer.isBuffer?.(e) || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer || typeof Uint32Array < "u" && e instanceof Uint32Array;
|
|
1863
1872
|
}
|
|
1864
1873
|
var Q;
|
|
1865
|
-
function
|
|
1874
|
+
function Zt(e) {
|
|
1866
1875
|
if (Q) return Q;
|
|
1867
1876
|
async function t() {
|
|
1868
|
-
X = await
|
|
1877
|
+
X = await zt(async (t) => {
|
|
1869
1878
|
let n = e;
|
|
1870
|
-
return n = await n, typeof n == "function" && (n = await n(t)), typeof n == "function" && (n = await n(t)),
|
|
1879
|
+
return n = await n, typeof n == "function" && (n = await n(t)), typeof n == "function" && (n = await n(t)), Kt(n) ? n = await n.instantiator(t) : qt(n) ? n = await n.default(t) : (Jt(n) && (n = n.data), Yt(n) ? n = typeof WebAssembly.instantiateStreaming == "function" ? await $t(n)(t) : await en(n)(t) : Xt(n) || n instanceof WebAssembly.Module ? n = await Qt(n)(t) : "default" in n && n.default instanceof WebAssembly.Module && (n = await Qt(n.default)(t))), "instance" in n && (n = n.instance), "exports" in n && (n = n.exports), n;
|
|
1871
1880
|
});
|
|
1872
1881
|
}
|
|
1873
1882
|
return Q = t(), Q;
|
|
1874
1883
|
}
|
|
1875
|
-
function
|
|
1884
|
+
function Qt(e) {
|
|
1876
1885
|
return (t) => WebAssembly.instantiate(e, t);
|
|
1877
1886
|
}
|
|
1878
|
-
function
|
|
1887
|
+
function $t(e) {
|
|
1879
1888
|
return (t) => WebAssembly.instantiateStreaming(e, t);
|
|
1880
1889
|
}
|
|
1881
|
-
function
|
|
1890
|
+
function en(e) {
|
|
1882
1891
|
return async (t) => {
|
|
1883
1892
|
let n = await e.arrayBuffer();
|
|
1884
1893
|
return WebAssembly.instantiate(n, t);
|
|
1885
1894
|
};
|
|
1886
1895
|
}
|
|
1887
|
-
var
|
|
1888
|
-
function
|
|
1889
|
-
|
|
1896
|
+
var $;
|
|
1897
|
+
function tn(e) {
|
|
1898
|
+
$ = e;
|
|
1890
1899
|
}
|
|
1891
|
-
function
|
|
1892
|
-
return
|
|
1900
|
+
function nn() {
|
|
1901
|
+
return $;
|
|
1893
1902
|
}
|
|
1894
|
-
async function
|
|
1895
|
-
return e && await
|
|
1903
|
+
async function rn(e) {
|
|
1904
|
+
return e && await Zt(e), {
|
|
1896
1905
|
createScanner(e) {
|
|
1897
|
-
return new
|
|
1906
|
+
return new Gt(e.map((e) => typeof e == "string" ? e : e.source));
|
|
1898
1907
|
},
|
|
1899
1908
|
createString(e) {
|
|
1900
|
-
return new
|
|
1909
|
+
return new Wt(e);
|
|
1901
1910
|
}
|
|
1902
1911
|
};
|
|
1903
1912
|
}
|
|
1904
1913
|
//#endregion
|
|
1905
|
-
//#region ../../node_modules/.bun/shiki@4.0
|
|
1906
|
-
var
|
|
1907
|
-
|
|
1908
|
-
var
|
|
1914
|
+
//#region ../../node_modules/.bun/shiki@4.2.0/node_modules/shiki/dist/engine-oniguruma.mjs
|
|
1915
|
+
var an = /* @__PURE__ */ x({});
|
|
1916
|
+
C(an, Ft);
|
|
1917
|
+
var on = Object.fromEntries([
|
|
1909
1918
|
{
|
|
1910
1919
|
id: "andromeeda",
|
|
1911
1920
|
displayName: "Andromeeda",
|
|
1912
1921
|
type: "dark",
|
|
1913
|
-
import: (() => import("./andromeeda-
|
|
1922
|
+
import: (() => import("./andromeeda-SaJYFW8S.js"))
|
|
1914
1923
|
},
|
|
1915
1924
|
{
|
|
1916
1925
|
id: "aurora-x",
|
|
1917
1926
|
displayName: "Aurora X",
|
|
1918
1927
|
type: "dark",
|
|
1919
|
-
import: (() => import("./aurora-x-
|
|
1928
|
+
import: (() => import("./aurora-x-CuwCHvmc.js"))
|
|
1920
1929
|
},
|
|
1921
1930
|
{
|
|
1922
1931
|
id: "ayu-dark",
|
|
1923
1932
|
displayName: "Ayu Dark",
|
|
1924
1933
|
type: "dark",
|
|
1925
|
-
import: (() => import("./ayu-dark-
|
|
1934
|
+
import: (() => import("./ayu-dark-Cgo9767u.js"))
|
|
1926
1935
|
},
|
|
1927
1936
|
{
|
|
1928
1937
|
id: "ayu-light",
|
|
1929
1938
|
displayName: "Ayu Light",
|
|
1930
1939
|
type: "light",
|
|
1931
|
-
import: (() => import("./ayu-light-
|
|
1940
|
+
import: (() => import("./ayu-light-CG4FE7t1.js"))
|
|
1932
1941
|
},
|
|
1933
1942
|
{
|
|
1934
1943
|
id: "ayu-mirage",
|
|
1935
1944
|
displayName: "Ayu Mirage",
|
|
1936
1945
|
type: "dark",
|
|
1937
|
-
import: (() => import("./ayu-mirage-
|
|
1946
|
+
import: (() => import("./ayu-mirage-B_mwMqGf.js"))
|
|
1938
1947
|
},
|
|
1939
1948
|
{
|
|
1940
1949
|
id: "catppuccin-frappe",
|
|
1941
1950
|
displayName: "Catppuccin Frappé",
|
|
1942
1951
|
type: "dark",
|
|
1943
|
-
import: (() => import("./catppuccin-frappe-
|
|
1952
|
+
import: (() => import("./catppuccin-frappe-BNsyB8rL.js"))
|
|
1944
1953
|
},
|
|
1945
1954
|
{
|
|
1946
1955
|
id: "catppuccin-latte",
|
|
1947
1956
|
displayName: "Catppuccin Latte",
|
|
1948
1957
|
type: "light",
|
|
1949
|
-
import: (() => import("./catppuccin-latte-
|
|
1958
|
+
import: (() => import("./catppuccin-latte-CUJafsDq.js"))
|
|
1950
1959
|
},
|
|
1951
1960
|
{
|
|
1952
1961
|
id: "catppuccin-macchiato",
|
|
1953
1962
|
displayName: "Catppuccin Macchiato",
|
|
1954
1963
|
type: "dark",
|
|
1955
|
-
import: (() => import("./catppuccin-macchiato-
|
|
1964
|
+
import: (() => import("./catppuccin-macchiato-d3k0D605.js"))
|
|
1956
1965
|
},
|
|
1957
1966
|
{
|
|
1958
1967
|
id: "catppuccin-mocha",
|
|
1959
1968
|
displayName: "Catppuccin Mocha",
|
|
1960
1969
|
type: "dark",
|
|
1961
|
-
import: (() => import("./catppuccin-mocha-
|
|
1970
|
+
import: (() => import("./catppuccin-mocha-sqt-O4hL.js"))
|
|
1962
1971
|
},
|
|
1963
1972
|
{
|
|
1964
1973
|
id: "dark-plus",
|
|
1965
1974
|
displayName: "Dark Plus",
|
|
1966
1975
|
type: "dark",
|
|
1967
|
-
import: (() => import("./dark-plus-
|
|
1976
|
+
import: (() => import("./dark-plus-B8sVNXvs.js"))
|
|
1968
1977
|
},
|
|
1969
1978
|
{
|
|
1970
1979
|
id: "dracula",
|
|
1971
1980
|
displayName: "Dracula Theme",
|
|
1972
1981
|
type: "dark",
|
|
1973
|
-
import: (() => import("./dracula-
|
|
1982
|
+
import: (() => import("./dracula-C-iwNp86.js"))
|
|
1974
1983
|
},
|
|
1975
1984
|
{
|
|
1976
1985
|
id: "dracula-soft",
|
|
1977
1986
|
displayName: "Dracula Theme Soft",
|
|
1978
1987
|
type: "dark",
|
|
1979
|
-
import: (() => import("./dracula-soft-
|
|
1988
|
+
import: (() => import("./dracula-soft-BgICPn4A.js"))
|
|
1980
1989
|
},
|
|
1981
1990
|
{
|
|
1982
1991
|
id: "everforest-dark",
|
|
1983
1992
|
displayName: "Everforest Dark",
|
|
1984
1993
|
type: "dark",
|
|
1985
|
-
import: (() => import("./everforest-dark-
|
|
1994
|
+
import: (() => import("./everforest-dark-DG_yfpzL.js"))
|
|
1986
1995
|
},
|
|
1987
1996
|
{
|
|
1988
1997
|
id: "everforest-light",
|
|
1989
1998
|
displayName: "Everforest Light",
|
|
1990
1999
|
type: "light",
|
|
1991
|
-
import: (() => import("./everforest-light-
|
|
2000
|
+
import: (() => import("./everforest-light-oQ4LYcyq.js"))
|
|
1992
2001
|
},
|
|
1993
2002
|
{
|
|
1994
2003
|
id: "github-dark",
|
|
1995
2004
|
displayName: "GitHub Dark",
|
|
1996
2005
|
type: "dark",
|
|
1997
|
-
import: (() => import("./github-dark-
|
|
2006
|
+
import: (() => import("./github-dark-DxWx9eCv.js"))
|
|
1998
2007
|
},
|
|
1999
2008
|
{
|
|
2000
2009
|
id: "github-dark-default",
|
|
2001
2010
|
displayName: "GitHub Dark Default",
|
|
2002
2011
|
type: "dark",
|
|
2003
|
-
import: (() => import("./github-dark-default-
|
|
2012
|
+
import: (() => import("./github-dark-default-DMnDNCqB.js"))
|
|
2004
2013
|
},
|
|
2005
2014
|
{
|
|
2006
2015
|
id: "github-dark-dimmed",
|
|
2007
2016
|
displayName: "GitHub Dark Dimmed",
|
|
2008
2017
|
type: "dark",
|
|
2009
|
-
import: (() => import("./github-dark-dimmed-
|
|
2018
|
+
import: (() => import("./github-dark-dimmed-CftPlIXb.js"))
|
|
2010
2019
|
},
|
|
2011
2020
|
{
|
|
2012
2021
|
id: "github-dark-high-contrast",
|
|
2013
2022
|
displayName: "GitHub Dark High Contrast",
|
|
2014
2023
|
type: "dark",
|
|
2015
|
-
import: (() => import("./github-dark-high-contrast-
|
|
2024
|
+
import: (() => import("./github-dark-high-contrast-iXcGuuWC.js"))
|
|
2016
2025
|
},
|
|
2017
2026
|
{
|
|
2018
2027
|
id: "github-light",
|
|
2019
2028
|
displayName: "GitHub Light",
|
|
2020
2029
|
type: "light",
|
|
2021
|
-
import: (() => import("./github-light-
|
|
2030
|
+
import: (() => import("./github-light-9kT9Ooux.js"))
|
|
2022
2031
|
},
|
|
2023
2032
|
{
|
|
2024
2033
|
id: "github-light-default",
|
|
2025
2034
|
displayName: "GitHub Light Default",
|
|
2026
2035
|
type: "light",
|
|
2027
|
-
import: (() => import("./github-light-default-
|
|
2036
|
+
import: (() => import("./github-light-default-BgUEXJWz.js"))
|
|
2028
2037
|
},
|
|
2029
2038
|
{
|
|
2030
2039
|
id: "github-light-high-contrast",
|
|
2031
2040
|
displayName: "GitHub Light High Contrast",
|
|
2032
2041
|
type: "light",
|
|
2033
|
-
import: (() => import("./github-light-high-contrast
|
|
2042
|
+
import: (() => import("./github-light-high-contrast--krAqmie.js"))
|
|
2034
2043
|
},
|
|
2035
2044
|
{
|
|
2036
2045
|
id: "gruvbox-dark-hard",
|
|
2037
2046
|
displayName: "Gruvbox Dark Hard",
|
|
2038
2047
|
type: "dark",
|
|
2039
|
-
import: (() => import("./gruvbox-dark-hard-
|
|
2048
|
+
import: (() => import("./gruvbox-dark-hard-CsqFBqpp.js"))
|
|
2040
2049
|
},
|
|
2041
2050
|
{
|
|
2042
2051
|
id: "gruvbox-dark-medium",
|
|
2043
2052
|
displayName: "Gruvbox Dark Medium",
|
|
2044
2053
|
type: "dark",
|
|
2045
|
-
import: (() => import("./gruvbox-dark-medium-
|
|
2054
|
+
import: (() => import("./gruvbox-dark-medium-BDcNnBCD.js"))
|
|
2046
2055
|
},
|
|
2047
2056
|
{
|
|
2048
2057
|
id: "gruvbox-dark-soft",
|
|
2049
2058
|
displayName: "Gruvbox Dark Soft",
|
|
2050
2059
|
type: "dark",
|
|
2051
|
-
import: (() => import("./gruvbox-dark-soft-
|
|
2060
|
+
import: (() => import("./gruvbox-dark-soft-D0C6_bfY.js"))
|
|
2052
2061
|
},
|
|
2053
2062
|
{
|
|
2054
2063
|
id: "gruvbox-light-hard",
|
|
2055
2064
|
displayName: "Gruvbox Light Hard",
|
|
2056
2065
|
type: "light",
|
|
2057
|
-
import: (() => import("./gruvbox-light-hard-
|
|
2066
|
+
import: (() => import("./gruvbox-light-hard-CjoqSDnu.js"))
|
|
2058
2067
|
},
|
|
2059
2068
|
{
|
|
2060
2069
|
id: "gruvbox-light-medium",
|
|
2061
2070
|
displayName: "Gruvbox Light Medium",
|
|
2062
2071
|
type: "light",
|
|
2063
|
-
import: (() => import("./gruvbox-light-medium-
|
|
2072
|
+
import: (() => import("./gruvbox-light-medium-Bw-HLAX4.js"))
|
|
2064
2073
|
},
|
|
2065
2074
|
{
|
|
2066
2075
|
id: "gruvbox-light-soft",
|
|
2067
2076
|
displayName: "Gruvbox Light Soft",
|
|
2068
2077
|
type: "light",
|
|
2069
|
-
import: (() => import("./gruvbox-light-soft-
|
|
2078
|
+
import: (() => import("./gruvbox-light-soft-DH2SdcDR.js"))
|
|
2070
2079
|
},
|
|
2071
2080
|
{
|
|
2072
2081
|
id: "horizon",
|
|
2073
2082
|
displayName: "Horizon",
|
|
2074
2083
|
type: "dark",
|
|
2075
|
-
import: (() => import("./horizon-
|
|
2084
|
+
import: (() => import("./horizon-DQM3kiLi.js"))
|
|
2076
2085
|
},
|
|
2077
2086
|
{
|
|
2078
2087
|
id: "horizon-bright",
|
|
2079
2088
|
displayName: "Horizon Bright",
|
|
2080
2089
|
type: "light",
|
|
2081
|
-
import: (() => import("./horizon-bright-
|
|
2090
|
+
import: (() => import("./horizon-bright-Cb9lGu-x.js"))
|
|
2082
2091
|
},
|
|
2083
2092
|
{
|
|
2084
2093
|
id: "houston",
|
|
2085
2094
|
displayName: "Houston",
|
|
2086
2095
|
type: "dark",
|
|
2087
|
-
import: (() => import("./houston-
|
|
2096
|
+
import: (() => import("./houston-CTCJUekH.js"))
|
|
2088
2097
|
},
|
|
2089
2098
|
{
|
|
2090
2099
|
id: "kanagawa-dragon",
|
|
2091
2100
|
displayName: "Kanagawa Dragon",
|
|
2092
2101
|
type: "dark",
|
|
2093
|
-
import: (() => import("./kanagawa-dragon-
|
|
2102
|
+
import: (() => import("./kanagawa-dragon-DxkEO9SU.js"))
|
|
2094
2103
|
},
|
|
2095
2104
|
{
|
|
2096
2105
|
id: "kanagawa-lotus",
|
|
2097
2106
|
displayName: "Kanagawa Lotus",
|
|
2098
2107
|
type: "light",
|
|
2099
|
-
import: (() => import("./kanagawa-lotus-
|
|
2108
|
+
import: (() => import("./kanagawa-lotus-Cc9ldDM2.js"))
|
|
2100
2109
|
},
|
|
2101
2110
|
{
|
|
2102
2111
|
id: "kanagawa-wave",
|
|
2103
2112
|
displayName: "Kanagawa Wave",
|
|
2104
2113
|
type: "dark",
|
|
2105
|
-
import: (() => import("./kanagawa-wave-
|
|
2114
|
+
import: (() => import("./kanagawa-wave-C-P3oH-q.js"))
|
|
2106
2115
|
},
|
|
2107
2116
|
{
|
|
2108
2117
|
id: "laserwave",
|
|
2109
2118
|
displayName: "LaserWave",
|
|
2110
2119
|
type: "dark",
|
|
2111
|
-
import: (() => import("./laserwave-
|
|
2120
|
+
import: (() => import("./laserwave-DyIpDR4_.js"))
|
|
2112
2121
|
},
|
|
2113
2122
|
{
|
|
2114
2123
|
id: "light-plus",
|
|
2115
2124
|
displayName: "Light Plus",
|
|
2116
2125
|
type: "light",
|
|
2117
|
-
import: (() => import("./light-plus-
|
|
2126
|
+
import: (() => import("./light-plus-5Kq1clvF.js"))
|
|
2118
2127
|
},
|
|
2119
2128
|
{
|
|
2120
2129
|
id: "material-theme",
|
|
2121
2130
|
displayName: "Material Theme",
|
|
2122
2131
|
type: "dark",
|
|
2123
|
-
import: (() => import("./material-theme-
|
|
2132
|
+
import: (() => import("./material-theme-BrL4vOLl.js"))
|
|
2124
2133
|
},
|
|
2125
2134
|
{
|
|
2126
2135
|
id: "material-theme-darker",
|
|
2127
2136
|
displayName: "Material Theme Darker",
|
|
2128
2137
|
type: "dark",
|
|
2129
|
-
import: (() => import("./material-theme-darker-
|
|
2138
|
+
import: (() => import("./material-theme-darker-tvhNVUuj.js"))
|
|
2130
2139
|
},
|
|
2131
2140
|
{
|
|
2132
2141
|
id: "material-theme-lighter",
|
|
2133
2142
|
displayName: "Material Theme Lighter",
|
|
2134
2143
|
type: "light",
|
|
2135
|
-
import: (() => import("./material-theme-lighter-
|
|
2144
|
+
import: (() => import("./material-theme-lighter-BlIcyJcm.js"))
|
|
2136
2145
|
},
|
|
2137
2146
|
{
|
|
2138
2147
|
id: "material-theme-ocean",
|
|
2139
2148
|
displayName: "Material Theme Ocean",
|
|
2140
2149
|
type: "dark",
|
|
2141
|
-
import: (() => import("./material-theme-ocean-
|
|
2150
|
+
import: (() => import("./material-theme-ocean-ijmZnVMq.js"))
|
|
2142
2151
|
},
|
|
2143
2152
|
{
|
|
2144
2153
|
id: "material-theme-palenight",
|
|
2145
2154
|
displayName: "Material Theme Palenight",
|
|
2146
2155
|
type: "dark",
|
|
2147
|
-
import: (() => import("./material-theme-palenight-
|
|
2156
|
+
import: (() => import("./material-theme-palenight-prHD2zpS.js"))
|
|
2148
2157
|
},
|
|
2149
2158
|
{
|
|
2150
2159
|
id: "min-dark",
|
|
2151
2160
|
displayName: "Min Dark",
|
|
2152
2161
|
type: "dark",
|
|
2153
|
-
import: (() => import("./min-dark-
|
|
2162
|
+
import: (() => import("./min-dark-D7PJp-Ix.js"))
|
|
2154
2163
|
},
|
|
2155
2164
|
{
|
|
2156
2165
|
id: "min-light",
|
|
2157
2166
|
displayName: "Min Light",
|
|
2158
2167
|
type: "light",
|
|
2159
|
-
import: (() => import("./min-light-
|
|
2168
|
+
import: (() => import("./min-light-DB47A7Yk.js"))
|
|
2160
2169
|
},
|
|
2161
2170
|
{
|
|
2162
2171
|
id: "monokai",
|
|
2163
2172
|
displayName: "Monokai",
|
|
2164
2173
|
type: "dark",
|
|
2165
|
-
import: (() => import("./monokai-
|
|
2174
|
+
import: (() => import("./monokai-B2xRWdzR.js"))
|
|
2166
2175
|
},
|
|
2167
2176
|
{
|
|
2168
2177
|
id: "night-owl",
|
|
2169
2178
|
displayName: "Night Owl",
|
|
2170
2179
|
type: "dark",
|
|
2171
|
-
import: (() => import("./night-owl-
|
|
2180
|
+
import: (() => import("./night-owl-oV0ypOQV.js"))
|
|
2172
2181
|
},
|
|
2173
2182
|
{
|
|
2174
2183
|
id: "night-owl-light",
|
|
2175
2184
|
displayName: "Night Owl Light",
|
|
2176
2185
|
type: "light",
|
|
2177
|
-
import: (() => import("./night-owl-light-
|
|
2186
|
+
import: (() => import("./night-owl-light-BIjsLF9R.js"))
|
|
2178
2187
|
},
|
|
2179
2188
|
{
|
|
2180
2189
|
id: "nord",
|
|
2181
2190
|
displayName: "Nord",
|
|
2182
2191
|
type: "dark",
|
|
2183
|
-
import: (() => import("./nord-
|
|
2192
|
+
import: (() => import("./nord-BehyGTcU.js"))
|
|
2184
2193
|
},
|
|
2185
2194
|
{
|
|
2186
2195
|
id: "one-dark-pro",
|
|
2187
2196
|
displayName: "One Dark Pro",
|
|
2188
2197
|
type: "dark",
|
|
2189
|
-
import: (() => import("./one-dark-pro-
|
|
2198
|
+
import: (() => import("./one-dark-pro-C8h8a1R2.js"))
|
|
2190
2199
|
},
|
|
2191
2200
|
{
|
|
2192
2201
|
id: "one-light",
|
|
2193
2202
|
displayName: "One Light",
|
|
2194
2203
|
type: "light",
|
|
2195
|
-
import: (() => import("./one-light-
|
|
2204
|
+
import: (() => import("./one-light-DXZihwn3.js"))
|
|
2196
2205
|
},
|
|
2197
2206
|
{
|
|
2198
2207
|
id: "plastic",
|
|
2199
2208
|
displayName: "Plastic",
|
|
2200
2209
|
type: "dark",
|
|
2201
|
-
import: (() => import("./plastic-
|
|
2210
|
+
import: (() => import("./plastic-BoNd5nnt.js"))
|
|
2202
2211
|
},
|
|
2203
2212
|
{
|
|
2204
2213
|
id: "poimandres",
|
|
2205
2214
|
displayName: "Poimandres",
|
|
2206
2215
|
type: "dark",
|
|
2207
|
-
import: (() => import("./poimandres-
|
|
2216
|
+
import: (() => import("./poimandres-kN4w1zeG.js"))
|
|
2208
2217
|
},
|
|
2209
2218
|
{
|
|
2210
2219
|
id: "red",
|
|
2211
2220
|
displayName: "Red",
|
|
2212
2221
|
type: "dark",
|
|
2213
|
-
import: (() => import("./red-
|
|
2222
|
+
import: (() => import("./red-CG3DfhwS.js"))
|
|
2214
2223
|
},
|
|
2215
2224
|
{
|
|
2216
2225
|
id: "rose-pine",
|
|
2217
2226
|
displayName: "Rosé Pine",
|
|
2218
2227
|
type: "dark",
|
|
2219
|
-
import: (() => import("./rose-pine-
|
|
2228
|
+
import: (() => import("./rose-pine-D35bu7cN.js"))
|
|
2220
2229
|
},
|
|
2221
2230
|
{
|
|
2222
2231
|
id: "rose-pine-dawn",
|
|
2223
2232
|
displayName: "Rosé Pine Dawn",
|
|
2224
2233
|
type: "light",
|
|
2225
|
-
import: (() => import("./rose-pine-dawn-
|
|
2234
|
+
import: (() => import("./rose-pine-dawn-DMvcvJnV.js"))
|
|
2226
2235
|
},
|
|
2227
2236
|
{
|
|
2228
2237
|
id: "rose-pine-moon",
|
|
2229
2238
|
displayName: "Rosé Pine Moon",
|
|
2230
2239
|
type: "dark",
|
|
2231
|
-
import: (() => import("./rose-pine-moon-
|
|
2240
|
+
import: (() => import("./rose-pine-moon-yq_U0wEu.js"))
|
|
2232
2241
|
},
|
|
2233
2242
|
{
|
|
2234
2243
|
id: "slack-dark",
|
|
2235
2244
|
displayName: "Slack Dark",
|
|
2236
2245
|
type: "dark",
|
|
2237
|
-
import: (() => import("./slack-dark-
|
|
2246
|
+
import: (() => import("./slack-dark-BODbPe4Z.js"))
|
|
2238
2247
|
},
|
|
2239
2248
|
{
|
|
2240
2249
|
id: "slack-ochin",
|
|
2241
2250
|
displayName: "Slack Ochin",
|
|
2242
2251
|
type: "light",
|
|
2243
|
-
import: (() => import("./slack-ochin-
|
|
2252
|
+
import: (() => import("./slack-ochin-DhVt5-hM.js"))
|
|
2244
2253
|
},
|
|
2245
2254
|
{
|
|
2246
2255
|
id: "snazzy-light",
|
|
2247
2256
|
displayName: "Snazzy Light",
|
|
2248
2257
|
type: "light",
|
|
2249
|
-
import: (() => import("./snazzy-light-
|
|
2258
|
+
import: (() => import("./snazzy-light-BYSfhLsO.js"))
|
|
2250
2259
|
},
|
|
2251
2260
|
{
|
|
2252
2261
|
id: "solarized-dark",
|
|
2253
2262
|
displayName: "Solarized Dark",
|
|
2254
2263
|
type: "dark",
|
|
2255
|
-
import: (() => import("./solarized-dark-
|
|
2264
|
+
import: (() => import("./solarized-dark-Dheru8RM.js"))
|
|
2256
2265
|
},
|
|
2257
2266
|
{
|
|
2258
2267
|
id: "solarized-light",
|
|
2259
2268
|
displayName: "Solarized Light",
|
|
2260
2269
|
type: "light",
|
|
2261
|
-
import: (() => import("./solarized-light-
|
|
2270
|
+
import: (() => import("./solarized-light-Bj5LWrzk.js"))
|
|
2262
2271
|
},
|
|
2263
2272
|
{
|
|
2264
2273
|
id: "synthwave-84",
|
|
2265
2274
|
displayName: "Synthwave '84",
|
|
2266
2275
|
type: "dark",
|
|
2267
|
-
import: (() => import("./synthwave-84-
|
|
2276
|
+
import: (() => import("./synthwave-84-CUYER07E.js"))
|
|
2268
2277
|
},
|
|
2269
2278
|
{
|
|
2270
2279
|
id: "tokyo-night",
|
|
2271
2280
|
displayName: "Tokyo Night",
|
|
2272
2281
|
type: "dark",
|
|
2273
|
-
import: (() => import("./tokyo-night-
|
|
2282
|
+
import: (() => import("./tokyo-night-DrHuJo9W.js"))
|
|
2274
2283
|
},
|
|
2275
2284
|
{
|
|
2276
2285
|
id: "vesper",
|
|
2277
2286
|
displayName: "Vesper",
|
|
2278
2287
|
type: "dark",
|
|
2279
|
-
import: (() => import("./vesper-
|
|
2288
|
+
import: (() => import("./vesper-DE1caIDd.js"))
|
|
2280
2289
|
},
|
|
2281
2290
|
{
|
|
2282
2291
|
id: "vitesse-black",
|
|
2283
2292
|
displayName: "Vitesse Black",
|
|
2284
2293
|
type: "dark",
|
|
2285
|
-
import: (() => import("./vitesse-black-
|
|
2294
|
+
import: (() => import("./vitesse-black-ZDkSCQzx.js"))
|
|
2286
2295
|
},
|
|
2287
2296
|
{
|
|
2288
2297
|
id: "vitesse-dark",
|
|
2289
2298
|
displayName: "Vitesse Dark",
|
|
2290
2299
|
type: "dark",
|
|
2291
|
-
import: (() => import("./vitesse-dark-
|
|
2300
|
+
import: (() => import("./vitesse-dark-B9MgwVCj.js"))
|
|
2292
2301
|
},
|
|
2293
2302
|
{
|
|
2294
2303
|
id: "vitesse-light",
|
|
2295
2304
|
displayName: "Vitesse Light",
|
|
2296
2305
|
type: "light",
|
|
2297
|
-
import: (() => import("./vitesse-light-
|
|
2306
|
+
import: (() => import("./vitesse-light-DqhBayaq.js"))
|
|
2298
2307
|
}
|
|
2299
|
-
].map((e) => [e.id, e.import])),
|
|
2308
|
+
].map((e) => [e.id, e.import])), sn = [
|
|
2300
2309
|
{
|
|
2301
2310
|
id: "angular-html",
|
|
2302
2311
|
name: "Angular HTML",
|
|
2303
|
-
import: (() => import("./angular-html-
|
|
2312
|
+
import: (() => import("./angular-html-BDzibLIk.js").then((e) => e.n))
|
|
2304
2313
|
},
|
|
2305
2314
|
{
|
|
2306
2315
|
id: "angular-ts",
|
|
2307
2316
|
name: "Angular TypeScript",
|
|
2308
|
-
import: (() => import("./angular-ts-
|
|
2317
|
+
import: (() => import("./angular-ts-D81F0-9A.js"))
|
|
2309
2318
|
},
|
|
2310
2319
|
{
|
|
2311
2320
|
id: "astro",
|
|
2312
2321
|
name: "Astro",
|
|
2313
|
-
import: (() => import("./astro-
|
|
2322
|
+
import: (() => import("./astro-Up1TtKOj.js"))
|
|
2314
2323
|
},
|
|
2315
2324
|
{
|
|
2316
2325
|
id: "blade",
|
|
2317
2326
|
name: "Blade",
|
|
2318
|
-
import: (() => import("./blade-
|
|
2327
|
+
import: (() => import("./blade-CpVdu14g.js"))
|
|
2319
2328
|
},
|
|
2320
2329
|
{
|
|
2321
2330
|
id: "c",
|
|
2322
2331
|
name: "C",
|
|
2323
|
-
import: (() => import("./c-
|
|
2332
|
+
import: (() => import("./c-DtxJex1m.js").then((e) => e.n))
|
|
2324
2333
|
},
|
|
2325
2334
|
{
|
|
2326
2335
|
id: "coffee",
|
|
2327
2336
|
name: "CoffeeScript",
|
|
2328
2337
|
aliases: ["coffeescript"],
|
|
2329
|
-
import: (() => import("./coffee-
|
|
2338
|
+
import: (() => import("./coffee-B9lToztK.js"))
|
|
2330
2339
|
},
|
|
2331
2340
|
{
|
|
2332
2341
|
id: "cpp",
|
|
2333
2342
|
name: "C++",
|
|
2334
2343
|
aliases: ["c++"],
|
|
2335
|
-
import: (() => import("./cpp-
|
|
2344
|
+
import: (() => import("./cpp-BEQCV3s5.js"))
|
|
2336
2345
|
},
|
|
2337
2346
|
{
|
|
2338
2347
|
id: "css",
|
|
2339
2348
|
name: "CSS",
|
|
2340
|
-
import: (() => import("./css-
|
|
2349
|
+
import: (() => import("./css-DcJEitGa.js").then((e) => e.n))
|
|
2341
2350
|
},
|
|
2342
2351
|
{
|
|
2343
2352
|
id: "csv",
|
|
@@ -2347,44 +2356,44 @@ var Jt = Object.fromEntries([
|
|
|
2347
2356
|
{
|
|
2348
2357
|
id: "glsl",
|
|
2349
2358
|
name: "GLSL",
|
|
2350
|
-
import: (() => import("./glsl-
|
|
2359
|
+
import: (() => import("./glsl-7eSg02Gr.js").then((e) => e.n))
|
|
2351
2360
|
},
|
|
2352
2361
|
{
|
|
2353
2362
|
id: "graphql",
|
|
2354
2363
|
name: "GraphQL",
|
|
2355
2364
|
aliases: ["gql"],
|
|
2356
|
-
import: (() => import("./graphql-
|
|
2365
|
+
import: (() => import("./graphql-CE7EXOgY.js"))
|
|
2357
2366
|
},
|
|
2358
2367
|
{
|
|
2359
2368
|
id: "haml",
|
|
2360
2369
|
name: "Ruby Haml",
|
|
2361
|
-
import: (() => import("./haml-
|
|
2370
|
+
import: (() => import("./haml-BP5AnOwP.js"))
|
|
2362
2371
|
},
|
|
2363
2372
|
{
|
|
2364
2373
|
id: "handlebars",
|
|
2365
2374
|
name: "Handlebars",
|
|
2366
2375
|
aliases: ["hbs"],
|
|
2367
|
-
import: (() => import("./handlebars-
|
|
2376
|
+
import: (() => import("./handlebars-BjC-t2fq.js"))
|
|
2368
2377
|
},
|
|
2369
2378
|
{
|
|
2370
2379
|
id: "html",
|
|
2371
2380
|
name: "HTML",
|
|
2372
|
-
import: (() => import("./html-
|
|
2381
|
+
import: (() => import("./html-Ct25QrQu.js").then((e) => e.n))
|
|
2373
2382
|
},
|
|
2374
2383
|
{
|
|
2375
2384
|
id: "html-derivative",
|
|
2376
2385
|
name: "HTML (Derivative)",
|
|
2377
|
-
import: (() => import("./html-derivative-
|
|
2386
|
+
import: (() => import("./html-derivative-DSKrIQn9.js"))
|
|
2378
2387
|
},
|
|
2379
2388
|
{
|
|
2380
2389
|
id: "http",
|
|
2381
2390
|
name: "HTTP",
|
|
2382
|
-
import: (() => import("./http
|
|
2391
|
+
import: (() => import("./http-BCk9QAjz.js"))
|
|
2383
2392
|
},
|
|
2384
2393
|
{
|
|
2385
2394
|
id: "hurl",
|
|
2386
2395
|
name: "Hurl",
|
|
2387
|
-
import: (() => import("./hurl-
|
|
2396
|
+
import: (() => import("./hurl-DWxVzahG.js"))
|
|
2388
2397
|
},
|
|
2389
2398
|
{
|
|
2390
2399
|
id: "imba",
|
|
@@ -2394,7 +2403,7 @@ var Jt = Object.fromEntries([
|
|
|
2394
2403
|
{
|
|
2395
2404
|
id: "java",
|
|
2396
2405
|
name: "Java",
|
|
2397
|
-
import: (() => import("./java-
|
|
2406
|
+
import: (() => import("./java-CuIj5nvv.js").then((e) => e.n))
|
|
2398
2407
|
},
|
|
2399
2408
|
{
|
|
2400
2409
|
id: "javascript",
|
|
@@ -2404,17 +2413,17 @@ var Jt = Object.fromEntries([
|
|
|
2404
2413
|
"cjs",
|
|
2405
2414
|
"mjs"
|
|
2406
2415
|
],
|
|
2407
|
-
import: (() => import("./javascript-
|
|
2416
|
+
import: (() => import("./javascript-C_3Wy_Gj.js").then((e) => e.n))
|
|
2408
2417
|
},
|
|
2409
2418
|
{
|
|
2410
2419
|
id: "jinja",
|
|
2411
2420
|
name: "Jinja",
|
|
2412
|
-
import: (() => import("./jinja-
|
|
2421
|
+
import: (() => import("./jinja-C8xQEEYN.js"))
|
|
2413
2422
|
},
|
|
2414
2423
|
{
|
|
2415
2424
|
id: "jison",
|
|
2416
2425
|
name: "Jison",
|
|
2417
|
-
import: (() => import("./jison-
|
|
2426
|
+
import: (() => import("./jison-CyKFq-6a.js"))
|
|
2418
2427
|
},
|
|
2419
2428
|
{
|
|
2420
2429
|
id: "json",
|
|
@@ -2439,13 +2448,13 @@ var Jt = Object.fromEntries([
|
|
|
2439
2448
|
{
|
|
2440
2449
|
id: "jsx",
|
|
2441
2450
|
name: "JSX",
|
|
2442
|
-
import: (() => import("./jsx-
|
|
2451
|
+
import: (() => import("./jsx-CfQ2JFaq.js").then((e) => e.n))
|
|
2443
2452
|
},
|
|
2444
2453
|
{
|
|
2445
2454
|
id: "julia",
|
|
2446
2455
|
name: "Julia",
|
|
2447
2456
|
aliases: ["jl"],
|
|
2448
|
-
import: (() => import("./julia-
|
|
2457
|
+
import: (() => import("./julia-BMAFK3Gd.js"))
|
|
2449
2458
|
},
|
|
2450
2459
|
{
|
|
2451
2460
|
id: "less",
|
|
@@ -2461,12 +2470,12 @@ var Jt = Object.fromEntries([
|
|
|
2461
2470
|
{
|
|
2462
2471
|
id: "marko",
|
|
2463
2472
|
name: "Marko",
|
|
2464
|
-
import: (() => import("./marko-
|
|
2473
|
+
import: (() => import("./marko-DYmCev7q.js"))
|
|
2465
2474
|
},
|
|
2466
2475
|
{
|
|
2467
2476
|
id: "mdc",
|
|
2468
2477
|
name: "MDC",
|
|
2469
|
-
import: (() => import("./mdc-
|
|
2478
|
+
import: (() => import("./mdc-D7QSJBKx.js"))
|
|
2470
2479
|
},
|
|
2471
2480
|
{
|
|
2472
2481
|
id: "mdx",
|
|
@@ -2476,7 +2485,7 @@ var Jt = Object.fromEntries([
|
|
|
2476
2485
|
{
|
|
2477
2486
|
id: "php",
|
|
2478
2487
|
name: "PHP",
|
|
2479
|
-
import: (() => import("./php-
|
|
2488
|
+
import: (() => import("./php-h4fQX9du.js"))
|
|
2480
2489
|
},
|
|
2481
2490
|
{
|
|
2482
2491
|
id: "postcss",
|
|
@@ -2487,7 +2496,7 @@ var Jt = Object.fromEntries([
|
|
|
2487
2496
|
id: "pug",
|
|
2488
2497
|
name: "Pug",
|
|
2489
2498
|
aliases: ["jade"],
|
|
2490
|
-
import: (() => import("./pug-
|
|
2499
|
+
import: (() => import("./pug-CxpNRXGa.js"))
|
|
2491
2500
|
},
|
|
2492
2501
|
{
|
|
2493
2502
|
id: "python",
|
|
@@ -2504,7 +2513,7 @@ var Jt = Object.fromEntries([
|
|
|
2504
2513
|
id: "regexp",
|
|
2505
2514
|
name: "RegExp",
|
|
2506
2515
|
aliases: ["regex"],
|
|
2507
|
-
import: (() => import("./regexp-
|
|
2516
|
+
import: (() => import("./regexp-BusfBBwF.js").then((e) => e.n))
|
|
2508
2517
|
},
|
|
2509
2518
|
{
|
|
2510
2519
|
id: "sass",
|
|
@@ -2514,7 +2523,7 @@ var Jt = Object.fromEntries([
|
|
|
2514
2523
|
{
|
|
2515
2524
|
id: "scss",
|
|
2516
2525
|
name: "SCSS",
|
|
2517
|
-
import: (() => import("./scss-
|
|
2526
|
+
import: (() => import("./scss-DaY16nmX.js").then((e) => e.n))
|
|
2518
2527
|
},
|
|
2519
2528
|
{
|
|
2520
2529
|
id: "shellscript",
|
|
@@ -2530,7 +2539,7 @@ var Jt = Object.fromEntries([
|
|
|
2530
2539
|
{
|
|
2531
2540
|
id: "sql",
|
|
2532
2541
|
name: "SQL",
|
|
2533
|
-
import: (() => import("./sql-
|
|
2542
|
+
import: (() => import("./sql-8d8R_FnS.js").then((e) => e.n))
|
|
2534
2543
|
},
|
|
2535
2544
|
{
|
|
2536
2545
|
id: "stylus",
|
|
@@ -2541,18 +2550,18 @@ var Jt = Object.fromEntries([
|
|
|
2541
2550
|
{
|
|
2542
2551
|
id: "svelte",
|
|
2543
2552
|
name: "Svelte",
|
|
2544
|
-
import: (() => import("./svelte-
|
|
2553
|
+
import: (() => import("./svelte-BiN7hc1M.js"))
|
|
2545
2554
|
},
|
|
2546
2555
|
{
|
|
2547
2556
|
id: "ts-tags",
|
|
2548
2557
|
name: "TypeScript with Tags",
|
|
2549
2558
|
aliases: ["lit"],
|
|
2550
|
-
import: (() => import("./ts-tags-
|
|
2559
|
+
import: (() => import("./ts-tags-BK3ScQNp.js"))
|
|
2551
2560
|
},
|
|
2552
2561
|
{
|
|
2553
2562
|
id: "tsx",
|
|
2554
2563
|
name: "TSX",
|
|
2555
|
-
import: (() => import("./tsx-
|
|
2564
|
+
import: (() => import("./tsx-D2IQdrsN.js").then((e) => e.n))
|
|
2556
2565
|
},
|
|
2557
2566
|
{
|
|
2558
2567
|
id: "typescript",
|
|
@@ -2562,22 +2571,22 @@ var Jt = Object.fromEntries([
|
|
|
2562
2571
|
"cts",
|
|
2563
2572
|
"mts"
|
|
2564
2573
|
],
|
|
2565
|
-
import: (() => import("./typescript-
|
|
2574
|
+
import: (() => import("./typescript-C40nYMtR.js").then((e) => e.n))
|
|
2566
2575
|
},
|
|
2567
2576
|
{
|
|
2568
2577
|
id: "vue",
|
|
2569
2578
|
name: "Vue",
|
|
2570
|
-
import: (() => import("./vue-
|
|
2579
|
+
import: (() => import("./vue-COUaRKLt.js"))
|
|
2571
2580
|
},
|
|
2572
2581
|
{
|
|
2573
2582
|
id: "vue-html",
|
|
2574
2583
|
name: "Vue HTML",
|
|
2575
|
-
import: (() => import("./vue-html-
|
|
2584
|
+
import: (() => import("./vue-html-DjKFzwWo.js"))
|
|
2576
2585
|
},
|
|
2577
2586
|
{
|
|
2578
2587
|
id: "vue-vine",
|
|
2579
2588
|
name: "Vue Vine",
|
|
2580
|
-
import: (() => import("./vue-vine-
|
|
2589
|
+
import: (() => import("./vue-vine-D0Lpd94a.js"))
|
|
2581
2590
|
},
|
|
2582
2591
|
{
|
|
2583
2592
|
id: "wasm",
|
|
@@ -2597,7 +2606,7 @@ var Jt = Object.fromEntries([
|
|
|
2597
2606
|
{
|
|
2598
2607
|
id: "xml",
|
|
2599
2608
|
name: "XML",
|
|
2600
|
-
import: (() => import("./xml-
|
|
2609
|
+
import: (() => import("./xml-DL5p3-50.js").then((e) => e.n))
|
|
2601
2610
|
},
|
|
2602
2611
|
{
|
|
2603
2612
|
id: "yaml",
|
|
@@ -2605,23 +2614,23 @@ var Jt = Object.fromEntries([
|
|
|
2605
2614
|
aliases: ["yml"],
|
|
2606
2615
|
import: (() => import("./yaml-DXmkPuRD.js"))
|
|
2607
2616
|
}
|
|
2608
|
-
],
|
|
2609
|
-
...
|
|
2610
|
-
...
|
|
2611
|
-
}, { codeToHtml:
|
|
2612
|
-
langs:
|
|
2613
|
-
themes:
|
|
2614
|
-
engine: () => (0,
|
|
2615
|
-
}), { guessEmbeddedLanguages:
|
|
2617
|
+
], cn = Object.fromEntries(sn.map((e) => [e.id, e.import])), ln = Object.fromEntries(sn.flatMap((e) => e.aliases?.map((t) => [t, e.import]) || [])), un = {
|
|
2618
|
+
...cn,
|
|
2619
|
+
...ln
|
|
2620
|
+
}, { codeToHtml: dn, codeToHast: fn, codeToTokensBase: pn, codeToTokens: mn, codeToTokensWithThemes: hn, getSingletonHighlighter: gn, getLastGrammarState: _n } = /* @__PURE__ */ gt(/* @__PURE__ */ mt({
|
|
2621
|
+
langs: un,
|
|
2622
|
+
themes: on,
|
|
2623
|
+
engine: () => (0, an.createOnigurumaEngine)(import("./wasm-BMAmnBgD.js"))
|
|
2624
|
+
}), { guessEmbeddedLanguages: Le });
|
|
2616
2625
|
//#endregion
|
|
2617
|
-
//#region ../../node_modules/.bun/react-shiki@0.10.1+
|
|
2618
|
-
async function
|
|
2619
|
-
return await
|
|
2620
|
-
langs: e.filter((e) =>
|
|
2626
|
+
//#region ../../node_modules/.bun/react-shiki@0.10.1+c24c3269a5ef484e/node_modules/react-shiki/dist/web.mjs
|
|
2627
|
+
async function vn(e, t, n) {
|
|
2628
|
+
return await gn({
|
|
2629
|
+
langs: e.filter((e) => Ct(e, un)),
|
|
2621
2630
|
themes: t,
|
|
2622
|
-
engine: n ??
|
|
2631
|
+
engine: n ?? rn(import("./wasm-BMAmnBgD.js"))
|
|
2623
2632
|
});
|
|
2624
2633
|
}
|
|
2625
|
-
var
|
|
2634
|
+
var yn = Pt((e, t, n, r = {}) => Nt(e, t, n, r, vn));
|
|
2626
2635
|
//#endregion
|
|
2627
|
-
export {
|
|
2636
|
+
export { yn as t };
|