@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,1093 +0,0 @@
1
- import { getIconSVG, registerIconPacks, unknownIcon } from "./chunk-H2D2JQ3I.mjs";
2
- import { createText } from "./chunk-C3MQ5ANM.mjs";
3
- import { populateCommonDb } from "./chunk-4BMEZGHF.mjs";
4
- import { ImperativeState } from "./chunk-XZIHB7SX.mjs";
5
- import "./chunk-O4NI6UNU.mjs";
6
- import { selectSvgElement } from "./chunk-7B677QYD.mjs";
7
- import { __name, getAccDescription, setAccDescription, getAccTitle, setAccTitle, getDiagramTitle, setDiagramTitle, setupGraphViewbox, clear, log, getConfig2, defaultConfig_default } from "./chunk-YTJNT7DU.mjs";
8
- import { parse } from "../../../../../../@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs";
9
- import cytoscape from "../../../../../../cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs";
10
- import fcose from "../../../../../../../../_virtual/cytoscape-fcose.mjs";
11
- import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs";
12
- import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs";
13
- import select from "../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs";
14
- var ArchitectureDirectionName = {
15
- L: "left",
16
- R: "right",
17
- T: "top",
18
- B: "bottom"
19
- };
20
- var ArchitectureDirectionArrow = {
21
- L: /* @__PURE__ */ __name((scale) => `${scale},${scale / 2} 0,${scale} 0,0`, "L"),
22
- R: /* @__PURE__ */ __name((scale) => `0,${scale / 2} ${scale},0 ${scale},${scale}`, "R"),
23
- T: /* @__PURE__ */ __name((scale) => `0,0 ${scale},0 ${scale / 2},${scale}`, "T"),
24
- B: /* @__PURE__ */ __name((scale) => `${scale / 2},0 ${scale},${scale} 0,${scale}`, "B")
25
- };
26
- var ArchitectureDirectionArrowShift = {
27
- L: /* @__PURE__ */ __name((orig, arrowSize) => orig - arrowSize + 2, "L"),
28
- R: /* @__PURE__ */ __name((orig, _arrowSize) => orig - 2, "R"),
29
- T: /* @__PURE__ */ __name((orig, arrowSize) => orig - arrowSize + 2, "T"),
30
- B: /* @__PURE__ */ __name((orig, _arrowSize) => orig - 2, "B")
31
- };
32
- var getOppositeArchitectureDirection = /* @__PURE__ */ __name(function(x) {
33
- if (isArchitectureDirectionX(x)) {
34
- return x === "L" ? "R" : "L";
35
- } else {
36
- return x === "T" ? "B" : "T";
37
- }
38
- }, "getOppositeArchitectureDirection");
39
- var isArchitectureDirection = /* @__PURE__ */ __name(function(x) {
40
- const temp = x;
41
- return temp === "L" || temp === "R" || temp === "T" || temp === "B";
42
- }, "isArchitectureDirection");
43
- var isArchitectureDirectionX = /* @__PURE__ */ __name(function(x) {
44
- const temp = x;
45
- return temp === "L" || temp === "R";
46
- }, "isArchitectureDirectionX");
47
- var isArchitectureDirectionY = /* @__PURE__ */ __name(function(x) {
48
- const temp = x;
49
- return temp === "T" || temp === "B";
50
- }, "isArchitectureDirectionY");
51
- var isArchitectureDirectionXY = /* @__PURE__ */ __name(function(a, b) {
52
- const aX_bY = isArchitectureDirectionX(a) && isArchitectureDirectionY(b);
53
- const aY_bX = isArchitectureDirectionY(a) && isArchitectureDirectionX(b);
54
- return aX_bY || aY_bX;
55
- }, "isArchitectureDirectionXY");
56
- var isArchitecturePairXY = /* @__PURE__ */ __name(function(pair) {
57
- const lhs = pair[0];
58
- const rhs = pair[1];
59
- const aX_bY = isArchitectureDirectionX(lhs) && isArchitectureDirectionY(rhs);
60
- const aY_bX = isArchitectureDirectionY(lhs) && isArchitectureDirectionX(rhs);
61
- return aX_bY || aY_bX;
62
- }, "isArchitecturePairXY");
63
- var isValidArchitectureDirectionPair = /* @__PURE__ */ __name(function(x) {
64
- return x !== "LL" && x !== "RR" && x !== "TT" && x !== "BB";
65
- }, "isValidArchitectureDirectionPair");
66
- var getArchitectureDirectionPair = /* @__PURE__ */ __name(function(sourceDir, targetDir) {
67
- const pair = `${sourceDir}${targetDir}`;
68
- return isValidArchitectureDirectionPair(pair) ? pair : void 0;
69
- }, "getArchitectureDirectionPair");
70
- var shiftPositionByArchitectureDirectionPair = /* @__PURE__ */ __name(function([x, y], pair) {
71
- const lhs = pair[0];
72
- const rhs = pair[1];
73
- if (isArchitectureDirectionX(lhs)) {
74
- if (isArchitectureDirectionY(rhs)) {
75
- return [x + (lhs === "L" ? -1 : 1), y + (rhs === "T" ? 1 : -1)];
76
- } else {
77
- return [x + (lhs === "L" ? -1 : 1), y];
78
- }
79
- } else {
80
- if (isArchitectureDirectionX(rhs)) {
81
- return [x + (rhs === "L" ? 1 : -1), y + (lhs === "T" ? 1 : -1)];
82
- } else {
83
- return [x, y + (lhs === "T" ? 1 : -1)];
84
- }
85
- }
86
- }, "shiftPositionByArchitectureDirectionPair");
87
- var getArchitectureDirectionXYFactors = /* @__PURE__ */ __name(function(pair) {
88
- if (pair === "LT" || pair === "TL") {
89
- return [1, 1];
90
- } else if (pair === "BL" || pair === "LB") {
91
- return [1, -1];
92
- } else if (pair === "BR" || pair === "RB") {
93
- return [-1, -1];
94
- } else {
95
- return [-1, 1];
96
- }
97
- }, "getArchitectureDirectionXYFactors");
98
- var getArchitectureDirectionAlignment = /* @__PURE__ */ __name(function(a, b) {
99
- if (isArchitectureDirectionXY(a, b)) {
100
- return "bend";
101
- } else if (isArchitectureDirectionX(a)) {
102
- return "horizontal";
103
- }
104
- return "vertical";
105
- }, "getArchitectureDirectionAlignment");
106
- var isArchitectureService = /* @__PURE__ */ __name(function(x) {
107
- const temp = x;
108
- return temp.type === "service";
109
- }, "isArchitectureService");
110
- var isArchitectureJunction = /* @__PURE__ */ __name(function(x) {
111
- const temp = x;
112
- return temp.type === "junction";
113
- }, "isArchitectureJunction");
114
- var edgeData = /* @__PURE__ */ __name((edge) => {
115
- return edge.data();
116
- }, "edgeData");
117
- var nodeData = /* @__PURE__ */ __name((node) => {
118
- return node.data();
119
- }, "nodeData");
120
- var DEFAULT_ARCHITECTURE_CONFIG = defaultConfig_default.architecture;
121
- var state = new ImperativeState(() => ({
122
- nodes: {},
123
- groups: {},
124
- edges: [],
125
- registeredIds: {},
126
- config: DEFAULT_ARCHITECTURE_CONFIG,
127
- dataStructures: void 0,
128
- elements: {}
129
- }));
130
- var clear2 = /* @__PURE__ */ __name(() => {
131
- state.reset();
132
- clear();
133
- }, "clear");
134
- var addService = /* @__PURE__ */ __name(function({
135
- id,
136
- icon,
137
- in: parent,
138
- title,
139
- iconText
140
- }) {
141
- if (state.records.registeredIds[id] !== void 0) {
142
- throw new Error(
143
- `The service id [${id}] is already in use by another ${state.records.registeredIds[id]}`
144
- );
145
- }
146
- if (parent !== void 0) {
147
- if (id === parent) {
148
- throw new Error(`The service [${id}] cannot be placed within itself`);
149
- }
150
- if (state.records.registeredIds[parent] === void 0) {
151
- throw new Error(
152
- `The service [${id}]'s parent does not exist. Please make sure the parent is created before this service`
153
- );
154
- }
155
- if (state.records.registeredIds[parent] === "node") {
156
- throw new Error(`The service [${id}]'s parent is not a group`);
157
- }
158
- }
159
- state.records.registeredIds[id] = "node";
160
- state.records.nodes[id] = {
161
- id,
162
- type: "service",
163
- icon,
164
- iconText,
165
- title,
166
- edges: [],
167
- in: parent
168
- };
169
- }, "addService");
170
- var getServices = /* @__PURE__ */ __name(() => Object.values(state.records.nodes).filter(isArchitectureService), "getServices");
171
- var addJunction = /* @__PURE__ */ __name(function({ id, in: parent }) {
172
- state.records.registeredIds[id] = "node";
173
- state.records.nodes[id] = {
174
- id,
175
- type: "junction",
176
- edges: [],
177
- in: parent
178
- };
179
- }, "addJunction");
180
- var getJunctions = /* @__PURE__ */ __name(() => Object.values(state.records.nodes).filter(isArchitectureJunction), "getJunctions");
181
- var getNodes = /* @__PURE__ */ __name(() => Object.values(state.records.nodes), "getNodes");
182
- var getNode = /* @__PURE__ */ __name((id) => state.records.nodes[id], "getNode");
183
- var addGroup = /* @__PURE__ */ __name(function({ id, icon, in: parent, title }) {
184
- if (state.records.registeredIds[id] !== void 0) {
185
- throw new Error(
186
- `The group id [${id}] is already in use by another ${state.records.registeredIds[id]}`
187
- );
188
- }
189
- if (parent !== void 0) {
190
- if (id === parent) {
191
- throw new Error(`The group [${id}] cannot be placed within itself`);
192
- }
193
- if (state.records.registeredIds[parent] === void 0) {
194
- throw new Error(
195
- `The group [${id}]'s parent does not exist. Please make sure the parent is created before this group`
196
- );
197
- }
198
- if (state.records.registeredIds[parent] === "node") {
199
- throw new Error(`The group [${id}]'s parent is not a group`);
200
- }
201
- }
202
- state.records.registeredIds[id] = "group";
203
- state.records.groups[id] = {
204
- id,
205
- icon,
206
- title,
207
- in: parent
208
- };
209
- }, "addGroup");
210
- var getGroups = /* @__PURE__ */ __name(() => {
211
- return Object.values(state.records.groups);
212
- }, "getGroups");
213
- var addEdge = /* @__PURE__ */ __name(function({
214
- lhsId,
215
- rhsId,
216
- lhsDir,
217
- rhsDir,
218
- lhsInto,
219
- rhsInto,
220
- lhsGroup,
221
- rhsGroup,
222
- title
223
- }) {
224
- if (!isArchitectureDirection(lhsDir)) {
225
- throw new Error(
226
- `Invalid direction given for left hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${lhsDir}`
227
- );
228
- }
229
- if (!isArchitectureDirection(rhsDir)) {
230
- throw new Error(
231
- `Invalid direction given for right hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${rhsDir}`
232
- );
233
- }
234
- if (state.records.nodes[lhsId] === void 0 && state.records.groups[lhsId] === void 0) {
235
- throw new Error(
236
- `The left-hand id [${lhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
237
- );
238
- }
239
- if (state.records.nodes[rhsId] === void 0 && state.records.groups[lhsId] === void 0) {
240
- throw new Error(
241
- `The right-hand id [${rhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
242
- );
243
- }
244
- const lhsGroupId = state.records.nodes[lhsId].in;
245
- const rhsGroupId = state.records.nodes[rhsId].in;
246
- if (lhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
247
- throw new Error(
248
- `The left-hand id [${lhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
249
- );
250
- }
251
- if (rhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
252
- throw new Error(
253
- `The right-hand id [${rhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
254
- );
255
- }
256
- const edge = {
257
- lhsId,
258
- lhsDir,
259
- lhsInto,
260
- lhsGroup,
261
- rhsId,
262
- rhsDir,
263
- rhsInto,
264
- rhsGroup,
265
- title
266
- };
267
- state.records.edges.push(edge);
268
- if (state.records.nodes[lhsId] && state.records.nodes[rhsId]) {
269
- state.records.nodes[lhsId].edges.push(state.records.edges[state.records.edges.length - 1]);
270
- state.records.nodes[rhsId].edges.push(state.records.edges[state.records.edges.length - 1]);
271
- }
272
- }, "addEdge");
273
- var getEdges = /* @__PURE__ */ __name(() => state.records.edges, "getEdges");
274
- var getDataStructures = /* @__PURE__ */ __name(() => {
275
- if (state.records.dataStructures === void 0) {
276
- const groupAlignments = {};
277
- const adjList = Object.entries(state.records.nodes).reduce((prevOuter, [id, service]) => {
278
- prevOuter[id] = service.edges.reduce((prevInner, edge) => {
279
- var _a, _b;
280
- const lhsGroupId = (_a = getNode(edge.lhsId)) == null ? void 0 : _a.in;
281
- const rhsGroupId = (_b = getNode(edge.rhsId)) == null ? void 0 : _b.in;
282
- if (lhsGroupId && rhsGroupId && lhsGroupId !== rhsGroupId) {
283
- const alignment = getArchitectureDirectionAlignment(edge.lhsDir, edge.rhsDir);
284
- if (alignment !== "bend") {
285
- groupAlignments[lhsGroupId] ?? (groupAlignments[lhsGroupId] = {});
286
- groupAlignments[lhsGroupId][rhsGroupId] = alignment;
287
- groupAlignments[rhsGroupId] ?? (groupAlignments[rhsGroupId] = {});
288
- groupAlignments[rhsGroupId][lhsGroupId] = alignment;
289
- }
290
- }
291
- if (edge.lhsId === id) {
292
- const pair = getArchitectureDirectionPair(edge.lhsDir, edge.rhsDir);
293
- if (pair) {
294
- prevInner[pair] = edge.rhsId;
295
- }
296
- } else {
297
- const pair = getArchitectureDirectionPair(edge.rhsDir, edge.lhsDir);
298
- if (pair) {
299
- prevInner[pair] = edge.lhsId;
300
- }
301
- }
302
- return prevInner;
303
- }, {});
304
- return prevOuter;
305
- }, {});
306
- const firstId = Object.keys(adjList)[0];
307
- const visited = { [firstId]: 1 };
308
- const notVisited = Object.keys(adjList).reduce(
309
- (prev, id) => id === firstId ? prev : { ...prev, [id]: 1 },
310
- {}
311
- );
312
- const BFS = /* @__PURE__ */ __name((startingId) => {
313
- const spatialMap = { [startingId]: [0, 0] };
314
- const queue = [startingId];
315
- while (queue.length > 0) {
316
- const id = queue.shift();
317
- if (id) {
318
- visited[id] = 1;
319
- delete notVisited[id];
320
- const adj = adjList[id];
321
- const [posX, posY] = spatialMap[id];
322
- Object.entries(adj).forEach(([dir, rhsId]) => {
323
- if (!visited[rhsId]) {
324
- spatialMap[rhsId] = shiftPositionByArchitectureDirectionPair(
325
- [posX, posY],
326
- dir
327
- );
328
- queue.push(rhsId);
329
- }
330
- });
331
- }
332
- }
333
- return spatialMap;
334
- }, "BFS");
335
- const spatialMaps = [BFS(firstId)];
336
- while (Object.keys(notVisited).length > 0) {
337
- spatialMaps.push(BFS(Object.keys(notVisited)[0]));
338
- }
339
- state.records.dataStructures = {
340
- adjList,
341
- spatialMaps,
342
- groupAlignments
343
- };
344
- }
345
- return state.records.dataStructures;
346
- }, "getDataStructures");
347
- var setElementForId = /* @__PURE__ */ __name((id, element) => {
348
- state.records.elements[id] = element;
349
- }, "setElementForId");
350
- var getElementById = /* @__PURE__ */ __name((id) => state.records.elements[id], "getElementById");
351
- var db = {
352
- clear: clear2,
353
- setDiagramTitle,
354
- getDiagramTitle,
355
- setAccTitle,
356
- getAccTitle,
357
- setAccDescription,
358
- getAccDescription,
359
- addService,
360
- getServices,
361
- addJunction,
362
- getJunctions,
363
- getNodes,
364
- getNode,
365
- addGroup,
366
- getGroups,
367
- addEdge,
368
- getEdges,
369
- setElementForId,
370
- getElementById,
371
- getDataStructures
372
- };
373
- function getConfigField(field) {
374
- const arch = getConfig2().architecture;
375
- if (arch == null ? void 0 : arch[field]) {
376
- return arch[field];
377
- }
378
- return DEFAULT_ARCHITECTURE_CONFIG[field];
379
- }
380
- __name(getConfigField, "getConfigField");
381
- var populateDb = /* @__PURE__ */ __name((ast, db2) => {
382
- populateCommonDb(ast, db2);
383
- ast.groups.map(db2.addGroup);
384
- ast.services.map((service) => db2.addService({ ...service, type: "service" }));
385
- ast.junctions.map((service) => db2.addJunction({ ...service, type: "junction" }));
386
- ast.edges.map(db2.addEdge);
387
- }, "populateDb");
388
- var parser = {
389
- parse: /* @__PURE__ */ __name(async (input) => {
390
- const ast = await parse("architecture", input);
391
- log.debug(ast);
392
- populateDb(ast, db);
393
- }, "parse")
394
- };
395
- var getStyles = /* @__PURE__ */ __name((options) => `
396
- .edge {
397
- stroke-width: ${options.archEdgeWidth};
398
- stroke: ${options.archEdgeColor};
399
- fill: none;
400
- }
401
-
402
- .arrow {
403
- fill: ${options.archEdgeArrowColor};
404
- }
405
-
406
- .node-bkg {
407
- fill: none;
408
- stroke: ${options.archGroupBorderColor};
409
- stroke-width: ${options.archGroupBorderWidth};
410
- stroke-dasharray: 8;
411
- }
412
- .node-icon-text {
413
- display: flex;
414
- align-items: center;
415
- }
416
-
417
- .node-icon-text > div {
418
- color: #fff;
419
- margin: 1px;
420
- height: fit-content;
421
- text-align: center;
422
- overflow: hidden;
423
- display: -webkit-box;
424
- -webkit-box-orient: vertical;
425
- }
426
- `, "getStyles");
427
- var architectureStyles_default = getStyles;
428
- var wrapIcon = /* @__PURE__ */ __name((icon) => {
429
- return `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${icon}</g>`;
430
- }, "wrapIcon");
431
- var architectureIcons = {
432
- prefix: "mermaid-architecture",
433
- height: 80,
434
- width: 80,
435
- icons: {
436
- database: {
437
- body: wrapIcon(
438
- '<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
439
- )
440
- },
441
- server: {
442
- body: wrapIcon(
443
- '<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>'
444
- )
445
- },
446
- disk: {
447
- body: wrapIcon(
448
- '<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>'
449
- )
450
- },
451
- internet: {
452
- body: wrapIcon(
453
- '<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
454
- )
455
- },
456
- cloud: {
457
- body: wrapIcon(
458
- '<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
459
- )
460
- },
461
- unknown: unknownIcon,
462
- blank: {
463
- body: wrapIcon("")
464
- }
465
- }
466
- };
467
- var drawEdges = /* @__PURE__ */ __name(async function(edgesEl, cy) {
468
- const padding = getConfigField("padding");
469
- const iconSize = getConfigField("iconSize");
470
- const halfIconSize = iconSize / 2;
471
- const arrowSize = iconSize / 6;
472
- const halfArrowSize = arrowSize / 2;
473
- await Promise.all(
474
- cy.edges().map(async (edge) => {
475
- var _a, _b;
476
- const {
477
- source,
478
- sourceDir,
479
- sourceArrow,
480
- sourceGroup,
481
- target,
482
- targetDir,
483
- targetArrow,
484
- targetGroup,
485
- label
486
- } = edgeData(edge);
487
- let { x: startX, y: startY } = edge[0].sourceEndpoint();
488
- const { x: midX, y: midY } = edge[0].midpoint();
489
- let { x: endX, y: endY } = edge[0].targetEndpoint();
490
- const groupEdgeShift = padding + 4;
491
- if (sourceGroup) {
492
- if (isArchitectureDirectionX(sourceDir)) {
493
- startX += sourceDir === "L" ? -groupEdgeShift : groupEdgeShift;
494
- } else {
495
- startY += sourceDir === "T" ? -groupEdgeShift : groupEdgeShift + 18;
496
- }
497
- }
498
- if (targetGroup) {
499
- if (isArchitectureDirectionX(targetDir)) {
500
- endX += targetDir === "L" ? -groupEdgeShift : groupEdgeShift;
501
- } else {
502
- endY += targetDir === "T" ? -groupEdgeShift : groupEdgeShift + 18;
503
- }
504
- }
505
- if (!sourceGroup && ((_a = db.getNode(source)) == null ? void 0 : _a.type) === "junction") {
506
- if (isArchitectureDirectionX(sourceDir)) {
507
- startX += sourceDir === "L" ? halfIconSize : -halfIconSize;
508
- } else {
509
- startY += sourceDir === "T" ? halfIconSize : -halfIconSize;
510
- }
511
- }
512
- if (!targetGroup && ((_b = db.getNode(target)) == null ? void 0 : _b.type) === "junction") {
513
- if (isArchitectureDirectionX(targetDir)) {
514
- endX += targetDir === "L" ? halfIconSize : -halfIconSize;
515
- } else {
516
- endY += targetDir === "T" ? halfIconSize : -halfIconSize;
517
- }
518
- }
519
- if (edge[0]._private.rscratch) {
520
- const g = edgesEl.insert("g");
521
- g.insert("path").attr("d", `M ${startX},${startY} L ${midX},${midY} L${endX},${endY} `).attr("class", "edge");
522
- if (sourceArrow) {
523
- const xShift = isArchitectureDirectionX(sourceDir) ? ArchitectureDirectionArrowShift[sourceDir](startX, arrowSize) : startX - halfArrowSize;
524
- const yShift = isArchitectureDirectionY(sourceDir) ? ArchitectureDirectionArrowShift[sourceDir](startY, arrowSize) : startY - halfArrowSize;
525
- g.insert("polygon").attr("points", ArchitectureDirectionArrow[sourceDir](arrowSize)).attr("transform", `translate(${xShift},${yShift})`).attr("class", "arrow");
526
- }
527
- if (targetArrow) {
528
- const xShift = isArchitectureDirectionX(targetDir) ? ArchitectureDirectionArrowShift[targetDir](endX, arrowSize) : endX - halfArrowSize;
529
- const yShift = isArchitectureDirectionY(targetDir) ? ArchitectureDirectionArrowShift[targetDir](endY, arrowSize) : endY - halfArrowSize;
530
- g.insert("polygon").attr("points", ArchitectureDirectionArrow[targetDir](arrowSize)).attr("transform", `translate(${xShift},${yShift})`).attr("class", "arrow");
531
- }
532
- if (label) {
533
- const axis = !isArchitectureDirectionXY(sourceDir, targetDir) ? isArchitectureDirectionX(sourceDir) ? "X" : "Y" : "XY";
534
- let width = 0;
535
- if (axis === "X") {
536
- width = Math.abs(startX - endX);
537
- } else if (axis === "Y") {
538
- width = Math.abs(startY - endY) / 1.5;
539
- } else {
540
- width = Math.abs(startX - endX) / 2;
541
- }
542
- const textElem = g.append("g");
543
- await createText(
544
- textElem,
545
- label,
546
- {
547
- useHtmlLabels: false,
548
- width,
549
- classes: "architecture-service-label"
550
- },
551
- getConfig2()
552
- );
553
- textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
554
- if (axis === "X") {
555
- textElem.attr("transform", "translate(" + midX + ", " + midY + ")");
556
- } else if (axis === "Y") {
557
- textElem.attr("transform", "translate(" + midX + ", " + midY + ") rotate(-90)");
558
- } else if (axis === "XY") {
559
- const pair = getArchitectureDirectionPair(sourceDir, targetDir);
560
- if (pair && isArchitecturePairXY(pair)) {
561
- const bboxOrig = textElem.node().getBoundingClientRect();
562
- const [x, y] = getArchitectureDirectionXYFactors(pair);
563
- textElem.attr("dominant-baseline", "auto").attr("transform", `rotate(${-1 * x * y * 45})`);
564
- const bboxNew = textElem.node().getBoundingClientRect();
565
- textElem.attr(
566
- "transform",
567
- `
568
- translate(${midX}, ${midY - bboxOrig.height / 2})
569
- translate(${x * bboxNew.width / 2}, ${y * bboxNew.height / 2})
570
- rotate(${-1 * x * y * 45}, 0, ${bboxOrig.height / 2})
571
- `
572
- );
573
- }
574
- }
575
- }
576
- }
577
- })
578
- );
579
- }, "drawEdges");
580
- var drawGroups = /* @__PURE__ */ __name(async function(groupsEl, cy) {
581
- const padding = getConfigField("padding");
582
- const groupIconSize = padding * 0.75;
583
- const fontSize = getConfigField("fontSize");
584
- const iconSize = getConfigField("iconSize");
585
- const halfIconSize = iconSize / 2;
586
- await Promise.all(
587
- cy.nodes().map(async (node) => {
588
- const data = nodeData(node);
589
- if (data.type === "group") {
590
- const { h, w, x1, y1 } = node.boundingBox();
591
- groupsEl.append("rect").attr("x", x1 + halfIconSize).attr("y", y1 + halfIconSize).attr("width", w).attr("height", h).attr("class", "node-bkg");
592
- const groupLabelContainer = groupsEl.append("g");
593
- let shiftedX1 = x1;
594
- let shiftedY1 = y1;
595
- if (data.icon) {
596
- const bkgElem = groupLabelContainer.append("g");
597
- bkgElem.html(
598
- `<g>${await getIconSVG(data.icon, { height: groupIconSize, width: groupIconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
599
- );
600
- bkgElem.attr(
601
- "transform",
602
- "translate(" + (shiftedX1 + halfIconSize + 1) + ", " + (shiftedY1 + halfIconSize + 1) + ")"
603
- );
604
- shiftedX1 += groupIconSize;
605
- shiftedY1 += fontSize / 2 - 1 - 2;
606
- }
607
- if (data.label) {
608
- const textElem = groupLabelContainer.append("g");
609
- await createText(
610
- textElem,
611
- data.label,
612
- {
613
- useHtmlLabels: false,
614
- width: w,
615
- classes: "architecture-service-label"
616
- },
617
- getConfig2()
618
- );
619
- textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start");
620
- textElem.attr(
621
- "transform",
622
- "translate(" + (shiftedX1 + halfIconSize + 4) + ", " + (shiftedY1 + halfIconSize + 2) + ")"
623
- );
624
- }
625
- }
626
- })
627
- );
628
- }, "drawGroups");
629
- var drawServices = /* @__PURE__ */ __name(async function(db2, elem, services) {
630
- for (const service of services) {
631
- const serviceElem = elem.append("g");
632
- const iconSize = getConfigField("iconSize");
633
- if (service.title) {
634
- const textElem = serviceElem.append("g");
635
- await createText(
636
- textElem,
637
- service.title,
638
- {
639
- useHtmlLabels: false,
640
- width: iconSize * 1.5,
641
- classes: "architecture-service-label"
642
- },
643
- getConfig2()
644
- );
645
- textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
646
- textElem.attr("transform", "translate(" + iconSize / 2 + ", " + iconSize + ")");
647
- }
648
- const bkgElem = serviceElem.append("g");
649
- if (service.icon) {
650
- bkgElem.html(
651
- `<g>${await getIconSVG(service.icon, { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
652
- );
653
- } else if (service.iconText) {
654
- bkgElem.html(
655
- `<g>${await getIconSVG("blank", { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
656
- );
657
- const textElemContainer = bkgElem.append("g");
658
- const fo = textElemContainer.append("foreignObject").attr("width", iconSize).attr("height", iconSize);
659
- const divElem = fo.append("div").attr("class", "node-icon-text").attr("style", `height: ${iconSize}px;`).append("div").html(service.iconText);
660
- const fontSize = parseInt(
661
- window.getComputedStyle(divElem.node(), null).getPropertyValue("font-size").replace(/\D/g, "")
662
- ) ?? 16;
663
- divElem.attr("style", `-webkit-line-clamp: ${Math.floor((iconSize - 2) / fontSize)};`);
664
- } else {
665
- bkgElem.append("path").attr("class", "node-bkg").attr("id", "node-" + service.id).attr(
666
- "d",
667
- `M0 ${iconSize} v${-iconSize} q0,-5 5,-5 h${iconSize} q5,0 5,5 v${iconSize} H0 Z`
668
- );
669
- }
670
- serviceElem.attr("class", "architecture-service");
671
- const { width, height } = serviceElem._groups[0][0].getBBox();
672
- service.width = width;
673
- service.height = height;
674
- db2.setElementForId(service.id, serviceElem);
675
- }
676
- return 0;
677
- }, "drawServices");
678
- var drawJunctions = /* @__PURE__ */ __name(function(db2, elem, junctions) {
679
- junctions.forEach((junction) => {
680
- const junctionElem = elem.append("g");
681
- const iconSize = getConfigField("iconSize");
682
- const bkgElem = junctionElem.append("g");
683
- bkgElem.append("rect").attr("id", "node-" + junction.id).attr("fill-opacity", "0").attr("width", iconSize).attr("height", iconSize);
684
- junctionElem.attr("class", "architecture-junction");
685
- const { width, height } = junctionElem._groups[0][0].getBBox();
686
- junctionElem.width = width;
687
- junctionElem.height = height;
688
- db2.setElementForId(junction.id, junctionElem);
689
- });
690
- }, "drawJunctions");
691
- registerIconPacks([
692
- {
693
- name: architectureIcons.prefix,
694
- icons: architectureIcons
695
- }
696
- ]);
697
- cytoscape.use(fcose);
698
- function addServices(services, cy) {
699
- services.forEach((service) => {
700
- cy.add({
701
- group: "nodes",
702
- data: {
703
- type: "service",
704
- id: service.id,
705
- icon: service.icon,
706
- label: service.title,
707
- parent: service.in,
708
- width: getConfigField("iconSize"),
709
- height: getConfigField("iconSize")
710
- },
711
- classes: "node-service"
712
- });
713
- });
714
- }
715
- __name(addServices, "addServices");
716
- function addJunctions(junctions, cy) {
717
- junctions.forEach((junction) => {
718
- cy.add({
719
- group: "nodes",
720
- data: {
721
- type: "junction",
722
- id: junction.id,
723
- parent: junction.in,
724
- width: getConfigField("iconSize"),
725
- height: getConfigField("iconSize")
726
- },
727
- classes: "node-junction"
728
- });
729
- });
730
- }
731
- __name(addJunctions, "addJunctions");
732
- function positionNodes(db2, cy) {
733
- cy.nodes().map((node) => {
734
- const data = nodeData(node);
735
- if (data.type === "group") {
736
- return;
737
- }
738
- data.x = node.position().x;
739
- data.y = node.position().y;
740
- const nodeElem = db2.getElementById(data.id);
741
- nodeElem.attr("transform", "translate(" + (data.x || 0) + "," + (data.y || 0) + ")");
742
- });
743
- }
744
- __name(positionNodes, "positionNodes");
745
- function addGroups(groups, cy) {
746
- groups.forEach((group) => {
747
- cy.add({
748
- group: "nodes",
749
- data: {
750
- type: "group",
751
- id: group.id,
752
- icon: group.icon,
753
- label: group.title,
754
- parent: group.in
755
- },
756
- classes: "node-group"
757
- });
758
- });
759
- }
760
- __name(addGroups, "addGroups");
761
- function addEdges(edges, cy) {
762
- edges.forEach((parsedEdge) => {
763
- const { lhsId, rhsId, lhsInto, lhsGroup, rhsInto, lhsDir, rhsDir, rhsGroup, title } = parsedEdge;
764
- const edgeType = isArchitectureDirectionXY(parsedEdge.lhsDir, parsedEdge.rhsDir) ? "segments" : "straight";
765
- const edge = {
766
- id: `${lhsId}-${rhsId}`,
767
- label: title,
768
- source: lhsId,
769
- sourceDir: lhsDir,
770
- sourceArrow: lhsInto,
771
- sourceGroup: lhsGroup,
772
- sourceEndpoint: lhsDir === "L" ? "0 50%" : lhsDir === "R" ? "100% 50%" : lhsDir === "T" ? "50% 0" : "50% 100%",
773
- target: rhsId,
774
- targetDir: rhsDir,
775
- targetArrow: rhsInto,
776
- targetGroup: rhsGroup,
777
- targetEndpoint: rhsDir === "L" ? "0 50%" : rhsDir === "R" ? "100% 50%" : rhsDir === "T" ? "50% 0" : "50% 100%"
778
- };
779
- cy.add({
780
- group: "edges",
781
- data: edge,
782
- classes: edgeType
783
- });
784
- });
785
- }
786
- __name(addEdges, "addEdges");
787
- function getAlignments(db2, spatialMaps, groupAlignments) {
788
- const flattenAlignments = /* @__PURE__ */ __name((alignmentObj, alignmentDir) => {
789
- return Object.entries(alignmentObj).reduce(
790
- (prev, [dir, alignments2]) => {
791
- var _a;
792
- let cnt = 0;
793
- const arr = Object.entries(alignments2);
794
- if (arr.length === 1) {
795
- prev[dir] = arr[0][1];
796
- return prev;
797
- }
798
- for (let i = 0; i < arr.length - 1; i++) {
799
- for (let j = i + 1; j < arr.length; j++) {
800
- const [aGroupId, aNodeIds] = arr[i];
801
- const [bGroupId, bNodeIds] = arr[j];
802
- const alignment = (_a = groupAlignments[aGroupId]) == null ? void 0 : _a[bGroupId];
803
- if (alignment === alignmentDir) {
804
- prev[dir] ?? (prev[dir] = []);
805
- prev[dir] = [...prev[dir], ...aNodeIds, ...bNodeIds];
806
- } else if (aGroupId === "default" || bGroupId === "default") {
807
- prev[dir] ?? (prev[dir] = []);
808
- prev[dir] = [...prev[dir], ...aNodeIds, ...bNodeIds];
809
- } else {
810
- const keyA = `${dir}-${cnt++}`;
811
- prev[keyA] = aNodeIds;
812
- const keyB = `${dir}-${cnt++}`;
813
- prev[keyB] = bNodeIds;
814
- }
815
- }
816
- }
817
- return prev;
818
- },
819
- {}
820
- );
821
- }, "flattenAlignments");
822
- const alignments = spatialMaps.map((spatialMap) => {
823
- const horizontalAlignments = {};
824
- const verticalAlignments = {};
825
- Object.entries(spatialMap).forEach(([id, [x, y]]) => {
826
- var _a, _b, _c;
827
- const nodeGroup = ((_a = db2.getNode(id)) == null ? void 0 : _a.in) ?? "default";
828
- horizontalAlignments[y] ?? (horizontalAlignments[y] = {});
829
- (_b = horizontalAlignments[y])[nodeGroup] ?? (_b[nodeGroup] = []);
830
- horizontalAlignments[y][nodeGroup].push(id);
831
- verticalAlignments[x] ?? (verticalAlignments[x] = {});
832
- (_c = verticalAlignments[x])[nodeGroup] ?? (_c[nodeGroup] = []);
833
- verticalAlignments[x][nodeGroup].push(id);
834
- });
835
- return {
836
- horiz: Object.values(flattenAlignments(horizontalAlignments, "horizontal")).filter(
837
- (arr) => arr.length > 1
838
- ),
839
- vert: Object.values(flattenAlignments(verticalAlignments, "vertical")).filter(
840
- (arr) => arr.length > 1
841
- )
842
- };
843
- });
844
- const [horizontal, vertical] = alignments.reduce(
845
- ([prevHoriz, prevVert], { horiz, vert }) => {
846
- return [
847
- [...prevHoriz, ...horiz],
848
- [...prevVert, ...vert]
849
- ];
850
- },
851
- [[], []]
852
- );
853
- return {
854
- horizontal,
855
- vertical
856
- };
857
- }
858
- __name(getAlignments, "getAlignments");
859
- function getRelativeConstraints(spatialMaps) {
860
- const relativeConstraints = [];
861
- const posToStr = /* @__PURE__ */ __name((pos) => `${pos[0]},${pos[1]}`, "posToStr");
862
- const strToPos = /* @__PURE__ */ __name((pos) => pos.split(",").map((p) => parseInt(p)), "strToPos");
863
- spatialMaps.forEach((spatialMap) => {
864
- const invSpatialMap = Object.fromEntries(
865
- Object.entries(spatialMap).map(([id, pos]) => [posToStr(pos), id])
866
- );
867
- const queue = [posToStr([0, 0])];
868
- const visited = {};
869
- const directions = {
870
- L: [-1, 0],
871
- R: [1, 0],
872
- T: [0, 1],
873
- B: [0, -1]
874
- };
875
- while (queue.length > 0) {
876
- const curr = queue.shift();
877
- if (curr) {
878
- visited[curr] = 1;
879
- const currId = invSpatialMap[curr];
880
- if (currId) {
881
- const currPos = strToPos(curr);
882
- Object.entries(directions).forEach(([dir, shift]) => {
883
- const newPos = posToStr([currPos[0] + shift[0], currPos[1] + shift[1]]);
884
- const newId = invSpatialMap[newPos];
885
- if (newId && !visited[newPos]) {
886
- queue.push(newPos);
887
- relativeConstraints.push({
888
- [ArchitectureDirectionName[dir]]: newId,
889
- [ArchitectureDirectionName[getOppositeArchitectureDirection(dir)]]: currId,
890
- gap: 1.5 * getConfigField("iconSize")
891
- });
892
- }
893
- });
894
- }
895
- }
896
- }
897
- });
898
- return relativeConstraints;
899
- }
900
- __name(getRelativeConstraints, "getRelativeConstraints");
901
- function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMaps, groupAlignments }) {
902
- return new Promise((resolve) => {
903
- const renderEl = select("body").append("div").attr("id", "cy").attr("style", "display:none");
904
- const cy = cytoscape({
905
- container: document.getElementById("cy"),
906
- style: [
907
- {
908
- selector: "edge",
909
- style: {
910
- "curve-style": "straight",
911
- label: "data(label)",
912
- "source-endpoint": "data(sourceEndpoint)",
913
- "target-endpoint": "data(targetEndpoint)"
914
- }
915
- },
916
- {
917
- selector: "edge.segments",
918
- style: {
919
- "curve-style": "segments",
920
- "segment-weights": "0",
921
- "segment-distances": [0.5],
922
- // @ts-ignore Incorrect library types
923
- "edge-distances": "endpoints",
924
- "source-endpoint": "data(sourceEndpoint)",
925
- "target-endpoint": "data(targetEndpoint)"
926
- }
927
- },
928
- {
929
- selector: "node",
930
- style: {
931
- // @ts-ignore Incorrect library types
932
- "compound-sizing-wrt-labels": "include"
933
- }
934
- },
935
- {
936
- selector: "node[label]",
937
- style: {
938
- "text-valign": "bottom",
939
- "text-halign": "center",
940
- "font-size": `${getConfigField("fontSize")}px`
941
- }
942
- },
943
- {
944
- selector: ".node-service",
945
- style: {
946
- label: "data(label)",
947
- width: "data(width)",
948
- height: "data(height)"
949
- }
950
- },
951
- {
952
- selector: ".node-junction",
953
- style: {
954
- width: "data(width)",
955
- height: "data(height)"
956
- }
957
- },
958
- {
959
- selector: ".node-group",
960
- style: {
961
- // @ts-ignore Incorrect library types
962
- padding: `${getConfigField("padding")}px`
963
- }
964
- }
965
- ]
966
- });
967
- renderEl.remove();
968
- addGroups(groups, cy);
969
- addServices(services, cy);
970
- addJunctions(junctions, cy);
971
- addEdges(edges, cy);
972
- const alignmentConstraint = getAlignments(db2, spatialMaps, groupAlignments);
973
- const relativePlacementConstraint = getRelativeConstraints(spatialMaps);
974
- const layout = cy.layout({
975
- name: "fcose",
976
- quality: "proof",
977
- styleEnabled: false,
978
- animate: false,
979
- nodeDimensionsIncludeLabels: false,
980
- // Adjust the edge parameters if it passes through the border of a group
981
- // Hacky fix for: https://github.com/iVis-at-Bilkent/cytoscape.js-fcose/issues/67
982
- idealEdgeLength(edge) {
983
- const [nodeA, nodeB] = edge.connectedNodes();
984
- const { parent: parentA } = nodeData(nodeA);
985
- const { parent: parentB } = nodeData(nodeB);
986
- const elasticity = parentA === parentB ? 1.5 * getConfigField("iconSize") : 0.5 * getConfigField("iconSize");
987
- return elasticity;
988
- },
989
- edgeElasticity(edge) {
990
- const [nodeA, nodeB] = edge.connectedNodes();
991
- const { parent: parentA } = nodeData(nodeA);
992
- const { parent: parentB } = nodeData(nodeB);
993
- const elasticity = parentA === parentB ? 0.45 : 1e-3;
994
- return elasticity;
995
- },
996
- alignmentConstraint,
997
- relativePlacementConstraint
998
- });
999
- layout.one("layoutstop", () => {
1000
- var _a;
1001
- function getSegmentWeights(source, target, pointX, pointY) {
1002
- let W, D;
1003
- const { x: sX, y: sY } = source;
1004
- const { x: tX, y: tY } = target;
1005
- D = (pointY - sY + (sX - pointX) * (sY - tY) / (sX - tX)) / Math.sqrt(1 + Math.pow((sY - tY) / (sX - tX), 2));
1006
- W = Math.sqrt(Math.pow(pointY - sY, 2) + Math.pow(pointX - sX, 2) - Math.pow(D, 2));
1007
- const distAB = Math.sqrt(Math.pow(tX - sX, 2) + Math.pow(tY - sY, 2));
1008
- W = W / distAB;
1009
- let delta1 = (tX - sX) * (pointY - sY) - (tY - sY) * (pointX - sX);
1010
- switch (true) {
1011
- case delta1 >= 0:
1012
- delta1 = 1;
1013
- break;
1014
- case delta1 < 0:
1015
- delta1 = -1;
1016
- break;
1017
- }
1018
- let delta2 = (tX - sX) * (pointX - sX) + (tY - sY) * (pointY - sY);
1019
- switch (true) {
1020
- case delta2 >= 0:
1021
- delta2 = 1;
1022
- break;
1023
- case delta2 < 0:
1024
- delta2 = -1;
1025
- break;
1026
- }
1027
- D = Math.abs(D) * delta1;
1028
- W = W * delta2;
1029
- return {
1030
- distances: D,
1031
- weights: W
1032
- };
1033
- }
1034
- __name(getSegmentWeights, "getSegmentWeights");
1035
- cy.startBatch();
1036
- for (const edge of Object.values(cy.edges())) {
1037
- if ((_a = edge.data) == null ? void 0 : _a.call(edge)) {
1038
- const { x: sX, y: sY } = edge.source().position();
1039
- const { x: tX, y: tY } = edge.target().position();
1040
- if (sX !== tX && sY !== tY) {
1041
- const sEP = edge.sourceEndpoint();
1042
- const tEP = edge.targetEndpoint();
1043
- const { sourceDir } = edgeData(edge);
1044
- const [pointX, pointY] = isArchitectureDirectionY(sourceDir) ? [sEP.x, tEP.y] : [tEP.x, sEP.y];
1045
- const { weights, distances } = getSegmentWeights(sEP, tEP, pointX, pointY);
1046
- edge.style("segment-distances", distances);
1047
- edge.style("segment-weights", weights);
1048
- }
1049
- }
1050
- }
1051
- cy.endBatch();
1052
- layout.run();
1053
- });
1054
- layout.run();
1055
- cy.ready((e) => {
1056
- log.info("Ready", e);
1057
- resolve(cy);
1058
- });
1059
- });
1060
- }
1061
- __name(layoutArchitecture, "layoutArchitecture");
1062
- var draw = /* @__PURE__ */ __name(async (text, id, _version, diagObj) => {
1063
- const db2 = diagObj.db;
1064
- const services = db2.getServices();
1065
- const junctions = db2.getJunctions();
1066
- const groups = db2.getGroups();
1067
- const edges = db2.getEdges();
1068
- const ds = db2.getDataStructures();
1069
- const svg = selectSvgElement(id);
1070
- const edgesElem = svg.append("g");
1071
- edgesElem.attr("class", "architecture-edges");
1072
- const servicesElem = svg.append("g");
1073
- servicesElem.attr("class", "architecture-services");
1074
- const groupElem = svg.append("g");
1075
- groupElem.attr("class", "architecture-groups");
1076
- await drawServices(db2, servicesElem, services);
1077
- drawJunctions(db2, servicesElem, junctions);
1078
- const cy = await layoutArchitecture(services, junctions, groups, edges, db2, ds);
1079
- await drawEdges(edgesElem, cy);
1080
- await drawGroups(groupElem, cy);
1081
- positionNodes(db2, cy);
1082
- setupGraphViewbox(void 0, svg, getConfigField("padding"), getConfigField("useMaxWidth"));
1083
- }, "draw");
1084
- var renderer = { draw };
1085
- var diagram = {
1086
- parser,
1087
- db,
1088
- renderer,
1089
- styles: architectureStyles_default
1090
- };
1091
- export {
1092
- diagram
1093
- };