@pi-outpost/embed 0.32.4 → 0.33.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.
Files changed (234) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
  2. package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
  3. package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
  4. package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
  6. package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
  7. package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
  8. package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
  9. package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
  10. package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
  11. package/dist/channel-BjC1TKrU.cjs +1 -0
  12. package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
  13. package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
  14. package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
  15. package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
  16. package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
  17. package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
  18. package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
  19. package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
  20. package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
  21. package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
  22. package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
  23. package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
  24. package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
  25. package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
  26. package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
  27. package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
  28. package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
  29. package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
  30. package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
  31. package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
  32. package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
  33. package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
  34. package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
  35. package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
  36. package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
  37. package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
  38. package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
  39. package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
  40. package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
  41. package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
  42. package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
  43. package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
  44. package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
  45. package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
  46. package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
  47. package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
  48. package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
  49. package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
  50. package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
  51. package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BeO-f3PY.cjs} +1 -1
  52. package/dist/{conversationExport-QWEGKkKB.js → conversationExport-DZ2Xi8Lb.js} +2 -2
  53. package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-CT_-smUm.js} +9099 -6555
  54. package/dist/conversationHistory-CZD9jO6h.cjs +287 -0
  55. package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
  56. package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
  57. package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
  58. package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
  59. package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
  60. package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
  61. package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
  62. package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
  63. package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
  64. package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
  65. package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
  66. package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
  67. package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
  68. package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
  69. package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
  70. package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
  71. package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
  72. package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
  73. package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
  74. package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
  75. package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
  76. package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
  77. package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
  78. package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
  79. package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
  80. package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
  81. package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
  82. package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
  83. package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
  84. package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
  85. package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
  86. package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
  87. package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
  88. package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
  89. package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
  90. package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
  91. package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
  92. package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
  93. package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
  94. package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
  95. package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
  96. package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
  97. package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
  98. package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
  99. package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
  100. package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
  101. package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
  102. package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
  103. package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
  104. package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
  105. package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
  106. package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
  107. package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
  108. package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
  109. package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
  110. package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
  111. package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
  112. package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
  113. package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
  114. package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
  115. package/dist/pi-outpost-embed.cjs +9 -10
  116. package/dist/pi-outpost-embed.js +2833 -2786
  117. package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
  118. package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
  119. package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
  120. package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
  121. package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
  122. package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
  123. package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
  124. package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
  125. package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
  126. package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
  127. package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
  128. package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
  129. package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
  130. package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
  131. package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
  132. package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
  133. package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
  134. package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
  135. package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
  136. package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
  137. package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
  138. package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
  139. package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
  140. package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
  141. package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
  142. package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
  143. package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
  144. package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
  145. package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
  146. package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
  147. package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
  148. package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
  149. package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
  150. package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
  151. package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
  152. package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
  153. package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
  154. package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
  155. package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
  156. package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
  157. package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
  158. package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
  159. package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
  160. package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
  161. package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
  162. package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
  163. package/package.json +2 -2
  164. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
  165. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
  166. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
  167. package/dist/channel-DcrLLvcO.cjs +0 -1
  168. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
  169. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
  170. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
  171. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
  172. package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
  173. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
  174. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
  175. package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
  176. package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
  177. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
  178. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
  179. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
  180. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
  181. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
  182. package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
  183. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
  184. package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
  185. package/dist/conversationHistory-BmpdU77I.cjs +0 -286
  186. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
  187. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
  188. package/dist/dagre-BMKbPnPh.js +0 -1934
  189. package/dist/dagre-EEW2OxRU.cjs +0 -1
  190. package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
  191. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
  192. package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
  193. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
  194. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
  195. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
  196. package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
  197. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
  198. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
  199. package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
  200. package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
  201. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
  202. package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
  203. package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
  204. package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
  205. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
  206. package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
  207. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
  208. package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
  209. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
  210. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
  211. package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
  212. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
  213. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
  214. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
  215. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
  216. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
  217. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
  218. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
  219. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
  220. package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
  221. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
  222. package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
  223. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
  224. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
  225. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
  226. package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
  227. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
  228. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
  229. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
  230. package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
  231. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
  232. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
  233. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
  234. package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
