@leanspec/ui-components 0.2.19-dev.21287601001 → 0.2.19-dev.21382316476
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/README.md +39 -2
- package/dist/_baseUniq-KSDS6tgF.js +477 -0
- package/dist/_baseUniq-ifpVq4u5.cjs +1 -0
- package/dist/abap-DV7Q1lGP.cjs +1 -0
- package/dist/abap-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-DXOxkRa2.cjs +1 -0
- package/dist/actionscript-3-DZzbMeqX.js +6 -0
- package/dist/ada-D46EKCNf.cjs +1 -0
- package/dist/ada-vP6ak0IW.js +6 -0
- package/dist/andromeeda-BIpZ7gaU.js +4 -0
- package/dist/andromeeda-DVDxRwp5.cjs +1 -0
- package/dist/angular-html-DPB4Rf0C.js +32 -0
- package/dist/angular-html-KMf2QdtP.cjs +1 -0
- package/dist/angular-ts-BxIbo3R1.cjs +1 -0
- package/dist/angular-ts-CTOR2ofC.js +21 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apache-DL1xuH1f.cjs +1 -0
- package/dist/apex-6AM9YZbQ.cjs +1 -0
- package/dist/apex-OyTfjCYK.js +6 -0
- package/dist/apl-CjNiDgad.js +16 -0
- package/dist/apl-Dj2G2M9w.cjs +1 -0
- package/dist/applescript-BPx7YFFu.js +6 -0
- package/dist/applescript-COilsSrZ.cjs +1 -0
- package/dist/ara-B6Lpq1YJ.cjs +1 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/arc-C-X5Xt_b.js +83 -0
- package/dist/arc-CutFaiCL.cjs +1 -0
- package/dist/architecture-U656AL7Q-BB1A66AM.js +5 -0
- package/dist/architecture-U656AL7Q-DOVRDeZr.cjs +1 -0
- package/dist/architectureDiagram-VXUJARFQ-Bal8NTn4.js +4668 -0
- package/dist/architectureDiagram-VXUJARFQ-WCtQIdet.cjs +36 -0
- package/dist/asciidoc-B-pCoB3G.js +6 -0
- package/dist/asciidoc-DcKqW72n.cjs +1 -0
- package/dist/asm-BTWLY5ym.js +6 -0
- package/dist/asm-DYMFy-sD.cjs +1 -0
- package/dist/astro-CFFExE8Q.js +18 -0
- package/dist/astro-DAOP_Xq6.cjs +1 -0
- package/dist/aurora-x-BwoVEUWZ.js +4 -0
- package/dist/aurora-x-C5IpmIOG.cjs +1 -0
- package/dist/awk-Fb0P9dkn.js +6 -0
- package/dist/awk-IEszImW6.cjs +1 -0
- package/dist/ayu-dark-CDpQIJw4.cjs +1 -0
- package/dist/ayu-dark-DG7aLdHp.js +4 -0
- package/dist/ballerina-Dr6dU4hP.cjs +1 -0
- package/dist/ballerina-oZK-YekG.js +6 -0
- package/dist/bat-0FvbqU9S.js +6 -0
- package/dist/bat-DGkUhhn2.cjs +1 -0
- package/dist/beancount-Bv1Sweoy.cjs +1 -0
- package/dist/beancount-DqJEb89h.js +6 -0
- package/dist/berry-DEMs4LK_.cjs +1 -0
- package/dist/berry-DODBq_Ff.js +6 -0
- package/dist/bibtex-BgA36Z3k.cjs +1 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-BorU73w0.js +6 -0
- package/dist/bicep-DL0zb-7W.cjs +1 -0
- package/dist/blade-D0HyNvCw.js +20 -0
- package/dist/blade-DEjek0u9.cjs +1 -0
- package/dist/blockDiagram-VD42YOAC-B2gTo5wW.js +2265 -0
- package/dist/blockDiagram-VD42YOAC-CGdaLv7H.cjs +122 -0
- package/dist/bsl-9bVgFeM9.cjs +1 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/c-CtlmKnPF.cjs +1 -0
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/c3-Bt581sCe.js +6 -0
- package/dist/c3-DtfRRWXN.cjs +1 -0
- package/dist/c4Diagram-YG6GDRKO-DfRXyZHM.cjs +10 -0
- package/dist/c4Diagram-YG6GDRKO-dIf_vNCY.js +1581 -0
- package/dist/cadence-02UX7mW8.js +6 -0
- package/dist/cadence-DcbmM5v3.cjs +1 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/cairo-li7sQsxU.cjs +1 -0
- package/dist/catppuccin-frappe-Bn4lgmUk.cjs +1 -0
- package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
- package/dist/catppuccin-latte-BPtsb8jD.cjs +1 -0
- package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
- package/dist/catppuccin-macchiato-BLfpQWhT.cjs +1 -0
- package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
- package/dist/catppuccin-mocha-COMta283.cjs +1 -0
- package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
- package/dist/channel-CMrUjUoZ.cjs +1 -0
- package/dist/channel-klR7o7JB.js +5 -0
- package/dist/chunk-4BX2VUAB-BQgzc1Sm.js +9 -0
- package/dist/chunk-4BX2VUAB-CO5acanJ.cjs +1 -0
- package/dist/chunk-55IACEB6-C88Xx0rU.cjs +1 -0
- package/dist/chunk-55IACEB6-Dd3NjClm.js +8 -0
- package/dist/chunk-B4BG7PRW-BTU_nPVE.cjs +165 -0
- package/dist/chunk-B4BG7PRW-DLUrgkJI.js +1376 -0
- package/dist/chunk-DI55MBZ5-BwHLqSW9.js +1382 -0
- package/dist/chunk-DI55MBZ5-lVvJu2kr.cjs +220 -0
- package/dist/chunk-FMBD7UC4-6dsbMKM7.js +19 -0
- package/dist/chunk-FMBD7UC4-CedTj9g2.cjs +15 -0
- package/dist/chunk-QN33PNHL-DHNejhbC.js +20 -0
- package/dist/chunk-QN33PNHL-Dr9ghdFD.cjs +1 -0
- package/dist/chunk-QZHKN3VN-CU1cLvn7.cjs +1 -0
- package/dist/chunk-QZHKN3VN-CVAEdzef.js +15 -0
- package/dist/chunk-TZMSLE5B-Cc8_PJIq.js +64 -0
- package/dist/chunk-TZMSLE5B-Dy6zxWyY.cjs +1 -0
- package/dist/clarity-PKm5CwqM.js +6 -0
- package/dist/clarity-gPuvqtpF.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-CJQWUYqu.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-D7bjndmT.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-CJQWUYqu.cjs +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-D7bjndmT.js +16 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/clojure-OUsr1SUl.cjs +1 -0
- package/dist/clone-7srXemyd.js +8 -0
- package/dist/clone-Chgndk5P.cjs +1 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cmake-jM6P58qY.cjs +1 -0
- package/dist/cobol-CcrsCSUZ.cjs +1 -0
- package/dist/cobol-HihOMwht.js +10 -0
- package/dist/code-block-37QAKDTI-BAYBliUK.cjs +2 -0
- package/dist/code-block-37QAKDTI-MRm4xHKr.js +27 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeowners-QhPK6lIJ.cjs +1 -0
- package/dist/codeql-D9-TdUN8.cjs +1 -0
- package/dist/codeql-DHkodjjI.js +6 -0
- package/dist/coffee-DGBR_nr_.js +8 -0
- package/dist/coffee-DycxIFwY.cjs +1 -0
- package/dist/common-lisp-C77gR-8i.cjs +1 -0
- package/dist/common-lisp-EVqT9Zhp.js +6 -0
- package/dist/components/ai-elements/agent.d.ts +27 -0
- package/dist/components/ai-elements/agent.d.ts.map +1 -0
- package/dist/components/ai-elements/artifact.d.ts +24 -0
- package/dist/components/ai-elements/artifact.d.ts.map +1 -0
- package/dist/components/ai-elements/attachments.d.ts +55 -0
- package/dist/components/ai-elements/attachments.d.ts.map +1 -0
- package/dist/components/ai-elements/audio-player.d.ts +30 -0
- package/dist/components/ai-elements/audio-player.d.ts.map +1 -0
- package/dist/components/ai-elements/canvas.d.ts +9 -0
- package/dist/components/ai-elements/canvas.d.ts.map +1 -0
- package/dist/components/ai-elements/chain-of-thought.d.ts +30 -0
- package/dist/components/ai-elements/chain-of-thought.d.ts.map +1 -0
- package/dist/components/ai-elements/checkpoint.d.ts +12 -0
- package/dist/components/ai-elements/checkpoint.d.ts.map +1 -0
- package/dist/components/ai-elements/code-block.d.ts +46 -0
- package/dist/components/ai-elements/code-block.d.ts.map +1 -0
- package/dist/components/ai-elements/commit.d.ts +65 -0
- package/dist/components/ai-elements/commit.d.ts.map +1 -0
- package/dist/components/ai-elements/confirmation.d.ts +50 -0
- package/dist/components/ai-elements/confirmation.d.ts.map +1 -0
- package/dist/components/ai-elements/connection.d.ts +3 -0
- package/dist/components/ai-elements/connection.d.ts.map +1 -0
- package/dist/components/ai-elements/context.d.ts +33 -0
- package/dist/components/ai-elements/context.d.ts.map +1 -0
- package/dist/components/ai-elements/controls.d.ts +5 -0
- package/dist/components/ai-elements/controls.d.ts.map +1 -0
- package/dist/components/ai-elements/conversation.d.ts +16 -0
- package/dist/components/ai-elements/conversation.d.ts.map +1 -0
- package/dist/components/ai-elements/edge.d.ts +6 -0
- package/dist/components/ai-elements/edge.d.ts.map +1 -0
- package/dist/components/ai-elements/environment-variables.d.ts +39 -0
- package/dist/components/ai-elements/environment-variables.d.ts.map +1 -0
- package/dist/components/ai-elements/file-tree.d.ts +27 -0
- package/dist/components/ai-elements/file-tree.d.ts.map +1 -0
- package/dist/components/ai-elements/image.d.ts +7 -0
- package/dist/components/ai-elements/image.d.ts.map +1 -0
- package/dist/components/ai-elements/index.d.ts +53 -0
- package/dist/components/ai-elements/index.d.ts.map +1 -0
- package/dist/components/ai-elements/inline-citation.d.ts +39 -0
- package/dist/components/ai-elements/inline-citation.d.ts.map +1 -0
- package/dist/components/ai-elements/loader.d.ts +6 -0
- package/dist/components/ai-elements/loader.d.ts.map +1 -0
- package/dist/components/ai-elements/message.d.ts +39 -0
- package/dist/components/ai-elements/message.d.ts.map +1 -0
- package/dist/components/ai-elements/mic-selector.d.ts +46 -0
- package/dist/components/ai-elements/mic-selector.d.ts.map +1 -0
- package/dist/components/ai-elements/model-selector.d.ts +36 -0
- package/dist/components/ai-elements/model-selector.d.ts.map +1 -0
- package/dist/components/ai-elements/node.d.ts +22 -0
- package/dist/components/ai-elements/node.d.ts.map +1 -0
- package/dist/components/ai-elements/open-in-chat.d.ts +29 -0
- package/dist/components/ai-elements/open-in-chat.d.ts.map +1 -0
- package/dist/components/ai-elements/package-info.d.ts +30 -0
- package/dist/components/ai-elements/package-info.d.ts.map +1 -0
- package/dist/components/ai-elements/panel.d.ts +6 -0
- package/dist/components/ai-elements/panel.d.ts.map +1 -0
- package/dist/components/ai-elements/persona.d.ts +49 -0
- package/dist/components/ai-elements/persona.d.ts.map +1 -0
- package/dist/components/ai-elements/plan.d.ts +26 -0
- package/dist/components/ai-elements/plan.d.ts.map +1 -0
- package/dist/components/ai-elements/prompt-input.d.ts +137 -0
- package/dist/components/ai-elements/prompt-input.d.ts.map +1 -0
- package/dist/components/ai-elements/queue.d.ts +62 -0
- package/dist/components/ai-elements/queue.d.ts.map +1 -0
- package/dist/components/ai-elements/reasoning.d.ts +27 -0
- package/dist/components/ai-elements/reasoning.d.ts.map +1 -0
- package/dist/components/ai-elements/sandbox.d.ts +25 -0
- package/dist/components/ai-elements/sandbox.d.ts.map +1 -0
- package/dist/components/ai-elements/schema-display.d.ts +56 -0
- package/dist/components/ai-elements/schema-display.d.ts.map +1 -0
- package/dist/components/ai-elements/shimmer.d.ts +10 -0
- package/dist/components/ai-elements/shimmer.d.ts.map +1 -0
- package/dist/components/ai-elements/snippet.d.ts +19 -0
- package/dist/components/ai-elements/snippet.d.ts.map +1 -0
- package/dist/components/ai-elements/sources.d.ts +13 -0
- package/dist/components/ai-elements/sources.d.ts.map +1 -0
- package/dist/components/ai-elements/speech-input.d.ts +59 -0
- package/dist/components/ai-elements/speech-input.d.ts.map +1 -0
- package/dist/components/ai-elements/stack-trace.d.ts +38 -0
- package/dist/components/ai-elements/stack-trace.d.ts.map +1 -0
- package/dist/components/ai-elements/suggestion.d.ts +11 -0
- package/dist/components/ai-elements/suggestion.d.ts.map +1 -0
- package/dist/components/ai-elements/task.d.ts +15 -0
- package/dist/components/ai-elements/task.d.ts.map +1 -0
- package/dist/components/ai-elements/terminal.d.ts +28 -0
- package/dist/components/ai-elements/terminal.d.ts.map +1 -0
- package/dist/components/ai-elements/test-results.d.ts +59 -0
- package/dist/components/ai-elements/test-results.d.ts.map +1 -0
- package/dist/components/ai-elements/tool.d.ts +32 -0
- package/dist/components/ai-elements/tool.d.ts.map +1 -0
- package/dist/components/ai-elements/toolbar.d.ts +6 -0
- package/dist/components/ai-elements/toolbar.d.ts.map +1 -0
- package/dist/components/ai-elements/transcription.d.ts +17 -0
- package/dist/components/ai-elements/transcription.d.ts.map +1 -0
- package/dist/components/ai-elements/voice-selector.d.ts +64 -0
- package/dist/components/ai-elements/voice-selector.d.ts.map +1 -0
- package/dist/components/ai-elements/web-preview.d.ts +35 -0
- package/dist/components/ai-elements/web-preview.d.ts.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/avatar.d.ts +15 -18
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +3 -3
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button-group.d.ts +12 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +4 -4
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +3 -2
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/carousel.d.ts +19 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +8 -8
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts +1 -1
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/hover-card.d.ts +7 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +21 -7
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/input-group.d.ts +17 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +3 -4
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/popover.d.ts +2 -1
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +8 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts +4 -8
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/coq-B0L9upzn.js +6 -0
- package/dist/coq-vlPdR5hP.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-0O3dLIoy.js +2608 -0
- package/dist/cose-bilkent-S5V4N54A-CPai-c_a.cjs +1 -0
- package/dist/cpp-Cj177cuW.js +18 -0
- package/dist/cpp-DvI2Eoso.cjs +1 -0
- package/dist/crystal-B_WXhL2O.cjs +1 -0
- package/dist/crystal-CRJyc4G-.js +18 -0
- package/dist/csharp-BUkAIRXW.cjs +1 -0
- package/dist/csharp-C7yUs7-w.js +6 -0
- package/dist/css-CECN5uSL.js +6 -0
- package/dist/css-Do0mp2lm.cjs +1 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/csv-DiEdJzSJ.cjs +1 -0
- package/dist/cue-D1vJRJEx.cjs +1 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-atSM3NsM.cjs +1 -0
- package/dist/cypher-jpdmjtA6.js +6 -0
- package/dist/cytoscape.esm-CjI2IsL8.js +18735 -0
- package/dist/cytoscape.esm-o9WRfNPd.cjs +331 -0
- package/dist/d-2qe3NhmZ.cjs +1 -0
- package/dist/d-CBagWSwH.js +6 -0
- package/dist/dagre-6UL2VRFP-BqaZre9N.js +446 -0
- package/dist/dagre-6UL2VRFP-CeIiJJG5.cjs +4 -0
- package/dist/dark-plus-Cd5emcYO.cjs +1 -0
- package/dist/dark-plus-pUHDTVV0.js +4 -0
- package/dist/dart-6ObCrKr9.js +6 -0
- package/dist/dart-Ds0_0fwe.cjs +1 -0
- package/dist/dax-CcDT-8dH.js +6 -0
- package/dist/dax-DbkQa40E.cjs +1 -0
- package/dist/defaultLocale-D7EN2tov.js +171 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs +1 -0
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/desktop-tn3MFXCZ.cjs +1 -0
- package/dist/diagram-PSM6KHXK-oD045yZG.cjs +24 -0
- package/dist/diagram-PSM6KHXK-s2xYLlND.js +533 -0
- package/dist/diagram-QEK2KX5R-D700jvoY.js +221 -0
- package/dist/diagram-QEK2KX5R-VH7_rcp0.cjs +43 -0
- package/dist/diagram-S2PKOQOG-BkgBSa1Q.js +143 -0
- package/dist/diagram-S2PKOQOG-CjDpLVdl.cjs +24 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/diff-CA31fCOg.cjs +1 -0
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/docker-zJpMwmYa.cjs +1 -0
- package/dist/dotenv-BMjVjUL1.js +6 -0
- package/dist/dotenv-DpcNCNek.cjs +1 -0
- package/dist/dracula-BNgwAJ-d.cjs +1 -0
- package/dist/dracula-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BHZ7sHFu.cjs +1 -0
- package/dist/dracula-soft-BKa-aqBv.js +4 -0
- package/dist/dream-maker-BkijXDkm.cjs +1 -0
- package/dist/dream-maker-PAx17jaB.js +6 -0
- package/dist/edge-BYQkOzbF.js +12 -0
- package/dist/edge-DaIYN5Mx.cjs +1 -0
- package/dist/elixir-BH_wmMK4.cjs +1 -0
- package/dist/elixir-Dh036GMp.js +8 -0
- package/dist/elm-BtNbw_Cd.js +8 -0
- package/dist/elm-Dc4sEBjc.cjs +1 -0
- package/dist/emacs-lisp-C1UCIjUO.cjs +1 -0
- package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
- package/dist/erDiagram-Q2GNP2WA-CXv6THpi.js +842 -0
- package/dist/erDiagram-Q2GNP2WA-DKKIPwgH.cjs +60 -0
- package/dist/erb-BqFQADjR.cjs +1 -0
- package/dist/erb-CS4zioBv.js +10 -0
- package/dist/erlang-CB2cfp6Z.cjs +1 -0
- package/dist/erlang-DNcDT8Hi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK.js +4 -0
- package/dist/everforest-dark-_sBMomR1.cjs +1 -0
- package/dist/everforest-light-BbXl82Em.js +4 -0
- package/dist/everforest-light-H0xoYxl0.cjs +1 -0
- package/dist/fennel-Bz9-EMMc.cjs +1 -0
- package/dist/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH.js +6 -0
- package/dist/fish-DwmQKRZi.cjs +1 -0
- package/dist/flowDiagram-NV44I4VS-Dsrv00Gy.js +1627 -0
- package/dist/flowDiagram-NV44I4VS-U52jVnrS.cjs +162 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fluent-CJtpNuaO.cjs +1 -0
- package/dist/fortran-fixed-form-B67KFkXH.js +8 -0
- package/dist/fortran-fixed-form-CcXh5Xzk.cjs +1 -0
- package/dist/fortran-free-form-Cs4ztolN.cjs +1 -0
- package/dist/fortran-free-form-CwqYvCLJ.js +6 -0
- package/dist/fsharp-CYOiIVNx.js +8 -0
- package/dist/fsharp-DVcRF7k-.cjs +1 -0
- package/dist/ganttDiagram-JELNMOA3-BuwyOUxF.cjs +267 -0
- package/dist/ganttDiagram-JELNMOA3-CqVYbgbk.js +2671 -0
- package/dist/gdresource-BwtMIoBm.js +10 -0
- package/dist/gdresource-CcLusmd_.cjs +1 -0
- package/dist/gdscript-BifyeYhI.js +6 -0
- package/dist/gdscript-DSegQKMB.cjs +1 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/gdshader-DsmqQl4t.cjs +1 -0
- package/dist/genie-Dy2rU8CF.cjs +1 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gherkin-BmiEVBJ1.cjs +1 -0
- package/dist/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-commit-DlVDzq9L.cjs +1 -0
- package/dist/git-rebase-Bn4RLd7u.cjs +1 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -0
- package/dist/gitGraph-F6HP7TQM-BtoBLEOj.cjs +1 -0
- package/dist/gitGraph-F6HP7TQM-q5owfB75.js +5 -0
- package/dist/gitGraphDiagram-NY62KEGX-DH1I05Ix.cjs +65 -0
- package/dist/gitGraphDiagram-NY62KEGX-DOanbk62.js +712 -0
- package/dist/github-dark-BKL9xNgN.cjs +1 -0
- package/dist/github-dark-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H.js +4 -0
- package/dist/github-dark-default-Dsv5MuSi.cjs +1 -0
- package/dist/github-dark-dimmed-CtB9hz8U.cjs +1 -0
- package/dist/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-BqZVM-jF.cjs +1 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist/github-light-BFTOhCbz.cjs +1 -0
- package/dist/github-light-JYsPkUQd.js +4 -0
- package/dist/github-light-default-BZoWH9dH.cjs +1 -0
- package/dist/github-light-default-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist/github-light-high-contrast-Ks3kPGJU.cjs +1 -0
- package/dist/gleam-Bv284lvN.js +6 -0
- package/dist/gleam-DHVuTCr7.cjs +1 -0
- package/dist/glimmer-js-CzmC7OX8.cjs +1 -0
- package/dist/glimmer-js-DkxNrfPT.js +14 -0
- package/dist/glimmer-ts-D6YZEmK_.js +14 -0
- package/dist/glimmer-ts-DLN2_wRt.cjs +1 -0
- package/dist/glsl-CQekZ3Zq.cjs +1 -0
- package/dist/glsl-CkUcVZNK.js +8 -0
- package/dist/gn-0WGnAyGi.cjs +1 -0
- package/dist/gn-XtJxiLa4.js +6 -0
- package/dist/gnuplot-CDPKvI9X.cjs +1 -0
- package/dist/gnuplot-yPG9-sE_.js +6 -0
- package/dist/go-ChxJuLYK.js +6 -0
- package/dist/go-epHseFUa.cjs +1 -0
- package/dist/graph-CxpBbnBw.cjs +1 -0
- package/dist/graph-rt_wscbL.js +381 -0
- package/dist/graphql-BnP1YhXQ.cjs +1 -0
- package/dist/graphql-CBu2ehBn.js +14 -0
- package/dist/groovy-CJQTphOW.js +6 -0
- package/dist/groovy-D7VuDBXz.cjs +1 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
- package/dist/gruvbox-dark-hard-CUGefKS6.cjs +1 -0
- package/dist/gruvbox-dark-medium-BoKPlKfz.cjs +1 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
- package/dist/gruvbox-dark-soft-DSrhOWeL.cjs +1 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
- package/dist/gruvbox-light-hard-De4IuseP.cjs +1 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
- package/dist/gruvbox-light-medium-CzMY3IEJ.cjs +1 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
- package/dist/gruvbox-light-soft-U4iAIpWZ.cjs +1 -0
- package/dist/hack-BaDv2o40.cjs +1 -0
- package/dist/hack-ItRNKiEb.js +10 -0
- package/dist/haml-Bk21rGjP.cjs +1 -0
- package/dist/haml-NZLVzu_R.js +10 -0
- package/dist/handlebars-CJJi3lrU.cjs +1 -0
- package/dist/handlebars-mxStpSE7.js +14 -0
- package/dist/haskell-BShesV2P.cjs +1 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe-Bo5XuRS0.cjs +1 -0
- package/dist/haxe-TztHsm5T.js +6 -0
- package/dist/hcl-CrZnvm-1.cjs +1 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/hjson-CEESwTUP.cjs +1 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/hlsl-CyvYRIb9.cjs +1 -0
- package/dist/houston-BDYrDoDW.js +4 -0
- package/dist/houston-T57H3gQZ.cjs +1 -0
- package/dist/html-B50bmoVb.js +10 -0
- package/dist/html-C62Zf2h4.cjs +1 -0
- package/dist/html-derivative-C6bxFbFW.js +8 -0
- package/dist/html-derivative-NDb86jON.cjs +1 -0
- package/dist/http-BPlLI56k.cjs +1 -0
- package/dist/http-DLvAkeD-.js +14 -0
- package/dist/hurl-BQGBr8gH.cjs +1 -0
- package/dist/hurl-CgkFN90t.js +12 -0
- package/dist/hxml-GbqSQCLa.js +8 -0
- package/dist/hxml-vnw7fzrV.cjs +1 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/hy-a1E2Ed6P.cjs +1 -0
- package/dist/imba-CR1Q6r17.cjs +1 -0
- package/dist/imba-CimUv-Uh.js +6 -0
- package/dist/index-BsdeQX2F.js +115089 -0
- package/dist/index-Cg8ByiK0.cjs +2153 -0
- package/dist/index.cjs +1 -33
- package/dist/index.js +532 -10140
- package/dist/info-NVLQJR56-Ctx23Jwq.cjs +1 -0
- package/dist/info-NVLQJR56-hH82KARZ.js +5 -0
- package/dist/infoDiagram-WHAUD3N6-Fq8ToFQ6.js +24 -0
- package/dist/infoDiagram-WHAUD3N6-ICmXrgfx.cjs +2 -0
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/ini-Dpu3Xy2p.cjs +1 -0
- package/dist/init-CHZsXQcr.cjs +1 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/java--6gf61wy.cjs +1 -0
- package/dist/java-DY6VlHhP.js +6 -0
- package/dist/javascript-C25yR2R2.js +6 -0
- package/dist/javascript-DgmXW4Ha.cjs +1 -0
- package/dist/jinja-6NmewwV8.cjs +1 -0
- package/dist/jinja-CFW5uAwY.js +11 -0
- package/dist/jison-CD9Qsaj0.cjs +1 -0
- package/dist/jison-DdreslRX.js +8 -0
- package/dist/journeyDiagram-XKPGCS4Q-BkYLuV5M.cjs +139 -0
- package/dist/journeyDiagram-XKPGCS4Q-BzZgPZwu.js +834 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json-YkPizm35.cjs +1 -0
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/json5-CCgFZiQn.cjs +1 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonc-CKPHIcXW.cjs +1 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonl-Dq56Hab-.cjs +1 -0
- package/dist/jsonnet-Bx2cfsXg.js +6 -0
- package/dist/jsonnet-Csh7E68F.cjs +1 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jssm-D0M9iZPY.cjs +1 -0
- package/dist/jsx-BtKADgXT.js +6 -0
- package/dist/jsx-DLX6UGgg.cjs +1 -0
- package/dist/julia-1BTSV8k5.cjs +1 -0
- package/dist/julia-CZiKXNNP.js +16 -0
- package/dist/kanagawa-dragon-BJZF7xDr.cjs +1 -0
- package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
- package/dist/kanagawa-lotus-BhgzmRV4.cjs +1 -0
- package/dist/kanagawa-wave-BgJip59C.cjs +1 -0
- package/dist/kanagawa-wave-CQwozSzG.js +4 -0
- package/dist/kanban-definition-3W4ZIXB7-BV7UYL3n.cjs +89 -0
- package/dist/kanban-definition-3W4ZIXB7-CrmrjRAg.js +721 -0
- package/dist/kdl-BNOv9TC3.js +6 -0
- package/dist/kdl-CDG1p2Qi.cjs +1 -0
- package/dist/kotlin-BHZjvNqT.cjs +1 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-C6kOQWT0.cjs +1 -0
- package/dist/kusto-DH_XitHS.js +6 -0
- package/dist/laserwave--izBLY1I.cjs +1 -0
- package/dist/laserwave-6a00oqik.js +4 -0
- package/dist/latex-BH0OjEyf.cjs +1 -0
- package/dist/latex-DLWszopg.js +8 -0
- package/dist/layout-CX9neEHw.js +1441 -0
- package/dist/layout-CeChnsru.cjs +1 -0
- package/dist/lean-BnVxaZxY.js +6 -0
- package/dist/lean-DvVQmxVK.cjs +1 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/less-Dtg8mm6P.cjs +1 -0
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +4 -5
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/light-plus-B5D0le0o.cjs +1 -0
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/linear-CkUVga7d.js +219 -0
- package/dist/linear-DLfe3Is-.cjs +1 -0
- package/dist/liquid-CHzkx3jT.js +14 -0
- package/dist/liquid-DjlCV7Vm.cjs +1 -0
- package/dist/llvm-DcRvQ_r8.cjs +1 -0
- package/dist/llvm-co1rIKs3.js +6 -0
- package/dist/log-Al8wyEFV.js +6 -0
- package/dist/log-CjTZ0gSB.cjs +1 -0
- package/dist/logo-BAktp_5i.cjs +1 -0
- package/dist/logo-DBa4JDzV.js +6 -0
- package/dist/lua-BfOnSJPp.cjs +1 -0
- package/dist/lua-kX5WP_P5.js +8 -0
- package/dist/luau-BMXmwtw0.cjs +1 -0
- package/dist/luau-UQyhudEE.js +6 -0
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/make-NcdIe21U.cjs +1 -0
- package/dist/markdown-Byu9Sdmq.cjs +1 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-BAIoWxJR.cjs +1 -0
- package/dist/marko-Ns9BYtDO.js +14 -0
- package/dist/material-theme-D6KBX41T.js +4 -0
- package/dist/material-theme-Dj0-OyRN.cjs +1 -0
- package/dist/material-theme-darker-CkRroheE.js +4 -0
- package/dist/material-theme-darker-Dvfs29ir.cjs +1 -0
- package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist/material-theme-lighter-EU3ZGl_r.cjs +1 -0
- package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist/material-theme-ocean-px_3Pwqa.cjs +1 -0
- package/dist/material-theme-palenight-38jxvsGX.cjs +1 -0
- package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0.js +6 -0
- package/dist/matlab-CHTOL9Kx.cjs +1 -0
- package/dist/mdc-DEPKJPdx.cjs +1 -0
- package/dist/mdc-uaivvctV.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mdx-CjwI68TB.cjs +1 -0
- package/dist/mermaid-4DMBBIKO-DK6bOe0l.cjs +1 -0
- package/dist/mermaid-4DMBBIKO-wnX9ATcq.js +4 -0
- package/dist/mermaid-BXSwQYo5.cjs +1 -0
- package/dist/mermaid-C3rz4dYh.js +6 -0
- package/dist/mermaid-parser.core-B7VTdQ1C.js +14193 -0
- package/dist/mermaid-parser.core-DvlzR6J2.cjs +128 -0
- package/dist/min-Ar5ebLd-.js +38 -0
- package/dist/min-C_bmS8M7.cjs +1 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-dark-tt5o_I5e.cjs +1 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/min-light-tmTHl_CQ.cjs +1 -0
- package/dist/mindmap-definition-VGOIOE7T-BBqv9TKM.cjs +68 -0
- package/dist/mindmap-definition-VGOIOE7T-DeGZNL21.js +787 -0
- package/dist/mipsasm-BSlRcFIy.cjs +1 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-CgKe2b8g.js +6 -0
- package/dist/mojo-D2tXKFxS.cjs +1 -0
- package/dist/monokai-C1KBYcO0.js +4 -0
- package/dist/monokai-DMIxv6MM.cjs +1 -0
- package/dist/moonbit-BweIWWUc.cjs +1 -0
- package/dist/moonbit-NVPuhMCm.js +6 -0
- package/dist/move-Bm1vlCWg.cjs +1 -0
- package/dist/move-F-dICmj2.js +6 -0
- package/dist/narrat-CBeKHgTl.cjs +1 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-CM8Ed358.cjs +1 -0
- package/dist/nextflow-DmSVRGjG.js +6 -0
- package/dist/nginx-5vhPAEw3.js +8 -0
- package/dist/nginx-ByVOUyIE.cjs +1 -0
- package/dist/night-owl-BN78kThQ.cjs +1 -0
- package/dist/night-owl-Bm2rzalh.js +4 -0
- package/dist/nim-Bqmp5Of3.cjs +1 -0
- package/dist/nim-QAjRdh9w.js +20 -0
- package/dist/nix-BOiBJUDf.cjs +1 -0
- package/dist/nix-fTRXMGic.js +9 -0
- package/dist/nord-CC5OiUXg.js +4 -0
- package/dist/nord-Ca5AGUWc.cjs +1 -0
- package/dist/nushell-D8j3dhT-.js +6 -0
- package/dist/nushell-nGrB_wpI.cjs +1 -0
- package/dist/objective-c-Itk8tzmv.js +6 -0
- package/dist/objective-c-RjkWwFge.cjs +1 -0
- package/dist/objective-cpp-DGt5UKRO.js +6 -0
- package/dist/objective-cpp-HnfhWwRe.cjs +1 -0
- package/dist/ocaml-Cx8ewW_A.cjs +1 -0
- package/dist/ocaml-eSVK32Eg.js +6 -0
- package/dist/one-dark-pro-C09VQHwB.cjs +1 -0
- package/dist/one-dark-pro-DTA3VF0_.js +4 -0
- package/dist/one-light-020-h_lv.cjs +1 -0
- package/dist/one-light-D9sNaUtq.js +4 -0
- package/dist/openscad-D7eUrVPv.cjs +1 -0
- package/dist/openscad-Sp5uZ6f2.js +6 -0
- package/dist/ordinal-CagbB1m8.cjs +1 -0
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/packet-BFZMPI3H-BVRarKKV.cjs +1 -0
- package/dist/packet-BFZMPI3H-DFZzoAsC.js +5 -0
- package/dist/pascal-DBu9vQ2o.cjs +1 -0
- package/dist/pascal-xy8pJNns.js +6 -0
- package/dist/perl-CxWZPeDZ.cjs +1 -0
- package/dist/perl-DkVrgJBg.js +16 -0
- package/dist/php-BLXVJphD.cjs +1 -0
- package/dist/php-j2zCzTEz.js +18 -0
- package/dist/pie-7BOR55EZ-0edBRKAY.cjs +1 -0
- package/dist/pie-7BOR55EZ-zLMdfI8h.js +5 -0
- package/dist/pieDiagram-ADFJNKIX-C_V2NX6O.js +161 -0
- package/dist/pieDiagram-ADFJNKIX-Ceq-kf3C.cjs +30 -0
- package/dist/pkl-C-zSNmaA.js +6 -0
- package/dist/pkl-Dvyry4Rm.cjs +1 -0
- package/dist/plastic-CSTz3KZp.js +4 -0
- package/dist/plastic-r5piqq-S.cjs +1 -0
- package/dist/plsql-IJkoPJ9P.cjs +1 -0
- package/dist/plsql-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/po-Rhu6MvnX.cjs +1 -0
- package/dist/poimandres-BLP3NNjc.cjs +1 -0
- package/dist/poimandres-C-VADXHD.js +4 -0
- package/dist/polar-BtWqSUq2.cjs +1 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/postcss-Dh97DcaJ.cjs +1 -0
- package/dist/powerquery-BGL6VIw7.cjs +1 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-BiEPMjy-.cjs +1 -0
- package/dist/powershell-Clc4ydu-.js +6 -0
- package/dist/prisma-Dp473sn0.cjs +1 -0
- package/dist/prisma-FZjmVtSl.js +6 -0
- package/dist/prolog-C5-yg4TO.js +6 -0
- package/dist/prolog-N1U-3UeF.cjs +1 -0
- package/dist/proto-C7QgialS.js +6 -0
- package/dist/proto-DMjUErYA.cjs +1 -0
- package/dist/pug-DiGNE7sm.cjs +1 -0
- package/dist/pug-XOw9Q1Ho.js +12 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/puppet-cDQP_ZC_.cjs +1 -0
- package/dist/purescript-DMxb59gF.cjs +1 -0
- package/dist/purescript-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ.js +6 -0
- package/dist/python-s9jfVbew.cjs +1 -0
- package/dist/qml-beorq0E4.cjs +1 -0
- package/dist/qml-rTNXsquU.js +8 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qmldir-DNF9H2ir.cjs +1 -0
- package/dist/qss-AeJTysr_.js +6 -0
- package/dist/qss-DwA_oiAM.cjs +1 -0
- package/dist/quadrantDiagram-AYHSOK5B-B8fSnYQi.js +1024 -0
- package/dist/quadrantDiagram-AYHSOK5B-BButfYaS.cjs +7 -0
- package/dist/r-CSmzDPi7.js +6 -0
- package/dist/r-DAqIyZhh.cjs +1 -0
- package/dist/racket-B83wSAja.js +6 -0
- package/dist/racket-D4laxZit.cjs +1 -0
- package/dist/radar-NHE76QYJ-DeqJwy76.js +5 -0
- package/dist/radar-NHE76QYJ-gAJ22qc7.cjs +1 -0
- package/dist/raku-DHySPsLw.cjs +1 -0
- package/dist/raku-nEQ4ZJJ7.js +6 -0
- package/dist/razor-C5CyrFEt.js +10 -0
- package/dist/razor-PuMYvsDx.cjs +1 -0
- package/dist/red-7y8PH7HH.js +4 -0
- package/dist/red-BQGOv1D5.cjs +1 -0
- package/dist/reg-CevkCKuZ.cjs +1 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/regexp-DabTWNLE.cjs +1 -0
- package/dist/rel-BS5APza7.cjs +1 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/requirementDiagram-UZGBJVZJ-D6BE-Q1l.cjs +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-MnXD59Yw.js +852 -0
- package/dist/riscv-BnGFr6V7.cjs +1 -0
- package/dist/riscv-Ce8MAQLP.js +6 -0
- package/dist/rose-pine-BKc3yVeu.js +4 -0
- package/dist/rose-pine-CfBWm6WX.cjs +1 -0
- package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
- package/dist/rose-pine-dawn-CaZ5I2lt.cjs +1 -0
- package/dist/rose-pine-moon-Cql8LDLp.cjs +1 -0
- package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
- package/dist/rosmsg-C7VSFzUC.cjs +1 -0
- package/dist/rosmsg-Cz0w1km8.js +6 -0
- package/dist/rst-CcbeA9zE.js +22 -0
- package/dist/rst-D08gsKw8.cjs +1 -0
- package/dist/ruby-B5H7kBtd.cjs +1 -0
- package/dist/ruby-DMPw6uKF.js +30 -0
- package/dist/rust-CLzF9zIN.js +6 -0
- package/dist/rust-CNeTMPbB.cjs +1 -0
- package/dist/sankeyDiagram-TZEHDZUN-Dfyu7oJ6.js +810 -0
- package/dist/sankeyDiagram-TZEHDZUN-Dx8_KSIc.cjs +10 -0
- package/dist/sas-D5Fn8Q38.cjs +1 -0
- package/dist/sas-fpEvgATw.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/sass-vyo-bUwh.cjs +1 -0
- package/dist/scala-D4grkFkl.js +6 -0
- package/dist/scala-ZSekD-8-.cjs +1 -0
- package/dist/scheme-BCRWuEm4.js +6 -0
- package/dist/scheme-vM0LdD-_.cjs +1 -0
- package/dist/scss-B1FaCqwR.js +8 -0
- package/dist/scss-CKlduTMv.cjs +1 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/sdbl-DeWT5r4i.cjs +1 -0
- package/dist/sequenceDiagram-WL72ISMW-CUYHrDfm.cjs +145 -0
- package/dist/sequenceDiagram-WL72ISMW-D2pgAoWi.js +2518 -0
- package/dist/shaderlab-Cr62-Wb4.js +8 -0
- package/dist/shaderlab-DGJjQHxC.cjs +1 -0
- package/dist/shellscript-DYWjN7qW.cjs +1 -0
- package/dist/shellscript-InADTalH.js +6 -0
- package/dist/shellsession-DMUSXX8m.cjs +1 -0
- package/dist/shellsession-DiDJNQdy.js +8 -0
- package/dist/slack-dark-akqwQ7ED.cjs +1 -0
- package/dist/slack-dark-i7wN4OET.js +4 -0
- package/dist/slack-ochin-BoQQWmTv.cjs +1 -0
- package/dist/slack-ochin-ndHf0LoP.js +4 -0
- package/dist/smalltalk-BNs6hxu4.cjs +1 -0
- package/dist/smalltalk-BlI1_OkM.js +6 -0
- package/dist/snazzy-light-BlSJXAu4.js +4 -0
- package/dist/snazzy-light-D_IwRieF.cjs +1 -0
- package/dist/solarized-dark-UTmkh7lw.js +4 -0
- package/dist/solarized-dark-gmm-WbDC.cjs +1 -0
- package/dist/solarized-light-BheCkDPT.js +4 -0
- package/dist/solarized-light-DzcxRSZP.cjs +1 -0
- package/dist/solidity-DUWnFhS6.js +6 -0
- package/dist/solidity-uQuzgchP.cjs +1 -0
- package/dist/soy-C1-6njHa.js +8 -0
- package/dist/soy-CDFPDtGX.cjs +1 -0
- package/dist/sparql-6Cg9ppCl.cjs +1 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-CRXR8A9s.js +6 -0
- package/dist/splunk-CWPivao_.cjs +1 -0
- package/dist/sql-Cn_v3PB0.js +6 -0
- package/dist/sql-DhUUVgH1.cjs +1 -0
- package/dist/ssh-config-B93wBIBa.cjs +1 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX.js +8 -0
- package/dist/stata-DCWFCQQG.cjs +1 -0
- package/dist/stateDiagram-FKZM4ZOC-CtYt1Ixa.cjs +1 -0
- package/dist/stateDiagram-FKZM4ZOC-DYV-na53.js +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-CeSnHO3T.cjs +1 -0
- package/dist/stateDiagram-v2-4FDKWEC3-Kp4sxr9o.js +16 -0
- package/dist/stylus-B64Bt0D4.cjs +1 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/svelte-CYf4HR3U.js +14 -0
- package/dist/svelte-Do4zIqEL.cjs +1 -0
- package/dist/swift-9UzSvamq.js +6 -0
- package/dist/swift-BMbGdc3j.cjs +1 -0
- package/dist/synthwave-84-BBRLOmNT.cjs +1 -0
- package/dist/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-BCm7smPJ.js +6 -0
- package/dist/system-verilog-BFclLo9e.cjs +1 -0
- package/dist/systemd-C-4qm6XH.js +6 -0
- package/dist/systemd-Dtw7P4tb.cjs +1 -0
- package/dist/talonscript-CFF3LF_O.js +6 -0
- package/dist/talonscript-D8SvZJVc.cjs +1 -0
- package/dist/tasl--DC4oX-L.cjs +1 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-0Q0H86Yn.cjs +1 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-BDNMUns0.cjs +1 -0
- package/dist/templ-peLZIM2D.js +12 -0
- package/dist/terraform-C0RDrmWi.cjs +1 -0
- package/dist/terraform-DGvcn9zM.js +6 -0
- package/dist/tex-BvKThJ8p.js +8 -0
- package/dist/tex-Dz7jjuD4.cjs +1 -0
- package/dist/timeline-definition-IT6M3QCI-4fRZfQpb.cjs +61 -0
- package/dist/timeline-definition-IT6M3QCI-621ePKJ0.js +799 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/tokyo-night-GOhjzM5y.cjs +1 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/toml-Q64DoSvG.cjs +1 -0
- package/dist/treemap-KMMF4GRG-DSNryTu7.cjs +1 -0
- package/dist/treemap-KMMF4GRG-l6HrdCLC.js +5 -0
- package/dist/ts-tags-DILCom6A.cjs +1 -0
- package/dist/ts-tags-ioVe2PKw.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsv-DqNGnuVj.cjs +1 -0
- package/dist/tsx-B8rCNbgL.js +6 -0
- package/dist/tsx-DIpfUf9u.cjs +1 -0
- package/dist/turtle-DipIidr5.cjs +1 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-B42NGISI.cjs +1 -0
- package/dist/twig-CcRLVyUg.js +18 -0
- package/dist/typescript-RycA9KXf.js +6 -0
- package/dist/typescript-b48wo4zk.cjs +1 -0
- package/dist/typespec-DWqp-kUU.js +6 -0
- package/dist/typespec-DqXOE4_L.cjs +1 -0
- package/dist/typst-Cqq4j4V-.cjs +1 -0
- package/dist/typst-D_1QKWns.js +6 -0
- package/dist/ui-components.css +1 -1
- package/dist/v-81C2s01-.cjs +1 -0
- package/dist/v-BPCNiyYe.js +6 -0
- package/dist/vala-CsAYdCD2.cjs +1 -0
- package/dist/vala-uxaPR7d1.js +6 -0
- package/dist/vb-AiTMb16X.cjs +1 -0
- package/dist/vb-D8_c5-KN.js +6 -0
- package/dist/verilog-AMohXZcN.cjs +1 -0
- package/dist/verilog-B-bybjPF.js +6 -0
- package/dist/vesper-B59Iw4gV.cjs +1 -0
- package/dist/vesper-BckBta1U.js +4 -0
- package/dist/vhdl-CUlNa8ac.js +6 -0
- package/dist/vhdl-DIdR1NA5.cjs +1 -0
- package/dist/viml-D01eKeA4.cjs +1 -0
- package/dist/viml-DsfA-sWm.js +6 -0
- package/dist/vitesse-black-BoGvW84i.js +4 -0
- package/dist/vitesse-black-MF-1S1MG.cjs +1 -0
- package/dist/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist/vitesse-dark-SIffJYSe.cjs +1 -0
- package/dist/vitesse-light-CcmG315c.js +4 -0
- package/dist/vitesse-light-U63SkYGT.cjs +1 -0
- package/dist/vue-DXEmyXn9.js +31 -0
- package/dist/vue-S9bl2EgW.cjs +1 -0
- package/dist/vue-html-B2-sfQT7.cjs +1 -0
- package/dist/vue-html-j9xNEdu3.js +8 -0
- package/dist/vue-vine-CpIsWjsQ.cjs +1 -0
- package/dist/vue-vine-D41-N99t.js +18 -0
- package/dist/vyper-CPQuu50u.js +6 -0
- package/dist/vyper-DTzyzn3a.cjs +1 -0
- package/dist/wasm-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae.js +7 -0
- package/dist/wasm-Dp-QrJpp.cjs +1 -0
- package/dist/wasm-Dw4u1m6u.cjs +1 -0
- package/dist/wenyan-CRNx8UP3.cjs +1 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DF5qc9dd.cjs +1 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-D7uzEIfK.cjs +1 -0
- package/dist/wikitext-Z-MoUasO.js +6 -0
- package/dist/wit-BjWgLsJj.cjs +1 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-BR4t3Ffc.cjs +1 -0
- package/dist/wolfram-Dz4KXISs.js +6 -0
- package/dist/xml-BpsKWkuV.cjs +1 -0
- package/dist/xml-C2J0sS9M.js +8 -0
- package/dist/xsl-BmSZphgC.js +8 -0
- package/dist/xsl-D-3VYix6.cjs +1 -0
- package/dist/xychartDiagram-PRI3JC2R-C2_xziD5.cjs +7 -0
- package/dist/xychartDiagram-PRI3JC2R-CkfCv2o_.js +1340 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/yaml-XVBmpKh-.cjs +1 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zenscript-fNvwKexi.cjs +1 -0
- package/dist/zig-BAyIAcWK.cjs +1 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +33 -3
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
"use strict";const Jt=require("./chunk-55IACEB6-C88Xx0rU.cjs"),Qt=require("./chunk-QN33PNHL-Dr9ghdFD.cjs"),s=require("./index-Cg8ByiK0.cjs");var Dt=(function(){var e=s.__name(function(B,l,u,o){for(u=u||{},o=B.length;o--;u[B[o]]=l);return u},"o"),t=[1,2],i=[1,3],n=[1,4],r=[2,4],c=[1,9],f=[1,11],S=[1,16],p=[1,17],y=[1,18],T=[1,19],E=[1,33],b=[1,20],C=[1,21],w=[1,22],A=[1,23],R=[1,24],d=[1,26],x=[1,27],O=[1,28],N=[1,29],F=[1,30],$=[1,31],Y=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],H=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,u,o,g,m,a,q){var h=a.length-1;switch(m){case 3:return g.setRootDoc(a[h]),a[h];case 4:this.$=[];break;case 5:a[h]!="nl"&&(a[h-1].push(a[h]),this.$=a[h-1]);break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:const J=a[h-1];J.description=g.trimColon(a[h]),this.$=J;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:const St=g.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:St};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var V=a[h],W=a[h-2].trim();if(a[h].match(":")){var lt=a[h].split(":");V=lt[0],W=[W,lt[1]]}this.$={stmt:"state",id:V,type:"default",description:W};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:t,5:i,6:n},{1:[3]},{3:5,4:t,5:i,6:n},{3:6,4:t,5:i,6:n},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:N,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:N,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,7]),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(_,[2,11]),e(_,[2,12],{14:[1,40],15:[1,41]}),e(_,[2,16]),{18:[1,42]},e(_,[2,18],{20:[1,43]}),{23:[1,44]},e(_,[2,22]),e(_,[2,23]),e(_,[2,24]),e(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(_,[2,28]),{34:[1,49]},{36:[1,50]},e(_,[2,31]),{13:51,24:E,57:H},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(nt,[2,44],{58:[1,56]}),e(nt,[2,45],{58:[1,57]}),e(_,[2,38]),e(_,[2,39]),e(_,[2,40]),e(_,[2,41]),e(_,[2,6]),e(_,[2,13]),{13:58,24:E,57:H},e(_,[2,17]),e(vt,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(_,[2,29]),e(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(_,[2,14],{14:[1,71]}),{4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,72],22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:N,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),e(nt,[2,46]),e(nt,[2,47]),e(_,[2,15]),e(_,[2,19]),e(vt,r,{7:78}),e(_,[2,26]),e(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,81],22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:N,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,32]),e(_,[2,33]),e(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,u){if(u.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=u,o}},"parseError"),parse:s.__name(function(l){var u=this,o=[0],g=[],m=[null],a=[],q=this.table,h="",V=0,W=0,lt=2,J=1,St=a.slice.call(arguments,1),D=Object.create(this.lexer),M={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(M.yy[_t]=this.yy[_t]);D.setInput(l,M.yy),M.yy.lexer=D,M.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var gt=D.yylloc;a.push(gt);var Xt=D.options&&D.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(L){o.length=o.length-2*L,m.length=m.length-L,a.length=a.length-L}s.__name(qt,"popStack");function Ct(){var L;return L=g.pop()||D.lex()||J,typeof L!="number"&&(L instanceof Array&&(g=L,L=g.pop()),L=u.symbols_[L]||L),L}s.__name(Ct,"lex");for(var v,U,I,yt,z={},ct,P,At,ht;;){if(U=o[o.length-1],this.defaultActions[U]?I=this.defaultActions[U]:((v===null||typeof v>"u")&&(v=Ct()),I=q[U]&&q[U][v]),typeof I>"u"||!I.length||!I[0]){var mt="";ht=[];for(ct in q[U])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");D.showPosition?mt="Parse error on line "+(V+1)+`:
|
|
2
|
+
`+D.showPosition()+`
|
|
3
|
+
Expecting `+ht.join(", ")+", got '"+(this.terminals_[v]||v)+"'":mt="Parse error on line "+(V+1)+": Unexpected "+(v==J?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(mt,{text:D.match,token:this.terminals_[v]||v,line:D.yylineno,loc:gt,expected:ht})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+v);switch(I[0]){case 1:o.push(v),m.push(D.yytext),a.push(D.yylloc),o.push(I[1]),v=null,W=D.yyleng,h=D.yytext,V=D.yylineno,gt=D.yylloc;break;case 2:if(P=this.productions_[I[1]][1],z.$=m[m.length-P],z._$={first_line:a[a.length-(P||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(P||1)].first_column,last_column:a[a.length-1].last_column},Xt&&(z._$.range=[a[a.length-(P||1)].range[0],a[a.length-1].range[1]]),yt=this.performAction.apply(z,[h,W,V,M.yy,I[1],m,a].concat(St)),typeof yt<"u")return yt;P&&(o=o.slice(0,-1*P*2),m=m.slice(0,-1*P),a=a.slice(0,-1*P)),o.push(this.productions_[I[1]][0]),m.push(z.$),a.push(z._$),At=q[o[o.length-2]][o[o.length-1]],o.push(At);break;case 3:return!0}}return!0},"parse")},Kt=(function(){var B={EOF:1,parseError:s.__name(function(u,o){if(this.yy.parser)this.yy.parser.parseError(u,o);else throw new Error(u)},"parseError"),setInput:s.__name(function(l,u){return this.yy=u||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var u=l.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:s.__name(function(l){var u=l.length,o=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===g.length?this.yylloc.first_column:0)+g[g.length-o.length].length-o[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:s.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
5
|
+
`+u+"^"},"showPosition"),test_match:s.__name(function(l,u){var o,g,m;if(this.options.backtrack_lexer&&(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(m.yylloc.range=this.yylloc.range.slice(0))),g=l[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(l[0].length),this.matched+=l[0],o=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var a in m)this[a]=m[a];return!1}return!1},"test_match"),next:s.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,u,o,g;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),a=0;a<m.length;a++)if(o=this._input.match(this.rules[m[a]]),o&&(!u||o[0].length>u[0].length)){if(u=o,g=a,this.options.backtrack_lexer){if(l=this.test_match(o,m[a]),l!==!1)return l;if(this._backtrack){u=!1;continue}else return!1}else if(!this.options.flex)break}return u?(l=this.test_match(u,m[g]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:s.__name(function(){var u=this.next();return u||this.lex()},"lex"),begin:s.__name(function(u){this.conditionStack.push(u)},"begin"),popState:s.__name(function(){var u=this.conditionStack.length-1;return u>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:s.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:s.__name(function(u){return u=this.conditionStack.length-1-Math.abs(u||0),u>=0?this.conditionStack[u]:"INITIAL"},"topState"),pushState:s.__name(function(u){this.begin(u)},"pushState"),stateStackSize:s.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:s.__name(function(u,o,g,m){switch(g){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:break;case 9:break;case 10:return 5;case 11:break;case 12:break;case 13:break;case 14:break;case 15:return this.pushState("SCALE"),17;case 16:return 18;case 17:this.popState();break;case 18:return this.begin("acc_title"),33;case 19:return this.popState(),"acc_title_value";case 20:return this.begin("acc_descr"),35;case 21:return this.popState(),"acc_descr_value";case 22:this.begin("acc_descr_multiline");break;case 23:this.popState();break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 27:return this.popState(),this.pushState("CLASSDEFID"),42;case 28:return this.popState(),43;case 29:return this.pushState("CLASS"),48;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;case 31:return this.popState(),50;case 32:return this.pushState("STYLE"),45;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 34:return this.popState(),47;case 35:return this.pushState("SCALE"),17;case 36:return 18;case 37:this.popState();break;case 38:this.pushState("STATE");break;case 39:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),25;case 40:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),26;case 41:return this.popState(),o.yytext=o.yytext.slice(0,-10).trim(),27;case 42:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),25;case 43:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),26;case 44:return this.popState(),o.yytext=o.yytext.slice(0,-10).trim(),27;case 45:return 51;case 46:return 52;case 47:return 53;case 48:return 54;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";case 51:return this.popState(),"ID";case 52:this.popState();break;case 53:return"STATE_DESCR";case 54:return 19;case 55:this.popState();break;case 56:return this.popState(),this.pushState("struct"),20;case 57:break;case 58:return this.popState(),21;case 59:break;case 60:return this.begin("NOTE"),29;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:return this.popState(),this.pushState("NOTE_ID"),60;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:break;case 66:return"NOTE_TEXT";case 67:return this.popState(),"ID";case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;case 69:return this.popState(),o.yytext=o.yytext.substr(2).trim(),31;case 70:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),31;case 71:return 6;case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return o.yytext=o.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 80:return 5;case 81:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}};return B})();pt.lexer=Kt;function ot(){this.yy={}}return s.__name(ot,"Parser"),ot.prototype=pt,pt.Parser=ot,new ot})();Dt.parser=Dt;var Zt=Dt,te="TB",$t="TB",xt="dir",X="state",K="root",bt="relation",ee="classDef",se="style",ie="applyClass",tt="default",Pt="divider",Ft="fill:none",Yt="fill: #333",Bt="c",Gt="text",Vt="normal",Tt="rect",Et="rectWithTitle",re="stateStart",ae="stateEnd",Lt="divider",Rt="roundedWithTitle",ne="note",oe="noteGroup",et="statediagram",le="state",ce=`${et}-${le}`,Mt="transition",he="note",ue="note-edge",de=`${Mt} ${ue}`,fe=`${et}-${he}`,pe="cluster",Se=`${et}-${pe}`,_e="cluster-alt",ge=`${et}-${_e}`,Ut="parent",jt="note",ye="state",kt="----",me=`${kt}${jt}`,Ot=`${kt}${Ut}`,Ht=s.__name((e,t=$t)=>{if(!e.doc)return t;let i=t;for(const n of e.doc)n.stmt==="dir"&&(i=n.value);return i},"getDir"),Te=s.__name(function(e,t){return t.db.getClasses()},"getClasses"),Ee=s.__name(async function(e,t,i,n){s.log.info("REF0:"),s.log.info("Drawing state diagram (v2)",t);const{securityLevel:r,state:c,layout:f}=s.getConfig2();n.db.extract(n.db.getRootDocV2());const S=n.db.getData(),p=Jt.getDiagramElement(t,r);S.type=n.type,S.layoutAlgorithm=f,S.nodeSpacing=(c==null?void 0:c.nodeSpacing)||50,S.rankSpacing=(c==null?void 0:c.rankSpacing)||50,S.markers=["barb"],S.diagramId=t,await s.render(S,p);const y=8;try{(typeof n.db.getLinks=="function"?n.db.getLinks():new Map).forEach((E,b)=>{var O;const C=typeof b=="string"?b:typeof(b==null?void 0:b.id)=="string"?b.id:"";if(!C){s.log.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(b));return}const w=(O=p.node())==null?void 0:O.querySelectorAll("g");let A;if(w==null||w.forEach(N=>{var $;(($=N.textContent)==null?void 0:$.trim())===C&&(A=N)}),!A){s.log.warn("⚠️ Could not find node matching text:",C);return}const R=A.parentNode;if(!R){s.log.warn("⚠️ Node has no parent, cannot wrap:",C);return}const d=document.createElementNS("http://www.w3.org/2000/svg","a"),x=E.url.replace(/^"+|"+$/g,"");if(d.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",x),d.setAttribute("target","_blank"),E.tooltip){const N=E.tooltip.replace(/^"+|"+$/g,"");d.setAttribute("title",N)}R.replaceChild(d,A),d.appendChild(A),s.log.info("🔗 Wrapped node in <a> tag for:",C,E.url)})}catch(T){s.log.error("❌ Error injecting clickable links:",T)}s.utils_default.insertTitle(p,"statediagramTitleText",(c==null?void 0:c.titleTopMargin)??25,n.db.getDiagramTitle()),Qt.setupViewPortForSVG(p,y,et,(c==null?void 0:c.useMaxWidth)??!0)},"draw"),De={getClasses:Te,draw:Ee,getDir:Ht},dt=new Map,G=0;function ft(e="",t=0,i="",n=kt){const r=i!==null&&i.length>0?`${n}${i}`:"";return`${ye}-${e}${r}-${t}`}s.__name(ft,"stateDomId");var be=s.__name((e,t,i,n,r,c,f,S)=>{s.log.trace("items",t),t.forEach(p=>{switch(p.stmt){case X:Z(e,p,i,n,r,c,f,S);break;case tt:Z(e,p,i,n,r,c,f,S);break;case bt:{Z(e,p.state1,i,n,r,c,f,S),Z(e,p.state2,i,n,r,c,f,S);const y={id:"edge"+G,start:p.state1.id,end:p.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Ft,labelStyle:"",label:s.common_default.sanitizeText(p.description??"",s.getConfig2()),arrowheadStyle:Yt,labelpos:Bt,labelType:Gt,thickness:Vt,classes:Mt,look:f};r.push(y),G++}break}})},"setupDoc"),Nt=s.__name((e,t=$t)=>{let i=t;if(e.doc)for(const n of e.doc)n.stmt==="dir"&&(i=n.value);return i},"getDir");function Q(e,t,i){if(!t.id||t.id==="</join></fork>"||t.id==="</choice>")return;t.cssClasses&&(Array.isArray(t.cssCompiledStyles)||(t.cssCompiledStyles=[]),t.cssClasses.split(" ").forEach(r=>{const c=i.get(r);c&&(t.cssCompiledStyles=[...t.cssCompiledStyles??[],...c.styles])}));const n=e.find(r=>r.id===t.id);n?Object.assign(n,t):e.push(t)}s.__name(Q,"insertOrUpdateNode");function Wt(e){var t;return((t=e==null?void 0:e.classes)==null?void 0:t.join(" "))??""}s.__name(Wt,"getClassesFromDbInfo");function zt(e){return(e==null?void 0:e.styles)??[]}s.__name(zt,"getStylesFromDbInfo");var Z=s.__name((e,t,i,n,r,c,f,S)=>{var C,w,A;const p=t.id,y=i.get(p),T=Wt(y),E=zt(y),b=s.getConfig2();if(s.log.info("dataFetcher parsedItem",t,y,E),p!=="root"){let R=Tt;t.start===!0?R=re:t.start===!1&&(R=ae),t.type!==tt&&(R=t.type),dt.get(p)||dt.set(p,{id:p,shape:R,description:s.common_default.sanitizeText(p,b),cssClasses:`${T} ${ce}`,cssStyles:E});const d=dt.get(p);t.description&&(Array.isArray(d.description)?(d.shape=Et,d.description.push(t.description)):(C=d.description)!=null&&C.length&&d.description.length>0?(d.shape=Et,d.description===p?d.description=[t.description]:d.description=[d.description,t.description]):(d.shape=Tt,d.description=t.description),d.description=s.common_default.sanitizeTextOrArray(d.description,b)),((w=d.description)==null?void 0:w.length)===1&&d.shape===Et&&(d.type==="group"?d.shape=Rt:d.shape=Tt),!d.type&&t.doc&&(s.log.info("Setting cluster for XCX",p,Nt(t)),d.type="group",d.isGroup=!0,d.dir=Nt(t),d.shape=t.type===Pt?Lt:Rt,d.cssClasses=`${d.cssClasses} ${Se} ${c?ge:""}`);const x={labelStyle:"",shape:d.shape,label:d.description,cssClasses:d.cssClasses,cssCompiledStyles:[],cssStyles:d.cssStyles,id:p,dir:d.dir,domId:ft(p,G),type:d.type,isGroup:d.type==="group",padding:8,rx:10,ry:10,look:f};if(x.shape===Lt&&(x.label=""),e&&e.id!=="root"&&(s.log.trace("Setting node ",p," to be child of its parent ",e.id),x.parentId=e.id),x.centerLabel=!0,t.note){const O={labelStyle:"",shape:ne,label:t.note.text,cssClasses:fe,cssStyles:[],cssCompiledStyles:[],id:p+me+"-"+G,domId:ft(p,G,jt),type:d.type,isGroup:d.type==="group",padding:(A=b.flowchart)==null?void 0:A.padding,look:f,position:t.note.position},N=p+Ot,F={labelStyle:"",shape:oe,label:t.note.text,cssClasses:d.cssClasses,cssStyles:[],id:p+Ot,domId:ft(p,G,Ut),type:"group",isGroup:!0,padding:16,look:f,position:t.note.position};G++,F.id=N,O.parentId=N,Q(n,F,S),Q(n,O,S),Q(n,x,S);let $=p,Y=O.id;t.note.position==="left of"&&($=O.id,Y=p),r.push({id:$+"-"+Y,start:$,end:Y,arrowhead:"none",arrowTypeEnd:"",style:Ft,labelStyle:"",classes:de,arrowheadStyle:Yt,labelpos:Bt,labelType:Gt,thickness:Vt,look:f})}else Q(n,x,S)}t.doc&&(s.log.trace("Adding nodes children "),be(t,t.doc,i,n,r,!c,f,S))},"dataFetcher"),ke=s.__name(()=>{dt.clear(),G=0},"reset"),k={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},It=s.__name(()=>new Map,"newClassesList"),wt=s.__name(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),ut=s.__name(e=>JSON.parse(JSON.stringify(e)),"clone"),j,ve=(j=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=It(),this.documents={root:wt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=s.getAccTitle,this.setAccTitle=s.setAccTitle,this.getAccDescription=s.getAccDescription,this.setAccDescription=s.setAccDescription,this.setDiagramTitle=s.setDiagramTitle,this.getDiagramTitle=s.getDiagramTitle,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}extract(t){this.clear(!0);for(const r of Array.isArray(t)?t:t.doc)switch(r.stmt){case X:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case bt:this.addRelation(r.state1,r.state2,r.description);break;case ee:this.addStyleClass(r.id.trim(),r.classes);break;case se:this.handleStyleDef(r);break;case ie:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}const i=this.getStates(),n=s.getConfig2();ke(),Z(void 0,this.getRootDocV2(),i,this.nodes,this.edges,!0,n.look,this.classes);for(const r of this.nodes)if(Array.isArray(r.label)){if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(t){const i=t.id.trim().split(","),n=t.styleClass.split(",");for(const r of i){let c=this.getState(r);if(!c){const f=r.trim();this.addState(f),c=this.getState(f)}c&&(c.styles=n.map(f=>{var S;return(S=f.replace(/;/g,""))==null?void 0:S.trim()}))}}setRootDoc(t){s.log.info("Setting root doc",t),this.rootDoc=t,this.version===1?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(t,i,n){if(i.stmt===bt){this.docTranslator(t,i.state1,!0),this.docTranslator(t,i.state2,!1);return}if(i.stmt===X&&(i.id===k.START_NODE?(i.id=t.id+(n?"_start":"_end"),i.start=n):i.id=i.id.trim()),i.stmt!==K&&i.stmt!==X||!i.doc)return;const r=[];let c=[];for(const f of i.doc)if(f.type===Pt){const S=ut(f);S.doc=ut(c),r.push(S),c=[]}else c.push(f);if(r.length>0&&c.length>0){const f={stmt:X,id:s.generateId(),type:"divider",doc:ut(c)};r.push(ut(f)),i.doc=r}i.doc.forEach(f=>this.docTranslator(i,f,!0))}getRootDocV2(){return this.docTranslator({id:K,stmt:K},{id:K,stmt:K,doc:this.rootDoc},!0),{id:K,doc:this.rootDoc}}addState(t,i=tt,n=void 0,r=void 0,c=void 0,f=void 0,S=void 0,p=void 0){const y=t==null?void 0:t.trim();if(!this.currentDocument.states.has(y))s.log.info("Adding state ",y,r),this.currentDocument.states.set(y,{stmt:X,id:y,descriptions:[],type:i,doc:n,note:c,classes:[],styles:[],textStyles:[]});else{const T=this.currentDocument.states.get(y);if(!T)throw new Error(`State not found: ${y}`);T.doc||(T.doc=n),T.type||(T.type=i)}if(r&&(s.log.info("Setting state description",y,r),(Array.isArray(r)?r:[r]).forEach(E=>this.addDescription(y,E.trim()))),c){const T=this.currentDocument.states.get(y);if(!T)throw new Error(`State not found: ${y}`);T.note=c,T.note.text=s.common_default.sanitizeText(T.note.text,s.getConfig2())}f&&(s.log.info("Setting state classes",y,f),(Array.isArray(f)?f:[f]).forEach(E=>this.setCssClass(y,E.trim()))),S&&(s.log.info("Setting state styles",y,S),(Array.isArray(S)?S:[S]).forEach(E=>this.setStyle(y,E.trim()))),p&&(s.log.info("Setting state styles",y,S),(Array.isArray(p)?p:[p]).forEach(E=>this.setTextStyle(y,E.trim())))}clear(t){this.nodes=[],this.edges=[],this.documents={root:wt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=It(),t||(this.links=new Map,s.clear())}getState(t){return this.currentDocument.states.get(t)}getStates(){return this.currentDocument.states}logDocuments(){s.log.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,i,n){this.links.set(t,{url:i,tooltip:n}),s.log.warn("Adding link",t,i,n)}getLinks(){return this.links}startIdIfNeeded(t=""){return t===k.START_NODE?(this.startEndCount++,`${k.START_TYPE}${this.startEndCount}`):t}startTypeIfNeeded(t="",i=tt){return t===k.START_NODE?k.START_TYPE:i}endIdIfNeeded(t=""){return t===k.END_NODE?(this.startEndCount++,`${k.END_TYPE}${this.startEndCount}`):t}endTypeIfNeeded(t="",i=tt){return t===k.END_NODE?k.END_TYPE:i}addRelationObjs(t,i,n=""){const r=this.startIdIfNeeded(t.id.trim()),c=this.startTypeIfNeeded(t.id.trim(),t.type),f=this.startIdIfNeeded(i.id.trim()),S=this.startTypeIfNeeded(i.id.trim(),i.type);this.addState(r,c,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(f,S,i.doc,i.description,i.note,i.classes,i.styles,i.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:s.common_default.sanitizeText(n,s.getConfig2())})}addRelation(t,i,n){if(typeof t=="object"&&typeof i=="object")this.addRelationObjs(t,i,n);else if(typeof t=="string"&&typeof i=="string"){const r=this.startIdIfNeeded(t.trim()),c=this.startTypeIfNeeded(t),f=this.endIdIfNeeded(i.trim()),S=this.endTypeIfNeeded(i);this.addState(r,c),this.addState(f,S),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:n?s.common_default.sanitizeText(n,s.getConfig2()):void 0})}}addDescription(t,i){var c;const n=this.currentDocument.states.get(t),r=i.startsWith(":")?i.replace(":","").trim():i;(c=n==null?void 0:n.descriptions)==null||c.push(s.common_default.sanitizeText(r,s.getConfig2()))}cleanupLabel(t){return t.startsWith(":")?t.slice(2).trim():t.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(t,i=""){this.classes.has(t)||this.classes.set(t,{id:t,styles:[],textStyles:[]});const n=this.classes.get(t);i&&n&&i.split(k.STYLECLASS_SEP).forEach(r=>{const c=r.replace(/([^;]*);/,"$1").trim();if(RegExp(k.COLOR_KEYWORD).exec(r)){const S=c.replace(k.FILL_KEYWORD,k.BG_FILL).replace(k.COLOR_KEYWORD,k.FILL_KEYWORD);n.textStyles.push(S)}n.styles.push(c)})}getClasses(){return this.classes}setCssClass(t,i){t.split(",").forEach(n=>{var c;let r=this.getState(n);if(!r){const f=n.trim();this.addState(f),r=this.getState(f)}(c=r==null?void 0:r.classes)==null||c.push(i)})}setStyle(t,i){var n,r;(r=(n=this.getState(t))==null?void 0:n.styles)==null||r.push(i)}setTextStyle(t,i){var n,r;(r=(n=this.getState(t))==null?void 0:n.textStyles)==null||r.push(i)}getDirectionStatement(){return this.rootDoc.find(t=>t.stmt===xt)}getDirection(){var t;return((t=this.getDirectionStatement())==null?void 0:t.value)??te}setDirection(t){const i=this.getDirectionStatement();i?i.value=t:this.rootDoc.unshift({stmt:xt,value:t})}trimColon(t){return t.startsWith(":")?t.slice(1).trim():t.trim()}getData(){const t=s.getConfig2();return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:Ht(this.getRootDocV2())}}getConfig(){return s.getConfig2().state}},s.__name(j,"StateDB"),j.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},j),Ce=s.__name(e=>`
|
|
7
|
+
defs #statediagram-barbEnd {
|
|
8
|
+
fill: ${e.transitionColor};
|
|
9
|
+
stroke: ${e.transitionColor};
|
|
10
|
+
}
|
|
11
|
+
g.stateGroup text {
|
|
12
|
+
fill: ${e.nodeBorder};
|
|
13
|
+
stroke: none;
|
|
14
|
+
font-size: 10px;
|
|
15
|
+
}
|
|
16
|
+
g.stateGroup text {
|
|
17
|
+
fill: ${e.textColor};
|
|
18
|
+
stroke: none;
|
|
19
|
+
font-size: 10px;
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
g.stateGroup .state-title {
|
|
23
|
+
font-weight: bolder;
|
|
24
|
+
fill: ${e.stateLabelColor};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
g.stateGroup rect {
|
|
28
|
+
fill: ${e.mainBkg};
|
|
29
|
+
stroke: ${e.nodeBorder};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
g.stateGroup line {
|
|
33
|
+
stroke: ${e.lineColor};
|
|
34
|
+
stroke-width: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.transition {
|
|
38
|
+
stroke: ${e.transitionColor};
|
|
39
|
+
stroke-width: 1;
|
|
40
|
+
fill: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.stateGroup .composit {
|
|
44
|
+
fill: ${e.background};
|
|
45
|
+
border-bottom: 1px
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.stateGroup .alt-composit {
|
|
49
|
+
fill: #e0e0e0;
|
|
50
|
+
border-bottom: 1px
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.state-note {
|
|
54
|
+
stroke: ${e.noteBorderColor};
|
|
55
|
+
fill: ${e.noteBkgColor};
|
|
56
|
+
|
|
57
|
+
text {
|
|
58
|
+
fill: ${e.noteTextColor};
|
|
59
|
+
stroke: none;
|
|
60
|
+
font-size: 10px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.stateLabel .box {
|
|
65
|
+
stroke: none;
|
|
66
|
+
stroke-width: 0;
|
|
67
|
+
fill: ${e.mainBkg};
|
|
68
|
+
opacity: 0.5;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.edgeLabel .label rect {
|
|
72
|
+
fill: ${e.labelBackgroundColor};
|
|
73
|
+
opacity: 0.5;
|
|
74
|
+
}
|
|
75
|
+
.edgeLabel {
|
|
76
|
+
background-color: ${e.edgeLabelBackground};
|
|
77
|
+
p {
|
|
78
|
+
background-color: ${e.edgeLabelBackground};
|
|
79
|
+
}
|
|
80
|
+
rect {
|
|
81
|
+
opacity: 0.5;
|
|
82
|
+
background-color: ${e.edgeLabelBackground};
|
|
83
|
+
fill: ${e.edgeLabelBackground};
|
|
84
|
+
}
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
.edgeLabel .label text {
|
|
88
|
+
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
89
|
+
}
|
|
90
|
+
.label div .edgeLabel {
|
|
91
|
+
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.stateLabel text {
|
|
95
|
+
fill: ${e.stateLabelColor};
|
|
96
|
+
font-size: 10px;
|
|
97
|
+
font-weight: bold;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.node circle.state-start {
|
|
101
|
+
fill: ${e.specialStateColor};
|
|
102
|
+
stroke: ${e.specialStateColor};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.node .fork-join {
|
|
106
|
+
fill: ${e.specialStateColor};
|
|
107
|
+
stroke: ${e.specialStateColor};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.node circle.state-end {
|
|
111
|
+
fill: ${e.innerEndBackground};
|
|
112
|
+
stroke: ${e.background};
|
|
113
|
+
stroke-width: 1.5
|
|
114
|
+
}
|
|
115
|
+
.end-state-inner {
|
|
116
|
+
fill: ${e.compositeBackground||e.background};
|
|
117
|
+
// stroke: ${e.background};
|
|
118
|
+
stroke-width: 1.5
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.node rect {
|
|
122
|
+
fill: ${e.stateBkg||e.mainBkg};
|
|
123
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
124
|
+
stroke-width: 1px;
|
|
125
|
+
}
|
|
126
|
+
.node polygon {
|
|
127
|
+
fill: ${e.mainBkg};
|
|
128
|
+
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
129
|
+
stroke-width: 1px;
|
|
130
|
+
}
|
|
131
|
+
#statediagram-barbEnd {
|
|
132
|
+
fill: ${e.lineColor};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.statediagram-cluster rect {
|
|
136
|
+
fill: ${e.compositeTitleBackground};
|
|
137
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
138
|
+
stroke-width: 1px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.cluster-label, .nodeLabel {
|
|
142
|
+
color: ${e.stateLabelColor};
|
|
143
|
+
// line-height: 1;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.statediagram-cluster rect.outer {
|
|
147
|
+
rx: 5px;
|
|
148
|
+
ry: 5px;
|
|
149
|
+
}
|
|
150
|
+
.statediagram-state .divider {
|
|
151
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.statediagram-state .title-state {
|
|
155
|
+
rx: 5px;
|
|
156
|
+
ry: 5px;
|
|
157
|
+
}
|
|
158
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
159
|
+
fill: ${e.compositeBackground||e.background};
|
|
160
|
+
}
|
|
161
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
162
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.statediagram-cluster .inner {
|
|
166
|
+
rx:0;
|
|
167
|
+
ry:0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.statediagram-state rect.basic {
|
|
171
|
+
rx: 5px;
|
|
172
|
+
ry: 5px;
|
|
173
|
+
}
|
|
174
|
+
.statediagram-state rect.divider {
|
|
175
|
+
stroke-dasharray: 10,10;
|
|
176
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.note-edge {
|
|
180
|
+
stroke-dasharray: 5;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.statediagram-note rect {
|
|
184
|
+
fill: ${e.noteBkgColor};
|
|
185
|
+
stroke: ${e.noteBorderColor};
|
|
186
|
+
stroke-width: 1px;
|
|
187
|
+
rx: 0;
|
|
188
|
+
ry: 0;
|
|
189
|
+
}
|
|
190
|
+
.statediagram-note rect {
|
|
191
|
+
fill: ${e.noteBkgColor};
|
|
192
|
+
stroke: ${e.noteBorderColor};
|
|
193
|
+
stroke-width: 1px;
|
|
194
|
+
rx: 0;
|
|
195
|
+
ry: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.statediagram-note text {
|
|
199
|
+
fill: ${e.noteTextColor};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.statediagram-note .nodeLabel {
|
|
203
|
+
color: ${e.noteTextColor};
|
|
204
|
+
}
|
|
205
|
+
.statediagram .edgeLabel {
|
|
206
|
+
color: red; // ${e.noteTextColor};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
#dependencyStart, #dependencyEnd {
|
|
210
|
+
fill: ${e.lineColor};
|
|
211
|
+
stroke: ${e.lineColor};
|
|
212
|
+
stroke-width: 1;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.statediagramTitleText {
|
|
216
|
+
text-anchor: middle;
|
|
217
|
+
font-size: 18px;
|
|
218
|
+
fill: ${e.textColor};
|
|
219
|
+
}
|
|
220
|
+
`,"getStyles"),Ae=Ce;exports.StateDB=ve;exports.stateDiagram_default=Zt;exports.stateRenderer_v3_unified_default=De;exports.styles_default=Ae;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { _ as e } from "./index-BsdeQX2F.js";
|
|
2
|
+
var l = /* @__PURE__ */ e(() => `
|
|
3
|
+
/* Font Awesome icon styling - consolidated */
|
|
4
|
+
.label-icon {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
height: 1em;
|
|
7
|
+
overflow: visible;
|
|
8
|
+
vertical-align: -0.125em;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.node .label-icon path {
|
|
12
|
+
fill: currentColor;
|
|
13
|
+
stroke: revert;
|
|
14
|
+
stroke-width: revert;
|
|
15
|
+
}
|
|
16
|
+
`, "getIconStyles");
|
|
17
|
+
export {
|
|
18
|
+
l as g
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";const e=require("./index-Cg8ByiK0.cjs");var t=e.__name(()=>`
|
|
2
|
+
/* Font Awesome icon styling - consolidated */
|
|
3
|
+
.label-icon {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
height: 1em;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
vertical-align: -0.125em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.node .label-icon path {
|
|
11
|
+
fill: currentColor;
|
|
12
|
+
stroke: revert;
|
|
13
|
+
stroke-width: revert;
|
|
14
|
+
}
|
|
15
|
+
`,"getIconStyles");exports.getIconStyles=t;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { _ as a, i as w, l as x } from "./index-BsdeQX2F.js";
|
|
2
|
+
var d = /* @__PURE__ */ a((e, t, i, o) => {
|
|
3
|
+
e.attr("class", i);
|
|
4
|
+
const { width: r, height: h, x: n, y: c } = u(e, t);
|
|
5
|
+
w(e, h, r, o);
|
|
6
|
+
const s = l(n, c, r, h, t);
|
|
7
|
+
e.attr("viewBox", s), x.debug(`viewBox configured: ${s} with padding: ${t}`);
|
|
8
|
+
}, "setupViewPortForSVG"), u = /* @__PURE__ */ a((e, t) => {
|
|
9
|
+
var o;
|
|
10
|
+
const i = ((o = e.node()) == null ? void 0 : o.getBBox()) || { width: 0, height: 0, x: 0, y: 0 };
|
|
11
|
+
return {
|
|
12
|
+
width: i.width + t * 2,
|
|
13
|
+
height: i.height + t * 2,
|
|
14
|
+
x: i.x,
|
|
15
|
+
y: i.y
|
|
16
|
+
};
|
|
17
|
+
}, "calculateDimensionsWithPadding"), l = /* @__PURE__ */ a((e, t, i, o, r) => `${e - r} ${t - r} ${i} ${o}`, "createViewBox");
|
|
18
|
+
export {
|
|
19
|
+
d as s
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./index-Cg8ByiK0.cjs");var u=n.__name((e,t,i,o)=>{e.attr("class",i);const{width:r,height:h,x:c,y:s}=w(e,t);n.configureSvgSize(e,h,r,o);const a=x(c,s,r,h,t);e.attr("viewBox",a),n.log.debug(`viewBox configured: ${a} with padding: ${t}`)},"setupViewPortForSVG"),w=n.__name((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=n.__name((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");exports.setupViewPortForSVG=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index-Cg8ByiK0.cjs");var t,s=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},e.__name(t,"ImperativeState"),t);exports.ImperativeState=s;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { _ as s } from "./index-BsdeQX2F.js";
|
|
2
|
+
var t, e = (t = class {
|
|
3
|
+
/**
|
|
4
|
+
* @param init - Function that creates the default state.
|
|
5
|
+
*/
|
|
6
|
+
constructor(i) {
|
|
7
|
+
this.init = i, this.records = this.init();
|
|
8
|
+
}
|
|
9
|
+
reset() {
|
|
10
|
+
this.records = this.init();
|
|
11
|
+
}
|
|
12
|
+
}, s(t, "ImperativeState"), t);
|
|
13
|
+
export {
|
|
14
|
+
e as I
|
|
15
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { _ as n, q as o, n as l } from "./index-BsdeQX2F.js";
|
|
2
|
+
var x = /* @__PURE__ */ n((s, t) => {
|
|
3
|
+
const e = s.append("rect");
|
|
4
|
+
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
5
|
+
for (const r in t.attrs)
|
|
6
|
+
e.attr(r, t.attrs[r]);
|
|
7
|
+
return t.class && e.attr("class", t.class), e;
|
|
8
|
+
}, "drawRect"), d = /* @__PURE__ */ n((s, t) => {
|
|
9
|
+
const e = {
|
|
10
|
+
x: t.startx,
|
|
11
|
+
y: t.starty,
|
|
12
|
+
width: t.stopx - t.startx,
|
|
13
|
+
height: t.stopy - t.starty,
|
|
14
|
+
fill: t.fill,
|
|
15
|
+
stroke: t.stroke,
|
|
16
|
+
class: "rect"
|
|
17
|
+
};
|
|
18
|
+
x(s, e).lower();
|
|
19
|
+
}, "drawBackgroundRect"), g = /* @__PURE__ */ n((s, t) => {
|
|
20
|
+
const e = t.text.replace(o, " "), r = s.append("text");
|
|
21
|
+
r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class && r.attr("class", t.class);
|
|
22
|
+
const a = r.append("tspan");
|
|
23
|
+
return a.attr("x", t.x + t.textMargin * 2), a.text(e), r;
|
|
24
|
+
}, "drawText"), h = /* @__PURE__ */ n((s, t, e, r) => {
|
|
25
|
+
const a = s.append("image");
|
|
26
|
+
a.attr("x", t), a.attr("y", e);
|
|
27
|
+
const i = l.sanitizeUrl(r);
|
|
28
|
+
a.attr("xlink:href", i);
|
|
29
|
+
}, "drawImage"), m = /* @__PURE__ */ n((s, t, e, r) => {
|
|
30
|
+
const a = s.append("use");
|
|
31
|
+
a.attr("x", t), a.attr("y", e);
|
|
32
|
+
const i = l.sanitizeUrl(r);
|
|
33
|
+
a.attr("xlink:href", `#${i}`);
|
|
34
|
+
}, "drawEmbeddedImage"), y = /* @__PURE__ */ n(() => ({
|
|
35
|
+
x: 0,
|
|
36
|
+
y: 0,
|
|
37
|
+
width: 100,
|
|
38
|
+
height: 100,
|
|
39
|
+
fill: "#EDF2AE",
|
|
40
|
+
stroke: "#666",
|
|
41
|
+
anchor: "start",
|
|
42
|
+
rx: 0,
|
|
43
|
+
ry: 0
|
|
44
|
+
}), "getNoteRect"), p = /* @__PURE__ */ n(() => ({
|
|
45
|
+
x: 0,
|
|
46
|
+
y: 0,
|
|
47
|
+
width: 100,
|
|
48
|
+
height: 100,
|
|
49
|
+
"text-anchor": "start",
|
|
50
|
+
style: "#666",
|
|
51
|
+
textMargin: 0,
|
|
52
|
+
rx: 0,
|
|
53
|
+
ry: 0,
|
|
54
|
+
tspan: !0
|
|
55
|
+
}), "getTextObj");
|
|
56
|
+
export {
|
|
57
|
+
d as a,
|
|
58
|
+
p as b,
|
|
59
|
+
m as c,
|
|
60
|
+
x as d,
|
|
61
|
+
h as e,
|
|
62
|
+
g as f,
|
|
63
|
+
y as g
|
|
64
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./index-Cg8ByiK0.cjs");var d=s.__name((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),c=s.__name((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};d(a,e).lower()},"drawBackgroundRect"),l=s.__name((a,t)=>{const e=t.text.replace(s.lineBreakRegex," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const n=r.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),r},"drawText"),x=s.__name((a,t,e,r)=>{const n=a.append("image");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(r);n.attr("xlink:href",i)},"drawImage"),o=s.__name((a,t,e,r)=>{const n=a.append("use");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(r);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),m=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),g=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");exports.drawBackgroundRect=c;exports.drawEmbeddedImage=o;exports.drawImage=x;exports.drawRect=d;exports.drawText=l;exports.getNoteRect=m;exports.getTextObj=g;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"Clarity","name":"clarity","patterns":[{"include":"#expression"},{"include":"#define-constant"},{"include":"#define-data-var"},{"include":"#define-map"},{"include":"#define-function"},{"include":"#define-fungible-token"},{"include":"#define-non-fungible-token"},{"include":"#define-trait"},{"include":"#use-trait"}],"repository":{"built-in-func":{"begin":"(\\\\()\\\\s*([-+]|<=|>=|[*/<>]|and|append|as-contract\\\\???|as-max-len\\\\?|asserts!|at-block|begin|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|buff-to-int-be|buff-to-int-le|buff-to-uint-be|buff-to-uint-le|concat|contract-call\\\\?|contract-of|default-to|element-at\\\\???|filter|fold|from-consensus-buff\\\\?|ft-burn\\\\?|ft-get-balance|ft-get-supply|ft-mint\\\\?|ft-transfer\\\\?|get-block-info\\\\?|get-burn-block-info\\\\?|get-stacks-block-info\\\\?|get-tenure-info\\\\?|hash160|if|impl-trait|index-of\\\\???|int-to-ascii|int-to-utf8|is-eq|is-err|is-none|is-ok|is-some|is-standard|keccak256|len|log2|map|match|merge|mod|nft-burn\\\\?|nft-get-owner\\\\?|nft-mint\\\\?|nft-transfer\\\\?|not|or|pow|principal-construct\\\\?|principal-destruct\\\\?|principal-of\\\\?|print|replace-at\\\\?|secp256k1-recover\\\\?|secp256k1-verify|sha256|sha512|sha512/256|slice\\\\?|sqrti|string-to-int\\\\?|string-to-uint\\\\?|to-ascii\\\\?|stx-account|stx-burn\\\\?|stx-get-balance|stx-transfer-memo\\\\?|stx-transfer\\\\?|to-consensus-buff\\\\?|to-int|to-uint|try!|unwrap!|unwrap-err!|unwrap-err-panic|unwrap-panic|xor|contract-hash\\\\?|restrict-assets\\\\?|with-stx|with-ft|with-nft|with-stacking|with-all-assets-unsafe|secp256r1-recover\\\\?|secp256r1-verify)\\\\s+","beginCaptures":{"1":{"name":"punctuation.built-in-function.start.clarity"},"2":{"name":"keyword.declaration.built-in-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.built-in-function.end.clarity"}},"name":"meta.built-in-function","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"comment":{"match":"(?<=^|[]\\"'(),;\\\\[\`{}\\\\s])(;).*$","name":"comment.line.semicolon.clarity"},"data-type":{"patterns":[{"include":"#comment"},{"match":"\\\\b(u?int)\\\\b","name":"entity.name.type.numeric.clarity"},{"match":"\\\\b(principal)\\\\b","name":"entity.name.type.principal.clarity"},{"match":"\\\\b(bool)\\\\b","name":"entity.name.type.bool.clarity"},{"captures":{"1":{"name":"punctuation.string_type-def.start.clarity"},"2":{"name":"entity.name.type.string_type.clarity"},"3":{"name":"constant.numeric.string_type-len.clarity"},"4":{"name":"punctuation.string_type-def.end.clarity"}},"match":"(\\\\()\\\\s*(string-(?:ascii|utf8))\\\\s+(\\\\d+)\\\\s*(\\\\))"},{"captures":{"1":{"name":"punctuation.buff-def.start.clarity"},"2":{"name":"entity.name.type.buff.clarity"},"3":{"name":"constant.numeric.buf-len.clarity"},"4":{"name":"punctuation.buff-def.end.clarity"}},"match":"(\\\\()\\\\s*(buff)\\\\s+(\\\\d+)\\\\s*(\\\\))"},{"begin":"(\\\\()\\\\s*(optional)\\\\s+","beginCaptures":{"1":{"name":"punctuation.optional-def.start.clarity"},"2":{"name":"storage.type.modifier"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.optional-def.end.clarity"}},"name":"meta.optional-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\()\\\\s*(response)\\\\s+","beginCaptures":{"1":{"name":"punctuation.response-def.start.clarity"},"2":{"name":"storage.type.modifier"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.response-def.end.clarity"}},"name":"meta.response-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\()\\\\s*(list)\\\\s+(\\\\d+)\\\\s+","beginCaptures":{"1":{"name":"punctuation.list-def.start.clarity"},"2":{"name":"entity.name.type.list.clarity"},"3":{"name":"constant.numeric.list-len.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.list-def.end.clarity"}},"name":"meta.list-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.tuple-def.start.clarity"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.tuple-def.end.clarity"}},"name":"meta.tuple-def","patterns":[{"match":"([A-Za-z][-!?\\\\w]*)(?=:)","name":"entity.name.tag.tuple-data-type-key.clarity"},{"include":"#data-type"}]}]},"define-constant":{"begin":"(\\\\()\\\\s*(define-constant)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-constant.start.clarity"},"2":{"name":"keyword.declaration.define-constant.clarity"},"3":{"name":"entity.name.constant-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-constant.end.clarity"}},"name":"meta.define-constant","patterns":[{"include":"#expression"}]},"define-data-var":{"begin":"(\\\\()\\\\s*(define-data-var)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-data-var.start.clarity"},"2":{"name":"keyword.declaration.define-data-var.clarity"},"3":{"name":"entity.name.data-var-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-data-var.end.clarity"}},"name":"meta.define-data-var","patterns":[{"include":"#data-type"},{"include":"#expression"}]},"define-function":{"begin":"(\\\\()\\\\s*(define-(?:public|private|read-only))\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-function.start.clarity"},"2":{"name":"keyword.declaration.define-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-function.end.clarity"}},"name":"meta.define-function","patterns":[{"include":"#expression"},{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s*","beginCaptures":{"1":{"name":"punctuation.function-signature.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.function-signature.end.clarity"}},"name":"meta.define-function-signature","patterns":[{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.function-argument.start.clarity"},"2":{"name":"variable.parameter.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.function-argument.end.clarity"}},"name":"meta.function-argument","patterns":[{"include":"#data-type"}]}]},{"include":"#user-func"}]},"define-fungible-token":{"captures":{"1":{"name":"punctuation.define-fungible-token.start.clarity"},"2":{"name":"keyword.declaration.define-fungible-token.clarity"},"3":{"name":"entity.name.fungible-token-name.clarity variable.other.clarity"},"4":{"name":"constant.numeric.fungible-token-total-supply.clarity"},"5":{"name":"punctuation.define-fungible-token.end.clarity"}},"match":"(\\\\()\\\\s*(define-fungible-token)\\\\s+([A-Za-z][-!?\\\\w]*)(?:\\\\s+(u\\\\d+))?"},"define-map":{"begin":"(\\\\()\\\\s*(define-map)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-map.start.clarity"},"2":{"name":"keyword.declaration.define-map.clarity"},"3":{"name":"entity.name.map-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-map.end.clarity"}},"name":"meta.define-map","patterns":[{"include":"#data-type"},{"include":"#expression"}]},"define-non-fungible-token":{"begin":"(\\\\()\\\\s*(define-non-fungible-token)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-non-fungible-token.start.clarity"},"2":{"name":"keyword.declaration.define-non-fungible-token.clarity"},"3":{"name":"entity.name.non-fungible-token-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-non-fungible-token.end.clarity"}},"name":"meta.define-non-fungible-token","patterns":[{"include":"#data-type"}]},"define-trait":{"begin":"(\\\\()\\\\s*(define-trait)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-trait.start.clarity"},"2":{"name":"keyword.declaration.define-trait.clarity"},"3":{"name":"entity.name.trait-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-trait.end.clarity"}},"name":"meta.define-trait","patterns":[{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.define-trait-body.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-trait-body.end.clarity"}},"name":"meta.define-trait-body","patterns":[{"include":"#expression"},{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.trait-function.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.trait-function.end.clarity"}},"name":"meta.trait-function","patterns":[{"include":"#data-type"},{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.trait-function-args.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.trait-function-args.end.clarity"}},"name":"meta.trait-function-args","patterns":[{"include":"#data-type"}]}]}]}]},"expression":{"patterns":[{"include":"#comment"},{"include":"#keyword"},{"include":"#literal"},{"include":"#let-func"},{"include":"#built-in-func"},{"include":"#get-set-func"}]},"get-set-func":{"begin":"(\\\\()\\\\s*(var-get|var-set|map-get\\\\?|map-set|map-insert|map-delete|get)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s*","beginCaptures":{"1":{"name":"punctuation.get-set-func.start.clarity"},"2":{"name":"keyword.control.clarity"},"3":{"name":"variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.get-set-func.end.clarity"}},"name":"meta.get-set-func","patterns":[{"include":"#expression"}]},"keyword":{"match":"(?<!\\\\S)(?!-)\\\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stacks-block-height|stx-liquid-supply|tenure-height|tx-sender|tx-sponsor?|current-contract|stacks-block-time)\\\\b(?!\\\\s*-)","name":"constant.language.clarity"},"let-func":{"begin":"(\\\\()\\\\s*(let)\\\\s*","beginCaptures":{"1":{"name":"punctuation.let-function.start.clarity"},"2":{"name":"keyword.declaration.let-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-function.end.clarity"}},"name":"meta.let-function","patterns":[{"include":"#expression"},{"include":"#user-func"},{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.let-var.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-var.end.clarity"}},"name":"meta.let-var","patterns":[{"begin":"(\\\\()([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.let-local-var.start.clarity"},"2":{"name":"entity.name.let-local-var-name.clarity variable.parameter.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-local-var.end.clarity"}},"name":"meta.let-local-var","patterns":[{"include":"#expression"},{"include":"#user-func"}]},{"include":"#expression"}]}]},"literal":{"patterns":[{"include":"#number-literal"},{"include":"#bool-literal"},{"include":"#string-literal"},{"include":"#tuple-literal"},{"include":"#principal-literal"},{"include":"#list-literal"},{"include":"#optional-literal"},{"include":"#response-literal"}],"repository":{"bool-literal":{"match":"(?<!\\\\S)(?!-)\\\\b(true|false)\\\\b(?!\\\\s*-)","name":"constant.language.bool.clarity"},"list-literal":{"begin":"(\\\\()\\\\s*(list)\\\\s+","beginCaptures":{"1":{"name":"punctuation.list.start.clarity"},"2":{"name":"entity.name.type.list.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"names":"punctuation.list.end.clarity"}},"name":"meta.list","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"number-literal":{"patterns":[{"match":"(?<!\\\\S)(?!-)\\\\bu\\\\d+\\\\b(?!\\\\s*-)","name":"constant.numeric.uint.clarity"},{"match":"(?<!\\\\S)(?!-)\\\\b\\\\d+\\\\b(?!\\\\s*-)","name":"constant.numeric.int.clarity"},{"match":"(?<!\\\\S)(?!-)\\\\b0x[0-9a-f]*\\\\b(?!\\\\s*-)","name":"constant.numeric.hex.clarity"}]},"optional-literal":{"patterns":[{"match":"(?<!\\\\S)(?!-)\\\\b(none)\\\\b(?!\\\\s*-)","name":"constant.language.none.clarity"},{"begin":"(\\\\()\\\\s*(some)\\\\s+","beginCaptures":{"1":{"name":"punctuation.some.start.clarity"},"2":{"name":"constant.language.some.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.some.end.clarity"}},"name":"meta.some","patterns":[{"include":"#expression"}]}]},"principal-literal":{"match":"'[0-9A-Z]{28,41}(:?\\\\.[A-Za-z][-0-9A-Za-z]+){0,2}|(\\\\.[A-Za-z][-0-9A-Za-z]*){1,2}(?=[(),{}\\\\s]|$)","name":"constant.other.principal.clarity"},"response-literal":{"begin":"(\\\\()\\\\s*(ok|err)\\\\s+","beginCaptures":{"1":{"name":"punctuation.response.start.clarity"},"2":{"name":"constant.language.ok-err.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.response.end.clarity"}},"name":"meta.response","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"string-literal":{"patterns":[{"begin":"(u?)(\\")","beginCaptures":{"1":{"name":"string.quoted.utf8.clarity"},"2":{"name":"punctuation.definition.string.begin.clarity"}},"end":"\\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.clarity"}},"name":"string.quoted.double.clarity","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.quote"}]}]},"tuple-literal":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.tuple.start.clarity"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.tuple.end.clarity"}},"name":"meta.tuple","patterns":[{"match":"([A-Za-z][-!?\\\\w]*)(?=:)","name":"entity.name.tag.tuple-key.clarity"},{"include":"#expression"},{"include":"#user-func"}]}}},"use-trait":{"begin":"(\\\\()\\\\s*(use-trait)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.use-trait.start.clarity"},"2":{"name":"keyword.declaration.use-trait.clarity"},"3":{"name":"entity.name.trait-alias.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.use-trait.end.clarity"}},"name":"meta.use-trait","patterns":[{"include":"#literal"}]},"user-func":{"begin":"(\\\\()\\\\s*(([A-Za-z][-!?\\\\w]*))\\\\s*","beginCaptures":{"1":{"name":"punctuation.user-function.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.user-function.end.clarity"}},"name":"meta.user-function","patterns":[{"include":"#expression"},{"include":"$self"}]}},"scopeName":"source.clar"}`)), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse(`{"displayName":"Clarity","name":"clarity","patterns":[{"include":"#expression"},{"include":"#define-constant"},{"include":"#define-data-var"},{"include":"#define-map"},{"include":"#define-function"},{"include":"#define-fungible-token"},{"include":"#define-non-fungible-token"},{"include":"#define-trait"},{"include":"#use-trait"}],"repository":{"built-in-func":{"begin":"(\\\\()\\\\s*([-+]|<=|>=|[*/<>]|and|append|as-contract\\\\???|as-max-len\\\\?|asserts!|at-block|begin|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|buff-to-int-be|buff-to-int-le|buff-to-uint-be|buff-to-uint-le|concat|contract-call\\\\?|contract-of|default-to|element-at\\\\???|filter|fold|from-consensus-buff\\\\?|ft-burn\\\\?|ft-get-balance|ft-get-supply|ft-mint\\\\?|ft-transfer\\\\?|get-block-info\\\\?|get-burn-block-info\\\\?|get-stacks-block-info\\\\?|get-tenure-info\\\\?|hash160|if|impl-trait|index-of\\\\???|int-to-ascii|int-to-utf8|is-eq|is-err|is-none|is-ok|is-some|is-standard|keccak256|len|log2|map|match|merge|mod|nft-burn\\\\?|nft-get-owner\\\\?|nft-mint\\\\?|nft-transfer\\\\?|not|or|pow|principal-construct\\\\?|principal-destruct\\\\?|principal-of\\\\?|print|replace-at\\\\?|secp256k1-recover\\\\?|secp256k1-verify|sha256|sha512|sha512/256|slice\\\\?|sqrti|string-to-int\\\\?|string-to-uint\\\\?|to-ascii\\\\?|stx-account|stx-burn\\\\?|stx-get-balance|stx-transfer-memo\\\\?|stx-transfer\\\\?|to-consensus-buff\\\\?|to-int|to-uint|try!|unwrap!|unwrap-err!|unwrap-err-panic|unwrap-panic|xor|contract-hash\\\\?|restrict-assets\\\\?|with-stx|with-ft|with-nft|with-stacking|with-all-assets-unsafe|secp256r1-recover\\\\?|secp256r1-verify)\\\\s+","beginCaptures":{"1":{"name":"punctuation.built-in-function.start.clarity"},"2":{"name":"keyword.declaration.built-in-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.built-in-function.end.clarity"}},"name":"meta.built-in-function","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"comment":{"match":"(?<=^|[]\\"'(),;\\\\[\`{}\\\\s])(;).*$","name":"comment.line.semicolon.clarity"},"data-type":{"patterns":[{"include":"#comment"},{"match":"\\\\b(u?int)\\\\b","name":"entity.name.type.numeric.clarity"},{"match":"\\\\b(principal)\\\\b","name":"entity.name.type.principal.clarity"},{"match":"\\\\b(bool)\\\\b","name":"entity.name.type.bool.clarity"},{"captures":{"1":{"name":"punctuation.string_type-def.start.clarity"},"2":{"name":"entity.name.type.string_type.clarity"},"3":{"name":"constant.numeric.string_type-len.clarity"},"4":{"name":"punctuation.string_type-def.end.clarity"}},"match":"(\\\\()\\\\s*(string-(?:ascii|utf8))\\\\s+(\\\\d+)\\\\s*(\\\\))"},{"captures":{"1":{"name":"punctuation.buff-def.start.clarity"},"2":{"name":"entity.name.type.buff.clarity"},"3":{"name":"constant.numeric.buf-len.clarity"},"4":{"name":"punctuation.buff-def.end.clarity"}},"match":"(\\\\()\\\\s*(buff)\\\\s+(\\\\d+)\\\\s*(\\\\))"},{"begin":"(\\\\()\\\\s*(optional)\\\\s+","beginCaptures":{"1":{"name":"punctuation.optional-def.start.clarity"},"2":{"name":"storage.type.modifier"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.optional-def.end.clarity"}},"name":"meta.optional-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\()\\\\s*(response)\\\\s+","beginCaptures":{"1":{"name":"punctuation.response-def.start.clarity"},"2":{"name":"storage.type.modifier"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.response-def.end.clarity"}},"name":"meta.response-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\()\\\\s*(list)\\\\s+(\\\\d+)\\\\s+","beginCaptures":{"1":{"name":"punctuation.list-def.start.clarity"},"2":{"name":"entity.name.type.list.clarity"},"3":{"name":"constant.numeric.list-len.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.list-def.end.clarity"}},"name":"meta.list-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.tuple-def.start.clarity"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.tuple-def.end.clarity"}},"name":"meta.tuple-def","patterns":[{"match":"([A-Za-z][-!?\\\\w]*)(?=:)","name":"entity.name.tag.tuple-data-type-key.clarity"},{"include":"#data-type"}]}]},"define-constant":{"begin":"(\\\\()\\\\s*(define-constant)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-constant.start.clarity"},"2":{"name":"keyword.declaration.define-constant.clarity"},"3":{"name":"entity.name.constant-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-constant.end.clarity"}},"name":"meta.define-constant","patterns":[{"include":"#expression"}]},"define-data-var":{"begin":"(\\\\()\\\\s*(define-data-var)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-data-var.start.clarity"},"2":{"name":"keyword.declaration.define-data-var.clarity"},"3":{"name":"entity.name.data-var-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-data-var.end.clarity"}},"name":"meta.define-data-var","patterns":[{"include":"#data-type"},{"include":"#expression"}]},"define-function":{"begin":"(\\\\()\\\\s*(define-(?:public|private|read-only))\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-function.start.clarity"},"2":{"name":"keyword.declaration.define-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-function.end.clarity"}},"name":"meta.define-function","patterns":[{"include":"#expression"},{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s*","beginCaptures":{"1":{"name":"punctuation.function-signature.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.function-signature.end.clarity"}},"name":"meta.define-function-signature","patterns":[{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.function-argument.start.clarity"},"2":{"name":"variable.parameter.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.function-argument.end.clarity"}},"name":"meta.function-argument","patterns":[{"include":"#data-type"}]}]},{"include":"#user-func"}]},"define-fungible-token":{"captures":{"1":{"name":"punctuation.define-fungible-token.start.clarity"},"2":{"name":"keyword.declaration.define-fungible-token.clarity"},"3":{"name":"entity.name.fungible-token-name.clarity variable.other.clarity"},"4":{"name":"constant.numeric.fungible-token-total-supply.clarity"},"5":{"name":"punctuation.define-fungible-token.end.clarity"}},"match":"(\\\\()\\\\s*(define-fungible-token)\\\\s+([A-Za-z][-!?\\\\w]*)(?:\\\\s+(u\\\\d+))?"},"define-map":{"begin":"(\\\\()\\\\s*(define-map)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-map.start.clarity"},"2":{"name":"keyword.declaration.define-map.clarity"},"3":{"name":"entity.name.map-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-map.end.clarity"}},"name":"meta.define-map","patterns":[{"include":"#data-type"},{"include":"#expression"}]},"define-non-fungible-token":{"begin":"(\\\\()\\\\s*(define-non-fungible-token)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-non-fungible-token.start.clarity"},"2":{"name":"keyword.declaration.define-non-fungible-token.clarity"},"3":{"name":"entity.name.non-fungible-token-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-non-fungible-token.end.clarity"}},"name":"meta.define-non-fungible-token","patterns":[{"include":"#data-type"}]},"define-trait":{"begin":"(\\\\()\\\\s*(define-trait)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-trait.start.clarity"},"2":{"name":"keyword.declaration.define-trait.clarity"},"3":{"name":"entity.name.trait-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-trait.end.clarity"}},"name":"meta.define-trait","patterns":[{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.define-trait-body.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-trait-body.end.clarity"}},"name":"meta.define-trait-body","patterns":[{"include":"#expression"},{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.trait-function.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.trait-function.end.clarity"}},"name":"meta.trait-function","patterns":[{"include":"#data-type"},{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.trait-function-args.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.trait-function-args.end.clarity"}},"name":"meta.trait-function-args","patterns":[{"include":"#data-type"}]}]}]}]},"expression":{"patterns":[{"include":"#comment"},{"include":"#keyword"},{"include":"#literal"},{"include":"#let-func"},{"include":"#built-in-func"},{"include":"#get-set-func"}]},"get-set-func":{"begin":"(\\\\()\\\\s*(var-get|var-set|map-get\\\\?|map-set|map-insert|map-delete|get)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s*","beginCaptures":{"1":{"name":"punctuation.get-set-func.start.clarity"},"2":{"name":"keyword.control.clarity"},"3":{"name":"variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.get-set-func.end.clarity"}},"name":"meta.get-set-func","patterns":[{"include":"#expression"}]},"keyword":{"match":"(?<!\\\\S)(?!-)\\\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stacks-block-height|stx-liquid-supply|tenure-height|tx-sender|tx-sponsor?|current-contract|stacks-block-time)\\\\b(?!\\\\s*-)","name":"constant.language.clarity"},"let-func":{"begin":"(\\\\()\\\\s*(let)\\\\s*","beginCaptures":{"1":{"name":"punctuation.let-function.start.clarity"},"2":{"name":"keyword.declaration.let-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-function.end.clarity"}},"name":"meta.let-function","patterns":[{"include":"#expression"},{"include":"#user-func"},{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.let-var.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-var.end.clarity"}},"name":"meta.let-var","patterns":[{"begin":"(\\\\()([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.let-local-var.start.clarity"},"2":{"name":"entity.name.let-local-var-name.clarity variable.parameter.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-local-var.end.clarity"}},"name":"meta.let-local-var","patterns":[{"include":"#expression"},{"include":"#user-func"}]},{"include":"#expression"}]}]},"literal":{"patterns":[{"include":"#number-literal"},{"include":"#bool-literal"},{"include":"#string-literal"},{"include":"#tuple-literal"},{"include":"#principal-literal"},{"include":"#list-literal"},{"include":"#optional-literal"},{"include":"#response-literal"}],"repository":{"bool-literal":{"match":"(?<!\\\\S)(?!-)\\\\b(true|false)\\\\b(?!\\\\s*-)","name":"constant.language.bool.clarity"},"list-literal":{"begin":"(\\\\()\\\\s*(list)\\\\s+","beginCaptures":{"1":{"name":"punctuation.list.start.clarity"},"2":{"name":"entity.name.type.list.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"names":"punctuation.list.end.clarity"}},"name":"meta.list","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"number-literal":{"patterns":[{"match":"(?<!\\\\S)(?!-)\\\\bu\\\\d+\\\\b(?!\\\\s*-)","name":"constant.numeric.uint.clarity"},{"match":"(?<!\\\\S)(?!-)\\\\b\\\\d+\\\\b(?!\\\\s*-)","name":"constant.numeric.int.clarity"},{"match":"(?<!\\\\S)(?!-)\\\\b0x[0-9a-f]*\\\\b(?!\\\\s*-)","name":"constant.numeric.hex.clarity"}]},"optional-literal":{"patterns":[{"match":"(?<!\\\\S)(?!-)\\\\b(none)\\\\b(?!\\\\s*-)","name":"constant.language.none.clarity"},{"begin":"(\\\\()\\\\s*(some)\\\\s+","beginCaptures":{"1":{"name":"punctuation.some.start.clarity"},"2":{"name":"constant.language.some.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.some.end.clarity"}},"name":"meta.some","patterns":[{"include":"#expression"}]}]},"principal-literal":{"match":"'[0-9A-Z]{28,41}(:?\\\\.[A-Za-z][-0-9A-Za-z]+){0,2}|(\\\\.[A-Za-z][-0-9A-Za-z]*){1,2}(?=[(),{}\\\\s]|$)","name":"constant.other.principal.clarity"},"response-literal":{"begin":"(\\\\()\\\\s*(ok|err)\\\\s+","beginCaptures":{"1":{"name":"punctuation.response.start.clarity"},"2":{"name":"constant.language.ok-err.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.response.end.clarity"}},"name":"meta.response","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"string-literal":{"patterns":[{"begin":"(u?)(\\")","beginCaptures":{"1":{"name":"string.quoted.utf8.clarity"},"2":{"name":"punctuation.definition.string.begin.clarity"}},"end":"\\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.clarity"}},"name":"string.quoted.double.clarity","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.quote"}]}]},"tuple-literal":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.tuple.start.clarity"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.tuple.end.clarity"}},"name":"meta.tuple","patterns":[{"match":"([A-Za-z][-!?\\\\w]*)(?=:)","name":"entity.name.tag.tuple-key.clarity"},{"include":"#expression"},{"include":"#user-func"}]}}},"use-trait":{"begin":"(\\\\()\\\\s*(use-trait)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.use-trait.start.clarity"},"2":{"name":"keyword.declaration.use-trait.clarity"},"3":{"name":"entity.name.trait-alias.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.use-trait.end.clarity"}},"name":"meta.use-trait","patterns":[{"include":"#literal"}]},"user-func":{"begin":"(\\\\()\\\\s*(([A-Za-z][-!?\\\\w]*))\\\\s*","beginCaptures":{"1":{"name":"punctuation.user-function.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.user-function.end.clarity"}},"name":"meta.user-function","patterns":[{"include":"#expression"},{"include":"$self"}]}},"scopeName":"source.clar"}`)),t=[e];exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-B4BG7PRW-BTU_nPVE.cjs"),a=require("./index-Cg8ByiK0.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-DLUrgkJI.js";
|
|
2
|
+
import { _ as l } from "./index-BsdeQX2F.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parser: e,
|
|
5
|
+
get db() {
|
|
6
|
+
return new t();
|
|
7
|
+
},
|
|
8
|
+
renderer: s,
|
|
9
|
+
styles: r,
|
|
10
|
+
init: /* @__PURE__ */ l((a) => {
|
|
11
|
+
a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
d as diagram
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-B4BG7PRW-BTU_nPVE.cjs"),a=require("./index-Cg8ByiK0.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-DLUrgkJI.js";
|
|
2
|
+
import { _ as l } from "./index-BsdeQX2F.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parser: e,
|
|
5
|
+
get db() {
|
|
6
|
+
return new t();
|
|
7
|
+
},
|
|
8
|
+
renderer: s,
|
|
9
|
+
styles: r,
|
|
10
|
+
init: /* @__PURE__ */ l((a) => {
|
|
11
|
+
a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
d as diagram
|
|
16
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"Clojure","name":"clojure","patterns":[{"include":"#comment"},{"include":"#shebang-comment"},{"include":"#quoted-sexp"},{"include":"#sexp"},{"include":"#keyfn"},{"include":"#string"},{"include":"#vector"},{"include":"#set"},{"include":"#map"},{"include":"#regexp"},{"include":"#var"},{"include":"#constants"},{"include":"#dynamic-variables"},{"include":"#metadata"},{"include":"#namespace-symbol"},{"include":"#symbol"}],"repository":{"comment":{"begin":"(?<!\\\\\\\\);","beginCaptures":{"0":{"name":"punctuation.definition.comment.clojure"}},"end":"$","name":"comment.line.semicolon.clojure"},"constants":{"patterns":[{"match":"(nil)(?=([])}\\\\s]))","name":"constant.language.nil.clojure"},{"match":"(true|false)","name":"constant.language.boolean.clojure"},{"match":"(##(?:Inf|-Inf|NaN))","name":"constant.numeric.symbol.clojure"},{"match":"([-+]?\\\\d+/\\\\d+)","name":"constant.numeric.ratio.clojure"},{"match":"([-+]?(?:3[0-6]|[12]\\\\d|[2-9])[Rr][0-9A-Za-z]+N?)","name":"constant.numeric.arbitrary-radix.clojure"},{"match":"([-+]?0[Xx]\\\\h+N?)","name":"constant.numeric.hexadecimal.clojure"},{"match":"([-+]?0[0-7]+N?)","name":"constant.numeric.octal.clojure"},{"match":"([-+]?[0-9]+(\\\\.|(?=[EMe]))[0-9]*([Ee][-+]?[0-9]+)?M?)","name":"constant.numeric.double.clojure"},{"match":"([-+]?\\\\d+N?)","name":"constant.numeric.long.clojure"},{"include":"#keyword"}]},"dynamic-variables":{"match":"\\\\*[-!+.:<-?_\\\\w\\\\d]+\\\\*","name":"meta.symbol.dynamic.clojure"},"keyfn":{"patterns":[{"match":"(?<=([(\\\\[{\\\\s]))(if(-[-?\\\\p{Ll}]*)?|when(-[-\\\\p{Ll}]*)?|for(-[-\\\\p{Ll}]*)?|cond|do|let(-[-?\\\\p{Ll}]*)?|binding|loop|recur|fn|throw[-\\\\p{Ll}]*|try|catch|finally|(\\\\p{Ll}*case))(?=([])}\\\\s]))","name":"storage.control.clojure"},{"match":"(?<=([(\\\\[{\\\\s]))(declare-?|(in-)?ns|import|use|require|load|compile|(def[-\\\\p{Ll}]*))(?=([])}\\\\s]))","name":"keyword.control.clojure"}]},"keyword":{"match":"(?<=([(\\\\[{\\\\s])):[-!#*+./:<-?_\\\\w]+(?=([]),}\\\\s]))","name":"constant.keyword.clojure"},"map":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.map.begin.clojure"}},"end":"(}(?=[])}\\\\s]*(?:;|$)))|(})","endCaptures":{"1":{"name":"punctuation.section.map.end.trailing.clojure"},"2":{"name":"punctuation.section.map.end.clojure"}},"name":"meta.map.clojure","patterns":[{"include":"$self"}]},"metadata":{"patterns":[{"begin":"(\\\\^\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.metadata.map.begin.clojure"}},"end":"(}(?=[])}\\\\s]*(?:;|$)))|(})","endCaptures":{"1":{"name":"punctuation.section.metadata.map.end.trailing.clojure"},"2":{"name":"punctuation.section.metadata.map.end.clojure"}},"name":"meta.metadata.map.clojure","patterns":[{"include":"$self"}]},{"begin":"(\\\\^)","end":"(\\\\s)","name":"meta.metadata.simple.clojure","patterns":[{"include":"#keyword"},{"include":"$self"}]}]},"namespace-symbol":{"patterns":[{"captures":{"1":{"name":"meta.symbol.namespace.clojure"}},"match":"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)/"}]},"quoted-sexp":{"begin":"(['\`]\\\\()","beginCaptures":{"1":{"name":"punctuation.section.expression.begin.clojure"}},"end":"(\\\\))$|(\\\\)(?=[])}\\\\s]*(?:;|$)))|(\\\\))","endCaptures":{"1":{"name":"punctuation.section.expression.end.trailing.clojure"},"2":{"name":"punctuation.section.expression.end.trailing.clojure"},"3":{"name":"punctuation.section.expression.end.clojure"}},"name":"meta.quoted-expression.clojure","patterns":[{"include":"$self"}]},"regexp":{"begin":"#\\"","beginCaptures":{"0":{"name":"punctuation.definition.regexp.begin.clojure"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.regexp.end.clojure"}},"name":"string.regexp.clojure","patterns":[{"include":"#regexp_escaped_char"}]},"regexp_escaped_char":{"match":"\\\\\\\\.","name":"constant.character.escape.clojure"},"set":{"begin":"(#\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.set.begin.clojure"}},"end":"(}(?=[])}\\\\s]*(?:;|$)))|(})","endCaptures":{"1":{"name":"punctuation.section.set.end.trailing.clojure"},"2":{"name":"punctuation.section.set.end.clojure"}},"name":"meta.set.clojure","patterns":[{"include":"$self"}]},"sexp":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.section.expression.begin.clojure"}},"end":"(\\\\))$|(\\\\)(?=[])}\\\\s]*(?:;|$)))|(\\\\))","endCaptures":{"1":{"name":"punctuation.section.expression.end.trailing.clojure"},"2":{"name":"punctuation.section.expression.end.trailing.clojure"},"3":{"name":"punctuation.section.expression.end.clojure"}},"name":"meta.expression.clojure","patterns":[{"begin":"(?<=\\\\()(ns|declare|def[-!*+.:<-?_\\\\w\\\\d]*|[-!*+.:<-?_\\\\w][-!*+.:<-?_\\\\w\\\\d]*/def[-!*+.:<-?_\\\\w\\\\d]*)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.clojure"}},"end":"(?=\\\\))","name":"meta.definition.global.clojure","patterns":[{"include":"#metadata"},{"include":"#dynamic-variables"},{"match":"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)","name":"entity.global.clojure"},{"include":"$self"}]},{"include":"#keyfn"},{"include":"#constants"},{"include":"#vector"},{"include":"#map"},{"include":"#set"},{"include":"#sexp"},{"captures":{"1":{"name":"entity.name.function.clojure"}},"match":"(?<=\\\\()(.+?)(?=[)\\\\s])","patterns":[{"include":"$self"}]},{"include":"$self"}]},"shebang-comment":{"begin":"^(#!)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shebang.clojure"}},"end":"$","name":"comment.line.shebang.clojure"},"string":{"begin":"(?<!\\\\\\\\)(\\")","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.clojure"}},"end":"(\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.clojure"}},"name":"string.quoted.double.clojure","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.clojure"}]},"symbol":{"patterns":[{"match":"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)","name":"meta.symbol.clojure"}]},"var":{"match":"(?<=([(\\\\[{\\\\s])#)'[-!*+./:<-?_\\\\w]+(?=([])}\\\\s]))","name":"meta.var.clojure"},"vector":{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.section.vector.begin.clojure"}},"end":"(](?=[])}\\\\s]*(?:;|$)))|(])","endCaptures":{"1":{"name":"punctuation.section.vector.end.trailing.clojure"},"2":{"name":"punctuation.section.vector.end.clojure"}},"name":"meta.vector.clojure","patterns":[{"include":"$self"}]}},"scopeName":"source.clojure","aliases":["clj"]}`)), n = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
n as default
|
|
6
|
+
};
|