@sme.up/ketchup2 2.6.0 → 2.8.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 (598) hide show
  1. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +1 -0
  2. package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
  3. package/dist/{arc-yUAZoqJP.js → arc-7ZXqzxve.js} +1 -1
  4. package/dist/{arc-CYi2lpSd.cjs → arc-DBilzVYt.cjs} +1 -1
  5. package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
  6. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
  7. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
  8. package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -252
  9. package/dist/assets/svg/functions.svg +1 -0
  10. package/dist/basic-components/autocomplete/autocomplete-types.d.ts +2 -1
  11. package/dist/basic-components/autocomplete/autocomplete-types.d.ts.map +1 -1
  12. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  13. package/dist/basic-components/button/button-utils.d.ts.map +1 -1
  14. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  15. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  16. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  17. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  18. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  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/checkbox/checkbox-types.d.ts +5 -0
  22. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  23. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  24. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  25. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  26. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  27. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  28. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  29. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  30. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  31. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  32. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  33. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  34. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  35. package/dist/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
  36. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
  37. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
  38. package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
  39. package/dist/channel-BvUly9jN.cjs +1 -0
  40. package/dist/{channel-CAhFwf6U.js → channel-D6agWknC.js} +1 -1
  41. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
  42. package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
  43. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  44. package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  45. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
  46. package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
  47. package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  48. package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
  49. package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
  50. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
  51. package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
  52. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
  53. package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-DU6HZSFF-CNSdkWoH.js} +1584 -621
  54. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
  55. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
  56. package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
  57. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
  58. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
  59. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
  60. package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
  61. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
  62. package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
  63. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
  64. package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
  65. package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  66. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  67. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
  68. package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
  69. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  70. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
  71. package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
  72. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
  73. package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
  74. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
  75. package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
  76. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
  77. package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
  78. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
  79. package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → chunk-SHT3W25Y-DJgD-hyF.js} +581 -538
  80. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
  81. package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
  82. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
  83. package/dist/chunk-TICWLB2K-1u0p_luB.cjs +206 -0
  84. package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-TICWLB2K-DqSHwYf9.js} +185 -180
  85. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
  86. package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
  87. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
  88. package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
  89. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  90. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  91. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
  92. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
  93. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
  94. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -0
  95. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  96. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  97. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  98. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  99. package/dist/components/box-list/box-list.d.ts.map +1 -1
  100. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  101. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  102. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  103. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  104. package/dist/components/data-table/columns/useColumnWidths.d.ts +6 -1
  105. package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
  106. package/dist/components/data-table/data-table-types.d.ts +108 -4
  107. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  108. package/dist/components/data-table/data-table.d.ts.map +1 -1
  109. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  110. package/dist/components/data-table/header/header-types.d.ts +14 -4
  111. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  112. package/dist/components/data-table/sorting/parseDftSort.d.ts +14 -0
  113. package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -0
  114. package/dist/components/data-table/sorting/parseDftSort.test.d.ts +2 -0
  115. package/dist/components/data-table/sorting/parseDftSort.test.d.ts.map +1 -0
  116. package/dist/components/data-table/sorting/sortTable-utils.d.ts +8 -9
  117. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  118. package/dist/components/data-table/sorting/useSortableTable.d.ts +3 -5
  119. package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
  120. package/dist/components/data-table/state/datatable-state.d.ts +1 -0
  121. package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
  122. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  123. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  124. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  125. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  126. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  127. package/dist/components/workflow-designer/workflow-designer-types.d.ts +109 -0
  128. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
  129. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +86 -0
  130. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
  131. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  132. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  133. package/dist/components/workflow-designer/workflow-designer.d.ts +15 -0
  134. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
  135. package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +23 -23
  136. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
  137. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
  138. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
  139. package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
  140. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
  141. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
  142. package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
  143. package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
  144. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
  145. package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
  146. package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
  147. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
  148. package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
  149. package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
  150. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
  151. package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
  152. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
  153. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
  154. package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
  155. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
  156. package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
  157. package/dist/{dist-BEmBi80K.js → dist-C7OpkiTz.js} +2 -3
  158. package/dist/dist-DrOEvFlx.cjs +1 -0
  159. package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
  160. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
  161. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
  162. package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
  163. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
  164. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
  165. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
  166. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
  167. package/dist/functional-components/action-list/action-list-types.d.ts +0 -7
  168. package/dist/functional-components/action-list/action-list-types.d.ts.map +1 -1
  169. package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
  170. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  171. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  172. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  173. package/dist/functional-components/row/row-types.d.ts +13 -0
  174. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  175. package/dist/functional-components/row/row.d.ts.map +1 -1
  176. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  177. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  178. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  179. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  180. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  181. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  182. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  183. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
  184. package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +642 -639
  185. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
  186. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
  187. package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
  188. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
  189. package/dist/index.d.ts +6 -6
  190. package/dist/index.d.ts.map +1 -1
  191. package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
  192. package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
  193. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
  194. package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
  195. package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
  196. package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
  197. package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
  198. package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
  199. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
  200. package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
  201. package/dist/katex-DUe6VLjC.cjs +257 -0
  202. package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
  203. package/dist/ketchup2.cjs.js +405 -101
  204. package/dist/ketchup2.css +1 -1
  205. package/dist/ketchup2.es.js +151183 -119083
  206. package/dist/{line-0G6sJTVA.js → line-BEo8vh4N.js} +1 -1
  207. package/dist/{line-CLmmMPn2.cjs → line-wiGgVVGi.cjs} +1 -1
  208. package/dist/{linear-BNWgac81.js → linear-BNesvT28.js} +1 -1
  209. package/dist/{linear-yBssgUAc.cjs → linear-YA14Lx5Z.cjs} +1 -1
  210. package/dist/locale/en/translation.json.d.ts +23 -0
  211. package/dist/locale/it/translation.json.d.ts +24 -1
  212. package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
  213. package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
  214. package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
  215. package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
  216. package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
  217. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
  218. package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
  219. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
  220. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
  221. package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
  222. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
  223. package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
  224. package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
  225. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
  226. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
  227. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
  228. package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
  229. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
  230. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
  231. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
  232. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
  233. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
  234. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
  235. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
  236. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
  237. package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
  238. package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
  239. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
  240. package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
  241. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
  242. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
  243. package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
  244. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  245. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
  246. package/dist/src-B16ML7oM.cjs +1 -0
  247. package/dist/{src-GDFuItmC.js → src-D-6ZfKf9.js} +587 -579
  248. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
  249. package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
  250. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
  251. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
  252. package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
  253. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
  254. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
  255. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
  256. package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
  257. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
  258. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
  259. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
  260. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
  261. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
  262. package/dist/types/data-structures.d.ts +0 -1
  263. package/dist/types/data-structures.d.ts.map +1 -1
  264. package/dist/types/global.d.ts +1 -1
  265. package/dist/types/global.d.ts.map +1 -1
  266. package/dist/types/translation.d.ts +24 -1
  267. package/dist/types/translation.d.ts.map +1 -1
  268. package/dist/utils/data-structures.d.ts +2 -1
  269. package/dist/utils/data-structures.d.ts.map +1 -1
  270. package/dist/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
  271. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
  272. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
  273. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
  274. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
  275. package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
  276. package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
  277. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
  278. package/package.json +6 -2
  279. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  280. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  281. package/dist/architectureDiagram-3BPJPVTR-C8DI7_Rn.cjs +0 -36
  282. package/dist/assets/shapeListAssets.d.ts +0 -22
  283. package/dist/assets/shapeListAssets.d.ts.map +0 -1
  284. package/dist/basic-components/card/card-slot-resolver.d.ts +0 -6
  285. package/dist/basic-components/card/card-slot-resolver.d.ts.map +0 -1
  286. package/dist/basic-components/card/card-types.d.ts +0 -43
  287. package/dist/basic-components/card/card-types.d.ts.map +0 -1
  288. package/dist/basic-components/card/card.d.ts +0 -5
  289. package/dist/basic-components/card/card.d.ts.map +0 -1
  290. package/dist/basic-components/card/flow/aside/index.d.ts +0 -2
  291. package/dist/basic-components/card/flow/aside/index.d.ts.map +0 -1
  292. package/dist/basic-components/card/flow/compact/index.d.ts +0 -2
  293. package/dist/basic-components/card/flow/compact/index.d.ts.map +0 -1
  294. package/dist/basic-components/card/flow/editorial/index.d.ts +0 -2
  295. package/dist/basic-components/card/flow/editorial/index.d.ts.map +0 -1
  296. package/dist/basic-components/card/flow/minimal/index.d.ts +0 -2
  297. package/dist/basic-components/card/flow/minimal/index.d.ts.map +0 -1
  298. package/dist/basic-components/card/flow/overlay/index.d.ts +0 -2
  299. package/dist/basic-components/card/flow/overlay/index.d.ts.map +0 -1
  300. package/dist/basic-components/card/flow/shared/flow-layout.d.ts +0 -4
  301. package/dist/basic-components/card/flow/shared/flow-layout.d.ts.map +0 -1
  302. package/dist/basic-components/card/flow/split/index.d.ts +0 -2
  303. package/dist/basic-components/card/flow/split/index.d.ts.map +0 -1
  304. package/dist/basic-components/card/flow/spotlight/index.d.ts +0 -2
  305. package/dist/basic-components/card/flow/spotlight/index.d.ts.map +0 -1
  306. package/dist/basic-components/card/flow/tiles/index.d.ts +0 -2
  307. package/dist/basic-components/card/flow/tiles/index.d.ts.map +0 -1
  308. package/dist/basic-components/card/layout-registry.d.ts +0 -4
  309. package/dist/basic-components/card/layout-registry.d.ts.map +0 -1
  310. package/dist/basic-components/card/positional/collaborator/index.d.ts +0 -4
  311. package/dist/basic-components/card/positional/collaborator/index.d.ts.map +0 -1
  312. package/dist/basic-components/card/positional/detailed-object/index.d.ts +0 -5
  313. package/dist/basic-components/card/positional/detailed-object/index.d.ts.map +0 -1
  314. package/dist/basic-components/card/positional/financial/index.d.ts +0 -4
  315. package/dist/basic-components/card/positional/financial/index.d.ts.map +0 -1
  316. package/dist/basic-components/card/positional/folder-grid/index.d.ts +0 -4
  317. package/dist/basic-components/card/positional/folder-grid/index.d.ts.map +0 -1
  318. package/dist/basic-components/card/positional/hero/index.d.ts +0 -4
  319. package/dist/basic-components/card/positional/hero/index.d.ts.map +0 -1
  320. package/dist/basic-components/card/positional/product/index.d.ts +0 -4
  321. package/dist/basic-components/card/positional/product/index.d.ts.map +0 -1
  322. package/dist/basic-components/card/positional/shared/object-card.d.ts +0 -24
  323. package/dist/basic-components/card/positional/shared/object-card.d.ts.map +0 -1
  324. package/dist/basic-components/card/positional/shared/utils.d.ts +0 -26
  325. package/dist/basic-components/card/positional/shared/utils.d.ts.map +0 -1
  326. package/dist/basic-components/card/positional/simple-object/index.d.ts +0 -5
  327. package/dist/basic-components/card/positional/simple-object/index.d.ts.map +0 -1
  328. package/dist/basic-components/card/positional/tooltip/index.d.ts +0 -4
  329. package/dist/basic-components/card/positional/tooltip/index.d.ts.map +0 -1
  330. package/dist/basic-components/card/positional/trend/index.d.ts +0 -4
  331. package/dist/basic-components/card/positional/trend/index.d.ts.map +0 -1
  332. package/dist/blockDiagram-GPEHLZMM-C7mogpj_.cjs +0 -132
  333. package/dist/blockDiagram-GPEHLZMM-fcAaH_Ka.js +0 -3157
  334. package/dist/c4Diagram-AAUBKEIU-BjsHAdap.cjs +0 -10
  335. package/dist/cell-NyD4Bcyq.js +0 -6457
  336. package/dist/cell-dpOG-xr_.cjs +0 -6
  337. package/dist/channel-BzP1tmYc.cjs +0 -1
  338. package/dist/chunk-2J33WTMH-BulZYTKs.js +0 -25
  339. package/dist/chunk-2J33WTMH-DIfvCbWZ.cjs +0 -1
  340. package/dist/chunk-3OPIFGDE-Ohf7vgmX.cjs +0 -62
  341. package/dist/chunk-4BX2VUAB-DdliHvKq.cjs +0 -1
  342. package/dist/chunk-55IACEB6-D5PlvtBC.js +0 -8
  343. package/dist/chunk-55IACEB6-DzCdT-ru.cjs +0 -1
  344. package/dist/chunk-5ZQYHXKU-35HHGVyc.cjs +0 -2
  345. package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
  346. package/dist/chunk-AQP2D5EJ-CPbTYzEZ.cjs +0 -231
  347. package/dist/chunk-BSJP7CBP-BjkTjHJ6.js +0 -82
  348. package/dist/chunk-BSJP7CBP-DtjFXF0S.cjs +0 -1
  349. package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
  350. package/dist/chunk-Dqa2HsxW.js +0 -20
  351. package/dist/chunk-KSCS5N6A-DSWnBtbV.cjs +0 -10
  352. package/dist/chunk-L5ZTLDWV-DXk-PQPS.js +0 -32
  353. package/dist/chunk-L5ZTLDWV-sRcGREMv.cjs +0 -1
  354. package/dist/chunk-LZXEDZCA-4kbGESh2.cjs +0 -1
  355. package/dist/chunk-ND2GUHAM-See9KDdJ.cjs +0 -1
  356. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  357. package/dist/chunk-NZK2D7GU-CqugOMaJ.js +0 -67
  358. package/dist/chunk-NZK2D7GU-FNVK0iHI.cjs +0 -1
  359. package/dist/chunk-O5CBEL6O-BU_i0jbb.cjs +0 -70
  360. package/dist/chunk-QZHKN3VN-DPdobKra.cjs +0 -1
  361. package/dist/chunk-WU5MYG2G-BL6T82Hi.js +0 -9
  362. package/dist/chunk-WU5MYG2G-qi7ZaL3o.cjs +0 -1
  363. package/dist/chunk-XPW4576I-B9aC8EBY.js +0 -1146
  364. package/dist/chunk-XPW4576I-Dsm0jctf.cjs +0 -32
  365. package/dist/chunk-mLOUI7ql.cjs +0 -1
  366. package/dist/classDiagram-4FO5ZUOK-Dc-Jypl3.js +0 -29
  367. package/dist/classDiagram-4FO5ZUOK-Dqxk6PU-.cjs +0 -1
  368. package/dist/classDiagram-v2-Q7XG4LA2-DZ44tKmY.js +0 -29
  369. package/dist/classDiagram-v2-Q7XG4LA2-Dqxk6PU-.cjs +0 -1
  370. package/dist/components/shape-list/components/error-boundary.d.ts +0 -16
  371. package/dist/components/shape-list/components/error-boundary.d.ts.map +0 -1
  372. package/dist/components/shape-list/components/shape-list-drill-down.d.ts +0 -4
  373. package/dist/components/shape-list/components/shape-list-drill-down.d.ts.map +0 -1
  374. package/dist/components/shape-list/components/toolbar/command-panel.d.ts +0 -15
  375. package/dist/components/shape-list/components/toolbar/command-panel.d.ts.map +0 -1
  376. package/dist/components/shape-list/components/toolbar/command-trigger.d.ts +0 -16
  377. package/dist/components/shape-list/components/toolbar/command-trigger.d.ts.map +0 -1
  378. package/dist/components/shape-list/components/toolbar/filter-picker.d.ts +0 -14
  379. package/dist/components/shape-list/components/toolbar/filter-picker.d.ts.map +0 -1
  380. package/dist/components/shape-list/components/toolbar/json-viewer.d.ts +0 -11
  381. package/dist/components/shape-list/components/toolbar/json-viewer.d.ts.map +0 -1
  382. package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts +0 -15
  383. package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts.map +0 -1
  384. package/dist/components/shape-list/components/toolbar/sort-picker.d.ts +0 -14
  385. package/dist/components/shape-list/components/toolbar/sort-picker.d.ts.map +0 -1
  386. package/dist/components/shape-list/context/shape-list-context.d.ts +0 -31
  387. package/dist/components/shape-list/context/shape-list-context.d.ts.map +0 -1
  388. package/dist/components/shape-list/context/shape-list-filter-context.d.ts +0 -9
  389. package/dist/components/shape-list/context/shape-list-filter-context.d.ts.map +0 -1
  390. package/dist/components/shape-list/context/shape-list-sort-context.d.ts +0 -9
  391. package/dist/components/shape-list/context/shape-list-sort-context.d.ts.map +0 -1
  392. package/dist/components/shape-list/context/shape-list-state-context.d.ts +0 -5
  393. package/dist/components/shape-list/context/shape-list-state-context.d.ts.map +0 -1
  394. package/dist/components/shape-list/hooks/useCommandPickers.d.ts +0 -13
  395. package/dist/components/shape-list/hooks/useCommandPickers.d.ts.map +0 -1
  396. package/dist/components/shape-list/hooks/useLazyShapeData.d.ts +0 -35
  397. package/dist/components/shape-list/hooks/useLazyShapeData.d.ts.map +0 -1
  398. package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts +0 -2
  399. package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts.map +0 -1
  400. package/dist/components/shape-list/hooks/useNavigation.d.ts +0 -16
  401. package/dist/components/shape-list/hooks/useNavigation.d.ts.map +0 -1
  402. package/dist/components/shape-list/hooks/useSelection.d.ts +0 -34
  403. package/dist/components/shape-list/hooks/useSelection.d.ts.map +0 -1
  404. package/dist/components/shape-list/hooks/useStripOverflow.d.ts +0 -17
  405. package/dist/components/shape-list/hooks/useStripOverflow.d.ts.map +0 -1
  406. package/dist/components/shape-list/items/node-content.d.ts +0 -47
  407. package/dist/components/shape-list/items/node-content.d.ts.map +0 -1
  408. package/dist/components/shape-list/items/shape.d.ts +0 -20
  409. package/dist/components/shape-list/items/shape.d.ts.map +0 -1
  410. package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts +0 -13
  411. package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts.map +0 -1
  412. package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts +0 -4
  413. package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts.map +0 -1
  414. package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts +0 -7
  415. package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts.map +0 -1
  416. package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts +0 -11
  417. package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts.map +0 -1
  418. package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts +0 -18
  419. package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts.map +0 -1
  420. package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts +0 -8
  421. package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts.map +0 -1
  422. package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts +0 -6
  423. package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts.map +0 -1
  424. package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts +0 -13
  425. package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts.map +0 -1
  426. package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts +0 -9
  427. package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts.map +0 -1
  428. package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts +0 -4
  429. package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts.map +0 -1
  430. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts +0 -5
  431. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts.map +0 -1
  432. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts +0 -5
  433. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts.map +0 -1
  434. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts +0 -5
  435. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts.map +0 -1
  436. package/dist/components/shape-list/navigation-modes/catalog/index.d.ts +0 -3
  437. package/dist/components/shape-list/navigation-modes/catalog/index.d.ts.map +0 -1
  438. package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts +0 -5
  439. package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts.map +0 -1
  440. package/dist/components/shape-list/navigation-modes/compact/index.d.ts +0 -3
  441. package/dist/components/shape-list/navigation-modes/compact/index.d.ts.map +0 -1
  442. package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts +0 -5
  443. package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts.map +0 -1
  444. package/dist/components/shape-list/navigation-modes/explorer/index.d.ts +0 -4
  445. package/dist/components/shape-list/navigation-modes/explorer/index.d.ts.map +0 -1
  446. package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts +0 -5
  447. package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts.map +0 -1
  448. package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts +0 -5
  449. package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts.map +0 -1
  450. package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts +0 -3
  451. package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts.map +0 -1
  452. package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts +0 -5
  453. package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts.map +0 -1
  454. package/dist/components/shape-list/navigation-modes/modal/index.d.ts +0 -3
  455. package/dist/components/shape-list/navigation-modes/modal/index.d.ts.map +0 -1
  456. package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts +0 -5
  457. package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts.map +0 -1
  458. package/dist/components/shape-list/navigation-modes/rail/index.d.ts +0 -3
  459. package/dist/components/shape-list/navigation-modes/rail/index.d.ts.map +0 -1
  460. package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts +0 -11
  461. package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts.map +0 -1
  462. package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts +0 -3
  463. package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts.map +0 -1
  464. package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts +0 -11
  465. package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts.map +0 -1
  466. package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts +0 -3
  467. package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts.map +0 -1
  468. package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts +0 -5
  469. package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts.map +0 -1
  470. package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts +0 -3
  471. package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts.map +0 -1
  472. package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts +0 -5
  473. package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts.map +0 -1
  474. package/dist/components/shape-list/navigation-modes/workspace/index.d.ts +0 -3
  475. package/dist/components/shape-list/navigation-modes/workspace/index.d.ts.map +0 -1
  476. package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts +0 -11
  477. package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts.map +0 -1
  478. package/dist/components/shape-list/shape-list.d.ts +0 -5
  479. package/dist/components/shape-list/shape-list.d.ts.map +0 -1
  480. package/dist/components/shape-list/slots/renderers/brand.d.ts +0 -6
  481. package/dist/components/shape-list/slots/renderers/brand.d.ts.map +0 -1
  482. package/dist/components/shape-list/slots/renderers/cta.d.ts +0 -9
  483. package/dist/components/shape-list/slots/renderers/cta.d.ts.map +0 -1
  484. package/dist/components/shape-list/slots/renderers/icon.d.ts +0 -11
  485. package/dist/components/shape-list/slots/renderers/icon.d.ts.map +0 -1
  486. package/dist/components/shape-list/slots/renderers/section-header.d.ts +0 -7
  487. package/dist/components/shape-list/slots/renderers/section-header.d.ts.map +0 -1
  488. package/dist/components/shape-list/slots/renderers/shape-cell.d.ts +0 -9
  489. package/dist/components/shape-list/slots/renderers/shape-cell.d.ts.map +0 -1
  490. package/dist/components/shape-list/slots/slot-config.d.ts +0 -7
  491. package/dist/components/shape-list/slots/slot-config.d.ts.map +0 -1
  492. package/dist/components/shape-list/slots/slot-model.d.ts +0 -6
  493. package/dist/components/shape-list/slots/slot-model.d.ts.map +0 -1
  494. package/dist/components/shape-list/slots/slot-node.d.ts +0 -9
  495. package/dist/components/shape-list/slots/slot-node.d.ts.map +0 -1
  496. package/dist/components/shape-list/slots/slot-render-utils.d.ts +0 -11
  497. package/dist/components/shape-list/slots/slot-render-utils.d.ts.map +0 -1
  498. package/dist/components/shape-list/slots/slot-types.d.ts +0 -151
  499. package/dist/components/shape-list/slots/slot-types.d.ts.map +0 -1
  500. package/dist/components/shape-list/slots/test/slot-model.test.d.ts +0 -2
  501. package/dist/components/shape-list/slots/test/slot-model.test.d.ts.map +0 -1
  502. package/dist/components/shape-list/types/shape-list-types.d.ts +0 -181
  503. package/dist/components/shape-list/types/shape-list-types.d.ts.map +0 -1
  504. package/dist/components/shape-list/utils/column-utils.d.ts +0 -9
  505. package/dist/components/shape-list/utils/column-utils.d.ts.map +0 -1
  506. package/dist/components/shape-list/utils/debug-utils.d.ts +0 -13
  507. package/dist/components/shape-list/utils/debug-utils.d.ts.map +0 -1
  508. package/dist/components/shape-list/utils/filter-utils.d.ts +0 -12
  509. package/dist/components/shape-list/utils/filter-utils.d.ts.map +0 -1
  510. package/dist/components/shape-list/utils/keyboard-utils.d.ts +0 -12
  511. package/dist/components/shape-list/utils/keyboard-utils.d.ts.map +0 -1
  512. package/dist/components/shape-list/utils/navigation-options.d.ts +0 -30
  513. package/dist/components/shape-list/utils/navigation-options.d.ts.map +0 -1
  514. package/dist/components/shape-list/utils/node-utils.d.ts +0 -12
  515. package/dist/components/shape-list/utils/node-utils.d.ts.map +0 -1
  516. package/dist/components/shape-list/utils/sort-utils.d.ts +0 -13
  517. package/dist/components/shape-list/utils/sort-utils.d.ts.map +0 -1
  518. package/dist/components/shape-list/utils/typeahead-utils.d.ts +0 -28
  519. package/dist/components/shape-list/utils/typeahead-utils.d.ts.map +0 -1
  520. package/dist/cose-bilkent-S5V4N54A-BxQyjZqX.cjs +0 -1
  521. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  522. package/dist/dagre-BM42HDAG-DwRqEen8.js +0 -297
  523. package/dist/dagre-BM42HDAG-E2Jw6uLH.cjs +0 -4
  524. package/dist/diagram-2AECGRRQ-BkwGTiAT.cjs +0 -43
  525. package/dist/diagram-5GNKFQAL-CvMOQgoH.cjs +0 -10
  526. package/dist/diagram-5GNKFQAL-bsRwDc-2.js +0 -101
  527. package/dist/diagram-KO2AKTUF-DKGDs9Ax.cjs +0 -3
  528. package/dist/diagram-LMA3HP47-BojSLu6w.cjs +0 -24
  529. package/dist/diagram-OG6HWLK6-bHqMXqif.cjs +0 -24
  530. package/dist/dist-Dwq87x4R.cjs +0 -1
  531. package/dist/erDiagram-TEJ5UH35-BxeM1F9k.js +0 -1700
  532. package/dist/erDiagram-TEJ5UH35-CqUBZsAh.cjs +0 -85
  533. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  534. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  535. package/dist/flowDiagram-I6XJVG4X-DsjMn89E.cjs +0 -162
  536. package/dist/functional-components/shape/index.d.ts +0 -9
  537. package/dist/functional-components/shape/index.d.ts.map +0 -1
  538. package/dist/functional-components/shape/shape-map.d.ts +0 -3
  539. package/dist/functional-components/shape/shape-map.d.ts.map +0 -1
  540. package/dist/functional-components/shape/shape-registry.d.ts +0 -25
  541. package/dist/functional-components/shape/shape-registry.d.ts.map +0 -1
  542. package/dist/functional-components/shape/shape-resolver.d.ts +0 -61
  543. package/dist/functional-components/shape/shape-resolver.d.ts.map +0 -1
  544. package/dist/functional-components/shape/shape-types.d.ts +0 -55
  545. package/dist/functional-components/shape/shape-types.d.ts.map +0 -1
  546. package/dist/functional-components/shape/shape.d.ts +0 -5
  547. package/dist/functional-components/shape/shape.d.ts.map +0 -1
  548. package/dist/functional-components/shape/slot-resolver.d.ts +0 -24
  549. package/dist/functional-components/shape/slot-resolver.d.ts.map +0 -1
  550. package/dist/functional-components/shape/slot-types.d.ts +0 -27
  551. package/dist/functional-components/shape/slot-types.d.ts.map +0 -1
  552. package/dist/functional-components/shape/useSlotResolver.d.ts +0 -13
  553. package/dist/functional-components/shape/useSlotResolver.d.ts.map +0 -1
  554. package/dist/ganttDiagram-6RSMTGT7-CG_knKFc.cjs +0 -292
  555. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  556. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  557. package/dist/gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs +0 -106
  558. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  559. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  560. package/dist/infoDiagram-5YYISTIA-22jaR465.cjs +0 -2
  561. package/dist/infoDiagram-5YYISTIA-CM-al6Jc.js +0 -19
  562. package/dist/jsx-runtime-DCATrIRp.js +0 -183
  563. package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
  564. package/dist/kanban-definition-UN3LZRKU-DplPe2EX.cjs +0 -89
  565. package/dist/katex-CkiTumqg.cjs +0 -257
  566. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  567. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  568. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  569. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  570. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  571. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  572. package/dist/pieDiagram-4H26LBE5-CCgLxjTB.js +0 -165
  573. package/dist/pieDiagram-4H26LBE5-DAhjc9WT.cjs +0 -30
  574. package/dist/purify.es-9OKVhuci.js +0 -735
  575. package/dist/purify.es-hdXGOu6N.cjs +0 -3
  576. package/dist/quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs +0 -7
  577. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  578. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  579. package/dist/requirementDiagram-4Y6WPE33-L_lL0BcB.cjs +0 -84
  580. package/dist/sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs +0 -40
  581. package/dist/sequenceDiagram-3UESZ5HK-C69YSjBM.cjs +0 -162
  582. package/dist/src-CFBvxm_0.cjs +0 -1
  583. package/dist/stateDiagram-AJRCARHV-BTzCb_Q-.js +0 -217
  584. package/dist/stateDiagram-AJRCARHV-CBbDL4Ct.cjs +0 -1
  585. package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
  586. package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
  587. package/dist/timeline-definition-PNZ67QCA-DJ9VKw6h.cjs +0 -120
  588. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  589. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  590. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  591. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  592. package/dist/useObjectProtocol-3BhpCUjG.cjs +0 -3
  593. package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
  594. package/dist/vennDiagram-CIIHVFJN-DeRVKdRG.cjs +0 -34
  595. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  596. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  597. package/dist/wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs +0 -78
  598. package/dist/xychartDiagram-2RQKCTM6-CWncieig.cjs +0 -7