@@ -0,0 +1 @@
1
+ const e=require("./chunk-VPRB5NB3-CT204jN6.cjs");var t=(t,n)=>e.st.lang.round(e.ot.parse(t)[n]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
@@ -1,4 +1,4 @@
1
- import { at as e, ot as t } from "./chunk-DU6HZSFF-BW30DVuW.js";
1
+ import { ot as e, st as t } from "./chunk-VPRB5NB3-DJh7spRO.js";
2
2
  //#region ../node_modules/khroma/dist/methods/channel.js
3
3
  var n = (n, r) => t.lang.round(e.parse(n)[r]);
4
4
  //#endregion
@@ -1,14 +1,14 @@
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 { T as r, b as i, x as a } from "./chunk-DU6HZSFF-BW30DVuW.js";
4
- import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as y } from "./chunk-75Z2AOVW-DoA8rENV.js";
5
- import { t as b } from "./line-CwYnx9Ke.js";
6
- import { n as x, r as S } from "./chunk-GMAD6QVW-DZ2r0pLj.js";
7
- import { i as C, n as ee } from "./chunk-P2QGCYS3-BoMkrMIF.js";
3
+ import { b as r, w as i, y as a } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
+ import { $ as o, J as s, Q as c, X as l, Y as u, Z as d, _ as f, d as p, et as m, it as h, nt as g, q as _, rt as v, tt as y } from "./chunk-3YJQHVM4-BNbfg-7y.js";
5
+ import { t as b } from "./line-BTenwQwq.js";
6
+ import { n as x, r as S } from "./chunk-E2ZNV5FY-Bu796yUY.js";
7
+ import { i as C, n as ee } from "./chunk-4EA7E6EY-B5P7n2an.js";
8
8
  import { t as te } from "./rough.esm-D2JJJ0Ot.js";
9
- import { t as w } from "./chunk-4HAMMTFA-C2YXJpQw.js";
10
- import { n as T } from "./chunk-GVQU2GXP-BhLneNgJ.js";
11
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
9
+ import { t as w } from "./chunk-XC4XBNZT-CSiWBPH9.js";
10
+ import { n as T } from "./chunk-DBDB3WZW-DpEOsLsQ.js";
11
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-2BW5OAIV.mjs
12
12
  var E = /* @__PURE__ */ e((e, t) => {
13
13
  if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
14
14
  let n = e.x ?? 0, r = e.y ?? 0;
@@ -109,6 +109,10 @@ var A = /* @__PURE__ */ e((e) => Array.isArray(e) ? {
109
109
  type: "circle",
110
110
  fill: !1
111
111
  },
112
+ arrow_hierarchy: {
113
+ type: "hierarchy",
114
+ fill: !1
115
+ },
112
116
  aggregation: {
113
117
  type: "aggregation",
114
118
  fill: !1
@@ -184,20 +188,20 @@ var A = /* @__PURE__ */ e((e) => Array.isArray(e) ? {
184
188
  }
185
189
  e.attr(`marker-${n}`, `url(${i}#${t})`);
186
190
  } else e.attr(`marker-${n}`, `url(${i}#${d})`);
187
- }, "addEdgeMarker"), ie = /* @__PURE__ */ e((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ e(() => {
191
+ }, "addEdgeMarker"), ie = /* @__PURE__ */ e((e) => typeof e == "string" ? e : r()?.flowchart?.curve, "resolveEdgeCurveType"), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ e(() => {
188
192
  P.clear(), F.clear();
189
- }, "clear"), L = /* @__PURE__ */ e((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), R = /* @__PURE__ */ e((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), z = /* @__PURE__ */ e(async (e, i) => {
190
- let o = a(), s = r(o), { labelStyles: c } = C(i);
191
- i.labelStyle = c;
192
- let l = e.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await x(e, i.label, {
193
- style: R(i.labelStyle),
193
+ }, "clear"), L = /* @__PURE__ */ e((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), R = /* @__PURE__ */ e((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), z = /* @__PURE__ */ e(async (e, a) => {
194
+ let o = r(), s = i(o), { labelStyles: c } = C(a);
195
+ a.labelStyle = c;
196
+ let l = e.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", a.id), d = a.labelType === "markdown", f = await x(e, a.label, {
197
+ style: R(a.labelStyle),
194
198
  useHtmlLabels: s,
195
199
  addSvgBackground: !0,
196
200
  isNode: !1,
197
201
  markdown: d,
198
202
  width: void 0
199
203
  }, o);
200
- u.node().appendChild(f), t.info("abc82", i, i.labelType);
204
+ u.node().appendChild(f), t.info("abc82", a, a.labelType);
201
205
  let p, m;
202
206
  if (s) {
203
207
  let e = f.children[0], t = n(f);
@@ -208,96 +212,113 @@ var A = /* @__PURE__ */ e((e) => Array.isArray(e) ? {
208
212
  p = f.getBBox(), m = e && typeof e.getBBox == "function" ? e.getBBox() : p;
209
213
  });
210
214
  }
211
- u.attr("transform", E(m, s)), P.set(i.id, l), i.width = p.width, i.height = p.height;
215
+ u.attr("transform", E(m, s)), P.set(a.id, l), a.width = p.width, a.height = p.height;
212
216
  let h;
213
- if (i.startLabelLeft) {
214
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(r, i.startLabelLeft, R(i.labelStyle) || "", !1, !1);
215
- h = a;
216
- let o = a.getBBox();
217
+ if (a.startLabelLeft) {
218
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), i = await w(r, a.startLabelLeft, R(a.labelStyle) || "", !1, !1);
219
+ h = i;
220
+ let o = i.getBBox();
217
221
  if (s) {
218
- let e = a.children[0], t = n(a);
222
+ let e = i.children[0], t = n(i);
219
223
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
220
224
  }
221
- r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).startLeft = t, B(h, i.startLabelLeft);
225
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).startLeft = t, V(h, a.startLabelLeft, o), B(a, "startLeft", o);
222
226
  }
223
- if (i.startLabelRight) {
224
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(r, i.startLabelRight, R(i.labelStyle) || "", !1, !1);
225
- h = a;
226
- let o = a.getBBox();
227
+ if (a.startLabelRight) {
228
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), i = await w(r, a.startLabelRight, R(a.labelStyle) || "", !1, !1);
229
+ h = i;
230
+ let o = i.getBBox();
227
231
  if (s) {
228
- let e = a.children[0], t = n(a);
232
+ let e = i.children[0], t = n(i);
229
233
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
230
234
  }
231
- r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).startRight = t, B(h, i.startLabelRight);
235
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).startRight = t, V(h, a.startLabelRight, o), B(a, "startRight", o);
232
236
  }
233
- if (i.endLabelLeft) {
234
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(t, i.endLabelLeft, R(i.labelStyle) || "", !1, !1);
235
- h = a;
236
- let o = a.getBBox();
237
+ if (a.endLabelLeft) {
238
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), i = await w(r, a.endLabelLeft, R(a.labelStyle) || "", !1, !1);
239
+ h = i;
240
+ let o = i.getBBox();
237
241
  if (s) {
238
- let e = a.children[0], t = n(a);
242
+ let e = i.children[0], t = n(i);
239
243
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
240
244
  }
241
- r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).endLeft = t, B(h, i.endLabelLeft);
245
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).endLeft = t, V(h, a.endLabelLeft, o), B(a, "endLeft", o);
242
246
  }
243
- if (i.endLabelRight) {
244
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(t, i.endLabelRight, R(i.labelStyle) || "", !1, !1);
245
- h = a;
246
- let o = a.getBBox();
247
+ if (a.endLabelRight) {
248
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), i = await w(r, a.endLabelRight, R(a.labelStyle) || "", !1, !1);
249
+ h = i;
250
+ let o = i.getBBox();
247
251
  if (s) {
248
- let e = a.children[0], t = n(a);
252
+ let e = i.children[0], t = n(i);
249
253
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
250
254
  }
251
- r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).endRight = t, B(h, i.endLabelRight);
255
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).endRight = t, V(h, a.endLabelRight, o), B(a, "endRight", o);
252
256
  }
253
257
  return f;
254
258
  }, "insertEdgeLabel");
