@elmethis/core 1.0.0-alpha.149 → 1.0.0-alpha.150

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 (666) hide show
  1. package/dist/index.d.ts +2 -3
  2. package/dist/index.mjs +119 -121
  3. package/package.json +1 -1
  4. package/dist/_virtual/_commonjsHelpers.mjs +0 -6
  5. package/dist/_virtual/advancedFormat.mjs +0 -7
  6. package/dist/_virtual/advancedFormat2.mjs +0 -4
  7. package/dist/_virtual/cancellation.mjs +0 -5
  8. package/dist/_virtual/cancellation2.mjs +0 -4
  9. package/dist/_virtual/constants.mjs +0 -4
  10. package/dist/_virtual/cose-base.mjs +0 -4
  11. package/dist/_virtual/cose-base2.mjs +0 -4
  12. package/dist/_virtual/customParseFormat.mjs +0 -7
  13. package/dist/_virtual/customParseFormat2.mjs +0 -4
  14. package/dist/_virtual/cytoscape-cose-bilkent.mjs +0 -7
  15. package/dist/_virtual/cytoscape-cose-bilkent2.mjs +0 -4
  16. package/dist/_virtual/cytoscape-fcose.mjs +0 -7
  17. package/dist/_virtual/cytoscape-fcose2.mjs +0 -4
  18. package/dist/_virtual/dayjs.min.mjs +0 -7
  19. package/dist/_virtual/dayjs.min2.mjs +0 -4
  20. package/dist/_virtual/events.mjs +0 -5
  21. package/dist/_virtual/events2.mjs +0 -4
  22. package/dist/_virtual/index.mjs +0 -5
  23. package/dist/_virtual/index2.mjs +0 -4
  24. package/dist/_virtual/is.mjs +0 -4
  25. package/dist/_virtual/isoWeek.mjs +0 -7
  26. package/dist/_virtual/isoWeek2.mjs +0 -4
  27. package/dist/_virtual/layout-base.mjs +0 -4
  28. package/dist/_virtual/layout-base2.mjs +0 -4
  29. package/dist/_virtual/ral.mjs +0 -4
  30. package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
  31. package/dist/components/code/ElmMermaid.vue.d.ts +0 -8
  32. package/dist/components/code/ElmMermaid.vue.mjs +0 -6
  33. package/dist/components/code/ElmMermaid.vue2.mjs +0 -56
  34. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +0 -20
  35. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +0 -76
  36. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -57
  37. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -220
  38. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -64
  39. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +0 -101
  40. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +0 -45
  41. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +0 -693
  42. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -39
  43. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -14
  44. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -10
  45. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -15
  46. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -15
  47. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -28
  48. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
  49. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -54
  50. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -17
  51. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -27
  52. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -24
  53. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -120
  54. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -33
  55. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -10
  56. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -29
  57. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -41
  58. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +0 -6
  59. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +0 -34
  60. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +0 -34
  61. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +0 -541
  62. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +0 -46
  63. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +0 -34
  64. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +0 -42
  65. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +0 -34
  66. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +0 -6
  67. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +0 -6
  68. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +0 -6
  69. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +0 -6
  70. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +0 -6
  71. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -115
  72. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +0 -531
  73. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +0 -393
  74. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -42
  75. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -12
  76. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
  77. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -42
  78. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -87
  79. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -161
  80. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
  81. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -416
  82. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -47
  83. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -41
  84. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
  85. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -424
  86. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -22
  87. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -48
  88. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -387
  89. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -40
  90. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -83
  91. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -181
  92. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
  93. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -69
  94. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -270
  95. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -59
  96. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -128
  97. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -38
  98. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -323
  99. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -434
  100. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -251
  101. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -167
  102. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -19
  103. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -720
  104. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -11
  105. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -552
  106. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -214
  107. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
  108. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -115
  109. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
  110. package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +0 -1090
  111. package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +0 -2555
  112. package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +0 -374
  113. package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +0 -1278
  114. package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +0 -29469
  115. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +0 -21
  116. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +0 -21
  117. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +0 -21
  118. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +0 -6
  119. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +0 -10
  120. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +0 -47
  121. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +0 -6
  122. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +0 -21
  123. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +0 -21
  124. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +0 -6
  125. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +0 -11
  126. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +0 -51
  127. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +0 -94
  128. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +0 -6
  129. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +0 -338
  130. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +0 -13
  131. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +0 -95
  132. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +0 -6
  133. package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +0 -70
  134. package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +0 -6
  135. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +0 -20
  136. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +0 -7
  137. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +0 -15
  138. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +0 -15
  139. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +0 -10
  140. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +0 -12
  141. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +0 -10
  142. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +0 -37
  143. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +0 -21
  144. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +0 -21
  145. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +0 -6
  146. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +0 -82
  147. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +0 -7
  148. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +0 -7
  149. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +0 -8
  150. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +0 -13
  151. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +0 -29
  152. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +0 -4
  153. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +0 -9
  154. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +0 -18
  155. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +0 -8
  156. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +0 -15
  157. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +0 -20
  158. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +0 -20
  159. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +0 -8
  160. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +0 -43
  161. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +0 -28
  162. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +0 -59
  163. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +0 -18
  164. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +0 -16
  165. package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +0 -73
  166. package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +0 -88
  167. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +0 -22
  168. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +0 -8
  169. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +0 -326
  170. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +0 -13
  171. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +0 -5
  172. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +0 -8
  173. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +0 -56
  174. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +0 -8
  175. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +0 -95
  176. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +0 -16
  177. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +0 -61
  178. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +0 -14
  179. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +0 -6
  180. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +0 -38
  181. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +0 -34
  182. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +0 -54
  183. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +0 -6
  184. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +0 -8
  185. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +0 -20
  186. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +0 -14
  187. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +0 -9
  188. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +0 -12
  189. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +0 -7
  190. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +0 -10
  191. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +0 -46
  192. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +0 -9
  193. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +0 -64
  194. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +0 -14
  195. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +0 -76
  196. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +0 -6
  197. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +0 -28
  198. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +0 -11
  199. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +0 -6
  200. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +0 -31
  201. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +0 -8
  202. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +0 -16
  203. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +0 -20
  204. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +0 -88
  205. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +0 -14
  206. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +0 -10
  207. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +0 -19
  208. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +0 -9
  209. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +0 -18
  210. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +0 -12
  211. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +0 -6
  212. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +0 -64
  213. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +0 -14
  214. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +0 -23
  215. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +0 -9
  216. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +0 -10
  217. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +0 -17
  218. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +0 -24
  219. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +0 -16
  220. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +0 -16
  221. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +0 -8
  222. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +0 -22
  223. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +0 -6
  224. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +0 -28
  225. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +0 -20
  226. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +0 -10
  227. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +0 -11
  228. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +0 -6
  229. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +0 -4
  230. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +0 -8
  231. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +0 -45
  232. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +0 -10
  233. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +0 -133
  234. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +0 -6
  235. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +0 -8
  236. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +0 -66
  237. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +0 -63
  238. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +0 -50
  239. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +0 -49
  240. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +0 -43
  241. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +0 -73
  242. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +0 -69
  243. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +0 -57
  244. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +0 -83
  245. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +0 -75
  246. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +0 -63
  247. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +0 -39
  248. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +0 -25
  249. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +0 -99
  250. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +0 -54
  251. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +0 -59
  252. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +0 -6
  253. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +0 -6
  254. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +0 -41
  255. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +0 -32
  256. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +0 -5
  257. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +0 -19
  258. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +0 -55
  259. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +0 -10
  260. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +0 -25
  261. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +0 -542
  262. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +0 -34
  263. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +0 -16
  264. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +0 -26
  265. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +0 -61
  266. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +0 -23
  267. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +0 -26
  268. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +0 -27
  269. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +0 -15
  270. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +0 -54
  271. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +0 -66
  272. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +0 -45
  273. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +0 -13
  274. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +0 -96
  275. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +0 -21
  276. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +0 -5
  277. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +0 -9
  278. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +0 -39
  279. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +0 -55
  280. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +0 -42
  281. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +0 -18
  282. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +0 -18
  283. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +0 -14
  284. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +0 -15
  285. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +0 -23
  286. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +0 -16
  287. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +0 -68
  288. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +0 -11
  289. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +0 -18
  290. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +0 -23
  291. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +0 -13
  292. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +0 -125
  293. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +0 -20
  294. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +0 -24
  295. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +0 -8
  296. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +0 -47
  297. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +0 -25
  298. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +0 -18
  299. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +0 -25
  300. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +0 -22
  301. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +0 -64
  302. package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +0 -45
  303. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -55
  304. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -33
  305. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -66
  306. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -49
  307. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -97
  308. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -344
  309. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -94
  310. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -69
  311. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -25
  312. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -29
  313. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -33
  314. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -54
  315. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -51
  316. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -30
  317. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -84
  318. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -66
  319. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -47
  320. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -66
  321. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +0 -296
  322. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -29
  323. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -45
  324. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -29
  325. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -148
  326. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -30
  327. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -164
  328. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -33
  329. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +0 -2
  330. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +0 -2
  331. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -7
  332. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -7
  333. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -7
  334. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -420
  335. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -47
  336. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +0 -286
  337. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +0 -58
  338. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +0 -133
  339. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +0 -37
  340. package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +0 -965
  341. package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +0 -43
  342. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +0 -131
  343. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +0 -5
  344. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +0 -24
  345. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +0 -40
  346. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +0 -50
  347. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +0 -39
  348. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +0 -172
  349. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +0 -33
  350. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +0 -13
  351. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +0 -15
  352. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +0 -13
  353. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +0 -12
  354. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +0 -8
  355. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +0 -7
  356. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +0 -12
  357. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +0 -7
  358. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +0 -7
  359. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +0 -7
  360. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +0 -10
  361. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +0 -20
  362. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +0 -18
  363. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +0 -95
  364. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +0 -11
  365. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +0 -14
  366. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +0 -10
  367. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +0 -87
  368. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +0 -74
  369. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -17
  370. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -62
  371. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -478
  372. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -725
  373. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -20
  374. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +0 -11
  375. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -13
  376. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -233
  377. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -17
  378. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -453
  379. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +0 -72
  380. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -336
  381. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +0 -105
  382. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +0 -111
  383. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +0 -139
  384. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +0 -19
  385. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +0 -80
  386. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +0 -70
  387. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +0 -62
  388. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +0 -60
  389. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -256
  390. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -202
  391. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +0 -69
  392. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +0 -73
  393. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -159
  394. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +0 -137
  395. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +0 -177
  396. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -126
  397. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +0 -12
  398. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +0 -12
  399. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -33
  400. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -377
  401. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -56
  402. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -239
  403. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +0 -466
  404. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -37
  405. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +0 -236
  406. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -142
  407. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -75
  408. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -43
  409. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +0 -81
  410. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -328
  411. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +0 -210
  412. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -15
  413. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -74
  414. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -64
  415. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -106
  416. package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +0 -3197
  417. package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +0 -3745
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -6
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -21
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -21
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -6
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -21
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -6
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -6
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +0 -15
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -18
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -5
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -5
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -6
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -16
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -12
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -13
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -24
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -10
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -10
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +0 -13
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +0 -12
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -10
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -13
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -13
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +0 -8
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -16
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -83
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -21
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +0 -6
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -14
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +0 -13
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +0 -12
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +0 -21
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -5
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +0 -8
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -13
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -14
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +0 -6
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +0 -14
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -45
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -9
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +0 -35
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -22
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -9
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -14
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +0 -20
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -19
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -20
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -6
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +0 -12
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +0 -15
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -20
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -27
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -61
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +0 -8
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +0 -9
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -9
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -14
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -10
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -21
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -8
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +0 -46
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +0 -6
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +0 -7
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -13
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -9
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -16
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -7
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -9
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -11
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -23
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +0 -8
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -5
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -23
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +0 -21
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -15
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +0 -10
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -12
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +0 -50
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +0 -59
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +0 -50
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -4
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -9
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -8
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +0 -13
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -9
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -5
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -25
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -17
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -34
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -6
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +0 -25
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -8
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -8
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -15
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -10
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -11
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -13
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -43
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -9
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +0 -10
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -10
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -17
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -16
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -7
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -11
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -8
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -7
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -20
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -8
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -7
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -14
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -14
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -9
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
  541. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
  542. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -10
  543. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +0 -10
  544. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -11
  545. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -15
  546. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -5
  547. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -5
  548. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -12
  549. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -18
  550. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -8
  551. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -8
  552. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -21
  553. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -6
  554. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -12
  555. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +0 -8
  556. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +0 -6
  557. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +0 -10
  558. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -6
  559. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -20
  560. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -8
  561. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -8
  562. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -6
  563. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -6
  564. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -22
  565. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +0 -12
  566. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -16
  567. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -11
  568. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -18
  569. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +0 -8
  570. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -8
  571. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -6
  572. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +0 -11
  573. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +0 -8
  574. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +0 -8
  575. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +0 -11
  576. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -8
  577. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +0 -8
  578. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -6
  579. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -13
  580. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -4
  581. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -8
  582. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
  583. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -11
  584. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +0 -35
  585. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -13
  586. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -7
  587. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -8
  588. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -7
  589. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -6
  590. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -22
  591. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -8
  592. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -9
  593. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -8
  594. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -9
  595. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -9
  596. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +0 -11
  597. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -22
  598. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -8
  599. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -9
  600. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +0 -5
  601. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +0 -10
  602. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +0 -12
  603. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -6
  604. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -6
  605. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -8
  606. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -7
  607. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -8
  608. package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +0 -2152
  609. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +0 -1093
  610. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +0 -3598
  611. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +0 -2487
  612. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +0 -17
  613. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +0 -143
  614. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +0 -2696
  615. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +0 -19
  616. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +0 -1828
  617. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +0 -1961
  618. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +0 -332
  619. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +0 -109
  620. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +0 -78
  621. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +0 -5018
  622. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +0 -696
  623. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +0 -17
  624. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +0 -557
  625. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +0 -38
  626. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +0 -57
  627. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +0 -107
  628. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +0 -17
  629. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +0 -3052
  630. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +0 -27
  631. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +0 -27
  632. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +0 -662
  633. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +0 -306
  634. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +0 -191
  635. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +0 -1168
  636. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +0 -2339
  637. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +0 -2104
  638. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +0 -1215
  639. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +0 -31
  640. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +0 -1201
  641. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +0 -1055
  642. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +0 -1195
  643. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +0 -188
  644. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +0 -1340
  645. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +0 -1168
  646. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +0 -670
  647. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +0 -3419
  648. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +0 -477
  649. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +0 -27
  650. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +0 -1232
  651. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +0 -1778
  652. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +0 -1222
  653. package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +0 -1001
  654. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +0 -16
  655. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +0 -164
  656. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +0 -29
  657. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +0 -156
  658. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +0 -38
  659. package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +0 -42
  660. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +0 -95
  661. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +0 -133
  662. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +0 -40
  663. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +0 -28
  664. package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +0 -225
  665. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +0 -1262
  666. package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +0 -344
