@plumile/ui 0.1.116 → 0.1.117

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 (210) hide show
  1. package/lib/esm/atomic/molecules/markdown/components/MarkdownDelete.css.js +1 -0
  2. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableCell.css.js +0 -1
  3. package/lib/esm/node_modules/dagre-d3-es/src/dagre/layout.js +49 -49
  4. package/lib/esm/node_modules/dagre-d3-es/src/dagre/position/bk.js +69 -69
  5. package/lib/esm/node_modules/es-toolkit/dist/_internal/globalThis.js +8 -0
  6. package/lib/esm/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -0
  7. package/lib/esm/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +8 -0
  8. package/lib/esm/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -0
  9. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +8 -0
  10. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -0
  11. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getTag.js +8 -0
  12. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -0
  13. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +9 -0
  14. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js.map +1 -0
  15. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/tags.js +6 -0
  16. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -0
  17. package/lib/esm/node_modules/es-toolkit/dist/compat/function/memoize.js +16 -0
  18. package/lib/esm/node_modules/es-toolkit/dist/compat/function/memoize.js.map +1 -0
  19. package/lib/esm/node_modules/es-toolkit/dist/compat/object/clone.js +101 -0
  20. package/lib/esm/node_modules/es-toolkit/dist/compat/object/clone.js.map +1 -0
  21. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +9 -0
  22. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -0
  23. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +33 -0
  24. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -0
  25. package/lib/esm/node_modules/es-toolkit/dist/compat/object/merge.js +10 -0
  26. package/lib/esm/node_modules/es-toolkit/dist/compat/object/merge.js.map +1 -0
  27. package/lib/esm/node_modules/es-toolkit/dist/compat/object/mergeWith.js +53 -0
  28. package/lib/esm/node_modules/es-toolkit/dist/compat/object/mergeWith.js.map +1 -0
  29. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +9 -0
  30. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -0
  31. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArray.js +8 -0
  32. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArray.js.map +1 -0
  33. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +9 -0
  34. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -0
  35. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +10 -0
  36. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js.map +1 -0
  37. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js +20 -0
  38. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js.map +1 -0
  39. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +8 -0
  40. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js.map +1 -0
  41. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +16 -0
  42. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js.map +1 -0
  43. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +9 -0
  44. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js.map +1 -0
  45. package/lib/esm/node_modules/es-toolkit/dist/function/noop.js +6 -0
  46. package/lib/esm/node_modules/es-toolkit/dist/function/noop.js.map +1 -0
  47. package/lib/esm/node_modules/es-toolkit/dist/object/clone.js +28 -0
  48. package/lib/esm/node_modules/es-toolkit/dist/object/clone.js.map +1 -0
  49. package/lib/esm/node_modules/es-toolkit/dist/object/cloneDeepWith.js +118 -0
  50. package/lib/esm/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -0
  51. package/lib/esm/node_modules/es-toolkit/dist/predicate/isBuffer.js +9 -0
  52. package/lib/esm/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -0
  53. package/lib/esm/node_modules/es-toolkit/dist/predicate/isLength.js +8 -0
  54. package/lib/esm/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -0
  55. package/lib/esm/node_modules/es-toolkit/dist/predicate/isPrimitive.js +8 -0
  56. package/lib/esm/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -0
  57. package/lib/esm/node_modules/es-toolkit/dist/predicate/isTypedArray.js +8 -0
  58. package/lib/esm/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -0
  59. package/lib/esm/node_modules/lodash-es/_arrayLikeKeys.js +8 -8
  60. package/lib/esm/node_modules/lodash-es/_assignMergeValue.js +3 -3
  61. package/lib/esm/node_modules/lodash-es/_assignValue.js +3 -3
  62. package/lib/esm/node_modules/lodash-es/_baseClone.js +31 -31
  63. package/lib/esm/node_modules/lodash-es/_baseForOwn.js +3 -3
  64. package/lib/esm/node_modules/lodash-es/_baseIsEqualDeep.js +10 -10
  65. package/lib/esm/node_modules/lodash-es/_baseMerge.js +9 -9
  66. package/lib/esm/node_modules/lodash-es/_baseMergeDeep.js +17 -17
  67. package/lib/esm/node_modules/lodash-es/_baseOrderBy.js +11 -11
  68. package/lib/esm/node_modules/lodash-es/_baseRest.js +3 -3
  69. package/lib/esm/node_modules/lodash-es/_baseSet.js +4 -4
  70. package/lib/esm/node_modules/lodash-es/_baseSetToString.js +7 -7
  71. package/lib/esm/node_modules/lodash-es/_baseToString.js +5 -5
  72. package/lib/esm/node_modules/lodash-es/_createRange.js +3 -3
  73. package/lib/esm/node_modules/lodash-es/_createSet.js +5 -5
  74. package/lib/esm/node_modules/lodash-es/_flatRest.js +3 -3
  75. package/lib/esm/node_modules/lodash-es/_getSymbolsIn.js +7 -7
  76. package/lib/esm/node_modules/lodash-es/_getTag.js +7 -7
  77. package/lib/esm/node_modules/lodash-es/_hasPath.js +4 -4
  78. package/lib/esm/node_modules/lodash-es/_initCloneByTag.js +8 -8
  79. package/lib/esm/node_modules/lodash-es/_initCloneObject.js +3 -3
  80. package/lib/esm/node_modules/lodash-es/_isFlattenable.js +3 -3
  81. package/lib/esm/node_modules/lodash-es/_isIterateeCall.js +4 -4
  82. package/lib/esm/node_modules/lodash-es/_isKey.js +4 -4
  83. package/lib/esm/node_modules/lodash-es/_setToString.js +3 -3
  84. package/lib/esm/node_modules/lodash-es/defaults.js +9 -9
  85. package/lib/esm/node_modules/lodash-es/forIn.js +3 -3
  86. package/lib/esm/node_modules/lodash-es/isEmpty.js +6 -6
  87. package/lib/esm/node_modules/lodash-es/isPlainObject.js +4 -4
  88. package/lib/esm/node_modules/lodash-es/map.js +3 -3
  89. package/lib/esm/node_modules/lodash-es/merge.js +4 -4
  90. package/lib/esm/node_modules/lodash-es/toNumber.js +7 -7
  91. package/lib/esm/node_modules/lodash-es/union.js +5 -5
  92. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{architectureDiagram-Q4EWVU46.js → architectureDiagram-3BPJPVTR.js} +14 -12
  93. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{architectureDiagram-Q4EWVU46.js.map → architectureDiagram-3BPJPVTR.js.map} +1 -1
  94. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{blockDiagram-DXYQGD6D.js → blockDiagram-GPEHLZMM.js} +453 -428
  95. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-GPEHLZMM.js.map +1 -0
  96. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-AHTNJAMY.js → c4Diagram-AAUBKEIU.js} +5 -5
  97. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-AHTNJAMY.js.map → c4Diagram-AAUBKEIU.js.map} +1 -1
  98. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-EDXVE4YY.js → chunk-2J33WTMH.js} +3 -3
  99. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-EDXVE4YY.js.map → chunk-2J33WTMH.js.map} +1 -1
  100. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-5FUZZQ4R.js → chunk-3OPIFGDE.js} +290 -262
  101. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3OPIFGDE.js.map +1 -0
  102. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-5PVQY5BW.js → chunk-5ZQYHXKU.js} +6 -6
  103. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5ZQYHXKU.js.map +1 -0
  104. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-4TB4RGXK.js → chunk-727SXJPM.js} +487 -391
  105. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-727SXJPM.js.map +1 -0
  106. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-OYMX7WX6.js → chunk-AQP2D5EJ.js} +157 -147
  107. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AQP2D5EJ.js.map +1 -0
  108. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ICPOFSXX.js → chunk-CSCIHK7Q.js} +193 -99
  109. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CSCIHK7Q.js.map +1 -0
  110. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ENJZ2VHE.js → chunk-KSCS5N6A.js} +14 -14
  111. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-KSCS5N6A.js.map +1 -0
  112. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ZZ45TVLE.js → chunk-L5ZTLDWV.js} +4 -4
  113. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ZZ45TVLE.js.map → chunk-L5ZTLDWV.js.map} +1 -1
  114. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-336JU56O.js → chunk-LZXEDZCA.js} +7 -7
  115. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-336JU56O.js.map → chunk-LZXEDZCA.js.map} +1 -1
  116. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-YZCP3GAM.js → chunk-ND2GUHAM.js} +3 -3
  117. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-YZCP3GAM.js.map → chunk-ND2GUHAM.js.map} +1 -1
  118. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-X2U36JSP.js → chunk-NZK2D7GU.js} +3 -3
  119. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-X2U36JSP.js.map → chunk-NZK2D7GU.js.map} +1 -1
  120. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-U2HBQHQK.js → chunk-O5CBEL6O.js} +4 -4
  121. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-U2HBQHQK.js.map → chunk-O5CBEL6O.js.map} +1 -1
  122. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-426QAEUC.js → chunk-WU5MYG2G.js} +3 -3
  123. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-426QAEUC.js.map → chunk-WU5MYG2G.js.map} +1 -1
  124. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-6PBFFD2Q.js → classDiagram-4FO5ZUOK.js} +13 -13
  125. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-6PBFFD2Q.js.map → classDiagram-4FO5ZUOK.js.map} +1 -1
  126. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-v2-HSJHXN6E.js → classDiagram-v2-Q7XG4LA2.js} +13 -13
  127. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-v2-HSJHXN6E.js.map → classDiagram-v2-Q7XG4LA2.js.map} +1 -1
  128. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{dagre-KV5264BT.js → dagre-BM42HDAG.js} +10 -10
  129. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{dagre-KV5264BT.js.map → dagre-BM42HDAG.js.map} +1 -1
  130. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-MMDJMWI5.js → diagram-2AECGRRQ.js} +5 -5
  131. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-MMDJMWI5.js.map → diagram-2AECGRRQ.js.map} +1 -1
  132. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-5BDNPKRD.js → diagram-5GNKFQAL.js} +5 -5
  133. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-5BDNPKRD.js.map → diagram-5GNKFQAL.js.map} +1 -1
  134. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/diagram-KO2AKTUF.js +435 -0
  135. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/diagram-KO2AKTUF.js.map +1 -0
  136. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-TYMM5635.js → diagram-LMA3HP47.js} +5 -5
  137. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-TYMM5635.js.map → diagram-LMA3HP47.js.map} +1 -1
  138. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-G4DWMVQ6.js → diagram-OG6HWLK6.js} +7 -7
  139. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-G4DWMVQ6.js.map → diagram-OG6HWLK6.js.map} +1 -1
  140. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-SMLLAGMA.js → erDiagram-TEJ5UH35.js} +11 -11
  141. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-SMLLAGMA.js.map → erDiagram-TEJ5UH35.js.map} +1 -1
  142. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-DWJPFMVM.js → flowDiagram-I6XJVG4X.js} +12 -12
  143. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-DWJPFMVM.js.map → flowDiagram-I6XJVG4X.js.map} +1 -1
  144. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{ganttDiagram-T4ZO3ILL.js → ganttDiagram-6RSMTGT7.js} +9 -6
  145. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-6RSMTGT7.js.map +1 -0
  146. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{gitGraphDiagram-UUTBAWPF.js → gitGraphDiagram-PVQCEYII.js} +4 -4
  147. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{gitGraphDiagram-UUTBAWPF.js.map → gitGraphDiagram-PVQCEYII.js.map} +1 -1
  148. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{infoDiagram-42DDH7IO.js → infoDiagram-5YYISTIA.js} +5 -5
  149. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{infoDiagram-42DDH7IO.js.map → infoDiagram-5YYISTIA.js.map} +1 -1
  150. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{ishikawaDiagram-UXIWVN3A.js → ishikawaDiagram-YF4QCWOH.js} +5 -5
  151. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{ishikawaDiagram-UXIWVN3A.js.map → ishikawaDiagram-YF4QCWOH.js.map} +1 -1
  152. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{journeyDiagram-VCZTEJTY.js → journeyDiagram-JHISSGLW.js} +4 -4
  153. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{journeyDiagram-VCZTEJTY.js.map → journeyDiagram-JHISSGLW.js.map} +1 -1
  154. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-6JOO6SKY.js → kanban-definition-UN3LZRKU.js} +9 -9
  155. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-6JOO6SKY.js.map → kanban-definition-UN3LZRKU.js.map} +1 -1
  156. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-QFDTVHPH.js → mindmap-definition-RKZ34NQL.js} +12 -12
  157. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-QFDTVHPH.js.map → mindmap-definition-RKZ34NQL.js.map} +1 -1
  158. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{pieDiagram-DEJITSTG.js → pieDiagram-4H26LBE5.js} +5 -5
  159. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{pieDiagram-DEJITSTG.js.map → pieDiagram-4H26LBE5.js.map} +1 -1
  160. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-34T5L4WZ.js → quadrantDiagram-W4KKPZXB.js} +316 -289
  161. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-W4KKPZXB.js.map +1 -0
  162. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-MS252O5E.js → requirementDiagram-4Y6WPE33.js} +11 -11
  163. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-MS252O5E.js.map → requirementDiagram-4Y6WPE33.js.map} +1 -1
  164. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{sankeyDiagram-XADWPNL6.js → sankeyDiagram-5OEKKPKP.js} +80 -31
  165. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{sankeyDiagram-XADWPNL6.js.map → sankeyDiagram-5OEKKPKP.js.map} +1 -1
  166. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{sequenceDiagram-FGHM5R23.js → sequenceDiagram-3UESZ5HK.js} +17 -10
  167. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-3UESZ5HK.js.map +1 -0
  168. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-FHFEXIEX.js → stateDiagram-AJRCARHV.js} +12 -12
  169. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-FHFEXIEX.js.map → stateDiagram-AJRCARHV.js.map} +1 -1
  170. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-v2-QKLJ7IA2.js → stateDiagram-v2-BHNVJYJU.js} +12 -12
  171. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-v2-QKLJ7IA2.js.map → stateDiagram-v2-BHNVJYJU.js.map} +1 -1
  172. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{timeline-definition-GMOUNBTQ.js → timeline-definition-PNZ67QCA.js} +5 -5
  173. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{timeline-definition-GMOUNBTQ.js.map → timeline-definition-PNZ67QCA.js.map} +1 -1
  174. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{vennDiagram-DHZGUBPP.js → vennDiagram-CIIHVFJN.js} +5 -5
  175. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{vennDiagram-DHZGUBPP.js.map → vennDiagram-CIIHVFJN.js.map} +1 -1
  176. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{wardleyDiagram-NUSXRM2D.js → wardleyDiagram-YWT4CUSO.js} +188 -122
  177. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-YWT4CUSO.js.map +1 -0
  178. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{xychartDiagram-5P7HB3ND.js → xychartDiagram-2RQKCTM6.js} +6 -6
  179. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{xychartDiagram-5P7HB3ND.js.map → xychartDiagram-2RQKCTM6.js.map} +1 -1
  180. package/lib/esm/node_modules/mermaid/dist/mermaid.core.js +308 -281
  181. package/lib/esm/node_modules/mermaid/dist/mermaid.core.js.map +1 -1
  182. package/lib/esm/node_modules/stylis/src/Enum.js +2 -2
  183. package/lib/esm/node_modules/stylis/src/Enum.js.map +1 -1
  184. package/lib/esm/node_modules/stylis/src/Middleware.js +13 -0
  185. package/lib/esm/node_modules/stylis/src/Middleware.js.map +1 -0
  186. package/lib/esm/node_modules/uuid/dist/rng.js +9 -0
  187. package/lib/esm/node_modules/uuid/dist/rng.js.map +1 -0
  188. package/lib/esm/node_modules/uuid/dist/{esm-browser/stringify.js → stringify.js} +1 -1
  189. package/lib/esm/node_modules/uuid/dist/stringify.js.map +1 -0
  190. package/lib/esm/node_modules/uuid/dist/v4.js +21 -0
  191. package/lib/esm/node_modules/uuid/dist/v4.js.map +1 -0
  192. package/package.json +6 -6
  193. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js.map +0 -1
  194. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js.map +0 -1
  195. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js.map +0 -1
  196. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js.map +0 -1
  197. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js.map +0 -1
  198. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js.map +0 -1
  199. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js.map +0 -1
  200. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js.map +0 -1
  201. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js.map +0 -1
  202. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js.map +0 -1
  203. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js.map +0 -1
  204. package/lib/esm/node_modules/uuid/dist/esm-browser/native.js +0 -5
  205. package/lib/esm/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  206. package/lib/esm/node_modules/uuid/dist/esm-browser/rng.js +0 -13
  207. package/lib/esm/node_modules/uuid/dist/esm-browser/rng.js.map +0 -1
  208. package/lib/esm/node_modules/uuid/dist/esm-browser/stringify.js.map +0 -1
  209. package/lib/esm/node_modules/uuid/dist/esm-browser/v4.js +0 -20
  210. package/lib/esm/node_modules/uuid/dist/esm-browser/v4.js.map +0 -1