255
- function B(e, t) {
256
- r(a()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
259
+ function B(e, t, n) {
260
+ e.terminalLabelSizes ??= {}, e.terminalLabelSizes[t] = {
261
+ width: n.width,
262
+ height: n.height
263
+ };
264
+ }
265
+ e(B, "recordTerminalLabelSize");
266
+ function V(e, t, n) {
267
+ i(r()) && e && (e.style.width = Math.max(t.length * 9, n.width) + "px", e.style.height = n.height + "px");
257
268
  }
258
- e(B, "setTerminalWidth");
259
- var V = /* @__PURE__ */ e((e, n) => {
269
+ e(V, "setTerminalWidth");
270
+ var H = /* @__PURE__ */ e((e, t) => {
271
+ let n = e.x, r = e.y;
272
+ if (t?.updatedPath) {
273
+ let i = f.calcLabelPosition(t.updatedPath);
274
+ if (t.originalPath) {
275
+ let a = f.calcLabelPosition(t.originalPath);
276
+ n = e.x + (i.x - a.x), r = e.y + (i.y - a.y);
277
+ } else n = i.x, r = i.y;
278
+ }
279
+ return {
280
+ x: n,
281
+ y: r
282
+ };
283
+ }, "resolveEdgeLabelPosition"), U = /* @__PURE__ */ e((e, n) => {
260
284
  t.debug("Moving label abc88 ", e.id, e.label, P.get(e.id), n);
261
- let r = n.updatedPath ? n.updatedPath : n.originalPath, i = a(), { subGraphTitleTotalMargin: o } = T(i);
285
+ let i = r(), { subGraphTitleTotalMargin: a } = T(i);
262
286
  if (e.label) {
263
- let i = P.get(e.id), a = e.x, s = e.y;
264
- if (r) {
265
- let i = m.calcLabelPosition(r);
266
- t.debug("Moving label " + e.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
267
- }
268
- i.attr("transform", `translate(${a}, ${s + o / 2})`);
287
+ let r = P.get(e.id), { x: i, y: o } = H(e, n);
288
+ t.debug("Moving label " + e.label + " from (", e.x, ",", e.y, ") to (", i, ",", o, ") abc88"), r.attr("transform", `translate(${i}, ${o + a / 2})`);
269
289
  }
290
+ let o = n.updatedPath ? n.updatedPath : n.originalPath;
270
291
  if (e.startLabelLeft) {
271
- let t = F.get(e.id).startLeft, n = e.x, i = e.y;
272
- if (r) {
273
- let t = m.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", r);
274
- n = t.x, i = t.y;
292
+ let t = F.get(e.id).startLeft, n = e.x, r = e.y;
293
+ if (o) {
294
+ let t = f.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", o);
295
+ n = t.x, r = t.y;
275
296
  }
276
- t.attr("transform", `translate(${n}, ${i})`);
297
+ t.attr("transform", `translate(${n}, ${r})`);
277
298
  }
278
299
  if (e.startLabelRight) {
279
- let t = F.get(e.id).startRight, n = e.x, i = e.y;
280
- if (r) {
281
- let t = m.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", r);
282
- n = t.x, i = t.y;
300
+ let t = F.get(e.id).startRight, n = e.x, r = e.y;
301
+ if (o) {
302
+ let t = f.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", o);
303
+ n = t.x, r = t.y;
283
304
  }
284
- t.attr("transform", `translate(${n}, ${i})`);
305
+ t.attr("transform", `translate(${n}, ${r})`);
285
306
  }
286
307
  if (e.endLabelLeft) {
287
- let t = F.get(e.id).endLeft, n = e.x, i = e.y;
288
- if (r) {
289
- let t = m.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", r);
290
- n = t.x, i = t.y;
308
+ let t = F.get(e.id).endLeft, n = e.x, r = e.y;
309
+ if (o) {
310
+ let t = f.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", o);
311
+ n = t.x, r = t.y;
291
312
  }
292
- t.attr("transform", `translate(${n}, ${i})`);
313
+ t.attr("transform", `translate(${n}, ${r})`);
293
314
  }
294
315
  if (e.endLabelRight) {
295
- let t = F.get(e.id).endRight, n = e.x, i = e.y;
296
- if (r) {
297
- let t = m.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", r);
298
- n = t.x, i = t.y;
316
+ let t = F.get(e.id).endRight, n = e.x, r = e.y;
317
+ if (o) {
318
+ let t = f.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", o);
319
+ n = t.x, r = t.y;
299
320
  }
300
- t.attr("transform", `translate(${n}, ${i})`);
321
+ t.attr("transform", `translate(${n}, ${r})`);
301
322
  }
302
323
  }, "positionEdgeLabel"), ae = /* @__PURE__ */ e((e, t) => {
303
324
  if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
@@ -317,10 +338,10 @@ var V = /* @__PURE__ */ e((e, n) => {
317
338
  },
318
339
  r
319
340
  ];
320
- }, "orthogonalizeToLabelClippedPoints"), H = /* @__PURE__ */ e((e, t) => {
341
+ }, "orthogonalizeToLabelClippedPoints"), W = /* @__PURE__ */ e((e, t) => {
321
342
  let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
322
343
  return i >= o || a >= s;
323
- }, "outsideNode"), U = /* @__PURE__ */ e((e, n, r) => {
344
+ }, "outsideNode"), G = /* @__PURE__ */ e((e, n, r) => {
324
345
  t.debug(`intersection calc abc89:
325
346
  outsidePoint: ${JSON.stringify(n)}
326
347
  insidePoint : ${JSON.stringify(r)}
@@ -346,12 +367,12 @@ var V = /* @__PURE__ */ e((e, n) => {
346
367
  y: o
347
368
  };
348
369
  }
349
- }, "intersection"), W = /* @__PURE__ */ e((e, n) => {
370
+ }, "intersection"), K = /* @__PURE__ */ e((e, n) => {
350
371
  t.warn("abc88 cutPathAtIntersect", e, n);
351
372
  let r = [], i = e[0], a = !1;
352
373
  return e.forEach((e) => {
353
- if (t.info("abc88 checking point", e, n), !H(n, e) && !a) {
354
- let o = U(n, i, e);
374
+ if (t.info("abc88 checking point", e, n), !W(n, e) && !a) {
375
+ let o = G(n, i, e);
355
376
  t.debug("abc88 inside", e, i, o), t.debug("abc88 intersection", o, n);
356
377
  let s = !1;
357
378
  r.forEach((e) => {
@@ -360,7 +381,7 @@ var V = /* @__PURE__ */ e((e, n) => {
360
381
  } else t.warn("abc88 outside", e, i), i = e, a || r.push(e);
361
382
  }), t.debug("returning points", r), r;
362
383
  }, "cutPathAtIntersect");
363
- function G(e) {
384
+ function q(e) {
364
385
  let t = [], n = [];
365
386
  for (let r = 1; r < e.length - 1; r++) {
366
387
  let i = e[r - 1], a = e[r], o = e[r + 1];
@@ -371,17 +392,17 @@ function G(e) {
371
392
  cornerPointPositions: n
372
393
  };
373
394
  }
374
- e(G, "extractCornerPoints");
375
- var K = /* @__PURE__ */ e(function(e, t, n) {
395
+ e(q, "extractCornerPoints");
396
+ var J = /* @__PURE__ */ e(function(e, t, n) {
376
397
  let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
377
398
  return {
378
399
  x: t.x - a * r,
379
400
  y: t.y - a * i
380
401
  };
381
402
  }, "findAdjacentPoint"), oe = /* @__PURE__ */ e(function(e) {
382
- let { cornerPointPositions: n } = G(e), r = [];
403
+ let { cornerPointPositions: n } = q(e), r = [];
383
404
  for (let i = 0; i < e.length; i++) if (n.includes(i)) {
384
- let n = e[i - 1], a = e[i + 1], o = e[i], s = K(n, o, 5), c = K(a, o, 5), l = c.x - s.x, u = c.y - s.y;
405
+ let n = e[i - 1], a = e[i + 1], o = e[i], s = J(n, o, 5), c = J(a, o, 5), l = c.x - s.x, u = c.y - s.y;
385
406
  r.push(s);
386
407
  let d = Math.sqrt(2) * 2, f = {
387
408
  x: o.x,
@@ -399,12 +420,12 @@ var K = /* @__PURE__ */ e(function(e, t, n) {
399
420
  }, "fixCorners"), se = /* @__PURE__ */ e((e, t, n) => {
400
421
  let r = e - t - n, i = Math.floor(r / 4);
401
422
  return `0 ${t} ${Array(Number.isFinite(i) ? Math.max(0, i) : 0).fill("2 2").join(" ")} ${n}`;
402
- }, "generateDashArray"), q = /* @__PURE__ */ e(function(e, r, i, x, S, C, w, T = !1) {
403
- if (!w) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
404
- let { handDrawnSeed: E, layout: D } = a(), k = r.points, A = !1, j = S;
423
+ }, "generateDashArray"), Y = /* @__PURE__ */ e(function(e, i, a, x, S, C, w, T = !1) {
424
+ if (!w) throw Error(`insertEdge: missing diagramId for edge "${i.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
425
+ let { handDrawnSeed: E, layout: D } = r(), k = i.points, A = !1, j = S;
405
426
  var M = C;
406
427
  let N = [];
407
- for (let e in r.cssCompiledStyles) ee(e) || N.push(r.cssCompiledStyles[e]);
428
+ for (let e in i.cssCompiledStyles) ee(e) || N.push(i.cssCompiledStyles[e]);
408
429
  if (D === "swimlane") {
409
430
  if (M.intersect && j.intersect && Array.isArray(k) && k.length >= 2) {
410
431
  if (k.length === 2) k = [j.intersect(k[0]), M.intersect(k[1])];
@@ -417,57 +438,57 @@ var K = /* @__PURE__ */ e(function(e, t, n) {
417
438
  ];
418
439
  }
419
440
  }
420
- k = ae(r, k);
421
- } else M.intersect && j.intersect && !T && (k = k.slice(1, r.points.length - 1), k.unshift(j.intersect(k[0])), k.push(M.intersect(k[k.length - 1])));
441
+ k = ae(i, k);
442
+ } else M.intersect && j.intersect && !T && (k = k.slice(1, i.points.length - 1), k.unshift(j.intersect(k[0])), k.push(M.intersect(k[k.length - 1])));
422
443
  let P = btoa(JSON.stringify(k));
423
- r.toCluster && (t.info("to cluster abc88", i.get(r.toCluster)), k = W(r.points, i.get(r.toCluster).node), A = !0), r.fromCluster && (t.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(k, null, 2)), k = W(k.reverse(), i.get(r.fromCluster).node).reverse(), A = !0);
424
- let F = k.filter((e) => !Number.isNaN(e.y)), I = ie(r.curve);
444
+ i.toCluster && (t.info("to cluster abc88", a.get(i.toCluster)), k = K(i.points, a.get(i.toCluster).node), A = !0), i.fromCluster && (t.debug("from cluster abc88", a.get(i.fromCluster), JSON.stringify(k, null, 2)), k = K(k.reverse(), a.get(i.fromCluster).node).reverse(), A = !0);
445
+ let F = k.filter((e) => !Number.isNaN(e.y)), I = ie(i.curve);
425
446
  I !== "rounded" && (F = oe(F));
426
- let L = _;
447
+ let L = h;
427
448
  switch (I) {
428
449
  case "linear":
429
- L = _;
450
+ L = h;
430
451
  break;
431
452
  case "basis":
432
- L = p;
453
+ L = y;
433
454
  break;
434
455
  case "cardinal":
435
- L = o;
456
+ L = m;
436
457
  break;
437
458
  case "bumpX":
438
- L = v;
459
+ L = g;
439
460
  break;
440
461
  case "bumpY":
441
- L = h;
462
+ L = v;
442
463
  break;
443
464
  case "catmullRom":
444
- L = l;
465
+ L = o;
445
466
  break;
446
467
  case "monotoneX":
447
- L = u;
468
+ L = d;
448
469
  break;
449
470
  case "monotoneY":
450
- L = f;
471
+ L = c;
451
472
  break;
452
473
  case "natural":
453
- L = d;
474
+ L = l;
454
475
  break;
455
476
  case "step":
456
- L = s;
477
+ L = u;
457
478
  break;
458
479
  case "stepAfter":
459
- L = c;
480
+ L = _;
460
481
  break;
461
482
  case "stepBefore":
462
- L = g;
483
+ L = s;
463
484
  break;
464
485
  case "rounded":
465
- L = _;
486
+ L = h;
466
487
  break;
467
- default: L = p;
488
+ default: L = y;
468
489
  }
469
- let { x: R, y: z } = ne(r), B = b().x(R).y(z).curve(L), V;
470
- switch (r.thickness) {
490
+ let { x: R, y: z } = ne(i), B = b().x(R).y(z).curve(L), V;
491
+ switch (i.thickness) {
471
492
  case "normal":
472
493
  V = "edge-thickness-normal";
473
494
  break;
@@ -479,7 +500,7 @@ var K = /* @__PURE__ */ e(function(e, t, n) {
479
500
  break;
480
501
  default: V = "edge-thickness-normal";
481
502
  }
482
- switch (r.pattern) {
503
+ switch (i.pattern) {
483
504
  case "solid":
484
505
  V += " edge-pattern-solid";
485
506
  break;
@@ -491,41 +512,41 @@ var K = /* @__PURE__ */ e(function(e, t, n) {
491
512
  break;
492
513
  default: V += " edge-pattern-solid";
493
514
  }
494
- let H, U = I === "rounded" ? J(X(F, r), 5) : B(F), G = Array.isArray(r.style) ? r.style : [r.style], K = G.find((e) => e?.startsWith("stroke:")), q = "";
495
- r.animate && (q = "edge-animation-fast"), r.animation && (q = "edge-animation-" + r.animation);
496
- let Y = !1;
497
- if (r.look === "handDrawn") {
515
+ let H, U = I === "rounded" ? X(Q(F, i), 5) : B(F), W = Array.isArray(i.style) ? i.style : [i.style], G = W.find((e) => e?.startsWith("stroke:")), q = "";
516
+ i.animate && (q = "edge-animation-fast"), i.animation && (q = "edge-animation-" + i.animation);
517
+ let J = !1;
518
+ if (i.look === "handDrawn") {
498
519
  let t = te.svg(e);
499
520
  Object.assign([], F);
500
- let i = t.path(U, {
521
+ let r = t.path(U, {
501
522
  roughness: .3,
502
523
  seed: E
503
524
  });
504
- V += " transition", H = n(i).select("path").attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", G ? G.reduce((e, t) => e + ";" + t, "") : "");
525
+ V += " transition", H = n(r).select("path").attr("id", `${w}-${i.id}`).attr("class", " " + V + (i.classes ? " " + i.classes : "") + (q ? " " + q : "")).attr("style", W ? W.reduce((e, t) => e + ";" + t, "") : "");
505
526
  let a = H.attr("d");
506
527
  H.attr("d", a), e.node().appendChild(H.node());
507
528
  } else {
508
- let t = N.join(";"), n = G ? G.reduce((e, t) => e + t + ";", "") : "", i = (t ? t + ";" + n + ";" : n) + ";" + (G ? G.reduce((e, t) => e + ";" + t, "") : "");
509
- H = e.append("path").attr("d", U).attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", i), K = i.match(/stroke:([^;]+)/)?.[1], Y = r.animate === !0 || !!r.animation || t.includes("animation");
510
- let a = H.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[r.arrowTypeStart] || 0, c = O[r.arrowTypeEnd] || 0;
511
- if (r.look === "neo" && !Y) {
512
- let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
529
+ let t = N.join(";"), n = W ? W.reduce((e, t) => e + t + ";", "") : "", r = (t ? t + ";" + n + ";" : n) + ";" + (W ? W.reduce((e, t) => e + ";" + t, "") : "");
530
+ H = e.append("path").attr("d", U).attr("id", `${w}-${i.id}`).attr("class", " " + V + (i.classes ? " " + i.classes : "") + (q ? " " + q : "")).attr("style", r), G = r.match(/stroke:([^;]+)/)?.[1], J = i.animate === !0 || !!i.animation || t.includes("animation");
531
+ let a = H.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[i.arrowTypeStart] || 0, c = O[i.arrowTypeEnd] || 0;
532
+ if (i.look === "neo" && !J) {
533
+ let e = `stroke-dasharray: ${i.pattern === "dotted" || i.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
513
534
  H.attr("style", e + H.attr("style"));
514
535
  }
515
536
  }
516
- H.attr("data-edge", !0), H.attr("data-et", "edge"), H.attr("data-id", r.id), H.attr("data-points", P), H.attr("data-look", y(r.look)), r.showPoints && F.forEach((t) => {
537
+ H.attr("data-edge", !0), H.attr("data-et", "edge"), H.attr("data-id", i.id), H.attr("data-points", P), H.attr("data-look", p(i.look)), i.showPoints && F.forEach((t) => {
517
538
  e.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", t.x).attr("cy", t.y);
518
539
  });
519
- let Z = "";
520
- (a().flowchart.arrowMarkerAbsolute || a().state.arrowMarkerAbsolute) && (Z = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Z = Z.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), t.info("arrowTypeStart", r.arrowTypeStart), t.info("arrowTypeEnd", r.arrowTypeEnd);
521
- let Q = !Y && r?.look === "neo";
522
- re(H, r, Z, w, x, Q, K);
540
+ let Y = "";
541
+ (r().flowchart.arrowMarkerAbsolute || r().state.arrowMarkerAbsolute) && (Y = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Y = Y.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), t.info("arrowTypeStart", i.arrowTypeStart), t.info("arrowTypeEnd", i.arrowTypeEnd);
542
+ let Z = !J && i?.look === "neo";
543
+ re(H, i, Y, w, x, Z, G);
523
544
  let ce = Math.floor(k.length / 2), le = k[ce];
524
- m.isLabelCoordinateInPath(le, H.attr("d")) || (A = !0);
545
+ f.isLabelCoordinateInPath(le, H.attr("d")) || (A = !0);
525
546
  let $ = {};
526
- return A && ($.updatedPath = k), $.originalPath = r.points, $;
547
+ return A && ($.updatedPath = k), $.originalPath = i.points, $;
527
548
  }, "insertEdge");
528
- function J(e, t) {
549
+ function X(e, t) {
529
550
  if (e.length < 2) return "";
530
551
  let n = "", r = e.length, i = 1e-5;
531
552
  for (let a = 0; a < r; a++) {
@@ -549,8 +570,8 @@ function J(e, t) {
549
570
  }
550
571
  return n;
551
572
  }
552
- e(J, "generateRoundedPath");
553
- function Y(e, t) {
573
+ e(X, "generateRoundedPath");
574
+ function Z(e, t) {
554
575
  if (!e || !t) return {
555
576
  angle: 0,
556
577
  deltaX: 0,
@@ -563,26 +584,26 @@ function Y(e, t) {
563
584
  deltaY: r
564
585
  };
565
586
  }
566
- e(Y, "calculateDeltaAndAngle");
567
- function X(e, t) {
587
+ e(Z, "calculateDeltaAndAngle");
588
+ function Q(e, t) {
568
589
  let n = e.map((e) => ({ ...e }));
569
590
  if (e.length >= 2 && D[t.arrowTypeStart]) {
570
- let r = D[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = Y(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
591
+ let r = D[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = Z(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
571
592
  n[0].x = i.x + s, n[0].y = i.y + c;
572
593
  }
573
594
  let r = e.length;
574
595
  if (r >= 2 && D[t.arrowTypeEnd]) {
575
- let i = D[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = Y(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
596
+ let i = D[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = Z(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
576
597
  n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
577
598
  }
578
599
  return n;
579
600
  }
580
- e(X, "applyMarkerOffsetsToPoints");
581
- var Z = /* @__PURE__ */ e((e, t, n, r) => {
601
+ e(Q, "applyMarkerOffsetsToPoints");
602
+ var ce = /* @__PURE__ */ e((e, t, n, r) => {
582
603
  t.forEach((t) => {
583
- Q[t](e, n, r);
604
+ le[t](e, n, r);
584
605
  });
585
- }, "insertMarkers"), Q = {
606
+ }, "insertMarkers"), le = {
586
607
  extension: /* @__PURE__ */ e((e, n, r) => {
587
608
  t.trace("Making markers for ", r), e.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), e.append("marker").attr("id", r + "_" + n + "-extensionStart-margin").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), e.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd-margin").attr("class", "marker extension " + n).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
588
609
  }, "extension"),
@@ -611,9 +632,12 @@ var Z = /* @__PURE__ */ e((e, t, n, r) => {
611
632
  e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
612
633
  }, "barb"),
613
634
  barbNeo: /* @__PURE__ */ e((e, t, n) => {
614
- let { themeVariables: r } = i(), { transitionColor: a } = r;
615
- e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
635
+ let { themeVariables: r } = a(), { transitionColor: i } = r;
636
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${i}`);
616
637
  }, "barbNeo"),
638
+ hierarchy: /* @__PURE__ */ e((e, t, n) => {
639
+ e.append("marker").attr("id", n + "_" + t + "-hierarchyEnd").attr("class", "marker hierarchy " + t).attr("viewBox", "0 0 12 10").attr("refX", 10).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 10).attr("orient", "auto").append("path").attr("d", "M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0").style("fill", "none"), e.append("marker").attr("id", n + "_" + t + "-hierarchyStart").attr("class", "marker hierarchy " + t).attr("viewBox", "0 0 12 10").attr("refX", 2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 10).attr("orient", "auto").append("path").attr("d", "M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0").style("fill", "none");
640
+ }, "hierarchy"),
617
641
  only_one: /* @__PURE__ */ e((e, t, n) => {
618
642
  e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
619
643
  }, "only_one"),
@@ -633,24 +657,24 @@ var Z = /* @__PURE__ */ e((e, t, n, r) => {
633
657
  i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
634
658
  }, "zero_or_more"),
635
659
  only_one_neo: /* @__PURE__ */ e((e, t, n) => {
636
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
637
- e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
660
+ let { themeVariables: r } = a(), { strokeWidth: i } = r;
661
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${i}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${i}`);
638
662
  }, "only_one_neo"),
639
663
  zero_or_one_neo: /* @__PURE__ */ e((e, t, n) => {
640
- let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
641
- s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${a}`);
664
+ let { themeVariables: r } = a(), { strokeWidth: i, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
665
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${i}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${i}`);
642
666
  let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
643
- c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${a}`);
667
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${i}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${i}`);
644
668
  }, "zero_or_one_neo"),
645
669
  one_or_more_neo: /* @__PURE__ */ e((e, t, n) => {
646
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
647
- e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
670
+ let { themeVariables: r } = a(), { strokeWidth: i } = r;
671
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${i}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${i}`);
648
672
  }, "one_or_more_neo"),
649
673
  zero_or_more_neo: /* @__PURE__ */ e((e, t, n) => {
650
- let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
651
- s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${a}`);
674
+ let { themeVariables: r } = a(), { strokeWidth: i, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
675
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${i}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${i}`);
652
676
  let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
653
- c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${a}`);
677
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${i}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${i}`);
654
678
  }, "zero_or_more_neo"),
655
679
  requirement_arrow: /* @__PURE__ */ e((e, t, n) => {
656
680
  e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
@@ -660,13 +684,13 @@ var Z = /* @__PURE__ */ e((e, t, n, r) => {
660
684
  r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
661
685
  }, "requirement_contains"),
662
686
  requirement_arrow_neo: /* @__PURE__ */ e((e, t, n) => {
663
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
664
- e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
687
+ let { themeVariables: r } = a(), { strokeWidth: i } = r;
688
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${i}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
665
689
  }, "requirement_arrow_neo"),
666
690
  requirement_contains_neo: /* @__PURE__ */ e((e, t, n) => {
667
- let { themeVariables: r } = i(), { strokeWidth: a } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
668
- o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${a}`);
691
+ let { themeVariables: r } = a(), { strokeWidth: i } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
692
+ o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${i}`);
669
693
  }, "requirement_contains_neo")
670
- }, ce = Z;
694
+ }, $ = ce;
671
695
  //#endregion
672
- export { z as a, V as c, q as i, F as l, P as n, D as o, L as r, ce as s, I as t };
696
+ export { z as a, $ as c, F as d, Y as i, U as l, P as n, D as o, L as r, O as s, I as t, H as u };