@@ -1,7 +1,803 @@
1
- import { t as e } from "./purify.es-9OKVhuci.js";
2
- import { _ as t, g as n, h as r, m as i } from "./src-GDFuItmC.js";
3
- //#region node_modules/khroma/dist/utils/channel.js
4
- var a = {
1
+ import { h as e, m as t } from "./src-D-6ZfKf9.js";
2
+ import { n, t as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ //#region node_modules/dompurify/dist/purify.es.mjs
4
+ function i(e, t) {
5
+ (t == null || t > e.length) && (t = e.length);
6
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
7
+ return r;
8
+ }
9
+ function a(e) {
10
+ if (Array.isArray(e)) return e;
11
+ }
12
+ function o(e, t) {
13
+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
14
+ if (n != null) {
15
+ var r, i, a, o, s = [], c = !0, l = !1;
16
+ try {
17
+ if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
18
+ } catch (e) {
19
+ l = !0, i = e;
20
+ } finally {
21
+ try {
22
+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
23
+ } finally {
24
+ if (l) throw i;
25
+ }
26
+ }
27
+ return s;
28
+ }
29
+ }
30
+ function s() {
31
+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
32
+ }
33
+ function c(e, t) {
34
+ return a(e) || o(e, t) || l(e, t) || s();
35
+ }
36
+ function l(e, t) {
37
+ if (e) {
38
+ if (typeof e == "string") return i(e, t);
39
+ var n = {}.toString.call(e).slice(8, -1);
40
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? i(e, t) : void 0;
41
+ }
42
+ }
43
+ var u = Object.entries, d = Object.setPrototypeOf, f = Object.isFrozen, ee = Object.getPrototypeOf, te = Object.getOwnPropertyDescriptor, p = Object.freeze, m = Object.seal, ne = Object.create, re = typeof Reflect < "u" && Reflect, ie = re.apply, ae = re.construct;
44
+ p ||= function(e) {
45
+ return e;
46
+ }, m ||= function(e) {
47
+ return e;
48
+ }, ie ||= function(e, t) {
49
+ var n = [...arguments].slice(2);
50
+ return e.apply(t, n);
51
+ }, ae ||= function(e) {
52
+ return new e(...[...arguments].slice(1));
53
+ };
54
+ var oe = v(Array.prototype.forEach), se = v(Array.prototype.lastIndexOf), ce = v(Array.prototype.pop), le = v(Array.prototype.push), ue = v(Array.prototype.splice), de = Array.isArray, fe = v(String.prototype.toLowerCase), pe = v(String.prototype.toString), me = v(String.prototype.match), he = v(String.prototype.replace), ge = v(String.prototype.indexOf), _e = v(String.prototype.trim), ve = v(Number.prototype.toString), ye = v(Boolean.prototype.toString), h = typeof BigInt > "u" ? null : v(BigInt.prototype.toString), be = typeof Symbol > "u" ? null : v(Symbol.prototype.toString), g = v(Object.prototype.hasOwnProperty), xe = v(Object.prototype.toString), _ = v(RegExp.prototype.test), Se = Ce(TypeError);
55
+ function v(e) {
56
+ return function(t) {
57
+ t instanceof RegExp && (t.lastIndex = 0);
58
+ var n = [...arguments].slice(1);
59
+ return ie(e, t, n);
60
+ };
61
+ }
62
+ function Ce(e) {
63
+ return function() {
64
+ return ae(e, [...arguments]);
65
+ };
66
+ }
67
+ function y(e, t) {
68
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : fe;
69
+ if (d && d(e, null), !de(t)) return e;
70
+ let r = t.length;
71
+ for (; r--;) {
72
+ let i = t[r];
73
+ if (typeof i == "string") {
74
+ let e = n(i);
75
+ e !== i && (f(t) || (t[r] = e), i = e);
76
+ }
77
+ e[i] = !0;
78
+ }
79
+ return e;
80
+ }
81
+ function b(e) {
82
+ for (let t = 0; t < e.length; t++) g(e, t) || (e[t] = null);
83
+ return e;
84
+ }
85
+ function x(e) {
86
+ let t = ne(null);
87
+ for (let r of u(e)) {
88
+ var n = c(r, 2);
89
+ let i = n[0], a = n[1];
90
+ g(e, i) && (de(a) ? t[i] = b(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = x(a) : t[i] = a);
91
+ }
92
+ return t;
93
+ }
94
+ function we(e) {
95
+ switch (typeof e) {
96
+ case "string": return e;
97
+ case "number": return ve(e);
98
+ case "boolean": return ye(e);
99
+ case "bigint": return h ? h(e) : "0";
100
+ case "symbol": return be ? be(e) : "Symbol()";
101
+ case "undefined": return xe(e);
102
+ case "function":
103
+ case "object": {
104
+ if (e === null) return xe(e);
105
+ let t = e, n = S(t, "toString");
106
+ if (typeof n == "function") {
107
+ let e = n(t);
108
+ return typeof e == "string" ? e : xe(e);
109
+ }
110
+ return xe(e);
111
+ }
112
+ default: return xe(e);
113
+ }
114
+ }
115
+ function S(e, t) {
116
+ for (; e !== null;) {
117
+ let n = te(e, t);
118
+ if (n) {
119
+ if (n.get) return v(n.get);
120
+ if (typeof n.value == "function") return v(n.value);
121
+ }
122
+ e = ee(e);
123
+ }
124
+ function n() {
125
+ return null;
126
+ }
127
+ return n;
128
+ }
129
+ function Te(e) {
130
+ try {
131
+ return _(e, ""), !0;
132
+ } catch {
133
+ return !1;
134
+ }
135
+ }
136
+ var Ee = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), De = p(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Oe = p([
137
+ "feBlend",
138
+ "feColorMatrix",
139
+ "feComponentTransfer",
140
+ "feComposite",
141
+ "feConvolveMatrix",
142
+ "feDiffuseLighting",
143
+ "feDisplacementMap",
144
+ "feDistantLight",
145
+ "feDropShadow",
146
+ "feFlood",
147
+ "feFuncA",
148
+ "feFuncB",
149
+ "feFuncG",
150
+ "feFuncR",
151
+ "feGaussianBlur",
152
+ "feImage",
153
+ "feMerge",
154
+ "feMergeNode",
155
+ "feMorphology",
156
+ "feOffset",
157
+ "fePointLight",
158
+ "feSpecularLighting",
159
+ "feSpotLight",
160
+ "feTile",
161
+ "feTurbulence"
162
+ ]), ke = p([
163
+ "animate",
164
+ "color-profile",
165
+ "cursor",
166
+ "discard",
167
+ "font-face",
168
+ "font-face-format",
169
+ "font-face-name",
170
+ "font-face-src",
171
+ "font-face-uri",
172
+ "foreignobject",
173
+ "hatch",
174
+ "hatchpath",
175
+ "mesh",
176
+ "meshgradient",
177
+ "meshpatch",
178
+ "meshrow",
179
+ "missing-glyph",
180
+ "script",
181
+ "set",
182
+ "solidcolor",
183
+ "unknown",
184
+ "use"
185
+ ]), Ae = p(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), je = p([
186
+ "maction",
187
+ "maligngroup",
188
+ "malignmark",
189
+ "mlongdiv",
190
+ "mscarries",
191
+ "mscarry",
192
+ "msgroup",
193
+ "mstack",
194
+ "msline",
195
+ "msrow",
196
+ "semantics",
197
+ "annotation",
198
+ "annotation-xml",
199
+ "mprescripts",
200
+ "none"
201
+ ]), Me = p(["#text"]), Ne = p(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.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".split(".")), Pe = p(/* @__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.dominant-baseline.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.pointer-events.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-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.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(".")), Fe = p(/* @__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(".")), Ie = p([
202
+ "xlink:href",
203
+ "xml:id",
204
+ "xlink:title",
205
+ "xml:space",
206
+ "xmlns:xlink"
207
+ ]), Le = m(/{{[\w\W]*|^[\w\W]*}}/g), Re = m(/<%[\w\W]*|^[\w\W]*%>/g), ze = m(/\${[\w\W]*/g), Be = m(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ve = m(/^aria-[\-\w]+$/), He = m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ue = m(/^(?:\w+script|data):/i), We = m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Ge = m(/^html$/i), Ke = m(/^[a-z][.\w]*(-[.\w]+)+$/i), qe = m(/<[/\w!]/g), Je = m(/<[/\w]/g), Ye = m(/<\/no(script|embed|frames)/i), Xe = m(/\/>/i), C = {
208
+ element: 1,
209
+ attribute: 2,
210
+ text: 3,
211
+ cdataSection: 4,
212
+ entityReference: 5,
213
+ entityNode: 6,
214
+ processingInstruction: 7,
215
+ comment: 8,
216
+ document: 9,
217
+ documentType: 10,
218
+ documentFragment: 11,
219
+ notation: 12
220
+ }, w = [
221
+ "style",
222
+ "script",
223
+ "xmp",
224
+ "iframe",
225
+ "noembed",
226
+ "noframes",
227
+ "plaintext",
228
+ "noscript"
229
+ ], Ze = p(y({}, w)), Qe = function() {
230
+ let e = {};
231
+ return oe(w, (t) => {
232
+ e[t] = m(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
233
+ }), p(e);
234
+ }(), $e = function() {
235
+ return typeof window > "u" ? null : window;
236
+ }, et = function(e, t) {
237
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
238
+ let n = null, r = "data-tt-policy-suffix";
239
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
240
+ let i = "dompurify" + (n ? "#" + n : "");
241
+ try {
242
+ return e.createPolicy(i, {
243
+ createHTML(e) {
244
+ return e;
245
+ },
246
+ createScriptURL(e) {
247
+ return e;
248
+ }
249
+ });
250
+ } catch {
251
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
252
+ }
253
+ }, tt = function() {
254
+ return {
255
+ afterSanitizeAttributes: [],
256
+ afterSanitizeElements: [],
257
+ afterSanitizeShadowDOM: [],
258
+ beforeSanitizeAttributes: [],
259
+ beforeSanitizeElements: [],
260
+ beforeSanitizeShadowDOM: [],
261
+ uponSanitizeAttribute: [],
262
+ uponSanitizeElement: [],
263
+ uponSanitizeShadowNode: []
264
+ };
265
+ }, nt = function(e, t, n, r) {
266
+ return g(e, t) && de(e[t]) ? y(r.base ? x(r.base) : {}, e[t], r.transform) : n;
267
+ }, rt = function(e, t, n) {
268
+ let r = g(e, t) ? e[t] : void 0;
269
+ return r && typeof r == "object" ? x(r) : n();
270
+ };
271
+ function it() {
272
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : $e(), t = (e) => it(e);
273
+ if (t.version = "3.4.14", t.removed = [], !e || !e.document || e.document.nodeType !== C.document || !e.Element) return t.isSupported = !1, t;
274
+ let n = e.document, r = n, i = r.currentScript;
275
+ e.DocumentFragment;
276
+ let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
277
+ e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
278
+ let l = e.DOMParser, d = e.trustedTypes, f = s.prototype, ee = S(f, "cloneNode"), te = S(f, "remove"), re = S(f, "nextSibling"), ie = S(f, "childNodes"), ae = S(f, "parentNode"), ve = S(f, "shadowRoot"), ye = S(f, "attributes"), h = o && o.prototype ? S(o.prototype, "nodeType") : null, be = o && o.prototype ? S(o.prototype, "nodeName") : null, xe = o && o.prototype ? S(o.prototype, "ownerDocument") : null, v = function(e) {
279
+ return h ? h(e) : e.nodeType;
280
+ }, Ce = function(e) {
281
+ return be ? be(e) : e.nodeName;
282
+ };
283
+ if (typeof a == "function") {
284
+ let e = n.createElement("template");
285
+ e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
286
+ }
287
+ let b, w = "", T, at = !1, E = 0, D = function() {
288
+ if (E > 0) throw Se("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
289
+ }, O = function(e) {
290
+ D(), E++;
291
+ try {
292
+ return b.createHTML(e);
293
+ } finally {
294
+ E--;
295
+ }
296
+ }, ot = function(e) {
297
+ D(), E++;
298
+ try {
299
+ return b.createScriptURL(e);
300
+ } finally {
301
+ E--;
302
+ }
303
+ }, st = function() {
304
+ return at ||= (T = et(d, i), !0), T;
305
+ }, k = n, A = k.implementation, ct = k.createNodeIterator, lt = k.createDocumentFragment, j = k.getElementsByTagName, ut = r.importNode, M = tt();
306
+ t.isSupported = typeof u == "function" && typeof ae == "function" && A && A.createHTMLDocument !== void 0;
307
+ let dt = Le, ft = Re, N = ze, pt = Be, P = Ve, F = Ue, I = We, mt = Ke, L = He, R = null, z = y({}, [
308
+ ...Ee,
309
+ ...De,
310
+ ...Oe,
311
+ ...Ae,
312
+ ...Me
313
+ ]), B = null, V = y({}, [
314
+ ...Ne,
315
+ ...Pe,
316
+ ...Fe,
317
+ ...Ie
318
+ ]), H = Object.seal(ne(null, {
319
+ tagNameCheck: {
320
+ writable: !0,
321
+ configurable: !1,
322
+ enumerable: !0,
323
+ value: null
324
+ },
325
+ attributeNameCheck: {
326
+ writable: !0,
327
+ configurable: !1,
328
+ enumerable: !0,
329
+ value: null
330
+ },
331
+ allowCustomizedBuiltInElements: {
332
+ writable: !0,
333
+ configurable: !1,
334
+ enumerable: !0,
335
+ value: !1
336
+ }
337
+ })), ht = null, gt = null, _t = Object.seal(ne(null, {
338
+ tagCheck: {
339
+ writable: !0,
340
+ configurable: !1,
341
+ enumerable: !0,
342
+ value: null
343
+ },
344
+ attributeCheck: {
345
+ writable: !0,
346
+ configurable: !1,
347
+ enumerable: !0,
348
+ value: null
349
+ }
350
+ })), vt = !0, yt = !0, bt = !1, xt = !0, U = !1, St = !0, Ct = !1, wt = !1, Tt = null, Et = null, Dt = !1, Ot = !1, kt = !1, At = !1, jt = !0, Mt = !1, Nt = "user-content-", Pt = !0, W = !1, G = {}, Ft = null, It = y({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Lt = null, Rt = y({}, [
351
+ "audio",
352
+ "video",
353
+ "img",
354
+ "source",
355
+ "image",
356
+ "track"
357
+ ]), zt = null, Bt = y({}, [
358
+ "alt",
359
+ "class",
360
+ "for",
361
+ "id",
362
+ "label",
363
+ "name",
364
+ "pattern",
365
+ "placeholder",
366
+ "role",
367
+ "summary",
368
+ "title",
369
+ "value",
370
+ "style",
371
+ "xmlns"
372
+ ]), Vt = "http://www.w3.org/1998/Math/MathML", Ht = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, J = !1, Ut = null, Wt = y({}, [
373
+ Vt,
374
+ Ht,
375
+ K
376
+ ], pe), Gt = p([
377
+ "mi",
378
+ "mo",
379
+ "mn",
380
+ "ms",
381
+ "mtext"
382
+ ]), Kt = y({}, Gt), qt = p(["annotation-xml"]), Jt = y({}, qt), Yt = y({}, [
383
+ "title",
384
+ "style",
385
+ "font",
386
+ "a",
387
+ "script"
388
+ ]), Xt = null, Zt = ["application/xhtml+xml", "text/html"], Y = null, Qt = null, $t = n.createElement("form"), en = function(e) {
389
+ return e instanceof RegExp || e instanceof Function;
390
+ }, tn = function() {
391
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
392
+ if (Qt && Qt === e) return;
393
+ (!e || typeof e != "object") && (e = {}), e = x(e), Xt = Zt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = Xt === "application/xhtml+xml" ? pe : fe, R = nt(e, "ALLOWED_TAGS", z, { transform: Y }), B = nt(e, "ALLOWED_ATTR", V, { transform: Y }), Ut = nt(e, "ALLOWED_NAMESPACES", Wt, { transform: pe }), zt = nt(e, "ADD_URI_SAFE_ATTR", Bt, {
394
+ transform: Y,
395
+ base: Bt
396
+ }), Lt = nt(e, "ADD_DATA_URI_TAGS", Rt, {
397
+ transform: Y,
398
+ base: Rt
399
+ }), Ft = nt(e, "FORBID_CONTENTS", It, { transform: Y }), ht = nt(e, "FORBID_TAGS", x({}), { transform: Y }), gt = nt(e, "FORBID_ATTR", x({}), { transform: Y }), G = g(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? x(e.USE_PROFILES) : e.USE_PROFILES : !1, vt = e.ALLOW_ARIA_ATTR !== !1, yt = e.ALLOW_DATA_ATTR !== !1, bt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, xt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, St = e.SAFE_FOR_XML !== !1, Ct = e.WHOLE_DOCUMENT || !1, Ot = e.RETURN_DOM || !1, kt = e.RETURN_DOM_FRAGMENT || !1, At = e.RETURN_TRUSTED_TYPE || !1, Dt = e.FORCE_BODY || !1, jt = e.SANITIZE_DOM !== !1, Mt = e.SANITIZE_NAMED_PROPS || !1, Pt = e.KEEP_CONTENT !== !1, W = e.IN_PLACE || !1, L = Te(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : He, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Kt = rt(e, "MATHML_TEXT_INTEGRATION_POINTS", () => y({}, Gt)), Jt = rt(e, "HTML_INTEGRATION_POINTS", () => y({}, qt));
400
+ let t = rt(e, "CUSTOM_ELEMENT_HANDLING", () => ne(null));
401
+ if (H = ne(null), g(t, "tagNameCheck") && en(t.tagNameCheck) && (H.tagNameCheck = t.tagNameCheck), g(t, "attributeNameCheck") && en(t.attributeNameCheck) && (H.attributeNameCheck = t.attributeNameCheck), g(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), m(H), U && (yt = !1), kt && (Ot = !0), G && (R = y({}, Me), B = ne(null), G.html === !0 && (y(R, Ee), y(B, Ne)), G.svg === !0 && (y(R, De), y(B, Pe), y(B, Ie)), G.svgFilters === !0 && (y(R, Oe), y(B, Pe), y(B, Ie)), G.mathMl === !0 && (y(R, Ae), y(B, Fe), y(B, Ie))), _t.tagCheck = null, _t.attributeCheck = null, g(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? _t.tagCheck = e.ADD_TAGS : de(e.ADD_TAGS) && (R === z && (R = x(R)), y(R, e.ADD_TAGS, Y))), g(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? _t.attributeCheck = e.ADD_ATTR : de(e.ADD_ATTR) && (B === V && (B = x(B)), y(B, e.ADD_ATTR, Y))), g(e, "ADD_FORBID_CONTENTS") && de(e.ADD_FORBID_CONTENTS) && (Ft === It && (Ft = x(Ft)), y(Ft, e.ADD_FORBID_CONTENTS, Y)), Pt && (R["#text"] = !0), Ct && y(R, [
402
+ "html",
403
+ "head",
404
+ "body"
405
+ ]), R.table && (y(R, ["tbody"]), delete ht.tbody), e.TRUSTED_TYPES_POLICY) {
406
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
407
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
408
+ let t = b;
409
+ b = e.TRUSTED_TYPES_POLICY;
410
+ try {
411
+ w = O("");
412
+ } catch (e) {
413
+ throw b = t, e;
414
+ }
415
+ } else e.TRUSTED_TYPES_POLICY === null ? (b = void 0, w = "") : (b === void 0 && (b = st()), b && typeof w == "string" && (w = O("")));
416
+ p && p(e), Qt = e;
417
+ }, nn = y({}, [
418
+ ...De,
419
+ ...Oe,
420
+ ...ke
421
+ ]), rn = y({}, [...Ae, ...je]), an = function(e, t, n) {
422
+ return t.namespaceURI === K ? e === "svg" : t.namespaceURI === Vt ? e === "svg" && (n === "annotation-xml" || Kt[n]) : !!nn[e];
423
+ }, on = function(e, t, n) {
424
+ return t.namespaceURI === K ? e === "math" : t.namespaceURI === Ht ? e === "math" && Jt[n] : !!rn[e];
425
+ }, sn = function(e, t, n) {
426
+ return t.namespaceURI === Ht && !Jt[n] || t.namespaceURI === Vt && !Kt[n] ? !1 : !rn[e] && (Yt[e] || !nn[e]);
427
+ }, cn = function(e) {
428
+ let t = ae(e);
429
+ (!t || !t.tagName) && (t = {
430
+ namespaceURI: q,
431
+ tagName: "template"
432
+ });
433
+ let n = fe(e.tagName), r = fe(t.tagName);
434
+ return Ut[e.namespaceURI] ? e.namespaceURI === Ht ? an(n, t, r) : e.namespaceURI === Vt ? on(n, t, r) : e.namespaceURI === K ? sn(n, t, r) : !!(Xt === "application/xhtml+xml" && Ut[e.namespaceURI]) : !1;
435
+ }, X = function(e) {
436
+ le(t.removed, { element: e });
437
+ try {
438
+ ae(e).removeChild(e);
439
+ } catch {
440
+ if (te(e), !ae(e)) throw Se("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
441
+ }
442
+ }, ln = function(e, t, n) {
443
+ try {
444
+ e.removeAttributeNode(t);
445
+ } catch {
446
+ try {
447
+ e.removeAttribute(n);
448
+ } catch {}
449
+ }
450
+ }, un = function(e) {
451
+ fn(e);
452
+ let t = ie(e);
453
+ if (t) {
454
+ let e = [];
455
+ oe(t, (t) => {
456
+ le(e, t);
457
+ }), oe(e, (e) => {
458
+ try {
459
+ te(e);
460
+ } catch {}
461
+ });
462
+ }
463
+ let n = ye(e);
464
+ if (n) for (let t = n.length - 1; t >= 0; --t) {
465
+ let r = n[t], i = r && r.name;
466
+ typeof i == "string" && ln(e, r, i);
467
+ }
468
+ }, Z = function(e, n, r) {
469
+ if (!r) try {
470
+ r = n.getAttributeNode(e);
471
+ } catch {
472
+ r = null;
473
+ }
474
+ le(t.removed, {
475
+ attribute: r || null,
476
+ from: n
477
+ });
478
+ try {
479
+ r ? n.removeAttributeNode(r) : n.removeAttribute(e);
480
+ } catch {
481
+ try {
482
+ n.removeAttribute(e);
483
+ } catch {}
484
+ }
485
+ if (e === "is") if (Ot || kt) try {
486
+ X(n);
487
+ } catch {}
488
+ else try {
489
+ n.setAttribute(e, "");
490
+ } catch {}
491
+ }, dn = function(e) {
492
+ let t = ye(e);
493
+ if (t) for (let n = t.length - 1; n >= 0; --n) {
494
+ let r = t[n], i = r && r.name;
495
+ typeof i != "string" || B[Y(i)] || ln(e, r, i);
496
+ }
497
+ }, fn = function(e) {
498
+ let t = [e];
499
+ for (; t.length > 0;) {
500
+ let e = t.pop();
501
+ v(e) === C.element && dn(e);
502
+ let n = ie(e);
503
+ if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
504
+ }
505
+ }, pn = function(e, t) {
506
+ return St ? e === "patchsrc" ? !0 : e === "for" && t !== "label" && t !== "output" : !1;
507
+ }, mn = function(e) {
508
+ if (!St) return;
509
+ let t = [e];
510
+ for (; t.length > 0;) {
511
+ let e = t.pop(), n = v(e);
512
+ if (n === C.processingInstruction || n === C.comment && _(Je, e.data)) {
513
+ try {
514
+ te(e);
515
+ } catch {}
516
+ continue;
517
+ }
518
+ if (n === C.element) {
519
+ let t = e, n = Y(Ce(e));
520
+ try {
521
+ t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && pn("for", n) && t.removeAttribute("for");
522
+ } catch {}
523
+ }
524
+ let r = ie(e);
525
+ if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
526
+ }
527
+ }, hn = function(e) {
528
+ let t = null, r = null;
529
+ if (Dt) e = "<remove></remove>" + e;
530
+ else {
531
+ let t = me(e, /^[\r\n\t ]+/);
532
+ r = t && t[0];
533
+ }
534
+ Xt === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
535
+ let i = b ? O(e) : e;
536
+ if (q === K) try {
537
+ t = new l().parseFromString(i, Xt);
538
+ } catch {}
539
+ if (!t || !t.documentElement) {
540
+ t = A.createDocument(q, "template", null);
541
+ try {
542
+ t.documentElement.innerHTML = J ? w : i;
543
+ } catch {}
544
+ }
545
+ let a = t.body || t.documentElement;
546
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? j.call(t, Ct ? "html" : "body")[0] : Ct ? t.documentElement : a;
547
+ }, gn = function(e) {
548
+ let t = xe ? xe(e) : e.ownerDocument;
549
+ return ct.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
550
+ }, _n = function(e) {
551
+ return e = he(e, dt, " "), e = he(e, ft, " "), e = he(e, N, " "), e;
552
+ }, vn = function(e) {
553
+ e.normalize();
554
+ let t = xe ? xe(e) : e.ownerDocument, n = ct.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
555
+ for (; r;) r.data = _n(r.data), r = n.nextNode();
556
+ let i = e.querySelectorAll?.call(e, "template");
557
+ i && oe(i, (e) => {
558
+ bn(e.content) && vn(e.content);
559
+ });
560
+ }, yn = function(e) {
561
+ let t = be ? be(e) : null;
562
+ return typeof t != "string" || Y(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== ye(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== h(e) || e.childNodes !== ie(e);
563
+ }, bn = function(e) {
564
+ if (!h || typeof e != "object" || !e) return !1;
565
+ try {
566
+ return h(e) === C.documentFragment;
567
+ } catch {
568
+ return !1;
569
+ }
570
+ }, Q = function(e) {
571
+ if (!h || typeof e != "object" || !e) return !1;
572
+ try {
573
+ return typeof h(e) == "number";
574
+ } catch {
575
+ return !1;
576
+ }
577
+ };
578
+ function $(e, n, r) {
579
+ e.length !== 0 && oe(e, (e) => {
580
+ e.call(t, n, r, Qt);
581
+ });
582
+ }
583
+ let xn = function(e, t) {
584
+ return !!(St && e.hasChildNodes() && !Q(e.firstElementChild) && _(qe, e.textContent) && _(qe, e.innerHTML) || St && e.namespaceURI === K && Ze[t] && (Q(e.firstElementChild) || typeof e.textContent == "string" && _(Qe[t], e.textContent)) || e.nodeType === C.processingInstruction || St && e.nodeType === C.comment && _(Je, e.data));
585
+ }, Sn = function(e, t) {
586
+ return e instanceof RegExp ? _(e, t) : e instanceof Function ? !!e(t, ...[...arguments].slice(2)) : !1;
587
+ }, Cn = function(e, t, n) {
588
+ if (!ht[t] && kn(t) && Sn(H.tagNameCheck, t)) return !1;
589
+ if (Pt && !Ft[t]) {
590
+ let t = ae(e), r = ie(e);
591
+ if (r && t) {
592
+ let i = r.length;
593
+ for (let a = i - 1; a >= 0; --a) {
594
+ let i = e === n ? ee(r[a], !0) : r[a];
595
+ t.insertBefore(i, re(e));
596
+ }
597
+ }
598
+ }
599
+ return X(e), !0;
600
+ }, wn = function(e, t, n, r) {
601
+ return e.length === 0 ? t : t === n || t === r ? x(t) : t;
602
+ }, Tn = function(e, t) {
603
+ return e === t || ae(e) !== null ? !1 : (W && fn(e), !0);
604
+ }, En = function(e, n) {
605
+ if ($(M.beforeSanitizeElements, e, null), Tn(e, n)) return !0;
606
+ if (yn(e)) return X(e), !0;
607
+ let r = Y(Ce(e));
608
+ if (R = wn(M.uponSanitizeElement, R, z, Tt), $(M.uponSanitizeElement, e, {
609
+ tagName: r,
610
+ allowedTags: R
611
+ }), Tn(e, n)) return !0;
612
+ if (xn(e, r)) return X(e), !0;
613
+ if (ht[r] || !(_t.tagCheck instanceof Function && _t.tagCheck(r)) && !R[r]) {
614
+ let t = Cn(e, r, n);
615
+ return t === !1 && $(M.afterSanitizeElements, e, null), t;
616
+ }
617
+ if (v(e) === C.element && !cn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && _(Ye, e.innerHTML)) return X(e), !0;
618
+ if (U && e.nodeType === C.text) {
619
+ let n = _n(e.textContent);
620
+ e.textContent !== n && (le(t.removed, { element: e.cloneNode() }), e.textContent = n);
621
+ }
622
+ return $(M.afterSanitizeElements, e, null), !1;
623
+ }, Dn = function(e, t, r) {
624
+ if (gt[t] || pn(t, e) || jt && (t === "id" || t === "name") && (r in n || r in $t)) return !1;
625
+ let i = B[t] || _t.attributeCheck instanceof Function && _t.attributeCheck(t, e);
626
+ return yt && _(pt, t) || vt && _(P, t) ? !0 : i ? zt[t] || _(L, he(r, I, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ge(r, "data:") === 0 && Lt[e] || bt && !_(F, he(r, I, "")) ? !0 : !r : kn(e) && Sn(H.tagNameCheck, e) && Sn(H.attributeNameCheck, t, e) || t === "is" && H.allowCustomizedBuiltInElements && Sn(H.tagNameCheck, r);
627
+ }, On = y({}, [
628
+ "annotation-xml",
629
+ "color-profile",
630
+ "font-face",
631
+ "font-face-format",
632
+ "font-face-name",
633
+ "font-face-src",
634
+ "font-face-uri",
635
+ "missing-glyph"
636
+ ]), kn = function(e) {
637
+ return !On[fe(e)] && _(mt, e);
638
+ }, An = function(e, t, n, r) {
639
+ if (b && typeof d == "object" && typeof d.getAttributeType == "function" && !n) switch (d.getAttributeType(e, t)) {
640
+ case "TrustedHTML": return O(r);
641
+ case "TrustedScriptURL": return ot(r);
642
+ }
643
+ return r;
644
+ }, jn = function(e, n, r, i) {
645
+ try {
646
+ r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), yn(e) ? X(e) : ce(t.removed);
647
+ } catch {
648
+ Z(n, e);
649
+ }
650
+ }, Mn = function(e) {
651
+ $(M.beforeSanitizeAttributes, e, null);
652
+ let t = e.attributes;
653
+ if (!t || yn(e)) return;
654
+ B = wn(M.uponSanitizeAttribute, B, V, Et);
655
+ let n = {
656
+ attrName: "",
657
+ attrValue: "",
658
+ keepAttr: !0,
659
+ allowedAttributes: B,
660
+ forceKeepAttr: void 0
661
+ }, r = t.length, i = Y(e.nodeName);
662
+ for (; r--;) {
663
+ let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = Y(o), u = c, d = o === "value" ? u : _e(u);
664
+ if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(M.uponSanitizeAttribute, e, n), d = n.attrValue, Mt && (l === "id" || l === "name") && ge(d, Nt) !== 0 && (Z(o, e, a), d = Nt + d), St && _(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
665
+ Z(o, e, a);
666
+ continue;
667
+ }
668
+ if (l === "attributename" && me(d, "href")) {
669
+ Z(o, e, a);
670
+ continue;
671
+ }
672
+ if (!n.forceKeepAttr) {
673
+ if (!n.keepAttr) {
674
+ Z(o, e, a);
675
+ continue;
676
+ }
677
+ if (!xt && _(Xe, d)) {
678
+ Z(o, e, a);
679
+ continue;
680
+ }
681
+ if (U && (d = _n(d)), !Dn(i, l, d)) {
682
+ Z(o, e, a);
683
+ continue;
684
+ }
685
+ d = An(i, l, s, d), d !== u && jn(e, o, s, d);
686
+ }
687
+ }
688
+ $(M.afterSanitizeAttributes, e, null);
689
+ }, Nn = function(e) {
690
+ let t = null, n = gn(e);
691
+ for ($(M.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(M.uponSanitizeShadowNode, t, null), En(t, e), Mn(t), bn(t.content) && Nn(t.content), v(t) === C.element) {
692
+ let e = ve(t);
693
+ bn(e) && (Pn(e), Nn(e));
694
+ }
695
+ $(M.afterSanitizeShadowDOM, e, null);
696
+ }, Pn = function(e) {
697
+ let t = [{
698
+ node: e,
699
+ shadow: null
700
+ }];
701
+ for (; t.length > 0;) {
702
+ let e = t.pop();
703
+ if (e.shadow) {
704
+ Nn(e.shadow);
705
+ continue;
706
+ }
707
+ let n = e.node, r = v(n) === C.element, i = ie(n);
708
+ if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
709
+ node: i[e],
710
+ shadow: null
711
+ });
712
+ if (r) {
713
+ let e = be ? be(n) : null;
714
+ if (typeof e == "string" && Y(e) === "template") {
715
+ let e = n.content;
716
+ bn(e) && t.push({
717
+ node: e,
718
+ shadow: null
719
+ });
720
+ }
721
+ }
722
+ if (r) {
723
+ let e = ve(n);
724
+ bn(e) && t.push({
725
+ node: null,
726
+ shadow: e
727
+ }, {
728
+ node: e,
729
+ shadow: null
730
+ });
731
+ }
732
+ }
733
+ };
734
+ return t.sanitize = function(e) {
735
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
736
+ if (J = !e, J && (e = "<!-->"), typeof e != "string" && !Q(e) && (e = we(e), typeof e != "string")) throw Se("dirty is not a string, aborting");
737
+ if (!t.isSupported) return e;
738
+ wt ? (R = Tt, B = Et) : tn(n), (M.uponSanitizeElement.length > 0 || M.uponSanitizeAttribute.length > 0) && (R = x(R)), M.uponSanitizeAttribute.length > 0 && (B = x(B)), t.removed = [];
739
+ let c = W && typeof e != "string" && Q(e);
740
+ if (c) {
741
+ mn(e);
742
+ let t = Ce(e);
743
+ if (typeof t == "string") {
744
+ let n = Y(t);
745
+ if (!R[n] || ht[n]) throw un(e), Se("root node is forbidden and cannot be sanitized in-place");
746
+ }
747
+ if (yn(e)) throw un(e), Se("root node is clobbered and cannot be sanitized in-place");
748
+ try {
749
+ Pn(e);
750
+ } catch (t) {
751
+ throw un(e), t;
752
+ }
753
+ } else if (Q(e)) i = hn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === C.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Pn(a);
754
+ else {
755
+ if (!Ot && !U && !Ct && e.indexOf("<") === -1) return b && At ? O(e) : e;
756
+ if (i = hn(e), !i) return Ot ? null : At ? w : "";
757
+ }
758
+ i && Dt && X(i.firstChild);
759
+ let l = c ? e : i;
760
+ try {
761
+ let e = gn(l);
762
+ for (; o = e.nextNode();) En(o, l), Mn(o), bn(o.content) && Nn(o.content);
763
+ } catch (n) {
764
+ throw c && (un(e), oe(t.removed, (e) => {
765
+ e.element && fn(e.element);
766
+ })), n;
767
+ }
768
+ if (c) return oe(t.removed, (e) => {
769
+ e.element && fn(e.element);
770
+ }), U && vn(e), e;
771
+ if (Ot) {
772
+ if (U && vn(i), kt) for (s = lt.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
773
+ else s = i;
774
+ return (B.shadowroot || B.shadowrootmode) && (s = ut.call(r, s, !0)), s;
775
+ }
776
+ let u = Ct ? i.outerHTML : i.innerHTML;
777
+ return Ct && R["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && _(Ge, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), U && (u = _n(u)), b && At ? O(u) : u;
778
+ }, t.setConfig = function() {
779
+ tn(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), wt = !0, Tt = R, Et = B;
780
+ }, t.clearConfig = function() {
781
+ Qt = null, wt = !1, Tt = null, Et = null, b = T, w = "";
782
+ }, t.isValidAttribute = function(e, t, n) {
783
+ return Qt || tn({}), Dn(Y(e), Y(t), n);
784
+ }, t.addHook = function(e, t) {
785
+ typeof t == "function" && g(M, e) && le(M[e], t);
786
+ }, t.removeHook = function(e, t) {
787
+ if (g(M, e)) {
788
+ if (t !== void 0) {
789
+ let n = se(M[e], t);
790
+ return n === -1 ? void 0 : ue(M[e], n, 1)[0];
791
+ }
792
+ return ce(M[e]);
793
+ }
794
+ }, t.removeHooks = function(e) {
795
+ g(M, e) && (M[e] = []);
796
+ }, t.removeAllHooks = function() {
797
+ M = tt();
798
+ }, t;
799
+ }
800
+ var T = it(), at = {
5
801
  min: {
6
802
  r: 0,
7
803
  g: 0,
@@ -36,11 +832,11 @@ var a = {
36
832
  hsl2rgb: ({ h: e, s: t, l: n }, r) => {
37
833
  if (!t) return n * 2.55;
38
834
  e /= 360, t /= 100, n /= 100;
39
- let i = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - i;
835
+ let i = n < .5 ? n * (1 + t) : n + t - n * t, a = 2 * n - i;
40
836
  switch (r) {
41
- case "r": return a.hue2rgb(o, i, e + 1 / 3) * 255;
42
- case "g": return a.hue2rgb(o, i, e) * 255;
43
- case "b": return a.hue2rgb(o, i, e - 1 / 3) * 255;
837
+ case "r": return at.hue2rgb(a, i, e + 1 / 3) * 255;
838
+ case "g": return at.hue2rgb(a, i, e) * 255;
839
+ case "b": return at.hue2rgb(a, i, e - 1 / 3) * 255;
44
840
  }
45
841
  },
46
842
  rgb2hsl: ({ r: e, g: t, b: n }, r) => {
@@ -57,8 +853,8 @@ var a = {
57
853
  default: return -1;
58
854
  }
59
855
  }
60
- }, o = {
61
- channel: a,
856
+ }, E = {
857
+ channel: at,
62
858
  lang: {
63
859
  clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
64
860
  round: (e) => Math.round(e * 1e10) / 1e10
@@ -67,15 +863,15 @@ var a = {
67
863
  let t = Math.round(e).toString(16);
68
864
  return t.length > 1 ? t : `0${t}`;
69
865
  } }
70
- }, s = {};
71
- for (let e = 0; e <= 255; e++) s[e] = o.unit.dec2hex(e);
72
- var c = {
866
+ }, D = {};
867
+ for (let e = 0; e <= 255; e++) D[e] = E.unit.dec2hex(e);
868
+ var O = {
73
869
  ALL: 0,
74
870
  RGB: 1,
75
871
  HSL: 2
76
- }, l = class {
872
+ }, ot = class {
77
873
  constructor() {
78
- this.type = c.ALL;
874
+ this.type = O.ALL;
79
875
  }
80
876
  get() {
81
877
  return this.type;
@@ -85,70 +881,70 @@ var c = {
85
881
  this.type = e;
86
882
  }
87
883
  reset() {
88
- this.type = c.ALL;
884
+ this.type = O.ALL;
89
885
  }
90
886
  is(e) {
91
887
  return this.type === e;
92
888
  }
93
- }, u = new class {
889
+ }, st = new class {
94
890
  constructor(e, t) {
95
- this.color = t, this.changed = !1, this.data = e, this.type = new l();
891
+ this.color = t, this.changed = !1, this.data = e, this.type = new ot();
96
892
  }
97
893
  set(e, t) {
98
- return this.color = t, this.changed = !1, this.data = e, this.type.type = c.ALL, this;
894
+ return this.color = t, this.changed = !1, this.data = e, this.type.type = O.ALL, this;
99
895
  }
100
896
  _ensureHSL() {
101
897
  let e = this.data, { h: t, s: n, l: r } = e;
102
- t === void 0 && (e.h = o.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = o.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = o.channel.rgb2hsl(e, "l"));
898
+ t === void 0 && (e.h = E.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = E.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = E.channel.rgb2hsl(e, "l"));
103
899
  }
104
900
  _ensureRGB() {
105
901
  let e = this.data, { r: t, g: n, b: r } = e;
106
- t === void 0 && (e.r = o.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = o.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = o.channel.hsl2rgb(e, "b"));
902
+ t === void 0 && (e.r = E.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = E.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = E.channel.hsl2rgb(e, "b"));
107
903
  }
108
904
  get r() {
109
905
  let e = this.data, t = e.r;
110
- return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "r"));
906
+ return !this.type.is(O.HSL) && t !== void 0 ? t : (this._ensureHSL(), E.channel.hsl2rgb(e, "r"));
111
907
  }
112
908
  get g() {
113
909
  let e = this.data, t = e.g;
114
- return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "g"));
910
+ return !this.type.is(O.HSL) && t !== void 0 ? t : (this._ensureHSL(), E.channel.hsl2rgb(e, "g"));
115
911
  }
116
912
  get b() {
117
913
  let e = this.data, t = e.b;
118
- return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "b"));
914
+ return !this.type.is(O.HSL) && t !== void 0 ? t : (this._ensureHSL(), E.channel.hsl2rgb(e, "b"));
119
915
  }
120
916
  get h() {
121
917
  let e = this.data, t = e.h;
122
- return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "h"));
918
+ return !this.type.is(O.RGB) && t !== void 0 ? t : (this._ensureRGB(), E.channel.rgb2hsl(e, "h"));
123
919
  }
124
920
  get s() {
125
921
  let e = this.data, t = e.s;
126
- return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "s"));
922
+ return !this.type.is(O.RGB) && t !== void 0 ? t : (this._ensureRGB(), E.channel.rgb2hsl(e, "s"));
127
923
  }
128
924
  get l() {
129
925
  let e = this.data, t = e.l;
130
- return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "l"));
926
+ return !this.type.is(O.RGB) && t !== void 0 ? t : (this._ensureRGB(), E.channel.rgb2hsl(e, "l"));
131
927
  }
132
928
  get a() {
133
929
  return this.data.a;
134
930
  }
135
931
  set r(e) {
136
- this.type.set(c.RGB), this.changed = !0, this.data.r = e;
932
+ this.type.set(O.RGB), this.changed = !0, this.data.r = e;
137
933
  }
138
934
  set g(e) {
139
- this.type.set(c.RGB), this.changed = !0, this.data.g = e;
935
+ this.type.set(O.RGB), this.changed = !0, this.data.g = e;
140
936
  }
141
937
  set b(e) {
142
- this.type.set(c.RGB), this.changed = !0, this.data.b = e;
938
+ this.type.set(O.RGB), this.changed = !0, this.data.b = e;
143
939
  }
144
940
  set h(e) {
145
- this.type.set(c.HSL), this.changed = !0, this.data.h = e;
941
+ this.type.set(O.HSL), this.changed = !0, this.data.h = e;
146
942
  }
147
943
  set s(e) {
148
- this.type.set(c.HSL), this.changed = !0, this.data.s = e;
944
+ this.type.set(O.HSL), this.changed = !0, this.data.s = e;
149
945
  }
150
946
  set l(e) {
151
- this.type.set(c.HSL), this.changed = !0, this.data.l = e;
947
+ this.type.set(O.HSL), this.changed = !0, this.data.l = e;
152
948
  }
153
949
  set a(e) {
154
950
  this.changed = !0, this.data.a = e;
@@ -158,57 +954,57 @@ var c = {
158
954
  g: 0,
159
955
  b: 0,
160
956
  a: 0
161
- }, "transparent"), d = {
957
+ }, "transparent"), k = {
162
958
  re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
163
959
  parse: (e) => {
164
960
  if (e.charCodeAt(0) !== 35) return;
165
- let t = e.match(d.re);
961
+ let t = e.match(k.re);
166
962
  if (!t) return;
167
- 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, f = o ? 255 : 15;
168
- return u.set({
169
- r: (r >> c * (l + 3) & f) * s,
170
- g: (r >> c * (l + 2) & f) * s,
171
- b: (r >> c * (l + 1) & f) * s,
172
- a: a ? (r & f) * s / 255 : 1
963
+ 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;
964
+ return st.set({
965
+ r: (r >> c * (l + 3) & u) * s,
966
+ g: (r >> c * (l + 2) & u) * s,
967
+ b: (r >> c * (l + 1) & u) * s,
968
+ a: a ? (r & u) * s / 255 : 1
173
969
  }, e);
174
970
  },
175
971
  stringify: (e) => {
176
972
  let { r: t, g: n, b: r, a: i } = e;
177
- 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)]}`;
973
+ return i < 1 ? `#${D[Math.round(t)]}${D[Math.round(n)]}${D[Math.round(r)]}${D[Math.round(i * 255)]}` : `#${D[Math.round(t)]}${D[Math.round(n)]}${D[Math.round(r)]}`;
178
974
  }
179
- }, f = {
975
+ }, A = {
180
976
  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,
181
977
  hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
182
978
  _hue2deg: (e) => {
183
- let t = e.match(f.hueRe);
979
+ let t = e.match(A.hueRe);
184
980
  if (t) {
185
981
  let [, e, n] = t;
186
982
  switch (n) {
187
- case "grad": return o.channel.clamp.h(parseFloat(e) * .9);
188
- case "rad": return o.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
189
- case "turn": return o.channel.clamp.h(parseFloat(e) * 360);
983
+ case "grad": return E.channel.clamp.h(parseFloat(e) * .9);
984
+ case "rad": return E.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
985
+ case "turn": return E.channel.clamp.h(parseFloat(e) * 360);
190
986
  }
191
987
  }
192
- return o.channel.clamp.h(parseFloat(e));
988
+ return E.channel.clamp.h(parseFloat(e));
193
989
  },
194
990
  parse: (e) => {
195
991
  let t = e.charCodeAt(0);
196
992
  if (t !== 104 && t !== 72) return;
197
- let n = e.match(f.re);
993
+ let n = e.match(A.re);
198
994
  if (!n) return;
199
- let [, r, i, a, s, c] = n;
200
- return u.set({
201
- h: f._hue2deg(r),
202
- s: o.channel.clamp.s(parseFloat(i)),
203
- l: o.channel.clamp.l(parseFloat(a)),
204
- a: s ? o.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
995
+ let [, r, i, a, o, s] = n;
996
+ return st.set({
997
+ h: A._hue2deg(r),
998
+ s: E.channel.clamp.s(parseFloat(i)),
999
+ l: E.channel.clamp.l(parseFloat(a)),
1000
+ a: o ? E.channel.clamp.a(s ? parseFloat(o) / 100 : parseFloat(o)) : 1
205
1001
  }, e);
206
1002
  },
207
1003
  stringify: (e) => {
208
1004
  let { h: t, s: n, l: r, a: i } = e;
209
- return i < 1 ? `hsla(${o.lang.round(t)}, ${o.lang.round(n)}%, ${o.lang.round(r)}%, ${i})` : `hsl(${o.lang.round(t)}, ${o.lang.round(n)}%, ${o.lang.round(r)}%)`;
1005
+ return i < 1 ? `hsla(${E.lang.round(t)}, ${E.lang.round(n)}%, ${E.lang.round(r)}%, ${i})` : `hsl(${E.lang.round(t)}, ${E.lang.round(n)}%, ${E.lang.round(r)}%)`;
210
1006
  }
211
- }, p = {
1007
+ }, ct = {
212
1008
  colors: {
213
1009
  aliceblue: "#f0f8ff",
214
1010
  antiquewhite: "#faebd7",
@@ -360,178 +1156,190 @@ var c = {
360
1156
  },
361
1157
  parse: (e) => {
362
1158
  e = e.toLowerCase();
363
- let t = p.colors[e];
364
- if (t) return d.parse(t);
1159
+ let t = ct.colors[e];
1160
+ if (t) return k.parse(t);
365
1161
  },
366
1162
  stringify: (e) => {
367
- let t = d.stringify(e);
368
- for (let e in p.colors) if (p.colors[e] === t) return e;
1163
+ let t = k.stringify(e);
1164
+ for (let e in ct.colors) if (ct.colors[e] === t) return e;
369
1165
  }
370
- }, m = {
1166
+ }, lt = {
371
1167
  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,
372
1168
  parse: (e) => {
373
1169
  let t = e.charCodeAt(0);
374
1170
  if (t !== 114 && t !== 82) return;
375
- let n = e.match(m.re);
1171
+ let n = e.match(lt.re);
376
1172
  if (!n) return;
377
- let [, r, i, a, s, c, l, d, f] = n;
378
- return u.set({
379
- r: o.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
380
- g: o.channel.clamp.g(s ? parseFloat(a) * 2.55 : parseFloat(a)),
381
- b: o.channel.clamp.b(l ? parseFloat(c) * 2.55 : parseFloat(c)),
382
- a: d ? o.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
1173
+ let [, r, i, a, o, s, c, l, u] = n;
1174
+ return st.set({
1175
+ r: E.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
1176
+ g: E.channel.clamp.g(o ? parseFloat(a) * 2.55 : parseFloat(a)),
1177
+ b: E.channel.clamp.b(c ? parseFloat(s) * 2.55 : parseFloat(s)),
1178
+ a: l ? E.channel.clamp.a(u ? parseFloat(l) / 100 : parseFloat(l)) : 1
383
1179
  }, e);
384
1180
  },
385
1181
  stringify: (e) => {
386
1182
  let { r: t, g: n, b: r, a: i } = e;
387
- return i < 1 ? `rgba(${o.lang.round(t)}, ${o.lang.round(n)}, ${o.lang.round(r)}, ${o.lang.round(i)})` : `rgb(${o.lang.round(t)}, ${o.lang.round(n)}, ${o.lang.round(r)})`;
1183
+ return i < 1 ? `rgba(${E.lang.round(t)}, ${E.lang.round(n)}, ${E.lang.round(r)}, ${E.lang.round(i)})` : `rgb(${E.lang.round(t)}, ${E.lang.round(n)}, ${E.lang.round(r)})`;
388
1184
  }
389
- }, h = {
1185
+ }, j = {
390
1186
  format: {
391
- keyword: p,
392
- hex: d,
393
- rgb: m,
394
- rgba: m,
395
- hsl: f,
396
- hsla: f
1187
+ keyword: ct,
1188
+ hex: k,
1189
+ rgb: lt,
1190
+ rgba: lt,
1191
+ hsl: A,
1192
+ hsla: A
397
1193
  },
398
1194
  parse: (e) => {
399
1195
  if (typeof e != "string") return e;
400
- let t = d.parse(e) || m.parse(e) || f.parse(e) || p.parse(e);
1196
+ let t = k.parse(e) || lt.parse(e) || A.parse(e) || ct.parse(e);
401
1197
  if (t) return t;
402
1198
  throw Error(`Unsupported color format: "${e}"`);
403
1199
  },
404
- stringify: (e) => !e.changed && e.color ? e.color : e.type.is(c.HSL) || e.data.r === void 0 ? f.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? m.stringify(e) : d.stringify(e)
405
- }, g = (e, t) => {
406
- let n = h.parse(e);
407
- for (let e in t) n[e] = o.channel.clamp[e](t[e]);
408
- return h.stringify(n);
409
- }, _ = (e, t, n = 0, r = 1) => {
410
- if (typeof e != "number") return g(e, { a: t });
411
- let i = u.set({
412
- r: o.channel.clamp.r(e),
413
- g: o.channel.clamp.g(t),
414
- b: o.channel.clamp.b(n),
415
- a: o.channel.clamp.a(r)
1200
+ stringify: (e) => !e.changed && e.color ? e.color : e.type.is(O.HSL) || e.data.r === void 0 ? A.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? lt.stringify(e) : k.stringify(e)
1201
+ }, ut = (e, t) => {
1202
+ let n = j.parse(e);
1203
+ for (let e in t) n[e] = E.channel.clamp[e](t[e]);
1204
+ return j.stringify(n);
1205
+ }, M = (e, t, n = 0, r = 1) => {
1206
+ if (typeof e != "number") return ut(e, { a: t });
1207
+ let i = st.set({
1208
+ r: E.channel.clamp.r(e),
1209
+ g: E.channel.clamp.g(t),
1210
+ b: E.channel.clamp.b(n),
1211
+ a: E.channel.clamp.a(r)
416
1212
  });
417
- return h.stringify(i);
418
- }, ee = (e) => {
419
- let { r: t, g: n, b: r } = h.parse(e), i = .2126 * o.channel.toLinear(t) + .7152 * o.channel.toLinear(n) + .0722 * o.channel.toLinear(r);
420
- return o.lang.round(i);
421
- }, te = (e) => ee(e) >= .5, v = (e) => !te(e), y = (e, t, n) => {
422
- let r = h.parse(e), i = r[t], a = o.channel.clamp[t](i + n);
423
- return i !== a && (r[t] = a), h.stringify(r);
424
- }, b = (e, t) => y(e, "l", t), x = (e, t) => y(e, "l", -t), S = (e, t) => {
425
- let n = h.parse(e), r = {};
1213
+ return j.stringify(i);
1214
+ }, dt = (e) => {
1215
+ let { r: t, g: n, b: r } = j.parse(e), i = .2126 * E.channel.toLinear(t) + .7152 * E.channel.toLinear(n) + .0722 * E.channel.toLinear(r);
1216
+ return E.lang.round(i);
1217
+ }, ft = (e) => dt(e) >= .5, N = (e) => !ft(e), pt = (e, t, n) => {
1218
+ let r = j.parse(e), i = r[t], a = E.channel.clamp[t](i + n);
1219
+ return i !== a && (r[t] = a), j.stringify(r);
1220
+ }, P = (e, t) => pt(e, "l", t), F = (e, t) => pt(e, "l", -t), I = (e, t) => {
1221
+ let n = j.parse(e), r = {};
426
1222
  for (let e in t) t[e] && (r[e] = n[e] + t[e]);
427
- return g(e, r);
428
- }, ne = (e, t, n = 50) => {
429
- let { r, g: i, b: a, a: o } = h.parse(e), { r: s, g: c, b: l, a: u } = h.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, m = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, g = 1 - m;
430
- return _(r * m + s * g, i * m + c * g, a * m + l * g, o * d + u * (1 - d));
431
- }, C = (e, t = 100) => {
432
- let n = h.parse(e);
433
- return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, ne(n, e, t);
434
- }, re = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ie = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ae = /\s*%%.*\n/gm, oe = class extends Error {
435
- static {
436
- r(this, "UnknownDiagramError");
437
- }
438
- constructor(e) {
439
- super(e), this.name = "UnknownDiagramError";
440
- }
441
- }, w = {}, se = /* @__PURE__ */ r(function(e, t) {
442
- e = e.replace(re, "").replace(ie, "").replace(ae, "\n");
443
- for (let [n, { detector: r }] of Object.entries(w)) if (r(e, t)) return n;
444
- throw new oe(`No diagram type detected matching given configuration for text: ${e}`);
445
- }, "detectType"), ce = /* @__PURE__ */ r((...e) => {
446
- for (let { id: t, detector: n, loader: r } of e) le(t, n, r);
447
- }, "registerLazyLoadedDiagrams"), le = /* @__PURE__ */ r((e, t, r) => {
448
- w[e] && n.warn(`Detector with key ${e} already exists. Overwriting.`), w[e] = {
449
- detector: t,
450
- loader: r
451
- }, n.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
452
- }, "addDetector"), ue = /* @__PURE__ */ r((e) => w[e].loader, "getDiagramLoader"), T = /* @__PURE__ */ r((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
453
- let i = {
454
- depth: n,
455
- clobber: r
456
- };
457
- return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => T(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
1223
+ return ut(e, r);
1224
+ }, mt = (e, t, n = 50) => {
1225
+ let { r, g: i, b: a, a: o } = j.parse(e), { r: s, g: c, b: l, a: u } = j.parse(t), d = n / 100, f = d * 2 - 1, ee = o - u, te = ((f * ee === -1 ? f : (f + ee) / (1 + f * ee)) + 1) / 2, p = 1 - te;
1226
+ return M(r * te + s * p, i * te + c * p, a * te + l * p, o * d + u * (1 - d));
1227
+ }, L = (e, t = 100) => {
1228
+ let n = j.parse(e);
1229
+ return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, mt(n, e, t);
1230
+ }, R = /* @__PURE__ */ n((e, t, { depth: n = 2 } = {}) => {
1231
+ let r = { depth: n };
1232
+ if (Array.isArray(t) && !Array.isArray(e)) return t.forEach((t) => R(e, t, r)), e;
1233
+ if (Array.isArray(t) && Array.isArray(e)) return t.forEach((t) => {
458
1234
  e.includes(t) || e.push(t);
459
- }), 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) => {
460
- 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] = T(e[i], t[i], {
461
- depth: n - 1,
462
- clobber: r
463
- })) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
464
- }), e);
465
- }, "assignWithDepth"), E = T, D = "#ffffff", O = "#f2f2f2", k = /* @__PURE__ */ r((e, t) => t ? S(e, {
1235
+ }), e;
1236
+ if (e == null || n <= 0) return typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t;
1237
+ if (t != null && typeof e == "object" && typeof t == "object") {
1238
+ let r = e;
1239
+ Object.entries(t).forEach(([t, i]) => {
1240
+ if (typeof i == "object") {
1241
+ if (i === null) return;
1242
+ Object.hasOwn(e, t) || Object.defineProperty(e, t, {
1243
+ value: void 0,
1244
+ writable: !0,
1245
+ enumerable: !0,
1246
+ configurable: !0
1247
+ }), r[t] === void 0 && (r[t] = Array.isArray(i) ? [] : {}), typeof r[t] == "object" && (r[t] = R(r[t], i, { depth: n - 1 }));
1248
+ } else typeof r[t] != "object" && (Object.hasOwn(e, t) ? r[t] = i : Object.defineProperty(e, t, {
1249
+ value: i,
1250
+ writable: !0,
1251
+ enumerable: !0,
1252
+ configurable: !0
1253
+ }));
1254
+ });
1255
+ }
1256
+ return e;
1257
+ }, "assignWithDepth"), z = R, B = "#ffffff", V = "#f2f2f2", H = /* @__PURE__ */ n((e, t) => t ? I(e, {
466
1258
  s: -40,
467
1259
  l: 10
468
- }) : S(e, {
1260
+ }) : I(e, {
469
1261
  s: -40,
470
1262
  l: -10
471
- }), "mkBorder"), de = class {
1263
+ }), "mkBorder"), ht = class {
472
1264
  static {
473
- r(this, "Theme");
1265
+ n(this, "Theme");
474
1266
  }
475
1267
  constructor() {
476
1268
  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))";
477
1269
  }
478
1270
  updateColors() {
479
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
1271
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
480
1272
  h: 180,
481
1273
  l: 5
482
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(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 || b(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 || x(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || x(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || b(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || b(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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, {
1274
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, 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 || P(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 || F(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || F(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || P(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || P(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, {
483
1275
  h: 210,
484
1276
  l: 150
485
- }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 75);
486
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 25);
487
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
488
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
1277
+ }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
1278
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
1279
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1280
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
489
1281
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
490
1282
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
491
1283
  let e = this.darkMode ? -4 : -1;
492
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || S(this.mainBkg, {
1284
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
493
1285
  h: 180,
494
1286
  s: -15,
495
1287
  l: e * (5 + t * 3)
496
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || S(this.mainBkg, {
1288
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
497
1289
  h: 180,
498
1290
  s: -15,
499
1291
  l: e * (8 + t * 3)
500
1292
  });
501
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || S(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || S(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || S(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || S(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || S(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || S(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 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || S(this.primaryColor, {
1293
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
502
1294
  h: 60,
503
1295
  l: -10
504
- }), this.pie8 = this.pie8 || S(this.primaryColor, {
1296
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
505
1297
  h: -60,
506
1298
  l: -10
507
- }), this.pie9 = this.pie9 || S(this.primaryColor, {
1299
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
508
1300
  h: 120,
509
1301
  l: 0
510
- }), this.pie10 = this.pie10 || S(this.primaryColor, {
1302
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
511
1303
  h: 60,
512
1304
  l: -20
513
- }), this.pie11 = this.pie11 || S(this.primaryColor, {
1305
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
514
1306
  h: -60,
515
1307
  l: -20
516
- }), this.pie12 = this.pie12 || S(this.primaryColor, {
1308
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
517
1309
  h: 120,
518
1310
  l: -10
519
- }), 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 ?? S(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? S(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? S(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? S(this.primaryColor, {
1311
+ }), 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 ?? I(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? I(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? I(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? I(this.primaryColor, {
520
1312
  h: 60,
521
1313
  l: -30
522
- }), this.venn5 = this.venn5 ?? S(this.primaryColor, {
1314
+ }), this.venn5 = this.venn5 ?? I(this.primaryColor, {
523
1315
  h: -60,
524
1316
  l: -30
525
- }), this.venn6 = this.venn6 ?? S(this.secondaryColor, {
1317
+ }), this.venn6 = this.venn6 ?? I(this.secondaryColor, {
526
1318
  h: 60,
527
1319
  l: -30
528
- }), this.venn7 = this.venn7 ?? S(this.primaryColor, {
1320
+ }), this.venn7 = this.venn7 ?? I(this.primaryColor, {
529
1321
  h: 120,
530
1322
  l: -30
531
- }), this.venn8 = this.venn8 ?? S(this.secondaryColor, {
1323
+ }), this.venn8 = this.venn8 ?? I(this.secondaryColor, {
532
1324
  h: 120,
533
1325
  l: -30
534
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
1326
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1327
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1328
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1329
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1330
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1331
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1332
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1333
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1334
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1335
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1336
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1337
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1338
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1339
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1340
+ textColor: this.cynefin?.textColor || this.textColor,
1341
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1342
+ }, this.radar = {
535
1343
  axisColor: this.radar?.axisColor || this.lineColor,
536
1344
  axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
537
1345
  axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
@@ -555,34 +1363,35 @@ var c = {
555
1363
  annotationStroke: this.wardley?.annotationStroke || this.lineColor,
556
1364
  annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
557
1365
  annotationFill: this.wardley?.annotationFill || this.background
558
- }, 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 || S(this.primaryColor, {
1366
+ }, 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 || I(this.primaryColor, {
559
1367
  r: 5,
560
1368
  g: 5,
561
1369
  b: 5
562
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
1370
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
563
1371
  r: 10,
564
1372
  g: 10,
565
1373
  b: 10
566
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
1374
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
567
1375
  r: 15,
568
1376
  g: 15,
569
1377
  b: 15
570
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
1378
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
571
1379
  r: -5,
572
1380
  g: -5,
573
1381
  b: -5
574
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
1382
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
575
1383
  r: -10,
576
1384
  g: -10,
577
1385
  b: -10
578
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
1386
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
579
1387
  r: -15,
580
1388
  g: -15,
581
1389
  b: -15
582
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
1390
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
583
1391
  backgroundColor: this.xyChart?.backgroundColor || this.background,
584
1392
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
585
1393
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1394
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
586
1395
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
587
1396
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
588
1397
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -592,7 +1401,7 @@ var c = {
592
1401
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
593
1402
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
594
1403
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
595
- }, 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 ? x(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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
1404
+ }, 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 ? F(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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
596
1405
  }
597
1406
  calculate(e) {
598
1407
  if (typeof e != "object") {
@@ -606,25 +1415,25 @@ var c = {
606
1415
  this[t] = e[t];
607
1416
  });
608
1417
  }
609
- }, fe = /* @__PURE__ */ r((e) => {
610
- let t = new de();
1418
+ }, gt = /* @__PURE__ */ n((e) => {
1419
+ let t = new ht();
611
1420
  return t.calculate(e), t;
612
- }, "getThemeVariables"), pe = class {
1421
+ }, "getThemeVariables"), _t = class {
613
1422
  static {
614
- r(this, "Theme");
1423
+ n(this, "Theme");
615
1424
  }
616
1425
  constructor() {
617
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = b(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = C(this.background), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.lineColor = C(this.background), this.textColor = C(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = b(C("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = _(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 = x("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = x(this.sectionBkgColor, 10), this.taskBorderColor = _(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = _(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 || b(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || x(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";
1426
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.lineColor = L(this.background), this.textColor = L(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = M(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 = F("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = F(this.sectionBkgColor, 10), this.taskBorderColor = M(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = M(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 || P(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || F(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";
618
1427
  }
619
1428
  updateColors() {
620
- this.secondBkg = b(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 = b(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 = b(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 = C(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 });
621
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
622
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
623
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
1429
+ this.secondBkg = P(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 = P(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.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.background, this.taskBkgColor = P(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 = L(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 });
1430
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1431
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1432
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
624
1433
  h: 30,
625
1434
  s: -30,
626
1435
  l: -(-10 + e * 4)
627
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
1436
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
628
1437
  h: 30,
629
1438
  s: -30,
630
1439
  l: -(-7 + e * 4)
@@ -633,35 +1442,52 @@ var c = {
633
1442
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
634
1443
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
635
1444
  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";
636
- for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? b(this["cScale" + e], 30);
637
- this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
1445
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? P(this["cScale" + e], 30);
1446
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1447
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1448
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1449
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1450
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1451
+ cliffColor: this.cynefin?.cliffColor || "#FF6B6B",
1452
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1453
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1454
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1455
+ complexBg: this.cynefin?.complexBg || "#1B5E20",
1456
+ complicatedBg: this.cynefin?.complicatedBg || "#0D47A1",
1457
+ chaoticBg: this.cynefin?.chaoticBg || "#BF360C",
1458
+ clearBg: this.cynefin?.clearBg || "#F57F17",
1459
+ confusionBg: this.cynefin?.confusionBg || "#4A148C",
1460
+ textColor: this.cynefin?.textColor || this.textColor,
1461
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1462
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
638
1463
  r: 5,
639
1464
  g: 5,
640
1465
  b: 5
641
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
1466
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
642
1467
  r: 10,
643
1468
  g: 10,
644
1469
  b: 10
645
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
1470
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
646
1471
  r: 15,
647
1472
  g: 15,
648
1473
  b: 15
649
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
1474
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
650
1475
  r: -5,
651
1476
  g: -5,
652
1477
  b: -5
653
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
1478
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
654
1479
  r: -10,
655
1480
  g: -10,
656
1481
  b: -10
657
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
1482
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
658
1483
  r: -15,
659
1484
  g: -15,
660
1485
  b: -15
661
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
1486
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
662
1487
  backgroundColor: this.xyChart?.backgroundColor || this.background,
663
1488
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
664
1489
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1490
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
665
1491
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
666
1492
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
667
1493
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -702,7 +1528,7 @@ var c = {
702
1528
  annotationStroke: this.wardley?.annotationStroke || this.lineColor,
703
1529
  annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
704
1530
  annotationFill: this.wardley?.annotationFill || this.mainBkg
705
- }, 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 ? x(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = b(this.secondaryColor, 20), this.git1 = b(this.pie2 || this.secondaryColor, 20), this.git2 = b(this.pie3 || this.tertiaryColor, 20), this.git3 = b(this.pie4 || S(this.primaryColor, { h: -30 }), 20), this.git4 = b(this.pie5 || S(this.primaryColor, { h: -60 }), 20), this.git5 = b(this.pie6 || S(this.primaryColor, { h: -90 }), 10), this.git6 = b(this.pie7 || S(this.primaryColor, { h: 60 }), 10), this.git7 = b(this.pie8 || S(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || C(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || C(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 || b("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || b("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || b("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || b("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || b(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || b(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || b(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || b(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1531
+ }, 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 ? F(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = P(this.secondaryColor, 20), this.git1 = P(this.pie2 || this.secondaryColor, 20), this.git2 = P(this.pie3 || this.tertiaryColor, 20), this.git3 = P(this.pie4 || I(this.primaryColor, { h: -30 }), 20), this.git4 = P(this.pie5 || I(this.primaryColor, { h: -60 }), 20), this.git5 = P(this.pie6 || I(this.primaryColor, { h: -90 }), 10), this.git6 = P(this.pie7 || I(this.primaryColor, { h: 60 }), 10), this.git7 = P(this.pie8 || I(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || L(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || L(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 || P("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || P("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || P("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || P("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || P(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || P(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || P(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || P(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
706
1532
  }
707
1533
  calculate(e) {
708
1534
  if (typeof e != "object") {
@@ -716,89 +1542,105 @@ var c = {
716
1542
  this[t] = e[t];
717
1543
  });
718
1544
  }
719
- }, me = /* @__PURE__ */ r((e) => {
720
- let t = new pe();
1545
+ }, vt = /* @__PURE__ */ n((e) => {
1546
+ let t = new _t();
721
1547
  return t.calculate(e), t;
722
- }, "getThemeVariables"), he = class {
1548
+ }, "getThemeVariables"), yt = class {
723
1549
  static {
724
- r(this, "Theme");
1550
+ n(this, "Theme");
725
1551
  }
726
1552
  constructor() {
727
- this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = S(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = k(this.primaryColor, this.darkMode), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.lineColor = C(this.background), this.textColor = C(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = k(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 = _(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();
1553
+ this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = I(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = I(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 = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.lineColor = L(this.background), this.textColor = L(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 = M(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();
728
1554
  }
729
1555
  updateColors() {
730
- this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || x(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || x(this.tertiaryColor, 40);
731
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 25);
732
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e], { h: 180 });
733
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
1556
+ this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || F(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || F(this.tertiaryColor, 40);
1557
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 25);
1558
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e], { h: 180 });
1559
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
734
1560
  h: 30,
735
1561
  l: -(5 + e * 5)
736
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
1562
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
737
1563
  h: 30,
738
1564
  l: -(7 + e * 5)
739
1565
  });
740
1566
  if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
741
- this.cScaleLabel0 = this.cScaleLabel0 || C(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || C(this.labelTextColor);
1567
+ this.cScaleLabel0 = this.cScaleLabel0 || L(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || L(this.labelTextColor);
742
1568
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
743
1569
  }
744
- 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 || b(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || b(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || S(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || S(this.primaryColor, {
1570
+ 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.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || P(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || P(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || I(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || I(this.primaryColor, {
745
1571
  h: 60,
746
1572
  l: -20
747
- }), this.pie8 = this.pie8 || S(this.primaryColor, {
1573
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
748
1574
  h: -60,
749
1575
  l: -40
750
- }), this.pie9 = this.pie9 || S(this.primaryColor, {
1576
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
751
1577
  h: 120,
752
1578
  l: -40
753
- }), this.pie10 = this.pie10 || S(this.primaryColor, {
1579
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
754
1580
  h: 60,
755
1581
  l: -40
756
- }), this.pie11 = this.pie11 || S(this.primaryColor, {
1582
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
757
1583
  h: -90,
758
1584
  l: -40
759
- }), this.pie12 = this.pie12 || S(this.primaryColor, {
1585
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
760
1586
  h: 120,
761
1587
  l: -30
762
- }), 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 ?? S(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? S(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? S(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? S(this.primaryColor, {
1588
+ }), 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 ?? I(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? I(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? I(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? I(this.primaryColor, {
763
1589
  h: 60,
764
1590
  l: -30
765
- }), this.venn5 = this.venn5 ?? S(this.primaryColor, {
1591
+ }), this.venn5 = this.venn5 ?? I(this.primaryColor, {
766
1592
  h: -60,
767
1593
  l: -30
768
- }), this.venn6 = this.venn6 ?? S(this.secondaryColor, {
1594
+ }), this.venn6 = this.venn6 ?? I(this.secondaryColor, {
769
1595
  h: 60,
770
1596
  l: -30
771
- }), this.venn7 = this.venn7 ?? S(this.primaryColor, {
1597
+ }), this.venn7 = this.venn7 ?? I(this.primaryColor, {
772
1598
  h: 120,
773
1599
  l: -30
774
- }), this.venn8 = this.venn8 ?? S(this.secondaryColor, {
1600
+ }), this.venn8 = this.venn8 ?? I(this.secondaryColor, {
775
1601
  h: 120,
776
1602
  l: -30
777
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
1603
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1604
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1605
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1606
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1607
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1608
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1609
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1610
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1611
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1612
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1613
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1614
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1615
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1616
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1617
+ textColor: this.cynefin?.textColor || this.textColor,
1618
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1619
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
778
1620
  r: 5,
779
1621
  g: 5,
780
1622
  b: 5
781
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
1623
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
782
1624
  r: 10,
783
1625
  g: 10,
784
1626
  b: 10
785
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
1627
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
786
1628
  r: 15,
787
1629
  g: 15,
788
1630
  b: 15
789
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
1631
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
790
1632
  r: -5,
791
1633
  g: -5,
792
1634
  b: -5
793
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
1635
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
794
1636
  r: -10,
795
1637
  g: -10,
796
1638
  b: -10
797
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
1639
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
798
1640
  r: -15,
799
1641
  g: -15,
800
1642
  b: -15
801
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
1643
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
802
1644
  axisColor: this.radar?.axisColor || this.lineColor,
803
1645
  axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
804
1646
  axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
@@ -826,6 +1668,7 @@ var c = {
826
1668
  backgroundColor: this.xyChart?.backgroundColor || this.background,
827
1669
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
828
1670
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1671
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
829
1672
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
830
1673
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
831
1674
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -835,7 +1678,7 @@ var c = {
835
1678
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
836
1679
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
837
1680
  plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
838
- }, 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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || x(C(this.git0), 25), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || C(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
1681
+ }, 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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(L(this.git0), 25), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || L(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
839
1682
  }
840
1683
  calculate(e) {
841
1684
  if (Object.keys(this).forEach((e) => {
@@ -851,92 +1694,108 @@ var c = {
851
1694
  this[t] = e[t];
852
1695
  });
853
1696
  }
854
- }, ge = /* @__PURE__ */ r((e) => {
855
- let t = new he();
1697
+ }, bt = /* @__PURE__ */ n((e) => {
1698
+ let t = new yt();
856
1699
  return t.calculate(e), t;
857
- }, "getThemeVariables"), _e = class {
1700
+ }, "getThemeVariables"), xt = class {
858
1701
  static {
859
- r(this, "Theme");
1702
+ n(this, "Theme");
860
1703
  }
861
1704
  constructor() {
862
- 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 = b("#cde498", 10), this.primaryBorderColor = k(this.primaryColor, this.darkMode), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.primaryColor), this.lineColor = C(this.background), this.textColor = C(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))";
1705
+ 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 = P("#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 = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.primaryColor), this.lineColor = L(this.background), this.textColor = L(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))";
863
1706
  }
864
1707
  updateColors() {
865
- this.actorBorder = x(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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || x(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || x(this.tertiaryColor, 40);
866
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 25);
867
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e], { h: 180 });
1708
+ this.actorBorder = F(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.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || F(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || F(this.tertiaryColor, 40);
1709
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 25);
1710
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e], { h: 180 });
868
1711
  this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
869
1712
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
870
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
1713
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
871
1714
  h: 30,
872
1715
  s: -30,
873
1716
  l: -(5 + e * 5)
874
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
1717
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
875
1718
  h: 30,
876
1719
  s: -30,
877
1720
  l: -(8 + e * 5)
878
1721
  });
879
- 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 || b(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || b(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(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 || S(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, {
1722
+ 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 || P(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || P(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(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 || I(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || I(this.tertiaryColor, {
880
1723
  h: 40,
881
1724
  l: -40
882
- }), this.pie7 = this.pie7 || S(this.primaryColor, {
1725
+ }), this.pie7 = this.pie7 || I(this.primaryColor, {
883
1726
  h: 60,
884
1727
  l: -10
885
- }), this.pie8 = this.pie8 || S(this.primaryColor, {
1728
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
886
1729
  h: -60,
887
1730
  l: -10
888
- }), this.pie9 = this.pie9 || S(this.primaryColor, {
1731
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
889
1732
  h: 120,
890
1733
  l: 0
891
- }), this.pie10 = this.pie10 || S(this.primaryColor, {
1734
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
892
1735
  h: 60,
893
1736
  l: -50
894
- }), this.pie11 = this.pie11 || S(this.primaryColor, {
1737
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
895
1738
  h: -60,
896
1739
  l: -50
897
- }), this.pie12 = this.pie12 || S(this.primaryColor, {
1740
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
898
1741
  h: 120,
899
1742
  l: -50
900
- }), 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 ?? S(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? S(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? S(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? S(this.primaryColor, {
1743
+ }), 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 ?? I(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? I(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? I(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? I(this.primaryColor, {
901
1744
  h: 60,
902
1745
  l: -30
903
- }), this.venn5 = this.venn5 ?? S(this.primaryColor, {
1746
+ }), this.venn5 = this.venn5 ?? I(this.primaryColor, {
904
1747
  h: -60,
905
1748
  l: -30
906
- }), this.venn6 = this.venn6 ?? S(this.secondaryColor, {
1749
+ }), this.venn6 = this.venn6 ?? I(this.secondaryColor, {
907
1750
  h: 60,
908
1751
  l: -30
909
- }), this.venn7 = this.venn7 ?? S(this.primaryColor, {
1752
+ }), this.venn7 = this.venn7 ?? I(this.primaryColor, {
910
1753
  h: 120,
911
1754
  l: -30
912
- }), this.venn8 = this.venn8 ?? S(this.secondaryColor, {
1755
+ }), this.venn8 = this.venn8 ?? I(this.secondaryColor, {
913
1756
  h: 120,
914
1757
  l: -30
915
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
1758
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1759
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1760
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1761
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1762
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1763
+ cliffColor: this.cynefin?.cliffColor || "#8B4513",
1764
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1765
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1766
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1767
+ complexBg: this.cynefin?.complexBg || "#C8E6C9",
1768
+ complicatedBg: this.cynefin?.complicatedBg || "#DCEDC8",
1769
+ chaoticBg: this.cynefin?.chaoticBg || "#FFE0B2",
1770
+ clearBg: this.cynefin?.clearBg || "#FFF9C4",
1771
+ confusionBg: this.cynefin?.confusionBg || "#D7CCC8",
1772
+ textColor: this.cynefin?.textColor || this.textColor,
1773
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1774
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
916
1775
  r: 5,
917
1776
  g: 5,
918
1777
  b: 5
919
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
1778
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
920
1779
  r: 10,
921
1780
  g: 10,
922
1781
  b: 10
923
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
1782
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
924
1783
  r: 15,
925
1784
  g: 15,
926
1785
  b: 15
927
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
1786
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
928
1787
  r: -5,
929
1788
  g: -5,
930
1789
  b: -5
931
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
1790
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
932
1791
  r: -10,
933
1792
  g: -10,
934
1793
  b: -10
935
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
1794
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
936
1795
  r: -15,
937
1796
  g: -15,
938
1797
  b: -15
939
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
1798
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
940
1799
  startByteColor: this.primaryTextColor,
941
1800
  endByteColor: this.primaryTextColor,
942
1801
  labelColor: this.primaryTextColor,
@@ -971,6 +1830,7 @@ var c = {
971
1830
  backgroundColor: this.xyChart?.backgroundColor || this.background,
972
1831
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
973
1832
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1833
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
974
1834
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
975
1835
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
976
1836
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -980,7 +1840,7 @@ var c = {
980
1840
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
981
1841
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
982
1842
  plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
983
- }, 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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || C(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
1843
+ }, 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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || L(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
984
1844
  }
985
1845
  calculate(e) {
986
1846
  if (typeof e != "object") {
@@ -994,55 +1854,72 @@ var c = {
994
1854
  this[t] = e[t];
995
1855
  });
996
1856
  }
997
- }, ve = /* @__PURE__ */ r((e) => {
998
- let t = new _e();
1857
+ }, U = /* @__PURE__ */ n((e) => {
1858
+ let t = new xt();
999
1859
  return t.calculate(e), t;
1000
- }, "getThemeVariables"), ye = class {
1860
+ }, "getThemeVariables"), St = class {
1001
1861
  static {
1002
- r(this, "Theme");
1862
+ n(this, "Theme");
1003
1863
  }
1004
1864
  constructor() {
1005
- this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = b(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = k(this.primaryColor, this.darkMode), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.lineColor = C(this.background), this.textColor = C(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 || b(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))";
1865
+ this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = P(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = I(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 = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.lineColor = L(this.background), this.textColor = L(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 || P(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))";
1006
1866
  }
1007
1867
  updateColors() {
1008
- this.secondBkg = b(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = b(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";
1009
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1010
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
1868
+ this.secondBkg = P(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = P(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, 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";
1869
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1870
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1011
1871
  this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1012
1872
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1013
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, { l: -(8 + e * 5) });
1014
- 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 = b(this.contrast, 30), this.sectionBkgColor2 = b(this.contrast, 30), this.taskBorderColor = x(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 = b(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = x(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 });
1873
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, { l: -(8 + e * 5) });
1874
+ 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 = P(this.contrast, 30), this.sectionBkgColor2 = P(this.contrast, 30), this.taskBorderColor = F(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 = P(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = F(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(this.secondaryColor, { h: 128 });
1015
1875
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1016
1876
  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";
1017
1877
  for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
1018
- this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
1878
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1879
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1880
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1881
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1882
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1883
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1884
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1885
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1886
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1887
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1888
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1889
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1890
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1891
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1892
+ textColor: this.cynefin?.textColor || this.textColor,
1893
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1894
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
1019
1895
  r: 5,
1020
1896
  g: 5,
1021
1897
  b: 5
1022
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
1898
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1023
1899
  r: 10,
1024
1900
  g: 10,
1025
1901
  b: 10
1026
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
1902
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1027
1903
  r: 15,
1028
1904
  g: 15,
1029
1905
  b: 15
1030
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
1906
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1031
1907
  r: -5,
1032
1908
  g: -5,
1033
1909
  b: -5
1034
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
1910
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1035
1911
  r: -10,
1036
1912
  g: -10,
1037
1913
  b: -10
1038
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
1914
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1039
1915
  r: -15,
1040
1916
  g: -15,
1041
1917
  b: -15
1042
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
1918
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1043
1919
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1044
1920
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1045
1921
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1922
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1046
1923
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1047
1924
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1048
1925
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1076,7 +1953,7 @@ var c = {
1076
1953
  annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1077
1954
  annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1078
1955
  annotationFill: this.wardley?.annotationFill || this.background
1079
- }, 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 = x(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || S(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || S(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || S(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || S(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || S(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
1956
+ }, 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 = F(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || I(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || I(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || I(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || I(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || I(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1080
1957
  }
1081
1958
  calculate(e) {
1082
1959
  if (typeof e != "object") {
@@ -1090,89 +1967,90 @@ var c = {
1090
1967
  this[t] = e[t];
1091
1968
  });
1092
1969
  }
1093
- }, be = /* @__PURE__ */ r((e) => {
1094
- let t = new ye();
1970
+ }, Ct = /* @__PURE__ */ n((e) => {
1971
+ let t = new St();
1095
1972
  return t.calculate(e), t;
1096
- }, "getThemeVariables"), xe = class {
1973
+ }, "getThemeVariables"), wt = class {
1097
1974
  static {
1098
- r(this, "Theme");
1975
+ n(this, "Theme");
1099
1976
  }
1100
1977
  constructor() {
1101
- 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 = k(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";
1978
+ 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";
1102
1979
  }
1103
1980
  updateColors() {
1104
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
1981
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1105
1982
  h: 180,
1106
1983
  l: 5
1107
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(this.lineColor);
1108
- let e = "#ECECFE", t = "#E9E9F1", n = S(e, {
1984
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
1985
+ let e = "#ECECFE", t = "#E9E9F1", n = I(e, {
1109
1986
  h: 180,
1110
1987
  l: 5
1111
1988
  });
1112
- 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 || b(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 || S(e, { h: 30 }), this.cScale4 = this.cScale4 || S(e, { h: 60 }), this.cScale5 = this.cScale5 || S(e, { h: 90 }), this.cScale6 = this.cScale6 || S(e, { h: 120 }), this.cScale7 = this.cScale7 || S(e, { h: 150 }), this.cScale8 = this.cScale8 || S(e, {
1989
+ 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 || P(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 || I(e, { h: 30 }), this.cScale4 = this.cScale4 || I(e, { h: 60 }), this.cScale5 = this.cScale5 || I(e, { h: 90 }), this.cScale6 = this.cScale6 || I(e, { h: 120 }), this.cScale7 = this.cScale7 || I(e, { h: 150 }), this.cScale8 = this.cScale8 || I(e, {
1113
1990
  h: 210,
1114
1991
  l: 150
1115
- }), this.cScale9 = this.cScale9 || S(e, { h: 270 }), this.cScale10 = this.cScale10 || S(e, { h: 300 }), this.cScale11 = this.cScale11 || S(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 75);
1116
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 25);
1117
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1118
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
1992
+ }), this.cScale9 = this.cScale9 || I(e, { h: 270 }), this.cScale10 = this.cScale10 || I(e, { h: 300 }), this.cScale11 = this.cScale11 || I(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
1993
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
1994
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1995
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1119
1996
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1120
1997
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1121
1998
  let r = this.darkMode ? -4 : -1;
1122
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
1999
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1123
2000
  h: 180,
1124
2001
  s: -15,
1125
2002
  l: r * (5 + e * 3)
1126
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
2003
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1127
2004
  h: 180,
1128
2005
  s: -15,
1129
2006
  l: r * (8 + e * 3)
1130
2007
  });
1131
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || S(e, { h: 64 }), this.fillType3 = this.fillType3 || S(t, { h: 64 }), this.fillType4 = this.fillType4 || S(e, { h: -64 }), this.fillType5 = this.fillType5 || S(t, { h: -64 }), this.fillType6 = this.fillType6 || S(e, { h: 128 }), this.fillType7 = this.fillType7 || S(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || S(e, { l: -10 }), this.pie5 = this.pie5 || S(t, { l: -10 }), this.pie6 = this.pie6 || S(n, { l: -10 }), this.pie7 = this.pie7 || S(e, {
2008
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || I(e, { h: 64 }), this.fillType3 = this.fillType3 || I(t, { h: 64 }), this.fillType4 = this.fillType4 || I(e, { h: -64 }), this.fillType5 = this.fillType5 || I(t, { h: -64 }), this.fillType6 = this.fillType6 || I(e, { h: 128 }), this.fillType7 = this.fillType7 || I(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || I(e, { l: -10 }), this.pie5 = this.pie5 || I(t, { l: -10 }), this.pie6 = this.pie6 || I(n, { l: -10 }), this.pie7 = this.pie7 || I(e, {
1132
2009
  h: 60,
1133
2010
  l: -10
1134
- }), this.pie8 = this.pie8 || S(e, {
2011
+ }), this.pie8 = this.pie8 || I(e, {
1135
2012
  h: -60,
1136
2013
  l: -10
1137
- }), this.pie9 = this.pie9 || S(e, {
2014
+ }), this.pie9 = this.pie9 || I(e, {
1138
2015
  h: 120,
1139
2016
  l: 0
1140
- }), this.pie10 = this.pie10 || S(e, {
2017
+ }), this.pie10 = this.pie10 || I(e, {
1141
2018
  h: 60,
1142
2019
  l: -20
1143
- }), this.pie11 = this.pie11 || S(e, {
2020
+ }), this.pie11 = this.pie11 || I(e, {
1144
2021
  h: -60,
1145
2022
  l: -20
1146
- }), this.pie12 = this.pie12 || S(e, {
2023
+ }), this.pie12 = this.pie12 || I(e, {
1147
2024
  h: 120,
1148
2025
  l: -10
1149
- }), 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 || S(e, {
2026
+ }), 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 || I(e, {
1150
2027
  r: 5,
1151
2028
  g: 5,
1152
2029
  b: 5
1153
- }), this.quadrant3Fill = this.quadrant3Fill || S(e, {
2030
+ }), this.quadrant3Fill = this.quadrant3Fill || I(e, {
1154
2031
  r: 10,
1155
2032
  g: 10,
1156
2033
  b: 10
1157
- }), this.quadrant4Fill = this.quadrant4Fill || S(e, {
2034
+ }), this.quadrant4Fill = this.quadrant4Fill || I(e, {
1158
2035
  r: 15,
1159
2036
  g: 15,
1160
2037
  b: 15
1161
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
2038
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1162
2039
  r: -5,
1163
2040
  g: -5,
1164
2041
  b: -5
1165
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
2042
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1166
2043
  r: -10,
1167
2044
  g: -10,
1168
2045
  b: -10
1169
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
2046
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1170
2047
  r: -15,
1171
2048
  g: -15,
1172
2049
  b: -15
1173
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
2050
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1174
2051
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1175
2052
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2053
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1176
2054
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1177
2055
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1178
2056
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1182,7 +2060,7 @@ var c = {
1182
2060
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1183
2061
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1184
2062
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1185
- }, 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 ? x(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 || S(e, { h: -30 }), this.git4 = this.git4 || S(e, { h: -60 }), this.git5 = this.git5 || S(e, { h: -90 }), this.git6 = this.git6 || S(e, { h: 60 }), this.git7 = this.git7 || S(e, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
2063
+ }, 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 ? F(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 || I(e, { h: -30 }), this.git4 = this.git4 || I(e, { h: -60 }), this.git5 = this.git5 || I(e, { h: -90 }), this.git6 = this.git6 || I(e, { h: 60 }), this.git7 = this.git7 || I(e, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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;
1186
2064
  }
1187
2065
  calculate(e) {
1188
2066
  if (typeof e != "object") {
@@ -1196,84 +2074,85 @@ var c = {
1196
2074
  this[t] = e[t];
1197
2075
  });
1198
2076
  }
1199
- }, Se = /* @__PURE__ */ r((e) => {
1200
- let t = new xe();
2077
+ }, Tt = /* @__PURE__ */ n((e) => {
2078
+ let t = new wt();
1201
2079
  return t.calculate(e), t;
1202
- }, "getThemeVariables"), Ce = class {
2080
+ }, "getThemeVariables"), Et = class {
1203
2081
  static {
1204
- r(this, "Theme");
2082
+ n(this, "Theme");
1205
2083
  }
1206
2084
  constructor() {
1207
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = b(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = C(this.background), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = b(C("#323D47"), 10), this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = C(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";
2085
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.border1 = "#ccc", this.border2 = M(255, 255, 255, .25), this.arrowheadColor = L(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";
1208
2086
  }
1209
2087
  updateColors() {
1210
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
2088
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1211
2089
  h: 180,
1212
2090
  l: 5
1213
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(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 || b(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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, {
2091
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, 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 || P(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, {
1214
2092
  h: 210,
1215
2093
  l: 150
1216
- }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 75);
1217
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 25);
1218
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1219
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
2094
+ }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
2095
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
2096
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2097
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1220
2098
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1221
2099
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1222
2100
  let e = this.darkMode ? -4 : -1;
1223
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || S(this.mainBkg, {
2101
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
1224
2102
  h: 180,
1225
2103
  s: -15,
1226
2104
  l: e * (5 + t * 3)
1227
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || S(this.mainBkg, {
2105
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
1228
2106
  h: 180,
1229
2107
  s: -15,
1230
2108
  l: e * (8 + t * 3)
1231
2109
  });
1232
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || S(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || S(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || S(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || S(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || S(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || S(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 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || S(this.primaryColor, {
2110
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
1233
2111
  h: 60,
1234
2112
  l: -10
1235
- }), this.pie8 = this.pie8 || S(this.primaryColor, {
2113
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1236
2114
  h: -60,
1237
2115
  l: -10
1238
- }), this.pie9 = this.pie9 || S(this.primaryColor, {
2116
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1239
2117
  h: 120,
1240
2118
  l: 0
1241
- }), this.pie10 = this.pie10 || S(this.primaryColor, {
2119
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1242
2120
  h: 60,
1243
2121
  l: -20
1244
- }), this.pie11 = this.pie11 || S(this.primaryColor, {
2122
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1245
2123
  h: -60,
1246
2124
  l: -20
1247
- }), this.pie12 = this.pie12 || S(this.primaryColor, {
2125
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1248
2126
  h: 120,
1249
2127
  l: -10
1250
- }), 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 || S(this.primaryColor, {
2128
+ }), 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 || I(this.primaryColor, {
1251
2129
  r: 5,
1252
2130
  g: 5,
1253
2131
  b: 5
1254
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
2132
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1255
2133
  r: 10,
1256
2134
  g: 10,
1257
2135
  b: 10
1258
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
2136
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1259
2137
  r: 15,
1260
2138
  g: 15,
1261
2139
  b: 15
1262
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
2140
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1263
2141
  r: -5,
1264
2142
  g: -5,
1265
2143
  b: -5
1266
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
2144
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1267
2145
  r: -10,
1268
2146
  g: -10,
1269
2147
  b: -10
1270
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
2148
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1271
2149
  r: -15,
1272
2150
  g: -15,
1273
2151
  b: -15
1274
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
2152
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1275
2153
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1276
2154
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2155
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1277
2156
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1278
2157
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1279
2158
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1283,7 +2162,7 @@ var c = {
1283
2162
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1284
2163
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1285
2164
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1286
- }, 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 ? x(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 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
2165
+ }, 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 ? F(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 = 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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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;
1287
2166
  }
1288
2167
  calculate(e) {
1289
2168
  if (typeof e != "object") {
@@ -1297,88 +2176,89 @@ var c = {
1297
2176
  this[t] = e[t];
1298
2177
  });
1299
2178
  }
1300
- }, we = /* @__PURE__ */ r((e) => {
1301
- let t = new Ce();
2179
+ }, Dt = /* @__PURE__ */ n((e) => {
2180
+ let t = new Et();
1302
2181
  return t.calculate(e), t;
1303
- }, "getThemeVariables"), Te = class {
2182
+ }, "getThemeVariables"), Ot = class {
1304
2183
  static {
1305
- r(this, "Theme");
2184
+ n(this, "Theme");
1306
2185
  }
1307
2186
  constructor() {
1308
- 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 = k("#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";
2187
+ 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";
1309
2188
  }
1310
2189
  updateColors() {
1311
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
2190
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1312
2191
  h: 180,
1313
2192
  l: 5
1314
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(this.lineColor);
1315
- let e = "#ECECFE", t = "#E9E9F1", n = S(e, {
2193
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
2194
+ let e = "#ECECFE", t = "#E9E9F1", n = I(e, {
1316
2195
  h: 180,
1317
2196
  l: 5
1318
2197
  });
1319
- 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 || b(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;
2198
+ 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 || P(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;
1320
2199
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
1321
- if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 75);
1322
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 25);
1323
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1324
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
2200
+ if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
2201
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
2202
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2203
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1325
2204
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1326
2205
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1327
2206
  let r = this.darkMode ? -4 : -1;
1328
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
2207
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1329
2208
  h: 180,
1330
2209
  s: -15,
1331
2210
  l: r * (5 + e * 3)
1332
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
2211
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1333
2212
  h: 180,
1334
2213
  s: -15,
1335
2214
  l: r * (8 + e * 3)
1336
2215
  });
1337
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || S(e, { h: 64 }), this.fillType3 = this.fillType3 || S(t, { h: 64 }), this.fillType4 = this.fillType4 || S(e, { h: -64 }), this.fillType5 = this.fillType5 || S(t, { h: -64 }), this.fillType6 = this.fillType6 || S(e, { h: 128 }), this.fillType7 = this.fillType7 || S(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || S(e, { l: -10 }), this.pie5 = this.pie5 || S(t, { l: -10 }), this.pie6 = this.pie6 || S(n, { l: -10 }), this.pie7 = this.pie7 || S(e, {
2216
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || I(e, { h: 64 }), this.fillType3 = this.fillType3 || I(t, { h: 64 }), this.fillType4 = this.fillType4 || I(e, { h: -64 }), this.fillType5 = this.fillType5 || I(t, { h: -64 }), this.fillType6 = this.fillType6 || I(e, { h: 128 }), this.fillType7 = this.fillType7 || I(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || I(e, { l: -10 }), this.pie5 = this.pie5 || I(t, { l: -10 }), this.pie6 = this.pie6 || I(n, { l: -10 }), this.pie7 = this.pie7 || I(e, {
1338
2217
  h: 60,
1339
2218
  l: -10
1340
- }), this.pie8 = this.pie8 || S(e, {
2219
+ }), this.pie8 = this.pie8 || I(e, {
1341
2220
  h: -60,
1342
2221
  l: -10
1343
- }), this.pie9 = this.pie9 || S(e, {
2222
+ }), this.pie9 = this.pie9 || I(e, {
1344
2223
  h: 120,
1345
2224
  l: 0
1346
- }), this.pie10 = this.pie10 || S(e, {
2225
+ }), this.pie10 = this.pie10 || I(e, {
1347
2226
  h: 60,
1348
2227
  l: -20
1349
- }), this.pie11 = this.pie11 || S(e, {
2228
+ }), this.pie11 = this.pie11 || I(e, {
1350
2229
  h: -60,
1351
2230
  l: -20
1352
- }), this.pie12 = this.pie12 || S(e, {
2231
+ }), this.pie12 = this.pie12 || I(e, {
1353
2232
  h: 120,
1354
2233
  l: -10
1355
- }), 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 || S(e, {
2234
+ }), 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 || I(e, {
1356
2235
  r: 5,
1357
2236
  g: 5,
1358
2237
  b: 5
1359
- }), this.quadrant3Fill = this.quadrant3Fill || S(e, {
2238
+ }), this.quadrant3Fill = this.quadrant3Fill || I(e, {
1360
2239
  r: 10,
1361
2240
  g: 10,
1362
2241
  b: 10
1363
- }), this.quadrant4Fill = this.quadrant4Fill || S(e, {
2242
+ }), this.quadrant4Fill = this.quadrant4Fill || I(e, {
1364
2243
  r: 15,
1365
2244
  g: 15,
1366
2245
  b: 15
1367
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
2246
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1368
2247
  r: -5,
1369
2248
  g: -5,
1370
2249
  b: -5
1371
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
2250
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1372
2251
  r: -10,
1373
2252
  g: -10,
1374
2253
  b: -10
1375
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
2254
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1376
2255
  r: -15,
1377
2256
  g: -15,
1378
2257
  b: -15
1379
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
2258
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1380
2259
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1381
2260
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2261
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1382
2262
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1383
2263
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1384
2264
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1388,7 +2268,7 @@ var c = {
1388
2268
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1389
2269
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1390
2270
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1391
- }, 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 ? x(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 || S(e, { h: -30 }), this.git4 = this.git4 || S(e, { h: -60 }), this.git5 = this.git5 || S(e, { h: -90 }), this.git6 = this.git6 || S(e, { h: 60 }), this.git7 = this.git7 || S(e, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
2271
+ }, 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 ? F(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 || I(e, { h: -30 }), this.git4 = this.git4 || I(e, { h: -60 }), this.git5 = this.git5 || I(e, { h: -90 }), this.git6 = this.git6 || I(e, { h: 60 }), this.git7 = this.git7 || I(e, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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;
1392
2272
  }
1393
2273
  calculate(e) {
1394
2274
  if (typeof e != "object") {
@@ -1402,84 +2282,85 @@ var c = {
1402
2282
  this[t] = e[t];
1403
2283
  });
1404
2284
  }
1405
- }, Ee = /* @__PURE__ */ r((e) => {
1406
- let t = new Te();
2285
+ }, kt = /* @__PURE__ */ n((e) => {
2286
+ let t = new Ot();
1407
2287
  return t.calculate(e), t;
1408
- }, "getThemeVariables"), De = class {
2288
+ }, "getThemeVariables"), At = class {
1409
2289
  static {
1410
- r(this, "Theme");
2290
+ n(this, "Theme");
1411
2291
  }
1412
2292
  constructor() {
1413
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = b(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = C(this.background), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = b(C("#323D47"), 10), this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = C(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";
2293
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.border1 = "#ccc", this.border2 = M(255, 255, 255, .25), this.arrowheadColor = L(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";
1414
2294
  }
1415
2295
  updateColors() {
1416
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
2296
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1417
2297
  h: 180,
1418
2298
  l: 5
1419
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(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 || b(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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, {
2299
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, 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 || P(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, {
1420
2300
  h: 210,
1421
2301
  l: 150
1422
- }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 75);
1423
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 25);
1424
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1425
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
2302
+ }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
2303
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
2304
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2305
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1426
2306
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1427
2307
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1428
2308
  let e = this.darkMode ? -4 : -1;
1429
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || S(this.mainBkg, {
2309
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
1430
2310
  h: 180,
1431
2311
  s: -15,
1432
2312
  l: e * (5 + t * 3)
1433
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || S(this.mainBkg, {
2313
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
1434
2314
  h: 180,
1435
2315
  s: -15,
1436
2316
  l: e * (8 + t * 3)
1437
2317
  });
1438
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || S(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || S(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || S(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || S(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || S(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || S(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 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || S(this.primaryColor, {
2318
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
1439
2319
  h: 60,
1440
2320
  l: -10
1441
- }), this.pie8 = this.pie8 || S(this.primaryColor, {
2321
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1442
2322
  h: -60,
1443
2323
  l: -10
1444
- }), this.pie9 = this.pie9 || S(this.primaryColor, {
2324
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1445
2325
  h: 120,
1446
2326
  l: 0
1447
- }), this.pie10 = this.pie10 || S(this.primaryColor, {
2327
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1448
2328
  h: 60,
1449
2329
  l: -20
1450
- }), this.pie11 = this.pie11 || S(this.primaryColor, {
2330
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1451
2331
  h: -60,
1452
2332
  l: -20
1453
- }), this.pie12 = this.pie12 || S(this.primaryColor, {
2333
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1454
2334
  h: 120,
1455
2335
  l: -10
1456
- }), 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 || S(this.primaryColor, {
2336
+ }), 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 || I(this.primaryColor, {
1457
2337
  r: 5,
1458
2338
  g: 5,
1459
2339
  b: 5
1460
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
2340
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1461
2341
  r: 10,
1462
2342
  g: 10,
1463
2343
  b: 10
1464
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
2344
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1465
2345
  r: 15,
1466
2346
  g: 15,
1467
2347
  b: 15
1468
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
2348
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1469
2349
  r: -5,
1470
2350
  g: -5,
1471
2351
  b: -5
1472
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
2352
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1473
2353
  r: -10,
1474
2354
  g: -10,
1475
2355
  b: -10
1476
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
2356
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1477
2357
  r: -15,
1478
2358
  g: -15,
1479
2359
  b: -15
1480
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
2360
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1481
2361
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1482
2362
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2363
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1483
2364
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1484
2365
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1485
2366
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1489,7 +2370,7 @@ var c = {
1489
2370
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1490
2371
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1491
2372
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1492
- }, 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 ? x(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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
2373
+ }, 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 ? F(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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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;
1493
2374
  }
1494
2375
  calculate(e) {
1495
2376
  if (typeof e != "object") {
@@ -1503,15 +2384,15 @@ var c = {
1503
2384
  this[t] = e[t];
1504
2385
  });
1505
2386
  }
1506
- }, Oe = /* @__PURE__ */ r((e) => {
1507
- let t = new De();
2387
+ }, jt = /* @__PURE__ */ n((e) => {
2388
+ let t = new At();
1508
2389
  return t.calculate(e), t;
1509
- }, "getThemeVariables"), ke = class {
2390
+ }, "getThemeVariables"), Mt = class {
1510
2391
  static {
1511
- r(this, "Theme");
2392
+ n(this, "Theme");
1512
2393
  }
1513
2394
  constructor() {
1514
- 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 = k(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 = [
2395
+ 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 = [
1515
2396
  "#E879F9",
1516
2397
  "#2DD4BF",
1517
2398
  "#FB923C",
@@ -1540,74 +2421,75 @@ var c = {
1540
2421
  ], this.filterColor = "#000000";
1541
2422
  }
1542
2423
  updateColors() {
1543
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
2424
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1544
2425
  h: 180,
1545
2426
  l: 5
1546
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(this.lineColor);
1547
- let e = "#ECECFE", t = "#E9E9F1", n = S(e, {
2427
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
2428
+ let e = "#ECECFE", t = "#E9E9F1", n = I(e, {
1548
2429
  h: 180,
1549
2430
  l: 5
1550
2431
  });
1551
- 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 || b(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";
1552
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1553
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
2432
+ 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 || P(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";
2433
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2434
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1554
2435
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1555
2436
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1556
2437
  let r = this.darkMode ? -4 : -1;
1557
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
2438
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1558
2439
  h: 180,
1559
2440
  s: -15,
1560
2441
  l: r * (5 + e * 3)
1561
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
2442
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1562
2443
  h: 180,
1563
2444
  s: -15,
1564
2445
  l: r * (8 + e * 3)
1565
2446
  });
1566
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || S(e, { h: 64 }), this.fillType3 = this.fillType3 || S(t, { h: 64 }), this.fillType4 = this.fillType4 || S(e, { h: -64 }), this.fillType5 = this.fillType5 || S(t, { h: -64 }), this.fillType6 = this.fillType6 || S(e, { h: 128 }), this.fillType7 = this.fillType7 || S(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || S(e, { l: -10 }), this.pie5 = this.pie5 || S(t, { l: -10 }), this.pie6 = this.pie6 || S(n, { l: -10 }), this.pie7 = this.pie7 || S(e, {
2447
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || I(e, { h: 64 }), this.fillType3 = this.fillType3 || I(t, { h: 64 }), this.fillType4 = this.fillType4 || I(e, { h: -64 }), this.fillType5 = this.fillType5 || I(t, { h: -64 }), this.fillType6 = this.fillType6 || I(e, { h: 128 }), this.fillType7 = this.fillType7 || I(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || I(e, { l: -10 }), this.pie5 = this.pie5 || I(t, { l: -10 }), this.pie6 = this.pie6 || I(n, { l: -10 }), this.pie7 = this.pie7 || I(e, {
1567
2448
  h: 60,
1568
2449
  l: -10
1569
- }), this.pie8 = this.pie8 || S(e, {
2450
+ }), this.pie8 = this.pie8 || I(e, {
1570
2451
  h: -60,
1571
2452
  l: -10
1572
- }), this.pie9 = this.pie9 || S(e, {
2453
+ }), this.pie9 = this.pie9 || I(e, {
1573
2454
  h: 120,
1574
2455
  l: 0
1575
- }), this.pie10 = this.pie10 || S(e, {
2456
+ }), this.pie10 = this.pie10 || I(e, {
1576
2457
  h: 60,
1577
2458
  l: -20
1578
- }), this.pie11 = this.pie11 || S(e, {
2459
+ }), this.pie11 = this.pie11 || I(e, {
1579
2460
  h: -60,
1580
2461
  l: -20
1581
- }), this.pie12 = this.pie12 || S(e, {
2462
+ }), this.pie12 = this.pie12 || I(e, {
1582
2463
  h: 120,
1583
2464
  l: -10
1584
- }), 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 || S(e, {
2465
+ }), 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 || I(e, {
1585
2466
  r: 5,
1586
2467
  g: 5,
1587
2468
  b: 5
1588
- }), this.quadrant3Fill = this.quadrant3Fill || S(e, {
2469
+ }), this.quadrant3Fill = this.quadrant3Fill || I(e, {
1589
2470
  r: 10,
1590
2471
  g: 10,
1591
2472
  b: 10
1592
- }), this.quadrant4Fill = this.quadrant4Fill || S(e, {
2473
+ }), this.quadrant4Fill = this.quadrant4Fill || I(e, {
1593
2474
  r: 15,
1594
2475
  g: 15,
1595
2476
  b: 15
1596
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
2477
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1597
2478
  r: -5,
1598
2479
  g: -5,
1599
2480
  b: -5
1600
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
2481
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1601
2482
  r: -10,
1602
2483
  g: -10,
1603
2484
  b: -10
1604
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
2485
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1605
2486
  r: -15,
1606
2487
  g: -15,
1607
2488
  b: -15
1608
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
2489
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1609
2490
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1610
2491
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2492
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1611
2493
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1612
2494
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1613
2495
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1617,7 +2499,7 @@ var c = {
1617
2499
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1618
2500
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1619
2501
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1620
- }, 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 ? x(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 || S(e, { h: -30 }), this.git4 = this.git4 || S(e, { h: -60 }), this.git5 = this.git5 || S(e, { h: -90 }), this.git6 = this.git6 || S(e, { h: 60 }), this.git7 = this.git7 || S(e, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
2502
+ }, 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 ? F(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 || I(e, { h: -30 }), this.git4 = this.git4 || I(e, { h: -60 }), this.git5 = this.git5 || I(e, { h: -90 }), this.git6 = this.git6 || I(e, { h: 60 }), this.git7 = this.git7 || I(e, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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;
1621
2503
  }
1622
2504
  calculate(e) {
1623
2505
  if (typeof e != "object") {
@@ -1631,15 +2513,15 @@ var c = {
1631
2513
  this[t] = e[t];
1632
2514
  });
1633
2515
  }
1634
- }, Ae = /* @__PURE__ */ r((e) => {
1635
- let t = new ke();
2516
+ }, Nt = /* @__PURE__ */ n((e) => {
2517
+ let t = new Mt();
1636
2518
  return t.calculate(e), t;
1637
- }, "getThemeVariables"), je = class {
2519
+ }, "getThemeVariables"), Pt = class {
1638
2520
  static {
1639
- r(this, "Theme");
2521
+ n(this, "Theme");
1640
2522
  }
1641
2523
  constructor() {
1642
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = b(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = C(this.background), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = b(C("#323D47"), 10), this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = C(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 = [
2524
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.border1 = "#ccc", this.border2 = M(255, 255, 255, .25), this.arrowheadColor = L(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 = [
1643
2525
  "#E879F9",
1644
2526
  "#2DD4BF",
1645
2527
  "#FB923C",
@@ -1655,69 +2537,70 @@ var c = {
1655
2537
  ], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
1656
2538
  }
1657
2539
  updateColors() {
1658
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
2540
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1659
2541
  h: 180,
1660
2542
  l: 5
1661
- }), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(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 || b(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";
1662
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
1663
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
2543
+ }), 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 || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, 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 || P(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";
2544
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2545
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1664
2546
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1665
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = x(this["cScale" + e], 75);
2547
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = F(this["cScale" + e], 75);
1666
2548
  let e = this.darkMode ? -4 : -1;
1667
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || S(this.mainBkg, {
2549
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
1668
2550
  h: 180,
1669
2551
  s: -15,
1670
2552
  l: e * (5 + t * 3)
1671
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || S(this.mainBkg, {
2553
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
1672
2554
  h: 180,
1673
2555
  s: -15,
1674
2556
  l: e * (8 + t * 3)
1675
2557
  });
1676
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || S(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || S(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || S(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || S(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || S(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || S(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 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || S(this.primaryColor, {
2558
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
1677
2559
  h: 60,
1678
2560
  l: -10
1679
- }), this.pie8 = this.pie8 || S(this.primaryColor, {
2561
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1680
2562
  h: -60,
1681
2563
  l: -10
1682
- }), this.pie9 = this.pie9 || S(this.primaryColor, {
2564
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1683
2565
  h: 120,
1684
2566
  l: 0
1685
- }), this.pie10 = this.pie10 || S(this.primaryColor, {
2567
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1686
2568
  h: 60,
1687
2569
  l: -20
1688
- }), this.pie11 = this.pie11 || S(this.primaryColor, {
2570
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1689
2571
  h: -60,
1690
2572
  l: -20
1691
- }), this.pie12 = this.pie12 || S(this.primaryColor, {
2573
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1692
2574
  h: 120,
1693
2575
  l: -10
1694
- }), 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 || S(this.primaryColor, {
2576
+ }), 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 || I(this.primaryColor, {
1695
2577
  r: 5,
1696
2578
  g: 5,
1697
2579
  b: 5
1698
- }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
2580
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1699
2581
  r: 10,
1700
2582
  g: 10,
1701
2583
  b: 10
1702
- }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
2584
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1703
2585
  r: 15,
1704
2586
  g: 15,
1705
2587
  b: 15
1706
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
2588
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1707
2589
  r: -5,
1708
2590
  g: -5,
1709
2591
  b: -5
1710
- }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
2592
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1711
2593
  r: -10,
1712
2594
  g: -10,
1713
2595
  b: -10
1714
- }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
2596
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1715
2597
  r: -15,
1716
2598
  g: -15,
1717
2599
  b: -15
1718
- }), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
2600
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1719
2601
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1720
2602
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2603
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1721
2604
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1722
2605
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1723
2606
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1727,7 +2610,7 @@ var c = {
1727
2610
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1728
2611
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1729
2612
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1730
- }, 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 ? x(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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
2613
+ }, 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 ? F(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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (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.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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;
1731
2614
  }
1732
2615
  calculate(e) {
1733
2616
  if (typeof e != "object") {
@@ -1741,22 +2624,22 @@ var c = {
1741
2624
  this[t] = e[t];
1742
2625
  });
1743
2626
  }
1744
- }, A = {
1745
- base: { getThemeVariables: fe },
1746
- dark: { getThemeVariables: me },
1747
- default: { getThemeVariables: ge },
1748
- forest: { getThemeVariables: ve },
1749
- neutral: { getThemeVariables: be },
1750
- neo: { getThemeVariables: Se },
1751
- "neo-dark": { getThemeVariables: we },
1752
- redux: { getThemeVariables: Ee },
1753
- "redux-dark": { getThemeVariables: Oe },
1754
- "redux-color": { getThemeVariables: Ae },
1755
- "redux-dark-color": { getThemeVariables: /* @__PURE__ */ r((e) => {
1756
- let t = new je();
2627
+ }, W = {
2628
+ base: { getThemeVariables: gt },
2629
+ dark: { getThemeVariables: vt },
2630
+ default: { getThemeVariables: bt },
2631
+ forest: { getThemeVariables: U },
2632
+ neutral: { getThemeVariables: Ct },
2633
+ neo: { getThemeVariables: Tt },
2634
+ "neo-dark": { getThemeVariables: Dt },
2635
+ redux: { getThemeVariables: kt },
2636
+ "redux-dark": { getThemeVariables: jt },
2637
+ "redux-color": { getThemeVariables: Nt },
2638
+ "redux-dark-color": { getThemeVariables: /* @__PURE__ */ n((e) => {
2639
+ let t = new Pt();
1757
2640
  return t.calculate(e), t;
1758
2641
  }, "getThemeVariables") }
1759
- }, j = {
2642
+ }, G = {
1760
2643
  flowchart: {
1761
2644
  useMaxWidth: !0,
1762
2645
  titleTopMargin: 25,
@@ -1774,6 +2657,13 @@ var c = {
1774
2657
  wrappingWidth: 200,
1775
2658
  inheritDir: !1
1776
2659
  },
2660
+ swimlane: {
2661
+ useMaxWidth: !0,
2662
+ lineHops: "arc",
2663
+ ignoreCrossLaneEdges: !0,
2664
+ optimizeRanksByCrossings: !0,
2665
+ automaticLaneOrdering: !1
2666
+ },
1777
2667
  sequence: {
1778
2668
  useMaxWidth: !0,
1779
2669
  hideUnusedParticipants: !1,
@@ -1915,7 +2805,10 @@ var c = {
1915
2805
  },
1916
2806
  pie: {
1917
2807
  useMaxWidth: !0,
1918
- textPosition: .75
2808
+ textPosition: .75,
2809
+ donutHole: 0,
2810
+ legendPosition: "right",
2811
+ highlightSlice: ""
1919
2812
  },
1920
2813
  quadrantChart: {
1921
2814
  useMaxWidth: !0,
@@ -1947,6 +2840,9 @@ var c = {
1947
2840
  showDataLabel: !1,
1948
2841
  showDataLabelOutsideBar: !1,
1949
2842
  showTitle: !0,
2843
+ showLegend: !0,
2844
+ legendFontSize: 14,
2845
+ legendPadding: 10,
1950
2846
  xAxis: {
1951
2847
  $ref: "#/$defs/XYChartAxisConfig",
1952
2848
  showLabel: !0,
@@ -1959,7 +2855,8 @@ var c = {
1959
2855
  tickLength: 5,
1960
2856
  tickWidth: 2,
1961
2857
  showAxisLine: !0,
1962
- axisLineWidth: 2
2858
+ axisLineWidth: 2,
2859
+ labelRotation: 0
1963
2860
  },
1964
2861
  yAxis: {
1965
2862
  $ref: "#/$defs/XYChartAxisConfig",
@@ -1973,7 +2870,8 @@ var c = {
1973
2870
  tickLength: 5,
1974
2871
  tickWidth: 2,
1975
2872
  showAxisLine: !0,
1976
- axisLineWidth: 2
2873
+ axisLineWidth: 2,
2874
+ labelRotation: 0
1977
2875
  },
1978
2876
  chartOrientation: "vertical",
1979
2877
  plotReservedSpacePercent: 50
@@ -2215,7 +3113,11 @@ var c = {
2215
3113
  rowIndent: 10,
2216
3114
  paddingX: 5,
2217
3115
  paddingY: 5,
2218
- lineThickness: 1
3116
+ lineThickness: 1,
3117
+ showIcons: !1,
3118
+ defaultIconPack: "",
3119
+ filenameIcons: {},
3120
+ extensionIcons: {}
2219
3121
  },
2220
3122
  architecture: {
2221
3123
  useMaxWidth: !0,
@@ -2226,7 +3128,8 @@ var c = {
2226
3128
  nodeSeparation: 75,
2227
3129
  idealEdgeLengthMultiplier: 1.5,
2228
3130
  edgeElasticity: .45,
2229
- numIter: 2500
3131
+ numIter: 2500,
3132
+ seed: 1
2230
3133
  },
2231
3134
  eventmodeling: {
2232
3135
  useMaxWidth: !0,
@@ -2252,6 +3155,15 @@ var c = {
2252
3155
  padding: 8,
2253
3156
  useDebugLayout: !1
2254
3157
  },
3158
+ cynefin: {
3159
+ useMaxWidth: !0,
3160
+ width: 800,
3161
+ height: 600,
3162
+ padding: 40,
3163
+ showDomainDescriptions: !0,
3164
+ boundaryAmplitude: 8,
3165
+ seed: 0
3166
+ },
2255
3167
  theme: "default",
2256
3168
  look: "classic",
2257
3169
  handDrawnSeed: 0,
@@ -2278,34 +3190,36 @@ var c = {
2278
3190
  fontSize: 16,
2279
3191
  markdownAutoWrap: !0,
2280
3192
  suppressErrorRendering: !1
2281
- }, Me = {
2282
- ...j,
3193
+ }, Ft = {
3194
+ ...G,
2283
3195
  deterministicIDSeed: void 0,
2284
3196
  elk: {
2285
3197
  mergeEdges: !1,
2286
3198
  nodePlacementStrategy: "BRANDES_KOEPF",
3199
+ nodePlacementAlignment: "NONE",
2287
3200
  forceNodeModelOrder: !1,
2288
- considerModelOrder: "NODES_AND_EDGES"
3201
+ considerModelOrder: "NODES_AND_EDGES",
3202
+ keepEntryNodeOnTop: !1
2289
3203
  },
2290
3204
  themeCSS: void 0,
2291
- themeVariables: A.default.getThemeVariables(),
3205
+ themeVariables: W.default.getThemeVariables(),
2292
3206
  sequence: {
2293
- ...j.sequence,
2294
- messageFont: /* @__PURE__ */ r(function() {
3207
+ ...G.sequence,
3208
+ messageFont: /* @__PURE__ */ n(function() {
2295
3209
  return {
2296
3210
  fontFamily: this.messageFontFamily,
2297
3211
  fontSize: this.messageFontSize,
2298
3212
  fontWeight: this.messageFontWeight
2299
3213
  };
2300
3214
  }, "messageFont"),
2301
- noteFont: /* @__PURE__ */ r(function() {
3215
+ noteFont: /* @__PURE__ */ n(function() {
2302
3216
  return {
2303
3217
  fontFamily: this.noteFontFamily,
2304
3218
  fontSize: this.noteFontSize,
2305
3219
  fontWeight: this.noteFontWeight
2306
3220
  };
2307
3221
  }, "noteFont"),
2308
- actorFont: /* @__PURE__ */ r(function() {
3222
+ actorFont: /* @__PURE__ */ n(function() {
2309
3223
  return {
2310
3224
  fontFamily: this.actorFontFamily,
2311
3225
  fontSize: this.actorFontSize,
@@ -2314,18 +3228,19 @@ var c = {
2314
3228
  }, "actorFont")
2315
3229
  },
2316
3230
  class: {
3231
+ defaultRenderer: "dagre-wrapper",
2317
3232
  hideEmptyMembersBox: !1,
2318
3233
  hierarchicalNamespaces: !0
2319
3234
  },
2320
3235
  gantt: {
2321
- ...j.gantt,
3236
+ ...G.gantt,
2322
3237
  tickInterval: void 0,
2323
3238
  useWidth: void 0
2324
3239
  },
2325
3240
  c4: {
2326
- ...j.c4,
3241
+ ...G.c4,
2327
3242
  useWidth: void 0,
2328
- personFont: /* @__PURE__ */ r(function() {
3243
+ personFont: /* @__PURE__ */ n(function() {
2329
3244
  return {
2330
3245
  fontFamily: this.personFontFamily,
2331
3246
  fontSize: this.personFontSize,
@@ -2333,150 +3248,150 @@ var c = {
2333
3248
  };
2334
3249
  }, "personFont"),
2335
3250
  flowchart: {
2336
- ...j.flowchart,
3251
+ ...G.flowchart,
2337
3252
  inheritDir: !1
2338
3253
  },
2339
- external_personFont: /* @__PURE__ */ r(function() {
3254
+ external_personFont: /* @__PURE__ */ n(function() {
2340
3255
  return {
2341
3256
  fontFamily: this.external_personFontFamily,
2342
3257
  fontSize: this.external_personFontSize,
2343
3258
  fontWeight: this.external_personFontWeight
2344
3259
  };
2345
3260
  }, "external_personFont"),
2346
- systemFont: /* @__PURE__ */ r(function() {
3261
+ systemFont: /* @__PURE__ */ n(function() {
2347
3262
  return {
2348
3263
  fontFamily: this.systemFontFamily,
2349
3264
  fontSize: this.systemFontSize,
2350
3265
  fontWeight: this.systemFontWeight
2351
3266
  };
2352
3267
  }, "systemFont"),
2353
- external_systemFont: /* @__PURE__ */ r(function() {
3268
+ external_systemFont: /* @__PURE__ */ n(function() {
2354
3269
  return {
2355
3270
  fontFamily: this.external_systemFontFamily,
2356
3271
  fontSize: this.external_systemFontSize,
2357
3272
  fontWeight: this.external_systemFontWeight
2358
3273
  };
2359
3274
  }, "external_systemFont"),
2360
- system_dbFont: /* @__PURE__ */ r(function() {
3275
+ system_dbFont: /* @__PURE__ */ n(function() {
2361
3276
  return {
2362
3277
  fontFamily: this.system_dbFontFamily,
2363
3278
  fontSize: this.system_dbFontSize,
2364
3279
  fontWeight: this.system_dbFontWeight
2365
3280
  };
2366
3281
  }, "system_dbFont"),
2367
- external_system_dbFont: /* @__PURE__ */ r(function() {
3282
+ external_system_dbFont: /* @__PURE__ */ n(function() {
2368
3283
  return {
2369
3284
  fontFamily: this.external_system_dbFontFamily,
2370
3285
  fontSize: this.external_system_dbFontSize,
2371
3286
  fontWeight: this.external_system_dbFontWeight
2372
3287
  };
2373
3288
  }, "external_system_dbFont"),
2374
- system_queueFont: /* @__PURE__ */ r(function() {
3289
+ system_queueFont: /* @__PURE__ */ n(function() {
2375
3290
  return {
2376
3291
  fontFamily: this.system_queueFontFamily,
2377
3292
  fontSize: this.system_queueFontSize,
2378
3293
  fontWeight: this.system_queueFontWeight
2379
3294
  };
2380
3295
  }, "system_queueFont"),
2381
- external_system_queueFont: /* @__PURE__ */ r(function() {
3296
+ external_system_queueFont: /* @__PURE__ */ n(function() {
2382
3297
  return {
2383
3298
  fontFamily: this.external_system_queueFontFamily,
2384
3299
  fontSize: this.external_system_queueFontSize,
2385
3300
  fontWeight: this.external_system_queueFontWeight
2386
3301
  };
2387
3302
  }, "external_system_queueFont"),
2388
- containerFont: /* @__PURE__ */ r(function() {
3303
+ containerFont: /* @__PURE__ */ n(function() {
2389
3304
  return {
2390
3305
  fontFamily: this.containerFontFamily,
2391
3306
  fontSize: this.containerFontSize,
2392
3307
  fontWeight: this.containerFontWeight
2393
3308
  };
2394
3309
  }, "containerFont"),
2395
- external_containerFont: /* @__PURE__ */ r(function() {
3310
+ external_containerFont: /* @__PURE__ */ n(function() {
2396
3311
  return {
2397
3312
  fontFamily: this.external_containerFontFamily,
2398
3313
  fontSize: this.external_containerFontSize,
2399
3314
  fontWeight: this.external_containerFontWeight
2400
3315
  };
2401
3316
  }, "external_containerFont"),
2402
- container_dbFont: /* @__PURE__ */ r(function() {
3317
+ container_dbFont: /* @__PURE__ */ n(function() {
2403
3318
  return {
2404
3319
  fontFamily: this.container_dbFontFamily,
2405
3320
  fontSize: this.container_dbFontSize,
2406
3321
  fontWeight: this.container_dbFontWeight
2407
3322
  };
2408
3323
  }, "container_dbFont"),
2409
- external_container_dbFont: /* @__PURE__ */ r(function() {
3324
+ external_container_dbFont: /* @__PURE__ */ n(function() {
2410
3325
  return {
2411
3326
  fontFamily: this.external_container_dbFontFamily,
2412
3327
  fontSize: this.external_container_dbFontSize,
2413
3328
  fontWeight: this.external_container_dbFontWeight
2414
3329
  };
2415
3330
  }, "external_container_dbFont"),
2416
- container_queueFont: /* @__PURE__ */ r(function() {
3331
+ container_queueFont: /* @__PURE__ */ n(function() {
2417
3332
  return {
2418
3333
  fontFamily: this.container_queueFontFamily,
2419
3334
  fontSize: this.container_queueFontSize,
2420
3335
  fontWeight: this.container_queueFontWeight
2421
3336
  };
2422
3337
  }, "container_queueFont"),
2423
- external_container_queueFont: /* @__PURE__ */ r(function() {
3338
+ external_container_queueFont: /* @__PURE__ */ n(function() {
2424
3339
  return {
2425
3340
  fontFamily: this.external_container_queueFontFamily,
2426
3341
  fontSize: this.external_container_queueFontSize,
2427
3342
  fontWeight: this.external_container_queueFontWeight
2428
3343
  };
2429
3344
  }, "external_container_queueFont"),
2430
- componentFont: /* @__PURE__ */ r(function() {
3345
+ componentFont: /* @__PURE__ */ n(function() {
2431
3346
  return {
2432
3347
  fontFamily: this.componentFontFamily,
2433
3348
  fontSize: this.componentFontSize,
2434
3349
  fontWeight: this.componentFontWeight
2435
3350
  };
2436
3351
  }, "componentFont"),
2437
- external_componentFont: /* @__PURE__ */ r(function() {
3352
+ external_componentFont: /* @__PURE__ */ n(function() {
2438
3353
  return {
2439
3354
  fontFamily: this.external_componentFontFamily,
2440
3355
  fontSize: this.external_componentFontSize,
2441
3356
  fontWeight: this.external_componentFontWeight
2442
3357
  };
2443
3358
  }, "external_componentFont"),
2444
- component_dbFont: /* @__PURE__ */ r(function() {
3359
+ component_dbFont: /* @__PURE__ */ n(function() {
2445
3360
  return {
2446
3361
  fontFamily: this.component_dbFontFamily,
2447
3362
  fontSize: this.component_dbFontSize,
2448
3363
  fontWeight: this.component_dbFontWeight
2449
3364
  };
2450
3365
  }, "component_dbFont"),
2451
- external_component_dbFont: /* @__PURE__ */ r(function() {
3366
+ external_component_dbFont: /* @__PURE__ */ n(function() {
2452
3367
  return {
2453
3368
  fontFamily: this.external_component_dbFontFamily,
2454
3369
  fontSize: this.external_component_dbFontSize,
2455
3370
  fontWeight: this.external_component_dbFontWeight
2456
3371
  };
2457
3372
  }, "external_component_dbFont"),
2458
- component_queueFont: /* @__PURE__ */ r(function() {
3373
+ component_queueFont: /* @__PURE__ */ n(function() {
2459
3374
  return {
2460
3375
  fontFamily: this.component_queueFontFamily,
2461
3376
  fontSize: this.component_queueFontSize,
2462
3377
  fontWeight: this.component_queueFontWeight
2463
3378
  };
2464
3379
  }, "component_queueFont"),
2465
- external_component_queueFont: /* @__PURE__ */ r(function() {
3380
+ external_component_queueFont: /* @__PURE__ */ n(function() {
2466
3381
  return {
2467
3382
  fontFamily: this.external_component_queueFontFamily,
2468
3383
  fontSize: this.external_component_queueFontSize,
2469
3384
  fontWeight: this.external_component_queueFontWeight
2470
3385
  };
2471
3386
  }, "external_component_queueFont"),
2472
- boundaryFont: /* @__PURE__ */ r(function() {
3387
+ boundaryFont: /* @__PURE__ */ n(function() {
2473
3388
  return {
2474
3389
  fontFamily: this.boundaryFontFamily,
2475
3390
  fontSize: this.boundaryFontSize,
2476
3391
  fontWeight: this.boundaryFontWeight
2477
3392
  };
2478
3393
  }, "boundaryFont"),
2479
- messageFont: /* @__PURE__ */ r(function() {
3394
+ messageFont: /* @__PURE__ */ n(function() {
2480
3395
  return {
2481
3396
  fontFamily: this.messageFontFamily,
2482
3397
  fontSize: this.messageFontSize,
@@ -2485,27 +3400,46 @@ var c = {
2485
3400
  }, "messageFont")
2486
3401
  },
2487
3402
  pie: {
2488
- ...j.pie,
3403
+ ...G.pie,
2489
3404
  useWidth: 984
2490
3405
  },
2491
3406
  xyChart: {
2492
- ...j.xyChart,
3407
+ ...G.xyChart,
2493
3408
  useWidth: void 0
2494
3409
  },
2495
3410
  requirement: {
2496
- ...j.requirement,
3411
+ ...G.requirement,
2497
3412
  useWidth: void 0
2498
3413
  },
2499
- packet: { ...j.packet },
2500
- eventmodeling: { ...j.eventmodeling },
3414
+ packet: { ...G.packet },
3415
+ eventmodeling: { ...G.eventmodeling },
2501
3416
  treeView: {
2502
- ...j.treeView,
3417
+ ...G.treeView,
2503
3418
  useWidth: void 0
2504
3419
  },
2505
- radar: { ...j.radar },
2506
- ishikawa: { ...j.ishikawa },
3420
+ radar: { ...G.radar },
3421
+ railroad: {
3422
+ ...G.railroad,
3423
+ fontSize: void 0,
3424
+ fontFamily: void 0,
3425
+ terminalFill: void 0,
3426
+ terminalStroke: void 0,
3427
+ terminalTextColor: void 0,
3428
+ nonTerminalFill: void 0,
3429
+ nonTerminalStroke: void 0,
3430
+ nonTerminalTextColor: void 0,
3431
+ lineColor: void 0,
3432
+ markerFill: void 0,
3433
+ commentFill: void 0,
3434
+ commentStroke: void 0,
3435
+ commentTextColor: void 0,
3436
+ specialFill: void 0,
3437
+ specialStroke: void 0,
3438
+ ruleNameColor: void 0
3439
+ },
3440
+ ishikawa: { ...G.ishikawa },
2507
3441
  sankey: {
2508
- ...j.sankey,
3442
+ ...G.sankey,
2509
3443
  nodeColors: void 0
2510
3444
  },
2511
3445
  treemap: {
@@ -2520,197 +3454,223 @@ var c = {
2520
3454
  labelFontSize: 14,
2521
3455
  valueFormat: ","
2522
3456
  },
2523
- venn: { ...j.venn }
2524
- }, Ne = /* @__PURE__ */ r((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
3457
+ venn: { ...G.venn },
3458
+ cynefin: { ...G.cynefin }
3459
+ }, It = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
2525
3460
  ...n,
2526
3461
  t + r,
2527
- ...Ne(e[r], "")
2528
- ] : [...n, t + r], []), "keyify"), Pe = new Set(Ne(Me, "")), Fe = Me, M = /* @__PURE__ */ r((e) => {
2529
- if (n.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
3462
+ ...It(e[r], "")
3463
+ ] : [...n, t + r], []), "keyify"), Lt = new Set(It(Ft, "")), Rt = Ft, zt = {
3464
+ nodeColors: /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,
3465
+ filenameIcons: /^[\w-]+(?::[\w-]+)?$/,
3466
+ extensionIcons: /^[\w-]+(?::[\w-]+)?$/
3467
+ }, Bt = /* @__PURE__ */ n((e, n) => {
3468
+ for (let r of Object.keys(e)) {
3469
+ let i = e[r];
3470
+ (r.startsWith("__") || r.includes("proto") || r.includes("constr") || typeof i != "string" || !n.test(i)) && (t.debug("sanitize deleting dictionary entry:", r, i), delete e[r]);
3471
+ }
3472
+ }, "sanitizeDictionaryConfig"), Vt = /* @__PURE__ */ n((e) => {
3473
+ if (t.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
2530
3474
  if (Array.isArray(e)) {
2531
- e.forEach((e) => M(e));
3475
+ e.forEach((e) => Vt(e));
2532
3476
  return;
2533
3477
  }
2534
- for (let t of Object.keys(e)) {
2535
- if (n.debug("Checking key", t), t.startsWith("__") || t.includes("proto") || t.includes("constr") || !Pe.has(t) || e[t] == null) {
2536
- n.debug("sanitize deleting key: ", t), delete e[t];
3478
+ for (let n of Object.keys(e)) {
3479
+ if (t.debug("Checking key", n), n.startsWith("__") || n.includes("proto") || n.includes("constr") || !Lt.has(n) || e[n] == null) {
3480
+ t.debug("sanitize deleting key: ", n), delete e[n];
2537
3481
  continue;
2538
3482
  }
2539
- if (typeof e[t] == "object") {
2540
- if (t === "nodeColors") {
2541
- let r = /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i;
2542
- for (let i of Object.keys(e[t])) (typeof e[t][i] != "string" || !r.test(e[t][i])) && (n.debug("sanitize deleting invalid color:", i, e[t][i]), delete e[t][i]);
2543
- } else n.debug("sanitizing object", t), M(e[t]);
3483
+ if (typeof e[n] == "object") {
3484
+ let r = zt[n];
3485
+ r ? Bt(e[n], r) : (t.debug("sanitizing object", n), Vt(e[n]));
2544
3486
  continue;
2545
3487
  }
2546
3488
  for (let r of [
2547
3489
  "themeCSS",
2548
3490
  "fontFamily",
2549
3491
  "altFontFamily"
2550
- ]) t.includes(r) && (n.debug("sanitizing css option", t), e[t] = Ie(e[t]));
3492
+ ]) n.includes(r) && (t.debug("sanitizing css option", n), e[n] = Ht(e[n]));
2551
3493
  }
2552
3494
  if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
2553
3495
  let n = e.themeVariables[t];
2554
3496
  n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
2555
3497
  }
2556
- n.debug("After sanitization", e);
3498
+ t.debug("After sanitization", e);
2557
3499
  }
2558
- }, "sanitizeDirective"), Ie = /* @__PURE__ */ r((e) => {
3500
+ }, "sanitizeDirective"), Ht = /* @__PURE__ */ n((e) => {
2559
3501
  let t = 0, n = 0;
2560
3502
  for (let r of e) {
2561
3503
  if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
2562
3504
  r === "{" ? t++ : r === "}" && n++;
2563
3505
  }
2564
3506
  return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
2565
- }, "sanitizeCss"), N = Object.freeze(Fe), P = /* @__PURE__ */ r((e) => !(e === !1 || [
3507
+ }, "sanitizeCss"), K = Object.freeze(Rt), q = /* @__PURE__ */ n((e) => !(e === !1 || [
2566
3508
  "false",
2567
3509
  "null",
2568
3510
  "0"
2569
- ].includes(String(e).trim().toLowerCase())), "evaluate"), F = E({}, N), I, L = [], R = E({}, N), z = /* @__PURE__ */ r((e, t) => {
2570
- let n = E({}, e), r = {};
2571
- for (let e of t) He(e), r = E(r, e);
2572
- if (n = E(n, r), r.theme && r.theme in A) {
2573
- let e = E(E({}, I).themeVariables || {}, r.themeVariables);
2574
- n.theme && n.theme in A && (n.themeVariables = A[n.theme].getThemeVariables(e));
2575
- }
2576
- return R = n, Je(R), R;
2577
- }, "updateCurrentConfig"), Le = /* @__PURE__ */ r((e) => (F = E({}, N), F = E(F, e), e.theme && A[e.theme] && (F.themeVariables = A[e.theme].getThemeVariables(e.themeVariables)), z(F, L), F), "setSiteConfig"), Re = /* @__PURE__ */ r((e) => {
2578
- I = E({}, e);
2579
- }, "saveConfigFromInitialize"), ze = /* @__PURE__ */ r((e) => (F = E(F, e), z(F, L), F), "updateSiteConfig"), Be = /* @__PURE__ */ r(() => E({}, F), "getSiteConfig"), Ve = /* @__PURE__ */ r((e) => (Je(e), E(R, e), B()), "setConfig"), B = /* @__PURE__ */ r(() => E({}, R), "getConfig"), He = /* @__PURE__ */ r((e) => {
2580
- e && (["secure", ...F.secure ?? []].forEach((t) => {
2581
- Object.hasOwn(e, t) && (n.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
3511
+ ].includes(String(e).trim().toLowerCase())), "evaluate"), J = z({}, K), Ut, Wt = [], Gt = z({}, K), Kt = /* @__PURE__ */ n((e, t) => {
3512
+ let n = z({}, e), r = {};
3513
+ for (let e of t) Qt(e), r = z(r, e);
3514
+ if (n = z(n, r), r.theme && r.theme in W) {
3515
+ let e = z(z({}, Ut).themeVariables || {}, r.themeVariables);
3516
+ n.theme && n.theme in W && (n.themeVariables = W[n.theme].getThemeVariables(e));
3517
+ }
3518
+ return Gt = n, an(Gt), Gt;
3519
+ }, "updateCurrentConfig"), qt = /* @__PURE__ */ n((e) => (J = z({}, K), J = z(J, e), e.theme && W[e.theme] && (J.themeVariables = W[e.theme].getThemeVariables(e.themeVariables)), Kt(J, Wt), J), "setSiteConfig"), Jt = /* @__PURE__ */ n((e) => {
3520
+ Ut = z({}, e);
3521
+ }, "saveConfigFromInitialize"), Yt = /* @__PURE__ */ n((e) => (J = z(J, e), Kt(J, Wt), J), "updateSiteConfig"), Xt = /* @__PURE__ */ n(() => z({}, J), "getSiteConfig"), Zt = /* @__PURE__ */ n((e) => (Kt(Gt, [e]), Y()), "setConfig"), Y = /* @__PURE__ */ n(() => z({}, Gt), "getConfig"), Qt = /* @__PURE__ */ n((e) => {
3522
+ e && (["secure", ...J.secure ?? []].forEach((n) => {
3523
+ Object.hasOwn(e, n) && (t.debug(`Denied attempt to modify a secure key ${n}`, e[n]), delete e[n]);
2582
3524
  }), Object.keys(e).forEach((t) => {
2583
3525
  t.startsWith("__") && delete e[t];
2584
3526
  }), Object.keys(e).forEach((t) => {
2585
- typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && He(e[t]);
3527
+ typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Qt(e[t]);
2586
3528
  }));
2587
- }, "sanitize"), Ue = /* @__PURE__ */ r((e) => {
2588
- M(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
3529
+ }, "sanitize"), $t = /* @__PURE__ */ n((e) => {
3530
+ Vt(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
2589
3531
  ...e.themeVariables,
2590
3532
  fontFamily: e.fontFamily
2591
- }), L.push(e), z(F, L);
2592
- }, "addDirective"), We = /* @__PURE__ */ r((e = F) => {
2593
- L = [], z(e, L);
2594
- }, "reset"), Ge = {
3533
+ }), Wt.push(e), Kt(J, Wt);
3534
+ }, "addDirective"), en = /* @__PURE__ */ n((e = J) => {
3535
+ Wt = [], Kt(e, Wt);
3536
+ }, "reset"), tn = {
2595
3537
  LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
2596
3538
  FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
2597
- }, Ke = {}, qe = /* @__PURE__ */ r((e) => {
2598
- Ke[e] || (n.warn(Ge[e]), Ke[e] = !0);
2599
- }, "issueWarning"), Je = /* @__PURE__ */ r((e) => {
2600
- e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && qe("LAZY_LOAD_DEPRECATED");
2601
- }, "checkConfig"), Ye = /* @__PURE__ */ r(() => {
3539
+ }, nn = {}, rn = /* @__PURE__ */ n((e) => {
3540
+ nn[e] || (t.warn(tn[e]), nn[e] = !0);
3541
+ }, "issueWarning"), an = /* @__PURE__ */ n((e) => {
3542
+ e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && rn("LAZY_LOAD_DEPRECATED");
3543
+ }, "checkConfig"), on = /* @__PURE__ */ n(() => {
2602
3544
  let e = {};
2603
- I && (e = E(e, I));
2604
- for (let t of L) e = E(e, t);
3545
+ Ut && (e = z(e, Ut));
3546
+ for (let t of Wt) e = z(e, t);
2605
3547
  return e;
2606
- }, "getUserDefinedConfig"), Xe = /* @__PURE__ */ r((e) => (e.flowchart?.htmlLabels != null && qe("FLOWCHART_HTML_LABELS_DEPRECATED"), P(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), V = /<br\s*\/?>/gi, Ze = /* @__PURE__ */ r((e) => e ? ot(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Qe = /* @__PURE__ */ (() => {
3548
+ }, "getUserDefinedConfig"), sn = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && rn("FLOWCHART_HTML_LABELS_DEPRECATED"), q(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), cn = /^([^\S\n\r]*)-{3}\s*[\n\r](.*?)[\n\r]\1-{3}\s*[\n\r]+/s, X = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ln = /\s*%%.*\n/gm, un = class extends Error {
3549
+ static {
3550
+ n(this, "UnknownDiagramError");
3551
+ }
3552
+ constructor(e) {
3553
+ super(e), this.name = "UnknownDiagramError";
3554
+ }
3555
+ }, Z = {}, dn = /* @__PURE__ */ n(function(e, t) {
3556
+ e = e.replace(cn, "").replace(X, "").replace(ln, "\n");
3557
+ for (let [n, { detector: r }] of Object.entries(Z)) if (r(e, t)) return n;
3558
+ throw new un(`No diagram type detected matching given configuration for text: ${e}`);
3559
+ }, "detectType"), fn = /* @__PURE__ */ n((...e) => {
3560
+ for (let { id: t, detector: n, loader: r } of e) pn(t, n, r);
3561
+ }, "registerLazyLoadedDiagrams"), pn = /* @__PURE__ */ n((e, n, r) => {
3562
+ Z[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), Z[e] = {
3563
+ detector: n,
3564
+ loader: r
3565
+ }, t.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
3566
+ }, "addDetector"), mn = /* @__PURE__ */ n((e) => Z[e].loader, "getDiagramLoader"), hn = /<br\s*\/?>/gi, gn = /* @__PURE__ */ n((e) => e ? wn(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), _n = /* @__PURE__ */ (() => {
2607
3567
  let e = !1;
2608
3568
  return () => {
2609
- e ||= ($e(), !0);
3569
+ e ||= (vn(), !0);
2610
3570
  };
2611
3571
  })();
2612
- function $e() {
2613
- let t = "data-temp-href-target";
2614
- e.addHook("beforeSanitizeAttributes", (e) => {
2615
- e.tagName === "A" && e.hasAttribute("target") && e.setAttribute(t, e.getAttribute("target") ?? "");
2616
- }), e.addHook("afterSanitizeAttributes", (e) => {
2617
- e.tagName === "A" && e.hasAttribute(t) && (e.setAttribute("target", e.getAttribute(t) ?? ""), e.removeAttribute(t), e.getAttribute("target") === "_blank" && e.setAttribute("rel", "noopener"));
3572
+ function vn() {
3573
+ let e = "data-temp-href-target";
3574
+ T.addHook("beforeSanitizeAttributes", (t) => {
3575
+ t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
3576
+ }), T.addHook("afterSanitizeAttributes", (t) => {
3577
+ t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
2618
3578
  });
2619
3579
  }
2620
- r($e, "setupDompurifyHooks");
2621
- var et = /* @__PURE__ */ r((t) => (Qe(), e.sanitize(t)), "removeScript"), tt = /* @__PURE__ */ r((e, t) => {
2622
- if (Xe(t)) {
3580
+ n(vn, "setupDompurifyHooks");
3581
+ var yn = /* @__PURE__ */ n((e) => (_n(), T.sanitize(e)), "removeScript"), bn = /* @__PURE__ */ n((e, t) => {
3582
+ if (sn(t)) {
2623
3583
  let n = t.securityLevel;
2624
- n === "antiscript" || n === "strict" || n === "sandbox" ? e = et(e) : n !== "loose" && (e = ot(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = at(e));
3584
+ n === "antiscript" || n === "strict" || n === "sandbox" ? e = yn(e) : n !== "loose" && (e = wn(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = Cn(e));
2625
3585
  }
2626
3586
  return e;
2627
- }, "sanitizeMore"), H = /* @__PURE__ */ r((t, n) => t && (t = n.dompurifyConfig ? e.sanitize(tt(t, n), n.dompurifyConfig).toString() : e.sanitize(tt(t, n), { FORBID_TAGS: ["style"] }).toString(), t), "sanitizeText"), nt = /* @__PURE__ */ r((e, t) => typeof e == "string" ? H(e, t) : e.flat().map((e) => H(e, t)), "sanitizeTextOrArray"), rt = /* @__PURE__ */ r((e) => V.test(e), "hasBreaks"), it = /* @__PURE__ */ r((e) => e.split(V), "splitBreaks"), at = /* @__PURE__ */ r((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), ot = /* @__PURE__ */ r((e) => e.replace(V, "#br#"), "breakToPlaceholder"), st = /* @__PURE__ */ r((e) => {
3587
+ }, "sanitizeMore"), Q = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? T.sanitize(bn(e, t), t.dompurifyConfig).toString() : T.sanitize(bn(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), $ = /* @__PURE__ */ n((e, t) => typeof e == "string" ? Q(e, t) : e.flat().map((e) => Q(e, t)), "sanitizeTextOrArray"), xn = /* @__PURE__ */ n((e) => hn.test(e), "hasBreaks"), Sn = /* @__PURE__ */ n((e) => e.split(hn), "splitBreaks"), Cn = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), wn = /* @__PURE__ */ n((e) => e.replace(hn, "#br#"), "breakToPlaceholder"), Tn = /* @__PURE__ */ n((e) => {
2628
3588
  let t = "";
2629
3589
  return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
2630
- }, "getUrl"), ct = /* @__PURE__ */ r(function(...e) {
3590
+ }, "getUrl"), En = /* @__PURE__ */ n(function(...e) {
2631
3591
  let t = e.filter((e) => !isNaN(e));
2632
3592
  return Math.max(...t);
2633
- }, "getMax"), lt = /* @__PURE__ */ r(function(...e) {
3593
+ }, "getMax"), Dn = /* @__PURE__ */ n(function(...e) {
2634
3594
  let t = e.filter((e) => !isNaN(e));
2635
3595
  return Math.min(...t);
2636
- }, "getMin"), ut = /* @__PURE__ */ r(function(e) {
3596
+ }, "getMin"), On = /* @__PURE__ */ n(function(e) {
2637
3597
  let t = e.split(/(,)/), n = [];
2638
3598
  for (let e = 0; e < t.length; e++) {
2639
3599
  let r = t[e];
2640
3600
  if (r === "," && e > 0 && e + 1 < t.length) {
2641
3601
  let i = t[e - 1], a = t[e + 1];
2642
- dt(i, a) && (r = i + "," + a, e++, n.pop());
3602
+ An(i, a) && (r = i + "," + a, e++, n.pop());
2643
3603
  }
2644
- n.push(ft(r));
3604
+ n.push(jn(r));
2645
3605
  }
2646
3606
  return n.join("");
2647
- }, "parseGenericTypes"), U = /* @__PURE__ */ r((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), dt = /* @__PURE__ */ r((e, t) => {
2648
- let n = U(e, "~"), r = U(t, "~");
3607
+ }, "parseGenericTypes"), kn = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), An = /* @__PURE__ */ n((e, t) => {
3608
+ let n = kn(e, "~"), r = kn(t, "~");
2649
3609
  return n === 1 && r === 1;
2650
- }, "shouldCombineSets"), ft = /* @__PURE__ */ r((e) => {
2651
- let t = U(e, "~"), n = !1;
3610
+ }, "shouldCombineSets"), jn = /* @__PURE__ */ n((e) => {
3611
+ let t = kn(e, "~"), n = !1;
2652
3612
  if (t <= 1) return e;
2653
3613
  t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
2654
3614
  let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
2655
3615
  for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
2656
3616
  return n && r.unshift("~"), r.join("");
2657
- }, "processSet"), pt = /* @__PURE__ */ r(() => window.MathMLElement !== void 0, "isMathMLSupported"), W = /\$\$(.*)\$\$/g, G = /* @__PURE__ */ r((e) => (e.match(W)?.length ?? 0) > 0, "hasKatex"), mt = /* @__PURE__ */ r(async (e, t) => {
3617
+ }, "processSet"), Mn = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), Nn = /\$\$(.*?)\$\$/g, Pn = /* @__PURE__ */ n((e) => (e.match(Nn)?.length ?? 0) > 0, "hasKatex"), Fn = /* @__PURE__ */ n(async (e, t) => {
2658
3618
  let n = document.createElement("div");
2659
- n.innerHTML = await gt(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
3619
+ n.innerHTML = await Ln(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
2660
3620
  let r = {
2661
3621
  width: n.clientWidth,
2662
3622
  height: n.clientHeight
2663
3623
  };
2664
3624
  return n.remove(), r;
2665
- }, "calculateMathMLDimensions"), ht = /* @__PURE__ */ r(async (e, t) => {
2666
- if (!G(e)) return e;
2667
- if (!(pt() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(W, "MathML is unsupported in this environment.");
3625
+ }, "calculateMathMLDimensions"), In = /* @__PURE__ */ n(async (e, t) => {
3626
+ if (!Pn(e)) return e;
3627
+ if (!(Mn() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Nn, "MathML is unsupported in this environment.");
2668
3628
  {
2669
- let { default: n } = await import("./katex-D-2KeLwt.js"), r = t.forceLegacyMathML || !pt() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2670
- return e.split(V).map((e) => G(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(W, (e, t) => n.renderToString(t, {
3629
+ let { default: n } = await import("./katex-Dyoqg6Cv.js"), r = t.forceLegacyMathML || !Mn() && t.legacyMathML ? "htmlAndMathml" : "mathml";
3630
+ return e.split(hn).map((e) => Pn(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Nn, (e, t) => n.renderToString(t, {
2671
3631
  throwOnError: !0,
2672
3632
  displayMode: !0,
2673
3633
  output: r
2674
3634
  }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
2675
3635
  }
2676
- return e.replace(W, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
2677
- }, "renderKatexUnsanitized"), gt = /* @__PURE__ */ r(async (e, t) => H(await ht(e, t), t), "renderKatexSanitized"), _t = {
2678
- getRows: Ze,
2679
- sanitizeText: H,
2680
- sanitizeTextOrArray: nt,
2681
- hasBreaks: rt,
2682
- splitBreaks: it,
2683
- lineBreakRegex: V,
2684
- removeScript: et,
2685
- getUrl: st,
2686
- evaluate: P,
2687
- getMax: ct,
2688
- getMin: lt
2689
- }, vt = /* @__PURE__ */ r(function(e, t) {
3636
+ return e.replace(Nn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
3637
+ }, "renderKatexUnsanitized"), Ln = /* @__PURE__ */ n(async (e, t) => Q(await In(e, t), t), "renderKatexSanitized"), Rn = {
3638
+ getRows: gn,
3639
+ sanitizeText: Q,
3640
+ sanitizeTextOrArray: $,
3641
+ hasBreaks: xn,
3642
+ splitBreaks: Sn,
3643
+ lineBreakRegex: hn,
3644
+ removeScript: yn,
3645
+ getUrl: Tn,
3646
+ evaluate: q,
3647
+ getMax: En,
3648
+ getMin: Dn
3649
+ }, zn = /* @__PURE__ */ n(function(e, t) {
2690
3650
  for (let n of t) e.attr(n[0], n[1]);
2691
- }, "d3Attrs"), yt = /* @__PURE__ */ r(function(e, t, n) {
3651
+ }, "d3Attrs"), Bn = /* @__PURE__ */ n(function(e, t, n) {
2692
3652
  let r = /* @__PURE__ */ new Map();
2693
3653
  return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
2694
- }, "calculateSvgSizeAttrs"), bt = /* @__PURE__ */ r(function(e, t, n, r) {
2695
- vt(e, yt(t, n, r));
2696
- }, "configureSvgSize"), xt = /* @__PURE__ */ r(function(e, t, r, i) {
2697
- let a = t.node().getBBox(), o = a.width, s = a.height;
2698
- n.info(`SVG bounds: ${o}x${s}`, a);
3654
+ }, "calculateSvgSizeAttrs"), Vn = /* @__PURE__ */ n(function(e, t, n, r) {
3655
+ zn(e, Bn(t, n, r));
3656
+ }, "configureSvgSize"), Hn = /* @__PURE__ */ n(function(e, n, r, i) {
3657
+ let a = n.node().getBBox(), o = a.width, s = a.height;
3658
+ t.info(`SVG bounds: ${o}x${s}`, a);
2699
3659
  let c = 0, l = 0;
2700
- n.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, n.info(`Calculated bounds: ${c}x${l}`), bt(t, l, c, i);
3660
+ t.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, t.info(`Calculated bounds: ${c}x${l}`), Vn(n, l, c, i);
2701
3661
  let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
2702
- t.attr("viewBox", u);
2703
- }, "setupGraphViewbox"), K = {};
2704
- function St(e) {
3662
+ n.attr("viewBox", u);
3663
+ }, "setupGraphViewbox"), Un = {};
3664
+ function Wn(e) {
2705
3665
  return [...e.cssRules].map((e) => e.cssText).join("\n");
2706
3666
  }
2707
- r(St, "cssStyleSheetToString");
2708
- var Ct = /* @__PURE__ */ r((e, t, r, i) => {
3667
+ n(Wn, "cssStyleSheetToString");
3668
+ var Gn = /* @__PURE__ */ n((e, n, r, i) => {
2709
3669
  let a = "";
2710
- return e in K && K[e] ? a = K[e]({
3670
+ return e in Un && Un[e] ? a = Un[e]({
2711
3671
  ...r,
2712
3672
  svgId: i
2713
- }) : n.warn(`No theme found for ${e}`), ` & {
3673
+ }) : t.warn(`No theme found for ${e}`), `& {
2714
3674
  font-family: ${r.fontFamily};
2715
3675
  font-size: ${r.fontSize};
2716
3676
  fill: ${r.textColor}
@@ -2792,6 +3752,9 @@ var Ct = /* @__PURE__ */ r((e, t, r, i) => {
2792
3752
  stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
2793
3753
  filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
2794
3754
  }
3755
+ [data-look="neo"].swimlane.cluster rect {
3756
+ filter: none;
3757
+ }
2795
3758
 
2796
3759
 
2797
3760
  [data-look="neo"].node path {
@@ -2827,40 +3790,40 @@ var Ct = /* @__PURE__ */ r((e, t, r, i) => {
2827
3790
  filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
2828
3791
  }
2829
3792
 
2830
- ${t}
3793
+ ${n}
2831
3794
  `;
2832
- }, "getStyles"), wt = /* @__PURE__ */ r((e, t) => {
2833
- t !== void 0 && (K[e] = t);
2834
- }, "addStylesForDiagram"), Tt = Ct, q = {};
2835
- i(q, {
2836
- clear: () => Et,
2837
- getAccDescription: () => At,
2838
- getAccTitle: () => Ot,
2839
- getDiagramTitle: () => Mt,
2840
- setAccDescription: () => kt,
2841
- setAccTitle: () => Dt,
2842
- setDiagramTitle: () => jt
3795
+ }, "getStyles"), Kn = /* @__PURE__ */ n((e, t) => {
3796
+ t !== void 0 && (Un[e] = t);
3797
+ }, "addStylesForDiagram"), qn = Gn, Jn = {};
3798
+ r(Jn, {
3799
+ clear: () => $n,
3800
+ getAccDescription: () => rr,
3801
+ getAccTitle: () => tr,
3802
+ getDiagramTitle: () => ar,
3803
+ setAccDescription: () => nr,
3804
+ setAccTitle: () => er,
3805
+ setDiagramTitle: () => ir
2843
3806
  });
2844
- var J = "", Y = "", X = "", Z = /* @__PURE__ */ r((e) => H(e, B()), "sanitizeText"), Et = /* @__PURE__ */ r(() => {
2845
- J = "", X = "", Y = "";
2846
- }, "clear"), Dt = /* @__PURE__ */ r((e) => {
2847
- J = Z(e).replace(/^\s+/g, "");
2848
- }, "setAccTitle"), Ot = /* @__PURE__ */ r(() => J, "getAccTitle"), kt = /* @__PURE__ */ r((e) => {
2849
- X = Z(e).replace(/\n\s+/g, "\n");
2850
- }, "setAccDescription"), At = /* @__PURE__ */ r(() => X, "getAccDescription"), jt = /* @__PURE__ */ r((e) => {
2851
- Y = Z(e);
2852
- }, "setDiagramTitle"), Mt = /* @__PURE__ */ r(() => Y, "getDiagramTitle"), Nt = n, Pt = t, Q = B, Ft = Ve, It = N, Lt = /* @__PURE__ */ r((e) => H(e, Q()), "sanitizeText"), Rt = xt, zt = /* @__PURE__ */ r(() => q, "getCommonDb"), $ = {}, Bt = /* @__PURE__ */ r((e, t, n) => {
2853
- $[e] && Nt.warn(`Diagram with id ${e} already registered. Overwriting.`), $[e] = t, n && le(e, n), wt(e, t.styles), t.injectUtils?.(Nt, Pt, Q, Lt, Rt, zt(), () => {});
2854
- }, "registerDiagram"), Vt = /* @__PURE__ */ r((e) => {
2855
- if (e in $) return $[e];
2856
- throw new Ht(e);
2857
- }, "getDiagram"), Ht = class extends Error {
3807
+ var Yn = "", Xn = "", Zn = "", Qn = /* @__PURE__ */ n((e) => Q(e, Y()), "sanitizeText"), $n = /* @__PURE__ */ n(() => {
3808
+ Yn = "", Zn = "", Xn = "";
3809
+ }, "clear"), er = /* @__PURE__ */ n((e) => {
3810
+ Yn = Qn(e).replace(/^\s+/g, "");
3811
+ }, "setAccTitle"), tr = /* @__PURE__ */ n(() => Yn, "getAccTitle"), nr = /* @__PURE__ */ n((e) => {
3812
+ Zn = Qn(e).replace(/\n\s+/g, "\n");
3813
+ }, "setAccDescription"), rr = /* @__PURE__ */ n(() => Zn, "getAccDescription"), ir = /* @__PURE__ */ n((e) => {
3814
+ Xn = Qn(e);
3815
+ }, "setDiagramTitle"), ar = /* @__PURE__ */ n(() => Xn, "getDiagramTitle"), or = t, sr = e, cr = Y, lr = Zt, ur = K, dr = /* @__PURE__ */ n((e) => Q(e, cr()), "sanitizeText"), fr = Hn, pr = /* @__PURE__ */ n(() => Jn, "getCommonDb"), mr = {}, hr = /* @__PURE__ */ n((e, t, n) => {
3816
+ mr[e] && or.warn(`Diagram with id ${e} already registered. Overwriting.`), mr[e] = t, n && pn(e, n), Kn(e, t.styles), t.injectUtils?.(or, sr, cr, dr, fr, pr(), () => {});
3817
+ }, "registerDiagram"), gr = /* @__PURE__ */ n((e) => {
3818
+ if (e in mr) return mr[e];
3819
+ throw new _r(e);
3820
+ }, "getDiagram"), _r = class extends Error {
2858
3821
  static {
2859
- r(this, "DiagramNotFoundError");
3822
+ n(this, "DiagramNotFoundError");
2860
3823
  }
2861
3824
  constructor(e) {
2862
3825
  super(`Diagram ${e} not found.`);
2863
3826
  }
2864
3827
  };
2865
3828
  //#endregion
2866
- export { x as $, G as A, Lt as B, ue as C, ge as D, Be as E, gt as F, Ft as G, kt as H, We as I, xt as J, jt as K, Ie as L, ut as M, Bt as N, st as O, ce as P, ze as Q, M as R, Vt as S, Xe as T, Dt as U, Re as V, Ve as W, Tt as X, Rt as Y, A as Z, re as _, Et as a, o as at, B as b, bt as c, It as d, b as et, Fe as f, P as g, ie as h, mt as i, h as it, V as j, Ye as k, St as l, w as m, Ue as n, v as nt, q as o, se as p, Le as q, E as r, _ as rt, _t as s, oe as t, y as tt, N as u, At as v, Mt as w, Q as x, Ot as y, H as z };
3829
+ export { F as $, Pn as A, dr as B, mn as C, bt as D, Xt as E, Ln as F, lr as G, nr as H, en as I, Hn as J, ir as K, Ht as L, On as M, hr as N, Tn as O, fn as P, Yt as Q, Vt as R, gr as S, sn as T, er as U, Jt as V, Zt as W, qn as X, fr as Y, W as Z, cn as _, $n as a, E as at, Y as b, Vn as c, ur as d, P as et, Rt as f, q as g, X as h, Fn as i, j as it, hn as j, on as k, Wn as l, Z as m, $t as n, N as nt, Jn as o, T as ot, dn as p, qt as q, z as r, M as rt, Rn as s, un as t, pt as tt, K as u, rr as v, ar as w, cr as x, tr as y, Q as z };