@@ -6,7 +6,7 @@ import s from "../../../../khroma/dist/methods/darken.js";
6
6
  import c from "../../../../khroma/dist/methods/adjust.js";
7
7
  import l from "../../../../khroma/dist/methods/invert.js";
8
8
  import { purify as u } from "../../../../dompurify/dist/purify.es.js";
9
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.mjs
9
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-CSCIHK7Q.mjs
10
10
  var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ee = /\s*%%.*\n/gm, p = class extends Error {
11
11
  static {
12
12
  t(this, "UnknownDiagramError");
@@ -118,6 +118,19 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
118
118
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
119
119
  legendBoxSize: this.radar?.legendBoxSize || 12,
120
120
  legendFontSize: this.radar?.legendFontSize || 12
121
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
122
+ backgroundColor: this.wardley?.backgroundColor || this.background,
123
+ axisColor: this.wardley?.axisColor || this.lineColor,
124
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
125
+ gridColor: this.wardley?.gridColor || this.gridColor,
126
+ componentFill: this.wardley?.componentFill || this.background,
127
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
128
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
129
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
130
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
131
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
132
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
133
+ annotationFill: this.wardley?.annotationFill || this.background
121
134
  }, 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 || c(this.primaryColor, {
122
135
  r: 5,
123
136
  g: 5,
@@ -155,7 +168,7 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
155
168
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
156
169
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
157
170
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
158
- }, 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 ? s(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 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(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 || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
171
+ }, 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 ? s(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 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(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 || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
159
172
  }
160
173
  calculate(e) {
161
174
  if (typeof e != "object") {
@@ -252,7 +265,20 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
252
265
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
253
266
  legendBoxSize: this.radar?.legendBoxSize || 12,
254
267
  legendFontSize: this.radar?.legendFontSize || 12
255
- }, 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 ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = o(this.secondaryColor, 20), this.git1 = o(this.pie2 || this.secondaryColor, 20), this.git2 = o(this.pie3 || this.tertiaryColor, 20), this.git3 = o(this.pie4 || c(this.primaryColor, { h: -30 }), 20), this.git4 = o(this.pie5 || c(this.primaryColor, { h: -60 }), 20), this.git5 = o(this.pie6 || c(this.primaryColor, { h: -90 }), 10), this.git6 = o(this.pie7 || c(this.primaryColor, { h: 60 }), 10), this.git7 = o(this.pie8 || c(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || o(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || o(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
268
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#ff6b6b", this.wardley = {
269
+ backgroundColor: this.wardley?.backgroundColor || this.background,
270
+ axisColor: this.wardley?.axisColor || this.lineColor,
271
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
272
+ gridColor: this.wardley?.gridColor || this.gridColor,
273
+ componentFill: this.wardley?.componentFill || this.mainBkg,
274
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
275
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
276
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
277
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
278
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
279
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
280
+ annotationFill: this.wardley?.annotationFill || this.mainBkg
281
+ }, 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 ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = o(this.secondaryColor, 20), this.git1 = o(this.pie2 || this.secondaryColor, 20), this.git2 = o(this.pie3 || this.tertiaryColor, 20), this.git3 = o(this.pie4 || c(this.primaryColor, { h: -30 }), 20), this.git4 = o(this.pie5 || c(this.primaryColor, { h: -60 }), 20), this.git5 = o(this.pie6 || c(this.primaryColor, { h: -90 }), 10), this.git6 = o(this.pie7 || c(this.primaryColor, { h: 60 }), 10), this.git7 = o(this.pie8 || c(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 || o("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || o("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || o("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || o("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || o(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || o(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || o(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || o(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
256
282
  }
257
283
  calculate(e) {
258
284
  if (typeof e != "object") {
@@ -359,6 +385,19 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
359
385
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
360
386
  legendBoxSize: this.radar?.legendBoxSize || 12,
361
387
  legendFontSize: this.radar?.legendFontSize || 12
388
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
389
+ backgroundColor: this.wardley?.backgroundColor || this.background,
390
+ axisColor: this.wardley?.axisColor || this.lineColor,
391
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
392
+ gridColor: this.wardley?.gridColor || this.gridColor,
393
+ componentFill: this.wardley?.componentFill || this.background,
394
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
395
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
396
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
397
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
398
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
399
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
400
+ annotationFill: this.wardley?.annotationFill || this.background
362
401
  }, this.xyChart = {
363
402
  backgroundColor: this.xyChart?.backgroundColor || this.background,
364
403
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
@@ -372,7 +411,7 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
372
411
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
373
412
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
374
413
  plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
375
- }, 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 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || s(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
414
+ }, 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 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || s(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 || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
376
415
  }
377
416
  calculate(e) {
378
417
  if (Object.keys(this).forEach((e) => {
@@ -491,6 +530,19 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
491
530
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
492
531
  legendBoxSize: this.radar?.legendBoxSize || 12,
493
532
  legendFontSize: this.radar?.legendFontSize || 12
533
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
534
+ backgroundColor: this.wardley?.backgroundColor || this.background,
535
+ axisColor: this.wardley?.axisColor || this.lineColor,
536
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
537
+ gridColor: this.wardley?.gridColor || this.gridColor,
538
+ componentFill: this.wardley?.componentFill || this.background,
539
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
540
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
541
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
542
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
543
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
544
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
545
+ annotationFill: this.wardley?.annotationFill || this.background
494
546
  }, this.xyChart = {
495
547
  backgroundColor: this.xyChart?.backgroundColor || this.background,
496
548
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
@@ -504,7 +556,7 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
504
556
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
505
557
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
506
558
  plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
507
- }, 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 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
559
+ }, 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 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(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 || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
508
560
  }
509
561
  calculate(e) {
510
562
  if (typeof e != "object") {
@@ -587,7 +639,20 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
587
639
  graticuleOpacity: this.radar?.graticuleOpacity || .3,
588
640
  legendBoxSize: this.radar?.legendBoxSize || 12,
589
641
  legendFontSize: this.radar?.legendFontSize || 12
590
- }, 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 = s(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || c(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || c(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || c(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || c(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || c(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
642
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
643
+ backgroundColor: this.wardley?.backgroundColor || this.background,
644
+ axisColor: this.wardley?.axisColor || this.lineColor,
645
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
646
+ gridColor: this.wardley?.gridColor || this.gridColor,
647
+ componentFill: this.wardley?.componentFill || this.background,
648
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
649
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
650
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
651
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
652
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
653
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
654
+ annotationFill: this.wardley?.annotationFill || this.background
655
+ }, 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 = s(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || c(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || c(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || c(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || c(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || c(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 || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
591
656
  }
592
657
  calculate(e) {
593
658
  if (typeof e != "object") {
@@ -1387,7 +1452,8 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
1387
1452
  textHeight: 10,
1388
1453
  defaultRenderer: "dagre-wrapper",
1389
1454
  htmlLabels: !1,
1390
- hideEmptyMembersBox: !1
1455
+ hideEmptyMembersBox: !1,
1456
+ hierarchicalNamespaces: !0
1391
1457
  },
1392
1458
  state: {
1393
1459
  useMaxWidth: !0,
@@ -1702,7 +1768,10 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
1702
1768
  nodeAlignment: "justify",
1703
1769
  showValues: !0,
1704
1770
  prefix: "",
1705
- suffix: ""
1771
+ suffix: "",
1772
+ nodeWidth: 10,
1773
+ nodePadding: 12,
1774
+ labelStyle: "legacy"
1706
1775
  },
1707
1776
  block: {
1708
1777
  useMaxWidth: !0,
@@ -1729,7 +1798,16 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
1729
1798
  padding: 40,
1730
1799
  iconSize: 80,
1731
1800
  fontSize: 16,
1732
- randomize: !1
1801
+ randomize: !1,
1802
+ nodeSeparation: 75,
1803
+ idealEdgeLengthMultiplier: 1.5,
1804
+ edgeElasticity: .45,
1805
+ numIter: 2500
1806
+ },
1807
+ eventmodeling: {
1808
+ useMaxWidth: !0,
1809
+ padding: 30,
1810
+ rowHeight: 32
1733
1811
  },
1734
1812
  radar: {
1735
1813
  useMaxWidth: !0,
@@ -1811,7 +1889,10 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
1811
1889
  };
1812
1890
  }, "actorFont")
1813
1891
  },
1814
- class: { hideEmptyMembersBox: !1 },
1892
+ class: {
1893
+ hideEmptyMembersBox: !1,
1894
+ hierarchicalNamespaces: !0
1895
+ },
1815
1896
  gantt: {
1816
1897
  ...S.gantt,
1817
1898
  tickInterval: void 0,
@@ -1992,12 +2073,17 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
1992
2073
  useWidth: void 0
1993
2074
  },
1994
2075
  packet: { ...S.packet },
2076
+ eventmodeling: { ...S.eventmodeling },
1995
2077
  treeView: {
1996
2078
  ...S.treeView,
1997
2079
  useWidth: void 0
1998
2080
  },
1999
2081
  radar: { ...S.radar },
2000
2082
  ishikawa: { ...S.ishikawa },
2083
+ sankey: {
2084
+ ...S.sankey,
2085
+ nodeColors: void 0
2086
+ },
2001
2087
  treemap: {
2002
2088
  useMaxWidth: !0,
2003
2089
  padding: 10,
@@ -2027,14 +2113,17 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
2027
2113
  continue;
2028
2114
  }
2029
2115
  if (typeof e[t] == "object") {
2030
- n.debug("sanitizing object", t), E(e[t]);
2116
+ if (t === "nodeColors") {
2117
+ let r = /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i;
2118
+ 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]);
2119
+ } else n.debug("sanitizing object", t), E(e[t]);
2031
2120
  continue;
2032
2121
  }
2033
2122
  for (let r of [
2034
2123
  "themeCSS",
2035
2124
  "fontFamily",
2036
2125
  "altFontFamily"
2037
- ]) t.includes(r) && (n.debug("sanitizing css option", t), e[t] = Ee(e[t]));
2126
+ ]) t.includes(r) && (n.debug("sanitizing css option", t), e[t] = D(e[t]));
2038
2127
  }
2039
2128
  if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
2040
2129
  let n = e.themeVariables[t];
@@ -2042,61 +2131,61 @@ var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\
2042
2131
  }
2043
2132
  n.debug("After sanitization", e);
2044
2133
  }
2045
- }, "sanitizeDirective"), Ee = /* @__PURE__ */ t((e) => {
2134
+ }, "sanitizeDirective"), D = /* @__PURE__ */ t((e) => {
2046
2135
  let t = 0, n = 0;
2047
2136
  for (let r of e) {
2048
2137
  if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
2049
2138
  r === "{" ? t++ : r === "}" && n++;
2050
2139
  }
2051
2140
  return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
2052
- }, "sanitizeCss"), D = Object.freeze(T), O = /* @__PURE__ */ t((e) => !(e === !1 || [
2141
+ }, "sanitizeCss"), O = Object.freeze(T), k = /* @__PURE__ */ t((e) => !(e === !1 || [
2053
2142
  "false",
2054
2143
  "null",
2055
2144
  "0"
2056
- ].includes(String(e).trim().toLowerCase())), "evaluate"), k = _({}, D), A, j = [], M = _({}, D), N = /* @__PURE__ */ t((e, t) => {
2145
+ ].includes(String(e).trim().toLowerCase())), "evaluate"), A = _({}, O), j, M = [], N = _({}, O), P = /* @__PURE__ */ t((e, t) => {
2057
2146
  let n = _({}, e), r = {};
2058
- for (let e of t) I(e), r = _(r, e);
2147
+ for (let e of t) L(e), r = _(r, e);
2059
2148
  if (n = _(n, r), r.theme && r.theme in x) {
2060
- let e = _(_({}, A).themeVariables || {}, r.themeVariables);
2149
+ let e = _(_({}, j).themeVariables || {}, r.themeVariables);
2061
2150
  n.theme && n.theme in x && (n.themeVariables = x[n.theme].getThemeVariables(e));
2062
2151
  }
2063
- return M = n, Pe(M), M;
2064
- }, "updateCurrentConfig"), De = /* @__PURE__ */ t((e) => (k = _({}, D), k = _(k, e), e.theme && x[e.theme] && (k.themeVariables = x[e.theme].getThemeVariables(e.themeVariables)), N(k, j), k), "setSiteConfig"), Oe = /* @__PURE__ */ t((e) => {
2065
- A = _({}, e);
2066
- }, "saveConfigFromInitialize"), ke = /* @__PURE__ */ t((e) => (k = _(k, e), N(k, j), k), "updateSiteConfig"), Ae = /* @__PURE__ */ t(() => _({}, k), "getSiteConfig"), P = /* @__PURE__ */ t((e) => (Pe(e), _(M, e), F()), "setConfig"), F = /* @__PURE__ */ t(() => _({}, M), "getConfig"), I = /* @__PURE__ */ t((e) => {
2067
- e && (["secure", ...k.secure ?? []].forEach((t) => {
2152
+ return N = n, Ne(N), N;
2153
+ }, "updateCurrentConfig"), Ee = /* @__PURE__ */ t((e) => (A = _({}, O), A = _(A, e), e.theme && x[e.theme] && (A.themeVariables = x[e.theme].getThemeVariables(e.themeVariables)), P(A, M), A), "setSiteConfig"), De = /* @__PURE__ */ t((e) => {
2154
+ j = _({}, e);
2155
+ }, "saveConfigFromInitialize"), Oe = /* @__PURE__ */ t((e) => (A = _(A, e), P(A, M), A), "updateSiteConfig"), ke = /* @__PURE__ */ t(() => _({}, A), "getSiteConfig"), F = /* @__PURE__ */ t((e) => (Ne(e), _(N, e), I()), "setConfig"), I = /* @__PURE__ */ t(() => _({}, N), "getConfig"), L = /* @__PURE__ */ t((e) => {
2156
+ e && (["secure", ...A.secure ?? []].forEach((t) => {
2068
2157
  Object.hasOwn(e, t) && (n.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
2069
2158
  }), Object.keys(e).forEach((t) => {
2070
2159
  t.startsWith("__") && delete e[t];
2071
2160
  }), Object.keys(e).forEach((t) => {
2072
- typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && I(e[t]);
2161
+ typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && L(e[t]);
2073
2162
  }));
2074
- }, "sanitize"), je = /* @__PURE__ */ t((e) => {
2163
+ }, "sanitize"), Ae = /* @__PURE__ */ t((e) => {
2075
2164
  E(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
2076
2165
  ...e.themeVariables,
2077
2166
  fontFamily: e.fontFamily
2078
- }), j.push(e), N(k, j);
2079
- }, "addDirective"), Me = /* @__PURE__ */ t((e = k) => {
2080
- j = [], N(e, j);
2081
- }, "reset"), Ne = {
2167
+ }), M.push(e), P(A, M);
2168
+ }, "addDirective"), je = /* @__PURE__ */ t((e = A) => {
2169
+ M = [], P(e, M);
2170
+ }, "reset"), Me = {
2082
2171
  LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
2083
2172
  FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
2084
- }, L = {}, R = /* @__PURE__ */ t((e) => {
2085
- L[e] || (n.warn(Ne[e]), L[e] = !0);
2086
- }, "issueWarning"), Pe = /* @__PURE__ */ t((e) => {
2087
- e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && R("LAZY_LOAD_DEPRECATED");
2088
- }, "checkConfig"), Fe = /* @__PURE__ */ t(() => {
2173
+ }, R = {}, z = /* @__PURE__ */ t((e) => {
2174
+ R[e] || (n.warn(Me[e]), R[e] = !0);
2175
+ }, "issueWarning"), Ne = /* @__PURE__ */ t((e) => {
2176
+ e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && z("LAZY_LOAD_DEPRECATED");
2177
+ }, "checkConfig"), Pe = /* @__PURE__ */ t(() => {
2089
2178
  let e = {};
2090
- A && (e = _(e, A));
2091
- for (let t of j) e = _(e, t);
2179
+ j && (e = _(e, j));
2180
+ for (let t of M) e = _(e, t);
2092
2181
  return e;
2093
- }, "getUserDefinedConfig"), Ie = /* @__PURE__ */ t((e) => (e.flowchart?.htmlLabels != null && R("FLOWCHART_HTML_LABELS_DEPRECATED"), O(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), z = /<br\s*\/?>/gi, Le = /* @__PURE__ */ t((e) => e ? Ke(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Re = /* @__PURE__ */ (() => {
2182
+ }, "getUserDefinedConfig"), Fe = /* @__PURE__ */ t((e) => (e.flowchart?.htmlLabels != null && z("FLOWCHART_HTML_LABELS_DEPRECATED"), k(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), B = /<br\s*\/?>/gi, Ie = /* @__PURE__ */ t((e) => e ? Ge(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Le = /* @__PURE__ */ (() => {
2094
2183
  let e = !1;
2095
2184
  return () => {
2096
- e ||= (ze(), !0);
2185
+ e ||= (Re(), !0);
2097
2186
  };
2098
2187
  })();
2099
- function ze() {
2188
+ function Re() {
2100
2189
  let e = "data-temp-href-target";
2101
2190
  u.addHook("beforeSanitizeAttributes", (t) => {
2102
2191
  t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
@@ -2104,92 +2193,97 @@ function ze() {
2104
2193
  t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
2105
2194
  });
2106
2195
  }
2107
- t(ze, "setupDompurifyHooks");
2108
- var Be = /* @__PURE__ */ t((e) => (Re(), u.sanitize(e)), "removeScript"), Ve = /* @__PURE__ */ t((e, t) => {
2109
- if (Ie(t)) {
2196
+ t(Re, "setupDompurifyHooks");
2197
+ var ze = /* @__PURE__ */ t((e) => (Le(), u.sanitize(e)), "removeScript"), Be = /* @__PURE__ */ t((e, t) => {
2198
+ if (Fe(t)) {
2110
2199
  let n = t.securityLevel;
2111
- n === "antiscript" || n === "strict" || n === "sandbox" ? e = Be(e) : n !== "loose" && (e = Ke(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = Ge(e));
2200
+ n === "antiscript" || n === "strict" || n === "sandbox" ? e = ze(e) : n !== "loose" && (e = Ge(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = We(e));
2112
2201
  }
2113
2202
  return e;
2114
- }, "sanitizeMore"), B = /* @__PURE__ */ t((e, t) => e && (e = t.dompurifyConfig ? u.sanitize(Ve(e, t), t.dompurifyConfig).toString() : u.sanitize(Ve(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), He = /* @__PURE__ */ t((e, t) => typeof e == "string" ? B(e, t) : e.flat().map((e) => B(e, t)), "sanitizeTextOrArray"), Ue = /* @__PURE__ */ t((e) => z.test(e), "hasBreaks"), We = /* @__PURE__ */ t((e) => e.split(z), "splitBreaks"), Ge = /* @__PURE__ */ t((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Ke = /* @__PURE__ */ t((e) => e.replace(z, "#br#"), "breakToPlaceholder"), qe = /* @__PURE__ */ t((e) => {
2203
+ }, "sanitizeMore"), V = /* @__PURE__ */ t((e, t) => e && (e = t.dompurifyConfig ? u.sanitize(Be(e, t), t.dompurifyConfig).toString() : u.sanitize(Be(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), Ve = /* @__PURE__ */ t((e, t) => typeof e == "string" ? V(e, t) : e.flat().map((e) => V(e, t)), "sanitizeTextOrArray"), He = /* @__PURE__ */ t((e) => B.test(e), "hasBreaks"), Ue = /* @__PURE__ */ t((e) => e.split(B), "splitBreaks"), We = /* @__PURE__ */ t((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Ge = /* @__PURE__ */ t((e) => e.replace(B, "#br#"), "breakToPlaceholder"), Ke = /* @__PURE__ */ t((e) => {
2115
2204
  let t = "";
2116
2205
  return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
2117
- }, "getUrl"), Je = /* @__PURE__ */ t(function(...e) {
2206
+ }, "getUrl"), qe = /* @__PURE__ */ t(function(...e) {
2118
2207
  let t = e.filter((e) => !isNaN(e));
2119
2208
  return Math.max(...t);
2120
- }, "getMax"), Ye = /* @__PURE__ */ t(function(...e) {
2209
+ }, "getMax"), Je = /* @__PURE__ */ t(function(...e) {
2121
2210
  let t = e.filter((e) => !isNaN(e));
2122
2211
  return Math.min(...t);
2123
- }, "getMin"), Xe = /* @__PURE__ */ t(function(e) {
2212
+ }, "getMin"), Ye = /* @__PURE__ */ t(function(e) {
2124
2213
  let t = e.split(/(,)/), n = [];
2125
2214
  for (let e = 0; e < t.length; e++) {
2126
2215
  let r = t[e];
2127
2216
  if (r === "," && e > 0 && e + 1 < t.length) {
2128
2217
  let i = t[e - 1], a = t[e + 1];
2129
- Ze(i, a) && (r = i + "," + a, e++, n.pop());
2218
+ Xe(i, a) && (r = i + "," + a, e++, n.pop());
2130
2219
  }
2131
- n.push(Qe(r));
2220
+ n.push(Ze(r));
2132
2221
  }
2133
2222
  return n.join("");
2134
- }, "parseGenericTypes"), V = /* @__PURE__ */ t((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), Ze = /* @__PURE__ */ t((e, t) => {
2135
- let n = V(e, "~"), r = V(t, "~");
2223
+ }, "parseGenericTypes"), H = /* @__PURE__ */ t((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), Xe = /* @__PURE__ */ t((e, t) => {
2224
+ let n = H(e, "~"), r = H(t, "~");
2136
2225
  return n === 1 && r === 1;
2137
- }, "shouldCombineSets"), Qe = /* @__PURE__ */ t((e) => {
2138
- let t = V(e, "~"), n = !1;
2226
+ }, "shouldCombineSets"), Ze = /* @__PURE__ */ t((e) => {
2227
+ let t = H(e, "~"), n = !1;
2139
2228
  if (t <= 1) return e;
2140
2229
  t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
2141
2230
  let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
2142
2231
  for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
2143
2232
  return n && r.unshift("~"), r.join("");
2144
- }, "processSet"), $e = /* @__PURE__ */ t(() => window.MathMLElement !== void 0, "isMathMLSupported"), H = /\$\$(.*)\$\$/g, U = /* @__PURE__ */ t((e) => (e.match(H)?.length ?? 0) > 0, "hasKatex"), et = /* @__PURE__ */ t(async (e, t) => {
2233
+ }, "processSet"), Qe = /* @__PURE__ */ t(() => window.MathMLElement !== void 0, "isMathMLSupported"), U = /\$\$(.*)\$\$/g, W = /* @__PURE__ */ t((e) => (e.match(U)?.length ?? 0) > 0, "hasKatex"), $e = /* @__PURE__ */ t(async (e, t) => {
2145
2234
  let n = document.createElement("div");
2146
- n.innerHTML = await nt(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
2235
+ n.innerHTML = await tt(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
2147
2236
  let r = {
2148
2237
  width: n.clientWidth,
2149
2238
  height: n.clientHeight
2150
2239
  };
2151
2240
  return n.remove(), r;
2152
- }, "calculateMathMLDimensions"), tt = /* @__PURE__ */ t(async (e, t) => {
2153
- if (!U(e)) return e;
2154
- if (!($e() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(H, "MathML is unsupported in this environment.");
2241
+ }, "calculateMathMLDimensions"), et = /* @__PURE__ */ t(async (e, t) => {
2242
+ if (!W(e)) return e;
2243
+ if (!(Qe() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(U, "MathML is unsupported in this environment.");
2155
2244
  {
2156
- let { default: n } = await import("../../../../katex/dist/katex.js"), r = t.forceLegacyMathML || !$e() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2157
- return e.split(z).map((e) => U(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(H, (e, t) => n.renderToString(t, {
2245
+ let { default: n } = await import("../../../../katex/dist/katex.js"), r = t.forceLegacyMathML || !Qe() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2246
+ return e.split(B).map((e) => W(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(U, (e, t) => n.renderToString(t, {
2158
2247
  throwOnError: !0,
2159
2248
  displayMode: !0,
2160
2249
  output: r
2161
2250
  }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
2162
2251
  }
2163
- return e.replace(H, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
2164
- }, "renderKatexUnsanitized"), nt = /* @__PURE__ */ t(async (e, t) => B(await tt(e, t), t), "renderKatexSanitized"), rt = {
2165
- getRows: Le,
2166
- sanitizeText: B,
2167
- sanitizeTextOrArray: He,
2168
- hasBreaks: Ue,
2169
- splitBreaks: We,
2170
- lineBreakRegex: z,
2171
- removeScript: Be,
2172
- getUrl: qe,
2173
- evaluate: O,
2174
- getMax: Je,
2175
- getMin: Ye
2176
- }, it = /* @__PURE__ */ t(function(e, t) {
2252
+ return e.replace(U, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
2253
+ }, "renderKatexUnsanitized"), tt = /* @__PURE__ */ t(async (e, t) => V(await et(e, t), t), "renderKatexSanitized"), nt = {
2254
+ getRows: Ie,
2255
+ sanitizeText: V,
2256
+ sanitizeTextOrArray: Ve,
2257
+ hasBreaks: He,
2258
+ splitBreaks: Ue,
2259
+ lineBreakRegex: B,
2260
+ removeScript: ze,
2261
+ getUrl: Ke,
2262
+ evaluate: k,
2263
+ getMax: qe,
2264
+ getMin: Je
2265
+ }, rt = /* @__PURE__ */ t(function(e, t) {
2177
2266
  for (let n of t) e.attr(n[0], n[1]);
2178
- }, "d3Attrs"), at = /* @__PURE__ */ t(function(e, t, n) {
2267
+ }, "d3Attrs"), it = /* @__PURE__ */ t(function(e, t, n) {
2179
2268
  let r = /* @__PURE__ */ new Map();
2180
2269
  return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
2181
- }, "calculateSvgSizeAttrs"), ot = /* @__PURE__ */ t(function(e, t, n, r) {
2182
- it(e, at(t, n, r));
2183
- }, "configureSvgSize"), st = /* @__PURE__ */ t(function(e, t, r, i) {
2270
+ }, "calculateSvgSizeAttrs"), at = /* @__PURE__ */ t(function(e, t, n, r) {
2271
+ rt(e, it(t, n, r));
2272
+ }, "configureSvgSize"), ot = /* @__PURE__ */ t(function(e, t, r, i) {
2184
2273
  let a = t.node().getBBox(), o = a.width, s = a.height;
2185
2274
  n.info(`SVG bounds: ${o}x${s}`, a);
2186
2275
  let c = 0, l = 0;
2187
- n.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, n.info(`Calculated bounds: ${c}x${l}`), ot(t, l, c, i);
2276
+ n.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, n.info(`Calculated bounds: ${c}x${l}`), at(t, l, c, i);
2188
2277
  let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
2189
2278
  t.attr("viewBox", u);
2190
- }, "setupGraphViewbox"), W = {}, ct = /* @__PURE__ */ t((e, t, r, i) => {
2279
+ }, "setupGraphViewbox"), G = {};
2280
+ function st(e) {
2281
+ return [...e.cssRules].map((e) => e.cssText).join("\n");
2282
+ }
2283
+ t(st, "cssStyleSheetToString");
2284
+ var ct = /* @__PURE__ */ t((e, t, r, i) => {
2191
2285
  let a = "";
2192
- return e in W && W[e] ? a = W[e]({
2286
+ return e in G && G[e] ? a = G[e]({
2193
2287
  ...r,
2194
2288
  svgId: i
2195
2289
  }) : n.warn(`No theme found for ${e}`), ` & {
@@ -2312,31 +2406,31 @@ var Be = /* @__PURE__ */ t((e) => (Re(), u.sanitize(e)), "removeScript"), Ve = /
2312
2406
  ${t}
2313
2407
  `;
2314
2408
  }, "getStyles"), lt = /* @__PURE__ */ t((e, t) => {
2315
- t !== void 0 && (W[e] = t);
2316
- }, "addStylesForDiagram"), ut = ct, G = {};
2317
- e(G, {
2409
+ t !== void 0 && (G[e] = t);
2410
+ }, "addStylesForDiagram"), ut = ct, K = {};
2411
+ e(K, {
2318
2412
  clear: () => dt,
2319
- getAccDescription: () => ht,
2413
+ getAccDescription: () => Z,
2320
2414
  getAccTitle: () => pt,
2321
2415
  getDiagramTitle: () => gt,
2322
2416
  setAccDescription: () => mt,
2323
2417
  setAccTitle: () => ft,
2324
- setDiagramTitle: () => X
2418
+ setDiagramTitle: () => ht
2325
2419
  });
2326
- var K = "", q = "", J = "", Y = /* @__PURE__ */ t((e) => B(e, F()), "sanitizeText"), dt = /* @__PURE__ */ t(() => {
2327
- K = "", J = "", q = "";
2420
+ var q = "", J = "", Y = "", X = /* @__PURE__ */ t((e) => V(e, I()), "sanitizeText"), dt = /* @__PURE__ */ t(() => {
2421
+ q = "", Y = "", J = "";
2328
2422
  }, "clear"), ft = /* @__PURE__ */ t((e) => {
2329
- K = Y(e).replace(/^\s+/g, "");
2330
- }, "setAccTitle"), pt = /* @__PURE__ */ t(() => K, "getAccTitle"), mt = /* @__PURE__ */ t((e) => {
2331
- J = Y(e).replace(/\n\s+/g, "\n");
2332
- }, "setAccDescription"), ht = /* @__PURE__ */ t(() => J, "getAccDescription"), X = /* @__PURE__ */ t((e) => {
2333
- q = Y(e);
2334
- }, "setDiagramTitle"), gt = /* @__PURE__ */ t(() => q, "getDiagramTitle"), _t = n, vt = r, Z = F, yt = P, bt = D, xt = /* @__PURE__ */ t((e) => B(e, Z()), "sanitizeText"), Q = st, St = /* @__PURE__ */ t(() => G, "getCommonDb"), $ = {}, Ct = /* @__PURE__ */ t((e, t, n) => {
2335
- $[e] && _t.warn(`Diagram with id ${e} already registered. Overwriting.`), $[e] = t, n && h(e, n), lt(e, t.styles), t.injectUtils?.(_t, vt, Z, xt, Q, St(), () => {});
2336
- }, "registerDiagram"), wt = /* @__PURE__ */ t((e) => {
2423
+ q = X(e).replace(/^\s+/g, "");
2424
+ }, "setAccTitle"), pt = /* @__PURE__ */ t(() => q, "getAccTitle"), mt = /* @__PURE__ */ t((e) => {
2425
+ Y = X(e).replace(/\n\s+/g, "\n");
2426
+ }, "setAccDescription"), Z = /* @__PURE__ */ t(() => Y, "getAccDescription"), ht = /* @__PURE__ */ t((e) => {
2427
+ J = X(e);
2428
+ }, "setDiagramTitle"), gt = /* @__PURE__ */ t(() => J, "getDiagramTitle"), _t = n, vt = r, Q = I, yt = F, bt = O, xt = /* @__PURE__ */ t((e) => V(e, Q()), "sanitizeText"), St = ot, Ct = /* @__PURE__ */ t(() => K, "getCommonDb"), $ = {}, wt = /* @__PURE__ */ t((e, t, n) => {
2429
+ $[e] && _t.warn(`Diagram with id ${e} already registered. Overwriting.`), $[e] = t, n && h(e, n), lt(e, t.styles), t.injectUtils?.(_t, vt, Q, xt, St, Ct(), () => {});
2430
+ }, "registerDiagram"), Tt = /* @__PURE__ */ t((e) => {
2337
2431
  if (e in $) return $[e];
2338
- throw new Tt(e);
2339
- }, "getDiagram"), Tt = class extends Error {
2432
+ throw new Et(e);
2433
+ }, "getDiagram"), Et = class extends Error {
2340
2434
  static {
2341
2435
  t(this, "DiagramNotFoundError");
2342
2436
  }
@@ -2345,6 +2439,6 @@ var K = "", q = "", J = "", Y = /* @__PURE__ */ t((e) => B(e, F()), "sanitizeTex
2345
2439
  }
2346
2440
  };
2347
2441
  //#endregion
2348
- export { p as UnknownDiagramError, je as addDirective, _ as assignWithDepth_default, et as calculateMathMLDimensions, dt as clear, G as commonDb_exports, rt as common_default, ot as configureSvgSize, D as defaultConfig, bt as defaultConfig2, T as defaultConfig_default, te as detectType, m as detectors, f as directiveRegex, O as evaluate, d as frontMatterRegex, ht as getAccDescription, pt as getAccTitle, F as getConfig, Z as getConfig2, wt as getDiagram, re as getDiagramLoader, gt as getDiagramTitle, Ie as getEffectiveHtmlLabels, Ae as getSiteConfig, le as getThemeVariables3, qe as getUrl, Fe as getUserDefinedConfig, U as hasKatex, z as lineBreakRegex, Xe as parseGenericTypes, Ct as registerDiagram, ne as registerLazyLoadedDiagrams, nt as renderKatexSanitized, Me as reset, E as sanitizeDirective, B as sanitizeText, xt as sanitizeText3, Oe as saveConfigFromInitialize, mt as setAccDescription, ft as setAccTitle, P as setConfig, yt as setConfig2, X as setDiagramTitle, De as setSiteConfig, st as setupGraphViewbox, Q as setupGraphViewbox2, ut as styles_default, x as themes_default, ke as updateSiteConfig };
2442
+ export { p as UnknownDiagramError, Ae as addDirective, _ as assignWithDepth_default, $e as calculateMathMLDimensions, dt as clear, K as commonDb_exports, nt as common_default, at as configureSvgSize, st as cssStyleSheetToString, O as defaultConfig, bt as defaultConfig2, T as defaultConfig_default, te as detectType, m as detectors, f as directiveRegex, k as evaluate, d as frontMatterRegex, Z as getAccDescription, pt as getAccTitle, I as getConfig, Q as getConfig2, Tt as getDiagram, re as getDiagramLoader, gt as getDiagramTitle, Fe as getEffectiveHtmlLabels, ke as getSiteConfig, le as getThemeVariables3, Ke as getUrl, Pe as getUserDefinedConfig, W as hasKatex, B as lineBreakRegex, Ye as parseGenericTypes, wt as registerDiagram, ne as registerLazyLoadedDiagrams, tt as renderKatexSanitized, je as reset, D as sanitizeCss, E as sanitizeDirective, V as sanitizeText, xt as sanitizeText3, De as saveConfigFromInitialize, mt as setAccDescription, ft as setAccTitle, F as setConfig, yt as setConfig2, ht as setDiagramTitle, Ee as setSiteConfig, ot as setupGraphViewbox, St as setupGraphViewbox2, ut as styles_default, x as themes_default, Oe as updateSiteConfig };
2349
2443
 
2350
- //# sourceMappingURL=chunk-ICPOFSXX.js.map
2444
+ //# sourceMappingURL=chunk-CSCIHK7Q.js.map