@sme.up/ketchup2 2.1.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 (417) 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-u2vgZv3N.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/assets/buttonListAssets.d.ts +8 -0
  8. package/dist/assets/buttonListAssets.d.ts.map +1 -1
  9. package/dist/basic-components/button/button-types.d.ts +4 -0
  10. package/dist/basic-components/button/button-types.d.ts.map +1 -1
  11. package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts +16 -0
  12. package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
  13. package/dist/basic-components/button-dropdown/button-dropdown.d.ts +4 -0
  14. package/dist/basic-components/button-dropdown/button-dropdown.d.ts.map +1 -0
  15. package/dist/basic-components/button-list/button-list-types.d.ts +6 -0
  16. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  17. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  18. package/dist/basic-components/cell/cell-utils.d.ts +13 -5
  19. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  20. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  21. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  22. package/dist/basic-components/image/image.d.ts.map +1 -1
  23. package/dist/basic-components/image-cell/image-cell-types.d.ts +12 -3
  24. package/dist/basic-components/image-cell/image-cell-types.d.ts.map +1 -1
  25. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  26. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  27. package/dist/basic-components/text/text.d.ts.map +1 -1
  28. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  29. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  30. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  31. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  32. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  33. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  34. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  35. package/dist/{blockDiagram-DXYQGD6D-BpB6_kTP.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  36. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  37. package/dist/{c4Diagram-AHTNJAMY-CX5IjREU.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  38. package/dist/{c4Diagram-AHTNJAMY-B5Z8nO1s.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  39. package/dist/channel-BbRDdbmM.js +5 -0
  40. package/dist/channel-intTktDQ.cjs +1 -0
  41. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  42. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  43. package/dist/{chunk-5FUZZQ4R-2kdZJWq2.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  44. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  45. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  46. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  47. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  48. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  49. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  50. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  51. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  52. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  53. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  54. package/dist/{chunk-5PVQY5BW-C5U7sJAA.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  55. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  56. package/dist/{chunk-4TB4RGXK-CKyHmNcP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  57. package/dist/{chunk-OYMX7WX6-BCT45RPu.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  58. package/dist/{chunk-OYMX7WX6-BQADsxYi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  59. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  60. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  61. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  62. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  63. package/dist/{chunk-ICPOFSXX-Sn6LWD0k.js → chunk-CSCIHK7Q-9WKhcDqw.js} +558 -460
  64. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  65. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  66. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  67. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  68. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  69. package/dist/{chunk-ENJZ2VHE-BluGQPyl.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  70. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  71. package/dist/{chunk-ZZ45TVLE-AQQsnXy4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  72. package/dist/{chunk-ZZ45TVLE-CIYrdg-O.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  73. package/dist/{chunk-336JU56O-CuXRn1VH.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  74. package/dist/{chunk-336JU56O-xKPgkG3O.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  75. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  76. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  77. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  78. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  79. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  80. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  81. package/dist/{chunk-YZCP3GAM-9K9WNdyN.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  82. package/dist/{chunk-YZCP3GAM-BmaAafMm.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  83. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  84. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  85. package/dist/{chunk-X2U36JSP-CY7mJR8m.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  86. package/dist/{chunk-X2U36JSP-D1RYKjVc.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  87. package/dist/{chunk-U2HBQHQK-D0AoQWxK.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  88. package/dist/{chunk-U2HBQHQK-BZ3YFMXB.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  89. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  90. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  91. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  92. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  93. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  94. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  95. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  96. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  97. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  98. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  99. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  100. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  101. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  102. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  103. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  104. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  105. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  106. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  107. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  108. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  109. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  110. package/dist/components/dash-list/dash-list.utils.d.ts +0 -3
  111. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  112. package/dist/components/drawer/drawer-types.d.ts +4 -0
  113. package/dist/components/drawer/drawer-types.d.ts.map +1 -1
  114. package/dist/components/field/field.d.ts.map +1 -1
  115. package/dist/components/htm/htm-types.d.ts +4 -0
  116. package/dist/components/htm/htm-types.d.ts.map +1 -1
  117. package/dist/components/htm/htm.d.ts.map +1 -1
  118. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  119. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  120. package/dist/components/pdf/pdf-types.d.ts +8 -0
  121. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  122. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  123. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  124. package/dist/components/pdf/pdf.d.ts.map +1 -1
  125. package/dist/components/planner/planner-assets.d.ts +2 -2
  126. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  127. package/dist/components/planner/planner-types.d.ts +1 -1
  128. package/dist/components/planner/planner-types.d.ts.map +1 -1
  129. package/dist/components/planner/planner-utils.d.ts +7 -5
  130. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  131. package/dist/components/planner/planner.d.ts.map +1 -1
  132. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  133. package/dist/components/scaffold/scaffold-types.d.ts +1 -0
  134. package/dist/components/scaffold/scaffold-types.d.ts.map +1 -1
  135. package/dist/components/timeline/timeline-types.d.ts +6 -2
  136. package/dist/components/timeline/timeline-types.d.ts.map +1 -1
  137. package/dist/components/timeline/timeline.d.ts.map +1 -1
  138. package/dist/components/toolbar/toolbar.d.ts.map +1 -1
  139. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  140. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  141. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  142. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  143. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  144. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  145. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  146. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  147. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  148. package/dist/dagre-CC68z3y6.cjs +1 -0
  149. package/dist/dagre-Cg4CV48I.js +1936 -0
  150. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  151. package/dist/{diagram-MMDJMWI5-DUUVPi55.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  152. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  153. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  154. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  155. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  156. package/dist/{diagram-TYMM5635-Cpj8wfoJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  157. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  158. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  159. package/dist/{diagram-G4DWMVQ6-BkQnbCLv.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  160. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  161. package/dist/dist-DC1YYeHc.cjs +1 -0
  162. package/dist/{erDiagram-SMLLAGMA-D_ByPk0C.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  163. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  164. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  165. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  166. package/dist/{flowDiagram-DWJPFMVM-BWrkDnqc.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  167. package/dist/{flowDiagram-DWJPFMVM-BbK42NaF.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  168. package/dist/functional-components/action/action-types.d.ts +26 -1
  169. package/dist/functional-components/action/action-types.d.ts.map +1 -1
  170. package/dist/functional-components/action/action-utils.d.ts +13 -1
  171. package/dist/functional-components/action/action-utils.d.ts.map +1 -1
  172. package/dist/functional-components/action/action.d.ts.map +1 -1
  173. package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
  174. package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
  175. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts +18 -0
  176. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -0
  177. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  178. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  179. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  180. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  181. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  182. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  183. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +60 -0
  184. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -0
  185. package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt.d.ts +3 -3
  186. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -0
  187. package/dist/functional-components/{gantt → timeline-engine/components/gantt}/grid/gantt-grid.d.ts +3 -5
  188. package/dist/functional-components/timeline-engine/components/gantt/grid/gantt-grid.d.ts.map +1 -0
  189. package/dist/functional-components/timeline-engine/components/gantt/header/gantt-header.d.ts.map +1 -0
  190. package/dist/functional-components/timeline-engine/components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
  191. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +79 -0
  192. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -0
  193. package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts +27 -0
  194. package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts.map +1 -0
  195. package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list-utils.d.ts +4 -4
  196. package/dist/functional-components/timeline-engine/components/task-list/task-list-utils.d.ts.map +1 -0
  197. package/dist/functional-components/timeline-engine/components/task-list/task-list.d.ts.map +1 -0
  198. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +28 -0
  199. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -0
  200. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +143 -0
  201. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -0
  202. package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts +2 -0
  203. package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts.map +1 -0
  204. package/dist/functional-components/timeline-engine/timeline-engine.d.ts +8 -0
  205. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -0
  206. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  207. package/dist/{ganttDiagram-T4ZO3ILL-LuaYkUvj.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  208. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  209. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  210. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  211. package/dist/{gitGraphDiagram-UUTBAWPF-DKkENwcV.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  212. package/dist/graphlib-B1zohIOM.js +1266 -0
  213. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  214. package/dist/hooks/useFloating.d.ts.map +1 -1
  215. package/dist/hooks/useFocusTrap.d.ts.map +1 -1
  216. package/dist/hooks/useGanttMath.d.ts +1 -1
  217. package/dist/hooks/useGanttMath.d.ts.map +1 -1
  218. package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
  219. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  220. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  221. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  222. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  223. package/dist/{ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  224. package/dist/{ishikawaDiagram-UXIWVN3A-DqbVPChK.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  225. package/dist/{journeyDiagram-VCZTEJTY-XRc0J8gM.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  226. package/dist/{journeyDiagram-VCZTEJTY-DudduR0c.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  227. package/dist/{kanban-definition-6JOO6SKY-DzEqE64J.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  228. package/dist/{kanban-definition-6JOO6SKY-Br87atRc.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  229. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  230. package/dist/ketchup2.cjs.js +110 -106
  231. package/dist/ketchup2.css +1 -1
  232. package/dist/ketchup2.es.js +68073 -69871
  233. package/dist/{line-JyRBGWft.js → line-BhAnxCE8.js} +3 -3
  234. package/dist/line-CpcTW4h-.cjs +1 -0
  235. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  236. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  237. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  238. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  239. package/dist/{mindmap-definition-QFDTVHPH-BCq8zmLt.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  240. package/dist/{mindmap-definition-QFDTVHPH-NGjPQ5SM.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  241. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  242. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  243. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  244. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  245. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  246. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  247. package/dist/{pieDiagram-DEJITSTG-DTeyzHmB.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  248. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  249. package/dist/{quadrantDiagram-34T5L4WZ-CCcJIf91.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  250. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  251. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  252. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  253. package/dist/{requirementDiagram-MS252O5E-BdOanuYe.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  254. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  255. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  256. package/dist/{sankeyDiagram-XADWPNL6-3wviN_U4.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  257. package/dist/{sequenceDiagram-FGHM5R23-DC8SjhFN.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  258. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  259. package/dist/src-BgvDIw01.cjs +1 -0
  260. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  261. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  262. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  263. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  264. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  265. package/dist/{timeline-definition-GMOUNBTQ-CBnYBWN0.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  266. package/dist/{timeline-definition-GMOUNBTQ-DWpngnE4.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  267. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  268. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  269. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  270. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  271. package/dist/types/data-structures.d.ts +9 -1
  272. package/dist/types/data-structures.d.ts.map +1 -1
  273. package/dist/utils/data-structures.d.ts +2 -0
  274. package/dist/utils/data-structures.d.ts.map +1 -1
  275. package/dist/utils/style.d.ts +13 -2
  276. package/dist/utils/style.d.ts.map +1 -1
  277. package/dist/v4-BpDBEhLK.js +30 -0
  278. package/dist/v4-CA8ev9YY.cjs +1 -0
  279. package/dist/{vennDiagram-DHZGUBPP-M-kkEkXj.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  280. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  281. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  282. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  283. package/dist/{wardleyDiagram-NUSXRM2D-thoOuA_D.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  284. package/dist/{wardleyDiagram-NUSXRM2D-CUX1SYhw.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  285. package/dist/{xychartDiagram-5P7HB3ND-1cXRZ1bi.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  286. package/dist/{xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  287. package/package.json +1 -1
  288. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  289. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  290. package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +0 -36
  291. package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +0 -132
  292. package/dist/channel-BY9Lkyz7.cjs +0 -1
  293. package/dist/channel-BqNr2cYO.js +0 -5
  294. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  295. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  296. package/dist/chunk-426QAEUC-Df31vuwu.cjs +0 -1
  297. package/dist/chunk-426QAEUC-JjFVHKYG.js +0 -9
  298. package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +0 -206
  299. package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +0 -62
  300. package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +0 -2
  301. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  302. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  303. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  304. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  305. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  306. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  307. package/dist/chunk-D-IZpNpi.cjs +0 -1
  308. package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +0 -1
  309. package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +0 -25
  310. package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +0 -10
  311. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  312. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  313. package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +0 -122
  314. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  315. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  316. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  317. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  318. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  319. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  320. package/dist/chunk-WQLz0Won.js +0 -20
  321. package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +0 -1
  322. package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +0 -29
  323. package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +0 -29
  324. package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +0 -1
  325. package/dist/clone-Dn__H8fX.js +0 -8
  326. package/dist/clone-lShkT11Q.cjs +0 -1
  327. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  328. package/dist/dagre-BjnWDdkw.cjs +0 -1
  329. package/dist/dagre-DVLnxd7n.js +0 -1606
  330. package/dist/dagre-KV5264BT-BjqayRYC.js +0 -293
  331. package/dist/dagre-KV5264BT-BvInGAUC.cjs +0 -4
  332. package/dist/diagram-5BDNPKRD-Bk7depC0.js +0 -101
  333. package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +0 -10
  334. package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +0 -24
  335. package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +0 -43
  336. package/dist/diagram-TYMM5635-5auoAFCi.cjs +0 -24
  337. package/dist/dist-BgvMZbfo.cjs +0 -1
  338. package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +0 -85
  339. package/dist/flatten-BE1bWL-7.js +0 -40
  340. package/dist/flatten-DxvYSoR8.cjs +0 -1
  341. package/dist/functional-components/gantt/bar/gantt-bar.d.ts +0 -17
  342. package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +0 -1
  343. package/dist/functional-components/gantt/gantt-assets.d.ts +0 -55
  344. package/dist/functional-components/gantt/gantt-assets.d.ts.map +0 -1
  345. package/dist/functional-components/gantt/gantt.d.ts.map +0 -1
  346. package/dist/functional-components/gantt/grid/gantt-grid.d.ts.map +0 -1
  347. package/dist/functional-components/gantt/header/gantt-header.d.ts.map +0 -1
  348. package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +0 -1
  349. package/dist/functional-components/gantt/types/gantt-types.d.ts +0 -47
  350. package/dist/functional-components/gantt/types/gantt-types.d.ts.map +0 -1
  351. package/dist/functional-components/task-list/task-list-types.d.ts +0 -22
  352. package/dist/functional-components/task-list/task-list-types.d.ts.map +0 -1
  353. package/dist/functional-components/task-list/task-list-utils.d.ts.map +0 -1
  354. package/dist/functional-components/task-list/task-list.d.ts.map +0 -1
  355. package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +0 -292
  356. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  357. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  358. package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +0 -106
  359. package/dist/graphlib-Cpifseqb.js +0 -373
  360. package/dist/graphlib-HdfvGLpV.cjs +0 -1
  361. package/dist/hooks/usePlannerSync.d.ts +0 -11
  362. package/dist/hooks/usePlannerSync.d.ts.map +0 -1
  363. package/dist/identity-KQSjemTb.cjs +0 -1
  364. package/dist/identity-g0dsMjx7.js +0 -393
  365. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  366. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  367. package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +0 -2
  368. package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +0 -19
  369. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  370. package/dist/isEmpty-RwX-oIQS.js +0 -35
  371. package/dist/line-BbHmiwbs.cjs +0 -1
  372. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  373. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  374. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  375. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  376. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  377. package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +0 -30
  378. package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +0 -7
  379. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  380. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  381. package/dist/reduce-B7WW9rkU.cjs +0 -1
  382. package/dist/reduce-DNnkcf3M.js +0 -532
  383. package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +0 -84
  384. package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +0 -10
  385. package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +0 -157
  386. package/dist/src-DFxq-N5I.cjs +0 -1
  387. package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +0 -217
  388. package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +0 -1
  389. package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +0 -27
  390. package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +0 -1
  391. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  392. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  393. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  394. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  395. package/dist/utils/wbs-utils.d.ts +0 -143
  396. package/dist/utils/wbs-utils.d.ts.map +0 -1
  397. package/dist/v4-6yr83DbP.cjs +0 -1
  398. package/dist/v4-BR71w5_q.js +0 -33
  399. package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +0 -34
  400. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  401. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  402. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  403. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  404. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  405. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  406. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  407. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  408. /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/header/gantt-header.d.ts +0 -0
  409. /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/today-indicator/gantt-today-indicator.d.ts +0 -0
  410. /package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list.d.ts +0 -0
  411. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  412. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  413. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  414. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  415. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  416. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  417. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { _ as e, g as t, h as n, m as r } from "./src-BQiFKP24.js";
1
+ import { _ as e, g as t, h as n, m as r } from "./src-v9RrE_4h.js";
2
2
  //#region node_modules/dompurify/dist/purify.es.mjs
3
3
  var { entries: i, setPrototypeOf: a, isFrozen: o, getPrototypeOf: s, getOwnPropertyDescriptor: c } = Object, { freeze: l, seal: u, create: d } = Object, { apply: f, construct: ee } = typeof Reflect < "u" && Reflect;
4
4
  l ||= function(e) {
@@ -126,7 +126,7 @@ var he = l(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
126
126
  "annotation-xml",
127
127
  "mprescripts",
128
128
  "none"
129
- ]), xe = l(["#text"]), Se = l(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot".split(".")), Ce = l(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), we = l(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Te = l([
129
+ ]), xe = l(["#text"]), Se = l(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot".split(".")), Ce = l(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), we = l(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Te = l([
130
130
  "xlink:href",
131
131
  "xml:id",
132
132
  "xlink:title",
@@ -146,17 +146,10 @@ var he = l(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
146
146
  TMPLIT_EXPR: Oe
147
147
  }), Ie = {
148
148
  element: 1,
149
- attribute: 2,
150
149
  text: 3,
151
- cdataSection: 4,
152
- entityReference: 5,
153
- entityNode: 6,
154
150
  progressingInstruction: 7,
155
151
  comment: 8,
156
- document: 9,
157
- documentType: 10,
158
- documentFragment: 11,
159
- notation: 12
152
+ document: 9
160
153
  }, Le = function() {
161
154
  return typeof window > "u" ? null : window;
162
155
  }, Re = function(e, t) {
@@ -191,7 +184,7 @@ var he = l(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
191
184
  };
192
185
  function Be() {
193
186
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Le(), t = (e) => Be(e);
194
- if (t.version = "3.3.3", t.removed = [], !e || !e.document || e.document.nodeType !== Ie.document || !e.Element) return t.isSupported = !1, t;
187
+ if (t.version = "3.4.0", t.removed = [], !e || !e.document || e.document.nodeType !== Ie.document || !e.Element) return t.isSupported = !1, t;
195
188
  let { document: n } = e, r = n, a = r.currentScript, { DocumentFragment: o, HTMLTemplateElement: s, Node: c, Element: u, NodeFilter: f, NamedNodeMap: ee = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: g, DOMParser: fe, trustedTypes: pe } = e, Ee = u.prototype, De = me(Ee, "cloneNode"), Oe = me(Ee, "remove"), ke = me(Ee, "nextSibling"), Ae = me(Ee, "childNodes"), Me = me(Ee, "parentNode");
196
189
  if (typeof s == "function") {
197
190
  let e = n.createElement("template");
@@ -199,18 +192,18 @@ function Be() {
199
192
  }
200
193
  let y, Pe = "", { implementation: b, createNodeIterator: Ve, createDocumentFragment: x, getElementsByTagName: S } = n, { importNode: C } = r, w = ze();
201
194
  t.isSupported = typeof i == "function" && typeof Me == "function" && b && b.createHTMLDocument !== void 0;
202
- let { MUSTACHE_EXPR: He, ERB_EXPR: T, TMPLIT_EXPR: E, DATA_ATTR: Ue, ARIA_ATTR: We, IS_SCRIPT_OR_DATA: D, ATTR_WHITESPACE: Ge, CUSTOM_ELEMENT: O } = Fe, { IS_ALLOWED_URI: Ke } = Fe, k = null, A = _({}, [
195
+ let { MUSTACHE_EXPR: T, ERB_EXPR: E, TMPLIT_EXPR: D, DATA_ATTR: He, ARIA_ATTR: Ue, IS_SCRIPT_OR_DATA: O, ATTR_WHITESPACE: We, CUSTOM_ELEMENT: k } = Fe, { IS_ALLOWED_URI: Ge } = Fe, A = null, j = _({}, [
203
196
  ...he,
204
197
  ...ge,
205
198
  ..._e,
206
199
  ...ye,
207
200
  ...xe
208
- ]), j = null, M = _({}, [
201
+ ]), M = null, N = _({}, [
209
202
  ...Se,
210
203
  ...Ce,
211
204
  ...we,
212
205
  ...Te
213
- ]), N = Object.seal(d(null, {
206
+ ]), P = Object.seal(d(null, {
214
207
  tagNameCheck: {
215
208
  writable: !0,
216
209
  configurable: !1,
@@ -229,7 +222,7 @@ function Be() {
229
222
  enumerable: !0,
230
223
  value: !1
231
224
  }
232
- })), P = null, qe = null, F = Object.seal(d(null, {
225
+ })), F = null, Ke = null, I = Object.seal(d(null, {
233
226
  tagCheck: {
234
227
  writable: !0,
235
228
  configurable: !1,
@@ -242,7 +235,7 @@ function Be() {
242
235
  enumerable: !0,
243
236
  value: null
244
237
  }
245
- })), Je = !0, Ye = !0, Xe = !1, Ze = !0, I = !1, Qe = !0, L = !1, $e = !1, et = !1, R = !1, z = !1, B = !1, V = !0, H = !1, tt = !0, nt = !1, U = {}, W = null, rt = _({}, [
238
+ })), qe = !0, Je = !0, Ye = !1, Xe = !0, L = !1, Ze = !0, R = !1, Qe = !1, $e = !1, z = !1, B = !1, V = !1, H = !0, U = !1, et = !0, tt = !1, nt = {}, W = null, rt = _({}, [
246
239
  "annotation-xml",
247
240
  "audio",
248
241
  "colgroup",
@@ -311,11 +304,11 @@ function Be() {
311
304
  }, xt = function() {
312
305
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
313
306
  if (!(q && q === e)) {
314
- if ((!e || typeof e != "object") && (e = {}), e = v(e), _t = vt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, K = _t === "application/xhtml+xml" ? oe : ae, k = m(e, "ALLOWED_TAGS") ? _({}, e.ALLOWED_TAGS, K) : A, j = m(e, "ALLOWED_ATTR") ? _({}, e.ALLOWED_ATTR, K) : M, ft = m(e, "ALLOWED_NAMESPACES") ? _({}, e.ALLOWED_NAMESPACES, oe) : pt, ot = m(e, "ADD_URI_SAFE_ATTR") ? _(v(st), e.ADD_URI_SAFE_ATTR, K) : st, it = m(e, "ADD_DATA_URI_TAGS") ? _(v(at), e.ADD_DATA_URI_TAGS, K) : at, W = m(e, "FORBID_CONTENTS") ? _({}, e.FORBID_CONTENTS, K) : rt, P = m(e, "FORBID_TAGS") ? _({}, e.FORBID_TAGS, K) : v({}), qe = m(e, "FORBID_ATTR") ? _({}, e.FORBID_ATTR, K) : v({}), U = m(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Je = e.ALLOW_ARIA_ATTR !== !1, Ye = e.ALLOW_DATA_ATTR !== !1, Xe = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ze = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, I = e.SAFE_FOR_TEMPLATES || !1, Qe = e.SAFE_FOR_XML !== !1, L = e.WHOLE_DOCUMENT || !1, R = e.RETURN_DOM || !1, z = e.RETURN_DOM_FRAGMENT || !1, B = e.RETURN_TRUSTED_TYPE || !1, et = e.FORCE_BODY || !1, V = e.SANITIZE_DOM !== !1, H = e.SANITIZE_NAMED_PROPS || !1, tt = e.KEEP_CONTENT !== !1, nt = e.IN_PLACE || !1, Ke = e.ALLOWED_URI_REGEXP || je, ut = e.NAMESPACE || G, mt = e.MATHML_TEXT_INTEGRATION_POINTS || mt, ht = e.HTML_INTEGRATION_POINTS || ht, N = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (N.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (N.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (N.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), I && (Ye = !1), z && (R = !0), U && (k = _({}, xe), j = d(null), U.html === !0 && (_(k, he), _(j, Se)), U.svg === !0 && (_(k, ge), _(j, Ce), _(j, Te)), U.svgFilters === !0 && (_(k, _e), _(j, Ce), _(j, Te)), U.mathMl === !0 && (_(k, ye), _(j, we), _(j, Te))), m(e, "ADD_TAGS") || (F.tagCheck = null), m(e, "ADD_ATTR") || (F.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? F.tagCheck = e.ADD_TAGS : (k === A && (k = v(k)), _(k, e.ADD_TAGS, K))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? F.attributeCheck = e.ADD_ATTR : (j === M && (j = v(j)), _(j, e.ADD_ATTR, K))), e.ADD_URI_SAFE_ATTR && _(ot, e.ADD_URI_SAFE_ATTR, K), e.FORBID_CONTENTS && (W === rt && (W = v(W)), _(W, e.FORBID_CONTENTS, K)), e.ADD_FORBID_CONTENTS && (W === rt && (W = v(W)), _(W, e.ADD_FORBID_CONTENTS, K)), tt && (k["#text"] = !0), L && _(k, [
307
+ if ((!e || typeof e != "object") && (e = {}), e = v(e), _t = vt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, K = _t === "application/xhtml+xml" ? oe : ae, A = m(e, "ALLOWED_TAGS") ? _({}, e.ALLOWED_TAGS, K) : j, M = m(e, "ALLOWED_ATTR") ? _({}, e.ALLOWED_ATTR, K) : N, ft = m(e, "ALLOWED_NAMESPACES") ? _({}, e.ALLOWED_NAMESPACES, oe) : pt, ot = m(e, "ADD_URI_SAFE_ATTR") ? _(v(st), e.ADD_URI_SAFE_ATTR, K) : st, it = m(e, "ADD_DATA_URI_TAGS") ? _(v(at), e.ADD_DATA_URI_TAGS, K) : at, W = m(e, "FORBID_CONTENTS") ? _({}, e.FORBID_CONTENTS, K) : rt, F = m(e, "FORBID_TAGS") ? _({}, e.FORBID_TAGS, K) : v({}), Ke = m(e, "FORBID_ATTR") ? _({}, e.FORBID_ATTR, K) : v({}), nt = m(e, "USE_PROFILES") ? e.USE_PROFILES : !1, qe = e.ALLOW_ARIA_ATTR !== !1, Je = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, L = e.SAFE_FOR_TEMPLATES || !1, Ze = e.SAFE_FOR_XML !== !1, R = e.WHOLE_DOCUMENT || !1, z = e.RETURN_DOM || !1, B = e.RETURN_DOM_FRAGMENT || !1, V = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, H = e.SANITIZE_DOM !== !1, U = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, tt = e.IN_PLACE || !1, Ge = e.ALLOWED_URI_REGEXP || je, ut = e.NAMESPACE || G, mt = e.MATHML_TEXT_INTEGRATION_POINTS || mt, ht = e.HTML_INTEGRATION_POINTS || ht, P = e.CUSTOM_ELEMENT_HANDLING || d(null), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (P.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (P.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (P.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), L && (Je = !1), B && (z = !0), nt && (A = _({}, xe), M = d(null), nt.html === !0 && (_(A, he), _(M, Se)), nt.svg === !0 && (_(A, ge), _(M, Ce), _(M, Te)), nt.svgFilters === !0 && (_(A, _e), _(M, Ce), _(M, Te)), nt.mathMl === !0 && (_(A, ye), _(M, we), _(M, Te))), I.tagCheck = null, I.attributeCheck = null, e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? I.tagCheck = e.ADD_TAGS : (A === j && (A = v(A)), _(A, e.ADD_TAGS, K))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? I.attributeCheck = e.ADD_ATTR : (M === N && (M = v(M)), _(M, e.ADD_ATTR, K))), e.ADD_URI_SAFE_ATTR && _(ot, e.ADD_URI_SAFE_ATTR, K), e.FORBID_CONTENTS && (W === rt && (W = v(W)), _(W, e.FORBID_CONTENTS, K)), e.ADD_FORBID_CONTENTS && (W === rt && (W = v(W)), _(W, e.ADD_FORBID_CONTENTS, K)), et && (A["#text"] = !0), R && _(A, [
315
308
  "html",
316
309
  "head",
317
310
  "body"
318
- ]), k.table && (_(k, ["tbody"]), delete P.tbody), e.TRUSTED_TYPES_POLICY) {
311
+ ]), A.table && (_(A, ["tbody"]), delete F.tbody), e.TRUSTED_TYPES_POLICY) {
319
312
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw de("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
320
313
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw de("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
321
314
  y = e.TRUSTED_TYPES_POLICY, Pe = y.createHTML("");
@@ -353,7 +346,7 @@ function Be() {
353
346
  from: n
354
347
  });
355
348
  }
356
- if (n.removeAttribute(e), e === "is") if (R || z) try {
349
+ if (n.removeAttribute(e), e === "is") if (z || B) try {
357
350
  J(n);
358
351
  } catch {}
359
352
  else try {
@@ -361,7 +354,7 @@ function Be() {
361
354
  } catch {}
362
355
  }, X = function(e) {
363
356
  let t = null, r = null;
364
- if (et) e = "<remove></remove>" + e;
357
+ if ($e) e = "<remove></remove>" + e;
365
358
  else {
366
359
  let t = se(e, /^[\r\n\t ]+/);
367
360
  r = t && t[0];
@@ -378,30 +371,30 @@ function Be() {
378
371
  } catch {}
379
372
  }
380
373
  let a = t.body || t.documentElement;
381
- return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), ut === G ? S.call(t, L ? "html" : "body")[0] : L ? t.documentElement : a;
374
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), ut === G ? S.call(t, R ? "html" : "body")[0] : R ? t.documentElement : a;
382
375
  }, Tt = function(e) {
383
376
  return Ve.call(e.ownerDocument || e, e, f.SHOW_ELEMENT | f.SHOW_COMMENT | f.SHOW_TEXT | f.SHOW_PROCESSING_INSTRUCTION | f.SHOW_CDATA_SECTION, null);
384
377
  }, Z = function(e) {
385
378
  return e instanceof g && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof ee) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
386
- }, Et = function(e) {
379
+ }, Q = function(e) {
387
380
  return typeof c == "function" && e instanceof c;
388
381
  };
389
- function Q(e, n, r) {
382
+ function $(e, n, r) {
390
383
  p(e, (e) => {
391
384
  e.call(t, n, r, q);
392
385
  });
393
386
  }
394
- let Dt = function(e) {
387
+ let Et = function(e) {
395
388
  let n = null;
396
- if (Q(w.beforeSanitizeElements, e, null), Z(e)) return J(e), !0;
389
+ if ($(w.beforeSanitizeElements, e, null), Z(e)) return J(e), !0;
397
390
  let r = K(e.nodeName);
398
- if (Q(w.uponSanitizeElement, e, {
391
+ if ($(w.uponSanitizeElement, e, {
399
392
  tagName: r,
400
- allowedTags: k
401
- }), Qe && e.hasChildNodes() && !Et(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Ie.progressingInstruction || Qe && e.nodeType === Ie.comment && h(/<[/\w]/g, e.data)) return J(e), !0;
402
- if (!(F.tagCheck instanceof Function && F.tagCheck(r)) && (!k[r] || P[r])) {
403
- if (!P[r] && kt(r) && (N.tagNameCheck instanceof RegExp && h(N.tagNameCheck, r) || N.tagNameCheck instanceof Function && N.tagNameCheck(r))) return !1;
404
- if (tt && !W[r]) {
393
+ allowedTags: A
394
+ }), Ze && e.hasChildNodes() && !Q(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || Ze && e.namespaceURI === G && r === "style" && Q(e.firstElementChild) || e.nodeType === Ie.progressingInstruction || Ze && e.nodeType === Ie.comment && h(/<[/\w]/g, e.data)) return J(e), !0;
395
+ if (F[r] || !(I.tagCheck instanceof Function && I.tagCheck(r)) && !A[r]) {
396
+ if (!F[r] && Ot(r) && (P.tagNameCheck instanceof RegExp && h(P.tagNameCheck, r) || P.tagNameCheck instanceof Function && P.tagNameCheck(r))) return !1;
397
+ if (et && !W[r]) {
405
398
  let t = Me(e) || e.parentNode, n = Ae(e) || e.childNodes;
406
399
  if (n && t) {
407
400
  let r = n.length;
@@ -413,37 +406,37 @@ function Be() {
413
406
  }
414
407
  return J(e), !0;
415
408
  }
416
- return e instanceof u && !wt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (J(e), !0) : (I && e.nodeType === Ie.text && (n = e.textContent, p([
417
- He,
409
+ return e instanceof u && !wt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (J(e), !0) : (L && e.nodeType === Ie.text && (n = e.textContent, p([
418
410
  T,
419
- E
411
+ E,
412
+ D
420
413
  ], (e) => {
421
414
  n = ce(n, e, " ");
422
- }), e.textContent !== n && (re(t.removed, { element: e.cloneNode() }), e.textContent = n)), Q(w.afterSanitizeElements, e, null), !1);
423
- }, Ot = function(e, t, r) {
424
- if (qe[t] || V && (t === "id" || t === "name") && (r in n || r in yt)) return !1;
425
- if (!(Ye && !qe[t] && h(Ue, t)) && !(Je && h(We, t)) && !(F.attributeCheck instanceof Function && F.attributeCheck(t, e))) {
426
- if (!j[t] || qe[t]) {
427
- if (!(kt(e) && (N.tagNameCheck instanceof RegExp && h(N.tagNameCheck, e) || N.tagNameCheck instanceof Function && N.tagNameCheck(e)) && (N.attributeNameCheck instanceof RegExp && h(N.attributeNameCheck, t) || N.attributeNameCheck instanceof Function && N.attributeNameCheck(t, e)) || t === "is" && N.allowCustomizedBuiltInElements && (N.tagNameCheck instanceof RegExp && h(N.tagNameCheck, r) || N.tagNameCheck instanceof Function && N.tagNameCheck(r)))) return !1;
428
- } else if (!ot[t] && !h(Ke, ce(r, Ge, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && it[e]) && !(Xe && !h(D, ce(r, Ge, ""))) && r) return !1;
415
+ }), e.textContent !== n && (re(t.removed, { element: e.cloneNode() }), e.textContent = n)), $(w.afterSanitizeElements, e, null), !1);
416
+ }, Dt = function(e, t, r) {
417
+ if (Ke[t] || H && (t === "id" || t === "name") && (r in n || r in yt)) return !1;
418
+ if (!(Je && !Ke[t] && h(He, t)) && !(qe && h(Ue, t)) && !(I.attributeCheck instanceof Function && I.attributeCheck(t, e))) {
419
+ if (!M[t] || Ke[t]) {
420
+ if (!(Ot(e) && (P.tagNameCheck instanceof RegExp && h(P.tagNameCheck, e) || P.tagNameCheck instanceof Function && P.tagNameCheck(e)) && (P.attributeNameCheck instanceof RegExp && h(P.attributeNameCheck, t) || P.attributeNameCheck instanceof Function && P.attributeNameCheck(t, e)) || t === "is" && P.allowCustomizedBuiltInElements && (P.tagNameCheck instanceof RegExp && h(P.tagNameCheck, r) || P.tagNameCheck instanceof Function && P.tagNameCheck(r)))) return !1;
421
+ } else if (!ot[t] && !h(Ge, ce(r, We, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && it[e]) && !(Ye && !h(O, ce(r, We, ""))) && r) return !1;
429
422
  }
430
423
  return !0;
424
+ }, Ot = function(e) {
425
+ return e !== "annotation-xml" && se(e, k);
431
426
  }, kt = function(e) {
432
- return e !== "annotation-xml" && se(e, O);
433
- }, At = function(e) {
434
- Q(w.beforeSanitizeAttributes, e, null);
427
+ $(w.beforeSanitizeAttributes, e, null);
435
428
  let { attributes: n } = e;
436
429
  if (!n || Z(e)) return;
437
430
  let r = {
438
431
  attrName: "",
439
432
  attrValue: "",
440
433
  keepAttr: !0,
441
- allowedAttributes: j,
434
+ allowedAttributes: M,
442
435
  forceKeepAttr: void 0
443
436
  }, i = n.length;
444
437
  for (; i--;) {
445
438
  let { name: a, namespaceURI: o, value: s } = n[i], c = K(a), l = s, u = a === "value" ? l : ue(l);
446
- if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, Q(w.uponSanitizeAttribute, e, r), u = r.attrValue, H && (c === "id" || c === "name") && (Y(a, e), u = "user-content-" + u), Qe && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, u)) {
439
+ if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, $(w.uponSanitizeAttribute, e, r), u = r.attrValue, U && (c === "id" || c === "name") && (Y(a, e), u = "user-content-" + u), Ze && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, u)) {
447
440
  Y(a, e);
448
441
  continue;
449
442
  }
@@ -456,19 +449,19 @@ function Be() {
456
449
  Y(a, e);
457
450
  continue;
458
451
  }
459
- if (!Ze && h(/\/>/i, u)) {
452
+ if (!Xe && h(/\/>/i, u)) {
460
453
  Y(a, e);
461
454
  continue;
462
455
  }
463
- I && p([
464
- He,
456
+ L && p([
465
457
  T,
466
- E
458
+ E,
459
+ D
467
460
  ], (e) => {
468
461
  u = ce(u, e, " ");
469
462
  });
470
463
  let d = K(e.nodeName);
471
- if (!Ot(d, c, u)) {
464
+ if (!Dt(d, c, u)) {
472
465
  Y(a, e);
473
466
  continue;
474
467
  }
@@ -486,51 +479,62 @@ function Be() {
486
479
  Y(a, e);
487
480
  }
488
481
  }
489
- Q(w.afterSanitizeAttributes, e, null);
490
- }, jt = function e(t) {
491
- let n = null, r = Tt(t);
492
- for (Q(w.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) Q(w.uponSanitizeShadowNode, n, null), Dt(n), At(n), n.content instanceof o && e(n.content);
493
- Q(w.afterSanitizeShadowDOM, t, null);
482
+ $(w.afterSanitizeAttributes, e, null);
483
+ }, At = function(e) {
484
+ let t = null, n = Tt(e);
485
+ for ($(w.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) $(w.uponSanitizeShadowNode, t, null), Et(t), kt(t), t.content instanceof o && At(t.content);
486
+ $(w.afterSanitizeShadowDOM, e, null);
494
487
  };
495
488
  return t.sanitize = function(e) {
496
489
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, s = null, l = null;
497
- if (dt = !e, dt && (e = "<!-->"), typeof e != "string" && !Et(e)) if (typeof e.toString == "function") {
490
+ if (dt = !e, dt && (e = "<!-->"), typeof e != "string" && !Q(e)) if (typeof e.toString == "function") {
498
491
  if (e = e.toString(), typeof e != "string") throw de("dirty is not a string, aborting");
499
492
  } else throw de("toString is not a function");
500
493
  if (!t.isSupported) return e;
501
- if ($e || xt(n), t.removed = [], typeof e == "string" && (nt = !1), nt) {
494
+ if (Qe || xt(n), t.removed = [], typeof e == "string" && (tt = !1), tt) {
502
495
  if (e.nodeName) {
503
496
  let t = K(e.nodeName);
504
- if (!k[t] || P[t]) throw de("root node is forbidden and cannot be sanitized in-place");
497
+ if (!A[t] || F[t]) throw de("root node is forbidden and cannot be sanitized in-place");
505
498
  }
506
499
  } else if (e instanceof c) i = X("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === Ie.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a);
507
500
  else {
508
- if (!R && !I && !L && e.indexOf("<") === -1) return y && B ? y.createHTML(e) : e;
509
- if (i = X(e), !i) return R ? null : B ? Pe : "";
501
+ if (!z && !L && !R && e.indexOf("<") === -1) return y && V ? y.createHTML(e) : e;
502
+ if (i = X(e), !i) return z ? null : V ? Pe : "";
510
503
  }
511
- i && et && J(i.firstChild);
512
- let u = Tt(nt ? e : i);
513
- for (; s = u.nextNode();) Dt(s), At(s), s.content instanceof o && jt(s.content);
514
- if (nt) return e;
515
- if (R) {
516
- if (z) for (l = x.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
504
+ i && $e && J(i.firstChild);
505
+ let u = Tt(tt ? e : i);
506
+ for (; s = u.nextNode();) Et(s), kt(s), s.content instanceof o && At(s.content);
507
+ if (tt) return e;
508
+ if (z) {
509
+ if (L) {
510
+ i.normalize();
511
+ let e = i.innerHTML;
512
+ p([
513
+ T,
514
+ E,
515
+ D
516
+ ], (t) => {
517
+ e = ce(e, t, " ");
518
+ }), i.innerHTML = e;
519
+ }
520
+ if (B) for (l = x.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
517
521
  else l = i;
518
- return (j.shadowroot || j.shadowrootmode) && (l = C.call(r, l, !0)), l;
522
+ return (M.shadowroot || M.shadowrootmode) && (l = C.call(r, l, !0)), l;
519
523
  }
520
- let d = L ? i.outerHTML : i.innerHTML;
521
- return L && k["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && h(Ne, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), I && p([
522
- He,
524
+ let d = R ? i.outerHTML : i.innerHTML;
525
+ return R && A["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && h(Ne, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), L && p([
523
526
  T,
524
- E
527
+ E,
528
+ D
525
529
  ], (e) => {
526
530
  d = ce(d, e, " ");
527
- }), y && B ? y.createHTML(d) : d;
531
+ }), y && V ? y.createHTML(d) : d;
528
532
  }, t.setConfig = function() {
529
- xt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), $e = !0;
533
+ xt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Qe = !0;
530
534
  }, t.clearConfig = function() {
531
- q = null, $e = !1;
535
+ q = null, Qe = !1;
532
536
  }, t.isValidAttribute = function(e, t, n) {
533
- return q || xt({}), Ot(K(e), K(t), n);
537
+ return q || xt({}), Dt(K(e), K(t), n);
534
538
  }, t.addHook = function(e, t) {
535
539
  typeof t == "function" && re(w[e], t);
536
540
  }, t.removeHook = function(e, t) {
@@ -634,7 +638,7 @@ var C = {
634
638
  is(e) {
635
639
  return this.type === e;
636
640
  }
637
- }, He = new class {
641
+ }, T = new class {
638
642
  constructor(e, t) {
639
643
  this.color = t, this.changed = !1, this.data = e, this.type = new w();
640
644
  }
@@ -702,14 +706,14 @@ var C = {
702
706
  g: 0,
703
707
  b: 0,
704
708
  a: 0
705
- }, "transparent"), T = {
709
+ }, "transparent"), E = {
706
710
  re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
707
711
  parse: (e) => {
708
712
  if (e.charCodeAt(0) !== 35) return;
709
- let t = e.match(T.re);
713
+ let t = e.match(E.re);
710
714
  if (!t) return;
711
715
  let n = t[1], r = parseInt(n, 16), i = n.length, a = i % 4 == 0, o = i > 4, s = o ? 1 : 17, c = o ? 8 : 4, l = a ? 0 : -1, u = o ? 255 : 15;
712
- return He.set({
716
+ return T.set({
713
717
  r: (r >> c * (l + 3) & u) * s,
714
718
  g: (r >> c * (l + 2) & u) * s,
715
719
  b: (r >> c * (l + 1) & u) * s,
@@ -720,11 +724,11 @@ var C = {
720
724
  let { r: t, g: n, b: r, a: i } = e;
721
725
  return i < 1 ? `#${S[Math.round(t)]}${S[Math.round(n)]}${S[Math.round(r)]}${S[Math.round(i * 255)]}` : `#${S[Math.round(t)]}${S[Math.round(n)]}${S[Math.round(r)]}`;
722
726
  }
723
- }, E = {
727
+ }, D = {
724
728
  re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,
725
729
  hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
726
730
  _hue2deg: (e) => {
727
- let t = e.match(E.hueRe);
731
+ let t = e.match(D.hueRe);
728
732
  if (t) {
729
733
  let [, e, n] = t;
730
734
  switch (n) {
@@ -738,11 +742,11 @@ var C = {
738
742
  parse: (e) => {
739
743
  let t = e.charCodeAt(0);
740
744
  if (t !== 104 && t !== 72) return;
741
- let n = e.match(E.re);
745
+ let n = e.match(D.re);
742
746
  if (!n) return;
743
747
  let [, r, i, a, o, s] = n;
744
- return He.set({
745
- h: E._hue2deg(r),
748
+ return T.set({
749
+ h: D._hue2deg(r),
746
750
  s: x.channel.clamp.s(parseFloat(i)),
747
751
  l: x.channel.clamp.l(parseFloat(a)),
748
752
  a: o ? x.channel.clamp.a(s ? parseFloat(o) / 100 : parseFloat(o)) : 1
@@ -752,7 +756,7 @@ var C = {
752
756
  let { h: t, s: n, l: r, a: i } = e;
753
757
  return i < 1 ? `hsla(${x.lang.round(t)}, ${x.lang.round(n)}%, ${x.lang.round(r)}%, ${i})` : `hsl(${x.lang.round(t)}, ${x.lang.round(n)}%, ${x.lang.round(r)}%)`;
754
758
  }
755
- }, Ue = {
759
+ }, He = {
756
760
  colors: {
757
761
  aliceblue: "#f0f8ff",
758
762
  antiquewhite: "#faebd7",
@@ -904,22 +908,22 @@ var C = {
904
908
  },
905
909
  parse: (e) => {
906
910
  e = e.toLowerCase();
907
- let t = Ue.colors[e];
908
- if (t) return T.parse(t);
911
+ let t = He.colors[e];
912
+ if (t) return E.parse(t);
909
913
  },
910
914
  stringify: (e) => {
911
- let t = T.stringify(e);
912
- for (let e in Ue.colors) if (Ue.colors[e] === t) return e;
915
+ let t = E.stringify(e);
916
+ for (let e in He.colors) if (He.colors[e] === t) return e;
913
917
  }
914
- }, We = {
918
+ }, Ue = {
915
919
  re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,
916
920
  parse: (e) => {
917
921
  let t = e.charCodeAt(0);
918
922
  if (t !== 114 && t !== 82) return;
919
- let n = e.match(We.re);
923
+ let n = e.match(Ue.re);
920
924
  if (!n) return;
921
925
  let [, r, i, a, o, s, c, l, u] = n;
922
- return He.set({
926
+ return T.set({
923
927
  r: x.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
924
928
  g: x.channel.clamp.g(o ? parseFloat(a) * 2.55 : parseFloat(a)),
925
929
  b: x.channel.clamp.b(c ? parseFloat(s) * 2.55 : parseFloat(s)),
@@ -930,89 +934,89 @@ var C = {
930
934
  let { r: t, g: n, b: r, a: i } = e;
931
935
  return i < 1 ? `rgba(${x.lang.round(t)}, ${x.lang.round(n)}, ${x.lang.round(r)}, ${x.lang.round(i)})` : `rgb(${x.lang.round(t)}, ${x.lang.round(n)}, ${x.lang.round(r)})`;
932
936
  }
933
- }, D = {
937
+ }, O = {
934
938
  format: {
935
- keyword: Ue,
936
- hex: T,
937
- rgb: We,
938
- rgba: We,
939
- hsl: E,
940
- hsla: E
939
+ keyword: He,
940
+ hex: E,
941
+ rgb: Ue,
942
+ rgba: Ue,
943
+ hsl: D,
944
+ hsla: D
941
945
  },
942
946
  parse: (e) => {
943
947
  if (typeof e != "string") return e;
944
- let t = T.parse(e) || We.parse(e) || E.parse(e) || Ue.parse(e);
948
+ let t = E.parse(e) || Ue.parse(e) || D.parse(e) || He.parse(e);
945
949
  if (t) return t;
946
950
  throw Error(`Unsupported color format: "${e}"`);
947
951
  },
948
- stringify: (e) => !e.changed && e.color ? e.color : e.type.is(C.HSL) || e.data.r === void 0 ? E.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? We.stringify(e) : T.stringify(e)
949
- }, Ge = (e, t) => {
950
- let n = D.parse(e);
952
+ stringify: (e) => !e.changed && e.color ? e.color : e.type.is(C.HSL) || e.data.r === void 0 ? D.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? Ue.stringify(e) : E.stringify(e)
953
+ }, We = (e, t) => {
954
+ let n = O.parse(e);
951
955
  for (let e in t) n[e] = x.channel.clamp[e](t[e]);
952
- return D.stringify(n);
953
- }, O = (e, t, n = 0, r = 1) => {
954
- if (typeof e != "number") return Ge(e, { a: t });
955
- let i = He.set({
956
+ return O.stringify(n);
957
+ }, k = (e, t, n = 0, r = 1) => {
958
+ if (typeof e != "number") return We(e, { a: t });
959
+ let i = T.set({
956
960
  r: x.channel.clamp.r(e),
957
961
  g: x.channel.clamp.g(t),
958
962
  b: x.channel.clamp.b(n),
959
963
  a: x.channel.clamp.a(r)
960
964
  });
961
- return D.stringify(i);
962
- }, Ke = (e) => {
963
- let { r: t, g: n, b: r } = D.parse(e), i = .2126 * x.channel.toLinear(t) + .7152 * x.channel.toLinear(n) + .0722 * x.channel.toLinear(r);
965
+ return O.stringify(i);
966
+ }, Ge = (e) => {
967
+ let { r: t, g: n, b: r } = O.parse(e), i = .2126 * x.channel.toLinear(t) + .7152 * x.channel.toLinear(n) + .0722 * x.channel.toLinear(r);
964
968
  return x.lang.round(i);
965
- }, k = (e) => Ke(e) >= .5, A = (e) => !k(e), j = (e, t, n) => {
966
- let r = D.parse(e), i = r[t], a = x.channel.clamp[t](i + n);
967
- return i !== a && (r[t] = a), D.stringify(r);
968
- }, M = (e, t) => j(e, "l", t), N = (e, t) => j(e, "l", -t), P = (e, t) => {
969
- let n = D.parse(e), r = {};
969
+ }, A = (e) => Ge(e) >= .5, j = (e) => !A(e), M = (e, t, n) => {
970
+ let r = O.parse(e), i = r[t], a = x.channel.clamp[t](i + n);
971
+ return i !== a && (r[t] = a), O.stringify(r);
972
+ }, N = (e, t) => M(e, "l", t), P = (e, t) => M(e, "l", -t), F = (e, t) => {
973
+ let n = O.parse(e), r = {};
970
974
  for (let e in t) t[e] && (r[e] = n[e] + t[e]);
971
- return Ge(e, r);
972
- }, qe = (e, t, n = 50) => {
973
- let { r, g: i, b: a, a: o } = D.parse(e), { r: s, g: c, b: l, a: u } = D.parse(t), d = n / 100, f = d * 2 - 1, ee = o - u, p = ((f * ee === -1 ? f : (f + ee) / (1 + f * ee)) + 1) / 2, te = 1 - p;
974
- return O(r * p + s * te, i * p + c * te, a * p + l * te, o * d + u * (1 - d));
975
- }, F = (e, t = 100) => {
976
- let n = D.parse(e);
977
- return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, qe(n, e, t);
978
- }, Je = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ye = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Xe = /\s*%%.*\n/gm, Ze = class extends Error {
975
+ return We(e, r);
976
+ }, Ke = (e, t, n = 50) => {
977
+ let { r, g: i, b: a, a: o } = O.parse(e), { r: s, g: c, b: l, a: u } = O.parse(t), d = n / 100, f = d * 2 - 1, ee = o - u, p = ((f * ee === -1 ? f : (f + ee) / (1 + f * ee)) + 1) / 2, te = 1 - p;
978
+ return k(r * p + s * te, i * p + c * te, a * p + l * te, o * d + u * (1 - d));
979
+ }, I = (e, t = 100) => {
980
+ let n = O.parse(e);
981
+ return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, Ke(n, e, t);
982
+ }, qe = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Je = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Ye = /\s*%%.*\n/gm, Xe = class extends Error {
979
983
  static {
980
984
  n(this, "UnknownDiagramError");
981
985
  }
982
986
  constructor(e) {
983
987
  super(e), this.name = "UnknownDiagramError";
984
988
  }
985
- }, I = {}, Qe = /* @__PURE__ */ n(function(e, t) {
986
- e = e.replace(Je, "").replace(Ye, "").replace(Xe, "\n");
987
- for (let [n, { detector: r }] of Object.entries(I)) if (r(e, t)) return n;
988
- throw new Ze(`No diagram type detected matching given configuration for text: ${e}`);
989
- }, "detectType"), L = /* @__PURE__ */ n((...e) => {
990
- for (let { id: t, detector: n, loader: r } of e) $e(t, n, r);
991
- }, "registerLazyLoadedDiagrams"), $e = /* @__PURE__ */ n((e, n, r) => {
992
- I[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), I[e] = {
989
+ }, L = {}, Ze = /* @__PURE__ */ n(function(e, t) {
990
+ e = e.replace(qe, "").replace(Je, "").replace(Ye, "\n");
991
+ for (let [n, { detector: r }] of Object.entries(L)) if (r(e, t)) return n;
992
+ throw new Xe(`No diagram type detected matching given configuration for text: ${e}`);
993
+ }, "detectType"), R = /* @__PURE__ */ n((...e) => {
994
+ for (let { id: t, detector: n, loader: r } of e) Qe(t, n, r);
995
+ }, "registerLazyLoadedDiagrams"), Qe = /* @__PURE__ */ n((e, n, r) => {
996
+ L[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), L[e] = {
993
997
  detector: n,
994
998
  loader: r
995
999
  }, t.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
996
- }, "addDetector"), et = /* @__PURE__ */ n((e) => I[e].loader, "getDiagramLoader"), R = /* @__PURE__ */ n((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
1000
+ }, "addDetector"), $e = /* @__PURE__ */ n((e) => L[e].loader, "getDiagramLoader"), z = /* @__PURE__ */ n((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
997
1001
  let i = {
998
1002
  depth: n,
999
1003
  clobber: r
1000
1004
  };
1001
- return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => R(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
1005
+ return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => z(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
1002
1006
  e.includes(t) || e.push(t);
1003
1007
  }), e) : e === void 0 || n <= 0 ? typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t : (t !== void 0 && typeof e == "object" && typeof t == "object" && Object.keys(t).forEach((i) => {
1004
- typeof t[i] == "object" && t[i] !== null && (e[i] === void 0 || typeof e[i] == "object") ? (e[i] === void 0 && (e[i] = Array.isArray(t[i]) ? [] : {}), e[i] = R(e[i], t[i], {
1008
+ typeof t[i] == "object" && t[i] !== null && (e[i] === void 0 || typeof e[i] == "object") ? (e[i] === void 0 && (e[i] = Array.isArray(t[i]) ? [] : {}), e[i] = z(e[i], t[i], {
1005
1009
  depth: n - 1,
1006
1010
  clobber: r
1007
1011
  })) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
1008
1012
  }), e);
1009
- }, "assignWithDepth"), z = R, B = "#ffffff", V = "#f2f2f2", H = /* @__PURE__ */ n((e, t) => t ? P(e, {
1013
+ }, "assignWithDepth"), B = z, V = "#ffffff", H = "#f2f2f2", U = /* @__PURE__ */ n((e, t) => t ? F(e, {
1010
1014
  s: -40,
1011
1015
  l: 10
1012
- }) : P(e, {
1016
+ }) : F(e, {
1013
1017
  s: -40,
1014
1018
  l: -10
1015
- }), "mkBorder"), tt = class {
1019
+ }), "mkBorder"), et = class {
1016
1020
  static {
1017
1021
  n(this, "Theme");
1018
1022
  }
@@ -1020,59 +1024,59 @@ var C = {
1020
1024
  this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.useGradient = !0, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
1021
1025
  }
1022
1026
  updateColors() {
1023
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1027
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
1024
1028
  h: 180,
1025
1029
  l: 5
1026
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || M(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || N(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || N(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || M(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || M(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, {
1030
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || N(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || P(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || P(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || N(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || N(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || F(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || F(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || F(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || F(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || F(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || F(this.primaryColor, {
1027
1031
  h: 210,
1028
1032
  l: 150
1029
- }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1030
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1031
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1032
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1033
+ }), this.cScale9 = this.cScale9 || F(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || F(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || F(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 75);
1034
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 25);
1035
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1036
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1033
1037
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1034
1038
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1035
1039
  let e = this.darkMode ? -4 : -1;
1036
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
1040
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || F(this.mainBkg, {
1037
1041
  h: 180,
1038
1042
  s: -15,
1039
1043
  l: e * (5 + t * 3)
1040
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
1044
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || F(this.mainBkg, {
1041
1045
  h: 180,
1042
1046
  s: -15,
1043
1047
  l: e * (8 + t * 3)
1044
1048
  });
1045
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
1049
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || F(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || F(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || F(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || F(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || F(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || F(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || F(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || F(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || F(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || F(this.primaryColor, {
1046
1050
  h: 60,
1047
1051
  l: -10
1048
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1052
+ }), this.pie8 = this.pie8 || F(this.primaryColor, {
1049
1053
  h: -60,
1050
1054
  l: -10
1051
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1055
+ }), this.pie9 = this.pie9 || F(this.primaryColor, {
1052
1056
  h: 120,
1053
1057
  l: 0
1054
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1058
+ }), this.pie10 = this.pie10 || F(this.primaryColor, {
1055
1059
  h: 60,
1056
1060
  l: -20
1057
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1061
+ }), this.pie11 = this.pie11 || F(this.primaryColor, {
1058
1062
  h: -60,
1059
1063
  l: -20
1060
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1064
+ }), this.pie12 = this.pie12 || F(this.primaryColor, {
1061
1065
  h: 120,
1062
1066
  l: -10
1063
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? P(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? P(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? P(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? P(this.primaryColor, {
1067
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? F(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? F(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? F(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? F(this.primaryColor, {
1064
1068
  h: 60,
1065
1069
  l: -30
1066
- }), this.venn5 = this.venn5 ?? P(this.primaryColor, {
1070
+ }), this.venn5 = this.venn5 ?? F(this.primaryColor, {
1067
1071
  h: -60,
1068
1072
  l: -30
1069
- }), this.venn6 = this.venn6 ?? P(this.secondaryColor, {
1073
+ }), this.venn6 = this.venn6 ?? F(this.secondaryColor, {
1070
1074
  h: 60,
1071
1075
  l: -30
1072
- }), this.venn7 = this.venn7 ?? P(this.primaryColor, {
1076
+ }), this.venn7 = this.venn7 ?? F(this.primaryColor, {
1073
1077
  h: 120,
1074
1078
  l: -30
1075
- }), this.venn8 = this.venn8 ?? P(this.secondaryColor, {
1079
+ }), this.venn8 = this.venn8 ?? F(this.secondaryColor, {
1076
1080
  h: 120,
1077
1081
  l: -30
1078
1082
  }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
@@ -1086,31 +1090,44 @@ var C = {
1086
1090
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
1087
1091
  legendBoxSize: this.radar?.legendBoxSize || 12,
1088
1092
  legendFontSize: this.radar?.legendFontSize || 12
1089
- }, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1093
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1094
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1095
+ axisColor: this.wardley?.axisColor || this.lineColor,
1096
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1097
+ gridColor: this.wardley?.gridColor || this.gridColor,
1098
+ componentFill: this.wardley?.componentFill || this.background,
1099
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1100
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1101
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1102
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1103
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1104
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1105
+ annotationFill: this.wardley?.annotationFill || this.background
1106
+ }, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1090
1107
  r: 5,
1091
1108
  g: 5,
1092
1109
  b: 5
1093
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1110
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1094
1111
  r: 10,
1095
1112
  g: 10,
1096
1113
  b: 10
1097
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1114
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1098
1115
  r: 15,
1099
1116
  g: 15,
1100
1117
  b: 15
1101
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1118
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1102
1119
  r: -5,
1103
1120
  g: -5,
1104
1121
  b: -5
1105
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1122
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1106
1123
  r: -10,
1107
1124
  g: -10,
1108
1125
  b: -10
1109
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1126
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1110
1127
  r: -15,
1111
1128
  g: -15,
1112
1129
  b: -15
1113
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1130
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1114
1131
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1115
1132
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1116
1133
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
@@ -1123,7 +1140,7 @@ var C = {
1123
1140
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1124
1141
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1125
1142
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1126
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
1143
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || F(this.primaryColor, { h: -30 }), this.git4 = this.git4 || F(this.primaryColor, { h: -60 }), this.git5 = this.git5 || F(this.primaryColor, { h: -90 }), this.git6 = this.git6 || F(this.primaryColor, { h: 60 }), this.git7 = this.git7 || F(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
1127
1144
  }
1128
1145
  calculate(e) {
1129
1146
  if (typeof e != "object") {
@@ -1137,25 +1154,25 @@ var C = {
1137
1154
  this[t] = e[t];
1138
1155
  });
1139
1156
  }
1140
- }, nt = /* @__PURE__ */ n((e) => {
1141
- let t = new tt();
1157
+ }, tt = /* @__PURE__ */ n((e) => {
1158
+ let t = new et();
1142
1159
  return t.calculate(e), t;
1143
- }, "getThemeVariables"), U = class {
1160
+ }, "getThemeVariables"), nt = class {
1144
1161
  static {
1145
1162
  n(this, "Theme");
1146
1163
  }
1147
1164
  constructor() {
1148
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = F(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.tertiaryColor), this.lineColor = F(this.background), this.textColor = F(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(F("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = O(255, 255, 255, .25), this.arrowheadColor = "calculated", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = N("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = N(this.sectionBkgColor, 10), this.taskBorderColor = O(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = O(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || M(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || N(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
1165
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = N(this.primaryColor, 16), this.tertiaryColor = F(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = N(I("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = k(255, 255, 255, .25), this.arrowheadColor = "calculated", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = P("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = P(this.sectionBkgColor, 10), this.taskBorderColor = k(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = k(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || N(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || P(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
1149
1166
  }
1150
1167
  updateColors() {
1151
- this.secondBkg = M(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = M(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = M(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = F(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 });
1152
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1153
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10);
1154
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1168
+ this.secondBkg = N(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = N(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = N(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = I(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = F(this.primaryColor, { h: 64 }), this.fillType3 = F(this.secondaryColor, { h: 64 }), this.fillType4 = F(this.primaryColor, { h: -64 }), this.fillType5 = F(this.secondaryColor, { h: -64 }), this.fillType6 = F(this.primaryColor, { h: 128 }), this.fillType7 = F(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || F(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || F(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || F(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || F(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || F(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || F(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || F(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || F(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || F(this.primaryColor, { h: 330 });
1169
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1170
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1171
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, {
1155
1172
  h: 30,
1156
1173
  s: -30,
1157
1174
  l: -(-10 + e * 4)
1158
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1175
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, {
1159
1176
  h: 30,
1160
1177
  s: -30,
1161
1178
  l: -(-7 + e * 4)
@@ -1164,32 +1181,32 @@ var C = {
1164
1181
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1165
1182
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1166
1183
  this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.mainContrastColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.mainContrastColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
1167
- for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? M(this["cScale" + e], 30);
1168
- this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1184
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? N(this["cScale" + e], 30);
1185
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1169
1186
  r: 5,
1170
1187
  g: 5,
1171
1188
  b: 5
1172
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1189
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1173
1190
  r: 10,
1174
1191
  g: 10,
1175
1192
  b: 10
1176
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1193
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1177
1194
  r: 15,
1178
1195
  g: 15,
1179
1196
  b: 15
1180
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1197
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1181
1198
  r: -5,
1182
1199
  g: -5,
1183
1200
  b: -5
1184
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1201
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1185
1202
  r: -10,
1186
1203
  g: -10,
1187
1204
  b: -10
1188
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1205
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1189
1206
  r: -15,
1190
1207
  g: -15,
1191
1208
  b: -15
1192
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1209
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1193
1210
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1194
1211
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1195
1212
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
@@ -1220,7 +1237,20 @@ var C = {
1220
1237
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
1221
1238
  legendBoxSize: this.radar?.legendBoxSize || 12,
1222
1239
  legendFontSize: this.radar?.legendFontSize || 12
1223
- }, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = M(this.secondaryColor, 20), this.git1 = M(this.pie2 || this.secondaryColor, 20), this.git2 = M(this.pie3 || this.tertiaryColor, 20), this.git3 = M(this.pie4 || P(this.primaryColor, { h: -30 }), 20), this.git4 = M(this.pie5 || P(this.primaryColor, { h: -60 }), 20), this.git5 = M(this.pie6 || P(this.primaryColor, { h: -90 }), 10), this.git6 = M(this.pie7 || P(this.primaryColor, { h: 60 }), 10), this.git7 = M(this.pie8 || P(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || F(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || F(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || M(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || M(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1240
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#ff6b6b", this.wardley = {
1241
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1242
+ axisColor: this.wardley?.axisColor || this.lineColor,
1243
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1244
+ gridColor: this.wardley?.gridColor || this.gridColor,
1245
+ componentFill: this.wardley?.componentFill || this.mainBkg,
1246
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1247
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1248
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1249
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1250
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1251
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1252
+ annotationFill: this.wardley?.annotationFill || this.mainBkg
1253
+ }, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = N(this.secondaryColor, 20), this.git1 = N(this.pie2 || this.secondaryColor, 20), this.git2 = N(this.pie3 || this.tertiaryColor, 20), this.git3 = N(this.pie4 || F(this.primaryColor, { h: -30 }), 20), this.git4 = N(this.pie5 || F(this.primaryColor, { h: -60 }), 20), this.git5 = N(this.pie6 || F(this.primaryColor, { h: -90 }), 10), this.git6 = N(this.pie7 || F(this.primaryColor, { h: 60 }), 10), this.git7 = N(this.pie8 || F(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "#2d2d2d", this.emUiStroke = this.emUiStroke || "#555", this.emProcessorFill = this.emProcessorFill || N("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || N("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || N("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || N("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || N(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || N(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || N(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || N(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1224
1254
  }
1225
1255
  calculate(e) {
1226
1256
  if (typeof e != "object") {
@@ -1235,88 +1265,88 @@ var C = {
1235
1265
  });
1236
1266
  }
1237
1267
  }, W = /* @__PURE__ */ n((e) => {
1238
- let t = new U();
1268
+ let t = new nt();
1239
1269
  return t.calculate(e), t;
1240
1270
  }, "getThemeVariables"), rt = class {
1241
1271
  static {
1242
1272
  n(this, "Theme");
1243
1273
  }
1244
1274
  constructor() {
1245
- this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = P(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.tertiaryColor), this.lineColor = F(this.background), this.textColor = F(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = O(102, 102, 255, .49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !1, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
1275
+ this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = F(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = F(this.primaryColor, { h: -160 }), this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = k(102, 102, 255, .49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !1, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
1246
1276
  }
1247
1277
  updateColors() {
1248
- this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || N(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || N(this.tertiaryColor, 40);
1249
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 25);
1250
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || P(this["cScale" + e], { h: 180 });
1251
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1278
+ this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || F(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || F(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || F(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || F(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || F(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || F(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || F(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || F(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || F(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || P(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || P(this.tertiaryColor, 40);
1279
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 25);
1280
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e], { h: 180 });
1281
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, {
1252
1282
  h: 30,
1253
1283
  l: -(5 + e * 5)
1254
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1284
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, {
1255
1285
  h: 30,
1256
1286
  l: -(7 + e * 5)
1257
1287
  });
1258
1288
  if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
1259
- this.cScaleLabel0 = this.cScaleLabel0 || F(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || F(this.labelTextColor);
1289
+ this.cScaleLabel0 = this.cScaleLabel0 || I(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || I(this.labelTextColor);
1260
1290
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
1261
1291
  }
1262
- this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || M(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || M(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || P(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || P(this.primaryColor, {
1292
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || N(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || N(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = F(this.primaryColor, { h: 64 }), this.fillType3 = F(this.secondaryColor, { h: 64 }), this.fillType4 = F(this.primaryColor, { h: -64 }), this.fillType5 = F(this.secondaryColor, { h: -64 }), this.fillType6 = F(this.primaryColor, { h: 128 }), this.fillType7 = F(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || F(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || F(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || F(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || F(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || F(this.primaryColor, {
1263
1293
  h: 60,
1264
1294
  l: -20
1265
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1295
+ }), this.pie8 = this.pie8 || F(this.primaryColor, {
1266
1296
  h: -60,
1267
1297
  l: -40
1268
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1298
+ }), this.pie9 = this.pie9 || F(this.primaryColor, {
1269
1299
  h: 120,
1270
1300
  l: -40
1271
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1301
+ }), this.pie10 = this.pie10 || F(this.primaryColor, {
1272
1302
  h: 60,
1273
1303
  l: -40
1274
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1304
+ }), this.pie11 = this.pie11 || F(this.primaryColor, {
1275
1305
  h: -90,
1276
1306
  l: -40
1277
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1307
+ }), this.pie12 = this.pie12 || F(this.primaryColor, {
1278
1308
  h: 120,
1279
1309
  l: -30
1280
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? P(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? P(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? P(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? P(this.primaryColor, {
1310
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? F(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? F(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? F(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? F(this.primaryColor, {
1281
1311
  h: 60,
1282
1312
  l: -30
1283
- }), this.venn5 = this.venn5 ?? P(this.primaryColor, {
1313
+ }), this.venn5 = this.venn5 ?? F(this.primaryColor, {
1284
1314
  h: -60,
1285
1315
  l: -30
1286
- }), this.venn6 = this.venn6 ?? P(this.secondaryColor, {
1316
+ }), this.venn6 = this.venn6 ?? F(this.secondaryColor, {
1287
1317
  h: 60,
1288
1318
  l: -30
1289
- }), this.venn7 = this.venn7 ?? P(this.primaryColor, {
1319
+ }), this.venn7 = this.venn7 ?? F(this.primaryColor, {
1290
1320
  h: 120,
1291
1321
  l: -30
1292
- }), this.venn8 = this.venn8 ?? P(this.secondaryColor, {
1322
+ }), this.venn8 = this.venn8 ?? F(this.secondaryColor, {
1293
1323
  h: 120,
1294
1324
  l: -30
1295
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1325
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1296
1326
  r: 5,
1297
1327
  g: 5,
1298
1328
  b: 5
1299
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1329
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1300
1330
  r: 10,
1301
1331
  g: 10,
1302
1332
  b: 10
1303
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1333
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1304
1334
  r: 15,
1305
1335
  g: 15,
1306
1336
  b: 15
1307
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1337
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1308
1338
  r: -5,
1309
1339
  g: -5,
1310
1340
  b: -5
1311
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1341
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1312
1342
  r: -10,
1313
1343
  g: -10,
1314
1344
  b: -10
1315
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1345
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1316
1346
  r: -15,
1317
1347
  g: -15,
1318
1348
  b: -15
1319
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
1349
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
1320
1350
  axisColor: this.radar?.axisColor || this.lineColor,
1321
1351
  axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1322
1352
  axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
@@ -1327,6 +1357,19 @@ var C = {
1327
1357
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
1328
1358
  legendBoxSize: this.radar?.legendBoxSize || 12,
1329
1359
  legendFontSize: this.radar?.legendFontSize || 12
1360
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1361
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1362
+ axisColor: this.wardley?.axisColor || this.lineColor,
1363
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1364
+ gridColor: this.wardley?.gridColor || this.gridColor,
1365
+ componentFill: this.wardley?.componentFill || this.background,
1366
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1367
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1368
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1369
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1370
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1371
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1372
+ annotationFill: this.wardley?.annotationFill || this.background
1330
1373
  }, this.xyChart = {
1331
1374
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1332
1375
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
@@ -1340,7 +1383,7 @@ var C = {
1340
1383
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1341
1384
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1342
1385
  plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
1343
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || N(F(this.git0), 25), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || F(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || F(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1386
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || F(this.primaryColor, { h: -30 }), this.git4 = this.git4 || F(this.primaryColor, { h: -60 }), this.git5 = this.git5 || F(this.primaryColor, { h: -90 }), this.git6 = this.git6 || F(this.primaryColor, { h: 60 }), this.git7 = this.git7 || F(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || P(I(this.git0), 25), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1344
1387
  }
1345
1388
  calculate(e) {
1346
1389
  if (Object.keys(this).forEach((e) => {
@@ -1364,84 +1407,84 @@ var C = {
1364
1407
  n(this, "Theme");
1365
1408
  }
1366
1409
  constructor() {
1367
- this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.tertiaryColor = M("#cde498", 10), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.primaryColor), this.lineColor = F(this.background), this.textColor = F(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
1410
+ this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.tertiaryColor = N("#cde498", 10), this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.primaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
1368
1411
  }
1369
1412
  updateColors() {
1370
- this.actorBorder = N(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || N(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || N(this.tertiaryColor, 40);
1371
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 25);
1372
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || P(this["cScale" + e], { h: 180 });
1413
+ this.actorBorder = P(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || F(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || F(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || F(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || F(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || F(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || F(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || F(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || F(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || F(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || P(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || P(this.tertiaryColor, 40);
1414
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 25);
1415
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e], { h: 180 });
1373
1416
  this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
1374
1417
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1375
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1418
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, {
1376
1419
  h: 30,
1377
1420
  s: -30,
1378
1421
  l: -(5 + e * 5)
1379
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1422
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, {
1380
1423
  h: 30,
1381
1424
  s: -30,
1382
1425
  l: -(8 + e * 5)
1383
1426
  });
1384
- this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || M(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || M(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || P(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || P(this.tertiaryColor, {
1427
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || N(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || N(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = F(this.primaryColor, { h: 64 }), this.fillType3 = F(this.secondaryColor, { h: 64 }), this.fillType4 = F(this.primaryColor, { h: -64 }), this.fillType5 = F(this.secondaryColor, { h: -64 }), this.fillType6 = F(this.primaryColor, { h: 128 }), this.fillType7 = F(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || F(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || F(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || F(this.tertiaryColor, {
1385
1428
  h: 40,
1386
1429
  l: -40
1387
- }), this.pie7 = this.pie7 || P(this.primaryColor, {
1430
+ }), this.pie7 = this.pie7 || F(this.primaryColor, {
1388
1431
  h: 60,
1389
1432
  l: -10
1390
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1433
+ }), this.pie8 = this.pie8 || F(this.primaryColor, {
1391
1434
  h: -60,
1392
1435
  l: -10
1393
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1436
+ }), this.pie9 = this.pie9 || F(this.primaryColor, {
1394
1437
  h: 120,
1395
1438
  l: 0
1396
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1439
+ }), this.pie10 = this.pie10 || F(this.primaryColor, {
1397
1440
  h: 60,
1398
1441
  l: -50
1399
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1442
+ }), this.pie11 = this.pie11 || F(this.primaryColor, {
1400
1443
  h: -60,
1401
1444
  l: -50
1402
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1445
+ }), this.pie12 = this.pie12 || F(this.primaryColor, {
1403
1446
  h: 120,
1404
1447
  l: -50
1405
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? P(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? P(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? P(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? P(this.primaryColor, {
1448
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? F(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? F(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? F(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? F(this.primaryColor, {
1406
1449
  h: 60,
1407
1450
  l: -30
1408
- }), this.venn5 = this.venn5 ?? P(this.primaryColor, {
1451
+ }), this.venn5 = this.venn5 ?? F(this.primaryColor, {
1409
1452
  h: -60,
1410
1453
  l: -30
1411
- }), this.venn6 = this.venn6 ?? P(this.secondaryColor, {
1454
+ }), this.venn6 = this.venn6 ?? F(this.secondaryColor, {
1412
1455
  h: 60,
1413
1456
  l: -30
1414
- }), this.venn7 = this.venn7 ?? P(this.primaryColor, {
1457
+ }), this.venn7 = this.venn7 ?? F(this.primaryColor, {
1415
1458
  h: 120,
1416
1459
  l: -30
1417
- }), this.venn8 = this.venn8 ?? P(this.secondaryColor, {
1460
+ }), this.venn8 = this.venn8 ?? F(this.secondaryColor, {
1418
1461
  h: 120,
1419
1462
  l: -30
1420
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1463
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1421
1464
  r: 5,
1422
1465
  g: 5,
1423
1466
  b: 5
1424
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1467
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1425
1468
  r: 10,
1426
1469
  g: 10,
1427
1470
  b: 10
1428
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1471
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1429
1472
  r: 15,
1430
1473
  g: 15,
1431
1474
  b: 15
1432
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1475
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1433
1476
  r: -5,
1434
1477
  g: -5,
1435
1478
  b: -5
1436
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1479
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1437
1480
  r: -10,
1438
1481
  g: -10,
1439
1482
  b: -10
1440
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1483
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1441
1484
  r: -15,
1442
1485
  g: -15,
1443
1486
  b: -15
1444
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
1487
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
1445
1488
  startByteColor: this.primaryTextColor,
1446
1489
  endByteColor: this.primaryTextColor,
1447
1490
  labelColor: this.primaryTextColor,
@@ -1459,6 +1502,19 @@ var C = {
1459
1502
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
1460
1503
  legendBoxSize: this.radar?.legendBoxSize || 12,
1461
1504
  legendFontSize: this.radar?.legendFontSize || 12
1505
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1506
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1507
+ axisColor: this.wardley?.axisColor || this.lineColor,
1508
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1509
+ gridColor: this.wardley?.gridColor || this.gridColor,
1510
+ componentFill: this.wardley?.componentFill || this.background,
1511
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1512
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1513
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1514
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1515
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1516
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1517
+ annotationFill: this.wardley?.annotationFill || this.background
1462
1518
  }, this.xyChart = {
1463
1519
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1464
1520
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
@@ -1472,7 +1528,7 @@ var C = {
1472
1528
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1473
1529
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1474
1530
  plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
1475
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || F(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || F(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1531
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || F(this.primaryColor, { h: -30 }), this.git4 = this.git4 || F(this.primaryColor, { h: -60 }), this.git5 = this.git5 || F(this.primaryColor, { h: -90 }), this.git6 = this.git6 || F(this.primaryColor, { h: 60 }), this.git7 = this.git7 || F(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1476
1532
  }
1477
1533
  calculate(e) {
1478
1534
  if (typeof e != "object") {
@@ -1494,44 +1550,44 @@ var C = {
1494
1550
  n(this, "Theme");
1495
1551
  }
1496
1552
  constructor() {
1497
- this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = M(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.tertiaryColor), this.lineColor = F(this.background), this.textColor = F(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || M(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
1553
+ this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = N(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = F(this.primaryColor, { h: -160 }), this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || N(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
1498
1554
  }
1499
1555
  updateColors() {
1500
- this.secondBkg = M(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = M(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
1501
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1502
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1556
+ this.secondBkg = N(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = N(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
1557
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1558
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1503
1559
  this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1504
1560
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1505
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, { l: -(8 + e * 5) });
1506
- this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = M(this.contrast, 30), this.sectionBkgColor2 = M(this.contrast, 30), this.taskBorderColor = N(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = M(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = N(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(this.secondaryColor, { h: 128 });
1561
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, { l: -(8 + e * 5) });
1562
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = N(this.contrast, 30), this.sectionBkgColor2 = N(this.contrast, 30), this.taskBorderColor = P(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = N(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = P(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = F(this.primaryColor, { h: 64 }), this.fillType3 = F(this.secondaryColor, { h: 64 }), this.fillType4 = F(this.primaryColor, { h: -64 }), this.fillType5 = F(this.secondaryColor, { h: -64 }), this.fillType6 = F(this.primaryColor, { h: 128 }), this.fillType7 = F(this.secondaryColor, { h: 128 });
1507
1563
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1508
1564
  this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
1509
1565
  for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
1510
- this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1566
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1511
1567
  r: 5,
1512
1568
  g: 5,
1513
1569
  b: 5
1514
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1570
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1515
1571
  r: 10,
1516
1572
  g: 10,
1517
1573
  b: 10
1518
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1574
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1519
1575
  r: 15,
1520
1576
  g: 15,
1521
1577
  b: 15
1522
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1578
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1523
1579
  r: -5,
1524
1580
  g: -5,
1525
1581
  b: -5
1526
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1582
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1527
1583
  r: -10,
1528
1584
  g: -10,
1529
1585
  b: -10
1530
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1586
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1531
1587
  r: -15,
1532
1588
  g: -15,
1533
1589
  b: -15
1534
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1590
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1535
1591
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1536
1592
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1537
1593
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
@@ -1555,7 +1611,20 @@ var C = {
1555
1611
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
1556
1612
  legendBoxSize: this.radar?.legendBoxSize || 12,
1557
1613
  legendFontSize: this.radar?.legendFontSize || 12
1558
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = N(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || P(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || P(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || P(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || P(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || P(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1614
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1615
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1616
+ axisColor: this.wardley?.axisColor || this.lineColor,
1617
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1618
+ gridColor: this.wardley?.gridColor || this.gridColor,
1619
+ componentFill: this.wardley?.componentFill || this.background,
1620
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1621
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1622
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1623
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1624
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1625
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1626
+ annotationFill: this.wardley?.annotationFill || this.background
1627
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = P(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || F(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || F(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || F(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || F(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || F(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1559
1628
  }
1560
1629
  calculate(e) {
1561
1630
  if (typeof e != "object") {
@@ -1577,79 +1646,79 @@ var C = {
1577
1646
  n(this, "Theme");
1578
1647
  }
1579
1648
  constructor() {
1580
- this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
1649
+ this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
1581
1650
  }
1582
1651
  updateColors() {
1583
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1652
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
1584
1653
  h: 180,
1585
1654
  l: 5
1586
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor);
1587
- let e = "#ECECFE", t = "#E9E9F1", n = P(e, {
1655
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor);
1656
+ let e = "#ECECFE", t = "#E9E9F1", n = F(e, {
1588
1657
  h: 180,
1589
1658
  l: 5
1590
1659
  });
1591
- if (this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || M(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || e, this.cScale1 = this.cScale1 || t, this.cScale2 = this.cScale2 || n, this.cScale3 = this.cScale3 || P(e, { h: 30 }), this.cScale4 = this.cScale4 || P(e, { h: 60 }), this.cScale5 = this.cScale5 || P(e, { h: 90 }), this.cScale6 = this.cScale6 || P(e, { h: 120 }), this.cScale7 = this.cScale7 || P(e, { h: 150 }), this.cScale8 = this.cScale8 || P(e, {
1660
+ if (this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || N(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || e, this.cScale1 = this.cScale1 || t, this.cScale2 = this.cScale2 || n, this.cScale3 = this.cScale3 || F(e, { h: 30 }), this.cScale4 = this.cScale4 || F(e, { h: 60 }), this.cScale5 = this.cScale5 || F(e, { h: 90 }), this.cScale6 = this.cScale6 || F(e, { h: 120 }), this.cScale7 = this.cScale7 || F(e, { h: 150 }), this.cScale8 = this.cScale8 || F(e, {
1592
1661
  h: 210,
1593
1662
  l: 150
1594
- }), this.cScale9 = this.cScale9 || P(e, { h: 270 }), this.cScale10 = this.cScale10 || P(e, { h: 300 }), this.cScale11 = this.cScale11 || P(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1595
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1596
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1597
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1663
+ }), this.cScale9 = this.cScale9 || F(e, { h: 270 }), this.cScale10 = this.cScale10 || F(e, { h: 300 }), this.cScale11 = this.cScale11 || F(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 75);
1664
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 25);
1665
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1666
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1598
1667
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1599
1668
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1600
1669
  let r = this.darkMode ? -4 : -1;
1601
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1670
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, {
1602
1671
  h: 180,
1603
1672
  s: -15,
1604
1673
  l: r * (5 + e * 3)
1605
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1674
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, {
1606
1675
  h: 180,
1607
1676
  s: -15,
1608
1677
  l: r * (8 + e * 3)
1609
1678
  });
1610
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || P(e, { h: 64 }), this.fillType3 = this.fillType3 || P(t, { h: 64 }), this.fillType4 = this.fillType4 || P(e, { h: -64 }), this.fillType5 = this.fillType5 || P(t, { h: -64 }), this.fillType6 = this.fillType6 || P(e, { h: 128 }), this.fillType7 = this.fillType7 || P(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || P(e, { l: -10 }), this.pie5 = this.pie5 || P(t, { l: -10 }), this.pie6 = this.pie6 || P(n, { l: -10 }), this.pie7 = this.pie7 || P(e, {
1679
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || F(e, { h: 64 }), this.fillType3 = this.fillType3 || F(t, { h: 64 }), this.fillType4 = this.fillType4 || F(e, { h: -64 }), this.fillType5 = this.fillType5 || F(t, { h: -64 }), this.fillType6 = this.fillType6 || F(e, { h: 128 }), this.fillType7 = this.fillType7 || F(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || F(e, { l: -10 }), this.pie5 = this.pie5 || F(t, { l: -10 }), this.pie6 = this.pie6 || F(n, { l: -10 }), this.pie7 = this.pie7 || F(e, {
1611
1680
  h: 60,
1612
1681
  l: -10
1613
- }), this.pie8 = this.pie8 || P(e, {
1682
+ }), this.pie8 = this.pie8 || F(e, {
1614
1683
  h: -60,
1615
1684
  l: -10
1616
- }), this.pie9 = this.pie9 || P(e, {
1685
+ }), this.pie9 = this.pie9 || F(e, {
1617
1686
  h: 120,
1618
1687
  l: 0
1619
- }), this.pie10 = this.pie10 || P(e, {
1688
+ }), this.pie10 = this.pie10 || F(e, {
1620
1689
  h: 60,
1621
1690
  l: -20
1622
- }), this.pie11 = this.pie11 || P(e, {
1691
+ }), this.pie11 = this.pie11 || F(e, {
1623
1692
  h: -60,
1624
1693
  l: -20
1625
- }), this.pie12 = this.pie12 || P(e, {
1694
+ }), this.pie12 = this.pie12 || F(e, {
1626
1695
  h: 120,
1627
1696
  l: -10
1628
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || P(e, {
1697
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || F(e, {
1629
1698
  r: 5,
1630
1699
  g: 5,
1631
1700
  b: 5
1632
- }), this.quadrant3Fill = this.quadrant3Fill || P(e, {
1701
+ }), this.quadrant3Fill = this.quadrant3Fill || F(e, {
1633
1702
  r: 10,
1634
1703
  g: 10,
1635
1704
  b: 10
1636
- }), this.quadrant4Fill = this.quadrant4Fill || P(e, {
1705
+ }), this.quadrant4Fill = this.quadrant4Fill || F(e, {
1637
1706
  r: 15,
1638
1707
  g: 15,
1639
1708
  b: 15
1640
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1709
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1641
1710
  r: -5,
1642
1711
  g: -5,
1643
1712
  b: -5
1644
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1713
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1645
1714
  r: -10,
1646
1715
  g: -10,
1647
1716
  b: -10
1648
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1717
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1649
1718
  r: -15,
1650
1719
  g: -15,
1651
1720
  b: -15
1652
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1721
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1653
1722
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1654
1723
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1655
1724
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
@@ -1661,7 +1730,7 @@ var C = {
1661
1730
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1662
1731
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1663
1732
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1664
- }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || P(e, { h: -30 }), this.git4 = this.git4 || P(e, { h: -60 }), this.git5 = this.git5 || P(e, { h: -90 }), this.git6 = this.git6 || P(e, { h: 60 }), this.git7 = this.git7 || P(e, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1733
+ }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || F(e, { h: -30 }), this.git4 = this.git4 || F(e, { h: -60 }), this.git5 = this.git5 || F(e, { h: -90 }), this.git6 = this.git6 || F(e, { h: 60 }), this.git7 = this.git7 || F(e, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1665
1734
  }
1666
1735
  calculate(e) {
1667
1736
  if (typeof e != "object") {
@@ -1683,74 +1752,74 @@ var C = {
1683
1752
  n(this, "Theme");
1684
1753
  }
1685
1754
  constructor() {
1686
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = F(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(F("#323D47"), 10), this.border1 = "#ccc", this.border2 = O(255, 255, 255, .25), this.arrowheadColor = F(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
1755
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = N(this.primaryColor, 16), this.tertiaryColor = F(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = N(I("#323D47"), 10), this.border1 = "#ccc", this.border2 = k(255, 255, 255, .25), this.arrowheadColor = I(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
1687
1756
  }
1688
1757
  updateColors() {
1689
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1758
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
1690
1759
  h: 180,
1691
1760
  l: 5
1692
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || M(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, {
1761
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || N(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || F(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || F(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || F(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || F(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || F(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || F(this.primaryColor, {
1693
1762
  h: 210,
1694
1763
  l: 150
1695
- }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1696
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1697
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1698
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1764
+ }), this.cScale9 = this.cScale9 || F(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || F(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || F(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 75);
1765
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 25);
1766
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1767
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1699
1768
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1700
1769
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1701
1770
  let e = this.darkMode ? -4 : -1;
1702
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
1771
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || F(this.mainBkg, {
1703
1772
  h: 180,
1704
1773
  s: -15,
1705
1774
  l: e * (5 + t * 3)
1706
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
1775
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || F(this.mainBkg, {
1707
1776
  h: 180,
1708
1777
  s: -15,
1709
1778
  l: e * (8 + t * 3)
1710
1779
  });
1711
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
1780
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || F(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || F(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || F(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || F(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || F(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || F(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || F(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || F(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || F(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || F(this.primaryColor, {
1712
1781
  h: 60,
1713
1782
  l: -10
1714
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1783
+ }), this.pie8 = this.pie8 || F(this.primaryColor, {
1715
1784
  h: -60,
1716
1785
  l: -10
1717
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1786
+ }), this.pie9 = this.pie9 || F(this.primaryColor, {
1718
1787
  h: 120,
1719
1788
  l: 0
1720
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1789
+ }), this.pie10 = this.pie10 || F(this.primaryColor, {
1721
1790
  h: 60,
1722
1791
  l: -20
1723
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1792
+ }), this.pie11 = this.pie11 || F(this.primaryColor, {
1724
1793
  h: -60,
1725
1794
  l: -20
1726
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1795
+ }), this.pie12 = this.pie12 || F(this.primaryColor, {
1727
1796
  h: 120,
1728
1797
  l: -10
1729
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1798
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1730
1799
  r: 5,
1731
1800
  g: 5,
1732
1801
  b: 5
1733
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1802
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1734
1803
  r: 10,
1735
1804
  g: 10,
1736
1805
  b: 10
1737
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1806
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1738
1807
  r: 15,
1739
1808
  g: 15,
1740
1809
  b: 15
1741
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1810
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1742
1811
  r: -5,
1743
1812
  g: -5,
1744
1813
  b: -5
1745
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1814
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1746
1815
  r: -10,
1747
1816
  g: -10,
1748
1817
  b: -10
1749
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1818
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1750
1819
  r: -15,
1751
1820
  g: -15,
1752
1821
  b: -15
1753
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1822
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1754
1823
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1755
1824
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1756
1825
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
@@ -1762,7 +1831,7 @@ var C = {
1762
1831
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1763
1832
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1764
1833
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1765
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = !0, this.gitDarkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1834
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = !0, this.gitDarkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1766
1835
  }
1767
1836
  calculate(e) {
1768
1837
  if (typeof e != "object") {
@@ -1784,78 +1853,78 @@ var C = {
1784
1853
  n(this, "Theme");
1785
1854
  }
1786
1855
  constructor() {
1787
- this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = H("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
1856
+ this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = U("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
1788
1857
  }
1789
1858
  updateColors() {
1790
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1859
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
1791
1860
  h: 180,
1792
1861
  l: 5
1793
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor);
1794
- let e = "#ECECFE", t = "#E9E9F1", n = P(e, {
1862
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor);
1863
+ let e = "#ECECFE", t = "#E9E9F1", n = F(e, {
1795
1864
  h: 180,
1796
1865
  l: 5
1797
1866
  });
1798
- this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || M(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
1867
+ this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || N(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
1799
1868
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
1800
- if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1801
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1802
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1803
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1869
+ if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 75);
1870
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 25);
1871
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1872
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1804
1873
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1805
1874
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1806
1875
  let r = this.darkMode ? -4 : -1;
1807
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1876
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, {
1808
1877
  h: 180,
1809
1878
  s: -15,
1810
1879
  l: r * (5 + e * 3)
1811
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1880
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, {
1812
1881
  h: 180,
1813
1882
  s: -15,
1814
1883
  l: r * (8 + e * 3)
1815
1884
  });
1816
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || P(e, { h: 64 }), this.fillType3 = this.fillType3 || P(t, { h: 64 }), this.fillType4 = this.fillType4 || P(e, { h: -64 }), this.fillType5 = this.fillType5 || P(t, { h: -64 }), this.fillType6 = this.fillType6 || P(e, { h: 128 }), this.fillType7 = this.fillType7 || P(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || P(e, { l: -10 }), this.pie5 = this.pie5 || P(t, { l: -10 }), this.pie6 = this.pie6 || P(n, { l: -10 }), this.pie7 = this.pie7 || P(e, {
1885
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || F(e, { h: 64 }), this.fillType3 = this.fillType3 || F(t, { h: 64 }), this.fillType4 = this.fillType4 || F(e, { h: -64 }), this.fillType5 = this.fillType5 || F(t, { h: -64 }), this.fillType6 = this.fillType6 || F(e, { h: 128 }), this.fillType7 = this.fillType7 || F(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || F(e, { l: -10 }), this.pie5 = this.pie5 || F(t, { l: -10 }), this.pie6 = this.pie6 || F(n, { l: -10 }), this.pie7 = this.pie7 || F(e, {
1817
1886
  h: 60,
1818
1887
  l: -10
1819
- }), this.pie8 = this.pie8 || P(e, {
1888
+ }), this.pie8 = this.pie8 || F(e, {
1820
1889
  h: -60,
1821
1890
  l: -10
1822
- }), this.pie9 = this.pie9 || P(e, {
1891
+ }), this.pie9 = this.pie9 || F(e, {
1823
1892
  h: 120,
1824
1893
  l: 0
1825
- }), this.pie10 = this.pie10 || P(e, {
1894
+ }), this.pie10 = this.pie10 || F(e, {
1826
1895
  h: 60,
1827
1896
  l: -20
1828
- }), this.pie11 = this.pie11 || P(e, {
1897
+ }), this.pie11 = this.pie11 || F(e, {
1829
1898
  h: -60,
1830
1899
  l: -20
1831
- }), this.pie12 = this.pie12 || P(e, {
1900
+ }), this.pie12 = this.pie12 || F(e, {
1832
1901
  h: 120,
1833
1902
  l: -10
1834
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || P(e, {
1903
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || F(e, {
1835
1904
  r: 5,
1836
1905
  g: 5,
1837
1906
  b: 5
1838
- }), this.quadrant3Fill = this.quadrant3Fill || P(e, {
1907
+ }), this.quadrant3Fill = this.quadrant3Fill || F(e, {
1839
1908
  r: 10,
1840
1909
  g: 10,
1841
1910
  b: 10
1842
- }), this.quadrant4Fill = this.quadrant4Fill || P(e, {
1911
+ }), this.quadrant4Fill = this.quadrant4Fill || F(e, {
1843
1912
  r: 15,
1844
1913
  g: 15,
1845
1914
  b: 15
1846
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1915
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1847
1916
  r: -5,
1848
1917
  g: -5,
1849
1918
  b: -5
1850
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1919
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1851
1920
  r: -10,
1852
1921
  g: -10,
1853
1922
  b: -10
1854
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1923
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1855
1924
  r: -15,
1856
1925
  g: -15,
1857
1926
  b: -15
1858
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1927
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1859
1928
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1860
1929
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1861
1930
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
@@ -1867,7 +1936,7 @@ var C = {
1867
1936
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1868
1937
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1869
1938
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1870
- }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || P(e, { h: -30 }), this.git4 = this.git4 || P(e, { h: -60 }), this.git5 = this.git5 || P(e, { h: -90 }), this.git6 = this.git6 || P(e, { h: 60 }), this.git7 = this.git7 || P(e, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1939
+ }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || F(e, { h: -30 }), this.git4 = this.git4 || F(e, { h: -60 }), this.git5 = this.git5 || F(e, { h: -90 }), this.git6 = this.git6 || F(e, { h: 60 }), this.git7 = this.git7 || F(e, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1871
1940
  }
1872
1941
  calculate(e) {
1873
1942
  if (typeof e != "object") {
@@ -1889,74 +1958,74 @@ var C = {
1889
1958
  n(this, "Theme");
1890
1959
  }
1891
1960
  constructor() {
1892
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = F(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(F("#323D47"), 10), this.border1 = "#ccc", this.border2 = O(255, 255, 255, .25), this.arrowheadColor = F(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
1961
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = N(this.primaryColor, 16), this.tertiaryColor = F(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = N(I("#323D47"), 10), this.border1 = "#ccc", this.border2 = k(255, 255, 255, .25), this.arrowheadColor = I(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
1893
1962
  }
1894
1963
  updateColors() {
1895
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1964
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
1896
1965
  h: 180,
1897
1966
  l: 5
1898
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || M(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, {
1967
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || N(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || F(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || F(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || F(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || F(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || F(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || F(this.primaryColor, {
1899
1968
  h: 210,
1900
1969
  l: 150
1901
- }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1902
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1903
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
1904
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1970
+ }), this.cScale9 = this.cScale9 || F(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || F(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || F(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 75);
1971
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = P(this["cScale" + e], 25);
1972
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1973
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1905
1974
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1906
1975
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1907
1976
  let e = this.darkMode ? -4 : -1;
1908
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
1977
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || F(this.mainBkg, {
1909
1978
  h: 180,
1910
1979
  s: -15,
1911
1980
  l: e * (5 + t * 3)
1912
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
1981
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || F(this.mainBkg, {
1913
1982
  h: 180,
1914
1983
  s: -15,
1915
1984
  l: e * (8 + t * 3)
1916
1985
  });
1917
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
1986
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || F(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || F(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || F(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || F(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || F(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || F(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || F(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || F(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || F(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || F(this.primaryColor, {
1918
1987
  h: 60,
1919
1988
  l: -10
1920
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1989
+ }), this.pie8 = this.pie8 || F(this.primaryColor, {
1921
1990
  h: -60,
1922
1991
  l: -10
1923
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1992
+ }), this.pie9 = this.pie9 || F(this.primaryColor, {
1924
1993
  h: 120,
1925
1994
  l: 0
1926
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1995
+ }), this.pie10 = this.pie10 || F(this.primaryColor, {
1927
1996
  h: 60,
1928
1997
  l: -20
1929
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1998
+ }), this.pie11 = this.pie11 || F(this.primaryColor, {
1930
1999
  h: -60,
1931
2000
  l: -20
1932
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
2001
+ }), this.pie12 = this.pie12 || F(this.primaryColor, {
1933
2002
  h: 120,
1934
2003
  l: -10
1935
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
2004
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
1936
2005
  r: 5,
1937
2006
  g: 5,
1938
2007
  b: 5
1939
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
2008
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
1940
2009
  r: 10,
1941
2010
  g: 10,
1942
2011
  b: 10
1943
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
2012
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
1944
2013
  r: 15,
1945
2014
  g: 15,
1946
2015
  b: 15
1947
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2016
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
1948
2017
  r: -5,
1949
2018
  g: -5,
1950
2019
  b: -5
1951
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2020
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
1952
2021
  r: -10,
1953
2022
  g: -10,
1954
2023
  b: -10
1955
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2024
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
1956
2025
  r: -15,
1957
2026
  g: -15,
1958
2027
  b: -15
1959
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2028
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1960
2029
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1961
2030
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1962
2031
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
@@ -1968,7 +2037,7 @@ var C = {
1968
2037
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1969
2038
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1970
2039
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1971
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2040
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || F(this.primaryColor, { h: -30 }), this.git4 = this.git4 || F(this.primaryColor, { h: -60 }), this.git5 = this.git5 || F(this.primaryColor, { h: -90 }), this.git6 = this.git6 || F(this.primaryColor, { h: 60 }), this.git7 = this.git7 || F(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1972
2041
  }
1973
2042
  calculate(e) {
1974
2043
  if (typeof e != "object") {
@@ -1990,7 +2059,7 @@ var C = {
1990
2059
  n(this, "Theme");
1991
2060
  }
1992
2061
  constructor() {
1993
- this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
2062
+ this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
1994
2063
  "#E879F9",
1995
2064
  "#2DD4BF",
1996
2065
  "#FB923C",
@@ -2019,72 +2088,72 @@ var C = {
2019
2088
  ], this.filterColor = "#000000";
2020
2089
  }
2021
2090
  updateColors() {
2022
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2091
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
2023
2092
  h: 180,
2024
2093
  l: 5
2025
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor);
2026
- let e = "#ECECFE", t = "#E9E9F1", n = P(e, {
2094
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor);
2095
+ let e = "#ECECFE", t = "#E9E9F1", n = F(e, {
2027
2096
  h: 180,
2028
2097
  l: 5
2029
2098
  });
2030
- this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || M(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
2031
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
2032
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2099
+ this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || N(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
2100
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
2101
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
2033
2102
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2034
2103
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2035
2104
  let r = this.darkMode ? -4 : -1;
2036
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
2105
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || F(this.mainBkg, {
2037
2106
  h: 180,
2038
2107
  s: -15,
2039
2108
  l: r * (5 + e * 3)
2040
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
2109
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || F(this.mainBkg, {
2041
2110
  h: 180,
2042
2111
  s: -15,
2043
2112
  l: r * (8 + e * 3)
2044
2113
  });
2045
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || P(e, { h: 64 }), this.fillType3 = this.fillType3 || P(t, { h: 64 }), this.fillType4 = this.fillType4 || P(e, { h: -64 }), this.fillType5 = this.fillType5 || P(t, { h: -64 }), this.fillType6 = this.fillType6 || P(e, { h: 128 }), this.fillType7 = this.fillType7 || P(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || P(e, { l: -10 }), this.pie5 = this.pie5 || P(t, { l: -10 }), this.pie6 = this.pie6 || P(n, { l: -10 }), this.pie7 = this.pie7 || P(e, {
2114
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || F(e, { h: 64 }), this.fillType3 = this.fillType3 || F(t, { h: 64 }), this.fillType4 = this.fillType4 || F(e, { h: -64 }), this.fillType5 = this.fillType5 || F(t, { h: -64 }), this.fillType6 = this.fillType6 || F(e, { h: 128 }), this.fillType7 = this.fillType7 || F(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || F(e, { l: -10 }), this.pie5 = this.pie5 || F(t, { l: -10 }), this.pie6 = this.pie6 || F(n, { l: -10 }), this.pie7 = this.pie7 || F(e, {
2046
2115
  h: 60,
2047
2116
  l: -10
2048
- }), this.pie8 = this.pie8 || P(e, {
2117
+ }), this.pie8 = this.pie8 || F(e, {
2049
2118
  h: -60,
2050
2119
  l: -10
2051
- }), this.pie9 = this.pie9 || P(e, {
2120
+ }), this.pie9 = this.pie9 || F(e, {
2052
2121
  h: 120,
2053
2122
  l: 0
2054
- }), this.pie10 = this.pie10 || P(e, {
2123
+ }), this.pie10 = this.pie10 || F(e, {
2055
2124
  h: 60,
2056
2125
  l: -20
2057
- }), this.pie11 = this.pie11 || P(e, {
2126
+ }), this.pie11 = this.pie11 || F(e, {
2058
2127
  h: -60,
2059
2128
  l: -20
2060
- }), this.pie12 = this.pie12 || P(e, {
2129
+ }), this.pie12 = this.pie12 || F(e, {
2061
2130
  h: 120,
2062
2131
  l: -10
2063
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || P(e, {
2132
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || F(e, {
2064
2133
  r: 5,
2065
2134
  g: 5,
2066
2135
  b: 5
2067
- }), this.quadrant3Fill = this.quadrant3Fill || P(e, {
2136
+ }), this.quadrant3Fill = this.quadrant3Fill || F(e, {
2068
2137
  r: 10,
2069
2138
  g: 10,
2070
2139
  b: 10
2071
- }), this.quadrant4Fill = this.quadrant4Fill || P(e, {
2140
+ }), this.quadrant4Fill = this.quadrant4Fill || F(e, {
2072
2141
  r: 15,
2073
2142
  g: 15,
2074
2143
  b: 15
2075
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2144
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
2076
2145
  r: -5,
2077
2146
  g: -5,
2078
2147
  b: -5
2079
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2148
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
2080
2149
  r: -10,
2081
2150
  g: -10,
2082
2151
  b: -10
2083
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2152
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
2084
2153
  r: -15,
2085
2154
  g: -15,
2086
2155
  b: -15
2087
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2156
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2088
2157
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2089
2158
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2090
2159
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
@@ -2096,7 +2165,7 @@ var C = {
2096
2165
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2097
2166
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2098
2167
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2099
- }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || P(e, { h: -30 }), this.git4 = this.git4 || P(e, { h: -60 }), this.git5 = this.git5 || P(e, { h: -90 }), this.git6 = this.git6 || P(e, { h: 60 }), this.git7 = this.git7 || P(e, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2168
+ }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || F(e, { h: -30 }), this.git4 = this.git4 || F(e, { h: -60 }), this.git5 = this.git5 || F(e, { h: -90 }), this.git6 = this.git6 || F(e, { h: 60 }), this.git7 = this.git7 || F(e, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2100
2169
  }
2101
2170
  calculate(e) {
2102
2171
  if (typeof e != "object") {
@@ -2118,7 +2187,7 @@ var C = {
2118
2187
  n(this, "Theme");
2119
2188
  }
2120
2189
  constructor() {
2121
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = F(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = F(this.primaryColor), this.secondaryTextColor = F(this.secondaryColor), this.tertiaryTextColor = F(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(F("#323D47"), 10), this.border1 = "#ccc", this.border2 = O(255, 255, 255, .25), this.arrowheadColor = F(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
2190
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = N(this.primaryColor, 16), this.tertiaryColor = F(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = N(I("#323D47"), 10), this.border1 = "#ccc", this.border2 = k(255, 255, 255, .25), this.arrowheadColor = I(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
2122
2191
  "#E879F9",
2123
2192
  "#2DD4BF",
2124
2193
  "#FB923C",
@@ -2134,67 +2203,67 @@ var C = {
2134
2203
  ], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
2135
2204
  }
2136
2205
  updateColors() {
2137
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2206
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || F(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || F(this.primaryColor, {
2138
2207
  h: 180,
2139
2208
  l: 5
2140
- }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || F(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || F(this.tertiaryColor), this.lineColor = this.lineColor || F(this.background), this.arrowheadColor = this.arrowheadColor || F(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || F(this.lineColor), this.rootLabelColor = "#FFFFFF", this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || M(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
2141
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || F(this["cScale" + e]);
2142
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2209
+ }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || P(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), this.rootLabelColor = "#FFFFFF", this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || N(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
2210
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
2211
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
2143
2212
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2144
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = N(this["cScale" + e], 75);
2213
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = P(this["cScale" + e], 75);
2145
2214
  let e = this.darkMode ? -4 : -1;
2146
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
2215
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || F(this.mainBkg, {
2147
2216
  h: 180,
2148
2217
  s: -15,
2149
2218
  l: e * (5 + t * 3)
2150
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
2219
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || F(this.mainBkg, {
2151
2220
  h: 180,
2152
2221
  s: -15,
2153
2222
  l: e * (8 + t * 3)
2154
2223
  });
2155
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
2224
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || F(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || F(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || F(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || F(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || F(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || F(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || F(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || F(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || F(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || F(this.primaryColor, {
2156
2225
  h: 60,
2157
2226
  l: -10
2158
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
2227
+ }), this.pie8 = this.pie8 || F(this.primaryColor, {
2159
2228
  h: -60,
2160
2229
  l: -10
2161
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
2230
+ }), this.pie9 = this.pie9 || F(this.primaryColor, {
2162
2231
  h: 120,
2163
2232
  l: 0
2164
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
2233
+ }), this.pie10 = this.pie10 || F(this.primaryColor, {
2165
2234
  h: 60,
2166
2235
  l: -20
2167
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
2236
+ }), this.pie11 = this.pie11 || F(this.primaryColor, {
2168
2237
  h: -60,
2169
2238
  l: -20
2170
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
2239
+ }), this.pie12 = this.pie12 || F(this.primaryColor, {
2171
2240
  h: 120,
2172
2241
  l: -10
2173
- }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
2242
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || F(this.primaryColor, {
2174
2243
  r: 5,
2175
2244
  g: 5,
2176
2245
  b: 5
2177
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
2246
+ }), this.quadrant3Fill = this.quadrant3Fill || F(this.primaryColor, {
2178
2247
  r: 10,
2179
2248
  g: 10,
2180
2249
  b: 10
2181
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
2250
+ }), this.quadrant4Fill = this.quadrant4Fill || F(this.primaryColor, {
2182
2251
  r: 15,
2183
2252
  g: 15,
2184
2253
  b: 15
2185
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2254
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || F(this.primaryTextColor, {
2186
2255
  r: -5,
2187
2256
  g: -5,
2188
2257
  b: -5
2189
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2258
+ }), this.quadrant3TextFill = this.quadrant3TextFill || F(this.primaryTextColor, {
2190
2259
  r: -10,
2191
2260
  g: -10,
2192
2261
  b: -10
2193
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2262
+ }), this.quadrant4TextFill = this.quadrant4TextFill || F(this.primaryTextColor, {
2194
2263
  r: -15,
2195
2264
  g: -15,
2196
2265
  b: -15
2197
- }), this.quadrantPointFill = this.quadrantPointFill || A(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2266
+ }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? N(this.quadrant1Fill) : P(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2198
2267
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2199
2268
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2200
2269
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
@@ -2206,7 +2275,7 @@ var C = {
2206
2275
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2207
2276
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2208
2277
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2209
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(this.git0), this.gitInv1 = this.gitInv1 || F(this.git1), this.gitInv2 = this.gitInv2 || F(this.git2), this.gitInv3 = this.gitInv3 || F(this.git3), this.gitInv4 = this.gitInv4 || F(this.git4), this.gitInv5 = this.gitInv5 || F(this.git5), this.gitInv6 = this.gitInv6 || F(this.git6), this.gitInv7 = this.gitInv7 || F(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2278
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? P(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || F(this.primaryColor, { h: -30 }), this.git4 = this.git4 || F(this.primaryColor, { h: -60 }), this.git5 = this.git5 || F(this.primaryColor, { h: -90 }), this.git6 = this.git6 || F(this.primaryColor, { h: 60 }), this.git7 = this.git7 || F(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)) : (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2210
2279
  }
2211
2280
  calculate(e) {
2212
2281
  if (typeof e != "object") {
@@ -2221,7 +2290,7 @@ var C = {
2221
2290
  });
2222
2291
  }
2223
2292
  }, K = {
2224
- base: { getThemeVariables: nt },
2293
+ base: { getThemeVariables: tt },
2225
2294
  dark: { getThemeVariables: W },
2226
2295
  default: { getThemeVariables: it },
2227
2296
  forest: { getThemeVariables: ot },
@@ -2355,7 +2424,8 @@ var C = {
2355
2424
  textHeight: 10,
2356
2425
  defaultRenderer: "dagre-wrapper",
2357
2426
  htmlLabels: !1,
2358
- hideEmptyMembersBox: !1
2427
+ hideEmptyMembersBox: !1,
2428
+ hierarchicalNamespaces: !0
2359
2429
  },
2360
2430
  state: {
2361
2431
  useMaxWidth: !0,
@@ -2670,7 +2740,10 @@ var C = {
2670
2740
  nodeAlignment: "justify",
2671
2741
  showValues: !0,
2672
2742
  prefix: "",
2673
- suffix: ""
2743
+ suffix: "",
2744
+ nodeWidth: 10,
2745
+ nodePadding: 12,
2746
+ labelStyle: "legacy"
2674
2747
  },
2675
2748
  block: {
2676
2749
  useMaxWidth: !0,
@@ -2697,7 +2770,16 @@ var C = {
2697
2770
  padding: 40,
2698
2771
  iconSize: 80,
2699
2772
  fontSize: 16,
2700
- randomize: !1
2773
+ randomize: !1,
2774
+ nodeSeparation: 75,
2775
+ idealEdgeLengthMultiplier: 1.5,
2776
+ edgeElasticity: .45,
2777
+ numIter: 2500
2778
+ },
2779
+ eventmodeling: {
2780
+ useMaxWidth: !0,
2781
+ padding: 30,
2782
+ rowHeight: 32
2701
2783
  },
2702
2784
  radar: {
2703
2785
  useMaxWidth: !0,
@@ -2779,7 +2861,10 @@ var C = {
2779
2861
  };
2780
2862
  }, "actorFont")
2781
2863
  },
2782
- class: { hideEmptyMembersBox: !1 },
2864
+ class: {
2865
+ hideEmptyMembersBox: !1,
2866
+ hierarchicalNamespaces: !0
2867
+ },
2783
2868
  gantt: {
2784
2869
  ...q.gantt,
2785
2870
  tickInterval: void 0,
@@ -2960,12 +3045,17 @@ var C = {
2960
3045
  useWidth: void 0
2961
3046
  },
2962
3047
  packet: { ...q.packet },
3048
+ eventmodeling: { ...q.eventmodeling },
2963
3049
  treeView: {
2964
3050
  ...q.treeView,
2965
3051
  useWidth: void 0
2966
3052
  },
2967
3053
  radar: { ...q.radar },
2968
3054
  ishikawa: { ...q.ishikawa },
3055
+ sankey: {
3056
+ ...q.sankey,
3057
+ nodeColors: void 0
3058
+ },
2969
3059
  treemap: {
2970
3060
  useMaxWidth: !0,
2971
3061
  padding: 10,
@@ -2995,7 +3085,10 @@ var C = {
2995
3085
  continue;
2996
3086
  }
2997
3087
  if (typeof e[n] == "object") {
2998
- t.debug("sanitizing object", n), Ct(e[n]);
3088
+ if (n === "nodeColors") {
3089
+ let r = /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i;
3090
+ for (let i of Object.keys(e[n])) (typeof e[n][i] != "string" || !r.test(e[n][i])) && (t.debug("sanitize deleting invalid color:", i, e[n][i]), delete e[n][i]);
3091
+ } else t.debug("sanitizing object", n), Ct(e[n]);
2999
3092
  continue;
3000
3093
  }
3001
3094
  for (let r of [
@@ -3021,50 +3114,50 @@ var C = {
3021
3114
  "false",
3022
3115
  "null",
3023
3116
  "0"
3024
- ].includes(String(e).trim().toLowerCase())), "evaluate"), X = z({}, J), Tt, Z = [], Et = z({}, J), Q = /* @__PURE__ */ n((e, t) => {
3025
- let n = z({}, e), r = {};
3026
- for (let e of t) Nt(e), r = z(r, e);
3027
- if (n = z(n, r), r.theme && r.theme in K) {
3028
- let e = z(z({}, Tt).themeVariables || {}, r.themeVariables);
3117
+ ].includes(String(e).trim().toLowerCase())), "evaluate"), X = B({}, J), Tt, Z = [], Q = B({}, J), $ = /* @__PURE__ */ n((e, t) => {
3118
+ let n = B({}, e), r = {};
3119
+ for (let e of t) Mt(e), r = B(r, e);
3120
+ if (n = B(n, r), r.theme && r.theme in K) {
3121
+ let e = B(B({}, Tt).themeVariables || {}, r.themeVariables);
3029
3122
  n.theme && n.theme in K && (n.themeVariables = K[n.theme].getThemeVariables(e));
3030
3123
  }
3031
- return Et = n, zt(Et), Et;
3032
- }, "updateCurrentConfig"), Dt = /* @__PURE__ */ n((e) => (X = z({}, J), X = z(X, e), e.theme && K[e.theme] && (X.themeVariables = K[e.theme].getThemeVariables(e.themeVariables)), Q(X, Z), X), "setSiteConfig"), Ot = /* @__PURE__ */ n((e) => {
3033
- Tt = z({}, e);
3034
- }, "saveConfigFromInitialize"), kt = /* @__PURE__ */ n((e) => (X = z(X, e), Q(X, Z), X), "updateSiteConfig"), At = /* @__PURE__ */ n(() => z({}, X), "getSiteConfig"), jt = /* @__PURE__ */ n((e) => (zt(e), z(Et, e), Mt()), "setConfig"), Mt = /* @__PURE__ */ n(() => z({}, Et), "getConfig"), Nt = /* @__PURE__ */ n((e) => {
3124
+ return Q = n, Rt(Q), Q;
3125
+ }, "updateCurrentConfig"), Et = /* @__PURE__ */ n((e) => (X = B({}, J), X = B(X, e), e.theme && K[e.theme] && (X.themeVariables = K[e.theme].getThemeVariables(e.themeVariables)), $(X, Z), X), "setSiteConfig"), Dt = /* @__PURE__ */ n((e) => {
3126
+ Tt = B({}, e);
3127
+ }, "saveConfigFromInitialize"), Ot = /* @__PURE__ */ n((e) => (X = B(X, e), $(X, Z), X), "updateSiteConfig"), kt = /* @__PURE__ */ n(() => B({}, X), "getSiteConfig"), At = /* @__PURE__ */ n((e) => (Rt(e), B(Q, e), jt()), "setConfig"), jt = /* @__PURE__ */ n(() => B({}, Q), "getConfig"), Mt = /* @__PURE__ */ n((e) => {
3035
3128
  e && (["secure", ...X.secure ?? []].forEach((n) => {
3036
3129
  Object.hasOwn(e, n) && (t.debug(`Denied attempt to modify a secure key ${n}`, e[n]), delete e[n]);
3037
3130
  }), Object.keys(e).forEach((t) => {
3038
3131
  t.startsWith("__") && delete e[t];
3039
3132
  }), Object.keys(e).forEach((t) => {
3040
- typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Nt(e[t]);
3133
+ typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Mt(e[t]);
3041
3134
  }));
3042
- }, "sanitize"), Pt = /* @__PURE__ */ n((e) => {
3135
+ }, "sanitize"), Nt = /* @__PURE__ */ n((e) => {
3043
3136
  Ct(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
3044
3137
  ...e.themeVariables,
3045
3138
  fontFamily: e.fontFamily
3046
- }), Z.push(e), Q(X, Z);
3047
- }, "addDirective"), Ft = /* @__PURE__ */ n((e = X) => {
3048
- Z = [], Q(e, Z);
3049
- }, "reset"), It = {
3139
+ }), Z.push(e), $(X, Z);
3140
+ }, "addDirective"), Pt = /* @__PURE__ */ n((e = X) => {
3141
+ Z = [], $(e, Z);
3142
+ }, "reset"), Ft = {
3050
3143
  LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
3051
3144
  FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
3052
- }, Lt = {}, Rt = /* @__PURE__ */ n((e) => {
3053
- Lt[e] || (t.warn(It[e]), Lt[e] = !0);
3054
- }, "issueWarning"), zt = /* @__PURE__ */ n((e) => {
3055
- e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Rt("LAZY_LOAD_DEPRECATED");
3056
- }, "checkConfig"), Bt = /* @__PURE__ */ n(() => {
3145
+ }, It = {}, Lt = /* @__PURE__ */ n((e) => {
3146
+ It[e] || (t.warn(Ft[e]), It[e] = !0);
3147
+ }, "issueWarning"), Rt = /* @__PURE__ */ n((e) => {
3148
+ e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Lt("LAZY_LOAD_DEPRECATED");
3149
+ }, "checkConfig"), zt = /* @__PURE__ */ n(() => {
3057
3150
  let e = {};
3058
- Tt && (e = z(e, Tt));
3059
- for (let t of Z) e = z(e, t);
3151
+ Tt && (e = B(e, Tt));
3152
+ for (let t of Z) e = B(e, t);
3060
3153
  return e;
3061
- }, "getUserDefinedConfig"), Vt = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && Rt("FLOWCHART_HTML_LABELS_DEPRECATED"), Y(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), Ht = /<br\s*\/?>/gi, Ut = /* @__PURE__ */ n((e) => e ? Qt(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Wt = /* @__PURE__ */ (() => {
3154
+ }, "getUserDefinedConfig"), Bt = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && Lt("FLOWCHART_HTML_LABELS_DEPRECATED"), Y(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), Vt = /<br\s*\/?>/gi, Ht = /* @__PURE__ */ n((e) => e ? Qt(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Ut = /* @__PURE__ */ (() => {
3062
3155
  let e = !1;
3063
3156
  return () => {
3064
- e ||= (Gt(), !0);
3157
+ e ||= (Wt(), !0);
3065
3158
  };
3066
3159
  })();
3067
- function Gt() {
3160
+ function Wt() {
3068
3161
  let e = "data-temp-href-target";
3069
3162
  b.addHook("beforeSanitizeAttributes", (t) => {
3070
3163
  t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
@@ -3072,14 +3165,14 @@ function Gt() {
3072
3165
  t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
3073
3166
  });
3074
3167
  }
3075
- n(Gt, "setupDompurifyHooks");
3076
- var Kt = /* @__PURE__ */ n((e) => (Wt(), b.sanitize(e)), "removeScript"), qt = /* @__PURE__ */ n((e, t) => {
3077
- if (Vt(t)) {
3168
+ n(Wt, "setupDompurifyHooks");
3169
+ var Gt = /* @__PURE__ */ n((e) => (Ut(), b.sanitize(e)), "removeScript"), Kt = /* @__PURE__ */ n((e, t) => {
3170
+ if (Bt(t)) {
3078
3171
  let n = t.securityLevel;
3079
- n === "antiscript" || n === "strict" || n === "sandbox" ? e = Kt(e) : n !== "loose" && (e = Qt(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = Zt(e));
3172
+ n === "antiscript" || n === "strict" || n === "sandbox" ? e = Gt(e) : n !== "loose" && (e = Qt(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = Zt(e));
3080
3173
  }
3081
3174
  return e;
3082
- }, "sanitizeMore"), $ = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? b.sanitize(qt(e, t), t.dompurifyConfig).toString() : b.sanitize(qt(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), Jt = /* @__PURE__ */ n((e, t) => typeof e == "string" ? $(e, t) : e.flat().map((e) => $(e, t)), "sanitizeTextOrArray"), Yt = /* @__PURE__ */ n((e) => Ht.test(e), "hasBreaks"), Xt = /* @__PURE__ */ n((e) => e.split(Ht), "splitBreaks"), Zt = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Qt = /* @__PURE__ */ n((e) => e.replace(Ht, "#br#"), "breakToPlaceholder"), $t = /* @__PURE__ */ n((e) => {
3175
+ }, "sanitizeMore"), qt = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? b.sanitize(Kt(e, t), t.dompurifyConfig).toString() : b.sanitize(Kt(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), Jt = /* @__PURE__ */ n((e, t) => typeof e == "string" ? qt(e, t) : e.flat().map((e) => qt(e, t)), "sanitizeTextOrArray"), Yt = /* @__PURE__ */ n((e) => Vt.test(e), "hasBreaks"), Xt = /* @__PURE__ */ n((e) => e.split(Vt), "splitBreaks"), Zt = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Qt = /* @__PURE__ */ n((e) => e.replace(Vt, "#br#"), "breakToPlaceholder"), $t = /* @__PURE__ */ n((e) => {
3083
3176
  let t = "";
3084
3177
  return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
3085
3178
  }, "getUrl"), en = /* @__PURE__ */ n(function(...e) {
@@ -3121,22 +3214,22 @@ var Kt = /* @__PURE__ */ n((e) => (Wt(), b.sanitize(e)), "removeScript"), qt = /
3121
3214
  if (!ln(e)) return e;
3122
3215
  if (!(sn() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(cn, "MathML is unsupported in this environment.");
3123
3216
  {
3124
- let { default: n } = await import("./katex-Du5WiYIy.js"), r = t.forceLegacyMathML || !sn() && t.legacyMathML ? "htmlAndMathml" : "mathml";
3125
- return e.split(Ht).map((e) => ln(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(cn, (e, t) => n.renderToString(t, {
3217
+ let { default: n } = await import("./katex-DWDh1q_h.js"), r = t.forceLegacyMathML || !sn() && t.legacyMathML ? "htmlAndMathml" : "mathml";
3218
+ return e.split(Vt).map((e) => ln(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(cn, (e, t) => n.renderToString(t, {
3126
3219
  throwOnError: !0,
3127
3220
  displayMode: !0,
3128
3221
  output: r
3129
3222
  }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
3130
3223
  }
3131
3224
  return e.replace(cn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
3132
- }, "renderKatexUnsanitized"), fn = /* @__PURE__ */ n(async (e, t) => $(await dn(e, t), t), "renderKatexSanitized"), pn = {
3133
- getRows: Ut,
3134
- sanitizeText: $,
3225
+ }, "renderKatexUnsanitized"), fn = /* @__PURE__ */ n(async (e, t) => qt(await dn(e, t), t), "renderKatexSanitized"), pn = {
3226
+ getRows: Ht,
3227
+ sanitizeText: qt,
3135
3228
  sanitizeTextOrArray: Jt,
3136
3229
  hasBreaks: Yt,
3137
3230
  splitBreaks: Xt,
3138
- lineBreakRegex: Ht,
3139
- removeScript: Kt,
3231
+ lineBreakRegex: Vt,
3232
+ removeScript: Gt,
3140
3233
  getUrl: $t,
3141
3234
  evaluate: Y,
3142
3235
  getMax: en,
@@ -3155,7 +3248,12 @@ var Kt = /* @__PURE__ */ n((e) => (Wt(), b.sanitize(e)), "removeScript"), qt = /
3155
3248
  t.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, t.info(`Calculated bounds: ${c}x${l}`), gn(n, l, c, i);
3156
3249
  let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
3157
3250
  n.attr("viewBox", u);
3158
- }, "setupGraphViewbox"), vn = {}, yn = /* @__PURE__ */ n((e, n, r, i) => {
3251
+ }, "setupGraphViewbox"), vn = {};
3252
+ function yn(e) {
3253
+ return [...e.cssRules].map((e) => e.cssText).join("\n");
3254
+ }
3255
+ n(yn, "cssStyleSheetToString");
3256
+ var bn = /* @__PURE__ */ n((e, n, r, i) => {
3159
3257
  let a = "";
3160
3258
  return e in vn && vn[e] ? a = vn[e]({
3161
3259
  ...r,
@@ -3279,32 +3377,32 @@ var Kt = /* @__PURE__ */ n((e) => (Wt(), b.sanitize(e)), "removeScript"), qt = /
3279
3377
 
3280
3378
  ${n}
3281
3379
  `;
3282
- }, "getStyles"), bn = /* @__PURE__ */ n((e, t) => {
3380
+ }, "getStyles"), xn = /* @__PURE__ */ n((e, t) => {
3283
3381
  t !== void 0 && (vn[e] = t);
3284
- }, "addStylesForDiagram"), xn = yn, Sn = {};
3285
- r(Sn, {
3286
- clear: () => Dn,
3287
- getAccDescription: () => jn,
3288
- getAccTitle: () => kn,
3289
- getDiagramTitle: () => Nn,
3290
- setAccDescription: () => An,
3291
- setAccTitle: () => On,
3292
- setDiagramTitle: () => Mn
3382
+ }, "addStylesForDiagram"), Sn = bn, Cn = {};
3383
+ r(Cn, {
3384
+ clear: () => On,
3385
+ getAccDescription: () => Mn,
3386
+ getAccTitle: () => An,
3387
+ getDiagramTitle: () => Pn,
3388
+ setAccDescription: () => jn,
3389
+ setAccTitle: () => kn,
3390
+ setDiagramTitle: () => Nn
3293
3391
  });
3294
- var Cn = "", wn = "", Tn = "", En = /* @__PURE__ */ n((e) => $(e, Mt()), "sanitizeText"), Dn = /* @__PURE__ */ n(() => {
3295
- Cn = "", Tn = "", wn = "";
3296
- }, "clear"), On = /* @__PURE__ */ n((e) => {
3297
- Cn = En(e).replace(/^\s+/g, "");
3298
- }, "setAccTitle"), kn = /* @__PURE__ */ n(() => Cn, "getAccTitle"), An = /* @__PURE__ */ n((e) => {
3299
- Tn = En(e).replace(/\n\s+/g, "\n");
3300
- }, "setAccDescription"), jn = /* @__PURE__ */ n(() => Tn, "getAccDescription"), Mn = /* @__PURE__ */ n((e) => {
3301
- wn = En(e);
3302
- }, "setDiagramTitle"), Nn = /* @__PURE__ */ n(() => wn, "getDiagramTitle"), Pn = t, Fn = e, In = Mt, Ln = jt, Rn = J, zn = /* @__PURE__ */ n((e) => $(e, In()), "sanitizeText"), Bn = _n, Vn = /* @__PURE__ */ n(() => Sn, "getCommonDb"), Hn = {}, Un = /* @__PURE__ */ n((e, t, n) => {
3303
- Hn[e] && Pn.warn(`Diagram with id ${e} already registered. Overwriting.`), Hn[e] = t, n && $e(e, n), bn(e, t.styles), t.injectUtils?.(Pn, Fn, In, zn, Bn, Vn(), () => {});
3304
- }, "registerDiagram"), Wn = /* @__PURE__ */ n((e) => {
3305
- if (e in Hn) return Hn[e];
3306
- throw new Gn(e);
3307
- }, "getDiagram"), Gn = class extends Error {
3392
+ var wn = "", Tn = "", En = "", Dn = /* @__PURE__ */ n((e) => qt(e, jt()), "sanitizeText"), On = /* @__PURE__ */ n(() => {
3393
+ wn = "", En = "", Tn = "";
3394
+ }, "clear"), kn = /* @__PURE__ */ n((e) => {
3395
+ wn = Dn(e).replace(/^\s+/g, "");
3396
+ }, "setAccTitle"), An = /* @__PURE__ */ n(() => wn, "getAccTitle"), jn = /* @__PURE__ */ n((e) => {
3397
+ En = Dn(e).replace(/\n\s+/g, "\n");
3398
+ }, "setAccDescription"), Mn = /* @__PURE__ */ n(() => En, "getAccDescription"), Nn = /* @__PURE__ */ n((e) => {
3399
+ Tn = Dn(e);
3400
+ }, "setDiagramTitle"), Pn = /* @__PURE__ */ n(() => Tn, "getDiagramTitle"), Fn = t, In = e, Ln = jt, Rn = At, zn = J, Bn = /* @__PURE__ */ n((e) => qt(e, Ln()), "sanitizeText"), Vn = _n, Hn = /* @__PURE__ */ n(() => Cn, "getCommonDb"), Un = {}, Wn = /* @__PURE__ */ n((e, t, n) => {
3401
+ Un[e] && Fn.warn(`Diagram with id ${e} already registered. Overwriting.`), Un[e] = t, n && Qe(e, n), xn(e, t.styles), t.injectUtils?.(Fn, In, Ln, Bn, Vn, Hn(), () => {});
3402
+ }, "registerDiagram"), Gn = /* @__PURE__ */ n((e) => {
3403
+ if (e in Un) return Un[e];
3404
+ throw new Kn(e);
3405
+ }, "getDiagram"), Kn = class extends Error {
3308
3406
  static {
3309
3407
  n(this, "DiagramNotFoundError");
3310
3408
  }
@@ -3313,4 +3411,4 @@ var Cn = "", wn = "", Tn = "", En = /* @__PURE__ */ n((e) => $(e, Mt()), "saniti
3313
3411
  }
3314
3412
  };
3315
3413
  //#endregion
3316
- export { j as $, Ht as A, An as B, Nn as C, $t as D, it as E, Ft as F, Dt as G, jt as H, Ct as I, xn as J, _n as K, $ as L, Un as M, L as N, Bt as O, fn as P, M as Q, zn as R, et as S, At as T, Ln as U, On as V, Mn as W, kt as X, K as Y, N as Z, jn as _, Dn as a, In as b, gn as c, St as d, A as et, Qe as f, Je as g, Y as h, un as i, b as it, nn as j, ln as k, J as l, Ye as m, Pt as n, D as nt, Sn as o, I as p, Bn as q, z as r, x as rt, pn as s, Ze as t, O as tt, Rn as u, kn as v, Vt as w, Wn as x, Mt as y, Ot as z };
3414
+ export { P as $, ln as A, Bn as B, $e as C, it as D, kt as E, fn as F, Rn as G, jn as H, Pt as I, _n as J, Nn as K, wt as L, nn as M, Wn as N, $t as O, R as P, Ot as Q, Ct as R, Gn as S, Bt as T, kn as U, Dt as V, At as W, Sn as X, Vn as Y, K as Z, qe as _, On as a, x as at, jt as b, gn as c, zn as d, N as et, St as f, Y as g, Je as h, un as i, O as it, Vt as j, zt as k, yn as l, L as m, Nt as n, j as nt, Cn as o, b as ot, Ze as p, Et as q, B as r, k as rt, pn as s, Xe as t, M as tt, J as u, Mn as v, Pn as w, Ln as x, An as y, qt as z };