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,2046 @@
|
|
|
1
|
+
import { n as e } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
|
|
2
|
+
import { m as t, p as n } from "./src-DR6txdQ-.js";
|
|
3
|
+
import { $ as r, H as i, K as a, U as o, a as s, s as c, v as l, w as u, x as d, y as f } from "./chunk-WYO6CB5R-DVUXWnvM.js";
|
|
4
|
+
import { g as p, s as m } from "./chunk-ICXQ74PX-Bq9mKzdP.js";
|
|
5
|
+
import { t as h } from "./chunk-32BRIVSS-O-rQI_k2.js";
|
|
6
|
+
import { t as g } from "./chunk-XXDRQBXY-DWq_A1Wb.js";
|
|
7
|
+
import { t as _ } from "./chunk-VR4S4FIN-BBKjPbG_.js";
|
|
8
|
+
import { r as v } from "./chunk-FWX5IMBZ-c8mJHkIt.js";
|
|
9
|
+
//#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EX3LRPZG.mjs
|
|
10
|
+
var y = (function() {
|
|
11
|
+
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
12
|
+
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
13
|
+
return n;
|
|
14
|
+
}, "o"), n = [1, 2], r = [1, 3], i = [1, 4], a = [2, 4], o = [1, 9], s = [1, 11], c = [1, 16], l = [1, 17], u = [1, 18], d = [1, 19], f = [1, 33], p = [1, 20], m = [1, 21], h = [1, 22], g = [1, 23], _ = [1, 24], v = [1, 26], y = [1, 27], b = [1, 28], x = [1, 29], S = [1, 30], C = [1, 31], w = [1, 32], T = [1, 35], E = [1, 36], D = [1, 37], O = [1, 38], k = [1, 34], A = [
|
|
15
|
+
1,
|
|
16
|
+
4,
|
|
17
|
+
5,
|
|
18
|
+
16,
|
|
19
|
+
17,
|
|
20
|
+
19,
|
|
21
|
+
21,
|
|
22
|
+
22,
|
|
23
|
+
24,
|
|
24
|
+
25,
|
|
25
|
+
26,
|
|
26
|
+
27,
|
|
27
|
+
28,
|
|
28
|
+
29,
|
|
29
|
+
33,
|
|
30
|
+
35,
|
|
31
|
+
37,
|
|
32
|
+
38,
|
|
33
|
+
41,
|
|
34
|
+
45,
|
|
35
|
+
48,
|
|
36
|
+
51,
|
|
37
|
+
52,
|
|
38
|
+
53,
|
|
39
|
+
54,
|
|
40
|
+
57
|
|
41
|
+
], j = [
|
|
42
|
+
1,
|
|
43
|
+
4,
|
|
44
|
+
5,
|
|
45
|
+
14,
|
|
46
|
+
15,
|
|
47
|
+
16,
|
|
48
|
+
17,
|
|
49
|
+
19,
|
|
50
|
+
21,
|
|
51
|
+
22,
|
|
52
|
+
24,
|
|
53
|
+
25,
|
|
54
|
+
26,
|
|
55
|
+
27,
|
|
56
|
+
28,
|
|
57
|
+
29,
|
|
58
|
+
33,
|
|
59
|
+
35,
|
|
60
|
+
37,
|
|
61
|
+
38,
|
|
62
|
+
39,
|
|
63
|
+
40,
|
|
64
|
+
41,
|
|
65
|
+
45,
|
|
66
|
+
48,
|
|
67
|
+
51,
|
|
68
|
+
52,
|
|
69
|
+
53,
|
|
70
|
+
54,
|
|
71
|
+
57
|
|
72
|
+
], M = [
|
|
73
|
+
4,
|
|
74
|
+
5,
|
|
75
|
+
16,
|
|
76
|
+
17,
|
|
77
|
+
19,
|
|
78
|
+
21,
|
|
79
|
+
22,
|
|
80
|
+
24,
|
|
81
|
+
25,
|
|
82
|
+
26,
|
|
83
|
+
27,
|
|
84
|
+
28,
|
|
85
|
+
29,
|
|
86
|
+
33,
|
|
87
|
+
35,
|
|
88
|
+
37,
|
|
89
|
+
38,
|
|
90
|
+
41,
|
|
91
|
+
45,
|
|
92
|
+
48,
|
|
93
|
+
51,
|
|
94
|
+
52,
|
|
95
|
+
53,
|
|
96
|
+
54,
|
|
97
|
+
57
|
|
98
|
+
], N = {
|
|
99
|
+
trace: /* @__PURE__ */ e(function() {}, "trace"),
|
|
100
|
+
yy: {},
|
|
101
|
+
symbols_: {
|
|
102
|
+
error: 2,
|
|
103
|
+
start: 3,
|
|
104
|
+
SPACE: 4,
|
|
105
|
+
NL: 5,
|
|
106
|
+
SD: 6,
|
|
107
|
+
document: 7,
|
|
108
|
+
line: 8,
|
|
109
|
+
statement: 9,
|
|
110
|
+
classDefStatement: 10,
|
|
111
|
+
styleStatement: 11,
|
|
112
|
+
cssClassStatement: 12,
|
|
113
|
+
idStatement: 13,
|
|
114
|
+
DESCR: 14,
|
|
115
|
+
"-->": 15,
|
|
116
|
+
HIDE_EMPTY: 16,
|
|
117
|
+
scale: 17,
|
|
118
|
+
WIDTH: 18,
|
|
119
|
+
COMPOSIT_STATE: 19,
|
|
120
|
+
STRUCT_START: 20,
|
|
121
|
+
STRUCT_STOP: 21,
|
|
122
|
+
STATE_DESCR: 22,
|
|
123
|
+
AS: 23,
|
|
124
|
+
ID: 24,
|
|
125
|
+
FORK: 25,
|
|
126
|
+
JOIN: 26,
|
|
127
|
+
CHOICE: 27,
|
|
128
|
+
CONCURRENT: 28,
|
|
129
|
+
note: 29,
|
|
130
|
+
notePosition: 30,
|
|
131
|
+
NOTE_TEXT: 31,
|
|
132
|
+
direction: 32,
|
|
133
|
+
acc_title: 33,
|
|
134
|
+
acc_title_value: 34,
|
|
135
|
+
acc_descr: 35,
|
|
136
|
+
acc_descr_value: 36,
|
|
137
|
+
acc_descr_multiline_value: 37,
|
|
138
|
+
CLICK: 38,
|
|
139
|
+
STRING: 39,
|
|
140
|
+
HREF: 40,
|
|
141
|
+
classDef: 41,
|
|
142
|
+
CLASSDEF_ID: 42,
|
|
143
|
+
CLASSDEF_STYLEOPTS: 43,
|
|
144
|
+
DEFAULT: 44,
|
|
145
|
+
style: 45,
|
|
146
|
+
STYLE_IDS: 46,
|
|
147
|
+
STYLEDEF_STYLEOPTS: 47,
|
|
148
|
+
class: 48,
|
|
149
|
+
CLASSENTITY_IDS: 49,
|
|
150
|
+
STYLECLASS: 50,
|
|
151
|
+
direction_tb: 51,
|
|
152
|
+
direction_bt: 52,
|
|
153
|
+
direction_rl: 53,
|
|
154
|
+
direction_lr: 54,
|
|
155
|
+
eol: 55,
|
|
156
|
+
";": 56,
|
|
157
|
+
EDGE_STATE: 57,
|
|
158
|
+
STYLE_SEPARATOR: 58,
|
|
159
|
+
left_of: 59,
|
|
160
|
+
right_of: 60,
|
|
161
|
+
$accept: 0,
|
|
162
|
+
$end: 1
|
|
163
|
+
},
|
|
164
|
+
terminals_: {
|
|
165
|
+
2: "error",
|
|
166
|
+
4: "SPACE",
|
|
167
|
+
5: "NL",
|
|
168
|
+
6: "SD",
|
|
169
|
+
14: "DESCR",
|
|
170
|
+
15: "-->",
|
|
171
|
+
16: "HIDE_EMPTY",
|
|
172
|
+
17: "scale",
|
|
173
|
+
18: "WIDTH",
|
|
174
|
+
19: "COMPOSIT_STATE",
|
|
175
|
+
20: "STRUCT_START",
|
|
176
|
+
21: "STRUCT_STOP",
|
|
177
|
+
22: "STATE_DESCR",
|
|
178
|
+
23: "AS",
|
|
179
|
+
24: "ID",
|
|
180
|
+
25: "FORK",
|
|
181
|
+
26: "JOIN",
|
|
182
|
+
27: "CHOICE",
|
|
183
|
+
28: "CONCURRENT",
|
|
184
|
+
29: "note",
|
|
185
|
+
31: "NOTE_TEXT",
|
|
186
|
+
33: "acc_title",
|
|
187
|
+
34: "acc_title_value",
|
|
188
|
+
35: "acc_descr",
|
|
189
|
+
36: "acc_descr_value",
|
|
190
|
+
37: "acc_descr_multiline_value",
|
|
191
|
+
38: "CLICK",
|
|
192
|
+
39: "STRING",
|
|
193
|
+
40: "HREF",
|
|
194
|
+
41: "classDef",
|
|
195
|
+
42: "CLASSDEF_ID",
|
|
196
|
+
43: "CLASSDEF_STYLEOPTS",
|
|
197
|
+
44: "DEFAULT",
|
|
198
|
+
45: "style",
|
|
199
|
+
46: "STYLE_IDS",
|
|
200
|
+
47: "STYLEDEF_STYLEOPTS",
|
|
201
|
+
48: "class",
|
|
202
|
+
49: "CLASSENTITY_IDS",
|
|
203
|
+
50: "STYLECLASS",
|
|
204
|
+
51: "direction_tb",
|
|
205
|
+
52: "direction_bt",
|
|
206
|
+
53: "direction_rl",
|
|
207
|
+
54: "direction_lr",
|
|
208
|
+
56: ";",
|
|
209
|
+
57: "EDGE_STATE",
|
|
210
|
+
58: "STYLE_SEPARATOR",
|
|
211
|
+
59: "left_of",
|
|
212
|
+
60: "right_of"
|
|
213
|
+
},
|
|
214
|
+
productions_: [
|
|
215
|
+
0,
|
|
216
|
+
[3, 2],
|
|
217
|
+
[3, 2],
|
|
218
|
+
[3, 2],
|
|
219
|
+
[7, 0],
|
|
220
|
+
[7, 2],
|
|
221
|
+
[8, 2],
|
|
222
|
+
[8, 1],
|
|
223
|
+
[8, 1],
|
|
224
|
+
[9, 1],
|
|
225
|
+
[9, 1],
|
|
226
|
+
[9, 1],
|
|
227
|
+
[9, 1],
|
|
228
|
+
[9, 2],
|
|
229
|
+
[9, 3],
|
|
230
|
+
[9, 4],
|
|
231
|
+
[9, 1],
|
|
232
|
+
[9, 2],
|
|
233
|
+
[9, 1],
|
|
234
|
+
[9, 4],
|
|
235
|
+
[9, 3],
|
|
236
|
+
[9, 6],
|
|
237
|
+
[9, 1],
|
|
238
|
+
[9, 1],
|
|
239
|
+
[9, 1],
|
|
240
|
+
[9, 1],
|
|
241
|
+
[9, 4],
|
|
242
|
+
[9, 4],
|
|
243
|
+
[9, 1],
|
|
244
|
+
[9, 2],
|
|
245
|
+
[9, 2],
|
|
246
|
+
[9, 1],
|
|
247
|
+
[9, 5],
|
|
248
|
+
[9, 5],
|
|
249
|
+
[10, 3],
|
|
250
|
+
[10, 3],
|
|
251
|
+
[11, 3],
|
|
252
|
+
[12, 3],
|
|
253
|
+
[32, 1],
|
|
254
|
+
[32, 1],
|
|
255
|
+
[32, 1],
|
|
256
|
+
[32, 1],
|
|
257
|
+
[55, 1],
|
|
258
|
+
[55, 1],
|
|
259
|
+
[13, 1],
|
|
260
|
+
[13, 1],
|
|
261
|
+
[13, 3],
|
|
262
|
+
[13, 3],
|
|
263
|
+
[30, 1],
|
|
264
|
+
[30, 1]
|
|
265
|
+
],
|
|
266
|
+
performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
|
|
267
|
+
var s = a.length - 1;
|
|
268
|
+
switch (i) {
|
|
269
|
+
case 3: return r.setRootDoc(a[s]), a[s];
|
|
270
|
+
case 4:
|
|
271
|
+
this.$ = [];
|
|
272
|
+
break;
|
|
273
|
+
case 5:
|
|
274
|
+
a[s] != "nl" && (a[s - 1].push(a[s]), this.$ = a[s - 1]);
|
|
275
|
+
break;
|
|
276
|
+
case 6:
|
|
277
|
+
case 7:
|
|
278
|
+
this.$ = a[s];
|
|
279
|
+
break;
|
|
280
|
+
case 8:
|
|
281
|
+
this.$ = "nl";
|
|
282
|
+
break;
|
|
283
|
+
case 12:
|
|
284
|
+
this.$ = a[s];
|
|
285
|
+
break;
|
|
286
|
+
case 13:
|
|
287
|
+
let e = a[s - 1];
|
|
288
|
+
e.description = r.trimColon(a[s]), this.$ = e;
|
|
289
|
+
break;
|
|
290
|
+
case 14:
|
|
291
|
+
this.$ = {
|
|
292
|
+
stmt: "relation",
|
|
293
|
+
state1: a[s - 2],
|
|
294
|
+
state2: a[s]
|
|
295
|
+
};
|
|
296
|
+
break;
|
|
297
|
+
case 15:
|
|
298
|
+
let t = r.trimColon(a[s]);
|
|
299
|
+
this.$ = {
|
|
300
|
+
stmt: "relation",
|
|
301
|
+
state1: a[s - 3],
|
|
302
|
+
state2: a[s - 1],
|
|
303
|
+
description: t
|
|
304
|
+
};
|
|
305
|
+
break;
|
|
306
|
+
case 19:
|
|
307
|
+
this.$ = {
|
|
308
|
+
stmt: "state",
|
|
309
|
+
id: a[s - 3],
|
|
310
|
+
type: "default",
|
|
311
|
+
description: "",
|
|
312
|
+
doc: a[s - 1]
|
|
313
|
+
};
|
|
314
|
+
break;
|
|
315
|
+
case 20:
|
|
316
|
+
var c = a[s], l = a[s - 2].trim();
|
|
317
|
+
if (a[s].match(":")) {
|
|
318
|
+
var u = a[s].split(":");
|
|
319
|
+
c = u[0], l = [l, u[1]];
|
|
320
|
+
}
|
|
321
|
+
this.$ = {
|
|
322
|
+
stmt: "state",
|
|
323
|
+
id: c,
|
|
324
|
+
type: "default",
|
|
325
|
+
description: l
|
|
326
|
+
};
|
|
327
|
+
break;
|
|
328
|
+
case 21:
|
|
329
|
+
this.$ = {
|
|
330
|
+
stmt: "state",
|
|
331
|
+
id: a[s - 3],
|
|
332
|
+
type: "default",
|
|
333
|
+
description: a[s - 5],
|
|
334
|
+
doc: a[s - 1]
|
|
335
|
+
};
|
|
336
|
+
break;
|
|
337
|
+
case 22:
|
|
338
|
+
this.$ = {
|
|
339
|
+
stmt: "state",
|
|
340
|
+
id: a[s],
|
|
341
|
+
type: "fork"
|
|
342
|
+
};
|
|
343
|
+
break;
|
|
344
|
+
case 23:
|
|
345
|
+
this.$ = {
|
|
346
|
+
stmt: "state",
|
|
347
|
+
id: a[s],
|
|
348
|
+
type: "join"
|
|
349
|
+
};
|
|
350
|
+
break;
|
|
351
|
+
case 24:
|
|
352
|
+
this.$ = {
|
|
353
|
+
stmt: "state",
|
|
354
|
+
id: a[s],
|
|
355
|
+
type: "choice"
|
|
356
|
+
};
|
|
357
|
+
break;
|
|
358
|
+
case 25:
|
|
359
|
+
this.$ = {
|
|
360
|
+
stmt: "state",
|
|
361
|
+
id: r.getDividerId(),
|
|
362
|
+
type: "divider"
|
|
363
|
+
};
|
|
364
|
+
break;
|
|
365
|
+
case 26:
|
|
366
|
+
this.$ = {
|
|
367
|
+
stmt: "state",
|
|
368
|
+
id: a[s - 1].trim(),
|
|
369
|
+
note: {
|
|
370
|
+
position: a[s - 2].trim(),
|
|
371
|
+
text: a[s].trim()
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
break;
|
|
375
|
+
case 29:
|
|
376
|
+
this.$ = a[s].trim(), r.setAccTitle(this.$);
|
|
377
|
+
break;
|
|
378
|
+
case 30:
|
|
379
|
+
case 31:
|
|
380
|
+
this.$ = a[s].trim(), r.setAccDescription(this.$);
|
|
381
|
+
break;
|
|
382
|
+
case 32:
|
|
383
|
+
this.$ = {
|
|
384
|
+
stmt: "click",
|
|
385
|
+
id: a[s - 3],
|
|
386
|
+
url: a[s - 2],
|
|
387
|
+
tooltip: a[s - 1]
|
|
388
|
+
};
|
|
389
|
+
break;
|
|
390
|
+
case 33:
|
|
391
|
+
this.$ = {
|
|
392
|
+
stmt: "click",
|
|
393
|
+
id: a[s - 3],
|
|
394
|
+
url: a[s - 1],
|
|
395
|
+
tooltip: ""
|
|
396
|
+
};
|
|
397
|
+
break;
|
|
398
|
+
case 34:
|
|
399
|
+
case 35:
|
|
400
|
+
this.$ = {
|
|
401
|
+
stmt: "classDef",
|
|
402
|
+
id: a[s - 1].trim(),
|
|
403
|
+
classes: a[s].trim()
|
|
404
|
+
};
|
|
405
|
+
break;
|
|
406
|
+
case 36:
|
|
407
|
+
this.$ = {
|
|
408
|
+
stmt: "style",
|
|
409
|
+
id: a[s - 1].trim(),
|
|
410
|
+
styleClass: a[s].trim()
|
|
411
|
+
};
|
|
412
|
+
break;
|
|
413
|
+
case 37:
|
|
414
|
+
this.$ = {
|
|
415
|
+
stmt: "applyClass",
|
|
416
|
+
id: a[s - 1].trim(),
|
|
417
|
+
styleClass: a[s].trim()
|
|
418
|
+
};
|
|
419
|
+
break;
|
|
420
|
+
case 38:
|
|
421
|
+
r.setDirection("TB"), this.$ = {
|
|
422
|
+
stmt: "dir",
|
|
423
|
+
value: "TB"
|
|
424
|
+
};
|
|
425
|
+
break;
|
|
426
|
+
case 39:
|
|
427
|
+
r.setDirection("BT"), this.$ = {
|
|
428
|
+
stmt: "dir",
|
|
429
|
+
value: "BT"
|
|
430
|
+
};
|
|
431
|
+
break;
|
|
432
|
+
case 40:
|
|
433
|
+
r.setDirection("RL"), this.$ = {
|
|
434
|
+
stmt: "dir",
|
|
435
|
+
value: "RL"
|
|
436
|
+
};
|
|
437
|
+
break;
|
|
438
|
+
case 41:
|
|
439
|
+
r.setDirection("LR"), this.$ = {
|
|
440
|
+
stmt: "dir",
|
|
441
|
+
value: "LR"
|
|
442
|
+
};
|
|
443
|
+
break;
|
|
444
|
+
case 44:
|
|
445
|
+
case 45:
|
|
446
|
+
this.$ = {
|
|
447
|
+
stmt: "state",
|
|
448
|
+
id: a[s].trim(),
|
|
449
|
+
type: "default",
|
|
450
|
+
description: ""
|
|
451
|
+
};
|
|
452
|
+
break;
|
|
453
|
+
case 46:
|
|
454
|
+
this.$ = {
|
|
455
|
+
stmt: "state",
|
|
456
|
+
id: a[s - 2].trim(),
|
|
457
|
+
classes: [a[s].trim()],
|
|
458
|
+
type: "default",
|
|
459
|
+
description: ""
|
|
460
|
+
};
|
|
461
|
+
break;
|
|
462
|
+
case 47:
|
|
463
|
+
this.$ = {
|
|
464
|
+
stmt: "state",
|
|
465
|
+
id: a[s - 2].trim(),
|
|
466
|
+
classes: [a[s].trim()],
|
|
467
|
+
type: "default",
|
|
468
|
+
description: ""
|
|
469
|
+
};
|
|
470
|
+
break;
|
|
471
|
+
}
|
|
472
|
+
}, "anonymous"),
|
|
473
|
+
table: [
|
|
474
|
+
{
|
|
475
|
+
3: 1,
|
|
476
|
+
4: n,
|
|
477
|
+
5: r,
|
|
478
|
+
6: i
|
|
479
|
+
},
|
|
480
|
+
{ 1: [3] },
|
|
481
|
+
{
|
|
482
|
+
3: 5,
|
|
483
|
+
4: n,
|
|
484
|
+
5: r,
|
|
485
|
+
6: i
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
3: 6,
|
|
489
|
+
4: n,
|
|
490
|
+
5: r,
|
|
491
|
+
6: i
|
|
492
|
+
},
|
|
493
|
+
t([
|
|
494
|
+
1,
|
|
495
|
+
4,
|
|
496
|
+
5,
|
|
497
|
+
16,
|
|
498
|
+
17,
|
|
499
|
+
19,
|
|
500
|
+
22,
|
|
501
|
+
24,
|
|
502
|
+
25,
|
|
503
|
+
26,
|
|
504
|
+
27,
|
|
505
|
+
28,
|
|
506
|
+
29,
|
|
507
|
+
33,
|
|
508
|
+
35,
|
|
509
|
+
37,
|
|
510
|
+
38,
|
|
511
|
+
41,
|
|
512
|
+
45,
|
|
513
|
+
48,
|
|
514
|
+
51,
|
|
515
|
+
52,
|
|
516
|
+
53,
|
|
517
|
+
54,
|
|
518
|
+
57
|
|
519
|
+
], a, { 7: 7 }),
|
|
520
|
+
{ 1: [2, 1] },
|
|
521
|
+
{ 1: [2, 2] },
|
|
522
|
+
{
|
|
523
|
+
1: [2, 3],
|
|
524
|
+
4: o,
|
|
525
|
+
5: s,
|
|
526
|
+
8: 8,
|
|
527
|
+
9: 10,
|
|
528
|
+
10: 12,
|
|
529
|
+
11: 13,
|
|
530
|
+
12: 14,
|
|
531
|
+
13: 15,
|
|
532
|
+
16: c,
|
|
533
|
+
17: l,
|
|
534
|
+
19: u,
|
|
535
|
+
22: d,
|
|
536
|
+
24: f,
|
|
537
|
+
25: p,
|
|
538
|
+
26: m,
|
|
539
|
+
27: h,
|
|
540
|
+
28: g,
|
|
541
|
+
29: _,
|
|
542
|
+
32: 25,
|
|
543
|
+
33: v,
|
|
544
|
+
35: y,
|
|
545
|
+
37: b,
|
|
546
|
+
38: x,
|
|
547
|
+
41: S,
|
|
548
|
+
45: C,
|
|
549
|
+
48: w,
|
|
550
|
+
51: T,
|
|
551
|
+
52: E,
|
|
552
|
+
53: D,
|
|
553
|
+
54: O,
|
|
554
|
+
57: k
|
|
555
|
+
},
|
|
556
|
+
t(A, [2, 5]),
|
|
557
|
+
{
|
|
558
|
+
9: 39,
|
|
559
|
+
10: 12,
|
|
560
|
+
11: 13,
|
|
561
|
+
12: 14,
|
|
562
|
+
13: 15,
|
|
563
|
+
16: c,
|
|
564
|
+
17: l,
|
|
565
|
+
19: u,
|
|
566
|
+
22: d,
|
|
567
|
+
24: f,
|
|
568
|
+
25: p,
|
|
569
|
+
26: m,
|
|
570
|
+
27: h,
|
|
571
|
+
28: g,
|
|
572
|
+
29: _,
|
|
573
|
+
32: 25,
|
|
574
|
+
33: v,
|
|
575
|
+
35: y,
|
|
576
|
+
37: b,
|
|
577
|
+
38: x,
|
|
578
|
+
41: S,
|
|
579
|
+
45: C,
|
|
580
|
+
48: w,
|
|
581
|
+
51: T,
|
|
582
|
+
52: E,
|
|
583
|
+
53: D,
|
|
584
|
+
54: O,
|
|
585
|
+
57: k
|
|
586
|
+
},
|
|
587
|
+
t(A, [2, 7]),
|
|
588
|
+
t(A, [2, 8]),
|
|
589
|
+
t(A, [2, 9]),
|
|
590
|
+
t(A, [2, 10]),
|
|
591
|
+
t(A, [2, 11]),
|
|
592
|
+
t(A, [2, 12], {
|
|
593
|
+
14: [1, 40],
|
|
594
|
+
15: [1, 41]
|
|
595
|
+
}),
|
|
596
|
+
t(A, [2, 16]),
|
|
597
|
+
{ 18: [1, 42] },
|
|
598
|
+
t(A, [2, 18], { 20: [1, 43] }),
|
|
599
|
+
{ 23: [1, 44] },
|
|
600
|
+
t(A, [2, 22]),
|
|
601
|
+
t(A, [2, 23]),
|
|
602
|
+
t(A, [2, 24]),
|
|
603
|
+
t(A, [2, 25]),
|
|
604
|
+
{
|
|
605
|
+
30: 45,
|
|
606
|
+
31: [1, 46],
|
|
607
|
+
59: [1, 47],
|
|
608
|
+
60: [1, 48]
|
|
609
|
+
},
|
|
610
|
+
t(A, [2, 28]),
|
|
611
|
+
{ 34: [1, 49] },
|
|
612
|
+
{ 36: [1, 50] },
|
|
613
|
+
t(A, [2, 31]),
|
|
614
|
+
{
|
|
615
|
+
13: 51,
|
|
616
|
+
24: f,
|
|
617
|
+
57: k
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
42: [1, 52],
|
|
621
|
+
44: [1, 53]
|
|
622
|
+
},
|
|
623
|
+
{ 46: [1, 54] },
|
|
624
|
+
{ 49: [1, 55] },
|
|
625
|
+
t(j, [2, 44], { 58: [1, 56] }),
|
|
626
|
+
t(j, [2, 45], { 58: [1, 57] }),
|
|
627
|
+
t(A, [2, 38]),
|
|
628
|
+
t(A, [2, 39]),
|
|
629
|
+
t(A, [2, 40]),
|
|
630
|
+
t(A, [2, 41]),
|
|
631
|
+
t(A, [2, 6]),
|
|
632
|
+
t(A, [2, 13]),
|
|
633
|
+
{
|
|
634
|
+
13: 58,
|
|
635
|
+
24: f,
|
|
636
|
+
57: k
|
|
637
|
+
},
|
|
638
|
+
t(A, [2, 17]),
|
|
639
|
+
t(M, a, { 7: 59 }),
|
|
640
|
+
{ 24: [1, 60] },
|
|
641
|
+
{ 24: [1, 61] },
|
|
642
|
+
{ 23: [1, 62] },
|
|
643
|
+
{ 24: [2, 48] },
|
|
644
|
+
{ 24: [2, 49] },
|
|
645
|
+
t(A, [2, 29]),
|
|
646
|
+
t(A, [2, 30]),
|
|
647
|
+
{
|
|
648
|
+
39: [1, 63],
|
|
649
|
+
40: [1, 64]
|
|
650
|
+
},
|
|
651
|
+
{ 43: [1, 65] },
|
|
652
|
+
{ 43: [1, 66] },
|
|
653
|
+
{ 47: [1, 67] },
|
|
654
|
+
{ 50: [1, 68] },
|
|
655
|
+
{ 24: [1, 69] },
|
|
656
|
+
{ 24: [1, 70] },
|
|
657
|
+
t(A, [2, 14], { 14: [1, 71] }),
|
|
658
|
+
{
|
|
659
|
+
4: o,
|
|
660
|
+
5: s,
|
|
661
|
+
8: 8,
|
|
662
|
+
9: 10,
|
|
663
|
+
10: 12,
|
|
664
|
+
11: 13,
|
|
665
|
+
12: 14,
|
|
666
|
+
13: 15,
|
|
667
|
+
16: c,
|
|
668
|
+
17: l,
|
|
669
|
+
19: u,
|
|
670
|
+
21: [1, 72],
|
|
671
|
+
22: d,
|
|
672
|
+
24: f,
|
|
673
|
+
25: p,
|
|
674
|
+
26: m,
|
|
675
|
+
27: h,
|
|
676
|
+
28: g,
|
|
677
|
+
29: _,
|
|
678
|
+
32: 25,
|
|
679
|
+
33: v,
|
|
680
|
+
35: y,
|
|
681
|
+
37: b,
|
|
682
|
+
38: x,
|
|
683
|
+
41: S,
|
|
684
|
+
45: C,
|
|
685
|
+
48: w,
|
|
686
|
+
51: T,
|
|
687
|
+
52: E,
|
|
688
|
+
53: D,
|
|
689
|
+
54: O,
|
|
690
|
+
57: k
|
|
691
|
+
},
|
|
692
|
+
t(A, [2, 20], { 20: [1, 73] }),
|
|
693
|
+
{ 31: [1, 74] },
|
|
694
|
+
{ 24: [1, 75] },
|
|
695
|
+
{ 39: [1, 76] },
|
|
696
|
+
{ 39: [1, 77] },
|
|
697
|
+
t(A, [2, 34]),
|
|
698
|
+
t(A, [2, 35]),
|
|
699
|
+
t(A, [2, 36]),
|
|
700
|
+
t(A, [2, 37]),
|
|
701
|
+
t(j, [2, 46]),
|
|
702
|
+
t(j, [2, 47]),
|
|
703
|
+
t(A, [2, 15]),
|
|
704
|
+
t(A, [2, 19]),
|
|
705
|
+
t(M, a, { 7: 78 }),
|
|
706
|
+
t(A, [2, 26]),
|
|
707
|
+
t(A, [2, 27]),
|
|
708
|
+
{ 5: [1, 79] },
|
|
709
|
+
{ 5: [1, 80] },
|
|
710
|
+
{
|
|
711
|
+
4: o,
|
|
712
|
+
5: s,
|
|
713
|
+
8: 8,
|
|
714
|
+
9: 10,
|
|
715
|
+
10: 12,
|
|
716
|
+
11: 13,
|
|
717
|
+
12: 14,
|
|
718
|
+
13: 15,
|
|
719
|
+
16: c,
|
|
720
|
+
17: l,
|
|
721
|
+
19: u,
|
|
722
|
+
21: [1, 81],
|
|
723
|
+
22: d,
|
|
724
|
+
24: f,
|
|
725
|
+
25: p,
|
|
726
|
+
26: m,
|
|
727
|
+
27: h,
|
|
728
|
+
28: g,
|
|
729
|
+
29: _,
|
|
730
|
+
32: 25,
|
|
731
|
+
33: v,
|
|
732
|
+
35: y,
|
|
733
|
+
37: b,
|
|
734
|
+
38: x,
|
|
735
|
+
41: S,
|
|
736
|
+
45: C,
|
|
737
|
+
48: w,
|
|
738
|
+
51: T,
|
|
739
|
+
52: E,
|
|
740
|
+
53: D,
|
|
741
|
+
54: O,
|
|
742
|
+
57: k
|
|
743
|
+
},
|
|
744
|
+
t(A, [2, 32]),
|
|
745
|
+
t(A, [2, 33]),
|
|
746
|
+
t(A, [2, 21])
|
|
747
|
+
],
|
|
748
|
+
defaultActions: {
|
|
749
|
+
5: [2, 1],
|
|
750
|
+
6: [2, 2],
|
|
751
|
+
47: [2, 48],
|
|
752
|
+
48: [2, 49]
|
|
753
|
+
},
|
|
754
|
+
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
755
|
+
if (t.recoverable) this.trace(e);
|
|
756
|
+
else {
|
|
757
|
+
var n = Error(e);
|
|
758
|
+
throw n.hash = t, n;
|
|
759
|
+
}
|
|
760
|
+
}, "parseError"),
|
|
761
|
+
parse: /* @__PURE__ */ e(function(t) {
|
|
762
|
+
var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
763
|
+
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
764
|
+
h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
765
|
+
var v = h.yylloc;
|
|
766
|
+
o.push(v);
|
|
767
|
+
var y = h.options && h.options.ranges;
|
|
768
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
769
|
+
function b(e) {
|
|
770
|
+
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
771
|
+
}
|
|
772
|
+
e(b, "popStack");
|
|
773
|
+
function x() {
|
|
774
|
+
var e = i.pop() || h.lex() || p;
|
|
775
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
|
|
776
|
+
}
|
|
777
|
+
e(x, "lex");
|
|
778
|
+
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
779
|
+
if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
780
|
+
var M = "";
|
|
781
|
+
for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
|
|
782
|
+
M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
783
|
+
text: h.match,
|
|
784
|
+
token: this.terminals_[S] || S,
|
|
785
|
+
line: h.yylineno,
|
|
786
|
+
loc: v,
|
|
787
|
+
expected: j
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
791
|
+
switch (T[0]) {
|
|
792
|
+
case 1:
|
|
793
|
+
r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
794
|
+
break;
|
|
795
|
+
case 2:
|
|
796
|
+
if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
|
|
797
|
+
first_line: o[o.length - (k || 1)].first_line,
|
|
798
|
+
last_line: o[o.length - 1].last_line,
|
|
799
|
+
first_column: o[o.length - (k || 1)].first_column,
|
|
800
|
+
last_column: o[o.length - 1].last_column
|
|
801
|
+
}, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
802
|
+
c,
|
|
803
|
+
u,
|
|
804
|
+
l,
|
|
805
|
+
g.yy,
|
|
806
|
+
T[1],
|
|
807
|
+
a,
|
|
808
|
+
o
|
|
809
|
+
].concat(m)), E !== void 0) return E;
|
|
810
|
+
k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
|
|
811
|
+
break;
|
|
812
|
+
case 3: return !0;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
return !0;
|
|
816
|
+
}, "parse")
|
|
817
|
+
};
|
|
818
|
+
N.lexer = /* @__PURE__ */ (function() {
|
|
819
|
+
return {
|
|
820
|
+
EOF: 1,
|
|
821
|
+
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
822
|
+
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
823
|
+
else throw Error(e);
|
|
824
|
+
}, "parseError"),
|
|
825
|
+
setInput: /* @__PURE__ */ e(function(e, t) {
|
|
826
|
+
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
827
|
+
first_line: 1,
|
|
828
|
+
first_column: 0,
|
|
829
|
+
last_line: 1,
|
|
830
|
+
last_column: 0
|
|
831
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
832
|
+
}, "setInput"),
|
|
833
|
+
input: /* @__PURE__ */ e(function() {
|
|
834
|
+
var e = this._input[0];
|
|
835
|
+
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
836
|
+
}, "input"),
|
|
837
|
+
unput: /* @__PURE__ */ e(function(e) {
|
|
838
|
+
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
839
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
840
|
+
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
841
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
|
|
842
|
+
var i = this.yylloc.range;
|
|
843
|
+
return this.yylloc = {
|
|
844
|
+
first_line: this.yylloc.first_line,
|
|
845
|
+
last_line: this.yylineno + 1,
|
|
846
|
+
first_column: this.yylloc.first_column,
|
|
847
|
+
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
848
|
+
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
849
|
+
}, "unput"),
|
|
850
|
+
more: /* @__PURE__ */ e(function() {
|
|
851
|
+
return this._more = !0, this;
|
|
852
|
+
}, "more"),
|
|
853
|
+
reject: /* @__PURE__ */ e(function() {
|
|
854
|
+
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
855
|
+
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
856
|
+
text: "",
|
|
857
|
+
token: null,
|
|
858
|
+
line: this.yylineno
|
|
859
|
+
});
|
|
860
|
+
return this;
|
|
861
|
+
}, "reject"),
|
|
862
|
+
less: /* @__PURE__ */ e(function(e) {
|
|
863
|
+
this.unput(this.match.slice(e));
|
|
864
|
+
}, "less"),
|
|
865
|
+
pastInput: /* @__PURE__ */ e(function() {
|
|
866
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
867
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
868
|
+
}, "pastInput"),
|
|
869
|
+
upcomingInput: /* @__PURE__ */ e(function() {
|
|
870
|
+
var e = this.match;
|
|
871
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
872
|
+
}, "upcomingInput"),
|
|
873
|
+
showPosition: /* @__PURE__ */ e(function() {
|
|
874
|
+
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
875
|
+
return e + this.upcomingInput() + "\n" + t + "^";
|
|
876
|
+
}, "showPosition"),
|
|
877
|
+
test_match: /* @__PURE__ */ e(function(e, t) {
|
|
878
|
+
var n, r, i;
|
|
879
|
+
if (this.options.backtrack_lexer && (i = {
|
|
880
|
+
yylineno: this.yylineno,
|
|
881
|
+
yylloc: {
|
|
882
|
+
first_line: this.yylloc.first_line,
|
|
883
|
+
last_line: this.last_line,
|
|
884
|
+
first_column: this.yylloc.first_column,
|
|
885
|
+
last_column: this.yylloc.last_column
|
|
886
|
+
},
|
|
887
|
+
yytext: this.yytext,
|
|
888
|
+
match: this.match,
|
|
889
|
+
matches: this.matches,
|
|
890
|
+
matched: this.matched,
|
|
891
|
+
yyleng: this.yyleng,
|
|
892
|
+
offset: this.offset,
|
|
893
|
+
_more: this._more,
|
|
894
|
+
_input: this._input,
|
|
895
|
+
yy: this.yy,
|
|
896
|
+
conditionStack: this.conditionStack.slice(0),
|
|
897
|
+
done: this.done
|
|
898
|
+
}, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
|
|
899
|
+
first_line: this.yylloc.last_line,
|
|
900
|
+
last_line: this.yylineno + 1,
|
|
901
|
+
first_column: this.yylloc.last_column,
|
|
902
|
+
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
903
|
+
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
|
|
904
|
+
if (this._backtrack) {
|
|
905
|
+
for (var a in i) this[a] = i[a];
|
|
906
|
+
return !1;
|
|
907
|
+
}
|
|
908
|
+
return !1;
|
|
909
|
+
}, "test_match"),
|
|
910
|
+
next: /* @__PURE__ */ e(function() {
|
|
911
|
+
if (this.done) return this.EOF;
|
|
912
|
+
this._input || (this.done = !0);
|
|
913
|
+
var e, t, n, r;
|
|
914
|
+
this._more || (this.yytext = "", this.match = "");
|
|
915
|
+
for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
|
|
916
|
+
if (t = n, r = a, this.options.backtrack_lexer) {
|
|
917
|
+
if (e = this.test_match(n, i[a]), e !== !1) return e;
|
|
918
|
+
if (this._backtrack) {
|
|
919
|
+
t = !1;
|
|
920
|
+
continue;
|
|
921
|
+
} else return !1;
|
|
922
|
+
} else if (!this.options.flex) break;
|
|
923
|
+
}
|
|
924
|
+
return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
925
|
+
text: "",
|
|
926
|
+
token: null,
|
|
927
|
+
line: this.yylineno
|
|
928
|
+
});
|
|
929
|
+
}, "next"),
|
|
930
|
+
lex: /* @__PURE__ */ e(function() {
|
|
931
|
+
return this.next() || this.lex();
|
|
932
|
+
}, "lex"),
|
|
933
|
+
begin: /* @__PURE__ */ e(function(e) {
|
|
934
|
+
this.conditionStack.push(e);
|
|
935
|
+
}, "begin"),
|
|
936
|
+
popState: /* @__PURE__ */ e(function() {
|
|
937
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
938
|
+
}, "popState"),
|
|
939
|
+
_currentRules: /* @__PURE__ */ e(function() {
|
|
940
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
941
|
+
}, "_currentRules"),
|
|
942
|
+
topState: /* @__PURE__ */ e(function(e) {
|
|
943
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
944
|
+
}, "topState"),
|
|
945
|
+
pushState: /* @__PURE__ */ e(function(e) {
|
|
946
|
+
this.begin(e);
|
|
947
|
+
}, "pushState"),
|
|
948
|
+
stateStackSize: /* @__PURE__ */ e(function() {
|
|
949
|
+
return this.conditionStack.length;
|
|
950
|
+
}, "stateStackSize"),
|
|
951
|
+
options: { "case-insensitive": !0 },
|
|
952
|
+
performAction: /* @__PURE__ */ e(function(t, n, r, i) {
|
|
953
|
+
function a() {
|
|
954
|
+
let e = n.yytext.indexOf("%%");
|
|
955
|
+
if (e === 0) return !1;
|
|
956
|
+
if (e > 0) {
|
|
957
|
+
let r = n.yytext.slice(0, e), i = n.yytext.slice(e);
|
|
958
|
+
i && t.lexer.unput(i), n.yytext = r;
|
|
959
|
+
}
|
|
960
|
+
return !0;
|
|
961
|
+
}
|
|
962
|
+
switch (e(a, "processId"), r) {
|
|
963
|
+
case 0: return 38;
|
|
964
|
+
case 1: return 40;
|
|
965
|
+
case 2: return 39;
|
|
966
|
+
case 3: return 44;
|
|
967
|
+
case 4: return 51;
|
|
968
|
+
case 5: return 52;
|
|
969
|
+
case 6: return 53;
|
|
970
|
+
case 7: return 54;
|
|
971
|
+
case 8: return 5;
|
|
972
|
+
case 9: break;
|
|
973
|
+
case 10: break;
|
|
974
|
+
case 11: break;
|
|
975
|
+
case 12: break;
|
|
976
|
+
case 13: return this.pushState("SCALE"), 17;
|
|
977
|
+
case 14: return 18;
|
|
978
|
+
case 15:
|
|
979
|
+
this.popState();
|
|
980
|
+
break;
|
|
981
|
+
case 16: return this.begin("acc_title"), 33;
|
|
982
|
+
case 17: return this.popState(), "acc_title_value";
|
|
983
|
+
case 18: return this.begin("acc_descr"), 35;
|
|
984
|
+
case 19: return this.popState(), "acc_descr_value";
|
|
985
|
+
case 20:
|
|
986
|
+
this.begin("acc_descr_multiline");
|
|
987
|
+
break;
|
|
988
|
+
case 21:
|
|
989
|
+
this.popState();
|
|
990
|
+
break;
|
|
991
|
+
case 22: return "acc_descr_multiline_value";
|
|
992
|
+
case 23: return this.pushState("CLASSDEF"), 41;
|
|
993
|
+
case 24: return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
|
|
994
|
+
case 25: return this.popState(), this.pushState("CLASSDEFID"), 42;
|
|
995
|
+
case 26: return this.popState(), 43;
|
|
996
|
+
case 27: return this.pushState("CLASS"), 48;
|
|
997
|
+
case 28: return this.popState(), this.pushState("CLASS_STYLE"), 49;
|
|
998
|
+
case 29: return this.popState(), 50;
|
|
999
|
+
case 30: return this.pushState("STYLE"), 45;
|
|
1000
|
+
case 31: return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
|
|
1001
|
+
case 32: return this.popState(), 47;
|
|
1002
|
+
case 33: return this.pushState("SCALE"), 17;
|
|
1003
|
+
case 34: return 18;
|
|
1004
|
+
case 35:
|
|
1005
|
+
this.popState();
|
|
1006
|
+
break;
|
|
1007
|
+
case 36:
|
|
1008
|
+
this.pushState("STATE");
|
|
1009
|
+
break;
|
|
1010
|
+
case 37: return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 25;
|
|
1011
|
+
case 38: return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 26;
|
|
1012
|
+
case 39: return this.popState(), n.yytext = n.yytext.slice(0, -10).trim(), 27;
|
|
1013
|
+
case 40: return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 25;
|
|
1014
|
+
case 41: return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 26;
|
|
1015
|
+
case 42: return this.popState(), n.yytext = n.yytext.slice(0, -10).trim(), 27;
|
|
1016
|
+
case 43: return 51;
|
|
1017
|
+
case 44: return 52;
|
|
1018
|
+
case 45: return 53;
|
|
1019
|
+
case 46: return 54;
|
|
1020
|
+
case 47:
|
|
1021
|
+
this.pushState("STATE_STRING");
|
|
1022
|
+
break;
|
|
1023
|
+
case 48: return this.pushState("STATE_ID"), "AS";
|
|
1024
|
+
case 49: return a() ? (this.popState(), "ID") : void 0;
|
|
1025
|
+
case 50:
|
|
1026
|
+
this.popState();
|
|
1027
|
+
break;
|
|
1028
|
+
case 51: return "STATE_DESCR";
|
|
1029
|
+
case 52: throw Error("Error: State name must be a single word. Found: \"" + n.yytext.trim() + "\"");
|
|
1030
|
+
case 53: return 19;
|
|
1031
|
+
case 54:
|
|
1032
|
+
this.popState();
|
|
1033
|
+
break;
|
|
1034
|
+
case 55: return this.popState(), this.pushState("struct"), 20;
|
|
1035
|
+
case 56: return this.popState(), 21;
|
|
1036
|
+
case 57: break;
|
|
1037
|
+
case 58: return this.begin("NOTE"), 29;
|
|
1038
|
+
case 59: return this.popState(), this.pushState("NOTE_ID"), 59;
|
|
1039
|
+
case 60: return this.popState(), this.pushState("NOTE_ID"), 60;
|
|
1040
|
+
case 61:
|
|
1041
|
+
this.popState(), this.pushState("FLOATING_NOTE");
|
|
1042
|
+
break;
|
|
1043
|
+
case 62: return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
|
|
1044
|
+
case 63: break;
|
|
1045
|
+
case 64: return "NOTE_TEXT";
|
|
1046
|
+
case 65: return a() ? (this.popState(), "ID") : void 0;
|
|
1047
|
+
case 66: return a() ? (this.popState(), this.pushState("NOTE_TEXT"), 24) : void 0;
|
|
1048
|
+
case 67: return this.popState(), n.yytext = n.yytext.substr(2).trim(), 31;
|
|
1049
|
+
case 68: return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 31;
|
|
1050
|
+
case 69: return 6;
|
|
1051
|
+
case 70: return 6;
|
|
1052
|
+
case 71: return 16;
|
|
1053
|
+
case 72: return 57;
|
|
1054
|
+
case 73: return a() ? 24 : void 0;
|
|
1055
|
+
case 74: return n.yytext = n.yytext.trim(), 14;
|
|
1056
|
+
case 75: return 15;
|
|
1057
|
+
case 76: return 28;
|
|
1058
|
+
case 77: return 58;
|
|
1059
|
+
case 78: return 5;
|
|
1060
|
+
case 79: return "INVALID";
|
|
1061
|
+
}
|
|
1062
|
+
}, "anonymous"),
|
|
1063
|
+
rules: [
|
|
1064
|
+
/^(?:click\b)/i,
|
|
1065
|
+
/^(?:href\b)/i,
|
|
1066
|
+
/^(?:"[^"]*")/i,
|
|
1067
|
+
/^(?:default\b)/i,
|
|
1068
|
+
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1069
|
+
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1070
|
+
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1071
|
+
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1072
|
+
/^(?:[\n]+)/i,
|
|
1073
|
+
/^(?:[\s]+)/i,
|
|
1074
|
+
/^(?:((?!\n)\s)+)/i,
|
|
1075
|
+
/^(?:#[^\n]*)/i,
|
|
1076
|
+
/^(?:%%(?!\{)[^\n]*)/i,
|
|
1077
|
+
/^(?:scale\s+)/i,
|
|
1078
|
+
/^(?:\d+)/i,
|
|
1079
|
+
/^(?:\s+width\b)/i,
|
|
1080
|
+
/^(?:accTitle\s*:\s*)/i,
|
|
1081
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1082
|
+
/^(?:accDescr\s*:\s*)/i,
|
|
1083
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1084
|
+
/^(?:accDescr\s*\{\s*)/i,
|
|
1085
|
+
/^(?:[\}])/i,
|
|
1086
|
+
/^(?:[^\}]*)/i,
|
|
1087
|
+
/^(?:classDef\s+)/i,
|
|
1088
|
+
/^(?:DEFAULT\s+)/i,
|
|
1089
|
+
/^(?:\w+\s+)/i,
|
|
1090
|
+
/^(?:[^\n]*)/i,
|
|
1091
|
+
/^(?:class\s+)/i,
|
|
1092
|
+
/^(?:(\w+)+((,\s*\w+)*))/i,
|
|
1093
|
+
/^(?:[^\n]*)/i,
|
|
1094
|
+
/^(?:style\s+)/i,
|
|
1095
|
+
/^(?:[\w,]+\s+)/i,
|
|
1096
|
+
/^(?:[^\n]*)/i,
|
|
1097
|
+
/^(?:scale\s+)/i,
|
|
1098
|
+
/^(?:\d+)/i,
|
|
1099
|
+
/^(?:\s+width\b)/i,
|
|
1100
|
+
/^(?:state\s+)/i,
|
|
1101
|
+
/^(?:.*<<fork>>)/i,
|
|
1102
|
+
/^(?:.*<<join>>)/i,
|
|
1103
|
+
/^(?:.*<<choice>>)/i,
|
|
1104
|
+
/^(?:.*\[\[fork\]\])/i,
|
|
1105
|
+
/^(?:.*\[\[join\]\])/i,
|
|
1106
|
+
/^(?:.*\[\[choice\]\])/i,
|
|
1107
|
+
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1108
|
+
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1109
|
+
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1110
|
+
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1111
|
+
/^(?:["])/i,
|
|
1112
|
+
/^(?:\s*as\s+)/i,
|
|
1113
|
+
/^(?:[^\n\{]*)/i,
|
|
1114
|
+
/^(?:["])/i,
|
|
1115
|
+
/^(?:[^"]*)/i,
|
|
1116
|
+
/^(?:\w+\s+\w+.*?\{)/i,
|
|
1117
|
+
/^(?:[^\n\s\{]+)/i,
|
|
1118
|
+
/^(?:\n)/i,
|
|
1119
|
+
/^(?:\{)/i,
|
|
1120
|
+
/^(?:\})/i,
|
|
1121
|
+
/^(?:[\n])/i,
|
|
1122
|
+
/^(?:note\s+)/i,
|
|
1123
|
+
/^(?:left of\b)/i,
|
|
1124
|
+
/^(?:right of\b)/i,
|
|
1125
|
+
/^(?:")/i,
|
|
1126
|
+
/^(?:\s*as\s*)/i,
|
|
1127
|
+
/^(?:["])/i,
|
|
1128
|
+
/^(?:[^"]*)/i,
|
|
1129
|
+
/^(?:[^\n]*)/i,
|
|
1130
|
+
/^(?:\s*[^:\n\s\-]+)/i,
|
|
1131
|
+
/^(?:\s*:[^:\n;]+)/i,
|
|
1132
|
+
/^(?:[\s\S]*?\n\s*end note\b)/i,
|
|
1133
|
+
/^(?:stateDiagram\s+)/i,
|
|
1134
|
+
/^(?:stateDiagram-v2\s+)/i,
|
|
1135
|
+
/^(?:hide empty description\b)/i,
|
|
1136
|
+
/^(?:\[\*\])/i,
|
|
1137
|
+
/^(?:[^:\n\s\-\{]+)/i,
|
|
1138
|
+
/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,
|
|
1139
|
+
/^(?:-->)/i,
|
|
1140
|
+
/^(?:--)/i,
|
|
1141
|
+
/^(?::::)/i,
|
|
1142
|
+
/^(?:$)/i,
|
|
1143
|
+
/^(?:.)/i
|
|
1144
|
+
],
|
|
1145
|
+
conditions: {
|
|
1146
|
+
LINE: {
|
|
1147
|
+
rules: [
|
|
1148
|
+
10,
|
|
1149
|
+
11,
|
|
1150
|
+
12
|
|
1151
|
+
],
|
|
1152
|
+
inclusive: !1
|
|
1153
|
+
},
|
|
1154
|
+
struct: {
|
|
1155
|
+
rules: [
|
|
1156
|
+
10,
|
|
1157
|
+
11,
|
|
1158
|
+
12,
|
|
1159
|
+
23,
|
|
1160
|
+
27,
|
|
1161
|
+
30,
|
|
1162
|
+
36,
|
|
1163
|
+
43,
|
|
1164
|
+
44,
|
|
1165
|
+
45,
|
|
1166
|
+
46,
|
|
1167
|
+
56,
|
|
1168
|
+
57,
|
|
1169
|
+
58,
|
|
1170
|
+
72,
|
|
1171
|
+
73,
|
|
1172
|
+
74,
|
|
1173
|
+
75,
|
|
1174
|
+
76,
|
|
1175
|
+
77
|
|
1176
|
+
],
|
|
1177
|
+
inclusive: !1
|
|
1178
|
+
},
|
|
1179
|
+
FLOATING_NOTE_ID: {
|
|
1180
|
+
rules: [65],
|
|
1181
|
+
inclusive: !1
|
|
1182
|
+
},
|
|
1183
|
+
FLOATING_NOTE: {
|
|
1184
|
+
rules: [
|
|
1185
|
+
62,
|
|
1186
|
+
63,
|
|
1187
|
+
64
|
|
1188
|
+
],
|
|
1189
|
+
inclusive: !1
|
|
1190
|
+
},
|
|
1191
|
+
NOTE_TEXT: {
|
|
1192
|
+
rules: [67, 68],
|
|
1193
|
+
inclusive: !1
|
|
1194
|
+
},
|
|
1195
|
+
NOTE_ID: {
|
|
1196
|
+
rules: [66],
|
|
1197
|
+
inclusive: !1
|
|
1198
|
+
},
|
|
1199
|
+
NOTE: {
|
|
1200
|
+
rules: [
|
|
1201
|
+
59,
|
|
1202
|
+
60,
|
|
1203
|
+
61
|
|
1204
|
+
],
|
|
1205
|
+
inclusive: !1
|
|
1206
|
+
},
|
|
1207
|
+
STYLEDEF_STYLEOPTS: {
|
|
1208
|
+
rules: [],
|
|
1209
|
+
inclusive: !1
|
|
1210
|
+
},
|
|
1211
|
+
STYLEDEF_STYLES: {
|
|
1212
|
+
rules: [32],
|
|
1213
|
+
inclusive: !1
|
|
1214
|
+
},
|
|
1215
|
+
STYLE_IDS: {
|
|
1216
|
+
rules: [],
|
|
1217
|
+
inclusive: !1
|
|
1218
|
+
},
|
|
1219
|
+
STYLE: {
|
|
1220
|
+
rules: [31],
|
|
1221
|
+
inclusive: !1
|
|
1222
|
+
},
|
|
1223
|
+
CLASS_STYLE: {
|
|
1224
|
+
rules: [29],
|
|
1225
|
+
inclusive: !1
|
|
1226
|
+
},
|
|
1227
|
+
CLASS: {
|
|
1228
|
+
rules: [28],
|
|
1229
|
+
inclusive: !1
|
|
1230
|
+
},
|
|
1231
|
+
CLASSDEFID: {
|
|
1232
|
+
rules: [26],
|
|
1233
|
+
inclusive: !1
|
|
1234
|
+
},
|
|
1235
|
+
CLASSDEF: {
|
|
1236
|
+
rules: [24, 25],
|
|
1237
|
+
inclusive: !1
|
|
1238
|
+
},
|
|
1239
|
+
acc_descr_multiline: {
|
|
1240
|
+
rules: [21, 22],
|
|
1241
|
+
inclusive: !1
|
|
1242
|
+
},
|
|
1243
|
+
acc_descr: {
|
|
1244
|
+
rules: [19],
|
|
1245
|
+
inclusive: !1
|
|
1246
|
+
},
|
|
1247
|
+
acc_title: {
|
|
1248
|
+
rules: [17],
|
|
1249
|
+
inclusive: !1
|
|
1250
|
+
},
|
|
1251
|
+
SCALE: {
|
|
1252
|
+
rules: [
|
|
1253
|
+
14,
|
|
1254
|
+
15,
|
|
1255
|
+
34,
|
|
1256
|
+
35
|
|
1257
|
+
],
|
|
1258
|
+
inclusive: !1
|
|
1259
|
+
},
|
|
1260
|
+
ALIAS: {
|
|
1261
|
+
rules: [],
|
|
1262
|
+
inclusive: !1
|
|
1263
|
+
},
|
|
1264
|
+
STATE_ID: {
|
|
1265
|
+
rules: [49],
|
|
1266
|
+
inclusive: !1
|
|
1267
|
+
},
|
|
1268
|
+
STATE_STRING: {
|
|
1269
|
+
rules: [50, 51],
|
|
1270
|
+
inclusive: !1
|
|
1271
|
+
},
|
|
1272
|
+
FORK_STATE: {
|
|
1273
|
+
rules: [],
|
|
1274
|
+
inclusive: !1
|
|
1275
|
+
},
|
|
1276
|
+
STATE: {
|
|
1277
|
+
rules: [
|
|
1278
|
+
10,
|
|
1279
|
+
11,
|
|
1280
|
+
12,
|
|
1281
|
+
37,
|
|
1282
|
+
38,
|
|
1283
|
+
39,
|
|
1284
|
+
40,
|
|
1285
|
+
41,
|
|
1286
|
+
42,
|
|
1287
|
+
47,
|
|
1288
|
+
48,
|
|
1289
|
+
52,
|
|
1290
|
+
53,
|
|
1291
|
+
54,
|
|
1292
|
+
55
|
|
1293
|
+
],
|
|
1294
|
+
inclusive: !1
|
|
1295
|
+
},
|
|
1296
|
+
ID: {
|
|
1297
|
+
rules: [
|
|
1298
|
+
10,
|
|
1299
|
+
11,
|
|
1300
|
+
12
|
|
1301
|
+
],
|
|
1302
|
+
inclusive: !1
|
|
1303
|
+
},
|
|
1304
|
+
INITIAL: {
|
|
1305
|
+
rules: [
|
|
1306
|
+
0,
|
|
1307
|
+
1,
|
|
1308
|
+
2,
|
|
1309
|
+
3,
|
|
1310
|
+
4,
|
|
1311
|
+
5,
|
|
1312
|
+
6,
|
|
1313
|
+
7,
|
|
1314
|
+
8,
|
|
1315
|
+
9,
|
|
1316
|
+
11,
|
|
1317
|
+
12,
|
|
1318
|
+
13,
|
|
1319
|
+
16,
|
|
1320
|
+
18,
|
|
1321
|
+
20,
|
|
1322
|
+
23,
|
|
1323
|
+
27,
|
|
1324
|
+
30,
|
|
1325
|
+
33,
|
|
1326
|
+
36,
|
|
1327
|
+
55,
|
|
1328
|
+
58,
|
|
1329
|
+
69,
|
|
1330
|
+
70,
|
|
1331
|
+
71,
|
|
1332
|
+
72,
|
|
1333
|
+
73,
|
|
1334
|
+
74,
|
|
1335
|
+
75,
|
|
1336
|
+
77,
|
|
1337
|
+
78,
|
|
1338
|
+
79
|
|
1339
|
+
],
|
|
1340
|
+
inclusive: !0
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
};
|
|
1344
|
+
})();
|
|
1345
|
+
function P() {
|
|
1346
|
+
this.yy = {};
|
|
1347
|
+
}
|
|
1348
|
+
return e(P, "Parser"), P.prototype = N, N.Parser = P, new P();
|
|
1349
|
+
})();
|
|
1350
|
+
y.parser = y;
|
|
1351
|
+
var b = y, x = "TB", S = "TB", C = "dir", w = "state", T = "root", E = "relation", D = "classDef", O = "style", k = "applyClass", A = "default", j = "divider", M = "fill:none", N = "fill: #333", P = "c", ee = "markdown", F = "normal", I = "rect", L = "rectWithTitle", te = "stateStart", ne = "stateEnd", R = "divider", re = "roundedWithTitle", ie = "note", ae = "noteGroup", z = "statediagram", oe = `${z}-state`, B = "transition", se = "note", ce = `${B} note-edge`, le = `${z}-${se}`, ue = `${z}-cluster`, de = `${z}-cluster-alt`, V = "parent", H = "note", fe = "state", U = "----", pe = `${U}${H}`, W = `${U}${V}`, G = /* @__PURE__ */ e((e, t = S) => {
|
|
1352
|
+
if (!e.doc) return t;
|
|
1353
|
+
let n = t;
|
|
1354
|
+
for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
1355
|
+
return n;
|
|
1356
|
+
}, "getDir"), me = {
|
|
1357
|
+
getClasses: /* @__PURE__ */ e(function(e, t) {
|
|
1358
|
+
return t.db.getClasses();
|
|
1359
|
+
}, "getClasses"),
|
|
1360
|
+
draw: /* @__PURE__ */ e(async function(e, n, r, i) {
|
|
1361
|
+
t.info("REF0:"), t.info("Drawing state diagram (v2)", n);
|
|
1362
|
+
let { securityLevel: a, state: o, layout: s } = d();
|
|
1363
|
+
i.db.extract(i.db.getRootDocV2());
|
|
1364
|
+
let c = i.db.getData(), l = g(n, a);
|
|
1365
|
+
c.type = i.type, c.layoutAlgorithm = s, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, d().look === "neo" ? c.markers = ["barbNeo"] : c.markers = ["barb"], c.diagramId = n, await v(c, l);
|
|
1366
|
+
try {
|
|
1367
|
+
(typeof i.db.getLinks == "function" ? i.db.getLinks() : /* @__PURE__ */ new Map()).forEach((e, n) => {
|
|
1368
|
+
let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "", i = c.nodes.find((e) => e.id === r);
|
|
1369
|
+
if (!r) {
|
|
1370
|
+
t.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(n));
|
|
1371
|
+
return;
|
|
1372
|
+
}
|
|
1373
|
+
let a = l.node()?.querySelectorAll("g.node, g.rough-node"), o;
|
|
1374
|
+
if (a?.forEach((e) => {
|
|
1375
|
+
let t = e.textContent?.trim();
|
|
1376
|
+
(e.id === i?.domId || t === r) && (o = e);
|
|
1377
|
+
}), !o) {
|
|
1378
|
+
t.warn("⚠️ Could not find node matching text:", r);
|
|
1379
|
+
return;
|
|
1380
|
+
}
|
|
1381
|
+
let s = o.parentNode;
|
|
1382
|
+
if (!s) {
|
|
1383
|
+
t.warn("⚠️ Node has no parent, cannot wrap:", r);
|
|
1384
|
+
return;
|
|
1385
|
+
}
|
|
1386
|
+
let u = document.createElementNS("http://www.w3.org/2000/svg", "a"), d = e.url.replace(/^"+|"+$/g, "");
|
|
1387
|
+
if (u.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", d), u.setAttribute("target", "_blank"), e.tooltip) {
|
|
1388
|
+
let t = e.tooltip.replace(/^"+|"+$/g, "");
|
|
1389
|
+
u.setAttribute("title", t), o.setAttribute("title", t);
|
|
1390
|
+
}
|
|
1391
|
+
s.replaceChild(u, o), u.appendChild(o), t.info("🔗 Wrapped node in <a> tag for:", r, e.url);
|
|
1392
|
+
});
|
|
1393
|
+
} catch (e) {
|
|
1394
|
+
t.error("❌ Error injecting clickable links:", e);
|
|
1395
|
+
}
|
|
1396
|
+
p.insertTitle(l, "statediagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), _(l, 8, z, o?.useMaxWidth ?? !0);
|
|
1397
|
+
}, "draw"),
|
|
1398
|
+
getDir: G
|
|
1399
|
+
}, K = /* @__PURE__ */ new Map(), q = 0;
|
|
1400
|
+
function J(e = "", t = 0, n = "", r = U) {
|
|
1401
|
+
return `${fe}-${e}${n !== null && n.length > 0 ? `${r}${n}` : ""}-${t}`;
|
|
1402
|
+
}
|
|
1403
|
+
e(J, "stateDomId");
|
|
1404
|
+
var he = /* @__PURE__ */ e((e, n, r, i, a, o, s, l) => {
|
|
1405
|
+
t.trace("items", n), n.forEach((t) => {
|
|
1406
|
+
switch (t.stmt) {
|
|
1407
|
+
case w:
|
|
1408
|
+
Z(e, t, r, i, a, o, s, l);
|
|
1409
|
+
break;
|
|
1410
|
+
case A:
|
|
1411
|
+
Z(e, t, r, i, a, o, s, l);
|
|
1412
|
+
break;
|
|
1413
|
+
case E:
|
|
1414
|
+
{
|
|
1415
|
+
Z(e, t.state1, r, i, a, o, s, l), Z(e, t.state2, r, i, a, o, s, l);
|
|
1416
|
+
let n = s === "neo", u = {
|
|
1417
|
+
id: "edge" + q,
|
|
1418
|
+
start: t.state1.id,
|
|
1419
|
+
end: t.state2.id,
|
|
1420
|
+
arrowhead: "normal",
|
|
1421
|
+
arrowTypeEnd: n ? "arrow_barb_neo" : "arrow_barb",
|
|
1422
|
+
style: M,
|
|
1423
|
+
labelStyle: "",
|
|
1424
|
+
label: c.sanitizeText(t.description ?? "", d()),
|
|
1425
|
+
arrowheadStyle: N,
|
|
1426
|
+
labelpos: P,
|
|
1427
|
+
labelType: ee,
|
|
1428
|
+
thickness: F,
|
|
1429
|
+
classes: B,
|
|
1430
|
+
look: s
|
|
1431
|
+
};
|
|
1432
|
+
a.push(u), q++;
|
|
1433
|
+
}
|
|
1434
|
+
break;
|
|
1435
|
+
}
|
|
1436
|
+
});
|
|
1437
|
+
}, "setupDoc"), ge = /* @__PURE__ */ e((e, t = S) => {
|
|
1438
|
+
let n = t;
|
|
1439
|
+
if (e.doc) for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
1440
|
+
return n;
|
|
1441
|
+
}, "getDir");
|
|
1442
|
+
function Y(e, t, n) {
|
|
1443
|
+
if (!t.id || t.id === "</join></fork>" || t.id === "</choice>") return;
|
|
1444
|
+
t.cssClasses && (Array.isArray(t.cssCompiledStyles) || (t.cssCompiledStyles = []), t.cssClasses.split(" ").forEach((e) => {
|
|
1445
|
+
let r = n.get(e);
|
|
1446
|
+
r && (t.cssCompiledStyles = [...t.cssCompiledStyles ?? [], ...r.styles]);
|
|
1447
|
+
}));
|
|
1448
|
+
let r = e.find((e) => e.id === t.id);
|
|
1449
|
+
r ? Object.assign(r, t) : e.push(t);
|
|
1450
|
+
}
|
|
1451
|
+
e(Y, "insertOrUpdateNode");
|
|
1452
|
+
function X(e) {
|
|
1453
|
+
return e?.classes?.join(" ") ?? "";
|
|
1454
|
+
}
|
|
1455
|
+
e(X, "getClassesFromDbInfo");
|
|
1456
|
+
function _e(e) {
|
|
1457
|
+
return e?.styles ?? [];
|
|
1458
|
+
}
|
|
1459
|
+
e(_e, "getStylesFromDbInfo");
|
|
1460
|
+
var Z = /* @__PURE__ */ e((e, n, r, i, a, o, s, l) => {
|
|
1461
|
+
let u = n.id, f = r.get(u), p = X(f), m = _e(f), h = d();
|
|
1462
|
+
if (t.info("dataFetcher parsedItem", n, f, m), u !== "root") {
|
|
1463
|
+
let r = I;
|
|
1464
|
+
n.start === !0 ? r = te : n.start === !1 && (r = ne), n.type !== A && (r = n.type), K.get(u) || K.set(u, {
|
|
1465
|
+
id: u,
|
|
1466
|
+
shape: r,
|
|
1467
|
+
description: c.sanitizeText(u, h),
|
|
1468
|
+
cssClasses: `${p} ${oe}`,
|
|
1469
|
+
cssStyles: m
|
|
1470
|
+
});
|
|
1471
|
+
let d = K.get(u);
|
|
1472
|
+
n.description && (Array.isArray(d.description) ? (d.shape = L, d.description.push(n.description)) : d.description?.length && d.description.length > 0 ? (d.shape = L, d.description === u ? d.description = [n.description] : d.description = [d.description, n.description]) : (d.shape = I, d.description = n.description), d.description = c.sanitizeTextOrArray(d.description, h)), d.description?.length === 1 && d.shape === L && (d.type === "group" ? d.shape = re : d.shape = I), !d.type && n.doc && (t.info("Setting cluster for XCX", u, ge(n)), d.type = "group", d.isGroup = !0, d.dir = ge(n), d.explicitDir = n.doc.some((e) => e.stmt === "dir"), d.shape = n.type === j ? R : re, d.cssClasses = `${d.cssClasses} ${ue} ${o ? de : ""}`);
|
|
1473
|
+
let f = {
|
|
1474
|
+
labelStyle: "",
|
|
1475
|
+
shape: d.shape,
|
|
1476
|
+
label: d.description,
|
|
1477
|
+
cssClasses: d.cssClasses,
|
|
1478
|
+
cssCompiledStyles: [],
|
|
1479
|
+
cssStyles: d.cssStyles,
|
|
1480
|
+
id: u,
|
|
1481
|
+
dir: d.dir,
|
|
1482
|
+
domId: J(u, q),
|
|
1483
|
+
type: d.type,
|
|
1484
|
+
isGroup: d.type === "group",
|
|
1485
|
+
padding: 8,
|
|
1486
|
+
rx: 10,
|
|
1487
|
+
ry: 10,
|
|
1488
|
+
look: s,
|
|
1489
|
+
labelType: "markdown"
|
|
1490
|
+
};
|
|
1491
|
+
if (f.shape === R && (f.label = ""), e && e.id !== "root" && (t.trace("Setting node ", u, " to be child of its parent ", e.id), f.parentId = e.id), f.centerLabel = !0, n.note) {
|
|
1492
|
+
let e = {
|
|
1493
|
+
labelStyle: "",
|
|
1494
|
+
shape: ie,
|
|
1495
|
+
label: n.note.text,
|
|
1496
|
+
labelType: "markdown",
|
|
1497
|
+
cssClasses: le,
|
|
1498
|
+
cssStyles: [],
|
|
1499
|
+
cssCompiledStyles: [],
|
|
1500
|
+
id: u + pe + "-" + q,
|
|
1501
|
+
domId: J(u, q, H),
|
|
1502
|
+
type: d.type,
|
|
1503
|
+
isGroup: d.type === "group",
|
|
1504
|
+
padding: h.flowchart?.padding,
|
|
1505
|
+
look: s,
|
|
1506
|
+
position: n.note.position
|
|
1507
|
+
}, t = u + W, r = {
|
|
1508
|
+
labelStyle: "",
|
|
1509
|
+
shape: ae,
|
|
1510
|
+
label: n.note.text,
|
|
1511
|
+
cssClasses: d.cssClasses,
|
|
1512
|
+
cssStyles: [],
|
|
1513
|
+
id: u + W,
|
|
1514
|
+
domId: J(u, q, V),
|
|
1515
|
+
type: "group",
|
|
1516
|
+
isGroup: !0,
|
|
1517
|
+
padding: 16,
|
|
1518
|
+
look: s,
|
|
1519
|
+
position: n.note.position
|
|
1520
|
+
};
|
|
1521
|
+
q++, r.id = t, e.parentId = t, Y(i, r, l), Y(i, e, l), Y(i, f, l);
|
|
1522
|
+
let o = u, c = e.id;
|
|
1523
|
+
n.note.position === "left of" && (o = e.id, c = u), a.push({
|
|
1524
|
+
id: o + "-" + c,
|
|
1525
|
+
start: o,
|
|
1526
|
+
end: c,
|
|
1527
|
+
arrowhead: "none",
|
|
1528
|
+
arrowTypeEnd: "",
|
|
1529
|
+
style: M,
|
|
1530
|
+
labelStyle: "",
|
|
1531
|
+
classes: ce,
|
|
1532
|
+
arrowheadStyle: N,
|
|
1533
|
+
labelpos: P,
|
|
1534
|
+
labelType: ee,
|
|
1535
|
+
thickness: F,
|
|
1536
|
+
look: s
|
|
1537
|
+
});
|
|
1538
|
+
} else Y(i, f, l);
|
|
1539
|
+
}
|
|
1540
|
+
n.doc && (t.trace("Adding nodes children "), he(n, n.doc, r, i, a, !o, s, l));
|
|
1541
|
+
}, "dataFetcher"), ve = /* @__PURE__ */ e(() => {
|
|
1542
|
+
K.clear(), q = 0;
|
|
1543
|
+
}, "reset"), Q = {
|
|
1544
|
+
START_NODE: "[*]",
|
|
1545
|
+
START_TYPE: "start",
|
|
1546
|
+
END_NODE: "[*]",
|
|
1547
|
+
END_TYPE: "end",
|
|
1548
|
+
COLOR_KEYWORD: "color",
|
|
1549
|
+
FILL_KEYWORD: "fill",
|
|
1550
|
+
BG_FILL: "bgFill",
|
|
1551
|
+
STYLECLASS_SEP: ","
|
|
1552
|
+
}, ye = /* @__PURE__ */ e(() => /* @__PURE__ */ new Map(), "newClassesList"), be = /* @__PURE__ */ e(() => ({
|
|
1553
|
+
relations: [],
|
|
1554
|
+
states: /* @__PURE__ */ new Map(),
|
|
1555
|
+
documents: {}
|
|
1556
|
+
}), "newDoc"), $ = /* @__PURE__ */ e((e) => JSON.parse(JSON.stringify(e)), "clone"), xe = class {
|
|
1557
|
+
constructor(e) {
|
|
1558
|
+
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = ye(), this.documents = { root: be() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.funs = [], this.getAccTitle = f, this.setAccTitle = o, this.getAccDescription = l, this.setAccDescription = i, this.setDiagramTitle = a, this.getDiagramTitle = u, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this), this.bindFunctions = this.bindFunctions.bind(this);
|
|
1559
|
+
}
|
|
1560
|
+
static {
|
|
1561
|
+
e(this, "StateDB");
|
|
1562
|
+
}
|
|
1563
|
+
static {
|
|
1564
|
+
this.relationType = {
|
|
1565
|
+
AGGREGATION: 0,
|
|
1566
|
+
EXTENSION: 1,
|
|
1567
|
+
COMPOSITION: 2,
|
|
1568
|
+
DEPENDENCY: 3
|
|
1569
|
+
};
|
|
1570
|
+
}
|
|
1571
|
+
extract(e) {
|
|
1572
|
+
this.clear(!0);
|
|
1573
|
+
for (let t of Array.isArray(e) ? e : e.doc) switch (t.stmt) {
|
|
1574
|
+
case w:
|
|
1575
|
+
this.addState(t.id.trim(), t.type, t.doc, t.description, t.note);
|
|
1576
|
+
break;
|
|
1577
|
+
case E:
|
|
1578
|
+
this.addRelation(t.state1, t.state2, t.description);
|
|
1579
|
+
break;
|
|
1580
|
+
case D:
|
|
1581
|
+
this.addStyleClass(t.id.trim(), t.classes);
|
|
1582
|
+
break;
|
|
1583
|
+
case O:
|
|
1584
|
+
this.handleStyleDef(t);
|
|
1585
|
+
break;
|
|
1586
|
+
case k:
|
|
1587
|
+
this.setCssClass(t.id.trim(), t.styleClass);
|
|
1588
|
+
break;
|
|
1589
|
+
case "click":
|
|
1590
|
+
this.addLink(t.id, t.url, t.tooltip);
|
|
1591
|
+
break;
|
|
1592
|
+
}
|
|
1593
|
+
let t = this.getStates(), n = d();
|
|
1594
|
+
ve(), Z(void 0, this.getRootDocV2(), t, this.nodes, this.edges, !0, n.look, this.classes);
|
|
1595
|
+
for (let e of this.nodes) if (Array.isArray(e.label)) {
|
|
1596
|
+
if (e.description = e.label.slice(1), e.isGroup && e.description.length > 0) throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);
|
|
1597
|
+
e.label = e.label[0];
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
handleStyleDef(e) {
|
|
1601
|
+
let t = e.id.trim().split(","), n = e.styleClass.split(",");
|
|
1602
|
+
for (let e of t) {
|
|
1603
|
+
let t = this.getState(e);
|
|
1604
|
+
if (!t) {
|
|
1605
|
+
let n = e.trim();
|
|
1606
|
+
this.addState(n), t = this.getState(n);
|
|
1607
|
+
}
|
|
1608
|
+
t && (t.styles = n.map((e) => e.replace(/;/g, "")?.trim()));
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
setRootDoc(e) {
|
|
1612
|
+
t.info("Setting root doc", e), this.rootDoc = e, this.version === 1 ? this.extract(e) : this.extract(this.getRootDocV2());
|
|
1613
|
+
}
|
|
1614
|
+
docTranslator(e, t, n) {
|
|
1615
|
+
if (t.stmt === E) {
|
|
1616
|
+
this.docTranslator(e, t.state1, !0), this.docTranslator(e, t.state2, !1);
|
|
1617
|
+
return;
|
|
1618
|
+
}
|
|
1619
|
+
if (t.stmt === w && (t.id === Q.START_NODE ? (t.id = e.id + (n ? "_start" : "_end"), t.start = n) : t.id = t.id.trim()), t.stmt !== T && t.stmt !== w || !t.doc) return;
|
|
1620
|
+
let r = [], i = [];
|
|
1621
|
+
for (let e of t.doc) if (e.type === j) {
|
|
1622
|
+
let t = $(e);
|
|
1623
|
+
t.doc = $(i), r.push(t), i = [];
|
|
1624
|
+
} else i.push(e);
|
|
1625
|
+
if (r.length > 0 && i.length > 0) {
|
|
1626
|
+
let e = {
|
|
1627
|
+
stmt: w,
|
|
1628
|
+
id: m(),
|
|
1629
|
+
type: "divider",
|
|
1630
|
+
doc: $(i)
|
|
1631
|
+
};
|
|
1632
|
+
r.push($(e)), t.doc = r;
|
|
1633
|
+
}
|
|
1634
|
+
t.doc.forEach((e) => this.docTranslator(t, e, !0));
|
|
1635
|
+
}
|
|
1636
|
+
getRootDocV2() {
|
|
1637
|
+
return this.docTranslator({
|
|
1638
|
+
id: T,
|
|
1639
|
+
stmt: T
|
|
1640
|
+
}, {
|
|
1641
|
+
id: T,
|
|
1642
|
+
stmt: T,
|
|
1643
|
+
doc: this.rootDoc
|
|
1644
|
+
}, !0), {
|
|
1645
|
+
id: T,
|
|
1646
|
+
doc: this.rootDoc
|
|
1647
|
+
};
|
|
1648
|
+
}
|
|
1649
|
+
addState(e, n = A, r = void 0, i = void 0, a = void 0, o = void 0, s = void 0, l = void 0) {
|
|
1650
|
+
let u = e?.trim();
|
|
1651
|
+
if (!this.currentDocument.states.has(u)) t.info("Adding state ", u, i), this.currentDocument.states.set(u, {
|
|
1652
|
+
stmt: w,
|
|
1653
|
+
id: u,
|
|
1654
|
+
descriptions: [],
|
|
1655
|
+
type: n,
|
|
1656
|
+
doc: r,
|
|
1657
|
+
note: a,
|
|
1658
|
+
classes: [],
|
|
1659
|
+
styles: [],
|
|
1660
|
+
textStyles: []
|
|
1661
|
+
});
|
|
1662
|
+
else {
|
|
1663
|
+
let e = this.currentDocument.states.get(u);
|
|
1664
|
+
if (!e) throw Error(`State not found: ${u}`);
|
|
1665
|
+
e.doc ||= r, e.type ||= n;
|
|
1666
|
+
}
|
|
1667
|
+
if (i && (t.info("Setting state description", u, i), (Array.isArray(i) ? i : [i]).forEach((e) => this.addDescription(u, e.trim()))), a) {
|
|
1668
|
+
let e = this.currentDocument.states.get(u);
|
|
1669
|
+
if (!e) throw Error(`State not found: ${u}`);
|
|
1670
|
+
e.note = a, e.note.text = c.sanitizeText(e.note.text, d());
|
|
1671
|
+
}
|
|
1672
|
+
o && (t.info("Setting state classes", u, o), (Array.isArray(o) ? o : [o]).forEach((e) => this.setCssClass(u, e.trim()))), s && (t.info("Setting state styles", u, s), (Array.isArray(s) ? s : [s]).forEach((e) => this.setStyle(u, e.trim()))), l && (t.info("Setting state styles", u, s), (Array.isArray(l) ? l : [l]).forEach((e) => this.setTextStyle(u, e.trim())));
|
|
1673
|
+
}
|
|
1674
|
+
clear(e) {
|
|
1675
|
+
this.nodes = [], this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.documents = { root: be() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = ye(), e || (this.links = /* @__PURE__ */ new Map(), s());
|
|
1676
|
+
}
|
|
1677
|
+
getState(e) {
|
|
1678
|
+
return this.currentDocument.states.get(e);
|
|
1679
|
+
}
|
|
1680
|
+
getStates() {
|
|
1681
|
+
return this.currentDocument.states;
|
|
1682
|
+
}
|
|
1683
|
+
logDocuments() {
|
|
1684
|
+
t.info("Documents = ", this.documents);
|
|
1685
|
+
}
|
|
1686
|
+
getRelations() {
|
|
1687
|
+
return this.currentDocument.relations;
|
|
1688
|
+
}
|
|
1689
|
+
addLink(e, n, r) {
|
|
1690
|
+
this.links.set(e, {
|
|
1691
|
+
url: n,
|
|
1692
|
+
tooltip: r
|
|
1693
|
+
}), t.warn("Adding link", e, n, r);
|
|
1694
|
+
}
|
|
1695
|
+
getLinks() {
|
|
1696
|
+
return this.links;
|
|
1697
|
+
}
|
|
1698
|
+
startIdIfNeeded(e = "") {
|
|
1699
|
+
return e === Q.START_NODE ? (this.startEndCount++, `${Q.START_TYPE}${this.startEndCount}`) : e;
|
|
1700
|
+
}
|
|
1701
|
+
startTypeIfNeeded(e = "", t = A) {
|
|
1702
|
+
return e === Q.START_NODE ? Q.START_TYPE : t;
|
|
1703
|
+
}
|
|
1704
|
+
endIdIfNeeded(e = "") {
|
|
1705
|
+
return e === Q.END_NODE ? (this.startEndCount++, `${Q.END_TYPE}${this.startEndCount}`) : e;
|
|
1706
|
+
}
|
|
1707
|
+
endTypeIfNeeded(e = "", t = A) {
|
|
1708
|
+
return e === Q.END_NODE ? Q.END_TYPE : t;
|
|
1709
|
+
}
|
|
1710
|
+
addRelationObjs(e, t, n = "") {
|
|
1711
|
+
let r = this.startIdIfNeeded(e.id.trim()), i = this.startTypeIfNeeded(e.id.trim(), e.type), a = this.startIdIfNeeded(t.id.trim()), o = this.startTypeIfNeeded(t.id.trim(), t.type);
|
|
1712
|
+
this.addState(r, i, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(a, o, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), this.currentDocument.relations.push({
|
|
1713
|
+
id1: r,
|
|
1714
|
+
id2: a,
|
|
1715
|
+
relationTitle: c.sanitizeText(n, d())
|
|
1716
|
+
});
|
|
1717
|
+
}
|
|
1718
|
+
addRelation(e, t, n) {
|
|
1719
|
+
if (typeof e == "object" && typeof t == "object") this.addRelationObjs(e, t, n);
|
|
1720
|
+
else if (typeof e == "string" && typeof t == "string") {
|
|
1721
|
+
let r = this.startIdIfNeeded(e.trim()), i = this.startTypeIfNeeded(e), a = this.endIdIfNeeded(t.trim()), o = this.endTypeIfNeeded(t);
|
|
1722
|
+
this.addState(r, i), this.addState(a, o), this.currentDocument.relations.push({
|
|
1723
|
+
id1: r,
|
|
1724
|
+
id2: a,
|
|
1725
|
+
relationTitle: n ? c.sanitizeText(n, d()) : void 0
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
addDescription(e, t) {
|
|
1730
|
+
let n = this.currentDocument.states.get(e), r = t.startsWith(":") ? t.replace(":", "").trim() : t;
|
|
1731
|
+
n?.descriptions?.push(c.sanitizeText(r, d()));
|
|
1732
|
+
}
|
|
1733
|
+
cleanupLabel(e) {
|
|
1734
|
+
return e.startsWith(":") ? e.slice(2).trim() : e.trim();
|
|
1735
|
+
}
|
|
1736
|
+
getDividerId() {
|
|
1737
|
+
return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
|
|
1738
|
+
}
|
|
1739
|
+
addStyleClass(e, t = "") {
|
|
1740
|
+
this.classes.has(e) || this.classes.set(e, {
|
|
1741
|
+
id: e,
|
|
1742
|
+
styles: [],
|
|
1743
|
+
textStyles: []
|
|
1744
|
+
});
|
|
1745
|
+
let n = this.classes.get(e);
|
|
1746
|
+
t && n && t.split(Q.STYLECLASS_SEP).forEach((e) => {
|
|
1747
|
+
let t = e.replace(/([^;]*);/, "$1").trim();
|
|
1748
|
+
if (RegExp(Q.COLOR_KEYWORD).exec(e)) {
|
|
1749
|
+
let e = t.replace(Q.FILL_KEYWORD, Q.BG_FILL).replace(Q.COLOR_KEYWORD, Q.FILL_KEYWORD);
|
|
1750
|
+
n.textStyles.push(e);
|
|
1751
|
+
}
|
|
1752
|
+
n.styles.push(t);
|
|
1753
|
+
});
|
|
1754
|
+
}
|
|
1755
|
+
getClasses() {
|
|
1756
|
+
return this.classes;
|
|
1757
|
+
}
|
|
1758
|
+
setupToolTips(e) {
|
|
1759
|
+
let t = h();
|
|
1760
|
+
n(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover", (e) => {
|
|
1761
|
+
let i = n(e.currentTarget), a = i.attr("title");
|
|
1762
|
+
if (a === null) return;
|
|
1763
|
+
let o = e.currentTarget?.getBoundingClientRect();
|
|
1764
|
+
t.transition().duration(200).style("opacity", ".9"), t.style("left", window.scrollX + o.left + (o.right - o.left) / 2 + "px").style("top", window.scrollY + o.bottom + "px"), t.html(r.sanitize(a)), i.classed("hover", !0);
|
|
1765
|
+
}).on("mouseout", (e) => {
|
|
1766
|
+
t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
setCssClass(e, t) {
|
|
1770
|
+
e.split(",").forEach((e) => {
|
|
1771
|
+
let n = this.getState(e);
|
|
1772
|
+
if (!n) {
|
|
1773
|
+
let t = e.trim();
|
|
1774
|
+
this.addState(t), n = this.getState(t);
|
|
1775
|
+
}
|
|
1776
|
+
n?.classes?.push(t);
|
|
1777
|
+
});
|
|
1778
|
+
}
|
|
1779
|
+
setStyle(e, t) {
|
|
1780
|
+
this.getState(e)?.styles?.push(t);
|
|
1781
|
+
}
|
|
1782
|
+
setTextStyle(e, t) {
|
|
1783
|
+
this.getState(e)?.textStyles?.push(t);
|
|
1784
|
+
}
|
|
1785
|
+
bindFunctions(e) {
|
|
1786
|
+
this.funs.forEach((t) => {
|
|
1787
|
+
t(e);
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1790
|
+
getDirectionStatement() {
|
|
1791
|
+
return this.rootDoc.find((e) => e.stmt === C);
|
|
1792
|
+
}
|
|
1793
|
+
getDirection() {
|
|
1794
|
+
return this.getDirectionStatement()?.value ?? x;
|
|
1795
|
+
}
|
|
1796
|
+
setDirection(e) {
|
|
1797
|
+
let t = this.getDirectionStatement();
|
|
1798
|
+
t ? t.value = e : this.rootDoc.unshift({
|
|
1799
|
+
stmt: C,
|
|
1800
|
+
value: e
|
|
1801
|
+
});
|
|
1802
|
+
}
|
|
1803
|
+
trimColon(e) {
|
|
1804
|
+
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
1805
|
+
}
|
|
1806
|
+
getData() {
|
|
1807
|
+
let e = d();
|
|
1808
|
+
return {
|
|
1809
|
+
nodes: this.nodes,
|
|
1810
|
+
edges: this.edges,
|
|
1811
|
+
other: {},
|
|
1812
|
+
config: e,
|
|
1813
|
+
direction: G(this.getRootDocV2())
|
|
1814
|
+
};
|
|
1815
|
+
}
|
|
1816
|
+
getConfig() {
|
|
1817
|
+
return d().state;
|
|
1818
|
+
}
|
|
1819
|
+
}, Se = /* @__PURE__ */ e((e) => `
|
|
1820
|
+
defs [id$="-barbEnd"] {
|
|
1821
|
+
fill: ${e.transitionColor};
|
|
1822
|
+
stroke: ${e.transitionColor};
|
|
1823
|
+
}
|
|
1824
|
+
g.stateGroup text {
|
|
1825
|
+
fill: ${e.nodeBorder};
|
|
1826
|
+
stroke: none;
|
|
1827
|
+
font-size: 10px;
|
|
1828
|
+
}
|
|
1829
|
+
g.stateGroup text {
|
|
1830
|
+
fill: ${e.textColor};
|
|
1831
|
+
stroke: none;
|
|
1832
|
+
font-size: 10px;
|
|
1833
|
+
|
|
1834
|
+
}
|
|
1835
|
+
g.stateGroup .state-title {
|
|
1836
|
+
font-weight: bolder;
|
|
1837
|
+
fill: ${e.stateLabelColor};
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
g.stateGroup rect {
|
|
1841
|
+
fill: ${e.mainBkg};
|
|
1842
|
+
stroke: ${e.nodeBorder};
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
g.stateGroup line {
|
|
1846
|
+
stroke: ${e.lineColor};
|
|
1847
|
+
stroke-width: ${e.strokeWidth || 1};
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
.transition {
|
|
1851
|
+
stroke: ${e.transitionColor};
|
|
1852
|
+
stroke-width: ${e.strokeWidth || 1};
|
|
1853
|
+
fill: none;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
.stateGroup .composit {
|
|
1857
|
+
fill: ${e.background};
|
|
1858
|
+
border-bottom: 1px
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
.stateGroup .alt-composit {
|
|
1862
|
+
fill: #e0e0e0;
|
|
1863
|
+
border-bottom: 1px
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.state-note {
|
|
1867
|
+
stroke: ${e.noteBorderColor};
|
|
1868
|
+
fill: ${e.noteBkgColor};
|
|
1869
|
+
|
|
1870
|
+
text {
|
|
1871
|
+
fill: ${e.noteTextColor};
|
|
1872
|
+
stroke: none;
|
|
1873
|
+
font-size: 10px;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
.stateLabel .box {
|
|
1878
|
+
stroke: none;
|
|
1879
|
+
stroke-width: 0;
|
|
1880
|
+
fill: ${e.mainBkg};
|
|
1881
|
+
opacity: 0.5;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
.edgeLabel .label rect {
|
|
1885
|
+
fill: ${e.labelBackgroundColor};
|
|
1886
|
+
opacity: 0.5;
|
|
1887
|
+
}
|
|
1888
|
+
.edgeLabel {
|
|
1889
|
+
background-color: ${e.edgeLabelBackground};
|
|
1890
|
+
p {
|
|
1891
|
+
background-color: ${e.edgeLabelBackground};
|
|
1892
|
+
}
|
|
1893
|
+
rect {
|
|
1894
|
+
opacity: 0.5;
|
|
1895
|
+
background-color: ${e.edgeLabelBackground};
|
|
1896
|
+
fill: ${e.edgeLabelBackground};
|
|
1897
|
+
}
|
|
1898
|
+
text-align: center;
|
|
1899
|
+
}
|
|
1900
|
+
.edgeLabel .label text {
|
|
1901
|
+
fill: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1902
|
+
}
|
|
1903
|
+
.label div .edgeLabel {
|
|
1904
|
+
color: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
.stateLabel text {
|
|
1908
|
+
fill: ${e.stateLabelColor};
|
|
1909
|
+
font-size: 10px;
|
|
1910
|
+
font-weight: bold;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
.node circle.state-start {
|
|
1914
|
+
fill: ${e.specialStateColor};
|
|
1915
|
+
stroke: ${e.specialStateColor};
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.node .fork-join {
|
|
1919
|
+
fill: ${e.specialStateColor};
|
|
1920
|
+
stroke: ${e.specialStateColor};
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
.node circle.state-end {
|
|
1924
|
+
fill: ${e.innerEndBackground};
|
|
1925
|
+
stroke: ${e.background};
|
|
1926
|
+
stroke-width: 1.5
|
|
1927
|
+
}
|
|
1928
|
+
.end-state-inner {
|
|
1929
|
+
fill: ${e.compositeBackground || e.background};
|
|
1930
|
+
// stroke: ${e.background};
|
|
1931
|
+
stroke-width: 1.5
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.node rect {
|
|
1935
|
+
fill: ${e.stateBkg || e.mainBkg};
|
|
1936
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1937
|
+
stroke-width: ${e.strokeWidth || 1}px;
|
|
1938
|
+
}
|
|
1939
|
+
.node polygon {
|
|
1940
|
+
fill: ${e.mainBkg};
|
|
1941
|
+
stroke: ${e.stateBorder || e.nodeBorder};;
|
|
1942
|
+
stroke-width: ${e.strokeWidth || 1}px;
|
|
1943
|
+
}
|
|
1944
|
+
[id$="-barbEnd"] {
|
|
1945
|
+
fill: ${e.lineColor};
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
.statediagram-cluster rect {
|
|
1949
|
+
fill: ${e.compositeTitleBackground};
|
|
1950
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1951
|
+
stroke-width: ${e.strokeWidth || 1}px;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
.cluster-label, .nodeLabel {
|
|
1955
|
+
color: ${e.stateLabelColor};
|
|
1956
|
+
// line-height: 1;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
.statediagram-cluster rect.outer {
|
|
1960
|
+
rx: 5px;
|
|
1961
|
+
ry: 5px;
|
|
1962
|
+
}
|
|
1963
|
+
.statediagram-state .divider {
|
|
1964
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
.statediagram-state .title-state {
|
|
1968
|
+
rx: 5px;
|
|
1969
|
+
ry: 5px;
|
|
1970
|
+
}
|
|
1971
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
1972
|
+
fill: ${e.compositeBackground || e.background};
|
|
1973
|
+
}
|
|
1974
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
1975
|
+
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
.statediagram-cluster .inner {
|
|
1979
|
+
rx:0;
|
|
1980
|
+
ry:0;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
.statediagram-state rect.basic {
|
|
1984
|
+
rx: 5px;
|
|
1985
|
+
ry: 5px;
|
|
1986
|
+
}
|
|
1987
|
+
.statediagram-state rect.divider {
|
|
1988
|
+
stroke-dasharray: 10,10;
|
|
1989
|
+
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
.note-edge {
|
|
1993
|
+
stroke-dasharray: 5;
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
.statediagram-note rect {
|
|
1997
|
+
fill: ${e.noteBkgColor};
|
|
1998
|
+
stroke: ${e.noteBorderColor};
|
|
1999
|
+
stroke-width: 1px;
|
|
2000
|
+
rx: 0;
|
|
2001
|
+
ry: 0;
|
|
2002
|
+
}
|
|
2003
|
+
.statediagram-note rect {
|
|
2004
|
+
fill: ${e.noteBkgColor};
|
|
2005
|
+
stroke: ${e.noteBorderColor};
|
|
2006
|
+
stroke-width: 1px;
|
|
2007
|
+
rx: 0;
|
|
2008
|
+
ry: 0;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
.statediagram-note text {
|
|
2012
|
+
fill: ${e.noteTextColor};
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.statediagram-note .nodeLabel {
|
|
2016
|
+
color: ${e.noteTextColor};
|
|
2017
|
+
}
|
|
2018
|
+
.statediagram .edgeLabel {
|
|
2019
|
+
color: red; // ${e.noteTextColor};
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
2023
|
+
fill: ${e.lineColor};
|
|
2024
|
+
stroke: ${e.lineColor};
|
|
2025
|
+
stroke-width: ${e.strokeWidth || 1};
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
.statediagramTitleText {
|
|
2029
|
+
text-anchor: middle;
|
|
2030
|
+
font-size: 18px;
|
|
2031
|
+
fill: ${e.textColor};
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
2035
|
+
fill: ${e.mainBkg};
|
|
2036
|
+
stroke: ${e.useGradient ? "url(" + e.svgId + "-gradient)" : e.stateBorder || e.nodeBorder};
|
|
2037
|
+
stroke-width: ${e.strokeWidth ?? 1};
|
|
2038
|
+
}
|
|
2039
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
2040
|
+
rx: ${e.radius}px;
|
|
2041
|
+
ry: ${e.radius}px;
|
|
2042
|
+
filter: ${e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${e.svgId}-drop-shadow)`) : "none"}
|
|
2043
|
+
}
|
|
2044
|
+
`, "getStyles");
|
|
2045
|
+
//#endregion
|
|
2046
|
+
export { Se as i, b as n, me as r, xe as t };
|