@pi-outpost/embed 0.32.4 → 0.34.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/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
- package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
- package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
- package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
- package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
- package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
- package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
- package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
- package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
- package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
- package/dist/channel-BjC1TKrU.cjs +1 -0
- package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
- package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
- package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
- package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
- package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
- package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
- package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
- package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
- package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
- package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
- package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
- package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
- package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
- package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
- package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
- package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
- package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
- package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
- package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
- package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
- package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
- package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
- package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
- package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
- package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
- package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
- package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
- package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
- package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
- package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
- package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
- package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
- package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
- package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
- package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
- package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
- package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
- package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
- package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
- package/dist/{conversationExport-QWEGKkKB.js → conversationExport-0aa7tXBv.js} +2 -2
- package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BVHvnvh5.cjs} +1 -1
- package/dist/conversationHistory-CNfOwM8H.cjs +287 -0
- package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-D-hT7EvD.js} +9066 -6513
- package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
- package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
- package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
- package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
- package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
- package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
- package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
- package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
- package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
- package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
- package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
- package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
- package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
- package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
- package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
- package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
- package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
- package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
- package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
- package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
- package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
- package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
- package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
- package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
- package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
- package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
- package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
- package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
- package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
- package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
- package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
- package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
- package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
- package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
- package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
- package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
- package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
- package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
- package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
- package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
- package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
- package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
- package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
- package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
- package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
- package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
- package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
- package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
- package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
- package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
- package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
- package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
- package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
- package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
- package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
- package/dist/pi-outpost-embed.cjs +9 -10
- package/dist/pi-outpost-embed.js +2833 -2786
- package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
- package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
- package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
- package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
- package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
- package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
- package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
- package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
- package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
- package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
- package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
- package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
- package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
- package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
- package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
- package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
- package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
- package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
- package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
- package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
- package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
- package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
- package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
- package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
- package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
- package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
- package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
- package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
- package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
- package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
- package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
- package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
- package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
- package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
- package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
- package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
- package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
- package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
- package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
- package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
- package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
- package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
- package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
- package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
- package/package.json +2 -2
- package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
- package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
- package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
- package/dist/channel-DcrLLvcO.cjs +0 -1
- package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
- package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
- package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
- package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
- package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
- package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
- package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
- package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
- package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
- package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
- package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
- package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
- package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
- package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
- package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
- package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
- package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
- package/dist/conversationHistory-BmpdU77I.cjs +0 -286
- package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
- package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
- package/dist/dagre-BMKbPnPh.js +0 -1934
- package/dist/dagre-EEW2OxRU.cjs +0 -1
- package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
- package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
- package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
- package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
- package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
- package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
- package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
- package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
- package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
- package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
- package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
- package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
- package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
- package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
- package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
- package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
- package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
- package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
- package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
- package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
- package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
- package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
- package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
- package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
- package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
- package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
- package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
- package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
- package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
- package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
- package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
- package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
- package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
- package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
- package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
- package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
- package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
- package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
- package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
- package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
- package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
2
|
import { m as t, p as n } from "./src-Dkp7vqs8.js";
|
|
3
|
-
import { R as r, h as i, p as a, r as o, s } from "./chunk-
|
|
3
|
+
import { R as r, h as i, p as a, r as o, s } from "./chunk-VPRB5NB3-DJh7spRO.js";
|
|
4
4
|
import { t as c } from "./dist-DWv23S35.js";
|
|
5
5
|
//#region ../node_modules/d3-shape/src/curve/linear.js
|
|
6
6
|
function l(e) {
|
|
@@ -471,10 +471,10 @@ var me = (function e(t) {
|
|
|
471
471
|
})(.5);
|
|
472
472
|
//#endregion
|
|
473
473
|
//#region ../node_modules/d3-shape/src/curve/catmullRomOpen.js
|
|
474
|
-
function
|
|
474
|
+
function x(e, t) {
|
|
475
475
|
this._context = e, this._alpha = t;
|
|
476
476
|
}
|
|
477
|
-
|
|
477
|
+
x.prototype = {
|
|
478
478
|
areaStart: function() {
|
|
479
479
|
this._line = 0;
|
|
480
480
|
},
|
|
@@ -508,9 +508,9 @@ he.prototype = {
|
|
|
508
508
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
|
-
var
|
|
511
|
+
var he = (function e(t) {
|
|
512
512
|
function n(e) {
|
|
513
|
-
return t ? new
|
|
513
|
+
return t ? new x(e, t) : new y(e, 0);
|
|
514
514
|
}
|
|
515
515
|
return n.alpha = function(t) {
|
|
516
516
|
return e(+t);
|
|
@@ -518,10 +518,10 @@ var ge = (function e(t) {
|
|
|
518
518
|
})(.5);
|
|
519
519
|
//#endregion
|
|
520
520
|
//#region ../node_modules/d3-shape/src/curve/linearClosed.js
|
|
521
|
-
function
|
|
521
|
+
function ge(e) {
|
|
522
522
|
this._context = e;
|
|
523
523
|
}
|
|
524
|
-
|
|
524
|
+
ge.prototype = {
|
|
525
525
|
areaStart: p,
|
|
526
526
|
areaEnd: p,
|
|
527
527
|
lineStart: function() {
|
|
@@ -534,30 +534,30 @@ _e.prototype = {
|
|
|
534
534
|
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
|
-
function
|
|
538
|
-
return new
|
|
537
|
+
function _e(e) {
|
|
538
|
+
return new ge(e);
|
|
539
539
|
}
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region ../node_modules/d3-shape/src/curve/monotone.js
|
|
542
|
-
function
|
|
542
|
+
function ve(e) {
|
|
543
543
|
return e < 0 ? -1 : 1;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function ye(e, t, n) {
|
|
546
546
|
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
|
|
547
|
-
return (
|
|
547
|
+
return (ve(a) + ve(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function be(e, t) {
|
|
550
550
|
var n = e._x1 - e._x0;
|
|
551
551
|
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function S(e, t, n) {
|
|
554
554
|
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
|
|
555
555
|
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function C(e) {
|
|
558
558
|
this._context = e;
|
|
559
559
|
}
|
|
560
|
-
|
|
560
|
+
C.prototype = {
|
|
561
561
|
areaStart: function() {
|
|
562
562
|
this._line = 0;
|
|
563
563
|
},
|
|
@@ -572,7 +572,7 @@ S.prototype = {
|
|
|
572
572
|
case 2:
|
|
573
573
|
this._context.lineTo(this._x1, this._y1);
|
|
574
574
|
break;
|
|
575
|
-
case 3:
|
|
575
|
+
case 3: S(this, this._t0, be(this, this._t0));
|
|
576
576
|
}
|
|
577
577
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
578
578
|
},
|
|
@@ -587,24 +587,24 @@ S.prototype = {
|
|
|
587
587
|
this._point = 2;
|
|
588
588
|
break;
|
|
589
589
|
case 2:
|
|
590
|
-
this._point = 3,
|
|
590
|
+
this._point = 3, S(this, be(this, n = ye(this, e, t)), n);
|
|
591
591
|
break;
|
|
592
|
-
default:
|
|
592
|
+
default: S(this, this._t0, n = ye(this, e, t));
|
|
593
593
|
}
|
|
594
594
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
};
|
|
598
|
-
function
|
|
599
|
-
this._context = new
|
|
598
|
+
function xe(e) {
|
|
599
|
+
this._context = new Se(e);
|
|
600
600
|
}
|
|
601
|
-
(
|
|
602
|
-
|
|
601
|
+
(xe.prototype = Object.create(C.prototype)).point = function(e, t) {
|
|
602
|
+
C.prototype.point.call(this, t, e);
|
|
603
603
|
};
|
|
604
|
-
function
|
|
604
|
+
function Se(e) {
|
|
605
605
|
this._context = e;
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
Se.prototype = {
|
|
608
608
|
moveTo: function(e, t) {
|
|
609
609
|
this._context.moveTo(t, e);
|
|
610
610
|
},
|
|
@@ -618,18 +618,18 @@ Ce.prototype = {
|
|
|
618
618
|
this._context.bezierCurveTo(t, e, r, n, a, i);
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
|
-
function
|
|
622
|
-
return new
|
|
621
|
+
function Ce(e) {
|
|
622
|
+
return new C(e);
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return new
|
|
624
|
+
function we(e) {
|
|
625
|
+
return new xe(e);
|
|
626
626
|
}
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region ../node_modules/d3-shape/src/curve/natural.js
|
|
629
|
-
function
|
|
629
|
+
function Te(e) {
|
|
630
630
|
this._context = e;
|
|
631
631
|
}
|
|
632
|
-
|
|
632
|
+
Te.prototype = {
|
|
633
633
|
areaStart: function() {
|
|
634
634
|
this._line = 0;
|
|
635
635
|
},
|
|
@@ -643,7 +643,7 @@ Ee.prototype = {
|
|
|
643
643
|
var e = this._x, t = this._y, n = e.length;
|
|
644
644
|
if (n) {
|
|
645
645
|
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
|
|
646
|
-
else for (var r =
|
|
646
|
+
else for (var r = Ee(e), i = Ee(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
|
|
647
647
|
}
|
|
648
648
|
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
|
|
649
649
|
},
|
|
@@ -651,7 +651,7 @@ Ee.prototype = {
|
|
|
651
651
|
this._x.push(+e), this._y.push(+t);
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
|
-
function
|
|
654
|
+
function Ee(e) {
|
|
655
655
|
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
|
|
656
656
|
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
|
|
657
657
|
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
|
|
@@ -659,15 +659,15 @@ function De(e) {
|
|
|
659
659
|
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
|
|
660
660
|
return [i, a];
|
|
661
661
|
}
|
|
662
|
-
function
|
|
663
|
-
return new
|
|
662
|
+
function De(e) {
|
|
663
|
+
return new Te(e);
|
|
664
664
|
}
|
|
665
665
|
//#endregion
|
|
666
666
|
//#region ../node_modules/d3-shape/src/curve/step.js
|
|
667
|
-
function
|
|
667
|
+
function w(e, t) {
|
|
668
668
|
this._context = e, this._t = t;
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
w.prototype = {
|
|
671
671
|
areaStart: function() {
|
|
672
672
|
this._line = 0;
|
|
673
673
|
},
|
|
@@ -695,18 +695,18 @@ C.prototype = {
|
|
|
695
695
|
this._x = e, this._y = t;
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
function w(e) {
|
|
699
|
-
return new C(e, .5);
|
|
700
|
-
}
|
|
701
698
|
function T(e) {
|
|
702
|
-
return new
|
|
699
|
+
return new w(e, .5);
|
|
703
700
|
}
|
|
704
|
-
function
|
|
705
|
-
return new
|
|
701
|
+
function E(e) {
|
|
702
|
+
return new w(e, 0);
|
|
703
|
+
}
|
|
704
|
+
function D(e) {
|
|
705
|
+
return new w(e, 1);
|
|
706
706
|
}
|
|
707
707
|
//#endregion
|
|
708
708
|
//#region ../node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
|
|
709
|
-
function
|
|
709
|
+
function O(e) {
|
|
710
710
|
if (typeof e != "object" || !e) return !1;
|
|
711
711
|
if (Object.getPrototypeOf(e) === null) return !0;
|
|
712
712
|
if (Object.prototype.toString.call(e) !== "[object Object]") {
|
|
@@ -719,66 +719,66 @@ function E(e) {
|
|
|
719
719
|
}
|
|
720
720
|
//#endregion
|
|
721
721
|
//#region ../node_modules/es-toolkit/dist/function/noop.mjs
|
|
722
|
-
function
|
|
722
|
+
function Oe() {}
|
|
723
723
|
//#endregion
|
|
724
724
|
//#region ../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
725
|
-
function
|
|
725
|
+
function ke(e) {
|
|
726
726
|
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
|
|
727
727
|
}
|
|
728
728
|
//#endregion
|
|
729
729
|
//#region ../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
|
|
730
|
-
function
|
|
730
|
+
function k(e) {
|
|
731
731
|
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
|
|
732
732
|
}
|
|
733
733
|
//#endregion
|
|
734
734
|
//#region ../node_modules/es-toolkit/dist/compat/_internal/tags.mjs
|
|
735
|
-
var
|
|
735
|
+
var Ae = "[object RegExp]", A = "[object String]", j = "[object Number]", M = "[object Boolean]", N = "[object Arguments]", je = "[object Symbol]", Me = "[object Date]", Ne = "[object Map]", Pe = "[object Set]", Fe = "[object Array]", Ie = "[object ArrayBuffer]", Le = "[object Object]", Re = "[object DataView]", ze = "[object Uint8Array]", Be = "[object Uint8ClampedArray]", Ve = "[object Uint16Array]", He = "[object Uint32Array]", Ue = "[object Int8Array]", We = "[object Int16Array]", Ge = "[object Int32Array]", Ke = "[object Float32Array]", qe = "[object Float64Array]", Je = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
|
|
736
736
|
return this;
|
|
737
737
|
})();
|
|
738
738
|
//#endregion
|
|
739
739
|
//#region ../node_modules/es-toolkit/dist/predicate/isBuffer.mjs
|
|
740
|
-
function
|
|
741
|
-
return
|
|
740
|
+
function P(e) {
|
|
741
|
+
return Je.Buffer !== void 0 && Je.Buffer.isBuffer(e);
|
|
742
742
|
}
|
|
743
743
|
//#endregion
|
|
744
744
|
//#region ../node_modules/es-toolkit/dist/predicate/isLength.mjs
|
|
745
|
-
function
|
|
745
|
+
function Ye(e) {
|
|
746
746
|
return Number.isSafeInteger(e) && e >= 0;
|
|
747
747
|
}
|
|
748
748
|
//#endregion
|
|
749
749
|
//#region ../node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
|
|
750
|
-
function
|
|
751
|
-
return e != null && typeof e != "function" &&
|
|
750
|
+
function Xe(e) {
|
|
751
|
+
return e != null && typeof e != "function" && Ye(e.length);
|
|
752
752
|
}
|
|
753
753
|
//#endregion
|
|
754
754
|
//#region ../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
|
|
755
|
-
function
|
|
755
|
+
function Ze(e) {
|
|
756
756
|
return e === "__proto__";
|
|
757
757
|
}
|
|
758
758
|
//#endregion
|
|
759
759
|
//#region ../node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
760
|
-
function
|
|
760
|
+
function F(e) {
|
|
761
761
|
return e == null || typeof e != "object" && typeof e != "function";
|
|
762
762
|
}
|
|
763
763
|
//#endregion
|
|
764
764
|
//#region ../node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
765
|
-
function
|
|
765
|
+
function I(e) {
|
|
766
766
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
767
767
|
}
|
|
768
768
|
//#endregion
|
|
769
769
|
//#region ../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
770
|
-
function
|
|
771
|
-
return
|
|
770
|
+
function Qe(e, t) {
|
|
771
|
+
return L(e, void 0, e, /* @__PURE__ */ new Map(), t);
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function L(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
774
774
|
let a = i?.(e, t, n, r);
|
|
775
775
|
if (a !== void 0) return a;
|
|
776
|
-
if (
|
|
776
|
+
if (F(e)) return e;
|
|
777
777
|
if (r.has(e)) return r.get(e);
|
|
778
778
|
if (Array.isArray(e)) {
|
|
779
779
|
let t = Array(e.length);
|
|
780
780
|
r.set(e, t);
|
|
781
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
781
|
+
for (let a = 0; a < e.length; a++) t[a] = L(e[a], a, n, r, i);
|
|
782
782
|
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
|
|
783
783
|
}
|
|
784
784
|
if (e instanceof Date) return new Date(e.getTime());
|
|
@@ -789,112 +789,112 @@ function I(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
|
789
789
|
if (e instanceof Map) {
|
|
790
790
|
let t = /* @__PURE__ */ new Map();
|
|
791
791
|
r.set(e, t);
|
|
792
|
-
for (let [a, o] of e) t.set(a,
|
|
792
|
+
for (let [a, o] of e) t.set(a, L(o, a, n, r, i));
|
|
793
793
|
return t;
|
|
794
794
|
}
|
|
795
795
|
if (e instanceof Set) {
|
|
796
796
|
let t = /* @__PURE__ */ new Set();
|
|
797
797
|
r.set(e, t);
|
|
798
|
-
for (let a of e) t.add(
|
|
798
|
+
for (let a of e) t.add(L(a, void 0, n, r, i));
|
|
799
799
|
return t;
|
|
800
800
|
}
|
|
801
|
-
if (
|
|
802
|
-
if (
|
|
801
|
+
if (P(e)) return e.subarray();
|
|
802
|
+
if (I(e)) {
|
|
803
803
|
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
|
|
804
804
|
r.set(e, t);
|
|
805
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
805
|
+
for (let a = 0; a < e.length; a++) t[a] = L(e[a], a, n, r, i);
|
|
806
806
|
return t;
|
|
807
807
|
}
|
|
808
808
|
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
|
|
809
809
|
if (e instanceof DataView) {
|
|
810
810
|
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
|
|
811
|
-
return r.set(e, t),
|
|
811
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
812
812
|
}
|
|
813
813
|
if (typeof File < "u" && e instanceof File) {
|
|
814
814
|
let t = new File([e], e.name, { type: e.type });
|
|
815
|
-
return r.set(e, t),
|
|
815
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
816
816
|
}
|
|
817
817
|
if (typeof Blob < "u" && e instanceof Blob) {
|
|
818
818
|
let t = new Blob([e], { type: e.type });
|
|
819
|
-
return r.set(e, t),
|
|
819
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
820
820
|
}
|
|
821
821
|
if (e instanceof Error) {
|
|
822
822
|
let t = structuredClone(e);
|
|
823
|
-
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor,
|
|
823
|
+
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, R(t, e, n, r, i), t;
|
|
824
824
|
}
|
|
825
825
|
if (e instanceof Boolean) {
|
|
826
826
|
let t = new Boolean(e.valueOf());
|
|
827
|
-
return r.set(e, t),
|
|
827
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
828
828
|
}
|
|
829
829
|
if (e instanceof Number) {
|
|
830
830
|
let t = new Number(e.valueOf());
|
|
831
|
-
return r.set(e, t),
|
|
831
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
832
832
|
}
|
|
833
833
|
if (e instanceof String) {
|
|
834
834
|
let t = new String(e.valueOf());
|
|
835
|
-
return r.set(e, t),
|
|
835
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
836
836
|
}
|
|
837
|
-
if (typeof e == "object" &&
|
|
837
|
+
if (typeof e == "object" && $e(e)) {
|
|
838
838
|
let t = Object.create(Object.getPrototypeOf(e));
|
|
839
|
-
return r.set(e, t),
|
|
839
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
840
840
|
}
|
|
841
841
|
return e;
|
|
842
842
|
}
|
|
843
|
-
function
|
|
844
|
-
let a = [...Object.keys(t), ...
|
|
843
|
+
function R(e, t, n = e, r, i) {
|
|
844
|
+
let a = [...Object.keys(t), ...ke(t)];
|
|
845
845
|
for (let o = 0; o < a.length; o++) {
|
|
846
846
|
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
|
|
847
|
-
(c == null || c.writable) && (e[s] =
|
|
847
|
+
(c == null || c.writable) && (e[s] = L(t[s], s, n, r, i));
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
switch (
|
|
852
|
-
case
|
|
853
|
-
case
|
|
850
|
+
function $e(e) {
|
|
851
|
+
switch (k(e)) {
|
|
852
|
+
case N:
|
|
853
|
+
case Fe:
|
|
854
|
+
case Ie:
|
|
854
855
|
case Re:
|
|
855
856
|
case M:
|
|
856
|
-
case
|
|
857
|
-
case
|
|
857
|
+
case Me:
|
|
858
|
+
case Ke:
|
|
858
859
|
case qe:
|
|
859
|
-
case
|
|
860
|
+
case Ue:
|
|
860
861
|
case We:
|
|
861
862
|
case Ge:
|
|
862
|
-
case Ke:
|
|
863
|
-
case Fe:
|
|
864
|
-
case k:
|
|
865
|
-
case ze:
|
|
866
|
-
case Me:
|
|
867
|
-
case Ie:
|
|
868
|
-
case O:
|
|
869
863
|
case Ne:
|
|
864
|
+
case j:
|
|
865
|
+
case Le:
|
|
866
|
+
case Ae:
|
|
867
|
+
case Pe:
|
|
868
|
+
case A:
|
|
869
|
+
case je:
|
|
870
|
+
case ze:
|
|
870
871
|
case Be:
|
|
871
872
|
case Ve:
|
|
872
|
-
case He:
|
|
873
|
-
case Ue: return !0;
|
|
873
|
+
case He: return !0;
|
|
874
874
|
default: return !1;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
//#endregion
|
|
878
878
|
//#region ../node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
|
|
879
|
-
function
|
|
880
|
-
return
|
|
879
|
+
function et(e, t) {
|
|
880
|
+
return Qe(e, (n, r, i, a) => {
|
|
881
881
|
let o = t?.(n, r, i, a);
|
|
882
882
|
if (o !== void 0) return o;
|
|
883
883
|
if (typeof e == "object") {
|
|
884
|
-
if (
|
|
884
|
+
if (k(e) === "[object Object]" && typeof e.constructor != "function") {
|
|
885
885
|
let t = {};
|
|
886
|
-
return a.set(e, t),
|
|
886
|
+
return a.set(e, t), R(t, e, i, a), t;
|
|
887
887
|
}
|
|
888
888
|
switch (Object.prototype.toString.call(e)) {
|
|
889
|
-
case
|
|
890
|
-
case
|
|
891
|
-
case
|
|
889
|
+
case j:
|
|
890
|
+
case A:
|
|
891
|
+
case M: {
|
|
892
892
|
let t = new e.constructor(e?.valueOf());
|
|
893
|
-
return
|
|
893
|
+
return R(t, e), t;
|
|
894
894
|
}
|
|
895
|
-
case
|
|
895
|
+
case N: {
|
|
896
896
|
let t = {};
|
|
897
|
-
return
|
|
897
|
+
return R(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
|
|
898
898
|
}
|
|
899
899
|
default: return;
|
|
900
900
|
}
|
|
@@ -903,32 +903,32 @@ function tt(e, t) {
|
|
|
903
903
|
}
|
|
904
904
|
//#endregion
|
|
905
905
|
//#region ../node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
|
|
906
|
-
function
|
|
907
|
-
return
|
|
906
|
+
function tt(e) {
|
|
907
|
+
return et(e);
|
|
908
908
|
}
|
|
909
909
|
//#endregion
|
|
910
910
|
//#region ../node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
|
|
911
|
-
function
|
|
912
|
-
return typeof e == "object" && !!e &&
|
|
911
|
+
function z(e) {
|
|
912
|
+
return typeof e == "object" && !!e && k(e) === "[object Arguments]";
|
|
913
913
|
}
|
|
914
914
|
//#endregion
|
|
915
915
|
//#region ../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
|
|
916
|
-
function
|
|
916
|
+
function B(e) {
|
|
917
917
|
return typeof e == "object" && !!e;
|
|
918
918
|
}
|
|
919
919
|
//#endregion
|
|
920
920
|
//#region ../node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs
|
|
921
|
-
function
|
|
922
|
-
return
|
|
921
|
+
function nt(e) {
|
|
922
|
+
return B(e) && Xe(e);
|
|
923
923
|
}
|
|
924
924
|
//#endregion
|
|
925
925
|
//#region ../node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
|
|
926
|
-
function
|
|
927
|
-
return
|
|
926
|
+
function V(e) {
|
|
927
|
+
return I(e);
|
|
928
928
|
}
|
|
929
929
|
//#endregion
|
|
930
930
|
//#region ../node_modules/es-toolkit/dist/compat/function/memoize.mjs
|
|
931
|
-
function
|
|
931
|
+
function H(e, t) {
|
|
932
932
|
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError("Expected a function");
|
|
933
933
|
let n = function(...r) {
|
|
934
934
|
let i = t ? t.apply(this, r) : r[0], a = n.cache;
|
|
@@ -936,14 +936,14 @@ function V(e, t) {
|
|
|
936
936
|
let o = e.apply(this, r);
|
|
937
937
|
return n.cache = a.set(i, o) || a, o;
|
|
938
938
|
};
|
|
939
|
-
return n.cache = new (
|
|
939
|
+
return n.cache = new (H.Cache || Map)(), n;
|
|
940
940
|
}
|
|
941
|
-
|
|
941
|
+
H.Cache = Map;
|
|
942
942
|
//#endregion
|
|
943
943
|
//#region ../node_modules/es-toolkit/dist/object/clone.mjs
|
|
944
|
-
function
|
|
945
|
-
if (
|
|
946
|
-
if (Array.isArray(e) ||
|
|
944
|
+
function rt(e) {
|
|
945
|
+
if (F(e)) return e;
|
|
946
|
+
if (Array.isArray(e) || I(e) || e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
|
|
947
947
|
let t = Object.getPrototypeOf(e);
|
|
948
948
|
if (t == null) return Object.assign(Object.create(t), e);
|
|
949
949
|
let n = t.constructor;
|
|
@@ -964,27 +964,27 @@ function it(e) {
|
|
|
964
964
|
}
|
|
965
965
|
//#endregion
|
|
966
966
|
//#region ../node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
|
|
967
|
-
function
|
|
967
|
+
function it(e, ...t) {
|
|
968
968
|
let n = t.slice(0, -1), r = t[t.length - 1], i = e;
|
|
969
969
|
for (let e = 0; e < n.length; e++) {
|
|
970
970
|
let t = n[e];
|
|
971
|
-
i =
|
|
971
|
+
i = U(i, t, r, /* @__PURE__ */ new Map());
|
|
972
972
|
}
|
|
973
973
|
return i;
|
|
974
974
|
}
|
|
975
|
-
function
|
|
976
|
-
if (
|
|
977
|
-
if (r.has(t)) return
|
|
975
|
+
function U(e, t, n, r) {
|
|
976
|
+
if (F(e) && (e = Object(e)), typeof t != "object" || !t) return e;
|
|
977
|
+
if (r.has(t)) return rt(r.get(t));
|
|
978
978
|
if (r.set(t, e), Array.isArray(t)) {
|
|
979
979
|
t = t.slice();
|
|
980
980
|
for (let e = 0; e < t.length; e++) t[e] = t[e] ?? void 0;
|
|
981
981
|
}
|
|
982
|
-
let i = [...Object.keys(t), ...
|
|
982
|
+
let i = [...Object.keys(t), ...ke(t)];
|
|
983
983
|
for (let a = 0; a < i.length; a++) {
|
|
984
984
|
let o = i[a];
|
|
985
|
-
if (
|
|
985
|
+
if (Ze(o)) continue;
|
|
986
986
|
let s = t[o], c = e[o];
|
|
987
|
-
if (
|
|
987
|
+
if (z(s) && (s = { ...s }), z(c) && (c = { ...c }), P(s) && (s = tt(s)), Array.isArray(s)) {
|
|
988
988
|
if (Array.isArray(c)) {
|
|
989
989
|
let e = [], t = Reflect.ownKeys(c);
|
|
990
990
|
for (let n = 0; n < t.length; n++) {
|
|
@@ -992,25 +992,25 @@ function H(e, t, n, r) {
|
|
|
992
992
|
e[r] = c[r];
|
|
993
993
|
}
|
|
994
994
|
c = e;
|
|
995
|
-
} else if (
|
|
995
|
+
} else if (nt(c)) {
|
|
996
996
|
let e = [];
|
|
997
997
|
for (let t = 0; t < c.length; t++) e[t] = c[t];
|
|
998
998
|
c = e;
|
|
999
999
|
} else c = [];
|
|
1000
1000
|
}
|
|
1001
1001
|
let l = n(c, s, o, e, t, r);
|
|
1002
|
-
l === void 0 ? Array.isArray(s) ||
|
|
1002
|
+
l === void 0 ? Array.isArray(s) || B(c) && B(s) && (O(c) || O(s) || V(c) || V(s)) ? e[o] = U(c, s, n, r) : c == null && O(s) ? e[o] = U({}, s, n, r) : c == null && V(s) ? e[o] = tt(s) : (c === void 0 || s !== void 0) && (e[o] = s) : e[o] = l;
|
|
1003
1003
|
}
|
|
1004
1004
|
return e;
|
|
1005
1005
|
}
|
|
1006
1006
|
//#endregion
|
|
1007
1007
|
//#region ../node_modules/es-toolkit/dist/compat/object/merge.mjs
|
|
1008
|
-
function
|
|
1009
|
-
return
|
|
1008
|
+
function at(e, ...t) {
|
|
1009
|
+
return it(e, ...t, Oe);
|
|
1010
1010
|
}
|
|
1011
1011
|
//#endregion
|
|
1012
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
1013
|
-
var
|
|
1012
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-3YJQHVM4.mjs
|
|
1013
|
+
var ot = c(), st = {
|
|
1014
1014
|
curveBasis: te,
|
|
1015
1015
|
curveBasisClosed: re,
|
|
1016
1016
|
curveBasisOpen: ae,
|
|
@@ -1021,18 +1021,18 @@ var st = c(), ct = {
|
|
|
1021
1021
|
curveCardinalOpen: ue,
|
|
1022
1022
|
curveCardinal: ce,
|
|
1023
1023
|
curveCatmullRomClosed: me,
|
|
1024
|
-
curveCatmullRomOpen:
|
|
1024
|
+
curveCatmullRomOpen: he,
|
|
1025
1025
|
curveCatmullRom: fe,
|
|
1026
1026
|
curveLinear: u,
|
|
1027
|
-
curveLinearClosed:
|
|
1028
|
-
curveMonotoneX:
|
|
1029
|
-
curveMonotoneY:
|
|
1030
|
-
curveNatural:
|
|
1031
|
-
curveStep:
|
|
1032
|
-
curveStepAfter:
|
|
1033
|
-
curveStepBefore:
|
|
1034
|
-
},
|
|
1035
|
-
let n =
|
|
1027
|
+
curveLinearClosed: _e,
|
|
1028
|
+
curveMonotoneX: Ce,
|
|
1029
|
+
curveMonotoneY: we,
|
|
1030
|
+
curveNatural: De,
|
|
1031
|
+
curveStep: T,
|
|
1032
|
+
curveStepAfter: D,
|
|
1033
|
+
curveStepBefore: E
|
|
1034
|
+
}, ct = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, lt = /* @__PURE__ */ e(function(e, t) {
|
|
1035
|
+
let n = ut(e, /(?:init\b)|(?:initialize\b)/), i = {};
|
|
1036
1036
|
if (Array.isArray(n)) {
|
|
1037
1037
|
let e = n.map((e) => e.args);
|
|
1038
1038
|
r(e), i = o(i, [...e]);
|
|
@@ -1040,9 +1040,9 @@ var st = c(), ct = {
|
|
|
1040
1040
|
if (!i) return;
|
|
1041
1041
|
let s = a(e, t), c = "config";
|
|
1042
1042
|
return i[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), i[s] = i[c], delete i[c]), i;
|
|
1043
|
-
}, "detectInit"),
|
|
1043
|
+
}, "detectInit"), ut = /* @__PURE__ */ e(function(e, n = null) {
|
|
1044
1044
|
try {
|
|
1045
|
-
let r = RegExp(`[%]{2}(?![{]${
|
|
1045
|
+
let r = RegExp(`[%]{2}(?![{]${ct.source})(?=[}][%]{2}).*
|
|
1046
1046
|
`, "ig");
|
|
1047
1047
|
e = e.trim().replace(r, "").replace(/'/gm, "\""), t.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${e}`);
|
|
1048
1048
|
let a, o = [];
|
|
@@ -1063,22 +1063,22 @@ var st = c(), ct = {
|
|
|
1063
1063
|
args: null
|
|
1064
1064
|
};
|
|
1065
1065
|
}
|
|
1066
|
-
}, "detectDirective"),
|
|
1066
|
+
}, "detectDirective"), dt = /* @__PURE__ */ e(function(e) {
|
|
1067
1067
|
return e.replace(i, "");
|
|
1068
|
-
}, "removeDirectives"),
|
|
1068
|
+
}, "removeDirectives"), ft = /* @__PURE__ */ e(function(e, t) {
|
|
1069
1069
|
for (let [n, r] of t.entries()) if (r.match(e)) return n;
|
|
1070
1070
|
return -1;
|
|
1071
1071
|
}, "isSubstringInArray");
|
|
1072
|
-
function
|
|
1073
|
-
return e ?
|
|
1072
|
+
function W(e, t) {
|
|
1073
|
+
return e ? st[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
|
|
1074
1074
|
}
|
|
1075
|
-
e(
|
|
1076
|
-
function
|
|
1075
|
+
e(W, "interpolateToCurve");
|
|
1076
|
+
function pt(e, t) {
|
|
1077
1077
|
let n = e.trim();
|
|
1078
|
-
if (n) return t.securityLevel === "loose" ? n : (0,
|
|
1078
|
+
if (n) return t.securityLevel === "loose" ? n : (0, ot.sanitizeUrl)(n);
|
|
1079
1079
|
}
|
|
1080
|
-
e(
|
|
1081
|
-
var
|
|
1080
|
+
e(pt, "formatUrl");
|
|
1081
|
+
var mt = /* @__PURE__ */ e((e, ...n) => {
|
|
1082
1082
|
let r = e.split("."), i = r.length - 1, a = r[i], o = window;
|
|
1083
1083
|
for (let n = 0; n < i; n++) if (o = o[r[n]], !o) {
|
|
1084
1084
|
t.error(`Function name: ${e} not found in window`);
|
|
@@ -1086,29 +1086,29 @@ var ht = /* @__PURE__ */ e((e, ...n) => {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
o[a](...n);
|
|
1088
1088
|
}, "runFunc");
|
|
1089
|
-
function
|
|
1089
|
+
function G(e, t) {
|
|
1090
1090
|
return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
|
|
1091
1091
|
}
|
|
1092
|
-
e(
|
|
1093
|
-
function
|
|
1092
|
+
e(G, "distance");
|
|
1093
|
+
function ht(e) {
|
|
1094
1094
|
let t, n = 0;
|
|
1095
1095
|
return e.forEach((e) => {
|
|
1096
|
-
n +=
|
|
1097
|
-
}),
|
|
1096
|
+
n += G(e, t), t = e;
|
|
1097
|
+
}), K(e, n / 2);
|
|
1098
1098
|
}
|
|
1099
|
-
e(
|
|
1100
|
-
function
|
|
1101
|
-
return e.length === 1 ? e[0] :
|
|
1099
|
+
e(ht, "traverseEdge");
|
|
1100
|
+
function gt(e) {
|
|
1101
|
+
return e.length === 1 ? e[0] : ht(e);
|
|
1102
1102
|
}
|
|
1103
|
-
e(
|
|
1104
|
-
var
|
|
1103
|
+
e(gt, "calcLabelPosition");
|
|
1104
|
+
var _t = /* @__PURE__ */ e((e, t = 2) => {
|
|
1105
1105
|
let n = 10 ** t;
|
|
1106
1106
|
return Math.round(e * n) / n;
|
|
1107
|
-
}, "roundNumber"),
|
|
1107
|
+
}, "roundNumber"), K = /* @__PURE__ */ e((e, t) => {
|
|
1108
1108
|
let n, r = t;
|
|
1109
1109
|
for (let t of e) {
|
|
1110
1110
|
if (n) {
|
|
1111
|
-
let e =
|
|
1111
|
+
let e = G(t, n);
|
|
1112
1112
|
if (e === 0) return n;
|
|
1113
1113
|
if (e < r) r -= e;
|
|
1114
1114
|
else {
|
|
@@ -1119,33 +1119,33 @@ var vt = /* @__PURE__ */ e((e, t = 2) => {
|
|
|
1119
1119
|
y: t.y
|
|
1120
1120
|
};
|
|
1121
1121
|
if (i > 0 && i < 1) return {
|
|
1122
|
-
x:
|
|
1123
|
-
y:
|
|
1122
|
+
x: _t((1 - i) * n.x + i * t.x, 5),
|
|
1123
|
+
y: _t((1 - i) * n.y + i * t.y, 5)
|
|
1124
1124
|
};
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
1127
|
n = t;
|
|
1128
1128
|
}
|
|
1129
1129
|
throw Error("Could not find a suitable point for the given distance");
|
|
1130
|
-
}, "calculatePoint"),
|
|
1130
|
+
}, "calculatePoint"), vt = /* @__PURE__ */ e((e, n, r) => {
|
|
1131
1131
|
t.info(`our points ${JSON.stringify(n)}`), n[0] !== r && (n = n.reverse());
|
|
1132
|
-
let i =
|
|
1132
|
+
let i = K(n, 25), a = e ? 10 : 5, o = Math.atan2(n[0].y - i.y, n[0].x - i.x), s = {
|
|
1133
1133
|
x: 0,
|
|
1134
1134
|
y: 0
|
|
1135
1135
|
};
|
|
1136
1136
|
return s.x = Math.sin(o) * a + (n[0].x + i.x) / 2, s.y = -Math.cos(o) * a + (n[0].y + i.y) / 2, s;
|
|
1137
1137
|
}, "calcCardinalityPosition");
|
|
1138
|
-
function
|
|
1138
|
+
function yt(e, n, r) {
|
|
1139
1139
|
let i = structuredClone(r);
|
|
1140
1140
|
t.info("our points", i), n !== "start_left" && n !== "start_right" && i.reverse();
|
|
1141
|
-
let a =
|
|
1141
|
+
let a = K(i, 25 + e), o = 10 + e * .5, s = Math.atan2(i[0].y - a.y, i[0].x - a.x), c = {
|
|
1142
1142
|
x: 0,
|
|
1143
1143
|
y: 0
|
|
1144
1144
|
};
|
|
1145
|
-
return n === "start_left" ? (c.x = Math.sin(s + Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s + Math.PI) * o + (i[0].y + a.y) / 2) : n === "end_right" ? (c.x = Math.sin(s - Math.PI) * o + (i[0].x + a.x) / 2
|
|
1145
|
+
return n === "start_left" ? (c.x = Math.sin(s + Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s + Math.PI) * o + (i[0].y + a.y) / 2) : n === "end_right" ? (c.x = Math.sin(s - Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s - Math.PI) * o + (i[0].y + a.y) / 2) : (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2), c;
|
|
1146
1146
|
}
|
|
1147
|
-
e(
|
|
1148
|
-
function
|
|
1147
|
+
e(yt, "calcTerminalLabelPosition");
|
|
1148
|
+
function q(e) {
|
|
1149
1149
|
let t = "", n = "";
|
|
1150
1150
|
for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
|
|
1151
1151
|
return {
|
|
@@ -1153,15 +1153,15 @@ function K(e) {
|
|
|
1153
1153
|
labelStyle: n
|
|
1154
1154
|
};
|
|
1155
1155
|
}
|
|
1156
|
-
e(
|
|
1157
|
-
var
|
|
1158
|
-
function
|
|
1156
|
+
e(q, "getStylesFromArray");
|
|
1157
|
+
var bt = 0, xt = /* @__PURE__ */ e(() => (bt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + bt), "generateId");
|
|
1158
|
+
function St(e) {
|
|
1159
1159
|
let t = "";
|
|
1160
1160
|
for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
|
|
1161
1161
|
return t;
|
|
1162
1162
|
}
|
|
1163
|
-
e(
|
|
1164
|
-
var
|
|
1163
|
+
e(St, "makeRandomHex");
|
|
1164
|
+
var Ct = /* @__PURE__ */ e((e) => St(e.length), "random"), wt = /* @__PURE__ */ e(function() {
|
|
1165
1165
|
return {
|
|
1166
1166
|
x: 0,
|
|
1167
1167
|
y: 0,
|
|
@@ -1176,28 +1176,28 @@ var wt = /* @__PURE__ */ e((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1176
1176
|
valign: void 0,
|
|
1177
1177
|
text: ""
|
|
1178
1178
|
};
|
|
1179
|
-
}, "getTextObj"),
|
|
1180
|
-
let n = t.text.replace(s.lineBreakRegex, " "), [, r] =
|
|
1179
|
+
}, "getTextObj"), Tt = /* @__PURE__ */ e(function(e, t) {
|
|
1180
|
+
let n = t.text.replace(s.lineBreakRegex, " "), [, r] = Q(t.fontSize), i = e.append("text");
|
|
1181
1181
|
i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
|
|
1182
1182
|
let a = i.append("tspan");
|
|
1183
1183
|
return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
|
|
1184
|
-
}, "drawSimpleText"),
|
|
1184
|
+
}, "drawSimpleText"), Et = H((e, t, n) => {
|
|
1185
1185
|
if (!e || (n = Object.assign({
|
|
1186
1186
|
fontSize: 12,
|
|
1187
1187
|
fontWeight: 400,
|
|
1188
1188
|
fontFamily: "Arial",
|
|
1189
1189
|
joinWith: "<br/>"
|
|
1190
|
-
}, n), s.
|
|
1190
|
+
}, n), s.hasBreaks(e))) return e;
|
|
1191
1191
|
let r = e.split(" ").filter(Boolean), i = [], a = "";
|
|
1192
1192
|
return r.forEach((e, o) => {
|
|
1193
|
-
let s =
|
|
1193
|
+
let s = Y(`${e} `, n), c = Y(a, n);
|
|
1194
1194
|
if (s > t) {
|
|
1195
|
-
let { hyphenatedStrings: r, remainingWord: o } =
|
|
1195
|
+
let { hyphenatedStrings: r, remainingWord: o } = Dt(e, t, "-", n);
|
|
1196
1196
|
i.push(a, ...r), a = o;
|
|
1197
1197
|
} else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
|
|
1198
1198
|
o + 1 === r.length && i.push(a);
|
|
1199
1199
|
}), i.filter((e) => e !== "").join(n.joinWith);
|
|
1200
|
-
}, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),
|
|
1200
|
+
}, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), Dt = H((e, t, n = "-", r) => {
|
|
1201
1201
|
r = Object.assign({
|
|
1202
1202
|
fontSize: 12,
|
|
1203
1203
|
fontWeight: 400,
|
|
@@ -1207,7 +1207,7 @@ var wt = /* @__PURE__ */ e((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1207
1207
|
let i = [...e], a = [], o = "";
|
|
1208
1208
|
return i.forEach((e, s) => {
|
|
1209
1209
|
let c = `${o}${e}`;
|
|
1210
|
-
if (
|
|
1210
|
+
if (Y(c, r) >= t) {
|
|
1211
1211
|
let e = s + 1, t = i.length === e, r = `${c}${n}`;
|
|
1212
1212
|
a.push(t ? c : r), o = "";
|
|
1213
1213
|
} else o = c;
|
|
@@ -1216,21 +1216,21 @@ var wt = /* @__PURE__ */ e((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1216
1216
|
remainingWord: o
|
|
1217
1217
|
};
|
|
1218
1218
|
}, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
|
|
1219
|
-
function q(e, t) {
|
|
1220
|
-
return Y(e, t).height;
|
|
1221
|
-
}
|
|
1222
|
-
e(q, "calculateTextHeight");
|
|
1223
1219
|
function J(e, t) {
|
|
1224
|
-
return
|
|
1220
|
+
return X(e, t).height;
|
|
1225
1221
|
}
|
|
1226
|
-
e(J, "
|
|
1227
|
-
|
|
1222
|
+
e(J, "calculateTextHeight");
|
|
1223
|
+
function Y(e, t) {
|
|
1224
|
+
return X(e, t).width;
|
|
1225
|
+
}
|
|
1226
|
+
e(Y, "calculateTextWidth");
|
|
1227
|
+
var X = H((e, t) => {
|
|
1228
1228
|
let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
|
|
1229
1229
|
if (!e) return {
|
|
1230
1230
|
width: 0,
|
|
1231
1231
|
height: 0
|
|
1232
1232
|
};
|
|
1233
|
-
let [, o] =
|
|
1233
|
+
let [, o] = Q(r), c = ["sans-serif", i], l = e.split(s.lineBreakRegex), u = [], d = n("body");
|
|
1234
1234
|
if (!d.remove) return {
|
|
1235
1235
|
width: 0,
|
|
1236
1236
|
height: 0,
|
|
@@ -1244,66 +1244,70 @@ var Y = V((e, t) => {
|
|
|
1244
1244
|
lineHeight: 0
|
|
1245
1245
|
};
|
|
1246
1246
|
for (let r of l) {
|
|
1247
|
-
let i =
|
|
1247
|
+
let i = wt();
|
|
1248
1248
|
i.text = r || "";
|
|
1249
|
-
let s =
|
|
1249
|
+
let s = Tt(f, i).style("font-size", o).style("font-weight", a).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
|
|
1250
1250
|
if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
|
|
1251
1251
|
n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
|
|
1252
1252
|
}
|
|
1253
1253
|
u.push(n);
|
|
1254
1254
|
}
|
|
1255
1255
|
return f.remove(), u[isNaN(u[1].height) || isNaN(u[1].width) || isNaN(u[1].lineHeight) || u[0].height > u[1].height && u[0].width > u[1].width && u[0].lineHeight > u[1].lineHeight ? 0 : 1];
|
|
1256
|
-
}, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),
|
|
1256
|
+
}, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), Ot = class {
|
|
1257
1257
|
constructor(e = !1, t) {
|
|
1258
1258
|
this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
|
|
1259
1259
|
}
|
|
1260
1260
|
static {
|
|
1261
1261
|
e(this, "InitIDGenerator");
|
|
1262
1262
|
}
|
|
1263
|
-
},
|
|
1264
|
-
return
|
|
1263
|
+
}, Z, kt = /* @__PURE__ */ e(function(e) {
|
|
1264
|
+
return Z ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Z.innerHTML = e, unescape(Z.textContent);
|
|
1265
1265
|
}, "entityDecode");
|
|
1266
|
-
function
|
|
1266
|
+
function At(e) {
|
|
1267
1267
|
return "str" in e;
|
|
1268
1268
|
}
|
|
1269
|
-
e(
|
|
1269
|
+
e(At, "isDetailedError");
|
|
1270
|
+
function jt(e) {
|
|
1271
|
+
return e instanceof Error ? e.message : String(e);
|
|
1272
|
+
}
|
|
1273
|
+
e(jt, "getErrorMessage");
|
|
1270
1274
|
var Mt = /* @__PURE__ */ e((e, t, n, r) => {
|
|
1271
1275
|
if (!r) return;
|
|
1272
1276
|
let i = e.node()?.getBBox();
|
|
1273
1277
|
i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
|
|
1274
|
-
}, "insertTitle"),
|
|
1278
|
+
}, "insertTitle"), Q = /* @__PURE__ */ e((e) => {
|
|
1275
1279
|
if (typeof e == "number") return [e, e + "px"];
|
|
1276
1280
|
let t = parseInt(e ?? "", 10);
|
|
1277
1281
|
return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
|
|
1278
1282
|
}, "parseFontSize");
|
|
1279
|
-
function
|
|
1280
|
-
return
|
|
1283
|
+
function $(e, t) {
|
|
1284
|
+
return at({}, e, t);
|
|
1281
1285
|
}
|
|
1282
|
-
e(
|
|
1286
|
+
e($, "cleanAndMerge");
|
|
1283
1287
|
var Nt = {
|
|
1284
1288
|
assignWithDepth: o,
|
|
1285
|
-
wrapLabel:
|
|
1286
|
-
calculateTextHeight:
|
|
1287
|
-
calculateTextWidth:
|
|
1288
|
-
calculateTextDimensions:
|
|
1289
|
-
cleanAndMerge:
|
|
1290
|
-
detectInit:
|
|
1291
|
-
detectDirective:
|
|
1292
|
-
isSubstringInArray:
|
|
1293
|
-
interpolateToCurve:
|
|
1294
|
-
calcLabelPosition:
|
|
1295
|
-
calcCardinalityPosition:
|
|
1296
|
-
calcTerminalLabelPosition:
|
|
1297
|
-
formatUrl:
|
|
1298
|
-
getStylesFromArray:
|
|
1299
|
-
generateId:
|
|
1300
|
-
random:
|
|
1301
|
-
runFunc:
|
|
1302
|
-
entityDecode:
|
|
1289
|
+
wrapLabel: Et,
|
|
1290
|
+
calculateTextHeight: J,
|
|
1291
|
+
calculateTextWidth: Y,
|
|
1292
|
+
calculateTextDimensions: X,
|
|
1293
|
+
cleanAndMerge: $,
|
|
1294
|
+
detectInit: lt,
|
|
1295
|
+
detectDirective: ut,
|
|
1296
|
+
isSubstringInArray: ft,
|
|
1297
|
+
interpolateToCurve: W,
|
|
1298
|
+
calcLabelPosition: gt,
|
|
1299
|
+
calcCardinalityPosition: vt,
|
|
1300
|
+
calcTerminalLabelPosition: yt,
|
|
1301
|
+
formatUrl: pt,
|
|
1302
|
+
getStylesFromArray: q,
|
|
1303
|
+
generateId: xt,
|
|
1304
|
+
random: Ct,
|
|
1305
|
+
runFunc: mt,
|
|
1306
|
+
entityDecode: kt,
|
|
1303
1307
|
insertTitle: Mt,
|
|
1304
|
-
isLabelCoordinateInPath:
|
|
1305
|
-
parseFontSize:
|
|
1306
|
-
InitIDGenerator:
|
|
1308
|
+
isLabelCoordinateInPath: Rt,
|
|
1309
|
+
parseFontSize: Q,
|
|
1310
|
+
InitIDGenerator: Ot
|
|
1307
1311
|
}, Pt = /* @__PURE__ */ e(function(e) {
|
|
1308
1312
|
let t = e;
|
|
1309
1313
|
return t = t.replace(/style.*:\S*#.*;/g, function(e) {
|
|
@@ -1321,10 +1325,10 @@ function Lt(e) {
|
|
|
1321
1325
|
return e ?? null;
|
|
1322
1326
|
}
|
|
1323
1327
|
e(Lt, "handleUndefinedAttr");
|
|
1324
|
-
function
|
|
1328
|
+
function Rt(e, t) {
|
|
1325
1329
|
let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
|
|
1326
1330
|
return i.includes(n.toString()) || i.includes(r.toString());
|
|
1327
1331
|
}
|
|
1328
|
-
e(
|
|
1332
|
+
e(Rt, "isLabelCoordinateInPath");
|
|
1329
1333
|
//#endregion
|
|
1330
|
-
export {
|
|
1334
|
+
export { fe as $, Ke as A, A as B, P as C, M as D, Fe as E, Ne as F, Be as G, Ve as H, j as I, E as J, k as K, Le as L, We as M, Ge as N, Re as O, Ue as P, we as Q, Ae as R, Xe as S, Ie as T, He as U, je as V, ze as W, De as X, T as Y, Ce as Z, Nt as _, Ft as a, z as b, It as c, Lt as d, ce as et, W as f, dt as g, Ct as h, $ as i, u as it, qe as j, Me as k, jt as l, Q as m, J as n, f as nt, Pt as o, At as p, D as q, Y as r, ee as rt, xt as s, X as t, te as tt, q as u, Et as v, N as w, F as x, V as y, Pe as z };
|