@sme.up/ketchup2 2.2.0 → 2.3.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 (339) hide show
  1. package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
  2. package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
  3. package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
  4. package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
  5. package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
  6. package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/basic-components/cell/cell-utils.d.ts +2 -1
  8. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  9. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  10. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  11. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  12. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  13. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  14. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  15. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  16. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  17. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  18. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  19. package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  20. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  21. package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  22. package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  23. package/dist/channel-BbRDdbmM.js +5 -0
  24. package/dist/channel-intTktDQ.cjs +1 -0
  25. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  26. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  27. package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  28. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  29. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  30. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  31. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  32. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  33. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  34. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  35. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  36. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  37. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  38. package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  39. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  40. package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  41. package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  42. package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  43. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  44. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  45. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  46. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  47. package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
  48. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  49. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  50. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  51. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  52. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  53. package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  54. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  55. package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  56. package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  57. package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  58. package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  59. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  60. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  61. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  62. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  63. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  64. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  65. package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  66. package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  67. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  68. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  69. package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  70. package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  71. package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  72. package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  73. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  74. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  75. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  76. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  77. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  78. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  79. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  80. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  81. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  82. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  83. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  84. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  85. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  86. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  87. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  88. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  89. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  90. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  91. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  92. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  93. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  94. package/dist/components/dash-list/dash-list.utils.d.ts +0 -3
  95. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  96. package/dist/components/field/field.d.ts.map +1 -1
  97. package/dist/components/htm/htm-types.d.ts +4 -0
  98. package/dist/components/htm/htm-types.d.ts.map +1 -1
  99. package/dist/components/htm/htm.d.ts.map +1 -1
  100. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  101. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  102. package/dist/components/pdf/pdf-types.d.ts +8 -0
  103. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  104. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  105. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  106. package/dist/components/pdf/pdf.d.ts.map +1 -1
  107. package/dist/components/planner/planner-assets.d.ts +2 -2
  108. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  109. package/dist/components/planner/planner-utils.d.ts +1 -0
  110. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  111. package/dist/components/planner/planner.d.ts.map +1 -1
  112. package/dist/components/timeline/timeline.d.ts.map +1 -1
  113. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  114. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  115. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  116. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  117. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  118. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  119. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  120. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  121. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  122. package/dist/dagre-CC68z3y6.cjs +1 -0
  123. package/dist/dagre-Cg4CV48I.js +1936 -0
  124. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  125. package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  126. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  127. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  128. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  129. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  130. package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  131. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  132. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  133. package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  134. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  135. package/dist/dist-DC1YYeHc.cjs +1 -0
  136. package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  137. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  138. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  139. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  140. package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  141. package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  142. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
  143. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  144. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  145. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  146. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  147. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  148. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  149. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
  150. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  151. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
  152. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
  153. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
  154. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
  155. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
  156. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
  157. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  158. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
  159. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  160. package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  161. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  162. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  163. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  164. package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  165. package/dist/graphlib-B1zohIOM.js +1266 -0
  166. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  167. package/dist/hooks/useFloating.d.ts.map +1 -1
  168. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  169. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  170. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  171. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  172. package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  173. package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  174. package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  175. package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  176. package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  177. package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  178. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  179. package/dist/ketchup2.cjs.js +107 -110
  180. package/dist/ketchup2.css +1 -1
  181. package/dist/ketchup2.es.js +63778 -65955
  182. package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
  183. package/dist/line-CpcTW4h-.cjs +1 -0
  184. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  185. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  186. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  187. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  188. package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  189. package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  190. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  191. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  192. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  193. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  194. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  195. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  196. package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  197. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  198. package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  199. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  200. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  201. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  202. package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  203. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  204. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  205. package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  206. package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  207. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  208. package/dist/src-BgvDIw01.cjs +1 -0
  209. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  210. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  211. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  212. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  213. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  214. package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  215. package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  216. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  217. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  218. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  219. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  220. package/dist/v4-BpDBEhLK.js +30 -0
  221. package/dist/v4-CA8ev9YY.cjs +1 -0
  222. package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  223. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  224. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  225. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  226. package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  227. package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  228. package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  229. package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  230. package/package.json +1 -1
  231. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  232. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  233. package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
  234. package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
  235. package/dist/channel-CRWct3-i.js +0 -5
  236. package/dist/channel-DkTvdPpU.cjs +0 -1
  237. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  238. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  239. package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
  240. package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
  241. package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
  242. package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
  243. package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
  244. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  245. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  246. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  247. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  248. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  249. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  250. package/dist/chunk-D-IZpNpi.cjs +0 -1
  251. package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
  252. package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
  253. package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
  254. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  255. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  256. package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
  257. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  258. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  259. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  260. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  261. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  262. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  263. package/dist/chunk-WQLz0Won.js +0 -20
  264. package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
  265. package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
  266. package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
  267. package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
  268. package/dist/clone-CQQwPjME.cjs +0 -1
  269. package/dist/clone-Dwbh_blD.js +0 -8
  270. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  271. package/dist/dagre-BcwvU6ZF.cjs +0 -1
  272. package/dist/dagre-D17h-Z-U.js +0 -1606
  273. package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
  274. package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
  275. package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
  276. package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
  277. package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
  278. package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
  279. package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
  280. package/dist/dist-BgvMZbfo.cjs +0 -1
  281. package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
  282. package/dist/flatten-BE1bWL-7.js +0 -40
  283. package/dist/flatten-DxvYSoR8.cjs +0 -1
  284. package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
  285. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  286. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  287. package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
  288. package/dist/graphlib-CdgJ32J_.cjs +0 -1
  289. package/dist/graphlib-DbQkSsC8.js +0 -373
  290. package/dist/identity-KQSjemTb.cjs +0 -1
  291. package/dist/identity-g0dsMjx7.js +0 -393
  292. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  293. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  294. package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
  295. package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
  296. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  297. package/dist/isEmpty-RwX-oIQS.js +0 -35
  298. package/dist/line-C7oijaT4.cjs +0 -1
  299. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  300. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  301. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  302. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  303. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  304. package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
  305. package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
  306. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  307. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  308. package/dist/reduce-B7WW9rkU.cjs +0 -1
  309. package/dist/reduce-DNnkcf3M.js +0 -532
  310. package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
  311. package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
  312. package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
  313. package/dist/src-DFxq-N5I.cjs +0 -1
  314. package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
  315. package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
  316. package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
  317. package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
  318. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  319. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  320. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  321. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  322. package/dist/v4-6yr83DbP.cjs +0 -1
  323. package/dist/v4-BR71w5_q.js +0 -33
  324. package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
  325. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  326. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  327. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  328. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  329. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  330. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  331. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  332. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  333. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  334. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  335. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  336. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  337. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  338. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  339. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,16 +1,16 @@
