@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.
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-QWEGKkKB.js → conversationExport-0aa7tXBv.js} +2 -2
  52. package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BVHvnvh5.cjs} +1 -1
  53. package/dist/conversationHistory-CNfOwM8H.cjs +287 -0
  54. package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-D-hT7EvD.js} +9066 -6513
  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,363 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
+ import { m as t, p as n } from "./src-Dkp7vqs8.js";
3
+ import { b as r, g as i, w as a } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
+ import { n as o } from "./chunk-E2ZNV5FY-Bu796yUY.js";
5
+ import { a as s, i as c, t as l } from "./chunk-4EA7E6EY-B5P7n2an.js";
6
+ import { s as u } from "./chunk-J5ZVWO5B-DEP-pB-1.js";
7
+ import { t as d } from "./rough.esm-D2JJJ0Ot.js";
8
+ import { i as f, n as p, t as m } from "./chunk-XC4XBNZT-CSiWBPH9.js";
9
+ import { n as h } from "./chunk-DBDB3WZW-DpEOsLsQ.js";
10
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-NTY3LDVX.mjs
11
+ var g = /* @__PURE__ */ e(async (e, a) => {
12
+ let l = r(), { theme: p, themeVariables: m, handDrawnSeed: h } = l, { clusterBkg: g, clusterBorder: _, borderColorArray: v } = m, y = _, { labelStyles: b, nodeStyles: x, borderStyles: S, backgroundStyles: C } = c(a), w = e.insert("g").attr("class", "cluster swimlane " + (a.cssClasses || "")).attr("id", a.id).attr("data-id", a.id).attr("data-et", "cluster").attr("data-look", a.look);
13
+ u(w, a.colorIndex, p, v);
14
+ let T = i(l.flowchart.htmlLabels), E = a.direction === "LR", D = w.insert("g").attr("class", "cluster-label swimlane-label"), O = await o(D, a.label, {
15
+ style: a.labelStyle,
16
+ useHtmlLabels: T,
17
+ isNode: !0,
18
+ width: a.width
19
+ }), k = O.getBBox();
20
+ if (T) {
21
+ let e = O.children[0], t = n(O);
22
+ k = e.getBoundingClientRect(), t.attr("width", k.width), t.attr("height", k.height);
23
+ }
24
+ let A = a.padding ?? 0, j = a.width <= k.width + A ? k.width + A : a.width;
25
+ a.diff = a.width <= k.width + A ? (j - a.width) / 2 - A : -A;
26
+ let M = a.height, N = a.y - M / 2, P = a.y + M / 2, F = a.x - j / 2, I = a.swimlaneContentTop === void 0 ? N + M / 3 : a.swimlaneContentTop, L = E ? 4 : 0, R = k.height + 2 * L, z, B;
27
+ if (E) {
28
+ let e = Math.max(R, k.height + 2 * L), t = F + e, n = Math.max(0, j - e);
29
+ if (a.look === "handDrawn") {
30
+ let r = d.svg(w), i = s(a, {
31
+ roughness: .7,
32
+ fill: g,
33
+ stroke: y,
34
+ seed: h
35
+ }), o = s(a, {
36
+ roughness: .7,
37
+ fill: "none",
38
+ stroke: y,
39
+ seed: h
40
+ }), c = r.rectangle(F, N, e, M, i);
41
+ z = w.insert(() => c, ":first-child").attr("class", "swimlane-title");
42
+ let l = r.rectangle(t, N, n, M, o);
43
+ B = w.insert(() => l, ":first-child").attr("class", "swimlane-body"), z.select("path:nth-child(2)").attr("style", S.join(";")), z.select("path").attr("style", C.join(";").replace("fill", "stroke"));
44
+ } else z = w.insert("rect", ":first-child"), B = w.insert("rect", ":first-child"), z.attr("class", "swimlane-title").attr("style", x).attr("x", F).attr("y", N).attr("width", e).attr("height", M).attr("fill", g).attr("stroke", y), B.attr("class", "swimlane-body").attr("style", x).attr("x", t).attr("y", N).attr("width", n).attr("height", M).attr("fill", "none").attr("stroke", y);
45
+ let r = F + e / 2, i = a.y;
46
+ D.attr("transform", `translate(${r}, ${i}) rotate(-90) translate(${-k.width / 2}, ${-k.height / 2})`);
47
+ } else {
48
+ let e = Math.max(0, I - N), t = Math.min(R, e), n = N + t, r = Math.max(0, P - n), i = a.x - j / 2;
49
+ if (a.look === "handDrawn") {
50
+ let e = d.svg(w), o = s(a, {
51
+ roughness: .7,
52
+ fill: g,
53
+ stroke: y,
54
+ fillWeight: 3,
55
+ seed: h
56
+ }), c = s(a, {
57
+ roughness: .7,
58
+ fill: "none",
59
+ stroke: y,
60
+ seed: h
61
+ }), l = e.rectangle(i, N, j, t, o);
62
+ z = w.insert(() => l, ":first-child").attr("class", "swimlane-title");
63
+ let u = e.rectangle(i, n, j, r, c);
64
+ B = w.insert(() => u, ":first-child").attr("class", "swimlane-body"), z.select("path:nth-child(2)").attr("style", S.join(";")), z.select("path").attr("style", C.join(";").replace("fill", "stroke"));
65
+ } else z = w.insert("rect", ":first-child"), B = w.insert("rect", ":first-child"), z.attr("class", "swimlane-title").attr("style", x).attr("x", i).attr("y", N).attr("width", j).attr("height", t).attr("fill", g).attr("stroke", y), B.attr("class", "swimlane-body").attr("style", x).attr("x", i).attr("y", n).attr("width", j).attr("height", r).attr("fill", "none").attr("stroke", y);
66
+ let o = a.x - k.width / 2, c = N + (t - k.height) / 2;
67
+ D.attr("transform", `translate(${o}, ${c})`);
68
+ }
69
+ if (t.trace("Swimlane data ", a, JSON.stringify(a)), b) {
70
+ let e = D.select("span");
71
+ e && e.attr("style", b);
72
+ }
73
+ return a.offsetX = 0, a.width = j, a.height = M, a.offsetY = k.height - A / 2, a.intersect = function(e) {
74
+ return f(a, e);
75
+ }, {
76
+ cluster: w,
77
+ labelBBox: k
78
+ };
79
+ }, "swimlane"), _ = /* @__PURE__ */ e(async (e, i) => {
80
+ t.info("Creating subgraph rect for ", i.id, i);
81
+ let l = r(), { theme: g, themeVariables: _, handDrawnSeed: v } = l, { clusterBkg: y, clusterBorder: b, borderColorArray: x } = _, { labelStyles: S, nodeStyles: C, borderStyles: w, backgroundStyles: T } = c(i), E = e.insert("g").attr("class", "cluster " + i.cssClasses).attr("id", i.domId).attr("data-look", i.look);
82
+ u(E, i.colorIndex, g, x);
83
+ let D = a(l), O = E.insert("g").attr("class", "cluster-label "), k;
84
+ k = i.labelType === "markdown" ? await o(O, i.label, {
85
+ style: i.labelStyle,
86
+ useHtmlLabels: D,
87
+ isNode: !0,
88
+ width: i.width
89
+ }) : await m(O, i.label, i.labelStyle || "", !1, !0);
90
+ let A = k.getBBox();
91
+ if (a(l)) {
92
+ let e = k.children[0], t = n(k);
93
+ A = e.getBoundingClientRect(), t.attr("width", A.width), t.attr("height", A.height);
94
+ }
95
+ let j = i.width <= A.width + i.padding ? A.width + i.padding : i.width;
96
+ i.diff = i.width <= A.width + i.padding ? (j - i.width) / 2 - i.padding : -i.padding;
97
+ let M = i.height, N = i.x - j / 2, P = i.y - M / 2;
98
+ t.trace("Data ", i, JSON.stringify(i));
99
+ let F;
100
+ if (i.look === "handDrawn") {
101
+ let e = d.svg(E), n = s(i, {
102
+ roughness: .7,
103
+ fill: y,
104
+ stroke: b,
105
+ fillWeight: 3,
106
+ seed: v
107
+ }), r = e.path(p(N, P, j, M, 0), n);
108
+ F = E.insert(() => (t.debug("Rough node insert CXC", r), r), ":first-child"), F.select("path:nth-child(2)").attr("style", w.join(";")), F.select("path").attr("style", T.join(";").replace("fill", "stroke"));
109
+ } else F = E.insert("rect", ":first-child"), F.attr("style", C).attr("rx", i.rx).attr("ry", i.ry).attr("x", N).attr("y", P).attr("width", j).attr("height", M);
110
+ let { subGraphTitleTopMargin: I } = h(l);
111
+ if (O.attr("transform", `translate(${i.x - A.width / 2}, ${i.y - i.height / 2 + I})`), S) {
112
+ let e = O.select("span");
113
+ e && e.attr("style", S);
114
+ }
115
+ let L = F.node().getBBox();
116
+ return i.offsetX = 0, i.width = L.width, i.height = L.height, i.offsetY = A.height - i.padding / 2, i.intersect = function(e) {
117
+ return f(i, e);
118
+ }, {
119
+ cluster: E,
120
+ labelBBox: A
121
+ };
122
+ }, "rect"), v = /* @__PURE__ */ e((e, t) => {
123
+ let n = e.insert("g").attr("class", "note-cluster").attr("id", t.domId), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
124
+ r.attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2 - a).attr("width", t.width + i).attr("height", t.height + i).attr("fill", "none");
125
+ let o = r.node().getBBox();
126
+ return t.width = o.width, t.height = o.height, t.intersect = function(e) {
127
+ return f(t, e);
128
+ }, {
129
+ cluster: n,
130
+ labelBBox: {
131
+ width: 0,
132
+ height: 0
133
+ }
134
+ };
135
+ }, "noteGroup"), y = /* @__PURE__ */ e(async (e, t) => {
136
+ let i = r(), { theme: o, themeVariables: s, handDrawnSeed: c } = i, { altBackground: l, borderColorArray: h, compositeBackground: g, compositeTitleBackground: _, nodeBorder: v } = s, y = e.insert("g").attr("class", t.cssClasses).attr("id", t.domId).attr("data-id", t.id).attr("data-look", t.look);
137
+ u(y, t.colorIndex, o, h);
138
+ let b = y.insert("g", ":first-child"), x = y.insert("g").attr("class", "cluster-label"), S = y.append("rect"), C = await m(x, t.label, t.labelStyle, void 0, !0), w = C.getBBox();
139
+ if (a(i)) {
140
+ let e = C.children[0], t = n(C);
141
+ w = e.getBoundingClientRect(), t.attr("width", w.width), t.attr("height", w.height);
142
+ }
143
+ let T = 0 * t.padding, E = T / 2, D = (t.width <= w.width + t.padding ? w.width + t.padding : t.width) + T;
144
+ t.diff = t.width <= w.width + t.padding ? (D - t.width) / 2 - t.padding : -t.padding;
145
+ let O = t.height + T, k = t.height + T - w.height - 6, A = t.x - D / 2, j = t.y - O / 2;
146
+ t.width = D;
147
+ let M = t.y - t.height / 2 - E + w.height + 2, N;
148
+ if (t.look === "handDrawn") {
149
+ let e = t.cssClasses.includes("statediagram-cluster-alt"), n = d.svg(y), r = t.rx || t.ry ? n.path(p(A, j, D, O, 10), {
150
+ roughness: .7,
151
+ fill: _,
152
+ fillStyle: "solid",
153
+ stroke: v,
154
+ seed: c
155
+ }) : n.rectangle(A, j, D, O, { seed: c });
156
+ N = y.insert(() => r, ":first-child");
157
+ let i = n.rectangle(A, M, D, k, {
158
+ fill: e ? l : g,
159
+ fillStyle: e ? "hachure" : "solid",
160
+ stroke: v,
161
+ seed: c
162
+ });
163
+ N = y.insert(() => r, ":first-child"), S = y.insert(() => i), N.attr("class", "outer"), S.attr("class", "inner");
164
+ } else N = b.insert("rect", ":first-child"), N.attr("class", "outer").attr("x", A).attr("y", j).attr("width", D).attr("height", O).attr("data-look", t.look), S.attr("class", "inner").attr("x", A).attr("y", M).attr("width", D).attr("height", k);
165
+ return x.attr("transform", `translate(${t.x - w.width / 2}, ${j + 1 - (a(i) ? 0 : 3)})`), t.height = N.node().getBBox().height, t.offsetX = 0, t.offsetY = w.height - t.padding / 2, t.labelBBox = w, t.intersect = function(e) {
166
+ return f(t, e);
167
+ }, {
168
+ cluster: y,
169
+ labelBBox: w
170
+ };
171
+ }, "roundedWithTitle"), b = /* @__PURE__ */ e(async (e, i) => {
172
+ t.info("Creating subgraph rect for ", i.id, i);
173
+ let l = r(), { themeVariables: u, handDrawnSeed: m } = l, { clusterBkg: g, clusterBorder: _ } = u, { labelStyles: v, nodeStyles: y, borderStyles: b, backgroundStyles: x } = c(i), S = e.insert("g").attr("class", "cluster " + i.cssClasses).attr("id", i.domId).attr("data-look", i.look), C = a(l), w = S.insert("g").attr("class", "cluster-label "), T = await o(w, i.label, {
174
+ style: i.labelStyle,
175
+ useHtmlLabels: C,
176
+ isNode: !0,
177
+ width: i.width
178
+ }), E = T.getBBox();
179
+ if (a(l)) {
180
+ let e = T.children[0], t = n(T);
181
+ E = e.getBoundingClientRect(), t.attr("width", E.width), t.attr("height", E.height);
182
+ }
183
+ let D = i.width <= E.width + i.padding ? E.width + i.padding : i.width;
184
+ i.diff = i.width <= E.width + i.padding ? (D - i.width) / 2 - i.padding : -i.padding;
185
+ let O = i.height, k = i.x - D / 2, A = i.y - O / 2;
186
+ t.trace("Data ", i, JSON.stringify(i));
187
+ let j;
188
+ if (i.look === "handDrawn") {
189
+ let e = d.svg(S), n = s(i, {
190
+ roughness: .7,
191
+ fill: g,
192
+ stroke: _,
193
+ fillWeight: 4,
194
+ seed: m
195
+ }), r = e.path(p(k, A, D, O, i.rx), n);
196
+ j = S.insert(() => (t.debug("Rough node insert CXC", r), r), ":first-child"), j.select("path:nth-child(2)").attr("style", b.join(";")), j.select("path").attr("style", x.join(";").replace("fill", "stroke"));
197
+ } else j = S.insert("rect", ":first-child"), j.attr("style", y).attr("rx", i.rx).attr("ry", i.ry).attr("x", k).attr("y", A).attr("width", D).attr("height", O);
198
+ let { subGraphTitleTopMargin: M } = h(l);
199
+ if (w.attr("transform", `translate(${i.x - E.width / 2}, ${i.y - i.height / 2 + M})`), v) {
200
+ let e = w.select("span");
201
+ e && e.attr("style", v);
202
+ }
203
+ let N = j.node().getBBox();
204
+ return i.offsetX = 0, i.width = N.width, i.height = N.height, i.offsetY = E.height - i.padding / 2, i.intersect = function(e) {
205
+ return f(i, e);
206
+ }, {
207
+ cluster: S,
208
+ labelBBox: E
209
+ };
210
+ }, "kanbanSection"), x = /* @__PURE__ */ e((e, t) => {
211
+ let { theme: n, themeVariables: i, handDrawnSeed: a } = r(), { altBackground: o, nodeBorder: s, borderColorArray: c } = i, l = e.insert("g").attr("class", t.cssClasses).attr("id", t.domId).attr("data-look", t.look);
212
+ u(l, t.colorIndex, n, c);
213
+ let p = l.insert("g", ":first-child"), m = 0 * t.padding, h = t.width + m;
214
+ t.diff = -t.padding;
215
+ let g = t.height + m, _ = t.x - h / 2, v = t.y - g / 2;
216
+ t.width = h;
217
+ let y;
218
+ if (t.look === "handDrawn") {
219
+ let e = d.svg(l).rectangle(_, v, h, g, {
220
+ fill: o ?? "#efefef",
221
+ fillStyle: "solid",
222
+ roughness: .5,
223
+ strokeLineDash: [5],
224
+ stroke: s,
225
+ seed: a
226
+ });
227
+ y = l.insert(() => e, ":first-child").attr("class", "divider");
228
+ } else {
229
+ y = p.insert("rect", ":first-child");
230
+ let e = "outer";
231
+ e = (t.look, "divider"), y.attr("class", e).attr("x", _).attr("y", v).attr("width", h).attr("height", g).attr("data-look", t.look);
232
+ }
233
+ return t.height = y.node().getBBox().height, t.offsetX = 0, t.offsetY = 0, t.intersect = function(e) {
234
+ return f(t, e);
235
+ }, {
236
+ cluster: l,
237
+ labelBBox: {}
238
+ };
239
+ }, "divider"), S = /* @__PURE__ */ e(async (e, i, l) => {
240
+ t.info(`Creating ${l.cssClass} for `, i.id, i);
241
+ let g = r(), { theme: _, themeVariables: v, handDrawnSeed: y } = g, { borderColorArray: b } = v, { labelStyles: x, borderStyles: S } = c(i), C = e.insert("g").attr("class", "cluster " + l.cssClass + " " + i.cssClasses).attr("id", i.domId ?? i.id).attr("data-look", i.look);
242
+ u(C, i.colorIndex, _, b);
243
+ let w = a(g), T = C.insert("g").attr("class", "cluster-label"), E = {
244
+ width: 0,
245
+ height: 0
246
+ }, D = i.label?.trim();
247
+ if (D) {
248
+ let e;
249
+ if (e = i.labelType === "markdown" ? await o(T, i.label, {
250
+ style: i.labelStyle,
251
+ useHtmlLabels: w,
252
+ isNode: !0,
253
+ width: i.width
254
+ }) : await m(T, i.label, i.labelStyle || "", !1, !0), E = e.getBBox(), w) {
255
+ let t = e.children[0], r = n(e);
256
+ E = t.getBoundingClientRect(), r.attr("width", E.width), r.attr("height", E.height);
257
+ }
258
+ }
259
+ let O = i.width <= E.width + i.padding ? E.width + i.padding : i.width;
260
+ i.diff = i.width <= E.width + i.padding ? (O - i.width) / 2 - i.padding : -i.padding;
261
+ let k = i.height, A = i.x - O / 2, j = i.y - k / 2, M;
262
+ if (i.look === "handDrawn") {
263
+ let e = d.svg(C), t = s(i, {
264
+ roughness: l.roughness,
265
+ fill: l.fill,
266
+ stroke: l.stroke,
267
+ strokeWidth: l.strokeWidth,
268
+ seed: y,
269
+ ...l.fill === "none" ? { fillWeight: 0 } : { fillStyle: "solid" },
270
+ ...l.strokeDash ? { strokeLineDash: l.strokeDash } : {}
271
+ }), n = e.path(p(A, j, O, k, l.rx), t);
272
+ M = C.insert(() => n, ":first-child"), M.select("path:nth-child(2)").attr("style", S.join(";"));
273
+ } else M = C.insert("rect", ":first-child"), M.attr("rx", l.rx).attr("ry", l.rx).attr("x", A).attr("y", j).attr("width", O).attr("height", k).attr("fill", l.fill).attr("stroke", l.stroke).attr("stroke-width", l.strokeWidth + "px"), l.strokeDash && M.attr("stroke-dasharray", l.strokeDash.join(", "));
274
+ if (D) {
275
+ let { subGraphTitleTopMargin: e } = h(g);
276
+ if (T.attr("transform", `translate(${i.x - E.width / 2}, ${i.y - i.height / 2 + e})`), x) {
277
+ let e = T.select("span");
278
+ e && e.attr("style", x);
279
+ }
280
+ }
281
+ let N = M.node().getBBox();
282
+ return i.offsetX = 0, i.width = N.width, i.height = N.height, i.offsetY = E.height - i.padding / 2, i.intersect = function(e) {
283
+ return f(i, e);
284
+ }, {
285
+ cluster: C,
286
+ labelBBox: E
287
+ };
288
+ }, "createContainerGroup"), C = /* @__PURE__ */ e(async (e, t) => {
289
+ let { themeVariables: n } = r();
290
+ return S(e, t, {
291
+ cssClass: "flow-cluster",
292
+ rx: 10,
293
+ fill: "none",
294
+ stroke: n.flowContainerStroke || n.secondaryBorderColor,
295
+ strokeWidth: .75,
296
+ roughness: .7
297
+ });
298
+ }, "flowGroup"), w = /* @__PURE__ */ e((e, t) => {
299
+ let n = e.boundaryType || "rect", r = n === "package" ? 20 : e.padding, i = n === "package" ? t.height + 10 : 0, a = Math.max(e.width, t.width + r), o = n === "package" ? Math.max(e.height, i + e.padding * 2) : e.height, s = e.x - a / 2, c = e.y - o / 2;
300
+ return {
301
+ boundaryType: n,
302
+ width: a,
303
+ height: o,
304
+ x: s,
305
+ y: c,
306
+ bodyY: c + i,
307
+ bodyHeight: o - i,
308
+ tabHeight: i,
309
+ tabWidth: n === "package" ? Math.min(a, Math.max(80, t.width + 20)) : 0
310
+ };
311
+ }, "getUsecaseSystemBoundaryGeometry"), T = {
312
+ rect: _,
313
+ squareRect: _,
314
+ roundedWithTitle: y,
315
+ noteGroup: v,
316
+ divider: x,
317
+ kanbanSection: b,
318
+ flowGroup: C,
319
+ usecaseSystemBoundary: /* @__PURE__ */ e(async (e, i) => {
320
+ t.info("Creating usecase system boundary for ", i.id, i);
321
+ let p = r(), { theme: m, themeVariables: g, handDrawnSeed: _ } = p, { clusterBkg: v, clusterBorder: y, borderColorArray: b } = g, { labelStyles: x, nodeStyles: S } = c(i), { stylesMap: C } = l(i), T = i.boundaryType || "rect", E = e.insert("g").attr("class", `cluster usecase-system-boundary usecase-system-boundary-${T} ${i.cssClasses}`).attr("id", typeof i.domId == "string" ? i.domId : i.id).attr("data-boundary-type", T).attr("data-look", i.look);
322
+ u(E, i.colorIndex, m, b);
323
+ let D = a(p), O = E.insert("g").attr("class", "cluster-label system-boundary-title"), k = await o(O, i.label, {
324
+ style: x,
325
+ useHtmlLabels: D,
326
+ isNode: !0
327
+ }), A = k.getBBox();
328
+ if (D) {
329
+ let e = k.children[0], t = n(k);
330
+ A = e.getBoundingClientRect(), t.attr("width", A.width), t.attr("height", A.height);
331
+ }
332
+ let { width: j, height: M, x: N, y: P, bodyY: F, bodyHeight: I, tabHeight: L, tabWidth: R } = w(i, A);
333
+ i.diff = i.width <= A.width + i.padding ? (j - i.width) / 2 - i.padding : -i.padding;
334
+ let z = s(i, {
335
+ fill: C.get("fill") || v,
336
+ stroke: C.get("stroke") || y,
337
+ strokeWidth: C.get("stroke-width")?.replace("px", "") || 1,
338
+ seed: _
339
+ });
340
+ if (i.look === "handDrawn") {
341
+ let e = d.svg(E), t = e.rectangle(N, F, j, I, z);
342
+ if (E.insert(() => t, ":first-child").attr("class", "boundary-body label-container"), T === "package") {
343
+ let t = e.rectangle(N, P, R, L, z);
344
+ E.insert(() => t, ":first-child").attr("class", "boundary-tab system-boundary-package-tab label-container");
345
+ }
346
+ } else E.insert("rect", ":first-child").attr("class", "boundary-body label-container").attr("style", S).attr("x", N).attr("y", F).attr("width", j).attr("height", I), T === "package" && E.insert("rect", ":first-child").attr("class", "boundary-tab system-boundary-package-tab label-container").attr("style", S).attr("x", N).attr("y", P).attr("width", R).attr("height", L);
347
+ let { subGraphTitleTopMargin: B } = h(p);
348
+ return T === "package" ? O.attr("transform", `translate(${N + (R - A.width) / 2}, ${P + (L - A.height) / 2})`) : O.attr("transform", `translate(${i.x - A.width / 2}, ${P + B})`), x && (O.attr("style", x), O.select("span").attr("style", x)), i.offsetX = 0, i.width = j, i.height = M, i.offsetY = A.height - i.padding / 2, i.labelBBox = A, i.intersect = function(e) {
349
+ return f(i, e);
350
+ }, {
351
+ cluster: E,
352
+ labelBBox: A
353
+ };
354
+ }, "usecaseSystemBoundary"),
355
+ swimlane: g
356
+ }, E = /* @__PURE__ */ new Set(["noteGroup", "divider"]), D = /* @__PURE__ */ e((e) => !E.has(e ?? "rect"), "clusterPaintsTitle"), O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ e(async (e, t) => {
357
+ let n = await T[t.shape || "rect"](e, t);
358
+ return O.set(t.id, n), n;
359
+ }, "insertCluster"), A = /* @__PURE__ */ e(() => {
360
+ O = /* @__PURE__ */ new Map();
361
+ }, "clear");
362
+ //#endregion
363
+ export { D as n, k as r, A as t };
@@ -0,0 +1 @@
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-VPRB5NB3-CT204jN6.cjs"),r=require("./chunk-E2ZNV5FY-DIRTchKA.cjs"),i=require("./chunk-4EA7E6EY-3OELTJ93.cjs"),a=require("./chunk-J5ZVWO5B-CK5HGA-t.cjs"),o=require("./rough.esm-ChRLLRha.cjs"),s=require("./chunk-XC4XBNZT-BTUjiQhE.cjs"),c=require("./chunk-DBDB3WZW-DSRcln4l.cjs");var l=e.n(async(e,c)=>{let l=n.b(),{theme:u,themeVariables:d,handDrawnSeed:f}=l,{clusterBkg:p,clusterBorder:m,borderColorArray:h}=d,g=m,{labelStyles:_,nodeStyles:v,borderStyles:y,backgroundStyles:b}=i.i(c),x=e.insert(`g`).attr(`class`,`cluster swimlane `+(c.cssClasses||``)).attr(`id`,c.id).attr(`data-id`,c.id).attr(`data-et`,`cluster`).attr(`data-look`,c.look);a.s(x,c.colorIndex,u,h);let S=n.g(l.flowchart.htmlLabels),C=c.direction===`LR`,w=x.insert(`g`).attr(`class`,`cluster-label swimlane-label`),T=await r.n(w,c.label,{style:c.labelStyle,useHtmlLabels:S,isNode:!0,width:c.width}),E=T.getBBox();if(S){let e=T.children[0],n=t.p(T);E=e.getBoundingClientRect(),n.attr(`width`,E.width),n.attr(`height`,E.height)}let D=c.padding??0,O=c.width<=E.width+D?E.width+D:c.width;c.diff=c.width<=E.width+D?(O-c.width)/2-D:-D;let k=c.height,A=c.y-k/2,j=c.y+k/2,M=c.x-O/2,N=c.swimlaneContentTop===void 0?A+k/3:c.swimlaneContentTop,P=C?4:0,F=E.height+2*P,I,L;if(C){let e=Math.max(F,E.height+2*P),t=M+e,n=Math.max(0,O-e);if(c.look===`handDrawn`){let r=o.t.svg(x),a=i.a(c,{roughness:.7,fill:p,stroke:g,seed:f}),s=i.a(c,{roughness:.7,fill:`none`,stroke:g,seed:f}),l=r.rectangle(M,A,e,k,a);I=x.insert(()=>l,`:first-child`).attr(`class`,`swimlane-title`);let u=r.rectangle(t,A,n,k,s);L=x.insert(()=>u,`:first-child`).attr(`class`,`swimlane-body`),I.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),I.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else I=x.insert(`rect`,`:first-child`),L=x.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,v).attr(`x`,M).attr(`y`,A).attr(`width`,e).attr(`height`,k).attr(`fill`,p).attr(`stroke`,g),L.attr(`class`,`swimlane-body`).attr(`style`,v).attr(`x`,t).attr(`y`,A).attr(`width`,n).attr(`height`,k).attr(`fill`,`none`).attr(`stroke`,g);let r=M+e/2,a=c.y;w.attr(`transform`,`translate(${r}, ${a}) rotate(-90) translate(${-E.width/2}, ${-E.height/2})`)}else{let e=Math.max(0,N-A),t=Math.min(F,e),n=A+t,r=Math.max(0,j-n),a=c.x-O/2;if(c.look===`handDrawn`){let e=o.t.svg(x),s=i.a(c,{roughness:.7,fill:p,stroke:g,fillWeight:3,seed:f}),l=i.a(c,{roughness:.7,fill:`none`,stroke:g,seed:f}),u=e.rectangle(a,A,O,t,s);I=x.insert(()=>u,`:first-child`).attr(`class`,`swimlane-title`);let d=e.rectangle(a,n,O,r,l);L=x.insert(()=>d,`:first-child`).attr(`class`,`swimlane-body`),I.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),I.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else I=x.insert(`rect`,`:first-child`),L=x.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,v).attr(`x`,a).attr(`y`,A).attr(`width`,O).attr(`height`,t).attr(`fill`,p).attr(`stroke`,g),L.attr(`class`,`swimlane-body`).attr(`style`,v).attr(`x`,a).attr(`y`,n).attr(`width`,O).attr(`height`,r).attr(`fill`,`none`).attr(`stroke`,g);let s=c.x-E.width/2,l=A+(t-E.height)/2;w.attr(`transform`,`translate(${s}, ${l})`)}if(t.m.trace(`Swimlane data `,c,JSON.stringify(c)),_){let e=w.select(`span`);e&&e.attr(`style`,_)}return c.offsetX=0,c.width=O,c.height=k,c.offsetY=E.height-D/2,c.intersect=function(e){return s.i(c,e)},{cluster:x,labelBBox:E}},`swimlane`),u=e.n(async(e,l)=>{t.m.info(`Creating subgraph rect for `,l.id,l);let u=n.b(),{theme:d,themeVariables:f,handDrawnSeed:p}=u,{clusterBkg:m,clusterBorder:h,borderColorArray:g}=f,{labelStyles:_,nodeStyles:v,borderStyles:y,backgroundStyles:b}=i.i(l),x=e.insert(`g`).attr(`class`,`cluster `+l.cssClasses).attr(`id`,l.domId).attr(`data-look`,l.look);a.s(x,l.colorIndex,d,g);let S=n.w(u),C=x.insert(`g`).attr(`class`,`cluster-label `),w;w=l.labelType===`markdown`?await r.n(C,l.label,{style:l.labelStyle,useHtmlLabels:S,isNode:!0,width:l.width}):await s.t(C,l.label,l.labelStyle||``,!1,!0);let T=w.getBBox();if(n.w(u)){let e=w.children[0],n=t.p(w);T=e.getBoundingClientRect(),n.attr(`width`,T.width),n.attr(`height`,T.height)}let E=l.width<=T.width+l.padding?T.width+l.padding:l.width;l.diff=l.width<=T.width+l.padding?(E-l.width)/2-l.padding:-l.padding;let D=l.height,O=l.x-E/2,k=l.y-D/2;t.m.trace(`Data `,l,JSON.stringify(l));let A;if(l.look===`handDrawn`){let e=o.t.svg(x),n=i.a(l,{roughness:.7,fill:m,stroke:h,fillWeight:3,seed:p}),r=e.path(s.n(O,k,E,D,0),n);A=x.insert(()=>(t.m.debug(`Rough node insert CXC`,r),r),`:first-child`),A.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),A.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else A=x.insert(`rect`,`:first-child`),A.attr(`style`,v).attr(`rx`,l.rx).attr(`ry`,l.ry).attr(`x`,O).attr(`y`,k).attr(`width`,E).attr(`height`,D);let{subGraphTitleTopMargin:j}=c.n(u);if(C.attr(`transform`,`translate(${l.x-T.width/2}, ${l.y-l.height/2+j})`),_){let e=C.select(`span`);e&&e.attr(`style`,_)}let M=A.node().getBBox();return l.offsetX=0,l.width=M.width,l.height=M.height,l.offsetY=T.height-l.padding/2,l.intersect=function(e){return s.i(l,e)},{cluster:x,labelBBox:T}},`rect`),d=e.n((e,t)=>{let n=e.insert(`g`).attr(`class`,`note-cluster`).attr(`id`,t.domId),r=n.insert(`rect`,`:first-child`),i=0*t.padding,a=i/2;r.attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,t.x-t.width/2-a).attr(`y`,t.y-t.height/2-a).attr(`width`,t.width+i).attr(`height`,t.height+i).attr(`fill`,`none`);let o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return s.i(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),f=e.n(async(e,r)=>{let i=n.b(),{theme:c,themeVariables:l,handDrawnSeed:u}=i,{altBackground:d,borderColorArray:f,compositeBackground:p,compositeTitleBackground:m,nodeBorder:h}=l,g=e.insert(`g`).attr(`class`,r.cssClasses).attr(`id`,r.domId).attr(`data-id`,r.id).attr(`data-look`,r.look);a.s(g,r.colorIndex,c,f);let _=g.insert(`g`,`:first-child`),v=g.insert(`g`).attr(`class`,`cluster-label`),y=g.append(`rect`),b=await s.t(v,r.label,r.labelStyle,void 0,!0),x=b.getBBox();if(n.w(i)){let e=b.children[0],n=t.p(b);x=e.getBoundingClientRect(),n.attr(`width`,x.width),n.attr(`height`,x.height)}let S=0*r.padding,C=S/2,w=(r.width<=x.width+r.padding?x.width+r.padding:r.width)+S;r.diff=r.width<=x.width+r.padding?(w-r.width)/2-r.padding:-r.padding;let T=r.height+S,E=r.height+S-x.height-6,D=r.x-w/2,O=r.y-T/2;r.width=w;let k=r.y-r.height/2-C+x.height+2,A;if(r.look===`handDrawn`){let e=r.cssClasses.includes(`statediagram-cluster-alt`),t=o.t.svg(g),n=r.rx||r.ry?t.path(s.n(D,O,w,T,10),{roughness:.7,fill:m,fillStyle:`solid`,stroke:h,seed:u}):t.rectangle(D,O,w,T,{seed:u});A=g.insert(()=>n,`:first-child`);let i=t.rectangle(D,k,w,E,{fill:e?d:p,fillStyle:e?`hachure`:`solid`,stroke:h,seed:u});A=g.insert(()=>n,`:first-child`),y=g.insert(()=>i),A.attr(`class`,`outer`),y.attr(`class`,`inner`)}else A=_.insert(`rect`,`:first-child`),A.attr(`class`,`outer`).attr(`x`,D).attr(`y`,O).attr(`width`,w).attr(`height`,T).attr(`data-look`,r.look),y.attr(`class`,`inner`).attr(`x`,D).attr(`y`,k).attr(`width`,w).attr(`height`,E);return v.attr(`transform`,`translate(${r.x-x.width/2}, ${O+1-(n.w(i)?0:3)})`),r.height=A.node().getBBox().height,r.offsetX=0,r.offsetY=x.height-r.padding/2,r.labelBBox=x,r.intersect=function(e){return s.i(r,e)},{cluster:g,labelBBox:x}},`roundedWithTitle`),p=e.n(async(e,a)=>{t.m.info(`Creating subgraph rect for `,a.id,a);let l=n.b(),{themeVariables:u,handDrawnSeed:d}=l,{clusterBkg:f,clusterBorder:p}=u,{labelStyles:m,nodeStyles:h,borderStyles:g,backgroundStyles:_}=i.i(a),v=e.insert(`g`).attr(`class`,`cluster `+a.cssClasses).attr(`id`,a.domId).attr(`data-look`,a.look),y=n.w(l),b=v.insert(`g`).attr(`class`,`cluster-label `),x=await r.n(b,a.label,{style:a.labelStyle,useHtmlLabels:y,isNode:!0,width:a.width}),S=x.getBBox();if(n.w(l)){let e=x.children[0],n=t.p(x);S=e.getBoundingClientRect(),n.attr(`width`,S.width),n.attr(`height`,S.height)}let C=a.width<=S.width+a.padding?S.width+a.padding:a.width;a.diff=a.width<=S.width+a.padding?(C-a.width)/2-a.padding:-a.padding;let w=a.height,T=a.x-C/2,E=a.y-w/2;t.m.trace(`Data `,a,JSON.stringify(a));let D;if(a.look===`handDrawn`){let e=o.t.svg(v),n=i.a(a,{roughness:.7,fill:f,stroke:p,fillWeight:4,seed:d}),r=e.path(s.n(T,E,C,w,a.rx),n);D=v.insert(()=>(t.m.debug(`Rough node insert CXC`,r),r),`:first-child`),D.select(`path:nth-child(2)`).attr(`style`,g.join(`;`)),D.select(`path`).attr(`style`,_.join(`;`).replace(`fill`,`stroke`))}else D=v.insert(`rect`,`:first-child`),D.attr(`style`,h).attr(`rx`,a.rx).attr(`ry`,a.ry).attr(`x`,T).attr(`y`,E).attr(`width`,C).attr(`height`,w);let{subGraphTitleTopMargin:O}=c.n(l);if(b.attr(`transform`,`translate(${a.x-S.width/2}, ${a.y-a.height/2+O})`),m){let e=b.select(`span`);e&&e.attr(`style`,m)}let k=D.node().getBBox();return a.offsetX=0,a.width=k.width,a.height=k.height,a.offsetY=S.height-a.padding/2,a.intersect=function(e){return s.i(a,e)},{cluster:v,labelBBox:S}},`kanbanSection`),m=e.n((e,t)=>{let{theme:r,themeVariables:i,handDrawnSeed:c}=n.b(),{altBackground:l,nodeBorder:u,borderColorArray:d}=i,f=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look);a.s(f,t.colorIndex,r,d);let p=f.insert(`g`,`:first-child`),m=0*t.padding,h=t.width+m;t.diff=-t.padding;let g=t.height+m,_=t.x-h/2,v=t.y-g/2;t.width=h;let y;if(t.look===`handDrawn`){let e=o.t.svg(f).rectangle(_,v,h,g,{fill:l??`#efefef`,fillStyle:`solid`,roughness:.5,strokeLineDash:[5],stroke:u,seed:c});y=f.insert(()=>e,`:first-child`).attr(`class`,`divider`)}else{y=p.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),y.attr(`class`,e).attr(`x`,_).attr(`y`,v).attr(`width`,h).attr(`height`,g).attr(`data-look`,t.look)}return t.height=y.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return s.i(t,e)},{cluster:f,labelBBox:{}}},`divider`),h=e.n(async(e,l,u)=>{t.m.info(`Creating ${u.cssClass} for `,l.id,l);let d=n.b(),{theme:f,themeVariables:p,handDrawnSeed:m}=d,{borderColorArray:h}=p,{labelStyles:g,borderStyles:_}=i.i(l),v=e.insert(`g`).attr(`class`,`cluster `+u.cssClass+` `+l.cssClasses).attr(`id`,l.domId??l.id).attr(`data-look`,l.look);a.s(v,l.colorIndex,f,h);let y=n.w(d),b=v.insert(`g`).attr(`class`,`cluster-label`),x={width:0,height:0},S=l.label?.trim();if(S){let e;if(e=l.labelType===`markdown`?await r.n(b,l.label,{style:l.labelStyle,useHtmlLabels:y,isNode:!0,width:l.width}):await s.t(b,l.label,l.labelStyle||``,!1,!0),x=e.getBBox(),y){let n=e.children[0],r=t.p(e);x=n.getBoundingClientRect(),r.attr(`width`,x.width),r.attr(`height`,x.height)}}let C=l.width<=x.width+l.padding?x.width+l.padding:l.width;l.diff=l.width<=x.width+l.padding?(C-l.width)/2-l.padding:-l.padding;let w=l.height,T=l.x-C/2,E=l.y-w/2,D;if(l.look===`handDrawn`){let e=o.t.svg(v),t=i.a(l,{roughness:u.roughness,fill:u.fill,stroke:u.stroke,strokeWidth:u.strokeWidth,seed:m,...u.fill===`none`?{fillWeight:0}:{fillStyle:`solid`},...u.strokeDash?{strokeLineDash:u.strokeDash}:{}}),n=e.path(s.n(T,E,C,w,u.rx),t);D=v.insert(()=>n,`:first-child`),D.select(`path:nth-child(2)`).attr(`style`,_.join(`;`))}else D=v.insert(`rect`,`:first-child`),D.attr(`rx`,u.rx).attr(`ry`,u.rx).attr(`x`,T).attr(`y`,E).attr(`width`,C).attr(`height`,w).attr(`fill`,u.fill).attr(`stroke`,u.stroke).attr(`stroke-width`,u.strokeWidth+`px`),u.strokeDash&&D.attr(`stroke-dasharray`,u.strokeDash.join(`, `));if(S){let{subGraphTitleTopMargin:e}=c.n(d);if(b.attr(`transform`,`translate(${l.x-x.width/2}, ${l.y-l.height/2+e})`),g){let e=b.select(`span`);e&&e.attr(`style`,g)}}let O=D.node().getBBox();return l.offsetX=0,l.width=O.width,l.height=O.height,l.offsetY=x.height-l.padding/2,l.intersect=function(e){return s.i(l,e)},{cluster:v,labelBBox:x}},`createContainerGroup`),g=e.n(async(e,t)=>{let{themeVariables:r}=n.b();return h(e,t,{cssClass:`flow-cluster`,rx:10,fill:`none`,stroke:r.flowContainerStroke||r.secondaryBorderColor,strokeWidth:.75,roughness:.7})},`flowGroup`),_=e.n((e,t)=>{let n=e.boundaryType||`rect`,r=n===`package`?20:e.padding,i=n===`package`?t.height+10:0,a=Math.max(e.width,t.width+r),o=n===`package`?Math.max(e.height,i+e.padding*2):e.height,s=e.x-a/2,c=e.y-o/2;return{boundaryType:n,width:a,height:o,x:s,y:c,bodyY:c+i,bodyHeight:o-i,tabHeight:i,tabWidth:n===`package`?Math.min(a,Math.max(80,t.width+20)):0}},`getUsecaseSystemBoundaryGeometry`),v={rect:u,squareRect:u,roundedWithTitle:f,noteGroup:d,divider:m,kanbanSection:p,flowGroup:g,usecaseSystemBoundary:e.n(async(e,l)=>{t.m.info(`Creating usecase system boundary for `,l.id,l);let u=n.b(),{theme:d,themeVariables:f,handDrawnSeed:p}=u,{clusterBkg:m,clusterBorder:h,borderColorArray:g}=f,{labelStyles:v,nodeStyles:y}=i.i(l),{stylesMap:b}=i.t(l),x=l.boundaryType||`rect`,S=e.insert(`g`).attr(`class`,`cluster usecase-system-boundary usecase-system-boundary-${x} ${l.cssClasses}`).attr(`id`,typeof l.domId==`string`?l.domId:l.id).attr(`data-boundary-type`,x).attr(`data-look`,l.look);a.s(S,l.colorIndex,d,g);let C=n.w(u),w=S.insert(`g`).attr(`class`,`cluster-label system-boundary-title`),T=await r.n(w,l.label,{style:v,useHtmlLabels:C,isNode:!0}),E=T.getBBox();if(C){let e=T.children[0],n=t.p(T);E=e.getBoundingClientRect(),n.attr(`width`,E.width),n.attr(`height`,E.height)}let{width:D,height:O,x:k,y:A,bodyY:j,bodyHeight:M,tabHeight:N,tabWidth:P}=_(l,E);l.diff=l.width<=E.width+l.padding?(D-l.width)/2-l.padding:-l.padding;let F=i.a(l,{fill:b.get(`fill`)||m,stroke:b.get(`stroke`)||h,strokeWidth:b.get(`stroke-width`)?.replace(`px`,``)||1,seed:p});if(l.look===`handDrawn`){let e=o.t.svg(S),t=e.rectangle(k,j,D,M,F);if(S.insert(()=>t,`:first-child`).attr(`class`,`boundary-body label-container`),x===`package`){let t=e.rectangle(k,A,P,N,F);S.insert(()=>t,`:first-child`).attr(`class`,`boundary-tab system-boundary-package-tab label-container`)}}else S.insert(`rect`,`:first-child`).attr(`class`,`boundary-body label-container`).attr(`style`,y).attr(`x`,k).attr(`y`,j).attr(`width`,D).attr(`height`,M),x===`package`&&S.insert(`rect`,`:first-child`).attr(`class`,`boundary-tab system-boundary-package-tab label-container`).attr(`style`,y).attr(`x`,k).attr(`y`,A).attr(`width`,P).attr(`height`,N);let{subGraphTitleTopMargin:I}=c.n(u);return x===`package`?w.attr(`transform`,`translate(${k+(P-E.width)/2}, ${A+(N-E.height)/2})`):w.attr(`transform`,`translate(${l.x-E.width/2}, ${A+I})`),v&&(w.attr(`style`,v),w.select(`span`).attr(`style`,v)),l.offsetX=0,l.width=D,l.height=O,l.offsetY=E.height-l.padding/2,l.labelBBox=E,l.intersect=function(e){return s.i(l,e)},{cluster:S,labelBBox:E}},`usecaseSystemBoundary`),swimlane:l},y=new Set([`noteGroup`,`divider`]),b=e.n(e=>!y.has(e??`rect`),`clusterPaintsTitle`),x=new Map,S=e.n(async(e,t)=>{let n=await v[t.shape||`rect`](e,t);return x.set(t.id,n),n},`insertCluster`),C=e.n(()=>{x=new Map},`clear`);Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return C}});