@windrun-huaiin/third-ui 12.1.0 → 13.0.1

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 (1179) hide show
  1. package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
  2. package/dist/_virtual/_commonjs-dynamic-modules.mjs +5 -0
  3. package/dist/_virtual/api.js +5 -0
  4. package/dist/_virtual/api.mjs +3 -0
  5. package/dist/_virtual/api2.js +5 -0
  6. package/dist/_virtual/api2.mjs +3 -0
  7. package/dist/_virtual/connection.js +5 -0
  8. package/dist/_virtual/connection.mjs +3 -0
  9. package/dist/_virtual/connection2.js +5 -0
  10. package/dist/_virtual/connection2.mjs +3 -0
  11. package/dist/_virtual/disposable.js +5 -0
  12. package/dist/_virtual/disposable.mjs +3 -0
  13. package/dist/_virtual/duration.js +9 -0
  14. package/dist/_virtual/duration.mjs +7 -0
  15. package/dist/_virtual/duration2.js +5 -0
  16. package/dist/_virtual/duration2.mjs +3 -0
  17. package/dist/_virtual/is2.js +5 -0
  18. package/dist/_virtual/is2.mjs +3 -0
  19. package/dist/_virtual/linkedMap.js +5 -0
  20. package/dist/_virtual/linkedMap.mjs +3 -0
  21. package/dist/_virtual/main.js +7 -0
  22. package/dist/_virtual/main.mjs +5 -0
  23. package/dist/_virtual/main2.js +5 -0
  24. package/dist/_virtual/main2.mjs +3 -0
  25. package/dist/_virtual/main3.js +5 -0
  26. package/dist/_virtual/main3.mjs +3 -0
  27. package/dist/_virtual/main4.js +5 -0
  28. package/dist/_virtual/main4.mjs +3 -0
  29. package/dist/_virtual/messageBuffer.js +5 -0
  30. package/dist/_virtual/messageBuffer.mjs +3 -0
  31. package/dist/_virtual/messageReader.js +5 -0
  32. package/dist/_virtual/messageReader.mjs +3 -0
  33. package/dist/_virtual/messageWriter.js +5 -0
  34. package/dist/_virtual/messageWriter.mjs +3 -0
  35. package/dist/_virtual/messages.js +5 -0
  36. package/dist/_virtual/messages.mjs +3 -0
  37. package/dist/_virtual/messages2.js +5 -0
  38. package/dist/_virtual/messages2.mjs +3 -0
  39. package/dist/_virtual/protocol.callHierarchy.js +5 -0
  40. package/dist/_virtual/protocol.callHierarchy.mjs +3 -0
  41. package/dist/_virtual/protocol.colorProvider.js +5 -0
  42. package/dist/_virtual/protocol.colorProvider.mjs +3 -0
  43. package/dist/_virtual/protocol.configuration.js +5 -0
  44. package/dist/_virtual/protocol.configuration.mjs +3 -0
  45. package/dist/_virtual/protocol.declaration.js +5 -0
  46. package/dist/_virtual/protocol.declaration.mjs +3 -0
  47. package/dist/_virtual/protocol.diagnostic.js +5 -0
  48. package/dist/_virtual/protocol.diagnostic.mjs +3 -0
  49. package/dist/_virtual/protocol.fileOperations.js +5 -0
  50. package/dist/_virtual/protocol.fileOperations.mjs +3 -0
  51. package/dist/_virtual/protocol.foldingRange.js +5 -0
  52. package/dist/_virtual/protocol.foldingRange.mjs +3 -0
  53. package/dist/_virtual/protocol.implementation.js +5 -0
  54. package/dist/_virtual/protocol.implementation.mjs +3 -0
  55. package/dist/_virtual/protocol.inlayHint.js +5 -0
  56. package/dist/_virtual/protocol.inlayHint.mjs +3 -0
  57. package/dist/_virtual/protocol.inlineCompletion.js +5 -0
  58. package/dist/_virtual/protocol.inlineCompletion.mjs +3 -0
  59. package/dist/_virtual/protocol.inlineValue.js +5 -0
  60. package/dist/_virtual/protocol.inlineValue.mjs +3 -0
  61. package/dist/_virtual/protocol.js +5 -0
  62. package/dist/_virtual/protocol.linkedEditingRange.js +5 -0
  63. package/dist/_virtual/protocol.linkedEditingRange.mjs +3 -0
  64. package/dist/_virtual/protocol.mjs +3 -0
  65. package/dist/_virtual/protocol.moniker.js +5 -0
  66. package/dist/_virtual/protocol.moniker.mjs +3 -0
  67. package/dist/_virtual/protocol.notebook.js +5 -0
  68. package/dist/_virtual/protocol.notebook.mjs +3 -0
  69. package/dist/_virtual/protocol.progress.js +5 -0
  70. package/dist/_virtual/protocol.progress.mjs +3 -0
  71. package/dist/_virtual/protocol.selectionRange.js +5 -0
  72. package/dist/_virtual/protocol.selectionRange.mjs +3 -0
  73. package/dist/_virtual/protocol.semanticTokens.js +5 -0
  74. package/dist/_virtual/protocol.semanticTokens.mjs +3 -0
  75. package/dist/_virtual/protocol.showDocument.js +5 -0
  76. package/dist/_virtual/protocol.showDocument.mjs +3 -0
  77. package/dist/_virtual/protocol.typeDefinition.js +5 -0
  78. package/dist/_virtual/protocol.typeDefinition.mjs +3 -0
  79. package/dist/_virtual/protocol.typeHierarchy.js +5 -0
  80. package/dist/_virtual/protocol.typeHierarchy.mjs +3 -0
  81. package/dist/_virtual/protocol.workspaceFolder.js +5 -0
  82. package/dist/_virtual/protocol.workspaceFolder.mjs +3 -0
  83. package/dist/_virtual/ril.js +5 -0
  84. package/dist/_virtual/ril.mjs +3 -0
  85. package/dist/_virtual/semaphore.js +5 -0
  86. package/dist/_virtual/semaphore.mjs +3 -0
  87. package/dist/_virtual/sharedArrayCancellation.js +5 -0
  88. package/dist/_virtual/sharedArrayCancellation.mjs +3 -0
  89. package/dist/clerk/fingerprint/fingerprint-client.js +1 -1
  90. package/dist/clerk/fingerprint/fingerprint-client.mjs +1 -1
  91. package/dist/fuma/mdx/image-zoom.js +2 -2
  92. package/dist/fuma/mdx/image-zoom.mjs +1 -1
  93. package/dist/lib/fuma-schema-check-util.js +1 -1
  94. package/dist/lib/fuma-schema-check-util.mjs +1 -1
  95. package/dist/main/gallery/gallery-mobile-swiper.js +2 -2
  96. package/dist/main/gallery/gallery-mobile-swiper.mjs +2 -2
  97. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/helpers.js +88 -0
  98. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/helpers.mjs +83 -0
  99. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/model.js +246 -0
  100. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/model.mjs +232 -0
  101. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/visitor.js +56 -0
  102. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/visitor.mjs +54 -0
  103. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +97 -0
  104. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +95 -0
  105. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +48 -0
  106. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +44 -0
  107. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +742 -0
  108. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +740 -0
  109. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +43 -0
  110. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +36 -0
  111. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/print.js +18 -0
  112. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/print.mjs +15 -0
  113. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/timer.js +11 -0
  114. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/timer.mjs +9 -0
  115. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +21 -0
  116. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +19 -0
  117. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@5.1.0/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js +3166 -0
  118. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@5.1.0/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.mjs +3140 -0
  119. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +9 -0
  120. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.mjs +2 -0
  121. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +41 -0
  122. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.mjs +38 -0
  123. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +122 -0
  124. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.mjs +119 -0
  125. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +41 -0
  126. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.mjs +38 -0
  127. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +54 -0
  128. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.mjs +51 -0
  129. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +41 -0
  130. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.mjs +38 -0
  131. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +1073 -0
  132. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.mjs +1036 -0
  133. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +41 -0
  134. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.mjs +38 -0
  135. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +58 -0
  136. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.mjs +55 -0
  137. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +9 -0
  138. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.mjs +2 -0
  139. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +9 -0
  140. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.mjs +2 -0
  141. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +9 -0
  142. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.mjs +2 -0
  143. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +9 -0
  144. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.mjs +2 -0
  145. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +9 -0
  146. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.mjs +2 -0
  147. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +9 -0
  148. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.mjs +2 -0
  149. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +129 -0
  150. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +78 -0
  151. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js +0 -51
  152. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.mjs +1 -50
  153. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +8 -8
  154. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +8 -8
  155. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.js +2 -2
  156. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +2 -2
  157. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.js +1 -1
  158. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +1 -1
  159. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +567 -0
  160. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +565 -0
  161. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/atn.js +426 -0
  162. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/atn.mjs +409 -0
  163. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/dfa.js +52 -0
  164. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/dfa.mjs +48 -0
  165. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +1 -1
  166. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.js +3 -3
  167. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +3 -3
  168. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +1 -1
  169. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +1 -1
  170. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +1 -1
  171. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +1 -1
  172. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +1 -1
  173. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.js +6 -6
  174. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +6 -6
  175. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.js +1 -1
  176. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +2 -2
  177. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/lang/lang_extensions.js +13 -0
  178. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +11 -0
  179. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/constants.js +6 -0
  180. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/constants.mjs +4 -0
  181. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst.js +77 -0
  182. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +72 -0
  183. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +106 -0
  184. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +100 -0
  185. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/errors_public.js +191 -0
  186. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/errors_public.mjs +187 -0
  187. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/exceptions_public.js +66 -0
  188. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +60 -0
  189. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/checks.js +469 -0
  190. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +454 -0
  191. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/first.js +66 -0
  192. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +61 -0
  193. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/follow.js +48 -0
  194. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +44 -0
  195. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +27 -0
  196. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +24 -0
  197. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +510 -0
  198. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +500 -0
  199. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/keys.js +33 -0
  200. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +23 -0
  201. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +52 -0
  202. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +50 -0
  203. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +493 -0
  204. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +480 -0
  205. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +44 -0
  206. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +41 -0
  207. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/rest.js +108 -0
  208. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +106 -0
  209. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/parser.js +208 -0
  210. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +201 -0
  211. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +27 -0
  212. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +25 -0
  213. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +79 -0
  214. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +77 -0
  215. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +304 -0
  216. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +302 -0
  217. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +74 -0
  218. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +72 -0
  219. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +141 -0
  220. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +138 -0
  221. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +52 -0
  222. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +50 -0
  223. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +339 -0
  224. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +337 -0
  225. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +555 -0
  226. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +553 -0
  227. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +305 -0
  228. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +299 -0
  229. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +198 -0
  230. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +196 -0
  231. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +23 -0
  232. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +21 -0
  233. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer.js +913 -0
  234. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer.mjs +888 -0
  235. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +12 -0
  236. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +10 -0
  237. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_public.js +659 -0
  238. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +657 -0
  239. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp.js +261 -0
  240. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +256 -0
  241. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +23 -0
  242. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +20 -0
  243. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens.js +140 -0
  244. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens.mjs +125 -0
  245. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens_public.js +95 -0
  246. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +88 -0
  247. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/acyclic.js +2 -2
  248. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +2 -2
  249. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +1 -1
  250. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +1 -1
  251. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +1 -1
  252. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +1 -1
  253. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +5 -5
  254. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +5 -5
  255. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/layout.js +7 -7
  256. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/layout.mjs +7 -7
  257. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +4 -4
  258. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +4 -4
  259. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/normalize.js +1 -1
  260. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/normalize.mjs +1 -1
  261. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +1 -1
  262. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +1 -1
  263. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +2 -2
  264. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +2 -2
  265. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +3 -3
  266. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +3 -3
  267. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +5 -5
  268. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +5 -5
  269. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/index.js +4 -4
  270. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/index.mjs +4 -4
  271. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/init-order.js +7 -7
  272. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +7 -7
  273. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +5 -5
  274. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +5 -5
  275. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +4 -4
  276. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +4 -4
  277. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/sort.js +4 -4
  278. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +4 -4
  279. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +1 -1
  280. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +1 -1
  281. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/position/bk.js +14 -14
  282. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +14 -14
  283. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/position/index.js +4 -4
  284. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/position/index.mjs +4 -4
  285. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +2 -2
  286. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +2 -2
  287. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +4 -4
  288. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +4 -4
  289. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/rank/util.js +3 -3
  290. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +3 -3
  291. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/util.js +8 -8
  292. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/dagre/util.mjs +8 -8
  293. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +2 -2
  294. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +2 -2
  295. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/graph.js +10 -10
  296. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/graph.mjs +10 -10
  297. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/json.js +3 -3
  298. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/json.mjs +3 -3
  299. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/duration.js +18 -0
  300. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/duration.mjs +16 -0
  301. package/dist/node_modules/.pnpm/katex@0.16.33/node_modules/katex/dist/katex.js +18419 -0
  302. package/dist/node_modules/.pnpm/katex@0.16.33/node_modules/katex/dist/katex.mjs +18403 -0
  303. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/default-module.js +103 -0
  304. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/default-module.mjs +100 -0
  305. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/dependency-injection.js +155 -0
  306. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/dependency-injection.mjs +153 -0
  307. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/comment-provider.js +23 -0
  308. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/comment-provider.mjs +21 -0
  309. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/documentation-provider.js +70 -0
  310. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/documentation-provider.mjs +68 -0
  311. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/jsdoc.js +510 -0
  312. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/jsdoc.mjs +507 -0
  313. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/generated/ast.js +1216 -0
  314. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/generated/ast.mjs +1130 -0
  315. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/grammar-config.js +31 -0
  316. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/grammar-config.mjs +29 -0
  317. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/async-parser.js +23 -0
  318. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/async-parser.mjs +21 -0
  319. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/completion-parser-builder.js +20 -0
  320. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +18 -0
  321. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/cst-node-builder.js +231 -0
  322. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/cst-node-builder.mjs +225 -0
  323. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser-builder.js +32 -0
  324. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +29 -0
  325. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser.js +678 -0
  326. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser.mjs +671 -0
  327. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/lexer.js +86 -0
  328. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/lexer.mjs +79 -0
  329. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/parser-builder-base.js +483 -0
  330. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/parser-builder-base.mjs +481 -0
  331. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/token-builder.js +123 -0
  332. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/token-builder.mjs +121 -0
  333. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/value-converter.js +102 -0
  334. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/value-converter.mjs +100 -0
  335. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/linker.js +290 -0
  336. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/linker.mjs +287 -0
  337. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/name-provider.js +26 -0
  338. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/name-provider.mjs +23 -0
  339. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/references.js +136 -0
  340. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/references.mjs +134 -0
  341. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-computation.js +91 -0
  342. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-computation.mjs +89 -0
  343. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-provider.js +68 -0
  344. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-provider.mjs +66 -0
  345. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope.js +101 -0
  346. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope.mjs +98 -0
  347. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/hydrator.js +279 -0
  348. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/hydrator.mjs +277 -0
  349. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/json-serializer.js +271 -0
  350. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/json-serializer.mjs +268 -0
  351. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/service-registry.js +82 -0
  352. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/service-registry.mjs +80 -0
  353. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/syntax-tree.js +120 -0
  354. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/syntax-tree.mjs +110 -0
  355. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/ast-utils.js +229 -0
  356. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/ast-utils.mjs +218 -0
  357. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/caching.js +153 -0
  358. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/caching.mjs +148 -0
  359. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/collections.js +200 -0
  360. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/collections.mjs +197 -0
  361. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/cst-utils.js +149 -0
  362. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/cst-utils.mjs +138 -0
  363. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/disposable.js +16 -0
  364. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/disposable.mjs +16 -0
  365. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/errors.js +18 -0
  366. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/errors.mjs +15 -0
  367. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-loader.js +43 -0
  368. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-loader.mjs +41 -0
  369. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-utils.js +501 -0
  370. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-utils.mjs +483 -0
  371. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/promise-utils.js +101 -0
  372. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/promise-utils.mjs +94 -0
  373. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/regexp-utils.js +283 -0
  374. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/regexp-utils.mjs +275 -0
  375. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/stream.js +517 -0
  376. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/stream.mjs +511 -0
  377. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/uri-utils.js +192 -0
  378. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/uri-utils.mjs +189 -0
  379. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/document-validator.js +296 -0
  380. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/document-validator.mjs +290 -0
  381. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/validation-registry.js +168 -0
  382. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/validation-registry.mjs +165 -0
  383. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-descriptions.js +90 -0
  384. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +87 -0
  385. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-node-locator.js +49 -0
  386. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +47 -0
  387. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/configuration.js +94 -0
  388. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/configuration.mjs +92 -0
  389. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/document-builder.js +500 -0
  390. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/document-builder.mjs +498 -0
  391. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/documents.js +287 -0
  392. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/documents.mjs +280 -0
  393. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/file-system-provider.js +45 -0
  394. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/file-system-provider.mjs +42 -0
  395. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/index-manager.js +101 -0
  396. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/index-manager.mjs +99 -0
  397. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-lock.js +79 -0
  398. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-lock.mjs +77 -0
  399. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-manager.js +140 -0
  400. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-manager.mjs +138 -0
  401. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.js +9 -17
  402. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +9 -17
  403. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.js +3 -6
  404. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +3 -6
  405. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js +0 -3
  406. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -3
  407. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.js +1 -3
  408. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +1 -3
  409. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js +1 -3
  410. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +1 -3
  411. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.js +2 -2
  412. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +2 -2
  413. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +9 -0
  414. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_DataView.mjs +7 -0
  415. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +34 -0
  416. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Hash.mjs +32 -0
  417. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +34 -0
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.mjs +32 -0
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +9 -0
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Map.mjs +7 -0
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +34 -0
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.mjs +32 -0
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +9 -0
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Promise.mjs +7 -0
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +9 -0
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Set.mjs +7 -0
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_SetCache.js +29 -0
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_SetCache.mjs +27 -0
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +29 -0
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Stack.mjs +27 -0
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +8 -0
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.mjs +6 -0
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +8 -0
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.mjs +6 -0
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +9 -0
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.mjs +7 -0
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +23 -0
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_apply.mjs +21 -0
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayAggregator.js +24 -0
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayAggregator.mjs +22 -0
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +24 -0
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.mjs +22 -0
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEvery.js +25 -0
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEvery.mjs +23 -0
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +27 -0
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.mjs +25 -0
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayIncludes.js +19 -0
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayIncludes.mjs +17 -0
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +51 -0
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.mjs +49 -0
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js +23 -0
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.mjs +21 -0
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +22 -0
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.mjs +20 -0
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayReduce.js +28 -0
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayReduce.mjs +26 -0
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arraySome.js +25 -0
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arraySome.mjs +23 -0
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assignMergeValue.js +22 -0
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assignMergeValue.mjs +20 -0
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +30 -0
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.mjs +28 -0
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +23 -0
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.mjs +21 -0
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAggregator.js +23 -0
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAggregator.mjs +21 -0
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.js +19 -0
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.mjs +17 -0
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.js +19 -0
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.mjs +17 -0
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +27 -0
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.mjs +25 -0
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +164 -0
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.mjs +162 -0
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.js +32 -0
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.mjs +30 -0
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.js +59 -0
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.mjs +57 -0
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEach.js +16 -0
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEach.mjs +14 -0
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEvery.js +23 -0
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEvery.mjs +21 -0
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseExtremum.js +34 -0
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseExtremum.mjs +32 -0
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFilter.js +23 -0
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFilter.mjs +21 -0
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFindIndex.js +26 -0
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFindIndex.mjs +24 -0
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFlatten.js +37 -0
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFlatten.mjs +35 -0
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFor.js +18 -0
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFor.mjs +16 -0
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseForOwn.js +18 -0
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseForOwn.mjs +16 -0
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.js +26 -0
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.mjs +24 -0
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +22 -0
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.mjs +20 -0
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +30 -0
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.mjs +28 -0
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGt.js +16 -0
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGt.mjs +14 -0
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHas.js +21 -0
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHas.mjs +19 -0
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHasIn.js +15 -0
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHasIn.mjs +13 -0
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIndexOf.js +22 -0
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIndexOf.mjs +20 -0
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +20 -0
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.mjs +18 -0
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqual.js +30 -0
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqual.mjs +28 -0
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqualDeep.js +85 -0
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqualDeep.mjs +83 -0
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +20 -0
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.mjs +18 -0
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMatch.js +61 -0
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMatch.mjs +59 -0
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNaN.js +14 -0
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNaN.mjs +12 -0
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +49 -0
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.mjs +47 -0
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsRegExp.js +20 -0
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsRegExp.mjs +18 -0
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +20 -0
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.mjs +18 -0
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +62 -0
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.mjs +60 -0
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIteratee.js +33 -0
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIteratee.mjs +31 -0
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.js +32 -0
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.mjs +30 -0
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +35 -0
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.mjs +33 -0
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseLt.js +16 -0
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseLt.mjs +14 -0
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMap.js +24 -0
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMap.mjs +22 -0
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMatches.js +24 -0
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMatches.mjs +22 -0
  541. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMatchesProperty.js +35 -0
  542. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMatchesProperty.mjs +33 -0
  543. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMerge.js +44 -0
  544. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMerge.mjs +42 -0
  545. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMergeDeep.js +96 -0
  546. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMergeDeep.mjs +94 -0
  547. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseOrderBy.js +51 -0
  548. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseOrderBy.mjs +49 -0
  549. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePick.js +21 -0
  550. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePick.mjs +19 -0
  551. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js +32 -0
  552. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.mjs +30 -0
  553. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseProperty.js +16 -0
  554. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseProperty.mjs +14 -0
  555. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePropertyDeep.js +18 -0
  556. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePropertyDeep.mjs +16 -0
  557. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseRange.js +30 -0
  558. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseRange.mjs +28 -0
  559. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseReduce.js +25 -0
  560. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseReduce.mjs +23 -0
  561. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.js +19 -0
  562. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.mjs +17 -0
  563. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js +53 -0
  564. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.mjs +51 -0
  565. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +24 -0
  566. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.mjs +22 -0
  567. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js +33 -0
  568. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.mjs +31 -0
  569. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSome.js +24 -0
  570. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSome.mjs +22 -0
  571. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSortBy.js +23 -0
  572. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSortBy.mjs +21 -0
  573. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +22 -0
  574. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.mjs +20 -0
  575. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js +36 -0
  576. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.mjs +34 -0
  577. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js +21 -0
  578. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.mjs +19 -0
  579. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +16 -0
  580. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.mjs +14 -0
  581. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUniq.js +69 -0
  582. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUniq.mjs +67 -0
  583. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseValues.js +21 -0
  584. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseValues.mjs +19 -0
  585. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseZipObject.js +25 -0
  586. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseZipObject.mjs +23 -0
  587. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cacheHas.js +15 -0
  588. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cacheHas.mjs +13 -0
  589. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castFunction.js +16 -0
  590. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castFunction.mjs +14 -0
  591. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js +23 -0
  592. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castPath.mjs +21 -0
  593. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +18 -0
  594. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.mjs +16 -0
  595. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +37 -0
  596. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.mjs +35 -0
  597. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +18 -0
  598. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.mjs +16 -0
  599. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +19 -0
  600. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.mjs +17 -0
  601. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +20 -0
  602. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.mjs +18 -0
  603. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +18 -0
  604. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.mjs +16 -0
  605. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_compareAscending.js +43 -0
  606. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_compareAscending.mjs +41 -0
  607. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_compareMultiple.js +46 -0
  608. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_compareMultiple.mjs +44 -0
  609. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.js +22 -0
  610. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.mjs +20 -0
  611. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +40 -0
  612. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.mjs +38 -0
  613. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.js +18 -0
  614. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.mjs +16 -0
  615. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.js +18 -0
  616. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.mjs +16 -0
  617. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +8 -0
  618. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.mjs +6 -0
  619. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAggregator.js +25 -0
  620. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAggregator.mjs +23 -0
  621. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAssigner.js +39 -0
  622. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAssigner.mjs +37 -0
  623. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createBaseEach.js +34 -0
  624. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createBaseEach.mjs +32 -0
  625. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createBaseFor.js +27 -0
  626. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createBaseFor.mjs +25 -0
  627. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createFind.js +27 -0
  628. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createFind.mjs +25 -0
  629. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createRange.js +32 -0
  630. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createRange.mjs +30 -0
  631. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createSet.js +21 -0
  632. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createSet.mjs +19 -0
  633. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +13 -0
  634. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.mjs +11 -0
  635. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_equalArrays.js +86 -0
  636. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_equalArrays.mjs +84 -0
  637. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_equalByTag.js +114 -0
  638. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_equalByTag.mjs +112 -0
  639. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_equalObjects.js +92 -0
  640. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_equalObjects.mjs +90 -0
  641. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_flatRest.js +18 -0
  642. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_flatRest.mjs +16 -0
  643. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +6 -0
  644. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.mjs +4 -0
  645. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.js +18 -0
  646. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.mjs +16 -0
  647. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +19 -0
  648. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.mjs +17 -0
  649. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +20 -0
  650. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.mjs +18 -0
  651. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getMatchData.js +26 -0
  652. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getMatchData.mjs +24 -0
  653. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +19 -0
  654. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getNative.mjs +17 -0
  655. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +8 -0
  656. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.mjs +6 -0
  657. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +48 -0
  658. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.mjs +46 -0
  659. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +32 -0
  660. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.mjs +30 -0
  661. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +27 -0
  662. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.mjs +25 -0
  663. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +60 -0
  664. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getTag.mjs +58 -0
  665. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +15 -0
  666. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getValue.mjs +13 -0
  667. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hasPath.js +41 -0
  668. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hasPath.mjs +39 -0
  669. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +17 -0
  670. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.mjs +15 -0
  671. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +19 -0
  672. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.mjs +17 -0
  673. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +32 -0
  674. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.mjs +30 -0
  675. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +25 -0
  676. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.mjs +23 -0
  677. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +25 -0
  678. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.mjs +23 -0
  679. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +28 -0
  680. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.mjs +26 -0
  681. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +79 -0
  682. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.mjs +77 -0
  683. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.js +20 -0
  684. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.mjs +18 -0
  685. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isFlattenable.js +22 -0
  686. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isFlattenable.mjs +20 -0
  687. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +27 -0
  688. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.mjs +25 -0
  689. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.js +32 -0
  690. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.mjs +30 -0
  691. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js +31 -0
  692. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKey.mjs +29 -0
  693. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +17 -0
  694. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.mjs +15 -0
  695. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +22 -0
  696. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.mjs +20 -0
  697. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +20 -0
  698. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.mjs +18 -0
  699. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isStrictComparable.js +17 -0
  700. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isStrictComparable.mjs +15 -0
  701. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +15 -0
  702. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.mjs +13 -0
  703. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +37 -0
  704. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.mjs +35 -0
  705. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +21 -0
  706. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.mjs +19 -0
  707. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +18 -0
  708. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.mjs +16 -0
  709. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +28 -0
  710. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.mjs +26 -0
  711. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +23 -0
  712. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.mjs +21 -0
  713. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +20 -0
  714. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.mjs +18 -0
  715. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +18 -0
  716. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.mjs +16 -0
  717. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +18 -0
  718. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.mjs +16 -0
  719. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +24 -0
  720. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.mjs +22 -0
  721. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapToArray.js +20 -0
  722. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapToArray.mjs +18 -0
  723. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_matchesStrictComparable.js +22 -0
  724. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_matchesStrictComparable.mjs +20 -0
  725. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js +28 -0
  726. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.mjs +26 -0
  727. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +8 -0
  728. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.mjs +6 -0
  729. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js +8 -0
  730. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.mjs +6 -0
  731. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +22 -0
  732. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.mjs +20 -0
  733. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +32 -0
  734. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.mjs +30 -0
  735. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +24 -0
  736. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.mjs +22 -0
  737. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +17 -0
  738. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overArg.mjs +15 -0
  739. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +38 -0
  740. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overRest.mjs +36 -0
  741. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_root.js +11 -0
  742. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_root.mjs +9 -0
  743. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_safeGet.js +23 -0
  744. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_safeGet.mjs +21 -0
  745. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setCacheAdd.js +21 -0
  746. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setCacheAdd.mjs +19 -0
  747. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.js +16 -0
  748. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.mjs +14 -0
  749. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setToArray.js +20 -0
  750. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setToArray.mjs +18 -0
  751. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +16 -0
  752. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setToString.mjs +14 -0
  753. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +39 -0
  754. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.mjs +37 -0
  755. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +17 -0
  756. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.mjs +15 -0
  757. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +20 -0
  758. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.mjs +18 -0
  759. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +16 -0
  760. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.mjs +14 -0
  761. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +16 -0
  762. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.mjs +14 -0
  763. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +36 -0
  764. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.mjs +34 -0
  765. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_strictIndexOf.js +25 -0
  766. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_strictIndexOf.mjs +23 -0
  767. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js +29 -0
  768. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.mjs +27 -0
  769. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js +20 -0
  770. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toKey.mjs +18 -0
  771. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +28 -0
  772. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toSource.mjs +26 -0
  773. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js +21 -0
  774. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.mjs +19 -0
  775. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/assign.js +60 -0
  776. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/assign.mjs +58 -0
  777. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/clone.js +38 -0
  778. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/clone.mjs +36 -0
  779. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js +31 -0
  780. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.mjs +29 -0
  781. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/compact.js +33 -0
  782. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/compact.mjs +31 -0
  783. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/constant.js +28 -0
  784. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/constant.mjs +26 -0
  785. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/defaults.js +66 -0
  786. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/defaults.mjs +64 -0
  787. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/difference.js +35 -0
  788. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/difference.mjs +33 -0
  789. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/drop.js +40 -0
  790. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/drop.mjs +38 -0
  791. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/dropRight.js +41 -0
  792. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/dropRight.mjs +39 -0
  793. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/eq.js +39 -0
  794. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/eq.mjs +37 -0
  795. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/every.js +54 -0
  796. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/every.mjs +52 -0
  797. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/filter.js +54 -0
  798. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/filter.mjs +52 -0
  799. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/find.js +44 -0
  800. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/find.mjs +42 -0
  801. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/findIndex.js +57 -0
  802. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/findIndex.mjs +55 -0
  803. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatMap.js +31 -0
  804. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatMap.mjs +29 -0
  805. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js +24 -0
  806. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.mjs +22 -0
  807. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/forEach.js +43 -0
  808. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/forEach.mjs +41 -0
  809. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/forIn.js +41 -0
  810. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/forIn.mjs +39 -0
  811. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/forOwn.js +38 -0
  812. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/forOwn.mjs +36 -0
  813. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/get.js +35 -0
  814. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/get.mjs +33 -0
  815. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/groupBy.js +43 -0
  816. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/groupBy.mjs +41 -0
  817. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/has.js +37 -0
  818. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/has.mjs +35 -0
  819. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/hasIn.js +36 -0
  820. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/hasIn.mjs +34 -0
  821. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/head.js +25 -0
  822. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/head.mjs +23 -0
  823. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/identity.js +23 -0
  824. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/identity.mjs +21 -0
  825. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/includes.js +55 -0
  826. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/includes.mjs +53 -0
  827. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/indexOf.js +37 -0
  828. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/indexOf.mjs +35 -0
  829. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +38 -0
  830. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArguments.mjs +36 -0
  831. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +28 -0
  832. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArray.mjs +26 -0
  833. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +35 -0
  834. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.mjs +33 -0
  835. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLikeObject.js +35 -0
  836. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLikeObject.mjs +33 -0
  837. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +40 -0
  838. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.mjs +38 -0
  839. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js +79 -0
  840. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.mjs +77 -0
  841. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +39 -0
  842. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isFunction.mjs +37 -0
  843. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +37 -0
  844. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isLength.mjs +35 -0
  845. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +29 -0
  846. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isMap.mjs +27 -0
  847. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +33 -0
  848. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObject.mjs +31 -0
  849. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +31 -0
  850. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.mjs +29 -0
  851. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.js +64 -0
  852. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.mjs +62 -0
  853. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isRegExp.js +29 -0
  854. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isRegExp.mjs +27 -0
  855. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +29 -0
  856. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSet.mjs +27 -0
  857. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.js +32 -0
  858. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.mjs +30 -0
  859. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js +31 -0
  860. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.mjs +29 -0
  861. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +29 -0
  862. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.mjs +27 -0
  863. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isUndefined.js +24 -0
  864. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isUndefined.mjs +22 -0
  865. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/keys.js +39 -0
  866. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/keys.mjs +37 -0
  867. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +34 -0
  868. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/keysIn.mjs +32 -0
  869. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.js +22 -0
  870. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.mjs +20 -0
  871. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/map.js +55 -0
  872. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/map.mjs +53 -0
  873. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/mapValues.js +45 -0
  874. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/mapValues.mjs +43 -0
  875. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/max.js +31 -0
  876. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/max.mjs +29 -0
  877. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/memoize.js +75 -0
  878. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/memoize.mjs +73 -0
  879. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/merge.js +41 -0
  880. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/merge.mjs +39 -0
  881. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/min.js +31 -0
  882. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/min.mjs +29 -0
  883. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/minBy.js +36 -0
  884. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/minBy.mjs +34 -0
  885. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/negate.js +42 -0
  886. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/negate.mjs +40 -0
  887. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/noop.js +19 -0
  888. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/noop.mjs +17 -0
  889. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pick.js +27 -0
  890. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pick.mjs +25 -0
  891. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pickBy.js +39 -0
  892. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pickBy.mjs +37 -0
  893. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/property.js +34 -0
  894. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/property.mjs +32 -0
  895. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/range.js +48 -0
  896. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/range.mjs +46 -0
  897. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reduce.js +53 -0
  898. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reduce.mjs +51 -0
  899. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reject.js +48 -0
  900. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reject.mjs +46 -0
  901. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/some.js +49 -0
  902. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/some.mjs +47 -0
  903. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/sortBy.js +50 -0
  904. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/sortBy.mjs +48 -0
  905. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +25 -0
  906. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubArray.mjs +23 -0
  907. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +20 -0
  908. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.mjs +18 -0
  909. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js +44 -0
  910. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.mjs +42 -0
  911. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js +38 -0
  912. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.mjs +36 -0
  913. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js +66 -0
  914. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.mjs +64 -0
  915. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toPlainObject.js +34 -0
  916. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toPlainObject.mjs +32 -0
  917. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toString.js +30 -0
  918. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toString.mjs +28 -0
  919. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/union.js +28 -0
  920. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/union.mjs +26 -0
  921. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniq.js +27 -0
  922. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniq.mjs +25 -0
  923. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniqBy.js +33 -0
  924. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniqBy.mjs +31 -0
  925. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniqueId.js +30 -0
  926. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniqueId.mjs +28 -0
  927. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/values.js +36 -0
  928. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/values.mjs +34 -0
  929. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/zipObject.js +26 -0
  930. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/zipObject.mjs +24 -0
  931. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +1 -1
  932. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs +1 -1
  933. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1 -1
  934. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs +1 -1
  935. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +2 -2
  936. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.mjs +2 -2
  937. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/mermaid.core.js +1 -1
  938. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/mermaid.core.mjs +1 -1
  939. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +1139 -0
  940. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs +1137 -0
  941. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3654 -0
  942. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs +3652 -0
  943. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2503 -0
  944. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs +2501 -0
  945. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +19 -0
  946. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.mjs +17 -0
  947. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +18 -0
  948. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs +16 -0
  949. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +3063 -0
  950. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs +3013 -0
  951. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +81 -0
  952. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.mjs +76 -0
  953. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +107 -0
  954. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.mjs +101 -0
  955. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +1849 -0
  956. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.mjs +1844 -0
  957. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +19 -0
  958. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.mjs +17 -0
  959. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1936 -0
  960. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.mjs +1931 -0
  961. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +146 -0
  962. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.mjs +144 -0
  963. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +21 -0
  964. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.mjs +19 -0
  965. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +22 -0
  966. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.mjs +20 -0
  967. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +118 -0
  968. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.mjs +114 -0
  969. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +433 -0
  970. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs +426 -0
  971. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +5271 -0
  972. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.mjs +5260 -0
  973. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +2699 -0
  974. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs +2696 -0
  975. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +69 -0
  976. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs +65 -0
  977. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +28 -0
  978. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.mjs +26 -0
  979. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +827 -0
  980. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.mjs +821 -0
  981. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +22 -0
  982. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs +20 -0
  983. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +571 -0
  984. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.mjs +553 -0
  985. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +112 -0
  986. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.mjs +104 -0
  987. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +31 -0
  988. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs +29 -0
  989. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +31 -0
  990. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs +29 -0
  991. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +302 -0
  992. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs +300 -0
  993. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +662 -0
  994. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs +660 -0
  995. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +540 -0
  996. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs +538 -0
  997. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +312 -0
  998. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs +310 -0
  999. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +224 -0
  1000. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs +222 -0
  1001. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1180 -0
  1002. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs +1178 -0
  1003. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +2355 -0
  1004. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs +2353 -0
  1005. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +2201 -0
  1006. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs +2199 -0
  1007. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +1219 -0
  1008. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.mjs +1217 -0
  1009. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +42 -0
  1010. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.mjs +40 -0
  1011. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +1269 -0
  1012. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs +1267 -0
  1013. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +1065 -0
  1014. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs +1063 -0
  1015. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +1113 -0
  1016. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs +1111 -0
  1017. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +198 -0
  1018. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs +196 -0
  1019. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1353 -0
  1020. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs +1351 -0
  1021. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +1181 -0
  1022. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs +1179 -0
  1023. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +700 -0
  1024. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs +698 -0
  1025. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3893 -0
  1026. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs +3891 -0
  1027. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +466 -0
  1028. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs +464 -0
  1029. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +31 -0
  1030. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs +29 -0
  1031. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +1238 -0
  1032. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs +1236 -0
  1033. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1892 -0
  1034. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs +1890 -0
  1035. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/mermaid.core.js +1311 -0
  1036. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/mermaid.core.mjs +1309 -0
  1037. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/Controlled.js +437 -0
  1038. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/Controlled.mjs +435 -0
  1039. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/Uncontrolled.js +15 -0
  1040. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/Uncontrolled.mjs +13 -0
  1041. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/icons.js +15 -0
  1042. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/icons.mjs +12 -0
  1043. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/utils.js +423 -0
  1044. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-medium-image-zoom/dist/utils.mjs +413 -0
  1045. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/modules/pagination.js +461 -0
  1046. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/modules/pagination.mjs +459 -0
  1047. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/classes-to-selector.js +9 -0
  1048. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/classes-to-selector.mjs +7 -0
  1049. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/create-element-if-not-defined.js +23 -0
  1050. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/create-element-if-not-defined.mjs +21 -0
  1051. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/ssr-window.esm.js +143 -0
  1052. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/ssr-window.esm.mjs +140 -0
  1053. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/swiper-core.js +3924 -0
  1054. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/swiper-core.mjs +3921 -0
  1055. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/update-on-virtual-data.js +129 -0
  1056. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/update-on-virtual-data.mjs +124 -0
  1057. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/update-swiper.js +226 -0
  1058. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/update-swiper.mjs +216 -0
  1059. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/utils.js +309 -0
  1060. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/shared/utils.mjs +287 -0
  1061. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/swiper-react.js +396 -0
  1062. package/dist/node_modules/.pnpm/swiper@12.1.2/node_modules/swiper/swiper-react.mjs +393 -0
  1063. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.js +106 -0
  1064. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.mjs +104 -0
  1065. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.js +1232 -0
  1066. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.mjs +1230 -0
  1067. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.js +28 -0
  1068. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.mjs +26 -0
  1069. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +410 -0
  1070. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.mjs +408 -0
  1071. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +164 -0
  1072. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.mjs +162 -0
  1073. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.js +212 -0
  1074. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.mjs +210 -0
  1075. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +131 -0
  1076. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.mjs +129 -0
  1077. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.js +319 -0
  1078. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.mjs +317 -0
  1079. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.js +81 -0
  1080. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.mjs +79 -0
  1081. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +89 -0
  1082. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.mjs +87 -0
  1083. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js +277 -0
  1084. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.mjs +275 -0
  1085. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.js +175 -0
  1086. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.mjs +173 -0
  1087. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.js +21 -0
  1088. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.mjs +19 -0
  1089. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js +96 -0
  1090. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.mjs +94 -0
  1091. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.js +28 -0
  1092. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.mjs +26 -0
  1093. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.js +57 -0
  1094. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.mjs +55 -0
  1095. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +55 -0
  1096. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.mjs +53 -0
  1097. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +45 -0
  1098. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.mjs +43 -0
  1099. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +37 -0
  1100. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.mjs +35 -0
  1101. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +33 -0
  1102. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.mjs +31 -0
  1103. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +89 -0
  1104. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.mjs +87 -0
  1105. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +114 -0
  1106. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.mjs +112 -0
  1107. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +43 -0
  1108. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.mjs +41 -0
  1109. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +32 -0
  1110. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.mjs +30 -0
  1111. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +56 -0
  1112. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.mjs +54 -0
  1113. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +35 -0
  1114. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.mjs +33 -0
  1115. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +43 -0
  1116. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.mjs +41 -0
  1117. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +979 -0
  1118. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +32 -0
  1119. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.mjs +30 -0
  1120. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.mjs +977 -0
  1121. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +81 -0
  1122. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.mjs +79 -0
  1123. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +229 -0
  1124. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.mjs +227 -0
  1125. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +51 -0
  1126. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.mjs +49 -0
  1127. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +33 -0
  1128. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.mjs +31 -0
  1129. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +70 -0
  1130. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.mjs +68 -0
  1131. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +35 -0
  1132. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.mjs +33 -0
  1133. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +32 -0
  1134. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.mjs +30 -0
  1135. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +55 -0
  1136. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.mjs +53 -0
  1137. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +40 -0
  1138. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.mjs +38 -0
  1139. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +59 -0
  1140. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.mjs +57 -0
  1141. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js +44 -0
  1142. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.mjs +42 -0
  1143. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.js +2280 -0
  1144. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.mjs +2278 -0
  1145. package/dist/node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.js +6 -0
  1146. package/dist/node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.mjs +3 -0
  1147. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js +53 -0
  1148. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.mjs +51 -0
  1149. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js +45 -0
  1150. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.mjs +36 -0
  1151. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js +32 -0
  1152. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.mjs +19 -0
  1153. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js +535 -0
  1154. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.mjs +480 -0
  1155. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js +486 -0
  1156. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.mjs +439 -0
  1157. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js +245 -0
  1158. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.mjs +232 -0
  1159. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js +77 -0
  1160. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.mjs +71 -0
  1161. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js +80 -0
  1162. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.mjs +75 -0
  1163. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js +187 -0
  1164. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.mjs +172 -0
  1165. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js +101 -0
  1166. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.mjs +86 -0
  1167. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.js +99 -0
  1168. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.mjs +74 -0
  1169. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js +55 -0
  1170. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.mjs +51 -0
  1171. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js +972 -0
  1172. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.mjs +928 -0
  1173. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js +442 -0
  1174. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.mjs +435 -0
  1175. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js +193 -0
  1176. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.mjs +173 -0
  1177. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js +9 -0
  1178. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.mjs +7 -0
  1179. package/package.json +22 -22