1
- import { B as e, C as t, D as n, L as r, P as i, U as a, V as o, W as s, _ as c, a as l, b as u, c as d, i as f, k as p, r as m, s as h, v as g, y as _ } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { g as v, h as y, p as b } from "./src-BQiFKP24.js";
3
- import { t as x } from "./dist-DL30VIBI.js";
4
- import { f as S, h as C } from "./chunk-5PVQY5BW-Dn8n6moB.js";
5
- import { n as w, t as T } from "./chunk-XPW4576I-BcWkx-AL.js";
6
- import { a as E, c as D, i as O, n as k, r as A, s as j } from "./chunk-YZCP3GAM-D6P3SWmL.js";
7
- import { t as M } from "./chunk-QZHKN3VN-Bx8I6l3c.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.mjs
1
+ import { g as e, h as t, p as n } from "./src-v9RrE_4h.js";
2
+ import { A as r, F as i, G as a, H as o, K as s, O as c, U as l, a as u, b as d, c as f, i as p, r as m, s as h, v as g, w as _, x as v, y, z as b } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { t as x } from "./dist-9MKIBfY4.js";
4
+ import { g as S, p as C } from "./chunk-5ZQYHXKU-C4uam08j.js";
5
+ import { n as w, t as T } from "./chunk-XPW4576I-BCowsgDU.js";
6
+ import { a as E, c as D, i as O, n as k, r as A, s as j } from "./chunk-ND2GUHAM-CHTke4K8.js";
7
+ import { t as M } from "./chunk-QZHKN3VN-DCddt14Q.js";
8
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-3UESZ5HK.mjs
9
9
  var N = x(), P = (function() {
10
- var e = /* @__PURE__ */ y(function(e, t, n, r) {
10
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
11
11
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
12
12
  return n;
13
- }, "o"), t = [1, 2], n = [1, 3], r = [1, 4], i = [2, 4], a = [1, 9], o = [1, 11], s = [1, 12], c = [1, 14], l = [1, 15], u = [1, 17], d = [1, 18], f = [1, 19], p = [1, 25], m = [1, 26], h = [1, 27], g = [1, 28], _ = [1, 29], v = [1, 30], b = [1, 31], x = [1, 32], S = [1, 33], C = [1, 34], w = [1, 35], T = [1, 36], E = [1, 37], D = [1, 38], O = [1, 39], k = [1, 40], A = [1, 42], j = [1, 43], M = [1, 44], N = [1, 45], P = [1, 46], F = [1, 47], I = [
13
+ }, "o"), n = [1, 2], r = [1, 3], i = [1, 4], a = [2, 4], o = [1, 9], s = [1, 11], c = [1, 12], l = [1, 14], u = [1, 15], d = [1, 17], f = [1, 18], p = [1, 19], m = [1, 25], h = [1, 26], g = [1, 27], _ = [1, 28], v = [1, 29], y = [1, 30], b = [1, 31], x = [1, 32], S = [1, 33], C = [1, 34], w = [1, 35], T = [1, 36], E = [1, 37], D = [1, 38], O = [1, 39], k = [1, 40], A = [1, 42], j = [1, 43], M = [1, 44], N = [1, 45], P = [1, 46], F = [1, 47], I = [
14
14
  1,
15
15
  4,
16
16
  5,
@@ -190,7 +190,7 @@ var N = x(), P = (function() {
190
190
  72,
191
191
  73
192
192
  ], J = [1, 151], we = {
193
- trace: /* @__PURE__ */ y(function() {}, "trace"),
193
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
194
194
  yy: {},
195
195
  symbols_: {
196
196
  error: 2,
@@ -488,7 +488,7 @@ var N = x(), P = (function() {
488
488
  [69, 1],
489
489
  [58, 1]
490
490
  ],
491
- performAction: /* @__PURE__ */ y(function(e, t, n, r, i, a, o) {
491
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
492
492
  var s = a.length - 1;
493
493
  switch (i) {
494
494
  case 3: return r.apply(a[s]), a[s];
@@ -985,22 +985,22 @@ var N = x(), P = (function() {
985
985
  table: [
986
986
  {
987
987
  3: 1,
988
- 4: t,
989
- 5: n,
990
- 6: r
988
+ 4: n,
989
+ 5: r,
990
+ 6: i
991
991
  },
992
992
  { 1: [3] },
993
993
  {
994
994
  3: 5,
995
- 4: t,
996
- 5: n,
997
- 6: r
995
+ 4: n,
996
+ 5: r,
997
+ 6: i
998
998
  },
999
999
  {
1000
1000
  3: 6,
1001
- 4: t,
1002
- 5: n,
1003
- 6: r
1001
+ 4: n,
1002
+ 5: r,
1003
+ 6: i
1004
1004
  },
1005
1005
  e([
1006
1006
  1,
@@ -1034,35 +1034,35 @@ var N = x(), P = (function() {
1034
1034
  63,
1035
1035
  64,
1036
1036
  73
1037
- ], i, { 7: 7 }),
1037
+ ], a, { 7: 7 }),
1038
1038
  { 1: [2, 1] },
1039
1039
  { 1: [2, 2] },
1040
1040
  {
1041
1041
  1: [2, 3],
1042
- 4: a,
1043
- 5: o,
1042
+ 4: o,
1043
+ 5: s,
1044
1044
  8: 8,
1045
1045
  9: 10,
1046
- 10: s,
1046
+ 10: c,
1047
1047
  13: 13,
1048
- 14: c,
1049
- 15: l,
1048
+ 14: l,
1049
+ 15: u,
1050
1050
  18: 16,
1051
- 19: u,
1052
- 22: d,
1051
+ 19: d,
1052
+ 22: f,
1053
1053
  23: 41,
1054
- 24: f,
1054
+ 24: p,
1055
1055
  25: 20,
1056
1056
  26: 21,
1057
1057
  27: 22,
1058
1058
  28: 23,
1059
1059
  29: 24,
1060
- 30: p,
1061
- 31: m,
1062
- 32: h,
1063
- 34: g,
1064
- 36: _,
1065
- 37: v,
1060
+ 30: m,
1061
+ 31: h,
1062
+ 32: g,
1063
+ 34: _,
1064
+ 36: v,
1065
+ 37: y,
1066
1066
  38: b,
1067
1067
  39: x,
1068
1068
  40: S,
@@ -1084,24 +1084,24 @@ var N = x(), P = (function() {
1084
1084
  {
1085
1085
  9: 48,
1086
1086
  13: 13,
1087
- 14: c,
1088
- 15: l,
1087
+ 14: l,
1088
+ 15: u,
1089
1089
  18: 16,
1090
- 19: u,
1091
- 22: d,
1090
+ 19: d,
1091
+ 22: f,
1092
1092
  23: 41,
1093
- 24: f,
1093
+ 24: p,
1094
1094
  25: 20,
1095
1095
  26: 21,
1096
1096
  27: 22,
1097
1097
  28: 23,
1098
1098
  29: 24,
1099
- 30: p,
1100
- 31: m,
1101
- 32: h,
1102
- 34: g,
1103
- 36: _,
1104
- 37: v,
1099
+ 30: m,
1100
+ 31: h,
1101
+ 32: g,
1102
+ 34: _,
1103
+ 36: v,
1104
+ 37: y,
1105
1105
  38: b,
1106
1106
  39: x,
1107
1107
  40: S,
@@ -1279,26 +1279,26 @@ var N = x(), P = (function() {
1279
1279
  e(I, [2, 29]),
1280
1280
  e(I, [2, 32]),
1281
1281
  e(I, [2, 33]),
1282
- e(ye, i, { 7: 120 }),
1283
- e(ye, i, { 7: 121 }),
1284
- e(ye, i, { 7: 122 }),
1285
- e(be, i, {
1282
+ e(ye, a, { 7: 120 }),
1283
+ e(ye, a, { 7: 121 }),
1284
+ e(ye, a, { 7: 122 }),
1285
+ e(be, a, {
1286
1286
  41: 123,
1287
1287
  7: 124
1288
1288
  }),
1289
- e(xe, i, {
1289
+ e(xe, a, {
1290
1290
  43: 125,
1291
1291
  7: 126
1292
1292
  }),
1293
- e(xe, i, {
1293
+ e(xe, a, {
1294
1294
  7: 126,
1295
1295
  43: 127
1296
1296
  }),
1297
- e(Se, i, {
1297
+ e(Se, a, {
1298
1298
  46: 128,
1299
1299
  7: 129
1300
1300
  }),
1301
- e(ye, i, { 7: 130 }),
1301
+ e(ye, a, { 7: 130 }),
1302
1302
  {
1303
1303
  5: [1, 132],
1304
1304
  52: [1, 131]
@@ -1425,31 +1425,31 @@ var N = x(), P = (function() {
1425
1425
  e(I, [2, 23]),
1426
1426
  e(I, [2, 24]),
1427
1427
  {
1428
- 4: a,
1429
- 5: o,
1428
+ 4: o,
1429
+ 5: s,
1430
1430
  8: 8,
1431
1431
  9: 10,
1432
- 10: s,
1432
+ 10: c,
1433
1433
  13: 13,
1434
- 14: c,
1435
- 15: l,
1434
+ 14: l,
1435
+ 15: u,
1436
1436
  17: [1, 161],
1437
1437
  18: 16,
1438
- 19: u,
1439
- 22: d,
1438
+ 19: d,
1439
+ 22: f,
1440
1440
  23: 41,
1441
- 24: f,
1441
+ 24: p,
1442
1442
  25: 20,
1443
1443
  26: 21,
1444
1444
  27: 22,
1445
1445
  28: 23,
1446
1446
  29: 24,
1447
- 30: p,
1448
- 31: m,
1449
- 32: h,
1450
- 34: g,
1451
- 36: _,
1452
- 37: v,
1447
+ 30: m,
1448
+ 31: h,
1449
+ 32: g,
1450
+ 34: _,
1451
+ 36: v,
1452
+ 37: y,
1453
1453
  38: b,
1454
1454
  39: x,
1455
1455
  40: S,
@@ -1468,31 +1468,31 @@ var N = x(), P = (function() {
1468
1468
  73: F
1469
1469
  },
1470
1470
  {
1471
- 4: a,
1472
- 5: o,
1471
+ 4: o,
1472
+ 5: s,
1473
1473
  8: 8,
1474
1474
  9: 10,
1475
- 10: s,
1475
+ 10: c,
1476
1476
  13: 13,
1477
- 14: c,
1478
- 15: l,
1477
+ 14: l,
1478
+ 15: u,
1479
1479
  17: [1, 162],
1480
1480
  18: 16,
1481
- 19: u,
1482
- 22: d,
1481
+ 19: d,
1482
+ 22: f,
1483
1483
  23: 41,
1484
- 24: f,
1484
+ 24: p,
1485
1485
  25: 20,
1486
1486
  26: 21,
1487
1487
  27: 22,
1488
1488
  28: 23,
1489
1489
  29: 24,
1490
- 30: p,
1491
- 31: m,
1492
- 32: h,
1493
- 34: g,
1494
- 36: _,
1495
- 37: v,
1490
+ 30: m,
1491
+ 31: h,
1492
+ 32: g,
1493
+ 34: _,
1494
+ 36: v,
1495
+ 37: y,
1496
1496
  38: b,
1497
1497
  39: x,
1498
1498
  40: S,
@@ -1511,31 +1511,31 @@ var N = x(), P = (function() {
1511
1511
  73: F
1512
1512
  },
1513
1513
  {
1514
- 4: a,
1515
- 5: o,
1514
+ 4: o,
1515
+ 5: s,
1516
1516
  8: 8,
1517
1517
  9: 10,
1518
- 10: s,
1518
+ 10: c,
1519
1519
  13: 13,
1520
- 14: c,
1521
- 15: l,
1520
+ 14: l,
1521
+ 15: u,
1522
1522
  17: [1, 163],
1523
1523
  18: 16,
1524
- 19: u,
1525
- 22: d,
1524
+ 19: d,
1525
+ 22: f,
1526
1526
  23: 41,
1527
- 24: f,
1527
+ 24: p,
1528
1528
  25: 20,
1529
1529
  26: 21,
1530
1530
  27: 22,
1531
1531
  28: 23,
1532
1532
  29: 24,
1533
- 30: p,
1534
- 31: m,
1535
- 32: h,
1536
- 34: g,
1537
- 36: _,
1538
- 37: v,
1533
+ 30: m,
1534
+ 31: h,
1535
+ 32: g,
1536
+ 34: _,
1537
+ 36: v,
1538
+ 37: y,
1539
1539
  38: b,
1540
1540
  39: x,
1541
1541
  40: S,
@@ -1555,31 +1555,31 @@ var N = x(), P = (function() {
1555
1555
  },
1556
1556
  { 17: [1, 164] },
1557
1557
  {
1558
- 4: a,
1559
- 5: o,
1558
+ 4: o,
1559
+ 5: s,
1560
1560
  8: 8,
1561
1561
  9: 10,
1562
- 10: s,
1562
+ 10: c,
1563
1563
  13: 13,
1564
- 14: c,
1565
- 15: l,
1564
+ 14: l,
1565
+ 15: u,
1566
1566
  17: [2, 47],
1567
1567
  18: 16,
1568
- 19: u,
1569
- 22: d,
1568
+ 19: d,
1569
+ 22: f,
1570
1570
  23: 41,
1571
- 24: f,
1571
+ 24: p,
1572
1572
  25: 20,
1573
1573
  26: 21,
1574
1574
  27: 22,
1575
1575
  28: 23,
1576
1576
  29: 24,
1577
- 30: p,
1578
- 31: m,
1579
- 32: h,
1580
- 34: g,
1581
- 36: _,
1582
- 37: v,
1577
+ 30: m,
1578
+ 31: h,
1579
+ 32: g,
1580
+ 34: _,
1581
+ 36: v,
1582
+ 37: y,
1583
1583
  38: b,
1584
1584
  39: x,
1585
1585
  40: S,
@@ -1600,31 +1600,31 @@ var N = x(), P = (function() {
1600
1600
  },
1601
1601
  { 17: [1, 166] },
1602
1602
  {
1603
- 4: a,
1604
- 5: o,
1603
+ 4: o,
1604
+ 5: s,
1605
1605
  8: 8,
1606
1606
  9: 10,
1607
- 10: s,
1607
+ 10: c,
1608
1608
  13: 13,
1609
- 14: c,
1610
- 15: l,
1609
+ 14: l,
1610
+ 15: u,
1611
1611
  17: [2, 45],
1612
1612
  18: 16,
1613
- 19: u,
1614
- 22: d,
1613
+ 19: d,
1614
+ 22: f,
1615
1615
  23: 41,
1616
- 24: f,
1616
+ 24: p,
1617
1617
  25: 20,
1618
1618
  26: 21,
1619
1619
  27: 22,
1620
1620
  28: 23,
1621
1621
  29: 24,
1622
- 30: p,
1623
- 31: m,
1624
- 32: h,
1625
- 34: g,
1626
- 36: _,
1627
- 37: v,
1622
+ 30: m,
1623
+ 31: h,
1624
+ 32: g,
1625
+ 34: _,
1626
+ 36: v,
1627
+ 37: y,
1628
1628
  38: b,
1629
1629
  39: x,
1630
1630
  40: S,
@@ -1646,31 +1646,31 @@ var N = x(), P = (function() {
1646
1646
  { 17: [1, 168] },
1647
1647
  { 17: [1, 169] },
1648
1648
  {
1649
- 4: a,
1650
- 5: o,
1649
+ 4: o,
1650
+ 5: s,
1651
1651
  8: 8,
1652
1652
  9: 10,
1653
- 10: s,
1653
+ 10: c,
1654
1654
  13: 13,
1655
- 14: c,
1656
- 15: l,
1655
+ 14: l,
1656
+ 15: u,
1657
1657
  17: [2, 43],
1658
1658
  18: 16,
1659
- 19: u,
1660
- 22: d,
1659
+ 19: d,
1660
+ 22: f,
1661
1661
  23: 41,
1662
- 24: f,
1662
+ 24: p,
1663
1663
  25: 20,
1664
1664
  26: 21,
1665
1665
  27: 22,
1666
1666
  28: 23,
1667
1667
  29: 24,
1668
- 30: p,
1669
- 31: m,
1670
- 32: h,
1671
- 34: g,
1672
- 36: _,
1673
- 37: v,
1668
+ 30: m,
1669
+ 31: h,
1670
+ 32: g,
1671
+ 34: _,
1672
+ 36: v,
1673
+ 37: y,
1674
1674
  38: b,
1675
1675
  39: x,
1676
1676
  40: S,
@@ -1690,31 +1690,31 @@ var N = x(), P = (function() {
1690
1690
  73: F
1691
1691
  },
1692
1692
  {
1693
- 4: a,
1694
- 5: o,
1693
+ 4: o,
1694
+ 5: s,
1695
1695
  8: 8,
1696
1696
  9: 10,
1697
- 10: s,
1697
+ 10: c,
1698
1698
  13: 13,
1699
- 14: c,
1700
- 15: l,
1699
+ 14: l,
1700
+ 15: u,
1701
1701
  17: [1, 171],
1702
1702
  18: 16,
1703
- 19: u,
1704
- 22: d,
1703
+ 19: d,
1704
+ 22: f,
1705
1705
  23: 41,
1706
- 24: f,
1706
+ 24: p,
1707
1707
  25: 20,
1708
1708
  26: 21,
1709
1709
  27: 22,
1710
1710
  28: 23,
1711
1711
  29: 24,
1712
- 30: p,
1713
- 31: m,
1714
- 32: h,
1715
- 34: g,
1716
- 36: _,
1717
- 37: v,
1712
+ 30: m,
1713
+ 31: h,
1714
+ 32: g,
1715
+ 34: _,
1716
+ 36: v,
1717
+ 37: y,
1718
1718
  38: b,
1719
1719
  39: x,
1720
1720
  40: S,
@@ -1836,15 +1836,15 @@ var N = x(), P = (function() {
1836
1836
  73: F
1837
1837
  },
1838
1838
  e(ve, [2, 12]),
1839
- e(be, i, {
1839
+ e(be, a, {
1840
1840
  7: 124,
1841
1841
  41: 201
1842
1842
  }),
1843
- e(xe, i, {
1843
+ e(xe, a, {
1844
1844
  7: 126,
1845
1845
  43: 202
1846
1846
  }),
1847
- e(Se, i, {
1847
+ e(Se, a, {
1848
1848
  7: 129,
1849
1849
  46: 203
1850
1850
  }),
@@ -1890,63 +1890,63 @@ var N = x(), P = (function() {
1890
1890
  203: [2, 44],
1891
1891
  204: [2, 74]
1892
1892
  },
1893
- parseError: /* @__PURE__ */ y(function(e, t) {
1893
+ parseError: /* @__PURE__ */ t(function(e, t) {
1894
1894
  if (t.recoverable) this.trace(e);
1895
1895
  else {
1896
1896
  var n = Error(e);
1897
1897
  throw n.hash = t, n;
1898
1898
  }
1899
1899
  }, "parseError"),
1900
- parse: /* @__PURE__ */ y(function(e) {
1901
- var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, p = a.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
1902
- for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
1903
- m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
1904
- var _ = m.yylloc;
1905
- a.push(_);
1906
- var v = m.options && m.options.ranges;
1907
- typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1900
+ parse: /* @__PURE__ */ t(function(e) {
1901
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1902
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1903
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1904
+ var v = h.yylloc;
1905
+ o.push(v);
1906
+ var y = h.options && h.options.ranges;
1907
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1908
1908
  function b(e) {
1909
- n.length -= 2 * e, i.length -= e, a.length -= e;
1909
+ r.length -= 2 * e, a.length -= e, o.length -= e;
1910
1910
  }
1911
- y(b, "popStack");
1911
+ t(b, "popStack");
1912
1912
  function x() {
1913
- var e = r.pop() || m.lex() || f;
1914
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1913
+ var e = i.pop() || h.lex() || p;
1914
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1915
1915
  }
1916
- y(x, "lex");
1916
+ t(x, "lex");
1917
1917
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1918
- if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
1918
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1919
1919
  var M = "";
1920
- for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
1921
- M = m.showPosition ? "Parse error on line " + (c + 1) + ":\n" + m.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1922
- text: m.match,
1920
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1921
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1922
+ text: h.match,
1923
1923
  token: this.terminals_[S] || S,
1924
- line: m.yylineno,
1925
- loc: _,
1924
+ line: h.yylineno,
1925
+ loc: v,
1926
1926
  expected: j
1927
1927
  });
1928
1928
  }
1929
1929
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1930
1930
  switch (T[0]) {
1931
1931
  case 1:
1932
- n.push(S), i.push(m.yytext), a.push(m.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = m.yyleng, s = m.yytext, c = m.yylineno, _ = m.yylloc, u > 0 && u--);
1932
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1933
1933
  break;
1934
1934
  case 2:
1935
- if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
1936
- first_line: a[a.length - (k || 1)].first_line,
1937
- last_line: a[a.length - 1].last_line,
1938
- first_column: a[a.length - (k || 1)].first_column,
1939
- last_column: a[a.length - 1].last_column
1940
- }, v && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1941
- s,
1942
- l,
1935
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1936
+ first_line: o[o.length - (k || 1)].first_line,
1937
+ last_line: o[o.length - 1].last_line,
1938
+ first_column: o[o.length - (k || 1)].first_column,
1939
+ last_column: o[o.length - 1].last_column
1940
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1943
1941
  c,
1944
- h.yy,
1942
+ u,
1943
+ l,
1944
+ g.yy,
1945
1945
  T[1],
1946
- i,
1947
- a
1948
- ].concat(p)), E !== void 0) return E;
1949
- k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
1946
+ a,
1947
+ o
1948
+ ].concat(m)), E !== void 0) return E;
1949
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
1950
1950
  break;
1951
1951
  case 3: return !0;
1952
1952
  }
@@ -1957,11 +1957,11 @@ var N = x(), P = (function() {
1957
1957
  we.lexer = /* @__PURE__ */ (function() {
1958
1958
  return {
1959
1959
  EOF: 1,
1960
- parseError: /* @__PURE__ */ y(function(e, t) {
1960
+ parseError: /* @__PURE__ */ t(function(e, t) {
1961
1961
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1962
1962
  else throw Error(e);
1963
1963
  }, "parseError"),
1964
- setInput: /* @__PURE__ */ y(function(e, t) {
1964
+ setInput: /* @__PURE__ */ t(function(e, t) {
1965
1965
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1966
1966
  first_line: 1,
1967
1967
  first_column: 0,
@@ -1969,11 +1969,11 @@ var N = x(), P = (function() {
1969
1969
  last_column: 0
1970
1970
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1971
1971
  }, "setInput"),
1972
- input: /* @__PURE__ */ y(function() {
1972
+ input: /* @__PURE__ */ t(function() {
1973
1973
  var e = this._input[0];
1974
1974
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1975
1975
  }, "input"),
1976
- unput: /* @__PURE__ */ y(function(e) {
1976
+ unput: /* @__PURE__ */ t(function(e) {
1977
1977
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1978
1978
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1979
1979
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1986,10 +1986,10 @@ var N = x(), P = (function() {
1986
1986
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1987
1987
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1988
1988
  }, "unput"),
1989
- more: /* @__PURE__ */ y(function() {
1989
+ more: /* @__PURE__ */ t(function() {
1990
1990
  return this._more = !0, this;
1991
1991
  }, "more"),
1992
- reject: /* @__PURE__ */ y(function() {
1992
+ reject: /* @__PURE__ */ t(function() {
1993
1993
  if (this.options.backtrack_lexer) this._backtrack = !0;
1994
1994
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1995
1995
  text: "",
@@ -1998,22 +1998,22 @@ var N = x(), P = (function() {
1998
1998
  });
1999
1999
  return this;
2000
2000
  }, "reject"),
2001
- less: /* @__PURE__ */ y(function(e) {
2001
+ less: /* @__PURE__ */ t(function(e) {
2002
2002
  this.unput(this.match.slice(e));
2003
2003
  }, "less"),
2004
- pastInput: /* @__PURE__ */ y(function() {
2004
+ pastInput: /* @__PURE__ */ t(function() {
2005
2005
  var e = this.matched.substr(0, this.matched.length - this.match.length);
2006
2006
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
2007
2007
  }, "pastInput"),
2008
- upcomingInput: /* @__PURE__ */ y(function() {
2008
+ upcomingInput: /* @__PURE__ */ t(function() {
2009
2009
  var e = this.match;
2010
2010
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
2011
2011
  }, "upcomingInput"),
2012
- showPosition: /* @__PURE__ */ y(function() {
2012
+ showPosition: /* @__PURE__ */ t(function() {
2013
2013
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
2014
2014
  return e + this.upcomingInput() + "\n" + t + "^";
2015
2015
  }, "showPosition"),
2016
- test_match: /* @__PURE__ */ y(function(e, t) {
2016
+ test_match: /* @__PURE__ */ t(function(e, t) {
2017
2017
  var n, r, i;
2018
2018
  if (this.options.backtrack_lexer && (i = {
2019
2019
  yylineno: this.yylineno,
@@ -2046,7 +2046,7 @@ var N = x(), P = (function() {
2046
2046
  }
2047
2047
  return !1;
2048
2048
  }, "test_match"),
2049
- next: /* @__PURE__ */ y(function() {
2049
+ next: /* @__PURE__ */ t(function() {
2050
2050
  if (this.done) return this.EOF;
2051
2051
  this._input || (this.done = !0);
2052
2052
  var e, t, n, r;
@@ -2066,29 +2066,29 @@ var N = x(), P = (function() {
2066
2066
  line: this.yylineno
2067
2067
  });
2068
2068
  }, "next"),
2069
- lex: /* @__PURE__ */ y(function() {
2069
+ lex: /* @__PURE__ */ t(function() {
2070
2070
  return this.next() || this.lex();
2071
2071
  }, "lex"),
2072
- begin: /* @__PURE__ */ y(function(e) {
2072
+ begin: /* @__PURE__ */ t(function(e) {
2073
2073
  this.conditionStack.push(e);
2074
2074
  }, "begin"),
2075
- popState: /* @__PURE__ */ y(function() {
2075
+ popState: /* @__PURE__ */ t(function() {
2076
2076
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
2077
2077
  }, "popState"),
2078
- _currentRules: /* @__PURE__ */ y(function() {
2078
+ _currentRules: /* @__PURE__ */ t(function() {
2079
2079
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
2080
2080
  }, "_currentRules"),
2081
- topState: /* @__PURE__ */ y(function(e) {
2081
+ topState: /* @__PURE__ */ t(function(e) {
2082
2082
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
2083
2083
  }, "topState"),
2084
- pushState: /* @__PURE__ */ y(function(e) {
2084
+ pushState: /* @__PURE__ */ t(function(e) {
2085
2085
  this.begin(e);
2086
2086
  }, "pushState"),
2087
- stateStackSize: /* @__PURE__ */ y(function() {
2087
+ stateStackSize: /* @__PURE__ */ t(function() {
2088
2088
  return this.conditionStack.length;
2089
2089
  }, "stateStackSize"),
2090
2090
  options: { "case-insensitive": !0 },
2091
- performAction: /* @__PURE__ */ y(function(e, t, n, r) {
2091
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
2092
2092
  switch (n) {
2093
2093
  case 0: return 5;
2094
2094
  case 1: break;
@@ -2197,7 +2197,7 @@ var N = x(), P = (function() {
2197
2197
  /^(?:#[^\n]*)/i,
2198
2198
  /^(?:%(?!\{)[^\n]*)/i,
2199
2199
  /^(?:[^\}]%%[^\n]*)/i,
2200
- /^(?:[0-9]+(?=[ \n]+))/i,
2200
+ /^(?:([0-9]+(\.[0-9]{1,2})?|\.[0-9]{1,2})(?=[ \n]+))/i,
2201
2201
  /^(?:@\{)/i,
2202
2202
  /^(?:[^\}]+)/i,
2203
2203
  /^(?:\}(?=\s+as\s))/i,
@@ -2429,7 +2429,7 @@ var N = x(), P = (function() {
2429
2429
  function Te() {
2430
2430
  this.yy = {};
2431
2431
  }
2432
- return y(Te, "Parser"), Te.prototype = we, we.Parser = Te, new Te();
2432
+ return t(Te, "Parser"), Te.prototype = we, we.Parser = Te, new Te();
2433
2433
  })();
2434
2434
  P.parser = P;
2435
2435
  var F = P, I = {
@@ -2515,10 +2515,10 @@ var F = P, I = {
2515
2515
  currentBox: void 0,
2516
2516
  lastCreated: void 0,
2517
2517
  lastDestroyed: void 0
2518
- })), this.setAccTitle = o, this.setAccDescription = e, this.setDiagramTitle = s, this.getAccTitle = g, this.getAccDescription = c, this.getDiagramTitle = t, this.apply = this.apply.bind(this), this.parseBoxData = this.parseBoxData.bind(this), this.parseMessage = this.parseMessage.bind(this), this.clear(), this.setWrap(u().wrap), this.LINETYPE = I, this.ARROWTYPE = L, this.PLACEMENT = ee;
2518
+ })), this.setAccTitle = l, this.setAccDescription = o, this.setDiagramTitle = s, this.getAccTitle = y, this.getAccDescription = g, this.getDiagramTitle = _, this.apply = this.apply.bind(this), this.parseBoxData = this.parseBoxData.bind(this), this.parseMessage = this.parseMessage.bind(this), this.clear(), this.setWrap(v().wrap), this.LINETYPE = I, this.ARROWTYPE = L, this.PLACEMENT = ee;
2519
2519
  }
2520
2520
  static {
2521
- y(this, "SequenceDB");
2521
+ t(this, "SequenceDB");
2522
2522
  }
2523
2523
  addBox(e) {
2524
2524
  this.state.records.boxes.push({
@@ -2659,30 +2659,30 @@ var F = P, I = {
2659
2659
  };
2660
2660
  }
2661
2661
  autoWrap() {
2662
- return this.state.records.wrapEnabled === void 0 ? u().sequence?.wrap ?? !1 : this.state.records.wrapEnabled;
2662
+ return this.state.records.wrapEnabled === void 0 ? v().sequence?.wrap ?? !1 : this.state.records.wrapEnabled;
2663
2663
  }
2664
2664
  clear() {
2665
- this.state.reset(), l();
2665
+ this.state.reset(), u();
2666
2666
  }
2667
- parseMessage(e) {
2668
- let t = e.trim(), { wrap: n, cleanedText: r } = this.extractWrap(t), i = {
2669
- text: r,
2670
- wrap: n
2667
+ parseMessage(t) {
2668
+ let n = t.trim(), { wrap: r, cleanedText: i } = this.extractWrap(n), a = {
2669
+ text: i,
2670
+ wrap: r
2671
2671
  };
2672
- return v.debug(`parseMessage: ${JSON.stringify(i)}`), i;
2672
+ return e.debug(`parseMessage: ${JSON.stringify(a)}`), a;
2673
2673
  }
2674
2674
  parseBoxData(e) {
2675
- let t = /^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(e), n = t?.[1] ? t[1].trim() : "transparent", i = t?.[2] ? t[2].trim() : void 0;
2676
- if (window?.CSS) window.CSS.supports("color", n) || (n = "transparent", i = e.trim());
2675
+ let t = /^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(e), n = t?.[1] ? t[1].trim() : "transparent", r = t?.[2] ? t[2].trim() : void 0;
2676
+ if (window?.CSS) window.CSS.supports("color", n) || (n = "transparent", r = e.trim());
2677
2677
  else {
2678
2678
  let t = new Option().style;
2679
- t.color = n, t.color !== n && (n = "transparent", i = e.trim());
2679
+ t.color = n, t.color !== n && (n = "transparent", r = e.trim());
2680
2680
  }
2681
- let { wrap: a, cleanedText: o } = this.extractWrap(i);
2681
+ let { wrap: i, cleanedText: a } = this.extractWrap(r);
2682
2682
  return {
2683
- text: o ? r(o, u()) : void 0,
2683
+ text: a ? b(a, v()) : void 0,
2684
2684
  color: n,
2685
- wrap: a
2685
+ wrap: i
2686
2686
  };
2687
2687
  }
2688
2688
  addNote(e, t, n) {
@@ -2702,39 +2702,39 @@ var F = P, I = {
2702
2702
  placement: t
2703
2703
  });
2704
2704
  }
2705
- addLinks(e, t) {
2706
- let n = this.getActor(e);
2705
+ addLinks(t, n) {
2706
+ let r = this.getActor(t);
2707
2707
  try {
2708
- let e = r(t.text, u());
2708
+ let e = b(n.text, v());
2709
2709
  e = e.replace(/&equals;/g, "="), e = e.replace(/&amp;/g, "&");
2710
- let i = JSON.parse(e);
2711
- this.insertLinks(n, i);
2712
- } catch (e) {
2713
- v.error("error while parsing actor link text", e);
2710
+ let t = JSON.parse(e);
2711
+ this.insertLinks(r, t);
2712
+ } catch (t) {
2713
+ e.error("error while parsing actor link text", t);
2714
2714
  }
2715
2715
  }
2716
- addALink(e, t) {
2717
- let n = this.getActor(e);
2716
+ addALink(t, n) {
2717
+ let r = this.getActor(t);
2718
2718
  try {
2719
- let e = {}, i = r(t.text, u()), a = i.indexOf("@");
2720
- i = i.replace(/&equals;/g, "="), i = i.replace(/&amp;/g, "&");
2721
- let o = i.slice(0, a - 1).trim();
2722
- e[o] = i.slice(a + 1).trim(), this.insertLinks(n, e);
2723
- } catch (e) {
2724
- v.error("error while parsing actor link text", e);
2719
+ let e = {}, t = b(n.text, v()), i = t.indexOf("@");
2720
+ t = t.replace(/&equals;/g, "="), t = t.replace(/&amp;/g, "&");
2721
+ let a = t.slice(0, i - 1).trim();
2722
+ e[a] = t.slice(i + 1).trim(), this.insertLinks(r, e);
2723
+ } catch (t) {
2724
+ e.error("error while parsing actor link text", t);
2725
2725
  }
2726
2726
  }
2727
2727
  insertLinks(e, t) {
2728
2728
  if (e.links == null) e.links = t;
2729
2729
  else for (let n in t) e.links[n] = t[n];
2730
2730
  }
2731
- addProperties(e, t) {
2732
- let n = this.getActor(e);
2731
+ addProperties(t, n) {
2732
+ let r = this.getActor(t);
2733
2733
  try {
2734
- let e = r(t.text, u()), i = JSON.parse(e);
2735
- this.insertProperties(n, i);
2736
- } catch (e) {
2737
- v.error("error while parsing actor properties text", e);
2734
+ let e = b(n.text, v()), t = JSON.parse(e);
2735
+ this.insertProperties(r, t);
2736
+ } catch (t) {
2737
+ e.error("error while parsing actor properties text", t);
2738
2738
  }
2739
2739
  }
2740
2740
  insertProperties(e, t) {
@@ -2744,13 +2744,13 @@ var F = P, I = {
2744
2744
  boxEnd() {
2745
2745
  this.state.records.currentBox = void 0;
2746
2746
  }
2747
- addDetails(e, t) {
2748
- let n = this.getActor(e), r = document.getElementById(t.text);
2747
+ addDetails(t, n) {
2748
+ let r = this.getActor(t), i = document.getElementById(n.text);
2749
2749
  try {
2750
- let e = r.innerHTML, t = JSON.parse(e);
2751
- t.properties && this.insertProperties(n, t.properties), t.links && this.insertLinks(n, t.links);
2752
- } catch (e) {
2753
- v.error("error while parsing actor details text", e);
2750
+ let e = i.innerHTML, t = JSON.parse(e);
2751
+ t.properties && this.insertProperties(r, t.properties), t.links && this.insertLinks(r, t.links);
2752
+ } catch (t) {
2753
+ e.error("error while parsing actor details text", t);
2754
2754
  }
2755
2755
  }
2756
2756
  getActorProperty(e, t) {
@@ -2856,7 +2856,7 @@ var F = P, I = {
2856
2856
  this.addSignal(void 0, void 0, void 0, e.signalType);
2857
2857
  break;
2858
2858
  case "setAccTitle":
2859
- o(e.text);
2859
+ l(e.text);
2860
2860
  break;
2861
2861
  case "parStart":
2862
2862
  this.addSignal(void 0, void 0, e.parText, e.signalType);
@@ -2885,10 +2885,10 @@ var F = P, I = {
2885
2885
  }
2886
2886
  }
2887
2887
  getConfig() {
2888
- return u().sequence;
2888
+ return v().sequence;
2889
2889
  }
2890
- }, ne = /* @__PURE__ */ y((e) => {
2891
- let t = e.dropShadow ?? "none", { look: n } = u();
2890
+ }, ne = /* @__PURE__ */ t((e) => {
2891
+ let t = e.dropShadow ?? "none", { look: n } = v();
2892
2892
  return `.actor {
2893
2893
  stroke: ${e.actorBorder};
2894
2894
  fill: ${e.actorBkg};
@@ -2970,6 +2970,11 @@ var F = P, I = {
2970
2970
  stroke: none;
2971
2971
  }
2972
2972
 
2973
+ .sectionTitle, .sectionTitle > tspan {
2974
+ fill: ${e.loopTextColor};
2975
+ stroke: none;
2976
+ }
2977
+
2973
2978
  .loopLine {
2974
2979
  stroke-width: 2px;
2975
2980
  stroke-dasharray: 2, 2;
@@ -3024,10 +3029,10 @@ var F = P, I = {
3024
3029
  stroke: ${e.nodeBorder};
3025
3030
  }
3026
3031
  `;
3027
- }, "getStyles"), z = 36, B = "actor-top", V = "actor-bottom", re = "actor-box", H = "actor-man", U = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), W = /* @__PURE__ */ y(function(e, t) {
3032
+ }, "getStyles"), z = 36, B = "actor-top", V = "actor-bottom", re = "actor-box", H = "actor-man", U = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), W = /* @__PURE__ */ t(function(e, t) {
3028
3033
  let n = E(e, t);
3029
- return _().look === "neo" && n.attr("data-look", "neo"), n;
3030
- }, "drawRect"), ie = /* @__PURE__ */ y(function(e, t, n, r, i) {
3034
+ return d().look === "neo" && n.attr("data-look", "neo"), n;
3035
+ }, "drawRect"), ie = /* @__PURE__ */ t(function(e, t, n, r, i) {
3031
3036
  if (t.links === void 0 || t.links === null || Object.keys(t.links).length === 0) return {
3032
3037
  height: 0,
3033
3038
  width: 0
@@ -3051,10 +3056,10 @@ var F = P, I = {
3051
3056
  height: s.height + p,
3052
3057
  width: d
3053
3058
  };
3054
- }, "drawPopup"), ae = /* @__PURE__ */ y(function(e) {
3059
+ }, "drawPopup"), ae = /* @__PURE__ */ t(function(e) {
3055
3060
  return "var pu = document.getElementById('" + e + "'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }";
3056
- }, "popupMenuToggle"), oe = /* @__PURE__ */ y(async function(e, t, n = null) {
3057
- let r = e.append("foreignObject"), a = await i(t.text, _()), o = r.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(a).node().getBoundingClientRect();
3061
+ }, "popupMenuToggle"), oe = /* @__PURE__ */ t(async function(e, t, n = null) {
3062
+ let r = e.append("foreignObject"), a = await i(t.text, d()), o = r.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(a).node().getBoundingClientRect();
3058
3063
  if (r.attr("height", Math.round(o.height)).attr("width", Math.round(o.width)), t.class === "noteText") {
3059
3064
  let n = e.node().firstChild;
3060
3065
  n.setAttribute("height", o.height + 2 * t.textMargin);
@@ -3069,110 +3074,110 @@ var F = P, I = {
3069
3074
  r.attr("x", Math.round(e + Math.abs(e - i) / 2 - o.width / 2)), t.class === "loopText" ? r.attr("y", Math.round(a)) : r.attr("y", Math.round(a - o.height));
3070
3075
  }
3071
3076
  return [r];
3072
- }, "drawKatex"), G = /* @__PURE__ */ y(function(e, t) {
3073
- let n = 0, r = 0, i = t.text.split(h.lineBreakRegex), [a, o] = S(t.fontSize), s = [], c = 0, l = /* @__PURE__ */ y(() => t.y, "yfunc");
3074
- if (t.valign !== void 0 && t.textMargin !== void 0 && t.textMargin > 0) switch (t.valign) {
3077
+ }, "drawKatex"), G = /* @__PURE__ */ t(function(e, n) {
3078
+ let r = 0, i = 0, a = n.text.split(h.lineBreakRegex), [o, s] = C(n.fontSize), c = [], l = 0, u = /* @__PURE__ */ t(() => n.y, "yfunc");
3079
+ if (n.valign !== void 0 && n.textMargin !== void 0 && n.textMargin > 0) switch (n.valign) {
3075
3080
  case "top":
3076
3081
  case "start":
3077
- l = /* @__PURE__ */ y(() => Math.round(t.y + t.textMargin), "yfunc");
3082
+ u = /* @__PURE__ */ t(() => Math.round(n.y + n.textMargin), "yfunc");
3078
3083
  break;
3079
3084
  case "middle":
3080
3085
  case "center":
3081
- l = /* @__PURE__ */ y(() => Math.round(t.y + (n + r + t.textMargin) / 2), "yfunc");
3086
+ u = /* @__PURE__ */ t(() => Math.round(n.y + (r + i + n.textMargin) / 2), "yfunc");
3082
3087
  break;
3083
3088
  case "bottom":
3084
3089
  case "end":
3085
- l = /* @__PURE__ */ y(() => Math.round(t.y + (n + r + 2 * t.textMargin) - t.textMargin), "yfunc");
3090
+ u = /* @__PURE__ */ t(() => Math.round(n.y + (r + i + 2 * n.textMargin) - n.textMargin), "yfunc");
3086
3091
  break;
3087
3092
  }
3088
- if (t.anchor !== void 0 && t.textMargin !== void 0 && t.width !== void 0) switch (t.anchor) {
3093
+ if (n.anchor !== void 0 && n.textMargin !== void 0 && n.width !== void 0) switch (n.anchor) {
3089
3094
  case "left":
3090
3095
  case "start":
3091
- t.x = Math.round(t.x + t.textMargin), t.anchor = "start", t.dominantBaseline = "middle", t.alignmentBaseline = "middle";
3096
+ n.x = Math.round(n.x + n.textMargin), n.anchor = "start", n.dominantBaseline = "middle", n.alignmentBaseline = "middle";
3092
3097
  break;
3093
3098
  case "middle":
3094
3099
  case "center":
3095
- t.x = Math.round(t.x + t.width / 2), t.anchor = "middle", t.dominantBaseline = "middle", t.alignmentBaseline = "middle";
3100
+ n.x = Math.round(n.x + n.width / 2), n.anchor = "middle", n.dominantBaseline = "middle", n.alignmentBaseline = "middle";
3096
3101
  break;
3097
3102
  case "right":
3098
3103
  case "end":
3099
- t.x = Math.round(t.x + t.width - t.textMargin), t.anchor = "end", t.dominantBaseline = "middle", t.alignmentBaseline = "middle";
3104
+ n.x = Math.round(n.x + n.width - n.textMargin), n.anchor = "end", n.dominantBaseline = "middle", n.alignmentBaseline = "middle";
3100
3105
  break;
3101
3106
  }
3102
- for (let [u, d] of i.entries()) {
3103
- t.textMargin !== void 0 && t.textMargin === 0 && a !== void 0 && (c = u * a);
3104
- let i = e.append("text");
3105
- i.attr("x", t.x), i.attr("y", l()), t.anchor !== void 0 && i.attr("text-anchor", t.anchor).attr("dominant-baseline", t.dominantBaseline).attr("alignment-baseline", t.alignmentBaseline), t.fontFamily !== void 0 && i.style("font-family", t.fontFamily), o !== void 0 && i.style("font-size", o), t.fontWeight !== void 0 && i.style("font-weight", t.fontWeight), t.fill !== void 0 && i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class), t.dy === void 0 ? c !== 0 && i.attr("dy", c) : i.attr("dy", t.dy);
3107
+ for (let [t, d] of a.entries()) {
3108
+ n.textMargin !== void 0 && n.textMargin === 0 && o !== void 0 && (l = t * o);
3109
+ let a = e.append("text");
3110
+ a.attr("x", n.x), a.attr("y", u()), n.anchor !== void 0 && a.attr("text-anchor", n.anchor).attr("dominant-baseline", n.dominantBaseline).attr("alignment-baseline", n.alignmentBaseline), n.fontFamily !== void 0 && a.style("font-family", n.fontFamily), s !== void 0 && a.style("font-size", s), n.fontWeight !== void 0 && a.style("font-weight", n.fontWeight), n.fill !== void 0 && a.attr("fill", n.fill), n.class !== void 0 && a.attr("class", n.class), n.dy === void 0 ? l !== 0 && a.attr("dy", l) : a.attr("dy", n.dy);
3106
3111
  let f = d || "​";
3107
- if (t.tspan) {
3108
- let e = i.append("tspan");
3109
- e.attr("x", t.x), t.fill !== void 0 && e.attr("fill", t.fill), e.text(f);
3110
- } else i.text(f);
3111
- t.valign !== void 0 && t.textMargin !== void 0 && t.textMargin > 0 && (r += (i._groups || i)[0][0].getBBox().height, n = r), s.push(i);
3112
+ if (n.tspan) {
3113
+ let e = a.append("tspan");
3114
+ e.attr("x", n.x), n.fill !== void 0 && e.attr("fill", n.fill), e.text(f);
3115
+ } else a.text(f);
3116
+ n.valign !== void 0 && n.textMargin !== void 0 && n.textMargin > 0 && (i += (a._groups || a)[0][0].getBBox().height, r = i), c.push(a);
3112
3117
  }
3113
- return s;
3114
- }, "drawText"), se = /* @__PURE__ */ y(function(e, t) {
3115
- function n(e, t, n, r, i) {
3118
+ return c;
3119
+ }, "drawText"), se = /* @__PURE__ */ t(function(e, n) {
3120
+ function r(e, t, n, r, i) {
3116
3121
  return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
3117
3122
  }
3118
- y(n, "genPoints");
3119
- let r = e.append("polygon");
3120
- return r.attr("points", n(t.x, t.y, t.width, t.height, 7)), r.attr("class", "labelBox"), t.y += t.height / 2, G(e, t), r;
3121
- }, "drawLabel"), K = -1, ce = /* @__PURE__ */ y((e, t, n, r) => {
3123
+ t(r, "genPoints");
3124
+ let i = e.append("polygon");
3125
+ return i.attr("points", r(n.x, n.y, n.width, n.height, 7)), i.attr("class", "labelBox"), n.y += n.height / 2, G(e, n), i;
3126
+ }, "drawLabel"), K = -1, ce = /* @__PURE__ */ t((e, t, n, r) => {
3122
3127
  e.select && n.forEach((n) => {
3123
3128
  let i = t.get(n), a = e.select("#actor" + i.actorCnt);
3124
3129
  !r.mirrorActors && i.stopy ? a.attr("y2", i.stopy + i.height / 2) : r.mirrorActors && a.attr("y2", i.stopy);
3125
3130
  });
3126
- }, "fixLifeLineHeights"), le = /* @__PURE__ */ y(function(e, t, n, r, i) {
3127
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + t.height, { look: c, theme: l, themeVariables: u } = n, { bkgColorArray: d, borderColorArray: f } = u, m = e.append("g").lower();
3131
+ }, "fixLifeLineHeights"), le = /* @__PURE__ */ t(function(e, t, n, i, a) {
3132
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + t.height, { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: p } = d, m = e.append("g").lower();
3128
3133
  var h = m;
3129
- r || (K++, Object.keys(t.links || {}).length && !n.forceMenus && h.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), h.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), h = m.append("g"), t.actorCnt = K, t.links != null && h.attr("id", "root-" + K), c === "neo" && h.attr("data-look", "neo"));
3134
+ i || (K++, Object.keys(t.links || {}).length && !n.forceMenus && h.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), h.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), h = m.append("g"), t.actorCnt = K, t.links != null && h.attr("id", "root-" + K), l === "neo" && h.attr("data-look", "neo"));
3130
3135
  let g = j();
3131
3136
  var _ = "actor";
3132
- t.properties?.class ? _ = t.properties.class : g.fill = "#eaeaea", r ? _ += ` ${V}` : _ += ` ${B}`, g.x = t.x, g.y = a, g.width = t.width, g.height = t.height, g.class = _, g.rx = 3, g.ry = 3, g.name = t.name, c === "neo" && (g.rx = 6, g.ry = 6);
3133
- let v = W(h, g), y = i.get(t.name) ?? 0;
3134
- if (U.has(l) && (v.style("stroke", f[y % f.length]), v.style("fill", d[y % f.length])), c === "neo" && v.attr("filter", "url(#drop-shadow)"), t.rectData = g, t.properties?.icon) {
3137
+ t.properties?.class ? _ = t.properties.class : g.fill = "#eaeaea", i ? _ += ` ${V}` : _ += ` ${B}`, g.x = t.x, g.y = o, g.width = t.width, g.height = t.height, g.class = _, g.rx = 3, g.ry = 3, g.name = t.name, l === "neo" && (g.rx = 6, g.ry = 6);
3138
+ let v = W(h, g), y = a.get(t.name) ?? 0;
3139
+ if (U.has(u) && (v.style("stroke", p[y % p.length]), v.style("fill", f[y % p.length])), l === "neo" && v.attr("filter", "url(#drop-shadow)"), t.rectData = g, t.properties?.icon) {
3135
3140
  let e = t.properties.icon.trim();
3136
3141
  e.charAt(0) === "@" ? A(h, g.x + g.width - 20, g.y + 10, e.substr(1)) : O(h, g.x + g.width - 20, g.y + 10, e);
3137
3142
  }
3138
- r || (h.attr("data-et", "participant"), h.attr("data-type", "participant"), h.attr("data-id", t.name)), Y(n, p(t.description))(t.description, h, g.x, g.y, g.width, g.height, { class: `actor ${re}` }, n);
3143
+ i || (h.attr("data-et", "participant"), h.attr("data-type", "participant"), h.attr("data-id", t.name)), Y(n, r(t.description))(t.description, h, g.x, g.y, g.width, g.height, { class: `actor ${re}` }, n);
3139
3144
  let b = t.height;
3140
3145
  if (v.node) {
3141
3146
  let e = v.node().getBBox();
3142
3147
  t.height = e.height, b = e.height;
3143
3148
  }
3144
3149
  return b;
3145
- }, "drawActorTypeParticipant"), ue = /* @__PURE__ */ y(function(e, t, n, r, i) {
3146
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + t.height, { look: c, theme: l, themeVariables: u } = n, { bkgColorArray: d, borderColorArray: f } = u, m = e.append("g").lower();
3150
+ }, "drawActorTypeParticipant"), ue = /* @__PURE__ */ t(function(e, t, n, i, a) {
3151
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + t.height, { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: p } = d, m = e.append("g").lower();
3147
3152
  var h = m;
3148
- r || (K++, Object.keys(t.links || {}).length && !n.forceMenus && h.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), h.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), h = m.append("g"), t.actorCnt = K, t.links != null && h.attr("id", "root-" + K), c === "neo" && h.attr("data-look", "neo"));
3153
+ i || (K++, Object.keys(t.links || {}).length && !n.forceMenus && h.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), h.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), h = m.append("g"), t.actorCnt = K, t.links != null && h.attr("id", "root-" + K), l === "neo" && h.attr("data-look", "neo"));
3149
3154
  let g = j();
3150
3155
  var _ = "actor";
3151
- t.properties?.class ? _ = t.properties.class : g.fill = "#eaeaea", r ? _ += ` ${V}` : _ += ` ${B}`, g.x = t.x, g.y = a, g.width = t.width, g.height = t.height, g.class = _, g.name = t.name;
3156
+ t.properties?.class ? _ = t.properties.class : g.fill = "#eaeaea", i ? _ += ` ${V}` : _ += ` ${B}`, g.x = t.x, g.y = o, g.width = t.width, g.height = t.height, g.class = _, g.name = t.name;
3152
3157
  let v = {
3153
3158
  ...g,
3154
3159
  x: g.x + -6,
3155
3160
  y: g.y + 6,
3156
3161
  class: "actor"
3157
3162
  }, y = W(h, g), b = W(h, v);
3158
- t.rectData = g, c === "neo" && h.attr("filter", "url(#drop-shadow)");
3159
- let x = i.get(t.name) ?? 0;
3160
- if (U.has(l) && (y.style("stroke", f[x % f.length]), y.style("fill", d[x % f.length]), b.style("stroke", f[x % f.length]), b.style("fill", d[x % f.length])), t.properties?.icon) {
3163
+ t.rectData = g, l === "neo" && h.attr("filter", "url(#drop-shadow)");
3164
+ let x = a.get(t.name) ?? 0;
3165
+ if (U.has(u) && (y.style("stroke", p[x % p.length]), y.style("fill", f[x % p.length]), b.style("stroke", p[x % p.length]), b.style("fill", f[x % p.length])), t.properties?.icon) {
3161
3166
  let e = t.properties.icon.trim();
3162
3167
  e.charAt(0) === "@" ? A(h, g.x + g.width - 20, g.y + 10, e.substr(1)) : O(h, g.x + g.width - 20, g.y + 10, e);
3163
3168
  }
3164
- Y(n, p(t.description))(t.description, h, g.x - 6, g.y + 6, g.width, g.height, { class: `actor ${re}` }, n);
3169
+ Y(n, r(t.description))(t.description, h, g.x - 6, g.y + 6, g.width, g.height, { class: `actor ${re}` }, n);
3165
3170
  let S = t.height;
3166
3171
  if (y.node) {
3167
3172
  let e = y.node().getBBox();
3168
3173
  t.height = e.height, S = e.height;
3169
3174
  }
3170
- return r || (h.attr("data-et", "participant"), h.attr("data-type", "collections"), h.attr("data-id", t.name)), S;
3171
- }, "drawActorTypeCollections"), de = /* @__PURE__ */ y(function(e, t, n, r, i) {
3172
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + t.height, { look: c, theme: l, themeVariables: u } = n, { bkgColorArray: d, borderColorArray: f } = u, m = e.append("g").lower(), h = m;
3173
- r || (K++, Object.keys(t.links || {}).length && !n.forceMenus && h.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), h.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), h = m.append("g"), t.actorCnt = K, t.links != null && h.attr("id", "root-" + K), c === "neo" && h.attr("data-look", "neo"));
3175
+ return i || (h.attr("data-et", "participant"), h.attr("data-type", "collections"), h.attr("data-id", t.name)), S;
3176
+ }, "drawActorTypeCollections"), de = /* @__PURE__ */ t(function(e, t, n, i, a) {
3177
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + t.height, { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: p } = d, m = e.append("g").lower(), h = m;
3178
+ i || (K++, Object.keys(t.links || {}).length && !n.forceMenus && h.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), h.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), h = m.append("g"), t.actorCnt = K, t.links != null && h.attr("id", "root-" + K), l === "neo" && h.attr("data-look", "neo"));
3174
3179
  let g = j(), _ = "actor";
3175
- t.properties?.class ? _ = t.properties.class : g.fill = "#eaeaea", r ? _ += ` ${V}` : _ += ` ${B}`, h.attr("class", _), g.x = t.x, g.y = a, g.width = t.width, g.height = t.height, g.name = t.name;
3180
+ t.properties?.class ? _ = t.properties.class : g.fill = "#eaeaea", i ? _ += ` ${V}` : _ += ` ${B}`, h.attr("class", _), g.x = t.x, g.y = o, g.width = t.width, g.height = t.height, g.name = t.name;
3176
3181
  let v = g.height / 2, y = v / (2.5 + g.height / 50), b = h.append("g"), x = h.append("g"), S = `M ${g.x},${g.y + v}
3177
3182
  a ${y},${v} 0 0 0 0,${g.height}
3178
3183
  h ${g.width - 2 * y}
@@ -3180,44 +3185,44 @@ var F = P, I = {
3180
3185
  Z
3181
3186
  `;
3182
3187
  b.append("path").attr("d", S), x.append("path").attr("d", `M ${g.x},${g.y + v}
3183
- a ${y},${v} 0 0 0 0,${g.height}`), b.attr("transform", `translate(${y}, ${-(g.height / 2)})`), x.attr("transform", `translate(${g.width - y}, ${-g.height / 2})`), t.rectData = g, c === "neo" && b.attr("filter", "url(#drop-shadow)");
3184
- let C = i.get(t.name) ?? 0;
3185
- if (U.has(l) && (b.style("stroke", f[C % f.length]), b.style("fill", d[C % f.length]), x.style("stroke", f[C % f.length]), x.style("fill", d[C % f.length])), t.properties?.icon) {
3188
+ a ${y},${v} 0 0 0 0,${g.height}`), b.attr("transform", `translate(${y}, ${-(g.height / 2)})`), x.attr("transform", `translate(${g.width - y}, ${-g.height / 2})`), t.rectData = g, l === "neo" && b.attr("filter", "url(#drop-shadow)");
3189
+ let C = a.get(t.name) ?? 0;
3190
+ if (U.has(u) && (b.style("stroke", p[C % p.length]), b.style("fill", f[C % p.length]), x.style("stroke", p[C % p.length]), x.style("fill", f[C % p.length])), t.properties?.icon) {
3186
3191
  let e = t.properties.icon.trim(), n = g.x + g.width - 20, r = g.y + 10;
3187
3192
  e.charAt(0) === "@" ? A(h, n, r, e.substr(1)) : O(h, n, r, e);
3188
3193
  }
3189
- Y(n, p(t.description))(t.description, h, g.x, g.y, g.width, g.height, { class: `actor ${re}` }, n);
3194
+ Y(n, r(t.description))(t.description, h, g.x, g.y, g.width, g.height, { class: `actor ${re}` }, n);
3190
3195
  let w = t.height, T = b.select("path:last-child");
3191
3196
  if (T.node()) {
3192
3197
  let e = T.node().getBBox();
3193
3198
  t.height = e.height, w = e.height;
3194
3199
  }
3195
- return r || (h.attr("data-et", "participant"), h.attr("data-type", "queue"), h.attr("data-id", t.name)), w;
3196
- }, "drawActorTypeQueue"), fe = /* @__PURE__ */ y(function(e, t, n, r, i, a) {
3197
- let o = r ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + 75, { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: m, actorBorder: h, actorBkg: g } = d, _ = e.append("g").lower();
3198
- r || (K++, _.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K);
3200
+ return i || (h.attr("data-et", "participant"), h.attr("data-type", "queue"), h.attr("data-id", t.name)), w;
3201
+ }, "drawActorTypeQueue"), fe = /* @__PURE__ */ t(function(e, t, n, i, a, o) {
3202
+ let s = i ? t.stopy : t.starty, c = t.x + t.width / 2, l = s + 75, { look: u, theme: d, themeVariables: f } = n, { bkgColorArray: p, borderColorArray: m, actorBorder: h, actorBkg: g } = f, _ = e.append("g").lower();
3203
+ i || (K++, _.append("line").attr("id", "actor" + K).attr("x1", c).attr("y1", l).attr("x2", c).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K);
3199
3204
  let v = e.append("g"), y = H;
3200
- r ? y += ` ${V}` : y += ` ${B}`, v.attr("class", y), v.attr("name", t.name);
3205
+ i ? y += ` ${V}` : y += ` ${B}`, v.attr("class", y), v.attr("name", t.name);
3201
3206
  let b = j();
3202
- b.x = t.x, b.y = o, b.fill = "#eaeaea", b.width = t.width, b.height = t.height, b.class = "actor";
3203
- let x = t.x + t.width / 2, S = o + 32;
3204
- v.append("defs").append("marker").attr("id", i + "-filled-head-control").attr("refX", 11).attr("refY", 5.8).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "172.5").attr("stroke-width", 1.2).append("path").attr("d", "M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"), v.append("circle").attr("cx", x).attr("cy", S).attr("r", 22).attr("filter", `${l === "neo" ? "url(#drop-shadow)" : ""}`), v.append("line").attr("marker-end", "url(#" + i + "-filled-head-control)").attr("transform", `translate(${x}, ${S - 22})`);
3205
- let C = a.get(t.name) ?? 0;
3206
- return U.has(u) ? (v.style("stroke", m[C % m.length]), v.style("fill", f[C % m.length])) : (v.style("stroke", h), v.style("fill", g)), t.height = v.node().getBBox().height + 2 * (n?.sequence?.labelBoxHeight ?? 0), Y(n, p(t.description))(t.description, v, b.x, b.y + 22 + (r ? 5 : 12), b.width, b.height, { class: `actor ${H}` }, n), r || (v.attr("data-et", "participant"), v.attr("data-type", "control"), v.attr("data-id", t.name)), t.height;
3207
- }, "drawActorTypeControl"), pe = /* @__PURE__ */ y(function(e, t, n, r, i) {
3208
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + 75, { look: c, theme: l, themeVariables: u } = n, { bkgColorArray: d, borderColorArray: f } = u, m = e.append("g").lower(), h = e.append("g"), g = "actor";
3209
- r ? g += ` ${V}` : g += ` ${B}`, h.attr("class", g), h.attr("name", t.name);
3207
+ b.x = t.x, b.y = s, b.fill = "#eaeaea", b.width = t.width, b.height = t.height, b.class = "actor";
3208
+ let x = t.x + t.width / 2, S = s + 32;
3209
+ v.append("defs").append("marker").attr("id", a + "-filled-head-control").attr("refX", 11).attr("refY", 5.8).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "172.5").attr("stroke-width", 1.2).append("path").attr("d", "M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"), v.append("circle").attr("cx", x).attr("cy", S).attr("r", 22).attr("filter", `${u === "neo" ? "url(#drop-shadow)" : ""}`), v.append("line").attr("marker-end", "url(#" + a + "-filled-head-control)").attr("transform", `translate(${x}, ${S - 22})`);
3210
+ let C = o.get(t.name) ?? 0;
3211
+ return U.has(d) ? (v.style("stroke", m[C % m.length]), v.style("fill", p[C % m.length])) : (v.style("stroke", h), v.style("fill", g)), t.height = v.node().getBBox().height + 2 * (n?.sequence?.labelBoxHeight ?? 0), Y(n, r(t.description))(t.description, v, b.x, b.y + 22 + (i ? 5 : 12), b.width, b.height, { class: `actor ${H}` }, n), i || (v.attr("data-et", "participant"), v.attr("data-type", "control"), v.attr("data-id", t.name)), t.height;
3212
+ }, "drawActorTypeControl"), pe = /* @__PURE__ */ t(function(e, t, n, i, a) {
3213
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + 75, { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: p } = d, m = e.append("g").lower(), h = e.append("g"), g = "actor";
3214
+ i ? g += ` ${V}` : g += ` ${B}`, h.attr("class", g), h.attr("name", t.name);
3210
3215
  let _ = j();
3211
- _.x = t.x, _.y = a, _.fill = "#eaeaea", _.width = t.width, _.height = t.height, _.class = "actor";
3212
- let v = t.x + t.width / 2, y = a + (r ? 10 : 25);
3213
- h.append("circle").attr("cx", v).attr("cy", y).attr("r", 22).attr("width", t.width).attr("height", t.height), h.append("line").attr("x1", v - 22).attr("x2", v + 22).attr("y1", y + 22).attr("y2", y + 22).attr("stroke-width", 2), c === "neo" && h.attr("filter", "url(#drop-shadow)");
3214
- let b = i.get(t.name) ?? 0;
3215
- return U.has(l) && (h.style("stroke", f[b % f.length]), h.style("fill", d[b % f.length])), t.height = h.node().getBBox().height + (n?.sequence?.labelBoxHeight ?? 0), r || (K++, m.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K), Y(n, p(t.description))(t.description, h, _.x, _.y + (r ? 15 : 30), _.width, _.height, { class: `actor ${H}` }, n), r ? h.attr("transform", "translate(0, 22)") : (h.attr("transform", `translate(0, ${22 / 2 - 5})`), h.attr("data-et", "participant"), h.attr("data-type", "entity"), h.attr("data-id", t.name)), t.height;
3216
- }, "drawActorTypeEntity"), me = /* @__PURE__ */ y(function(e, t, n, r, i) {
3217
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + t.height + 2 * n.boxTextMargin, { theme: c, themeVariables: l, look: u } = n, { bkgColorArray: d, borderColorArray: f, actorBorder: m } = l, h = e.append("g").lower(), g = h;
3218
- r || (K++, Object.keys(t.links || {}).length && !n.forceMenus && g.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), g.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), g = h.append("g"), t.actorCnt = K, t.links != null && g.attr("id", "root-" + K), u === "neo" && g.attr("data-look", "neo"));
3216
+ _.x = t.x, _.y = o, _.fill = "#eaeaea", _.width = t.width, _.height = t.height, _.class = "actor";
3217
+ let v = t.x + t.width / 2, y = o + (i ? 10 : 25);
3218
+ h.append("circle").attr("cx", v).attr("cy", y).attr("r", 22).attr("width", t.width).attr("height", t.height), h.append("line").attr("x1", v - 22).attr("x2", v + 22).attr("y1", y + 22).attr("y2", y + 22).attr("stroke-width", 2), l === "neo" && h.attr("filter", "url(#drop-shadow)");
3219
+ let b = a.get(t.name) ?? 0;
3220
+ return U.has(u) && (h.style("stroke", p[b % p.length]), h.style("fill", f[b % p.length])), t.height = h.node().getBBox().height + (n?.sequence?.labelBoxHeight ?? 0), i || (K++, m.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K), Y(n, r(t.description))(t.description, h, _.x, _.y + (i ? 15 : 30), _.width, _.height, { class: `actor ${H}` }, n), i ? h.attr("transform", "translate(0, 22)") : (h.attr("transform", `translate(0, ${22 / 2 - 5})`), h.attr("data-et", "participant"), h.attr("data-type", "entity"), h.attr("data-id", t.name)), t.height;
3221
+ }, "drawActorTypeEntity"), me = /* @__PURE__ */ t(function(e, t, n, i, a) {
3222
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + t.height + 2 * n.boxTextMargin, { theme: l, themeVariables: u, look: d } = n, { bkgColorArray: f, borderColorArray: p, actorBorder: m } = u, h = e.append("g").lower(), g = h;
3223
+ i || (K++, Object.keys(t.links || {}).length && !n.forceMenus && g.attr("onclick", ae(`actor${K}_popup`)).attr("cursor", "pointer"), g.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), g = h.append("g"), t.actorCnt = K, t.links != null && g.attr("id", "root-" + K), d === "neo" && g.attr("data-look", "neo"));
3219
3224
  let _ = j(), v = "actor";
3220
- t.properties?.class ? v = t.properties.class : _.fill = "#eaeaea", r ? v += ` ${V}` : v += ` ${B}`, _.x = t.x, _.y = a, _.width = t.width, _.height = t.height, _.class = v, _.name = t.name, _.x = t.x, _.y = a;
3225
+ t.properties?.class ? v = t.properties.class : _.fill = "#eaeaea", i ? v += ` ${V}` : v += ` ${B}`, _.x = t.x, _.y = o, _.width = t.width, _.height = t.height, _.class = v, _.name = t.name, _.x = t.x, _.y = o;
3221
3226
  let y = _.width / 3, b = _.width / 3, x = y / 2, S = x / (2.5 + y / 50), C = g.append("g");
3222
3227
  C.attr("class", v);
3223
3228
  let w = `
@@ -3228,34 +3233,34 @@ var F = P, I = {
3228
3233
  a ${x},${S} 0 0 0 ${y},0
3229
3234
  l 0,-${b - 2 * S}
3230
3235
  `;
3231
- C.append("path").attr("d", w), u === "neo" && C.attr("filter", "url(#drop-shadow)");
3232
- let T = i.get(t.name) ?? 0;
3233
- U.has(c) ? (C.style("stroke", f[T % f.length]), C.style("fill", d[T % f.length])) : C.style("stroke", m), C.attr("transform", `translate(${y}, ${S})`), t.rectData = _, Y(n, p(t.description))(t.description, g, _.x, _.y + 35, _.width, _.height, { class: `actor ${re}` }, n);
3236
+ C.append("path").attr("d", w), d === "neo" && C.attr("filter", "url(#drop-shadow)");
3237
+ let T = a.get(t.name) ?? 0;
3238
+ U.has(l) ? (C.style("stroke", p[T % p.length]), C.style("fill", f[T % p.length])) : C.style("stroke", m), C.attr("transform", `translate(${y}, ${S})`), t.rectData = _, Y(n, r(t.description))(t.description, g, _.x, _.y + 35, _.width, _.height, { class: `actor ${re}` }, n);
3234
3239
  let E = C.select("path:last-child");
3235
- return E.node() && (t.height = E.node().getBBox().height + (n.sequence.labelBoxHeight ?? 0)), r || (g.attr("data-et", "participant"), g.attr("data-type", "database"), g.attr("data-id", t.name)), t.height;
3236
- }, "drawActorTypeDatabase"), he = /* @__PURE__ */ y(function(e, t, n, r, i) {
3237
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + 80, c = e.append("g").lower(), { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: m, actorBorder: h } = d;
3238
- r || (K++, c.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K);
3240
+ return E.node() && (t.height = E.node().getBBox().height + (n.sequence.labelBoxHeight ?? 0)), i || (g.attr("data-et", "participant"), g.attr("data-type", "database"), g.attr("data-id", t.name)), t.height;
3241
+ }, "drawActorTypeDatabase"), he = /* @__PURE__ */ t(function(e, t, n, i, a) {
3242
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + 80, l = e.append("g").lower(), { look: u, theme: d, themeVariables: f } = n, { bkgColorArray: p, borderColorArray: m, actorBorder: h } = f;
3243
+ i || (K++, l.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K);
3239
3244
  let g = e.append("g"), _ = H;
3240
- r ? _ += ` ${V}` : _ += ` ${B}`, g.attr("class", _), g.attr("name", t.name);
3245
+ i ? _ += ` ${V}` : _ += ` ${B}`, g.attr("class", _), g.attr("name", t.name);
3241
3246
  let v = j();
3242
- v.x = t.x, v.y = a, v.fill = "#eaeaea", v.width = t.width, v.height = t.height, v.class = "actor", g.append("line").attr("id", "actor-man-torso" + K).attr("x1", t.x + t.width / 2 - 22 * 2.5).attr("y1", a + 12).attr("x2", t.x + t.width / 2 - 15).attr("y2", a + 12), g.append("line").attr("id", "actor-man-arms" + K).attr("x1", t.x + t.width / 2 - 22 * 2.5).attr("y1", a + 2).attr("x2", t.x + t.width / 2 - 22 * 2.5).attr("y2", a + 22), g.append("circle").attr("cx", t.x + t.width / 2).attr("cy", a + 12).attr("r", 22), l === "neo" && g.attr("filter", "url(#drop-shadow)");
3243
- let y = i.get(t.name) ?? 0;
3244
- return U.has(u) ? (g.style("stroke", m[y % m.length]), g.style("fill", f[y % m.length])) : g.style("stroke", h), t.height = g.node().getBBox().height + (n.sequence.labelBoxHeight ?? 0), Y(n, p(t.description))(t.description, g, v.x, v.y + 15, v.width, v.height, { class: `actor ${H}` }, n), g.attr("transform", "translate(0,21)"), r || (g.attr("data-et", "participant"), g.attr("data-type", "boundary"), g.attr("data-id", t.name)), t.height;
3245
- }, "drawActorTypeBoundary"), ge = /* @__PURE__ */ y(function(e, t, n, r, i) {
3246
- let a = r ? t.stopy : t.starty, o = t.x + t.width / 2, s = a + 80, { look: c, theme: l, themeVariables: u } = n, { bkgColorArray: d, borderColorArray: f, actorBorder: m } = u, h = e.append("g").lower();
3247
- r || (K++, h.append("line").attr("id", "actor" + K).attr("x1", o).attr("y1", s).attr("x2", o).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K);
3247
+ v.x = t.x, v.y = o, v.fill = "#eaeaea", v.width = t.width, v.height = t.height, v.class = "actor", g.append("line").attr("id", "actor-man-torso" + K).attr("x1", t.x + t.width / 2 - 22 * 2.5).attr("y1", o + 12).attr("x2", t.x + t.width / 2 - 15).attr("y2", o + 12), g.append("line").attr("id", "actor-man-arms" + K).attr("x1", t.x + t.width / 2 - 22 * 2.5).attr("y1", o + 2).attr("x2", t.x + t.width / 2 - 22 * 2.5).attr("y2", o + 22), g.append("circle").attr("cx", t.x + t.width / 2).attr("cy", o + 12).attr("r", 22), u === "neo" && g.attr("filter", "url(#drop-shadow)");
3248
+ let y = a.get(t.name) ?? 0;
3249
+ return U.has(d) ? (g.style("stroke", m[y % m.length]), g.style("fill", p[y % m.length])) : g.style("stroke", h), t.height = g.node().getBBox().height + (n.sequence.labelBoxHeight ?? 0), Y(n, r(t.description))(t.description, g, v.x, v.y + 15, v.width, v.height, { class: `actor ${H}` }, n), g.attr("transform", "translate(0,21)"), i || (g.attr("data-et", "participant"), g.attr("data-type", "boundary"), g.attr("data-id", t.name)), t.height;
3250
+ }, "drawActorTypeBoundary"), ge = /* @__PURE__ */ t(function(e, t, n, i, a) {
3251
+ let o = i ? t.stopy : t.starty, s = t.x + t.width / 2, c = o + 80, { look: l, theme: u, themeVariables: d } = n, { bkgColorArray: f, borderColorArray: p, actorBorder: m } = d, h = e.append("g").lower();
3252
+ i || (K++, h.append("line").attr("id", "actor" + K).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = K);
3248
3253
  let g = e.append("g"), _ = H;
3249
- r ? _ += ` ${V}` : _ += ` ${B}`, g.attr("class", _), g.attr("name", t.name), r || g.attr("data-et", "participant").attr("data-type", "actor").attr("data-id", t.name);
3250
- let v = c === "neo" ? .5 : 1, y = c === "neo" ? a + (1 - v) * 30 : a;
3251
- g.append("line").attr("id", "actor-man-torso" + K).attr("x1", o).attr("y1", y + 25 * v).attr("x2", o).attr("y2", y + 45 * v), g.append("line").attr("id", "actor-man-arms" + K).attr("x1", o - z / 2 * v).attr("y1", y + 33 * v).attr("x2", o + z / 2 * v).attr("y2", y + 33 * v), g.append("line").attr("x1", o - z / 2 * v).attr("y1", y + 60 * v).attr("x2", o).attr("y2", y + 45 * v), g.append("line").attr("x1", o).attr("y1", y + 45 * v).attr("x2", o + (z / 2 - 2) * v).attr("y2", y + 60 * v);
3254
+ i ? _ += ` ${V}` : _ += ` ${B}`, g.attr("class", _), g.attr("name", t.name), i || g.attr("data-et", "participant").attr("data-type", "actor").attr("data-id", t.name);
3255
+ let v = l === "neo" ? .5 : 1, y = l === "neo" ? o + (1 - v) * 30 : o;
3256
+ g.append("line").attr("id", "actor-man-torso" + K).attr("x1", s).attr("y1", y + 25 * v).attr("x2", s).attr("y2", y + 45 * v), g.append("line").attr("id", "actor-man-arms" + K).attr("x1", s - z / 2 * v).attr("y1", y + 33 * v).attr("x2", s + z / 2 * v).attr("y2", y + 33 * v), g.append("line").attr("x1", s - z / 2 * v).attr("y1", y + 60 * v).attr("x2", s).attr("y2", y + 45 * v), g.append("line").attr("x1", s).attr("y1", y + 45 * v).attr("x2", s + (z / 2 - 2) * v).attr("y2", y + 60 * v);
3252
3257
  let b = g.append("circle");
3253
3258
  b.attr("cx", t.x + t.width / 2), b.attr("cy", y + 10 * v), b.attr("r", 15 * v), b.attr("width", t.width * v), b.attr("height", t.height * v), t.height = g.node().getBBox().height;
3254
3259
  let x = j();
3255
3260
  x.x = t.x, x.y = y, x.fill = "#eaeaea", x.width = t.width, x.height = t.height / v, x.class = "actor", x.rx = 3, x.ry = 3;
3256
- let S = i.get(t.name) ?? 0;
3257
- return U.has(l) ? (g.style("stroke", f[S % f.length]), g.style("fill", d[S % f.length])) : g.style("stroke", m), Y(n, p(t.description))(t.description, g, x.x, y + 35 * v - (c === "neo" ? 10 : 0), x.width, x.height, { class: `actor ${H}` }, n), t.height;
3258
- }, "drawActorTypeActor"), _e = /* @__PURE__ */ y(async function(e, t, n, r, i, a, o) {
3261
+ let S = a.get(t.name) ?? 0;
3262
+ return U.has(u) ? (g.style("stroke", p[S % p.length]), g.style("fill", f[S % p.length])) : g.style("stroke", m), Y(n, r(t.description))(t.description, g, x.x, y + 35 * v - (l === "neo" ? 10 : 0), x.width, x.height, { class: `actor ${H}` }, n), t.height;
3263
+ }, "drawActorTypeActor"), _e = /* @__PURE__ */ t(async function(e, t, n, r, i, a, o) {
3259
3264
  let s = o ?? new Map([...a.db.getActors().values()].map((e, t) => [e.name, t]));
3260
3265
  switch (t.type) {
3261
3266
  case "actor": return await ge(e, t, n, r, s);
@@ -3267,54 +3272,54 @@ var F = P, I = {
3267
3272
  case "collections": return await ue(e, t, n, r, s);
3268
3273
  case "queue": return await de(e, t, n, r, s);
3269
3274
  }
3270
- }, "drawActor"), ve = /* @__PURE__ */ y(function(e, t, n) {
3275
+ }, "drawActor"), ve = /* @__PURE__ */ t(function(e, t, n) {
3271
3276
  let r = e.append("g");
3272
3277
  Se(r, t), t.name && Y(n)(t.name, r, t.x, t.y + n.boxTextMargin + (t.textMaxHeight || 0) / 2, t.width, 0, { class: "text" }, n), r.lower();
3273
- }, "drawBox"), ye = /* @__PURE__ */ y(function(e) {
3278
+ }, "drawBox"), ye = /* @__PURE__ */ t(function(e) {
3274
3279
  return e.append("g");
3275
- }, "anchorElement"), be = /* @__PURE__ */ y(function(e, t, n, r, i, a, o) {
3280
+ }, "anchorElement"), be = /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
3276
3281
  let { theme: s, themeVariables: c } = r, { bkgColorArray: l, borderColorArray: u, mainBkg: d } = c, f = j(), p = t.anchored, m = t.actor;
3277
3282
  f.x = t.startx, f.y = t.starty, f.class = "activation" + i % 3, f.width = t.stopx - t.startx, f.height = n - t.starty;
3278
3283
  let h = W(p, f), g = (o ?? new Map([...a.db.getActors().values()].map((e, t) => [e.name, t]))).get(m) ?? 0;
3279
3284
  U.has(s) && (h.style("stroke", u[g % u.length]), h.style("fill", l[g % u.length] ?? d));
3280
- }, "drawActivation"), xe = /* @__PURE__ */ y(async function(e, t, n, r, i) {
3281
- let { boxMargin: a, boxTextMargin: o, labelBoxHeight: s, labelBoxWidth: c, messageFontFamily: l, messageFontSize: u, messageFontWeight: d } = r, f = e.append("g").attr("data-et", "control-structure").attr("data-id", "i" + i.id), m = /* @__PURE__ */ y(function(e, t, n, r) {
3282
- return f.append("line").attr("x1", e).attr("y1", t).attr("x2", n).attr("y2", r).attr("class", "loopLine");
3285
+ }, "drawActivation"), xe = /* @__PURE__ */ t(async function(e, n, i, a, o) {
3286
+ let { boxMargin: s, boxTextMargin: c, labelBoxHeight: l, labelBoxWidth: u, messageFontFamily: d, messageFontSize: f, messageFontWeight: p } = a, m = e.append("g").attr("data-et", "control-structure").attr("data-id", "i" + o.id), h = /* @__PURE__ */ t(function(e, t, n, r) {
3287
+ return m.append("line").attr("x1", e).attr("y1", t).attr("x2", n).attr("y2", r).attr("class", "loopLine");
3283
3288
  }, "drawLoopLine");
3284
- m(t.startx, t.starty, t.stopx, t.starty), m(t.stopx, t.starty, t.stopx, t.stopy), m(t.startx, t.stopy, t.stopx, t.stopy), m(t.startx, t.starty, t.startx, t.stopy), t.sections !== void 0 && t.sections.forEach(function(e) {
3285
- m(t.startx, e.y, t.stopx, e.y).style("stroke-dasharray", "3, 3");
3289
+ h(n.startx, n.starty, n.stopx, n.starty), h(n.stopx, n.starty, n.stopx, n.stopy), h(n.startx, n.stopy, n.stopx, n.stopy), h(n.startx, n.starty, n.startx, n.stopy), n.sections !== void 0 && n.sections.forEach(function(e) {
3290
+ h(n.startx, e.y, n.stopx, e.y).style("stroke-dasharray", "3, 3");
3286
3291
  });
3287
- let h = D();
3288
- h.text = n, h.x = t.startx, h.y = t.starty, h.fontFamily = l, h.fontSize = u, h.fontWeight = d, h.anchor = "middle", h.valign = "middle", h.tspan = !1, h.width = Math.max(c ?? 0, 50), h.height = s + (r.look === "neo" ? 15 : 0) || 20, h.textMargin = o, h.class = "labelText", se(f, h), h = ke(), h.text = t.title, h.x = t.startx + c / 2 + (t.stopx - t.startx) / 2, h.y = t.starty + a + o, h.anchor = "middle", h.valign = "middle", h.textMargin = o, h.class = "loopText", h.fontFamily = l, h.fontSize = u, h.fontWeight = d, h.wrap = !0;
3289
- let g = p(h.text) ? await oe(f, h, t) : G(f, h);
3290
- if (t.sectionTitles !== void 0) {
3291
- for (let [e, n] of Object.entries(t.sectionTitles)) if (n.message) {
3292
- h.text = n.message, h.x = t.startx + (t.stopx - t.startx) / 2, h.y = t.sections[e].y + a + o, h.class = "loopText", h.anchor = "middle", h.valign = "middle", h.tspan = !1, h.fontFamily = l, h.fontSize = u, h.fontWeight = d, h.wrap = t.wrap, p(h.text) ? (t.starty = t.sections[e].y, await oe(f, h, t)) : G(f, h);
3293
- let r = Math.round(g.map((e) => (e._groups || e)[0][0].getBBox().height).reduce((e, t) => e + t));
3294
- t.sections[e].height += r - (a + o);
3292
+ let g = D();
3293
+ g.text = i, g.x = n.startx, g.y = n.starty, g.fontFamily = d, g.fontSize = f, g.fontWeight = p, g.anchor = "middle", g.valign = "middle", g.tspan = !1, g.width = Math.max(u ?? 0, 50), g.height = l + (a.look === "neo" ? 15 : 0) || 20, g.textMargin = c, g.class = "labelText", se(m, g), g = ke(), g.text = n.title, g.x = n.startx + u / 2 + (n.stopx - n.startx) / 2, g.y = n.starty + s + c, g.anchor = "middle", g.valign = "middle", g.textMargin = c, g.class = "loopText", g.fontFamily = d, g.fontSize = f, g.fontWeight = p, g.wrap = !0;
3294
+ let _ = r(g.text) ? await oe(m, g, n) : G(m, g);
3295
+ if (n.sectionTitles !== void 0) {
3296
+ for (let [e, t] of Object.entries(n.sectionTitles)) if (t.message) {
3297
+ g.text = t.message, g.x = n.startx + (n.stopx - n.startx) / 2, g.y = n.sections[e].y + s + c, g.class = "sectionTitle", g.anchor = "middle", g.valign = "middle", g.tspan = !1, g.fontFamily = d, g.fontSize = f, g.fontWeight = p, g.wrap = n.wrap, r(g.text) ? (n.starty = n.sections[e].y, await oe(m, g, n)) : G(m, g);
3298
+ let i = Math.round(_.map((e) => (e._groups || e)[0][0].getBBox().height).reduce((e, t) => e + t));
3299
+ n.sections[e].height += i - (s + c);
3295
3300
  }
3296
3301
  }
3297
- return t.height = Math.round(t.stopy - t.starty), f;
3298
- }, "drawLoop"), Se = /* @__PURE__ */ y(function(e, t) {
3302
+ return n.height = Math.round(n.stopy - n.starty), m;
3303
+ }, "drawLoop"), Se = /* @__PURE__ */ t(function(e, t) {
3299
3304
  k(e, t);
3300
- }, "drawBackgroundRect"), Ce = /* @__PURE__ */ y(function(e, t) {
3305
+ }, "drawBackgroundRect"), Ce = /* @__PURE__ */ t(function(e, t) {
3301
3306
  e.append("defs").append("symbol").attr("id", t + "-database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr("d", "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z");
3302
- }, "insertDatabaseIcon"), q = /* @__PURE__ */ y(function(e, t) {
3307
+ }, "insertDatabaseIcon"), q = /* @__PURE__ */ t(function(e, t) {
3303
3308
  e.append("defs").append("symbol").attr("id", t + "-computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z");
3304
- }, "insertComputerIcon"), J = /* @__PURE__ */ y(function(e, t) {
3309
+ }, "insertComputerIcon"), J = /* @__PURE__ */ t(function(e, t) {
3305
3310
  e.append("defs").append("symbol").attr("id", t + "-clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z");
3306
- }, "insertClockIcon"), we = /* @__PURE__ */ y(function(e, t) {
3311
+ }, "insertClockIcon"), we = /* @__PURE__ */ t(function(e, t) {
3307
3312
  e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 7.9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M -1 0 L 10 5 L 0 10 z");
3308
- }, "insertArrowHead"), Te = /* @__PURE__ */ y(function(e, t) {
3313
+ }, "insertArrowHead"), Te = /* @__PURE__ */ t(function(e, t) {
3309
3314
  e.append("defs").append("marker").attr("id", t + "-filled-head").attr("refX", 15.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
3310
- }, "insertArrowFilledHead"), Ee = /* @__PURE__ */ y(function(e, t) {
3315
+ }, "insertArrowFilledHead"), Ee = /* @__PURE__ */ t(function(e, t) {
3311
3316
  e.append("defs").append("marker").attr("id", t + "-sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
3312
- }, "insertSequenceNumber"), De = /* @__PURE__ */ y(function(e, t) {
3317
+ }, "insertSequenceNumber"), De = /* @__PURE__ */ t(function(e, t) {
3313
3318
  e.append("defs").append("marker").attr("id", t + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 4).attr("refY", 4.5).append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1pt").attr("d", "M 1,2 L 6,7 M 6,2 L 1,7");
3314
- }, "insertArrowCrossHead"), Oe = /* @__PURE__ */ y(function(e, t) {
3319
+ }, "insertArrowCrossHead"), Oe = /* @__PURE__ */ t(function(e, t) {
3315
3320
  let { theme: n } = t;
3316
3321
  e.append("defs").append("filter").attr("id", "drop-shadow").attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", `${n === "redux" || n === "redux-color" ? "#000000" : "#FFFFFF"}`);
3317
- }, "insertDropShadow"), ke = /* @__PURE__ */ y(function() {
3322
+ }, "insertDropShadow"), ke = /* @__PURE__ */ t(function() {
3318
3323
  return {
3319
3324
  x: 0,
3320
3325
  y: 0,
@@ -3329,7 +3334,7 @@ var F = P, I = {
3329
3334
  tspan: !0,
3330
3335
  valign: void 0
3331
3336
  };
3332
- }, "getTextObj"), Ae = /* @__PURE__ */ y(function() {
3337
+ }, "getTextObj"), Ae = /* @__PURE__ */ t(function() {
3333
3338
  return {
3334
3339
  x: 0,
3335
3340
  y: 0,
@@ -3342,57 +3347,57 @@ var F = P, I = {
3342
3347
  ry: 0
3343
3348
  };
3344
3349
  }, "getNoteRect"), Y = /* @__PURE__ */ (function() {
3345
- function e(e, t, n, r, i, o, s) {
3346
- a(t.append("text").attr("x", n + i / 2).attr("y", r + o / 2 + 5).style("text-anchor", "middle").text(e), s);
3350
+ function e(e, t, n, r, i, a, s) {
3351
+ o(t.append("text").attr("x", n + i / 2).attr("y", r + a / 2 + 5).style("text-anchor", "middle").text(e), s);
3347
3352
  }
3348
- y(e, "byText");
3349
- function t(e, t, n, r, i, o, s, c) {
3350
- let { actorFontSize: l, actorFontFamily: u, actorFontWeight: d } = c, [f, p] = S(l), m = e.split(h.lineBreakRegex);
3353
+ t(e, "byText");
3354
+ function n(e, t, n, r, i, a, s, c) {
3355
+ let { actorFontSize: l, actorFontFamily: u, actorFontWeight: d } = c, [f, p] = C(l), m = e.split(h.lineBreakRegex);
3351
3356
  for (let e = 0; e < m.length; e++) {
3352
3357
  let c = e * f - f * (m.length - 1) / 2, l = t.append("text").attr("x", n + i / 2).attr("y", r).style("text-anchor", "middle").style("font-size", p).style("font-weight", d).style("font-family", u);
3353
- l.append("tspan").attr("x", n + i / 2).attr("dy", c).text(m[e]), l.attr("y", r + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), a(l, s);
3358
+ l.append("tspan").attr("x", n + i / 2).attr("dy", c).text(m[e]), l.attr("y", r + a / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), o(l, s);
3354
3359
  }
3355
3360
  }
3356
- y(t, "byTspan");
3357
- function n(e, n, r, i, o, s, c, l) {
3358
- let u = n.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", i).attr("width", o).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
3359
- d.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, u, r, i, o, s, c, l), a(d, c);
3361
+ t(n, "byTspan");
3362
+ function r(e, t, r, i, a, s, c, l) {
3363
+ let u = t.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", i).attr("width", a).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
3364
+ d.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), n(e, u, r, i, a, s, c, l), o(d, c);
3360
3365
  }
3361
- y(n, "byFo");
3362
- async function r(e, n, r, o, s, c, l, u) {
3363
- let d = await f(e, _()), p = n.append("switch"), m = p.append("foreignObject").attr("x", r + s / 2 - d.width / 2).attr("y", o + c / 2 - d.height / 2).attr("width", d.width).attr("height", d.height).append("xhtml:div").style("height", "100%").style("width", "100%");
3364
- m.append("div").style("text-align", "center").style("vertical-align", "middle").html(await i(e, _())), t(e, p, r, o, s, c, l, u), a(m, l);
3366
+ t(r, "byFo");
3367
+ async function a(e, t, r, a, s, c, l, u) {
3368
+ let f = await p(e, d()), m = t.append("switch"), h = m.append("foreignObject").attr("x", r + s / 2 - f.width / 2).attr("y", a + c / 2 - f.height / 2).attr("width", f.width).attr("height", f.height).append("xhtml:div").style("height", "100%").style("width", "100%");
3369
+ h.append("div").style("text-align", "center").style("vertical-align", "middle").html(await i(e, d())), n(e, m, r, a, s, c, l, u), o(h, l);
3365
3370
  }
3366
- y(r, "byKatex");
3367
- function a(e, t) {
3371
+ t(a, "byKatex");
3372
+ function o(e, t) {
3368
3373
  for (let n in t) t.hasOwnProperty(n) && e.attr(n, t[n]);
3369
3374
  }
3370
- return y(a, "_setTextAttrs"), function(i, a = !1) {
3371
- return a ? r : i.textPlacement === "fo" ? n : i.textPlacement === "old" ? e : t;
3375
+ return t(o, "_setTextAttrs"), function(t, i = !1) {
3376
+ return i ? a : t.textPlacement === "fo" ? r : t.textPlacement === "old" ? e : n;
3372
3377
  };
3373
3378
  })(), je = /* @__PURE__ */ (function() {
3374
- function e(e, t, n, i, a, o, s) {
3375
- r(t.append("text").attr("x", n).attr("y", i).style("text-anchor", "start").text(e), s);
3379
+ function e(e, t, n, r, a, o, s) {
3380
+ i(t.append("text").attr("x", n).attr("y", r).style("text-anchor", "start").text(e), s);
3376
3381
  }
3377
- y(e, "byText");
3378
- function t(e, t, n, i, a, o, s, c) {
3382
+ t(e, "byText");
3383
+ function n(e, t, n, r, a, o, s, c) {
3379
3384
  let { actorFontSize: l, actorFontFamily: u, actorFontWeight: d } = c, f = e.split(h.lineBreakRegex);
3380
3385
  for (let e = 0; e < f.length; e++) {
3381
- let a = e * l - l * (f.length - 1) / 2, c = t.append("text").attr("x", n).attr("y", i).style("text-anchor", "start").style("font-size", l).style("font-weight", d).style("font-family", u);
3382
- c.append("tspan").attr("x", n).attr("dy", a).text(f[e]), c.attr("y", i + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), r(c, s);
3386
+ let a = e * l - l * (f.length - 1) / 2, c = t.append("text").attr("x", n).attr("y", r).style("text-anchor", "start").style("font-size", l).style("font-weight", d).style("font-family", u);
3387
+ c.append("tspan").attr("x", n).attr("dy", a).text(f[e]), c.attr("y", r + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), i(c, s);
3383
3388
  }
3384
3389
  }
3385
- y(t, "byTspan");
3386
- function n(e, n, i, a, o, s, c, l) {
3387
- let u = n.append("switch"), d = u.append("foreignObject").attr("x", i).attr("y", a).attr("width", o).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
3388
- d.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, u, i, a, o, s, c, l), r(d, c);
3390
+ t(n, "byTspan");
3391
+ function r(e, t, r, a, o, s, c, l) {
3392
+ let u = t.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", a).attr("width", o).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
3393
+ d.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), n(e, u, r, a, o, s, c, l), i(d, c);
3389
3394
  }
3390
- y(n, "byFo");
3391
- function r(e, t) {
3395
+ t(r, "byFo");
3396
+ function i(e, t) {
3392
3397
  for (let n in t) t.hasOwnProperty(n) && e.attr(n, t[n]);
3393
3398
  }
3394
- return y(r, "_setTextAttrs"), function(r) {
3395
- return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
3399
+ return t(i, "_setTextAttrs"), function(t) {
3400
+ return t.textPlacement === "fo" ? r : t.textPlacement === "old" ? e : n;
3396
3401
  };
3397
3402
  })(), X = {
3398
3403
  drawRect: W,
@@ -3417,16 +3422,16 @@ var F = P, I = {
3417
3422
  fixLifeLineHeights: ce,
3418
3423
  sanitizeUrl: N.sanitizeUrl,
3419
3424
  insertDropShadow: Oe,
3420
- insertSolidTopArrowHead: /* @__PURE__ */ y(function(e, t) {
3425
+ insertSolidTopArrowHead: /* @__PURE__ */ t(function(e, t) {
3421
3426
  e.append("defs").append("marker").attr("id", t + "-solidTopArrowHead").attr("refX", 7.9).attr("refY", 7.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 8 L 0 8 z");
3422
3427
  }, "insertSolidTopArrowHead"),
3423
- insertSolidBottomArrowHead: /* @__PURE__ */ y(function(e, t) {
3428
+ insertSolidBottomArrowHead: /* @__PURE__ */ t(function(e, t) {
3424
3429
  e.append("defs").append("marker").attr("id", t + "-solidBottomArrowHead").attr("refX", 7.9).attr("refY", .75).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 0 L 0 8 z");
3425
3430
  }, "insertSolidBottomArrowHead"),
3426
- insertStickTopArrowHead: /* @__PURE__ */ y(function(e, t) {
3431
+ insertStickTopArrowHead: /* @__PURE__ */ t(function(e, t) {
3427
3432
  e.append("defs").append("marker").attr("id", t + "-stickTopArrowHead").attr("refX", 7.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 7 7").attr("stroke", "black").attr("stroke-width", 1.5).attr("fill", "none");
3428
3433
  }, "insertStickTopArrowHead"),
3429
- insertStickBottomArrowHead: /* @__PURE__ */ y(function(e, t) {
3434
+ insertStickBottomArrowHead: /* @__PURE__ */ t(function(e, t) {
3430
3435
  e.append("defs").append("marker").attr("id", t + "-stickBottomArrowHead").attr("refX", 7.5).attr("refY", 0).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 7 L 7 0").attr("stroke", "black").attr("stroke-width", 1.5).attr("fill", "none");
3431
3436
  }, "insertStickBottomArrowHead")
3432
3437
  }, Z = {}, Q = {
@@ -3440,37 +3445,37 @@ var F = P, I = {
3440
3445
  sequenceItems: [],
3441
3446
  activations: [],
3442
3447
  models: {
3443
- getHeight: /* @__PURE__ */ y(function() {
3448
+ getHeight: /* @__PURE__ */ t(function() {
3444
3449
  return Math.max.apply(null, this.actors.length === 0 ? [0] : this.actors.map((e) => e.height || 0)) + (this.loops.length === 0 ? 0 : this.loops.map((e) => e.height || 0).reduce((e, t) => e + t)) + (this.messages.length === 0 ? 0 : this.messages.map((e) => e.height || 0).reduce((e, t) => e + t)) + (this.notes.length === 0 ? 0 : this.notes.map((e) => e.height || 0).reduce((e, t) => e + t));
3445
3450
  }, "getHeight"),
3446
- clear: /* @__PURE__ */ y(function() {
3451
+ clear: /* @__PURE__ */ t(function() {
3447
3452
  this.actors = [], this.boxes = [], this.loops = [], this.messages = [], this.notes = [];
3448
3453
  }, "clear"),
3449
- addBox: /* @__PURE__ */ y(function(e) {
3454
+ addBox: /* @__PURE__ */ t(function(e) {
3450
3455
  this.boxes.push(e);
3451
3456
  }, "addBox"),
3452
- addActor: /* @__PURE__ */ y(function(e) {
3457
+ addActor: /* @__PURE__ */ t(function(e) {
3453
3458
  this.actors.push(e);
3454
3459
  }, "addActor"),
3455
- addLoop: /* @__PURE__ */ y(function(e) {
3460
+ addLoop: /* @__PURE__ */ t(function(e) {
3456
3461
  this.loops.push(e);
3457
3462
  }, "addLoop"),
3458
- addMessage: /* @__PURE__ */ y(function(e) {
3463
+ addMessage: /* @__PURE__ */ t(function(e) {
3459
3464
  this.messages.push(e);
3460
3465
  }, "addMessage"),
3461
- addNote: /* @__PURE__ */ y(function(e) {
3466
+ addNote: /* @__PURE__ */ t(function(e) {
3462
3467
  this.notes.push(e);
3463
3468
  }, "addNote"),
3464
- lastActor: /* @__PURE__ */ y(function() {
3469
+ lastActor: /* @__PURE__ */ t(function() {
3465
3470
  return this.actors[this.actors.length - 1];
3466
3471
  }, "lastActor"),
3467
- lastLoop: /* @__PURE__ */ y(function() {
3472
+ lastLoop: /* @__PURE__ */ t(function() {
3468
3473
  return this.loops[this.loops.length - 1];
3469
3474
  }, "lastLoop"),
3470
- lastMessage: /* @__PURE__ */ y(function() {
3475
+ lastMessage: /* @__PURE__ */ t(function() {
3471
3476
  return this.messages[this.messages.length - 1];
3472
3477
  }, "lastMessage"),
3473
- lastNote: /* @__PURE__ */ y(function() {
3478
+ lastNote: /* @__PURE__ */ t(function() {
3474
3479
  return this.notes[this.notes.length - 1];
3475
3480
  }, "lastNote"),
3476
3481
  actors: [],
@@ -3479,33 +3484,33 @@ var F = P, I = {
3479
3484
  messages: [],
3480
3485
  notes: []
3481
3486
  },
3482
- init: /* @__PURE__ */ y(function() {
3487
+ init: /* @__PURE__ */ t(function() {
3483
3488
  this.sequenceItems = [], this.activations = [], this.models.clear(), this.data = {
3484
3489
  startx: void 0,
3485
3490
  stopx: void 0,
3486
3491
  starty: void 0,
3487
3492
  stopy: void 0
3488
- }, this.verticalPos = 0, He(u());
3493
+ }, this.verticalPos = 0, He(v());
3489
3494
  }, "init"),
3490
- updateVal: /* @__PURE__ */ y(function(e, t, n, r) {
3495
+ updateVal: /* @__PURE__ */ t(function(e, t, n, r) {
3491
3496
  e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
3492
3497
  }, "updateVal"),
3493
- updateBounds: /* @__PURE__ */ y(function(e, t, n, r) {
3494
- let i = this, a = 0;
3495
- function o(o) {
3496
- return /* @__PURE__ */ y(function(s) {
3497
- a++;
3498
- let c = i.sequenceItems.length - a + 1;
3499
- i.updateVal(s, "starty", t - c * Z.boxMargin, Math.min), i.updateVal(s, "stopy", r + c * Z.boxMargin, Math.max), i.updateVal(Q.data, "startx", e - c * Z.boxMargin, Math.min), i.updateVal(Q.data, "stopx", n + c * Z.boxMargin, Math.max), o !== "activation" && (i.updateVal(s, "startx", e - c * Z.boxMargin, Math.min), i.updateVal(s, "stopx", n + c * Z.boxMargin, Math.max), i.updateVal(Q.data, "starty", t - c * Z.boxMargin, Math.min), i.updateVal(Q.data, "stopy", r + c * Z.boxMargin, Math.max));
3498
+ updateBounds: /* @__PURE__ */ t(function(e, n, r, i) {
3499
+ let a = this, o = 0;
3500
+ function s(s) {
3501
+ return /* @__PURE__ */ t(function(t) {
3502
+ o++;
3503
+ let c = a.sequenceItems.length - o + 1;
3504
+ a.updateVal(t, "starty", n - c * Z.boxMargin, Math.min), a.updateVal(t, "stopy", i + c * Z.boxMargin, Math.max), a.updateVal(Q.data, "startx", e - c * Z.boxMargin, Math.min), a.updateVal(Q.data, "stopx", r + c * Z.boxMargin, Math.max), s !== "activation" && (a.updateVal(t, "startx", e - c * Z.boxMargin, Math.min), a.updateVal(t, "stopx", r + c * Z.boxMargin, Math.max), a.updateVal(Q.data, "starty", n - c * Z.boxMargin, Math.min), a.updateVal(Q.data, "stopy", i + c * Z.boxMargin, Math.max));
3500
3505
  }, "updateItemBounds");
3501
3506
  }
3502
- y(o, "updateFn"), this.sequenceItems.forEach(o()), this.activations.forEach(o("activation"));
3507
+ t(s, "updateFn"), this.sequenceItems.forEach(s()), this.activations.forEach(s("activation"));
3503
3508
  }, "updateBounds"),
3504
- insert: /* @__PURE__ */ y(function(e, t, n, r) {
3509
+ insert: /* @__PURE__ */ t(function(e, t, n, r) {
3505
3510
  let i = h.getMin(e, n), a = h.getMax(e, n), o = h.getMin(t, r), s = h.getMax(t, r);
3506
3511
  this.updateVal(Q.data, "startx", i, Math.min), this.updateVal(Q.data, "starty", o, Math.min), this.updateVal(Q.data, "stopx", a, Math.max), this.updateVal(Q.data, "stopy", s, Math.max), this.updateBounds(i, o, a, s);
3507
3512
  }, "insert"),
3508
- newActivation: /* @__PURE__ */ y(function(e, t, n) {
3513
+ newActivation: /* @__PURE__ */ t(function(e, t, n) {
3509
3514
  let r = n.get(e.from), i = Ue(e.from).length || 0, a = r.x + r.width / 2 + (i - 1) * Z.activationWidth / 2;
3510
3515
  this.activations.push({
3511
3516
  startx: a,
@@ -3516,13 +3521,13 @@ var F = P, I = {
3516
3521
  anchored: X.anchorElement(t)
3517
3522
  });
3518
3523
  }, "newActivation"),
3519
- endActivation: /* @__PURE__ */ y(function(e) {
3524
+ endActivation: /* @__PURE__ */ t(function(e) {
3520
3525
  let t = this.activations.map(function(e) {
3521
3526
  return e.actor;
3522
3527
  }).lastIndexOf(e.from);
3523
3528
  return this.activations.splice(t, 1)[0];
3524
3529
  }, "endActivation"),
3525
- createLoop: /* @__PURE__ */ y(function(e = {
3530
+ createLoop: /* @__PURE__ */ t(function(e = {
3526
3531
  message: void 0,
3527
3532
  wrap: !1,
3528
3533
  width: void 0
@@ -3539,140 +3544,142 @@ var F = P, I = {
3539
3544
  fill: t
3540
3545
  };
3541
3546
  }, "createLoop"),
3542
- newLoop: /* @__PURE__ */ y(function(e = {
3547
+ newLoop: /* @__PURE__ */ t(function(e = {
3543
3548
  message: void 0,
3544
3549
  wrap: !1,
3545
3550
  width: void 0
3546
3551
  }, t) {
3547
3552
  this.sequenceItems.push(this.createLoop(e, t));
3548
3553
  }, "newLoop"),
3549
- endLoop: /* @__PURE__ */ y(function() {
3554
+ endLoop: /* @__PURE__ */ t(function() {
3550
3555
  return this.sequenceItems.pop();
3551
3556
  }, "endLoop"),
3552
- isLoopOverlap: /* @__PURE__ */ y(function() {
3557
+ isLoopOverlap: /* @__PURE__ */ t(function() {
3553
3558
  return this.sequenceItems.length ? this.sequenceItems[this.sequenceItems.length - 1].overlap : !1;
3554
3559
  }, "isLoopOverlap"),
3555
- addSectionToLoop: /* @__PURE__ */ y(function(e) {
3560
+ addSectionToLoop: /* @__PURE__ */ t(function(e) {
3556
3561
  let t = this.sequenceItems.pop();
3557
3562
  t.sections = t.sections || [], t.sectionTitles = t.sectionTitles || [], t.sections.push({
3558
3563
  y: Q.getVerticalPos(),
3559
3564
  height: 0
3560
3565
  }), t.sectionTitles.push(e), this.sequenceItems.push(t);
3561
3566
  }, "addSectionToLoop"),
3562
- saveVerticalPos: /* @__PURE__ */ y(function() {
3567
+ saveVerticalPos: /* @__PURE__ */ t(function() {
3563
3568
  this.isLoopOverlap() && (this.savedVerticalPos = this.verticalPos);
3564
3569
  }, "saveVerticalPos"),
3565
- resetVerticalPos: /* @__PURE__ */ y(function() {
3570
+ resetVerticalPos: /* @__PURE__ */ t(function() {
3566
3571
  this.isLoopOverlap() && (this.verticalPos = this.savedVerticalPos);
3567
3572
  }, "resetVerticalPos"),
3568
- bumpVerticalPos: /* @__PURE__ */ y(function(e) {
3573
+ bumpVerticalPos: /* @__PURE__ */ t(function(e) {
3569
3574
  this.verticalPos += e, this.data.stopy = h.getMax(this.data.stopy, this.verticalPos);
3570
3575
  }, "bumpVerticalPos"),
3571
- getVerticalPos: /* @__PURE__ */ y(function() {
3576
+ getVerticalPos: /* @__PURE__ */ t(function() {
3572
3577
  return this.verticalPos;
3573
3578
  }, "getVerticalPos"),
3574
- getBounds: /* @__PURE__ */ y(function() {
3579
+ getBounds: /* @__PURE__ */ t(function() {
3575
3580
  return {
3576
3581
  bounds: this.data,
3577
3582
  models: this.models
3578
3583
  };
3579
3584
  }, "getBounds")
3580
- }, Me = /* @__PURE__ */ y(async function(e, t, n) {
3585
+ }, Me = /* @__PURE__ */ t(async function(e, t, n) {
3581
3586
  Q.bumpVerticalPos(Z.boxMargin), t.height = Z.boxMargin, t.starty = Q.getVerticalPos();
3582
- let r = j();
3583
- r.x = t.startx, r.y = t.starty, r.width = t.width || Z.width, r.class = "note";
3584
- let i = e.append("g");
3585
- i.attr("data-et", "note"), i.attr("data-id", "i" + n);
3586
- let a = X.drawRect(i, r), o = D();
3587
- o.x = t.startx, o.y = t.starty, o.width = r.width, o.dy = "1em", o.text = t.message, o.class = "noteText", o.fontFamily = Z.noteFontFamily, o.fontSize = Z.noteFontSize, o.fontWeight = Z.noteFontWeight, o.anchor = Z.noteAlign, o.textMargin = Z.noteMargin, o.valign = "center";
3588
- let s = p(o.text) ? await oe(i, o) : G(i, o), c = Math.round(s.map((e) => (e._groups || e)[0][0].getBBox().height).reduce((e, t) => e + t));
3589
- a.attr("height", c + 2 * Z.noteMargin), t.height += c + 2 * Z.noteMargin, Q.bumpVerticalPos(c + 2 * Z.noteMargin), t.stopy = t.starty + c + 2 * Z.noteMargin, t.stopx = t.startx + r.width, Q.insert(t.startx, t.starty, t.stopx, t.stopy), Q.models.addNote(t);
3590
- }, "drawNote"), Ne = /* @__PURE__ */ y(function(e, t, n, r, i, a, o) {
3591
- let s = r.db.getActors(), c = s.get(t.from), l = s.get(t.to), u = n.sequenceVisible, d = c.x + c.width / 2, f = l.x + l.width / 2, p = d <= f, m = tt(t, r), h = e.append("g"), g = 16.5, _ = /* @__PURE__ */ y((e, t) => {
3592
- let n = e ? g : -g;
3587
+ let i = j();
3588
+ i.x = t.startx, i.y = t.starty, i.width = t.width || Z.width, i.class = "note";
3589
+ let a = e.append("g");
3590
+ a.attr("data-et", "note"), a.attr("data-id", "i" + n);
3591
+ let o = X.drawRect(a, i), s = D();
3592
+ s.x = t.startx, s.y = t.starty, s.width = i.width, s.dy = "1em", s.text = t.message, s.class = "noteText", s.fontFamily = Z.noteFontFamily, s.fontSize = Z.noteFontSize, s.fontWeight = Z.noteFontWeight, s.anchor = Z.noteAlign, s.textMargin = Z.noteMargin, s.valign = "center";
3593
+ let c = r(s.text) ? await oe(a, s) : G(a, s), l = Math.round(c.map((e) => (e._groups || e)[0][0].getBBox().height).reduce((e, t) => e + t));
3594
+ o.attr("height", l + 2 * Z.noteMargin), t.height += l + 2 * Z.noteMargin, Q.bumpVerticalPos(l + 2 * Z.noteMargin), t.stopy = t.starty + l + 2 * Z.noteMargin, t.stopx = t.startx + i.width, Q.insert(t.startx, t.starty, t.stopx, t.stopy), Q.models.addNote(t);
3595
+ }, "drawNote"), Ne = /* @__PURE__ */ t(function(e, n, r, i, a, o, s) {
3596
+ let c = i.db.getActors(), l = c.get(n.from), u = c.get(n.to), d = r.sequenceVisible, f = l.x + l.width / 2, p = u.x + u.width / 2, m = f <= p, h = tt(n, i), g = e.append("g"), _ = 16.5, v = /* @__PURE__ */ t((e, t) => {
3597
+ let n = e ? _ : -_;
3593
3598
  return t ? -n : n;
3594
- }, "getCircleOffset"), v = /* @__PURE__ */ y((e) => {
3595
- h.append("circle").attr("cx", e).attr("cy", o).attr("r", 5).attr("width", 10).attr("height", 10);
3596
- }, "drawCircle"), { CENTRAL_CONNECTION: b, CENTRAL_CONNECTION_REVERSE: x, CENTRAL_CONNECTION_DUAL: S } = r.db.LINETYPE;
3597
- if (u) switch (t.centralConnection) {
3599
+ }, "getCircleOffset"), y = /* @__PURE__ */ t((e) => {
3600
+ g.append("circle").attr("cx", e).attr("cy", s).attr("r", 5).attr("width", 10).attr("height", 10);
3601
+ }, "drawCircle"), { CENTRAL_CONNECTION: b, CENTRAL_CONNECTION_REVERSE: x, CENTRAL_CONNECTION_DUAL: S } = i.db.LINETYPE;
3602
+ if (d) switch (n.centralConnection) {
3598
3603
  case b:
3599
- m && (f += _(p, !0));
3604
+ h && (p += v(m, !0));
3600
3605
  break;
3601
3606
  case x:
3602
- m || (d += _(p, !1));
3607
+ h || (f += v(m, !1));
3603
3608
  break;
3604
3609
  case S:
3605
- m ? f += _(p, !0) : d += _(p, !1);
3610
+ h ? p += v(m, !0) : f += v(m, !1);
3606
3611
  break;
3607
3612
  }
3608
- switch (t.centralConnection) {
3613
+ switch (n.centralConnection) {
3609
3614
  case b:
3610
- v(f);
3615
+ y(p);
3611
3616
  break;
3612
3617
  case x:
3613
- v(d);
3618
+ y(f);
3614
3619
  break;
3615
3620
  case S:
3616
- v(d), v(f);
3621
+ y(f), y(p);
3617
3622
  break;
3618
3623
  }
3619
- }, "drawCentralConnection"), Pe = /* @__PURE__ */ y((e) => ({
3624
+ }, "drawCentralConnection"), Pe = /* @__PURE__ */ t((e) => ({
3620
3625
  fontFamily: e.messageFontFamily,
3621
3626
  fontSize: e.messageFontSize,
3622
3627
  fontWeight: e.messageFontWeight
3623
- }), "messageFont"), Fe = /* @__PURE__ */ y((e) => ({
3628
+ }), "messageFont"), Fe = /* @__PURE__ */ t((e) => ({
3624
3629
  fontFamily: e.noteFontFamily,
3625
3630
  fontSize: e.noteFontSize,
3626
3631
  fontWeight: e.noteFontWeight
3627
- }), "noteFont"), Ie = /* @__PURE__ */ y((e) => ({
3632
+ }), "noteFont"), Ie = /* @__PURE__ */ t((e) => ({
3628
3633
  fontFamily: e.actorFontFamily,
3629
3634
  fontSize: e.actorFontSize,
3630
3635
  fontWeight: e.actorFontWeight
3631
3636
  }), "actorFont");
3632
3637
  async function Le(e, t) {
3633
3638
  Q.bumpVerticalPos(10);
3634
- let { startx: n, stopx: r, message: i } = t, a = h.splitBreaks(i).length, o = p(i), s = o ? await f(i, u()) : C.calculateTextDimensions(i, Pe(Z));
3635
- if (!o) {
3636
- let e = s.height / a;
3639
+ let { startx: n, stopx: i, message: a } = t, o = h.splitBreaks(a).length, s = r(a), c = s ? await p(a, v()) : S.calculateTextDimensions(a, Pe(Z));
3640
+ if (!s) {
3641
+ let e = c.height / o;
3637
3642
  t.height += e, Q.bumpVerticalPos(e);
3638
3643
  }
3639
- let c, l = s.height - 10, d = s.width;
3640
- if (n === r) {
3641
- c = Q.getVerticalPos() + l, Z.rightAngles || (l += Z.boxMargin, c = Q.getVerticalPos() + l), l += 30;
3644
+ let l, u = c.height - 10, d = c.width;
3645
+ if (n === i) {
3646
+ l = Q.getVerticalPos() + u, Z.rightAngles || (u += Z.boxMargin, l = Q.getVerticalPos() + u), u += 30;
3642
3647
  let e = h.getMax(d / 2, Z.width / 2);
3643
- Q.insert(n - e, Q.getVerticalPos() - 10 + l, r + e, Q.getVerticalPos() + 30 + l);
3644
- } else l += Z.boxMargin, c = Q.getVerticalPos() + l, Q.insert(n, c - 10, r, c);
3645
- return Q.bumpVerticalPos(l), t.height += l, t.stopy = t.starty + t.height, Q.insert(t.fromBounds, t.starty, t.toBounds, t.stopy), c;
3648
+ Q.insert(n - e, Q.getVerticalPos() - 10 + u, i + e, Q.getVerticalPos() + 30 + u);
3649
+ } else u += Z.boxMargin, l = Q.getVerticalPos() + u, Q.insert(n, l - 10, i, l);
3650
+ return Q.bumpVerticalPos(u), t.height += u, t.stopy = t.starty + t.height, Q.insert(t.fromBounds, t.starty, t.toBounds, t.stopy), l;
3646
3651
  }
3647
- y(Le, "boundMessage");
3648
- var Re = /* @__PURE__ */ y(async function(e, t, r, i, a, o) {
3649
- let { startx: s, stopx: c, starty: l, message: u, type: d, sequenceIndex: f, sequenceVisible: m } = t, g = C.calculateTextDimensions(u, Pe(Z)), _ = D();
3650
- _.x = s, _.y = l + 10, _.width = c - s, _.class = "messageText", _.dy = "1em", _.text = u, _.fontFamily = Z.messageFontFamily, _.fontSize = Z.messageFontSize, _.fontWeight = Z.messageFontWeight, _.anchor = Z.messageAlign, _.valign = "center", _.textMargin = Z.wrapPadding, _.tspan = !1, p(_.text) ? await oe(e, _, {
3652
+ t(Le, "boundMessage");
3653
+ var Re = /* @__PURE__ */ t(async function(e, t, n, i, a, o) {
3654
+ let { startx: s, stopx: l, starty: u, message: d, type: f, sequenceIndex: p, sequenceVisible: m } = t, g = S.calculateTextDimensions(d, Pe(Z)), _ = D();
3655
+ _.x = Math.min(s, l), _.y = u + 10, _.width = Math.abs(l - s), _.class = "messageText", _.dy = "1em", _.text = d, _.fontFamily = Z.messageFontFamily, _.fontSize = Z.messageFontSize, _.fontWeight = Z.messageFontWeight, _.anchor = Z.messageAlign, _.valign = "center", _.textMargin = Z.wrapPadding, _.tspan = !1, r(_.text) ? await oe(e, _, {
3651
3656
  startx: s,
3652
- stopx: c,
3653
- starty: r
3657
+ stopx: l,
3658
+ starty: n
3654
3659
  }) : G(e, _);
3655
3660
  let v = g.width, y;
3656
- if (s === c) {
3657
- let n = m || Z.showSequenceNumbers, o = tt(a, i), l = nt(a, i), u = s + (n && (o || l) ? 10 : 0);
3658
- y = Z.rightAngles ? e.append("path").attr("d", `M ${u},${r} H ${s + h.getMax(Z.width / 2, v / 2)} V ${r + 25} H ${s}`) : e.append("path").attr("d", "M " + u + "," + r + " C " + (u + 60) + "," + (r - 10) + " " + (s + 60) + "," + (r + 30) + " " + s + "," + (r + 20)), $e(a, i) && Ne(e, a, t, i, s, c, r);
3659
- } else y = e.append("line"), y.attr("x1", s), y.attr("y1", r), y.attr("x2", c), y.attr("y2", r), $e(a, i) && Ne(e, a, t, i, s, c, r);
3660
- d === i.db.LINETYPE.DOTTED || d === i.db.LINETYPE.DOTTED_CROSS || d === i.db.LINETYPE.DOTTED_POINT || d === i.db.LINETYPE.DOTTED_OPEN || d === i.db.LINETYPE.BIDIRECTIONAL_DOTTED || d === i.db.LINETYPE.SOLID_TOP_DOTTED || d === i.db.LINETYPE.SOLID_BOTTOM_DOTTED || d === i.db.LINETYPE.STICK_TOP_DOTTED || d === i.db.LINETYPE.STICK_BOTTOM_DOTTED || d === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED || d === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED || d === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED || d === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED ? (y.style("stroke-dasharray", "3, 3"), y.attr("class", "messageLine1")) : y.attr("class", "messageLine0"), y.attr("data-et", "message"), y.attr("data-id", "i" + t.id), y.attr("data-from", t.from), y.attr("data-to", t.to);
3661
+ if (s === l) {
3662
+ let r = m || Z.showSequenceNumbers, o = tt(a, i), c = nt(a, i), u = s + (r && (o || c) ? 10 : 0);
3663
+ y = Z.rightAngles ? e.append("path").attr("d", `M ${u},${n} H ${s + h.getMax(Z.width / 2, v / 2)} V ${n + 25} H ${s}`) : e.append("path").attr("d", "M " + u + "," + n + " C " + (u + 60) + "," + (n - 10) + " " + (s + 60) + "," + (n + 30) + " " + s + "," + (n + 20)), $e(a, i) && Ne(e, a, t, i, s, l, n);
3664
+ } else y = e.append("line"), y.attr("x1", s), y.attr("y1", n), y.attr("x2", l), y.attr("y2", n), $e(a, i) && Ne(e, a, t, i, s, l, n);
3665
+ f === i.db.LINETYPE.DOTTED || f === i.db.LINETYPE.DOTTED_CROSS || f === i.db.LINETYPE.DOTTED_POINT || f === i.db.LINETYPE.DOTTED_OPEN || f === i.db.LINETYPE.BIDIRECTIONAL_DOTTED || f === i.db.LINETYPE.SOLID_TOP_DOTTED || f === i.db.LINETYPE.SOLID_BOTTOM_DOTTED || f === i.db.LINETYPE.STICK_TOP_DOTTED || f === i.db.LINETYPE.STICK_BOTTOM_DOTTED || f === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED || f === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED || f === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED || f === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED ? (y.style("stroke-dasharray", "3, 3"), y.attr("class", "messageLine1")) : y.attr("class", "messageLine0"), y.attr("data-et", "message"), y.attr("data-id", "i" + t.id), y.attr("data-from", t.from), y.attr("data-to", t.to);
3661
3666
  let b = "";
3662
- if (Z.arrowMarkerAbsolute && (b = n(!0)), y.attr("stroke-width", 2), y.attr("stroke", "none"), y.style("fill", "none"), (d === i.db.LINETYPE.SOLID_TOP || d === i.db.LINETYPE.SOLID_TOP_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-solidTopArrowHead)"), (d === i.db.LINETYPE.SOLID_BOTTOM || d === i.db.LINETYPE.SOLID_BOTTOM_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-solidBottomArrowHead)"), (d === i.db.LINETYPE.STICK_TOP || d === i.db.LINETYPE.STICK_TOP_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-stickTopArrowHead)"), (d === i.db.LINETYPE.STICK_BOTTOM || d === i.db.LINETYPE.STICK_BOTTOM_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-stickBottomArrowHead)"), (d === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE || d === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-solidBottomArrowHead)"), (d === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE || d === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-solidTopArrowHead)"), (d === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE || d === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-stickBottomArrowHead)"), (d === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE || d === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-stickTopArrowHead)"), (d === i.db.LINETYPE.SOLID || d === i.db.LINETYPE.DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-arrowhead)"), (d === i.db.LINETYPE.BIDIRECTIONAL_SOLID || d === i.db.LINETYPE.BIDIRECTIONAL_DOTTED) && (y.attr("marker-start", "url(" + b + "#" + o + "-arrowhead)"), y.attr("marker-end", "url(" + b + "#" + o + "-arrowhead)")), (d === i.db.LINETYPE.SOLID_POINT || d === i.db.LINETYPE.DOTTED_POINT) && y.attr("marker-end", "url(" + b + "#" + o + "-filled-head)"), (d === i.db.LINETYPE.SOLID_CROSS || d === i.db.LINETYPE.DOTTED_CROSS) && y.attr("marker-end", "url(" + b + "#" + o + "-crosshead)"), m || Z.showSequenceNumbers) {
3663
- let n = d === i.db.LINETYPE.BIDIRECTIONAL_SOLID || d === i.db.LINETYPE.BIDIRECTIONAL_DOTTED, l = d === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE || d === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED || d === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE || d === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED || d === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE || d === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED || d === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE || d === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED, u = $e(a, i), p = s, m = c;
3664
- n ? (s < c ? p = s + 12 : (p = s - 6 + (u ? -5 : 0), p += a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_DUAL || a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_REVERSE ? -7.5 : 0), y.attr("x1", p)) : l ? (c > s ? m = c - 12 : (m = c - 6, p += a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_DUAL || a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_REVERSE ? -7.5 : 0), m += u ? 15 : 0, y.attr("x2", m), y.attr("x1", p)) : y.attr("x1", s + 6);
3665
- let h = 0, g = s === c, _ = s <= c;
3666
- h = g ? t.fromBounds + 1 : l ? _ ? t.toBounds - 1 : t.fromBounds + 1 : _ ? t.fromBounds + 1 : t.toBounds - 1, e.append("line").attr("x1", h).attr("y1", r).attr("x2", h).attr("y2", r).attr("stroke-width", 0).attr("marker-start", "url(" + b + "#" + o + "-sequencenumber)"), e.append("text").attr("x", h).attr("y", r + 4).attr("font-family", "sans-serif").attr("font-size", "12px").attr("text-anchor", "middle").attr("class", "sequenceNumber").text(f);
3667
+ if (Z.arrowMarkerAbsolute && (b = c(!0)), y.attr("stroke-width", 2), y.attr("stroke", "none"), y.style("fill", "none"), (f === i.db.LINETYPE.SOLID_TOP || f === i.db.LINETYPE.SOLID_TOP_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-solidTopArrowHead)"), (f === i.db.LINETYPE.SOLID_BOTTOM || f === i.db.LINETYPE.SOLID_BOTTOM_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-solidBottomArrowHead)"), (f === i.db.LINETYPE.STICK_TOP || f === i.db.LINETYPE.STICK_TOP_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-stickTopArrowHead)"), (f === i.db.LINETYPE.STICK_BOTTOM || f === i.db.LINETYPE.STICK_BOTTOM_DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-stickBottomArrowHead)"), (f === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE || f === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-solidBottomArrowHead)"), (f === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE || f === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-solidTopArrowHead)"), (f === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE || f === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-stickBottomArrowHead)"), (f === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE || f === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED) && y.attr("marker-start", "url(" + b + "#" + o + "-stickTopArrowHead)"), (f === i.db.LINETYPE.SOLID || f === i.db.LINETYPE.DOTTED) && y.attr("marker-end", "url(" + b + "#" + o + "-arrowhead)"), (f === i.db.LINETYPE.BIDIRECTIONAL_SOLID || f === i.db.LINETYPE.BIDIRECTIONAL_DOTTED) && (y.attr("marker-start", "url(" + b + "#" + o + "-arrowhead)"), y.attr("marker-end", "url(" + b + "#" + o + "-arrowhead)")), (f === i.db.LINETYPE.SOLID_POINT || f === i.db.LINETYPE.DOTTED_POINT) && y.attr("marker-end", "url(" + b + "#" + o + "-filled-head)"), (f === i.db.LINETYPE.SOLID_CROSS || f === i.db.LINETYPE.DOTTED_CROSS) && y.attr("marker-end", "url(" + b + "#" + o + "-crosshead)"), m || Z.showSequenceNumbers) {
3668
+ let r = f === i.db.LINETYPE.BIDIRECTIONAL_SOLID || f === i.db.LINETYPE.BIDIRECTIONAL_DOTTED, c = f === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE || f === i.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED || f === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE || f === i.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED || f === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE || f === i.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED || f === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE || f === i.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED, u = $e(a, i), d = s, m = l;
3669
+ r ? (s < l ? d = s + 12 : (d = s - 6 + (u ? -5 : 0), d += a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_DUAL || a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_REVERSE ? -7.5 : 0), y.attr("x1", d)) : c ? (l > s ? m = l - 12 : (m = l - 6, d += a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_DUAL || a?.centralConnection === i.db.LINETYPE.CENTRAL_CONNECTION_REVERSE ? -7.5 : 0), m += u ? 15 : 0, y.attr("x2", m), y.attr("x1", d)) : y.attr("x1", s + 6);
3670
+ let h = 0, g = s === l, _ = s <= l;
3671
+ h = g ? t.fromBounds + 1 : c ? _ ? t.toBounds - 1 : t.fromBounds + 1 : _ ? t.fromBounds + 1 : t.toBounds - 1;
3672
+ let v = "12px", x = p.toString().length;
3673
+ x > 5 ? v = "7px" : x > 3 && (v = "9px"), e.append("line").attr("x1", h).attr("y1", n).attr("x2", h).attr("y2", n).attr("stroke-width", 0).attr("marker-start", "url(" + b + "#" + o + "-sequencenumber)"), e.append("text").attr("x", h).attr("y", n + 4).attr("font-family", "sans-serif").attr("font-size", v).attr("text-anchor", "middle").attr("class", "sequenceNumber").text(p);
3667
3674
  }
3668
- }, "drawMessage"), ze = /* @__PURE__ */ y(function(e, t, n, r, i, a, o) {
3675
+ }, "drawMessage"), ze = /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
3669
3676
  let s = 0, c = 0, l, u = 0;
3670
3677
  for (let e of r) {
3671
3678
  let r = t.get(e), a = r.box;
3672
3679
  l && l != a && (o || Q.models.addBox(l), c += Z.boxMargin + l.margin), a && a != l && (o || (a.x = s + c, a.y = i), c += a.margin), r.width = h.getMax(r.width || Z.width, Z.width), r.height = h.getMax(r.height || Z.height, Z.height), r.margin = r.margin || Z.actorMargin, u = h.getMax(u, r.height), n.get(r.name) && (c += r.width / 2), r.x = s + c, r.starty = Q.getVerticalPos(), Q.insert(r.x, i, r.x + r.width, r.height), s += r.width + c, r.box && (r.box.width = s + a.margin - r.box.x), c = r.margin, l = r.box, Q.models.addActor(r);
3673
3680
  }
3674
3681
  l && !o && Q.models.addBox(l), Q.bumpVerticalPos(u);
3675
- }, "addActorRenderingData"), Be = /* @__PURE__ */ y(async function(e, t, n, r, i, a, o) {
3682
+ }, "addActorRenderingData"), Be = /* @__PURE__ */ t(async function(e, t, n, r, i, a, o) {
3676
3683
  if (r) {
3677
3684
  let r = 0;
3678
3685
  Q.bumpVerticalPos(Z.boxMargin * 2);
@@ -3687,7 +3694,7 @@ var Re = /* @__PURE__ */ y(async function(e, t, r, i, a, o) {
3687
3694
  let n = t.get(r);
3688
3695
  await X.drawActor(e, n, Z, !1, i, a, o);
3689
3696
  }
3690
- }, "drawActors"), Ve = /* @__PURE__ */ y(function(e, t, n, r) {
3697
+ }, "drawActors"), Ve = /* @__PURE__ */ t(function(e, t, n, r) {
3691
3698
  let i = 0, a = 0;
3692
3699
  for (let o of n) {
3693
3700
  let n = t.get(o), s = Je(n), c = X.drawPopup(e, n, s, Z, Z.forceMenus, r);
@@ -3697,13 +3704,13 @@ var Re = /* @__PURE__ */ y(async function(e, t, r, i, a, o) {
3697
3704
  maxHeight: i,
3698
3705
  maxWidth: a
3699
3706
  };
3700
- }, "drawActorsPopup"), He = /* @__PURE__ */ y(function(e) {
3707
+ }, "drawActorsPopup"), He = /* @__PURE__ */ t(function(e) {
3701
3708
  m(Z, e), e.fontFamily && (Z.actorFontFamily = Z.noteFontFamily = Z.messageFontFamily = e.fontFamily), e.fontSize && (Z.actorFontSize = Z.noteFontSize = Z.messageFontSize = e.fontSize), e.fontWeight && (Z.actorFontWeight = Z.noteFontWeight = Z.messageFontWeight = e.fontWeight);
3702
- }, "setConf"), Ue = /* @__PURE__ */ y(function(e) {
3709
+ }, "setConf"), Ue = /* @__PURE__ */ t(function(e) {
3703
3710
  return Q.activations.filter(function(t) {
3704
3711
  return t.actor === e;
3705
3712
  });
3706
- }, "actorActivations"), We = /* @__PURE__ */ y(function(e, t) {
3713
+ }, "actorActivations"), We = /* @__PURE__ */ t(function(e, t) {
3707
3714
  let n = t.get(e), r = Ue(e);
3708
3715
  return [r.reduce(function(e, t) {
3709
3716
  return h.getMin(e, t.startx);
@@ -3711,193 +3718,193 @@ var Re = /* @__PURE__ */ y(async function(e, t, r, i, a, o) {
3711
3718
  return h.getMax(e, t.stopx);
3712
3719
  }, n.x + n.width / 2 + 1)];
3713
3720
  }, "activationBounds");
3714
- function $(e, t, n, r, i) {
3715
- Q.bumpVerticalPos(n);
3716
- let a = r;
3717
- if (t.id && t.message && e[t.id]) {
3718
- let n = e[t.id].width, i = Pe(Z);
3719
- t.message = C.wrapLabel(`[${t.message}]`, n - 2 * Z.wrapPadding, i), t.width = n, t.wrap = !0;
3720
- let o = C.calculateTextDimensions(t.message, i), s = h.getMax(o.height, Z.labelBoxHeight);
3721
- a = r + s, v.debug(`${s} - ${t.message}`);
3721
+ function $(t, n, r, i, a) {
3722
+ Q.bumpVerticalPos(r);
3723
+ let o = i;
3724
+ if (n.id && n.message && t[n.id]) {
3725
+ let r = t[n.id].width, a = Pe(Z);
3726
+ n.message = S.wrapLabel(`[${n.message}]`, r - 2 * Z.wrapPadding, a), n.width = r, n.wrap = !0;
3727
+ let s = S.calculateTextDimensions(n.message, a), c = h.getMax(s.height, Z.labelBoxHeight);
3728
+ o = i + c, e.debug(`${c} - ${n.message}`);
3722
3729
  }
3723
- i(t), Q.bumpVerticalPos(a);
3730
+ a(n), Q.bumpVerticalPos(o);
3724
3731
  }
3725
- y($, "adjustLoopHeightForWrap");
3726
- function Ge(e, t, n, r, i, a, o) {
3727
- function s(n, r) {
3728
- n.x < i.get(e.from).x ? (Q.insert(t.stopx - r, t.starty, t.startx, t.stopy + n.height / 2 + Z.noteMargin), t.stopx += r) : (Q.insert(t.startx, t.starty, t.stopx + r, t.stopy + n.height / 2 + Z.noteMargin), t.stopx -= r);
3732
+ t($, "adjustLoopHeightForWrap");
3733
+ function Ge(e, n, r, i, a, o, s) {
3734
+ function c(t, r) {
3735
+ t.x < a.get(e.from).x ? (Q.insert(n.stopx - r, n.starty, n.startx, n.stopy + t.height / 2 + Z.noteMargin), n.stopx += r) : (Q.insert(n.startx, n.starty, n.stopx + r, n.stopy + t.height / 2 + Z.noteMargin), n.stopx -= r);
3729
3736
  }
3730
- y(s, "receiverAdjustment");
3731
- function c(n, r) {
3732
- n.x < i.get(e.to).x ? (Q.insert(t.startx - r, t.starty, t.stopx, t.stopy + n.height / 2 + Z.noteMargin), t.startx += r) : (Q.insert(t.stopx, t.starty, t.startx + r, t.stopy + n.height / 2 + Z.noteMargin), t.startx -= r);
3737
+ t(c, "receiverAdjustment");
3738
+ function l(t, r) {
3739
+ t.x < a.get(e.to).x ? (Q.insert(n.startx - r, n.starty, n.stopx, n.stopy + t.height / 2 + Z.noteMargin), n.startx += r) : (Q.insert(n.stopx, n.starty, n.startx + r, n.stopy + t.height / 2 + Z.noteMargin), n.startx -= r);
3733
3740
  }
3734
- y(c, "senderAdjustment");
3735
- let l = [
3741
+ t(l, "senderAdjustment");
3742
+ let u = [
3736
3743
  R.ACTOR,
3737
3744
  R.CONTROL,
3738
3745
  R.ENTITY,
3739
3746
  R.DATABASE
3740
3747
  ];
3741
- if (a.get(e.to) == r) {
3742
- let t = i.get(e.to);
3743
- s(t, l.includes(t.type) ? z / 2 + 3 : t.width / 2 + 3), t.starty = n - t.height / 2, Q.bumpVerticalPos(t.height / 2);
3744
- } else if (o.get(e.from) == r) {
3745
- let t = i.get(e.from);
3746
- Z.mirrorActors && c(t, l.includes(t.type) ? z / 2 : t.width / 2), t.stopy = n - t.height / 2, Q.bumpVerticalPos(t.height / 2);
3747
- } else if (o.get(e.to) == r) {
3748
- let t = i.get(e.to);
3749
- Z.mirrorActors && s(t, l.includes(t.type) ? z / 2 + 3 : t.width / 2 + 3), t.stopy = n - t.height / 2, Q.bumpVerticalPos(t.height / 2);
3748
+ if (o.get(e.to) == i) {
3749
+ let t = a.get(e.to);
3750
+ c(t, u.includes(t.type) ? z / 2 + 3 : t.width / 2 + 3), t.starty = r - t.height / 2, Q.bumpVerticalPos(t.height / 2);
3751
+ } else if (s.get(e.from) == i) {
3752
+ let t = a.get(e.from);
3753
+ Z.mirrorActors && l(t, u.includes(t.type) ? z / 2 : t.width / 2), t.stopy = r - t.height / 2, Q.bumpVerticalPos(t.height / 2);
3754
+ } else if (s.get(e.to) == i) {
3755
+ let t = a.get(e.to);
3756
+ Z.mirrorActors && c(t, u.includes(t.type) ? z / 2 + 3 : t.width / 2 + 3), t.stopy = r - t.height / 2, Q.bumpVerticalPos(t.height / 2);
3750
3757
  }
3751
3758
  }
3752
- y(Ge, "adjustCreatedDestroyedData");
3753
- var Ke = /* @__PURE__ */ y(async function(e, t, n, r) {
3754
- let { securityLevel: i, sequence: a, look: o } = u();
3755
- Z = a;
3756
- let s;
3757
- i === "sandbox" && (s = b("#i" + t));
3758
- let c = b(i === "sandbox" ? s.nodes()[0].contentDocument.body : "body"), l = i === "sandbox" ? s.nodes()[0].contentDocument : document;
3759
- Q.init(), v.debug(r.db);
3760
- let f = i === "sandbox" ? c.select(`[id="${t}"]`) : b(`[id="${t}"]`), p = r.db.getActors(), m = r.db.getCreatedActors(), h = r.db.getDestroyedActors(), g = r.db.getBoxes(), _ = r.db.getActorKeys(), x = r.db.getMessages(), S = r.db.getDiagramTitle(), C = r.db.hasAtLeastOneBox(), w = r.db.hasAtLeastOneBoxWithTitle(), T = await qe(p, x, r);
3761
- if (Z.height = await Ye(p, T, g), X.insertComputerIcon(f, t), X.insertDatabaseIcon(f, t), X.insertClockIcon(f, t), C && (Q.bumpVerticalPos(Z.boxMargin), w && Q.bumpVerticalPos(g[0].textMaxHeight)), Z.hideUnusedParticipants === !0) {
3759
+ t(Ge, "adjustCreatedDestroyedData");
3760
+ var Ke = /* @__PURE__ */ t(async function(r, i, a, o) {
3761
+ let { securityLevel: s, sequence: c, look: l } = v();
3762
+ Z = c;
3763
+ let u;
3764
+ s === "sandbox" && (u = n("#i" + i));
3765
+ let d = n(s === "sandbox" ? u.nodes()[0].contentDocument.body : "body"), p = s === "sandbox" ? u.nodes()[0].contentDocument : document;
3766
+ Q.init(), e.debug(o.db);
3767
+ let m = s === "sandbox" ? d.select(`[id="${i}"]`) : n(`[id="${i}"]`), h = o.db.getActors(), g = o.db.getCreatedActors(), _ = o.db.getDestroyedActors(), y = o.db.getBoxes(), b = o.db.getActorKeys(), x = o.db.getMessages(), S = o.db.getDiagramTitle(), C = o.db.hasAtLeastOneBox(), w = o.db.hasAtLeastOneBoxWithTitle(), T = await qe(h, x, o);
3768
+ if (Z.height = await Ye(h, T, y), X.insertComputerIcon(m, i), X.insertDatabaseIcon(m, i), X.insertClockIcon(m, i), C && (Q.bumpVerticalPos(Z.boxMargin), w && Q.bumpVerticalPos(y[0].textMaxHeight)), Z.hideUnusedParticipants === !0) {
3762
3769
  let e = /* @__PURE__ */ new Set();
3763
3770
  x.forEach((t) => {
3764
3771
  e.add(t.from), e.add(t.to);
3765
- }), _ = _.filter((t) => e.has(t));
3772
+ }), b = b.filter((t) => e.has(t));
3766
3773
  }
3767
- let E = new Map(_.map((e, t) => [p.get(e)?.name ?? e, t]));
3768
- ze(f, p, m, _, 0, x, !1);
3769
- let D = await it(x, p, T, r);
3770
- X.insertArrowHead(f, t), X.insertArrowCrossHead(f, t), X.insertArrowFilledHead(f, t), X.insertSequenceNumber(f, t), X.insertSolidTopArrowHead(f, t), X.insertSolidBottomArrowHead(f, t), X.insertStickTopArrowHead(f, t), X.insertStickBottomArrowHead(f, t), o === "neo" && X.insertDropShadow(f, Z);
3774
+ let E = new Map(b.map((e, t) => [h.get(e)?.name ?? e, t]));
3775
+ ze(m, h, g, b, 0, x, !1);
3776
+ let D = await it(x, h, T, o);
3777
+ X.insertArrowHead(m, i), X.insertArrowCrossHead(m, i), X.insertArrowFilledHead(m, i), X.insertSequenceNumber(m, i), X.insertSolidTopArrowHead(m, i), X.insertSolidBottomArrowHead(m, i), X.insertStickTopArrowHead(m, i), X.insertStickBottomArrowHead(m, i), l === "neo" && X.insertDropShadow(m, Z);
3771
3778
  function O(e, t) {
3772
3779
  let n = Q.endActivation(e);
3773
- n.starty + 18 > t && (n.starty = t - 6, t += 12), X.drawActivation(f, n, t, Z, Ue(e.from).length, r, E), Q.insert(n.startx, t - 10, n.stopx, t);
3780
+ n.starty + 18 > t && (n.starty = t - 6, t += 12), X.drawActivation(m, n, t, Z, Ue(e.from).length, o, E), Q.insert(n.startx, t - 10, n.stopx, t);
3774
3781
  }
3775
- y(O, "activeEnd");
3782
+ t(O, "activeEnd");
3776
3783
  let k = 1, A = 1, j = [], M = [], N = 0;
3777
- for (let e of x) {
3778
- let t, n, i;
3779
- switch (e.type) {
3780
- case r.db.LINETYPE.NOTE:
3781
- Q.resetVerticalPos(), n = e.noteModel, await Me(f, n, e.id);
3784
+ for (let t of x) {
3785
+ let n, r, i;
3786
+ switch (t.type) {
3787
+ case o.db.LINETYPE.NOTE:
3788
+ Q.resetVerticalPos(), r = t.noteModel, await Me(m, r, t.id);
3782
3789
  break;
3783
- case r.db.LINETYPE.ACTIVE_START:
3784
- Q.newActivation(e, f, p);
3790
+ case o.db.LINETYPE.ACTIVE_START:
3791
+ Q.newActivation(t, m, h);
3785
3792
  break;
3786
- case r.db.LINETYPE.CENTRAL_CONNECTION:
3787
- Q.newActivation(e, f, p);
3793
+ case o.db.LINETYPE.CENTRAL_CONNECTION:
3794
+ Q.newActivation(t, m, h);
3788
3795
  break;
3789
- case r.db.LINETYPE.CENTRAL_CONNECTION_REVERSE:
3790
- Q.newActivation(e, f, p);
3796
+ case o.db.LINETYPE.CENTRAL_CONNECTION_REVERSE:
3797
+ Q.newActivation(t, m, h);
3791
3798
  break;
3792
- case r.db.LINETYPE.ACTIVE_END:
3793
- O(e, Q.getVerticalPos());
3799
+ case o.db.LINETYPE.ACTIVE_END:
3800
+ O(t, Q.getVerticalPos());
3794
3801
  break;
3795
- case r.db.LINETYPE.LOOP_START:
3796
- $(D, e, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3802
+ case o.db.LINETYPE.LOOP_START:
3803
+ $(D, t, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3797
3804
  break;
3798
- case r.db.LINETYPE.LOOP_END:
3799
- t = Q.endLoop(), await X.drawLoop(f, t, "loop", Z, e), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos()), Q.models.addLoop(t);
3805
+ case o.db.LINETYPE.LOOP_END:
3806
+ n = Q.endLoop(), await X.drawLoop(m, n, "loop", Z, t), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos()), Q.models.addLoop(n);
3800
3807
  break;
3801
- case r.db.LINETYPE.RECT_START:
3802
- $(D, e, Z.boxMargin, Z.boxMargin, (e) => Q.newLoop(void 0, e.message));
3808
+ case o.db.LINETYPE.RECT_START:
3809
+ $(D, t, Z.boxMargin, Z.boxMargin, (e) => Q.newLoop(void 0, e.message));
3803
3810
  break;
3804
- case r.db.LINETYPE.RECT_END:
3805
- t = Q.endLoop(), M.push(t), Q.models.addLoop(t), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos());
3811
+ case o.db.LINETYPE.RECT_END:
3812
+ n = Q.endLoop(), M.push(n), Q.models.addLoop(n), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos());
3806
3813
  break;
3807
- case r.db.LINETYPE.OPT_START:
3808
- $(D, e, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3814
+ case o.db.LINETYPE.OPT_START:
3815
+ $(D, t, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3809
3816
  break;
3810
- case r.db.LINETYPE.OPT_END:
3811
- t = Q.endLoop(), await X.drawLoop(f, t, "opt", Z, e), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos()), Q.models.addLoop(t);
3817
+ case o.db.LINETYPE.OPT_END:
3818
+ n = Q.endLoop(), await X.drawLoop(m, n, "opt", Z, t), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos()), Q.models.addLoop(n);
3812
3819
  break;
3813
- case r.db.LINETYPE.ALT_START:
3814
- $(D, e, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3820
+ case o.db.LINETYPE.ALT_START:
3821
+ $(D, t, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3815
3822
  break;
3816
- case r.db.LINETYPE.ALT_ELSE:
3817
- $(D, e, Z.boxMargin + Z.boxTextMargin, Z.boxMargin, (e) => Q.addSectionToLoop(e));
3823
+ case o.db.LINETYPE.ALT_ELSE:
3824
+ $(D, t, Z.boxMargin + Z.boxTextMargin, Z.boxMargin, (e) => Q.addSectionToLoop(e));
3818
3825
  break;
3819
- case r.db.LINETYPE.ALT_END:
3820
- t = Q.endLoop(), await X.drawLoop(f, t, "alt", Z, e), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos()), Q.models.addLoop(t);
3826
+ case o.db.LINETYPE.ALT_END:
3827
+ n = Q.endLoop(), await X.drawLoop(m, n, "alt", Z, t), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos()), Q.models.addLoop(n);
3821
3828
  break;
3822
- case r.db.LINETYPE.PAR_START:
3823
- case r.db.LINETYPE.PAR_OVER_START:
3824
- $(D, e, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e)), Q.saveVerticalPos();
3829
+ case o.db.LINETYPE.PAR_START:
3830
+ case o.db.LINETYPE.PAR_OVER_START:
3831
+ $(D, t, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e)), Q.saveVerticalPos();
3825
3832
  break;
3826
- case r.db.LINETYPE.PAR_AND:
3827
- $(D, e, Z.boxMargin + Z.boxTextMargin, Z.boxMargin, (e) => Q.addSectionToLoop(e));
3833
+ case o.db.LINETYPE.PAR_AND:
3834
+ $(D, t, Z.boxMargin + Z.boxTextMargin, Z.boxMargin, (e) => Q.addSectionToLoop(e));
3828
3835
  break;
3829
- case r.db.LINETYPE.PAR_END:
3830
- t = Q.endLoop(), await X.drawLoop(f, t, "par", Z, e), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos()), Q.models.addLoop(t);
3836
+ case o.db.LINETYPE.PAR_END:
3837
+ n = Q.endLoop(), await X.drawLoop(m, n, "par", Z, t), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos()), Q.models.addLoop(n);
3831
3838
  break;
3832
- case r.db.LINETYPE.AUTONUMBER:
3833
- k = e.message.start || k, A = e.message.step || A, e.message.visible ? r.db.enableSequenceNumbers() : r.db.disableSequenceNumbers();
3839
+ case o.db.LINETYPE.AUTONUMBER:
3840
+ k = t.message.start || k, A = t.message.step || A, t.message.visible ? o.db.enableSequenceNumbers() : o.db.disableSequenceNumbers();
3834
3841
  break;
3835
- case r.db.LINETYPE.CRITICAL_START:
3836
- $(D, e, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3842
+ case o.db.LINETYPE.CRITICAL_START:
3843
+ $(D, t, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3837
3844
  break;
3838
- case r.db.LINETYPE.CRITICAL_OPTION:
3839
- $(D, e, Z.boxMargin + Z.boxTextMargin, Z.boxMargin, (e) => Q.addSectionToLoop(e));
3845
+ case o.db.LINETYPE.CRITICAL_OPTION:
3846
+ $(D, t, Z.boxMargin + Z.boxTextMargin, Z.boxMargin, (e) => Q.addSectionToLoop(e));
3840
3847
  break;
3841
- case r.db.LINETYPE.CRITICAL_END:
3842
- t = Q.endLoop(), await X.drawLoop(f, t, "critical", Z, e), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos()), Q.models.addLoop(t);
3848
+ case o.db.LINETYPE.CRITICAL_END:
3849
+ n = Q.endLoop(), await X.drawLoop(m, n, "critical", Z, t), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos()), Q.models.addLoop(n);
3843
3850
  break;
3844
- case r.db.LINETYPE.BREAK_START:
3845
- $(D, e, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3851
+ case o.db.LINETYPE.BREAK_START:
3852
+ $(D, t, Z.boxMargin, Z.boxMargin + Z.boxTextMargin, (e) => Q.newLoop(e));
3846
3853
  break;
3847
- case r.db.LINETYPE.BREAK_END:
3848
- t = Q.endLoop(), await X.drawLoop(f, t, "break", Z, e), Q.bumpVerticalPos(t.stopy - Q.getVerticalPos()), Q.models.addLoop(t);
3854
+ case o.db.LINETYPE.BREAK_END:
3855
+ n = Q.endLoop(), await X.drawLoop(m, n, "break", Z, t), Q.bumpVerticalPos(n.stopy - Q.getVerticalPos()), Q.models.addLoop(n);
3849
3856
  break;
3850
3857
  default: try {
3851
- i = e.msgModel, i.starty = Q.getVerticalPos(), i.sequenceIndex = k, i.sequenceVisible = r.db.showSequenceNumbers(), i.id = e.id, i.from = e.from, i.to = e.to;
3852
- let t = await Le(f, i);
3853
- Ge(e, i, t, N, p, m, h), j.push({
3858
+ i = t.msgModel, i.starty = Q.getVerticalPos(), i.sequenceIndex = k, i.sequenceVisible = o.db.showSequenceNumbers(), i.id = t.id, i.from = t.from, i.to = t.to;
3859
+ let e = await Le(m, i);
3860
+ Ge(t, i, e, N, h, g, _), j.push({
3854
3861
  messageModel: i,
3855
- lineStartY: t,
3856
- msg: e
3862
+ lineStartY: e,
3863
+ msg: t
3857
3864
  }), Q.models.addMessage(i);
3858
- } catch (e) {
3859
- v.error("error while drawing message", e);
3865
+ } catch (t) {
3866
+ e.error("error while drawing message", t);
3860
3867
  }
3861
3868
  }
3862
3869
  [
3863
- r.db.LINETYPE.SOLID_OPEN,
3864
- r.db.LINETYPE.DOTTED_OPEN,
3865
- r.db.LINETYPE.SOLID,
3866
- r.db.LINETYPE.SOLID_TOP,
3867
- r.db.LINETYPE.SOLID_BOTTOM,
3868
- r.db.LINETYPE.STICK_TOP,
3869
- r.db.LINETYPE.STICK_BOTTOM,
3870
- r.db.LINETYPE.SOLID_TOP_DOTTED,
3871
- r.db.LINETYPE.SOLID_BOTTOM_DOTTED,
3872
- r.db.LINETYPE.STICK_TOP_DOTTED,
3873
- r.db.LINETYPE.STICK_BOTTOM_DOTTED,
3874
- r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
3875
- r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,
3876
- r.db.LINETYPE.STICK_ARROW_TOP_REVERSE,
3877
- r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,
3878
- r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
3879
- r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
3880
- r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,
3881
- r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,
3882
- r.db.LINETYPE.DOTTED,
3883
- r.db.LINETYPE.SOLID_CROSS,
3884
- r.db.LINETYPE.DOTTED_CROSS,
3885
- r.db.LINETYPE.SOLID_POINT,
3886
- r.db.LINETYPE.DOTTED_POINT,
3887
- r.db.LINETYPE.BIDIRECTIONAL_SOLID,
3888
- r.db.LINETYPE.BIDIRECTIONAL_DOTTED
3889
- ].includes(e.type) && (k += A), N++;
3870
+ o.db.LINETYPE.SOLID_OPEN,
3871
+ o.db.LINETYPE.DOTTED_OPEN,
3872
+ o.db.LINETYPE.SOLID,
3873
+ o.db.LINETYPE.SOLID_TOP,
3874
+ o.db.LINETYPE.SOLID_BOTTOM,
3875
+ o.db.LINETYPE.STICK_TOP,
3876
+ o.db.LINETYPE.STICK_BOTTOM,
3877
+ o.db.LINETYPE.SOLID_TOP_DOTTED,
3878
+ o.db.LINETYPE.SOLID_BOTTOM_DOTTED,
3879
+ o.db.LINETYPE.STICK_TOP_DOTTED,
3880
+ o.db.LINETYPE.STICK_BOTTOM_DOTTED,
3881
+ o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
3882
+ o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,
3883
+ o.db.LINETYPE.STICK_ARROW_TOP_REVERSE,
3884
+ o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,
3885
+ o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
3886
+ o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
3887
+ o.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,
3888
+ o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,
3889
+ o.db.LINETYPE.DOTTED,
3890
+ o.db.LINETYPE.SOLID_CROSS,
3891
+ o.db.LINETYPE.DOTTED_CROSS,
3892
+ o.db.LINETYPE.SOLID_POINT,
3893
+ o.db.LINETYPE.DOTTED_POINT,
3894
+ o.db.LINETYPE.BIDIRECTIONAL_SOLID,
3895
+ o.db.LINETYPE.BIDIRECTIONAL_DOTTED
3896
+ ].includes(t.type) && (k = Math.round((k + A) * 100) / 100), N++;
3890
3897
  }
3891
- v.debug("createdActors", m), v.debug("destroyedActors", h), await Be(f, p, _, !1, t, r, E);
3892
- for (let e of j) await Re(f, e.messageModel, e.lineStartY, r, e.msg, t);
3893
- Z.mirrorActors && await Be(f, p, _, !0, t, r, E), M.forEach((e) => X.drawBackgroundRect(f, e)), ce(f, p, _, Z);
3898
+ e.debug("createdActors", g), e.debug("destroyedActors", _), await Be(m, h, b, !1, i, o, E);
3899
+ for (let e of j) await Re(m, e.messageModel, e.lineStartY, o, e.msg, i);
3900
+ Z.mirrorActors && await Be(m, h, b, !0, i, o, E), M.forEach((e) => X.drawBackgroundRect(m, e)), ce(m, h, b, Z);
3894
3901
  for (let e of Q.models.boxes) {
3895
3902
  e.height = Q.getVerticalPos() - e.y, Q.insert(e.x, e.y, e.x + e.width, e.height);
3896
3903
  let t = Z.boxMargin * 2;
3897
- e.startx = e.x - t, e.starty = e.y - t * .25, e.stopx = e.startx + e.width + 2 * t, e.stopy = e.starty + e.height + t * .75, e.stroke = "rgb(0,0,0, 0.5)", X.drawBox(f, e, Z);
3904
+ e.startx = e.x - t, e.starty = e.y - t * .25, e.stopx = e.startx + e.width + 2 * t, e.stopy = e.starty + e.height + t * .75, e.stroke = "rgb(0,0,0, 0.5)", X.drawBox(m, e, Z);
3898
3905
  }
3899
3906
  C && Q.bumpVerticalPos(Z.boxMargin);
3900
- let P = Ve(f, p, _, l), { bounds: F } = Q.getBounds();
3907
+ let P = Ve(m, h, b, p), { bounds: F } = Q.getBounds();
3901
3908
  F.startx === void 0 && (F.startx = 0), F.starty === void 0 && (F.starty = 0), F.stopx === void 0 && (F.stopx = 0), F.stopy === void 0 && (F.stopy = 0);
3902
3909
  let I = F.stopy - F.starty;
3903
3910
  I < P.maxHeight && (I = P.maxHeight);
@@ -3906,36 +3913,36 @@ var Ke = /* @__PURE__ */ y(async function(e, t, n, r) {
3906
3913
  let ee = F.stopx - F.startx;
3907
3914
  ee < P.maxWidth && (ee = P.maxWidth);
3908
3915
  let R = ee + 2 * Z.diagramMarginX;
3909
- S && f.append("text").text(S).attr("x", (F.stopx - F.startx) / 2 - 2 * Z.diagramMarginX).attr("y", -25), d(f, L, R, Z.useMaxWidth);
3910
- let te = S ? 40 : 0, ne = p.size && o === "neo" ? 30 : 0;
3911
- f.attr("viewBox", F.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + te) + " " + R + " " + (L + te + ne)), v.debug("models:", Q.models);
3916
+ S && m.append("text").text(S).attr("x", (F.stopx - F.startx) / 2 - 2 * Z.diagramMarginX).attr("y", -25), f(m, L, R, Z.useMaxWidth);
3917
+ let te = S ? 40 : 0, ne = h.size && l === "neo" ? 30 : 0;
3918
+ m.attr("viewBox", F.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + te) + " " + R + " " + (L + te + ne)), e.debug("models:", Q.models);
3912
3919
  }, "draw");
3913
- async function qe(e, t, n) {
3914
- let r = {};
3915
- for (let i of t) if (e.get(i.to) && e.get(i.from)) {
3916
- let t = e.get(i.to);
3917
- if (i.placement === n.db.PLACEMENT.LEFTOF && !t.prevActor || i.placement === n.db.PLACEMENT.RIGHTOF && !t.nextActor) continue;
3918
- let a = i.placement !== void 0, o = !a, s = a ? Fe(Z) : Pe(Z), c = i.wrap ? C.wrapLabel(i.message, Z.width - 2 * Z.wrapPadding, s) : i.message, l = (p(c) ? await f(i.message, u()) : C.calculateTextDimensions(c, s)).width + 2 * Z.wrapPadding;
3919
- o && i.from === t.nextActor ? r[i.to] = h.getMax(r[i.to] || 0, l) : o && i.from === t.prevActor ? r[i.from] = h.getMax(r[i.from] || 0, l) : o && i.from === i.to ? (r[i.from] = h.getMax(r[i.from] || 0, l / 2), r[i.to] = h.getMax(r[i.to] || 0, l / 2)) : i.placement === n.db.PLACEMENT.RIGHTOF ? r[i.from] = h.getMax(r[i.from] || 0, l) : i.placement === n.db.PLACEMENT.LEFTOF ? r[t.prevActor] = h.getMax(r[t.prevActor] || 0, l) : i.placement === n.db.PLACEMENT.OVER && (t.prevActor && (r[t.prevActor] = h.getMax(r[t.prevActor] || 0, l / 2)), t.nextActor && (r[i.from] = h.getMax(r[i.from] || 0, l / 2)));
3920
+ async function qe(t, n, i) {
3921
+ let a = {};
3922
+ for (let e of n) if (t.get(e.to) && t.get(e.from)) {
3923
+ let n = t.get(e.to);
3924
+ if (e.placement === i.db.PLACEMENT.LEFTOF && !n.prevActor || e.placement === i.db.PLACEMENT.RIGHTOF && !n.nextActor) continue;
3925
+ let o = e.placement !== void 0, s = !o, c = o ? Fe(Z) : Pe(Z), l = e.wrap ? S.wrapLabel(e.message, Z.width - 2 * Z.wrapPadding, c) : e.message, u = (r(l) ? await p(e.message, v()) : S.calculateTextDimensions(l, c)).width + 2 * Z.wrapPadding;
3926
+ s && e.from === n.nextActor ? a[e.to] = h.getMax(a[e.to] || 0, u) : s && e.from === n.prevActor ? a[e.from] = h.getMax(a[e.from] || 0, u) : s && e.from === e.to ? (a[e.from] = h.getMax(a[e.from] || 0, u / 2), a[e.to] = h.getMax(a[e.to] || 0, u / 2)) : e.placement === i.db.PLACEMENT.RIGHTOF ? a[e.from] = h.getMax(a[e.from] || 0, u) : e.placement === i.db.PLACEMENT.LEFTOF ? a[n.prevActor] = h.getMax(a[n.prevActor] || 0, u) : e.placement === i.db.PLACEMENT.OVER && (n.prevActor && (a[n.prevActor] = h.getMax(a[n.prevActor] || 0, u / 2)), n.nextActor && (a[e.from] = h.getMax(a[e.from] || 0, u / 2)));
3920
3927
  }
3921
- return v.debug("maxMessageWidthPerActor:", r), r;
3928
+ return e.debug("maxMessageWidthPerActor:", a), a;
3922
3929
  }
3923
- y(qe, "getMaxMessageWidthPerActor");
3924
- var Je = /* @__PURE__ */ y(function(e) {
3930
+ t(qe, "getMaxMessageWidthPerActor");
3931
+ var Je = /* @__PURE__ */ t(function(e) {
3925
3932
  let t = 0, n = Ie(Z);
3926
3933
  for (let r in e.links) {
3927
- let e = C.calculateTextDimensions(r, n).width + 2 * Z.wrapPadding + 2 * Z.boxMargin;
3934
+ let e = S.calculateTextDimensions(r, n).width + 2 * Z.wrapPadding + 2 * Z.boxMargin;
3928
3935
  t < e && (t = e);
3929
3936
  }
3930
3937
  return t;
3931
3938
  }, "getRequiredPopupWidth");
3932
3939
  async function Ye(e, t, n) {
3933
- let r = 0;
3940
+ let i = 0;
3934
3941
  for (let t of e.keys()) {
3935
3942
  let n = e.get(t);
3936
- n.wrap && (n.description = C.wrapLabel(n.description, Z.width - 2 * Z.wrapPadding, Ie(Z)));
3937
- let i = p(n.description) ? await f(n.description, u()) : C.calculateTextDimensions(n.description, Ie(Z));
3938
- n.width = n.wrap ? Z.width : h.getMax(Z.width, i.width + 2 * Z.wrapPadding), n.height = n.wrap ? h.getMax(i.height, Z.height) : Z.height, r = h.getMax(r, n.height);
3943
+ n.wrap && (n.description = S.wrapLabel(n.description, Z.width - 2 * Z.wrapPadding, Ie(Z)));
3944
+ let a = r(n.description) ? await p(n.description, v()) : S.calculateTextDimensions(n.description, Ie(Z));
3945
+ n.width = n.wrap ? Z.width : h.getMax(Z.width, a.width + 2 * Z.wrapPadding), n.height = n.wrap ? h.getMax(a.height, Z.height) : Z.height, i = h.getMax(i, n.height);
3939
3946
  }
3940
3947
  for (let n in t) {
3941
3948
  let r = e.get(n);
@@ -3949,42 +3956,42 @@ async function Ye(e, t, n) {
3949
3956
  let a = t[n] + Z.actorMargin - r.width / 2 - i.width / 2;
3950
3957
  r.margin = h.getMax(a, Z.actorMargin);
3951
3958
  }
3952
- let i = 0;
3959
+ let a = 0;
3953
3960
  return n.forEach((t) => {
3954
- let n = Pe(Z), r = t.actorKeys.reduce((t, n) => t += e.get(n).width + (e.get(n).margin || 0), 0), a = Z.boxMargin * 8;
3955
- r += a, r -= 2 * Z.boxTextMargin, t.wrap && (t.name = C.wrapLabel(t.name, r - 2 * Z.wrapPadding, n));
3956
- let o = C.calculateTextDimensions(t.name, n);
3957
- i = h.getMax(o.height, i);
3961
+ let n = Pe(Z), r = t.actorKeys.reduce((t, n) => t += e.get(n).width + (e.get(n).margin || 0), 0), i = Z.boxMargin * 8;
3962
+ r += i, r -= 2 * Z.boxTextMargin, t.wrap && (t.name = S.wrapLabel(t.name, r - 2 * Z.wrapPadding, n));
3963
+ let o = S.calculateTextDimensions(t.name, n);
3964
+ a = h.getMax(o.height, a);
3958
3965
  let s = h.getMax(r, o.width + 2 * Z.wrapPadding);
3959
3966
  if (t.margin = Z.boxTextMargin, r < s) {
3960
3967
  let e = (s - r) / 2;
3961
3968
  t.margin += e;
3962
3969
  }
3963
- }), n.forEach((e) => e.textMaxHeight = i), h.getMax(r, Z.height);
3970
+ }), n.forEach((e) => e.textMaxHeight = a), h.getMax(i, Z.height);
3964
3971
  }
3965
- y(Ye, "calculateActorMargins");
3966
- var Xe = /* @__PURE__ */ y(async function(e, t, n) {
3967
- let r = t.get(e.from), i = t.get(e.to), a = r.x, o = i.x, s = e.wrap && e.message, c = p(e.message) ? await f(e.message, u()) : C.calculateTextDimensions(s ? C.wrapLabel(e.message, Z.width, Fe(Z)) : e.message, Fe(Z)), l = {
3968
- width: s ? Z.width : h.getMax(Z.width, c.width + 2 * Z.noteMargin),
3972
+ t(Ye, "calculateActorMargins");
3973
+ var Xe = /* @__PURE__ */ t(async function(t, n, i) {
3974
+ let a = n.get(t.from), o = n.get(t.to), s = a.x, c = o.x, l = t.wrap && t.message, u = r(t.message) ? await p(t.message, v()) : S.calculateTextDimensions(l ? S.wrapLabel(t.message, Z.width, Fe(Z)) : t.message, Fe(Z)), d = {
3975
+ width: l ? Z.width : h.getMax(Z.width, u.width + 2 * Z.noteMargin),
3969
3976
  height: 0,
3970
- startx: r.x,
3977
+ startx: a.x,
3971
3978
  stopx: 0,
3972
3979
  starty: 0,
3973
3980
  stopy: 0,
3974
- message: e.message
3981
+ message: t.message
3975
3982
  };
3976
- return e.placement === n.db.PLACEMENT.RIGHTOF ? (l.width = s ? h.getMax(Z.width, c.width) : h.getMax(r.width / 2 + i.width / 2, c.width + 2 * Z.noteMargin), l.startx = a + (r.width + Z.actorMargin) / 2) : e.placement === n.db.PLACEMENT.LEFTOF ? (l.width = s ? h.getMax(Z.width, c.width + 2 * Z.noteMargin) : h.getMax(r.width / 2 + i.width / 2, c.width + 2 * Z.noteMargin), l.startx = a - l.width + (r.width - Z.actorMargin) / 2) : e.to === e.from ? (c = C.calculateTextDimensions(s ? C.wrapLabel(e.message, h.getMax(Z.width, r.width), Fe(Z)) : e.message, Fe(Z)), l.width = s ? h.getMax(Z.width, r.width) : h.getMax(r.width, Z.width, c.width + 2 * Z.noteMargin), l.startx = a + (r.width - l.width) / 2) : (l.width = Math.abs(a + r.width / 2 - (o + i.width / 2)) + Z.actorMargin, l.startx = a < o ? a + r.width / 2 - Z.actorMargin / 2 : o + i.width / 2 - Z.actorMargin / 2), s && (l.message = C.wrapLabel(e.message, l.width - 2 * Z.wrapPadding, Fe(Z))), v.debug(`NM:[${l.startx},${l.stopx},${l.starty},${l.stopy}:${l.width},${l.height}=${e.message}]`), l;
3977
- }, "buildNoteModel"), Ze = 4, Qe = 6, $e = /* @__PURE__ */ y(function(e, t) {
3983
+ return t.placement === i.db.PLACEMENT.RIGHTOF ? (d.width = l ? h.getMax(Z.width, u.width) : h.getMax(a.width / 2 + o.width / 2, u.width + 2 * Z.noteMargin), d.startx = s + (a.width + Z.actorMargin) / 2) : t.placement === i.db.PLACEMENT.LEFTOF ? (d.width = l ? h.getMax(Z.width, u.width + 2 * Z.noteMargin) : h.getMax(a.width / 2 + o.width / 2, u.width + 2 * Z.noteMargin), d.startx = s - d.width + (a.width - Z.actorMargin) / 2) : t.to === t.from ? (u = S.calculateTextDimensions(l ? S.wrapLabel(t.message, h.getMax(Z.width, a.width), Fe(Z)) : t.message, Fe(Z)), d.width = l ? h.getMax(Z.width, a.width) : h.getMax(a.width, Z.width, u.width + 2 * Z.noteMargin), d.startx = s + (a.width - d.width) / 2) : (d.width = Math.abs(s + a.width / 2 - (c + o.width / 2)) + Z.actorMargin, d.startx = s < c ? s + a.width / 2 - Z.actorMargin / 2 : c + o.width / 2 - Z.actorMargin / 2), l && (d.message = S.wrapLabel(t.message, d.width - 2 * Z.wrapPadding, Fe(Z))), e.debug(`NM:[${d.startx},${d.stopx},${d.starty},${d.stopy}:${d.width},${d.height}=${t.message}]`), d;
3984
+ }, "buildNoteModel"), Ze = 4, Qe = 6, $e = /* @__PURE__ */ t(function(e, t) {
3978
3985
  let { CENTRAL_CONNECTION: n, CENTRAL_CONNECTION_REVERSE: r, CENTRAL_CONNECTION_DUAL: i } = t.db.LINETYPE;
3979
3986
  return [
3980
3987
  n,
3981
3988
  r,
3982
3989
  i
3983
3990
  ].includes(e.centralConnection);
3984
- }, "hasCentralConnection"), et = /* @__PURE__ */ y(function(e, t, n) {
3991
+ }, "hasCentralConnection"), et = /* @__PURE__ */ t(function(e, t, n) {
3985
3992
  let { CENTRAL_CONNECTION_REVERSE: r, CENTRAL_CONNECTION_DUAL: i, BIDIRECTIONAL_SOLID: a, BIDIRECTIONAL_DOTTED: o } = t.db.LINETYPE, s = 0;
3986
3993
  return (e.centralConnection === r || e.centralConnection === i) && (s += Ze), (e.centralConnection === r || e.centralConnection === i) && (e.type === a || e.type === o) && (s += n ? 0 : -Qe), s;
3987
- }, "calculateCentralConnectionOffset"), tt = /* @__PURE__ */ y(function(e, t) {
3994
+ }, "calculateCentralConnectionOffset"), tt = /* @__PURE__ */ t(function(e, t) {
3988
3995
  let { SOLID_ARROW_TOP_REVERSE: n, SOLID_ARROW_TOP_REVERSE_DOTTED: r, SOLID_ARROW_BOTTOM_REVERSE: i, SOLID_ARROW_BOTTOM_REVERSE_DOTTED: a, STICK_ARROW_TOP_REVERSE: o, STICK_ARROW_TOP_REVERSE_DOTTED: s, STICK_ARROW_BOTTOM_REVERSE: c, STICK_ARROW_BOTTOM_REVERSE_DOTTED: l } = t.db.LINETYPE;
3989
3996
  return [
3990
3997
  n,
@@ -3996,77 +4003,77 @@ var Xe = /* @__PURE__ */ y(async function(e, t, n) {
3996
4003
  c,
3997
4004
  l
3998
4005
  ].includes(e.type);
3999
- }, "isReverseArrowType"), nt = /* @__PURE__ */ y(function(e, t) {
4006
+ }, "isReverseArrowType"), nt = /* @__PURE__ */ t(function(e, t) {
4000
4007
  let { BIDIRECTIONAL_SOLID: n, BIDIRECTIONAL_DOTTED: r } = t.db.LINETYPE;
4001
4008
  return [n, r].includes(e.type);
4002
- }, "isBidirectionalArrowType"), rt = /* @__PURE__ */ y(function(e, t, n) {
4003
- let { look: r } = u();
4009
+ }, "isBidirectionalArrowType"), rt = /* @__PURE__ */ t(function(e, n, r) {
4010
+ let { look: i } = v();
4004
4011
  if (![
4005
- n.db.LINETYPE.SOLID_OPEN,
4006
- n.db.LINETYPE.DOTTED_OPEN,
4007
- n.db.LINETYPE.SOLID,
4008
- n.db.LINETYPE.SOLID_TOP,
4009
- n.db.LINETYPE.SOLID_BOTTOM,
4010
- n.db.LINETYPE.STICK_TOP,
4011
- n.db.LINETYPE.STICK_BOTTOM,
4012
- n.db.LINETYPE.SOLID_TOP_DOTTED,
4013
- n.db.LINETYPE.SOLID_BOTTOM_DOTTED,
4014
- n.db.LINETYPE.STICK_TOP_DOTTED,
4015
- n.db.LINETYPE.STICK_BOTTOM_DOTTED,
4016
- n.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
4017
- n.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,
4018
- n.db.LINETYPE.STICK_ARROW_TOP_REVERSE,
4019
- n.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,
4020
- n.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
4021
- n.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
4022
- n.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,
4023
- n.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,
4024
- n.db.LINETYPE.DOTTED,
4025
- n.db.LINETYPE.SOLID_CROSS,
4026
- n.db.LINETYPE.DOTTED_CROSS,
4027
- n.db.LINETYPE.SOLID_POINT,
4028
- n.db.LINETYPE.DOTTED_POINT,
4029
- n.db.LINETYPE.BIDIRECTIONAL_SOLID,
4030
- n.db.LINETYPE.BIDIRECTIONAL_DOTTED
4012
+ r.db.LINETYPE.SOLID_OPEN,
4013
+ r.db.LINETYPE.DOTTED_OPEN,
4014
+ r.db.LINETYPE.SOLID,
4015
+ r.db.LINETYPE.SOLID_TOP,
4016
+ r.db.LINETYPE.SOLID_BOTTOM,
4017
+ r.db.LINETYPE.STICK_TOP,
4018
+ r.db.LINETYPE.STICK_BOTTOM,
4019
+ r.db.LINETYPE.SOLID_TOP_DOTTED,
4020
+ r.db.LINETYPE.SOLID_BOTTOM_DOTTED,
4021
+ r.db.LINETYPE.STICK_TOP_DOTTED,
4022
+ r.db.LINETYPE.STICK_BOTTOM_DOTTED,
4023
+ r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
4024
+ r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,
4025
+ r.db.LINETYPE.STICK_ARROW_TOP_REVERSE,
4026
+ r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,
4027
+ r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
4028
+ r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
4029
+ r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,
4030
+ r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,
4031
+ r.db.LINETYPE.DOTTED,
4032
+ r.db.LINETYPE.SOLID_CROSS,
4033
+ r.db.LINETYPE.DOTTED_CROSS,
4034
+ r.db.LINETYPE.SOLID_POINT,
4035
+ r.db.LINETYPE.DOTTED_POINT,
4036
+ r.db.LINETYPE.BIDIRECTIONAL_SOLID,
4037
+ r.db.LINETYPE.BIDIRECTIONAL_DOTTED
4031
4038
  ].includes(e.type)) return {};
4032
- let [i, a] = We(e.from, t), [o, s] = We(e.to, t), c = i <= o, l = c ? a : i, d = c ? o : s;
4033
- r === "neo" && (e.type !== n.db.LINETYPE.SOLID_OPEN && (d += c ? -3 : 3), (e.type === n.db.LINETYPE.BIDIRECTIONAL_SOLID || e.type === n.db.LINETYPE.BIDIRECTIONAL_DOTTED) && (l += c ? 3 : -3)), l += et(e, n, c);
4034
- let f = Math.abs(o - s) > 2, p = /* @__PURE__ */ y((e) => c ? -e : e, "adjustValue");
4035
- e.from === e.to ? d = l : (e.activate && !f && (d += p(Z.activationWidth / 2 - 1)), [
4036
- n.db.LINETYPE.SOLID_OPEN,
4037
- n.db.LINETYPE.DOTTED_OPEN,
4038
- n.db.LINETYPE.STICK_TOP,
4039
- n.db.LINETYPE.STICK_BOTTOM,
4040
- n.db.LINETYPE.STICK_TOP_DOTTED,
4041
- n.db.LINETYPE.STICK_BOTTOM_DOTTED,
4042
- n.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
4043
- n.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
4044
- n.db.LINETYPE.STICK_ARROW_TOP_REVERSE,
4045
- n.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,
4046
- n.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,
4047
- n.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,
4048
- n.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
4049
- n.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE
4039
+ let [a, o] = We(e.from, n), [s, c] = We(e.to, n), l = a <= s, u = l ? o : a, d = l ? s : c;
4040
+ i === "neo" && (e.type !== r.db.LINETYPE.SOLID_OPEN && (d += l ? -3 : 3), (e.type === r.db.LINETYPE.BIDIRECTIONAL_SOLID || e.type === r.db.LINETYPE.BIDIRECTIONAL_DOTTED) && (u += l ? 3 : -3)), u += et(e, r, l);
4041
+ let f = Math.abs(s - c) > 2, p = /* @__PURE__ */ t((e) => l ? -e : e, "adjustValue");
4042
+ e.from === e.to ? d = u : (e.activate && !f && (d += p(Z.activationWidth / 2 - 1)), [
4043
+ r.db.LINETYPE.SOLID_OPEN,
4044
+ r.db.LINETYPE.DOTTED_OPEN,
4045
+ r.db.LINETYPE.STICK_TOP,
4046
+ r.db.LINETYPE.STICK_BOTTOM,
4047
+ r.db.LINETYPE.STICK_TOP_DOTTED,
4048
+ r.db.LINETYPE.STICK_BOTTOM_DOTTED,
4049
+ r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
4050
+ r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
4051
+ r.db.LINETYPE.STICK_ARROW_TOP_REVERSE,
4052
+ r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,
4053
+ r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,
4054
+ r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,
4055
+ r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
4056
+ r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE
4050
4057
  ].includes(e.type) || (d += p(3)), [
4051
- n.db.LINETYPE.BIDIRECTIONAL_SOLID,
4052
- n.db.LINETYPE.BIDIRECTIONAL_DOTTED,
4053
- n.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
4054
- n.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
4055
- n.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
4056
- n.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE
4057
- ].includes(e.type) && (l -= p(3)));
4058
+ r.db.LINETYPE.BIDIRECTIONAL_SOLID,
4059
+ r.db.LINETYPE.BIDIRECTIONAL_DOTTED,
4060
+ r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,
4061
+ r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,
4062
+ r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,
4063
+ r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE
4064
+ ].includes(e.type) && (u -= p(3)));
4058
4065
  let m = [
4059
- i,
4060
4066
  a,
4061
4067
  o,
4062
- s
4063
- ], g = Math.abs(l - d);
4064
- e.wrap && e.message && (e.message = C.wrapLabel(e.message, h.getMax(g + 2 * Z.wrapPadding, Z.width), Pe(Z)));
4065
- let _ = C.calculateTextDimensions(e.message, Pe(Z));
4068
+ s,
4069
+ c
4070
+ ], g = Math.abs(u - d);
4071
+ e.wrap && e.message && (e.message = S.wrapLabel(e.message, h.getMax(g + 2 * Z.wrapPadding, Z.width), Pe(Z)));
4072
+ let _ = S.calculateTextDimensions(e.message, Pe(Z));
4066
4073
  return {
4067
4074
  width: h.getMax(e.wrap ? 0 : _.width + 2 * Z.wrapPadding, g + 2 * Z.wrapPadding, Z.width),
4068
4075
  height: 0,
4069
- startx: l,
4076
+ startx: u,
4070
4077
  stopx: d,
4071
4078
  starty: 0,
4072
4079
  stopy: 0,
@@ -4076,66 +4083,66 @@ var Xe = /* @__PURE__ */ y(async function(e, t, n) {
4076
4083
  fromBounds: Math.min.apply(null, m),
4077
4084
  toBounds: Math.max.apply(null, m)
4078
4085
  };
4079
- }, "buildMessageModel"), it = /* @__PURE__ */ y(async function(e, t, n, r) {
4080
- let i = {}, a = [], o, s, c;
4081
- for (let n of e) {
4082
- switch (n.type) {
4083
- case r.db.LINETYPE.LOOP_START:
4084
- case r.db.LINETYPE.ALT_START:
4085
- case r.db.LINETYPE.OPT_START:
4086
- case r.db.LINETYPE.PAR_START:
4087
- case r.db.LINETYPE.PAR_OVER_START:
4088
- case r.db.LINETYPE.CRITICAL_START:
4089
- case r.db.LINETYPE.BREAK_START:
4090
- a.push({
4091
- id: n.id,
4092
- msg: n.message,
4086
+ }, "buildMessageModel"), it = /* @__PURE__ */ t(async function(t, n, r, i) {
4087
+ let a = {}, o = [], s, c, l;
4088
+ for (let e of t) {
4089
+ switch (e.type) {
4090
+ case i.db.LINETYPE.LOOP_START:
4091
+ case i.db.LINETYPE.ALT_START:
4092
+ case i.db.LINETYPE.OPT_START:
4093
+ case i.db.LINETYPE.PAR_START:
4094
+ case i.db.LINETYPE.PAR_OVER_START:
4095
+ case i.db.LINETYPE.CRITICAL_START:
4096
+ case i.db.LINETYPE.BREAK_START:
4097
+ o.push({
4098
+ id: e.id,
4099
+ msg: e.message,
4093
4100
  from: 2 ** 53 - 1,
4094
4101
  to: -(2 ** 53 - 1),
4095
4102
  width: 0
4096
4103
  });
4097
4104
  break;
4098
- case r.db.LINETYPE.ALT_ELSE:
4099
- case r.db.LINETYPE.PAR_AND:
4100
- case r.db.LINETYPE.CRITICAL_OPTION:
4101
- n.message && (o = a.pop(), i[o.id] = o, i[n.id] = o, a.push(o));
4105
+ case i.db.LINETYPE.ALT_ELSE:
4106
+ case i.db.LINETYPE.PAR_AND:
4107
+ case i.db.LINETYPE.CRITICAL_OPTION:
4108
+ e.message && (s = o.pop(), a[s.id] = s, a[e.id] = s, o.push(s));
4102
4109
  break;
4103
- case r.db.LINETYPE.LOOP_END:
4104
- case r.db.LINETYPE.ALT_END:
4105
- case r.db.LINETYPE.OPT_END:
4106
- case r.db.LINETYPE.PAR_END:
4107
- case r.db.LINETYPE.CRITICAL_END:
4108
- case r.db.LINETYPE.BREAK_END:
4109
- o = a.pop(), i[o.id] = o;
4110
+ case i.db.LINETYPE.LOOP_END:
4111
+ case i.db.LINETYPE.ALT_END:
4112
+ case i.db.LINETYPE.OPT_END:
4113
+ case i.db.LINETYPE.PAR_END:
4114
+ case i.db.LINETYPE.CRITICAL_END:
4115
+ case i.db.LINETYPE.BREAK_END:
4116
+ s = o.pop(), a[s.id] = s;
4110
4117
  break;
4111
- case r.db.LINETYPE.ACTIVE_START:
4118
+ case i.db.LINETYPE.ACTIVE_START:
4112
4119
  {
4113
- let e = t.get(n.from ? n.from : n.to.actor), r = Ue(n.from ? n.from : n.to.actor).length, i = e.x + e.width / 2 + (r - 1) * Z.activationWidth / 2, a = {
4120
+ let t = n.get(e.from ? e.from : e.to.actor), r = Ue(e.from ? e.from : e.to.actor).length, i = t.x + t.width / 2 + (r - 1) * Z.activationWidth / 2, a = {
4114
4121
  startx: i,
4115
4122
  stopx: i + Z.activationWidth,
4116
- actor: n.from,
4123
+ actor: e.from,
4117
4124
  enabled: !0
4118
4125
  };
4119
4126
  Q.activations.push(a);
4120
4127
  }
4121
4128
  break;
4122
- case r.db.LINETYPE.ACTIVE_END:
4129
+ case i.db.LINETYPE.ACTIVE_END:
4123
4130
  {
4124
- let e = Q.activations.map((e) => e.actor).lastIndexOf(n.from);
4125
- Q.activations.splice(e, 1).splice(0, 1);
4131
+ let t = Q.activations.map((e) => e.actor).lastIndexOf(e.from);
4132
+ Q.activations.splice(t, 1).splice(0, 1);
4126
4133
  }
4127
4134
  break;
4128
4135
  }
4129
- n.placement === void 0 ? (c = rt(n, t, r), n.msgModel = c, c.startx && c.stopx && a.length > 0 && a.forEach((e) => {
4130
- if (o = e, c.startx === c.stopx) {
4131
- let e = t.get(n.from), r = t.get(n.to);
4132
- o.from = h.getMin(e.x - c.width / 2, e.x - e.width / 2, o.from), o.to = h.getMax(r.x + c.width / 2, r.x + e.width / 2, o.to), o.width = h.getMax(o.width, Math.abs(o.to - o.from)) - Z.labelBoxWidth;
4133
- } else o.from = h.getMin(c.startx, o.from), o.to = h.getMax(c.stopx, o.to), o.width = h.getMax(o.width, c.width) - Z.labelBoxWidth;
4134
- })) : (s = await Xe(n, t, r), n.noteModel = s, a.forEach((e) => {
4135
- o = e, o.from = h.getMin(o.from, s.startx), o.to = h.getMax(o.to, s.startx + s.width), o.width = h.getMax(o.width, Math.abs(o.from - o.to)) - Z.labelBoxWidth;
4136
+ e.placement === void 0 ? (l = rt(e, n, i), e.msgModel = l, l.startx && l.stopx && o.length > 0 && o.forEach((t) => {
4137
+ if (s = t, l.startx === l.stopx) {
4138
+ let t = n.get(e.from), r = n.get(e.to);
4139
+ s.from = h.getMin(t.x - l.width / 2, t.x - t.width / 2, s.from), s.to = h.getMax(r.x + l.width / 2, r.x + t.width / 2, s.to), s.width = h.getMax(s.width, Math.abs(s.to - s.from)) - Z.labelBoxWidth;
4140
+ } else s.from = h.getMin(l.startx, s.from), s.to = h.getMax(l.stopx, s.to), s.width = h.getMax(s.width, l.width) - Z.labelBoxWidth;
4141
+ })) : (c = await Xe(e, n, i), e.noteModel = c, o.forEach((e) => {
4142
+ s = e, s.from = h.getMin(s.from, c.startx), s.to = h.getMax(s.to, c.startx + c.width), s.width = h.getMax(s.width, Math.abs(s.from - s.to)) - Z.labelBoxWidth;
4136
4143
  }));
4137
4144
  }
4138
- return Q.activations = [], v.debug("Loop type widths:", i), i;
4145
+ return Q.activations = [], e.debug("Loop type widths:", a), a;
4139
4146
  }, "calculateLoopBounds"), at = {
4140
4147
  parser: F,
4141
4148
  get db() {
@@ -4149,7 +4156,7 @@ var Xe = /* @__PURE__ */ y(async function(e, t, n) {
4149
4156
  draw: Ke
4150
4157
  },
4151
4158
  styles: ne,
4152
- init: /* @__PURE__ */ y((e) => {
4159
+ init: /* @__PURE__ */ t((e) => {
4153
4160
  e.sequence ||= {}, e.wrap && (e.sequence.wrap = e.wrap, a({ sequence: { wrap: e.wrap } }));
4154
4161
  }, "init")
4155
4162
  };