@@ -1,3052 +0,0 @@
1
- var _a, _b, _c, _d, _e, _f, _g;
2
- import dayjs2 from "../../../../../../../../_virtual/dayjs.min.mjs";
3
- import purify from "../../../../../../dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs";
4
- import adjust from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs";
5
- import rgba from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs";
6
- import isDark from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs";
7
- import lighten from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs";
8
- import darken from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs";
9
- import invert from "../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs";
10
- var __defProp = Object.defineProperty;
11
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
12
- var __export = (target, all) => {
13
- for (var name in all)
14
- __defProp(target, name, { get: all[name], enumerable: true });
15
- };
16
- var LEVELS = {
17
- trace: 0,
18
- debug: 1,
19
- info: 2,
20
- warn: 3,
21
- error: 4,
22
- fatal: 5
23
- };
24
- var log = {
25
- trace: /* @__PURE__ */ __name((..._args) => {
26
- }, "trace"),
27
- debug: /* @__PURE__ */ __name((..._args) => {
28
- }, "debug"),
29
- info: /* @__PURE__ */ __name((..._args) => {
30
- }, "info"),
31
- warn: /* @__PURE__ */ __name((..._args) => {
32
- }, "warn"),
33
- error: /* @__PURE__ */ __name((..._args) => {
34
- }, "error"),
35
- fatal: /* @__PURE__ */ __name((..._args) => {
36
- }, "fatal")
37
- };
38
- var setLogLevel = /* @__PURE__ */ __name(function(level = "fatal") {
39
- let numericLevel = LEVELS.fatal;
40
- if (typeof level === "string") {
41
- if (level.toLowerCase() in LEVELS) {
42
- numericLevel = LEVELS[level];
43
- }
44
- } else if (typeof level === "number") {
45
- numericLevel = level;
46
- }
47
- log.trace = () => {
48
- };
49
- log.debug = () => {
50
- };
51
- log.info = () => {
52
- };
53
- log.warn = () => {
54
- };
55
- log.error = () => {
56
- };
57
- log.fatal = () => {
58
- };
59
- if (numericLevel <= LEVELS.fatal) {
60
- log.fatal = console.error ? console.error.bind(console, format("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", format("FATAL"));
61
- }
62
- if (numericLevel <= LEVELS.error) {
63
- log.error = console.error ? console.error.bind(console, format("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", format("ERROR"));
64
- }
65
- if (numericLevel <= LEVELS.warn) {
66
- log.warn = console.warn ? console.warn.bind(console, format("WARN"), "color: orange") : console.log.bind(console, `\x1B[33m`, format("WARN"));
67
- }
68
- if (numericLevel <= LEVELS.info) {
69
- log.info = console.info ? console.info.bind(console, format("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", format("INFO"));
70
- }
71
- if (numericLevel <= LEVELS.debug) {
72
- log.debug = console.debug ? console.debug.bind(console, format("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", format("DEBUG"));
73
- }
74
- if (numericLevel <= LEVELS.trace) {
75
- log.trace = console.debug ? console.debug.bind(console, format("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", format("TRACE"));
76
- }
77
- }, "setLogLevel");
78
- var format = /* @__PURE__ */ __name((level) => {
79
- const time = dayjs2().format("ss.SSS");
80
- return `%c${time} : ${level} : `;
81
- }, "format");
82
- var frontMatterRegex = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;
83
- var directiveRegex = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
84
- var anyCommentRegex = /\s*%%.*\n/gm;
85
- var UnknownDiagramError = (_a = class extends Error {
86
- constructor(message) {
87
- super(message);
88
- this.name = "UnknownDiagramError";
89
- }
90
- }, __name(_a, "UnknownDiagramError"), _a);
91
- var detectors = {};
92
- var detectType = /* @__PURE__ */ __name(function(text, config2) {
93
- text = text.replace(frontMatterRegex, "").replace(directiveRegex, "").replace(anyCommentRegex, "\n");
94
- for (const [key, { detector }] of Object.entries(detectors)) {
95
- const diagram = detector(text, config2);
96
- if (diagram) {
97
- return key;
98
- }
99
- }
100
- throw new UnknownDiagramError(
101
- `No diagram type detected matching given configuration for text: ${text}`
102
- );
103
- }, "detectType");
104
- var registerLazyLoadedDiagrams = /* @__PURE__ */ __name((...diagrams2) => {
105
- for (const { id, detector, loader } of diagrams2) {
106
- addDetector(id, detector, loader);
107
- }
108
- }, "registerLazyLoadedDiagrams");
109
- var addDetector = /* @__PURE__ */ __name((key, detector, loader) => {
110
- if (detectors[key]) {
111
- log.warn(`Detector with key ${key} already exists. Overwriting.`);
112
- }
113
- detectors[key] = { detector, loader };
114
- log.debug(`Detector with key ${key} added${loader ? " with loader" : ""}`);
115
- }, "addDetector");
116
- var getDiagramLoader = /* @__PURE__ */ __name((key) => {
117
- return detectors[key].loader;
118
- }, "getDiagramLoader");
119
- var assignWithDepth = /* @__PURE__ */ __name((dst, src, { depth = 2, clobber = false } = {}) => {
120
- const config2 = { depth, clobber };
121
- if (Array.isArray(src) && !Array.isArray(dst)) {
122
- src.forEach((s) => assignWithDepth(dst, s, config2));
123
- return dst;
124
- } else if (Array.isArray(src) && Array.isArray(dst)) {
125
- src.forEach((s) => {
126
- if (!dst.includes(s)) {
127
- dst.push(s);
128
- }
129
- });
130
- return dst;
131
- }
132
- if (dst === void 0 || depth <= 0) {
133
- if (dst !== void 0 && dst !== null && typeof dst === "object" && typeof src === "object") {
134
- return Object.assign(dst, src);
135
- } else {
136
- return src;
137
- }
138
- }
139
- if (src !== void 0 && typeof dst === "object" && typeof src === "object") {
140
- Object.keys(src).forEach((key) => {
141
- if (typeof src[key] === "object" && (dst[key] === void 0 || typeof dst[key] === "object")) {
142
- if (dst[key] === void 0) {
143
- dst[key] = Array.isArray(src[key]) ? [] : {};
144
- }
145
- dst[key] = assignWithDepth(dst[key], src[key], { depth: depth - 1, clobber });
146
- } else if (clobber || typeof dst[key] !== "object" && typeof src[key] !== "object") {
147
- dst[key] = src[key];
148
- }
149
- });
150
- }
151
- return dst;
152
- }, "assignWithDepth");
153
- var assignWithDepth_default = assignWithDepth;
154
- var oldAttributeBackgroundColorOdd = "#ffffff";
155
- var oldAttributeBackgroundColorEven = "#f2f2f2";
156
- var mkBorder = /* @__PURE__ */ __name((col, darkMode) => darkMode ? adjust(col, { s: -40, l: 10 }) : adjust(col, { s: -40, l: -10 }), "mkBorder");
157
- var Theme = (_b = class {
158
- constructor() {
159
- this.background = "#f4f4f4";
160
- this.primaryColor = "#fff4dd";
161
- this.noteBkgColor = "#fff5ad";
162
- this.noteTextColor = "#333";
163
- this.THEME_COLOR_LIMIT = 12;
164
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
165
- this.fontSize = "16px";
166
- }
167
- updateColors() {
168
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
169
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333");
170
- this.secondaryColor = this.secondaryColor || adjust(this.primaryColor, { h: -120 });
171
- this.tertiaryColor = this.tertiaryColor || adjust(this.primaryColor, { h: 180, l: 5 });
172
- this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode);
173
- this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode);
174
- this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode);
175
- this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode);
176
- this.noteBkgColor = this.noteBkgColor || "#fff5ad";
177
- this.noteTextColor = this.noteTextColor || "#333";
178
- this.secondaryTextColor = this.secondaryTextColor || invert(this.secondaryColor);
179
- this.tertiaryTextColor = this.tertiaryTextColor || invert(this.tertiaryColor);
180
- this.lineColor = this.lineColor || invert(this.background);
181
- this.arrowheadColor = this.arrowheadColor || invert(this.background);
182
- this.textColor = this.textColor || this.primaryTextColor;
183
- this.border2 = this.border2 || this.tertiaryBorderColor;
184
- this.nodeBkg = this.nodeBkg || this.primaryColor;
185
- this.mainBkg = this.mainBkg || this.primaryColor;
186
- this.nodeBorder = this.nodeBorder || this.primaryBorderColor;
187
- this.clusterBkg = this.clusterBkg || this.tertiaryColor;
188
- this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor;
189
- this.defaultLinkColor = this.defaultLinkColor || this.lineColor;
190
- this.titleColor = this.titleColor || this.tertiaryTextColor;
191
- this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
192
- this.nodeTextColor = this.nodeTextColor || this.primaryTextColor;
193
- this.actorBorder = this.actorBorder || this.primaryBorderColor;
194
- this.actorBkg = this.actorBkg || this.mainBkg;
195
- this.actorTextColor = this.actorTextColor || this.primaryTextColor;
196
- this.actorLineColor = this.actorLineColor || this.actorBorder;
197
- this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg;
198
- this.signalColor = this.signalColor || this.textColor;
199
- this.signalTextColor = this.signalTextColor || this.textColor;
200
- this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder;
201
- this.labelTextColor = this.labelTextColor || this.actorTextColor;
202
- this.loopTextColor = this.loopTextColor || this.actorTextColor;
203
- this.activationBorderColor = this.activationBorderColor || darken(this.secondaryColor, 10);
204
- this.activationBkgColor = this.activationBkgColor || this.secondaryColor;
205
- this.sequenceNumberColor = this.sequenceNumberColor || invert(this.lineColor);
206
- this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor;
207
- this.altSectionBkgColor = this.altSectionBkgColor || "white";
208
- this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor;
209
- this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor;
210
- this.excludeBkgColor = this.excludeBkgColor || "#eeeeee";
211
- this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor;
212
- this.taskBkgColor = this.taskBkgColor || this.primaryColor;
213
- this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor;
214
- this.activeTaskBkgColor = this.activeTaskBkgColor || lighten(this.primaryColor, 23);
215
- this.gridColor = this.gridColor || "lightgrey";
216
- this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey";
217
- this.doneTaskBorderColor = this.doneTaskBorderColor || "grey";
218
- this.critBorderColor = this.critBorderColor || "#ff8888";
219
- this.critBkgColor = this.critBkgColor || "red";
220
- this.todayLineColor = this.todayLineColor || "red";
221
- this.taskTextColor = this.taskTextColor || this.textColor;
222
- this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor;
223
- this.taskTextLightColor = this.taskTextLightColor || this.textColor;
224
- this.taskTextColor = this.taskTextColor || this.primaryTextColor;
225
- this.taskTextDarkColor = this.taskTextDarkColor || this.textColor;
226
- this.taskTextClickableColor = this.taskTextClickableColor || "#003163";
227
- this.personBorder = this.personBorder || this.primaryBorderColor;
228
- this.personBkg = this.personBkg || this.mainBkg;
229
- if (this.darkMode) {
230
- this.rowOdd = this.rowOdd || darken(this.mainBkg, 5) || "#ffffff";
231
- this.rowEven = this.rowEven || darken(this.mainBkg, 10);
232
- } else {
233
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 75) || "#ffffff";
234
- this.rowEven = this.rowEven || lighten(this.mainBkg, 5);
235
- }
236
- this.transitionColor = this.transitionColor || this.lineColor;
237
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
238
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
239
- this.stateBkg = this.stateBkg || this.mainBkg;
240
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
241
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
242
- this.altBackground = this.altBackground || this.tertiaryColor;
243
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
244
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
245
- this.innerEndBackground = this.nodeBorder;
246
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
247
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
248
- this.transitionColor = this.transitionColor || this.lineColor;
249
- this.specialStateColor = this.lineColor;
250
- this.cScale0 = this.cScale0 || this.primaryColor;
251
- this.cScale1 = this.cScale1 || this.secondaryColor;
252
- this.cScale2 = this.cScale2 || this.tertiaryColor;
253
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
254
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
255
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
256
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
257
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
258
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210, l: 150 });
259
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
260
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
261
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
262
- if (this.darkMode) {
263
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
264
- this["cScale" + i] = darken(this["cScale" + i], 75);
265
- }
266
- } else {
267
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
268
- this["cScale" + i] = darken(this["cScale" + i], 25);
269
- }
270
- }
271
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
272
- this["cScaleInv" + i] = this["cScaleInv" + i] || invert(this["cScale" + i]);
273
- }
274
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
275
- if (this.darkMode) {
276
- this["cScalePeer" + i] = this["cScalePeer" + i] || lighten(this["cScale" + i], 10);
277
- } else {
278
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 10);
279
- }
280
- }
281
- this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
282
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
283
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
284
- }
285
- const multiplier = this.darkMode ? -4 : -1;
286
- for (let i = 0; i < 5; i++) {
287
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 180, s: -15, l: multiplier * (5 + i * 3) });
288
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 180, s: -15, l: multiplier * (8 + i * 3) });
289
- }
290
- this.classText = this.classText || this.textColor;
291
- this.fillType0 = this.fillType0 || this.primaryColor;
292
- this.fillType1 = this.fillType1 || this.secondaryColor;
293
- this.fillType2 = this.fillType2 || adjust(this.primaryColor, { h: 64 });
294
- this.fillType3 = this.fillType3 || adjust(this.secondaryColor, { h: 64 });
295
- this.fillType4 = this.fillType4 || adjust(this.primaryColor, { h: -64 });
296
- this.fillType5 = this.fillType5 || adjust(this.secondaryColor, { h: -64 });
297
- this.fillType6 = this.fillType6 || adjust(this.primaryColor, { h: 128 });
298
- this.fillType7 = this.fillType7 || adjust(this.secondaryColor, { h: 128 });
299
- this.pie1 = this.pie1 || this.primaryColor;
300
- this.pie2 = this.pie2 || this.secondaryColor;
301
- this.pie3 = this.pie3 || this.tertiaryColor;
302
- this.pie4 = this.pie4 || adjust(this.primaryColor, { l: -10 });
303
- this.pie5 = this.pie5 || adjust(this.secondaryColor, { l: -10 });
304
- this.pie6 = this.pie6 || adjust(this.tertiaryColor, { l: -10 });
305
- this.pie7 = this.pie7 || adjust(this.primaryColor, { h: 60, l: -10 });
306
- this.pie8 = this.pie8 || adjust(this.primaryColor, { h: -60, l: -10 });
307
- this.pie9 = this.pie9 || adjust(this.primaryColor, { h: 120, l: 0 });
308
- this.pie10 = this.pie10 || adjust(this.primaryColor, { h: 60, l: -20 });
309
- this.pie11 = this.pie11 || adjust(this.primaryColor, { h: -60, l: -20 });
310
- this.pie12 = this.pie12 || adjust(this.primaryColor, { h: 120, l: -10 });
311
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
312
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
313
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
314
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
315
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
316
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
317
- this.pieStrokeColor = this.pieStrokeColor || "black";
318
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
319
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
320
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
321
- this.pieOpacity = this.pieOpacity || "0.7";
322
- this.radar = {
323
- axisColor: ((_a2 = this.radar) == null ? void 0 : _a2.axisColor) || this.lineColor,
324
- axisStrokeWidth: ((_b2 = this.radar) == null ? void 0 : _b2.axisStrokeWidth) || 2,
325
- axisLabelFontSize: ((_c2 = this.radar) == null ? void 0 : _c2.axisLabelFontSize) || 12,
326
- curveOpacity: ((_d2 = this.radar) == null ? void 0 : _d2.curveOpacity) || 0.5,
327
- curveStrokeWidth: ((_e2 = this.radar) == null ? void 0 : _e2.curveStrokeWidth) || 2,
328
- graticuleColor: ((_f2 = this.radar) == null ? void 0 : _f2.graticuleColor) || "#DEDEDE",
329
- graticuleStrokeWidth: ((_g2 = this.radar) == null ? void 0 : _g2.graticuleStrokeWidth) || 1,
330
- graticuleOpacity: ((_h = this.radar) == null ? void 0 : _h.graticuleOpacity) || 0.3,
331
- legendBoxSize: ((_i = this.radar) == null ? void 0 : _i.legendBoxSize) || 12,
332
- legendFontSize: ((_j = this.radar) == null ? void 0 : _j.legendFontSize) || 12
333
- };
334
- this.archEdgeColor = this.archEdgeColor || "#777";
335
- this.archEdgeArrowColor = this.archEdgeArrowColor || "#777";
336
- this.archEdgeWidth = this.archEdgeWidth || "3";
337
- this.archGroupBorderColor = this.archGroupBorderColor || "#000";
338
- this.archGroupBorderWidth = this.archGroupBorderWidth || "2px";
339
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
340
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
341
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
342
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
343
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
344
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
345
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
346
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
347
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
348
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
349
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
350
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
351
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
352
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
353
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
354
- this.xyChart = {
355
- backgroundColor: ((_k = this.xyChart) == null ? void 0 : _k.backgroundColor) || this.background,
356
- titleColor: ((_l = this.xyChart) == null ? void 0 : _l.titleColor) || this.primaryTextColor,
357
- xAxisTitleColor: ((_m = this.xyChart) == null ? void 0 : _m.xAxisTitleColor) || this.primaryTextColor,
358
- xAxisLabelColor: ((_n = this.xyChart) == null ? void 0 : _n.xAxisLabelColor) || this.primaryTextColor,
359
- xAxisTickColor: ((_o = this.xyChart) == null ? void 0 : _o.xAxisTickColor) || this.primaryTextColor,
360
- xAxisLineColor: ((_p = this.xyChart) == null ? void 0 : _p.xAxisLineColor) || this.primaryTextColor,
361
- yAxisTitleColor: ((_q = this.xyChart) == null ? void 0 : _q.yAxisTitleColor) || this.primaryTextColor,
362
- yAxisLabelColor: ((_r = this.xyChart) == null ? void 0 : _r.yAxisLabelColor) || this.primaryTextColor,
363
- yAxisTickColor: ((_s = this.xyChart) == null ? void 0 : _s.yAxisTickColor) || this.primaryTextColor,
364
- yAxisLineColor: ((_t = this.xyChart) == null ? void 0 : _t.yAxisLineColor) || this.primaryTextColor,
365
- plotColorPalette: ((_u = this.xyChart) == null ? void 0 : _u.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
366
- };
367
- this.requirementBackground = this.requirementBackground || this.primaryColor;
368
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
369
- this.requirementBorderSize = this.requirementBorderSize || "1";
370
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
371
- this.relationColor = this.relationColor || this.lineColor;
372
- this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
373
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
374
- this.git0 = this.git0 || this.primaryColor;
375
- this.git1 = this.git1 || this.secondaryColor;
376
- this.git2 = this.git2 || this.tertiaryColor;
377
- this.git3 = this.git3 || adjust(this.primaryColor, { h: -30 });
378
- this.git4 = this.git4 || adjust(this.primaryColor, { h: -60 });
379
- this.git5 = this.git5 || adjust(this.primaryColor, { h: -90 });
380
- this.git6 = this.git6 || adjust(this.primaryColor, { h: 60 });
381
- this.git7 = this.git7 || adjust(this.primaryColor, { h: 120 });
382
- if (this.darkMode) {
383
- this.git0 = lighten(this.git0, 25);
384
- this.git1 = lighten(this.git1, 25);
385
- this.git2 = lighten(this.git2, 25);
386
- this.git3 = lighten(this.git3, 25);
387
- this.git4 = lighten(this.git4, 25);
388
- this.git5 = lighten(this.git5, 25);
389
- this.git6 = lighten(this.git6, 25);
390
- this.git7 = lighten(this.git7, 25);
391
- } else {
392
- this.git0 = darken(this.git0, 25);
393
- this.git1 = darken(this.git1, 25);
394
- this.git2 = darken(this.git2, 25);
395
- this.git3 = darken(this.git3, 25);
396
- this.git4 = darken(this.git4, 25);
397
- this.git5 = darken(this.git5, 25);
398
- this.git6 = darken(this.git6, 25);
399
- this.git7 = darken(this.git7, 25);
400
- }
401
- this.gitInv0 = this.gitInv0 || invert(this.git0);
402
- this.gitInv1 = this.gitInv1 || invert(this.git1);
403
- this.gitInv2 = this.gitInv2 || invert(this.git2);
404
- this.gitInv3 = this.gitInv3 || invert(this.git3);
405
- this.gitInv4 = this.gitInv4 || invert(this.git4);
406
- this.gitInv5 = this.gitInv5 || invert(this.git5);
407
- this.gitInv6 = this.gitInv6 || invert(this.git6);
408
- this.gitInv7 = this.gitInv7 || invert(this.git7);
409
- this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor);
410
- this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor;
411
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor;
412
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor;
413
- this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor;
414
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor;
415
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor;
416
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor;
417
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor;
418
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
419
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
420
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
421
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
422
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
423
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
424
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
425
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
426
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
427
- }
428
- calculate(overrides) {
429
- if (typeof overrides !== "object") {
430
- this.updateColors();
431
- return;
432
- }
433
- const keys = Object.keys(overrides);
434
- keys.forEach((k) => {
435
- this[k] = overrides[k];
436
- });
437
- this.updateColors();
438
- keys.forEach((k) => {
439
- this[k] = overrides[k];
440
- });
441
- }
442
- }, __name(_b, "Theme"), _b);
443
- var getThemeVariables = /* @__PURE__ */ __name((userOverrides) => {
444
- const theme = new Theme();
445
- theme.calculate(userOverrides);
446
- return theme;
447
- }, "getThemeVariables");
448
- var Theme2 = (_c = class {
449
- constructor() {
450
- this.background = "#333";
451
- this.primaryColor = "#1f2020";
452
- this.secondaryColor = lighten(this.primaryColor, 16);
453
- this.tertiaryColor = adjust(this.primaryColor, { h: -160 });
454
- this.primaryBorderColor = invert(this.background);
455
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
456
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
457
- this.primaryTextColor = invert(this.primaryColor);
458
- this.secondaryTextColor = invert(this.secondaryColor);
459
- this.tertiaryTextColor = invert(this.tertiaryColor);
460
- this.lineColor = invert(this.background);
461
- this.textColor = invert(this.background);
462
- this.mainBkg = "#1f2020";
463
- this.secondBkg = "calculated";
464
- this.mainContrastColor = "lightgrey";
465
- this.darkTextColor = lighten(invert("#323D47"), 10);
466
- this.lineColor = "calculated";
467
- this.border1 = "#ccc";
468
- this.border2 = rgba(255, 255, 255, 0.25);
469
- this.arrowheadColor = "calculated";
470
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
471
- this.fontSize = "16px";
472
- this.labelBackground = "#181818";
473
- this.textColor = "#ccc";
474
- this.THEME_COLOR_LIMIT = 12;
475
- this.nodeBkg = "calculated";
476
- this.nodeBorder = "calculated";
477
- this.clusterBkg = "calculated";
478
- this.clusterBorder = "calculated";
479
- this.defaultLinkColor = "calculated";
480
- this.titleColor = "#F9FFFE";
481
- this.edgeLabelBackground = "calculated";
482
- this.actorBorder = "calculated";
483
- this.actorBkg = "calculated";
484
- this.actorTextColor = "calculated";
485
- this.actorLineColor = "calculated";
486
- this.signalColor = "calculated";
487
- this.signalTextColor = "calculated";
488
- this.labelBoxBkgColor = "calculated";
489
- this.labelBoxBorderColor = "calculated";
490
- this.labelTextColor = "calculated";
491
- this.loopTextColor = "calculated";
492
- this.noteBorderColor = "calculated";
493
- this.noteBkgColor = "#fff5ad";
494
- this.noteTextColor = "calculated";
495
- this.activationBorderColor = "calculated";
496
- this.activationBkgColor = "calculated";
497
- this.sequenceNumberColor = "black";
498
- this.sectionBkgColor = darken("#EAE8D9", 30);
499
- this.altSectionBkgColor = "calculated";
500
- this.sectionBkgColor2 = "#EAE8D9";
501
- this.excludeBkgColor = darken(this.sectionBkgColor, 10);
502
- this.taskBorderColor = rgba(255, 255, 255, 70);
503
- this.taskBkgColor = "calculated";
504
- this.taskTextColor = "calculated";
505
- this.taskTextLightColor = "calculated";
506
- this.taskTextOutsideColor = "calculated";
507
- this.taskTextClickableColor = "#003163";
508
- this.activeTaskBorderColor = rgba(255, 255, 255, 50);
509
- this.activeTaskBkgColor = "#81B1DB";
510
- this.gridColor = "calculated";
511
- this.doneTaskBkgColor = "calculated";
512
- this.doneTaskBorderColor = "grey";
513
- this.critBorderColor = "#E83737";
514
- this.critBkgColor = "#E83737";
515
- this.taskTextDarkColor = "calculated";
516
- this.todayLineColor = "#DB5757";
517
- this.personBorder = this.primaryBorderColor;
518
- this.personBkg = this.mainBkg;
519
- this.archEdgeColor = "calculated";
520
- this.archEdgeArrowColor = "calculated";
521
- this.archEdgeWidth = "3";
522
- this.archGroupBorderColor = this.primaryBorderColor;
523
- this.archGroupBorderWidth = "2px";
524
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 5) || "#ffffff";
525
- this.rowEven = this.rowEven || darken(this.mainBkg, 10);
526
- this.labelColor = "calculated";
527
- this.errorBkgColor = "#a44141";
528
- this.errorTextColor = "#ddd";
529
- }
530
- updateColors() {
531
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
532
- this.secondBkg = lighten(this.mainBkg, 16);
533
- this.lineColor = this.mainContrastColor;
534
- this.arrowheadColor = this.mainContrastColor;
535
- this.nodeBkg = this.mainBkg;
536
- this.nodeBorder = this.border1;
537
- this.clusterBkg = this.secondBkg;
538
- this.clusterBorder = this.border2;
539
- this.defaultLinkColor = this.lineColor;
540
- this.edgeLabelBackground = lighten(this.labelBackground, 25);
541
- this.actorBorder = this.border1;
542
- this.actorBkg = this.mainBkg;
543
- this.actorTextColor = this.mainContrastColor;
544
- this.actorLineColor = this.actorBorder;
545
- this.signalColor = this.mainContrastColor;
546
- this.signalTextColor = this.mainContrastColor;
547
- this.labelBoxBkgColor = this.actorBkg;
548
- this.labelBoxBorderColor = this.actorBorder;
549
- this.labelTextColor = this.mainContrastColor;
550
- this.loopTextColor = this.mainContrastColor;
551
- this.noteBorderColor = this.secondaryBorderColor;
552
- this.noteBkgColor = this.secondBkg;
553
- this.noteTextColor = this.secondaryTextColor;
554
- this.activationBorderColor = this.border1;
555
- this.activationBkgColor = this.secondBkg;
556
- this.altSectionBkgColor = this.background;
557
- this.taskBkgColor = lighten(this.mainBkg, 23);
558
- this.taskTextColor = this.darkTextColor;
559
- this.taskTextLightColor = this.mainContrastColor;
560
- this.taskTextOutsideColor = this.taskTextLightColor;
561
- this.gridColor = this.mainContrastColor;
562
- this.doneTaskBkgColor = this.mainContrastColor;
563
- this.taskTextDarkColor = this.darkTextColor;
564
- this.archEdgeColor = this.lineColor;
565
- this.archEdgeArrowColor = this.lineColor;
566
- this.transitionColor = this.transitionColor || this.lineColor;
567
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
568
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
569
- this.stateBkg = this.stateBkg || this.mainBkg;
570
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
571
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
572
- this.altBackground = this.altBackground || "#555";
573
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
574
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
575
- this.innerEndBackground = this.primaryBorderColor;
576
- this.specialStateColor = "#f4f4f4";
577
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
578
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
579
- this.fillType0 = this.primaryColor;
580
- this.fillType1 = this.secondaryColor;
581
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
582
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
583
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
584
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
585
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
586
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
587
- this.cScale1 = this.cScale1 || "#0b0000";
588
- this.cScale2 = this.cScale2 || "#4d1037";
589
- this.cScale3 = this.cScale3 || "#3f5258";
590
- this.cScale4 = this.cScale4 || "#4f2f1b";
591
- this.cScale5 = this.cScale5 || "#6e0a0a";
592
- this.cScale6 = this.cScale6 || "#3b0048";
593
- this.cScale7 = this.cScale7 || "#995a01";
594
- this.cScale8 = this.cScale8 || "#154706";
595
- this.cScale9 = this.cScale9 || "#161722";
596
- this.cScale10 = this.cScale10 || "#00296f";
597
- this.cScale11 = this.cScale11 || "#01629c";
598
- this.cScale12 = this.cScale12 || "#010029";
599
- this.cScale0 = this.cScale0 || this.primaryColor;
600
- this.cScale1 = this.cScale1 || this.secondaryColor;
601
- this.cScale2 = this.cScale2 || this.tertiaryColor;
602
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
603
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
604
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
605
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
606
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
607
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210 });
608
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
609
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
610
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
611
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
612
- this["cScaleInv" + i] = this["cScaleInv" + i] || invert(this["cScale" + i]);
613
- }
614
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
615
- this["cScalePeer" + i] = this["cScalePeer" + i] || lighten(this["cScale" + i], 10);
616
- }
617
- for (let i = 0; i < 5; i++) {
618
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(-10 + i * 4) });
619
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(-7 + i * 4) });
620
- }
621
- this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
622
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
623
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
624
- }
625
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
626
- this["pie" + i] = this["cScale" + i];
627
- }
628
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
629
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
630
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
631
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
632
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
633
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
634
- this.pieStrokeColor = this.pieStrokeColor || "black";
635
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
636
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
637
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
638
- this.pieOpacity = this.pieOpacity || "0.7";
639
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
640
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
641
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
642
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
643
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
644
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
645
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
646
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
647
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
648
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
649
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
650
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
651
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
652
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
653
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
654
- this.xyChart = {
655
- backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
656
- titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
657
- xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
658
- xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
659
- xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
660
- xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
661
- yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
662
- yAxisLabelColor: ((_h = this.xyChart) == null ? void 0 : _h.yAxisLabelColor) || this.primaryTextColor,
663
- yAxisTickColor: ((_i = this.xyChart) == null ? void 0 : _i.yAxisTickColor) || this.primaryTextColor,
664
- yAxisLineColor: ((_j = this.xyChart) == null ? void 0 : _j.yAxisLineColor) || this.primaryTextColor,
665
- plotColorPalette: ((_k = this.xyChart) == null ? void 0 : _k.plotColorPalette) || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
666
- };
667
- this.packet = {
668
- startByteColor: this.primaryTextColor,
669
- endByteColor: this.primaryTextColor,
670
- labelColor: this.primaryTextColor,
671
- titleColor: this.primaryTextColor,
672
- blockStrokeColor: this.primaryTextColor,
673
- blockFillColor: this.background
674
- };
675
- this.radar = {
676
- axisColor: ((_l = this.radar) == null ? void 0 : _l.axisColor) || this.lineColor,
677
- axisStrokeWidth: ((_m = this.radar) == null ? void 0 : _m.axisStrokeWidth) || 2,
678
- axisLabelFontSize: ((_n = this.radar) == null ? void 0 : _n.axisLabelFontSize) || 12,
679
- curveOpacity: ((_o = this.radar) == null ? void 0 : _o.curveOpacity) || 0.5,
680
- curveStrokeWidth: ((_p = this.radar) == null ? void 0 : _p.curveStrokeWidth) || 2,
681
- graticuleColor: ((_q = this.radar) == null ? void 0 : _q.graticuleColor) || "#DEDEDE",
682
- graticuleStrokeWidth: ((_r = this.radar) == null ? void 0 : _r.graticuleStrokeWidth) || 1,
683
- graticuleOpacity: ((_s = this.radar) == null ? void 0 : _s.graticuleOpacity) || 0.3,
684
- legendBoxSize: ((_t = this.radar) == null ? void 0 : _t.legendBoxSize) || 12,
685
- legendFontSize: ((_u = this.radar) == null ? void 0 : _u.legendFontSize) || 12
686
- };
687
- this.classText = this.primaryTextColor;
688
- this.requirementBackground = this.requirementBackground || this.primaryColor;
689
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
690
- this.requirementBorderSize = this.requirementBorderSize || "1";
691
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
692
- this.relationColor = this.relationColor || this.lineColor;
693
- this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
694
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
695
- this.git0 = lighten(this.secondaryColor, 20);
696
- this.git1 = lighten(this.pie2 || this.secondaryColor, 20);
697
- this.git2 = lighten(this.pie3 || this.tertiaryColor, 20);
698
- this.git3 = lighten(this.pie4 || adjust(this.primaryColor, { h: -30 }), 20);
699
- this.git4 = lighten(this.pie5 || adjust(this.primaryColor, { h: -60 }), 20);
700
- this.git5 = lighten(this.pie6 || adjust(this.primaryColor, { h: -90 }), 10);
701
- this.git6 = lighten(this.pie7 || adjust(this.primaryColor, { h: 60 }), 10);
702
- this.git7 = lighten(this.pie8 || adjust(this.primaryColor, { h: 120 }), 20);
703
- this.gitInv0 = this.gitInv0 || invert(this.git0);
704
- this.gitInv1 = this.gitInv1 || invert(this.git1);
705
- this.gitInv2 = this.gitInv2 || invert(this.git2);
706
- this.gitInv3 = this.gitInv3 || invert(this.git3);
707
- this.gitInv4 = this.gitInv4 || invert(this.git4);
708
- this.gitInv5 = this.gitInv5 || invert(this.git5);
709
- this.gitInv6 = this.gitInv6 || invert(this.git6);
710
- this.gitInv7 = this.gitInv7 || invert(this.git7);
711
- this.gitBranchLabel0 = this.gitBranchLabel0 || invert(this.labelTextColor);
712
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor;
713
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor;
714
- this.gitBranchLabel3 = this.gitBranchLabel3 || invert(this.labelTextColor);
715
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor;
716
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor;
717
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor;
718
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor;
719
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
720
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
721
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
722
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
723
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
724
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
725
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
726
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || lighten(this.background, 12);
727
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || lighten(this.background, 2);
728
- this.nodeBorder = this.nodeBorder || "#999";
729
- }
730
- calculate(overrides) {
731
- if (typeof overrides !== "object") {
732
- this.updateColors();
733
- return;
734
- }
735
- const keys = Object.keys(overrides);
736
- keys.forEach((k) => {
737
- this[k] = overrides[k];
738
- });
739
- this.updateColors();
740
- keys.forEach((k) => {
741
- this[k] = overrides[k];
742
- });
743
- }
744
- }, __name(_c, "Theme"), _c);
745
- var getThemeVariables2 = /* @__PURE__ */ __name((userOverrides) => {
746
- const theme = new Theme2();
747
- theme.calculate(userOverrides);
748
- return theme;
749
- }, "getThemeVariables");
750
- var Theme3 = (_d = class {
751
- constructor() {
752
- this.background = "#f4f4f4";
753
- this.primaryColor = "#ECECFF";
754
- this.secondaryColor = adjust(this.primaryColor, { h: 120 });
755
- this.secondaryColor = "#ffffde";
756
- this.tertiaryColor = adjust(this.primaryColor, { h: -160 });
757
- this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
758
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
759
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
760
- this.primaryTextColor = invert(this.primaryColor);
761
- this.secondaryTextColor = invert(this.secondaryColor);
762
- this.tertiaryTextColor = invert(this.tertiaryColor);
763
- this.lineColor = invert(this.background);
764
- this.textColor = invert(this.background);
765
- this.background = "white";
766
- this.mainBkg = "#ECECFF";
767
- this.secondBkg = "#ffffde";
768
- this.lineColor = "#333333";
769
- this.border1 = "#9370DB";
770
- this.border2 = "#aaaa33";
771
- this.arrowheadColor = "#333333";
772
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
773
- this.fontSize = "16px";
774
- this.labelBackground = "rgba(232,232,232, 0.8)";
775
- this.textColor = "#333";
776
- this.THEME_COLOR_LIMIT = 12;
777
- this.nodeBkg = "calculated";
778
- this.nodeBorder = "calculated";
779
- this.clusterBkg = "calculated";
780
- this.clusterBorder = "calculated";
781
- this.defaultLinkColor = "calculated";
782
- this.titleColor = "calculated";
783
- this.edgeLabelBackground = "calculated";
784
- this.actorBorder = "calculated";
785
- this.actorBkg = "calculated";
786
- this.actorTextColor = "black";
787
- this.actorLineColor = "calculated";
788
- this.signalColor = "calculated";
789
- this.signalTextColor = "calculated";
790
- this.labelBoxBkgColor = "calculated";
791
- this.labelBoxBorderColor = "calculated";
792
- this.labelTextColor = "calculated";
793
- this.loopTextColor = "calculated";
794
- this.noteBorderColor = "calculated";
795
- this.noteBkgColor = "#fff5ad";
796
- this.noteTextColor = "calculated";
797
- this.activationBorderColor = "#666";
798
- this.activationBkgColor = "#f4f4f4";
799
- this.sequenceNumberColor = "white";
800
- this.sectionBkgColor = "calculated";
801
- this.altSectionBkgColor = "calculated";
802
- this.sectionBkgColor2 = "calculated";
803
- this.excludeBkgColor = "#eeeeee";
804
- this.taskBorderColor = "calculated";
805
- this.taskBkgColor = "calculated";
806
- this.taskTextLightColor = "calculated";
807
- this.taskTextColor = this.taskTextLightColor;
808
- this.taskTextDarkColor = "calculated";
809
- this.taskTextOutsideColor = this.taskTextDarkColor;
810
- this.taskTextClickableColor = "calculated";
811
- this.activeTaskBorderColor = "calculated";
812
- this.activeTaskBkgColor = "calculated";
813
- this.gridColor = "calculated";
814
- this.doneTaskBkgColor = "calculated";
815
- this.doneTaskBorderColor = "calculated";
816
- this.critBorderColor = "calculated";
817
- this.critBkgColor = "calculated";
818
- this.todayLineColor = "calculated";
819
- this.sectionBkgColor = rgba(102, 102, 255, 0.49);
820
- this.altSectionBkgColor = "white";
821
- this.sectionBkgColor2 = "#fff400";
822
- this.taskBorderColor = "#534fbc";
823
- this.taskBkgColor = "#8a90dd";
824
- this.taskTextLightColor = "white";
825
- this.taskTextColor = "calculated";
826
- this.taskTextDarkColor = "black";
827
- this.taskTextOutsideColor = "calculated";
828
- this.taskTextClickableColor = "#003163";
829
- this.activeTaskBorderColor = "#534fbc";
830
- this.activeTaskBkgColor = "#bfc7ff";
831
- this.gridColor = "lightgrey";
832
- this.doneTaskBkgColor = "lightgrey";
833
- this.doneTaskBorderColor = "grey";
834
- this.critBorderColor = "#ff8888";
835
- this.critBkgColor = "red";
836
- this.todayLineColor = "red";
837
- this.personBorder = this.primaryBorderColor;
838
- this.personBkg = this.mainBkg;
839
- this.archEdgeColor = "calculated";
840
- this.archEdgeArrowColor = "calculated";
841
- this.archEdgeWidth = "3";
842
- this.archGroupBorderColor = this.primaryBorderColor;
843
- this.archGroupBorderWidth = "2px";
844
- this.rowOdd = "calculated";
845
- this.rowEven = "calculated";
846
- this.labelColor = "black";
847
- this.errorBkgColor = "#552222";
848
- this.errorTextColor = "#552222";
849
- this.updateColors();
850
- }
851
- updateColors() {
852
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
853
- this.cScale0 = this.cScale0 || this.primaryColor;
854
- this.cScale1 = this.cScale1 || this.secondaryColor;
855
- this.cScale2 = this.cScale2 || this.tertiaryColor;
856
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
857
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
858
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
859
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
860
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
861
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210 });
862
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
863
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
864
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
865
- this["cScalePeer1"] = this["cScalePeer1"] || darken(this.secondaryColor, 45);
866
- this["cScalePeer2"] = this["cScalePeer2"] || darken(this.tertiaryColor, 40);
867
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
868
- this["cScale" + i] = darken(this["cScale" + i], 10);
869
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 25);
870
- }
871
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
872
- this["cScaleInv" + i] = this["cScaleInv" + i] || adjust(this["cScale" + i], { h: 180 });
873
- }
874
- for (let i = 0; i < 5; i++) {
875
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 30, l: -(5 + i * 5) });
876
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 30, l: -(7 + i * 5) });
877
- }
878
- this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
879
- if (this.labelTextColor !== "calculated") {
880
- this.cScaleLabel0 = this.cScaleLabel0 || invert(this.labelTextColor);
881
- this.cScaleLabel3 = this.cScaleLabel3 || invert(this.labelTextColor);
882
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
883
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.labelTextColor;
884
- }
885
- }
886
- this.nodeBkg = this.mainBkg;
887
- this.nodeBorder = this.border1;
888
- this.clusterBkg = this.secondBkg;
889
- this.clusterBorder = this.border2;
890
- this.defaultLinkColor = this.lineColor;
891
- this.titleColor = this.textColor;
892
- this.edgeLabelBackground = this.labelBackground;
893
- this.actorBorder = lighten(this.border1, 23);
894
- this.actorBkg = this.mainBkg;
895
- this.labelBoxBkgColor = this.actorBkg;
896
- this.signalColor = this.textColor;
897
- this.signalTextColor = this.textColor;
898
- this.labelBoxBorderColor = this.actorBorder;
899
- this.labelTextColor = this.actorTextColor;
900
- this.loopTextColor = this.actorTextColor;
901
- this.noteBorderColor = this.border2;
902
- this.noteTextColor = this.actorTextColor;
903
- this.actorLineColor = this.actorBorder;
904
- this.taskTextColor = this.taskTextLightColor;
905
- this.taskTextOutsideColor = this.taskTextDarkColor;
906
- this.archEdgeColor = this.lineColor;
907
- this.archEdgeArrowColor = this.lineColor;
908
- this.rowOdd = this.rowOdd || lighten(this.primaryColor, 75) || "#ffffff";
909
- this.rowEven = this.rowEven || lighten(this.primaryColor, 1);
910
- this.transitionColor = this.transitionColor || this.lineColor;
911
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
912
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
913
- this.stateBkg = this.stateBkg || this.mainBkg;
914
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
915
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
916
- this.altBackground = this.altBackground || "#f0f0f0";
917
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
918
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
919
- this.innerEndBackground = this.nodeBorder;
920
- this.specialStateColor = this.lineColor;
921
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
922
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
923
- this.transitionColor = this.transitionColor || this.lineColor;
924
- this.classText = this.primaryTextColor;
925
- this.fillType0 = this.primaryColor;
926
- this.fillType1 = this.secondaryColor;
927
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
928
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
929
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
930
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
931
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
932
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
933
- this.pie1 = this.pie1 || this.primaryColor;
934
- this.pie2 = this.pie2 || this.secondaryColor;
935
- this.pie3 = this.pie3 || adjust(this.tertiaryColor, { l: -40 });
936
- this.pie4 = this.pie4 || adjust(this.primaryColor, { l: -10 });
937
- this.pie5 = this.pie5 || adjust(this.secondaryColor, { l: -30 });
938
- this.pie6 = this.pie6 || adjust(this.tertiaryColor, { l: -20 });
939
- this.pie7 = this.pie7 || adjust(this.primaryColor, { h: 60, l: -20 });
940
- this.pie8 = this.pie8 || adjust(this.primaryColor, { h: -60, l: -40 });
941
- this.pie9 = this.pie9 || adjust(this.primaryColor, { h: 120, l: -40 });
942
- this.pie10 = this.pie10 || adjust(this.primaryColor, { h: 60, l: -40 });
943
- this.pie11 = this.pie11 || adjust(this.primaryColor, { h: -90, l: -40 });
944
- this.pie12 = this.pie12 || adjust(this.primaryColor, { h: 120, l: -30 });
945
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
946
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
947
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
948
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
949
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
950
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
951
- this.pieStrokeColor = this.pieStrokeColor || "black";
952
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
953
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
954
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
955
- this.pieOpacity = this.pieOpacity || "0.7";
956
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
957
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
958
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
959
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
960
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
961
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
962
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
963
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
964
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
965
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
966
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
967
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
968
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
969
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
970
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
971
- this.radar = {
972
- axisColor: ((_a2 = this.radar) == null ? void 0 : _a2.axisColor) || this.lineColor,
973
- axisStrokeWidth: ((_b2 = this.radar) == null ? void 0 : _b2.axisStrokeWidth) || 2,
974
- axisLabelFontSize: ((_c2 = this.radar) == null ? void 0 : _c2.axisLabelFontSize) || 12,
975
- curveOpacity: ((_d2 = this.radar) == null ? void 0 : _d2.curveOpacity) || 0.5,
976
- curveStrokeWidth: ((_e2 = this.radar) == null ? void 0 : _e2.curveStrokeWidth) || 2,
977
- graticuleColor: ((_f2 = this.radar) == null ? void 0 : _f2.graticuleColor) || "#DEDEDE",
978
- graticuleStrokeWidth: ((_g2 = this.radar) == null ? void 0 : _g2.graticuleStrokeWidth) || 1,
979
- graticuleOpacity: ((_h = this.radar) == null ? void 0 : _h.graticuleOpacity) || 0.3,
980
- legendBoxSize: ((_i = this.radar) == null ? void 0 : _i.legendBoxSize) || 12,
981
- legendFontSize: ((_j = this.radar) == null ? void 0 : _j.legendFontSize) || 12
982
- };
983
- this.xyChart = {
984
- backgroundColor: ((_k = this.xyChart) == null ? void 0 : _k.backgroundColor) || this.background,
985
- titleColor: ((_l = this.xyChart) == null ? void 0 : _l.titleColor) || this.primaryTextColor,
986
- xAxisTitleColor: ((_m = this.xyChart) == null ? void 0 : _m.xAxisTitleColor) || this.primaryTextColor,
987
- xAxisLabelColor: ((_n = this.xyChart) == null ? void 0 : _n.xAxisLabelColor) || this.primaryTextColor,
988
- xAxisTickColor: ((_o = this.xyChart) == null ? void 0 : _o.xAxisTickColor) || this.primaryTextColor,
989
- xAxisLineColor: ((_p = this.xyChart) == null ? void 0 : _p.xAxisLineColor) || this.primaryTextColor,
990
- yAxisTitleColor: ((_q = this.xyChart) == null ? void 0 : _q.yAxisTitleColor) || this.primaryTextColor,
991
- yAxisLabelColor: ((_r = this.xyChart) == null ? void 0 : _r.yAxisLabelColor) || this.primaryTextColor,
992
- yAxisTickColor: ((_s = this.xyChart) == null ? void 0 : _s.yAxisTickColor) || this.primaryTextColor,
993
- yAxisLineColor: ((_t = this.xyChart) == null ? void 0 : _t.yAxisLineColor) || this.primaryTextColor,
994
- plotColorPalette: ((_u = this.xyChart) == null ? void 0 : _u.plotColorPalette) || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
995
- };
996
- this.requirementBackground = this.requirementBackground || this.primaryColor;
997
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
998
- this.requirementBorderSize = this.requirementBorderSize || "1";
999
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
1000
- this.relationColor = this.relationColor || this.lineColor;
1001
- this.relationLabelBackground = this.relationLabelBackground || this.labelBackground;
1002
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
1003
- this.git0 = this.git0 || this.primaryColor;
1004
- this.git1 = this.git1 || this.secondaryColor;
1005
- this.git2 = this.git2 || this.tertiaryColor;
1006
- this.git3 = this.git3 || adjust(this.primaryColor, { h: -30 });
1007
- this.git4 = this.git4 || adjust(this.primaryColor, { h: -60 });
1008
- this.git5 = this.git5 || adjust(this.primaryColor, { h: -90 });
1009
- this.git6 = this.git6 || adjust(this.primaryColor, { h: 60 });
1010
- this.git7 = this.git7 || adjust(this.primaryColor, { h: 120 });
1011
- if (this.darkMode) {
1012
- this.git0 = lighten(this.git0, 25);
1013
- this.git1 = lighten(this.git1, 25);
1014
- this.git2 = lighten(this.git2, 25);
1015
- this.git3 = lighten(this.git3, 25);
1016
- this.git4 = lighten(this.git4, 25);
1017
- this.git5 = lighten(this.git5, 25);
1018
- this.git6 = lighten(this.git6, 25);
1019
- this.git7 = lighten(this.git7, 25);
1020
- } else {
1021
- this.git0 = darken(this.git0, 25);
1022
- this.git1 = darken(this.git1, 25);
1023
- this.git2 = darken(this.git2, 25);
1024
- this.git3 = darken(this.git3, 25);
1025
- this.git4 = darken(this.git4, 25);
1026
- this.git5 = darken(this.git5, 25);
1027
- this.git6 = darken(this.git6, 25);
1028
- this.git7 = darken(this.git7, 25);
1029
- }
1030
- this.gitInv0 = this.gitInv0 || darken(invert(this.git0), 25);
1031
- this.gitInv1 = this.gitInv1 || invert(this.git1);
1032
- this.gitInv2 = this.gitInv2 || invert(this.git2);
1033
- this.gitInv3 = this.gitInv3 || invert(this.git3);
1034
- this.gitInv4 = this.gitInv4 || invert(this.git4);
1035
- this.gitInv5 = this.gitInv5 || invert(this.git5);
1036
- this.gitInv6 = this.gitInv6 || invert(this.git6);
1037
- this.gitInv7 = this.gitInv7 || invert(this.git7);
1038
- this.gitBranchLabel0 = this.gitBranchLabel0 || invert(this.labelTextColor);
1039
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor;
1040
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor;
1041
- this.gitBranchLabel3 = this.gitBranchLabel3 || invert(this.labelTextColor);
1042
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor;
1043
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor;
1044
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor;
1045
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor;
1046
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
1047
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
1048
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
1049
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
1050
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
1051
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
1052
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
1053
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
1054
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
1055
- }
1056
- calculate(overrides) {
1057
- Object.keys(this).forEach((k) => {
1058
- if (this[k] === "calculated") {
1059
- this[k] = void 0;
1060
- }
1061
- });
1062
- if (typeof overrides !== "object") {
1063
- this.updateColors();
1064
- return;
1065
- }
1066
- const keys = Object.keys(overrides);
1067
- keys.forEach((k) => {
1068
- this[k] = overrides[k];
1069
- });
1070
- this.updateColors();
1071
- keys.forEach((k) => {
1072
- this[k] = overrides[k];
1073
- });
1074
- }
1075
- }, __name(_d, "Theme"), _d);
1076
- var getThemeVariables3 = /* @__PURE__ */ __name((userOverrides) => {
1077
- const theme = new Theme3();
1078
- theme.calculate(userOverrides);
1079
- return theme;
1080
- }, "getThemeVariables");
1081
- var Theme4 = (_e = class {
1082
- constructor() {
1083
- this.background = "#f4f4f4";
1084
- this.primaryColor = "#cde498";
1085
- this.secondaryColor = "#cdffb2";
1086
- this.background = "white";
1087
- this.mainBkg = "#cde498";
1088
- this.secondBkg = "#cdffb2";
1089
- this.lineColor = "green";
1090
- this.border1 = "#13540c";
1091
- this.border2 = "#6eaa49";
1092
- this.arrowheadColor = "green";
1093
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
1094
- this.fontSize = "16px";
1095
- this.tertiaryColor = lighten("#cde498", 10);
1096
- this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
1097
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
1098
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
1099
- this.primaryTextColor = invert(this.primaryColor);
1100
- this.secondaryTextColor = invert(this.secondaryColor);
1101
- this.tertiaryTextColor = invert(this.primaryColor);
1102
- this.lineColor = invert(this.background);
1103
- this.textColor = invert(this.background);
1104
- this.THEME_COLOR_LIMIT = 12;
1105
- this.nodeBkg = "calculated";
1106
- this.nodeBorder = "calculated";
1107
- this.clusterBkg = "calculated";
1108
- this.clusterBorder = "calculated";
1109
- this.defaultLinkColor = "calculated";
1110
- this.titleColor = "#333";
1111
- this.edgeLabelBackground = "#e8e8e8";
1112
- this.actorBorder = "calculated";
1113
- this.actorBkg = "calculated";
1114
- this.actorTextColor = "black";
1115
- this.actorLineColor = "calculated";
1116
- this.signalColor = "#333";
1117
- this.signalTextColor = "#333";
1118
- this.labelBoxBkgColor = "calculated";
1119
- this.labelBoxBorderColor = "#326932";
1120
- this.labelTextColor = "calculated";
1121
- this.loopTextColor = "calculated";
1122
- this.noteBorderColor = "calculated";
1123
- this.noteBkgColor = "#fff5ad";
1124
- this.noteTextColor = "calculated";
1125
- this.activationBorderColor = "#666";
1126
- this.activationBkgColor = "#f4f4f4";
1127
- this.sequenceNumberColor = "white";
1128
- this.sectionBkgColor = "#6eaa49";
1129
- this.altSectionBkgColor = "white";
1130
- this.sectionBkgColor2 = "#6eaa49";
1131
- this.excludeBkgColor = "#eeeeee";
1132
- this.taskBorderColor = "calculated";
1133
- this.taskBkgColor = "#487e3a";
1134
- this.taskTextLightColor = "white";
1135
- this.taskTextColor = "calculated";
1136
- this.taskTextDarkColor = "black";
1137
- this.taskTextOutsideColor = "calculated";
1138
- this.taskTextClickableColor = "#003163";
1139
- this.activeTaskBorderColor = "calculated";
1140
- this.activeTaskBkgColor = "calculated";
1141
- this.gridColor = "lightgrey";
1142
- this.doneTaskBkgColor = "lightgrey";
1143
- this.doneTaskBorderColor = "grey";
1144
- this.critBorderColor = "#ff8888";
1145
- this.critBkgColor = "red";
1146
- this.todayLineColor = "red";
1147
- this.personBorder = this.primaryBorderColor;
1148
- this.personBkg = this.mainBkg;
1149
- this.archEdgeColor = "calculated";
1150
- this.archEdgeArrowColor = "calculated";
1151
- this.archEdgeWidth = "3";
1152
- this.archGroupBorderColor = this.primaryBorderColor;
1153
- this.archGroupBorderWidth = "2px";
1154
- this.labelColor = "black";
1155
- this.errorBkgColor = "#552222";
1156
- this.errorTextColor = "#552222";
1157
- }
1158
- updateColors() {
1159
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
1160
- this.actorBorder = darken(this.mainBkg, 20);
1161
- this.actorBkg = this.mainBkg;
1162
- this.labelBoxBkgColor = this.actorBkg;
1163
- this.labelTextColor = this.actorTextColor;
1164
- this.loopTextColor = this.actorTextColor;
1165
- this.noteBorderColor = this.border2;
1166
- this.noteTextColor = this.actorTextColor;
1167
- this.actorLineColor = this.actorBorder;
1168
- this.cScale0 = this.cScale0 || this.primaryColor;
1169
- this.cScale1 = this.cScale1 || this.secondaryColor;
1170
- this.cScale2 = this.cScale2 || this.tertiaryColor;
1171
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
1172
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
1173
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
1174
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
1175
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
1176
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210 });
1177
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
1178
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
1179
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
1180
- this["cScalePeer1"] = this["cScalePeer1"] || darken(this.secondaryColor, 45);
1181
- this["cScalePeer2"] = this["cScalePeer2"] || darken(this.tertiaryColor, 40);
1182
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1183
- this["cScale" + i] = darken(this["cScale" + i], 10);
1184
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 25);
1185
- }
1186
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1187
- this["cScaleInv" + i] = this["cScaleInv" + i] || adjust(this["cScale" + i], { h: 180 });
1188
- }
1189
- this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
1190
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1191
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
1192
- }
1193
- for (let i = 0; i < 5; i++) {
1194
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(5 + i * 5) });
1195
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(8 + i * 5) });
1196
- }
1197
- this.nodeBkg = this.mainBkg;
1198
- this.nodeBorder = this.border1;
1199
- this.clusterBkg = this.secondBkg;
1200
- this.clusterBorder = this.border2;
1201
- this.defaultLinkColor = this.lineColor;
1202
- this.taskBorderColor = this.border1;
1203
- this.taskTextColor = this.taskTextLightColor;
1204
- this.taskTextOutsideColor = this.taskTextDarkColor;
1205
- this.activeTaskBorderColor = this.taskBorderColor;
1206
- this.activeTaskBkgColor = this.mainBkg;
1207
- this.archEdgeColor = this.lineColor;
1208
- this.archEdgeArrowColor = this.lineColor;
1209
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 75) || "#ffffff";
1210
- this.rowEven = this.rowEven || lighten(this.mainBkg, 20);
1211
- this.transitionColor = this.transitionColor || this.lineColor;
1212
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
1213
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
1214
- this.stateBkg = this.stateBkg || this.mainBkg;
1215
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
1216
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
1217
- this.altBackground = this.altBackground || "#f0f0f0";
1218
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
1219
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
1220
- this.innerEndBackground = this.primaryBorderColor;
1221
- this.specialStateColor = this.lineColor;
1222
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
1223
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
1224
- this.transitionColor = this.transitionColor || this.lineColor;
1225
- this.classText = this.primaryTextColor;
1226
- this.fillType0 = this.primaryColor;
1227
- this.fillType1 = this.secondaryColor;
1228
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
1229
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
1230
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
1231
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
1232
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
1233
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
1234
- this.pie1 = this.pie1 || this.primaryColor;
1235
- this.pie2 = this.pie2 || this.secondaryColor;
1236
- this.pie3 = this.pie3 || this.tertiaryColor;
1237
- this.pie4 = this.pie4 || adjust(this.primaryColor, { l: -30 });
1238
- this.pie5 = this.pie5 || adjust(this.secondaryColor, { l: -30 });
1239
- this.pie6 = this.pie6 || adjust(this.tertiaryColor, { h: 40, l: -40 });
1240
- this.pie7 = this.pie7 || adjust(this.primaryColor, { h: 60, l: -10 });
1241
- this.pie8 = this.pie8 || adjust(this.primaryColor, { h: -60, l: -10 });
1242
- this.pie9 = this.pie9 || adjust(this.primaryColor, { h: 120, l: 0 });
1243
- this.pie10 = this.pie10 || adjust(this.primaryColor, { h: 60, l: -50 });
1244
- this.pie11 = this.pie11 || adjust(this.primaryColor, { h: -60, l: -50 });
1245
- this.pie12 = this.pie12 || adjust(this.primaryColor, { h: 120, l: -50 });
1246
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
1247
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
1248
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
1249
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
1250
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
1251
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
1252
- this.pieStrokeColor = this.pieStrokeColor || "black";
1253
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
1254
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
1255
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
1256
- this.pieOpacity = this.pieOpacity || "0.7";
1257
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
1258
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
1259
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
1260
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
1261
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
1262
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
1263
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
1264
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
1265
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
1266
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
1267
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
1268
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
1269
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
1270
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
1271
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
1272
- this.packet = {
1273
- startByteColor: this.primaryTextColor,
1274
- endByteColor: this.primaryTextColor,
1275
- labelColor: this.primaryTextColor,
1276
- titleColor: this.primaryTextColor,
1277
- blockStrokeColor: this.primaryTextColor,
1278
- blockFillColor: this.mainBkg
1279
- };
1280
- this.radar = {
1281
- axisColor: ((_a2 = this.radar) == null ? void 0 : _a2.axisColor) || this.lineColor,
1282
- axisStrokeWidth: ((_b2 = this.radar) == null ? void 0 : _b2.axisStrokeWidth) || 2,
1283
- axisLabelFontSize: ((_c2 = this.radar) == null ? void 0 : _c2.axisLabelFontSize) || 12,
1284
- curveOpacity: ((_d2 = this.radar) == null ? void 0 : _d2.curveOpacity) || 0.5,
1285
- curveStrokeWidth: ((_e2 = this.radar) == null ? void 0 : _e2.curveStrokeWidth) || 2,
1286
- graticuleColor: ((_f2 = this.radar) == null ? void 0 : _f2.graticuleColor) || "#DEDEDE",
1287
- graticuleStrokeWidth: ((_g2 = this.radar) == null ? void 0 : _g2.graticuleStrokeWidth) || 1,
1288
- graticuleOpacity: ((_h = this.radar) == null ? void 0 : _h.graticuleOpacity) || 0.3,
1289
- legendBoxSize: ((_i = this.radar) == null ? void 0 : _i.legendBoxSize) || 12,
1290
- legendFontSize: ((_j = this.radar) == null ? void 0 : _j.legendFontSize) || 12
1291
- };
1292
- this.xyChart = {
1293
- backgroundColor: ((_k = this.xyChart) == null ? void 0 : _k.backgroundColor) || this.background,
1294
- titleColor: ((_l = this.xyChart) == null ? void 0 : _l.titleColor) || this.primaryTextColor,
1295
- xAxisTitleColor: ((_m = this.xyChart) == null ? void 0 : _m.xAxisTitleColor) || this.primaryTextColor,
1296
- xAxisLabelColor: ((_n = this.xyChart) == null ? void 0 : _n.xAxisLabelColor) || this.primaryTextColor,
1297
- xAxisTickColor: ((_o = this.xyChart) == null ? void 0 : _o.xAxisTickColor) || this.primaryTextColor,
1298
- xAxisLineColor: ((_p = this.xyChart) == null ? void 0 : _p.xAxisLineColor) || this.primaryTextColor,
1299
- yAxisTitleColor: ((_q = this.xyChart) == null ? void 0 : _q.yAxisTitleColor) || this.primaryTextColor,
1300
- yAxisLabelColor: ((_r = this.xyChart) == null ? void 0 : _r.yAxisLabelColor) || this.primaryTextColor,
1301
- yAxisTickColor: ((_s = this.xyChart) == null ? void 0 : _s.yAxisTickColor) || this.primaryTextColor,
1302
- yAxisLineColor: ((_t = this.xyChart) == null ? void 0 : _t.yAxisLineColor) || this.primaryTextColor,
1303
- plotColorPalette: ((_u = this.xyChart) == null ? void 0 : _u.plotColorPalette) || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
1304
- };
1305
- this.requirementBackground = this.requirementBackground || this.primaryColor;
1306
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
1307
- this.requirementBorderSize = this.requirementBorderSize || "1";
1308
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
1309
- this.relationColor = this.relationColor || this.lineColor;
1310
- this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground;
1311
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
1312
- this.git0 = this.git0 || this.primaryColor;
1313
- this.git1 = this.git1 || this.secondaryColor;
1314
- this.git2 = this.git2 || this.tertiaryColor;
1315
- this.git3 = this.git3 || adjust(this.primaryColor, { h: -30 });
1316
- this.git4 = this.git4 || adjust(this.primaryColor, { h: -60 });
1317
- this.git5 = this.git5 || adjust(this.primaryColor, { h: -90 });
1318
- this.git6 = this.git6 || adjust(this.primaryColor, { h: 60 });
1319
- this.git7 = this.git7 || adjust(this.primaryColor, { h: 120 });
1320
- if (this.darkMode) {
1321
- this.git0 = lighten(this.git0, 25);
1322
- this.git1 = lighten(this.git1, 25);
1323
- this.git2 = lighten(this.git2, 25);
1324
- this.git3 = lighten(this.git3, 25);
1325
- this.git4 = lighten(this.git4, 25);
1326
- this.git5 = lighten(this.git5, 25);
1327
- this.git6 = lighten(this.git6, 25);
1328
- this.git7 = lighten(this.git7, 25);
1329
- } else {
1330
- this.git0 = darken(this.git0, 25);
1331
- this.git1 = darken(this.git1, 25);
1332
- this.git2 = darken(this.git2, 25);
1333
- this.git3 = darken(this.git3, 25);
1334
- this.git4 = darken(this.git4, 25);
1335
- this.git5 = darken(this.git5, 25);
1336
- this.git6 = darken(this.git6, 25);
1337
- this.git7 = darken(this.git7, 25);
1338
- }
1339
- this.gitInv0 = this.gitInv0 || invert(this.git0);
1340
- this.gitInv1 = this.gitInv1 || invert(this.git1);
1341
- this.gitInv2 = this.gitInv2 || invert(this.git2);
1342
- this.gitInv3 = this.gitInv3 || invert(this.git3);
1343
- this.gitInv4 = this.gitInv4 || invert(this.git4);
1344
- this.gitInv5 = this.gitInv5 || invert(this.git5);
1345
- this.gitInv6 = this.gitInv6 || invert(this.git6);
1346
- this.gitInv7 = this.gitInv7 || invert(this.git7);
1347
- this.gitBranchLabel0 = this.gitBranchLabel0 || invert(this.labelTextColor);
1348
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor;
1349
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor;
1350
- this.gitBranchLabel3 = this.gitBranchLabel3 || invert(this.labelTextColor);
1351
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor;
1352
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor;
1353
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor;
1354
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor;
1355
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
1356
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
1357
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
1358
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
1359
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
1360
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
1361
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
1362
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
1363
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
1364
- }
1365
- calculate(overrides) {
1366
- if (typeof overrides !== "object") {
1367
- this.updateColors();
1368
- return;
1369
- }
1370
- const keys = Object.keys(overrides);
1371
- keys.forEach((k) => {
1372
- this[k] = overrides[k];
1373
- });
1374
- this.updateColors();
1375
- keys.forEach((k) => {
1376
- this[k] = overrides[k];
1377
- });
1378
- }
1379
- }, __name(_e, "Theme"), _e);
1380
- var getThemeVariables4 = /* @__PURE__ */ __name((userOverrides) => {
1381
- const theme = new Theme4();
1382
- theme.calculate(userOverrides);
1383
- return theme;
1384
- }, "getThemeVariables");
1385
- var Theme5 = (_f = class {
1386
- constructor() {
1387
- this.primaryColor = "#eee";
1388
- this.contrast = "#707070";
1389
- this.secondaryColor = lighten(this.contrast, 55);
1390
- this.background = "#ffffff";
1391
- this.tertiaryColor = adjust(this.primaryColor, { h: -160 });
1392
- this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
1393
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
1394
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
1395
- this.primaryTextColor = invert(this.primaryColor);
1396
- this.secondaryTextColor = invert(this.secondaryColor);
1397
- this.tertiaryTextColor = invert(this.tertiaryColor);
1398
- this.lineColor = invert(this.background);
1399
- this.textColor = invert(this.background);
1400
- this.mainBkg = "#eee";
1401
- this.secondBkg = "calculated";
1402
- this.lineColor = "#666";
1403
- this.border1 = "#999";
1404
- this.border2 = "calculated";
1405
- this.note = "#ffa";
1406
- this.text = "#333";
1407
- this.critical = "#d42";
1408
- this.done = "#bbb";
1409
- this.arrowheadColor = "#333333";
1410
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
1411
- this.fontSize = "16px";
1412
- this.THEME_COLOR_LIMIT = 12;
1413
- this.nodeBkg = "calculated";
1414
- this.nodeBorder = "calculated";
1415
- this.clusterBkg = "calculated";
1416
- this.clusterBorder = "calculated";
1417
- this.defaultLinkColor = "calculated";
1418
- this.titleColor = "calculated";
1419
- this.edgeLabelBackground = "white";
1420
- this.actorBorder = "calculated";
1421
- this.actorBkg = "calculated";
1422
- this.actorTextColor = "calculated";
1423
- this.actorLineColor = this.actorBorder;
1424
- this.signalColor = "calculated";
1425
- this.signalTextColor = "calculated";
1426
- this.labelBoxBkgColor = "calculated";
1427
- this.labelBoxBorderColor = "calculated";
1428
- this.labelTextColor = "calculated";
1429
- this.loopTextColor = "calculated";
1430
- this.noteBorderColor = "calculated";
1431
- this.noteBkgColor = "calculated";
1432
- this.noteTextColor = "calculated";
1433
- this.activationBorderColor = "#666";
1434
- this.activationBkgColor = "#f4f4f4";
1435
- this.sequenceNumberColor = "white";
1436
- this.sectionBkgColor = "calculated";
1437
- this.altSectionBkgColor = "white";
1438
- this.sectionBkgColor2 = "calculated";
1439
- this.excludeBkgColor = "#eeeeee";
1440
- this.taskBorderColor = "calculated";
1441
- this.taskBkgColor = "calculated";
1442
- this.taskTextLightColor = "white";
1443
- this.taskTextColor = "calculated";
1444
- this.taskTextDarkColor = "calculated";
1445
- this.taskTextOutsideColor = "calculated";
1446
- this.taskTextClickableColor = "#003163";
1447
- this.activeTaskBorderColor = "calculated";
1448
- this.activeTaskBkgColor = "calculated";
1449
- this.gridColor = "calculated";
1450
- this.doneTaskBkgColor = "calculated";
1451
- this.doneTaskBorderColor = "calculated";
1452
- this.critBkgColor = "calculated";
1453
- this.critBorderColor = "calculated";
1454
- this.todayLineColor = "calculated";
1455
- this.personBorder = this.primaryBorderColor;
1456
- this.personBkg = this.mainBkg;
1457
- this.archEdgeColor = "calculated";
1458
- this.archEdgeArrowColor = "calculated";
1459
- this.archEdgeWidth = "3";
1460
- this.archGroupBorderColor = this.primaryBorderColor;
1461
- this.archGroupBorderWidth = "2px";
1462
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 75) || "#ffffff";
1463
- this.rowEven = this.rowEven || "#f4f4f4";
1464
- this.labelColor = "black";
1465
- this.errorBkgColor = "#552222";
1466
- this.errorTextColor = "#552222";
1467
- }
1468
- updateColors() {
1469
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
1470
- this.secondBkg = lighten(this.contrast, 55);
1471
- this.border2 = this.contrast;
1472
- this.actorBorder = lighten(this.border1, 23);
1473
- this.actorBkg = this.mainBkg;
1474
- this.actorTextColor = this.text;
1475
- this.actorLineColor = this.actorBorder;
1476
- this.signalColor = this.text;
1477
- this.signalTextColor = this.text;
1478
- this.labelBoxBkgColor = this.actorBkg;
1479
- this.labelBoxBorderColor = this.actorBorder;
1480
- this.labelTextColor = this.text;
1481
- this.loopTextColor = this.text;
1482
- this.noteBorderColor = "#999";
1483
- this.noteBkgColor = "#666";
1484
- this.noteTextColor = "#fff";
1485
- this.cScale0 = this.cScale0 || "#555";
1486
- this.cScale1 = this.cScale1 || "#F4F4F4";
1487
- this.cScale2 = this.cScale2 || "#555";
1488
- this.cScale3 = this.cScale3 || "#BBB";
1489
- this.cScale4 = this.cScale4 || "#777";
1490
- this.cScale5 = this.cScale5 || "#999";
1491
- this.cScale6 = this.cScale6 || "#DDD";
1492
- this.cScale7 = this.cScale7 || "#FFF";
1493
- this.cScale8 = this.cScale8 || "#DDD";
1494
- this.cScale9 = this.cScale9 || "#BBB";
1495
- this.cScale10 = this.cScale10 || "#999";
1496
- this.cScale11 = this.cScale11 || "#777";
1497
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1498
- this["cScaleInv" + i] = this["cScaleInv" + i] || invert(this["cScale" + i]);
1499
- }
1500
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1501
- if (this.darkMode) {
1502
- this["cScalePeer" + i] = this["cScalePeer" + i] || lighten(this["cScale" + i], 10);
1503
- } else {
1504
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 10);
1505
- }
1506
- }
1507
- this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
1508
- this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1;
1509
- this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1510
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1511
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
1512
- }
1513
- for (let i = 0; i < 5; i++) {
1514
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { l: -(5 + i * 5) });
1515
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { l: -(8 + i * 5) });
1516
- }
1517
- this.nodeBkg = this.mainBkg;
1518
- this.nodeBorder = this.border1;
1519
- this.clusterBkg = this.secondBkg;
1520
- this.clusterBorder = this.border2;
1521
- this.defaultLinkColor = this.lineColor;
1522
- this.titleColor = this.text;
1523
- this.sectionBkgColor = lighten(this.contrast, 30);
1524
- this.sectionBkgColor2 = lighten(this.contrast, 30);
1525
- this.taskBorderColor = darken(this.contrast, 10);
1526
- this.taskBkgColor = this.contrast;
1527
- this.taskTextColor = this.taskTextLightColor;
1528
- this.taskTextDarkColor = this.text;
1529
- this.taskTextOutsideColor = this.taskTextDarkColor;
1530
- this.activeTaskBorderColor = this.taskBorderColor;
1531
- this.activeTaskBkgColor = this.mainBkg;
1532
- this.gridColor = lighten(this.border1, 30);
1533
- this.doneTaskBkgColor = this.done;
1534
- this.doneTaskBorderColor = this.lineColor;
1535
- this.critBkgColor = this.critical;
1536
- this.critBorderColor = darken(this.critBkgColor, 10);
1537
- this.todayLineColor = this.critBkgColor;
1538
- this.archEdgeColor = this.lineColor;
1539
- this.archEdgeArrowColor = this.lineColor;
1540
- this.transitionColor = this.transitionColor || "#000";
1541
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
1542
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
1543
- this.stateBkg = this.stateBkg || this.mainBkg;
1544
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
1545
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
1546
- this.altBackground = this.altBackground || "#f4f4f4";
1547
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
1548
- this.stateBorder = this.stateBorder || "#000";
1549
- this.innerEndBackground = this.primaryBorderColor;
1550
- this.specialStateColor = "#222";
1551
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
1552
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
1553
- this.classText = this.primaryTextColor;
1554
- this.fillType0 = this.primaryColor;
1555
- this.fillType1 = this.secondaryColor;
1556
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
1557
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
1558
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
1559
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
1560
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
1561
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
1562
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1563
- this["pie" + i] = this["cScale" + i];
1564
- }
1565
- this.pie12 = this.pie0;
1566
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
1567
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
1568
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
1569
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
1570
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
1571
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
1572
- this.pieStrokeColor = this.pieStrokeColor || "black";
1573
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
1574
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
1575
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
1576
- this.pieOpacity = this.pieOpacity || "0.7";
1577
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
1578
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
1579
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
1580
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
1581
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
1582
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
1583
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
1584
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
1585
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
1586
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
1587
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
1588
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
1589
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
1590
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
1591
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
1592
- this.xyChart = {
1593
- backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
1594
- titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
1595
- xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
1596
- xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
1597
- xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
1598
- xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
1599
- yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
1600
- yAxisLabelColor: ((_h = this.xyChart) == null ? void 0 : _h.yAxisLabelColor) || this.primaryTextColor,
1601
- yAxisTickColor: ((_i = this.xyChart) == null ? void 0 : _i.yAxisTickColor) || this.primaryTextColor,
1602
- yAxisLineColor: ((_j = this.xyChart) == null ? void 0 : _j.yAxisLineColor) || this.primaryTextColor,
1603
- plotColorPalette: ((_k = this.xyChart) == null ? void 0 : _k.plotColorPalette) || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
1604
- };
1605
- this.radar = {
1606
- axisColor: ((_l = this.radar) == null ? void 0 : _l.axisColor) || this.lineColor,
1607
- axisStrokeWidth: ((_m = this.radar) == null ? void 0 : _m.axisStrokeWidth) || 2,
1608
- axisLabelFontSize: ((_n = this.radar) == null ? void 0 : _n.axisLabelFontSize) || 12,
1609
- curveOpacity: ((_o = this.radar) == null ? void 0 : _o.curveOpacity) || 0.5,
1610
- curveStrokeWidth: ((_p = this.radar) == null ? void 0 : _p.curveStrokeWidth) || 2,
1611
- graticuleColor: ((_q = this.radar) == null ? void 0 : _q.graticuleColor) || "#DEDEDE",
1612
- graticuleStrokeWidth: ((_r = this.radar) == null ? void 0 : _r.graticuleStrokeWidth) || 1,
1613
- graticuleOpacity: ((_s = this.radar) == null ? void 0 : _s.graticuleOpacity) || 0.3,
1614
- legendBoxSize: ((_t = this.radar) == null ? void 0 : _t.legendBoxSize) || 12,
1615
- legendFontSize: ((_u = this.radar) == null ? void 0 : _u.legendFontSize) || 12
1616
- };
1617
- this.requirementBackground = this.requirementBackground || this.primaryColor;
1618
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
1619
- this.requirementBorderSize = this.requirementBorderSize || "1";
1620
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
1621
- this.relationColor = this.relationColor || this.lineColor;
1622
- this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground;
1623
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
1624
- this.git0 = darken(this.pie1, 25) || this.primaryColor;
1625
- this.git1 = this.pie2 || this.secondaryColor;
1626
- this.git2 = this.pie3 || this.tertiaryColor;
1627
- this.git3 = this.pie4 || adjust(this.primaryColor, { h: -30 });
1628
- this.git4 = this.pie5 || adjust(this.primaryColor, { h: -60 });
1629
- this.git5 = this.pie6 || adjust(this.primaryColor, { h: -90 });
1630
- this.git6 = this.pie7 || adjust(this.primaryColor, { h: 60 });
1631
- this.git7 = this.pie8 || adjust(this.primaryColor, { h: 120 });
1632
- this.gitInv0 = this.gitInv0 || invert(this.git0);
1633
- this.gitInv1 = this.gitInv1 || invert(this.git1);
1634
- this.gitInv2 = this.gitInv2 || invert(this.git2);
1635
- this.gitInv3 = this.gitInv3 || invert(this.git3);
1636
- this.gitInv4 = this.gitInv4 || invert(this.git4);
1637
- this.gitInv5 = this.gitInv5 || invert(this.git5);
1638
- this.gitInv6 = this.gitInv6 || invert(this.git6);
1639
- this.gitInv7 = this.gitInv7 || invert(this.git7);
1640
- this.branchLabelColor = this.branchLabelColor || this.labelTextColor;
1641
- this.gitBranchLabel0 = this.branchLabelColor;
1642
- this.gitBranchLabel1 = "white";
1643
- this.gitBranchLabel2 = this.branchLabelColor;
1644
- this.gitBranchLabel3 = "white";
1645
- this.gitBranchLabel4 = this.branchLabelColor;
1646
- this.gitBranchLabel5 = this.branchLabelColor;
1647
- this.gitBranchLabel6 = this.branchLabelColor;
1648
- this.gitBranchLabel7 = this.branchLabelColor;
1649
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
1650
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
1651
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
1652
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
1653
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
1654
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
1655
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
1656
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
1657
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
1658
- }
1659
- calculate(overrides) {
1660
- if (typeof overrides !== "object") {
1661
- this.updateColors();
1662
- return;
1663
- }
1664
- const keys = Object.keys(overrides);
1665
- keys.forEach((k) => {
1666
- this[k] = overrides[k];
1667
- });
1668
- this.updateColors();
1669
- keys.forEach((k) => {
1670
- this[k] = overrides[k];
1671
- });
1672
- }
1673
- }, __name(_f, "Theme"), _f);
1674
- var getThemeVariables5 = /* @__PURE__ */ __name((userOverrides) => {
1675
- const theme = new Theme5();
1676
- theme.calculate(userOverrides);
1677
- return theme;
1678
- }, "getThemeVariables");
1679
- var themes_default = {
1680
- base: {
1681
- getThemeVariables
1682
- },
1683
- dark: {
1684
- getThemeVariables: getThemeVariables2
1685
- },
1686
- default: {
1687
- getThemeVariables: getThemeVariables3
1688
- },
1689
- forest: {
1690
- getThemeVariables: getThemeVariables4
1691
- },
1692
- neutral: {
1693
- getThemeVariables: getThemeVariables5
1694
- }
1695
- };
1696
- var config_schema_default = {
1697
- "flowchart": {
1698
- "useMaxWidth": true,
1699
- "titleTopMargin": 25,
1700
- "subGraphTitleMargin": {
1701
- "top": 0,
1702
- "bottom": 0
1703
- },
1704
- "diagramPadding": 8,
1705
- "htmlLabels": true,
1706
- "nodeSpacing": 50,
1707
- "rankSpacing": 50,
1708
- "curve": "basis",
1709
- "padding": 15,
1710
- "defaultRenderer": "dagre-wrapper",
1711
- "wrappingWidth": 200
1712
- },
1713
- "sequence": {
1714
- "useMaxWidth": true,
1715
- "hideUnusedParticipants": false,
1716
- "activationWidth": 10,
1717
- "diagramMarginX": 50,
1718
- "diagramMarginY": 10,
1719
- "actorMargin": 50,
1720
- "width": 150,
1721
- "height": 65,
1722
- "boxMargin": 10,
1723
- "boxTextMargin": 5,
1724
- "noteMargin": 10,
1725
- "messageMargin": 35,
1726
- "messageAlign": "center",
1727
- "mirrorActors": true,
1728
- "forceMenus": false,
1729
- "bottomMarginAdj": 1,
1730
- "rightAngles": false,
1731
- "showSequenceNumbers": false,
1732
- "actorFontSize": 14,
1733
- "actorFontFamily": '"Open Sans", sans-serif',
1734
- "actorFontWeight": 400,
1735
- "noteFontSize": 14,
1736
- "noteFontFamily": '"trebuchet ms", verdana, arial, sans-serif',
1737
- "noteFontWeight": 400,
1738
- "noteAlign": "center",
1739
- "messageFontSize": 16,
1740
- "messageFontFamily": '"trebuchet ms", verdana, arial, sans-serif',
1741
- "messageFontWeight": 400,
1742
- "wrap": false,
1743
- "wrapPadding": 10,
1744
- "labelBoxWidth": 50,
1745
- "labelBoxHeight": 20
1746
- },
1747
- "gantt": {
1748
- "useMaxWidth": true,
1749
- "titleTopMargin": 25,
1750
- "barHeight": 20,
1751
- "barGap": 4,
1752
- "topPadding": 50,
1753
- "rightPadding": 75,
1754
- "leftPadding": 75,
1755
- "gridLineStartPadding": 35,
1756
- "fontSize": 11,
1757
- "sectionFontSize": 11,
1758
- "numberSectionStyles": 4,
1759
- "axisFormat": "%Y-%m-%d",
1760
- "topAxis": false,
1761
- "displayMode": "",
1762
- "weekday": "sunday"
1763
- },
1764
- "journey": {
1765
- "useMaxWidth": true,
1766
- "diagramMarginX": 50,
1767
- "diagramMarginY": 10,
1768
- "leftMargin": 150,
1769
- "width": 150,
1770
- "height": 50,
1771
- "boxMargin": 10,
1772
- "boxTextMargin": 5,
1773
- "noteMargin": 10,
1774
- "messageMargin": 35,
1775
- "messageAlign": "center",
1776
- "bottomMarginAdj": 1,
1777
- "rightAngles": false,
1778
- "taskFontSize": 14,
1779
- "taskFontFamily": '"Open Sans", sans-serif',
1780
- "taskMargin": 50,
1781
- "activationWidth": 10,
1782
- "textPlacement": "fo",
1783
- "actorColours": [
1784
- "#8FBC8F",
1785
- "#7CFC00",
1786
- "#00FFFF",
1787
- "#20B2AA",
1788
- "#B0E0E6",
1789
- "#FFFFE0"
1790
- ],
1791
- "sectionFills": [
1792
- "#191970",
1793
- "#8B008B",
1794
- "#4B0082",
1795
- "#2F4F4F",
1796
- "#800000",
1797
- "#8B4513",
1798
- "#00008B"
1799
- ],
1800
- "sectionColours": [
1801
- "#fff"
1802
- ]
1803
- },
1804
- "class": {
1805
- "useMaxWidth": true,
1806
- "titleTopMargin": 25,
1807
- "arrowMarkerAbsolute": false,
1808
- "dividerMargin": 10,
1809
- "padding": 5,
1810
- "textHeight": 10,
1811
- "defaultRenderer": "dagre-wrapper",
1812
- "htmlLabels": false,
1813
- "hideEmptyMembersBox": false
1814
- },
1815
- "state": {
1816
- "useMaxWidth": true,
1817
- "titleTopMargin": 25,
1818
- "dividerMargin": 10,
1819
- "sizeUnit": 5,
1820
- "padding": 8,
1821
- "textHeight": 10,
1822
- "titleShift": -15,
1823
- "noteMargin": 10,
1824
- "forkWidth": 70,
1825
- "forkHeight": 7,
1826
- "miniPadding": 2,
1827
- "fontSizeFactor": 5.02,
1828
- "fontSize": 24,
1829
- "labelHeight": 16,
1830
- "edgeLengthFactor": "20",
1831
- "compositTitleSize": 35,
1832
- "radius": 5,
1833
- "defaultRenderer": "dagre-wrapper"
1834
- },
1835
- "er": {
1836
- "useMaxWidth": true,
1837
- "titleTopMargin": 25,
1838
- "diagramPadding": 20,
1839
- "layoutDirection": "TB",
1840
- "minEntityWidth": 100,
1841
- "minEntityHeight": 75,
1842
- "entityPadding": 15,
1843
- "nodeSpacing": 140,
1844
- "rankSpacing": 80,
1845
- "stroke": "gray",
1846
- "fill": "honeydew",
1847
- "fontSize": 12
1848
- },
1849
- "pie": {
1850
- "useMaxWidth": true,
1851
- "textPosition": 0.75
1852
- },
1853
- "quadrantChart": {
1854
- "useMaxWidth": true,
1855
- "chartWidth": 500,
1856
- "chartHeight": 500,
1857
- "titleFontSize": 20,
1858
- "titlePadding": 10,
1859
- "quadrantPadding": 5,
1860
- "xAxisLabelPadding": 5,
1861
- "yAxisLabelPadding": 5,
1862
- "xAxisLabelFontSize": 16,
1863
- "yAxisLabelFontSize": 16,
1864
- "quadrantLabelFontSize": 16,
1865
- "quadrantTextTopPadding": 5,
1866
- "pointTextPadding": 5,
1867
- "pointLabelFontSize": 12,
1868
- "pointRadius": 5,
1869
- "xAxisPosition": "top",
1870
- "yAxisPosition": "left",
1871
- "quadrantInternalBorderStrokeWidth": 1,
1872
- "quadrantExternalBorderStrokeWidth": 2
1873
- },
1874
- "xyChart": {
1875
- "useMaxWidth": true,
1876
- "width": 700,
1877
- "height": 500,
1878
- "titleFontSize": 20,
1879
- "titlePadding": 10,
1880
- "showTitle": true,
1881
- "xAxis": {
1882
- "$ref": "#/$defs/XYChartAxisConfig",
1883
- "showLabel": true,
1884
- "labelFontSize": 14,
1885
- "labelPadding": 5,
1886
- "showTitle": true,
1887
- "titleFontSize": 16,
1888
- "titlePadding": 5,
1889
- "showTick": true,
1890
- "tickLength": 5,
1891
- "tickWidth": 2,
1892
- "showAxisLine": true,
1893
- "axisLineWidth": 2
1894
- },
1895
- "yAxis": {
1896
- "$ref": "#/$defs/XYChartAxisConfig",
1897
- "showLabel": true,
1898
- "labelFontSize": 14,
1899
- "labelPadding": 5,
1900
- "showTitle": true,
1901
- "titleFontSize": 16,
1902
- "titlePadding": 5,
1903
- "showTick": true,
1904
- "tickLength": 5,
1905
- "tickWidth": 2,
1906
- "showAxisLine": true,
1907
- "axisLineWidth": 2
1908
- },
1909
- "chartOrientation": "vertical",
1910
- "plotReservedSpacePercent": 50
1911
- },
1912
- "requirement": {
1913
- "useMaxWidth": true,
1914
- "rect_fill": "#f9f9f9",
1915
- "text_color": "#333",
1916
- "rect_border_size": "0.5px",
1917
- "rect_border_color": "#bbb",
1918
- "rect_min_width": 200,
1919
- "rect_min_height": 200,
1920
- "fontSize": 14,
1921
- "rect_padding": 10,
1922
- "line_height": 20
1923
- },
1924
- "mindmap": {
1925
- "useMaxWidth": true,
1926
- "padding": 10,
1927
- "maxNodeWidth": 200
1928
- },
1929
- "kanban": {
1930
- "useMaxWidth": true,
1931
- "padding": 8,
1932
- "sectionWidth": 200,
1933
- "ticketBaseUrl": ""
1934
- },
1935
- "timeline": {
1936
- "useMaxWidth": true,
1937
- "diagramMarginX": 50,
1938
- "diagramMarginY": 10,
1939
- "leftMargin": 150,
1940
- "width": 150,
1941
- "height": 50,
1942
- "boxMargin": 10,
1943
- "boxTextMargin": 5,
1944
- "noteMargin": 10,
1945
- "messageMargin": 35,
1946
- "messageAlign": "center",
1947
- "bottomMarginAdj": 1,
1948
- "rightAngles": false,
1949
- "taskFontSize": 14,
1950
- "taskFontFamily": '"Open Sans", sans-serif',
1951
- "taskMargin": 50,
1952
- "activationWidth": 10,
1953
- "textPlacement": "fo",
1954
- "actorColours": [
1955
- "#8FBC8F",
1956
- "#7CFC00",
1957
- "#00FFFF",
1958
- "#20B2AA",
1959
- "#B0E0E6",
1960
- "#FFFFE0"
1961
- ],
1962
- "sectionFills": [
1963
- "#191970",
1964
- "#8B008B",
1965
- "#4B0082",
1966
- "#2F4F4F",
1967
- "#800000",
1968
- "#8B4513",
1969
- "#00008B"
1970
- ],
1971
- "sectionColours": [
1972
- "#fff"
1973
- ],
1974
- "disableMulticolor": false
1975
- },
1976
- "gitGraph": {
1977
- "useMaxWidth": true,
1978
- "titleTopMargin": 25,
1979
- "diagramPadding": 8,
1980
- "nodeLabel": {
1981
- "width": 75,
1982
- "height": 100,
1983
- "x": -25,
1984
- "y": 0
1985
- },
1986
- "mainBranchName": "main",
1987
- "mainBranchOrder": 0,
1988
- "showCommitLabel": true,
1989
- "showBranches": true,
1990
- "rotateCommitLabel": true,
1991
- "parallelCommits": false,
1992
- "arrowMarkerAbsolute": false
1993
- },
1994
- "c4": {
1995
- "useMaxWidth": true,
1996
- "diagramMarginX": 50,
1997
- "diagramMarginY": 10,
1998
- "c4ShapeMargin": 50,
1999
- "c4ShapePadding": 20,
2000
- "width": 216,
2001
- "height": 60,
2002
- "boxMargin": 10,
2003
- "c4ShapeInRow": 4,
2004
- "nextLinePaddingX": 0,
2005
- "c4BoundaryInRow": 2,
2006
- "personFontSize": 14,
2007
- "personFontFamily": '"Open Sans", sans-serif',
2008
- "personFontWeight": "normal",
2009
- "external_personFontSize": 14,
2010
- "external_personFontFamily": '"Open Sans", sans-serif',
2011
- "external_personFontWeight": "normal",
2012
- "systemFontSize": 14,
2013
- "systemFontFamily": '"Open Sans", sans-serif',
2014
- "systemFontWeight": "normal",
2015
- "external_systemFontSize": 14,
2016
- "external_systemFontFamily": '"Open Sans", sans-serif',
2017
- "external_systemFontWeight": "normal",
2018
- "system_dbFontSize": 14,
2019
- "system_dbFontFamily": '"Open Sans", sans-serif',
2020
- "system_dbFontWeight": "normal",
2021
- "external_system_dbFontSize": 14,
2022
- "external_system_dbFontFamily": '"Open Sans", sans-serif',
2023
- "external_system_dbFontWeight": "normal",
2024
- "system_queueFontSize": 14,
2025
- "system_queueFontFamily": '"Open Sans", sans-serif',
2026
- "system_queueFontWeight": "normal",
2027
- "external_system_queueFontSize": 14,
2028
- "external_system_queueFontFamily": '"Open Sans", sans-serif',
2029
- "external_system_queueFontWeight": "normal",
2030
- "boundaryFontSize": 14,
2031
- "boundaryFontFamily": '"Open Sans", sans-serif',
2032
- "boundaryFontWeight": "normal",
2033
- "messageFontSize": 12,
2034
- "messageFontFamily": '"Open Sans", sans-serif',
2035
- "messageFontWeight": "normal",
2036
- "containerFontSize": 14,
2037
- "containerFontFamily": '"Open Sans", sans-serif',
2038
- "containerFontWeight": "normal",
2039
- "external_containerFontSize": 14,
2040
- "external_containerFontFamily": '"Open Sans", sans-serif',
2041
- "external_containerFontWeight": "normal",
2042
- "container_dbFontSize": 14,
2043
- "container_dbFontFamily": '"Open Sans", sans-serif',
2044
- "container_dbFontWeight": "normal",
2045
- "external_container_dbFontSize": 14,
2046
- "external_container_dbFontFamily": '"Open Sans", sans-serif',
2047
- "external_container_dbFontWeight": "normal",
2048
- "container_queueFontSize": 14,
2049
- "container_queueFontFamily": '"Open Sans", sans-serif',
2050
- "container_queueFontWeight": "normal",
2051
- "external_container_queueFontSize": 14,
2052
- "external_container_queueFontFamily": '"Open Sans", sans-serif',
2053
- "external_container_queueFontWeight": "normal",
2054
- "componentFontSize": 14,
2055
- "componentFontFamily": '"Open Sans", sans-serif',
2056
- "componentFontWeight": "normal",
2057
- "external_componentFontSize": 14,
2058
- "external_componentFontFamily": '"Open Sans", sans-serif',
2059
- "external_componentFontWeight": "normal",
2060
- "component_dbFontSize": 14,
2061
- "component_dbFontFamily": '"Open Sans", sans-serif',
2062
- "component_dbFontWeight": "normal",
2063
- "external_component_dbFontSize": 14,
2064
- "external_component_dbFontFamily": '"Open Sans", sans-serif',
2065
- "external_component_dbFontWeight": "normal",
2066
- "component_queueFontSize": 14,
2067
- "component_queueFontFamily": '"Open Sans", sans-serif',
2068
- "component_queueFontWeight": "normal",
2069
- "external_component_queueFontSize": 14,
2070
- "external_component_queueFontFamily": '"Open Sans", sans-serif',
2071
- "external_component_queueFontWeight": "normal",
2072
- "wrap": true,
2073
- "wrapPadding": 10,
2074
- "person_bg_color": "#08427B",
2075
- "person_border_color": "#073B6F",
2076
- "external_person_bg_color": "#686868",
2077
- "external_person_border_color": "#8A8A8A",
2078
- "system_bg_color": "#1168BD",
2079
- "system_border_color": "#3C7FC0",
2080
- "system_db_bg_color": "#1168BD",
2081
- "system_db_border_color": "#3C7FC0",
2082
- "system_queue_bg_color": "#1168BD",
2083
- "system_queue_border_color": "#3C7FC0",
2084
- "external_system_bg_color": "#999999",
2085
- "external_system_border_color": "#8A8A8A",
2086
- "external_system_db_bg_color": "#999999",
2087
- "external_system_db_border_color": "#8A8A8A",
2088
- "external_system_queue_bg_color": "#999999",
2089
- "external_system_queue_border_color": "#8A8A8A",
2090
- "container_bg_color": "#438DD5",
2091
- "container_border_color": "#3C7FC0",
2092
- "container_db_bg_color": "#438DD5",
2093
- "container_db_border_color": "#3C7FC0",
2094
- "container_queue_bg_color": "#438DD5",
2095
- "container_queue_border_color": "#3C7FC0",
2096
- "external_container_bg_color": "#B3B3B3",
2097
- "external_container_border_color": "#A6A6A6",
2098
- "external_container_db_bg_color": "#B3B3B3",
2099
- "external_container_db_border_color": "#A6A6A6",
2100
- "external_container_queue_bg_color": "#B3B3B3",
2101
- "external_container_queue_border_color": "#A6A6A6",
2102
- "component_bg_color": "#85BBF0",
2103
- "component_border_color": "#78A8D8",
2104
- "component_db_bg_color": "#85BBF0",
2105
- "component_db_border_color": "#78A8D8",
2106
- "component_queue_bg_color": "#85BBF0",
2107
- "component_queue_border_color": "#78A8D8",
2108
- "external_component_bg_color": "#CCCCCC",
2109
- "external_component_border_color": "#BFBFBF",
2110
- "external_component_db_bg_color": "#CCCCCC",
2111
- "external_component_db_border_color": "#BFBFBF",
2112
- "external_component_queue_bg_color": "#CCCCCC",
2113
- "external_component_queue_border_color": "#BFBFBF"
2114
- },
2115
- "sankey": {
2116
- "useMaxWidth": true,
2117
- "width": 600,
2118
- "height": 400,
2119
- "linkColor": "gradient",
2120
- "nodeAlignment": "justify",
2121
- "showValues": true,
2122
- "prefix": "",
2123
- "suffix": ""
2124
- },
2125
- "block": {
2126
- "useMaxWidth": true,
2127
- "padding": 8
2128
- },
2129
- "packet": {
2130
- "useMaxWidth": true,
2131
- "rowHeight": 32,
2132
- "bitWidth": 32,
2133
- "bitsPerRow": 32,
2134
- "showBits": true,
2135
- "paddingX": 5,
2136
- "paddingY": 5
2137
- },
2138
- "architecture": {
2139
- "useMaxWidth": true,
2140
- "padding": 40,
2141
- "iconSize": 80,
2142
- "fontSize": 16
2143
- },
2144
- "radar": {
2145
- "useMaxWidth": true,
2146
- "width": 600,
2147
- "height": 600,
2148
- "marginTop": 50,
2149
- "marginRight": 50,
2150
- "marginBottom": 50,
2151
- "marginLeft": 50,
2152
- "axisScaleFactor": 1,
2153
- "axisLabelFactor": 1.05,
2154
- "curveTension": 0.17
2155
- },
2156
- "theme": "default",
2157
- "look": "classic",
2158
- "handDrawnSeed": 0,
2159
- "layout": "dagre",
2160
- "maxTextSize": 5e4,
2161
- "maxEdges": 500,
2162
- "darkMode": false,
2163
- "fontFamily": '"trebuchet ms", verdana, arial, sans-serif;',
2164
- "logLevel": 5,
2165
- "securityLevel": "strict",
2166
- "startOnLoad": true,
2167
- "arrowMarkerAbsolute": false,
2168
- "secure": [
2169
- "secure",
2170
- "securityLevel",
2171
- "startOnLoad",
2172
- "maxTextSize",
2173
- "suppressErrorRendering",
2174
- "maxEdges"
2175
- ],
2176
- "legacyMathML": false,
2177
- "forceLegacyMathML": false,
2178
- "deterministicIds": false,
2179
- "fontSize": 16,
2180
- "markdownAutoWrap": true,
2181
- "suppressErrorRendering": false
2182
- };
2183
- var config = {
2184
- ...config_schema_default,
2185
- // Set, even though they're `undefined` so that `configKeys` finds these keys
2186
- // TODO: Should we replace these with `null` so that they can go in the JSON Schema?
2187
- deterministicIDSeed: void 0,
2188
- elk: {
2189
- // mergeEdges is needed here to be considered
2190
- mergeEdges: false,
2191
- nodePlacementStrategy: "BRANDES_KOEPF"
2192
- },
2193
- themeCSS: void 0,
2194
- // add non-JSON default config values
2195
- themeVariables: themes_default.default.getThemeVariables(),
2196
- sequence: {
2197
- ...config_schema_default.sequence,
2198
- messageFont: /* @__PURE__ */ __name(function() {
2199
- return {
2200
- fontFamily: this.messageFontFamily,
2201
- fontSize: this.messageFontSize,
2202
- fontWeight: this.messageFontWeight
2203
- };
2204
- }, "messageFont"),
2205
- noteFont: /* @__PURE__ */ __name(function() {
2206
- return {
2207
- fontFamily: this.noteFontFamily,
2208
- fontSize: this.noteFontSize,
2209
- fontWeight: this.noteFontWeight
2210
- };
2211
- }, "noteFont"),
2212
- actorFont: /* @__PURE__ */ __name(function() {
2213
- return {
2214
- fontFamily: this.actorFontFamily,
2215
- fontSize: this.actorFontSize,
2216
- fontWeight: this.actorFontWeight
2217
- };
2218
- }, "actorFont")
2219
- },
2220
- class: {
2221
- hideEmptyMembersBox: false
2222
- },
2223
- gantt: {
2224
- ...config_schema_default.gantt,
2225
- tickInterval: void 0,
2226
- useWidth: void 0
2227
- // can probably be removed since `configKeys` already includes this
2228
- },
2229
- c4: {
2230
- ...config_schema_default.c4,
2231
- useWidth: void 0,
2232
- personFont: /* @__PURE__ */ __name(function() {
2233
- return {
2234
- fontFamily: this.personFontFamily,
2235
- fontSize: this.personFontSize,
2236
- fontWeight: this.personFontWeight
2237
- };
2238
- }, "personFont"),
2239
- external_personFont: /* @__PURE__ */ __name(function() {
2240
- return {
2241
- fontFamily: this.external_personFontFamily,
2242
- fontSize: this.external_personFontSize,
2243
- fontWeight: this.external_personFontWeight
2244
- };
2245
- }, "external_personFont"),
2246
- systemFont: /* @__PURE__ */ __name(function() {
2247
- return {
2248
- fontFamily: this.systemFontFamily,
2249
- fontSize: this.systemFontSize,
2250
- fontWeight: this.systemFontWeight
2251
- };
2252
- }, "systemFont"),
2253
- external_systemFont: /* @__PURE__ */ __name(function() {
2254
- return {
2255
- fontFamily: this.external_systemFontFamily,
2256
- fontSize: this.external_systemFontSize,
2257
- fontWeight: this.external_systemFontWeight
2258
- };
2259
- }, "external_systemFont"),
2260
- system_dbFont: /* @__PURE__ */ __name(function() {
2261
- return {
2262
- fontFamily: this.system_dbFontFamily,
2263
- fontSize: this.system_dbFontSize,
2264
- fontWeight: this.system_dbFontWeight
2265
- };
2266
- }, "system_dbFont"),
2267
- external_system_dbFont: /* @__PURE__ */ __name(function() {
2268
- return {
2269
- fontFamily: this.external_system_dbFontFamily,
2270
- fontSize: this.external_system_dbFontSize,
2271
- fontWeight: this.external_system_dbFontWeight
2272
- };
2273
- }, "external_system_dbFont"),
2274
- system_queueFont: /* @__PURE__ */ __name(function() {
2275
- return {
2276
- fontFamily: this.system_queueFontFamily,
2277
- fontSize: this.system_queueFontSize,
2278
- fontWeight: this.system_queueFontWeight
2279
- };
2280
- }, "system_queueFont"),
2281
- external_system_queueFont: /* @__PURE__ */ __name(function() {
2282
- return {
2283
- fontFamily: this.external_system_queueFontFamily,
2284
- fontSize: this.external_system_queueFontSize,
2285
- fontWeight: this.external_system_queueFontWeight
2286
- };
2287
- }, "external_system_queueFont"),
2288
- containerFont: /* @__PURE__ */ __name(function() {
2289
- return {
2290
- fontFamily: this.containerFontFamily,
2291
- fontSize: this.containerFontSize,
2292
- fontWeight: this.containerFontWeight
2293
- };
2294
- }, "containerFont"),
2295
- external_containerFont: /* @__PURE__ */ __name(function() {
2296
- return {
2297
- fontFamily: this.external_containerFontFamily,
2298
- fontSize: this.external_containerFontSize,
2299
- fontWeight: this.external_containerFontWeight
2300
- };
2301
- }, "external_containerFont"),
2302
- container_dbFont: /* @__PURE__ */ __name(function() {
2303
- return {
2304
- fontFamily: this.container_dbFontFamily,
2305
- fontSize: this.container_dbFontSize,
2306
- fontWeight: this.container_dbFontWeight
2307
- };
2308
- }, "container_dbFont"),
2309
- external_container_dbFont: /* @__PURE__ */ __name(function() {
2310
- return {
2311
- fontFamily: this.external_container_dbFontFamily,
2312
- fontSize: this.external_container_dbFontSize,
2313
- fontWeight: this.external_container_dbFontWeight
2314
- };
2315
- }, "external_container_dbFont"),
2316
- container_queueFont: /* @__PURE__ */ __name(function() {
2317
- return {
2318
- fontFamily: this.container_queueFontFamily,
2319
- fontSize: this.container_queueFontSize,
2320
- fontWeight: this.container_queueFontWeight
2321
- };
2322
- }, "container_queueFont"),
2323
- external_container_queueFont: /* @__PURE__ */ __name(function() {
2324
- return {
2325
- fontFamily: this.external_container_queueFontFamily,
2326
- fontSize: this.external_container_queueFontSize,
2327
- fontWeight: this.external_container_queueFontWeight
2328
- };
2329
- }, "external_container_queueFont"),
2330
- componentFont: /* @__PURE__ */ __name(function() {
2331
- return {
2332
- fontFamily: this.componentFontFamily,
2333
- fontSize: this.componentFontSize,
2334
- fontWeight: this.componentFontWeight
2335
- };
2336
- }, "componentFont"),
2337
- external_componentFont: /* @__PURE__ */ __name(function() {
2338
- return {
2339
- fontFamily: this.external_componentFontFamily,
2340
- fontSize: this.external_componentFontSize,
2341
- fontWeight: this.external_componentFontWeight
2342
- };
2343
- }, "external_componentFont"),
2344
- component_dbFont: /* @__PURE__ */ __name(function() {
2345
- return {
2346
- fontFamily: this.component_dbFontFamily,
2347
- fontSize: this.component_dbFontSize,
2348
- fontWeight: this.component_dbFontWeight
2349
- };
2350
- }, "component_dbFont"),
2351
- external_component_dbFont: /* @__PURE__ */ __name(function() {
2352
- return {
2353
- fontFamily: this.external_component_dbFontFamily,
2354
- fontSize: this.external_component_dbFontSize,
2355
- fontWeight: this.external_component_dbFontWeight
2356
- };
2357
- }, "external_component_dbFont"),
2358
- component_queueFont: /* @__PURE__ */ __name(function() {
2359
- return {
2360
- fontFamily: this.component_queueFontFamily,
2361
- fontSize: this.component_queueFontSize,
2362
- fontWeight: this.component_queueFontWeight
2363
- };
2364
- }, "component_queueFont"),
2365
- external_component_queueFont: /* @__PURE__ */ __name(function() {
2366
- return {
2367
- fontFamily: this.external_component_queueFontFamily,
2368
- fontSize: this.external_component_queueFontSize,
2369
- fontWeight: this.external_component_queueFontWeight
2370
- };
2371
- }, "external_component_queueFont"),
2372
- boundaryFont: /* @__PURE__ */ __name(function() {
2373
- return {
2374
- fontFamily: this.boundaryFontFamily,
2375
- fontSize: this.boundaryFontSize,
2376
- fontWeight: this.boundaryFontWeight
2377
- };
2378
- }, "boundaryFont"),
2379
- messageFont: /* @__PURE__ */ __name(function() {
2380
- return {
2381
- fontFamily: this.messageFontFamily,
2382
- fontSize: this.messageFontSize,
2383
- fontWeight: this.messageFontWeight
2384
- };
2385
- }, "messageFont")
2386
- },
2387
- pie: {
2388
- ...config_schema_default.pie,
2389
- useWidth: 984
2390
- },
2391
- xyChart: {
2392
- ...config_schema_default.xyChart,
2393
- useWidth: void 0
2394
- },
2395
- requirement: {
2396
- ...config_schema_default.requirement,
2397
- useWidth: void 0
2398
- },
2399
- packet: {
2400
- ...config_schema_default.packet
2401
- },
2402
- radar: {
2403
- ...config_schema_default.radar
2404
- }
2405
- };
2406
- var keyify = /* @__PURE__ */ __name((obj, prefix = "") => Object.keys(obj).reduce((res, el) => {
2407
- if (Array.isArray(obj[el])) {
2408
- return res;
2409
- } else if (typeof obj[el] === "object" && obj[el] !== null) {
2410
- return [...res, prefix + el, ...keyify(obj[el], "")];
2411
- }
2412
- return [...res, prefix + el];
2413
- }, []), "keyify");
2414
- var configKeys = new Set(keyify(config, ""));
2415
- var defaultConfig_default = config;
2416
- var sanitizeDirective = /* @__PURE__ */ __name((args) => {
2417
- log.debug("sanitizeDirective called with", args);
2418
- if (typeof args !== "object" || args == null) {
2419
- return;
2420
- }
2421
- if (Array.isArray(args)) {
2422
- args.forEach((arg) => sanitizeDirective(arg));
2423
- return;
2424
- }
2425
- for (const key of Object.keys(args)) {
2426
- log.debug("Checking key", key);
2427
- if (key.startsWith("__") || key.includes("proto") || key.includes("constr") || !configKeys.has(key) || args[key] == null) {
2428
- log.debug("sanitize deleting key: ", key);
2429
- delete args[key];
2430
- continue;
2431
- }
2432
- if (typeof args[key] === "object") {
2433
- log.debug("sanitizing object", key);
2434
- sanitizeDirective(args[key]);
2435
- continue;
2436
- }
2437
- const cssMatchers = ["themeCSS", "fontFamily", "altFontFamily"];
2438
- for (const cssKey of cssMatchers) {
2439
- if (key.includes(cssKey)) {
2440
- log.debug("sanitizing css option", key);
2441
- args[key] = sanitizeCss(args[key]);
2442
- }
2443
- }
2444
- }
2445
- if (args.themeVariables) {
2446
- for (const k of Object.keys(args.themeVariables)) {
2447
- const val = args.themeVariables[k];
2448
- if ((val == null ? void 0 : val.match) && !val.match(/^[\d "#%(),.;A-Za-z]+$/)) {
2449
- args.themeVariables[k] = "";
2450
- }
2451
- }
2452
- }
2453
- log.debug("After sanitization", args);
2454
- }, "sanitizeDirective");
2455
- var sanitizeCss = /* @__PURE__ */ __name((str) => {
2456
- let startCnt = 0;
2457
- let endCnt = 0;
2458
- for (const element of str) {
2459
- if (startCnt < endCnt) {
2460
- return "{ /* ERROR: Unbalanced CSS */ }";
2461
- }
2462
- if (element === "{") {
2463
- startCnt++;
2464
- } else if (element === "}") {
2465
- endCnt++;
2466
- }
2467
- }
2468
- if (startCnt !== endCnt) {
2469
- return "{ /* ERROR: Unbalanced CSS */ }";
2470
- }
2471
- return str;
2472
- }, "sanitizeCss");
2473
- var defaultConfig = Object.freeze(defaultConfig_default);
2474
- var siteConfig = assignWithDepth_default({}, defaultConfig);
2475
- var configFromInitialize;
2476
- var directives = [];
2477
- var currentConfig = assignWithDepth_default({}, defaultConfig);
2478
- var updateCurrentConfig = /* @__PURE__ */ __name((siteCfg, _directives) => {
2479
- let cfg = assignWithDepth_default({}, siteCfg);
2480
- let sumOfDirectives = {};
2481
- for (const d of _directives) {
2482
- sanitize(d);
2483
- sumOfDirectives = assignWithDepth_default(sumOfDirectives, d);
2484
- }
2485
- cfg = assignWithDepth_default(cfg, sumOfDirectives);
2486
- if (sumOfDirectives.theme && sumOfDirectives.theme in themes_default) {
2487
- const tmpConfigFromInitialize = assignWithDepth_default({}, configFromInitialize);
2488
- const themeVariables = assignWithDepth_default(
2489
- tmpConfigFromInitialize.themeVariables || {},
2490
- sumOfDirectives.themeVariables
2491
- );
2492
- if (cfg.theme && cfg.theme in themes_default) {
2493
- cfg.themeVariables = themes_default[cfg.theme].getThemeVariables(themeVariables);
2494
- }
2495
- }
2496
- currentConfig = cfg;
2497
- checkConfig(currentConfig);
2498
- return currentConfig;
2499
- }, "updateCurrentConfig");
2500
- var setSiteConfig = /* @__PURE__ */ __name((conf) => {
2501
- siteConfig = assignWithDepth_default({}, defaultConfig);
2502
- siteConfig = assignWithDepth_default(siteConfig, conf);
2503
- if (conf.theme && themes_default[conf.theme]) {
2504
- siteConfig.themeVariables = themes_default[conf.theme].getThemeVariables(conf.themeVariables);
2505
- }
2506
- updateCurrentConfig(siteConfig, directives);
2507
- return siteConfig;
2508
- }, "setSiteConfig");
2509
- var saveConfigFromInitialize = /* @__PURE__ */ __name((conf) => {
2510
- configFromInitialize = assignWithDepth_default({}, conf);
2511
- }, "saveConfigFromInitialize");
2512
- var updateSiteConfig = /* @__PURE__ */ __name((conf) => {
2513
- siteConfig = assignWithDepth_default(siteConfig, conf);
2514
- updateCurrentConfig(siteConfig, directives);
2515
- return siteConfig;
2516
- }, "updateSiteConfig");
2517
- var getSiteConfig = /* @__PURE__ */ __name(() => {
2518
- return assignWithDepth_default({}, siteConfig);
2519
- }, "getSiteConfig");
2520
- var setConfig = /* @__PURE__ */ __name((conf) => {
2521
- checkConfig(conf);
2522
- assignWithDepth_default(currentConfig, conf);
2523
- return getConfig();
2524
- }, "setConfig");
2525
- var getConfig = /* @__PURE__ */ __name(() => {
2526
- return assignWithDepth_default({}, currentConfig);
2527
- }, "getConfig");
2528
- var sanitize = /* @__PURE__ */ __name((options) => {
2529
- if (!options) {
2530
- return;
2531
- }
2532
- ["secure", ...siteConfig.secure ?? []].forEach((key) => {
2533
- if (Object.hasOwn(options, key)) {
2534
- log.debug(`Denied attempt to modify a secure key ${key}`, options[key]);
2535
- delete options[key];
2536
- }
2537
- });
2538
- Object.keys(options).forEach((key) => {
2539
- if (key.startsWith("__")) {
2540
- delete options[key];
2541
- }
2542
- });
2543
- Object.keys(options).forEach((key) => {
2544
- if (typeof options[key] === "string" && (options[key].includes("<") || options[key].includes(">") || options[key].includes("url(data:"))) {
2545
- delete options[key];
2546
- }
2547
- if (typeof options[key] === "object") {
2548
- sanitize(options[key]);
2549
- }
2550
- });
2551
- }, "sanitize");
2552
- var addDirective = /* @__PURE__ */ __name((directive) => {
2553
- var _a2;
2554
- sanitizeDirective(directive);
2555
- if (directive.fontFamily && !((_a2 = directive.themeVariables) == null ? void 0 : _a2.fontFamily)) {
2556
- directive.themeVariables = {
2557
- ...directive.themeVariables,
2558
- fontFamily: directive.fontFamily
2559
- };
2560
- }
2561
- directives.push(directive);
2562
- updateCurrentConfig(siteConfig, directives);
2563
- }, "addDirective");
2564
- var reset = /* @__PURE__ */ __name((config2 = siteConfig) => {
2565
- directives = [];
2566
- updateCurrentConfig(config2, directives);
2567
- }, "reset");
2568
- var ConfigWarning = {
2569
- LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."
2570
- };
2571
- var issuedWarnings = {};
2572
- var issueWarning = /* @__PURE__ */ __name((warning) => {
2573
- if (issuedWarnings[warning]) {
2574
- return;
2575
- }
2576
- log.warn(ConfigWarning[warning]);
2577
- issuedWarnings[warning] = true;
2578
- }, "issueWarning");
2579
- var checkConfig = /* @__PURE__ */ __name((config2) => {
2580
- if (!config2) {
2581
- return;
2582
- }
2583
- if (config2.lazyLoadedDiagrams || config2.loadExternalDiagramsAtStartup) {
2584
- issueWarning("LAZY_LOAD_DEPRECATED");
2585
- }
2586
- }, "checkConfig");
2587
- var lineBreakRegex = /<br\s*\/?>/gi;
2588
- var getRows = /* @__PURE__ */ __name((s) => {
2589
- if (!s) {
2590
- return [""];
2591
- }
2592
- const str = breakToPlaceholder(s).replace(/\\n/g, "#br#");
2593
- return str.split("#br#");
2594
- }, "getRows");
2595
- var setupDompurifyHooksIfNotSetup = /* @__PURE__ */ (() => {
2596
- let setup = false;
2597
- return () => {
2598
- if (!setup) {
2599
- setupDompurifyHooks();
2600
- setup = true;
2601
- }
2602
- };
2603
- })();
2604
- function setupDompurifyHooks() {
2605
- const TEMPORARY_ATTRIBUTE = "data-temp-href-target";
2606
- purify.addHook("beforeSanitizeAttributes", (node) => {
2607
- if (node instanceof Element && node.tagName === "A" && node.hasAttribute("target")) {
2608
- node.setAttribute(TEMPORARY_ATTRIBUTE, node.getAttribute("target") ?? "");
2609
- }
2610
- });
2611
- purify.addHook("afterSanitizeAttributes", (node) => {
2612
- if (node instanceof Element && node.tagName === "A" && node.hasAttribute(TEMPORARY_ATTRIBUTE)) {
2613
- node.setAttribute("target", node.getAttribute(TEMPORARY_ATTRIBUTE) ?? "");
2614
- node.removeAttribute(TEMPORARY_ATTRIBUTE);
2615
- if (node.getAttribute("target") === "_blank") {
2616
- node.setAttribute("rel", "noopener");
2617
- }
2618
- }
2619
- });
2620
- }
2621
- __name(setupDompurifyHooks, "setupDompurifyHooks");
2622
- var removeScript = /* @__PURE__ */ __name((txt) => {
2623
- setupDompurifyHooksIfNotSetup();
2624
- const sanitizedText = purify.sanitize(txt);
2625
- return sanitizedText;
2626
- }, "removeScript");
2627
- var sanitizeMore = /* @__PURE__ */ __name((text, config2) => {
2628
- var _a2;
2629
- if (((_a2 = config2.flowchart) == null ? void 0 : _a2.htmlLabels) !== false) {
2630
- const level = config2.securityLevel;
2631
- if (level === "antiscript" || level === "strict") {
2632
- text = removeScript(text);
2633
- } else if (level !== "loose") {
2634
- text = breakToPlaceholder(text);
2635
- text = text.replace(/</g, "&lt;").replace(/>/g, "&gt;");
2636
- text = text.replace(/=/g, "&equals;");
2637
- text = placeholderToBreak(text);
2638
- }
2639
- }
2640
- return text;
2641
- }, "sanitizeMore");
2642
- var sanitizeText = /* @__PURE__ */ __name((text, config2) => {
2643
- if (!text) {
2644
- return text;
2645
- }
2646
- if (config2.dompurifyConfig) {
2647
- text = purify.sanitize(sanitizeMore(text, config2), config2.dompurifyConfig).toString();
2648
- } else {
2649
- text = purify.sanitize(sanitizeMore(text, config2), {
2650
- FORBID_TAGS: ["style"]
2651
- }).toString();
2652
- }
2653
- return text;
2654
- }, "sanitizeText");
2655
- var sanitizeTextOrArray = /* @__PURE__ */ __name((a, config2) => {
2656
- if (typeof a === "string") {
2657
- return sanitizeText(a, config2);
2658
- }
2659
- return a.flat().map((x) => sanitizeText(x, config2));
2660
- }, "sanitizeTextOrArray");
2661
- var hasBreaks = /* @__PURE__ */ __name((text) => {
2662
- return lineBreakRegex.test(text);
2663
- }, "hasBreaks");
2664
- var splitBreaks = /* @__PURE__ */ __name((text) => {
2665
- return text.split(lineBreakRegex);
2666
- }, "splitBreaks");
2667
- var placeholderToBreak = /* @__PURE__ */ __name((s) => {
2668
- return s.replace(/#br#/g, "<br/>");
2669
- }, "placeholderToBreak");
2670
- var breakToPlaceholder = /* @__PURE__ */ __name((s) => {
2671
- return s.replace(lineBreakRegex, "#br#");
2672
- }, "breakToPlaceholder");
2673
- var getUrl = /* @__PURE__ */ __name((useAbsolute) => {
2674
- let url = "";
2675
- if (useAbsolute) {
2676
- url = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search;
2677
- url = url.replaceAll(/\(/g, "\\(");
2678
- url = url.replaceAll(/\)/g, "\\)");
2679
- }
2680
- return url;
2681
- }, "getUrl");
2682
- var evaluate = /* @__PURE__ */ __name((val) => val === false || ["false", "null", "0"].includes(String(val).trim().toLowerCase()) ? false : true, "evaluate");
2683
- var getMax = /* @__PURE__ */ __name(function(...values) {
2684
- const newValues = values.filter((value) => {
2685
- return !isNaN(value);
2686
- });
2687
- return Math.max(...newValues);
2688
- }, "getMax");
2689
- var getMin = /* @__PURE__ */ __name(function(...values) {
2690
- const newValues = values.filter((value) => {
2691
- return !isNaN(value);
2692
- });
2693
- return Math.min(...newValues);
2694
- }, "getMin");
2695
- var parseGenericTypes = /* @__PURE__ */ __name(function(input) {
2696
- const inputSets = input.split(/(,)/);
2697
- const output = [];
2698
- for (let i = 0; i < inputSets.length; i++) {
2699
- let thisSet = inputSets[i];
2700
- if (thisSet === "," && i > 0 && i + 1 < inputSets.length) {
2701
- const previousSet = inputSets[i - 1];
2702
- const nextSet = inputSets[i + 1];
2703
- if (shouldCombineSets(previousSet, nextSet)) {
2704
- thisSet = previousSet + "," + nextSet;
2705
- i++;
2706
- output.pop();
2707
- }
2708
- }
2709
- output.push(processSet(thisSet));
2710
- }
2711
- return output.join("");
2712
- }, "parseGenericTypes");
2713
- var countOccurrence = /* @__PURE__ */ __name((string, substring) => {
2714
- return Math.max(0, string.split(substring).length - 1);
2715
- }, "countOccurrence");
2716
- var shouldCombineSets = /* @__PURE__ */ __name((previousSet, nextSet) => {
2717
- const prevCount = countOccurrence(previousSet, "~");
2718
- const nextCount = countOccurrence(nextSet, "~");
2719
- return prevCount === 1 && nextCount === 1;
2720
- }, "shouldCombineSets");
2721
- var processSet = /* @__PURE__ */ __name((input) => {
2722
- const tildeCount = countOccurrence(input, "~");
2723
- let hasStartingTilde = false;
2724
- if (tildeCount <= 1) {
2725
- return input;
2726
- }
2727
- if (tildeCount % 2 !== 0 && input.startsWith("~")) {
2728
- input = input.substring(1);
2729
- hasStartingTilde = true;
2730
- }
2731
- const chars = [...input];
2732
- let first = chars.indexOf("~");
2733
- let last = chars.lastIndexOf("~");
2734
- while (first !== -1 && last !== -1 && first !== last) {
2735
- chars[first] = "<";
2736
- chars[last] = ">";
2737
- first = chars.indexOf("~");
2738
- last = chars.lastIndexOf("~");
2739
- }
2740
- if (hasStartingTilde) {
2741
- chars.unshift("~");
2742
- }
2743
- return chars.join("");
2744
- }, "processSet");
2745
- var isMathMLSupported = /* @__PURE__ */ __name(() => window.MathMLElement !== void 0, "isMathMLSupported");
2746
- var katexRegex = /\$\$(.*)\$\$/g;
2747
- var hasKatex = /* @__PURE__ */ __name((text) => {
2748
- var _a2;
2749
- return (((_a2 = text.match(katexRegex)) == null ? void 0 : _a2.length) ?? 0) > 0;
2750
- }, "hasKatex");
2751
- var calculateMathMLDimensions = /* @__PURE__ */ __name(async (text, config2) => {
2752
- text = await renderKatex(text, config2);
2753
- const divElem = document.createElement("div");
2754
- divElem.innerHTML = text;
2755
- divElem.id = "katex-temp";
2756
- divElem.style.visibility = "hidden";
2757
- divElem.style.position = "absolute";
2758
- divElem.style.top = "0";
2759
- const body = document.querySelector("body");
2760
- body == null ? void 0 : body.insertAdjacentElement("beforeend", divElem);
2761
- const dim = { width: divElem.clientWidth, height: divElem.clientHeight };
2762
- divElem.remove();
2763
- return dim;
2764
- }, "calculateMathMLDimensions");
2765
- var renderKatex = /* @__PURE__ */ __name(async (text, config2) => {
2766
- if (!hasKatex(text)) {
2767
- return text;
2768
- }
2769
- if (!(isMathMLSupported() || config2.legacyMathML || config2.forceLegacyMathML)) {
2770
- return text.replace(katexRegex, "MathML is unsupported in this environment.");
2771
- }
2772
- const { default: katex } = await import("katex");
2773
- const outputMode = config2.forceLegacyMathML || !isMathMLSupported() && config2.legacyMathML ? "htmlAndMathml" : "mathml";
2774
- return text.split(lineBreakRegex).map(
2775
- (line) => hasKatex(line) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${line}</div>` : `<div>${line}</div>`
2776
- ).join("").replace(
2777
- katexRegex,
2778
- (_, c) => katex.renderToString(c, {
2779
- throwOnError: true,
2780
- displayMode: true,
2781
- output: outputMode
2782
- }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, "")
2783
- );
2784
- }, "renderKatex");
2785
- var common_default = {
2786
- getRows,
2787
- sanitizeText,
2788
- sanitizeTextOrArray,
2789
- hasBreaks,
2790
- splitBreaks,
2791
- lineBreakRegex,
2792
- removeScript,
2793
- getUrl,
2794
- evaluate,
2795
- getMax,
2796
- getMin
2797
- };
2798
- var d3Attrs = /* @__PURE__ */ __name(function(d3Elem, attrs) {
2799
- for (let attr of attrs) {
2800
- d3Elem.attr(attr[0], attr[1]);
2801
- }
2802
- }, "d3Attrs");
2803
- var calculateSvgSizeAttrs = /* @__PURE__ */ __name(function(height, width, useMaxWidth) {
2804
- let attrs = /* @__PURE__ */ new Map();
2805
- if (useMaxWidth) {
2806
- attrs.set("width", "100%");
2807
- attrs.set("style", `max-width: ${width}px;`);
2808
- } else {
2809
- attrs.set("height", height);
2810
- attrs.set("width", width);
2811
- }
2812
- return attrs;
2813
- }, "calculateSvgSizeAttrs");
2814
- var configureSvgSize = /* @__PURE__ */ __name(function(svgElem, height, width, useMaxWidth) {
2815
- const attrs = calculateSvgSizeAttrs(height, width, useMaxWidth);
2816
- d3Attrs(svgElem, attrs);
2817
- }, "configureSvgSize");
2818
- var setupGraphViewbox = /* @__PURE__ */ __name(function(graph, svgElem, padding, useMaxWidth) {
2819
- const svgBounds = svgElem.node().getBBox();
2820
- const sWidth = svgBounds.width;
2821
- const sHeight = svgBounds.height;
2822
- log.info(`SVG bounds: ${sWidth}x${sHeight}`, svgBounds);
2823
- let width = 0;
2824
- let height = 0;
2825
- log.info(`Graph bounds: ${width}x${height}`, graph);
2826
- width = sWidth + padding * 2;
2827
- height = sHeight + padding * 2;
2828
- log.info(`Calculated bounds: ${width}x${height}`);
2829
- configureSvgSize(svgElem, height, width, useMaxWidth);
2830
- const vBox = `${svgBounds.x - padding} ${svgBounds.y - padding} ${svgBounds.width + 2 * padding} ${svgBounds.height + 2 * padding}`;
2831
- svgElem.attr("viewBox", vBox);
2832
- }, "setupGraphViewbox");
2833
- var themes = {};
2834
- var getStyles = /* @__PURE__ */ __name((type, userStyles, options) => {
2835
- let diagramStyles = "";
2836
- if (type in themes && themes[type]) {
2837
- diagramStyles = themes[type](options);
2838
- } else {
2839
- log.warn(`No theme found for ${type}`);
2840
- }
2841
- return ` & {
2842
- font-family: ${options.fontFamily};
2843
- font-size: ${options.fontSize};
2844
- fill: ${options.textColor}
2845
- }
2846
- @keyframes edge-animation-frame {
2847
- from {
2848
- stroke-dashoffset: 0;
2849
- }
2850
- }
2851
- @keyframes dash {
2852
- to {
2853
- stroke-dashoffset: 0;
2854
- }
2855
- }
2856
- & .edge-animation-slow {
2857
- stroke-dasharray: 9,5 !important;
2858
- stroke-dashoffset: 900;
2859
- animation: dash 50s linear infinite;
2860
- stroke-linecap: round;
2861
- }
2862
- & .edge-animation-fast {
2863
- stroke-dasharray: 9,5 !important;
2864
- stroke-dashoffset: 900;
2865
- animation: dash 20s linear infinite;
2866
- stroke-linecap: round;
2867
- }
2868
- /* Classes common for multiple diagrams */
2869
-
2870
- & .error-icon {
2871
- fill: ${options.errorBkgColor};
2872
- }
2873
- & .error-text {
2874
- fill: ${options.errorTextColor};
2875
- stroke: ${options.errorTextColor};
2876
- }
2877
-
2878
- & .edge-thickness-normal {
2879
- stroke-width: 1px;
2880
- }
2881
- & .edge-thickness-thick {
2882
- stroke-width: 3.5px
2883
- }
2884
- & .edge-pattern-solid {
2885
- stroke-dasharray: 0;
2886
- }
2887
- & .edge-thickness-invisible {
2888
- stroke-width: 0;
2889
- fill: none;
2890
- }
2891
- & .edge-pattern-dashed{
2892
- stroke-dasharray: 3;
2893
- }
2894
- .edge-pattern-dotted {
2895
- stroke-dasharray: 2;
2896
- }
2897
-
2898
- & .marker {
2899
- fill: ${options.lineColor};
2900
- stroke: ${options.lineColor};
2901
- }
2902
- & .marker.cross {
2903
- stroke: ${options.lineColor};
2904
- }
2905
-
2906
- & svg {
2907
- font-family: ${options.fontFamily};
2908
- font-size: ${options.fontSize};
2909
- }
2910
- & p {
2911
- margin: 0
2912
- }
2913
-
2914
- ${diagramStyles}
2915
-
2916
- ${userStyles}
2917
- `;
2918
- }, "getStyles");
2919
- var addStylesForDiagram = /* @__PURE__ */ __name((type, diagramTheme) => {
2920
- if (diagramTheme !== void 0) {
2921
- themes[type] = diagramTheme;
2922
- }
2923
- }, "addStylesForDiagram");
2924
- var styles_default = getStyles;
2925
- var commonDb_exports = {};
2926
- __export(commonDb_exports, {
2927
- clear: () => clear,
2928
- getAccDescription: () => getAccDescription,
2929
- getAccTitle: () => getAccTitle,
2930
- getDiagramTitle: () => getDiagramTitle,
2931
- setAccDescription: () => setAccDescription,
2932
- setAccTitle: () => setAccTitle,
2933
- setDiagramTitle: () => setDiagramTitle
2934
- });
2935
- var accTitle = "";
2936
- var diagramTitle = "";
2937
- var accDescription = "";
2938
- var sanitizeText2 = /* @__PURE__ */ __name((txt) => sanitizeText(txt, getConfig()), "sanitizeText");
2939
- var clear = /* @__PURE__ */ __name(() => {
2940
- accTitle = "";
2941
- accDescription = "";
2942
- diagramTitle = "";
2943
- }, "clear");
2944
- var setAccTitle = /* @__PURE__ */ __name((txt) => {
2945
- accTitle = sanitizeText2(txt).replace(/^\s+/g, "");
2946
- }, "setAccTitle");
2947
- var getAccTitle = /* @__PURE__ */ __name(() => accTitle, "getAccTitle");
2948
- var setAccDescription = /* @__PURE__ */ __name((txt) => {
2949
- accDescription = sanitizeText2(txt).replace(/\n\s+/g, "\n");
2950
- }, "setAccDescription");
2951
- var getAccDescription = /* @__PURE__ */ __name(() => accDescription, "getAccDescription");
2952
- var setDiagramTitle = /* @__PURE__ */ __name((txt) => {
2953
- diagramTitle = sanitizeText2(txt);
2954
- }, "setDiagramTitle");
2955
- var getDiagramTitle = /* @__PURE__ */ __name(() => diagramTitle, "getDiagramTitle");
2956
- var log2 = log;
2957
- var setLogLevel2 = setLogLevel;
2958
- var getConfig2 = getConfig;
2959
- var setConfig2 = setConfig;
2960
- var defaultConfig2 = defaultConfig;
2961
- var sanitizeText3 = /* @__PURE__ */ __name((text) => sanitizeText(text, getConfig2()), "sanitizeText");
2962
- var setupGraphViewbox2 = setupGraphViewbox;
2963
- var getCommonDb = /* @__PURE__ */ __name(() => {
2964
- return commonDb_exports;
2965
- }, "getCommonDb");
2966
- var diagrams = {};
2967
- var registerDiagram = /* @__PURE__ */ __name((id, diagram, detector) => {
2968
- var _a2;
2969
- if (diagrams[id]) {
2970
- log2.warn(`Diagram with id ${id} already registered. Overwriting.`);
2971
- }
2972
- diagrams[id] = diagram;
2973
- if (detector) {
2974
- addDetector(id, detector);
2975
- }
2976
- addStylesForDiagram(id, diagram.styles);
2977
- (_a2 = diagram.injectUtils) == null ? void 0 : _a2.call(
2978
- diagram,
2979
- log2,
2980
- setLogLevel2,
2981
- getConfig2,
2982
- sanitizeText3,
2983
- setupGraphViewbox2,
2984
- getCommonDb(),
2985
- () => {
2986
- }
2987
- );
2988
- }, "registerDiagram");
2989
- var getDiagram = /* @__PURE__ */ __name((name) => {
2990
- if (name in diagrams) {
2991
- return diagrams[name];
2992
- }
2993
- throw new DiagramNotFoundError(name);
2994
- }, "getDiagram");
2995
- var DiagramNotFoundError = (_g = class extends Error {
2996
- constructor(name) {
2997
- super(`Diagram ${name} not found.`);
2998
- }
2999
- }, __name(_g, "DiagramNotFoundError"), _g);
3000
- export {
3001
- UnknownDiagramError,
3002
- __export,
3003
- __name,
3004
- addDirective,
3005
- assignWithDepth_default,
3006
- calculateMathMLDimensions,
3007
- clear,
3008
- commonDb_exports,
3009
- common_default,
3010
- configureSvgSize,
3011
- defaultConfig,
3012
- defaultConfig2,
3013
- defaultConfig_default,
3014
- detectType,
3015
- detectors,
3016
- directiveRegex,
3017
- evaluate,
3018
- frontMatterRegex,
3019
- getAccDescription,
3020
- getAccTitle,
3021
- getConfig,
3022
- getConfig2,
3023
- getDiagram,
3024
- getDiagramLoader,
3025
- getDiagramTitle,
3026
- getSiteConfig,
3027
- getThemeVariables3 as getThemeVariables,
3028
- hasKatex,
3029
- lineBreakRegex,
3030
- log,
3031
- parseGenericTypes,
3032
- registerDiagram,
3033
- registerLazyLoadedDiagrams,
3034
- renderKatex,
3035
- reset,
3036
- sanitizeDirective,
3037
- sanitizeText,
3038
- sanitizeText3 as sanitizeText2,
3039
- saveConfigFromInitialize,
3040
- setAccDescription,
3041
- setAccTitle,
3042
- setConfig,
3043
- setConfig2,
3044
- setDiagramTitle,
3045
- setLogLevel,
3046
- setSiteConfig,
3047
- setupGraphViewbox,
3048
- setupGraphViewbox2,
3049
- styles_default,
3050
- themes_default,
3051
- updateSiteConfig
3052
- };