@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,3893 @@
1
+ 'use strict';
2
+
3
+ var chunkTZMSLE5B = require('./chunk-TZMSLE5B.js');
4
+ var chunkMI3HLSF2 = require('./chunk-MI3HLSF2.js');
5
+ var chunkQZHKN3VN = require('./chunk-QZHKN3VN.js');
6
+ var chunkS3R3BYOJ = require('./chunk-S3R3BYOJ.js');
7
+ var chunkABZYJK2D = require('./chunk-ABZYJK2D.js');
8
+ var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');
9
+ require('../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.js');
10
+ require('../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js');
11
+ var index = require('../../../../../../../../_virtual/index.js');
12
+ var select = require('../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.js');
13
+
14
+ // src/diagrams/sequence/parser/sequenceDiagram.jison
15
+ var parser = (function() {
16
+ var o = /* @__PURE__ */ chunkAGHRB4JF.__name(function(k, v, o2, l) {
17
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
18
+ return o2;
19
+ }, "o"), $V0 = [1, 2], $V1 = [1, 3], $V2 = [1, 4], $V3 = [2, 4], $V4 = [1, 9], $V5 = [1, 11], $V6 = [1, 13], $V7 = [1, 14], $V8 = [1, 16], $V9 = [1, 17], $Va = [1, 18], $Vb = [1, 24], $Vc = [1, 25], $Vd = [1, 26], $Ve = [1, 27], $Vf = [1, 28], $Vg = [1, 29], $Vh = [1, 30], $Vi = [1, 31], $Vj = [1, 32], $Vk = [1, 33], $Vl = [1, 34], $Vm = [1, 35], $Vn = [1, 36], $Vo = [1, 37], $Vp = [1, 38], $Vq = [1, 39], $Vr = [1, 41], $Vs = [1, 42], $Vt = [1, 43], $Vu = [1, 44], $Vv = [1, 45], $Vw = [1, 46], $Vx = [1, 4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 48, 49, 50, 52, 53, 55, 60, 61, 62, 63, 71], $Vy = [2, 71], $Vz = [4, 5, 16, 50, 52, 53], $VA = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VB = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 49, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VC = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 48, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VD = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VE = [69, 70, 71], $VF = [1, 127];
20
+ var parser2 = {
21
+ trace: /* @__PURE__ */ chunkAGHRB4JF.__name(function trace() {
22
+ }, "trace"),
23
+ yy: {},
24
+ symbols_: { "error": 2, "start": 3, "SPACE": 4, "NEWLINE": 5, "SD": 6, "document": 7, "line": 8, "statement": 9, "box_section": 10, "box_line": 11, "participant_statement": 12, "create": 13, "box": 14, "restOfLine": 15, "end": 16, "signal": 17, "autonumber": 18, "NUM": 19, "off": 20, "activate": 21, "actor": 22, "deactivate": 23, "note_statement": 24, "links_statement": 25, "link_statement": 26, "properties_statement": 27, "details_statement": 28, "title": 29, "legacy_title": 30, "acc_title": 31, "acc_title_value": 32, "acc_descr": 33, "acc_descr_value": 34, "acc_descr_multiline_value": 35, "loop": 36, "rect": 37, "opt": 38, "alt": 39, "else_sections": 40, "par": 41, "par_sections": 42, "par_over": 43, "critical": 44, "option_sections": 45, "break": 46, "option": 47, "and": 48, "else": 49, "participant": 50, "AS": 51, "participant_actor": 52, "destroy": 53, "actor_with_config": 54, "note": 55, "placement": 56, "text2": 57, "over": 58, "actor_pair": 59, "links": 60, "link": 61, "properties": 62, "details": 63, "spaceList": 64, ",": 65, "left_of": 66, "right_of": 67, "signaltype": 68, "+": 69, "-": 70, "ACTOR": 71, "config_object": 72, "CONFIG_START": 73, "CONFIG_CONTENT": 74, "CONFIG_END": 75, "SOLID_OPEN_ARROW": 76, "DOTTED_OPEN_ARROW": 77, "SOLID_ARROW": 78, "BIDIRECTIONAL_SOLID_ARROW": 79, "DOTTED_ARROW": 80, "BIDIRECTIONAL_DOTTED_ARROW": 81, "SOLID_CROSS": 82, "DOTTED_CROSS": 83, "SOLID_POINT": 84, "DOTTED_POINT": 85, "TXT": 86, "$accept": 0, "$end": 1 },
25
+ terminals_: { 2: "error", 4: "SPACE", 5: "NEWLINE", 6: "SD", 13: "create", 14: "box", 15: "restOfLine", 16: "end", 18: "autonumber", 19: "NUM", 20: "off", 21: "activate", 23: "deactivate", 29: "title", 30: "legacy_title", 31: "acc_title", 32: "acc_title_value", 33: "acc_descr", 34: "acc_descr_value", 35: "acc_descr_multiline_value", 36: "loop", 37: "rect", 38: "opt", 39: "alt", 41: "par", 43: "par_over", 44: "critical", 46: "break", 47: "option", 48: "and", 49: "else", 50: "participant", 51: "AS", 52: "participant_actor", 53: "destroy", 55: "note", 58: "over", 60: "links", 61: "link", 62: "properties", 63: "details", 65: ",", 66: "left_of", 67: "right_of", 69: "+", 70: "-", 71: "ACTOR", 73: "CONFIG_START", 74: "CONFIG_CONTENT", 75: "CONFIG_END", 76: "SOLID_OPEN_ARROW", 77: "DOTTED_OPEN_ARROW", 78: "SOLID_ARROW", 79: "BIDIRECTIONAL_SOLID_ARROW", 80: "DOTTED_ARROW", 81: "BIDIRECTIONAL_DOTTED_ARROW", 82: "SOLID_CROSS", 83: "DOTTED_CROSS", 84: "SOLID_POINT", 85: "DOTTED_POINT", 86: "TXT" },
26
+ productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [10, 0], [10, 2], [11, 2], [11, 1], [11, 1], [9, 1], [9, 2], [9, 4], [9, 2], [9, 4], [9, 3], [9, 3], [9, 2], [9, 3], [9, 3], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [45, 1], [45, 4], [42, 1], [42, 4], [40, 1], [40, 4], [12, 5], [12, 3], [12, 5], [12, 3], [12, 3], [12, 3], [24, 4], [24, 4], [25, 3], [26, 3], [27, 3], [28, 3], [64, 2], [64, 1], [59, 3], [59, 1], [56, 1], [56, 1], [17, 5], [17, 5], [17, 4], [54, 2], [72, 3], [22, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [57, 1]],
27
+ performAction: /* @__PURE__ */ chunkAGHRB4JF.__name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
28
+ var $0 = $$.length - 1;
29
+ switch (yystate) {
30
+ case 3:
31
+ yy.apply($$[$0]);
32
+ return $$[$0];
33
+ case 4:
34
+ case 9:
35
+ this.$ = [];
36
+ break;
37
+ case 5:
38
+ case 10:
39
+ $$[$0 - 1].push($$[$0]);
40
+ this.$ = $$[$0 - 1];
41
+ break;
42
+ case 6:
43
+ case 7:
44
+ case 11:
45
+ case 12:
46
+ this.$ = $$[$0];
47
+ break;
48
+ case 8:
49
+ case 13:
50
+ this.$ = [];
51
+ break;
52
+ case 15:
53
+ $$[$0].type = "createParticipant";
54
+ this.$ = $$[$0];
55
+ break;
56
+ case 16:
57
+ $$[$0 - 1].unshift({ type: "boxStart", boxData: yy.parseBoxData($$[$0 - 2]) });
58
+ $$[$0 - 1].push({ type: "boxEnd", boxText: $$[$0 - 2] });
59
+ this.$ = $$[$0 - 1];
60
+ break;
61
+ case 18:
62
+ this.$ = { type: "sequenceIndex", sequenceIndex: Number($$[$0 - 2]), sequenceIndexStep: Number($$[$0 - 1]), sequenceVisible: true, signalType: yy.LINETYPE.AUTONUMBER };
63
+ break;
64
+ case 19:
65
+ this.$ = { type: "sequenceIndex", sequenceIndex: Number($$[$0 - 1]), sequenceIndexStep: 1, sequenceVisible: true, signalType: yy.LINETYPE.AUTONUMBER };
66
+ break;
67
+ case 20:
68
+ this.$ = { type: "sequenceIndex", sequenceVisible: false, signalType: yy.LINETYPE.AUTONUMBER };
69
+ break;
70
+ case 21:
71
+ this.$ = { type: "sequenceIndex", sequenceVisible: true, signalType: yy.LINETYPE.AUTONUMBER };
72
+ break;
73
+ case 22:
74
+ this.$ = { type: "activeStart", signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0 - 1].actor };
75
+ break;
76
+ case 23:
77
+ this.$ = { type: "activeEnd", signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0 - 1].actor };
78
+ break;
79
+ case 29:
80
+ yy.setDiagramTitle($$[$0].substring(6));
81
+ this.$ = $$[$0].substring(6);
82
+ break;
83
+ case 30:
84
+ yy.setDiagramTitle($$[$0].substring(7));
85
+ this.$ = $$[$0].substring(7);
86
+ break;
87
+ case 31:
88
+ this.$ = $$[$0].trim();
89
+ yy.setAccTitle(this.$);
90
+ break;
91
+ case 32:
92
+ case 33:
93
+ this.$ = $$[$0].trim();
94
+ yy.setAccDescription(this.$);
95
+ break;
96
+ case 34:
97
+ $$[$0 - 1].unshift({ type: "loopStart", loopText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.LOOP_START });
98
+ $$[$0 - 1].push({ type: "loopEnd", loopText: $$[$0 - 2], signalType: yy.LINETYPE.LOOP_END });
99
+ this.$ = $$[$0 - 1];
100
+ break;
101
+ case 35:
102
+ $$[$0 - 1].unshift({ type: "rectStart", color: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.RECT_START });
103
+ $$[$0 - 1].push({ type: "rectEnd", color: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.RECT_END });
104
+ this.$ = $$[$0 - 1];
105
+ break;
106
+ case 36:
107
+ $$[$0 - 1].unshift({ type: "optStart", optText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.OPT_START });
108
+ $$[$0 - 1].push({ type: "optEnd", optText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.OPT_END });
109
+ this.$ = $$[$0 - 1];
110
+ break;
111
+ case 37:
112
+ $$[$0 - 1].unshift({ type: "altStart", altText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.ALT_START });
113
+ $$[$0 - 1].push({ type: "altEnd", signalType: yy.LINETYPE.ALT_END });
114
+ this.$ = $$[$0 - 1];
115
+ break;
116
+ case 38:
117
+ $$[$0 - 1].unshift({ type: "parStart", parText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.PAR_START });
118
+ $$[$0 - 1].push({ type: "parEnd", signalType: yy.LINETYPE.PAR_END });
119
+ this.$ = $$[$0 - 1];
120
+ break;
121
+ case 39:
122
+ $$[$0 - 1].unshift({ type: "parStart", parText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.PAR_OVER_START });
123
+ $$[$0 - 1].push({ type: "parEnd", signalType: yy.LINETYPE.PAR_END });
124
+ this.$ = $$[$0 - 1];
125
+ break;
126
+ case 40:
127
+ $$[$0 - 1].unshift({ type: "criticalStart", criticalText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.CRITICAL_START });
128
+ $$[$0 - 1].push({ type: "criticalEnd", signalType: yy.LINETYPE.CRITICAL_END });
129
+ this.$ = $$[$0 - 1];
130
+ break;
131
+ case 41:
132
+ $$[$0 - 1].unshift({ type: "breakStart", breakText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.BREAK_START });
133
+ $$[$0 - 1].push({ type: "breakEnd", optText: yy.parseMessage($$[$0 - 2]), signalType: yy.LINETYPE.BREAK_END });
134
+ this.$ = $$[$0 - 1];
135
+ break;
136
+ case 43:
137
+ this.$ = $$[$0 - 3].concat([{ type: "option", optionText: yy.parseMessage($$[$0 - 1]), signalType: yy.LINETYPE.CRITICAL_OPTION }, $$[$0]]);
138
+ break;
139
+ case 45:
140
+ this.$ = $$[$0 - 3].concat([{ type: "and", parText: yy.parseMessage($$[$0 - 1]), signalType: yy.LINETYPE.PAR_AND }, $$[$0]]);
141
+ break;
142
+ case 47:
143
+ this.$ = $$[$0 - 3].concat([{ type: "else", altText: yy.parseMessage($$[$0 - 1]), signalType: yy.LINETYPE.ALT_ELSE }, $$[$0]]);
144
+ break;
145
+ case 48:
146
+ $$[$0 - 3].draw = "participant";
147
+ $$[$0 - 3].type = "addParticipant";
148
+ $$[$0 - 3].description = yy.parseMessage($$[$0 - 1]);
149
+ this.$ = $$[$0 - 3];
150
+ break;
151
+ case 49:
152
+ $$[$0 - 1].draw = "participant";
153
+ $$[$0 - 1].type = "addParticipant";
154
+ this.$ = $$[$0 - 1];
155
+ break;
156
+ case 50:
157
+ $$[$0 - 3].draw = "actor";
158
+ $$[$0 - 3].type = "addParticipant";
159
+ $$[$0 - 3].description = yy.parseMessage($$[$0 - 1]);
160
+ this.$ = $$[$0 - 3];
161
+ break;
162
+ case 51:
163
+ $$[$0 - 1].draw = "actor";
164
+ $$[$0 - 1].type = "addParticipant";
165
+ this.$ = $$[$0 - 1];
166
+ break;
167
+ case 52:
168
+ $$[$0 - 1].type = "destroyParticipant";
169
+ this.$ = $$[$0 - 1];
170
+ break;
171
+ case 53:
172
+ $$[$0 - 1].draw = "participant";
173
+ $$[$0 - 1].type = "addParticipant";
174
+ this.$ = $$[$0 - 1];
175
+ break;
176
+ case 54:
177
+ this.$ = [$$[$0 - 1], { type: "addNote", placement: $$[$0 - 2], actor: $$[$0 - 1].actor, text: $$[$0] }];
178
+ break;
179
+ case 55:
180
+ $$[$0 - 2] = [].concat($$[$0 - 1], $$[$0 - 1]).slice(0, 2);
181
+ $$[$0 - 2][0] = $$[$0 - 2][0].actor;
182
+ $$[$0 - 2][1] = $$[$0 - 2][1].actor;
183
+ this.$ = [$$[$0 - 1], { type: "addNote", placement: yy.PLACEMENT.OVER, actor: $$[$0 - 2].slice(0, 2), text: $$[$0] }];
184
+ break;
185
+ case 56:
186
+ this.$ = [$$[$0 - 1], { type: "addLinks", actor: $$[$0 - 1].actor, text: $$[$0] }];
187
+ break;
188
+ case 57:
189
+ this.$ = [$$[$0 - 1], { type: "addALink", actor: $$[$0 - 1].actor, text: $$[$0] }];
190
+ break;
191
+ case 58:
192
+ this.$ = [$$[$0 - 1], { type: "addProperties", actor: $$[$0 - 1].actor, text: $$[$0] }];
193
+ break;
194
+ case 59:
195
+ this.$ = [$$[$0 - 1], { type: "addDetails", actor: $$[$0 - 1].actor, text: $$[$0] }];
196
+ break;
197
+ case 62:
198
+ this.$ = [$$[$0 - 2], $$[$0]];
199
+ break;
200
+ case 63:
201
+ this.$ = $$[$0];
202
+ break;
203
+ case 64:
204
+ this.$ = yy.PLACEMENT.LEFTOF;
205
+ break;
206
+ case 65:
207
+ this.$ = yy.PLACEMENT.RIGHTOF;
208
+ break;
209
+ case 66:
210
+ this.$ = [
211
+ $$[$0 - 4],
212
+ $$[$0 - 1],
213
+ { type: "addMessage", from: $$[$0 - 4].actor, to: $$[$0 - 1].actor, signalType: $$[$0 - 3], msg: $$[$0], activate: true },
214
+ { type: "activeStart", signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0 - 1].actor }
215
+ ];
216
+ break;
217
+ case 67:
218
+ this.$ = [
219
+ $$[$0 - 4],
220
+ $$[$0 - 1],
221
+ { type: "addMessage", from: $$[$0 - 4].actor, to: $$[$0 - 1].actor, signalType: $$[$0 - 3], msg: $$[$0] },
222
+ { type: "activeEnd", signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0 - 4].actor }
223
+ ];
224
+ break;
225
+ case 68:
226
+ this.$ = [$$[$0 - 3], $$[$0 - 1], { type: "addMessage", from: $$[$0 - 3].actor, to: $$[$0 - 1].actor, signalType: $$[$0 - 2], msg: $$[$0] }];
227
+ break;
228
+ case 69:
229
+ this.$ = {
230
+ type: "addParticipant",
231
+ actor: $$[$0 - 1],
232
+ config: $$[$0]
233
+ };
234
+ break;
235
+ case 70:
236
+ this.$ = $$[$0 - 1].trim();
237
+ break;
238
+ case 71:
239
+ this.$ = { type: "addParticipant", actor: $$[$0] };
240
+ break;
241
+ case 72:
242
+ this.$ = yy.LINETYPE.SOLID_OPEN;
243
+ break;
244
+ case 73:
245
+ this.$ = yy.LINETYPE.DOTTED_OPEN;
246
+ break;
247
+ case 74:
248
+ this.$ = yy.LINETYPE.SOLID;
249
+ break;
250
+ case 75:
251
+ this.$ = yy.LINETYPE.BIDIRECTIONAL_SOLID;
252
+ break;
253
+ case 76:
254
+ this.$ = yy.LINETYPE.DOTTED;
255
+ break;
256
+ case 77:
257
+ this.$ = yy.LINETYPE.BIDIRECTIONAL_DOTTED;
258
+ break;
259
+ case 78:
260
+ this.$ = yy.LINETYPE.SOLID_CROSS;
261
+ break;
262
+ case 79:
263
+ this.$ = yy.LINETYPE.DOTTED_CROSS;
264
+ break;
265
+ case 80:
266
+ this.$ = yy.LINETYPE.SOLID_POINT;
267
+ break;
268
+ case 81:
269
+ this.$ = yy.LINETYPE.DOTTED_POINT;
270
+ break;
271
+ case 82:
272
+ this.$ = yy.parseMessage($$[$0].trim().substring(1));
273
+ break;
274
+ }
275
+ }, "anonymous"),
276
+ table: [{ 3: 1, 4: $V0, 5: $V1, 6: $V2 }, { 1: [3] }, { 3: 5, 4: $V0, 5: $V1, 6: $V2 }, { 3: 6, 4: $V0, 5: $V1, 6: $V2 }, o([1, 4, 5, 13, 14, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 50, 52, 53, 55, 60, 61, 62, 63, 71], $V3, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, o($Vx, [2, 5]), { 9: 47, 12: 12, 13: $V6, 14: $V7, 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, o($Vx, [2, 7]), o($Vx, [2, 8]), o($Vx, [2, 14]), { 12: 48, 50: $Vo, 52: $Vp, 53: $Vq }, { 15: [1, 49] }, { 5: [1, 50] }, { 5: [1, 53], 19: [1, 51], 20: [1, 52] }, { 22: 54, 71: $Vw }, { 22: 55, 71: $Vw }, { 5: [1, 56] }, { 5: [1, 57] }, { 5: [1, 58] }, { 5: [1, 59] }, { 5: [1, 60] }, o($Vx, [2, 29]), o($Vx, [2, 30]), { 32: [1, 61] }, { 34: [1, 62] }, o($Vx, [2, 33]), { 15: [1, 63] }, { 15: [1, 64] }, { 15: [1, 65] }, { 15: [1, 66] }, { 15: [1, 67] }, { 15: [1, 68] }, { 15: [1, 69] }, { 15: [1, 70] }, { 22: 71, 54: 72, 71: [1, 73] }, { 22: 74, 71: $Vw }, { 22: 75, 71: $Vw }, { 68: 76, 76: [1, 77], 77: [1, 78], 78: [1, 79], 79: [1, 80], 80: [1, 81], 81: [1, 82], 82: [1, 83], 83: [1, 84], 84: [1, 85], 85: [1, 86] }, { 56: 87, 58: [1, 88], 66: [1, 89], 67: [1, 90] }, { 22: 91, 71: $Vw }, { 22: 92, 71: $Vw }, { 22: 93, 71: $Vw }, { 22: 94, 71: $Vw }, o([5, 51, 65, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86], $Vy), o($Vx, [2, 6]), o($Vx, [2, 15]), o($Vz, [2, 9], { 10: 95 }), o($Vx, [2, 17]), { 5: [1, 97], 19: [1, 96] }, { 5: [1, 98] }, o($Vx, [2, 21]), { 5: [1, 99] }, { 5: [1, 100] }, o($Vx, [2, 24]), o($Vx, [2, 25]), o($Vx, [2, 26]), o($Vx, [2, 27]), o($Vx, [2, 28]), o($Vx, [2, 31]), o($Vx, [2, 32]), o($VA, $V3, { 7: 101 }), o($VA, $V3, { 7: 102 }), o($VA, $V3, { 7: 103 }), o($VB, $V3, { 40: 104, 7: 105 }), o($VC, $V3, { 42: 106, 7: 107 }), o($VC, $V3, { 7: 107, 42: 108 }), o($VD, $V3, { 45: 109, 7: 110 }), o($VA, $V3, { 7: 111 }), { 5: [1, 113], 51: [1, 112] }, { 5: [1, 114] }, o([5, 51], $Vy, { 72: 115, 73: [1, 116] }), { 5: [1, 118], 51: [1, 117] }, { 5: [1, 119] }, { 22: 122, 69: [1, 120], 70: [1, 121], 71: $Vw }, o($VE, [2, 72]), o($VE, [2, 73]), o($VE, [2, 74]), o($VE, [2, 75]), o($VE, [2, 76]), o($VE, [2, 77]), o($VE, [2, 78]), o($VE, [2, 79]), o($VE, [2, 80]), o($VE, [2, 81]), { 22: 123, 71: $Vw }, { 22: 125, 59: 124, 71: $Vw }, { 71: [2, 64] }, { 71: [2, 65] }, { 57: 126, 86: $VF }, { 57: 128, 86: $VF }, { 57: 129, 86: $VF }, { 57: 130, 86: $VF }, { 4: [1, 133], 5: [1, 135], 11: 132, 12: 134, 16: [1, 131], 50: $Vo, 52: $Vp, 53: $Vq }, { 5: [1, 136] }, o($Vx, [2, 19]), o($Vx, [2, 20]), o($Vx, [2, 22]), o($Vx, [2, 23]), { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 137], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 138], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 139], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 16: [1, 140] }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [2, 46], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 49: [1, 141], 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 16: [1, 142] }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [2, 44], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 48: [1, 143], 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 16: [1, 144] }, { 16: [1, 145] }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [2, 42], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 47: [1, 146], 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 147], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 15: [1, 148] }, o($Vx, [2, 49]), o($Vx, [2, 53]), { 5: [2, 69] }, { 74: [1, 149] }, { 15: [1, 150] }, o($Vx, [2, 51]), o($Vx, [2, 52]), { 22: 151, 71: $Vw }, { 22: 152, 71: $Vw }, { 57: 153, 86: $VF }, { 57: 154, 86: $VF }, { 57: 155, 86: $VF }, { 65: [1, 156], 86: [2, 63] }, { 5: [2, 56] }, { 5: [2, 82] }, { 5: [2, 57] }, { 5: [2, 58] }, { 5: [2, 59] }, o($Vx, [2, 16]), o($Vz, [2, 10]), { 12: 157, 50: $Vo, 52: $Vp, 53: $Vq }, o($Vz, [2, 12]), o($Vz, [2, 13]), o($Vx, [2, 18]), o($Vx, [2, 34]), o($Vx, [2, 35]), o($Vx, [2, 36]), o($Vx, [2, 37]), { 15: [1, 158] }, o($Vx, [2, 38]), { 15: [1, 159] }, o($Vx, [2, 39]), o($Vx, [2, 40]), { 15: [1, 160] }, o($Vx, [2, 41]), { 5: [1, 161] }, { 75: [1, 162] }, { 5: [1, 163] }, { 57: 164, 86: $VF }, { 57: 165, 86: $VF }, { 5: [2, 68] }, { 5: [2, 54] }, { 5: [2, 55] }, { 22: 166, 71: $Vw }, o($Vz, [2, 11]), o($VB, $V3, { 7: 105, 40: 167 }), o($VC, $V3, { 7: 107, 42: 168 }), o($VD, $V3, { 7: 110, 45: 169 }), o($Vx, [2, 48]), { 5: [2, 70] }, o($Vx, [2, 50]), { 5: [2, 66] }, { 5: [2, 67] }, { 86: [2, 62] }, { 16: [2, 47] }, { 16: [2, 45] }, { 16: [2, 43] }],
277
+ defaultActions: { 5: [2, 1], 6: [2, 2], 89: [2, 64], 90: [2, 65], 115: [2, 69], 126: [2, 56], 127: [2, 82], 128: [2, 57], 129: [2, 58], 130: [2, 59], 153: [2, 68], 154: [2, 54], 155: [2, 55], 162: [2, 70], 164: [2, 66], 165: [2, 67], 166: [2, 62], 167: [2, 47], 168: [2, 45], 169: [2, 43] },
278
+ parseError: /* @__PURE__ */ chunkAGHRB4JF.__name(function parseError(str, hash) {
279
+ if (hash.recoverable) {
280
+ this.trace(str);
281
+ } else {
282
+ var error = new Error(str);
283
+ error.hash = hash;
284
+ throw error;
285
+ }
286
+ }, "parseError"),
287
+ parse: /* @__PURE__ */ chunkAGHRB4JF.__name(function parse(input) {
288
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
289
+ var args = lstack.slice.call(arguments, 1);
290
+ var lexer2 = Object.create(this.lexer);
291
+ var sharedState = { yy: {} };
292
+ for (var k in this.yy) {
293
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
294
+ sharedState.yy[k] = this.yy[k];
295
+ }
296
+ }
297
+ lexer2.setInput(input, sharedState.yy);
298
+ sharedState.yy.lexer = lexer2;
299
+ sharedState.yy.parser = this;
300
+ if (typeof lexer2.yylloc == "undefined") {
301
+ lexer2.yylloc = {};
302
+ }
303
+ var yyloc = lexer2.yylloc;
304
+ lstack.push(yyloc);
305
+ var ranges = lexer2.options && lexer2.options.ranges;
306
+ if (typeof sharedState.yy.parseError === "function") {
307
+ this.parseError = sharedState.yy.parseError;
308
+ } else {
309
+ this.parseError = Object.getPrototypeOf(this).parseError;
310
+ }
311
+ function popStack(n) {
312
+ stack.length = stack.length - 2 * n;
313
+ vstack.length = vstack.length - n;
314
+ lstack.length = lstack.length - n;
315
+ }
316
+ chunkAGHRB4JF.__name(popStack, "popStack");
317
+ function lex() {
318
+ var token;
319
+ token = tstack.pop() || lexer2.lex() || EOF;
320
+ if (typeof token !== "number") {
321
+ if (token instanceof Array) {
322
+ tstack = token;
323
+ token = tstack.pop();
324
+ }
325
+ token = self.symbols_[token] || token;
326
+ }
327
+ return token;
328
+ }
329
+ chunkAGHRB4JF.__name(lex, "lex");
330
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
331
+ while (true) {
332
+ state = stack[stack.length - 1];
333
+ if (this.defaultActions[state]) {
334
+ action = this.defaultActions[state];
335
+ } else {
336
+ if (symbol === null || typeof symbol == "undefined") {
337
+ symbol = lex();
338
+ }
339
+ action = table[state] && table[state][symbol];
340
+ }
341
+ if (typeof action === "undefined" || !action.length || !action[0]) {
342
+ var errStr = "";
343
+ expected = [];
344
+ for (p in table[state]) {
345
+ if (this.terminals_[p] && p > TERROR) {
346
+ expected.push("'" + this.terminals_[p] + "'");
347
+ }
348
+ }
349
+ if (lexer2.showPosition) {
350
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
351
+ } else {
352
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
353
+ }
354
+ this.parseError(errStr, {
355
+ text: lexer2.match,
356
+ token: this.terminals_[symbol] || symbol,
357
+ line: lexer2.yylineno,
358
+ loc: yyloc,
359
+ expected
360
+ });
361
+ }
362
+ if (action[0] instanceof Array && action.length > 1) {
363
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
364
+ }
365
+ switch (action[0]) {
366
+ case 1:
367
+ stack.push(symbol);
368
+ vstack.push(lexer2.yytext);
369
+ lstack.push(lexer2.yylloc);
370
+ stack.push(action[1]);
371
+ symbol = null;
372
+ {
373
+ yyleng = lexer2.yyleng;
374
+ yytext = lexer2.yytext;
375
+ yylineno = lexer2.yylineno;
376
+ yyloc = lexer2.yylloc;
377
+ }
378
+ break;
379
+ case 2:
380
+ len = this.productions_[action[1]][1];
381
+ yyval.$ = vstack[vstack.length - len];
382
+ yyval._$ = {
383
+ first_line: lstack[lstack.length - (len || 1)].first_line,
384
+ last_line: lstack[lstack.length - 1].last_line,
385
+ first_column: lstack[lstack.length - (len || 1)].first_column,
386
+ last_column: lstack[lstack.length - 1].last_column
387
+ };
388
+ if (ranges) {
389
+ yyval._$.range = [
390
+ lstack[lstack.length - (len || 1)].range[0],
391
+ lstack[lstack.length - 1].range[1]
392
+ ];
393
+ }
394
+ r = this.performAction.apply(yyval, [
395
+ yytext,
396
+ yyleng,
397
+ yylineno,
398
+ sharedState.yy,
399
+ action[1],
400
+ vstack,
401
+ lstack
402
+ ].concat(args));
403
+ if (typeof r !== "undefined") {
404
+ return r;
405
+ }
406
+ if (len) {
407
+ stack = stack.slice(0, -1 * len * 2);
408
+ vstack = vstack.slice(0, -1 * len);
409
+ lstack = lstack.slice(0, -1 * len);
410
+ }
411
+ stack.push(this.productions_[action[1]][0]);
412
+ vstack.push(yyval.$);
413
+ lstack.push(yyval._$);
414
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
415
+ stack.push(newState);
416
+ break;
417
+ case 3:
418
+ return true;
419
+ }
420
+ }
421
+ return true;
422
+ }, "parse")
423
+ };
424
+ var lexer = /* @__PURE__ */ (function() {
425
+ var lexer2 = {
426
+ EOF: 1,
427
+ parseError: /* @__PURE__ */ chunkAGHRB4JF.__name(function parseError(str, hash) {
428
+ if (this.yy.parser) {
429
+ this.yy.parser.parseError(str, hash);
430
+ } else {
431
+ throw new Error(str);
432
+ }
433
+ }, "parseError"),
434
+ // resets the lexer, sets new input
435
+ setInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function(input, yy) {
436
+ this.yy = yy || this.yy || {};
437
+ this._input = input;
438
+ this._more = this._backtrack = this.done = false;
439
+ this.yylineno = this.yyleng = 0;
440
+ this.yytext = this.matched = this.match = "";
441
+ this.conditionStack = ["INITIAL"];
442
+ this.yylloc = {
443
+ first_line: 1,
444
+ first_column: 0,
445
+ last_line: 1,
446
+ last_column: 0
447
+ };
448
+ if (this.options.ranges) {
449
+ this.yylloc.range = [0, 0];
450
+ }
451
+ this.offset = 0;
452
+ return this;
453
+ }, "setInput"),
454
+ // consumes and returns one char from the input
455
+ input: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
456
+ var ch = this._input[0];
457
+ this.yytext += ch;
458
+ this.yyleng++;
459
+ this.offset++;
460
+ this.match += ch;
461
+ this.matched += ch;
462
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
463
+ if (lines) {
464
+ this.yylineno++;
465
+ this.yylloc.last_line++;
466
+ } else {
467
+ this.yylloc.last_column++;
468
+ }
469
+ if (this.options.ranges) {
470
+ this.yylloc.range[1]++;
471
+ }
472
+ this._input = this._input.slice(1);
473
+ return ch;
474
+ }, "input"),
475
+ // unshifts one char (or a string) into the input
476
+ unput: /* @__PURE__ */ chunkAGHRB4JF.__name(function(ch) {
477
+ var len = ch.length;
478
+ var lines = ch.split(/(?:\r\n?|\n)/g);
479
+ this._input = ch + this._input;
480
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
481
+ this.offset -= len;
482
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
483
+ this.match = this.match.substr(0, this.match.length - 1);
484
+ this.matched = this.matched.substr(0, this.matched.length - 1);
485
+ if (lines.length - 1) {
486
+ this.yylineno -= lines.length - 1;
487
+ }
488
+ var r = this.yylloc.range;
489
+ this.yylloc = {
490
+ first_line: this.yylloc.first_line,
491
+ last_line: this.yylineno + 1,
492
+ first_column: this.yylloc.first_column,
493
+ 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
494
+ };
495
+ if (this.options.ranges) {
496
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
497
+ }
498
+ this.yyleng = this.yytext.length;
499
+ return this;
500
+ }, "unput"),
501
+ // When called from action, caches matched text and appends it on next action
502
+ more: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
503
+ this._more = true;
504
+ return this;
505
+ }, "more"),
506
+ // 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.
507
+ reject: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
508
+ if (this.options.backtrack_lexer) {
509
+ this._backtrack = true;
510
+ } else {
511
+ 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(), {
512
+ text: "",
513
+ token: null,
514
+ line: this.yylineno
515
+ });
516
+ }
517
+ return this;
518
+ }, "reject"),
519
+ // retain first n characters of the match
520
+ less: /* @__PURE__ */ chunkAGHRB4JF.__name(function(n) {
521
+ this.unput(this.match.slice(n));
522
+ }, "less"),
523
+ // displays already matched input, i.e. for error messages
524
+ pastInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
525
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
526
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
527
+ }, "pastInput"),
528
+ // displays upcoming input, i.e. for error messages
529
+ upcomingInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
530
+ var next = this.match;
531
+ if (next.length < 20) {
532
+ next += this._input.substr(0, 20 - next.length);
533
+ }
534
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
535
+ }, "upcomingInput"),
536
+ // displays the character position where the lexing error occurred, i.e. for error messages
537
+ showPosition: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
538
+ var pre = this.pastInput();
539
+ var c = new Array(pre.length + 1).join("-");
540
+ return pre + this.upcomingInput() + "\n" + c + "^";
541
+ }, "showPosition"),
542
+ // test the lexed token: return FALSE when not a match, otherwise return token
543
+ test_match: /* @__PURE__ */ chunkAGHRB4JF.__name(function(match, indexed_rule) {
544
+ var token, lines, backup;
545
+ if (this.options.backtrack_lexer) {
546
+ backup = {
547
+ yylineno: this.yylineno,
548
+ yylloc: {
549
+ first_line: this.yylloc.first_line,
550
+ last_line: this.last_line,
551
+ first_column: this.yylloc.first_column,
552
+ last_column: this.yylloc.last_column
553
+ },
554
+ yytext: this.yytext,
555
+ match: this.match,
556
+ matches: this.matches,
557
+ matched: this.matched,
558
+ yyleng: this.yyleng,
559
+ offset: this.offset,
560
+ _more: this._more,
561
+ _input: this._input,
562
+ yy: this.yy,
563
+ conditionStack: this.conditionStack.slice(0),
564
+ done: this.done
565
+ };
566
+ if (this.options.ranges) {
567
+ backup.yylloc.range = this.yylloc.range.slice(0);
568
+ }
569
+ }
570
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
571
+ if (lines) {
572
+ this.yylineno += lines.length;
573
+ }
574
+ this.yylloc = {
575
+ first_line: this.yylloc.last_line,
576
+ last_line: this.yylineno + 1,
577
+ first_column: this.yylloc.last_column,
578
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
579
+ };
580
+ this.yytext += match[0];
581
+ this.match += match[0];
582
+ this.matches = match;
583
+ this.yyleng = this.yytext.length;
584
+ if (this.options.ranges) {
585
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
586
+ }
587
+ this._more = false;
588
+ this._backtrack = false;
589
+ this._input = this._input.slice(match[0].length);
590
+ this.matched += match[0];
591
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
592
+ if (this.done && this._input) {
593
+ this.done = false;
594
+ }
595
+ if (token) {
596
+ return token;
597
+ } else if (this._backtrack) {
598
+ for (var k in backup) {
599
+ this[k] = backup[k];
600
+ }
601
+ return false;
602
+ }
603
+ return false;
604
+ }, "test_match"),
605
+ // return next match in input
606
+ next: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
607
+ if (this.done) {
608
+ return this.EOF;
609
+ }
610
+ if (!this._input) {
611
+ this.done = true;
612
+ }
613
+ var token, match, tempMatch, index;
614
+ if (!this._more) {
615
+ this.yytext = "";
616
+ this.match = "";
617
+ }
618
+ var rules = this._currentRules();
619
+ for (var i = 0; i < rules.length; i++) {
620
+ tempMatch = this._input.match(this.rules[rules[i]]);
621
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
622
+ match = tempMatch;
623
+ index = i;
624
+ if (this.options.backtrack_lexer) {
625
+ token = this.test_match(tempMatch, rules[i]);
626
+ if (token !== false) {
627
+ return token;
628
+ } else if (this._backtrack) {
629
+ match = false;
630
+ continue;
631
+ } else {
632
+ return false;
633
+ }
634
+ } else if (!this.options.flex) {
635
+ break;
636
+ }
637
+ }
638
+ }
639
+ if (match) {
640
+ token = this.test_match(match, rules[index]);
641
+ if (token !== false) {
642
+ return token;
643
+ }
644
+ return false;
645
+ }
646
+ if (this._input === "") {
647
+ return this.EOF;
648
+ } else {
649
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
650
+ text: "",
651
+ token: null,
652
+ line: this.yylineno
653
+ });
654
+ }
655
+ }, "next"),
656
+ // return next match that has a token
657
+ lex: /* @__PURE__ */ chunkAGHRB4JF.__name(function lex() {
658
+ var r = this.next();
659
+ if (r) {
660
+ return r;
661
+ } else {
662
+ return this.lex();
663
+ }
664
+ }, "lex"),
665
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
666
+ begin: /* @__PURE__ */ chunkAGHRB4JF.__name(function begin(condition) {
667
+ this.conditionStack.push(condition);
668
+ }, "begin"),
669
+ // pop the previously active lexer condition state off the condition stack
670
+ popState: /* @__PURE__ */ chunkAGHRB4JF.__name(function popState() {
671
+ var n = this.conditionStack.length - 1;
672
+ if (n > 0) {
673
+ return this.conditionStack.pop();
674
+ } else {
675
+ return this.conditionStack[0];
676
+ }
677
+ }, "popState"),
678
+ // produce the lexer rule set which is active for the currently active lexer condition state
679
+ _currentRules: /* @__PURE__ */ chunkAGHRB4JF.__name(function _currentRules() {
680
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
681
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
682
+ } else {
683
+ return this.conditions["INITIAL"].rules;
684
+ }
685
+ }, "_currentRules"),
686
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
687
+ topState: /* @__PURE__ */ chunkAGHRB4JF.__name(function topState(n) {
688
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
689
+ if (n >= 0) {
690
+ return this.conditionStack[n];
691
+ } else {
692
+ return "INITIAL";
693
+ }
694
+ }, "topState"),
695
+ // alias for begin(condition)
696
+ pushState: /* @__PURE__ */ chunkAGHRB4JF.__name(function pushState(condition) {
697
+ this.begin(condition);
698
+ }, "pushState"),
699
+ // return the number of states currently on the stack
700
+ stateStackSize: /* @__PURE__ */ chunkAGHRB4JF.__name(function stateStackSize() {
701
+ return this.conditionStack.length;
702
+ }, "stateStackSize"),
703
+ options: { "case-insensitive": true },
704
+ performAction: /* @__PURE__ */ chunkAGHRB4JF.__name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
705
+ switch ($avoiding_name_collisions) {
706
+ case 0:
707
+ return 5;
708
+ case 1:
709
+ break;
710
+ case 2:
711
+ break;
712
+ case 3:
713
+ break;
714
+ case 4:
715
+ break;
716
+ case 5:
717
+ break;
718
+ case 6:
719
+ return 19;
720
+ case 7:
721
+ this.begin("CONFIG");
722
+ return 73;
723
+ case 8:
724
+ return 74;
725
+ case 9:
726
+ this.popState();
727
+ this.popState();
728
+ return 75;
729
+ case 10:
730
+ yy_.yytext = yy_.yytext.trim();
731
+ return 71;
732
+ case 11:
733
+ yy_.yytext = yy_.yytext.trim();
734
+ this.begin("ALIAS");
735
+ return 71;
736
+ case 12:
737
+ this.begin("LINE");
738
+ return 14;
739
+ case 13:
740
+ this.begin("ID");
741
+ return 50;
742
+ case 14:
743
+ this.begin("ID");
744
+ return 52;
745
+ case 15:
746
+ return 13;
747
+ case 16:
748
+ this.begin("ID");
749
+ return 53;
750
+ case 17:
751
+ yy_.yytext = yy_.yytext.trim();
752
+ this.begin("ALIAS");
753
+ return 71;
754
+ case 18:
755
+ this.popState();
756
+ this.popState();
757
+ this.begin("LINE");
758
+ return 51;
759
+ case 19:
760
+ this.popState();
761
+ this.popState();
762
+ return 5;
763
+ case 20:
764
+ this.begin("LINE");
765
+ return 36;
766
+ case 21:
767
+ this.begin("LINE");
768
+ return 37;
769
+ case 22:
770
+ this.begin("LINE");
771
+ return 38;
772
+ case 23:
773
+ this.begin("LINE");
774
+ return 39;
775
+ case 24:
776
+ this.begin("LINE");
777
+ return 49;
778
+ case 25:
779
+ this.begin("LINE");
780
+ return 41;
781
+ case 26:
782
+ this.begin("LINE");
783
+ return 43;
784
+ case 27:
785
+ this.begin("LINE");
786
+ return 48;
787
+ case 28:
788
+ this.begin("LINE");
789
+ return 44;
790
+ case 29:
791
+ this.begin("LINE");
792
+ return 47;
793
+ case 30:
794
+ this.begin("LINE");
795
+ return 46;
796
+ case 31:
797
+ this.popState();
798
+ return 15;
799
+ case 32:
800
+ return 16;
801
+ case 33:
802
+ return 66;
803
+ case 34:
804
+ return 67;
805
+ case 35:
806
+ return 60;
807
+ case 36:
808
+ return 61;
809
+ case 37:
810
+ return 62;
811
+ case 38:
812
+ return 63;
813
+ case 39:
814
+ return 58;
815
+ case 40:
816
+ return 55;
817
+ case 41:
818
+ this.begin("ID");
819
+ return 21;
820
+ case 42:
821
+ this.begin("ID");
822
+ return 23;
823
+ case 43:
824
+ return 29;
825
+ case 44:
826
+ return 30;
827
+ case 45:
828
+ this.begin("acc_title");
829
+ return 31;
830
+ case 46:
831
+ this.popState();
832
+ return "acc_title_value";
833
+ case 47:
834
+ this.begin("acc_descr");
835
+ return 33;
836
+ case 48:
837
+ this.popState();
838
+ return "acc_descr_value";
839
+ case 49:
840
+ this.begin("acc_descr_multiline");
841
+ break;
842
+ case 50:
843
+ this.popState();
844
+ break;
845
+ case 51:
846
+ return "acc_descr_multiline_value";
847
+ case 52:
848
+ return 6;
849
+ case 53:
850
+ return 18;
851
+ case 54:
852
+ return 20;
853
+ case 55:
854
+ return 65;
855
+ case 56:
856
+ return 5;
857
+ case 57:
858
+ yy_.yytext = yy_.yytext.trim();
859
+ return 71;
860
+ case 58:
861
+ return 78;
862
+ case 59:
863
+ return 79;
864
+ case 60:
865
+ return 80;
866
+ case 61:
867
+ return 81;
868
+ case 62:
869
+ return 76;
870
+ case 63:
871
+ return 77;
872
+ case 64:
873
+ return 82;
874
+ case 65:
875
+ return 83;
876
+ case 66:
877
+ return 84;
878
+ case 67:
879
+ return 85;
880
+ case 68:
881
+ return 86;
882
+ case 69:
883
+ return 86;
884
+ case 70:
885
+ return 69;
886
+ case 71:
887
+ return 70;
888
+ case 72:
889
+ return 5;
890
+ case 73:
891
+ return "INVALID";
892
+ }
893
+ }, "anonymous"),
894
+ rules: [/^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[0-9]+(?=[ \n]+))/i, /^(?:@\{)/i, /^(?:[^\}]+)/i, /^(?:\})/i, /^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i, /^(?:[^\<->\->:\n,;@]+?([\-]*[^\<->\->:\n,;@]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i, /^(?:box\b)/i, /^(?:participant\b)/i, /^(?:actor\b)/i, /^(?:create\b)/i, /^(?:destroy\b)/i, /^(?:[^<\->\->:\n,;]+?([\-]*[^<\->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i, /^(?:as\b)/i, /^(?:(?:))/i, /^(?:loop\b)/i, /^(?:rect\b)/i, /^(?:opt\b)/i, /^(?:alt\b)/i, /^(?:else\b)/i, /^(?:par\b)/i, /^(?:par_over\b)/i, /^(?:and\b)/i, /^(?:critical\b)/i, /^(?:option\b)/i, /^(?:break\b)/i, /^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i, /^(?:end\b)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:links\b)/i, /^(?:link\b)/i, /^(?:properties\b)/i, /^(?:details\b)/i, /^(?:over\b)/i, /^(?:note\b)/i, /^(?:activate\b)/i, /^(?:deactivate\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:title:\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:sequenceDiagram\b)/i, /^(?:autonumber\b)/i, /^(?:off\b)/i, /^(?:,)/i, /^(?:;)/i, /^(?:[^+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+<\->\->:\n,;]+)*)/i, /^(?:->>)/i, /^(?:<<->>)/i, /^(?:-->>)/i, /^(?:<<-->>)/i, /^(?:->)/i, /^(?:-->)/i, /^(?:-[x])/i, /^(?:--[x])/i, /^(?:-[\)])/i, /^(?:--[\)])/i, /^(?::(?:(?:no)?wrap)?[^#\n;]*)/i, /^(?::)/i, /^(?:\+)/i, /^(?:-)/i, /^(?:$)/i, /^(?:.)/i],
895
+ conditions: { "acc_descr_multiline": { "rules": [50, 51], "inclusive": false }, "acc_descr": { "rules": [48], "inclusive": false }, "acc_title": { "rules": [46], "inclusive": false }, "ID": { "rules": [2, 3, 7, 10, 11, 17], "inclusive": false }, "ALIAS": { "rules": [2, 3, 18, 19], "inclusive": false }, "LINE": { "rules": [2, 3, 31], "inclusive": false }, "CONFIG": { "rules": [8, 9], "inclusive": false }, "CONFIG_DATA": { "rules": [], "inclusive": false }, "INITIAL": { "rules": [0, 1, 3, 4, 5, 6, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 49, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73], "inclusive": true } }
896
+ };
897
+ return lexer2;
898
+ })();
899
+ parser2.lexer = lexer;
900
+ function Parser() {
901
+ this.yy = {};
902
+ }
903
+ chunkAGHRB4JF.__name(Parser, "Parser");
904
+ Parser.prototype = parser2;
905
+ parser2.Parser = Parser;
906
+ return new Parser();
907
+ })();
908
+ parser.parser = parser;
909
+ var sequenceDiagram_default = parser;
910
+
911
+ // src/diagrams/sequence/sequenceDb.ts
912
+ var LINETYPE = {
913
+ SOLID: 0,
914
+ DOTTED: 1,
915
+ NOTE: 2,
916
+ SOLID_CROSS: 3,
917
+ DOTTED_CROSS: 4,
918
+ SOLID_OPEN: 5,
919
+ DOTTED_OPEN: 6,
920
+ LOOP_START: 10,
921
+ LOOP_END: 11,
922
+ ALT_START: 12,
923
+ ALT_ELSE: 13,
924
+ ALT_END: 14,
925
+ OPT_START: 15,
926
+ OPT_END: 16,
927
+ ACTIVE_START: 17,
928
+ ACTIVE_END: 18,
929
+ PAR_START: 19,
930
+ PAR_AND: 20,
931
+ PAR_END: 21,
932
+ RECT_START: 22,
933
+ RECT_END: 23,
934
+ SOLID_POINT: 24,
935
+ DOTTED_POINT: 25,
936
+ AUTONUMBER: 26,
937
+ CRITICAL_START: 27,
938
+ CRITICAL_OPTION: 28,
939
+ CRITICAL_END: 29,
940
+ BREAK_START: 30,
941
+ BREAK_END: 31,
942
+ PAR_OVER_START: 32,
943
+ BIDIRECTIONAL_SOLID: 33,
944
+ BIDIRECTIONAL_DOTTED: 34
945
+ };
946
+ var ARROWTYPE = {
947
+ FILLED: 0,
948
+ OPEN: 1
949
+ };
950
+ var PLACEMENT = {
951
+ LEFTOF: 0,
952
+ RIGHTOF: 1,
953
+ OVER: 2
954
+ };
955
+ var PARTICIPANT_TYPE = {
956
+ ACTOR: "actor",
957
+ CONTROL: "control",
958
+ DATABASE: "database",
959
+ ENTITY: "entity"};
960
+ var SequenceDB = class {
961
+ constructor() {
962
+ this.state = new chunkQZHKN3VN.ImperativeState(() => ({
963
+ prevActor: void 0,
964
+ actors: /* @__PURE__ */ new Map(),
965
+ createdActors: /* @__PURE__ */ new Map(),
966
+ destroyedActors: /* @__PURE__ */ new Map(),
967
+ boxes: [],
968
+ messages: [],
969
+ notes: [],
970
+ sequenceNumbersEnabled: false,
971
+ wrapEnabled: void 0,
972
+ currentBox: void 0,
973
+ lastCreated: void 0,
974
+ lastDestroyed: void 0
975
+ }));
976
+ this.setAccTitle = chunkABZYJK2D.setAccTitle;
977
+ this.setAccDescription = chunkABZYJK2D.setAccDescription;
978
+ this.setDiagramTitle = chunkABZYJK2D.setDiagramTitle;
979
+ this.getAccTitle = chunkABZYJK2D.getAccTitle;
980
+ this.getAccDescription = chunkABZYJK2D.getAccDescription;
981
+ this.getDiagramTitle = chunkABZYJK2D.getDiagramTitle;
982
+ this.apply = this.apply.bind(this);
983
+ this.parseBoxData = this.parseBoxData.bind(this);
984
+ this.parseMessage = this.parseMessage.bind(this);
985
+ this.clear();
986
+ this.setWrap(chunkABZYJK2D.getConfig2().wrap);
987
+ this.LINETYPE = LINETYPE;
988
+ this.ARROWTYPE = ARROWTYPE;
989
+ this.PLACEMENT = PLACEMENT;
990
+ }
991
+ static {
992
+ chunkAGHRB4JF.__name(this, "SequenceDB");
993
+ }
994
+ addBox(data) {
995
+ this.state.records.boxes.push({
996
+ name: data.text,
997
+ wrap: data.wrap ?? this.autoWrap(),
998
+ fill: data.color,
999
+ actorKeys: []
1000
+ });
1001
+ this.state.records.currentBox = this.state.records.boxes.slice(-1)[0];
1002
+ }
1003
+ addActor(id, name, description, type, metadata) {
1004
+ let assignedBox = this.state.records.currentBox;
1005
+ let doc;
1006
+ if (metadata !== void 0) {
1007
+ let yamlData;
1008
+ if (!metadata.includes("\n")) {
1009
+ yamlData = "{\n" + metadata + "\n}";
1010
+ } else {
1011
+ yamlData = metadata + "\n";
1012
+ }
1013
+ doc = chunkMI3HLSF2.load(yamlData, { schema: chunkMI3HLSF2.JSON_SCHEMA });
1014
+ }
1015
+ type = doc?.type ?? type;
1016
+ const old = this.state.records.actors.get(id);
1017
+ if (old) {
1018
+ if (this.state.records.currentBox && old.box && this.state.records.currentBox !== old.box) {
1019
+ throw new Error(
1020
+ `A same participant should only be defined in one Box: ${old.name} can't be in '${old.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`
1021
+ );
1022
+ }
1023
+ assignedBox = old.box ? old.box : this.state.records.currentBox;
1024
+ old.box = assignedBox;
1025
+ if (old && name === old.name && description == null) {
1026
+ return;
1027
+ }
1028
+ }
1029
+ if (description?.text == null) {
1030
+ description = { text: name, type };
1031
+ }
1032
+ if (type == null || description.text == null) {
1033
+ description = { text: name, type };
1034
+ }
1035
+ this.state.records.actors.set(id, {
1036
+ box: assignedBox,
1037
+ name,
1038
+ description: description.text,
1039
+ wrap: description.wrap ?? this.autoWrap(),
1040
+ prevActor: this.state.records.prevActor,
1041
+ links: {},
1042
+ properties: {},
1043
+ actorCnt: null,
1044
+ rectData: null,
1045
+ type: type ?? "participant"
1046
+ });
1047
+ if (this.state.records.prevActor) {
1048
+ const prevActorInRecords = this.state.records.actors.get(this.state.records.prevActor);
1049
+ if (prevActorInRecords) {
1050
+ prevActorInRecords.nextActor = id;
1051
+ }
1052
+ }
1053
+ if (this.state.records.currentBox) {
1054
+ this.state.records.currentBox.actorKeys.push(id);
1055
+ }
1056
+ this.state.records.prevActor = id;
1057
+ }
1058
+ activationCount(part) {
1059
+ let i;
1060
+ let count = 0;
1061
+ if (!part) {
1062
+ return 0;
1063
+ }
1064
+ for (i = 0; i < this.state.records.messages.length; i++) {
1065
+ if (this.state.records.messages[i].type === this.LINETYPE.ACTIVE_START && this.state.records.messages[i].from === part) {
1066
+ count++;
1067
+ }
1068
+ if (this.state.records.messages[i].type === this.LINETYPE.ACTIVE_END && this.state.records.messages[i].from === part) {
1069
+ count--;
1070
+ }
1071
+ }
1072
+ return count;
1073
+ }
1074
+ addMessage(idFrom, idTo, message, answer) {
1075
+ this.state.records.messages.push({
1076
+ id: this.state.records.messages.length.toString(),
1077
+ from: idFrom,
1078
+ to: idTo,
1079
+ message: message.text,
1080
+ wrap: message.wrap ?? this.autoWrap(),
1081
+ answer
1082
+ });
1083
+ }
1084
+ addSignal(idFrom, idTo, message, messageType, activate = false) {
1085
+ if (messageType === this.LINETYPE.ACTIVE_END) {
1086
+ const cnt = this.activationCount(idFrom ?? "");
1087
+ if (cnt < 1) {
1088
+ const error = new Error("Trying to inactivate an inactive participant (" + idFrom + ")");
1089
+ error.hash = {
1090
+ text: "->>-",
1091
+ token: "->>-",
1092
+ line: "1",
1093
+ loc: { first_line: 1, last_line: 1, first_column: 1, last_column: 1 },
1094
+ expected: ["'ACTIVE_PARTICIPANT'"]
1095
+ };
1096
+ throw error;
1097
+ }
1098
+ }
1099
+ this.state.records.messages.push({
1100
+ id: this.state.records.messages.length.toString(),
1101
+ from: idFrom,
1102
+ to: idTo,
1103
+ message: message?.text ?? "",
1104
+ wrap: message?.wrap ?? this.autoWrap(),
1105
+ type: messageType,
1106
+ activate
1107
+ });
1108
+ return true;
1109
+ }
1110
+ hasAtLeastOneBox() {
1111
+ return this.state.records.boxes.length > 0;
1112
+ }
1113
+ hasAtLeastOneBoxWithTitle() {
1114
+ return this.state.records.boxes.some((b) => b.name);
1115
+ }
1116
+ getMessages() {
1117
+ return this.state.records.messages;
1118
+ }
1119
+ getBoxes() {
1120
+ return this.state.records.boxes;
1121
+ }
1122
+ getActors() {
1123
+ return this.state.records.actors;
1124
+ }
1125
+ getCreatedActors() {
1126
+ return this.state.records.createdActors;
1127
+ }
1128
+ getDestroyedActors() {
1129
+ return this.state.records.destroyedActors;
1130
+ }
1131
+ getActor(id) {
1132
+ return this.state.records.actors.get(id);
1133
+ }
1134
+ getActorKeys() {
1135
+ return [...this.state.records.actors.keys()];
1136
+ }
1137
+ enableSequenceNumbers() {
1138
+ this.state.records.sequenceNumbersEnabled = true;
1139
+ }
1140
+ disableSequenceNumbers() {
1141
+ this.state.records.sequenceNumbersEnabled = false;
1142
+ }
1143
+ showSequenceNumbers() {
1144
+ return this.state.records.sequenceNumbersEnabled;
1145
+ }
1146
+ setWrap(wrapSetting) {
1147
+ this.state.records.wrapEnabled = wrapSetting;
1148
+ }
1149
+ extractWrap(text) {
1150
+ if (text === void 0) {
1151
+ return {};
1152
+ }
1153
+ text = text.trim();
1154
+ const wrap = /^:?wrap:/.exec(text) !== null ? true : /^:?nowrap:/.exec(text) !== null ? false : void 0;
1155
+ const cleanedText = (wrap === void 0 ? text : text.replace(/^:?(?:no)?wrap:/, "")).trim();
1156
+ return { cleanedText, wrap };
1157
+ }
1158
+ autoWrap() {
1159
+ if (this.state.records.wrapEnabled !== void 0) {
1160
+ return this.state.records.wrapEnabled;
1161
+ }
1162
+ return chunkABZYJK2D.getConfig2().sequence?.wrap ?? false;
1163
+ }
1164
+ clear() {
1165
+ this.state.reset();
1166
+ chunkABZYJK2D.clear();
1167
+ }
1168
+ parseMessage(str) {
1169
+ const trimmedStr = str.trim();
1170
+ const { wrap, cleanedText } = this.extractWrap(trimmedStr);
1171
+ const message = {
1172
+ text: cleanedText,
1173
+ wrap
1174
+ };
1175
+ chunkAGHRB4JF.log.debug(`parseMessage: ${JSON.stringify(message)}`);
1176
+ return message;
1177
+ }
1178
+ // We expect the box statement to be color first then description
1179
+ // The color can be rgb,rgba,hsl,hsla, or css code names #hex codes are not supported for now because of the way the char # is handled
1180
+ // We extract first segment as color, the rest of the line is considered as text
1181
+ parseBoxData(str) {
1182
+ const match = /^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(str);
1183
+ let color = match?.[1] ? match[1].trim() : "transparent";
1184
+ let title = match?.[2] ? match[2].trim() : void 0;
1185
+ if (window?.CSS) {
1186
+ if (!window.CSS.supports("color", color)) {
1187
+ color = "transparent";
1188
+ title = str.trim();
1189
+ }
1190
+ } else {
1191
+ const style = new Option().style;
1192
+ style.color = color;
1193
+ if (style.color !== color) {
1194
+ color = "transparent";
1195
+ title = str.trim();
1196
+ }
1197
+ }
1198
+ const { wrap, cleanedText } = this.extractWrap(title);
1199
+ return {
1200
+ text: cleanedText ? chunkABZYJK2D.sanitizeText(cleanedText, chunkABZYJK2D.getConfig2()) : void 0,
1201
+ color,
1202
+ wrap
1203
+ };
1204
+ }
1205
+ addNote(actor, placement, message) {
1206
+ const note = {
1207
+ actor,
1208
+ placement,
1209
+ message: message.text,
1210
+ wrap: message.wrap ?? this.autoWrap()
1211
+ };
1212
+ const actors = [].concat(actor, actor);
1213
+ this.state.records.notes.push(note);
1214
+ this.state.records.messages.push({
1215
+ id: this.state.records.messages.length.toString(),
1216
+ from: actors[0],
1217
+ to: actors[1],
1218
+ message: message.text,
1219
+ wrap: message.wrap ?? this.autoWrap(),
1220
+ type: this.LINETYPE.NOTE,
1221
+ placement
1222
+ });
1223
+ }
1224
+ addLinks(actorId, text) {
1225
+ const actor = this.getActor(actorId);
1226
+ try {
1227
+ let sanitizedText = chunkABZYJK2D.sanitizeText(text.text, chunkABZYJK2D.getConfig2());
1228
+ sanitizedText = sanitizedText.replace(/&equals;/g, "=");
1229
+ sanitizedText = sanitizedText.replace(/&amp;/g, "&");
1230
+ const links = JSON.parse(sanitizedText);
1231
+ this.insertLinks(actor, links);
1232
+ } catch (e) {
1233
+ chunkAGHRB4JF.log.error("error while parsing actor link text", e);
1234
+ }
1235
+ }
1236
+ addALink(actorId, text) {
1237
+ const actor = this.getActor(actorId);
1238
+ try {
1239
+ const links = {};
1240
+ let sanitizedText = chunkABZYJK2D.sanitizeText(text.text, chunkABZYJK2D.getConfig2());
1241
+ const sep = sanitizedText.indexOf("@");
1242
+ sanitizedText = sanitizedText.replace(/&equals;/g, "=");
1243
+ sanitizedText = sanitizedText.replace(/&amp;/g, "&");
1244
+ const label = sanitizedText.slice(0, sep - 1).trim();
1245
+ const link = sanitizedText.slice(sep + 1).trim();
1246
+ links[label] = link;
1247
+ this.insertLinks(actor, links);
1248
+ } catch (e) {
1249
+ chunkAGHRB4JF.log.error("error while parsing actor link text", e);
1250
+ }
1251
+ }
1252
+ insertLinks(actor, links) {
1253
+ if (actor.links == null) {
1254
+ actor.links = links;
1255
+ } else {
1256
+ for (const key in links) {
1257
+ actor.links[key] = links[key];
1258
+ }
1259
+ }
1260
+ }
1261
+ addProperties(actorId, text) {
1262
+ const actor = this.getActor(actorId);
1263
+ try {
1264
+ const sanitizedText = chunkABZYJK2D.sanitizeText(text.text, chunkABZYJK2D.getConfig2());
1265
+ const properties = JSON.parse(sanitizedText);
1266
+ this.insertProperties(actor, properties);
1267
+ } catch (e) {
1268
+ chunkAGHRB4JF.log.error("error while parsing actor properties text", e);
1269
+ }
1270
+ }
1271
+ insertProperties(actor, properties) {
1272
+ if (actor.properties == null) {
1273
+ actor.properties = properties;
1274
+ } else {
1275
+ for (const key in properties) {
1276
+ actor.properties[key] = properties[key];
1277
+ }
1278
+ }
1279
+ }
1280
+ boxEnd() {
1281
+ this.state.records.currentBox = void 0;
1282
+ }
1283
+ addDetails(actorId, text) {
1284
+ const actor = this.getActor(actorId);
1285
+ const elem = document.getElementById(text.text);
1286
+ try {
1287
+ const text2 = elem.innerHTML;
1288
+ const details = JSON.parse(text2);
1289
+ if (details.properties) {
1290
+ this.insertProperties(actor, details.properties);
1291
+ }
1292
+ if (details.links) {
1293
+ this.insertLinks(actor, details.links);
1294
+ }
1295
+ } catch (e) {
1296
+ chunkAGHRB4JF.log.error("error while parsing actor details text", e);
1297
+ }
1298
+ }
1299
+ getActorProperty(actor, key) {
1300
+ if (actor?.properties !== void 0) {
1301
+ return actor.properties[key];
1302
+ }
1303
+ return void 0;
1304
+ }
1305
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-redundant-type-constituents
1306
+ apply(param) {
1307
+ if (Array.isArray(param)) {
1308
+ param.forEach((item) => {
1309
+ this.apply(item);
1310
+ });
1311
+ } else {
1312
+ switch (param.type) {
1313
+ case "sequenceIndex":
1314
+ this.state.records.messages.push({
1315
+ id: this.state.records.messages.length.toString(),
1316
+ from: void 0,
1317
+ to: void 0,
1318
+ message: {
1319
+ start: param.sequenceIndex,
1320
+ step: param.sequenceIndexStep,
1321
+ visible: param.sequenceVisible
1322
+ },
1323
+ wrap: false,
1324
+ type: param.signalType
1325
+ });
1326
+ break;
1327
+ case "addParticipant":
1328
+ this.addActor(param.actor, param.actor, param.description, param.draw, param.config);
1329
+ break;
1330
+ case "createParticipant":
1331
+ if (this.state.records.actors.has(param.actor)) {
1332
+ throw new Error(
1333
+ "It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior"
1334
+ );
1335
+ }
1336
+ this.state.records.lastCreated = param.actor;
1337
+ this.addActor(param.actor, param.actor, param.description, param.draw, param.config);
1338
+ this.state.records.createdActors.set(param.actor, this.state.records.messages.length);
1339
+ break;
1340
+ case "destroyParticipant":
1341
+ this.state.records.lastDestroyed = param.actor;
1342
+ this.state.records.destroyedActors.set(param.actor, this.state.records.messages.length);
1343
+ break;
1344
+ case "activeStart":
1345
+ this.addSignal(param.actor, void 0, void 0, param.signalType);
1346
+ break;
1347
+ case "activeEnd":
1348
+ this.addSignal(param.actor, void 0, void 0, param.signalType);
1349
+ break;
1350
+ case "addNote":
1351
+ this.addNote(param.actor, param.placement, param.text);
1352
+ break;
1353
+ case "addLinks":
1354
+ this.addLinks(param.actor, param.text);
1355
+ break;
1356
+ case "addALink":
1357
+ this.addALink(param.actor, param.text);
1358
+ break;
1359
+ case "addProperties":
1360
+ this.addProperties(param.actor, param.text);
1361
+ break;
1362
+ case "addDetails":
1363
+ this.addDetails(param.actor, param.text);
1364
+ break;
1365
+ case "addMessage":
1366
+ if (this.state.records.lastCreated) {
1367
+ if (param.to !== this.state.records.lastCreated) {
1368
+ throw new Error(
1369
+ "The created participant " + this.state.records.lastCreated.name + " does not have an associated creating message after its declaration. Please check the sequence diagram."
1370
+ );
1371
+ } else {
1372
+ this.state.records.lastCreated = void 0;
1373
+ }
1374
+ } else if (this.state.records.lastDestroyed) {
1375
+ if (param.to !== this.state.records.lastDestroyed && param.from !== this.state.records.lastDestroyed) {
1376
+ throw new Error(
1377
+ "The destroyed participant " + this.state.records.lastDestroyed.name + " does not have an associated destroying message after its declaration. Please check the sequence diagram."
1378
+ );
1379
+ } else {
1380
+ this.state.records.lastDestroyed = void 0;
1381
+ }
1382
+ }
1383
+ this.addSignal(param.from, param.to, param.msg, param.signalType, param.activate);
1384
+ break;
1385
+ case "boxStart":
1386
+ this.addBox(param.boxData);
1387
+ break;
1388
+ case "boxEnd":
1389
+ this.boxEnd();
1390
+ break;
1391
+ case "loopStart":
1392
+ this.addSignal(void 0, void 0, param.loopText, param.signalType);
1393
+ break;
1394
+ case "loopEnd":
1395
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1396
+ break;
1397
+ case "rectStart":
1398
+ this.addSignal(void 0, void 0, param.color, param.signalType);
1399
+ break;
1400
+ case "rectEnd":
1401
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1402
+ break;
1403
+ case "optStart":
1404
+ this.addSignal(void 0, void 0, param.optText, param.signalType);
1405
+ break;
1406
+ case "optEnd":
1407
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1408
+ break;
1409
+ case "altStart":
1410
+ this.addSignal(void 0, void 0, param.altText, param.signalType);
1411
+ break;
1412
+ case "else":
1413
+ this.addSignal(void 0, void 0, param.altText, param.signalType);
1414
+ break;
1415
+ case "altEnd":
1416
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1417
+ break;
1418
+ case "setAccTitle":
1419
+ chunkABZYJK2D.setAccTitle(param.text);
1420
+ break;
1421
+ case "parStart":
1422
+ this.addSignal(void 0, void 0, param.parText, param.signalType);
1423
+ break;
1424
+ case "and":
1425
+ this.addSignal(void 0, void 0, param.parText, param.signalType);
1426
+ break;
1427
+ case "parEnd":
1428
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1429
+ break;
1430
+ case "criticalStart":
1431
+ this.addSignal(void 0, void 0, param.criticalText, param.signalType);
1432
+ break;
1433
+ case "option":
1434
+ this.addSignal(void 0, void 0, param.optionText, param.signalType);
1435
+ break;
1436
+ case "criticalEnd":
1437
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1438
+ break;
1439
+ case "breakStart":
1440
+ this.addSignal(void 0, void 0, param.breakText, param.signalType);
1441
+ break;
1442
+ case "breakEnd":
1443
+ this.addSignal(void 0, void 0, void 0, param.signalType);
1444
+ break;
1445
+ }
1446
+ }
1447
+ }
1448
+ getConfig() {
1449
+ return chunkABZYJK2D.getConfig2().sequence;
1450
+ }
1451
+ };
1452
+
1453
+ // src/diagrams/sequence/styles.js
1454
+ var getStyles = /* @__PURE__ */ chunkAGHRB4JF.__name((options) => `.actor {
1455
+ stroke: ${options.actorBorder};
1456
+ fill: ${options.actorBkg};
1457
+ }
1458
+
1459
+ text.actor > tspan {
1460
+ fill: ${options.actorTextColor};
1461
+ stroke: none;
1462
+ }
1463
+
1464
+ .actor-line {
1465
+ stroke: ${options.actorLineColor};
1466
+ }
1467
+
1468
+ .innerArc {
1469
+ stroke-width: 1.5;
1470
+ stroke-dasharray: none;
1471
+ }
1472
+
1473
+ .messageLine0 {
1474
+ stroke-width: 1.5;
1475
+ stroke-dasharray: none;
1476
+ stroke: ${options.signalColor};
1477
+ }
1478
+
1479
+ .messageLine1 {
1480
+ stroke-width: 1.5;
1481
+ stroke-dasharray: 2, 2;
1482
+ stroke: ${options.signalColor};
1483
+ }
1484
+
1485
+ #arrowhead path {
1486
+ fill: ${options.signalColor};
1487
+ stroke: ${options.signalColor};
1488
+ }
1489
+
1490
+ .sequenceNumber {
1491
+ fill: ${options.sequenceNumberColor};
1492
+ }
1493
+
1494
+ #sequencenumber {
1495
+ fill: ${options.signalColor};
1496
+ }
1497
+
1498
+ #crosshead path {
1499
+ fill: ${options.signalColor};
1500
+ stroke: ${options.signalColor};
1501
+ }
1502
+
1503
+ .messageText {
1504
+ fill: ${options.signalTextColor};
1505
+ stroke: none;
1506
+ }
1507
+
1508
+ .labelBox {
1509
+ stroke: ${options.labelBoxBorderColor};
1510
+ fill: ${options.labelBoxBkgColor};
1511
+ }
1512
+
1513
+ .labelText, .labelText > tspan {
1514
+ fill: ${options.labelTextColor};
1515
+ stroke: none;
1516
+ }
1517
+
1518
+ .loopText, .loopText > tspan {
1519
+ fill: ${options.loopTextColor};
1520
+ stroke: none;
1521
+ }
1522
+
1523
+ .loopLine {
1524
+ stroke-width: 2px;
1525
+ stroke-dasharray: 2, 2;
1526
+ stroke: ${options.labelBoxBorderColor};
1527
+ fill: ${options.labelBoxBorderColor};
1528
+ }
1529
+
1530
+ .note {
1531
+ //stroke: #decc93;
1532
+ stroke: ${options.noteBorderColor};
1533
+ fill: ${options.noteBkgColor};
1534
+ }
1535
+
1536
+ .noteText, .noteText > tspan {
1537
+ fill: ${options.noteTextColor};
1538
+ stroke: none;
1539
+ }
1540
+
1541
+ .activation0 {
1542
+ fill: ${options.activationBkgColor};
1543
+ stroke: ${options.activationBorderColor};
1544
+ }
1545
+
1546
+ .activation1 {
1547
+ fill: ${options.activationBkgColor};
1548
+ stroke: ${options.activationBorderColor};
1549
+ }
1550
+
1551
+ .activation2 {
1552
+ fill: ${options.activationBkgColor};
1553
+ stroke: ${options.activationBorderColor};
1554
+ }
1555
+
1556
+ .actorPopupMenu {
1557
+ position: absolute;
1558
+ }
1559
+
1560
+ .actorPopupMenuPanel {
1561
+ position: absolute;
1562
+ fill: ${options.actorBkg};
1563
+ box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
1564
+ filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
1565
+ }
1566
+ .actor-man line {
1567
+ stroke: ${options.actorBorder};
1568
+ fill: ${options.actorBkg};
1569
+ }
1570
+ .actor-man circle, line {
1571
+ stroke: ${options.actorBorder};
1572
+ fill: ${options.actorBkg};
1573
+ stroke-width: 2px;
1574
+ }
1575
+
1576
+ `, "getStyles");
1577
+ var styles_default = getStyles;
1578
+ var ACTOR_TYPE_WIDTH = 18 * 2;
1579
+ var TOP_ACTOR_CLASS = "actor-top";
1580
+ var BOTTOM_ACTOR_CLASS = "actor-bottom";
1581
+ var ACTOR_BOX_CLASS = "actor-box";
1582
+ var ACTOR_MAN_FIGURE_CLASS = "actor-man";
1583
+ var drawRect2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, rectData) {
1584
+ return chunkTZMSLE5B.drawRect(elem, rectData);
1585
+ }, "drawRect");
1586
+ var drawPopup = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, minMenuWidth, textAttrs, forceMenus) {
1587
+ if (actor.links === void 0 || actor.links === null || Object.keys(actor.links).length === 0) {
1588
+ return { height: 0, width: 0 };
1589
+ }
1590
+ const links = actor.links;
1591
+ const actorCnt2 = actor.actorCnt;
1592
+ const rectData = actor.rectData;
1593
+ var displayValue = "none";
1594
+ if (forceMenus) {
1595
+ displayValue = "block !important";
1596
+ }
1597
+ const g = elem.append("g");
1598
+ g.attr("id", "actor" + actorCnt2 + "_popup");
1599
+ g.attr("class", "actorPopupMenu");
1600
+ g.attr("display", displayValue);
1601
+ var actorClass = "";
1602
+ if (rectData.class !== void 0) {
1603
+ actorClass = " " + rectData.class;
1604
+ }
1605
+ let menuWidth = rectData.width > minMenuWidth ? rectData.width : minMenuWidth;
1606
+ const rectElem = g.append("rect");
1607
+ rectElem.attr("class", "actorPopupMenuPanel" + actorClass);
1608
+ rectElem.attr("x", rectData.x);
1609
+ rectElem.attr("y", rectData.height);
1610
+ rectElem.attr("fill", rectData.fill);
1611
+ rectElem.attr("stroke", rectData.stroke);
1612
+ rectElem.attr("width", menuWidth);
1613
+ rectElem.attr("height", rectData.height);
1614
+ rectElem.attr("rx", rectData.rx);
1615
+ rectElem.attr("ry", rectData.ry);
1616
+ if (links != null) {
1617
+ var linkY = 20;
1618
+ for (let key in links) {
1619
+ var linkElem = g.append("a");
1620
+ var sanitizedLink = index.distExports.sanitizeUrl(links[key]);
1621
+ linkElem.attr("xlink:href", sanitizedLink);
1622
+ linkElem.attr("target", "_blank");
1623
+ _drawMenuItemTextCandidateFunc(textAttrs)(
1624
+ key,
1625
+ linkElem,
1626
+ rectData.x + 10,
1627
+ rectData.height + linkY,
1628
+ menuWidth,
1629
+ 20,
1630
+ { class: "actor" },
1631
+ textAttrs
1632
+ );
1633
+ linkY += 30;
1634
+ }
1635
+ }
1636
+ rectElem.attr("height", linkY);
1637
+ return { height: rectData.height + linkY, width: menuWidth };
1638
+ }, "drawPopup");
1639
+ var popupMenuToggle = /* @__PURE__ */ chunkAGHRB4JF.__name(function(popId) {
1640
+ return "var pu = document.getElementById('" + popId + "'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }";
1641
+ }, "popupMenuToggle");
1642
+ var drawKatex = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, textData, msgModel = null) {
1643
+ let textElem = elem.append("foreignObject");
1644
+ const linesSanitized = await chunkABZYJK2D.renderKatexSanitized(textData.text, chunkABZYJK2D.getConfig());
1645
+ const divElem = textElem.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(linesSanitized);
1646
+ const dim = divElem.node().getBoundingClientRect();
1647
+ textElem.attr("height", Math.round(dim.height)).attr("width", Math.round(dim.width));
1648
+ if (textData.class === "noteText") {
1649
+ const rectElem = elem.node().firstChild;
1650
+ rectElem.setAttribute("height", dim.height + 2 * textData.textMargin);
1651
+ const rectDim = rectElem.getBBox();
1652
+ textElem.attr("x", Math.round(rectDim.x + rectDim.width / 2 - dim.width / 2)).attr("y", Math.round(rectDim.y + rectDim.height / 2 - dim.height / 2));
1653
+ } else if (msgModel) {
1654
+ let { startx, stopx, starty } = msgModel;
1655
+ if (startx > stopx) {
1656
+ const temp = startx;
1657
+ startx = stopx;
1658
+ stopx = temp;
1659
+ }
1660
+ textElem.attr("x", Math.round(startx + Math.abs(startx - stopx) / 2 - dim.width / 2));
1661
+ if (textData.class === "loopText") {
1662
+ textElem.attr("y", Math.round(starty));
1663
+ } else {
1664
+ textElem.attr("y", Math.round(starty - dim.height));
1665
+ }
1666
+ }
1667
+ return [textElem];
1668
+ }, "drawKatex");
1669
+ var drawText = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, textData) {
1670
+ let prevTextHeight = 0;
1671
+ let textHeight = 0;
1672
+ const lines = textData.text.split(chunkABZYJK2D.common_default.lineBreakRegex);
1673
+ const [_textFontSize, _textFontSizePx] = chunkS3R3BYOJ.parseFontSize(textData.fontSize);
1674
+ let textElems = [];
1675
+ let dy = 0;
1676
+ let yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => textData.y, "yfunc");
1677
+ if (textData.valign !== void 0 && textData.textMargin !== void 0 && textData.textMargin > 0) {
1678
+ switch (textData.valign) {
1679
+ case "top":
1680
+ case "start":
1681
+ yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => Math.round(textData.y + textData.textMargin), "yfunc");
1682
+ break;
1683
+ case "middle":
1684
+ case "center":
1685
+ yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => Math.round(textData.y + (prevTextHeight + textHeight + textData.textMargin) / 2), "yfunc");
1686
+ break;
1687
+ case "bottom":
1688
+ case "end":
1689
+ yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => Math.round(
1690
+ textData.y + (prevTextHeight + textHeight + 2 * textData.textMargin) - textData.textMargin
1691
+ ), "yfunc");
1692
+ break;
1693
+ }
1694
+ }
1695
+ if (textData.anchor !== void 0 && textData.textMargin !== void 0 && textData.width !== void 0) {
1696
+ switch (textData.anchor) {
1697
+ case "left":
1698
+ case "start":
1699
+ textData.x = Math.round(textData.x + textData.textMargin);
1700
+ textData.anchor = "start";
1701
+ textData.dominantBaseline = "middle";
1702
+ textData.alignmentBaseline = "middle";
1703
+ break;
1704
+ case "middle":
1705
+ case "center":
1706
+ textData.x = Math.round(textData.x + textData.width / 2);
1707
+ textData.anchor = "middle";
1708
+ textData.dominantBaseline = "middle";
1709
+ textData.alignmentBaseline = "middle";
1710
+ break;
1711
+ case "right":
1712
+ case "end":
1713
+ textData.x = Math.round(textData.x + textData.width - textData.textMargin);
1714
+ textData.anchor = "end";
1715
+ textData.dominantBaseline = "middle";
1716
+ textData.alignmentBaseline = "middle";
1717
+ break;
1718
+ }
1719
+ }
1720
+ for (let [i, line] of lines.entries()) {
1721
+ if (textData.textMargin !== void 0 && textData.textMargin === 0 && _textFontSize !== void 0) {
1722
+ dy = i * _textFontSize;
1723
+ }
1724
+ const textElem = elem.append("text");
1725
+ textElem.attr("x", textData.x);
1726
+ textElem.attr("y", yfunc());
1727
+ if (textData.anchor !== void 0) {
1728
+ textElem.attr("text-anchor", textData.anchor).attr("dominant-baseline", textData.dominantBaseline).attr("alignment-baseline", textData.alignmentBaseline);
1729
+ }
1730
+ if (textData.fontFamily !== void 0) {
1731
+ textElem.style("font-family", textData.fontFamily);
1732
+ }
1733
+ if (_textFontSizePx !== void 0) {
1734
+ textElem.style("font-size", _textFontSizePx);
1735
+ }
1736
+ if (textData.fontWeight !== void 0) {
1737
+ textElem.style("font-weight", textData.fontWeight);
1738
+ }
1739
+ if (textData.fill !== void 0) {
1740
+ textElem.attr("fill", textData.fill);
1741
+ }
1742
+ if (textData.class !== void 0) {
1743
+ textElem.attr("class", textData.class);
1744
+ }
1745
+ if (textData.dy !== void 0) {
1746
+ textElem.attr("dy", textData.dy);
1747
+ } else if (dy !== 0) {
1748
+ textElem.attr("dy", dy);
1749
+ }
1750
+ const text = line || chunkS3R3BYOJ.ZERO_WIDTH_SPACE;
1751
+ if (textData.tspan) {
1752
+ const span = textElem.append("tspan");
1753
+ span.attr("x", textData.x);
1754
+ if (textData.fill !== void 0) {
1755
+ span.attr("fill", textData.fill);
1756
+ }
1757
+ span.text(text);
1758
+ } else {
1759
+ textElem.text(text);
1760
+ }
1761
+ if (textData.valign !== void 0 && textData.textMargin !== void 0 && textData.textMargin > 0) {
1762
+ textHeight += (textElem._groups || textElem)[0][0].getBBox().height;
1763
+ prevTextHeight = textHeight;
1764
+ }
1765
+ textElems.push(textElem);
1766
+ }
1767
+ return textElems;
1768
+ }, "drawText");
1769
+ var drawLabel = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, txtObject) {
1770
+ function genPoints(x, y, width, height, cut) {
1771
+ return x + "," + y + " " + (x + width) + "," + y + " " + (x + width) + "," + (y + height - cut) + " " + (x + width - cut * 1.2) + "," + (y + height) + " " + x + "," + (y + height);
1772
+ }
1773
+ chunkAGHRB4JF.__name(genPoints, "genPoints");
1774
+ const polygon = elem.append("polygon");
1775
+ polygon.attr("points", genPoints(txtObject.x, txtObject.y, txtObject.width, txtObject.height, 7));
1776
+ polygon.attr("class", "labelBox");
1777
+ txtObject.y = txtObject.y + txtObject.height / 2;
1778
+ drawText(elem, txtObject);
1779
+ return polygon;
1780
+ }, "drawLabel");
1781
+ var actorCnt = -1;
1782
+ var fixLifeLineHeights = /* @__PURE__ */ chunkAGHRB4JF.__name((diagram2, actors, actorKeys, conf2) => {
1783
+ if (!diagram2.select) {
1784
+ return;
1785
+ }
1786
+ actorKeys.forEach((actorKey) => {
1787
+ const actor = actors.get(actorKey);
1788
+ const actorDOM = diagram2.select("#actor" + actor.actorCnt);
1789
+ if (!conf2.mirrorActors && actor.stopy) {
1790
+ actorDOM.attr("y2", actor.stopy + actor.height / 2);
1791
+ } else if (conf2.mirrorActors) {
1792
+ actorDOM.attr("y2", actor.stopy);
1793
+ }
1794
+ });
1795
+ }, "fixLifeLineHeights");
1796
+ var drawActorTypeParticipant = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
1797
+ const actorY = isFooter ? actor.stopy : actor.starty;
1798
+ const center = actor.x + actor.width / 2;
1799
+ const centerY = actorY + actor.height;
1800
+ const boxplusLineGroup = elem.append("g").lower();
1801
+ var g = boxplusLineGroup;
1802
+ if (!isFooter) {
1803
+ actorCnt++;
1804
+ if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
1805
+ g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
1806
+ }
1807
+ g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
1808
+ g = boxplusLineGroup.append("g");
1809
+ actor.actorCnt = actorCnt;
1810
+ if (actor.links != null) {
1811
+ g.attr("id", "root-" + actorCnt);
1812
+ }
1813
+ }
1814
+ const rect = chunkTZMSLE5B.getNoteRect();
1815
+ var cssclass = "actor";
1816
+ if (actor.properties?.class) {
1817
+ cssclass = actor.properties.class;
1818
+ } else {
1819
+ rect.fill = "#eaeaea";
1820
+ }
1821
+ if (isFooter) {
1822
+ cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
1823
+ } else {
1824
+ cssclass += ` ${TOP_ACTOR_CLASS}`;
1825
+ }
1826
+ rect.x = actor.x;
1827
+ rect.y = actorY;
1828
+ rect.width = actor.width;
1829
+ rect.height = actor.height;
1830
+ rect.class = cssclass;
1831
+ rect.rx = 3;
1832
+ rect.ry = 3;
1833
+ rect.name = actor.name;
1834
+ const rectElem = drawRect2(g, rect);
1835
+ actor.rectData = rect;
1836
+ if (actor.properties?.icon) {
1837
+ const iconSrc = actor.properties.icon.trim();
1838
+ if (iconSrc.charAt(0) === "@") {
1839
+ chunkTZMSLE5B.drawEmbeddedImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc.substr(1));
1840
+ } else {
1841
+ chunkTZMSLE5B.drawImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc);
1842
+ }
1843
+ }
1844
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
1845
+ actor.description,
1846
+ g,
1847
+ rect.x,
1848
+ rect.y,
1849
+ rect.width,
1850
+ rect.height,
1851
+ { class: `actor ${ACTOR_BOX_CLASS}` },
1852
+ conf2
1853
+ );
1854
+ let height = actor.height;
1855
+ if (rectElem.node) {
1856
+ const bounds2 = rectElem.node().getBBox();
1857
+ actor.height = bounds2.height;
1858
+ height = bounds2.height;
1859
+ }
1860
+ return height;
1861
+ }, "drawActorTypeParticipant");
1862
+ var drawActorTypeCollections = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
1863
+ const actorY = isFooter ? actor.stopy : actor.starty;
1864
+ const center = actor.x + actor.width / 2;
1865
+ const centerY = actorY + actor.height;
1866
+ const boxplusLineGroup = elem.append("g").lower();
1867
+ var g = boxplusLineGroup;
1868
+ if (!isFooter) {
1869
+ actorCnt++;
1870
+ if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
1871
+ g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
1872
+ }
1873
+ g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
1874
+ g = boxplusLineGroup.append("g");
1875
+ actor.actorCnt = actorCnt;
1876
+ if (actor.links != null) {
1877
+ g.attr("id", "root-" + actorCnt);
1878
+ }
1879
+ }
1880
+ const rect = chunkTZMSLE5B.getNoteRect();
1881
+ var cssclass = "actor";
1882
+ if (actor.properties?.class) {
1883
+ cssclass = actor.properties.class;
1884
+ } else {
1885
+ rect.fill = "#eaeaea";
1886
+ }
1887
+ if (isFooter) {
1888
+ cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
1889
+ } else {
1890
+ cssclass += ` ${TOP_ACTOR_CLASS}`;
1891
+ }
1892
+ rect.x = actor.x;
1893
+ rect.y = actorY;
1894
+ rect.width = actor.width;
1895
+ rect.height = actor.height;
1896
+ rect.class = cssclass;
1897
+ rect.name = actor.name;
1898
+ const offset = 6;
1899
+ const shadowRect = {
1900
+ ...rect,
1901
+ x: rect.x + (isFooter ? -offset : -offset),
1902
+ y: rect.y + (isFooter ? +offset : +offset),
1903
+ class: "actor"
1904
+ };
1905
+ const rectElem = drawRect2(g, rect);
1906
+ drawRect2(g, shadowRect);
1907
+ actor.rectData = rect;
1908
+ if (actor.properties?.icon) {
1909
+ const iconSrc = actor.properties.icon.trim();
1910
+ if (iconSrc.charAt(0) === "@") {
1911
+ chunkTZMSLE5B.drawEmbeddedImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc.substr(1));
1912
+ } else {
1913
+ chunkTZMSLE5B.drawImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc);
1914
+ }
1915
+ }
1916
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
1917
+ actor.description,
1918
+ g,
1919
+ rect.x - offset,
1920
+ rect.y + offset,
1921
+ rect.width,
1922
+ rect.height,
1923
+ { class: `actor ${ACTOR_BOX_CLASS}` },
1924
+ conf2
1925
+ );
1926
+ let height = actor.height;
1927
+ if (rectElem.node) {
1928
+ const bounds2 = rectElem.node().getBBox();
1929
+ actor.height = bounds2.height;
1930
+ height = bounds2.height;
1931
+ }
1932
+ return height;
1933
+ }, "drawActorTypeCollections");
1934
+ var drawActorTypeQueue = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
1935
+ const actorY = isFooter ? actor.stopy : actor.starty;
1936
+ const center = actor.x + actor.width / 2;
1937
+ const centerY = actorY + actor.height;
1938
+ const boxplusLineGroup = elem.append("g").lower();
1939
+ let g = boxplusLineGroup;
1940
+ if (!isFooter) {
1941
+ actorCnt++;
1942
+ if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
1943
+ g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
1944
+ }
1945
+ g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
1946
+ g = boxplusLineGroup.append("g");
1947
+ actor.actorCnt = actorCnt;
1948
+ if (actor.links != null) {
1949
+ g.attr("id", "root-" + actorCnt);
1950
+ }
1951
+ }
1952
+ const rect = chunkTZMSLE5B.getNoteRect();
1953
+ let cssclass = "actor";
1954
+ if (actor.properties?.class) {
1955
+ cssclass = actor.properties.class;
1956
+ } else {
1957
+ rect.fill = "#eaeaea";
1958
+ }
1959
+ if (isFooter) {
1960
+ cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
1961
+ } else {
1962
+ cssclass += ` ${TOP_ACTOR_CLASS}`;
1963
+ }
1964
+ rect.x = actor.x;
1965
+ rect.y = actorY;
1966
+ rect.width = actor.width;
1967
+ rect.height = actor.height;
1968
+ rect.class = cssclass;
1969
+ rect.name = actor.name;
1970
+ const ry = rect.height / 2;
1971
+ const rx = ry / (2.5 + rect.height / 50);
1972
+ const cylinderGroup = g.append("g");
1973
+ const cylinderArc = g.append("g");
1974
+ cylinderGroup.append("path").attr(
1975
+ "d",
1976
+ `M ${rect.x},${rect.y + ry}
1977
+ a ${rx},${ry} 0 0 0 0,${rect.height}
1978
+ h ${rect.width - 2 * rx}
1979
+ a ${rx},${ry} 0 0 0 0,-${rect.height}
1980
+ Z
1981
+ `
1982
+ ).attr("class", cssclass);
1983
+ cylinderArc.append("path").attr(
1984
+ "d",
1985
+ `M ${rect.x},${rect.y + ry}
1986
+ a ${rx},${ry} 0 0 0 0,${rect.height}`
1987
+ ).attr("stroke", "#666").attr("stroke-width", "1px").attr("class", cssclass);
1988
+ cylinderGroup.attr("transform", `translate(${rx}, ${-(rect.height / 2)})`);
1989
+ cylinderArc.attr("transform", `translate(${rect.width - rx}, ${-rect.height / 2})`);
1990
+ actor.rectData = rect;
1991
+ if (actor.properties?.icon) {
1992
+ const iconSrc = actor.properties.icon.trim();
1993
+ const iconX = rect.x + rect.width - 20;
1994
+ const iconY = rect.y + 10;
1995
+ if (iconSrc.charAt(0) === "@") {
1996
+ chunkTZMSLE5B.drawEmbeddedImage(g, iconX, iconY, iconSrc.substr(1));
1997
+ } else {
1998
+ chunkTZMSLE5B.drawImage(g, iconX, iconY, iconSrc);
1999
+ }
2000
+ }
2001
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
2002
+ actor.description,
2003
+ g,
2004
+ rect.x,
2005
+ rect.y,
2006
+ rect.width,
2007
+ rect.height,
2008
+ { class: `actor ${ACTOR_BOX_CLASS}` },
2009
+ conf2
2010
+ );
2011
+ let height = actor.height;
2012
+ const lastPath = cylinderGroup.select("path:last-child");
2013
+ if (lastPath.node()) {
2014
+ const bounds2 = lastPath.node().getBBox();
2015
+ actor.height = bounds2.height;
2016
+ height = bounds2.height;
2017
+ }
2018
+ return height;
2019
+ }, "drawActorTypeQueue");
2020
+ var drawActorTypeControl = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
2021
+ const actorY = isFooter ? actor.stopy : actor.starty;
2022
+ const center = actor.x + actor.width / 2;
2023
+ const centerY = actorY + 75;
2024
+ const line = elem.append("g").lower();
2025
+ if (!isFooter) {
2026
+ actorCnt++;
2027
+ line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
2028
+ actor.actorCnt = actorCnt;
2029
+ }
2030
+ const actElem = elem.append("g");
2031
+ let cssClass = ACTOR_MAN_FIGURE_CLASS;
2032
+ if (isFooter) {
2033
+ cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
2034
+ } else {
2035
+ cssClass += ` ${TOP_ACTOR_CLASS}`;
2036
+ }
2037
+ actElem.attr("class", cssClass);
2038
+ actElem.attr("name", actor.name);
2039
+ const rect = chunkTZMSLE5B.getNoteRect();
2040
+ rect.x = actor.x;
2041
+ rect.y = actorY;
2042
+ rect.fill = "#eaeaea";
2043
+ rect.width = actor.width;
2044
+ rect.height = actor.height;
2045
+ rect.class = "actor";
2046
+ const cx = actor.x + actor.width / 2;
2047
+ const cy = actorY + 30;
2048
+ const r = 18;
2049
+ actElem.append("defs").append("marker").attr("id", "filled-head-control").attr("refX", 11).attr("refY", 5.8).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "172.5").append("path").attr("d", "M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z");
2050
+ actElem.append("circle").attr("cx", cx).attr("cy", cy).attr("r", r).attr("fill", "#eaeaf7").attr("stroke", "#666").attr("stroke-width", 1.2);
2051
+ actElem.append("line").attr("marker-end", "url(#filled-head-control)").attr("transform", `translate(${cx}, ${cy - r})`);
2052
+ const bounds2 = actElem.node().getBBox();
2053
+ actor.height = bounds2.height + 2 * (conf2?.sequence?.labelBoxHeight ?? 0);
2054
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
2055
+ actor.description,
2056
+ actElem,
2057
+ rect.x,
2058
+ rect.y + r + (isFooter ? 5 : 10),
2059
+ rect.width,
2060
+ rect.height,
2061
+ { class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
2062
+ conf2
2063
+ );
2064
+ return actor.height;
2065
+ }, "drawActorTypeControl");
2066
+ var drawActorTypeEntity = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
2067
+ const actorY = isFooter ? actor.stopy : actor.starty;
2068
+ const center = actor.x + actor.width / 2;
2069
+ const centerY = actorY + 75;
2070
+ const line = elem.append("g").lower();
2071
+ const actElem = elem.append("g");
2072
+ let cssClass = ACTOR_MAN_FIGURE_CLASS;
2073
+ if (isFooter) {
2074
+ cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
2075
+ } else {
2076
+ cssClass += ` ${TOP_ACTOR_CLASS}`;
2077
+ }
2078
+ actElem.attr("class", cssClass);
2079
+ actElem.attr("name", actor.name);
2080
+ const rect = chunkTZMSLE5B.getNoteRect();
2081
+ rect.x = actor.x;
2082
+ rect.y = actorY;
2083
+ rect.fill = "#eaeaea";
2084
+ rect.width = actor.width;
2085
+ rect.height = actor.height;
2086
+ rect.class = "actor";
2087
+ const cx = actor.x + actor.width / 2;
2088
+ const cy = actorY + (!isFooter ? 25 : 10);
2089
+ const r = 18;
2090
+ actElem.append("circle").attr("cx", cx).attr("cy", cy).attr("r", r).attr("width", actor.width).attr("height", actor.height);
2091
+ actElem.append("line").attr("x1", cx - r).attr("x2", cx + r).attr("y1", cy + r).attr("y2", cy + r).attr("stroke", "#333").attr("stroke-width", 2);
2092
+ const bounds2 = actElem.node().getBBox();
2093
+ actor.height = bounds2.height + (conf2?.sequence?.labelBoxHeight ?? 0);
2094
+ if (!isFooter) {
2095
+ actorCnt++;
2096
+ line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
2097
+ actor.actorCnt = actorCnt;
2098
+ }
2099
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
2100
+ actor.description,
2101
+ actElem,
2102
+ rect.x,
2103
+ rect.y + (!isFooter ? (cy + r - actorY) / 2 : (cy - actorY + r - 5) / 2),
2104
+ rect.width,
2105
+ rect.height,
2106
+ { class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
2107
+ conf2
2108
+ );
2109
+ if (!isFooter) {
2110
+ actElem.attr("transform", `translate(${0}, ${r / 2})`);
2111
+ } else {
2112
+ actElem.attr("transform", `translate(${0}, ${r / 2})`);
2113
+ }
2114
+ return actor.height;
2115
+ }, "drawActorTypeEntity");
2116
+ var drawActorTypeDatabase = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
2117
+ const actorY = isFooter ? actor.stopy : actor.starty;
2118
+ const center = actor.x + actor.width / 2;
2119
+ const centerY = actorY + actor.height + 2 * conf2.boxTextMargin;
2120
+ const boxplusLineGroup = elem.append("g").lower();
2121
+ let g = boxplusLineGroup;
2122
+ if (!isFooter) {
2123
+ actorCnt++;
2124
+ if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
2125
+ g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
2126
+ }
2127
+ g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
2128
+ g = boxplusLineGroup.append("g");
2129
+ actor.actorCnt = actorCnt;
2130
+ if (actor.links != null) {
2131
+ g.attr("id", "root-" + actorCnt);
2132
+ }
2133
+ }
2134
+ const rect = chunkTZMSLE5B.getNoteRect();
2135
+ let cssclass = "actor";
2136
+ if (actor.properties?.class) {
2137
+ cssclass = actor.properties.class;
2138
+ } else {
2139
+ rect.fill = "#eaeaea";
2140
+ }
2141
+ if (isFooter) {
2142
+ cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
2143
+ } else {
2144
+ cssclass += ` ${TOP_ACTOR_CLASS}`;
2145
+ }
2146
+ rect.x = actor.x;
2147
+ rect.y = actorY;
2148
+ rect.width = actor.width;
2149
+ rect.height = actor.height;
2150
+ rect.class = cssclass;
2151
+ rect.name = actor.name;
2152
+ rect.x = actor.x;
2153
+ rect.y = actorY;
2154
+ const w = rect.width / 4;
2155
+ const h = rect.width / 4;
2156
+ const rx = w / 2;
2157
+ const ry = rx / (2.5 + w / 50);
2158
+ const cylinderGroup = g.append("g");
2159
+ const d = `
2160
+ M ${rect.x},${rect.y + ry}
2161
+ a ${rx},${ry} 0 0 0 ${w},0
2162
+ a ${rx},${ry} 0 0 0 -${w},0
2163
+ l 0,${h - 2 * ry}
2164
+ a ${rx},${ry} 0 0 0 ${w},0
2165
+ l 0,-${h - 2 * ry}
2166
+ `;
2167
+ cylinderGroup.append("path").attr("d", d).attr("fill", "#eaeaea").attr("stroke", "#000").attr("stroke-width", 1).attr("class", cssclass);
2168
+ if (!isFooter) {
2169
+ cylinderGroup.attr("transform", `translate(${w * 1.5}, ${(rect.height + ry) / 4})`);
2170
+ } else {
2171
+ cylinderGroup.attr("transform", `translate(${w * 1.5}, ${rect.height / 4 - 2 * ry})`);
2172
+ }
2173
+ actor.rectData = rect;
2174
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
2175
+ actor.description,
2176
+ g,
2177
+ rect.x,
2178
+ rect.y + (!isFooter ? (rect.height + ry) / 2 : (rect.height + h) / 4),
2179
+ rect.width,
2180
+ rect.height,
2181
+ { class: `actor ${ACTOR_BOX_CLASS}` },
2182
+ conf2
2183
+ );
2184
+ const lastPath = cylinderGroup.select("path:last-child");
2185
+ if (lastPath.node()) {
2186
+ const bounds2 = lastPath.node().getBBox();
2187
+ actor.height = bounds2.height + (conf2.sequence.labelBoxHeight ?? 0);
2188
+ }
2189
+ return actor.height;
2190
+ }, "drawActorTypeDatabase");
2191
+ var drawActorTypeBoundary = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
2192
+ const actorY = isFooter ? actor.stopy : actor.starty;
2193
+ const center = actor.x + actor.width / 2;
2194
+ const centerY = actorY + 80;
2195
+ const radius = 30;
2196
+ const line = elem.append("g").lower();
2197
+ if (!isFooter) {
2198
+ actorCnt++;
2199
+ line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
2200
+ actor.actorCnt = actorCnt;
2201
+ }
2202
+ const actElem = elem.append("g");
2203
+ let cssClass = ACTOR_MAN_FIGURE_CLASS;
2204
+ if (isFooter) {
2205
+ cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
2206
+ } else {
2207
+ cssClass += ` ${TOP_ACTOR_CLASS}`;
2208
+ }
2209
+ actElem.attr("class", cssClass);
2210
+ actElem.attr("name", actor.name);
2211
+ const rect = chunkTZMSLE5B.getNoteRect();
2212
+ rect.x = actor.x;
2213
+ rect.y = actorY;
2214
+ rect.fill = "#eaeaea";
2215
+ rect.width = actor.width;
2216
+ rect.height = actor.height;
2217
+ rect.class = "actor";
2218
+ actElem.append("line").attr("id", "actor-man-torso" + actorCnt).attr("x1", actor.x + actor.width / 2 - radius * 2.5).attr("y1", actorY + 10).attr("x2", actor.x + actor.width / 2 - 15).attr("y2", actorY + 10);
2219
+ actElem.append("line").attr("id", "actor-man-arms" + actorCnt).attr("x1", actor.x + actor.width / 2 - radius * 2.5).attr("y1", actorY + 0).attr("x2", actor.x + actor.width / 2 - radius * 2.5).attr("y2", actorY + 20);
2220
+ actElem.append("circle").attr("cx", actor.x + actor.width / 2).attr("cy", actorY + 10).attr("r", radius);
2221
+ const bounds2 = actElem.node().getBBox();
2222
+ actor.height = bounds2.height + (conf2.sequence.labelBoxHeight ?? 0);
2223
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
2224
+ actor.description,
2225
+ actElem,
2226
+ rect.x,
2227
+ rect.y + (!isFooter ? radius / 2 + 3 : radius / 2 - 4),
2228
+ rect.width,
2229
+ rect.height,
2230
+ { class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
2231
+ conf2
2232
+ );
2233
+ if (!isFooter) {
2234
+ actElem.attr("transform", `translate(0,${radius / 2 + 7})`);
2235
+ } else {
2236
+ actElem.attr("transform", `translate(0,${radius / 2 + 7})`);
2237
+ }
2238
+ return actor.height;
2239
+ }, "drawActorTypeBoundary");
2240
+ var drawActorTypeActor = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
2241
+ const actorY = isFooter ? actor.stopy : actor.starty;
2242
+ const center = actor.x + actor.width / 2;
2243
+ const centerY = actorY + 80;
2244
+ const line = elem.append("g").lower();
2245
+ if (!isFooter) {
2246
+ actorCnt++;
2247
+ line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
2248
+ actor.actorCnt = actorCnt;
2249
+ }
2250
+ const actElem = elem.append("g");
2251
+ let cssClass = ACTOR_MAN_FIGURE_CLASS;
2252
+ if (isFooter) {
2253
+ cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
2254
+ } else {
2255
+ cssClass += ` ${TOP_ACTOR_CLASS}`;
2256
+ }
2257
+ actElem.attr("class", cssClass);
2258
+ actElem.attr("name", actor.name);
2259
+ const rect = chunkTZMSLE5B.getNoteRect();
2260
+ rect.x = actor.x;
2261
+ rect.y = actorY;
2262
+ rect.fill = "#eaeaea";
2263
+ rect.width = actor.width;
2264
+ rect.height = actor.height;
2265
+ rect.class = "actor";
2266
+ rect.rx = 3;
2267
+ rect.ry = 3;
2268
+ actElem.append("line").attr("id", "actor-man-torso" + actorCnt).attr("x1", center).attr("y1", actorY + 25).attr("x2", center).attr("y2", actorY + 45);
2269
+ actElem.append("line").attr("id", "actor-man-arms" + actorCnt).attr("x1", center - ACTOR_TYPE_WIDTH / 2).attr("y1", actorY + 33).attr("x2", center + ACTOR_TYPE_WIDTH / 2).attr("y2", actorY + 33);
2270
+ actElem.append("line").attr("x1", center - ACTOR_TYPE_WIDTH / 2).attr("y1", actorY + 60).attr("x2", center).attr("y2", actorY + 45);
2271
+ actElem.append("line").attr("x1", center).attr("y1", actorY + 45).attr("x2", center + ACTOR_TYPE_WIDTH / 2 - 2).attr("y2", actorY + 60);
2272
+ const circle = actElem.append("circle");
2273
+ circle.attr("cx", actor.x + actor.width / 2);
2274
+ circle.attr("cy", actorY + 10);
2275
+ circle.attr("r", 15);
2276
+ circle.attr("width", actor.width);
2277
+ circle.attr("height", actor.height);
2278
+ const bounds2 = actElem.node().getBBox();
2279
+ actor.height = bounds2.height;
2280
+ _drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
2281
+ actor.description,
2282
+ actElem,
2283
+ rect.x,
2284
+ rect.y + 35,
2285
+ rect.width,
2286
+ rect.height,
2287
+ { class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
2288
+ conf2
2289
+ );
2290
+ return actor.height;
2291
+ }, "drawActorTypeActor");
2292
+ var drawActor = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, actor, conf2, isFooter) {
2293
+ switch (actor.type) {
2294
+ case "actor":
2295
+ return await drawActorTypeActor(elem, actor, conf2, isFooter);
2296
+ case "participant":
2297
+ return await drawActorTypeParticipant(elem, actor, conf2, isFooter);
2298
+ case "boundary":
2299
+ return await drawActorTypeBoundary(elem, actor, conf2, isFooter);
2300
+ case "control":
2301
+ return await drawActorTypeControl(elem, actor, conf2, isFooter);
2302
+ case "entity":
2303
+ return await drawActorTypeEntity(elem, actor, conf2, isFooter);
2304
+ case "database":
2305
+ return await drawActorTypeDatabase(elem, actor, conf2, isFooter);
2306
+ case "collections":
2307
+ return await drawActorTypeCollections(elem, actor, conf2, isFooter);
2308
+ case "queue":
2309
+ return await drawActorTypeQueue(elem, actor, conf2, isFooter);
2310
+ }
2311
+ }, "drawActor");
2312
+ var drawBox = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, box, conf2) {
2313
+ const boxplusTextGroup = elem.append("g");
2314
+ const g = boxplusTextGroup;
2315
+ drawBackgroundRect2(g, box);
2316
+ if (box.name) {
2317
+ _drawTextCandidateFunc(conf2)(
2318
+ box.name,
2319
+ g,
2320
+ box.x,
2321
+ box.y + conf2.boxTextMargin + (box.textMaxHeight || 0) / 2,
2322
+ box.width,
2323
+ 0,
2324
+ { class: "text" },
2325
+ conf2
2326
+ );
2327
+ }
2328
+ g.lower();
2329
+ }, "drawBox");
2330
+ var anchorElement = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2331
+ return elem.append("g");
2332
+ }, "anchorElement");
2333
+ var drawActivation = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, bounds2, verticalPos, conf2, actorActivations2) {
2334
+ const rect = chunkTZMSLE5B.getNoteRect();
2335
+ const g = bounds2.anchored;
2336
+ rect.x = bounds2.startx;
2337
+ rect.y = bounds2.starty;
2338
+ rect.class = "activation" + actorActivations2 % 3;
2339
+ rect.width = bounds2.stopx - bounds2.startx;
2340
+ rect.height = verticalPos - bounds2.starty;
2341
+ drawRect2(g, rect);
2342
+ }, "drawActivation");
2343
+ var drawLoop = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, loopModel, labelText, conf2) {
2344
+ const {
2345
+ boxMargin,
2346
+ boxTextMargin,
2347
+ labelBoxHeight,
2348
+ labelBoxWidth,
2349
+ messageFontFamily: fontFamily,
2350
+ messageFontSize: fontSize,
2351
+ messageFontWeight: fontWeight
2352
+ } = conf2;
2353
+ const g = elem.append("g");
2354
+ const drawLoopLine = /* @__PURE__ */ chunkAGHRB4JF.__name(function(startx, starty, stopx, stopy) {
2355
+ return g.append("line").attr("x1", startx).attr("y1", starty).attr("x2", stopx).attr("y2", stopy).attr("class", "loopLine");
2356
+ }, "drawLoopLine");
2357
+ drawLoopLine(loopModel.startx, loopModel.starty, loopModel.stopx, loopModel.starty);
2358
+ drawLoopLine(loopModel.stopx, loopModel.starty, loopModel.stopx, loopModel.stopy);
2359
+ drawLoopLine(loopModel.startx, loopModel.stopy, loopModel.stopx, loopModel.stopy);
2360
+ drawLoopLine(loopModel.startx, loopModel.starty, loopModel.startx, loopModel.stopy);
2361
+ if (loopModel.sections !== void 0) {
2362
+ loopModel.sections.forEach(function(item) {
2363
+ drawLoopLine(loopModel.startx, item.y, loopModel.stopx, item.y).style(
2364
+ "stroke-dasharray",
2365
+ "3, 3"
2366
+ );
2367
+ });
2368
+ }
2369
+ let txt = chunkTZMSLE5B.getTextObj();
2370
+ txt.text = labelText;
2371
+ txt.x = loopModel.startx;
2372
+ txt.y = loopModel.starty;
2373
+ txt.fontFamily = fontFamily;
2374
+ txt.fontSize = fontSize;
2375
+ txt.fontWeight = fontWeight;
2376
+ txt.anchor = "middle";
2377
+ txt.valign = "middle";
2378
+ txt.tspan = false;
2379
+ txt.width = labelBoxWidth || 50;
2380
+ txt.height = labelBoxHeight || 20;
2381
+ txt.textMargin = boxTextMargin;
2382
+ txt.class = "labelText";
2383
+ drawLabel(g, txt);
2384
+ txt = getTextObj2();
2385
+ txt.text = loopModel.title;
2386
+ txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;
2387
+ txt.y = loopModel.starty + boxMargin + boxTextMargin;
2388
+ txt.anchor = "middle";
2389
+ txt.valign = "middle";
2390
+ txt.textMargin = boxTextMargin;
2391
+ txt.class = "loopText";
2392
+ txt.fontFamily = fontFamily;
2393
+ txt.fontSize = fontSize;
2394
+ txt.fontWeight = fontWeight;
2395
+ txt.wrap = true;
2396
+ let textElem = chunkABZYJK2D.hasKatex(txt.text) ? await drawKatex(g, txt, loopModel) : drawText(g, txt);
2397
+ if (loopModel.sectionTitles !== void 0) {
2398
+ for (const [idx, item] of Object.entries(loopModel.sectionTitles)) {
2399
+ if (item.message) {
2400
+ txt.text = item.message;
2401
+ txt.x = loopModel.startx + (loopModel.stopx - loopModel.startx) / 2;
2402
+ txt.y = loopModel.sections[idx].y + boxMargin + boxTextMargin;
2403
+ txt.class = "loopText";
2404
+ txt.anchor = "middle";
2405
+ txt.valign = "middle";
2406
+ txt.tspan = false;
2407
+ txt.fontFamily = fontFamily;
2408
+ txt.fontSize = fontSize;
2409
+ txt.fontWeight = fontWeight;
2410
+ txt.wrap = loopModel.wrap;
2411
+ if (chunkABZYJK2D.hasKatex(txt.text)) {
2412
+ loopModel.starty = loopModel.sections[idx].y;
2413
+ await drawKatex(g, txt, loopModel);
2414
+ } else {
2415
+ drawText(g, txt);
2416
+ }
2417
+ let sectionHeight = Math.round(
2418
+ textElem.map((te) => (te._groups || te)[0][0].getBBox().height).reduce((acc, curr) => acc + curr)
2419
+ );
2420
+ loopModel.sections[idx].height += sectionHeight - (boxMargin + boxTextMargin);
2421
+ }
2422
+ }
2423
+ }
2424
+ loopModel.height = Math.round(loopModel.stopy - loopModel.starty);
2425
+ return g;
2426
+ }, "drawLoop");
2427
+ var drawBackgroundRect2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, bounds2) {
2428
+ chunkTZMSLE5B.drawBackgroundRect(elem, bounds2);
2429
+ }, "drawBackgroundRect");
2430
+ var insertDatabaseIcon = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2431
+ elem.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
2432
+ "d",
2433
+ "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
2434
+ );
2435
+ }, "insertDatabaseIcon");
2436
+ var insertComputerIcon = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2437
+ elem.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
2438
+ "d",
2439
+ "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
2440
+ );
2441
+ }, "insertComputerIcon");
2442
+ var insertClockIcon = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2443
+ elem.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
2444
+ "d",
2445
+ "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
2446
+ );
2447
+ }, "insertClockIcon");
2448
+ var insertArrowHead = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2449
+ elem.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 7.9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M -1 0 L 10 5 L 0 10 z");
2450
+ }, "insertArrowHead");
2451
+ var insertArrowFilledHead = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2452
+ elem.append("defs").append("marker").attr("id", "filled-head").attr("refX", 15.5).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");
2453
+ }, "insertArrowFilledHead");
2454
+ var insertSequenceNumber = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2455
+ elem.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
2456
+ }, "insertSequenceNumber");
2457
+ var insertArrowCrossHead = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
2458
+ const defs = elem.append("defs");
2459
+ const marker = defs.append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 4).attr("refY", 4.5);
2460
+ marker.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1pt").attr("d", "M 1,2 L 6,7 M 6,2 L 1,7");
2461
+ }, "insertArrowCrossHead");
2462
+ var getTextObj2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2463
+ return {
2464
+ x: 0,
2465
+ y: 0,
2466
+ fill: void 0,
2467
+ anchor: void 0,
2468
+ style: "#666",
2469
+ width: void 0,
2470
+ height: void 0,
2471
+ textMargin: 0,
2472
+ rx: 0,
2473
+ ry: 0,
2474
+ tspan: true,
2475
+ valign: void 0
2476
+ };
2477
+ }, "getTextObj");
2478
+ var getNoteRect2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2479
+ return {
2480
+ x: 0,
2481
+ y: 0,
2482
+ fill: "#EDF2AE",
2483
+ stroke: "#666",
2484
+ width: 100,
2485
+ anchor: "start",
2486
+ height: 100,
2487
+ rx: 0,
2488
+ ry: 0
2489
+ };
2490
+ }, "getNoteRect");
2491
+ var _drawTextCandidateFunc = /* @__PURE__ */ (function() {
2492
+ function byText(content, g, x, y, width, height, textAttrs) {
2493
+ const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("text-anchor", "middle").text(content);
2494
+ _setTextAttrs(text, textAttrs);
2495
+ }
2496
+ chunkAGHRB4JF.__name(byText, "byText");
2497
+ function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
2498
+ const { actorFontSize, actorFontFamily, actorFontWeight } = conf2;
2499
+ const [_actorFontSize, _actorFontSizePx] = chunkS3R3BYOJ.parseFontSize(actorFontSize);
2500
+ const lines = content.split(chunkABZYJK2D.common_default.lineBreakRegex);
2501
+ for (let i = 0; i < lines.length; i++) {
2502
+ const dy = i * _actorFontSize - _actorFontSize * (lines.length - 1) / 2;
2503
+ const text = g.append("text").attr("x", x + width / 2).attr("y", y).style("text-anchor", "middle").style("font-size", _actorFontSizePx).style("font-weight", actorFontWeight).style("font-family", actorFontFamily);
2504
+ text.append("tspan").attr("x", x + width / 2).attr("dy", dy).text(lines[i]);
2505
+ text.attr("y", y + height / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central");
2506
+ _setTextAttrs(text, textAttrs);
2507
+ }
2508
+ }
2509
+ chunkAGHRB4JF.__name(byTspan, "byTspan");
2510
+ function byFo(content, g, x, y, width, height, textAttrs, conf2) {
2511
+ const s = g.append("switch");
2512
+ const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
2513
+ const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
2514
+ text.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
2515
+ byTspan(content, s, x, y, width, height, textAttrs, conf2);
2516
+ _setTextAttrs(text, textAttrs);
2517
+ }
2518
+ chunkAGHRB4JF.__name(byFo, "byFo");
2519
+ async function byKatex(content, g, x, y, width, height, textAttrs, conf2) {
2520
+ const dim = await chunkABZYJK2D.calculateMathMLDimensions(content, chunkABZYJK2D.getConfig());
2521
+ const s = g.append("switch");
2522
+ const f = s.append("foreignObject").attr("x", x + width / 2 - dim.width / 2).attr("y", y + height / 2 - dim.height / 2).attr("width", dim.width).attr("height", dim.height);
2523
+ const text = f.append("xhtml:div").style("height", "100%").style("width", "100%");
2524
+ text.append("div").style("text-align", "center").style("vertical-align", "middle").html(await chunkABZYJK2D.renderKatexSanitized(content, chunkABZYJK2D.getConfig()));
2525
+ byTspan(content, s, x, y, width, height, textAttrs, conf2);
2526
+ _setTextAttrs(text, textAttrs);
2527
+ }
2528
+ chunkAGHRB4JF.__name(byKatex, "byKatex");
2529
+ function _setTextAttrs(toText, fromTextAttrsDict) {
2530
+ for (const key in fromTextAttrsDict) {
2531
+ if (fromTextAttrsDict.hasOwnProperty(key)) {
2532
+ toText.attr(key, fromTextAttrsDict[key]);
2533
+ }
2534
+ }
2535
+ }
2536
+ chunkAGHRB4JF.__name(_setTextAttrs, "_setTextAttrs");
2537
+ return function(conf2, hasKatex2 = false) {
2538
+ if (hasKatex2) {
2539
+ return byKatex;
2540
+ }
2541
+ return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
2542
+ };
2543
+ })();
2544
+ var _drawMenuItemTextCandidateFunc = /* @__PURE__ */ (function() {
2545
+ function byText(content, g, x, y, width, height, textAttrs) {
2546
+ const text = g.append("text").attr("x", x).attr("y", y).style("text-anchor", "start").text(content);
2547
+ _setTextAttrs(text, textAttrs);
2548
+ }
2549
+ chunkAGHRB4JF.__name(byText, "byText");
2550
+ function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
2551
+ const { actorFontSize, actorFontFamily, actorFontWeight } = conf2;
2552
+ const lines = content.split(chunkABZYJK2D.common_default.lineBreakRegex);
2553
+ for (let i = 0; i < lines.length; i++) {
2554
+ const dy = i * actorFontSize - actorFontSize * (lines.length - 1) / 2;
2555
+ const text = g.append("text").attr("x", x).attr("y", y).style("text-anchor", "start").style("font-size", actorFontSize).style("font-weight", actorFontWeight).style("font-family", actorFontFamily);
2556
+ text.append("tspan").attr("x", x).attr("dy", dy).text(lines[i]);
2557
+ text.attr("y", y + height / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central");
2558
+ _setTextAttrs(text, textAttrs);
2559
+ }
2560
+ }
2561
+ chunkAGHRB4JF.__name(byTspan, "byTspan");
2562
+ function byFo(content, g, x, y, width, height, textAttrs, conf2) {
2563
+ const s = g.append("switch");
2564
+ const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
2565
+ const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
2566
+ text.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
2567
+ byTspan(content, s, x, y, width, height, textAttrs, conf2);
2568
+ _setTextAttrs(text, textAttrs);
2569
+ }
2570
+ chunkAGHRB4JF.__name(byFo, "byFo");
2571
+ function _setTextAttrs(toText, fromTextAttrsDict) {
2572
+ for (const key in fromTextAttrsDict) {
2573
+ if (fromTextAttrsDict.hasOwnProperty(key)) {
2574
+ toText.attr(key, fromTextAttrsDict[key]);
2575
+ }
2576
+ }
2577
+ }
2578
+ chunkAGHRB4JF.__name(_setTextAttrs, "_setTextAttrs");
2579
+ return function(conf2) {
2580
+ return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
2581
+ };
2582
+ })();
2583
+ var svgDraw_default = {
2584
+ drawRect: drawRect2,
2585
+ drawText,
2586
+ drawLabel,
2587
+ drawActor,
2588
+ drawBox,
2589
+ drawPopup,
2590
+ anchorElement,
2591
+ drawActivation,
2592
+ drawLoop,
2593
+ drawBackgroundRect: drawBackgroundRect2,
2594
+ insertArrowHead,
2595
+ insertArrowFilledHead,
2596
+ insertSequenceNumber,
2597
+ insertArrowCrossHead,
2598
+ insertDatabaseIcon,
2599
+ insertComputerIcon,
2600
+ insertClockIcon,
2601
+ getTextObj: getTextObj2,
2602
+ getNoteRect: getNoteRect2,
2603
+ fixLifeLineHeights,
2604
+ sanitizeUrl: index.distExports.sanitizeUrl
2605
+ };
2606
+
2607
+ // src/diagrams/sequence/sequenceRenderer.ts
2608
+ var conf = {};
2609
+ var bounds = {
2610
+ data: {
2611
+ startx: void 0,
2612
+ stopx: void 0,
2613
+ starty: void 0,
2614
+ stopy: void 0
2615
+ },
2616
+ verticalPos: 0,
2617
+ sequenceItems: [],
2618
+ activations: [],
2619
+ models: {
2620
+ getHeight: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2621
+ return Math.max.apply(
2622
+ null,
2623
+ this.actors.length === 0 ? [0] : this.actors.map((actor) => actor.height || 0)
2624
+ ) + (this.loops.length === 0 ? 0 : this.loops.map((it) => it.height || 0).reduce((acc, h) => acc + h)) + (this.messages.length === 0 ? 0 : this.messages.map((it) => it.height || 0).reduce((acc, h) => acc + h)) + (this.notes.length === 0 ? 0 : this.notes.map((it) => it.height || 0).reduce((acc, h) => acc + h));
2625
+ }, "getHeight"),
2626
+ clear: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2627
+ this.actors = [];
2628
+ this.boxes = [];
2629
+ this.loops = [];
2630
+ this.messages = [];
2631
+ this.notes = [];
2632
+ }, "clear"),
2633
+ addBox: /* @__PURE__ */ chunkAGHRB4JF.__name(function(boxModel) {
2634
+ this.boxes.push(boxModel);
2635
+ }, "addBox"),
2636
+ addActor: /* @__PURE__ */ chunkAGHRB4JF.__name(function(actorModel) {
2637
+ this.actors.push(actorModel);
2638
+ }, "addActor"),
2639
+ addLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(loopModel) {
2640
+ this.loops.push(loopModel);
2641
+ }, "addLoop"),
2642
+ addMessage: /* @__PURE__ */ chunkAGHRB4JF.__name(function(msgModel) {
2643
+ this.messages.push(msgModel);
2644
+ }, "addMessage"),
2645
+ addNote: /* @__PURE__ */ chunkAGHRB4JF.__name(function(noteModel) {
2646
+ this.notes.push(noteModel);
2647
+ }, "addNote"),
2648
+ lastActor: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2649
+ return this.actors[this.actors.length - 1];
2650
+ }, "lastActor"),
2651
+ lastLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2652
+ return this.loops[this.loops.length - 1];
2653
+ }, "lastLoop"),
2654
+ lastMessage: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2655
+ return this.messages[this.messages.length - 1];
2656
+ }, "lastMessage"),
2657
+ lastNote: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2658
+ return this.notes[this.notes.length - 1];
2659
+ }, "lastNote"),
2660
+ actors: [],
2661
+ boxes: [],
2662
+ loops: [],
2663
+ messages: [],
2664
+ notes: []
2665
+ },
2666
+ init: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2667
+ this.sequenceItems = [];
2668
+ this.activations = [];
2669
+ this.models.clear();
2670
+ this.data = {
2671
+ startx: void 0,
2672
+ stopx: void 0,
2673
+ starty: void 0,
2674
+ stopy: void 0
2675
+ };
2676
+ this.verticalPos = 0;
2677
+ setConf(chunkABZYJK2D.getConfig2());
2678
+ }, "init"),
2679
+ updateVal: /* @__PURE__ */ chunkAGHRB4JF.__name(function(obj, key, val, fun) {
2680
+ if (obj[key] === void 0) {
2681
+ obj[key] = val;
2682
+ } else {
2683
+ obj[key] = fun(val, obj[key]);
2684
+ }
2685
+ }, "updateVal"),
2686
+ updateBounds: /* @__PURE__ */ chunkAGHRB4JF.__name(function(startx, starty, stopx, stopy) {
2687
+ const _self = this;
2688
+ let cnt = 0;
2689
+ function updateFn(type) {
2690
+ return /* @__PURE__ */ chunkAGHRB4JF.__name(function updateItemBounds(item) {
2691
+ cnt++;
2692
+ const n = _self.sequenceItems.length - cnt + 1;
2693
+ _self.updateVal(item, "starty", starty - n * conf.boxMargin, Math.min);
2694
+ _self.updateVal(item, "stopy", stopy + n * conf.boxMargin, Math.max);
2695
+ _self.updateVal(bounds.data, "startx", startx - n * conf.boxMargin, Math.min);
2696
+ _self.updateVal(bounds.data, "stopx", stopx + n * conf.boxMargin, Math.max);
2697
+ if (!(type === "activation")) {
2698
+ _self.updateVal(item, "startx", startx - n * conf.boxMargin, Math.min);
2699
+ _self.updateVal(item, "stopx", stopx + n * conf.boxMargin, Math.max);
2700
+ _self.updateVal(bounds.data, "starty", starty - n * conf.boxMargin, Math.min);
2701
+ _self.updateVal(bounds.data, "stopy", stopy + n * conf.boxMargin, Math.max);
2702
+ }
2703
+ }, "updateItemBounds");
2704
+ }
2705
+ chunkAGHRB4JF.__name(updateFn, "updateFn");
2706
+ this.sequenceItems.forEach(updateFn());
2707
+ this.activations.forEach(updateFn("activation"));
2708
+ }, "updateBounds"),
2709
+ insert: /* @__PURE__ */ chunkAGHRB4JF.__name(function(startx, starty, stopx, stopy) {
2710
+ const _startx = chunkABZYJK2D.common_default.getMin(startx, stopx);
2711
+ const _stopx = chunkABZYJK2D.common_default.getMax(startx, stopx);
2712
+ const _starty = chunkABZYJK2D.common_default.getMin(starty, stopy);
2713
+ const _stopy = chunkABZYJK2D.common_default.getMax(starty, stopy);
2714
+ this.updateVal(bounds.data, "startx", _startx, Math.min);
2715
+ this.updateVal(bounds.data, "starty", _starty, Math.min);
2716
+ this.updateVal(bounds.data, "stopx", _stopx, Math.max);
2717
+ this.updateVal(bounds.data, "stopy", _stopy, Math.max);
2718
+ this.updateBounds(_startx, _starty, _stopx, _stopy);
2719
+ }, "insert"),
2720
+ newActivation: /* @__PURE__ */ chunkAGHRB4JF.__name(function(message, diagram2, actors) {
2721
+ const actorRect = actors.get(message.from);
2722
+ const stackedSize = actorActivations(message.from).length || 0;
2723
+ const x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;
2724
+ this.activations.push({
2725
+ startx: x,
2726
+ starty: this.verticalPos + 2,
2727
+ stopx: x + conf.activationWidth,
2728
+ stopy: void 0,
2729
+ actor: message.from,
2730
+ anchored: svgDraw_default.anchorElement(diagram2)
2731
+ });
2732
+ }, "newActivation"),
2733
+ endActivation: /* @__PURE__ */ chunkAGHRB4JF.__name(function(message) {
2734
+ const lastActorActivationIdx = this.activations.map(function(activation) {
2735
+ return activation.actor;
2736
+ }).lastIndexOf(message.from);
2737
+ return this.activations.splice(lastActorActivationIdx, 1)[0];
2738
+ }, "endActivation"),
2739
+ createLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(title = { message: void 0, wrap: false, width: void 0 }, fill) {
2740
+ return {
2741
+ startx: void 0,
2742
+ starty: this.verticalPos,
2743
+ stopx: void 0,
2744
+ stopy: void 0,
2745
+ title: title.message,
2746
+ wrap: title.wrap,
2747
+ width: title.width,
2748
+ height: 0,
2749
+ fill
2750
+ };
2751
+ }, "createLoop"),
2752
+ newLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(title = { message: void 0, wrap: false, width: void 0 }, fill) {
2753
+ this.sequenceItems.push(this.createLoop(title, fill));
2754
+ }, "newLoop"),
2755
+ endLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2756
+ return this.sequenceItems.pop();
2757
+ }, "endLoop"),
2758
+ isLoopOverlap: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2759
+ return this.sequenceItems.length ? this.sequenceItems[this.sequenceItems.length - 1].overlap : false;
2760
+ }, "isLoopOverlap"),
2761
+ addSectionToLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(message) {
2762
+ const loop = this.sequenceItems.pop();
2763
+ loop.sections = loop.sections || [];
2764
+ loop.sectionTitles = loop.sectionTitles || [];
2765
+ loop.sections.push({ y: bounds.getVerticalPos(), height: 0 });
2766
+ loop.sectionTitles.push(message);
2767
+ this.sequenceItems.push(loop);
2768
+ }, "addSectionToLoop"),
2769
+ saveVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2770
+ if (this.isLoopOverlap()) {
2771
+ this.savedVerticalPos = this.verticalPos;
2772
+ }
2773
+ }, "saveVerticalPos"),
2774
+ resetVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2775
+ if (this.isLoopOverlap()) {
2776
+ this.verticalPos = this.savedVerticalPos;
2777
+ }
2778
+ }, "resetVerticalPos"),
2779
+ bumpVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function(bump) {
2780
+ this.verticalPos = this.verticalPos + bump;
2781
+ this.data.stopy = chunkABZYJK2D.common_default.getMax(this.data.stopy, this.verticalPos);
2782
+ }, "bumpVerticalPos"),
2783
+ getVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2784
+ return this.verticalPos;
2785
+ }, "getVerticalPos"),
2786
+ getBounds: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
2787
+ return { bounds: this.data, models: this.models };
2788
+ }, "getBounds")
2789
+ };
2790
+ var drawNote = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, noteModel) {
2791
+ bounds.bumpVerticalPos(conf.boxMargin);
2792
+ noteModel.height = conf.boxMargin;
2793
+ noteModel.starty = bounds.getVerticalPos();
2794
+ const rect = chunkTZMSLE5B.getNoteRect();
2795
+ rect.x = noteModel.startx;
2796
+ rect.y = noteModel.starty;
2797
+ rect.width = noteModel.width || conf.width;
2798
+ rect.class = "note";
2799
+ const g = elem.append("g");
2800
+ const rectElem = svgDraw_default.drawRect(g, rect);
2801
+ const textObj = chunkTZMSLE5B.getTextObj();
2802
+ textObj.x = noteModel.startx;
2803
+ textObj.y = noteModel.starty;
2804
+ textObj.width = rect.width;
2805
+ textObj.dy = "1em";
2806
+ textObj.text = noteModel.message;
2807
+ textObj.class = "noteText";
2808
+ textObj.fontFamily = conf.noteFontFamily;
2809
+ textObj.fontSize = conf.noteFontSize;
2810
+ textObj.fontWeight = conf.noteFontWeight;
2811
+ textObj.anchor = conf.noteAlign;
2812
+ textObj.textMargin = conf.noteMargin;
2813
+ textObj.valign = "center";
2814
+ const textElem = chunkABZYJK2D.hasKatex(textObj.text) ? await drawKatex(g, textObj) : drawText(g, textObj);
2815
+ const textHeight = Math.round(
2816
+ textElem.map((te) => (te._groups || te)[0][0].getBBox().height).reduce((acc, curr) => acc + curr)
2817
+ );
2818
+ rectElem.attr("height", textHeight + 2 * conf.noteMargin);
2819
+ noteModel.height += textHeight + 2 * conf.noteMargin;
2820
+ bounds.bumpVerticalPos(textHeight + 2 * conf.noteMargin);
2821
+ noteModel.stopy = noteModel.starty + textHeight + 2 * conf.noteMargin;
2822
+ noteModel.stopx = noteModel.startx + rect.width;
2823
+ bounds.insert(noteModel.startx, noteModel.starty, noteModel.stopx, noteModel.stopy);
2824
+ bounds.models.addNote(noteModel);
2825
+ }, "drawNote");
2826
+ var messageFont = /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
2827
+ return {
2828
+ fontFamily: cnf.messageFontFamily,
2829
+ fontSize: cnf.messageFontSize,
2830
+ fontWeight: cnf.messageFontWeight
2831
+ };
2832
+ }, "messageFont");
2833
+ var noteFont = /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
2834
+ return {
2835
+ fontFamily: cnf.noteFontFamily,
2836
+ fontSize: cnf.noteFontSize,
2837
+ fontWeight: cnf.noteFontWeight
2838
+ };
2839
+ }, "noteFont");
2840
+ var actorFont = /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
2841
+ return {
2842
+ fontFamily: cnf.actorFontFamily,
2843
+ fontSize: cnf.actorFontSize,
2844
+ fontWeight: cnf.actorFontWeight
2845
+ };
2846
+ }, "actorFont");
2847
+ async function boundMessage(_diagram, msgModel) {
2848
+ bounds.bumpVerticalPos(10);
2849
+ const { startx, stopx, message } = msgModel;
2850
+ const lines = chunkABZYJK2D.common_default.splitBreaks(message).length;
2851
+ const isKatexMsg = chunkABZYJK2D.hasKatex(message);
2852
+ const textDims = isKatexMsg ? await chunkABZYJK2D.calculateMathMLDimensions(message, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(message, messageFont(conf));
2853
+ if (!isKatexMsg) {
2854
+ const lineHeight = textDims.height / lines;
2855
+ msgModel.height += lineHeight;
2856
+ bounds.bumpVerticalPos(lineHeight);
2857
+ }
2858
+ let lineStartY;
2859
+ let totalOffset = textDims.height - 10;
2860
+ const textWidth = textDims.width;
2861
+ if (startx === stopx) {
2862
+ lineStartY = bounds.getVerticalPos() + totalOffset;
2863
+ if (!conf.rightAngles) {
2864
+ totalOffset += conf.boxMargin;
2865
+ lineStartY = bounds.getVerticalPos() + totalOffset;
2866
+ }
2867
+ totalOffset += 30;
2868
+ const dx = chunkABZYJK2D.common_default.getMax(textWidth / 2, conf.width / 2);
2869
+ bounds.insert(
2870
+ startx - dx,
2871
+ bounds.getVerticalPos() - 10 + totalOffset,
2872
+ stopx + dx,
2873
+ bounds.getVerticalPos() + 30 + totalOffset
2874
+ );
2875
+ } else {
2876
+ totalOffset += conf.boxMargin;
2877
+ lineStartY = bounds.getVerticalPos() + totalOffset;
2878
+ bounds.insert(startx, lineStartY - 10, stopx, lineStartY);
2879
+ }
2880
+ bounds.bumpVerticalPos(totalOffset);
2881
+ msgModel.height += totalOffset;
2882
+ msgModel.stopy = msgModel.starty + msgModel.height;
2883
+ bounds.insert(msgModel.fromBounds, msgModel.starty, msgModel.toBounds, msgModel.stopy);
2884
+ return lineStartY;
2885
+ }
2886
+ chunkAGHRB4JF.__name(boundMessage, "boundMessage");
2887
+ var drawMessage = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(diagram2, msgModel, lineStartY, diagObj) {
2888
+ const { startx, stopx, starty, message, type, sequenceIndex, sequenceVisible } = msgModel;
2889
+ const textDims = chunkS3R3BYOJ.utils_default.calculateTextDimensions(message, messageFont(conf));
2890
+ const textObj = chunkTZMSLE5B.getTextObj();
2891
+ textObj.x = startx;
2892
+ textObj.y = starty + 10;
2893
+ textObj.width = stopx - startx;
2894
+ textObj.class = "messageText";
2895
+ textObj.dy = "1em";
2896
+ textObj.text = message;
2897
+ textObj.fontFamily = conf.messageFontFamily;
2898
+ textObj.fontSize = conf.messageFontSize;
2899
+ textObj.fontWeight = conf.messageFontWeight;
2900
+ textObj.anchor = conf.messageAlign;
2901
+ textObj.valign = "center";
2902
+ textObj.textMargin = conf.wrapPadding;
2903
+ textObj.tspan = false;
2904
+ if (chunkABZYJK2D.hasKatex(textObj.text)) {
2905
+ await drawKatex(diagram2, textObj, { startx, stopx, starty: lineStartY });
2906
+ } else {
2907
+ drawText(diagram2, textObj);
2908
+ }
2909
+ const textWidth = textDims.width;
2910
+ let line;
2911
+ if (startx === stopx) {
2912
+ if (conf.rightAngles) {
2913
+ line = diagram2.append("path").attr(
2914
+ "d",
2915
+ `M ${startx},${lineStartY} H ${startx + chunkABZYJK2D.common_default.getMax(conf.width / 2, textWidth / 2)} V ${lineStartY + 25} H ${startx}`
2916
+ );
2917
+ } else {
2918
+ line = diagram2.append("path").attr(
2919
+ "d",
2920
+ "M " + startx + "," + lineStartY + " C " + (startx + 60) + "," + (lineStartY - 10) + " " + (startx + 60) + "," + (lineStartY + 30) + " " + startx + "," + (lineStartY + 20)
2921
+ );
2922
+ }
2923
+ } else {
2924
+ line = diagram2.append("line");
2925
+ line.attr("x1", startx);
2926
+ line.attr("y1", lineStartY);
2927
+ line.attr("x2", stopx);
2928
+ line.attr("y2", lineStartY);
2929
+ }
2930
+ if (type === diagObj.db.LINETYPE.DOTTED || type === diagObj.db.LINETYPE.DOTTED_CROSS || type === diagObj.db.LINETYPE.DOTTED_POINT || type === diagObj.db.LINETYPE.DOTTED_OPEN || type === diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED) {
2931
+ line.style("stroke-dasharray", "3, 3");
2932
+ line.attr("class", "messageLine1");
2933
+ } else {
2934
+ line.attr("class", "messageLine0");
2935
+ }
2936
+ let url = "";
2937
+ if (conf.arrowMarkerAbsolute) {
2938
+ url = chunkABZYJK2D.getUrl(true);
2939
+ }
2940
+ line.attr("stroke-width", 2);
2941
+ line.attr("stroke", "none");
2942
+ line.style("fill", "none");
2943
+ if (type === diagObj.db.LINETYPE.SOLID || type === diagObj.db.LINETYPE.DOTTED) {
2944
+ line.attr("marker-end", "url(" + url + "#arrowhead)");
2945
+ }
2946
+ if (type === diagObj.db.LINETYPE.BIDIRECTIONAL_SOLID || type === diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED) {
2947
+ line.attr("marker-start", "url(" + url + "#arrowhead)");
2948
+ line.attr("marker-end", "url(" + url + "#arrowhead)");
2949
+ }
2950
+ if (type === diagObj.db.LINETYPE.SOLID_POINT || type === diagObj.db.LINETYPE.DOTTED_POINT) {
2951
+ line.attr("marker-end", "url(" + url + "#filled-head)");
2952
+ }
2953
+ if (type === diagObj.db.LINETYPE.SOLID_CROSS || type === diagObj.db.LINETYPE.DOTTED_CROSS) {
2954
+ line.attr("marker-end", "url(" + url + "#crosshead)");
2955
+ }
2956
+ if (sequenceVisible || conf.showSequenceNumbers) {
2957
+ const isBidirectional = type === diagObj.db.LINETYPE.BIDIRECTIONAL_SOLID || type === diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED;
2958
+ if (isBidirectional) {
2959
+ const SEQUENCE_NUMBER_RADIUS = 6;
2960
+ if (startx < stopx) {
2961
+ line.attr("x1", startx + 2 * SEQUENCE_NUMBER_RADIUS);
2962
+ } else {
2963
+ line.attr("x1", startx + SEQUENCE_NUMBER_RADIUS);
2964
+ }
2965
+ }
2966
+ diagram2.append("line").attr("x1", startx).attr("y1", lineStartY).attr("x2", startx).attr("y2", lineStartY).attr("stroke-width", 0).attr("marker-start", "url(" + url + "#sequencenumber)");
2967
+ diagram2.append("text").attr("x", startx).attr("y", lineStartY + 4).attr("font-family", "sans-serif").attr("font-size", "12px").attr("text-anchor", "middle").attr("class", "sequenceNumber").text(sequenceIndex);
2968
+ }
2969
+ }, "drawMessage");
2970
+ var addActorRenderingData = /* @__PURE__ */ chunkAGHRB4JF.__name(function(diagram2, actors, createdActors, actorKeys, verticalPos, messages, isFooter) {
2971
+ let prevWidth = 0;
2972
+ let prevMargin = 0;
2973
+ let prevBox = void 0;
2974
+ let maxHeight = 0;
2975
+ for (const actorKey of actorKeys) {
2976
+ const actor = actors.get(actorKey);
2977
+ const box = actor.box;
2978
+ if (prevBox && prevBox != box) {
2979
+ if (!isFooter) {
2980
+ bounds.models.addBox(prevBox);
2981
+ }
2982
+ prevMargin += conf.boxMargin + prevBox.margin;
2983
+ }
2984
+ if (box && box != prevBox) {
2985
+ if (!isFooter) {
2986
+ box.x = prevWidth + prevMargin;
2987
+ box.y = verticalPos;
2988
+ }
2989
+ prevMargin += box.margin;
2990
+ }
2991
+ actor.width = actor.width || conf.width;
2992
+ actor.height = chunkABZYJK2D.common_default.getMax(actor.height || conf.height, conf.height);
2993
+ actor.margin = actor.margin || conf.actorMargin;
2994
+ maxHeight = chunkABZYJK2D.common_default.getMax(maxHeight, actor.height);
2995
+ if (createdActors.get(actor.name)) {
2996
+ prevMargin += actor.width / 2;
2997
+ }
2998
+ actor.x = prevWidth + prevMargin;
2999
+ actor.starty = bounds.getVerticalPos();
3000
+ bounds.insert(actor.x, verticalPos, actor.x + actor.width, actor.height);
3001
+ prevWidth += actor.width + prevMargin;
3002
+ if (actor.box) {
3003
+ actor.box.width = prevWidth + box.margin - actor.box.x;
3004
+ }
3005
+ prevMargin = actor.margin;
3006
+ prevBox = actor.box;
3007
+ bounds.models.addActor(actor);
3008
+ }
3009
+ if (prevBox && !isFooter) {
3010
+ bounds.models.addBox(prevBox);
3011
+ }
3012
+ bounds.bumpVerticalPos(maxHeight);
3013
+ }, "addActorRenderingData");
3014
+ var drawActors = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(diagram2, actors, actorKeys, isFooter) {
3015
+ if (!isFooter) {
3016
+ for (const actorKey of actorKeys) {
3017
+ const actor = actors.get(actorKey);
3018
+ await svgDraw_default.drawActor(diagram2, actor, conf, false);
3019
+ }
3020
+ } else {
3021
+ let maxHeight = 0;
3022
+ bounds.bumpVerticalPos(conf.boxMargin * 2);
3023
+ for (const actorKey of actorKeys) {
3024
+ const actor = actors.get(actorKey);
3025
+ if (!actor.stopy) {
3026
+ actor.stopy = bounds.getVerticalPos();
3027
+ }
3028
+ const height = await svgDraw_default.drawActor(diagram2, actor, conf, true);
3029
+ maxHeight = chunkABZYJK2D.common_default.getMax(maxHeight, height);
3030
+ }
3031
+ bounds.bumpVerticalPos(maxHeight + conf.boxMargin);
3032
+ }
3033
+ }, "drawActors");
3034
+ var drawActorsPopup = /* @__PURE__ */ chunkAGHRB4JF.__name(function(diagram2, actors, actorKeys, doc) {
3035
+ let maxHeight = 0;
3036
+ let maxWidth = 0;
3037
+ for (const actorKey of actorKeys) {
3038
+ const actor = actors.get(actorKey);
3039
+ const minMenuWidth = getRequiredPopupWidth(actor);
3040
+ const menuDimensions = svgDraw_default.drawPopup(
3041
+ diagram2,
3042
+ actor,
3043
+ minMenuWidth,
3044
+ conf,
3045
+ conf.forceMenus,
3046
+ doc
3047
+ );
3048
+ if (menuDimensions.height > maxHeight) {
3049
+ maxHeight = menuDimensions.height;
3050
+ }
3051
+ if (menuDimensions.width + actor.x > maxWidth) {
3052
+ maxWidth = menuDimensions.width + actor.x;
3053
+ }
3054
+ }
3055
+ return { maxHeight, maxWidth };
3056
+ }, "drawActorsPopup");
3057
+ var setConf = /* @__PURE__ */ chunkAGHRB4JF.__name(function(cnf) {
3058
+ chunkABZYJK2D.assignWithDepth_default(conf, cnf);
3059
+ if (cnf.fontFamily) {
3060
+ conf.actorFontFamily = conf.noteFontFamily = conf.messageFontFamily = cnf.fontFamily;
3061
+ }
3062
+ if (cnf.fontSize) {
3063
+ conf.actorFontSize = conf.noteFontSize = conf.messageFontSize = cnf.fontSize;
3064
+ }
3065
+ if (cnf.fontWeight) {
3066
+ conf.actorFontWeight = conf.noteFontWeight = conf.messageFontWeight = cnf.fontWeight;
3067
+ }
3068
+ }, "setConf");
3069
+ var actorActivations = /* @__PURE__ */ chunkAGHRB4JF.__name(function(actor) {
3070
+ return bounds.activations.filter(function(activation) {
3071
+ return activation.actor === actor;
3072
+ });
3073
+ }, "actorActivations");
3074
+ var activationBounds = /* @__PURE__ */ chunkAGHRB4JF.__name(function(actor, actors) {
3075
+ const actorObj = actors.get(actor);
3076
+ const activations = actorActivations(actor);
3077
+ const left = activations.reduce(
3078
+ function(acc, activation) {
3079
+ return chunkABZYJK2D.common_default.getMin(acc, activation.startx);
3080
+ },
3081
+ actorObj.x + actorObj.width / 2 - 1
3082
+ );
3083
+ const right = activations.reduce(
3084
+ function(acc, activation) {
3085
+ return chunkABZYJK2D.common_default.getMax(acc, activation.stopx);
3086
+ },
3087
+ actorObj.x + actorObj.width / 2 + 1
3088
+ );
3089
+ return [left, right];
3090
+ }, "activationBounds");
3091
+ function adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoopFn) {
3092
+ bounds.bumpVerticalPos(preMargin);
3093
+ let heightAdjust = postMargin;
3094
+ if (msg.id && msg.message && loopWidths[msg.id]) {
3095
+ const loopWidth = loopWidths[msg.id].width;
3096
+ const textConf = messageFont(conf);
3097
+ msg.message = chunkS3R3BYOJ.utils_default.wrapLabel(`[${msg.message}]`, loopWidth - 2 * conf.wrapPadding, textConf);
3098
+ msg.width = loopWidth;
3099
+ msg.wrap = true;
3100
+ const textDims = chunkS3R3BYOJ.utils_default.calculateTextDimensions(msg.message, textConf);
3101
+ const totalOffset = chunkABZYJK2D.common_default.getMax(textDims.height, conf.labelBoxHeight);
3102
+ heightAdjust = postMargin + totalOffset;
3103
+ chunkAGHRB4JF.log.debug(`${totalOffset} - ${msg.message}`);
3104
+ }
3105
+ addLoopFn(msg);
3106
+ bounds.bumpVerticalPos(heightAdjust);
3107
+ }
3108
+ chunkAGHRB4JF.__name(adjustLoopHeightForWrap, "adjustLoopHeightForWrap");
3109
+ function adjustCreatedDestroyedData(msg, msgModel, lineStartY, index, actors, createdActors, destroyedActors) {
3110
+ function receiverAdjustment(actor, adjustment) {
3111
+ if (actor.x < actors.get(msg.from).x) {
3112
+ bounds.insert(
3113
+ msgModel.stopx - adjustment,
3114
+ msgModel.starty,
3115
+ msgModel.startx,
3116
+ msgModel.stopy + actor.height / 2 + conf.noteMargin
3117
+ );
3118
+ msgModel.stopx = msgModel.stopx + adjustment;
3119
+ } else {
3120
+ bounds.insert(
3121
+ msgModel.startx,
3122
+ msgModel.starty,
3123
+ msgModel.stopx + adjustment,
3124
+ msgModel.stopy + actor.height / 2 + conf.noteMargin
3125
+ );
3126
+ msgModel.stopx = msgModel.stopx - adjustment;
3127
+ }
3128
+ }
3129
+ chunkAGHRB4JF.__name(receiverAdjustment, "receiverAdjustment");
3130
+ function senderAdjustment(actor, adjustment) {
3131
+ if (actor.x < actors.get(msg.to).x) {
3132
+ bounds.insert(
3133
+ msgModel.startx - adjustment,
3134
+ msgModel.starty,
3135
+ msgModel.stopx,
3136
+ msgModel.stopy + actor.height / 2 + conf.noteMargin
3137
+ );
3138
+ msgModel.startx = msgModel.startx + adjustment;
3139
+ } else {
3140
+ bounds.insert(
3141
+ msgModel.stopx,
3142
+ msgModel.starty,
3143
+ msgModel.startx + adjustment,
3144
+ msgModel.stopy + actor.height / 2 + conf.noteMargin
3145
+ );
3146
+ msgModel.startx = msgModel.startx - adjustment;
3147
+ }
3148
+ }
3149
+ chunkAGHRB4JF.__name(senderAdjustment, "senderAdjustment");
3150
+ const actorArray = [
3151
+ PARTICIPANT_TYPE.ACTOR,
3152
+ PARTICIPANT_TYPE.CONTROL,
3153
+ PARTICIPANT_TYPE.ENTITY,
3154
+ PARTICIPANT_TYPE.DATABASE
3155
+ ];
3156
+ if (createdActors.get(msg.to) == index) {
3157
+ const actor = actors.get(msg.to);
3158
+ const adjustment = actorArray.includes(actor.type) ? ACTOR_TYPE_WIDTH / 2 + 3 : actor.width / 2 + 3;
3159
+ receiverAdjustment(actor, adjustment);
3160
+ actor.starty = lineStartY - actor.height / 2;
3161
+ bounds.bumpVerticalPos(actor.height / 2);
3162
+ } else if (destroyedActors.get(msg.from) == index) {
3163
+ const actor = actors.get(msg.from);
3164
+ if (conf.mirrorActors) {
3165
+ const adjustment = actorArray.includes(actor.type) ? ACTOR_TYPE_WIDTH / 2 : actor.width / 2;
3166
+ senderAdjustment(actor, adjustment);
3167
+ }
3168
+ actor.stopy = lineStartY - actor.height / 2;
3169
+ bounds.bumpVerticalPos(actor.height / 2);
3170
+ } else if (destroyedActors.get(msg.to) == index) {
3171
+ const actor = actors.get(msg.to);
3172
+ if (conf.mirrorActors) {
3173
+ const adjustment = actorArray.includes(actor.type) ? ACTOR_TYPE_WIDTH / 2 + 3 : actor.width / 2 + 3;
3174
+ receiverAdjustment(actor, adjustment);
3175
+ }
3176
+ actor.stopy = lineStartY - actor.height / 2;
3177
+ bounds.bumpVerticalPos(actor.height / 2);
3178
+ }
3179
+ }
3180
+ chunkAGHRB4JF.__name(adjustCreatedDestroyedData, "adjustCreatedDestroyedData");
3181
+ var draw = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(_text, id, _version, diagObj) {
3182
+ const { securityLevel, sequence } = chunkABZYJK2D.getConfig2();
3183
+ conf = sequence;
3184
+ let sandboxElement;
3185
+ if (securityLevel === "sandbox") {
3186
+ sandboxElement = select("#i" + id);
3187
+ }
3188
+ const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
3189
+ const doc = securityLevel === "sandbox" ? sandboxElement.nodes()[0].contentDocument : document;
3190
+ bounds.init();
3191
+ chunkAGHRB4JF.log.debug(diagObj.db);
3192
+ const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select(`[id="${id}"]`);
3193
+ const actors = diagObj.db.getActors();
3194
+ const createdActors = diagObj.db.getCreatedActors();
3195
+ const destroyedActors = diagObj.db.getDestroyedActors();
3196
+ const boxes = diagObj.db.getBoxes();
3197
+ let actorKeys = diagObj.db.getActorKeys();
3198
+ const messages = diagObj.db.getMessages();
3199
+ const title = diagObj.db.getDiagramTitle();
3200
+ const hasBoxes = diagObj.db.hasAtLeastOneBox();
3201
+ const hasBoxTitles = diagObj.db.hasAtLeastOneBoxWithTitle();
3202
+ const maxMessageWidthPerActor = await getMaxMessageWidthPerActor(actors, messages, diagObj);
3203
+ conf.height = await calculateActorMargins(actors, maxMessageWidthPerActor, boxes);
3204
+ svgDraw_default.insertComputerIcon(diagram2);
3205
+ svgDraw_default.insertDatabaseIcon(diagram2);
3206
+ svgDraw_default.insertClockIcon(diagram2);
3207
+ if (hasBoxes) {
3208
+ bounds.bumpVerticalPos(conf.boxMargin);
3209
+ if (hasBoxTitles) {
3210
+ bounds.bumpVerticalPos(boxes[0].textMaxHeight);
3211
+ }
3212
+ }
3213
+ if (conf.hideUnusedParticipants === true) {
3214
+ const newActors = /* @__PURE__ */ new Set();
3215
+ messages.forEach((message) => {
3216
+ newActors.add(message.from);
3217
+ newActors.add(message.to);
3218
+ });
3219
+ actorKeys = actorKeys.filter((actorKey) => newActors.has(actorKey));
3220
+ }
3221
+ addActorRenderingData(diagram2, actors, createdActors, actorKeys, 0, messages, false);
3222
+ const loopWidths = await calculateLoopBounds(messages, actors, maxMessageWidthPerActor, diagObj);
3223
+ svgDraw_default.insertArrowHead(diagram2);
3224
+ svgDraw_default.insertArrowCrossHead(diagram2);
3225
+ svgDraw_default.insertArrowFilledHead(diagram2);
3226
+ svgDraw_default.insertSequenceNumber(diagram2);
3227
+ function activeEnd(msg, verticalPos) {
3228
+ const activationData = bounds.endActivation(msg);
3229
+ if (activationData.starty + 18 > verticalPos) {
3230
+ activationData.starty = verticalPos - 6;
3231
+ verticalPos += 12;
3232
+ }
3233
+ svgDraw_default.drawActivation(
3234
+ diagram2,
3235
+ activationData,
3236
+ verticalPos,
3237
+ conf,
3238
+ actorActivations(msg.from).length
3239
+ );
3240
+ bounds.insert(activationData.startx, verticalPos - 10, activationData.stopx, verticalPos);
3241
+ }
3242
+ chunkAGHRB4JF.__name(activeEnd, "activeEnd");
3243
+ let sequenceIndex = 1;
3244
+ let sequenceIndexStep = 1;
3245
+ const messagesToDraw = [];
3246
+ const backgrounds = [];
3247
+ let index = 0;
3248
+ for (const msg of messages) {
3249
+ let loopModel, noteModel, msgModel;
3250
+ switch (msg.type) {
3251
+ case diagObj.db.LINETYPE.NOTE:
3252
+ bounds.resetVerticalPos();
3253
+ noteModel = msg.noteModel;
3254
+ await drawNote(diagram2, noteModel);
3255
+ break;
3256
+ case diagObj.db.LINETYPE.ACTIVE_START:
3257
+ bounds.newActivation(msg, diagram2, actors);
3258
+ break;
3259
+ case diagObj.db.LINETYPE.ACTIVE_END:
3260
+ activeEnd(msg, bounds.getVerticalPos());
3261
+ break;
3262
+ case diagObj.db.LINETYPE.LOOP_START:
3263
+ adjustLoopHeightForWrap(
3264
+ loopWidths,
3265
+ msg,
3266
+ conf.boxMargin,
3267
+ conf.boxMargin + conf.boxTextMargin,
3268
+ (message) => bounds.newLoop(message)
3269
+ );
3270
+ break;
3271
+ case diagObj.db.LINETYPE.LOOP_END:
3272
+ loopModel = bounds.endLoop();
3273
+ await svgDraw_default.drawLoop(diagram2, loopModel, "loop", conf);
3274
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3275
+ bounds.models.addLoop(loopModel);
3276
+ break;
3277
+ case diagObj.db.LINETYPE.RECT_START:
3278
+ adjustLoopHeightForWrap(
3279
+ loopWidths,
3280
+ msg,
3281
+ conf.boxMargin,
3282
+ conf.boxMargin,
3283
+ (message) => bounds.newLoop(void 0, message.message)
3284
+ );
3285
+ break;
3286
+ case diagObj.db.LINETYPE.RECT_END:
3287
+ loopModel = bounds.endLoop();
3288
+ backgrounds.push(loopModel);
3289
+ bounds.models.addLoop(loopModel);
3290
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3291
+ break;
3292
+ case diagObj.db.LINETYPE.OPT_START:
3293
+ adjustLoopHeightForWrap(
3294
+ loopWidths,
3295
+ msg,
3296
+ conf.boxMargin,
3297
+ conf.boxMargin + conf.boxTextMargin,
3298
+ (message) => bounds.newLoop(message)
3299
+ );
3300
+ break;
3301
+ case diagObj.db.LINETYPE.OPT_END:
3302
+ loopModel = bounds.endLoop();
3303
+ await svgDraw_default.drawLoop(diagram2, loopModel, "opt", conf);
3304
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3305
+ bounds.models.addLoop(loopModel);
3306
+ break;
3307
+ case diagObj.db.LINETYPE.ALT_START:
3308
+ adjustLoopHeightForWrap(
3309
+ loopWidths,
3310
+ msg,
3311
+ conf.boxMargin,
3312
+ conf.boxMargin + conf.boxTextMargin,
3313
+ (message) => bounds.newLoop(message)
3314
+ );
3315
+ break;
3316
+ case diagObj.db.LINETYPE.ALT_ELSE:
3317
+ adjustLoopHeightForWrap(
3318
+ loopWidths,
3319
+ msg,
3320
+ conf.boxMargin + conf.boxTextMargin,
3321
+ conf.boxMargin,
3322
+ (message) => bounds.addSectionToLoop(message)
3323
+ );
3324
+ break;
3325
+ case diagObj.db.LINETYPE.ALT_END:
3326
+ loopModel = bounds.endLoop();
3327
+ await svgDraw_default.drawLoop(diagram2, loopModel, "alt", conf);
3328
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3329
+ bounds.models.addLoop(loopModel);
3330
+ break;
3331
+ case diagObj.db.LINETYPE.PAR_START:
3332
+ case diagObj.db.LINETYPE.PAR_OVER_START:
3333
+ adjustLoopHeightForWrap(
3334
+ loopWidths,
3335
+ msg,
3336
+ conf.boxMargin,
3337
+ conf.boxMargin + conf.boxTextMargin,
3338
+ (message) => bounds.newLoop(message)
3339
+ );
3340
+ bounds.saveVerticalPos();
3341
+ break;
3342
+ case diagObj.db.LINETYPE.PAR_AND:
3343
+ adjustLoopHeightForWrap(
3344
+ loopWidths,
3345
+ msg,
3346
+ conf.boxMargin + conf.boxTextMargin,
3347
+ conf.boxMargin,
3348
+ (message) => bounds.addSectionToLoop(message)
3349
+ );
3350
+ break;
3351
+ case diagObj.db.LINETYPE.PAR_END:
3352
+ loopModel = bounds.endLoop();
3353
+ await svgDraw_default.drawLoop(diagram2, loopModel, "par", conf);
3354
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3355
+ bounds.models.addLoop(loopModel);
3356
+ break;
3357
+ case diagObj.db.LINETYPE.AUTONUMBER:
3358
+ sequenceIndex = msg.message.start || sequenceIndex;
3359
+ sequenceIndexStep = msg.message.step || sequenceIndexStep;
3360
+ if (msg.message.visible) {
3361
+ diagObj.db.enableSequenceNumbers();
3362
+ } else {
3363
+ diagObj.db.disableSequenceNumbers();
3364
+ }
3365
+ break;
3366
+ case diagObj.db.LINETYPE.CRITICAL_START:
3367
+ adjustLoopHeightForWrap(
3368
+ loopWidths,
3369
+ msg,
3370
+ conf.boxMargin,
3371
+ conf.boxMargin + conf.boxTextMargin,
3372
+ (message) => bounds.newLoop(message)
3373
+ );
3374
+ break;
3375
+ case diagObj.db.LINETYPE.CRITICAL_OPTION:
3376
+ adjustLoopHeightForWrap(
3377
+ loopWidths,
3378
+ msg,
3379
+ conf.boxMargin + conf.boxTextMargin,
3380
+ conf.boxMargin,
3381
+ (message) => bounds.addSectionToLoop(message)
3382
+ );
3383
+ break;
3384
+ case diagObj.db.LINETYPE.CRITICAL_END:
3385
+ loopModel = bounds.endLoop();
3386
+ await svgDraw_default.drawLoop(diagram2, loopModel, "critical", conf);
3387
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3388
+ bounds.models.addLoop(loopModel);
3389
+ break;
3390
+ case diagObj.db.LINETYPE.BREAK_START:
3391
+ adjustLoopHeightForWrap(
3392
+ loopWidths,
3393
+ msg,
3394
+ conf.boxMargin,
3395
+ conf.boxMargin + conf.boxTextMargin,
3396
+ (message) => bounds.newLoop(message)
3397
+ );
3398
+ break;
3399
+ case diagObj.db.LINETYPE.BREAK_END:
3400
+ loopModel = bounds.endLoop();
3401
+ await svgDraw_default.drawLoop(diagram2, loopModel, "break", conf);
3402
+ bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());
3403
+ bounds.models.addLoop(loopModel);
3404
+ break;
3405
+ default:
3406
+ try {
3407
+ msgModel = msg.msgModel;
3408
+ msgModel.starty = bounds.getVerticalPos();
3409
+ msgModel.sequenceIndex = sequenceIndex;
3410
+ msgModel.sequenceVisible = diagObj.db.showSequenceNumbers();
3411
+ const lineStartY = await boundMessage(diagram2, msgModel);
3412
+ adjustCreatedDestroyedData(
3413
+ msg,
3414
+ msgModel,
3415
+ lineStartY,
3416
+ index,
3417
+ actors,
3418
+ createdActors,
3419
+ destroyedActors
3420
+ );
3421
+ messagesToDraw.push({ messageModel: msgModel, lineStartY });
3422
+ bounds.models.addMessage(msgModel);
3423
+ } catch (e) {
3424
+ chunkAGHRB4JF.log.error("error while drawing message", e);
3425
+ }
3426
+ }
3427
+ if ([
3428
+ diagObj.db.LINETYPE.SOLID_OPEN,
3429
+ diagObj.db.LINETYPE.DOTTED_OPEN,
3430
+ diagObj.db.LINETYPE.SOLID,
3431
+ diagObj.db.LINETYPE.DOTTED,
3432
+ diagObj.db.LINETYPE.SOLID_CROSS,
3433
+ diagObj.db.LINETYPE.DOTTED_CROSS,
3434
+ diagObj.db.LINETYPE.SOLID_POINT,
3435
+ diagObj.db.LINETYPE.DOTTED_POINT,
3436
+ diagObj.db.LINETYPE.BIDIRECTIONAL_SOLID,
3437
+ diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED
3438
+ ].includes(msg.type)) {
3439
+ sequenceIndex = sequenceIndex + sequenceIndexStep;
3440
+ }
3441
+ index++;
3442
+ }
3443
+ chunkAGHRB4JF.log.debug("createdActors", createdActors);
3444
+ chunkAGHRB4JF.log.debug("destroyedActors", destroyedActors);
3445
+ await drawActors(diagram2, actors, actorKeys, false);
3446
+ for (const e of messagesToDraw) {
3447
+ await drawMessage(diagram2, e.messageModel, e.lineStartY, diagObj);
3448
+ }
3449
+ if (conf.mirrorActors) {
3450
+ await drawActors(diagram2, actors, actorKeys, true);
3451
+ }
3452
+ backgrounds.forEach((e) => svgDraw_default.drawBackgroundRect(diagram2, e));
3453
+ fixLifeLineHeights(diagram2, actors, actorKeys, conf);
3454
+ for (const box2 of bounds.models.boxes) {
3455
+ box2.height = bounds.getVerticalPos() - box2.y;
3456
+ bounds.insert(box2.x, box2.y, box2.x + box2.width, box2.height);
3457
+ const boxPadding = conf.boxMargin * 2;
3458
+ box2.startx = box2.x - boxPadding;
3459
+ box2.starty = box2.y - boxPadding * 0.25;
3460
+ box2.stopx = box2.startx + box2.width + 2 * boxPadding;
3461
+ box2.stopy = box2.starty + box2.height + boxPadding * 0.75;
3462
+ box2.stroke = "rgb(0,0,0, 0.5)";
3463
+ svgDraw_default.drawBox(diagram2, box2, conf);
3464
+ }
3465
+ if (hasBoxes) {
3466
+ bounds.bumpVerticalPos(conf.boxMargin);
3467
+ }
3468
+ const requiredBoxSize = drawActorsPopup(diagram2, actors, actorKeys, doc);
3469
+ const { bounds: box } = bounds.getBounds();
3470
+ if (box.startx === void 0) {
3471
+ box.startx = 0;
3472
+ }
3473
+ if (box.starty === void 0) {
3474
+ box.starty = 0;
3475
+ }
3476
+ if (box.stopx === void 0) {
3477
+ box.stopx = 0;
3478
+ }
3479
+ if (box.stopy === void 0) {
3480
+ box.stopy = 0;
3481
+ }
3482
+ let boxHeight = box.stopy - box.starty;
3483
+ if (boxHeight < requiredBoxSize.maxHeight) {
3484
+ boxHeight = requiredBoxSize.maxHeight;
3485
+ }
3486
+ let height = boxHeight + 2 * conf.diagramMarginY;
3487
+ if (conf.mirrorActors) {
3488
+ height = height - conf.boxMargin + conf.bottomMarginAdj;
3489
+ }
3490
+ let boxWidth = box.stopx - box.startx;
3491
+ if (boxWidth < requiredBoxSize.maxWidth) {
3492
+ boxWidth = requiredBoxSize.maxWidth;
3493
+ }
3494
+ const width = boxWidth + 2 * conf.diagramMarginX;
3495
+ if (title) {
3496
+ diagram2.append("text").text(title).attr("x", (box.stopx - box.startx) / 2 - 2 * conf.diagramMarginX).attr("y", -25);
3497
+ }
3498
+ chunkABZYJK2D.configureSvgSize(diagram2, height, width, conf.useMaxWidth);
3499
+ const extraVertForTitle = title ? 40 : 0;
3500
+ diagram2.attr(
3501
+ "viewBox",
3502
+ box.startx - conf.diagramMarginX + " -" + (conf.diagramMarginY + extraVertForTitle) + " " + width + " " + (height + extraVertForTitle)
3503
+ );
3504
+ chunkAGHRB4JF.log.debug(`models:`, bounds.models);
3505
+ }, "draw");
3506
+ async function getMaxMessageWidthPerActor(actors, messages, diagObj) {
3507
+ const maxMessageWidthPerActor = {};
3508
+ for (const msg of messages) {
3509
+ if (actors.get(msg.to) && actors.get(msg.from)) {
3510
+ const actor = actors.get(msg.to);
3511
+ if (msg.placement === diagObj.db.PLACEMENT.LEFTOF && !actor.prevActor) {
3512
+ continue;
3513
+ }
3514
+ if (msg.placement === diagObj.db.PLACEMENT.RIGHTOF && !actor.nextActor) {
3515
+ continue;
3516
+ }
3517
+ const isNote = msg.placement !== void 0;
3518
+ const isMessage = !isNote;
3519
+ const textFont = isNote ? noteFont(conf) : messageFont(conf);
3520
+ const wrappedMessage = msg.wrap ? chunkS3R3BYOJ.utils_default.wrapLabel(msg.message, conf.width - 2 * conf.wrapPadding, textFont) : msg.message;
3521
+ const messageDimensions = chunkABZYJK2D.hasKatex(wrappedMessage) ? await chunkABZYJK2D.calculateMathMLDimensions(msg.message, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(wrappedMessage, textFont);
3522
+ const messageWidth = messageDimensions.width + 2 * conf.wrapPadding;
3523
+ if (isMessage && msg.from === actor.nextActor) {
3524
+ maxMessageWidthPerActor[msg.to] = chunkABZYJK2D.common_default.getMax(
3525
+ maxMessageWidthPerActor[msg.to] || 0,
3526
+ messageWidth
3527
+ );
3528
+ } else if (isMessage && msg.from === actor.prevActor) {
3529
+ maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
3530
+ maxMessageWidthPerActor[msg.from] || 0,
3531
+ messageWidth
3532
+ );
3533
+ } else if (isMessage && msg.from === msg.to) {
3534
+ maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
3535
+ maxMessageWidthPerActor[msg.from] || 0,
3536
+ messageWidth / 2
3537
+ );
3538
+ maxMessageWidthPerActor[msg.to] = chunkABZYJK2D.common_default.getMax(
3539
+ maxMessageWidthPerActor[msg.to] || 0,
3540
+ messageWidth / 2
3541
+ );
3542
+ } else if (msg.placement === diagObj.db.PLACEMENT.RIGHTOF) {
3543
+ maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
3544
+ maxMessageWidthPerActor[msg.from] || 0,
3545
+ messageWidth
3546
+ );
3547
+ } else if (msg.placement === diagObj.db.PLACEMENT.LEFTOF) {
3548
+ maxMessageWidthPerActor[actor.prevActor] = chunkABZYJK2D.common_default.getMax(
3549
+ maxMessageWidthPerActor[actor.prevActor] || 0,
3550
+ messageWidth
3551
+ );
3552
+ } else if (msg.placement === diagObj.db.PLACEMENT.OVER) {
3553
+ if (actor.prevActor) {
3554
+ maxMessageWidthPerActor[actor.prevActor] = chunkABZYJK2D.common_default.getMax(
3555
+ maxMessageWidthPerActor[actor.prevActor] || 0,
3556
+ messageWidth / 2
3557
+ );
3558
+ }
3559
+ if (actor.nextActor) {
3560
+ maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
3561
+ maxMessageWidthPerActor[msg.from] || 0,
3562
+ messageWidth / 2
3563
+ );
3564
+ }
3565
+ }
3566
+ }
3567
+ }
3568
+ chunkAGHRB4JF.log.debug("maxMessageWidthPerActor:", maxMessageWidthPerActor);
3569
+ return maxMessageWidthPerActor;
3570
+ }
3571
+ chunkAGHRB4JF.__name(getMaxMessageWidthPerActor, "getMaxMessageWidthPerActor");
3572
+ var getRequiredPopupWidth = /* @__PURE__ */ chunkAGHRB4JF.__name(function(actor) {
3573
+ let requiredPopupWidth = 0;
3574
+ const textFont = actorFont(conf);
3575
+ for (const key in actor.links) {
3576
+ const labelDimensions = chunkS3R3BYOJ.utils_default.calculateTextDimensions(key, textFont);
3577
+ const labelWidth = labelDimensions.width + 2 * conf.wrapPadding + 2 * conf.boxMargin;
3578
+ if (requiredPopupWidth < labelWidth) {
3579
+ requiredPopupWidth = labelWidth;
3580
+ }
3581
+ }
3582
+ return requiredPopupWidth;
3583
+ }, "getRequiredPopupWidth");
3584
+ async function calculateActorMargins(actors, actorToMessageWidth, boxes) {
3585
+ let maxHeight = 0;
3586
+ for (const prop of actors.keys()) {
3587
+ const actor = actors.get(prop);
3588
+ if (actor.wrap) {
3589
+ actor.description = chunkS3R3BYOJ.utils_default.wrapLabel(
3590
+ actor.description,
3591
+ conf.width - 2 * conf.wrapPadding,
3592
+ actorFont(conf)
3593
+ );
3594
+ }
3595
+ const actDims = chunkABZYJK2D.hasKatex(actor.description) ? await chunkABZYJK2D.calculateMathMLDimensions(actor.description, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(actor.description, actorFont(conf));
3596
+ actor.width = actor.wrap ? conf.width : chunkABZYJK2D.common_default.getMax(conf.width, actDims.width + 2 * conf.wrapPadding);
3597
+ actor.height = actor.wrap ? chunkABZYJK2D.common_default.getMax(actDims.height, conf.height) : conf.height;
3598
+ maxHeight = chunkABZYJK2D.common_default.getMax(maxHeight, actor.height);
3599
+ }
3600
+ for (const actorKey in actorToMessageWidth) {
3601
+ const actor = actors.get(actorKey);
3602
+ if (!actor) {
3603
+ continue;
3604
+ }
3605
+ const nextActor = actors.get(actor.nextActor);
3606
+ if (!nextActor) {
3607
+ const messageWidth2 = actorToMessageWidth[actorKey];
3608
+ const actorWidth2 = messageWidth2 + conf.actorMargin - actor.width / 2;
3609
+ actor.margin = chunkABZYJK2D.common_default.getMax(actorWidth2, conf.actorMargin);
3610
+ continue;
3611
+ }
3612
+ const messageWidth = actorToMessageWidth[actorKey];
3613
+ const actorWidth = messageWidth + conf.actorMargin - actor.width / 2 - nextActor.width / 2;
3614
+ actor.margin = chunkABZYJK2D.common_default.getMax(actorWidth, conf.actorMargin);
3615
+ }
3616
+ let maxBoxHeight = 0;
3617
+ boxes.forEach((box) => {
3618
+ const textFont = messageFont(conf);
3619
+ let totalWidth = box.actorKeys.reduce((total, aKey) => {
3620
+ return total += actors.get(aKey).width + (actors.get(aKey).margin || 0);
3621
+ }, 0);
3622
+ const standardBoxPadding = conf.boxMargin * 8;
3623
+ totalWidth += standardBoxPadding;
3624
+ totalWidth -= 2 * conf.boxTextMargin;
3625
+ if (box.wrap) {
3626
+ box.name = chunkS3R3BYOJ.utils_default.wrapLabel(box.name, totalWidth - 2 * conf.wrapPadding, textFont);
3627
+ }
3628
+ const boxMsgDimensions = chunkS3R3BYOJ.utils_default.calculateTextDimensions(box.name, textFont);
3629
+ maxBoxHeight = chunkABZYJK2D.common_default.getMax(boxMsgDimensions.height, maxBoxHeight);
3630
+ const minWidth = chunkABZYJK2D.common_default.getMax(totalWidth, boxMsgDimensions.width + 2 * conf.wrapPadding);
3631
+ box.margin = conf.boxTextMargin;
3632
+ if (totalWidth < minWidth) {
3633
+ const missing = (minWidth - totalWidth) / 2;
3634
+ box.margin += missing;
3635
+ }
3636
+ });
3637
+ boxes.forEach((box) => box.textMaxHeight = maxBoxHeight);
3638
+ return chunkABZYJK2D.common_default.getMax(maxHeight, conf.height);
3639
+ }
3640
+ chunkAGHRB4JF.__name(calculateActorMargins, "calculateActorMargins");
3641
+ var buildNoteModel = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(msg, actors, diagObj) {
3642
+ const fromActor = actors.get(msg.from);
3643
+ const toActor = actors.get(msg.to);
3644
+ const startx = fromActor.x;
3645
+ const stopx = toActor.x;
3646
+ const shouldWrap = msg.wrap && msg.message;
3647
+ let textDimensions = chunkABZYJK2D.hasKatex(msg.message) ? await chunkABZYJK2D.calculateMathMLDimensions(msg.message, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(
3648
+ shouldWrap ? chunkS3R3BYOJ.utils_default.wrapLabel(msg.message, conf.width, noteFont(conf)) : msg.message,
3649
+ noteFont(conf)
3650
+ );
3651
+ const noteModel = {
3652
+ width: shouldWrap ? conf.width : chunkABZYJK2D.common_default.getMax(conf.width, textDimensions.width + 2 * conf.noteMargin),
3653
+ height: 0,
3654
+ startx: fromActor.x,
3655
+ stopx: 0,
3656
+ starty: 0,
3657
+ stopy: 0,
3658
+ message: msg.message
3659
+ };
3660
+ if (msg.placement === diagObj.db.PLACEMENT.RIGHTOF) {
3661
+ noteModel.width = shouldWrap ? chunkABZYJK2D.common_default.getMax(conf.width, textDimensions.width) : chunkABZYJK2D.common_default.getMax(
3662
+ fromActor.width / 2 + toActor.width / 2,
3663
+ textDimensions.width + 2 * conf.noteMargin
3664
+ );
3665
+ noteModel.startx = startx + (fromActor.width + conf.actorMargin) / 2;
3666
+ } else if (msg.placement === diagObj.db.PLACEMENT.LEFTOF) {
3667
+ noteModel.width = shouldWrap ? chunkABZYJK2D.common_default.getMax(conf.width, textDimensions.width + 2 * conf.noteMargin) : chunkABZYJK2D.common_default.getMax(
3668
+ fromActor.width / 2 + toActor.width / 2,
3669
+ textDimensions.width + 2 * conf.noteMargin
3670
+ );
3671
+ noteModel.startx = startx - noteModel.width + (fromActor.width - conf.actorMargin) / 2;
3672
+ } else if (msg.to === msg.from) {
3673
+ textDimensions = chunkS3R3BYOJ.utils_default.calculateTextDimensions(
3674
+ shouldWrap ? chunkS3R3BYOJ.utils_default.wrapLabel(msg.message, chunkABZYJK2D.common_default.getMax(conf.width, fromActor.width), noteFont(conf)) : msg.message,
3675
+ noteFont(conf)
3676
+ );
3677
+ noteModel.width = shouldWrap ? chunkABZYJK2D.common_default.getMax(conf.width, fromActor.width) : chunkABZYJK2D.common_default.getMax(fromActor.width, conf.width, textDimensions.width + 2 * conf.noteMargin);
3678
+ noteModel.startx = startx + (fromActor.width - noteModel.width) / 2;
3679
+ } else {
3680
+ noteModel.width = Math.abs(startx + fromActor.width / 2 - (stopx + toActor.width / 2)) + conf.actorMargin;
3681
+ noteModel.startx = startx < stopx ? startx + fromActor.width / 2 - conf.actorMargin / 2 : stopx + toActor.width / 2 - conf.actorMargin / 2;
3682
+ }
3683
+ if (shouldWrap) {
3684
+ noteModel.message = chunkS3R3BYOJ.utils_default.wrapLabel(
3685
+ msg.message,
3686
+ noteModel.width - 2 * conf.wrapPadding,
3687
+ noteFont(conf)
3688
+ );
3689
+ }
3690
+ chunkAGHRB4JF.log.debug(
3691
+ `NM:[${noteModel.startx},${noteModel.stopx},${noteModel.starty},${noteModel.stopy}:${noteModel.width},${noteModel.height}=${msg.message}]`
3692
+ );
3693
+ return noteModel;
3694
+ }, "buildNoteModel");
3695
+ var buildMessageModel = /* @__PURE__ */ chunkAGHRB4JF.__name(function(msg, actors, diagObj) {
3696
+ if (![
3697
+ diagObj.db.LINETYPE.SOLID_OPEN,
3698
+ diagObj.db.LINETYPE.DOTTED_OPEN,
3699
+ diagObj.db.LINETYPE.SOLID,
3700
+ diagObj.db.LINETYPE.DOTTED,
3701
+ diagObj.db.LINETYPE.SOLID_CROSS,
3702
+ diagObj.db.LINETYPE.DOTTED_CROSS,
3703
+ diagObj.db.LINETYPE.SOLID_POINT,
3704
+ diagObj.db.LINETYPE.DOTTED_POINT,
3705
+ diagObj.db.LINETYPE.BIDIRECTIONAL_SOLID,
3706
+ diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED
3707
+ ].includes(msg.type)) {
3708
+ return {};
3709
+ }
3710
+ const [fromLeft, fromRight] = activationBounds(msg.from, actors);
3711
+ const [toLeft, toRight] = activationBounds(msg.to, actors);
3712
+ const isArrowToRight = fromLeft <= toLeft;
3713
+ let startx = isArrowToRight ? fromRight : fromLeft;
3714
+ let stopx = isArrowToRight ? toLeft : toRight;
3715
+ const isArrowToActivation = Math.abs(toLeft - toRight) > 2;
3716
+ const adjustValue = /* @__PURE__ */ chunkAGHRB4JF.__name((value) => {
3717
+ return isArrowToRight ? -value : value;
3718
+ }, "adjustValue");
3719
+ if (msg.from === msg.to) {
3720
+ stopx = startx;
3721
+ } else {
3722
+ if (msg.activate && !isArrowToActivation) {
3723
+ stopx += adjustValue(conf.activationWidth / 2 - 1);
3724
+ }
3725
+ if (![diagObj.db.LINETYPE.SOLID_OPEN, diagObj.db.LINETYPE.DOTTED_OPEN].includes(msg.type)) {
3726
+ stopx += adjustValue(3);
3727
+ }
3728
+ if ([diagObj.db.LINETYPE.BIDIRECTIONAL_SOLID, diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(
3729
+ msg.type
3730
+ )) {
3731
+ startx -= adjustValue(3);
3732
+ }
3733
+ }
3734
+ const allBounds = [fromLeft, fromRight, toLeft, toRight];
3735
+ const boundedWidth = Math.abs(startx - stopx);
3736
+ if (msg.wrap && msg.message) {
3737
+ msg.message = chunkS3R3BYOJ.utils_default.wrapLabel(
3738
+ msg.message,
3739
+ chunkABZYJK2D.common_default.getMax(boundedWidth + 2 * conf.wrapPadding, conf.width),
3740
+ messageFont(conf)
3741
+ );
3742
+ }
3743
+ const msgDims = chunkS3R3BYOJ.utils_default.calculateTextDimensions(msg.message, messageFont(conf));
3744
+ return {
3745
+ width: chunkABZYJK2D.common_default.getMax(
3746
+ msg.wrap ? 0 : msgDims.width + 2 * conf.wrapPadding,
3747
+ boundedWidth + 2 * conf.wrapPadding,
3748
+ conf.width
3749
+ ),
3750
+ height: 0,
3751
+ startx,
3752
+ stopx,
3753
+ starty: 0,
3754
+ stopy: 0,
3755
+ message: msg.message,
3756
+ type: msg.type,
3757
+ wrap: msg.wrap,
3758
+ fromBounds: Math.min.apply(null, allBounds),
3759
+ toBounds: Math.max.apply(null, allBounds)
3760
+ };
3761
+ }, "buildMessageModel");
3762
+ var calculateLoopBounds = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(messages, actors, _maxWidthPerActor, diagObj) {
3763
+ const loops = {};
3764
+ const stack = [];
3765
+ let current, noteModel, msgModel;
3766
+ for (const msg of messages) {
3767
+ switch (msg.type) {
3768
+ case diagObj.db.LINETYPE.LOOP_START:
3769
+ case diagObj.db.LINETYPE.ALT_START:
3770
+ case diagObj.db.LINETYPE.OPT_START:
3771
+ case diagObj.db.LINETYPE.PAR_START:
3772
+ case diagObj.db.LINETYPE.PAR_OVER_START:
3773
+ case diagObj.db.LINETYPE.CRITICAL_START:
3774
+ case diagObj.db.LINETYPE.BREAK_START:
3775
+ stack.push({
3776
+ id: msg.id,
3777
+ msg: msg.message,
3778
+ from: Number.MAX_SAFE_INTEGER,
3779
+ to: Number.MIN_SAFE_INTEGER,
3780
+ width: 0
3781
+ });
3782
+ break;
3783
+ case diagObj.db.LINETYPE.ALT_ELSE:
3784
+ case diagObj.db.LINETYPE.PAR_AND:
3785
+ case diagObj.db.LINETYPE.CRITICAL_OPTION:
3786
+ if (msg.message) {
3787
+ current = stack.pop();
3788
+ loops[current.id] = current;
3789
+ loops[msg.id] = current;
3790
+ stack.push(current);
3791
+ }
3792
+ break;
3793
+ case diagObj.db.LINETYPE.LOOP_END:
3794
+ case diagObj.db.LINETYPE.ALT_END:
3795
+ case diagObj.db.LINETYPE.OPT_END:
3796
+ case diagObj.db.LINETYPE.PAR_END:
3797
+ case diagObj.db.LINETYPE.CRITICAL_END:
3798
+ case diagObj.db.LINETYPE.BREAK_END:
3799
+ current = stack.pop();
3800
+ loops[current.id] = current;
3801
+ break;
3802
+ case diagObj.db.LINETYPE.ACTIVE_START:
3803
+ {
3804
+ const actorRect = actors.get(msg.from ? msg.from : msg.to.actor);
3805
+ const stackedSize = actorActivations(msg.from ? msg.from : msg.to.actor).length;
3806
+ const x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;
3807
+ const toAdd = {
3808
+ startx: x,
3809
+ stopx: x + conf.activationWidth,
3810
+ actor: msg.from,
3811
+ enabled: true
3812
+ };
3813
+ bounds.activations.push(toAdd);
3814
+ }
3815
+ break;
3816
+ case diagObj.db.LINETYPE.ACTIVE_END:
3817
+ {
3818
+ const lastActorActivationIdx = bounds.activations.map((a) => a.actor).lastIndexOf(msg.from);
3819
+ bounds.activations.splice(lastActorActivationIdx, 1).splice(0, 1);
3820
+ }
3821
+ break;
3822
+ }
3823
+ const isNote = msg.placement !== void 0;
3824
+ if (isNote) {
3825
+ noteModel = await buildNoteModel(msg, actors, diagObj);
3826
+ msg.noteModel = noteModel;
3827
+ stack.forEach((stk) => {
3828
+ current = stk;
3829
+ current.from = chunkABZYJK2D.common_default.getMin(current.from, noteModel.startx);
3830
+ current.to = chunkABZYJK2D.common_default.getMax(current.to, noteModel.startx + noteModel.width);
3831
+ current.width = chunkABZYJK2D.common_default.getMax(current.width, Math.abs(current.from - current.to)) - conf.labelBoxWidth;
3832
+ });
3833
+ } else {
3834
+ msgModel = buildMessageModel(msg, actors, diagObj);
3835
+ msg.msgModel = msgModel;
3836
+ if (msgModel.startx && msgModel.stopx && stack.length > 0) {
3837
+ stack.forEach((stk) => {
3838
+ current = stk;
3839
+ if (msgModel.startx === msgModel.stopx) {
3840
+ const from = actors.get(msg.from);
3841
+ const to = actors.get(msg.to);
3842
+ current.from = chunkABZYJK2D.common_default.getMin(
3843
+ from.x - msgModel.width / 2,
3844
+ from.x - from.width / 2,
3845
+ current.from
3846
+ );
3847
+ current.to = chunkABZYJK2D.common_default.getMax(
3848
+ to.x + msgModel.width / 2,
3849
+ to.x + from.width / 2,
3850
+ current.to
3851
+ );
3852
+ current.width = chunkABZYJK2D.common_default.getMax(current.width, Math.abs(current.to - current.from)) - conf.labelBoxWidth;
3853
+ } else {
3854
+ current.from = chunkABZYJK2D.common_default.getMin(msgModel.startx, current.from);
3855
+ current.to = chunkABZYJK2D.common_default.getMax(msgModel.stopx, current.to);
3856
+ current.width = chunkABZYJK2D.common_default.getMax(current.width, msgModel.width) - conf.labelBoxWidth;
3857
+ }
3858
+ });
3859
+ }
3860
+ }
3861
+ }
3862
+ bounds.activations = [];
3863
+ chunkAGHRB4JF.log.debug("Loop type widths:", loops);
3864
+ return loops;
3865
+ }, "calculateLoopBounds");
3866
+ var sequenceRenderer_default = {
3867
+ bounds,
3868
+ drawActors,
3869
+ drawActorsPopup,
3870
+ setConf,
3871
+ draw
3872
+ };
3873
+
3874
+ // src/diagrams/sequence/sequenceDiagram.ts
3875
+ var diagram = {
3876
+ parser: sequenceDiagram_default,
3877
+ get db() {
3878
+ return new SequenceDB();
3879
+ },
3880
+ renderer: sequenceRenderer_default,
3881
+ styles: styles_default,
3882
+ init: /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
3883
+ if (!cnf.sequence) {
3884
+ cnf.sequence = {};
3885
+ }
3886
+ if (cnf.wrap) {
3887
+ cnf.sequence.wrap = cnf.wrap;
3888
+ chunkABZYJK2D.setConfig2({ sequence: { wrap: cnf.wrap } });
3889
+ }
3890
+ }, "init")
3891
+ };
3892
+
3893
+ exports.diagram = diagram;