netstar-ai-chat 1.0.0
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 +112 -0
- package/dist/ChatPanel/AgentPicker.vue.d.ts +94 -0
- package/dist/ChatPanel/SubAgentNode.vue.d.ts +23 -0
- package/dist/ChatPanel/ToolCallNode.vue.d.ts +33 -0
- package/dist/ChatPanel/ToolRenders/SaveModuleDocsRenderer.vue.d.ts +33 -0
- package/dist/ChatPanel/ToolRenders/defaultToolRenderers.d.ts +4 -0
- package/dist/ChatPanel/WriteTodosTopPanel.vue.d.ts +20 -0
- package/dist/ChatPanel/index.vue.d.ts +117 -0
- package/dist/CodeBlockNode-CTasgSPs.cjs +1 -0
- package/dist/CodeBlockNode-DuMNoiwD.js +1245 -0
- package/dist/Serializer-CXJ0fE5z.js +249 -0
- package/dist/Serializer-fgUokho9.cjs +1 -0
- package/dist/StreamMarkdown/StreamMarkdown.vue.d.ts +29 -0
- package/dist/StreamMarkdown/components/CodeBlockNode.vue.d.ts +13 -0
- package/dist/StreamMarkdown/components/ThinkNode.vue.d.ts +20 -0
- package/dist/StreamMarkdown/components/copyToClipboard.d.ts +5 -0
- package/dist/StreamMarkdown/type.d.ts +9 -0
- package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-ConVUPun.cjs +1 -0
- package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-yxSn8jeO.js +5 -0
- package/dist/_baseClone-D3YkUt7B.cjs +1 -0
- package/dist/_baseClone-M9Eo-ngy.js +228 -0
- package/dist/abap-pyAsOErv.cjs +1 -0
- package/dist/abap-w3onj0rB.js +3 -0
- package/dist/abnfDiagram-VRR7QNED-BZIwESBc.js +89 -0
- package/dist/abnfDiagram-VRR7QNED-CbMhyWtU.cjs +1 -0
- package/dist/actionscript-3-BOqnK-sH.js +3 -0
- package/dist/actionscript-3-CzNUYu3T.cjs +1 -0
- package/dist/ada-BLw2DNCr.cjs +1 -0
- package/dist/ada-ZOYhNhP6.js +3 -0
- package/dist/andromeeda-BK7KK1TI.cjs +1 -0
- package/dist/andromeeda-D6zxFn77.js +4 -0
- package/dist/angular-html-CM15CIR-.js +16 -0
- package/dist/angular-html-CtqN3w77.cjs +1 -0
- package/dist/angular-ts-BZbyXOyX.cjs +1 -0
- package/dist/angular-ts-D_WjBMhi.js +18 -0
- package/dist/apache-DdGV2gIX.cjs +1 -0
- package/dist/apache-rcSYX-LI.js +3 -0
- package/dist/apex-BQsSAFNB.cjs +1 -0
- package/dist/apex-C-w0vHe4.js +3 -0
- package/dist/apl-CFUDRIMH.cjs +1 -0
- package/dist/apl-DEY32kA8.js +16 -0
- package/dist/applescript-BAJgLR5K.cjs +1 -0
- package/dist/applescript-BCUU8TOE.js +3 -0
- package/dist/ara-B4SncdQz.js +3 -0
- package/dist/ara-DSlRoA1z.cjs +1 -0
- package/dist/arc-BxwVc1OP.js +80 -0
- package/dist/arc-DcUn9_NX.cjs +1 -0
- package/dist/architecture-TIHT7OUA-BePVesqR.cjs +1 -0
- package/dist/architecture-TIHT7OUA-CdCN4XW2.js +3 -0
- package/dist/architectureDiagram-ZJ3FMSHR-DhyGcAG9.cjs +36 -0
- package/dist/architectureDiagram-ZJ3FMSHR-pJBnYWx2.js +4120 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/array-DZSRzHA_.cjs +1 -0
- package/dist/asciidoc-CSnR5M0p.cjs +1 -0
- package/dist/asciidoc-DZyZo06c.js +3 -0
- package/dist/asm-BmB_X3A_.js +3 -0
- package/dist/asm-zib-OSTh.cjs +1 -0
- package/dist/astro-BApYg9cK.cjs +1 -0
- package/dist/astro-Bk1s2QoB.js +16 -0
- package/dist/aurora-x-BF78MGx3.cjs +1 -0
- package/dist/aurora-x-Tc1Eqrl5.js +4 -0
- package/dist/awk-BYQNbw8p.cjs +1 -0
- package/dist/awk-C3bvZdNY.js +3 -0
- package/dist/ayu-dark-ClxspuCB.cjs +1 -0
- package/dist/ayu-dark-cVPWKu1C.js +4 -0
- package/dist/ballerina-BPk8Fg7E.cjs +1 -0
- package/dist/ballerina-Bp92mgFe.js +3 -0
- package/dist/bat-7FZ8F5O4.cjs +1 -0
- package/dist/bat-CXbg7Xg3.js +3 -0
- package/dist/beancount-DCtU0rYp.cjs +1 -0
- package/dist/beancount-DmmCjryt.js +3 -0
- package/dist/berry-D8ITycFg.cjs +1 -0
- package/dist/berry-DiFcr1nX.js +3 -0
- package/dist/bibtex-CmGvn0fl.js +3 -0
- package/dist/bibtex-YVvMHIoL.cjs +1 -0
- package/dist/bicep-DDIPSBse.cjs +1 -0
- package/dist/bicep-zPtP3CSU.js +3 -0
- package/dist/blade-aYJa4e4Z.js +18 -0
- package/dist/blade-s0X0QSRt.cjs +1 -0
- package/dist/blockDiagram-677ZJIJ3-BXsjcvEy.cjs +132 -0
- package/dist/blockDiagram-677ZJIJ3-DUfdZ59z.js +3160 -0
- package/dist/bsl-2e5sJ_f2.js +5 -0
- package/dist/bsl-Boo9Znnk.cjs +1 -0
- package/dist/c-CtSegEhe.cjs +1 -0
- package/dist/c-DOHa0HhF.js +5 -0
- package/dist/c4Diagram-LMCZKHZV-CupZJT9_.cjs +10 -0
- package/dist/c4Diagram-LMCZKHZV-XVBQkiBu.js +2962 -0
- package/dist/cadence-BdOzwJ16.cjs +1 -0
- package/dist/cadence-DKZt82SN.js +3 -0
- package/dist/cairo-D7N4wIlJ.js +5 -0
- package/dist/cairo-yxjWoJOX.cjs +1 -0
- package/dist/catppuccin-frappe-BgIo7C1L.js +4 -0
- package/dist/catppuccin-frappe-lMRSGXsq.cjs +1 -0
- package/dist/catppuccin-latte-DACltl2d.js +4 -0
- package/dist/catppuccin-latte-DvhQrqwX.cjs +1 -0
- package/dist/catppuccin-macchiato-D_87UlHU.js +4 -0
- package/dist/catppuccin-macchiato-SYJuf56p.cjs +1 -0
- package/dist/catppuccin-mocha-btILUzM9.js +4 -0
- package/dist/catppuccin-mocha-nV-o7gzF.cjs +1 -0
- package/dist/channel-B_58s50a.js +5 -0
- package/dist/channel-CftZUi3r.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
- package/dist/chunk-32BRIVSS-DUxAI9Oa.cjs +1 -0
- package/dist/chunk-32BRIVSS-O-rQI_k2.js +61 -0
- package/dist/chunk-52WLFC77-B-_tvcsL.js +590 -0
- package/dist/chunk-52WLFC77-SZUA2rNI.cjs +10 -0
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
- package/dist/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
- package/dist/chunk-7BUUIJ7U-B018BbRy.js +82 -0
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
- package/dist/chunk-C7G6YPKG-D1CB1CXU.js +67 -0
- package/dist/chunk-C7G6YPKG-HH-he6SO.cjs +1 -0
- package/dist/chunk-EX3LRPZG-D0TH5Vrj.js +2046 -0
- package/dist/chunk-EX3LRPZG-DgwSD7VR.cjs +231 -0
- package/dist/chunk-FWX5IMBZ-CCaqRbxb.cjs +1 -0
- package/dist/chunk-FWX5IMBZ-c8mJHkIt.js +57 -0
- package/dist/chunk-HOUHSVGY-CqEBw5yz.cjs +1 -0
- package/dist/chunk-HOUHSVGY-D13Pk7nF.js +277 -0
- package/dist/chunk-ICXQ74PX-Bq9mKzdP.js +1369 -0
- package/dist/chunk-ICXQ74PX-TcRXMN1n.cjs +2 -0
- package/dist/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
- package/dist/chunk-KEIR6QF5-CNjhxe7N.cjs +161 -0
- package/dist/chunk-KEIR6QF5-yJg1YNda.js +21383 -0
- package/dist/chunk-MOJQB5TN-BOC0rggK.js +490 -0
- package/dist/chunk-MOJQB5TN-CSjPQYln.cjs +88 -0
- package/dist/chunk-OGEWGWER-BYjMhJGb.js +32 -0
- package/dist/chunk-OGEWGWER-Bzj7N4Ii.cjs +1 -0
- package/dist/chunk-PUDLZKDR-D18W-L-L.js +4142 -0
- package/dist/chunk-PUDLZKDR-JbFT5hiR.cjs +156 -0
- package/dist/chunk-Q4XR5HBZ-DATOcgxL.cjs +70 -0
- package/dist/chunk-Q4XR5HBZ-DwgV8nWo.js +1628 -0
- package/dist/chunk-RYQCIY6F-Budeukwp.cjs +1 -0
- package/dist/chunk-RYQCIY6F-CTIaeOkt.js +240 -0
- package/dist/chunk-V7JOEXUC-BYc3FcMK.js +3357 -0
- package/dist/chunk-V7JOEXUC-Wa1_qMKV.cjs +206 -0
- package/dist/chunk-VAUOI2AC-3AGHwQI8.cjs +1 -0
- package/dist/chunk-VAUOI2AC-D4COVrqB.js +10 -0
- package/dist/chunk-VR4S4FIN-BBKjPbG_.js +26 -0
- package/dist/chunk-VR4S4FIN-DXfCPsY8.cjs +1 -0
- package/dist/chunk-WYO6CB5R-DNtzmu_Z.cjs +127 -0
- package/dist/chunk-WYO6CB5R-DVUXWnvM.js +3736 -0
- package/dist/chunk-XXDRQBXY-DWq_A1Wb.js +9 -0
- package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
- package/dist/chunk-ZGVPDNZ5-CYGK4FNM.js +3736 -0
- package/dist/chunk-ZGVPDNZ5-Ch-mMgcC.cjs +62 -0
- package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
- package/dist/chunk-ZIRB5QZD-DLqc5SfA.js +1146 -0
- package/dist/clarity-DnwH_oaR.js +3 -0
- package/dist/clarity-mvj5EDZ5.cjs +1 -0
- package/dist/classDiagram-OUVF2IWQ-BPcmQYGc.js +30 -0
- package/dist/classDiagram-OUVF2IWQ-CMJ1dZOd.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-CMJ1dZOd.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-C_A6LIqp.js +30 -0
- package/dist/clojure-C64DxiGB.cjs +1 -0
- package/dist/clojure-DQex2ThW.js +3 -0
- package/dist/cmake-BvNQeWu_.cjs +1 -0
- package/dist/cmake-C4lGF15i.js +3 -0
- package/dist/cobol-B6D1w50i.cjs +1 -0
- package/dist/cobol-f_8vDiHm.js +10 -0
- package/dist/codeowners-a_Z0p9_y.js +3 -0
- package/dist/codeowners-jShtr2Jw.cjs +1 -0
- package/dist/codeql-B0nK9JGf.js +3 -0
- package/dist/codeql-svt7Eror.cjs +1 -0
- package/dist/coffee-CIzsduL9.cjs +1 -0
- package/dist/coffee-D2SRpDoy.js +5 -0
- package/dist/common-lisp-BX8N9UvD.js +3 -0
- package/dist/common-lisp-Dd1YOGnK.cjs +1 -0
- package/dist/coq-B9dKr70z.cjs +1 -0
- package/dist/coq-CvkpvpO8.js +3 -0
- package/dist/cose-bilkent-JH36ORCC-DpRqLdKD.js +2251 -0
- package/dist/cose-bilkent-JH36ORCC-J0CMLAR2.cjs +1 -0
- package/dist/cpp-9IaFKtqm.cjs +1 -0
- package/dist/cpp-BWBwL8H2.js +19 -0
- package/dist/crystal-Bu5wFOgG.cjs +1 -0
- package/dist/crystal-DZ0RRcQB.js +18 -0
- package/dist/csharp-BSn8IIds.js +3 -0
- package/dist/csharp-DL064tVH.cjs +1 -0
- package/dist/css-CARKKeVZ.js +5 -0
- package/dist/css-Dedc30a-.cjs +1 -0
- package/dist/csv-CyUbk12o.js +3 -0
- package/dist/csv-yb5ne98b.cjs +1 -0
- package/dist/cue-BMD_ZKqV.js +3 -0
- package/dist/cue-BsqD5mfq.cjs +1 -0
- package/dist/cynefin-VYW2F7L2-D56X6uF-.js +3 -0
- package/dist/cynefin-VYW2F7L2-DfMKgfBn.cjs +1 -0
- package/dist/cynefinDiagram-TSTJHNR4-Ccm1ka2e.cjs +62 -0
- package/dist/cynefinDiagram-TSTJHNR4-LkTzYNHk.js +349 -0
- package/dist/cypher-CmLM-pVb.cjs +1 -0
- package/dist/cypher-MBxXk8fI.js +3 -0
- package/dist/cytoscape.esm-BJfLlyzE.cjs +321 -0
- package/dist/cytoscape.esm-CjrrPC2e.js +18151 -0
- package/dist/d-B1zD62h2.cjs +1 -0
- package/dist/d-Dr6f0t8l.js +3 -0
- package/dist/d2_markstream-vue-C462TwwW.js +5 -0
- package/dist/d2_markstream-vue-hk4WzRHI.cjs +1 -0
- package/dist/dagre-Cdkj1zk3.js +1603 -0
- package/dist/dagre-RL-7--pi.cjs +1 -0
- package/dist/dagre-VKFMJZFB-BTuSjqsN.js +326 -0
- package/dist/dagre-VKFMJZFB-D-LL1taY.cjs +4 -0
- package/dist/dark-plus-BiFR5lqb.js +4 -0
- package/dist/dark-plus-g9uFu8Uo.cjs +1 -0
- package/dist/dart-B-IpsYek.cjs +1 -0
- package/dist/dart-BKVVcZnx.js +3 -0
- package/dist/dax-DGyoV51j.cjs +1 -0
- package/dist/dax-julDJwHn.js +3 -0
- package/dist/defaultLocale-aSMWOJHq.js +201 -0
- package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
- package/dist/desktop-C7pIXmgL.cjs +1 -0
- package/dist/desktop-DN7gePkB.js +3 -0
- package/dist/diagram-FQU43EPY-DXRLbyr1.cjs +3 -0
- package/dist/diagram-FQU43EPY-Nd_0dBIp.js +432 -0
- package/dist/diagram-G47NLZAW-C6QidYrt.cjs +24 -0
- package/dist/diagram-G47NLZAW-DsbgcrAn.js +525 -0
- package/dist/diagram-NH7WQ7WH-BIir8UdD.cjs +24 -0
- package/dist/diagram-NH7WQ7WH-LBvy80o5.js +134 -0
- package/dist/diagram-OA4YK3LP-B6zIeHZO.cjs +30 -0
- package/dist/diagram-OA4YK3LP-wIkZDLSU.js +300 -0
- package/dist/diagram-WEI45ONY-DoJT44KW.cjs +41 -0
- package/dist/diagram-WEI45ONY-DuODSE5u.js +214 -0
- package/dist/diff-Pd8fJfZO.cjs +1 -0
- package/dist/diff-jiFCwOef.js +3 -0
- package/dist/dist-BD0EaJeM.js +42 -0
- package/dist/dist-BPaCZ1IA.cjs +3 -0
- package/dist/dist-BtUTYFnJ.js +6360 -0
- package/dist/dist-BxWvDA4U.js +59 -0
- package/dist/dist-CCXt4qM3.cjs +8 -0
- package/dist/dist-CS9eMk17.js +1588 -0
- package/dist/dist-Cu0Z5KOd.cjs +12 -0
- package/dist/dist-DNGlMOWd.cjs +1 -0
- package/dist/docker-DMpUQ2UE.js +3 -0
- package/dist/docker-OqFhd4tF.cjs +1 -0
- package/dist/dotenv-BNXs3SVk.js +3 -0
- package/dist/dotenv-skQA6mID.cjs +1 -0
- package/dist/dracula-B9CfY-AT.cjs +1 -0
- package/dist/dracula-DiGCm6b4.js +4 -0
- package/dist/dracula-soft-C5LEeGj9.js +4 -0
- package/dist/dracula-soft-IAqLIxBv.cjs +1 -0
- package/dist/dream-maker-DMoKJVoA.js +3 -0
- package/dist/dream-maker-Kuay-eJE.cjs +1 -0
- package/dist/ebnfDiagram-CCIWWBDH-BPnqNNpq.js +100 -0
- package/dist/ebnfDiagram-CCIWWBDH-BVWfIZk7.cjs +1 -0
- package/dist/edge-DPKc6QBW.cjs +1 -0
- package/dist/edge-DewrpuZI.js +12 -0
- package/dist/elixir-BHncl6yR.js +5 -0
- package/dist/elixir-Bz8PD4t1.cjs +1 -0
- package/dist/elm-DFucj7BB.cjs +1 -0
- package/dist/elm-DQTVghsR.js +5 -0
- package/dist/emacs-lisp-BLYG10aJ.js +3 -0
- package/dist/emacs-lisp-DjdBmCDP.cjs +1 -0
- package/dist/erDiagram-Q63AITRT-BDhFo6C9.cjs +85 -0
- package/dist/erDiagram-Q63AITRT-DT6IAJLm.js +1727 -0
- package/dist/erb-BCBUKD2W.js +10 -0
- package/dist/erb-BrUkDVI_.cjs +1 -0
- package/dist/erlang-Dk9Hm-lN.cjs +1 -0
- package/dist/erlang-Hh_mGaXF.js +3 -0
- package/dist/eventmodeling-45OFAUF4-9NJTUpfs.cjs +1 -0
- package/dist/eventmodeling-45OFAUF4-DhmcBUQs.js +3 -0
- package/dist/everforest-dark-B8U5Kz_2.cjs +1 -0
- package/dist/everforest-dark-DPbo4JN4.js +4 -0
- package/dist/everforest-light-3-FCa2iD.cjs +1 -0
- package/dist/everforest-light-E_X_ZD6H.js +4 -0
- package/dist/exports-C67Wizt6.js +16990 -0
- package/dist/exports-C8Eu-cBn.cjs +261 -0
- package/dist/fennel-F2TJW9Cm.js +3 -0
- package/dist/fennel-RU1EYi0I.cjs +1 -0
- package/dist/find-8kzfNl8Q.js +107 -0
- package/dist/find-D49DDMOn.cjs +1 -0
- package/dist/fish--5Qbt4_-.cjs +1 -0
- package/dist/fish-Cl8O7-1O.js +3 -0
- package/dist/flowDiagram-23GEKE2U-BIAXSHCZ.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-FteV-tpU.js +17 -0
- package/dist/fluent-B0YyYoEC.js +3 -0
- package/dist/fluent-CqQ_wVqT.cjs +1 -0
- package/dist/fortran-fixed-form-BPVXUvGc.cjs +1 -0
- package/dist/fortran-fixed-form-Cxg1zLtO.js +5 -0
- package/dist/fortran-free-form-f48WwHdi.js +3 -0
- package/dist/fortran-free-form-wAUw7GO7.cjs +1 -0
- package/dist/fsharp-D4kfoNJ7.js +5 -0
- package/dist/fsharp-Dkh04On7.cjs +1 -0
- package/dist/ganttDiagram-NO4QXBWP-B8AFbqrz.js +3084 -0
- package/dist/ganttDiagram-NO4QXBWP-iuUxsjHH.cjs +292 -0
- package/dist/gdresource-C3LE_wel.js +10 -0
- package/dist/gdresource-DOgNDMAP.cjs +1 -0
- package/dist/gdscript-697ItOg3.js +3 -0
- package/dist/gdscript-AA2UfFO_.cjs +1 -0
- package/dist/gdshader-BahZb96R.js +3 -0
- package/dist/gdshader-Bf5fzism.cjs +1 -0
- package/dist/genie-DaIfgQYl.js +3 -0
- package/dist/genie-IAbcuR8x.cjs +1 -0
- package/dist/gherkin-0dxzekuL.js +3 -0
- package/dist/gherkin-BOoUZ55R.cjs +1 -0
- package/dist/git-commit-CQ35rNAw.js +5 -0
- package/dist/git-commit-CoIFbnBM.cjs +1 -0
- package/dist/git-rebase-BUotlrNG.js +5 -0
- package/dist/git-rebase-bioQjlhA.cjs +1 -0
- package/dist/gitGraph-TEB2WS4Q-DQ-Mge2t.cjs +1 -0
- package/dist/gitGraph-TEB2WS4Q-DuFCGfar.js +3 -0
- package/dist/gitGraphDiagram-IHSO6WYX-CpjxCJlh.js +729 -0
- package/dist/gitGraphDiagram-IHSO6WYX-TXisRU_i.cjs +106 -0
- package/dist/github-dark-BVSmXPiH.js +4 -0
- package/dist/github-dark-default-D_WiUS3j.cjs +1 -0
- package/dist/github-dark-default-VbvJ-ilw.js +4 -0
- package/dist/github-dark-dimmed-BVZ6NmlH.js +4 -0
- package/dist/github-dark-dimmed-CF-d-yzu.cjs +1 -0
- package/dist/github-dark-high-contrast-B28XrSlN.cjs +1 -0
- package/dist/github-dark-high-contrast-Cu_F5fce.js +4 -0
- package/dist/github-dark-lSLm2DGc.cjs +1 -0
- package/dist/github-light-5VJ9LmmZ.cjs +1 -0
- package/dist/github-light-Dtf7jHNG.js +4 -0
- package/dist/github-light-default-CfhvIofU.cjs +1 -0
- package/dist/github-light-default-ChKQp2aO.js +4 -0
- package/dist/github-light-high-contrast-2daONXzf.cjs +1 -0
- package/dist/github-light-high-contrast-CfdjYrkI.js +4 -0
- package/dist/gleam-DyHWdg1e.js +3 -0
- package/dist/gleam-uW2PZxh0.cjs +1 -0
- package/dist/glimmer-js-Ciof3QL9.js +14 -0
- package/dist/glimmer-js-DiIpfAHi.cjs +1 -0
- package/dist/glimmer-ts-BGK6t0VF.js +14 -0
- package/dist/glimmer-ts-D7kaiXm8.cjs +1 -0
- package/dist/glsl-BK7MJn4u.js +6 -0
- package/dist/glsl-QqXZ78Kg.cjs +1 -0
- package/dist/gnuplot-5XuWKCad.js +3 -0
- package/dist/gnuplot-CFHC6IzT.cjs +1 -0
- package/dist/go-Bv7fxmN-.cjs +1 -0
- package/dist/go-C_wi3fjb.js +3 -0
- package/dist/graphlib-B0pkl27u.cjs +1 -0
- package/dist/graphlib-DjREGp7-.js +340 -0
- package/dist/graphql--1t261Yk.js +15 -0
- package/dist/graphql-wVo4PHpT.cjs +1 -0
- package/dist/groovy-AC3I0XgS.cjs +1 -0
- package/dist/groovy-BmEdfp0z.js +3 -0
- package/dist/hack-C4FKqOSK.cjs +1 -0
- package/dist/hack-DK3t1k__.js +10 -0
- package/dist/haml-B3VLhRsZ.js +11 -0
- package/dist/haml-CQ-lzphw.cjs +1 -0
- package/dist/handlebars-POWurPLW.cjs +1 -0
- package/dist/handlebars-_qNUzqAO.js +14 -0
- package/dist/haskell-BVQlrU40.cjs +1 -0
- package/dist/haskell-CZshrN4v.js +3 -0
- package/dist/haxe-CIeDdEBx.js +3 -0
- package/dist/haxe-CidPNuKh.cjs +1 -0
- package/dist/hcl-BrEqO7Sq.cjs +1 -0
- package/dist/hcl-DRqyh8D_.js +3 -0
- package/dist/hjson-CVbBR8Ay.cjs +1 -0
- package/dist/hjson-D-HSEzgv.js +3 -0
- package/dist/hlsl-DQCtPnLa.js +3 -0
- package/dist/hlsl-ze_s5DJn.cjs +1 -0
- package/dist/houston-BscSB6JY.js +4 -0
- package/dist/houston-BtgI9cLW.cjs +1 -0
- package/dist/html-D_OBWe7R.js +11 -0
- package/dist/html-derivative-Dq3Sh7mm.cjs +1 -0
- package/dist/html-derivative-XT6VOD81.js +6 -0
- package/dist/html-mo6ldvys.cjs +1 -0
- package/dist/http-C2taPV9U.cjs +1 -0
- package/dist/http-CdMPSPdd.js +14 -0
- package/dist/hxml-CHo8HAT-.js +5 -0
- package/dist/hxml-Dkp_OvfK.cjs +1 -0
- package/dist/hy-DB6h75gj.js +3 -0
- package/dist/hy-JhxQ7Sq3.cjs +1 -0
- package/dist/imba-BMaY4ENg.cjs +1 -0
- package/dist/imba-B_ww4ZTP.js +5 -0
- package/dist/index.cjs +352 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.mjs +25941 -0
- package/dist/index2-Db29305J.cjs +1 -0
- package/dist/index2-QpsswhC2.js +129 -0
- package/dist/index3-B9UVcR3x.cjs +1 -0
- package/dist/index3-CSFQ35FU.js +125 -0
- package/dist/index4-BjmzmXkZ.cjs +2 -0
- package/dist/index4-CzKbdrmD.js +1166 -0
- package/dist/index5-CjNnYoXJ.js +688 -0
- package/dist/index5-CvMqoYtf.cjs +1 -0
- package/dist/index6-BUkE1lni.js +468 -0
- package/dist/index6-DwZeyaka.cjs +1 -0
- package/dist/index7-CCL1p1Eh.cjs +1 -0
- package/dist/index7-D-76uUB1.js +7 -0
- package/dist/info-DKCQHKI2-CVAfu3m_.cjs +1 -0
- package/dist/info-DKCQHKI2-X1UEZeu5.js +3 -0
- package/dist/infoDiagram-FWYZ7A6U-BQ-pmobf.js +20 -0
- package/dist/infoDiagram-FWYZ7A6U-BTUkuUAu.cjs +2 -0
- package/dist/infographic_markstream-vue-DH5naZYC.js +5 -0
- package/dist/infographic_markstream-vue-DMdeL6IU.cjs +1 -0
- package/dist/ini-1ngrKrS7.js +3 -0
- package/dist/ini-DrnN5Bei.cjs +1 -0
- package/dist/init-07zIhv_j.cjs +1 -0
- package/dist/init-Co4dhKfe.js +15 -0
- package/dist/isEmpty-9fTBY8_5.js +929 -0
- package/dist/isEmpty-DaIHfoaK.cjs +1 -0
- package/dist/ishikawaDiagram-FXEZZL3T-DAFpMtyi.cjs +70 -0
- package/dist/ishikawaDiagram-FXEZZL3T-Dldh7OZP.js +719 -0
- package/dist/java-CCeor0rw.js +5 -0
- package/dist/java-DtOeEWAB.cjs +1 -0
- package/dist/javascript-1Zv2m4qT.cjs +1 -0
- package/dist/javascript-Bx27vxbw.js +5 -0
- package/dist/jinja-Bo4OY5rp.cjs +1 -0
- package/dist/jinja-DUV-rjqE.js +5 -0
- package/dist/jison-BHS26PqW.cjs +1 -0
- package/dist/jison-lY_a1uD8.js +5 -0
- package/dist/journeyDiagram-5HDEW3XC-BoJvuLAJ.cjs +139 -0
- package/dist/journeyDiagram-5HDEW3XC-DWc-P146.js +884 -0
- package/dist/json-As0Z6gXq.js +5 -0
- package/dist/json-B31_sYlO.cjs +1 -0
- package/dist/json5-B0AZLeeE.cjs +1 -0
- package/dist/json5-CkR44bl5.js +3 -0
- package/dist/jsonc-BhRQOhO0.js +3 -0
- package/dist/jsonc-zSGaK820.cjs +1 -0
- package/dist/jsonl-BWEDeKY6.js +3 -0
- package/dist/jsonl-mSW-3clM.cjs +1 -0
- package/dist/jsonnet-D8xj-VWe.js +3 -0
- package/dist/jsonnet-xnK8ISOr.cjs +1 -0
- package/dist/jssm-BqqNlOWn.js +3 -0
- package/dist/jssm-Dc68VWf8.cjs +1 -0
- package/dist/jsx-CHdPoawR.cjs +1 -0
- package/dist/jsx-DcWc-BUA.js +5 -0
- package/dist/julia-A2t8dw8p.cjs +1 -0
- package/dist/julia-JllIpLrt.js +16 -0
- package/dist/kanagawa-dragon-C_H008Ji.cjs +1 -0
- package/dist/kanagawa-dragon-CzUH0vOV.js +4 -0
- package/dist/kanagawa-lotus-CWHrabz1.js +4 -0
- package/dist/kanagawa-lotus-DuABjfU_.cjs +1 -0
- package/dist/kanagawa-wave-B27tzldJ.js +4 -0
- package/dist/kanagawa-wave-D93njvJc.cjs +1 -0
- package/dist/kanban-definition-HUTT4EX6-4QNogezI.js +975 -0
- package/dist/kanban-definition-HUTT4EX6-CSpYoE2w.cjs +89 -0
- package/dist/katex-mzuGQl-k.cjs +257 -0
- package/dist/katex-uQfgtQZ-.js +21962 -0
- package/dist/kotlin-CkALtvL4.js +3 -0
- package/dist/kotlin-x64ufdmW.cjs +1 -0
- package/dist/kusto-Cc3N9caa.js +3 -0
- package/dist/kusto-YvjJ-Hwr.cjs +1 -0
- package/dist/languageIconExtended-5rP5TRI7.cjs +116 -0
- package/dist/languageIconExtended-BKBNbfml.js +37 -0
- package/dist/laserwave-Q0rnzsLB.js +4 -0
- package/dist/laserwave-TFMEGQQo.cjs +1 -0
- package/dist/latex-B4owy79D.js +5 -0
- package/dist/latex-DPkqFaSl.cjs +1 -0
- package/dist/lean-CYVERefS.cjs +1 -0
- package/dist/lean-Dg5VYRtH.js +3 -0
- package/dist/less-BW5l_msz.js +3 -0
- package/dist/less-DKjtszmK.cjs +1 -0
- package/dist/light-plus-D1TTTooO.js +4 -0
- package/dist/light-plus-lbGw82Zw.cjs +1 -0
- package/dist/line-QnKkzT3y.js +34 -0
- package/dist/line-umMVu17Q.cjs +1 -0
- package/dist/linear-Cl2-QuPP.cjs +1 -0
- package/dist/linear-D5gAG4Dc.js +289 -0
- package/dist/liquid-DOhZfMRk.cjs +1 -0
- package/dist/liquid-DbDSSGUn.js +14 -0
- package/dist/log-C02Mufkv.js +3 -0
- package/dist/log-Dn7sU6Qz.cjs +1 -0
- package/dist/logo-CCpvPvYW.cjs +1 -0
- package/dist/logo-CESV6ppB.js +3 -0
- package/dist/lua-BWV9zmiO.js +6 -0
- package/dist/lua-BZylxbuX.cjs +1 -0
- package/dist/luau-CO1iqemL.js +3 -0
- package/dist/luau-D5ttg_a3.cjs +1 -0
- package/dist/make-BorM9pEX.js +3 -0
- package/dist/make-OoJyrwI_.cjs +1 -0
- package/dist/map-CnWYCApZ.cjs +1 -0
- package/dist/map-DmTyBWxT.js +16 -0
- package/dist/markdown-Dehhcpca.cjs +1 -0
- package/dist/markdown-bvZ2LFQ7.js +3 -0
- package/dist/marko-9qP7O73P.js +14 -0
- package/dist/marko-CkDNu79_.cjs +1 -0
- package/dist/material-theme-BkOXIsau.cjs +1 -0
- package/dist/material-theme-RBxZ7zcK.js +4 -0
- package/dist/material-theme-darker-CDq_a3lh.cjs +1 -0
- package/dist/material-theme-darker-CJJd5EpQ.js +4 -0
- package/dist/material-theme-lighter-0ylr_FPD.js +4 -0
- package/dist/material-theme-lighter-CSQ2VYal.cjs +1 -0
- package/dist/material-theme-ocean-BlU8W8uQ.js +4 -0
- package/dist/material-theme-ocean-kObtq4AQ.cjs +1 -0
- package/dist/material-theme-palenight-D1I1vvpR.cjs +1 -0
- package/dist/material-theme-palenight-Di4FHq0q.js +4 -0
- package/dist/matlab-CL6DKGr6.cjs +1 -0
- package/dist/matlab-CWaaTDe1.js +3 -0
- package/dist/mdc-D8ytkkcj.js +12 -0
- package/dist/mdc-DixMyBlq.cjs +1 -0
- package/dist/mdx-BYvRDPL7.cjs +1 -0
- package/dist/mdx-CwEa7e3y.js +3 -0
- package/dist/mermaid-CX3dK12k.cjs +1 -0
- package/dist/mermaid-Z3pEhdr4.js +3 -0
- package/dist/mermaid-parser.core-Bhhg_EMD.js +638 -0
- package/dist/mermaid-parser.core-C0weIoPn.cjs +6 -0
- package/dist/mermaid.core-CbBmSLjg.js +817 -0
- package/dist/mermaid.core-CsEkQu6v.cjs +10 -0
- package/dist/mhchem-CGx3NnwF.js +1762 -0
- package/dist/mhchem-DMzgkAws.cjs +1 -0
- package/dist/min-dark-BRRwK1lu.js +4 -0
- package/dist/min-dark-BVfJIgG3.cjs +1 -0
- package/dist/min-light-Bqm_Wy8m.js +4 -0
- package/dist/min-light-CpbVExmt.cjs +1 -0
- package/dist/mindmap-definition-LN4V7U3C-B29e6fR_.cjs +96 -0
- package/dist/mindmap-definition-LN4V7U3C-BUSRrZX0.js +1008 -0
- package/dist/mipsasm-CmvfwuBg.js +3 -0
- package/dist/mipsasm-Dmsj67N7.cjs +1 -0
- package/dist/mojo-CFCIR8gy.cjs +1 -0
- package/dist/mojo-emijrbEC.js +3 -0
- package/dist/monokai-BQ1cZfkR.cjs +1 -0
- package/dist/monokai-KOBwLR5r.js +4 -0
- package/dist/move-BtWg9WSG.js +3 -0
- package/dist/move-DFUk3AJ3.cjs +1 -0
- package/dist/narrat-CE6tJc3S.js +3 -0
- package/dist/narrat-DfhrkvLZ.cjs +1 -0
- package/dist/netstar-ai-chat.css +2 -0
- package/dist/nextflow-D8RM97Up.cjs +1 -0
- package/dist/nextflow-DIQqWNA9.js +3 -0
- package/dist/nginx-8x8qY3Vr.js +5 -0
- package/dist/nginx-DFfEIEnK.cjs +1 -0
- package/dist/night-owl-C0QObreH.cjs +1 -0
- package/dist/night-owl-DS6PHOBH.js +4 -0
- package/dist/nim-BIbchMrJ.cjs +1 -0
- package/dist/nim-nIS1y_GA.js +20 -0
- package/dist/nix-BeOLKLuV.js +3 -0
- package/dist/nix-D5-3ErHy.cjs +1 -0
- package/dist/nord-CA9ic6hU.cjs +1 -0
- package/dist/nord-CqaxQpqw.js +4 -0
- package/dist/nushell-BNdP_dr6.cjs +1 -0
- package/dist/nushell-BSiFk-Bi.js +3 -0
- package/dist/objective-c-BoPltVXU.cjs +1 -0
- package/dist/objective-c-D4ODnIJv.js +3 -0
- package/dist/objective-cpp-BC5VHuf6.cjs +1 -0
- package/dist/objective-cpp-CFzZBsJ8.js +3 -0
- package/dist/ocaml-DjzTWzJR.cjs +1 -0
- package/dist/ocaml-ygyAtqA3.js +3 -0
- package/dist/one-dark-pro-BiLpJ3Ut.cjs +1 -0
- package/dist/one-dark-pro-n87lL4ex.js +4 -0
- package/dist/one-light-BHJM53xo.cjs +1 -0
- package/dist/one-light-DHV5uJWg.js +4 -0
- package/dist/ordinal-95c16pGC.js +65 -0
- package/dist/ordinal-CUPR-p0T.cjs +1 -0
- package/dist/packet-7NZHBO7P-CWI1wkgR.js +3 -0
- package/dist/packet-7NZHBO7P-olpQFy19.cjs +1 -0
- package/dist/pascal-BCxfk_0K.cjs +1 -0
- package/dist/pascal-Cp3o03W3.js +3 -0
- package/dist/path-BECm07xX.js +85 -0
- package/dist/path-Kklx0M1v.cjs +1 -0
- package/dist/pegDiagram-2B236MQR-5may-nQh.cjs +1 -0
- package/dist/pegDiagram-2B236MQR-BlS7jv2X.js +94 -0
- package/dist/perl-B32vckzd.cjs +1 -0
- package/dist/perl-Caha11sj.js +16 -0
- package/dist/php-BZdcwfk-.cjs +1 -0
- package/dist/php-Dd_dF-AL.js +18 -0
- package/dist/pie-RZYD4A2V-CyOF19CW.js +3 -0
- package/dist/pie-RZYD4A2V-KV7VmSAP.cjs +1 -0
- package/dist/pieDiagram-ENE6RG2P-B5uibzAn.js +205 -0
- package/dist/pieDiagram-ENE6RG2P-peGWddZk.cjs +39 -0
- package/dist/plastic-CFgeDarh.cjs +1 -0
- package/dist/plastic-CfcNj0mY.js +4 -0
- package/dist/plsql-ak2Z7rg2.cjs +1 -0
- package/dist/plsql-x7conUc6.js +3 -0
- package/dist/po--CQNV_Eo.js +3 -0
- package/dist/po-DPOakX0_.cjs +1 -0
- package/dist/poimandres-B2kS4VCU.cjs +1 -0
- package/dist/poimandres-CSgoTNSr.js +4 -0
- package/dist/polar-DZoPeUtu.js +3 -0
- package/dist/polar-MGc0OyxL.cjs +1 -0
- package/dist/postcss-BAYQYIpZ.js +3 -0
- package/dist/postcss-DwSR_Nna.cjs +1 -0
- package/dist/powerquery-B9PiNUFU.js +3 -0
- package/dist/powerquery-bShN3jEf.cjs +1 -0
- package/dist/powershell-DGeGpYK6.cjs +1 -0
- package/dist/powershell-DmbTGv4H.js +3 -0
- package/dist/prisma-DcdjiSgR.js +3 -0
- package/dist/prisma-qjGbhxmN.cjs +1 -0
- package/dist/prolog-3Sh8TEBQ.js +3 -0
- package/dist/prolog-DOzeE1gX.cjs +1 -0
- package/dist/proto-BKmbHU2z.js +3 -0
- package/dist/proto-CQtcOaoZ.cjs +1 -0
- package/dist/pug-CQRIElQa.cjs +1 -0
- package/dist/pug-PKxYWb_o.js +12 -0
- package/dist/puppet-CMc7WUL-.js +3 -0
- package/dist/puppet-DXMJeNAQ.cjs +1 -0
- package/dist/purescript-BmHbM-d_.cjs +1 -0
- package/dist/purescript-CJV-ANk0.js +3 -0
- package/dist/python-Dgo3Imqt.js +3 -0
- package/dist/python-y8JZoKTg.cjs +1 -0
- package/dist/qml-DGggscta.cjs +1 -0
- package/dist/qml-znAETRGB.js +5 -0
- package/dist/qmldir-BSWsNKCW.js +3 -0
- package/dist/qmldir-Wb6QN41x.cjs +1 -0
- package/dist/qss-P1EyCZ52.js +3 -0
- package/dist/qss-b49hd9Kf.cjs +1 -0
- package/dist/quadrantDiagram-ABIIQ3AL-0axZxxZT.cjs +7 -0
- package/dist/quadrantDiagram-ABIIQ3AL-el6K_cdK.js +2001 -0
- package/dist/r-Q1Syx2NF.js +5 -0
- package/dist/r-VgF6jsMr.cjs +1 -0
- package/dist/racket-DIriCx31.cjs +1 -0
- package/dist/racket-DKb_r0U5.js +3 -0
- package/dist/radar-I7S5WNFK-BjTQsjn9.cjs +1 -0
- package/dist/radar-I7S5WNFK-DXOk1lH0.js +3 -0
- package/dist/railroad-3IZDKUUU-BudmQt4z.js +3 -0
- package/dist/railroad-3IZDKUUU-CVKrVFrS.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-BEuRVGxN.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-Bs1OWkDS.js +3 -0
- package/dist/railroad-ebnf-EBAXGLYW-Cih63c2z.cjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-DN3oF240.js +3 -0
- package/dist/railroad-peg-LSFZ7HO6--hTz8Aio.js +3 -0
- package/dist/railroad-peg-LSFZ7HO6-DbHn_Dfb.cjs +1 -0
- package/dist/railroadDiagram-RFXS5EU6-CCPPrI-t.js +76 -0
- package/dist/railroadDiagram-RFXS5EU6-DI-XxXi4.cjs +1 -0
- package/dist/raku-DM0xz1qH.js +3 -0
- package/dist/raku-aSFsj2VS.cjs +1 -0
- package/dist/razor-ClXepwCg.cjs +1 -0
- package/dist/razor-DoIrK7wH.js +10 -0
- package/dist/red-CuDZBeel.js +4 -0
- package/dist/red-utLotyz8.cjs +1 -0
- package/dist/reg-Bc7EZp_L.js +3 -0
- package/dist/reg-GmnSXO4L.cjs +1 -0
- package/dist/regexp-CjKnir1L.js +5 -0
- package/dist/regexp-CjwGKeJO.cjs +1 -0
- package/dist/rel-DMLolXbX.cjs +1 -0
- package/dist/rel-DT4yPypn.js +3 -0
- package/dist/requirementDiagram-TGXJPOKE-BxnKsGpN.cjs +84 -0
- package/dist/requirementDiagram-TGXJPOKE-FQoCKQHp.js +2223 -0
- package/dist/riscv-9-ahY7jN.js +3 -0
- package/dist/riscv-DWfvSg0U.cjs +1 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
- package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
- package/dist/rose-pine-BTVbOgGM.cjs +1 -0
- package/dist/rose-pine-Dsg47IX4.js +4 -0
- package/dist/rose-pine-dawn-C49-oxm2.js +4 -0
- package/dist/rose-pine-dawn-y8-MyOw6.cjs +1 -0
- package/dist/rose-pine-moon-BZmq4QbO.cjs +1 -0
- package/dist/rose-pine-moon-D19T_UYY.js +4 -0
- package/dist/rough.esm-B7woRVjF.js +1352 -0
- package/dist/rough.esm-r0QOSzHM.cjs +1 -0
- package/dist/rst-9SsxKThC.cjs +1 -0
- package/dist/rst-Ct-G6CIi.js +22 -0
- package/dist/ruby-CHhXdqUe.js +30 -0
- package/dist/ruby-q98Sa-C-.cjs +1 -0
- package/dist/rust-BbRDDZlI.js +3 -0
- package/dist/rust-DhJ-EsMg.cjs +1 -0
- package/dist/sankeyDiagram-HTMAVEWB-1N6666do.cjs +40 -0
- package/dist/sankeyDiagram-HTMAVEWB-CRbnmmPK.js +970 -0
- package/dist/sas-DhbnVUXW.cjs +1 -0
- package/dist/sas-nwN47Ppz.js +5 -0
- package/dist/sass-C3mlvlBn.js +3 -0
- package/dist/sass-MDtHeILc.cjs +1 -0
- package/dist/scala-BV3NjK9f.cjs +1 -0
- package/dist/scala-GwvQo9dz.js +3 -0
- package/dist/scheme-C_T6Gr_E.js +3 -0
- package/dist/scheme-DaNTt7Ra.cjs +1 -0
- package/dist/scss-KLMxyv4f.js +6 -0
- package/dist/scss-KgcvXJOI.cjs +1 -0
- package/dist/sdbl-9Nf-vYL_.cjs +1 -0
- package/dist/sdbl-BGVcFmba.js +3 -0
- package/dist/sequenceDiagram-DBY2YBRQ-B0eyTzj-.js +4168 -0
- package/dist/sequenceDiagram-DBY2YBRQ-ouUfS-aJ.cjs +162 -0
- package/dist/shaderlab-AMREd5T9.cjs +1 -0
- package/dist/shaderlab-yvRlOGRS.js +5 -0
- package/dist/shellscript-BRXFilKi.cjs +1 -0
- package/dist/shellscript-DsmUQZdg.js +5 -0
- package/dist/shellsession-BtjfrBaH.cjs +1 -0
- package/dist/shellsession-DQ_F9Wr_.js +5 -0
- package/dist/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
- package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
- package/dist/slack-dark-BzBaQ0xz.js +4 -0
- package/dist/slack-dark-DDeCEapU.cjs +1 -0
- package/dist/slack-ochin-Cnjuvrsj.js +4 -0
- package/dist/slack-ochin-DLKW_Bxr.cjs +1 -0
- package/dist/smalltalk-BN2TAEzt.js +3 -0
- package/dist/smalltalk-Dfg_7NMl.cjs +1 -0
- package/dist/snazzy-light-CO8ltd4m.js +4 -0
- package/dist/snazzy-light-Cb_pyD6_.cjs +1 -0
- package/dist/solarized-dark-CqgMwhwG.cjs +1 -0
- package/dist/solarized-dark-vcCVwuVC.js +4 -0
- package/dist/solarized-light-BgVA2R62.js +4 -0
- package/dist/solarized-light-U0ItNhXi.cjs +1 -0
- package/dist/solidity-bpqb7ojf.cjs +1 -0
- package/dist/solidity-idpkkykB.js +3 -0
- package/dist/soy-D11BGnGf.cjs +1 -0
- package/dist/soy-D5hACXEU.js +5 -0
- package/dist/sparql-D2f6sVo0.cjs +1 -0
- package/dist/sparql-DvWZ0oTn.js +5 -0
- package/dist/splunk-CC1SfDSs.cjs +1 -0
- package/dist/splunk-W3Nh1Gtf.js +3 -0
- package/dist/sql-BE7gM4sJ.js +5 -0
- package/dist/sql-CAKohXJZ.cjs +1 -0
- package/dist/src-CR--T_NF.cjs +1 -0
- package/dist/src-DR6txdQ-.js +2142 -0
- package/dist/ssh-config-Dn_5wFSU.cjs +1 -0
- package/dist/ssh-config-lL0vBG-J.js +3 -0
- package/dist/stata-DeV05m63.js +5 -0
- package/dist/stata-ckWyZ9G6.cjs +1 -0
- package/dist/stateDiagram-2N3HPSRC-DaporqgM.js +220 -0
- package/dist/stateDiagram-2N3HPSRC-DrVYkEQ-.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-DZ0YarTq.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-iNhJP0se.js +30 -0
- package/dist/stylus-7dQPGNPK.js +3 -0
- package/dist/stylus-CEIbUfUR.cjs +1 -0
- package/dist/svelte-BBzqqTAG.cjs +1 -0
- package/dist/svelte-DuClbIDV.js +14 -0
- package/dist/swift-BfppNwCZ.js +3 -0
- package/dist/swift-Dbq1ciSe.cjs +1 -0
- package/dist/swimlanes-5IMT3BWC-BkAqjD-a.cjs +1 -0
- package/dist/swimlanes-5IMT3BWC-Cl0MBCBd.js +5066 -0
- package/dist/swimlanesDiagram-G3AALYLV-Bh7l_29Y.cjs +8 -0
- package/dist/swimlanesDiagram-G3AALYLV-Bs_bljXb.js +31 -0
- package/dist/synthwave-84-CmyDaNXM.js +4 -0
- package/dist/synthwave-84-vhaAnDJD.cjs +1 -0
- package/dist/system-verilog-CBp9ww7I.js +3 -0
- package/dist/system-verilog-DyrRIUre.cjs +1 -0
- package/dist/systemd-CimDnTNX.cjs +1 -0
- package/dist/systemd-oFJVdchd.js +3 -0
- package/dist/talonscript-2QSX5qC5.cjs +1 -0
- package/dist/talonscript-BxIWRwbR.js +3 -0
- package/dist/tasl-Bxh5A0Un.js +3 -0
- package/dist/tasl-DkVK1Vvo.cjs +1 -0
- package/dist/tcl-CNIcTZox.cjs +1 -0
- package/dist/tcl-Yv5TG6Ev.js +3 -0
- package/dist/templ-BNN_ssr9.cjs +1 -0
- package/dist/templ-BxsPIKhr.js +12 -0
- package/dist/terraform-CGGCPjBs.cjs +1 -0
- package/dist/terraform-DLFpHj9I.js +3 -0
- package/dist/tex-DPBa3hMF.cjs +1 -0
- package/dist/tex-DZPZ_tE0.js +5 -0
- package/dist/timeline-definition-FHXFAJF6-Cb_8gFYP.cjs +120 -0
- package/dist/timeline-definition-FHXFAJF6-FkgzuuoZ.js +1069 -0
- package/dist/tokyo-night-BmmxIDHp.js +4 -0
- package/dist/tokyo-night-DXq-AiCd.cjs +1 -0
- package/dist/toml-CJQRMfJQ.cjs +1 -0
- package/dist/toml-Dm2pJ9O8.js +3 -0
- package/dist/treeView-QDETBFTQ-B_LvJjui.cjs +1 -0
- package/dist/treeView-QDETBFTQ-WaAklEEa.js +3 -0
- package/dist/treemap-6X3UGDF4-BZ8Ptxjo.cjs +1 -0
- package/dist/treemap-6X3UGDF4-TbJH_2rS.js +3 -0
- package/dist/ts-tags-BgTM9Oo9.js +38 -0
- package/dist/ts-tags-aCZsPrDI.cjs +1 -0
- package/dist/tsv-AfvsdcL-.js +3 -0
- package/dist/tsv-CrGD5YUm.cjs +1 -0
- package/dist/tsx-Bx4pCqLJ.js +5 -0
- package/dist/tsx-CqEtpJwc.cjs +1 -0
- package/dist/turtle-CSKPMBVG.js +3 -0
- package/dist/turtle-hKghkgYb.cjs +1 -0
- package/dist/twig-B4TBRIrX.cjs +1 -0
- package/dist/twig-BawUFy9o.js +18 -0
- package/dist/types/agent.d.ts +199 -0
- package/dist/typescript-BPkdvRNZ.js +5 -0
- package/dist/typescript-CjwIFskf.cjs +1 -0
- package/dist/typespec-BTz_JMOP.js +3 -0
- package/dist/typespec-DouelPXK.cjs +1 -0
- package/dist/typst-CE4u0InM.js +3 -0
- package/dist/typst-tWpJew-N.cjs +1 -0
- package/dist/v-BsQ8V6u8.js +3 -0
- package/dist/v-C8s-zsPQ.cjs +1 -0
- package/dist/vala-DM-_wXAy.cjs +1 -0
- package/dist/vala-YJiBqBnL.js +3 -0
- package/dist/vb-Bex0KYEQ.js +3 -0
- package/dist/vb-C9lJKj2z.cjs +1 -0
- package/dist/vennDiagram-L72KCM5P-DRanJu29.cjs +34 -0
- package/dist/vennDiagram-L72KCM5P-DigPDc3M.js +1880 -0
- package/dist/verilog-BGHQfpqH.js +3 -0
- package/dist/verilog-DirKIM6M.cjs +1 -0
- package/dist/vesper-B2O42csv.js +4 -0
- package/dist/vesper-DvpD9Vcf.cjs +1 -0
- package/dist/vhdl-BfmNQSSn.js +3 -0
- package/dist/vhdl-CNJHrCfd.cjs +1 -0
- package/dist/viml-B611mZED.cjs +1 -0
- package/dist/viml-CEz_TDNf.js +3 -0
- package/dist/vitesse-black-DC0QCRHA.js +4 -0
- package/dist/vitesse-black-NsXXFHlu.cjs +1 -0
- package/dist/vitesse-dark-Bv5Yx4Rj.js +4 -0
- package/dist/vitesse-dark-D0Ji9E-l.cjs +1 -0
- package/dist/vitesse-light-1Wh4YtKa.cjs +1 -0
- package/dist/vitesse-light-DYJDYLfk.js +4 -0
- package/dist/vue-DPEJC1L8.js +21 -0
- package/dist/vue-DwTH6YhB.cjs +1 -0
- package/dist/vue-html-CDRAOas6.js +10 -0
- package/dist/vue-html-THpxvSNU.cjs +1 -0
- package/dist/vue-i18n-3JaSdo8e.cjs +5 -0
- package/dist/vue-i18n-C_VfkvBa.js +3020 -0
- package/dist/vyper-9K4scKvw.js +3 -0
- package/dist/vyper-c-_n3oeH.cjs +1 -0
- package/dist/wardley-OPB4EBWU-B1lggTfF.cjs +1 -0
- package/dist/wardley-OPB4EBWU-GZ7F_2Eb.js +3 -0
- package/dist/wardleyDiagram-EHGQE667-DQE0RgUA.js +645 -0
- package/dist/wardleyDiagram-EHGQE667-ZqPLK5FR.cjs +78 -0
- package/dist/wasm-B9xa8Mue.js +4 -0
- package/dist/wasm-BIF3u71S.js +3 -0
- package/dist/wasm-DLWzvvDm.cjs +1 -0
- package/dist/wasm-DcRxl4j_.cjs +1 -0
- package/dist/wenyan-6FBHpKQQ.js +3 -0
- package/dist/wenyan-BQyJDXGi.cjs +1 -0
- package/dist/wgsl-0onuchT4.js +3 -0
- package/dist/wgsl-CZxSYjuU.cjs +1 -0
- package/dist/wikitext-C6FMYqyf.js +3 -0
- package/dist/wikitext-DKu5qD0V.cjs +1 -0
- package/dist/wolfram-B2KhbCjm.cjs +1 -0
- package/dist/wolfram-BuhvgrGp.js +3 -0
- package/dist/xml-B8vy9UOv.js +6 -0
- package/dist/xml-CQVcpGJ_.cjs +1 -0
- package/dist/xsl-B6FtdfnY.cjs +1 -0
- package/dist/xsl-DiaKo18G.js +5 -0
- package/dist/xychartDiagram-FW5EYKEG-9RCD4gzs.cjs +7 -0
- package/dist/xychartDiagram-FW5EYKEG-B_EUKZ5E.js +2102 -0
- package/dist/yaml-B-_wC7KV.cjs +1 -0
- package/dist/yaml-CANEFoqw.js +5 -0
- package/dist/zenscript-BSqTPUXj.cjs +1 -0
- package/dist/zenscript-DpMcKymA.js +3 -0
- package/dist/zig-DBCpOdKI.cjs +1 -0
- package/dist/zig-DWkMyyIZ.js +3 -0
- package/package.json +68 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./exports-C8Eu-cBn.cjs");let t=require("vue");var n=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),r=()=>Promise.resolve().then(()=>require("./infographic_markstream-vue-DMdeL6IU.cjs")),i=null,a=r,o=[`data-markstream-mode`],s={key:0},ee={key:1,class:`flex items-center gap-x-2 overflow-hidden`},te=[`src`],ne={key:2},re={class:`flex items-center gap-x-1`},ie={class:`flex items-center gap-x-1`},ae={key:4},oe={key:5,class:`flex items-center gap-x-1`},se=[`aria-pressed`],ce={key:0,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},le={key:1,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},ue=[`disabled`],de=[`disabled`],fe={key:0,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`0.75rem`,height:`0.75rem`,viewBox:`0 0 24 24`},pe={key:1,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`0.75rem`,height:`0.75rem`,viewBox:`0 0 24 24`},me={key:1,class:`relative`},he={key:0,class:`absolute top-2 right-2 z-10 rounded-lg`},ge={class:`flex items-center gap-2 backdrop-blur rounded-lg`},_e={class:`markstream-vue`},ve={class:`absolute top-6 right-6 z-50 flex items-center gap-2`},c=e.E((0,t.defineComponent)({__name:`InfographicBlockNode`,props:{node:{},maxHeight:{default:`500px`},loading:{type:Boolean,default:!0},isDark:{type:Boolean},showHeader:{type:Boolean,default:!0},showModeToggle:{type:Boolean,default:!0},showCopyButton:{type:Boolean,default:!0},showCollapseButton:{type:Boolean,default:!0},showExportButton:{type:Boolean,default:!0},showFullscreenButton:{type:Boolean,default:!0},showZoomControls:{type:Boolean,default:!0}},emits:[`copy`,`export`,`openModal`],setup(c,{emit:ye}){let l=c,{t:u}=e.T(),be=e.y(),d=(0,t.ref)(!1),f=(0,t.ref)(!1),p=(0,t.ref)(),m=(0,t.ref)(),h=(0,t.ref)(!0),g=(0,t.ref)(!1),_=(0,t.ref)(`360px`),v=(0,t.ref)(!1),y=(0,t.ref)(),b=(0,t.ref)(null),x=(0,t.ref)(!1),S=(0,t.ref)(null),C=(0,t.ref)(typeof window>`u`);function w(){if(!m.value)return;let e=m.value.scrollHeight;e>0&&(_.value=function(e){if(!l.maxHeight||l.maxHeight===`none`)return`${e}px`;let t=Number.parseFloat(String(l.maxHeight));return Number.isFinite(t)?`${Math.min(e,t)}px`:`${e}px`}(e))}typeof window<`u`&&(0,t.watch)(()=>p.value,e=>{var t;if((t=S.value)==null||t.destroy(),S.value=null,!e)return void(C.value=!1);let n=be(e,{rootMargin:`160px`});S.value=n,C.value=n.isVisible.value,n.whenVisible.then(()=>{C.value=!0})},{immediate:!0});let T=(0,t.ref)(1),E=(0,t.ref)(0),D=(0,t.ref)(0),O=(0,t.ref)(!1),k=(0,t.ref)({x:0,y:0}),A=(0,t.computed)(()=>l.node.code),xe=(0,t.computed)(()=>A.value);function j(e){return!e||e.disabled}function M(t,n,r=`top`){if(j(t.currentTarget))return;let i=t,a=i?.clientX!=null&&i?.clientY!=null?{x:i.clientX,y:i.clientY}:void 0;e.b(t.currentTarget,n,r,!1,a,l.isDark)}function N(){e.C()}function P(t){if(j(t.currentTarget))return;let n=d.value?u(`common.copied`)||`Copied`:u(`common.copy`)||`Copy`,r=t,i=r?.clientX!=null&&r?.clientY!=null?{x:r.clientX,y:r.clientY}:void 0;e.b(t.currentTarget,n,`top`,!1,i,l.isDark)}function Se(){return n(this,null,function*(){try{let e=A.value;typeof navigator<`u`&&navigator.clipboard&&typeof navigator.clipboard.writeText==`function`&&(yield navigator.clipboard.writeText(e)),d.value=!0,setTimeout(()=>{d.value=!1},1e3)}catch(e){console.error(`Failed to copy:`,e)}})}function F(e){g.value=!0,h.value=e===`source`}function Ce(){let e=m.value?.querySelector(`svg`);e?function(e){n(this,null,function*(){try{let t=new XMLSerializer().serializeToString(e),n=new Blob([t],{type:`image/svg+xml;charset=utf-8`}),r=URL.createObjectURL(n);if(typeof document<`u`){let e=document.createElement(`a`);e.href=r,e.download=`infographic-${Date.now()}.svg`;try{document.body.appendChild(e),e.click(),document.body.removeChild(e)}catch{}URL.revokeObjectURL(r)}}catch(e){console.error(`Failed to export SVG:`,e)}})}(e):console.error(`SVG element not found`)}function I(e){e.key===`Escape`&&v.value&&L()}function L(){if(v.value=!1,y.value&&(y.value.innerHTML=``),b.value=null,typeof document<`u`)try{document.body.style.overflow=``}catch{}if(typeof window<`u`)try{window.removeEventListener(`keydown`,I)}catch{}}function we(){(function(){if(v.value=!0,typeof document<`u`)try{document.body.style.overflow=`hidden`}catch{}if(typeof window<`u`)try{window.addEventListener(`keydown`,I)}catch{}(0,t.nextTick)(()=>{if(m.value&&y.value){y.value.innerHTML=``;let e=document.createElement(`div`);e.style.transition=`transform 0.1s ease`,e.style.transformOrigin=`center center`,e.style.width=`100%`,e.style.height=`100%`,e.style.display=`flex`,e.style.alignItems=`center`,e.style.justifyContent=`center`;let t=m.value.cloneNode(!0);t.classList.add(`fullscreen`),t.style.height=`auto`,e.appendChild(t),y.value.appendChild(e),b.value=e,e.style.transform=`translate(${E.value}px, ${D.value}px) scale(${T.value})`}})})()}function R(){T.value<3&&(T.value+=.1)}function z(){T.value>.5&&(T.value-=.1)}function B(){T.value=1,E.value=0,D.value=0}function V(e){O.value=!0,e instanceof MouseEvent?k.value={x:e.clientX-E.value,y:e.clientY-D.value}:k.value={x:e.touches[0].clientX-E.value,y:e.touches[0].clientY-D.value}}function H(e){if(!O.value)return;let t,n;e instanceof MouseEvent?(t=e.clientX,n=e.clientY):(t=e.touches[0].clientX,n=e.touches[0].clientY),E.value=t-k.value.x,D.value=n-k.value.y}function U(){O.value=!1}let W=null,G=!1,K=!1,q=!1,J=``;function Y(e=!1){return n(this,null,function*(){var o;if(!C.value||!m.value)return;if(G)return K=!0,void(q||=e);let s=xe.value;if(e||s!==J||!x.value){G=!0;try{let e=yield function(){return n(this,null,function*(){if(i)return i;let e=a;if(!e)return null;let t;try{t=yield e()}catch(t){throw e===r?Error(`Optional dependency "@antv/infographic" is not installed. Please install it to enable infographic diagrams.`):t}if(!t)return null;let n=t&&t.default?t.default:t;return i=typeof n==`function`&&n.prototype&&n.prototype.render?n:t.Infographic?t.Infographic:n&&n.Infographic?n.Infographic:n,i})}();if(!e)return void console.warn(`Infographic library failed to load.`);W&&=((o=W.destroy)==null||o.call(W),null),m.value.innerHTML=``,W=new e({container:m.value,width:`100%`,height:`100%`}),W.render(A.value),x.value=!0,J=s,(0,t.nextTick)(()=>{w()})}catch(e){console.error(`Failed to render infographic:`,e),x.value=!1,J=``,m.value&&(m.value.innerHTML=`<div class="text-red-500 p-4">Failed to render infographic: ${e instanceof Error?e.message:`Unknown error`}</div>`)}finally{if(G=!1,K){let e=q;K=!1,q=!1,(0,t.nextTick)(()=>{Y(e)})}}}})}function X(e=!1){!C.value||h.value||f.value||(0,t.nextTick)(()=>{Y(e)})}(0,t.watch)(()=>A.value,()=>{X(!0)}),(0,t.watch)(()=>h.value,e=>{e||X()}),(0,t.watch)(()=>f.value,e=>{e||X()}),(0,t.watch)(()=>l.maxHeight,()=>{(0,t.nextTick)(()=>{w()})}),(0,t.watch)(()=>C.value,e=>{!e||h.value||f.value||X()}),(0,t.onMounted)(()=>{g.value||(h.value=!1),X()}),(0,t.onBeforeUnmount)(()=>{var e,t;if((e=S.value)==null||e.destroy(),S.value=null,W&&=((t=W.destroy)==null||t.call(W),null),J=``,typeof window<`u`)try{window.removeEventListener(`keydown`,I)}catch{}});let Z=(0,t.computed)(()=>l.isDark?`infographic-action-btn p-2 text-xs rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200`:`infographic-action-btn p-2 text-xs rounded text-gray-600 hover:bg-gray-200 hover:text-gray-700`),Q=(0,t.computed)(()=>h.value||f.value),Te=(0,t.computed)(()=>h.value?`fallback`:x.value?`preview`:`pending`),$=(0,t.computed)(()=>({transform:`translate(${E.value}px, ${D.value}px) scale(${T.value})`}));return(0,t.watch)($,e=>{v.value&&b.value&&(b.value.style.transform=e.transform)}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`viewportTarget`,ref:p,class:(0,t.normalizeClass)([`my-4 rounded-lg border overflow-hidden shadow-sm`,[l.isDark?`border-gray-700/30`:`border-gray-200`,{"is-rendering":l.loading}]]),"data-markstream-infographic":`1`,"data-markstream-mode":Te.value},[l.showHeader?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`infographic-block-header flex justify-between items-center px-4 py-2.5 border-b`,l.isDark?`bg-gray-800 border-gray-700/30`:`bg-gray-50 border-gray-200`])},[e.$slots[`header-left`]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,s,[(0,t.renderSlot)(e.$slots,`header-left`,{},void 0,!0)])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ee,[(0,t.createElementVNode)(`img`,{src:(0,t.unref)(`data:image/svg+xml,%3csvg%20width='15.52'%20height='16'%20viewBox='0%200%20291%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3cpath%20d='M140.904%20239.376C128.83%20239.683%20119.675%20239.299%20115.448%20243.843C110.902%20248.07%20111.288%20257.227%20110.979%20269.302C111.118%20274.675%20111.118%20279.478%20111.472%20283.52C111.662%20285.638%20111.95%20287.547%20112.406%20289.224C112.411%20289.243%20112.416%20289.259%20112.422%20289.28C112.462%20289.419%20112.496%20289.558%20112.539%20289.691C113.168%20291.787%20114.088%20293.491%20115.446%20294.758C116.662%20296.064%20118.283%20296.963%20120.264%20297.59C120.36%20297.614%20120.464%20297.646%20120.555%20297.675C120.56%20297.68%20120.56%20297.68%20120.566%20297.68C120.848%20297.768%20121.142%20297.846%20121.443%20297.923C121.454%20297.923%20121.464%20297.928%20121.478%20297.934C122.875%20298.272%20124.424%20298.507%20126.11%20298.678C126.326%20298.696%20126.542%20298.718%20126.763%20298.739C130.79%20299.086%20135.558%20299.088%20140.904%20299.222C152.974%20298.912%20162.128%20299.302%20166.36%20294.758C170.904%20290.526%20170.515%20281.371%20170.824%20269.302C170.515%20257.227%20170.907%20248.07%20166.36%20243.843C162.131%20239.299%20152.974%20239.683%20140.904%20239.376Z'%20fill='%23FF6376'%3e%3c/path%3e%3cpath%20d='M21.2155%20128.398C12.6555%20128.616%206.16484%20128.339%203.16751%20131.56C-0.0538222%20134.56%200.218178%20141.054%20-0.000488281%20149.608C0.218178%20158.168%20-0.0538222%20164.659%203.16751%20167.656C6.16484%20170.878%2012.6555%20170.606%2021.2155%20170.824C25.0262%20170.726%2028.4288%20170.726%2031.2955%20170.475C32.7968%20170.342%2034.1488%20170.136%2035.3382%20169.814C35.3542%20169.811%2035.3648%20169.806%2035.3782%20169.803C35.4768%20169.774%2035.5755%20169.747%2035.6688%20169.718C37.1568%20169.272%2038.3648%20168.622%2039.2635%20167.656C40.1915%20166.795%2040.8262%20165.646%2041.2715%20164.243C41.2875%20164.174%2041.3115%20164.102%2041.3328%20164.035C41.3328%20164.035%2041.3355%20164.032%2041.3355%20164.027C41.3968%20163.827%2041.4529%20163.622%2041.5062%20163.406C41.5062%20163.398%2041.5115%20163.392%2041.5142%20163.382C41.7542%20162.392%2041.9222%20161.294%2042.0422%20160.096C42.0555%20159.944%2042.0715%20159.792%2042.0848%20159.635C42.3328%20156.779%2042.3328%20153.398%2042.4262%20149.608C42.2075%20141.054%2042.4848%20134.56%2039.2635%20131.56C36.2635%20128.339%2029.7728%20128.616%2021.2155%20128.398Z'%20fill='%23FFCCCC'%3e%3c/path%3e%3cpath%20d='M81.0595%20184.171C70.8568%20184.433%2063.1208%20184.102%2059.5475%20187.942C55.7075%20191.518%2056.0328%20199.254%2055.7742%20209.454C56.0328%20219.657%2055.7075%20227.393%2059.5475%20230.963C63.1208%20234.803%2070.8568%20234.478%2081.0595%20234.739C85.6008%20234.622%2089.6595%20234.622%2093.0728%20234.323C94.8648%20234.163%2096.4755%20233.921%2097.8942%20233.534C97.9102%20233.529%2097.9235%20233.526%2097.9422%20233.521C98.0568%20233.486%2098.1742%20233.457%2098.2888%20233.422C100.06%20232.889%20101.5%20232.113%20102.569%20230.963C103.676%20229.937%20104.433%20228.566%20104.964%20226.894C104.985%20226.811%20105.012%20226.726%20105.036%20226.646C105.041%20226.643%20105.041%20226.643%20105.041%20226.638C105.116%20226.401%20105.18%20226.153%20105.244%20225.897C105.244%20225.889%20105.249%20225.881%20105.254%20225.867C105.54%20224.689%20105.74%20223.379%20105.881%20221.953C105.9%20221.771%20105.916%20221.59%20105.934%20221.403C106.228%20218.001%20106.228%20213.969%20106.342%20209.454C106.081%20199.254%20106.412%20191.518%20102.572%20187.942C98.9955%20184.102%2091.2568%20184.433%2081.0595%20184.171Z'%20fill='%23FF939F'%3e%3c/path%3e%3cpath%20d='M260.591%20151.87C215.652%20151.87%20203.02%20164.523%20203.02%20209.462H198.476C198.476%20164.523%20185.836%20151.881%20140.895%20151.881V147.337C185.836%20147.337%20198.487%20134.705%20198.487%2089.7659H203.02C203.02%20134.705%20215.652%20147.337%20260.591%20147.337V151.87ZM286.052%20124.158C281.82%20119.614%20272.66%20120.001%20260.591%20119.689C248.521%20119.385%20239.361%20119.771%20235.129%20115.227C230.585%20110.995%20230.983%20101.846%20230.671%2089.7659C230.513%2083.7312%20230.535%2078.4272%20230.023%2074.1019C229.513%2069.7659%20228.481%2066.4219%20226.209%2064.3046C221.967%2059.7606%20212.817%2060.1472%20200.748%2059.8459C188.681%2060.1472%20179.519%2059.7606%20175.287%2064.3046C170.753%2068.5366%20171.129%2077.6966%20170.828%2089.7659C170.516%20101.835%20170.9%20110.995%20166.356%20115.227C162.124%20119.771%20152.985%20119.374%20140.905%20119.689C138.873%20119.739%20136.924%20119.771%20135.071%20119.811C119.313%20118.697%20106.337%20112.318%20106.337%2089.7659C106.212%2084.6699%20106.233%2080.1792%20105.807%2076.5206C105.367%2072.8726%20104.492%2070.0379%20102.575%2068.2566C99.0013%2064.4112%2091.2573%2064.7446%2081.0653%2064.4832C70.86%2064.7446%2063.1186%2064.4112%2059.5533%2068.2566C55.708%2071.8299%2056.0306%2079.5632%2055.7693%2089.7659C56.0306%2099.9686%2055.708%20107.702%2059.5533%20111.278C63.1186%20115.113%2070.86%20114.79%2081.0653%20115.049C103.617%20115.049%20109.996%20128.035%20111.1%20143.803C111.068%20145.659%20111.028%20147.587%20110.975%20149.619C111.121%20154.987%20111.121%20159.79%20111.476%20163.835C111.663%20165.95%20111.945%20167.857%20112.404%20169.534C112.412%20169.555%20112.412%20169.566%20112.423%20169.598C112.465%20169.734%20112.497%20169.867%20112.537%20170.003C113.164%20172.099%20114.092%20173.809%20115.447%20175.07C116.665%20176.371%20118.281%20177.278%20120.271%20177.905C120.364%20177.934%20120.46%20177.955%20120.564%20177.987C120.855%20178.081%20121.145%20178.153%20121.439%20178.238C121.46%20178.238%20121.471%20178.238%20121.479%20178.249C122.876%20178.582%20124.42%20178.822%20126.108%20178.987C126.327%20179.009%20126.545%20179.03%20126.764%20179.051C130.788%20179.395%20135.559%20179.395%20140.905%20179.529C152.975%20179.843%20162.124%20179.457%20166.356%20184.001C170.9%20188.233%20170.516%20197.371%20170.828%20209.451C171.129%20221.529%20170.743%20230.681%20175.287%20234.91C179.519%20239.454%20188.681%20239.07%20200.748%20239.371C206.127%20239.235%20210.921%20239.235%20214.975%20238.881C217.079%20238.694%20218.985%20238.403%20220.676%20237.955C220.695%20237.945%20220.705%20237.934%20220.727%20237.934C220.873%20237.891%20220.999%20237.859%20221.135%20237.819C223.228%20237.193%20224.937%20236.265%20226.209%20234.91C227.511%20233.691%20228.409%20232.065%20229.044%20230.097C229.065%20230.003%20229.095%20229.899%20229.127%20229.803V229.793C229.22%20229.513%20229.295%20229.222%20229.367%20228.918C229.367%20228.897%20229.377%20228.897%20229.377%20228.878C229.721%20227.481%20229.951%20225.937%20230.127%20224.249C230.137%20224.03%20230.169%20223.811%20230.191%20223.593C230.535%20219.571%20230.535%20214.798%20230.671%20209.451C230.972%20197.371%20230.585%20188.233%20235.129%20184.001C239.361%20179.457%20248.511%20179.843%20260.591%20179.529C272.66%20179.227%20281.82%20179.614%20286.052%20175.07C290.596%20170.838%20290.209%20161.689%20290.511%20149.619C290.209%20137.539%20290.596%20128.379%20286.052%20124.158Z'%20fill='%23FF356A'%3e%3c/path%3e%3cpath%20d='M112.405%2049.848C112.411%2049.8694%20112.416%2049.8827%20112.421%2049.904C112.461%2050.0427%20112.499%2050.1814%20112.539%2050.3147C113.171%2052.4134%20114.088%2054.1147%20115.448%2055.384C116.661%2056.6907%20118.283%2057.5894%20120.264%2058.2134C120.36%2058.24%20120.464%2058.2694%20120.555%2058.3014C120.56%2058.3067%20120.56%2058.3067%20120.565%2058.3067C120.848%2058.3947%20121.141%2058.4694%20121.443%2058.5467C121.453%2058.5467%20121.464%2058.552%20121.48%2058.5574C122.875%2058.896%20124.424%2059.1334%20126.112%2059.3014C126.325%2059.3227%20126.541%2059.3414%20126.763%2059.3627C130.789%2059.712%20135.56%2059.712%20140.904%2059.8454C152.973%2059.5387%20162.128%2059.928%20166.36%2055.384C170.907%2051.152%20170.515%2041.9947%20170.824%2029.9254C170.517%2017.8507%20170.907%208.69602%20166.363%204.46935C162.131%20-0.0746511%20152.973%200.309349%20140.904%201.52588e-05C128.829%200.309349%20119.675%20-0.0746511%20115.448%204.46935C110.904%208.69602%20111.288%2017.8507%20110.979%2029.9254C111.117%2035.3014%20111.117%2040.1014%20111.472%2044.144C111.661%2046.2614%20111.949%2048.1707%20112.405%2049.848Z'%20fill='%23FF6376'%3e%3c/path%3e%3c/g%3e%3c/svg%3e`),class:`w-4 h-4 my-0`,alt:`Infographic`},null,8,te),(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([`text-sm font-medium font-mono truncate`,l.isDark?`text-gray-400`:`text-gray-600`])},`Infographic`,2)])),e.$slots[`header-center`]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ne,[(0,t.renderSlot)(e.$slots,`header-center`,{},void 0,!0)])):l.showModeToggle?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:3,class:(0,t.normalizeClass)([`flex items-center gap-x-1 rounded-md p-0.5`,l.isDark?`bg-gray-700`:`bg-gray-100`])},[(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`px-2.5 py-1 text-xs rounded transition-colors`,[h.value?l.isDark?`text-gray-400 hover:text-gray-200`:`text-gray-500 hover:text-gray-700`:l.isDark?`bg-gray-600 text-gray-200 shadow-sm`:`bg-white text-gray-700 shadow-sm`]]),onClick:n[0]||=()=>F(`preview`),onMouseenter:n[1]||=e=>M(e,(0,t.unref)(u)(`common.preview`)||`Preview`),onFocus:n[2]||=e=>M(e,(0,t.unref)(u)(`common.preview`)||`Preview`),onMouseleave:N,onBlur:N},[(0,t.createElementVNode)(`div`,re,[n[21]||=(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0`}),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`12`,r:`3`})])],-1),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(u)(`common.preview`)||`Preview`),1)])],34),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`px-2.5 py-1 text-xs rounded transition-colors`,[h.value?l.isDark?`bg-gray-600 text-gray-200 shadow-sm`:`bg-white text-gray-700 shadow-sm`:l.isDark?`text-gray-400 hover:text-gray-200`:`text-gray-500 hover:text-gray-700`]]),onClick:n[3]||=()=>F(`source`),onMouseenter:n[4]||=e=>M(e,(0,t.unref)(u)(`common.source`)||`Source`),onFocus:n[5]||=e=>M(e,(0,t.unref)(u)(`common.source`)||`Source`),onMouseleave:N,onBlur:N},[(0,t.createElementVNode)(`div`,ie,[n[22]||=(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m16 18l6-6l-6-6M8 6l-6 6l6 6`})],-1),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(u)(`common.source`)||`Source`),1)])],34)],2)):(0,t.createCommentVNode)(``,!0),e.$slots[`header-right`]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ae,[(0,t.renderSlot)(e.$slots,`header-right`,{},void 0,!0)])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,oe,[l.showCollapseButton?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,class:(0,t.normalizeClass)(Z.value),"aria-pressed":f.value,onClick:n[6]||=e=>f.value=!f.value,onMouseenter:n[7]||=e=>M(e,f.value?(0,t.unref)(u)(`common.expand`)||`Expand`:(0,t.unref)(u)(`common.collapse`)||`Collapse`),onFocus:n[8]||=e=>M(e,f.value?(0,t.unref)(u)(`common.expand`)||`Expand`:(0,t.unref)(u)(`common.collapse`)||`Collapse`),onMouseleave:N,onBlur:N},[((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{style:(0,t.normalizeStyle)({rotate:f.value?`0deg`:`90deg`}),xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[...n[23]||=[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m9 18l6-6l-6-6`},null,-1)]],4))],42,se)):(0,t.createCommentVNode)(``,!0),l.showCopyButton?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:1,class:(0,t.normalizeClass)(Z.value),onClick:Se,onMouseenter:n[9]||=e=>P(e),onFocus:n[10]||=e=>P(e),onMouseleave:N,onBlur:N},[d.value?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,le,[...n[25]||=[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M20 6L9 17l-5-5`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ce,[...n[24]||=[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}),(0,t.createElementVNode)(`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`})],-1)]]))],34)):(0,t.createCommentVNode)(``,!0),l.showExportButton?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:2,class:(0,t.normalizeClass)(`${Z.value} ${Q.value?`opacity-50 cursor-not-allowed`:``}`),disabled:Q.value,onClick:Ce,onMouseenter:n[11]||=e=>M(e,(0,t.unref)(u)(`common.export`)||`Export`),onFocus:n[12]||=e=>M(e,(0,t.unref)(u)(`common.export`)||`Export`),onMouseleave:N,onBlur:N},[...n[26]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`path`,{d:`M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}),(0,t.createElementVNode)(`path`,{d:`m7 10l5 5l5-5`})])],-1)]],42,ue)):(0,t.createCommentVNode)(``,!0),l.showFullscreenButton?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:3,class:(0,t.normalizeClass)(`${Z.value} ${Q.value?`opacity-50 cursor-not-allowed`:``}`),disabled:Q.value,onClick:we,onMouseenter:n[13]||=e=>M(e,v.value?(0,t.unref)(u)(`common.minimize`)||`Minimize`:(0,t.unref)(u)(`common.open`)||`Open`),onFocus:n[14]||=e=>M(e,v.value?(0,t.unref)(u)(`common.minimize`)||`Minimize`:(0,t.unref)(u)(`common.open`)||`Open`),onMouseleave:N,onBlur:N},[v.value?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,pe,[...n[28]||=[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m14 10l7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,fe,[...n[27]||=[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M15 3h6v6m0-6l-7 7M3 21l7-7m-1 7H3v-6`},null,-1)]]))],42,de)):(0,t.createCommentVNode)(``,!0)]))],2)):(0,t.createCommentVNode)(``,!0),(0,t.withDirectives)((0,t.createElementVNode)(`div`,null,[h.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`p-4`,l.isDark?`bg-gray-900`:`bg-gray-50`])},[(0,t.createElementVNode)(`pre`,{class:(0,t.normalizeClass)([`text-sm font-mono whitespace-pre-wrap`,l.isDark?`text-gray-300`:`text-gray-700`])},(0,t.toDisplayString)(A.value),3)],2)):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,me,[l.showZoomControls?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,he,[(0,t.createElementVNode)(`div`,ge,[(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`p-2 text-xs rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:R,onMouseenter:n[15]||=e=>M(e,(0,t.unref)(u)(`common.zoomIn`)||`Zoom in`),onFocus:n[16]||=e=>M(e,(0,t.unref)(u)(`common.zoomIn`)||`Zoom in`),onMouseleave:N,onBlur:N},[...n[29]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,t.createElementVNode)(`path`,{d:`m21 21l-4.35-4.35M11 8v6m-3-3h6`})])],-1)]],34),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`p-2 text-xs rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:z,onMouseenter:n[17]||=e=>M(e,(0,t.unref)(u)(`common.zoomOut`)||`Zoom out`),onFocus:n[18]||=e=>M(e,(0,t.unref)(u)(`common.zoomOut`)||`Zoom out`),onMouseleave:N,onBlur:N},[...n[30]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,t.createElementVNode)(`path`,{d:`m21 21l-4.35-4.35M8 11h6`})])],-1)]],34),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`p-2 text-xs rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:B,onMouseenter:n[19]||=e=>M(e,(0,t.unref)(u)(`common.resetZoom`)||`Reset zoom`),onFocus:n[20]||=e=>M(e,(0,t.unref)(u)(`common.resetZoom`)||`Reset zoom`),onMouseleave:N,onBlur:N},(0,t.toDisplayString)(Math.round(100*T.value))+`% `,35)])])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`min-h-[360px] relative transition-all duration-100 overflow-hidden block`,l.isDark?`bg-gray-900`:`bg-gray-50`]),style:(0,t.normalizeStyle)({height:_.value}),onMousedown:V,onMousemove:H,onMouseup:U,onMouseleave:U,onTouchstartPassive:V,onTouchmovePassive:H,onTouchendPassive:U},[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`absolute inset-0 cursor-grab`,{"cursor-grabbing":O.value}]),style:(0,t.normalizeStyle)($.value)},[(0,t.createElementVNode)(`div`,{ref_key:`infographicContainer`,ref:m,class:`w-full text-center flex items-center justify-center min-h-full`},null,512)],6)],38)]))],512),[[t.vShow,!f.value]]),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:`body`},[(0,t.createElementVNode)(`div`,_e,[(0,t.createVNode)(t.Transition,{name:`infographic-dialog`,appear:``},{default:(0,t.withCtx)(()=>[v.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`fixed inset-0 z-50 flex items-center justify-center bg-black/70 p-4`,onClick:(0,t.withModifiers)(L,[`self`])},[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`dialog-panel relative w-full h-full max-w-full max-h-full rounded shadow-lg overflow-hidden`,l.isDark?`bg-gray-900`:`bg-white`])},[(0,t.createElementVNode)(`div`,ve,[(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`p-2 text-xs rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:R},[...n[31]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,t.createElementVNode)(`path`,{d:`m21 21l-4.35-4.35M11 8v6m-3-3h6`})])],-1)]],2),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`p-2 text-xs rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:z},[...n[32]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,t.createElementVNode)(`path`,{d:`m21 21l-4.35-4.35M8 11h6`})])],-1)]],2),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`p-2 text-xs rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:B},(0,t.toDisplayString)(Math.round(100*T.value))+`% `,3),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`inline-flex items-center justify-center p-2 rounded transition-colors`,[l.isDark?`text-gray-400 hover:bg-gray-700`:`text-gray-600 hover:bg-gray-200`]]),onClick:L},[...n[33]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M18 6L6 18M6 6l12 12`})],-1)]],2)]),(0,t.createElementVNode)(`div`,{ref_key:`modalContent`,ref:y,class:(0,t.normalizeClass)([`w-full h-full flex items-center justify-center p-4 overflow-hidden`,{"cursor-grab":!O.value,"cursor-grabbing":O.value}]),onMousedown:V,onMousemove:H,onMouseup:U,onMouseleave:U,onTouchstartPassive:V,onTouchmovePassive:H,onTouchendPassive:U},null,34)],2)])):(0,t.createCommentVNode)(``,!0)]),_:1})])]))],10,o))}}),[[`__scopeId`,`data-v-e17a4388`]]);c.install=e=>{e.component(c.__name,c)},exports.default=c;
|
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
import { C as e, E as t, T as n, b as r, u as i, y as a } from "./exports-C67Wizt6.js";
|
|
2
|
+
import { computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, nextTick as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as ee, onMounted as te, openBlock as m, ref as h, toDisplayString as g, unref as _, vShow as ne, watch as v, withDirectives as re } from "vue";
|
|
3
|
+
//#region ../../node_modules/.pnpm/markstream-vue@0.0.10_katex@0.16.47_mermaid@11.16.0_shiki@2.5.0_stream-markdown@0.0.16__933418433302c8f1097502413881496d/node_modules/markstream-vue/dist/index6.js
|
|
4
|
+
var y = Object.defineProperty, b = Object.getOwnPropertySymbols, x = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable, C = (e, t, n) => t in e ? y(e, t, {
|
|
5
|
+
enumerable: !0,
|
|
6
|
+
configurable: !0,
|
|
7
|
+
writable: !0,
|
|
8
|
+
value: n
|
|
9
|
+
}) : e[t] = n, w = (e, t) => {
|
|
10
|
+
for (var n in t ||= {}) x.call(t, n) && C(e, n, t[n]);
|
|
11
|
+
if (b) for (var n of b(t)) S.call(t, n) && C(e, n, t[n]);
|
|
12
|
+
return e;
|
|
13
|
+
}, T = (e, t, n) => new Promise((r, i) => {
|
|
14
|
+
var a = (e) => {
|
|
15
|
+
try {
|
|
16
|
+
s(n.next(e));
|
|
17
|
+
} catch (e) {
|
|
18
|
+
i(e);
|
|
19
|
+
}
|
|
20
|
+
}, o = (e) => {
|
|
21
|
+
try {
|
|
22
|
+
s(n.throw(e));
|
|
23
|
+
} catch (e) {
|
|
24
|
+
i(e);
|
|
25
|
+
}
|
|
26
|
+
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
27
|
+
s((n = n.apply(e, t)).next());
|
|
28
|
+
}), ie = ["data-markstream-mode"], ae = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "d2-block-header flex justify-between items-center px-4 py-2.5 border-b border-gray-400/5",
|
|
31
|
+
style: {
|
|
32
|
+
color: "var(--vscode-editor-foreground)",
|
|
33
|
+
"background-color": "var(--vscode-editor-background)"
|
|
34
|
+
}
|
|
35
|
+
}, oe = { class: "flex items-center gap-x-2" }, se = ["aria-label"], ce = {
|
|
36
|
+
key: 0,
|
|
37
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
+
"aria-hidden": "true",
|
|
39
|
+
role: "img",
|
|
40
|
+
width: "1em",
|
|
41
|
+
height: "1em",
|
|
42
|
+
viewBox: "0 0 24 24",
|
|
43
|
+
class: "w-3 h-3"
|
|
44
|
+
}, le = {
|
|
45
|
+
key: 1,
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
47
|
+
"aria-hidden": "true",
|
|
48
|
+
role: "img",
|
|
49
|
+
width: "1em",
|
|
50
|
+
height: "1em",
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
class: "w-3 h-3"
|
|
53
|
+
}, ue = ["aria-label"], de = ["aria-pressed"], fe = {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "d2-source px-4 py-4"
|
|
56
|
+
}, pe = { class: "d2-code" }, me = {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "d2-error mt-2 text-xs"
|
|
59
|
+
}, he = { key: 1 }, ge = {
|
|
60
|
+
key: 0,
|
|
61
|
+
class: "d2-source px-4 py-4"
|
|
62
|
+
}, _e = { class: "d2-code" }, ve = {
|
|
63
|
+
key: 0,
|
|
64
|
+
class: "d2-error mt-2 text-xs"
|
|
65
|
+
}, ye = ["innerHTML"], be = {
|
|
66
|
+
key: 0,
|
|
67
|
+
class: "d2-error px-4 pb-3 text-xs"
|
|
68
|
+
}, E = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
69
|
+
__name: "D2BlockNode",
|
|
70
|
+
props: {
|
|
71
|
+
node: {},
|
|
72
|
+
maxHeight: { default: "500px" },
|
|
73
|
+
loading: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: !0
|
|
76
|
+
},
|
|
77
|
+
isDark: { type: Boolean },
|
|
78
|
+
progressiveRender: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: !0
|
|
81
|
+
},
|
|
82
|
+
progressiveIntervalMs: { default: 700 },
|
|
83
|
+
themeId: {},
|
|
84
|
+
darkThemeId: {},
|
|
85
|
+
showHeader: {
|
|
86
|
+
type: Boolean,
|
|
87
|
+
default: !0
|
|
88
|
+
},
|
|
89
|
+
showModeToggle: {
|
|
90
|
+
type: Boolean,
|
|
91
|
+
default: !0
|
|
92
|
+
},
|
|
93
|
+
showCopyButton: {
|
|
94
|
+
type: Boolean,
|
|
95
|
+
default: !0
|
|
96
|
+
},
|
|
97
|
+
showExportButton: {
|
|
98
|
+
type: Boolean,
|
|
99
|
+
default: !0
|
|
100
|
+
},
|
|
101
|
+
showCollapseButton: {
|
|
102
|
+
type: Boolean,
|
|
103
|
+
default: !0
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
setup(t) {
|
|
107
|
+
let u = t, { t: y } = n(), b = h(!1), x = h(!1), S = h(!1), C = h(!1), E = h(null), D = h(!1), O = h(""), k = h(0), A = h(null), j = h(null), M = h(null), xe = a(), N = h(null), P = h(typeof window > "u"), F = o(() => u.node.code ?? ""), Se = o(() => `${u.isDark ? "dark" : "light"}:${F.value}`), I = o(() => S.value || !C.value || !O.value), Ce = o(() => !!O.value), we = o(() => {
|
|
108
|
+
if (I.value && j.value) return { minHeight: `${j.value}px` };
|
|
109
|
+
}), Te = o(() => {
|
|
110
|
+
if (u.maxHeight) return { maxHeight: typeof u.maxHeight == "number" ? `${u.maxHeight}px` : String(u.maxHeight) };
|
|
111
|
+
}), L = typeof window < "u", R = null, z = !1, B = !1, V = 0, H = null, U = !1, W = null, G = "";
|
|
112
|
+
typeof window < "u" && v(() => M.value, (e) => {
|
|
113
|
+
var t;
|
|
114
|
+
if ((t = N.value) == null || t.destroy(), N.value = null, !e) return void (P.value = !1);
|
|
115
|
+
let n = xe(e, { rootMargin: "160px" });
|
|
116
|
+
N.value = n, P.value = n.isVisible.value, n.whenVisible.then(() => {
|
|
117
|
+
P.value = !0;
|
|
118
|
+
});
|
|
119
|
+
}, { immediate: !0 });
|
|
120
|
+
let Ee = {
|
|
121
|
+
N1: "#E5E7EB",
|
|
122
|
+
N2: "#CBD5E1",
|
|
123
|
+
N3: "#94A3B8",
|
|
124
|
+
N4: "#64748B",
|
|
125
|
+
N5: "#475569",
|
|
126
|
+
N6: "#334155",
|
|
127
|
+
N7: "#0B1220",
|
|
128
|
+
B1: "#60A5FA",
|
|
129
|
+
B2: "#3B82F6",
|
|
130
|
+
B3: "#2563EB",
|
|
131
|
+
B4: "#1D4ED8",
|
|
132
|
+
B5: "#1E40AF",
|
|
133
|
+
B6: "#111827",
|
|
134
|
+
AA2: "#22D3EE",
|
|
135
|
+
AA4: "#0EA5E9",
|
|
136
|
+
AA5: "#0284C7",
|
|
137
|
+
AB4: "#FBBF24",
|
|
138
|
+
AB5: "#F59E0B"
|
|
139
|
+
};
|
|
140
|
+
function K(e) {
|
|
141
|
+
return !e || e.disabled;
|
|
142
|
+
}
|
|
143
|
+
function q(e, t, n = "top") {
|
|
144
|
+
if (K(e.currentTarget)) return;
|
|
145
|
+
let i = e, a = i?.clientX != null && i?.clientY != null ? {
|
|
146
|
+
x: i.clientX,
|
|
147
|
+
y: i.clientY
|
|
148
|
+
} : void 0;
|
|
149
|
+
r(e.currentTarget, t, n, !1, a, u.isDark);
|
|
150
|
+
}
|
|
151
|
+
function J() {
|
|
152
|
+
e();
|
|
153
|
+
}
|
|
154
|
+
function Y(e) {
|
|
155
|
+
if (K(e.currentTarget)) return;
|
|
156
|
+
let t = b.value ? y("common.copied") || "Copied" : y("common.copy") || "Copy", n = e, i = n?.clientX != null && n?.clientY != null ? {
|
|
157
|
+
x: n.clientX,
|
|
158
|
+
y: n.clientY
|
|
159
|
+
} : void 0;
|
|
160
|
+
r(e.currentTarget, t, "top", !1, i, u.isDark);
|
|
161
|
+
}
|
|
162
|
+
function De() {
|
|
163
|
+
return T(this, null, function* () {
|
|
164
|
+
try {
|
|
165
|
+
let e = F.value;
|
|
166
|
+
typeof navigator < "u" && navigator.clipboard && typeof navigator.clipboard.writeText == "function" && (yield navigator.clipboard.writeText(e)), b.value = !0, setTimeout(() => {
|
|
167
|
+
b.value = !1;
|
|
168
|
+
}, 1e3);
|
|
169
|
+
} catch (e) {
|
|
170
|
+
console.error("Copy failed:", e);
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
function Oe() {
|
|
175
|
+
x.value = !x.value;
|
|
176
|
+
}
|
|
177
|
+
function X(e) {
|
|
178
|
+
S.value = e === "source";
|
|
179
|
+
}
|
|
180
|
+
let ke = [
|
|
181
|
+
/javascript:/i,
|
|
182
|
+
/expression\s*\(/i,
|
|
183
|
+
/url\s*\(\s*javascript:/i,
|
|
184
|
+
/@import/i
|
|
185
|
+
], Ae = /^(?:https?:|mailto:|tel:|#|\/|data:image\/(?:png|gif|jpe?g|webp);)/i;
|
|
186
|
+
function je(e) {
|
|
187
|
+
if (!e) return "";
|
|
188
|
+
let t = e.trim();
|
|
189
|
+
return Ae.test(t) ? t : "";
|
|
190
|
+
}
|
|
191
|
+
function Z() {
|
|
192
|
+
O.value = "";
|
|
193
|
+
}
|
|
194
|
+
function Me() {
|
|
195
|
+
return T(this, null, function* () {
|
|
196
|
+
if (!L || B || !P.value || u.loading && !u.progressiveRender) return;
|
|
197
|
+
let e = Se.value;
|
|
198
|
+
if (e === G && !E.value && O.value) return C.value = !0, void (u.loading && (S.value = !1));
|
|
199
|
+
let t = F.value;
|
|
200
|
+
if (!t) return Z(), E.value = null, void (G = "");
|
|
201
|
+
let n = ++k.value;
|
|
202
|
+
D.value = !0, E.value = null;
|
|
203
|
+
try {
|
|
204
|
+
let r = yield function() {
|
|
205
|
+
return T(this, null, function* () {
|
|
206
|
+
if (R) return R;
|
|
207
|
+
let e = yield i();
|
|
208
|
+
if (!e) return null;
|
|
209
|
+
if (typeof e == "function") {
|
|
210
|
+
let t = new e();
|
|
211
|
+
return t && typeof t.compile == "function" ? R = t : typeof e.compile == "function" && (R = e), R;
|
|
212
|
+
}
|
|
213
|
+
return e?.D2 && typeof e.D2 == "function" ? (R = new e.D2(), R) : (typeof e.compile == "function" && (R = e), R);
|
|
214
|
+
});
|
|
215
|
+
}();
|
|
216
|
+
if (!r) return C.value = !1, S.value = !0, Z(), void (E.value = "D2 is not available.");
|
|
217
|
+
if (typeof r.compile != "function" || typeof r.render != "function") throw TypeError("D2 instance is missing compile/render methods.");
|
|
218
|
+
C.value = !0;
|
|
219
|
+
let a = yield r.compile(t);
|
|
220
|
+
if (n !== k.value) return;
|
|
221
|
+
let o = a?.diagram ?? a, s = a?.renderOptions ?? a?.options ?? {}, c = u.themeId ?? s.themeID, l = u.darkThemeId ?? s.darkThemeID, d = w({}, s);
|
|
222
|
+
if (d.themeID = u.isDark && l != null ? l : c, d.darkThemeID = null, d.darkThemeOverrides = null, u.isDark) {
|
|
223
|
+
let e = s.themeOverrides && typeof s.themeOverrides == "object" ? s.themeOverrides : null;
|
|
224
|
+
d.themeOverrides = w(w({}, Ee), e || {});
|
|
225
|
+
}
|
|
226
|
+
let f = yield r.render(o, d);
|
|
227
|
+
if (n !== k.value) return;
|
|
228
|
+
let p = function(e) {
|
|
229
|
+
return e ? typeof e == "string" ? e : typeof e.svg == "string" ? e.svg : typeof e.data == "string" ? e.data : "" : "";
|
|
230
|
+
}(f);
|
|
231
|
+
if (!p) throw Error("D2 render returned empty output.");
|
|
232
|
+
(function(e) {
|
|
233
|
+
O.value = function(e) {
|
|
234
|
+
if (typeof window > "u" || typeof DOMParser > "u" || !e) return "";
|
|
235
|
+
let t = e.replace(/["']\s*javascript:/gi, "#").replace(/\bjavascript:/gi, "#").replace(/["']\s*vbscript:/gi, "#").replace(/\bvbscript:/gi, "#").replace(/\bdata:text\/html/gi, "#"), n = new DOMParser().parseFromString(t, "image/svg+xml").documentElement;
|
|
236
|
+
if (!n || n.nodeName.toLowerCase() !== "svg") return "";
|
|
237
|
+
let r = n;
|
|
238
|
+
return function(e) {
|
|
239
|
+
let t = /* @__PURE__ */ new Set(["script"]), n = [e, ...Array.from(e.querySelectorAll("*"))];
|
|
240
|
+
for (let e of n) {
|
|
241
|
+
if (t.has(e.tagName.toLowerCase())) {
|
|
242
|
+
e.remove();
|
|
243
|
+
continue;
|
|
244
|
+
}
|
|
245
|
+
let n = Array.from(e.attributes);
|
|
246
|
+
for (let t of n) {
|
|
247
|
+
let n = t.name;
|
|
248
|
+
if (/^on/i.test(n)) e.removeAttribute(n);
|
|
249
|
+
else {
|
|
250
|
+
if (n === "style" && t.value) {
|
|
251
|
+
let r = t.value;
|
|
252
|
+
if (ke.some((e) => e.test(r))) {
|
|
253
|
+
e.removeAttribute(n);
|
|
254
|
+
continue;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
if ((n === "href" || n === "xlink:href") && t.value) {
|
|
258
|
+
let r = je(t.value);
|
|
259
|
+
if (!r) {
|
|
260
|
+
e.removeAttribute(n);
|
|
261
|
+
continue;
|
|
262
|
+
}
|
|
263
|
+
r !== t.value && e.setAttribute(n, r);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}(r), r.classList.add("markstream-d2-root-svg"), r.outerHTML;
|
|
269
|
+
}(e) || "";
|
|
270
|
+
})(p), G = e, u.loading && (S.value = !1), E.value = null;
|
|
271
|
+
} catch (e) {
|
|
272
|
+
if (n !== k.value) return;
|
|
273
|
+
let t = e?.message ? String(e.message) : "D2 render failed.";
|
|
274
|
+
u.loading || (E.value = t), G = "", t.includes("@terrastruct/d2") && (C.value = !1, S.value = !0);
|
|
275
|
+
} finally {
|
|
276
|
+
n === k.value && (D.value = !1, U && (U = !1, Q()));
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
function Q(e = !1) {
|
|
281
|
+
if (z || !L || B) return;
|
|
282
|
+
if (D.value) return void (U = !0);
|
|
283
|
+
let t = Math.max(120, Number(u.progressiveIntervalMs) || 0), n = Date.now() - V;
|
|
284
|
+
if (!e && n < t) return U = !0, void (H == null && (H = window.setTimeout(() => {
|
|
285
|
+
H = null, U && (U = !1, Q(!0));
|
|
286
|
+
}, Math.max(0, t - n))));
|
|
287
|
+
z = !0;
|
|
288
|
+
let r = () => {
|
|
289
|
+
z = !1, V = Date.now(), Me();
|
|
290
|
+
};
|
|
291
|
+
typeof window < "u" && typeof window.requestAnimationFrame == "function" ? window.requestAnimationFrame(r) : setTimeout(r, 0);
|
|
292
|
+
}
|
|
293
|
+
function Ne() {
|
|
294
|
+
if (O.value) try {
|
|
295
|
+
let e = new Blob([O.value], { type: "image/svg+xml;charset=utf-8" }), t = URL.createObjectURL(e);
|
|
296
|
+
if (typeof document < "u") {
|
|
297
|
+
let e = document.createElement("a");
|
|
298
|
+
e.href = t, e.download = `d2-diagram-${Date.now()}.svg`, document.body.appendChild(e), e.click(), document.body.removeChild(e);
|
|
299
|
+
}
|
|
300
|
+
URL.revokeObjectURL(t);
|
|
301
|
+
} catch (e) {
|
|
302
|
+
console.error("Failed to export SVG:", e);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
function $() {
|
|
306
|
+
let e = A.value;
|
|
307
|
+
if (!e) return;
|
|
308
|
+
let t = e.getBoundingClientRect().height;
|
|
309
|
+
t > 0 && (j.value = t);
|
|
310
|
+
}
|
|
311
|
+
return v(() => [
|
|
312
|
+
u.node.code,
|
|
313
|
+
u.loading,
|
|
314
|
+
u.isDark
|
|
315
|
+
], () => {
|
|
316
|
+
Q();
|
|
317
|
+
}, { immediate: !0 }), v(() => u.loading, (e, t) => {
|
|
318
|
+
t && !e && Q(!0);
|
|
319
|
+
}), v(() => P.value, (e) => {
|
|
320
|
+
e && Q(!0);
|
|
321
|
+
}), v(() => [
|
|
322
|
+
I.value,
|
|
323
|
+
O.value,
|
|
324
|
+
F.value
|
|
325
|
+
], () => {
|
|
326
|
+
d(() => {
|
|
327
|
+
$();
|
|
328
|
+
});
|
|
329
|
+
}), te(() => {
|
|
330
|
+
d(() => {
|
|
331
|
+
$();
|
|
332
|
+
}), typeof ResizeObserver < "u" && (W = new ResizeObserver(() => {
|
|
333
|
+
$();
|
|
334
|
+
}), A.value && W.observe(A.value));
|
|
335
|
+
}), ee(() => {
|
|
336
|
+
var e;
|
|
337
|
+
B = !0, G = "", (e = N.value) == null || e.destroy(), N.value = null, H != null && (clearTimeout(H), H = null), W?.disconnect(), W = null;
|
|
338
|
+
}), (e, t) => (m(), c("div", {
|
|
339
|
+
ref_key: "viewportTarget",
|
|
340
|
+
ref: M,
|
|
341
|
+
class: f(["d2-block-container my-4 rounded-lg border overflow-hidden shadow-sm", u.isDark ? "border-gray-700/30 bg-gray-900 text-gray-100" : "border-gray-200 bg-white text-gray-900"]),
|
|
342
|
+
"data-markstream-d2": "1",
|
|
343
|
+
"data-markstream-mode": I.value ? "fallback" : "preview"
|
|
344
|
+
}, [u.showHeader ? (m(), c("div", ae, [t[16] ||= l("div", { class: "flex items-center gap-x-2" }, [l("span", { class: "text-sm font-medium font-mono" }, "D2")], -1), l("div", oe, [
|
|
345
|
+
u.showModeToggle ? (m(), c("div", {
|
|
346
|
+
key: 0,
|
|
347
|
+
class: f(["flex items-center gap-x-1 rounded-md p-0.5", u.isDark ? "bg-gray-700" : "bg-gray-100"])
|
|
348
|
+
}, [l("button", {
|
|
349
|
+
type: "button",
|
|
350
|
+
class: f(["mode-btn px-2 py-1 text-xs rounded", S.value ? "" : "is-active"]),
|
|
351
|
+
onClick: t[0] ||= (e) => X("preview"),
|
|
352
|
+
onMouseenter: t[1] ||= (e) => q(e, _(y)("common.preview") || "Preview"),
|
|
353
|
+
onFocus: t[2] ||= (e) => q(e, _(y)("common.preview") || "Preview"),
|
|
354
|
+
onMouseleave: J,
|
|
355
|
+
onBlur: J
|
|
356
|
+
}, g(_(y)("common.preview") || "Preview"), 35), l("button", {
|
|
357
|
+
type: "button",
|
|
358
|
+
class: f(["mode-btn px-2 py-1 text-xs rounded", S.value ? "is-active" : ""]),
|
|
359
|
+
onClick: t[3] ||= (e) => X("source"),
|
|
360
|
+
onMouseenter: t[4] ||= (e) => q(e, _(y)("common.source") || "Source"),
|
|
361
|
+
onFocus: t[5] ||= (e) => q(e, _(y)("common.source") || "Source"),
|
|
362
|
+
onMouseleave: J,
|
|
363
|
+
onBlur: J
|
|
364
|
+
}, g(_(y)("common.source") || "Source"), 35)], 2)) : s("", !0),
|
|
365
|
+
u.showCopyButton ? (m(), c("button", {
|
|
366
|
+
key: 1,
|
|
367
|
+
type: "button",
|
|
368
|
+
class: "d2-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]",
|
|
369
|
+
"aria-label": b.value ? _(y)("common.copied") || "Copied" : _(y)("common.copy") || "Copy",
|
|
370
|
+
onClick: De,
|
|
371
|
+
onMouseenter: t[6] ||= (e) => Y(e),
|
|
372
|
+
onFocus: t[7] ||= (e) => Y(e),
|
|
373
|
+
onMouseleave: J,
|
|
374
|
+
onBlur: J
|
|
375
|
+
}, [b.value ? (m(), c("svg", le, [...t[13] ||= [l("path", {
|
|
376
|
+
fill: "none",
|
|
377
|
+
stroke: "currentColor",
|
|
378
|
+
"stroke-linecap": "round",
|
|
379
|
+
"stroke-linejoin": "round",
|
|
380
|
+
"stroke-width": "2",
|
|
381
|
+
d: "M20 6L9 17l-5-5"
|
|
382
|
+
}, null, -1)]])) : (m(), c("svg", ce, [...t[12] ||= [l("g", {
|
|
383
|
+
fill: "none",
|
|
384
|
+
stroke: "currentColor",
|
|
385
|
+
"stroke-linecap": "round",
|
|
386
|
+
"stroke-linejoin": "round",
|
|
387
|
+
"stroke-width": "2"
|
|
388
|
+
}, [l("rect", {
|
|
389
|
+
width: "14",
|
|
390
|
+
height: "14",
|
|
391
|
+
x: "8",
|
|
392
|
+
y: "8",
|
|
393
|
+
rx: "2",
|
|
394
|
+
ry: "2"
|
|
395
|
+
}), l("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })], -1)]]))], 40, se)) : s("", !0),
|
|
396
|
+
u.showExportButton && O.value ? (m(), c("button", {
|
|
397
|
+
key: 2,
|
|
398
|
+
type: "button",
|
|
399
|
+
class: "d2-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]",
|
|
400
|
+
"aria-label": _(y)("common.export") || "Export",
|
|
401
|
+
onClick: Ne,
|
|
402
|
+
onMouseenter: t[8] ||= (e) => q(e, _(y)("common.export") || "Export"),
|
|
403
|
+
onFocus: t[9] ||= (e) => q(e, _(y)("common.export") || "Export"),
|
|
404
|
+
onMouseleave: J,
|
|
405
|
+
onBlur: J
|
|
406
|
+
}, [...t[14] ||= [l("svg", {
|
|
407
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
408
|
+
"aria-hidden": "true",
|
|
409
|
+
role: "img",
|
|
410
|
+
width: "1em",
|
|
411
|
+
height: "1em",
|
|
412
|
+
viewBox: "0 0 24 24",
|
|
413
|
+
class: "w-3 h-3"
|
|
414
|
+
}, [l("path", {
|
|
415
|
+
fill: "none",
|
|
416
|
+
stroke: "currentColor",
|
|
417
|
+
"stroke-linecap": "round",
|
|
418
|
+
"stroke-linejoin": "round",
|
|
419
|
+
"stroke-width": "2",
|
|
420
|
+
d: "M12 3v12m0-12l-4 4m4-4l4 4M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4"
|
|
421
|
+
})], -1)]], 40, ue)) : s("", !0),
|
|
422
|
+
u.showCollapseButton ? (m(), c("button", {
|
|
423
|
+
key: 3,
|
|
424
|
+
type: "button",
|
|
425
|
+
class: "d2-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]",
|
|
426
|
+
"aria-pressed": x.value,
|
|
427
|
+
onClick: Oe,
|
|
428
|
+
onMouseenter: t[10] ||= (e) => q(e, x.value ? _(y)("common.expand") || "Expand" : _(y)("common.collapse") || "Collapse"),
|
|
429
|
+
onFocus: t[11] ||= (e) => q(e, x.value ? _(y)("common.expand") || "Expand" : _(y)("common.collapse") || "Collapse"),
|
|
430
|
+
onMouseleave: J,
|
|
431
|
+
onBlur: J
|
|
432
|
+
}, [(m(), c("svg", {
|
|
433
|
+
style: p({ rotate: x.value ? "0deg" : "90deg" }),
|
|
434
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
435
|
+
"aria-hidden": "true",
|
|
436
|
+
role: "img",
|
|
437
|
+
width: "1em",
|
|
438
|
+
height: "1em",
|
|
439
|
+
viewBox: "0 0 24 24",
|
|
440
|
+
class: "w-3 h-3"
|
|
441
|
+
}, [...t[15] ||= [l("path", {
|
|
442
|
+
fill: "none",
|
|
443
|
+
stroke: "currentColor",
|
|
444
|
+
"stroke-linecap": "round",
|
|
445
|
+
"stroke-linejoin": "round",
|
|
446
|
+
"stroke-width": "2",
|
|
447
|
+
d: "m9 18l6-6l-6-6"
|
|
448
|
+
}, null, -1)]], 4))], 40, de)) : s("", !0)
|
|
449
|
+
])])) : s("", !0), re(l("div", {
|
|
450
|
+
ref_key: "bodyRef",
|
|
451
|
+
ref: A,
|
|
452
|
+
class: "d2-block-body",
|
|
453
|
+
style: p(we.value)
|
|
454
|
+
}, [u.loading && !Ce.value ? (m(), c("div", fe, [l("pre", pe, [l("code", null, g(F.value), 1)]), E.value ? (m(), c("p", me, g(E.value), 1)) : s("", !0)])) : (m(), c("div", he, [I.value ? (m(), c("div", ge, [l("pre", _e, [l("code", null, g(F.value), 1)]), E.value ? (m(), c("p", ve, g(E.value), 1)) : s("", !0)])) : (m(), c("div", {
|
|
455
|
+
key: 1,
|
|
456
|
+
class: "d2-render",
|
|
457
|
+
style: p(Te.value)
|
|
458
|
+
}, [l("div", {
|
|
459
|
+
class: "d2-svg",
|
|
460
|
+
innerHTML: O.value
|
|
461
|
+
}, null, 8, ye), E.value ? (m(), c("p", be, g(E.value), 1)) : s("", !0)], 4))]))], 4), [[ne, !x.value]])], 10, ie));
|
|
462
|
+
}
|
|
463
|
+
}), [["__scopeId", "data-v-90ebc4d2"]]);
|
|
464
|
+
E.install = (e) => {
|
|
465
|
+
e.component(E.__name, E);
|
|
466
|
+
};
|
|
467
|
+
//#endregion
|
|
468
|
+
export { E as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./exports-C8Eu-cBn.cjs");let t=require("vue");var n=Object.defineProperty,r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,o=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,s=(e,t)=>{for(var n in t||={})i.call(t,n)&&o(e,n,t[n]);if(r)for(var n of r(t))a.call(t,n)&&o(e,n,t[n]);return e},c=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),l=[`data-markstream-mode`],u={key:0,class:`d2-block-header flex justify-between items-center px-4 py-2.5 border-b border-gray-400/5`,style:{color:`var(--vscode-editor-foreground)`,"background-color":`var(--vscode-editor-background)`}},d={class:`flex items-center gap-x-2`},f=[`aria-label`],p={key:0,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},m={key:1,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},h=[`aria-label`],ee=[`aria-pressed`],te={key:0,class:`d2-source px-4 py-4`},g={class:`d2-code`},_={key:0,class:`d2-error mt-2 text-xs`},v={key:1},ne={key:0,class:`d2-source px-4 py-4`},re={class:`d2-code`},ie={key:0,class:`d2-error mt-2 text-xs`},ae=[`innerHTML`],oe={key:0,class:`d2-error px-4 pb-3 text-xs`},y=e.E((0,t.defineComponent)({__name:`D2BlockNode`,props:{node:{},maxHeight:{default:`500px`},loading:{type:Boolean,default:!0},isDark:{type:Boolean},progressiveRender:{type:Boolean,default:!0},progressiveIntervalMs:{default:700},themeId:{},darkThemeId:{},showHeader:{type:Boolean,default:!0},showModeToggle:{type:Boolean,default:!0},showCopyButton:{type:Boolean,default:!0},showExportButton:{type:Boolean,default:!0},showCollapseButton:{type:Boolean,default:!0}},setup(n){let r=n,{t:i}=e.T(),a=(0,t.ref)(!1),o=(0,t.ref)(!1),y=(0,t.ref)(!1),b=(0,t.ref)(!1),x=(0,t.ref)(null),S=(0,t.ref)(!1),C=(0,t.ref)(``),w=(0,t.ref)(0),T=(0,t.ref)(null),E=(0,t.ref)(null),D=(0,t.ref)(null),O=e.y(),k=(0,t.ref)(null),A=(0,t.ref)(typeof window>`u`),j=(0,t.computed)(()=>r.node.code??``),M=(0,t.computed)(()=>`${r.isDark?`dark`:`light`}:${j.value}`),N=(0,t.computed)(()=>y.value||!b.value||!C.value),P=(0,t.computed)(()=>!!C.value),F=(0,t.computed)(()=>{if(N.value&&E.value)return{minHeight:`${E.value}px`}}),I=(0,t.computed)(()=>{if(r.maxHeight)return{maxHeight:typeof r.maxHeight==`number`?`${r.maxHeight}px`:String(r.maxHeight)}}),L=typeof window<`u`,R=null,z=!1,B=!1,V=0,H=null,U=!1,W=null,G=``;typeof window<`u`&&(0,t.watch)(()=>D.value,e=>{var t;if((t=k.value)==null||t.destroy(),k.value=null,!e)return void(A.value=!1);let n=O(e,{rootMargin:`160px`});k.value=n,A.value=n.isVisible.value,n.whenVisible.then(()=>{A.value=!0})},{immediate:!0});let se={N1:`#E5E7EB`,N2:`#CBD5E1`,N3:`#94A3B8`,N4:`#64748B`,N5:`#475569`,N6:`#334155`,N7:`#0B1220`,B1:`#60A5FA`,B2:`#3B82F6`,B3:`#2563EB`,B4:`#1D4ED8`,B5:`#1E40AF`,B6:`#111827`,AA2:`#22D3EE`,AA4:`#0EA5E9`,AA5:`#0284C7`,AB4:`#FBBF24`,AB5:`#F59E0B`};function K(e){return!e||e.disabled}function q(t,n,i=`top`){if(K(t.currentTarget))return;let a=t,o=a?.clientX!=null&&a?.clientY!=null?{x:a.clientX,y:a.clientY}:void 0;e.b(t.currentTarget,n,i,!1,o,r.isDark)}function J(){e.C()}function Y(t){if(K(t.currentTarget))return;let n=a.value?i(`common.copied`)||`Copied`:i(`common.copy`)||`Copy`,o=t,s=o?.clientX!=null&&o?.clientY!=null?{x:o.clientX,y:o.clientY}:void 0;e.b(t.currentTarget,n,`top`,!1,s,r.isDark)}function ce(){return c(this,null,function*(){try{let e=j.value;typeof navigator<`u`&&navigator.clipboard&&typeof navigator.clipboard.writeText==`function`&&(yield navigator.clipboard.writeText(e)),a.value=!0,setTimeout(()=>{a.value=!1},1e3)}catch(e){console.error(`Copy failed:`,e)}})}function le(){o.value=!o.value}function X(e){y.value=e===`source`}let ue=[/javascript:/i,/expression\s*\(/i,/url\s*\(\s*javascript:/i,/@import/i],de=/^(?:https?:|mailto:|tel:|#|\/|data:image\/(?:png|gif|jpe?g|webp);)/i;function fe(e){if(!e)return``;let t=e.trim();return de.test(t)?t:``}function Z(){C.value=``}function pe(){return c(this,null,function*(){if(!L||B||!A.value||r.loading&&!r.progressiveRender)return;let t=M.value;if(t===G&&!x.value&&C.value)return b.value=!0,void(r.loading&&(y.value=!1));let n=j.value;if(!n)return Z(),x.value=null,void(G=``);let i=++w.value;S.value=!0,x.value=null;try{let a=yield function(){return c(this,null,function*(){if(R)return R;let t=yield e.u();if(!t)return null;if(typeof t==`function`){let e=new t;return e&&typeof e.compile==`function`?R=e:typeof t.compile==`function`&&(R=t),R}return t?.D2&&typeof t.D2==`function`?(R=new t.D2,R):(typeof t.compile==`function`&&(R=t),R)})}();if(!a)return b.value=!1,y.value=!0,Z(),void(x.value=`D2 is not available.`);if(typeof a.compile!=`function`||typeof a.render!=`function`)throw TypeError(`D2 instance is missing compile/render methods.`);b.value=!0;let o=yield a.compile(n);if(i!==w.value)return;let l=o?.diagram??o,u=o?.renderOptions??o?.options??{},d=r.themeId??u.themeID,f=r.darkThemeId??u.darkThemeID,p=s({},u);if(p.themeID=r.isDark&&f!=null?f:d,p.darkThemeID=null,p.darkThemeOverrides=null,r.isDark){let e=u.themeOverrides&&typeof u.themeOverrides==`object`?u.themeOverrides:null;p.themeOverrides=s(s({},se),e||{})}let m=yield a.render(l,p);if(i!==w.value)return;let h=function(e){return e?typeof e==`string`?e:typeof e.svg==`string`?e.svg:typeof e.data==`string`?e.data:``:``}(m);if(!h)throw Error(`D2 render returned empty output.`);(function(e){C.value=function(e){if(typeof window>`u`||typeof DOMParser>`u`||!e)return``;let t=e.replace(/["']\s*javascript:/gi,`#`).replace(/\bjavascript:/gi,`#`).replace(/["']\s*vbscript:/gi,`#`).replace(/\bvbscript:/gi,`#`).replace(/\bdata:text\/html/gi,`#`),n=new DOMParser().parseFromString(t,`image/svg+xml`).documentElement;if(!n||n.nodeName.toLowerCase()!==`svg`)return``;let r=n;return function(e){let t=new Set([`script`]),n=[e,...Array.from(e.querySelectorAll(`*`))];for(let e of n){if(t.has(e.tagName.toLowerCase())){e.remove();continue}let n=Array.from(e.attributes);for(let t of n){let n=t.name;if(/^on/i.test(n))e.removeAttribute(n);else{if(n===`style`&&t.value){let r=t.value;if(ue.some(e=>e.test(r))){e.removeAttribute(n);continue}}if((n===`href`||n===`xlink:href`)&&t.value){let r=fe(t.value);if(!r){e.removeAttribute(n);continue}r!==t.value&&e.setAttribute(n,r)}}}}}(r),r.classList.add(`markstream-d2-root-svg`),r.outerHTML}(e)||``})(h),G=t,r.loading&&(y.value=!1),x.value=null}catch(e){if(i!==w.value)return;let t=e?.message?String(e.message):`D2 render failed.`;r.loading||(x.value=t),G=``,t.includes(`@terrastruct/d2`)&&(b.value=!1,y.value=!0)}finally{i===w.value&&(S.value=!1,U&&(U=!1,Q()))}})}function Q(e=!1){if(z||!L||B)return;if(S.value)return void(U=!0);let t=Math.max(120,Number(r.progressiveIntervalMs)||0),n=Date.now()-V;if(!e&&n<t)return U=!0,void(H==null&&(H=window.setTimeout(()=>{H=null,U&&(U=!1,Q(!0))},Math.max(0,t-n))));z=!0;let i=()=>{z=!1,V=Date.now(),pe()};typeof window<`u`&&typeof window.requestAnimationFrame==`function`?window.requestAnimationFrame(i):setTimeout(i,0)}function me(){if(C.value)try{let e=new Blob([C.value],{type:`image/svg+xml;charset=utf-8`}),t=URL.createObjectURL(e);if(typeof document<`u`){let e=document.createElement(`a`);e.href=t,e.download=`d2-diagram-${Date.now()}.svg`,document.body.appendChild(e),e.click(),document.body.removeChild(e)}URL.revokeObjectURL(t)}catch(e){console.error(`Failed to export SVG:`,e)}}function $(){let e=T.value;if(!e)return;let t=e.getBoundingClientRect().height;t>0&&(E.value=t)}return(0,t.watch)(()=>[r.node.code,r.loading,r.isDark],()=>{Q()},{immediate:!0}),(0,t.watch)(()=>r.loading,(e,t)=>{t&&!e&&Q(!0)}),(0,t.watch)(()=>A.value,e=>{e&&Q(!0)}),(0,t.watch)(()=>[N.value,C.value,j.value],()=>{(0,t.nextTick)(()=>{$()})}),(0,t.onMounted)(()=>{(0,t.nextTick)(()=>{$()}),typeof ResizeObserver<`u`&&(W=new ResizeObserver(()=>{$()}),T.value&&W.observe(T.value))}),(0,t.onBeforeUnmount)(()=>{var e;B=!0,G=``,(e=k.value)==null||e.destroy(),k.value=null,H!=null&&(clearTimeout(H),H=null),W?.disconnect(),W=null}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`viewportTarget`,ref:D,class:(0,t.normalizeClass)([`d2-block-container my-4 rounded-lg border overflow-hidden shadow-sm`,r.isDark?`border-gray-700/30 bg-gray-900 text-gray-100`:`border-gray-200 bg-white text-gray-900`]),"data-markstream-d2":`1`,"data-markstream-mode":N.value?`fallback`:`preview`},[r.showHeader?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,u,[n[16]||=(0,t.createElementVNode)(`div`,{class:`flex items-center gap-x-2`},[(0,t.createElementVNode)(`span`,{class:`text-sm font-medium font-mono`},`D2`)],-1),(0,t.createElementVNode)(`div`,d,[r.showModeToggle?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`flex items-center gap-x-1 rounded-md p-0.5`,r.isDark?`bg-gray-700`:`bg-gray-100`])},[(0,t.createElementVNode)(`button`,{type:`button`,class:(0,t.normalizeClass)([`mode-btn px-2 py-1 text-xs rounded`,y.value?``:`is-active`]),onClick:n[0]||=e=>X(`preview`),onMouseenter:n[1]||=e=>q(e,(0,t.unref)(i)(`common.preview`)||`Preview`),onFocus:n[2]||=e=>q(e,(0,t.unref)(i)(`common.preview`)||`Preview`),onMouseleave:J,onBlur:J},(0,t.toDisplayString)((0,t.unref)(i)(`common.preview`)||`Preview`),35),(0,t.createElementVNode)(`button`,{type:`button`,class:(0,t.normalizeClass)([`mode-btn px-2 py-1 text-xs rounded`,y.value?`is-active`:``]),onClick:n[3]||=e=>X(`source`),onMouseenter:n[4]||=e=>q(e,(0,t.unref)(i)(`common.source`)||`Source`),onFocus:n[5]||=e=>q(e,(0,t.unref)(i)(`common.source`)||`Source`),onMouseleave:J,onBlur:J},(0,t.toDisplayString)((0,t.unref)(i)(`common.source`)||`Source`),35)],2)):(0,t.createCommentVNode)(``,!0),r.showCopyButton?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:1,type:`button`,class:`d2-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]`,"aria-label":a.value?(0,t.unref)(i)(`common.copied`)||`Copied`:(0,t.unref)(i)(`common.copy`)||`Copy`,onClick:ce,onMouseenter:n[6]||=e=>Y(e),onFocus:n[7]||=e=>Y(e),onMouseleave:J,onBlur:J},[a.value?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,m,[...n[13]||=[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M20 6L9 17l-5-5`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,p,[...n[12]||=[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}),(0,t.createElementVNode)(`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`})],-1)]]))],40,f)):(0,t.createCommentVNode)(``,!0),r.showExportButton&&C.value?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:2,type:`button`,class:`d2-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]`,"aria-label":(0,t.unref)(i)(`common.export`)||`Export`,onClick:me,onMouseenter:n[8]||=e=>q(e,(0,t.unref)(i)(`common.export`)||`Export`),onFocus:n[9]||=e=>q(e,(0,t.unref)(i)(`common.export`)||`Export`),onMouseleave:J,onBlur:J},[...n[14]||=[(0,t.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M12 3v12m0-12l-4 4m4-4l4 4M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4`})],-1)]],40,h)):(0,t.createCommentVNode)(``,!0),r.showCollapseButton?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:3,type:`button`,class:`d2-action-btn p-2 text-xs rounded-md transition-colors hover:bg-[var(--vscode-editor-selectionBackground)]`,"aria-pressed":o.value,onClick:le,onMouseenter:n[10]||=e=>q(e,o.value?(0,t.unref)(i)(`common.expand`)||`Expand`:(0,t.unref)(i)(`common.collapse`)||`Collapse`),onFocus:n[11]||=e=>q(e,o.value?(0,t.unref)(i)(`common.expand`)||`Expand`:(0,t.unref)(i)(`common.collapse`)||`Collapse`),onMouseleave:J,onBlur:J},[((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{style:(0,t.normalizeStyle)({rotate:o.value?`0deg`:`90deg`}),xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,role:`img`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,class:`w-3 h-3`},[...n[15]||=[(0,t.createElementVNode)(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m9 18l6-6l-6-6`},null,-1)]],4))],40,ee)):(0,t.createCommentVNode)(``,!0)])])):(0,t.createCommentVNode)(``,!0),(0,t.withDirectives)((0,t.createElementVNode)(`div`,{ref_key:`bodyRef`,ref:T,class:`d2-block-body`,style:(0,t.normalizeStyle)(F.value)},[r.loading&&!P.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,te,[(0,t.createElementVNode)(`pre`,g,[(0,t.createElementVNode)(`code`,null,(0,t.toDisplayString)(j.value),1)]),x.value?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,_,(0,t.toDisplayString)(x.value),1)):(0,t.createCommentVNode)(``,!0)])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,v,[N.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ne,[(0,t.createElementVNode)(`pre`,re,[(0,t.createElementVNode)(`code`,null,(0,t.toDisplayString)(j.value),1)]),x.value?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,ie,(0,t.toDisplayString)(x.value),1)):(0,t.createCommentVNode)(``,!0)])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:1,class:`d2-render`,style:(0,t.normalizeStyle)(I.value)},[(0,t.createElementVNode)(`div`,{class:`d2-svg`,innerHTML:C.value},null,8,ae),x.value?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,oe,(0,t.toDisplayString)(x.value),1)):(0,t.createCommentVNode)(``,!0)],4))]))],4),[[t.vShow,!o.value]])],10,l))}}),[[`__scopeId`,`data-v-90ebc4d2`]]);y.install=e=>{e.component(y.__name,y)},exports.default=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./CodeBlockNode-CTasgSPs.cjs");e.default.install=t=>{t.component(e.default.__name,e.default)},exports.default=e.default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./CodeBlockNode-DuMNoiwD.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/markstream-vue@0.0.10_katex@0.16.47_mermaid@11.16.0_shiki@2.5.0_stream-markdown@0.0.16__933418433302c8f1097502413881496d/node_modules/markstream-vue/dist/index7.js
|
|
3
|
+
e.install = (t) => {
|
|
4
|
+
t.component(e.__name, e);
|
|
5
|
+
};
|
|
6
|
+
//#endregion
|
|
7
|
+
export { e as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./chunk-KEIR6QF5-CNjhxe7N.cjs");const e=require("./mermaid-parser.core-C0weIoPn.cjs");exports.createInfoServices=e.w;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { n as e } from "./mermaid-parser.core-Bhhg_EMD.js";
|
|
2
|
+
import { n as t } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
|
|
3
|
+
import { m as n } from "./src-DR6txdQ-.js";
|
|
4
|
+
import { c as r } from "./chunk-WYO6CB5R-DVUXWnvM.js";
|
|
5
|
+
import { t as i } from "./chunk-VAUOI2AC-D4COVrqB.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-FWYZ7A6U.mjs
|
|
7
|
+
var a = { parse: /* @__PURE__ */ t(async (t) => {
|
|
8
|
+
let r = await e("info", t);
|
|
9
|
+
n.debug(r);
|
|
10
|
+
}, "parse") }, o = { version: "11.16.0" }, s = {
|
|
11
|
+
parser: a,
|
|
12
|
+
db: { getVersion: /* @__PURE__ */ t(() => o.version, "getVersion") },
|
|
13
|
+
renderer: { draw: /* @__PURE__ */ t((e, t, a) => {
|
|
14
|
+
n.debug("rendering info diagram\n" + e);
|
|
15
|
+
let o = i(t);
|
|
16
|
+
r(o, 100, 400, !0), o.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${a}`);
|
|
17
|
+
}, "draw") }
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as diagram };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("./mermaid-parser.core-C0weIoPn.cjs"),t=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),n=require("./src-CR--T_NF.cjs"),r=require("./chunk-WYO6CB5R-DNtzmu_Z.cjs"),i=require("./chunk-VAUOI2AC-3AGHwQI8.cjs");var a={parse:t.n(async t=>{let r=await e.n(`info`,t);n.m.debug(r)},`parse`)},o={version:`11.16.0`},s={parser:a,db:{getVersion:t.n(()=>o.version,`getVersion`)},renderer:{draw:t.n((e,t,a)=>{n.m.debug(`rendering info diagram
|
|
2
|
+
`+e);let o=i.t(t);r.c(o,100,400,!0),o.append(`g`).append(`text`).attr(`x`,100).attr(`y`,40).attr(`class`,`version`).attr(`font-size`,32).style(`text-anchor`,`middle`).text(`v${a}`)},`draw`)}};exports.diagram=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
throw Error(`Could not resolve "@antv/infographic" imported by "markstream-vue". Is it installed?`);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e = [Object.freeze(JSON.parse("{\"displayName\":\"INI\",\"name\":\"ini\",\"patterns\":[{\"begin\":\"(^[ \\\\t]+)?(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.ini\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.ini\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.ini\"}]},{\"begin\":\"(^[ \\\\t]+)?(?=;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.ini\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\";\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.ini\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.semicolon.ini\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.other.definition.ini\"},\"2\":{\"name\":\"punctuation.separator.key-value.ini\"}},\"match\":\"\\\\b([a-zA-Z0-9_.-]+)\\\\b\\\\s*(=)\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.ini\"},\"3\":{\"name\":\"punctuation.definition.entity.ini\"}},\"match\":\"^(\\\\[)(.*?)(\\\\])\",\"name\":\"entity.name.section.group-title.ini\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.ini\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.ini\"}},\"name\":\"string.quoted.single.ini\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.ini\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.ini\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.ini\"}},\"name\":\"string.quoted.double.ini\"}],\"scopeName\":\"source.ini\",\"aliases\":[\"properties\"]}"))];
|
|
2
|
+
//#endregion
|
|
3
|
+
export { e as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"INI","name":"ini","patterns":[{"begin":"(^[ \\\\t]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.number-sign.ini"}]},{"begin":"(^[ \\\\t]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.semicolon.ini"}]},{"captures":{"1":{"name":"keyword.other.definition.ini"},"2":{"name":"punctuation.separator.key-value.ini"}},"match":"\\\\b([a-zA-Z0-9_.-]+)\\\\b\\\\s*(=)"},{"captures":{"1":{"name":"punctuation.definition.entity.ini"},"3":{"name":"punctuation.definition.entity.ini"}},"match":"^(\\\\[)(.*?)(\\\\])","name":"entity.name.section.group-title.ini"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.single.ini","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ini"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.double.ini"}],"scopeName":"source.ini","aliases":["properties"]}`))];exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|