@@ -0,0 +1,3652 @@
1
+ import { getIconStyles } from './chunk-FMBD7UC4.mjs';
2
+ import { getLineFunctionsWithOffset } from './chunk-HN2XXSSU.mjs';
3
+ import { getSubGraphTitleMargins } from './chunk-CVBHYZKI.mjs';
4
+ import { createText, replaceIconSubstring } from './chunk-JA3XYJ7Z.mjs';
5
+ import { utils_default, decodeEntities, getStylesFromArray } from './chunk-S3R3BYOJ.mjs';
6
+ import { getConfig, configureSvgSize, clear, getConfig2, getUrl, evaluate, common_default, sanitizeText } from './chunk-ABZYJK2D.mjs';
7
+ import { __name, log } from './chunk-AGHRB4JF.mjs';
8
+ import clone from '../../../../../../lodash-es@4.17.23/node_modules/lodash-es/clone.mjs';
9
+ import '../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs';
10
+ import '../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs';
11
+ import { Graph } from '../../../../../../dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/graph.mjs';
12
+ import channel from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs';
13
+ import rgba from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs';
14
+ import select from '../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs';
15
+ import line from '../../../../../../d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs';
16
+ import curveBasis from '../../../../../../d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs';
17
+
18
+ // src/diagrams/block/parser/block.jison
19
+ var parser = (function() {
20
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
21
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
22
+ return o2;
23
+ }, "o"), $V0 = [1, 15], $V1 = [1, 7], $V2 = [1, 13], $V3 = [1, 14], $V4 = [1, 19], $V5 = [1, 16], $V6 = [1, 17], $V7 = [1, 18], $V8 = [8, 30], $V9 = [8, 10, 21, 28, 29, 30, 31, 39, 43, 46], $Va = [1, 23], $Vb = [1, 24], $Vc = [8, 10, 15, 16, 21, 28, 29, 30, 31, 39, 43, 46], $Vd = [8, 10, 15, 16, 21, 27, 28, 29, 30, 31, 39, 43, 46], $Ve = [1, 49];
24
+ var parser2 = {
25
+ trace: /* @__PURE__ */ __name(function trace() {
26
+ }, "trace"),
27
+ yy: {},
28
+ symbols_: { "error": 2, "spaceLines": 3, "SPACELINE": 4, "NL": 5, "separator": 6, "SPACE": 7, "EOF": 8, "start": 9, "BLOCK_DIAGRAM_KEY": 10, "document": 11, "stop": 12, "statement": 13, "link": 14, "LINK": 15, "START_LINK": 16, "LINK_LABEL": 17, "STR": 18, "nodeStatement": 19, "columnsStatement": 20, "SPACE_BLOCK": 21, "blockStatement": 22, "classDefStatement": 23, "cssClassStatement": 24, "styleStatement": 25, "node": 26, "SIZE": 27, "COLUMNS": 28, "id-block": 29, "end": 30, "NODE_ID": 31, "nodeShapeNLabel": 32, "dirList": 33, "DIR": 34, "NODE_DSTART": 35, "NODE_DEND": 36, "BLOCK_ARROW_START": 37, "BLOCK_ARROW_END": 38, "classDef": 39, "CLASSDEF_ID": 40, "CLASSDEF_STYLEOPTS": 41, "DEFAULT": 42, "class": 43, "CLASSENTITY_IDS": 44, "STYLECLASS": 45, "style": 46, "STYLE_ENTITY_IDS": 47, "STYLE_DEFINITION_DATA": 48, "$accept": 0, "$end": 1 },
29
+ terminals_: { 2: "error", 4: "SPACELINE", 5: "NL", 7: "SPACE", 8: "EOF", 10: "BLOCK_DIAGRAM_KEY", 15: "LINK", 16: "START_LINK", 17: "LINK_LABEL", 18: "STR", 21: "SPACE_BLOCK", 27: "SIZE", 28: "COLUMNS", 29: "id-block", 30: "end", 31: "NODE_ID", 34: "DIR", 35: "NODE_DSTART", 36: "NODE_DEND", 37: "BLOCK_ARROW_START", 38: "BLOCK_ARROW_END", 39: "classDef", 40: "CLASSDEF_ID", 41: "CLASSDEF_STYLEOPTS", 42: "DEFAULT", 43: "class", 44: "CLASSENTITY_IDS", 45: "STYLECLASS", 46: "style", 47: "STYLE_ENTITY_IDS", 48: "STYLE_DEFINITION_DATA" },
30
+ productions_: [0, [3, 1], [3, 2], [3, 2], [6, 1], [6, 1], [6, 1], [9, 3], [12, 1], [12, 1], [12, 2], [12, 2], [11, 1], [11, 2], [14, 1], [14, 4], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [19, 3], [19, 2], [19, 1], [20, 1], [22, 4], [22, 3], [26, 1], [26, 2], [33, 1], [33, 2], [32, 3], [32, 4], [23, 3], [23, 3], [24, 3], [25, 3]],
31
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
32
+ var $0 = $$.length - 1;
33
+ switch (yystate) {
34
+ case 4:
35
+ yy.getLogger().debug("Rule: separator (NL) ");
36
+ break;
37
+ case 5:
38
+ yy.getLogger().debug("Rule: separator (Space) ");
39
+ break;
40
+ case 6:
41
+ yy.getLogger().debug("Rule: separator (EOF) ");
42
+ break;
43
+ case 7:
44
+ yy.getLogger().debug("Rule: hierarchy: ", $$[$0 - 1]);
45
+ yy.setHierarchy($$[$0 - 1]);
46
+ break;
47
+ case 8:
48
+ yy.getLogger().debug("Stop NL ");
49
+ break;
50
+ case 9:
51
+ yy.getLogger().debug("Stop EOF ");
52
+ break;
53
+ case 10:
54
+ yy.getLogger().debug("Stop NL2 ");
55
+ break;
56
+ case 11:
57
+ yy.getLogger().debug("Stop EOF2 ");
58
+ break;
59
+ case 12:
60
+ yy.getLogger().debug("Rule: statement: ", $$[$0]);
61
+ typeof $$[$0].length === "number" ? this.$ = $$[$0] : this.$ = [$$[$0]];
62
+ break;
63
+ case 13:
64
+ yy.getLogger().debug("Rule: statement #2: ", $$[$0 - 1]);
65
+ this.$ = [$$[$0 - 1]].concat($$[$0]);
66
+ break;
67
+ case 14:
68
+ yy.getLogger().debug("Rule: link: ", $$[$0], yytext);
69
+ this.$ = { edgeTypeStr: $$[$0], label: "" };
70
+ break;
71
+ case 15:
72
+ yy.getLogger().debug("Rule: LABEL link: ", $$[$0 - 3], $$[$0 - 1], $$[$0]);
73
+ this.$ = { edgeTypeStr: $$[$0], label: $$[$0 - 1] };
74
+ break;
75
+ case 18:
76
+ const num = parseInt($$[$0]);
77
+ const spaceId = yy.generateId();
78
+ this.$ = { id: spaceId, type: "space", label: "", width: num, children: [] };
79
+ break;
80
+ case 23:
81
+ yy.getLogger().debug("Rule: (nodeStatement link node) ", $$[$0 - 2], $$[$0 - 1], $$[$0], " typestr: ", $$[$0 - 1].edgeTypeStr);
82
+ const edgeData = yy.edgeStrToEdgeData($$[$0 - 1].edgeTypeStr);
83
+ this.$ = [
84
+ { id: $$[$0 - 2].id, label: $$[$0 - 2].label, type: $$[$0 - 2].type, directions: $$[$0 - 2].directions },
85
+ { id: $$[$0 - 2].id + "-" + $$[$0].id, start: $$[$0 - 2].id, end: $$[$0].id, label: $$[$0 - 1].label, type: "edge", directions: $$[$0].directions, arrowTypeEnd: edgeData, arrowTypeStart: "arrow_open" },
86
+ { id: $$[$0].id, label: $$[$0].label, type: yy.typeStr2Type($$[$0].typeStr), directions: $$[$0].directions }
87
+ ];
88
+ break;
89
+ case 24:
90
+ yy.getLogger().debug("Rule: nodeStatement (abc88 node size) ", $$[$0 - 1], $$[$0]);
91
+ this.$ = { id: $$[$0 - 1].id, label: $$[$0 - 1].label, type: yy.typeStr2Type($$[$0 - 1].typeStr), directions: $$[$0 - 1].directions, widthInColumns: parseInt($$[$0], 10) };
92
+ break;
93
+ case 25:
94
+ yy.getLogger().debug("Rule: nodeStatement (node) ", $$[$0]);
95
+ this.$ = { id: $$[$0].id, label: $$[$0].label, type: yy.typeStr2Type($$[$0].typeStr), directions: $$[$0].directions, widthInColumns: 1 };
96
+ break;
97
+ case 26:
98
+ yy.getLogger().debug("APA123", this ? this : "na");
99
+ yy.getLogger().debug("COLUMNS: ", $$[$0]);
100
+ this.$ = { type: "column-setting", columns: $$[$0] === "auto" ? -1 : parseInt($$[$0]) };
101
+ break;
102
+ case 27:
103
+ yy.getLogger().debug("Rule: id-block statement : ", $$[$0 - 2], $$[$0 - 1]);
104
+ yy.generateId();
105
+ this.$ = { ...$$[$0 - 2], type: "composite", children: $$[$0 - 1] };
106
+ break;
107
+ case 28:
108
+ yy.getLogger().debug("Rule: blockStatement : ", $$[$0 - 2], $$[$0 - 1], $$[$0]);
109
+ const id = yy.generateId();
110
+ this.$ = { id, type: "composite", label: "", children: $$[$0 - 1] };
111
+ break;
112
+ case 29:
113
+ yy.getLogger().debug("Rule: node (NODE_ID separator): ", $$[$0]);
114
+ this.$ = { id: $$[$0] };
115
+ break;
116
+ case 30:
117
+ yy.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ", $$[$0 - 1], $$[$0]);
118
+ this.$ = { id: $$[$0 - 1], label: $$[$0].label, typeStr: $$[$0].typeStr, directions: $$[$0].directions };
119
+ break;
120
+ case 31:
121
+ yy.getLogger().debug("Rule: dirList: ", $$[$0]);
122
+ this.$ = [$$[$0]];
123
+ break;
124
+ case 32:
125
+ yy.getLogger().debug("Rule: dirList: ", $$[$0 - 1], $$[$0]);
126
+ this.$ = [$$[$0 - 1]].concat($$[$0]);
127
+ break;
128
+ case 33:
129
+ yy.getLogger().debug("Rule: nodeShapeNLabel: ", $$[$0 - 2], $$[$0 - 1], $$[$0]);
130
+ this.$ = { typeStr: $$[$0 - 2] + $$[$0], label: $$[$0 - 1] };
131
+ break;
132
+ case 34:
133
+ yy.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ", $$[$0 - 3], $$[$0 - 2], " #3:", $$[$0 - 1], $$[$0]);
134
+ this.$ = { typeStr: $$[$0 - 3] + $$[$0], label: $$[$0 - 2], directions: $$[$0 - 1] };
135
+ break;
136
+ case 35:
137
+ case 36:
138
+ this.$ = { type: "classDef", id: $$[$0 - 1].trim(), css: $$[$0].trim() };
139
+ break;
140
+ case 37:
141
+ this.$ = { type: "applyClass", id: $$[$0 - 1].trim(), styleClass: $$[$0].trim() };
142
+ break;
143
+ case 38:
144
+ this.$ = { type: "applyStyles", id: $$[$0 - 1].trim(), stylesStr: $$[$0].trim() };
145
+ break;
146
+ }
147
+ }, "anonymous"),
148
+ table: [{ 9: 1, 10: [1, 2] }, { 1: [3] }, { 10: $V0, 11: 3, 13: 4, 19: 5, 20: 6, 21: $V1, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }, { 8: [1, 20] }, o($V8, [2, 12], { 13: 4, 19: 5, 20: 6, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 11: 21, 10: $V0, 21: $V1, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }), o($V9, [2, 16], { 14: 22, 15: $Va, 16: $Vb }), o($V9, [2, 17]), o($V9, [2, 18]), o($V9, [2, 19]), o($V9, [2, 20]), o($V9, [2, 21]), o($V9, [2, 22]), o($Vc, [2, 25], { 27: [1, 25] }), o($V9, [2, 26]), { 19: 26, 26: 12, 31: $V4 }, { 10: $V0, 11: 27, 13: 4, 19: 5, 20: 6, 21: $V1, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }, { 40: [1, 28], 42: [1, 29] }, { 44: [1, 30] }, { 47: [1, 31] }, o($Vd, [2, 29], { 32: 32, 35: [1, 33], 37: [1, 34] }), { 1: [2, 7] }, o($V8, [2, 13]), { 26: 35, 31: $V4 }, { 31: [2, 14] }, { 17: [1, 36] }, o($Vc, [2, 24]), { 10: $V0, 11: 37, 13: 4, 14: 22, 15: $Va, 16: $Vb, 19: 5, 20: 6, 21: $V1, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }, { 30: [1, 38] }, { 41: [1, 39] }, { 41: [1, 40] }, { 45: [1, 41] }, { 48: [1, 42] }, o($Vd, [2, 30]), { 18: [1, 43] }, { 18: [1, 44] }, o($Vc, [2, 23]), { 18: [1, 45] }, { 30: [1, 46] }, o($V9, [2, 28]), o($V9, [2, 35]), o($V9, [2, 36]), o($V9, [2, 37]), o($V9, [2, 38]), { 36: [1, 47] }, { 33: 48, 34: $Ve }, { 15: [1, 50] }, o($V9, [2, 27]), o($Vd, [2, 33]), { 38: [1, 51] }, { 33: 52, 34: $Ve, 38: [2, 31] }, { 31: [2, 15] }, o($Vd, [2, 34]), { 38: [2, 32] }],
149
+ defaultActions: { 20: [2, 7], 23: [2, 14], 50: [2, 15], 52: [2, 32] },
150
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
151
+ if (hash.recoverable) {
152
+ this.trace(str);
153
+ } else {
154
+ var error = new Error(str);
155
+ error.hash = hash;
156
+ throw error;
157
+ }
158
+ }, "parseError"),
159
+ parse: /* @__PURE__ */ __name(function parse(input) {
160
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
161
+ var args = lstack.slice.call(arguments, 1);
162
+ var lexer2 = Object.create(this.lexer);
163
+ var sharedState = { yy: {} };
164
+ for (var k in this.yy) {
165
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
166
+ sharedState.yy[k] = this.yy[k];
167
+ }
168
+ }
169
+ lexer2.setInput(input, sharedState.yy);
170
+ sharedState.yy.lexer = lexer2;
171
+ sharedState.yy.parser = this;
172
+ if (typeof lexer2.yylloc == "undefined") {
173
+ lexer2.yylloc = {};
174
+ }
175
+ var yyloc = lexer2.yylloc;
176
+ lstack.push(yyloc);
177
+ var ranges = lexer2.options && lexer2.options.ranges;
178
+ if (typeof sharedState.yy.parseError === "function") {
179
+ this.parseError = sharedState.yy.parseError;
180
+ } else {
181
+ this.parseError = Object.getPrototypeOf(this).parseError;
182
+ }
183
+ function popStack(n) {
184
+ stack.length = stack.length - 2 * n;
185
+ vstack.length = vstack.length - n;
186
+ lstack.length = lstack.length - n;
187
+ }
188
+ __name(popStack, "popStack");
189
+ function lex() {
190
+ var token;
191
+ token = tstack.pop() || lexer2.lex() || EOF;
192
+ if (typeof token !== "number") {
193
+ if (token instanceof Array) {
194
+ tstack = token;
195
+ token = tstack.pop();
196
+ }
197
+ token = self.symbols_[token] || token;
198
+ }
199
+ return token;
200
+ }
201
+ __name(lex, "lex");
202
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
203
+ while (true) {
204
+ state = stack[stack.length - 1];
205
+ if (this.defaultActions[state]) {
206
+ action = this.defaultActions[state];
207
+ } else {
208
+ if (symbol === null || typeof symbol == "undefined") {
209
+ symbol = lex();
210
+ }
211
+ action = table[state] && table[state][symbol];
212
+ }
213
+ if (typeof action === "undefined" || !action.length || !action[0]) {
214
+ var errStr = "";
215
+ expected = [];
216
+ for (p in table[state]) {
217
+ if (this.terminals_[p] && p > TERROR) {
218
+ expected.push("'" + this.terminals_[p] + "'");
219
+ }
220
+ }
221
+ if (lexer2.showPosition) {
222
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
223
+ } else {
224
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
225
+ }
226
+ this.parseError(errStr, {
227
+ text: lexer2.match,
228
+ token: this.terminals_[symbol] || symbol,
229
+ line: lexer2.yylineno,
230
+ loc: yyloc,
231
+ expected
232
+ });
233
+ }
234
+ if (action[0] instanceof Array && action.length > 1) {
235
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
236
+ }
237
+ switch (action[0]) {
238
+ case 1:
239
+ stack.push(symbol);
240
+ vstack.push(lexer2.yytext);
241
+ lstack.push(lexer2.yylloc);
242
+ stack.push(action[1]);
243
+ symbol = null;
244
+ {
245
+ yyleng = lexer2.yyleng;
246
+ yytext = lexer2.yytext;
247
+ yylineno = lexer2.yylineno;
248
+ yyloc = lexer2.yylloc;
249
+ }
250
+ break;
251
+ case 2:
252
+ len = this.productions_[action[1]][1];
253
+ yyval.$ = vstack[vstack.length - len];
254
+ yyval._$ = {
255
+ first_line: lstack[lstack.length - (len || 1)].first_line,
256
+ last_line: lstack[lstack.length - 1].last_line,
257
+ first_column: lstack[lstack.length - (len || 1)].first_column,
258
+ last_column: lstack[lstack.length - 1].last_column
259
+ };
260
+ if (ranges) {
261
+ yyval._$.range = [
262
+ lstack[lstack.length - (len || 1)].range[0],
263
+ lstack[lstack.length - 1].range[1]
264
+ ];
265
+ }
266
+ r = this.performAction.apply(yyval, [
267
+ yytext,
268
+ yyleng,
269
+ yylineno,
270
+ sharedState.yy,
271
+ action[1],
272
+ vstack,
273
+ lstack
274
+ ].concat(args));
275
+ if (typeof r !== "undefined") {
276
+ return r;
277
+ }
278
+ if (len) {
279
+ stack = stack.slice(0, -1 * len * 2);
280
+ vstack = vstack.slice(0, -1 * len);
281
+ lstack = lstack.slice(0, -1 * len);
282
+ }
283
+ stack.push(this.productions_[action[1]][0]);
284
+ vstack.push(yyval.$);
285
+ lstack.push(yyval._$);
286
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
287
+ stack.push(newState);
288
+ break;
289
+ case 3:
290
+ return true;
291
+ }
292
+ }
293
+ return true;
294
+ }, "parse")
295
+ };
296
+ var lexer = /* @__PURE__ */ (function() {
297
+ var lexer2 = {
298
+ EOF: 1,
299
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
300
+ if (this.yy.parser) {
301
+ this.yy.parser.parseError(str, hash);
302
+ } else {
303
+ throw new Error(str);
304
+ }
305
+ }, "parseError"),
306
+ // resets the lexer, sets new input
307
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
308
+ this.yy = yy || this.yy || {};
309
+ this._input = input;
310
+ this._more = this._backtrack = this.done = false;
311
+ this.yylineno = this.yyleng = 0;
312
+ this.yytext = this.matched = this.match = "";
313
+ this.conditionStack = ["INITIAL"];
314
+ this.yylloc = {
315
+ first_line: 1,
316
+ first_column: 0,
317
+ last_line: 1,
318
+ last_column: 0
319
+ };
320
+ if (this.options.ranges) {
321
+ this.yylloc.range = [0, 0];
322
+ }
323
+ this.offset = 0;
324
+ return this;
325
+ }, "setInput"),
326
+ // consumes and returns one char from the input
327
+ input: /* @__PURE__ */ __name(function() {
328
+ var ch = this._input[0];
329
+ this.yytext += ch;
330
+ this.yyleng++;
331
+ this.offset++;
332
+ this.match += ch;
333
+ this.matched += ch;
334
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
335
+ if (lines) {
336
+ this.yylineno++;
337
+ this.yylloc.last_line++;
338
+ } else {
339
+ this.yylloc.last_column++;
340
+ }
341
+ if (this.options.ranges) {
342
+ this.yylloc.range[1]++;
343
+ }
344
+ this._input = this._input.slice(1);
345
+ return ch;
346
+ }, "input"),
347
+ // unshifts one char (or a string) into the input
348
+ unput: /* @__PURE__ */ __name(function(ch) {
349
+ var len = ch.length;
350
+ var lines = ch.split(/(?:\r\n?|\n)/g);
351
+ this._input = ch + this._input;
352
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
353
+ this.offset -= len;
354
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
355
+ this.match = this.match.substr(0, this.match.length - 1);
356
+ this.matched = this.matched.substr(0, this.matched.length - 1);
357
+ if (lines.length - 1) {
358
+ this.yylineno -= lines.length - 1;
359
+ }
360
+ var r = this.yylloc.range;
361
+ this.yylloc = {
362
+ first_line: this.yylloc.first_line,
363
+ last_line: this.yylineno + 1,
364
+ first_column: this.yylloc.first_column,
365
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
366
+ };
367
+ if (this.options.ranges) {
368
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
369
+ }
370
+ this.yyleng = this.yytext.length;
371
+ return this;
372
+ }, "unput"),
373
+ // When called from action, caches matched text and appends it on next action
374
+ more: /* @__PURE__ */ __name(function() {
375
+ this._more = true;
376
+ return this;
377
+ }, "more"),
378
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
379
+ reject: /* @__PURE__ */ __name(function() {
380
+ if (this.options.backtrack_lexer) {
381
+ this._backtrack = true;
382
+ } else {
383
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
384
+ text: "",
385
+ token: null,
386
+ line: this.yylineno
387
+ });
388
+ }
389
+ return this;
390
+ }, "reject"),
391
+ // retain first n characters of the match
392
+ less: /* @__PURE__ */ __name(function(n) {
393
+ this.unput(this.match.slice(n));
394
+ }, "less"),
395
+ // displays already matched input, i.e. for error messages
396
+ pastInput: /* @__PURE__ */ __name(function() {
397
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
398
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
399
+ }, "pastInput"),
400
+ // displays upcoming input, i.e. for error messages
401
+ upcomingInput: /* @__PURE__ */ __name(function() {
402
+ var next = this.match;
403
+ if (next.length < 20) {
404
+ next += this._input.substr(0, 20 - next.length);
405
+ }
406
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
407
+ }, "upcomingInput"),
408
+ // displays the character position where the lexing error occurred, i.e. for error messages
409
+ showPosition: /* @__PURE__ */ __name(function() {
410
+ var pre = this.pastInput();
411
+ var c = new Array(pre.length + 1).join("-");
412
+ return pre + this.upcomingInput() + "\n" + c + "^";
413
+ }, "showPosition"),
414
+ // test the lexed token: return FALSE when not a match, otherwise return token
415
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
416
+ var token, lines, backup;
417
+ if (this.options.backtrack_lexer) {
418
+ backup = {
419
+ yylineno: this.yylineno,
420
+ yylloc: {
421
+ first_line: this.yylloc.first_line,
422
+ last_line: this.last_line,
423
+ first_column: this.yylloc.first_column,
424
+ last_column: this.yylloc.last_column
425
+ },
426
+ yytext: this.yytext,
427
+ match: this.match,
428
+ matches: this.matches,
429
+ matched: this.matched,
430
+ yyleng: this.yyleng,
431
+ offset: this.offset,
432
+ _more: this._more,
433
+ _input: this._input,
434
+ yy: this.yy,
435
+ conditionStack: this.conditionStack.slice(0),
436
+ done: this.done
437
+ };
438
+ if (this.options.ranges) {
439
+ backup.yylloc.range = this.yylloc.range.slice(0);
440
+ }
441
+ }
442
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
443
+ if (lines) {
444
+ this.yylineno += lines.length;
445
+ }
446
+ this.yylloc = {
447
+ first_line: this.yylloc.last_line,
448
+ last_line: this.yylineno + 1,
449
+ first_column: this.yylloc.last_column,
450
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
451
+ };
452
+ this.yytext += match[0];
453
+ this.match += match[0];
454
+ this.matches = match;
455
+ this.yyleng = this.yytext.length;
456
+ if (this.options.ranges) {
457
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
458
+ }
459
+ this._more = false;
460
+ this._backtrack = false;
461
+ this._input = this._input.slice(match[0].length);
462
+ this.matched += match[0];
463
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
464
+ if (this.done && this._input) {
465
+ this.done = false;
466
+ }
467
+ if (token) {
468
+ return token;
469
+ } else if (this._backtrack) {
470
+ for (var k in backup) {
471
+ this[k] = backup[k];
472
+ }
473
+ return false;
474
+ }
475
+ return false;
476
+ }, "test_match"),
477
+ // return next match in input
478
+ next: /* @__PURE__ */ __name(function() {
479
+ if (this.done) {
480
+ return this.EOF;
481
+ }
482
+ if (!this._input) {
483
+ this.done = true;
484
+ }
485
+ var token, match, tempMatch, index;
486
+ if (!this._more) {
487
+ this.yytext = "";
488
+ this.match = "";
489
+ }
490
+ var rules = this._currentRules();
491
+ for (var i = 0; i < rules.length; i++) {
492
+ tempMatch = this._input.match(this.rules[rules[i]]);
493
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
494
+ match = tempMatch;
495
+ index = i;
496
+ if (this.options.backtrack_lexer) {
497
+ token = this.test_match(tempMatch, rules[i]);
498
+ if (token !== false) {
499
+ return token;
500
+ } else if (this._backtrack) {
501
+ match = false;
502
+ continue;
503
+ } else {
504
+ return false;
505
+ }
506
+ } else if (!this.options.flex) {
507
+ break;
508
+ }
509
+ }
510
+ }
511
+ if (match) {
512
+ token = this.test_match(match, rules[index]);
513
+ if (token !== false) {
514
+ return token;
515
+ }
516
+ return false;
517
+ }
518
+ if (this._input === "") {
519
+ return this.EOF;
520
+ } else {
521
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
522
+ text: "",
523
+ token: null,
524
+ line: this.yylineno
525
+ });
526
+ }
527
+ }, "next"),
528
+ // return next match that has a token
529
+ lex: /* @__PURE__ */ __name(function lex() {
530
+ var r = this.next();
531
+ if (r) {
532
+ return r;
533
+ } else {
534
+ return this.lex();
535
+ }
536
+ }, "lex"),
537
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
538
+ begin: /* @__PURE__ */ __name(function begin(condition) {
539
+ this.conditionStack.push(condition);
540
+ }, "begin"),
541
+ // pop the previously active lexer condition state off the condition stack
542
+ popState: /* @__PURE__ */ __name(function popState() {
543
+ var n = this.conditionStack.length - 1;
544
+ if (n > 0) {
545
+ return this.conditionStack.pop();
546
+ } else {
547
+ return this.conditionStack[0];
548
+ }
549
+ }, "popState"),
550
+ // produce the lexer rule set which is active for the currently active lexer condition state
551
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
552
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
553
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
554
+ } else {
555
+ return this.conditions["INITIAL"].rules;
556
+ }
557
+ }, "_currentRules"),
558
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
559
+ topState: /* @__PURE__ */ __name(function topState(n) {
560
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
561
+ if (n >= 0) {
562
+ return this.conditionStack[n];
563
+ } else {
564
+ return "INITIAL";
565
+ }
566
+ }, "topState"),
567
+ // alias for begin(condition)
568
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
569
+ this.begin(condition);
570
+ }, "pushState"),
571
+ // return the number of states currently on the stack
572
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
573
+ return this.conditionStack.length;
574
+ }, "stateStackSize"),
575
+ options: {},
576
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
577
+ switch ($avoiding_name_collisions) {
578
+ case 0:
579
+ yy.getLogger().debug("Found block-beta");
580
+ return 10;
581
+ case 1:
582
+ yy.getLogger().debug("Found id-block");
583
+ return 29;
584
+ case 2:
585
+ yy.getLogger().debug("Found block");
586
+ return 10;
587
+ case 3:
588
+ yy.getLogger().debug(".", yy_.yytext);
589
+ break;
590
+ case 4:
591
+ yy.getLogger().debug("_", yy_.yytext);
592
+ break;
593
+ case 5:
594
+ return 5;
595
+ case 6:
596
+ yy_.yytext = -1;
597
+ return 28;
598
+ case 7:
599
+ yy_.yytext = yy_.yytext.replace(/columns\s+/, "");
600
+ yy.getLogger().debug("COLUMNS (LEX)", yy_.yytext);
601
+ return 28;
602
+ case 8:
603
+ this.pushState("md_string");
604
+ break;
605
+ case 9:
606
+ return "MD_STR";
607
+ case 10:
608
+ this.popState();
609
+ break;
610
+ case 11:
611
+ this.pushState("string");
612
+ break;
613
+ case 12:
614
+ yy.getLogger().debug("LEX: POPPING STR:", yy_.yytext);
615
+ this.popState();
616
+ break;
617
+ case 13:
618
+ yy.getLogger().debug("LEX: STR end:", yy_.yytext);
619
+ return "STR";
620
+ case 14:
621
+ yy_.yytext = yy_.yytext.replace(/space\:/, "");
622
+ yy.getLogger().debug("SPACE NUM (LEX)", yy_.yytext);
623
+ return 21;
624
+ case 15:
625
+ yy_.yytext = "1";
626
+ yy.getLogger().debug("COLUMNS (LEX)", yy_.yytext);
627
+ return 21;
628
+ case 16:
629
+ return 42;
630
+ case 17:
631
+ return "LINKSTYLE";
632
+ case 18:
633
+ return "INTERPOLATE";
634
+ case 19:
635
+ this.pushState("CLASSDEF");
636
+ return 39;
637
+ case 20:
638
+ this.popState();
639
+ this.pushState("CLASSDEFID");
640
+ return "DEFAULT_CLASSDEF_ID";
641
+ case 21:
642
+ this.popState();
643
+ this.pushState("CLASSDEFID");
644
+ return 40;
645
+ case 22:
646
+ this.popState();
647
+ return 41;
648
+ case 23:
649
+ this.pushState("CLASS");
650
+ return 43;
651
+ case 24:
652
+ this.popState();
653
+ this.pushState("CLASS_STYLE");
654
+ return 44;
655
+ case 25:
656
+ this.popState();
657
+ return 45;
658
+ case 26:
659
+ this.pushState("STYLE_STMNT");
660
+ return 46;
661
+ case 27:
662
+ this.popState();
663
+ this.pushState("STYLE_DEFINITION");
664
+ return 47;
665
+ case 28:
666
+ this.popState();
667
+ return 48;
668
+ case 29:
669
+ this.pushState("acc_title");
670
+ return "acc_title";
671
+ case 30:
672
+ this.popState();
673
+ return "acc_title_value";
674
+ case 31:
675
+ this.pushState("acc_descr");
676
+ return "acc_descr";
677
+ case 32:
678
+ this.popState();
679
+ return "acc_descr_value";
680
+ case 33:
681
+ this.pushState("acc_descr_multiline");
682
+ break;
683
+ case 34:
684
+ this.popState();
685
+ break;
686
+ case 35:
687
+ return "acc_descr_multiline_value";
688
+ case 36:
689
+ return 30;
690
+ case 37:
691
+ this.popState();
692
+ yy.getLogger().debug("Lex: ((");
693
+ return "NODE_DEND";
694
+ case 38:
695
+ this.popState();
696
+ yy.getLogger().debug("Lex: ((");
697
+ return "NODE_DEND";
698
+ case 39:
699
+ this.popState();
700
+ yy.getLogger().debug("Lex: ))");
701
+ return "NODE_DEND";
702
+ case 40:
703
+ this.popState();
704
+ yy.getLogger().debug("Lex: ((");
705
+ return "NODE_DEND";
706
+ case 41:
707
+ this.popState();
708
+ yy.getLogger().debug("Lex: ((");
709
+ return "NODE_DEND";
710
+ case 42:
711
+ this.popState();
712
+ yy.getLogger().debug("Lex: (-");
713
+ return "NODE_DEND";
714
+ case 43:
715
+ this.popState();
716
+ yy.getLogger().debug("Lex: -)");
717
+ return "NODE_DEND";
718
+ case 44:
719
+ this.popState();
720
+ yy.getLogger().debug("Lex: ((");
721
+ return "NODE_DEND";
722
+ case 45:
723
+ this.popState();
724
+ yy.getLogger().debug("Lex: ]]");
725
+ return "NODE_DEND";
726
+ case 46:
727
+ this.popState();
728
+ yy.getLogger().debug("Lex: (");
729
+ return "NODE_DEND";
730
+ case 47:
731
+ this.popState();
732
+ yy.getLogger().debug("Lex: ])");
733
+ return "NODE_DEND";
734
+ case 48:
735
+ this.popState();
736
+ yy.getLogger().debug("Lex: /]");
737
+ return "NODE_DEND";
738
+ case 49:
739
+ this.popState();
740
+ yy.getLogger().debug("Lex: /]");
741
+ return "NODE_DEND";
742
+ case 50:
743
+ this.popState();
744
+ yy.getLogger().debug("Lex: )]");
745
+ return "NODE_DEND";
746
+ case 51:
747
+ this.popState();
748
+ yy.getLogger().debug("Lex: )");
749
+ return "NODE_DEND";
750
+ case 52:
751
+ this.popState();
752
+ yy.getLogger().debug("Lex: ]>");
753
+ return "NODE_DEND";
754
+ case 53:
755
+ this.popState();
756
+ yy.getLogger().debug("Lex: ]");
757
+ return "NODE_DEND";
758
+ case 54:
759
+ yy.getLogger().debug("Lexa: -)");
760
+ this.pushState("NODE");
761
+ return 35;
762
+ case 55:
763
+ yy.getLogger().debug("Lexa: (-");
764
+ this.pushState("NODE");
765
+ return 35;
766
+ case 56:
767
+ yy.getLogger().debug("Lexa: ))");
768
+ this.pushState("NODE");
769
+ return 35;
770
+ case 57:
771
+ yy.getLogger().debug("Lexa: )");
772
+ this.pushState("NODE");
773
+ return 35;
774
+ case 58:
775
+ yy.getLogger().debug("Lex: (((");
776
+ this.pushState("NODE");
777
+ return 35;
778
+ case 59:
779
+ yy.getLogger().debug("Lexa: )");
780
+ this.pushState("NODE");
781
+ return 35;
782
+ case 60:
783
+ yy.getLogger().debug("Lexa: )");
784
+ this.pushState("NODE");
785
+ return 35;
786
+ case 61:
787
+ yy.getLogger().debug("Lexa: )");
788
+ this.pushState("NODE");
789
+ return 35;
790
+ case 62:
791
+ yy.getLogger().debug("Lexc: >");
792
+ this.pushState("NODE");
793
+ return 35;
794
+ case 63:
795
+ yy.getLogger().debug("Lexa: ([");
796
+ this.pushState("NODE");
797
+ return 35;
798
+ case 64:
799
+ yy.getLogger().debug("Lexa: )");
800
+ this.pushState("NODE");
801
+ return 35;
802
+ case 65:
803
+ this.pushState("NODE");
804
+ return 35;
805
+ case 66:
806
+ this.pushState("NODE");
807
+ return 35;
808
+ case 67:
809
+ this.pushState("NODE");
810
+ return 35;
811
+ case 68:
812
+ this.pushState("NODE");
813
+ return 35;
814
+ case 69:
815
+ this.pushState("NODE");
816
+ return 35;
817
+ case 70:
818
+ this.pushState("NODE");
819
+ return 35;
820
+ case 71:
821
+ this.pushState("NODE");
822
+ return 35;
823
+ case 72:
824
+ yy.getLogger().debug("Lexa: [");
825
+ this.pushState("NODE");
826
+ return 35;
827
+ case 73:
828
+ this.pushState("BLOCK_ARROW");
829
+ yy.getLogger().debug("LEX ARR START");
830
+ return 37;
831
+ case 74:
832
+ yy.getLogger().debug("Lex: NODE_ID", yy_.yytext);
833
+ return 31;
834
+ case 75:
835
+ yy.getLogger().debug("Lex: EOF", yy_.yytext);
836
+ return 8;
837
+ case 76:
838
+ this.pushState("md_string");
839
+ break;
840
+ case 77:
841
+ this.pushState("md_string");
842
+ break;
843
+ case 78:
844
+ return "NODE_DESCR";
845
+ case 79:
846
+ this.popState();
847
+ break;
848
+ case 80:
849
+ yy.getLogger().debug("Lex: Starting string");
850
+ this.pushState("string");
851
+ break;
852
+ case 81:
853
+ yy.getLogger().debug("LEX ARR: Starting string");
854
+ this.pushState("string");
855
+ break;
856
+ case 82:
857
+ yy.getLogger().debug("LEX: NODE_DESCR:", yy_.yytext);
858
+ return "NODE_DESCR";
859
+ case 83:
860
+ yy.getLogger().debug("LEX POPPING");
861
+ this.popState();
862
+ break;
863
+ case 84:
864
+ yy.getLogger().debug("Lex: =>BAE");
865
+ this.pushState("ARROW_DIR");
866
+ break;
867
+ case 85:
868
+ yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
869
+ yy.getLogger().debug("Lex (right): dir:", yy_.yytext);
870
+ return "DIR";
871
+ case 86:
872
+ yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
873
+ yy.getLogger().debug("Lex (left):", yy_.yytext);
874
+ return "DIR";
875
+ case 87:
876
+ yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
877
+ yy.getLogger().debug("Lex (x):", yy_.yytext);
878
+ return "DIR";
879
+ case 88:
880
+ yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
881
+ yy.getLogger().debug("Lex (y):", yy_.yytext);
882
+ return "DIR";
883
+ case 89:
884
+ yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
885
+ yy.getLogger().debug("Lex (up):", yy_.yytext);
886
+ return "DIR";
887
+ case 90:
888
+ yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
889
+ yy.getLogger().debug("Lex (down):", yy_.yytext);
890
+ return "DIR";
891
+ case 91:
892
+ yy_.yytext = "]>";
893
+ yy.getLogger().debug("Lex (ARROW_DIR end):", yy_.yytext);
894
+ this.popState();
895
+ this.popState();
896
+ return "BLOCK_ARROW_END";
897
+ case 92:
898
+ yy.getLogger().debug("Lex: LINK", "#" + yy_.yytext + "#");
899
+ return 15;
900
+ case 93:
901
+ yy.getLogger().debug("Lex: LINK", yy_.yytext);
902
+ return 15;
903
+ case 94:
904
+ yy.getLogger().debug("Lex: LINK", yy_.yytext);
905
+ return 15;
906
+ case 95:
907
+ yy.getLogger().debug("Lex: LINK", yy_.yytext);
908
+ return 15;
909
+ case 96:
910
+ yy.getLogger().debug("Lex: START_LINK", yy_.yytext);
911
+ this.pushState("LLABEL");
912
+ return 16;
913
+ case 97:
914
+ yy.getLogger().debug("Lex: START_LINK", yy_.yytext);
915
+ this.pushState("LLABEL");
916
+ return 16;
917
+ case 98:
918
+ yy.getLogger().debug("Lex: START_LINK", yy_.yytext);
919
+ this.pushState("LLABEL");
920
+ return 16;
921
+ case 99:
922
+ this.pushState("md_string");
923
+ break;
924
+ case 100:
925
+ yy.getLogger().debug("Lex: Starting string");
926
+ this.pushState("string");
927
+ return "LINK_LABEL";
928
+ case 101:
929
+ this.popState();
930
+ yy.getLogger().debug("Lex: LINK", "#" + yy_.yytext + "#");
931
+ return 15;
932
+ case 102:
933
+ this.popState();
934
+ yy.getLogger().debug("Lex: LINK", yy_.yytext);
935
+ return 15;
936
+ case 103:
937
+ this.popState();
938
+ yy.getLogger().debug("Lex: LINK", yy_.yytext);
939
+ return 15;
940
+ case 104:
941
+ yy.getLogger().debug("Lex: COLON", yy_.yytext);
942
+ yy_.yytext = yy_.yytext.slice(1);
943
+ return 27;
944
+ }
945
+ }, "anonymous"),
946
+ rules: [/^(?:block-beta\b)/, /^(?:block:)/, /^(?:block\b)/, /^(?:[\s]+)/, /^(?:[\n]+)/, /^(?:((\u000D\u000A)|(\u000A)))/, /^(?:columns\s+auto\b)/, /^(?:columns\s+[\d]+)/, /^(?:["][`])/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:space[:]\d+)/, /^(?:space\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\s+)/, /^(?:DEFAULT\s+)/, /^(?:\w+\s+)/, /^(?:[^\n]*)/, /^(?:class\s+)/, /^(?:(\w+)+((,\s*\w+)*))/, /^(?:[^\n]*)/, /^(?:style\s+)/, /^(?:(\w+)+((,\s*\w+)*))/, /^(?:[^\n]*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:end\b\s*)/, /^(?:\(\(\()/, /^(?:\)\)\))/, /^(?:[\)]\))/, /^(?:\}\})/, /^(?:\})/, /^(?:\(-)/, /^(?:-\))/, /^(?:\(\()/, /^(?:\]\])/, /^(?:\()/, /^(?:\]\))/, /^(?:\\\])/, /^(?:\/\])/, /^(?:\)\])/, /^(?:[\)])/, /^(?:\]>)/, /^(?:[\]])/, /^(?:-\))/, /^(?:\(-)/, /^(?:\)\))/, /^(?:\))/, /^(?:\(\(\()/, /^(?:\(\()/, /^(?:\{\{)/, /^(?:\{)/, /^(?:>)/, /^(?:\(\[)/, /^(?:\()/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\[\\)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:\[)/, /^(?:<\[)/, /^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/, /^(?:$)/, /^(?:["][`])/, /^(?:["][`])/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["])/, /^(?:["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:\]>\s*\()/, /^(?:,?\s*right\s*)/, /^(?:,?\s*left\s*)/, /^(?:,?\s*x\s*)/, /^(?:,?\s*y\s*)/, /^(?:,?\s*up\s*)/, /^(?:,?\s*down\s*)/, /^(?:\)\s*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*~~[\~]+\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:["][`])/, /^(?:["])/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?::\d+)/],
947
+ conditions: { "STYLE_DEFINITION": { "rules": [28], "inclusive": false }, "STYLE_STMNT": { "rules": [27], "inclusive": false }, "CLASSDEFID": { "rules": [22], "inclusive": false }, "CLASSDEF": { "rules": [20, 21], "inclusive": false }, "CLASS_STYLE": { "rules": [25], "inclusive": false }, "CLASS": { "rules": [24], "inclusive": false }, "LLABEL": { "rules": [99, 100, 101, 102, 103], "inclusive": false }, "ARROW_DIR": { "rules": [85, 86, 87, 88, 89, 90, 91], "inclusive": false }, "BLOCK_ARROW": { "rules": [76, 81, 84], "inclusive": false }, "NODE": { "rules": [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 77, 80], "inclusive": false }, "md_string": { "rules": [9, 10, 78, 79], "inclusive": false }, "space": { "rules": [], "inclusive": false }, "string": { "rules": [12, 13, 82, 83], "inclusive": false }, "acc_descr_multiline": { "rules": [34, 35], "inclusive": false }, "acc_descr": { "rules": [32], "inclusive": false }, "acc_title": { "rules": [30], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 14, 15, 16, 17, 18, 19, 23, 26, 29, 31, 33, 36, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 92, 93, 94, 95, 96, 97, 98, 104], "inclusive": true } }
948
+ };
949
+ return lexer2;
950
+ })();
951
+ parser2.lexer = lexer;
952
+ function Parser() {
953
+ this.yy = {};
954
+ }
955
+ __name(Parser, "Parser");
956
+ Parser.prototype = parser2;
957
+ parser2.Parser = Parser;
958
+ return new Parser();
959
+ })();
960
+ parser.parser = parser;
961
+ var block_default = parser;
962
+ var blockDatabase = /* @__PURE__ */ new Map();
963
+ var edgeList = [];
964
+ var edgeCount = /* @__PURE__ */ new Map();
965
+ var COLOR_KEYWORD = "color";
966
+ var FILL_KEYWORD = "fill";
967
+ var BG_FILL = "bgFill";
968
+ var STYLECLASS_SEP = ",";
969
+ var config = getConfig2();
970
+ var classes = /* @__PURE__ */ new Map();
971
+ var sanitizeText2 = /* @__PURE__ */ __name((txt) => common_default.sanitizeText(txt, config), "sanitizeText");
972
+ var addStyleClass = /* @__PURE__ */ __name(function(id, styleAttributes = "") {
973
+ let foundClass = classes.get(id);
974
+ if (!foundClass) {
975
+ foundClass = { id, styles: [], textStyles: [] };
976
+ classes.set(id, foundClass);
977
+ }
978
+ if (styleAttributes !== void 0 && styleAttributes !== null) {
979
+ styleAttributes.split(STYLECLASS_SEP).forEach((attrib) => {
980
+ const fixedAttrib = attrib.replace(/([^;]*);/, "$1").trim();
981
+ if (RegExp(COLOR_KEYWORD).exec(attrib)) {
982
+ const newStyle1 = fixedAttrib.replace(FILL_KEYWORD, BG_FILL);
983
+ const newStyle2 = newStyle1.replace(COLOR_KEYWORD, FILL_KEYWORD);
984
+ foundClass.textStyles.push(newStyle2);
985
+ }
986
+ foundClass.styles.push(fixedAttrib);
987
+ });
988
+ }
989
+ }, "addStyleClass");
990
+ var addStyle2Node = /* @__PURE__ */ __name(function(id, styles = "") {
991
+ const foundBlock = blockDatabase.get(id);
992
+ if (styles !== void 0 && styles !== null) {
993
+ foundBlock.styles = styles.split(STYLECLASS_SEP);
994
+ }
995
+ }, "addStyle2Node");
996
+ var setCssClass = /* @__PURE__ */ __name(function(itemIds, cssClassName) {
997
+ itemIds.split(",").forEach(function(id) {
998
+ let foundBlock = blockDatabase.get(id);
999
+ if (foundBlock === void 0) {
1000
+ const trimmedId = id.trim();
1001
+ foundBlock = { id: trimmedId, type: "na", children: [] };
1002
+ blockDatabase.set(trimmedId, foundBlock);
1003
+ }
1004
+ if (!foundBlock.classes) {
1005
+ foundBlock.classes = [];
1006
+ }
1007
+ foundBlock.classes.push(cssClassName);
1008
+ });
1009
+ }, "setCssClass");
1010
+ var populateBlockDatabase = /* @__PURE__ */ __name((_blockList, parent) => {
1011
+ const blockList = _blockList.flat();
1012
+ const children = [];
1013
+ const columnSettingBlock = blockList.find((b) => b?.type === "column-setting");
1014
+ const column = columnSettingBlock?.columns ?? -1;
1015
+ for (const block of blockList) {
1016
+ if (typeof column === "number" && column > 0 && block.type !== "column-setting" && typeof block.widthInColumns === "number" && block.widthInColumns > column) {
1017
+ log.warn(
1018
+ `Block ${block.id} width ${block.widthInColumns} exceeds configured column width ${column}`
1019
+ );
1020
+ }
1021
+ if (block.label) {
1022
+ block.label = sanitizeText2(block.label);
1023
+ }
1024
+ if (block.type === "classDef") {
1025
+ addStyleClass(block.id, block.css);
1026
+ continue;
1027
+ }
1028
+ if (block.type === "applyClass") {
1029
+ setCssClass(block.id, block?.styleClass ?? "");
1030
+ continue;
1031
+ }
1032
+ if (block.type === "applyStyles") {
1033
+ if (block?.stylesStr) {
1034
+ addStyle2Node(block.id, block?.stylesStr);
1035
+ }
1036
+ continue;
1037
+ }
1038
+ if (block.type === "column-setting") {
1039
+ parent.columns = block.columns ?? -1;
1040
+ } else if (block.type === "edge") {
1041
+ const count = (edgeCount.get(block.id) ?? 0) + 1;
1042
+ edgeCount.set(block.id, count);
1043
+ block.id = count + "-" + block.id;
1044
+ edgeList.push(block);
1045
+ } else {
1046
+ if (!block.label) {
1047
+ if (block.type === "composite") {
1048
+ block.label = "";
1049
+ } else {
1050
+ block.label = block.id;
1051
+ }
1052
+ }
1053
+ const existingBlock = blockDatabase.get(block.id);
1054
+ if (existingBlock === void 0) {
1055
+ blockDatabase.set(block.id, block);
1056
+ } else {
1057
+ if (block.type !== "na") {
1058
+ existingBlock.type = block.type;
1059
+ }
1060
+ if (block.label !== block.id) {
1061
+ existingBlock.label = block.label;
1062
+ }
1063
+ }
1064
+ if (block.children) {
1065
+ populateBlockDatabase(block.children, block);
1066
+ }
1067
+ if (block.type === "space") {
1068
+ const w = block.width ?? 1;
1069
+ for (let j = 0; j < w; j++) {
1070
+ const newBlock = clone(block);
1071
+ newBlock.id = newBlock.id + "-" + j;
1072
+ blockDatabase.set(newBlock.id, newBlock);
1073
+ children.push(newBlock);
1074
+ }
1075
+ } else if (existingBlock === void 0) {
1076
+ children.push(block);
1077
+ }
1078
+ }
1079
+ }
1080
+ parent.children = children;
1081
+ }, "populateBlockDatabase");
1082
+ var blocks = [];
1083
+ var rootBlock = { id: "root", type: "composite", children: [], columns: -1 };
1084
+ var clear2 = /* @__PURE__ */ __name(() => {
1085
+ log.debug("Clear called");
1086
+ clear();
1087
+ rootBlock = { id: "root", type: "composite", children: [], columns: -1 };
1088
+ blockDatabase = /* @__PURE__ */ new Map([["root", rootBlock]]);
1089
+ blocks = [];
1090
+ classes = /* @__PURE__ */ new Map();
1091
+ edgeList = [];
1092
+ edgeCount = /* @__PURE__ */ new Map();
1093
+ }, "clear");
1094
+ function typeStr2Type(typeStr) {
1095
+ log.debug("typeStr2Type", typeStr);
1096
+ switch (typeStr) {
1097
+ case "[]":
1098
+ return "square";
1099
+ case "()":
1100
+ log.debug("we have a round");
1101
+ return "round";
1102
+ case "(())":
1103
+ return "circle";
1104
+ case ">]":
1105
+ return "rect_left_inv_arrow";
1106
+ case "{}":
1107
+ return "diamond";
1108
+ case "{{}}":
1109
+ return "hexagon";
1110
+ case "([])":
1111
+ return "stadium";
1112
+ case "[[]]":
1113
+ return "subroutine";
1114
+ case "[()]":
1115
+ return "cylinder";
1116
+ case "((()))":
1117
+ return "doublecircle";
1118
+ case "[//]":
1119
+ return "lean_right";
1120
+ case "[\\\\]":
1121
+ return "lean_left";
1122
+ case "[/\\]":
1123
+ return "trapezoid";
1124
+ case "[\\/]":
1125
+ return "inv_trapezoid";
1126
+ case "<[]>":
1127
+ return "block_arrow";
1128
+ default:
1129
+ return "na";
1130
+ }
1131
+ }
1132
+ __name(typeStr2Type, "typeStr2Type");
1133
+ function edgeTypeStr2Type(typeStr) {
1134
+ log.debug("typeStr2Type", typeStr);
1135
+ switch (typeStr) {
1136
+ case "==":
1137
+ return "thick";
1138
+ default:
1139
+ return "normal";
1140
+ }
1141
+ }
1142
+ __name(edgeTypeStr2Type, "edgeTypeStr2Type");
1143
+ function edgeStrToEdgeData(typeStr) {
1144
+ switch (typeStr.replace(/^[\s-]+|[\s-]+$/g, "")) {
1145
+ case "x":
1146
+ return "arrow_cross";
1147
+ case "o":
1148
+ return "arrow_circle";
1149
+ case ">":
1150
+ return "arrow_point";
1151
+ default:
1152
+ return "";
1153
+ }
1154
+ }
1155
+ __name(edgeStrToEdgeData, "edgeStrToEdgeData");
1156
+ var cnt = 0;
1157
+ var generateId = /* @__PURE__ */ __name(() => {
1158
+ cnt++;
1159
+ return "id-" + Math.random().toString(36).substr(2, 12) + "-" + cnt;
1160
+ }, "generateId");
1161
+ var setHierarchy = /* @__PURE__ */ __name((block) => {
1162
+ rootBlock.children = block;
1163
+ populateBlockDatabase(block, rootBlock);
1164
+ blocks = rootBlock.children;
1165
+ }, "setHierarchy");
1166
+ var getColumns = /* @__PURE__ */ __name((blockId) => {
1167
+ const block = blockDatabase.get(blockId);
1168
+ if (!block) {
1169
+ return -1;
1170
+ }
1171
+ if (block.columns) {
1172
+ return block.columns;
1173
+ }
1174
+ if (!block.children) {
1175
+ return -1;
1176
+ }
1177
+ return block.children.length;
1178
+ }, "getColumns");
1179
+ var getBlocksFlat = /* @__PURE__ */ __name(() => {
1180
+ return [...blockDatabase.values()];
1181
+ }, "getBlocksFlat");
1182
+ var getBlocks = /* @__PURE__ */ __name(() => {
1183
+ return blocks || [];
1184
+ }, "getBlocks");
1185
+ var getEdges = /* @__PURE__ */ __name(() => {
1186
+ return edgeList;
1187
+ }, "getEdges");
1188
+ var getBlock = /* @__PURE__ */ __name((id) => {
1189
+ return blockDatabase.get(id);
1190
+ }, "getBlock");
1191
+ var setBlock = /* @__PURE__ */ __name((block) => {
1192
+ blockDatabase.set(block.id, block);
1193
+ }, "setBlock");
1194
+ var getLogger = /* @__PURE__ */ __name(() => log, "getLogger");
1195
+ var getClasses = /* @__PURE__ */ __name(function() {
1196
+ return classes;
1197
+ }, "getClasses");
1198
+ var db = {
1199
+ getConfig: /* @__PURE__ */ __name(() => getConfig().block, "getConfig"),
1200
+ typeStr2Type,
1201
+ edgeTypeStr2Type,
1202
+ edgeStrToEdgeData,
1203
+ getLogger,
1204
+ getBlocksFlat,
1205
+ getBlocks,
1206
+ getEdges,
1207
+ setHierarchy,
1208
+ getBlock,
1209
+ setBlock,
1210
+ getColumns,
1211
+ getClasses,
1212
+ clear: clear2,
1213
+ generateId
1214
+ };
1215
+ var blockDB_default = db;
1216
+ var fade = /* @__PURE__ */ __name((color, opacity) => {
1217
+ const channel2 = channel;
1218
+ const r = channel2(color, "r");
1219
+ const g = channel2(color, "g");
1220
+ const b = channel2(color, "b");
1221
+ return rgba(r, g, b, opacity);
1222
+ }, "fade");
1223
+ var getStyles = /* @__PURE__ */ __name((options) => `.label {
1224
+ font-family: ${options.fontFamily};
1225
+ color: ${options.nodeTextColor || options.textColor};
1226
+ }
1227
+ .cluster-label text {
1228
+ fill: ${options.titleColor};
1229
+ }
1230
+ .cluster-label span,p {
1231
+ color: ${options.titleColor};
1232
+ }
1233
+
1234
+
1235
+
1236
+ .label text,span,p {
1237
+ fill: ${options.nodeTextColor || options.textColor};
1238
+ color: ${options.nodeTextColor || options.textColor};
1239
+ }
1240
+
1241
+ .node rect,
1242
+ .node circle,
1243
+ .node ellipse,
1244
+ .node polygon,
1245
+ .node path {
1246
+ fill: ${options.mainBkg};
1247
+ stroke: ${options.nodeBorder};
1248
+ stroke-width: 1px;
1249
+ }
1250
+ .flowchart-label text {
1251
+ text-anchor: middle;
1252
+ }
1253
+ // .flowchart-label .text-outer-tspan {
1254
+ // text-anchor: middle;
1255
+ // }
1256
+ // .flowchart-label .text-inner-tspan {
1257
+ // text-anchor: start;
1258
+ // }
1259
+
1260
+ .node .label {
1261
+ text-align: center;
1262
+ }
1263
+ .node.clickable {
1264
+ cursor: pointer;
1265
+ }
1266
+
1267
+ .arrowheadPath {
1268
+ fill: ${options.arrowheadColor};
1269
+ }
1270
+
1271
+ .edgePath .path {
1272
+ stroke: ${options.lineColor};
1273
+ stroke-width: 2.0px;
1274
+ }
1275
+
1276
+ .flowchart-link {
1277
+ stroke: ${options.lineColor};
1278
+ fill: none;
1279
+ }
1280
+
1281
+ .edgeLabel {
1282
+ background-color: ${options.edgeLabelBackground};
1283
+ rect {
1284
+ opacity: 0.5;
1285
+ background-color: ${options.edgeLabelBackground};
1286
+ fill: ${options.edgeLabelBackground};
1287
+ }
1288
+ text-align: center;
1289
+ }
1290
+
1291
+ /* For html labels only */
1292
+ .labelBkg {
1293
+ background-color: ${fade(options.edgeLabelBackground, 0.5)};
1294
+ // background-color:
1295
+ }
1296
+
1297
+ .node .cluster {
1298
+ // fill: ${fade(options.mainBkg, 0.5)};
1299
+ fill: ${fade(options.clusterBkg, 0.5)};
1300
+ stroke: ${fade(options.clusterBorder, 0.2)};
1301
+ box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
1302
+ stroke-width: 1px;
1303
+ }
1304
+
1305
+ .cluster text {
1306
+ fill: ${options.titleColor};
1307
+ }
1308
+
1309
+ .cluster span,p {
1310
+ color: ${options.titleColor};
1311
+ }
1312
+ /* .cluster div {
1313
+ color: ${options.titleColor};
1314
+ } */
1315
+
1316
+ div.mermaidTooltip {
1317
+ position: absolute;
1318
+ text-align: center;
1319
+ max-width: 200px;
1320
+ padding: 2px;
1321
+ font-family: ${options.fontFamily};
1322
+ font-size: 12px;
1323
+ background: ${options.tertiaryColor};
1324
+ border: 1px solid ${options.border2};
1325
+ border-radius: 2px;
1326
+ pointer-events: none;
1327
+ z-index: 100;
1328
+ }
1329
+
1330
+ .flowchartTitleText {
1331
+ text-anchor: middle;
1332
+ font-size: 18px;
1333
+ fill: ${options.textColor};
1334
+ }
1335
+ ${getIconStyles()}
1336
+ `, "getStyles");
1337
+ var styles_default = getStyles;
1338
+
1339
+ // src/dagre-wrapper/markers.js
1340
+ var insertMarkers = /* @__PURE__ */ __name((elem, markerArray, type, id) => {
1341
+ markerArray.forEach((markerName) => {
1342
+ markers[markerName](elem, type, id);
1343
+ });
1344
+ }, "insertMarkers");
1345
+ var extension = /* @__PURE__ */ __name((elem, type, id) => {
1346
+ log.trace("Making markers for ", id);
1347
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-extensionStart").attr("class", "marker extension " + type).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z");
1348
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-extensionEnd").attr("class", "marker extension " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
1349
+ }, "extension");
1350
+ var composition = /* @__PURE__ */ __name((elem, type, id) => {
1351
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-compositionStart").attr("class", "marker composition " + type).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
1352
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-compositionEnd").attr("class", "marker composition " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
1353
+ }, "composition");
1354
+ var aggregation = /* @__PURE__ */ __name((elem, type, id) => {
1355
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-aggregationStart").attr("class", "marker aggregation " + type).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
1356
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-aggregationEnd").attr("class", "marker aggregation " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
1357
+ }, "aggregation");
1358
+ var dependency = /* @__PURE__ */ __name((elem, type, id) => {
1359
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-dependencyStart").attr("class", "marker dependency " + type).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z");
1360
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-dependencyEnd").attr("class", "marker dependency " + type).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1361
+ }, "dependency");
1362
+ var lollipop = /* @__PURE__ */ __name((elem, type, id) => {
1363
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-lollipopStart").attr("class", "marker lollipop " + type).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
1364
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-lollipopEnd").attr("class", "marker lollipop " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
1365
+ }, "lollipop");
1366
+ var point = /* @__PURE__ */ __name((elem, type, id) => {
1367
+ elem.append("marker").attr("id", id + "_" + type + "-pointEnd").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", 6).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
1368
+ elem.append("marker").attr("id", id + "_" + type + "-pointStart").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
1369
+ }, "point");
1370
+ var circle = /* @__PURE__ */ __name((elem, type, id) => {
1371
+ elem.append("marker").attr("id", id + "_" + type + "-circleEnd").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
1372
+ elem.append("marker").attr("id", id + "_" + type + "-circleStart").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
1373
+ }, "circle");
1374
+ var cross = /* @__PURE__ */ __name((elem, type, id) => {
1375
+ elem.append("marker").attr("id", id + "_" + type + "-crossEnd").attr("class", "marker cross " + type).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0");
1376
+ elem.append("marker").attr("id", id + "_" + type + "-crossStart").attr("class", "marker cross " + type).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0");
1377
+ }, "cross");
1378
+ var barb = /* @__PURE__ */ __name((elem, type, id) => {
1379
+ elem.append("defs").append("marker").attr("id", id + "_" + type + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
1380
+ }, "barb");
1381
+ var markers = {
1382
+ extension,
1383
+ composition,
1384
+ aggregation,
1385
+ dependency,
1386
+ lollipop,
1387
+ point,
1388
+ circle,
1389
+ cross,
1390
+ barb
1391
+ };
1392
+ var markers_default = insertMarkers;
1393
+
1394
+ // src/diagrams/block/layout.ts
1395
+ var padding = getConfig2()?.block?.padding ?? 8;
1396
+ function calculateBlockPosition(columns, position) {
1397
+ if (columns === 0 || !Number.isInteger(columns)) {
1398
+ throw new Error("Columns must be an integer !== 0.");
1399
+ }
1400
+ if (position < 0 || !Number.isInteger(position)) {
1401
+ throw new Error("Position must be a non-negative integer." + position);
1402
+ }
1403
+ if (columns < 0) {
1404
+ return { px: position, py: 0 };
1405
+ }
1406
+ if (columns === 1) {
1407
+ return { px: 0, py: position };
1408
+ }
1409
+ const px = position % columns;
1410
+ const py = Math.floor(position / columns);
1411
+ return { px, py };
1412
+ }
1413
+ __name(calculateBlockPosition, "calculateBlockPosition");
1414
+ var getMaxChildSize = /* @__PURE__ */ __name((block) => {
1415
+ let maxWidth = 0;
1416
+ let maxHeight = 0;
1417
+ for (const child of block.children) {
1418
+ const { width, height, x, y } = child.size ?? { width: 0, height: 0, x: 0, y: 0 };
1419
+ log.debug(
1420
+ "getMaxChildSize abc95 child:",
1421
+ child.id,
1422
+ "width:",
1423
+ width,
1424
+ "height:",
1425
+ height,
1426
+ "x:",
1427
+ x,
1428
+ "y:",
1429
+ y,
1430
+ child.type
1431
+ );
1432
+ if (child.type === "space") {
1433
+ continue;
1434
+ }
1435
+ if (width > maxWidth) {
1436
+ maxWidth = width / (block.widthInColumns ?? 1);
1437
+ }
1438
+ if (height > maxHeight) {
1439
+ maxHeight = height;
1440
+ }
1441
+ }
1442
+ return { width: maxWidth, height: maxHeight };
1443
+ }, "getMaxChildSize");
1444
+ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
1445
+ log.debug(
1446
+ "setBlockSizes abc95 (start)",
1447
+ block.id,
1448
+ block?.size?.x,
1449
+ "block width =",
1450
+ block?.size,
1451
+ "siblingWidth",
1452
+ siblingWidth
1453
+ );
1454
+ if (!block?.size?.width) {
1455
+ block.size = {
1456
+ width: siblingWidth,
1457
+ height: siblingHeight,
1458
+ x: 0,
1459
+ y: 0
1460
+ };
1461
+ }
1462
+ let maxWidth = 0;
1463
+ let maxHeight = 0;
1464
+ if (block.children?.length > 0) {
1465
+ for (const child of block.children) {
1466
+ setBlockSizes(child, db2);
1467
+ }
1468
+ const childSize = getMaxChildSize(block);
1469
+ maxWidth = childSize.width;
1470
+ maxHeight = childSize.height;
1471
+ log.debug("setBlockSizes abc95 maxWidth of", block.id, ":s children is ", maxWidth, maxHeight);
1472
+ for (const child of block.children) {
1473
+ if (child.size) {
1474
+ log.debug(
1475
+ `abc95 Setting size of children of ${block.id} id=${child.id} ${maxWidth} ${maxHeight} ${JSON.stringify(child.size)}`
1476
+ );
1477
+ child.size.width = maxWidth * (child.widthInColumns ?? 1) + padding * ((child.widthInColumns ?? 1) - 1);
1478
+ child.size.height = maxHeight;
1479
+ child.size.x = 0;
1480
+ child.size.y = 0;
1481
+ log.debug(
1482
+ `abc95 updating size of ${block.id} children child:${child.id} maxWidth:${maxWidth} maxHeight:${maxHeight}`
1483
+ );
1484
+ }
1485
+ }
1486
+ for (const child of block.children) {
1487
+ setBlockSizes(child, db2, maxWidth, maxHeight);
1488
+ }
1489
+ const columns = block.columns ?? -1;
1490
+ let numItems = 0;
1491
+ for (const child of block.children) {
1492
+ numItems += child.widthInColumns ?? 1;
1493
+ }
1494
+ let xSize = block.children.length;
1495
+ if (columns > 0 && columns < numItems) {
1496
+ xSize = columns;
1497
+ }
1498
+ const ySize = Math.ceil(numItems / xSize);
1499
+ let width = xSize * (maxWidth + padding) + padding;
1500
+ let height = ySize * (maxHeight + padding) + padding;
1501
+ if (width < siblingWidth) {
1502
+ log.debug(
1503
+ `Detected to small sibling: abc95 ${block.id} siblingWidth ${siblingWidth} siblingHeight ${siblingHeight} width ${width}`
1504
+ );
1505
+ width = siblingWidth;
1506
+ height = siblingHeight;
1507
+ const childWidth = (siblingWidth - xSize * padding - padding) / xSize;
1508
+ const childHeight = (siblingHeight - ySize * padding - padding) / ySize;
1509
+ log.debug("Size indata abc88", block.id, "childWidth", childWidth, "maxWidth", maxWidth);
1510
+ log.debug("Size indata abc88", block.id, "childHeight", childHeight, "maxHeight", maxHeight);
1511
+ log.debug("Size indata abc88 xSize", xSize, "padding", padding);
1512
+ for (const child of block.children) {
1513
+ if (child.size) {
1514
+ child.size.width = childWidth;
1515
+ child.size.height = childHeight;
1516
+ child.size.x = 0;
1517
+ child.size.y = 0;
1518
+ }
1519
+ }
1520
+ }
1521
+ log.debug(
1522
+ `abc95 (finale calc) ${block.id} xSize ${xSize} ySize ${ySize} columns ${columns}${block.children.length} width=${Math.max(width, block.size?.width || 0)}`
1523
+ );
1524
+ if (width < (block?.size?.width || 0)) {
1525
+ width = block?.size?.width || 0;
1526
+ const num = columns > 0 ? Math.min(block.children.length, columns) : block.children.length;
1527
+ if (num > 0) {
1528
+ const childWidth = (width - num * padding - padding) / num;
1529
+ log.debug("abc95 (growing to fit) width", block.id, width, block.size?.width, childWidth);
1530
+ for (const child of block.children) {
1531
+ if (child.size) {
1532
+ child.size.width = childWidth;
1533
+ }
1534
+ }
1535
+ }
1536
+ }
1537
+ block.size = {
1538
+ width,
1539
+ height,
1540
+ x: 0,
1541
+ y: 0
1542
+ };
1543
+ }
1544
+ log.debug(
1545
+ "setBlockSizes abc94 (done)",
1546
+ block.id,
1547
+ block?.size?.x,
1548
+ block?.size?.width,
1549
+ block?.size?.y,
1550
+ block?.size?.height
1551
+ );
1552
+ }
1553
+ __name(setBlockSizes, "setBlockSizes");
1554
+ function layoutBlocks(block, db2) {
1555
+ log.debug(
1556
+ `abc85 layout blocks (=>layoutBlocks) ${block.id} x: ${block?.size?.x} y: ${block?.size?.y} width: ${block?.size?.width}`
1557
+ );
1558
+ const columns = block.columns ?? -1;
1559
+ log.debug("layoutBlocks columns abc95", block.id, "=>", columns, block);
1560
+ if (block.children && // find max width of children
1561
+ block.children.length > 0) {
1562
+ const width = block?.children[0]?.size?.width ?? 0;
1563
+ const widthOfChildren = block.children.length * width + (block.children.length - 1) * padding;
1564
+ log.debug("widthOfChildren 88", widthOfChildren, "posX");
1565
+ let columnPos = 0;
1566
+ log.debug("abc91 block?.size?.x", block.id, block?.size?.x);
1567
+ let startingPosX = block?.size?.x ? block?.size?.x + (-block?.size?.width / 2 || 0) : -padding;
1568
+ let rowPos = 0;
1569
+ for (const child of block.children) {
1570
+ const parent = block;
1571
+ if (!child.size) {
1572
+ continue;
1573
+ }
1574
+ const { width: width2, height } = child.size;
1575
+ const { px, py } = calculateBlockPosition(columns, columnPos);
1576
+ if (py != rowPos) {
1577
+ rowPos = py;
1578
+ startingPosX = block?.size?.x ? block?.size?.x + (-block?.size?.width / 2 || 0) : -padding;
1579
+ log.debug("New row in layout for block", block.id, " and child ", child.id, rowPos);
1580
+ }
1581
+ log.debug(
1582
+ `abc89 layout blocks (child) id: ${child.id} Pos: ${columnPos} (px, py) ${px},${py} (${parent?.size?.x},${parent?.size?.y}) parent: ${parent.id} width: ${width2}${padding}`
1583
+ );
1584
+ if (parent.size) {
1585
+ const halfWidth = width2 / 2;
1586
+ child.size.x = startingPosX + padding + halfWidth;
1587
+ log.debug(
1588
+ `abc91 layout blocks (calc) px, pyid:${child.id} startingPos=X${startingPosX} new startingPosX${child.size.x} ${halfWidth} padding=${padding} width=${width2} halfWidth=${halfWidth} => x:${child.size.x} y:${child.size.y} ${child.widthInColumns} (width * (child?.w || 1)) / 2 ${width2 * (child?.widthInColumns ?? 1) / 2}`
1589
+ );
1590
+ startingPosX = child.size.x + halfWidth;
1591
+ child.size.y = parent.size.y - parent.size.height / 2 + py * (height + padding) + height / 2 + padding;
1592
+ log.debug(
1593
+ `abc88 layout blocks (calc) px, pyid:${child.id}startingPosX${startingPosX}${padding}${halfWidth}=>x:${child.size.x}y:${child.size.y}${child.widthInColumns}(width * (child?.w || 1)) / 2${width2 * (child?.widthInColumns ?? 1) / 2}`
1594
+ );
1595
+ }
1596
+ if (child.children) {
1597
+ layoutBlocks(child);
1598
+ }
1599
+ let columnsFilled = child?.widthInColumns ?? 1;
1600
+ if (columns > 0) {
1601
+ columnsFilled = Math.min(columnsFilled, columns - columnPos % columns);
1602
+ }
1603
+ columnPos += columnsFilled;
1604
+ log.debug("abc88 columnsPos", child, columnPos);
1605
+ }
1606
+ }
1607
+ log.debug(
1608
+ `layout blocks (<==layoutBlocks) ${block.id} x: ${block?.size?.x} y: ${block?.size?.y} width: ${block?.size?.width}`
1609
+ );
1610
+ }
1611
+ __name(layoutBlocks, "layoutBlocks");
1612
+ function findBounds(block, { minX, minY, maxX, maxY } = { minX: 0, minY: 0, maxX: 0, maxY: 0 }) {
1613
+ if (block.size && block.id !== "root") {
1614
+ const { x, y, width, height } = block.size;
1615
+ if (x - width / 2 < minX) {
1616
+ minX = x - width / 2;
1617
+ }
1618
+ if (y - height / 2 < minY) {
1619
+ minY = y - height / 2;
1620
+ }
1621
+ if (x + width / 2 > maxX) {
1622
+ maxX = x + width / 2;
1623
+ }
1624
+ if (y + height / 2 > maxY) {
1625
+ maxY = y + height / 2;
1626
+ }
1627
+ }
1628
+ if (block.children) {
1629
+ for (const child of block.children) {
1630
+ ({ minX, minY, maxX, maxY } = findBounds(child, { minX, minY, maxX, maxY }));
1631
+ }
1632
+ }
1633
+ return { minX, minY, maxX, maxY };
1634
+ }
1635
+ __name(findBounds, "findBounds");
1636
+ function layout(db2) {
1637
+ const root = db2.getBlock("root");
1638
+ if (!root) {
1639
+ return;
1640
+ }
1641
+ setBlockSizes(root, db2, 0, 0);
1642
+ layoutBlocks(root);
1643
+ log.debug("getBlocks", JSON.stringify(root, null, 2));
1644
+ const { minX, minY, maxX, maxY } = findBounds(root);
1645
+ const height = maxY - minY;
1646
+ const width = maxX - minX;
1647
+ return { x: minX, y: minY, width, height };
1648
+ }
1649
+ __name(layout, "layout");
1650
+ function applyStyle(dom, styleFn) {
1651
+ if (styleFn) {
1652
+ dom.attr("style", styleFn);
1653
+ }
1654
+ }
1655
+ __name(applyStyle, "applyStyle");
1656
+ function addHtmlLabel(node, config2) {
1657
+ const fo = select(document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"));
1658
+ const div = fo.append("xhtml:div");
1659
+ const label = node.label;
1660
+ const labelClass = node.isNode ? "nodeLabel" : "edgeLabel";
1661
+ const span = div.append("span");
1662
+ span.html(sanitizeText(label, config2));
1663
+ applyStyle(span, node.labelStyle);
1664
+ span.attr("class", labelClass);
1665
+ applyStyle(div, node.labelStyle);
1666
+ div.style("display", "inline-block");
1667
+ div.style("white-space", "nowrap");
1668
+ div.attr("xmlns", "http://www.w3.org/1999/xhtml");
1669
+ return fo.node();
1670
+ }
1671
+ __name(addHtmlLabel, "addHtmlLabel");
1672
+ var createLabel = /* @__PURE__ */ __name(async (_vertexText, style, isTitle, isNode) => {
1673
+ let vertexText = _vertexText || "";
1674
+ if (typeof vertexText === "object") {
1675
+ vertexText = vertexText[0];
1676
+ }
1677
+ const config2 = getConfig2();
1678
+ if (evaluate(config2.flowchart.htmlLabels)) {
1679
+ vertexText = vertexText.replace(/\\n|\n/g, "<br />");
1680
+ log.debug("vertexText" + vertexText);
1681
+ const label = await replaceIconSubstring(decodeEntities(vertexText));
1682
+ const node = {
1683
+ isNode,
1684
+ label,
1685
+ labelStyle: style.replace("fill:", "color:")
1686
+ };
1687
+ let vertexNode = addHtmlLabel(node, config2);
1688
+ return vertexNode;
1689
+ } else {
1690
+ const svgLabel = document.createElementNS("http://www.w3.org/2000/svg", "text");
1691
+ svgLabel.setAttribute("style", style.replace("color:", "fill:"));
1692
+ let rows = [];
1693
+ if (typeof vertexText === "string") {
1694
+ rows = vertexText.split(/\\n|\n|<br\s*\/?>/gi);
1695
+ } else if (Array.isArray(vertexText)) {
1696
+ rows = vertexText;
1697
+ } else {
1698
+ rows = [];
1699
+ }
1700
+ for (const row of rows) {
1701
+ const tspan = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
1702
+ tspan.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
1703
+ tspan.setAttribute("dy", "1em");
1704
+ tspan.setAttribute("x", "0");
1705
+ if (isTitle) {
1706
+ tspan.setAttribute("class", "title-row");
1707
+ } else {
1708
+ tspan.setAttribute("class", "row");
1709
+ }
1710
+ tspan.textContent = row.trim();
1711
+ svgLabel.appendChild(tspan);
1712
+ }
1713
+ return svgLabel;
1714
+ }
1715
+ }, "createLabel");
1716
+ var createLabel_default = createLabel;
1717
+
1718
+ // src/dagre-wrapper/edgeMarker.ts
1719
+ var addEdgeMarkers = /* @__PURE__ */ __name((svgPath, edge, url, id, diagramType) => {
1720
+ if (edge.arrowTypeStart) {
1721
+ addEdgeMarker(svgPath, "start", edge.arrowTypeStart, url, id, diagramType);
1722
+ }
1723
+ if (edge.arrowTypeEnd) {
1724
+ addEdgeMarker(svgPath, "end", edge.arrowTypeEnd, url, id, diagramType);
1725
+ }
1726
+ }, "addEdgeMarkers");
1727
+ var arrowTypesMap = {
1728
+ arrow_cross: "cross",
1729
+ arrow_point: "point",
1730
+ arrow_barb: "barb",
1731
+ arrow_circle: "circle",
1732
+ aggregation: "aggregation",
1733
+ extension: "extension",
1734
+ composition: "composition",
1735
+ dependency: "dependency",
1736
+ lollipop: "lollipop"
1737
+ };
1738
+ var addEdgeMarker = /* @__PURE__ */ __name((svgPath, position, arrowType, url, id, diagramType) => {
1739
+ const endMarkerType = arrowTypesMap[arrowType];
1740
+ if (!endMarkerType) {
1741
+ log.warn(`Unknown arrow type: ${arrowType}`);
1742
+ return;
1743
+ }
1744
+ const suffix = position === "start" ? "Start" : "End";
1745
+ svgPath.attr(`marker-${position}`, `url(${url}#${id}_${diagramType}-${endMarkerType}${suffix})`);
1746
+ }, "addEdgeMarker");
1747
+
1748
+ // src/dagre-wrapper/edges.js
1749
+ var edgeLabels = {};
1750
+ var terminalLabels = {};
1751
+ var insertEdgeLabel = /* @__PURE__ */ __name(async (elem, edge) => {
1752
+ const config2 = getConfig2();
1753
+ const useHtmlLabels = evaluate(config2.flowchart.htmlLabels);
1754
+ const labelElement = edge.labelType === "markdown" ? createText(
1755
+ elem,
1756
+ edge.label,
1757
+ {
1758
+ style: edge.labelStyle,
1759
+ useHtmlLabels,
1760
+ addSvgBackground: true
1761
+ },
1762
+ config2
1763
+ ) : await createLabel_default(edge.label, edge.labelStyle);
1764
+ const edgeLabel = elem.insert("g").attr("class", "edgeLabel");
1765
+ const label = edgeLabel.insert("g").attr("class", "label");
1766
+ label.node().appendChild(labelElement);
1767
+ let bbox = labelElement.getBBox();
1768
+ if (useHtmlLabels) {
1769
+ const div = labelElement.children[0];
1770
+ const dv = select(labelElement);
1771
+ bbox = div.getBoundingClientRect();
1772
+ dv.attr("width", bbox.width);
1773
+ dv.attr("height", bbox.height);
1774
+ }
1775
+ label.attr("transform", "translate(" + -bbox.width / 2 + ", " + -bbox.height / 2 + ")");
1776
+ edgeLabels[edge.id] = edgeLabel;
1777
+ edge.width = bbox.width;
1778
+ edge.height = bbox.height;
1779
+ let fo;
1780
+ if (edge.startLabelLeft) {
1781
+ const startLabelElement = await createLabel_default(edge.startLabelLeft, edge.labelStyle);
1782
+ const startEdgeLabelLeft = elem.insert("g").attr("class", "edgeTerminals");
1783
+ const inner = startEdgeLabelLeft.insert("g").attr("class", "inner");
1784
+ fo = inner.node().appendChild(startLabelElement);
1785
+ const slBox = startLabelElement.getBBox();
1786
+ inner.attr("transform", "translate(" + -slBox.width / 2 + ", " + -slBox.height / 2 + ")");
1787
+ if (!terminalLabels[edge.id]) {
1788
+ terminalLabels[edge.id] = {};
1789
+ }
1790
+ terminalLabels[edge.id].startLeft = startEdgeLabelLeft;
1791
+ setTerminalWidth(fo, edge.startLabelLeft);
1792
+ }
1793
+ if (edge.startLabelRight) {
1794
+ const startLabelElement = await createLabel_default(edge.startLabelRight, edge.labelStyle);
1795
+ const startEdgeLabelRight = elem.insert("g").attr("class", "edgeTerminals");
1796
+ const inner = startEdgeLabelRight.insert("g").attr("class", "inner");
1797
+ fo = startEdgeLabelRight.node().appendChild(startLabelElement);
1798
+ inner.node().appendChild(startLabelElement);
1799
+ const slBox = startLabelElement.getBBox();
1800
+ inner.attr("transform", "translate(" + -slBox.width / 2 + ", " + -slBox.height / 2 + ")");
1801
+ if (!terminalLabels[edge.id]) {
1802
+ terminalLabels[edge.id] = {};
1803
+ }
1804
+ terminalLabels[edge.id].startRight = startEdgeLabelRight;
1805
+ setTerminalWidth(fo, edge.startLabelRight);
1806
+ }
1807
+ if (edge.endLabelLeft) {
1808
+ const endLabelElement = await createLabel_default(edge.endLabelLeft, edge.labelStyle);
1809
+ const endEdgeLabelLeft = elem.insert("g").attr("class", "edgeTerminals");
1810
+ const inner = endEdgeLabelLeft.insert("g").attr("class", "inner");
1811
+ fo = inner.node().appendChild(endLabelElement);
1812
+ const slBox = endLabelElement.getBBox();
1813
+ inner.attr("transform", "translate(" + -slBox.width / 2 + ", " + -slBox.height / 2 + ")");
1814
+ endEdgeLabelLeft.node().appendChild(endLabelElement);
1815
+ if (!terminalLabels[edge.id]) {
1816
+ terminalLabels[edge.id] = {};
1817
+ }
1818
+ terminalLabels[edge.id].endLeft = endEdgeLabelLeft;
1819
+ setTerminalWidth(fo, edge.endLabelLeft);
1820
+ }
1821
+ if (edge.endLabelRight) {
1822
+ const endLabelElement = await createLabel_default(edge.endLabelRight, edge.labelStyle);
1823
+ const endEdgeLabelRight = elem.insert("g").attr("class", "edgeTerminals");
1824
+ const inner = endEdgeLabelRight.insert("g").attr("class", "inner");
1825
+ fo = inner.node().appendChild(endLabelElement);
1826
+ const slBox = endLabelElement.getBBox();
1827
+ inner.attr("transform", "translate(" + -slBox.width / 2 + ", " + -slBox.height / 2 + ")");
1828
+ endEdgeLabelRight.node().appendChild(endLabelElement);
1829
+ if (!terminalLabels[edge.id]) {
1830
+ terminalLabels[edge.id] = {};
1831
+ }
1832
+ terminalLabels[edge.id].endRight = endEdgeLabelRight;
1833
+ setTerminalWidth(fo, edge.endLabelRight);
1834
+ }
1835
+ return labelElement;
1836
+ }, "insertEdgeLabel");
1837
+ function setTerminalWidth(fo, value) {
1838
+ if (getConfig2().flowchart.htmlLabels && fo) {
1839
+ fo.style.width = value.length * 9 + "px";
1840
+ fo.style.height = "12px";
1841
+ }
1842
+ }
1843
+ __name(setTerminalWidth, "setTerminalWidth");
1844
+ var positionEdgeLabel = /* @__PURE__ */ __name((edge, paths) => {
1845
+ log.debug("Moving label abc88 ", edge.id, edge.label, edgeLabels[edge.id], paths);
1846
+ let path = paths.updatedPath ? paths.updatedPath : paths.originalPath;
1847
+ const siteConfig = getConfig2();
1848
+ const { subGraphTitleTotalMargin } = getSubGraphTitleMargins(siteConfig);
1849
+ if (edge.label) {
1850
+ const el = edgeLabels[edge.id];
1851
+ let x = edge.x;
1852
+ let y = edge.y;
1853
+ if (path) {
1854
+ const pos = utils_default.calcLabelPosition(path);
1855
+ log.debug(
1856
+ "Moving label " + edge.label + " from (",
1857
+ x,
1858
+ ",",
1859
+ y,
1860
+ ") to (",
1861
+ pos.x,
1862
+ ",",
1863
+ pos.y,
1864
+ ") abc88"
1865
+ );
1866
+ if (paths.updatedPath) {
1867
+ x = pos.x;
1868
+ y = pos.y;
1869
+ }
1870
+ }
1871
+ el.attr("transform", `translate(${x}, ${y + subGraphTitleTotalMargin / 2})`);
1872
+ }
1873
+ if (edge.startLabelLeft) {
1874
+ const el = terminalLabels[edge.id].startLeft;
1875
+ let x = edge.x;
1876
+ let y = edge.y;
1877
+ if (path) {
1878
+ const pos = utils_default.calcTerminalLabelPosition(edge.arrowTypeStart ? 10 : 0, "start_left", path);
1879
+ x = pos.x;
1880
+ y = pos.y;
1881
+ }
1882
+ el.attr("transform", `translate(${x}, ${y})`);
1883
+ }
1884
+ if (edge.startLabelRight) {
1885
+ const el = terminalLabels[edge.id].startRight;
1886
+ let x = edge.x;
1887
+ let y = edge.y;
1888
+ if (path) {
1889
+ const pos = utils_default.calcTerminalLabelPosition(
1890
+ edge.arrowTypeStart ? 10 : 0,
1891
+ "start_right",
1892
+ path
1893
+ );
1894
+ x = pos.x;
1895
+ y = pos.y;
1896
+ }
1897
+ el.attr("transform", `translate(${x}, ${y})`);
1898
+ }
1899
+ if (edge.endLabelLeft) {
1900
+ const el = terminalLabels[edge.id].endLeft;
1901
+ let x = edge.x;
1902
+ let y = edge.y;
1903
+ if (path) {
1904
+ const pos = utils_default.calcTerminalLabelPosition(edge.arrowTypeEnd ? 10 : 0, "end_left", path);
1905
+ x = pos.x;
1906
+ y = pos.y;
1907
+ }
1908
+ el.attr("transform", `translate(${x}, ${y})`);
1909
+ }
1910
+ if (edge.endLabelRight) {
1911
+ const el = terminalLabels[edge.id].endRight;
1912
+ let x = edge.x;
1913
+ let y = edge.y;
1914
+ if (path) {
1915
+ const pos = utils_default.calcTerminalLabelPosition(edge.arrowTypeEnd ? 10 : 0, "end_right", path);
1916
+ x = pos.x;
1917
+ y = pos.y;
1918
+ }
1919
+ el.attr("transform", `translate(${x}, ${y})`);
1920
+ }
1921
+ }, "positionEdgeLabel");
1922
+ var outsideNode = /* @__PURE__ */ __name((node, point2) => {
1923
+ const x = node.x;
1924
+ const y = node.y;
1925
+ const dx = Math.abs(point2.x - x);
1926
+ const dy = Math.abs(point2.y - y);
1927
+ const w = node.width / 2;
1928
+ const h = node.height / 2;
1929
+ if (dx >= w || dy >= h) {
1930
+ return true;
1931
+ }
1932
+ return false;
1933
+ }, "outsideNode");
1934
+ var intersection = /* @__PURE__ */ __name((node, outsidePoint, insidePoint) => {
1935
+ log.debug(`intersection calc abc89:
1936
+ outsidePoint: ${JSON.stringify(outsidePoint)}
1937
+ insidePoint : ${JSON.stringify(insidePoint)}
1938
+ node : x:${node.x} y:${node.y} w:${node.width} h:${node.height}`);
1939
+ const x = node.x;
1940
+ const y = node.y;
1941
+ const dx = Math.abs(x - insidePoint.x);
1942
+ const w = node.width / 2;
1943
+ let r = insidePoint.x < outsidePoint.x ? w - dx : w + dx;
1944
+ const h = node.height / 2;
1945
+ const Q = Math.abs(outsidePoint.y - insidePoint.y);
1946
+ const R = Math.abs(outsidePoint.x - insidePoint.x);
1947
+ if (Math.abs(y - outsidePoint.y) * w > Math.abs(x - outsidePoint.x) * h) {
1948
+ let q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;
1949
+ r = R * q / Q;
1950
+ const res = {
1951
+ x: insidePoint.x < outsidePoint.x ? insidePoint.x + r : insidePoint.x - R + r,
1952
+ y: insidePoint.y < outsidePoint.y ? insidePoint.y + Q - q : insidePoint.y - Q + q
1953
+ };
1954
+ if (r === 0) {
1955
+ res.x = outsidePoint.x;
1956
+ res.y = outsidePoint.y;
1957
+ }
1958
+ if (R === 0) {
1959
+ res.x = outsidePoint.x;
1960
+ }
1961
+ if (Q === 0) {
1962
+ res.y = outsidePoint.y;
1963
+ }
1964
+ log.debug(`abc89 topp/bott calc, Q ${Q}, q ${q}, R ${R}, r ${r}`, res);
1965
+ return res;
1966
+ } else {
1967
+ if (insidePoint.x < outsidePoint.x) {
1968
+ r = outsidePoint.x - w - x;
1969
+ } else {
1970
+ r = x - w - outsidePoint.x;
1971
+ }
1972
+ let q = Q * r / R;
1973
+ let _x = insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x - R + r;
1974
+ let _y = insidePoint.y < outsidePoint.y ? insidePoint.y + q : insidePoint.y - q;
1975
+ log.debug(`sides calc abc89, Q ${Q}, q ${q}, R ${R}, r ${r}`, { _x, _y });
1976
+ if (r === 0) {
1977
+ _x = outsidePoint.x;
1978
+ _y = outsidePoint.y;
1979
+ }
1980
+ if (R === 0) {
1981
+ _x = outsidePoint.x;
1982
+ }
1983
+ if (Q === 0) {
1984
+ _y = outsidePoint.y;
1985
+ }
1986
+ return { x: _x, y: _y };
1987
+ }
1988
+ }, "intersection");
1989
+ var cutPathAtIntersect = /* @__PURE__ */ __name((_points, boundaryNode) => {
1990
+ log.debug("abc88 cutPathAtIntersect", _points, boundaryNode);
1991
+ let points = [];
1992
+ let lastPointOutside = _points[0];
1993
+ let isInside = false;
1994
+ _points.forEach((point2) => {
1995
+ if (!outsideNode(boundaryNode, point2) && !isInside) {
1996
+ const inter = intersection(boundaryNode, lastPointOutside, point2);
1997
+ let pointPresent = false;
1998
+ points.forEach((p) => {
1999
+ pointPresent = pointPresent || p.x === inter.x && p.y === inter.y;
2000
+ });
2001
+ if (!points.some((e) => e.x === inter.x && e.y === inter.y)) {
2002
+ points.push(inter);
2003
+ }
2004
+ isInside = true;
2005
+ } else {
2006
+ lastPointOutside = point2;
2007
+ if (!isInside) {
2008
+ points.push(point2);
2009
+ }
2010
+ }
2011
+ });
2012
+ return points;
2013
+ }, "cutPathAtIntersect");
2014
+ var insertEdge = /* @__PURE__ */ __name(function(elem, e, edge, clusterDb, diagramType, graph, id) {
2015
+ let points = edge.points;
2016
+ log.debug("abc88 InsertEdge: edge=", edge, "e=", e);
2017
+ let pointsHasChanged = false;
2018
+ const tail = graph.node(e.v);
2019
+ var head = graph.node(e.w);
2020
+ if (head?.intersect && tail?.intersect) {
2021
+ points = points.slice(1, edge.points.length - 1);
2022
+ points.unshift(tail.intersect(points[0]));
2023
+ points.push(head.intersect(points[points.length - 1]));
2024
+ }
2025
+ if (edge.toCluster) {
2026
+ log.debug("to cluster abc88", clusterDb[edge.toCluster]);
2027
+ points = cutPathAtIntersect(edge.points, clusterDb[edge.toCluster].node);
2028
+ pointsHasChanged = true;
2029
+ }
2030
+ if (edge.fromCluster) {
2031
+ log.debug("from cluster abc88", clusterDb[edge.fromCluster]);
2032
+ points = cutPathAtIntersect(points.reverse(), clusterDb[edge.fromCluster].node).reverse();
2033
+ pointsHasChanged = true;
2034
+ }
2035
+ const lineData = points.filter((p) => !Number.isNaN(p.y));
2036
+ let curve = curveBasis;
2037
+ if (edge.curve && (diagramType === "graph" || diagramType === "flowchart")) {
2038
+ curve = edge.curve;
2039
+ }
2040
+ const { x, y } = getLineFunctionsWithOffset(edge);
2041
+ const lineFunction = line().x(x).y(y).curve(curve);
2042
+ let strokeClasses;
2043
+ switch (edge.thickness) {
2044
+ case "normal":
2045
+ strokeClasses = "edge-thickness-normal";
2046
+ break;
2047
+ case "thick":
2048
+ strokeClasses = "edge-thickness-thick";
2049
+ break;
2050
+ case "invisible":
2051
+ strokeClasses = "edge-thickness-thick";
2052
+ break;
2053
+ default:
2054
+ strokeClasses = "";
2055
+ }
2056
+ switch (edge.pattern) {
2057
+ case "solid":
2058
+ strokeClasses += " edge-pattern-solid";
2059
+ break;
2060
+ case "dotted":
2061
+ strokeClasses += " edge-pattern-dotted";
2062
+ break;
2063
+ case "dashed":
2064
+ strokeClasses += " edge-pattern-dashed";
2065
+ break;
2066
+ }
2067
+ const svgPath = elem.append("path").attr("d", lineFunction(lineData)).attr("id", edge.id).attr("class", " " + strokeClasses + (edge.classes ? " " + edge.classes : "")).attr("style", edge.style);
2068
+ let url = "";
2069
+ if (getConfig2().flowchart.arrowMarkerAbsolute || getConfig2().state.arrowMarkerAbsolute) {
2070
+ url = getUrl(true);
2071
+ }
2072
+ addEdgeMarkers(svgPath, edge, url, id, diagramType);
2073
+ let paths = {};
2074
+ if (pointsHasChanged) {
2075
+ paths.updatedPath = points;
2076
+ }
2077
+ paths.originalPath = edge.points;
2078
+ return paths;
2079
+ }, "insertEdge");
2080
+
2081
+ // src/dagre-wrapper/blockArrowHelper.ts
2082
+ var expandAndDeduplicateDirections = /* @__PURE__ */ __name((directions) => {
2083
+ const uniqueDirections = /* @__PURE__ */ new Set();
2084
+ for (const direction of directions) {
2085
+ switch (direction) {
2086
+ case "x":
2087
+ uniqueDirections.add("right");
2088
+ uniqueDirections.add("left");
2089
+ break;
2090
+ case "y":
2091
+ uniqueDirections.add("up");
2092
+ uniqueDirections.add("down");
2093
+ break;
2094
+ default:
2095
+ uniqueDirections.add(direction);
2096
+ break;
2097
+ }
2098
+ }
2099
+ return uniqueDirections;
2100
+ }, "expandAndDeduplicateDirections");
2101
+ var getArrowPoints = /* @__PURE__ */ __name((duplicatedDirections, bbox, node) => {
2102
+ const directions = expandAndDeduplicateDirections(duplicatedDirections);
2103
+ const f = 2;
2104
+ const height = bbox.height + 2 * node.padding;
2105
+ const midpoint = height / f;
2106
+ const width = bbox.width + 2 * midpoint + node.padding;
2107
+ const padding2 = node.padding / 2;
2108
+ if (directions.has("right") && directions.has("left") && directions.has("up") && directions.has("down")) {
2109
+ return [
2110
+ // Bottom
2111
+ { x: 0, y: 0 },
2112
+ { x: midpoint, y: 0 },
2113
+ { x: width / 2, y: 2 * padding2 },
2114
+ { x: width - midpoint, y: 0 },
2115
+ { x: width, y: 0 },
2116
+ // Right
2117
+ { x: width, y: -height / 3 },
2118
+ { x: width + 2 * padding2, y: -height / 2 },
2119
+ { x: width, y: -2 * height / 3 },
2120
+ { x: width, y: -height },
2121
+ // Top
2122
+ { x: width - midpoint, y: -height },
2123
+ { x: width / 2, y: -height - 2 * padding2 },
2124
+ { x: midpoint, y: -height },
2125
+ // Left
2126
+ { x: 0, y: -height },
2127
+ { x: 0, y: -2 * height / 3 },
2128
+ { x: -2 * padding2, y: -height / 2 },
2129
+ { x: 0, y: -height / 3 }
2130
+ ];
2131
+ }
2132
+ if (directions.has("right") && directions.has("left") && directions.has("up")) {
2133
+ return [
2134
+ { x: midpoint, y: 0 },
2135
+ { x: width - midpoint, y: 0 },
2136
+ { x: width, y: -height / 2 },
2137
+ { x: width - midpoint, y: -height },
2138
+ { x: midpoint, y: -height },
2139
+ { x: 0, y: -height / 2 }
2140
+ ];
2141
+ }
2142
+ if (directions.has("right") && directions.has("left") && directions.has("down")) {
2143
+ return [
2144
+ { x: 0, y: 0 },
2145
+ { x: midpoint, y: -height },
2146
+ { x: width - midpoint, y: -height },
2147
+ { x: width, y: 0 }
2148
+ ];
2149
+ }
2150
+ if (directions.has("right") && directions.has("up") && directions.has("down")) {
2151
+ return [
2152
+ { x: 0, y: 0 },
2153
+ { x: width, y: -midpoint },
2154
+ { x: width, y: -height + midpoint },
2155
+ { x: 0, y: -height }
2156
+ ];
2157
+ }
2158
+ if (directions.has("left") && directions.has("up") && directions.has("down")) {
2159
+ return [
2160
+ { x: width, y: 0 },
2161
+ { x: 0, y: -midpoint },
2162
+ { x: 0, y: -height + midpoint },
2163
+ { x: width, y: -height }
2164
+ ];
2165
+ }
2166
+ if (directions.has("right") && directions.has("left")) {
2167
+ return [
2168
+ { x: midpoint, y: 0 },
2169
+ { x: midpoint, y: -padding2 },
2170
+ { x: width - midpoint, y: -padding2 },
2171
+ { x: width - midpoint, y: 0 },
2172
+ { x: width, y: -height / 2 },
2173
+ { x: width - midpoint, y: -height },
2174
+ { x: width - midpoint, y: -height + padding2 },
2175
+ { x: midpoint, y: -height + padding2 },
2176
+ { x: midpoint, y: -height },
2177
+ { x: 0, y: -height / 2 }
2178
+ ];
2179
+ }
2180
+ if (directions.has("up") && directions.has("down")) {
2181
+ return [
2182
+ // Bottom center
2183
+ { x: width / 2, y: 0 },
2184
+ // Left pont of bottom arrow
2185
+ { x: 0, y: -padding2 },
2186
+ { x: midpoint, y: -padding2 },
2187
+ // Left top over vertical section
2188
+ { x: midpoint, y: -height + padding2 },
2189
+ { x: 0, y: -height + padding2 },
2190
+ // Top of arrow
2191
+ { x: width / 2, y: -height },
2192
+ { x: width, y: -height + padding2 },
2193
+ // Top of right vertical bar
2194
+ { x: width - midpoint, y: -height + padding2 },
2195
+ { x: width - midpoint, y: -padding2 },
2196
+ { x: width, y: -padding2 }
2197
+ ];
2198
+ }
2199
+ if (directions.has("right") && directions.has("up")) {
2200
+ return [
2201
+ { x: 0, y: 0 },
2202
+ { x: width, y: -midpoint },
2203
+ { x: 0, y: -height }
2204
+ ];
2205
+ }
2206
+ if (directions.has("right") && directions.has("down")) {
2207
+ return [
2208
+ { x: 0, y: 0 },
2209
+ { x: width, y: 0 },
2210
+ { x: 0, y: -height }
2211
+ ];
2212
+ }
2213
+ if (directions.has("left") && directions.has("up")) {
2214
+ return [
2215
+ { x: width, y: 0 },
2216
+ { x: 0, y: -midpoint },
2217
+ { x: width, y: -height }
2218
+ ];
2219
+ }
2220
+ if (directions.has("left") && directions.has("down")) {
2221
+ return [
2222
+ { x: width, y: 0 },
2223
+ { x: 0, y: 0 },
2224
+ { x: width, y: -height }
2225
+ ];
2226
+ }
2227
+ if (directions.has("right")) {
2228
+ return [
2229
+ { x: midpoint, y: -padding2 },
2230
+ { x: midpoint, y: -padding2 },
2231
+ { x: width - midpoint, y: -padding2 },
2232
+ { x: width - midpoint, y: 0 },
2233
+ { x: width, y: -height / 2 },
2234
+ { x: width - midpoint, y: -height },
2235
+ { x: width - midpoint, y: -height + padding2 },
2236
+ // top left corner of arrow
2237
+ { x: midpoint, y: -height + padding2 },
2238
+ { x: midpoint, y: -height + padding2 }
2239
+ ];
2240
+ }
2241
+ if (directions.has("left")) {
2242
+ return [
2243
+ { x: midpoint, y: 0 },
2244
+ { x: midpoint, y: -padding2 },
2245
+ // Two points, the right corners
2246
+ { x: width - midpoint, y: -padding2 },
2247
+ { x: width - midpoint, y: -height + padding2 },
2248
+ { x: midpoint, y: -height + padding2 },
2249
+ { x: midpoint, y: -height },
2250
+ { x: 0, y: -height / 2 }
2251
+ ];
2252
+ }
2253
+ if (directions.has("up")) {
2254
+ return [
2255
+ // Bottom center
2256
+ { x: midpoint, y: -padding2 },
2257
+ // Left top over vertical section
2258
+ { x: midpoint, y: -height + padding2 },
2259
+ { x: 0, y: -height + padding2 },
2260
+ // Top of arrow
2261
+ { x: width / 2, y: -height },
2262
+ { x: width, y: -height + padding2 },
2263
+ // Top of right vertical bar
2264
+ { x: width - midpoint, y: -height + padding2 },
2265
+ { x: width - midpoint, y: -padding2 }
2266
+ ];
2267
+ }
2268
+ if (directions.has("down")) {
2269
+ return [
2270
+ // Bottom center
2271
+ { x: width / 2, y: 0 },
2272
+ // Left pont of bottom arrow
2273
+ { x: 0, y: -padding2 },
2274
+ { x: midpoint, y: -padding2 },
2275
+ // Left top over vertical section
2276
+ { x: midpoint, y: -height + padding2 },
2277
+ { x: width - midpoint, y: -height + padding2 },
2278
+ { x: width - midpoint, y: -padding2 },
2279
+ { x: width, y: -padding2 }
2280
+ ];
2281
+ }
2282
+ return [{ x: 0, y: 0 }];
2283
+ }, "getArrowPoints");
2284
+
2285
+ // src/dagre-wrapper/intersect/intersect-node.js
2286
+ function intersectNode(node, point2) {
2287
+ return node.intersect(point2);
2288
+ }
2289
+ __name(intersectNode, "intersectNode");
2290
+ var intersect_node_default = intersectNode;
2291
+
2292
+ // src/dagre-wrapper/intersect/intersect-ellipse.js
2293
+ function intersectEllipse(node, rx, ry, point2) {
2294
+ var cx = node.x;
2295
+ var cy = node.y;
2296
+ var px = cx - point2.x;
2297
+ var py = cy - point2.y;
2298
+ var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);
2299
+ var dx = Math.abs(rx * ry * px / det);
2300
+ if (point2.x < cx) {
2301
+ dx = -dx;
2302
+ }
2303
+ var dy = Math.abs(rx * ry * py / det);
2304
+ if (point2.y < cy) {
2305
+ dy = -dy;
2306
+ }
2307
+ return { x: cx + dx, y: cy + dy };
2308
+ }
2309
+ __name(intersectEllipse, "intersectEllipse");
2310
+ var intersect_ellipse_default = intersectEllipse;
2311
+
2312
+ // src/dagre-wrapper/intersect/intersect-circle.js
2313
+ function intersectCircle(node, rx, point2) {
2314
+ return intersect_ellipse_default(node, rx, rx, point2);
2315
+ }
2316
+ __name(intersectCircle, "intersectCircle");
2317
+ var intersect_circle_default = intersectCircle;
2318
+
2319
+ // src/dagre-wrapper/intersect/intersect-line.js
2320
+ function intersectLine(p1, p2, q1, q2) {
2321
+ var a1, a2, b1, b2, c1, c2;
2322
+ var r1, r2, r3, r4;
2323
+ var denom, offset, num;
2324
+ var x, y;
2325
+ a1 = p2.y - p1.y;
2326
+ b1 = p1.x - p2.x;
2327
+ c1 = p2.x * p1.y - p1.x * p2.y;
2328
+ r3 = a1 * q1.x + b1 * q1.y + c1;
2329
+ r4 = a1 * q2.x + b1 * q2.y + c1;
2330
+ if (r3 !== 0 && r4 !== 0 && sameSign(r3, r4)) {
2331
+ return;
2332
+ }
2333
+ a2 = q2.y - q1.y;
2334
+ b2 = q1.x - q2.x;
2335
+ c2 = q2.x * q1.y - q1.x * q2.y;
2336
+ r1 = a2 * p1.x + b2 * p1.y + c2;
2337
+ r2 = a2 * p2.x + b2 * p2.y + c2;
2338
+ if (r1 !== 0 && r2 !== 0 && sameSign(r1, r2)) {
2339
+ return;
2340
+ }
2341
+ denom = a1 * b2 - a2 * b1;
2342
+ if (denom === 0) {
2343
+ return;
2344
+ }
2345
+ offset = Math.abs(denom / 2);
2346
+ num = b1 * c2 - b2 * c1;
2347
+ x = num < 0 ? (num - offset) / denom : (num + offset) / denom;
2348
+ num = a2 * c1 - a1 * c2;
2349
+ y = num < 0 ? (num - offset) / denom : (num + offset) / denom;
2350
+ return { x, y };
2351
+ }
2352
+ __name(intersectLine, "intersectLine");
2353
+ function sameSign(r1, r2) {
2354
+ return r1 * r2 > 0;
2355
+ }
2356
+ __name(sameSign, "sameSign");
2357
+ var intersect_line_default = intersectLine;
2358
+
2359
+ // src/dagre-wrapper/intersect/intersect-polygon.js
2360
+ var intersect_polygon_default = intersectPolygon;
2361
+ function intersectPolygon(node, polyPoints, point2) {
2362
+ var x1 = node.x;
2363
+ var y1 = node.y;
2364
+ var intersections = [];
2365
+ var minX = Number.POSITIVE_INFINITY;
2366
+ var minY = Number.POSITIVE_INFINITY;
2367
+ if (typeof polyPoints.forEach === "function") {
2368
+ polyPoints.forEach(function(entry) {
2369
+ minX = Math.min(minX, entry.x);
2370
+ minY = Math.min(minY, entry.y);
2371
+ });
2372
+ } else {
2373
+ minX = Math.min(minX, polyPoints.x);
2374
+ minY = Math.min(minY, polyPoints.y);
2375
+ }
2376
+ var left = x1 - node.width / 2 - minX;
2377
+ var top = y1 - node.height / 2 - minY;
2378
+ for (var i = 0; i < polyPoints.length; i++) {
2379
+ var p1 = polyPoints[i];
2380
+ var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];
2381
+ var intersect = intersect_line_default(
2382
+ node,
2383
+ point2,
2384
+ { x: left + p1.x, y: top + p1.y },
2385
+ { x: left + p2.x, y: top + p2.y }
2386
+ );
2387
+ if (intersect) {
2388
+ intersections.push(intersect);
2389
+ }
2390
+ }
2391
+ if (!intersections.length) {
2392
+ return node;
2393
+ }
2394
+ if (intersections.length > 1) {
2395
+ intersections.sort(function(p, q) {
2396
+ var pdx = p.x - point2.x;
2397
+ var pdy = p.y - point2.y;
2398
+ var distp = Math.sqrt(pdx * pdx + pdy * pdy);
2399
+ var qdx = q.x - point2.x;
2400
+ var qdy = q.y - point2.y;
2401
+ var distq = Math.sqrt(qdx * qdx + qdy * qdy);
2402
+ return distp < distq ? -1 : distp === distq ? 0 : 1;
2403
+ });
2404
+ }
2405
+ return intersections[0];
2406
+ }
2407
+ __name(intersectPolygon, "intersectPolygon");
2408
+
2409
+ // src/dagre-wrapper/intersect/intersect-rect.js
2410
+ var intersectRect = /* @__PURE__ */ __name((node, point2) => {
2411
+ var x = node.x;
2412
+ var y = node.y;
2413
+ var dx = point2.x - x;
2414
+ var dy = point2.y - y;
2415
+ var w = node.width / 2;
2416
+ var h = node.height / 2;
2417
+ var sx, sy;
2418
+ if (Math.abs(dy) * w > Math.abs(dx) * h) {
2419
+ if (dy < 0) {
2420
+ h = -h;
2421
+ }
2422
+ sx = dy === 0 ? 0 : h * dx / dy;
2423
+ sy = h;
2424
+ } else {
2425
+ if (dx < 0) {
2426
+ w = -w;
2427
+ }
2428
+ sx = w;
2429
+ sy = dx === 0 ? 0 : w * dy / dx;
2430
+ }
2431
+ return { x: x + sx, y: y + sy };
2432
+ }, "intersectRect");
2433
+ var intersect_rect_default = intersectRect;
2434
+
2435
+ // src/dagre-wrapper/intersect/index.js
2436
+ var intersect_default = {
2437
+ node: intersect_node_default,
2438
+ circle: intersect_circle_default,
2439
+ ellipse: intersect_ellipse_default,
2440
+ polygon: intersect_polygon_default,
2441
+ rect: intersect_rect_default
2442
+ };
2443
+ var labelHelper = /* @__PURE__ */ __name(async (parent, node, _classes, isNode) => {
2444
+ const config2 = getConfig2();
2445
+ let classes2;
2446
+ const useHtmlLabels = node.useHtmlLabels || evaluate(config2.flowchart.htmlLabels);
2447
+ if (!_classes) {
2448
+ classes2 = "node default";
2449
+ } else {
2450
+ classes2 = _classes;
2451
+ }
2452
+ const shapeSvg = parent.insert("g").attr("class", classes2).attr("id", node.domId || node.id);
2453
+ const label = shapeSvg.insert("g").attr("class", "label").attr("style", node.labelStyle);
2454
+ let labelText;
2455
+ if (node.labelText === void 0) {
2456
+ labelText = "";
2457
+ } else {
2458
+ labelText = typeof node.labelText === "string" ? node.labelText : node.labelText[0];
2459
+ }
2460
+ const textNode = label.node();
2461
+ let text;
2462
+ if (node.labelType === "markdown") {
2463
+ text = createText(
2464
+ label,
2465
+ sanitizeText(decodeEntities(labelText), config2),
2466
+ {
2467
+ useHtmlLabels,
2468
+ width: node.width || config2.flowchart.wrappingWidth,
2469
+ classes: "markdown-node-label"
2470
+ },
2471
+ config2
2472
+ );
2473
+ } else {
2474
+ text = textNode.appendChild(
2475
+ await createLabel_default(
2476
+ sanitizeText(decodeEntities(labelText), config2),
2477
+ node.labelStyle,
2478
+ false,
2479
+ isNode
2480
+ )
2481
+ );
2482
+ }
2483
+ let bbox = text.getBBox();
2484
+ const halfPadding = node.padding / 2;
2485
+ if (evaluate(config2.flowchart.htmlLabels)) {
2486
+ const div = text.children[0];
2487
+ const dv = select(text);
2488
+ const images = div.getElementsByTagName("img");
2489
+ if (images) {
2490
+ const noImgText = labelText.replace(/<img[^>]*>/g, "").trim() === "";
2491
+ await Promise.all(
2492
+ [...images].map(
2493
+ (img) => new Promise((res) => {
2494
+ function setupImage() {
2495
+ img.style.display = "flex";
2496
+ img.style.flexDirection = "column";
2497
+ if (noImgText) {
2498
+ const bodyFontSize = config2.fontSize ? config2.fontSize : window.getComputedStyle(document.body).fontSize;
2499
+ const enlargingFactor = 5;
2500
+ const width = parseInt(bodyFontSize, 10) * enlargingFactor + "px";
2501
+ img.style.minWidth = width;
2502
+ img.style.maxWidth = width;
2503
+ } else {
2504
+ img.style.width = "100%";
2505
+ }
2506
+ res(img);
2507
+ }
2508
+ __name(setupImage, "setupImage");
2509
+ setTimeout(() => {
2510
+ if (img.complete) {
2511
+ setupImage();
2512
+ }
2513
+ });
2514
+ img.addEventListener("error", setupImage);
2515
+ img.addEventListener("load", setupImage);
2516
+ })
2517
+ )
2518
+ );
2519
+ }
2520
+ bbox = div.getBoundingClientRect();
2521
+ dv.attr("width", bbox.width);
2522
+ dv.attr("height", bbox.height);
2523
+ }
2524
+ if (useHtmlLabels) {
2525
+ label.attr("transform", "translate(" + -bbox.width / 2 + ", " + -bbox.height / 2 + ")");
2526
+ } else {
2527
+ label.attr("transform", "translate(0, " + -bbox.height / 2 + ")");
2528
+ }
2529
+ if (node.centerLabel) {
2530
+ label.attr("transform", "translate(" + -bbox.width / 2 + ", " + -bbox.height / 2 + ")");
2531
+ }
2532
+ label.insert("rect", ":first-child");
2533
+ return { shapeSvg, bbox, halfPadding, label };
2534
+ }, "labelHelper");
2535
+ var updateNodeBounds = /* @__PURE__ */ __name((node, element) => {
2536
+ const bbox = element.node().getBBox();
2537
+ node.width = bbox.width;
2538
+ node.height = bbox.height;
2539
+ }, "updateNodeBounds");
2540
+ function insertPolygonShape(parent, w, h, points) {
2541
+ return parent.insert("polygon", ":first-child").attr(
2542
+ "points",
2543
+ points.map(function(d) {
2544
+ return d.x + "," + d.y;
2545
+ }).join(" ")
2546
+ ).attr("class", "label-container").attr("transform", "translate(" + -w / 2 + "," + h / 2 + ")");
2547
+ }
2548
+ __name(insertPolygonShape, "insertPolygonShape");
2549
+
2550
+ // src/dagre-wrapper/shapes/note.js
2551
+ var note = /* @__PURE__ */ __name(async (parent, node) => {
2552
+ const useHtmlLabels = node.useHtmlLabels || getConfig2().flowchart.htmlLabels;
2553
+ if (!useHtmlLabels) {
2554
+ node.centerLabel = true;
2555
+ }
2556
+ const { shapeSvg, bbox, halfPadding } = await labelHelper(
2557
+ parent,
2558
+ node,
2559
+ "node " + node.classes,
2560
+ true
2561
+ );
2562
+ log.info("Classes = ", node.classes);
2563
+ const rect2 = shapeSvg.insert("rect", ":first-child");
2564
+ rect2.attr("rx", node.rx).attr("ry", node.ry).attr("x", -bbox.width / 2 - halfPadding).attr("y", -bbox.height / 2 - halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
2565
+ updateNodeBounds(node, rect2);
2566
+ node.intersect = function(point2) {
2567
+ return intersect_default.rect(node, point2);
2568
+ };
2569
+ return shapeSvg;
2570
+ }, "note");
2571
+ var note_default = note;
2572
+
2573
+ // src/dagre-wrapper/nodes.js
2574
+ var formatClass = /* @__PURE__ */ __name((str) => {
2575
+ if (str) {
2576
+ return " " + str;
2577
+ }
2578
+ return "";
2579
+ }, "formatClass");
2580
+ var getClassesFromNode = /* @__PURE__ */ __name((node, otherClasses) => {
2581
+ return `${otherClasses ? otherClasses : "node default"}${formatClass(node.classes)} ${formatClass(
2582
+ node.class
2583
+ )}`;
2584
+ }, "getClassesFromNode");
2585
+ var question = /* @__PURE__ */ __name(async (parent, node) => {
2586
+ const { shapeSvg, bbox } = await labelHelper(
2587
+ parent,
2588
+ node,
2589
+ getClassesFromNode(node, void 0),
2590
+ true
2591
+ );
2592
+ const w = bbox.width + node.padding;
2593
+ const h = bbox.height + node.padding;
2594
+ const s = w + h;
2595
+ const points = [
2596
+ { x: s / 2, y: 0 },
2597
+ { x: s, y: -s / 2 },
2598
+ { x: s / 2, y: -s },
2599
+ { x: 0, y: -s / 2 }
2600
+ ];
2601
+ log.info("Question main (Circle)");
2602
+ const questionElem = insertPolygonShape(shapeSvg, s, s, points);
2603
+ questionElem.attr("style", node.style);
2604
+ updateNodeBounds(node, questionElem);
2605
+ node.intersect = function(point2) {
2606
+ log.warn("Intersect called");
2607
+ return intersect_default.polygon(node, points, point2);
2608
+ };
2609
+ return shapeSvg;
2610
+ }, "question");
2611
+ var choice = /* @__PURE__ */ __name((parent, node) => {
2612
+ const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
2613
+ const s = 28;
2614
+ const points = [
2615
+ { x: 0, y: s / 2 },
2616
+ { x: s / 2, y: 0 },
2617
+ { x: 0, y: -s / 2 },
2618
+ { x: -s / 2, y: 0 }
2619
+ ];
2620
+ const choice2 = shapeSvg.insert("polygon", ":first-child").attr(
2621
+ "points",
2622
+ points.map(function(d) {
2623
+ return d.x + "," + d.y;
2624
+ }).join(" ")
2625
+ );
2626
+ choice2.attr("class", "state-start").attr("r", 7).attr("width", 28).attr("height", 28);
2627
+ node.width = 28;
2628
+ node.height = 28;
2629
+ node.intersect = function(point2) {
2630
+ return intersect_default.circle(node, 14, point2);
2631
+ };
2632
+ return shapeSvg;
2633
+ }, "choice");
2634
+ var hexagon = /* @__PURE__ */ __name(async (parent, node) => {
2635
+ const { shapeSvg, bbox } = await labelHelper(
2636
+ parent,
2637
+ node,
2638
+ getClassesFromNode(node, void 0),
2639
+ true
2640
+ );
2641
+ const f = 4;
2642
+ const h = bbox.height + node.padding;
2643
+ const m = h / f;
2644
+ const w = bbox.width + 2 * m + node.padding;
2645
+ const points = [
2646
+ { x: m, y: 0 },
2647
+ { x: w - m, y: 0 },
2648
+ { x: w, y: -h / 2 },
2649
+ { x: w - m, y: -h },
2650
+ { x: m, y: -h },
2651
+ { x: 0, y: -h / 2 }
2652
+ ];
2653
+ const hex = insertPolygonShape(shapeSvg, w, h, points);
2654
+ hex.attr("style", node.style);
2655
+ updateNodeBounds(node, hex);
2656
+ node.intersect = function(point2) {
2657
+ return intersect_default.polygon(node, points, point2);
2658
+ };
2659
+ return shapeSvg;
2660
+ }, "hexagon");
2661
+ var block_arrow = /* @__PURE__ */ __name(async (parent, node) => {
2662
+ const { shapeSvg, bbox } = await labelHelper(parent, node, void 0, true);
2663
+ const f = 2;
2664
+ const h = bbox.height + 2 * node.padding;
2665
+ const m = h / f;
2666
+ const w = bbox.width + 2 * m + node.padding;
2667
+ const points = getArrowPoints(node.directions, bbox, node);
2668
+ const blockArrow = insertPolygonShape(shapeSvg, w, h, points);
2669
+ blockArrow.attr("style", node.style);
2670
+ updateNodeBounds(node, blockArrow);
2671
+ node.intersect = function(point2) {
2672
+ return intersect_default.polygon(node, points, point2);
2673
+ };
2674
+ return shapeSvg;
2675
+ }, "block_arrow");
2676
+ var rect_left_inv_arrow = /* @__PURE__ */ __name(async (parent, node) => {
2677
+ const { shapeSvg, bbox } = await labelHelper(
2678
+ parent,
2679
+ node,
2680
+ getClassesFromNode(node, void 0),
2681
+ true
2682
+ );
2683
+ const w = bbox.width + node.padding;
2684
+ const h = bbox.height + node.padding;
2685
+ const points = [
2686
+ { x: -h / 2, y: 0 },
2687
+ { x: w, y: 0 },
2688
+ { x: w, y: -h },
2689
+ { x: -h / 2, y: -h },
2690
+ { x: 0, y: -h / 2 }
2691
+ ];
2692
+ const el = insertPolygonShape(shapeSvg, w, h, points);
2693
+ el.attr("style", node.style);
2694
+ node.width = w + h;
2695
+ node.height = h;
2696
+ node.intersect = function(point2) {
2697
+ return intersect_default.polygon(node, points, point2);
2698
+ };
2699
+ return shapeSvg;
2700
+ }, "rect_left_inv_arrow");
2701
+ var lean_right = /* @__PURE__ */ __name(async (parent, node) => {
2702
+ const { shapeSvg, bbox } = await labelHelper(parent, node, getClassesFromNode(node), true);
2703
+ const w = bbox.width + node.padding;
2704
+ const h = bbox.height + node.padding;
2705
+ const points = [
2706
+ { x: -2 * h / 6, y: 0 },
2707
+ { x: w - h / 6, y: 0 },
2708
+ { x: w + 2 * h / 6, y: -h },
2709
+ { x: h / 6, y: -h }
2710
+ ];
2711
+ const el = insertPolygonShape(shapeSvg, w, h, points);
2712
+ el.attr("style", node.style);
2713
+ updateNodeBounds(node, el);
2714
+ node.intersect = function(point2) {
2715
+ return intersect_default.polygon(node, points, point2);
2716
+ };
2717
+ return shapeSvg;
2718
+ }, "lean_right");
2719
+ var lean_left = /* @__PURE__ */ __name(async (parent, node) => {
2720
+ const { shapeSvg, bbox } = await labelHelper(
2721
+ parent,
2722
+ node,
2723
+ getClassesFromNode(node, void 0),
2724
+ true
2725
+ );
2726
+ const w = bbox.width + node.padding;
2727
+ const h = bbox.height + node.padding;
2728
+ const points = [
2729
+ { x: 2 * h / 6, y: 0 },
2730
+ { x: w + h / 6, y: 0 },
2731
+ { x: w - 2 * h / 6, y: -h },
2732
+ { x: -h / 6, y: -h }
2733
+ ];
2734
+ const el = insertPolygonShape(shapeSvg, w, h, points);
2735
+ el.attr("style", node.style);
2736
+ updateNodeBounds(node, el);
2737
+ node.intersect = function(point2) {
2738
+ return intersect_default.polygon(node, points, point2);
2739
+ };
2740
+ return shapeSvg;
2741
+ }, "lean_left");
2742
+ var trapezoid = /* @__PURE__ */ __name(async (parent, node) => {
2743
+ const { shapeSvg, bbox } = await labelHelper(
2744
+ parent,
2745
+ node,
2746
+ getClassesFromNode(node, void 0),
2747
+ true
2748
+ );
2749
+ const w = bbox.width + node.padding;
2750
+ const h = bbox.height + node.padding;
2751
+ const points = [
2752
+ { x: -2 * h / 6, y: 0 },
2753
+ { x: w + 2 * h / 6, y: 0 },
2754
+ { x: w - h / 6, y: -h },
2755
+ { x: h / 6, y: -h }
2756
+ ];
2757
+ const el = insertPolygonShape(shapeSvg, w, h, points);
2758
+ el.attr("style", node.style);
2759
+ updateNodeBounds(node, el);
2760
+ node.intersect = function(point2) {
2761
+ return intersect_default.polygon(node, points, point2);
2762
+ };
2763
+ return shapeSvg;
2764
+ }, "trapezoid");
2765
+ var inv_trapezoid = /* @__PURE__ */ __name(async (parent, node) => {
2766
+ const { shapeSvg, bbox } = await labelHelper(
2767
+ parent,
2768
+ node,
2769
+ getClassesFromNode(node, void 0),
2770
+ true
2771
+ );
2772
+ const w = bbox.width + node.padding;
2773
+ const h = bbox.height + node.padding;
2774
+ const points = [
2775
+ { x: h / 6, y: 0 },
2776
+ { x: w - h / 6, y: 0 },
2777
+ { x: w + 2 * h / 6, y: -h },
2778
+ { x: -2 * h / 6, y: -h }
2779
+ ];
2780
+ const el = insertPolygonShape(shapeSvg, w, h, points);
2781
+ el.attr("style", node.style);
2782
+ updateNodeBounds(node, el);
2783
+ node.intersect = function(point2) {
2784
+ return intersect_default.polygon(node, points, point2);
2785
+ };
2786
+ return shapeSvg;
2787
+ }, "inv_trapezoid");
2788
+ var rect_right_inv_arrow = /* @__PURE__ */ __name(async (parent, node) => {
2789
+ const { shapeSvg, bbox } = await labelHelper(
2790
+ parent,
2791
+ node,
2792
+ getClassesFromNode(node, void 0),
2793
+ true
2794
+ );
2795
+ const w = bbox.width + node.padding;
2796
+ const h = bbox.height + node.padding;
2797
+ const points = [
2798
+ { x: 0, y: 0 },
2799
+ { x: w + h / 2, y: 0 },
2800
+ { x: w, y: -h / 2 },
2801
+ { x: w + h / 2, y: -h },
2802
+ { x: 0, y: -h }
2803
+ ];
2804
+ const el = insertPolygonShape(shapeSvg, w, h, points);
2805
+ el.attr("style", node.style);
2806
+ updateNodeBounds(node, el);
2807
+ node.intersect = function(point2) {
2808
+ return intersect_default.polygon(node, points, point2);
2809
+ };
2810
+ return shapeSvg;
2811
+ }, "rect_right_inv_arrow");
2812
+ var cylinder = /* @__PURE__ */ __name(async (parent, node) => {
2813
+ const { shapeSvg, bbox } = await labelHelper(
2814
+ parent,
2815
+ node,
2816
+ getClassesFromNode(node, void 0),
2817
+ true
2818
+ );
2819
+ const w = bbox.width + node.padding;
2820
+ const rx = w / 2;
2821
+ const ry = rx / (2.5 + w / 50);
2822
+ const h = bbox.height + ry + node.padding;
2823
+ const shape = "M 0," + ry + " a " + rx + "," + ry + " 0,0,0 " + w + " 0 a " + rx + "," + ry + " 0,0,0 " + -w + " 0 l 0," + h + " a " + rx + "," + ry + " 0,0,0 " + w + " 0 l 0," + -h;
2824
+ const el = shapeSvg.attr("label-offset-y", ry).insert("path", ":first-child").attr("style", node.style).attr("d", shape).attr("transform", "translate(" + -w / 2 + "," + -(h / 2 + ry) + ")");
2825
+ updateNodeBounds(node, el);
2826
+ node.intersect = function(point2) {
2827
+ const pos = intersect_default.rect(node, point2);
2828
+ const x = pos.x - node.x;
2829
+ if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {
2830
+ let y = ry * ry * (1 - x * x / (rx * rx));
2831
+ if (y != 0) {
2832
+ y = Math.sqrt(y);
2833
+ }
2834
+ y = ry - y;
2835
+ if (point2.y - node.y > 0) {
2836
+ y = -y;
2837
+ }
2838
+ pos.y += y;
2839
+ }
2840
+ return pos;
2841
+ };
2842
+ return shapeSvg;
2843
+ }, "cylinder");
2844
+ var rect = /* @__PURE__ */ __name(async (parent, node) => {
2845
+ const { shapeSvg, bbox, halfPadding } = await labelHelper(
2846
+ parent,
2847
+ node,
2848
+ "node " + node.classes + " " + node.class,
2849
+ true
2850
+ );
2851
+ const rect2 = shapeSvg.insert("rect", ":first-child");
2852
+ const totalWidth = node.positioned ? node.width : bbox.width + node.padding;
2853
+ const totalHeight = node.positioned ? node.height : bbox.height + node.padding;
2854
+ const x = node.positioned ? -totalWidth / 2 : -bbox.width / 2 - halfPadding;
2855
+ const y = node.positioned ? -totalHeight / 2 : -bbox.height / 2 - halfPadding;
2856
+ rect2.attr("class", "basic label-container").attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("x", x).attr("y", y).attr("width", totalWidth).attr("height", totalHeight);
2857
+ if (node.props) {
2858
+ const propKeys = new Set(Object.keys(node.props));
2859
+ if (node.props.borders) {
2860
+ applyNodePropertyBorders(rect2, node.props.borders, totalWidth, totalHeight);
2861
+ propKeys.delete("borders");
2862
+ }
2863
+ propKeys.forEach((propKey) => {
2864
+ log.warn(`Unknown node property ${propKey}`);
2865
+ });
2866
+ }
2867
+ updateNodeBounds(node, rect2);
2868
+ node.intersect = function(point2) {
2869
+ return intersect_default.rect(node, point2);
2870
+ };
2871
+ return shapeSvg;
2872
+ }, "rect");
2873
+ var composite = /* @__PURE__ */ __name(async (parent, node) => {
2874
+ const { shapeSvg, bbox, halfPadding } = await labelHelper(
2875
+ parent,
2876
+ node,
2877
+ "node " + node.classes,
2878
+ true
2879
+ );
2880
+ const rect2 = shapeSvg.insert("rect", ":first-child");
2881
+ const totalWidth = node.positioned ? node.width : bbox.width + node.padding;
2882
+ const totalHeight = node.positioned ? node.height : bbox.height + node.padding;
2883
+ const x = node.positioned ? -totalWidth / 2 : -bbox.width / 2 - halfPadding;
2884
+ const y = node.positioned ? -totalHeight / 2 : -bbox.height / 2 - halfPadding;
2885
+ rect2.attr("class", "basic cluster composite label-container").attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("x", x).attr("y", y).attr("width", totalWidth).attr("height", totalHeight);
2886
+ if (node.props) {
2887
+ const propKeys = new Set(Object.keys(node.props));
2888
+ if (node.props.borders) {
2889
+ applyNodePropertyBorders(rect2, node.props.borders, totalWidth, totalHeight);
2890
+ propKeys.delete("borders");
2891
+ }
2892
+ propKeys.forEach((propKey) => {
2893
+ log.warn(`Unknown node property ${propKey}`);
2894
+ });
2895
+ }
2896
+ updateNodeBounds(node, rect2);
2897
+ node.intersect = function(point2) {
2898
+ return intersect_default.rect(node, point2);
2899
+ };
2900
+ return shapeSvg;
2901
+ }, "composite");
2902
+ var labelRect = /* @__PURE__ */ __name(async (parent, node) => {
2903
+ const { shapeSvg } = await labelHelper(parent, node, "label", true);
2904
+ log.trace("Classes = ", node.class);
2905
+ const rect2 = shapeSvg.insert("rect", ":first-child");
2906
+ const totalWidth = 0;
2907
+ const totalHeight = 0;
2908
+ rect2.attr("width", totalWidth).attr("height", totalHeight);
2909
+ shapeSvg.attr("class", "label edgeLabel");
2910
+ if (node.props) {
2911
+ const propKeys = new Set(Object.keys(node.props));
2912
+ if (node.props.borders) {
2913
+ applyNodePropertyBorders(rect2, node.props.borders, totalWidth, totalHeight);
2914
+ propKeys.delete("borders");
2915
+ }
2916
+ propKeys.forEach((propKey) => {
2917
+ log.warn(`Unknown node property ${propKey}`);
2918
+ });
2919
+ }
2920
+ updateNodeBounds(node, rect2);
2921
+ node.intersect = function(point2) {
2922
+ return intersect_default.rect(node, point2);
2923
+ };
2924
+ return shapeSvg;
2925
+ }, "labelRect");
2926
+ function applyNodePropertyBorders(rect2, borders, totalWidth, totalHeight) {
2927
+ const strokeDashArray = [];
2928
+ const addBorder = /* @__PURE__ */ __name((length) => {
2929
+ strokeDashArray.push(length, 0);
2930
+ }, "addBorder");
2931
+ const skipBorder = /* @__PURE__ */ __name((length) => {
2932
+ strokeDashArray.push(0, length);
2933
+ }, "skipBorder");
2934
+ if (borders.includes("t")) {
2935
+ log.debug("add top border");
2936
+ addBorder(totalWidth);
2937
+ } else {
2938
+ skipBorder(totalWidth);
2939
+ }
2940
+ if (borders.includes("r")) {
2941
+ log.debug("add right border");
2942
+ addBorder(totalHeight);
2943
+ } else {
2944
+ skipBorder(totalHeight);
2945
+ }
2946
+ if (borders.includes("b")) {
2947
+ log.debug("add bottom border");
2948
+ addBorder(totalWidth);
2949
+ } else {
2950
+ skipBorder(totalWidth);
2951
+ }
2952
+ if (borders.includes("l")) {
2953
+ log.debug("add left border");
2954
+ addBorder(totalHeight);
2955
+ } else {
2956
+ skipBorder(totalHeight);
2957
+ }
2958
+ rect2.attr("stroke-dasharray", strokeDashArray.join(" "));
2959
+ }
2960
+ __name(applyNodePropertyBorders, "applyNodePropertyBorders");
2961
+ var rectWithTitle = /* @__PURE__ */ __name(async (parent, node) => {
2962
+ let classes2;
2963
+ if (!node.classes) {
2964
+ classes2 = "node default";
2965
+ } else {
2966
+ classes2 = "node " + node.classes;
2967
+ }
2968
+ const shapeSvg = parent.insert("g").attr("class", classes2).attr("id", node.domId || node.id);
2969
+ const rect2 = shapeSvg.insert("rect", ":first-child");
2970
+ const innerLine = shapeSvg.insert("line");
2971
+ const label = shapeSvg.insert("g").attr("class", "label");
2972
+ const text2 = node.labelText.flat ? node.labelText.flat() : node.labelText;
2973
+ let title = "";
2974
+ if (typeof text2 === "object") {
2975
+ title = text2[0];
2976
+ } else {
2977
+ title = text2;
2978
+ }
2979
+ log.info("Label text abc79", title, text2, typeof text2 === "object");
2980
+ const text = label.node().appendChild(await createLabel_default(title, node.labelStyle, true, true));
2981
+ let bbox = { width: 0, height: 0 };
2982
+ if (evaluate(getConfig2().flowchart.htmlLabels)) {
2983
+ const div = text.children[0];
2984
+ const dv = select(text);
2985
+ bbox = div.getBoundingClientRect();
2986
+ dv.attr("width", bbox.width);
2987
+ dv.attr("height", bbox.height);
2988
+ }
2989
+ log.info("Text 2", text2);
2990
+ const textRows = text2.slice(1, text2.length);
2991
+ let titleBox = text.getBBox();
2992
+ const descr = label.node().appendChild(
2993
+ await createLabel_default(
2994
+ textRows.join ? textRows.join("<br/>") : textRows,
2995
+ node.labelStyle,
2996
+ true,
2997
+ true
2998
+ )
2999
+ );
3000
+ if (evaluate(getConfig2().flowchart.htmlLabels)) {
3001
+ const div = descr.children[0];
3002
+ const dv = select(descr);
3003
+ bbox = div.getBoundingClientRect();
3004
+ dv.attr("width", bbox.width);
3005
+ dv.attr("height", bbox.height);
3006
+ }
3007
+ const halfPadding = node.padding / 2;
3008
+ select(descr).attr(
3009
+ "transform",
3010
+ "translate( " + // (titleBox.width - bbox.width) / 2 +
3011
+ (bbox.width > titleBox.width ? 0 : (titleBox.width - bbox.width) / 2) + ", " + (titleBox.height + halfPadding + 5) + ")"
3012
+ );
3013
+ select(text).attr(
3014
+ "transform",
3015
+ "translate( " + // (titleBox.width - bbox.width) / 2 +
3016
+ (bbox.width < titleBox.width ? 0 : -(titleBox.width - bbox.width) / 2) + ", 0)"
3017
+ );
3018
+ bbox = label.node().getBBox();
3019
+ label.attr(
3020
+ "transform",
3021
+ "translate(" + -bbox.width / 2 + ", " + (-bbox.height / 2 - halfPadding + 3) + ")"
3022
+ );
3023
+ rect2.attr("class", "outer title-state").attr("x", -bbox.width / 2 - halfPadding).attr("y", -bbox.height / 2 - halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
3024
+ innerLine.attr("class", "divider").attr("x1", -bbox.width / 2 - halfPadding).attr("x2", bbox.width / 2 + halfPadding).attr("y1", -bbox.height / 2 - halfPadding + titleBox.height + halfPadding).attr("y2", -bbox.height / 2 - halfPadding + titleBox.height + halfPadding);
3025
+ updateNodeBounds(node, rect2);
3026
+ node.intersect = function(point2) {
3027
+ return intersect_default.rect(node, point2);
3028
+ };
3029
+ return shapeSvg;
3030
+ }, "rectWithTitle");
3031
+ var stadium = /* @__PURE__ */ __name(async (parent, node) => {
3032
+ const { shapeSvg, bbox } = await labelHelper(
3033
+ parent,
3034
+ node,
3035
+ getClassesFromNode(node, void 0),
3036
+ true
3037
+ );
3038
+ const h = bbox.height + node.padding;
3039
+ const w = bbox.width + h / 4 + node.padding;
3040
+ const rect2 = shapeSvg.insert("rect", ":first-child").attr("style", node.style).attr("rx", h / 2).attr("ry", h / 2).attr("x", -w / 2).attr("y", -h / 2).attr("width", w).attr("height", h);
3041
+ updateNodeBounds(node, rect2);
3042
+ node.intersect = function(point2) {
3043
+ return intersect_default.rect(node, point2);
3044
+ };
3045
+ return shapeSvg;
3046
+ }, "stadium");
3047
+ var circle2 = /* @__PURE__ */ __name(async (parent, node) => {
3048
+ const { shapeSvg, bbox, halfPadding } = await labelHelper(
3049
+ parent,
3050
+ node,
3051
+ getClassesFromNode(node, void 0),
3052
+ true
3053
+ );
3054
+ const circle3 = shapeSvg.insert("circle", ":first-child");
3055
+ circle3.attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("r", bbox.width / 2 + halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
3056
+ log.info("Circle main");
3057
+ updateNodeBounds(node, circle3);
3058
+ node.intersect = function(point2) {
3059
+ log.info("Circle intersect", node, bbox.width / 2 + halfPadding, point2);
3060
+ return intersect_default.circle(node, bbox.width / 2 + halfPadding, point2);
3061
+ };
3062
+ return shapeSvg;
3063
+ }, "circle");
3064
+ var doublecircle = /* @__PURE__ */ __name(async (parent, node) => {
3065
+ const { shapeSvg, bbox, halfPadding } = await labelHelper(
3066
+ parent,
3067
+ node,
3068
+ getClassesFromNode(node, void 0),
3069
+ true
3070
+ );
3071
+ const gap = 5;
3072
+ const circleGroup = shapeSvg.insert("g", ":first-child");
3073
+ const outerCircle = circleGroup.insert("circle");
3074
+ const innerCircle = circleGroup.insert("circle");
3075
+ circleGroup.attr("class", node.class);
3076
+ outerCircle.attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("r", bbox.width / 2 + halfPadding + gap).attr("width", bbox.width + node.padding + gap * 2).attr("height", bbox.height + node.padding + gap * 2);
3077
+ innerCircle.attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("r", bbox.width / 2 + halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
3078
+ log.info("DoubleCircle main");
3079
+ updateNodeBounds(node, outerCircle);
3080
+ node.intersect = function(point2) {
3081
+ log.info("DoubleCircle intersect", node, bbox.width / 2 + halfPadding + gap, point2);
3082
+ return intersect_default.circle(node, bbox.width / 2 + halfPadding + gap, point2);
3083
+ };
3084
+ return shapeSvg;
3085
+ }, "doublecircle");
3086
+ var subroutine = /* @__PURE__ */ __name(async (parent, node) => {
3087
+ const { shapeSvg, bbox } = await labelHelper(
3088
+ parent,
3089
+ node,
3090
+ getClassesFromNode(node, void 0),
3091
+ true
3092
+ );
3093
+ const w = bbox.width + node.padding;
3094
+ const h = bbox.height + node.padding;
3095
+ const points = [
3096
+ { x: 0, y: 0 },
3097
+ { x: w, y: 0 },
3098
+ { x: w, y: -h },
3099
+ { x: 0, y: -h },
3100
+ { x: 0, y: 0 },
3101
+ { x: -8, y: 0 },
3102
+ { x: w + 8, y: 0 },
3103
+ { x: w + 8, y: -h },
3104
+ { x: -8, y: -h },
3105
+ { x: -8, y: 0 }
3106
+ ];
3107
+ const el = insertPolygonShape(shapeSvg, w, h, points);
3108
+ el.attr("style", node.style);
3109
+ updateNodeBounds(node, el);
3110
+ node.intersect = function(point2) {
3111
+ return intersect_default.polygon(node, points, point2);
3112
+ };
3113
+ return shapeSvg;
3114
+ }, "subroutine");
3115
+ var start = /* @__PURE__ */ __name((parent, node) => {
3116
+ const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
3117
+ const circle3 = shapeSvg.insert("circle", ":first-child");
3118
+ circle3.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
3119
+ updateNodeBounds(node, circle3);
3120
+ node.intersect = function(point2) {
3121
+ return intersect_default.circle(node, 7, point2);
3122
+ };
3123
+ return shapeSvg;
3124
+ }, "start");
3125
+ var forkJoin = /* @__PURE__ */ __name((parent, node, dir) => {
3126
+ const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
3127
+ let width = 70;
3128
+ let height = 10;
3129
+ if (dir === "LR") {
3130
+ width = 10;
3131
+ height = 70;
3132
+ }
3133
+ const shape = shapeSvg.append("rect").attr("x", -1 * width / 2).attr("y", -1 * height / 2).attr("width", width).attr("height", height).attr("class", "fork-join");
3134
+ updateNodeBounds(node, shape);
3135
+ node.height = node.height + node.padding / 2;
3136
+ node.width = node.width + node.padding / 2;
3137
+ node.intersect = function(point2) {
3138
+ return intersect_default.rect(node, point2);
3139
+ };
3140
+ return shapeSvg;
3141
+ }, "forkJoin");
3142
+ var end = /* @__PURE__ */ __name((parent, node) => {
3143
+ const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
3144
+ const innerCircle = shapeSvg.insert("circle", ":first-child");
3145
+ const circle3 = shapeSvg.insert("circle", ":first-child");
3146
+ circle3.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
3147
+ innerCircle.attr("class", "state-end").attr("r", 5).attr("width", 10).attr("height", 10);
3148
+ updateNodeBounds(node, circle3);
3149
+ node.intersect = function(point2) {
3150
+ return intersect_default.circle(node, 7, point2);
3151
+ };
3152
+ return shapeSvg;
3153
+ }, "end");
3154
+ var class_box = /* @__PURE__ */ __name(async (parent, node) => {
3155
+ const halfPadding = node.padding / 2;
3156
+ const rowPadding = 4;
3157
+ const lineHeight = 8;
3158
+ let classes2;
3159
+ if (!node.classes) {
3160
+ classes2 = "node default";
3161
+ } else {
3162
+ classes2 = "node " + node.classes;
3163
+ }
3164
+ const shapeSvg = parent.insert("g").attr("class", classes2).attr("id", node.domId || node.id);
3165
+ const rect2 = shapeSvg.insert("rect", ":first-child");
3166
+ const topLine = shapeSvg.insert("line");
3167
+ const bottomLine = shapeSvg.insert("line");
3168
+ let maxWidth = 0;
3169
+ let maxHeight = rowPadding;
3170
+ const labelContainer = shapeSvg.insert("g").attr("class", "label");
3171
+ let verticalPos = 0;
3172
+ const hasInterface = node.classData.annotations?.[0];
3173
+ const interfaceLabelText = node.classData.annotations[0] ? "\xAB" + node.classData.annotations[0] + "\xBB" : "";
3174
+ const interfaceLabel = labelContainer.node().appendChild(await createLabel_default(interfaceLabelText, node.labelStyle, true, true));
3175
+ let interfaceBBox = interfaceLabel.getBBox();
3176
+ if (evaluate(getConfig2().flowchart.htmlLabels)) {
3177
+ const div = interfaceLabel.children[0];
3178
+ const dv = select(interfaceLabel);
3179
+ interfaceBBox = div.getBoundingClientRect();
3180
+ dv.attr("width", interfaceBBox.width);
3181
+ dv.attr("height", interfaceBBox.height);
3182
+ }
3183
+ if (node.classData.annotations[0]) {
3184
+ maxHeight += interfaceBBox.height + rowPadding;
3185
+ maxWidth += interfaceBBox.width;
3186
+ }
3187
+ let classTitleString = node.classData.label;
3188
+ if (node.classData.type !== void 0 && node.classData.type !== "") {
3189
+ if (getConfig2().flowchart.htmlLabels) {
3190
+ classTitleString += "&lt;" + node.classData.type + "&gt;";
3191
+ } else {
3192
+ classTitleString += "<" + node.classData.type + ">";
3193
+ }
3194
+ }
3195
+ const classTitleLabel = labelContainer.node().appendChild(await createLabel_default(classTitleString, node.labelStyle, true, true));
3196
+ select(classTitleLabel).attr("class", "classTitle");
3197
+ let classTitleBBox = classTitleLabel.getBBox();
3198
+ if (evaluate(getConfig2().flowchart.htmlLabels)) {
3199
+ const div = classTitleLabel.children[0];
3200
+ const dv = select(classTitleLabel);
3201
+ classTitleBBox = div.getBoundingClientRect();
3202
+ dv.attr("width", classTitleBBox.width);
3203
+ dv.attr("height", classTitleBBox.height);
3204
+ }
3205
+ maxHeight += classTitleBBox.height + rowPadding;
3206
+ if (classTitleBBox.width > maxWidth) {
3207
+ maxWidth = classTitleBBox.width;
3208
+ }
3209
+ const classAttributes = [];
3210
+ node.classData.members.forEach(async (member) => {
3211
+ const parsedInfo = member.getDisplayDetails();
3212
+ let parsedText = parsedInfo.displayText;
3213
+ if (getConfig2().flowchart.htmlLabels) {
3214
+ parsedText = parsedText.replace(/</g, "&lt;").replace(/>/g, "&gt;");
3215
+ }
3216
+ const lbl = labelContainer.node().appendChild(
3217
+ await createLabel_default(
3218
+ parsedText,
3219
+ parsedInfo.cssStyle ? parsedInfo.cssStyle : node.labelStyle,
3220
+ true,
3221
+ true
3222
+ )
3223
+ );
3224
+ let bbox = lbl.getBBox();
3225
+ if (evaluate(getConfig2().flowchart.htmlLabels)) {
3226
+ const div = lbl.children[0];
3227
+ const dv = select(lbl);
3228
+ bbox = div.getBoundingClientRect();
3229
+ dv.attr("width", bbox.width);
3230
+ dv.attr("height", bbox.height);
3231
+ }
3232
+ if (bbox.width > maxWidth) {
3233
+ maxWidth = bbox.width;
3234
+ }
3235
+ maxHeight += bbox.height + rowPadding;
3236
+ classAttributes.push(lbl);
3237
+ });
3238
+ maxHeight += lineHeight;
3239
+ const classMethods = [];
3240
+ node.classData.methods.forEach(async (member) => {
3241
+ const parsedInfo = member.getDisplayDetails();
3242
+ let displayText = parsedInfo.displayText;
3243
+ if (getConfig2().flowchart.htmlLabels) {
3244
+ displayText = displayText.replace(/</g, "&lt;").replace(/>/g, "&gt;");
3245
+ }
3246
+ const lbl = labelContainer.node().appendChild(
3247
+ await createLabel_default(
3248
+ displayText,
3249
+ parsedInfo.cssStyle ? parsedInfo.cssStyle : node.labelStyle,
3250
+ true,
3251
+ true
3252
+ )
3253
+ );
3254
+ let bbox = lbl.getBBox();
3255
+ if (evaluate(getConfig2().flowchart.htmlLabels)) {
3256
+ const div = lbl.children[0];
3257
+ const dv = select(lbl);
3258
+ bbox = div.getBoundingClientRect();
3259
+ dv.attr("width", bbox.width);
3260
+ dv.attr("height", bbox.height);
3261
+ }
3262
+ if (bbox.width > maxWidth) {
3263
+ maxWidth = bbox.width;
3264
+ }
3265
+ maxHeight += bbox.height + rowPadding;
3266
+ classMethods.push(lbl);
3267
+ });
3268
+ maxHeight += lineHeight;
3269
+ if (hasInterface) {
3270
+ let diffX2 = (maxWidth - interfaceBBox.width) / 2;
3271
+ select(interfaceLabel).attr(
3272
+ "transform",
3273
+ "translate( " + (-1 * maxWidth / 2 + diffX2) + ", " + -1 * maxHeight / 2 + ")"
3274
+ );
3275
+ verticalPos = interfaceBBox.height + rowPadding;
3276
+ }
3277
+ let diffX = (maxWidth - classTitleBBox.width) / 2;
3278
+ select(classTitleLabel).attr(
3279
+ "transform",
3280
+ "translate( " + (-1 * maxWidth / 2 + diffX) + ", " + (-1 * maxHeight / 2 + verticalPos) + ")"
3281
+ );
3282
+ verticalPos += classTitleBBox.height + rowPadding;
3283
+ topLine.attr("class", "divider").attr("x1", -maxWidth / 2 - halfPadding).attr("x2", maxWidth / 2 + halfPadding).attr("y1", -maxHeight / 2 - halfPadding + lineHeight + verticalPos).attr("y2", -maxHeight / 2 - halfPadding + lineHeight + verticalPos);
3284
+ verticalPos += lineHeight;
3285
+ classAttributes.forEach((lbl) => {
3286
+ select(lbl).attr(
3287
+ "transform",
3288
+ "translate( " + -maxWidth / 2 + ", " + (-1 * maxHeight / 2 + verticalPos + lineHeight / 2) + ")"
3289
+ );
3290
+ const memberBBox = lbl?.getBBox();
3291
+ verticalPos += (memberBBox?.height ?? 0) + rowPadding;
3292
+ });
3293
+ verticalPos += lineHeight;
3294
+ bottomLine.attr("class", "divider").attr("x1", -maxWidth / 2 - halfPadding).attr("x2", maxWidth / 2 + halfPadding).attr("y1", -maxHeight / 2 - halfPadding + lineHeight + verticalPos).attr("y2", -maxHeight / 2 - halfPadding + lineHeight + verticalPos);
3295
+ verticalPos += lineHeight;
3296
+ classMethods.forEach((lbl) => {
3297
+ select(lbl).attr(
3298
+ "transform",
3299
+ "translate( " + -maxWidth / 2 + ", " + (-1 * maxHeight / 2 + verticalPos) + ")"
3300
+ );
3301
+ const memberBBox = lbl?.getBBox();
3302
+ verticalPos += (memberBBox?.height ?? 0) + rowPadding;
3303
+ });
3304
+ rect2.attr("style", node.style).attr("class", "outer title-state").attr("x", -maxWidth / 2 - halfPadding).attr("y", -(maxHeight / 2) - halfPadding).attr("width", maxWidth + node.padding).attr("height", maxHeight + node.padding);
3305
+ updateNodeBounds(node, rect2);
3306
+ node.intersect = function(point2) {
3307
+ return intersect_default.rect(node, point2);
3308
+ };
3309
+ return shapeSvg;
3310
+ }, "class_box");
3311
+ var shapes = {
3312
+ rhombus: question,
3313
+ composite,
3314
+ question,
3315
+ rect,
3316
+ labelRect,
3317
+ rectWithTitle,
3318
+ choice,
3319
+ circle: circle2,
3320
+ doublecircle,
3321
+ stadium,
3322
+ hexagon,
3323
+ block_arrow,
3324
+ rect_left_inv_arrow,
3325
+ lean_right,
3326
+ lean_left,
3327
+ trapezoid,
3328
+ inv_trapezoid,
3329
+ rect_right_inv_arrow,
3330
+ cylinder,
3331
+ start,
3332
+ end,
3333
+ note: note_default,
3334
+ subroutine,
3335
+ fork: forkJoin,
3336
+ join: forkJoin,
3337
+ class_box
3338
+ };
3339
+ var nodeElems = {};
3340
+ var insertNode = /* @__PURE__ */ __name(async (elem, node, renderOptions) => {
3341
+ let newEl;
3342
+ let el;
3343
+ if (node.link) {
3344
+ let target;
3345
+ if (getConfig2().securityLevel === "sandbox") {
3346
+ target = "_top";
3347
+ } else if (node.linkTarget) {
3348
+ target = node.linkTarget || "_blank";
3349
+ }
3350
+ newEl = elem.insert("svg:a").attr("xlink:href", node.link).attr("target", target);
3351
+ el = await shapes[node.shape](newEl, node, renderOptions);
3352
+ } else {
3353
+ el = await shapes[node.shape](elem, node, renderOptions);
3354
+ newEl = el;
3355
+ }
3356
+ if (node.tooltip) {
3357
+ el.attr("title", node.tooltip);
3358
+ }
3359
+ if (node.class) {
3360
+ el.attr("class", "node default " + node.class);
3361
+ }
3362
+ nodeElems[node.id] = newEl;
3363
+ if (node.haveCallback) {
3364
+ nodeElems[node.id].attr("class", nodeElems[node.id].attr("class") + " clickable");
3365
+ }
3366
+ return newEl;
3367
+ }, "insertNode");
3368
+ var positionNode = /* @__PURE__ */ __name((node) => {
3369
+ const el = nodeElems[node.id];
3370
+ log.trace(
3371
+ "Transforming node",
3372
+ node.diff,
3373
+ node,
3374
+ "translate(" + (node.x - node.width / 2 - 5) + ", " + node.width / 2 + ")"
3375
+ );
3376
+ const padding2 = 8;
3377
+ const diff = node.diff || 0;
3378
+ if (node.clusterNode) {
3379
+ el.attr(
3380
+ "transform",
3381
+ "translate(" + (node.x + diff - node.width / 2) + ", " + (node.y - node.height / 2 - padding2) + ")"
3382
+ );
3383
+ } else {
3384
+ el.attr("transform", "translate(" + node.x + ", " + node.y + ")");
3385
+ }
3386
+ return diff;
3387
+ }, "positionNode");
3388
+
3389
+ // src/diagrams/block/renderHelpers.ts
3390
+ function getNodeFromBlock(block, db2, positioned = false) {
3391
+ const vertex = block;
3392
+ let classStr = "default";
3393
+ if ((vertex?.classes?.length || 0) > 0) {
3394
+ classStr = (vertex?.classes ?? []).join(" ");
3395
+ }
3396
+ classStr = classStr + " flowchart-label";
3397
+ let radius = 0;
3398
+ let shape = "";
3399
+ let padding2;
3400
+ switch (vertex.type) {
3401
+ case "round":
3402
+ radius = 5;
3403
+ shape = "rect";
3404
+ break;
3405
+ case "composite":
3406
+ radius = 0;
3407
+ shape = "composite";
3408
+ padding2 = 0;
3409
+ break;
3410
+ case "square":
3411
+ shape = "rect";
3412
+ break;
3413
+ case "diamond":
3414
+ shape = "question";
3415
+ break;
3416
+ case "hexagon":
3417
+ shape = "hexagon";
3418
+ break;
3419
+ case "block_arrow":
3420
+ shape = "block_arrow";
3421
+ break;
3422
+ case "odd":
3423
+ shape = "rect_left_inv_arrow";
3424
+ break;
3425
+ case "lean_right":
3426
+ shape = "lean_right";
3427
+ break;
3428
+ case "lean_left":
3429
+ shape = "lean_left";
3430
+ break;
3431
+ case "trapezoid":
3432
+ shape = "trapezoid";
3433
+ break;
3434
+ case "inv_trapezoid":
3435
+ shape = "inv_trapezoid";
3436
+ break;
3437
+ case "rect_left_inv_arrow":
3438
+ shape = "rect_left_inv_arrow";
3439
+ break;
3440
+ case "circle":
3441
+ shape = "circle";
3442
+ break;
3443
+ case "ellipse":
3444
+ shape = "ellipse";
3445
+ break;
3446
+ case "stadium":
3447
+ shape = "stadium";
3448
+ break;
3449
+ case "subroutine":
3450
+ shape = "subroutine";
3451
+ break;
3452
+ case "cylinder":
3453
+ shape = "cylinder";
3454
+ break;
3455
+ case "group":
3456
+ shape = "rect";
3457
+ break;
3458
+ case "doublecircle":
3459
+ shape = "doublecircle";
3460
+ break;
3461
+ default:
3462
+ shape = "rect";
3463
+ }
3464
+ const styles = getStylesFromArray(vertex?.styles ?? []);
3465
+ const vertexText = vertex.label;
3466
+ const bounds = vertex.size ?? { width: 0, height: 0, x: 0, y: 0 };
3467
+ const node = {
3468
+ labelStyle: styles.labelStyle,
3469
+ shape,
3470
+ labelText: vertexText,
3471
+ rx: radius,
3472
+ ry: radius,
3473
+ class: classStr,
3474
+ style: styles.style,
3475
+ id: vertex.id,
3476
+ directions: vertex.directions,
3477
+ width: bounds.width,
3478
+ height: bounds.height,
3479
+ x: bounds.x,
3480
+ y: bounds.y,
3481
+ positioned,
3482
+ intersect: void 0,
3483
+ type: vertex.type,
3484
+ padding: padding2 ?? getConfig()?.block?.padding ?? 0
3485
+ };
3486
+ return node;
3487
+ }
3488
+ __name(getNodeFromBlock, "getNodeFromBlock");
3489
+ async function calculateBlockSize(elem, block, db2) {
3490
+ const node = getNodeFromBlock(block, db2, false);
3491
+ if (node.type === "group") {
3492
+ return;
3493
+ }
3494
+ const config2 = getConfig();
3495
+ const nodeEl = await insertNode(elem, node, { config: config2 });
3496
+ const boundingBox = nodeEl.node().getBBox();
3497
+ const obj = db2.getBlock(node.id);
3498
+ obj.size = { width: boundingBox.width, height: boundingBox.height, x: 0, y: 0, node: nodeEl };
3499
+ db2.setBlock(obj);
3500
+ nodeEl.remove();
3501
+ }
3502
+ __name(calculateBlockSize, "calculateBlockSize");
3503
+ async function insertBlockPositioned(elem, block, db2) {
3504
+ const node = getNodeFromBlock(block, db2, true);
3505
+ const obj = db2.getBlock(node.id);
3506
+ if (obj.type !== "space") {
3507
+ const config2 = getConfig();
3508
+ await insertNode(elem, node, { config: config2 });
3509
+ block.intersect = node?.intersect;
3510
+ positionNode(node);
3511
+ }
3512
+ }
3513
+ __name(insertBlockPositioned, "insertBlockPositioned");
3514
+ async function performOperations(elem, blocks2, db2, operation) {
3515
+ for (const block of blocks2) {
3516
+ await operation(elem, block, db2);
3517
+ if (block.children) {
3518
+ await performOperations(elem, block.children, db2, operation);
3519
+ }
3520
+ }
3521
+ }
3522
+ __name(performOperations, "performOperations");
3523
+ async function calculateBlockSizes(elem, blocks2, db2) {
3524
+ await performOperations(elem, blocks2, db2, calculateBlockSize);
3525
+ }
3526
+ __name(calculateBlockSizes, "calculateBlockSizes");
3527
+ async function insertBlocks(elem, blocks2, db2) {
3528
+ await performOperations(elem, blocks2, db2, insertBlockPositioned);
3529
+ }
3530
+ __name(insertBlocks, "insertBlocks");
3531
+ async function insertEdges(elem, edges, blocks2, db2, id) {
3532
+ const g = new Graph({
3533
+ multigraph: true,
3534
+ compound: true
3535
+ });
3536
+ g.setGraph({
3537
+ rankdir: "TB",
3538
+ nodesep: 10,
3539
+ ranksep: 10,
3540
+ marginx: 8,
3541
+ marginy: 8
3542
+ });
3543
+ for (const block of blocks2) {
3544
+ if (block.size) {
3545
+ g.setNode(block.id, {
3546
+ width: block.size.width,
3547
+ height: block.size.height,
3548
+ intersect: block.intersect
3549
+ });
3550
+ }
3551
+ }
3552
+ for (const edge of edges) {
3553
+ if (edge.start && edge.end) {
3554
+ const startBlock = db2.getBlock(edge.start);
3555
+ const endBlock = db2.getBlock(edge.end);
3556
+ if (startBlock?.size && endBlock?.size) {
3557
+ const start2 = startBlock.size;
3558
+ const end2 = endBlock.size;
3559
+ const points = [
3560
+ { x: start2.x, y: start2.y },
3561
+ { x: start2.x + (end2.x - start2.x) / 2, y: start2.y + (end2.y - start2.y) / 2 },
3562
+ { x: end2.x, y: end2.y }
3563
+ ];
3564
+ insertEdge(
3565
+ elem,
3566
+ { v: edge.start, w: edge.end, name: edge.id },
3567
+ {
3568
+ ...edge,
3569
+ arrowTypeEnd: edge.arrowTypeEnd,
3570
+ arrowTypeStart: edge.arrowTypeStart,
3571
+ points,
3572
+ classes: "edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"
3573
+ },
3574
+ void 0,
3575
+ "block",
3576
+ g,
3577
+ id
3578
+ );
3579
+ if (edge.label) {
3580
+ await insertEdgeLabel(elem, {
3581
+ ...edge,
3582
+ label: edge.label,
3583
+ labelStyle: "stroke: #333; stroke-width: 1.5px;fill:none;",
3584
+ arrowTypeEnd: edge.arrowTypeEnd,
3585
+ arrowTypeStart: edge.arrowTypeStart,
3586
+ points,
3587
+ classes: "edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"
3588
+ });
3589
+ positionEdgeLabel(
3590
+ { ...edge, x: points[1].x, y: points[1].y },
3591
+ {
3592
+ originalPath: points
3593
+ }
3594
+ );
3595
+ }
3596
+ }
3597
+ }
3598
+ }
3599
+ }
3600
+ __name(insertEdges, "insertEdges");
3601
+
3602
+ // src/diagrams/block/blockRenderer.ts
3603
+ var getClasses2 = /* @__PURE__ */ __name(function(text, diagObj) {
3604
+ return diagObj.db.getClasses();
3605
+ }, "getClasses");
3606
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diagObj) {
3607
+ const { securityLevel, block: conf } = getConfig();
3608
+ const db2 = diagObj.db;
3609
+ let sandboxElement;
3610
+ if (securityLevel === "sandbox") {
3611
+ sandboxElement = select("#i" + id);
3612
+ }
3613
+ const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
3614
+ const svg = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select(`[id="${id}"]`);
3615
+ const markers2 = ["point", "circle", "cross"];
3616
+ markers_default(svg, markers2, diagObj.type, id);
3617
+ const bl = db2.getBlocks();
3618
+ const blArr = db2.getBlocksFlat();
3619
+ const edges = db2.getEdges();
3620
+ const nodes = svg.insert("g").attr("class", "block");
3621
+ await calculateBlockSizes(nodes, bl, db2);
3622
+ const bounds = layout(db2);
3623
+ await insertBlocks(nodes, bl, db2);
3624
+ await insertEdges(nodes, edges, blArr, db2, id);
3625
+ if (bounds) {
3626
+ const bounds2 = bounds;
3627
+ const magicFactor = Math.max(1, Math.round(0.125 * (bounds2.width / bounds2.height)));
3628
+ const height = bounds2.height + magicFactor + 10;
3629
+ const width = bounds2.width + 10;
3630
+ const { useMaxWidth } = conf;
3631
+ configureSvgSize(svg, height, width, !!useMaxWidth);
3632
+ log.debug("Here Bounds", bounds, bounds2);
3633
+ svg.attr(
3634
+ "viewBox",
3635
+ `${bounds2.x - 5} ${bounds2.y - 5} ${bounds2.width + 10} ${bounds2.height + 10}`
3636
+ );
3637
+ }
3638
+ }, "draw");
3639
+ var blockRenderer_default = {
3640
+ draw,
3641
+ getClasses: getClasses2
3642
+ };
3643
+
3644
+ // src/diagrams/block/blockDiagram.ts
3645
+ var diagram = {
3646
+ parser: block_default,
3647
+ db: blockDB_default,
3648
+ renderer: blockRenderer_default,
3649
+ styles: styles_default
3650
+ };
3651
+
3652
+ export { diagram };