@loopstack/loopstack-studio 0.28.0 → 0.29.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 (377) hide show
  1. package/dist/_virtual/rolldown_runtime.js +13 -15
  2. package/dist/api/config.js +2 -2
  3. package/dist/components/dynamic-form/Form.js +49 -52
  4. package/dist/config.js +6 -0
  5. package/dist/features/debug/components/WorkflowFlowViewer.js +94 -81
  6. package/dist/features/debug/components/workflow-flow/StateNode.js +154 -79
  7. package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +43 -31
  8. package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +52 -51
  9. package/dist/features/debug/lib/edge-paths.js +45 -30
  10. package/dist/features/debug/lib/flow-types.js +2 -0
  11. package/dist/features/debug/lib/flow-utils.js +66 -64
  12. package/dist/features/documents/components/DocumentList.js +19 -18
  13. package/dist/features/workbench/WorkflowItem.js +4 -3
  14. package/dist/features/workbench/components/EmbedLogsContent.js +5 -0
  15. package/dist/features/workbench/components/NewRunDialog.js +2 -2
  16. package/dist/features/workbench/components/PreviewEmptyState.js +10 -0
  17. package/dist/features/workbench/components/PreviewWorkbench.js +14 -0
  18. package/dist/features/workbench/components/RecentRunItem.js +48 -0
  19. package/dist/features/workbench/components/WorkflowForms.js +4 -3
  20. package/dist/features/workbench/hooks/useEmbedBridge.js +3 -0
  21. package/dist/features/workbench/hooks/useWorkflowData.js +9 -9
  22. package/dist/features/workbench/index.js +4 -0
  23. package/dist/features/workspaces/Workspaces.js +2 -2
  24. package/dist/features/workspaces/components/ExecutionTimeline.js +9 -8
  25. package/dist/hooks/index.js +2 -2
  26. package/dist/hooks/query-keys.js +3 -3
  27. package/dist/hooks/useConfig.js +15 -15
  28. package/dist/index.d.ts +12 -12
  29. package/dist/index.js +3 -3
  30. package/dist/loopstack-studio.css +1 -1
  31. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{architecture-YZFGNWBL.js → architecture-7EHR7CIX.js} +2 -2
  32. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-7N4EOEYR.js → chunk-4EGX6M5U.js} +9 -13
  33. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-KGLVRYIC.js → chunk-5DO6E6H7.js} +3 -7
  34. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BR22UD5L.js +56 -0
  35. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-2KRD3SAO.js → chunk-FHYWG6QK.js} +3 -7
  36. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-FOC6F5B3.js → chunk-MPE355IW.js} +3 -7
  37. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MZUSXYTE.js +24 -0
  38. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-N66VUXT2.js +48 -0
  39. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-NNHCCRGN.js +20219 -0
  40. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.js +19 -0
  41. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-67CJDMHE.js → chunk-UIBZB4QT.js} +3 -7
  42. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WCWK7LTN.js +25 -0
  43. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-FCH6USID.js +3 -0
  44. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{gitGraph-7Q5UKJZL.js → gitGraph-WXDBUCRP.js} +2 -2
  45. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-J43DQDTF.js +3 -0
  46. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-YPE3B663.js +3 -0
  47. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-LRSECV5Y.js +3 -0
  48. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-GUYGQ44K.js +3 -0
  49. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{treeView-SZITEDCU.js → treeView-BLDUP644.js} +2 -2
  50. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-LRROVOQU.js +3 -0
  51. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-L42UT6IY.js +3 -0
  52. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +24 -19
  53. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +36 -26
  54. package/dist/node_modules/@xyflow/react/dist/esm/index.js +1 -1
  55. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +257 -254
  56. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +19 -19
  57. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +48 -48
  58. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +9 -9
  59. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +3 -3
  60. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +11 -11
  61. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +4 -4
  62. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +4 -4
  63. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +8 -8
  64. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +5 -5
  65. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +72 -72
  66. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +1 -1
  67. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +25 -25
  68. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +8 -8
  69. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +48 -48
  70. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +109 -109
  71. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +17 -17
  72. package/dist/node_modules/dompurify/dist/purify.es.js +293 -205
  73. package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js +4 -0
  74. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +4 -0
  75. package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +4 -0
  76. package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +4 -0
  77. package/dist/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +5 -0
  78. package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +2 -0
  79. package/dist/node_modules/es-toolkit/dist/compat/function/memoize.js +12 -0
  80. package/dist/node_modules/es-toolkit/dist/compat/object/clone.js +97 -0
  81. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +5 -0
  82. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +29 -0
  83. package/dist/node_modules/es-toolkit/dist/compat/object/merge.js +6 -0
  84. package/dist/node_modules/es-toolkit/dist/compat/object/mergeWith.js +49 -0
  85. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +5 -0
  86. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArray.js +4 -0
  87. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +5 -0
  88. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +6 -0
  89. package/dist/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js +16 -0
  90. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +4 -0
  91. package/dist/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +12 -0
  92. package/dist/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +5 -0
  93. package/dist/node_modules/es-toolkit/dist/function/noop.js +2 -0
  94. package/dist/node_modules/es-toolkit/dist/object/clone.js +29 -0
  95. package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +114 -0
  96. package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js +5 -0
  97. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +4 -0
  98. package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +4 -0
  99. package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +4 -0
  100. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +2 -2
  101. package/dist/node_modules/internmap/src/index.js +1 -1
  102. package/dist/node_modules/katex/dist/katex.js +379 -417
  103. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +3 -3
  104. package/dist/node_modules/lodash-es/_assignMergeValue.js +1 -1
  105. package/dist/node_modules/lodash-es/_assignValue.js +1 -1
  106. package/dist/node_modules/lodash-es/_baseClone.js +9 -9
  107. package/dist/node_modules/lodash-es/_baseForOwn.js +1 -1
  108. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +1 -1
  109. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +6 -6
  110. package/dist/node_modules/lodash-es/_baseMerge.js +2 -2
  111. package/dist/node_modules/lodash-es/_baseMergeDeep.js +7 -7
  112. package/dist/node_modules/lodash-es/_baseOrderBy.js +12 -12
  113. package/dist/node_modules/lodash-es/_baseRest.js +1 -1
  114. package/dist/node_modules/lodash-es/_baseSet.js +1 -1
  115. package/dist/node_modules/lodash-es/_baseSetToString.js +3 -3
  116. package/dist/node_modules/lodash-es/_baseToString.js +2 -2
  117. package/dist/node_modules/lodash-es/_baseUniq.js +1 -1
  118. package/dist/node_modules/lodash-es/_createRange.js +1 -1
  119. package/dist/node_modules/lodash-es/_createSet.js +3 -3
  120. package/dist/node_modules/lodash-es/_flatRest.js +1 -1
  121. package/dist/node_modules/lodash-es/_getAllKeys.js +2 -2
  122. package/dist/node_modules/lodash-es/_getAllKeysIn.js +1 -1
  123. package/dist/node_modules/lodash-es/_getSymbolsIn.js +1 -1
  124. package/dist/node_modules/lodash-es/_getTag.js +1 -1
  125. package/dist/node_modules/lodash-es/_hasPath.js +2 -2
  126. package/dist/node_modules/lodash-es/_initCloneByTag.js +1 -1
  127. package/dist/node_modules/lodash-es/_initCloneObject.js +1 -1
  128. package/dist/node_modules/lodash-es/_isFlattenable.js +1 -1
  129. package/dist/node_modules/lodash-es/_isIterateeCall.js +1 -1
  130. package/dist/node_modules/lodash-es/_isKey.js +1 -1
  131. package/dist/node_modules/lodash-es/_setToString.js +1 -1
  132. package/dist/node_modules/lodash-es/defaults.js +1 -1
  133. package/dist/node_modules/lodash-es/findIndex.js +2 -2
  134. package/dist/node_modules/lodash-es/forEach.js +1 -1
  135. package/dist/node_modules/lodash-es/forIn.js +1 -1
  136. package/dist/node_modules/lodash-es/isEmpty.js +2 -2
  137. package/dist/node_modules/lodash-es/isPlainObject.js +1 -1
  138. package/dist/node_modules/lodash-es/map.js +1 -1
  139. package/dist/node_modules/lodash-es/max.js +1 -1
  140. package/dist/node_modules/lodash-es/merge.js +3 -3
  141. package/dist/node_modules/lodash-es/min.js +1 -1
  142. package/dist/node_modules/lodash-es/minBy.js +1 -1
  143. package/dist/node_modules/lodash-es/reduce.js +1 -1
  144. package/dist/node_modules/lodash-es/toNumber.js +1 -1
  145. package/dist/node_modules/lodash-es/union.js +3 -3
  146. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{architectureDiagram-Q4EWVU46.js → architectureDiagram-3BPJPVTR.js} +310 -308
  147. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{blockDiagram-DXYQGD6D.js → blockDiagram-GPEHLZMM.js} +215 -190
  148. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-AHTNJAMY.js → c4Diagram-AAUBKEIU.js} +3 -3
  149. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-EDXVE4YY.js → chunk-2J33WTMH.js} +1 -1
  150. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-5FUZZQ4R.js → chunk-3OPIFGDE.js} +48 -20
  151. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-5PVQY5BW.js → chunk-5ZQYHXKU.js} +8 -8
  152. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-4TB4RGXK.js → chunk-727SXJPM.js} +555 -459
  153. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-OYMX7WX6.js → chunk-AQP2D5EJ.js} +155 -145
  154. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ICPOFSXX.js → chunk-CSCIHK7Q.js} +106 -12
  155. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ENJZ2VHE.js → chunk-KSCS5N6A.js} +12 -12
  156. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ZZ45TVLE.js → chunk-L5ZTLDWV.js} +2 -2
  157. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-336JU56O.js → chunk-LZXEDZCA.js} +5 -5
  158. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-YZCP3GAM.js → chunk-ND2GUHAM.js} +1 -1
  159. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-X2U36JSP.js → chunk-NZK2D7GU.js} +1 -1
  160. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-U2HBQHQK.js → chunk-O5CBEL6O.js} +2 -2
  161. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-426QAEUC.js → chunk-WU5MYG2G.js} +1 -1
  162. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-6PBFFD2Q.js → classDiagram-4FO5ZUOK.js} +11 -11
  163. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-v2-HSJHXN6E.js → classDiagram-v2-Q7XG4LA2.js} +11 -11
  164. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{dagre-KV5264BT.js → dagre-BM42HDAG.js} +8 -8
  165. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-MMDJMWI5.js → diagram-2AECGRRQ.js} +3 -3
  166. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-5BDNPKRD.js → diagram-5GNKFQAL.js} +3 -3
  167. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-KO2AKTUF.js +433 -0
  168. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-TYMM5635.js → diagram-LMA3HP47.js} +3 -3
  169. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-G4DWMVQ6.js → diagram-OG6HWLK6.js} +5 -5
  170. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-SMLLAGMA.js → erDiagram-TEJ5UH35.js} +9 -9
  171. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-DWJPFMVM.js → flowDiagram-I6XJVG4X.js} +10 -10
  172. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{ganttDiagram-T4ZO3ILL.js → ganttDiagram-6RSMTGT7.js} +7 -4
  173. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{gitGraphDiagram-UUTBAWPF.js → gitGraphDiagram-PVQCEYII.js} +2 -2
  174. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{infoDiagram-42DDH7IO.js → infoDiagram-5YYISTIA.js} +3 -3
  175. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{ishikawaDiagram-UXIWVN3A.js → ishikawaDiagram-YF4QCWOH.js} +3 -3
  176. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{journeyDiagram-VCZTEJTY.js → journeyDiagram-JHISSGLW.js} +2 -2
  177. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-6JOO6SKY.js → kanban-definition-UN3LZRKU.js} +7 -7
  178. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-QFDTVHPH.js → mindmap-definition-RKZ34NQL.js} +9 -9
  179. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{pieDiagram-DEJITSTG.js → pieDiagram-4H26LBE5.js} +3 -3
  180. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-34T5L4WZ.js → quadrantDiagram-W4KKPZXB.js} +364 -337
  181. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-MS252O5E.js → requirementDiagram-4Y6WPE33.js} +9 -9
  182. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{sankeyDiagram-XADWPNL6.js → sankeyDiagram-5OEKKPKP.js} +187 -138
  183. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{sequenceDiagram-FGHM5R23.js → sequenceDiagram-3UESZ5HK.js} +15 -8
  184. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-FHFEXIEX.js → stateDiagram-AJRCARHV.js} +10 -10
  185. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-v2-QKLJ7IA2.js → stateDiagram-v2-BHNVJYJU.js} +10 -10
  186. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{timeline-definition-GMOUNBTQ.js → timeline-definition-PNZ67QCA.js} +3 -3
  187. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{vennDiagram-DHZGUBPP.js → vennDiagram-CIIHVFJN.js} +3 -3
  188. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-YWT4CUSO.js +640 -0
  189. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{xychartDiagram-5P7HB3ND.js → xychartDiagram-2RQKCTM6.js} +4 -4
  190. package/dist/node_modules/mermaid/dist/mermaid.core.js +96 -70
  191. package/dist/node_modules/stylis/src/Enum.js +2 -2
  192. package/dist/node_modules/stylis/src/Middleware.js +9 -0
  193. package/dist/node_modules/stylis/src/Parser.js +55 -44
  194. package/dist/node_modules/stylis/src/Utility.js +9 -12
  195. package/dist/node_modules/unified/lib/index.js +1 -1
  196. package/dist/packages/contracts/dist/enums/index.js +4 -24
  197. package/dist/packages/contracts/dist/enums/registry.enum.js +9 -20
  198. package/dist/packages/contracts/dist/enums/sort-order.enum.js +5 -10
  199. package/dist/packages/contracts/dist/enums/user-type.enum.js +5 -10
  200. package/dist/packages/contracts/dist/enums/workflow-state.enum.js +5 -10
  201. package/dist/pages/DebugWorkflowDetailsPage.js +2 -2
  202. package/dist/pages/DebugWorkflowsPage.js +12 -12
  203. package/dist/pages/EmbedWorkbenchPage.js +4 -3
  204. package/dist/pages/PreviewWorkbenchPage.js +126 -124
  205. package/dist/pages/StudioLandingPage.js +28 -72
  206. package/dist/pages/WorkspacePage.js +2 -2
  207. package/package.json +2 -2
  208. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +0 -23
  209. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +0 -151
  210. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +0 -40
  211. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +0 -2
  212. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +0 -85
  213. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +0 -35
  214. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +0 -570
  215. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +0 -25
  216. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +0 -9
  217. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +0 -8
  218. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +0 -10
  219. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +0 -28
  220. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +0 -23
  221. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +0 -1197
  222. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +0 -60
  223. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +0 -29
  224. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +0 -3
  225. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +0 -3
  226. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +0 -3
  227. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +0 -3
  228. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +0 -3
  229. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +0 -3
  230. package/dist/node_modules/chevrotain/lib/src/api.js +0 -10
  231. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +0 -10
  232. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +0 -2
  233. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +0 -13
  234. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +0 -49
  235. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +0 -77
  236. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +0 -33
  237. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +0 -275
  238. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +0 -23
  239. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +0 -28
  240. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +0 -14
  241. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +0 -262
  242. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +0 -5
  243. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +0 -41
  244. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +0 -241
  245. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +0 -30
  246. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +0 -56
  247. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +0 -114
  248. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +0 -46
  249. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +0 -166
  250. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +0 -43
  251. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +0 -107
  252. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +0 -21
  253. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +0 -312
  254. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +0 -285
  255. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +0 -144
  256. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +0 -92
  257. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +0 -11
  258. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +0 -437
  259. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +0 -9
  260. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +0 -253
  261. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +0 -152
  262. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +0 -15
  263. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +0 -65
  264. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +0 -39
  265. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +0 -346
  266. package/dist/node_modules/chevrotain-allstar/lib/atn.js +0 -194
  267. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +0 -32
  268. package/dist/node_modules/chevrotain-allstar/lib/index.js +0 -1
  269. package/dist/node_modules/langium/lib/default-module.js +0 -85
  270. package/dist/node_modules/langium/lib/dependency-injection.js +0 -62
  271. package/dist/node_modules/langium/lib/documentation/comment-provider.js +0 -11
  272. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +0 -36
  273. package/dist/node_modules/langium/lib/documentation/jsdoc.js +0 -303
  274. package/dist/node_modules/langium/lib/index.js +0 -182
  275. package/dist/node_modules/langium/lib/languages/generated/ast.js +0 -1089
  276. package/dist/node_modules/langium/lib/languages/grammar-config.js +0 -13
  277. package/dist/node_modules/langium/lib/parser/async-parser.js +0 -83
  278. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +0 -7
  279. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +0 -160
  280. package/dist/node_modules/langium/lib/parser/indentation-aware.js +0 -141
  281. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +0 -11
  282. package/dist/node_modules/langium/lib/parser/langium-parser.js +0 -388
  283. package/dist/node_modules/langium/lib/parser/lexer.js +0 -50
  284. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +0 -275
  285. package/dist/node_modules/langium/lib/parser/token-builder.js +0 -61
  286. package/dist/node_modules/langium/lib/parser/value-converter.js +0 -78
  287. package/dist/node_modules/langium/lib/references/linker.js +0 -190
  288. package/dist/node_modules/langium/lib/references/name-provider.js +0 -13
  289. package/dist/node_modules/langium/lib/references/references.js +0 -76
  290. package/dist/node_modules/langium/lib/references/scope-computation.js +0 -35
  291. package/dist/node_modules/langium/lib/references/scope-provider.js +0 -34
  292. package/dist/node_modules/langium/lib/references/scope.js +0 -73
  293. package/dist/node_modules/langium/lib/serializer/hydrator.js +0 -125
  294. package/dist/node_modules/langium/lib/serializer/json-serializer.js +0 -145
  295. package/dist/node_modules/langium/lib/service-registry.js +0 -37
  296. package/dist/node_modules/langium/lib/syntax-tree.js +0 -70
  297. package/dist/node_modules/langium/lib/utils/ast-utils.js +0 -157
  298. package/dist/node_modules/langium/lib/utils/caching.js +0 -91
  299. package/dist/node_modules/langium/lib/utils/cancellation.js +0 -5
  300. package/dist/node_modules/langium/lib/utils/collections.js +0 -85
  301. package/dist/node_modules/langium/lib/utils/cst-utils.js +0 -190
  302. package/dist/node_modules/langium/lib/utils/disposable.js +0 -8
  303. package/dist/node_modules/langium/lib/utils/errors.js +0 -12
  304. package/dist/node_modules/langium/lib/utils/event.js +0 -5
  305. package/dist/node_modules/langium/lib/utils/grammar-loader.js +0 -22
  306. package/dist/node_modules/langium/lib/utils/grammar-utils.js +0 -296
  307. package/dist/node_modules/langium/lib/utils/index.js +0 -53
  308. package/dist/node_modules/langium/lib/utils/promise-utils.js +0 -30
  309. package/dist/node_modules/langium/lib/utils/regexp-utils.js +0 -167
  310. package/dist/node_modules/langium/lib/utils/stream.js +0 -327
  311. package/dist/node_modules/langium/lib/utils/uri-utils.js +0 -107
  312. package/dist/node_modules/langium/lib/validation/document-validator.js +0 -210
  313. package/dist/node_modules/langium/lib/validation/validation-registry.js +0 -87
  314. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +0 -57
  315. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +0 -28
  316. package/dist/node_modules/langium/lib/workspace/configuration.js +0 -51
  317. package/dist/node_modules/langium/lib/workspace/document-builder.js +0 -201
  318. package/dist/node_modules/langium/lib/workspace/documents.js +0 -142
  319. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +0 -34
  320. package/dist/node_modules/langium/lib/workspace/index-manager.js +0 -49
  321. package/dist/node_modules/langium/lib/workspace/profiler.js +0 -89
  322. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +0 -42
  323. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +0 -66
  324. package/dist/node_modules/lodash-es/flatMap.js +0 -7
  325. package/dist/node_modules/lodash-es/uniqBy.js +0 -7
  326. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +0 -574
  327. package/dist/node_modules/vscode-jsonrpc/browser.js +0 -7
  328. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +0 -52
  329. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +0 -120
  330. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +0 -337
  331. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +0 -57
  332. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +0 -647
  333. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -13
  334. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +0 -64
  335. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +0 -34
  336. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +0 -235
  337. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -93
  338. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -129
  339. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -85
  340. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -161
  341. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +0 -18
  342. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +0 -44
  343. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -58
  344. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +0 -28
  345. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +0 -36
  346. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +0 -12
  347. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +0 -31
  348. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +0 -19
  349. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +0 -15
  350. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +0 -11
  351. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +0 -11
  352. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +0 -33
  353. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +0 -35
  354. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +0 -15
  355. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +0 -11
  356. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +0 -19
  357. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +0 -11
  358. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +0 -15
  359. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +0 -674
  360. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +0 -11
  361. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +0 -19
  362. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +0 -126
  363. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +0 -24
  364. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +0 -11
  365. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +0 -31
  366. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +0 -11
  367. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +0 -11
  368. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +0 -19
  369. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +0 -15
  370. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +0 -42
  371. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +0 -138
  372. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +0 -1084
  373. package/dist/node_modules/vscode-uri/lib/esm/index.js +0 -373
  374. /package/dist/node_modules/{entities → hast-util-raw/node_modules/entities}/dist/esm/decode-codepoint.js +0 -0
  375. /package/dist/node_modules/{entities → hast-util-raw/node_modules/entities}/dist/esm/decode.js +0 -0
  376. /package/dist/node_modules/{entities → hast-util-raw/node_modules/entities}/dist/esm/generated/decode-data-html.js +0 -0
  377. /package/dist/node_modules/{unified/node_modules/is-plain-obj → is-plain-obj}/index.js +0 -0
@@ -1,14 +1,14 @@
1
1
  import { __name, log } from "./chunk-AGHRB4JF.js";
2
2
  import { purify } from "../../../../dompurify/dist/purify.es.js";
3
- import { clear, common_default, getAccDescription, getAccTitle, getConfig2, getDiagramTitle, parseGenericTypes, sanitizeText, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ICPOFSXX.js";
3
+ import { clear, common_default, getAccDescription, getAccTitle, getConfig2, getDiagramTitle, parseGenericTypes, sanitizeText, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-CSCIHK7Q.js";
4
4
  import select_default from "../../../../d3-selection/src/select.js";
5
5
  import "../../../../d3/src/index.js";
6
- import { getEdgeId, utils_default } from "./chunk-5PVQY5BW.js";
7
- import { getRegisteredLayoutAlgorithm, render } from "./chunk-336JU56O.js";
6
+ import { getEdgeId, utils_default } from "./chunk-5ZQYHXKU.js";
7
+ import { getRegisteredLayoutAlgorithm, render } from "./chunk-LZXEDZCA.js";
8
8
  import { getIconStyles } from "./chunk-FMBD7UC4.js";
9
- import { createTooltip } from "./chunk-YZCP3GAM.js";
9
+ import { createTooltip } from "./chunk-ND2GUHAM.js";
10
10
  import { getDiagramElement } from "./chunk-55IACEB6.js";
11
- import { setupViewPortForSVG } from "./chunk-EDXVE4YY.js";
11
+ import { setupViewPortForSVG } from "./chunk-2J33WTMH.js";
12
12
  var parser = (function() {
13
13
  var t = /* @__PURE__ */ __name(function(e, t, n, r) {
14
14
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -17,12 +17,12 @@ var parser = (function() {
17
17
  1,
18
18
  8,
19
19
  9
20
- ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], F = [1, 64], I = [
20
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], ee = [1, 63], te = [1, 64], P = [
21
21
  1,
22
22
  8,
23
23
  9,
24
24
  41
25
- ], ee = [1, 77], L = [
25
+ ], ne = [1, 77], F = [
26
26
  1,
27
27
  8,
28
28
  9,
@@ -42,7 +42,7 @@ var parser = (function() {
42
42
  74,
43
43
  79,
44
44
  81
45
- ], R = [
45
+ ], I = [
46
46
  1,
47
47
  8,
48
48
  9,
@@ -70,14 +70,14 @@ var parser = (function() {
70
70
  100,
71
71
  102,
72
72
  103
73
- ], z = [
73
+ ], L = [
74
74
  13,
75
75
  60,
76
76
  86,
77
77
  100,
78
78
  102,
79
79
  103
80
- ], B = [
80
+ ], R = [
81
81
  13,
82
82
  60,
83
83
  73,
@@ -86,7 +86,7 @@ var parser = (function() {
86
86
  100,
87
87
  102,
88
88
  103
89
- ], te = [
89
+ ], re = [
90
90
  13,
91
91
  60,
92
92
  68,
@@ -98,7 +98,7 @@ var parser = (function() {
98
98
  100,
99
99
  102,
100
100
  103
101
- ], V = [1, 102], H = [1, 120], U = [1, 116], W = [1, 112], G = [1, 118], K = [1, 113], q = [1, 114], J = [1, 115], Y = [1, 117], X = [1, 119], ne = [
101
+ ], z = [1, 103], B = [1, 121], V = [1, 117], H = [1, 113], U = [1, 119], W = [1, 114], G = [1, 115], K = [1, 116], q = [1, 118], J = [1, 120], ie = [
102
102
  22,
103
103
  50,
104
104
  60,
@@ -109,7 +109,7 @@ var parser = (function() {
109
109
  88,
110
110
  89,
111
111
  90
112
- ], re = [
112
+ ], ae = [1, 128], Y = [12, 39], X = [
113
113
  1,
114
114
  8,
115
115
  9,
@@ -122,7 +122,7 @@ var parser = (function() {
122
122
  8,
123
123
  9,
124
124
  22
125
- ], ie = [1, 150], ae = [
125
+ ], oe = [1, 153], se = [
126
126
  1,
127
127
  8,
128
128
  9,
@@ -141,7 +141,7 @@ var parser = (function() {
141
141
  88,
142
142
  89,
143
143
  90
144
- ], oe = {
144
+ ], ce = {
145
145
  trace: /* @__PURE__ */ __name(function() {}, "trace"),
146
146
  yy: {},
147
147
  symbols_: {
@@ -355,6 +355,10 @@ var parser = (function() {
355
355
  [23, 4],
356
356
  [23, 5],
357
357
  [38, 2],
358
+ [38, 3],
359
+ [40, 1],
360
+ [40, 2],
361
+ [40, 3],
358
362
  [40, 1],
359
363
  [40, 2],
360
364
  [40, 3],
@@ -492,73 +496,83 @@ var parser = (function() {
492
496
  this.$ = a[s].trim(), r.setAccDescription(this.$);
493
497
  break;
494
498
  case 34:
495
- r.addClassesToNamespace(a[s - 3], a[s - 1][0], a[s - 1][1]);
499
+ r.addClassesToNamespace(a[s - 3], a[s - 1][0], a[s - 1][1]), r.popNamespace();
496
500
  break;
497
501
  case 35:
498
- r.addClassesToNamespace(a[s - 4], a[s - 1][0], a[s - 1][1]);
502
+ r.addClassesToNamespace(a[s - 4], a[s - 1][0], a[s - 1][1]), r.popNamespace();
499
503
  break;
500
504
  case 36:
501
- this.$ = a[s], r.addNamespace(a[s]);
505
+ this.$ = r.addNamespace(a[s]);
502
506
  break;
503
507
  case 37:
504
- this.$ = [[a[s]], []];
508
+ this.$ = r.addNamespace(a[s - 1], a[s]);
505
509
  break;
506
510
  case 38:
507
- this.$ = [[a[s - 1]], []];
511
+ this.$ = [[a[s]], []];
508
512
  break;
509
513
  case 39:
510
- a[s][0].unshift(a[s - 2]), this.$ = a[s];
514
+ this.$ = [[a[s - 1]], []];
511
515
  break;
512
516
  case 40:
513
- this.$ = [[], [a[s]]];
517
+ a[s][0].unshift(a[s - 2]), this.$ = a[s];
514
518
  break;
515
519
  case 41:
516
- this.$ = [[], [a[s - 1]]];
520
+ this.$ = [[], [a[s]]];
517
521
  break;
518
522
  case 42:
523
+ this.$ = [[], [a[s - 1]]];
524
+ break;
525
+ case 43:
519
526
  a[s][1].unshift(a[s - 2]), this.$ = a[s];
520
527
  break;
521
528
  case 44:
529
+ case 45:
530
+ this.$ = [[], []];
531
+ break;
532
+ case 46:
533
+ this.$ = a[s];
534
+ break;
535
+ case 48:
522
536
  r.setCssClass(a[s - 2], a[s]);
523
537
  break;
524
- case 45:
538
+ case 49:
525
539
  r.addMembers(a[s - 3], a[s - 1]);
526
540
  break;
527
- case 47:
541
+ case 51:
528
542
  r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
529
543
  break;
530
- case 48:
544
+ case 52:
531
545
  r.addAnnotation(a[s - 3], a[s - 1]);
532
546
  break;
533
- case 49:
547
+ case 53:
534
548
  r.addAnnotation(a[s - 6], a[s - 4]), r.addMembers(a[s - 6], a[s - 1]);
535
549
  break;
536
- case 50:
550
+ case 54:
537
551
  r.addAnnotation(a[s - 5], a[s - 3]);
538
552
  break;
539
- case 51:
553
+ case 55:
540
554
  this.$ = a[s], r.addClass(a[s]);
541
555
  break;
542
- case 52:
556
+ case 56:
543
557
  this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
544
558
  break;
545
- case 56:
559
+ case 60:
546
560
  r.addAnnotation(a[s], a[s - 2]);
547
561
  break;
548
- case 57:
549
- case 70:
562
+ case 61:
563
+ case 74:
550
564
  this.$ = [a[s]];
551
565
  break;
552
- case 58:
566
+ case 62:
553
567
  a[s].push(a[s - 1]), this.$ = a[s];
554
568
  break;
555
- case 59: break;
556
- case 60:
569
+ case 63: break;
570
+ case 64:
557
571
  r.addMember(a[s - 1], r.cleanupLabel(a[s]));
558
572
  break;
559
- case 61: break;
560
- case 62: break;
561
- case 63:
573
+ case 65: break;
574
+ case 66: break;
575
+ case 67:
562
576
  this.$ = {
563
577
  id1: a[s - 2],
564
578
  id2: a[s],
@@ -567,7 +581,7 @@ var parser = (function() {
567
581
  relationTitle2: "none"
568
582
  };
569
583
  break;
570
- case 64:
584
+ case 68:
571
585
  this.$ = {
572
586
  id1: a[s - 3],
573
587
  id2: a[s],
@@ -576,7 +590,7 @@ var parser = (function() {
576
590
  relationTitle2: "none"
577
591
  };
578
592
  break;
579
- case 65:
593
+ case 69:
580
594
  this.$ = {
581
595
  id1: a[s - 3],
582
596
  id2: a[s],
@@ -585,7 +599,7 @@ var parser = (function() {
585
599
  relationTitle2: a[s - 1]
586
600
  };
587
601
  break;
588
- case 66:
602
+ case 70:
589
603
  this.$ = {
590
604
  id1: a[s - 4],
591
605
  id2: a[s],
@@ -594,130 +608,130 @@ var parser = (function() {
594
608
  relationTitle2: a[s - 1]
595
609
  };
596
610
  break;
597
- case 67:
611
+ case 71:
598
612
  this.$ = r.addNote(a[s], a[s - 1]);
599
613
  break;
600
- case 68:
614
+ case 72:
601
615
  this.$ = r.addNote(a[s]);
602
616
  break;
603
- case 69:
617
+ case 73:
604
618
  this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
605
619
  break;
606
- case 71:
620
+ case 75:
607
621
  this.$ = a[s - 2].concat([a[s]]);
608
622
  break;
609
- case 72:
623
+ case 76:
610
624
  r.setDirection("TB");
611
625
  break;
612
- case 73:
626
+ case 77:
613
627
  r.setDirection("BT");
614
628
  break;
615
- case 74:
629
+ case 78:
616
630
  r.setDirection("RL");
617
631
  break;
618
- case 75:
632
+ case 79:
619
633
  r.setDirection("LR");
620
634
  break;
621
- case 76:
635
+ case 80:
622
636
  this.$ = {
623
637
  type1: a[s - 2],
624
638
  type2: a[s],
625
639
  lineType: a[s - 1]
626
640
  };
627
641
  break;
628
- case 77:
642
+ case 81:
629
643
  this.$ = {
630
644
  type1: "none",
631
645
  type2: a[s],
632
646
  lineType: a[s - 1]
633
647
  };
634
648
  break;
635
- case 78:
649
+ case 82:
636
650
  this.$ = {
637
651
  type1: a[s - 1],
638
652
  type2: "none",
639
653
  lineType: a[s]
640
654
  };
641
655
  break;
642
- case 79:
656
+ case 83:
643
657
  this.$ = {
644
658
  type1: "none",
645
659
  type2: "none",
646
660
  lineType: a[s]
647
661
  };
648
662
  break;
649
- case 80:
663
+ case 84:
650
664
  this.$ = r.relationType.AGGREGATION;
651
665
  break;
652
- case 81:
666
+ case 85:
653
667
  this.$ = r.relationType.EXTENSION;
654
668
  break;
655
- case 82:
669
+ case 86:
656
670
  this.$ = r.relationType.COMPOSITION;
657
671
  break;
658
- case 83:
672
+ case 87:
659
673
  this.$ = r.relationType.DEPENDENCY;
660
674
  break;
661
- case 84:
675
+ case 88:
662
676
  this.$ = r.relationType.LOLLIPOP;
663
677
  break;
664
- case 85:
678
+ case 89:
665
679
  this.$ = r.lineType.LINE;
666
680
  break;
667
- case 86:
681
+ case 90:
668
682
  this.$ = r.lineType.DOTTED_LINE;
669
683
  break;
670
- case 87:
671
- case 93:
684
+ case 91:
685
+ case 97:
672
686
  this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
673
687
  break;
674
- case 88:
675
- case 94:
688
+ case 92:
689
+ case 98:
676
690
  this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
677
691
  break;
678
- case 89:
692
+ case 93:
679
693
  this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
680
694
  break;
681
- case 90:
695
+ case 94:
682
696
  this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
683
697
  break;
684
- case 91:
698
+ case 95:
685
699
  this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
686
700
  break;
687
- case 92:
701
+ case 96:
688
702
  this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
689
703
  break;
690
- case 95:
704
+ case 99:
691
705
  this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
692
706
  break;
693
- case 96:
707
+ case 100:
694
708
  this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
695
709
  break;
696
- case 97:
710
+ case 101:
697
711
  this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
698
712
  break;
699
- case 98:
713
+ case 102:
700
714
  this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
701
715
  break;
702
- case 99:
716
+ case 103:
703
717
  this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
704
718
  break;
705
- case 100:
719
+ case 104:
706
720
  this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
707
721
  break;
708
- case 101:
722
+ case 105:
709
723
  this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
710
724
  break;
711
- case 102:
725
+ case 106:
712
726
  r.setCssClass(a[s - 1], a[s]);
713
727
  break;
714
- case 103:
728
+ case 107:
715
729
  this.$ = [a[s]];
716
730
  break;
717
- case 104:
731
+ case 108:
718
732
  a[s - 2].push(a[s]), this.$ = a[s - 2];
719
733
  break;
720
- case 106:
734
+ case 110:
721
735
  this.$ = a[s - 1] + a[s];
722
736
  break;
723
737
  }
@@ -792,7 +806,7 @@ var parser = (function() {
792
806
  { 34: [1, 51] },
793
807
  { 36: [1, 52] },
794
808
  t(O, [2, 33]),
795
- t(O, [2, 59], {
809
+ t(O, [2, 63], {
796
810
  53: 53,
797
811
  66: 56,
798
812
  67: 57,
@@ -803,17 +817,17 @@ var parser = (function() {
803
817
  70: j,
804
818
  71: M,
805
819
  72: N,
806
- 73: P,
807
- 74: F
820
+ 73: ee,
821
+ 74: te
808
822
  }),
809
823
  { 39: [1, 65] },
810
- t(I, [2, 43], {
824
+ t(P, [2, 47], {
811
825
  39: [1, 67],
812
826
  44: [1, 66],
813
827
  46: [1, 68]
814
828
  }),
815
- t(O, [2, 61]),
816
- t(O, [2, 62]),
829
+ t(O, [2, 65]),
830
+ t(O, [2, 66]),
817
831
  {
818
832
  16: 69,
819
833
  60: p,
@@ -864,18 +878,18 @@ var parser = (function() {
864
878
  103: E
865
879
  },
866
880
  {
867
- 13: ee,
881
+ 13: ne,
868
882
  55: 76
869
883
  },
870
884
  {
871
885
  58: 78,
872
886
  60: [1, 79]
873
887
  },
874
- t(O, [2, 72]),
875
- t(O, [2, 73]),
876
- t(O, [2, 74]),
877
- t(O, [2, 75]),
878
- t(L, [2, 13], {
888
+ t(O, [2, 76]),
889
+ t(O, [2, 77]),
890
+ t(O, [2, 78]),
891
+ t(O, [2, 79]),
892
+ t(F, [2, 13], {
879
893
  16: 39,
880
894
  17: 40,
881
895
  19: 81,
@@ -887,7 +901,7 @@ var parser = (function() {
887
901
  102: T,
888
902
  103: E
889
903
  }),
890
- t(L, [2, 15], { 20: [1, 83] }),
904
+ t(F, [2, 15], { 20: [1, 83] }),
891
905
  {
892
906
  15: 84,
893
907
  16: 85,
@@ -908,10 +922,10 @@ var parser = (function() {
908
922
  102: T,
909
923
  103: E
910
924
  },
911
- t(R, [2, 129]),
912
- t(R, [2, 130]),
913
- t(R, [2, 131]),
914
- t(R, [2, 132]),
925
+ t(I, [2, 133]),
926
+ t(I, [2, 134]),
927
+ t(I, [2, 135]),
928
+ t(I, [2, 136]),
915
929
  t([
916
930
  1,
917
931
  8,
@@ -933,7 +947,7 @@ var parser = (function() {
933
947
  74,
934
948
  79,
935
949
  81
936
- ], [2, 133]),
950
+ ], [2, 137]),
937
951
  t(D, [2, 6], {
938
952
  10: 5,
939
953
  21: 7,
@@ -1047,16 +1061,16 @@ var parser = (function() {
1047
1061
  70: j,
1048
1062
  71: M,
1049
1063
  72: N,
1050
- 73: P,
1051
- 74: F
1064
+ 73: ee,
1065
+ 74: te
1052
1066
  },
1053
- t(O, [2, 60]),
1067
+ t(O, [2, 64]),
1054
1068
  {
1055
1069
  67: 93,
1056
- 73: P,
1057
- 74: F
1070
+ 73: ee,
1071
+ 74: te
1058
1072
  },
1059
- t(z, [2, 79], {
1073
+ t(L, [2, 83], {
1060
1074
  66: 94,
1061
1075
  68: k,
1062
1076
  69: A,
@@ -1064,124 +1078,130 @@ var parser = (function() {
1064
1078
  71: M,
1065
1079
  72: N
1066
1080
  }),
1067
- t(B, [2, 80]),
1068
- t(B, [2, 81]),
1069
- t(B, [2, 82]),
1070
- t(B, [2, 83]),
1071
- t(B, [2, 84]),
1072
- t(te, [2, 85]),
1073
- t(te, [2, 86]),
1081
+ t(R, [2, 84]),
1082
+ t(R, [2, 85]),
1083
+ t(R, [2, 86]),
1084
+ t(R, [2, 87]),
1085
+ t(R, [2, 88]),
1086
+ t(re, [2, 89]),
1087
+ t(re, [2, 90]),
1074
1088
  {
1075
1089
  8: [1, 96],
1090
+ 23: 99,
1076
1091
  24: 97,
1077
1092
  30: 98,
1093
+ 38: 22,
1078
1094
  40: 95,
1095
+ 42: a,
1079
1096
  43: 23,
1080
1097
  48: s,
1081
1098
  54: u,
1082
1099
  56: d
1083
1100
  },
1084
1101
  {
1085
- 16: 99,
1102
+ 16: 100,
1086
1103
  60: p,
1087
1104
  86: C,
1088
1105
  100: w,
1089
1106
  102: T
1090
1107
  },
1091
1108
  {
1092
- 41: [1, 101],
1093
- 45: 100,
1094
- 51: V
1109
+ 41: [1, 102],
1110
+ 45: 101,
1111
+ 51: z
1095
1112
  },
1096
1113
  {
1097
- 16: 103,
1114
+ 16: 104,
1098
1115
  60: p,
1099
1116
  86: C,
1100
1117
  100: w,
1101
1118
  102: T
1102
1119
  },
1103
- { 47: [1, 104] },
1104
- { 13: [1, 105] },
1120
+ { 47: [1, 105] },
1105
1121
  { 13: [1, 106] },
1122
+ { 13: [1, 107] },
1106
1123
  {
1107
- 79: [1, 107],
1108
- 81: [1, 108]
1124
+ 79: [1, 108],
1125
+ 81: [1, 109]
1109
1126
  },
1110
1127
  {
1111
- 22: H,
1112
- 50: U,
1113
- 59: 109,
1114
- 60: W,
1115
- 82: G,
1116
- 84: 110,
1117
- 85: 111,
1118
- 86: K,
1119
- 87: q,
1120
- 88: J,
1121
- 89: Y,
1122
- 90: X
1128
+ 22: B,
1129
+ 50: V,
1130
+ 59: 110,
1131
+ 60: H,
1132
+ 82: U,
1133
+ 84: 111,
1134
+ 85: 112,
1135
+ 86: W,
1136
+ 87: G,
1137
+ 88: K,
1138
+ 89: q,
1139
+ 90: J
1123
1140
  },
1124
- { 60: [1, 121] },
1141
+ { 60: [1, 122] },
1125
1142
  {
1126
- 13: ee,
1127
- 55: 122
1143
+ 13: ne,
1144
+ 55: 123
1128
1145
  },
1129
- t(I, [2, 68]),
1130
- t(I, [2, 134]),
1146
+ t(P, [2, 72]),
1147
+ t(P, [2, 138]),
1131
1148
  {
1132
- 22: H,
1133
- 50: U,
1134
- 59: 123,
1135
- 60: W,
1136
- 61: [1, 124],
1137
- 82: G,
1138
- 84: 110,
1139
- 85: 111,
1140
- 86: K,
1141
- 87: q,
1142
- 88: J,
1143
- 89: Y,
1144
- 90: X
1149
+ 22: B,
1150
+ 50: V,
1151
+ 59: 124,
1152
+ 60: H,
1153
+ 61: [1, 125],
1154
+ 82: U,
1155
+ 84: 111,
1156
+ 85: 112,
1157
+ 86: W,
1158
+ 87: G,
1159
+ 88: K,
1160
+ 89: q,
1161
+ 90: J
1145
1162
  },
1146
- t(ne, [2, 70]),
1163
+ t(ie, [2, 74]),
1147
1164
  {
1148
1165
  16: 39,
1149
1166
  17: 40,
1150
- 19: 125,
1167
+ 19: 126,
1151
1168
  60: p,
1152
1169
  86: C,
1153
1170
  100: w,
1154
1171
  102: T,
1155
1172
  103: E
1156
1173
  },
1157
- t(L, [2, 16]),
1158
- t(L, [2, 17]),
1159
- t(L, [2, 18]),
1160
- { 39: [2, 36] },
1174
+ t(F, [2, 16]),
1175
+ t(F, [2, 17]),
1176
+ t(F, [2, 18]),
1161
1177
  {
1162
- 15: 127,
1178
+ 11: 127,
1179
+ 12: ae,
1180
+ 39: [2, 36]
1181
+ },
1182
+ t(Y, [2, 9], {
1163
1183
  16: 85,
1164
1184
  17: 86,
1165
- 18: [1, 126],
1166
- 39: [2, 9],
1185
+ 15: 130,
1186
+ 18: [1, 129],
1167
1187
  60: p,
1168
1188
  86: C,
1169
1189
  100: w,
1170
1190
  102: T,
1171
1191
  103: E
1172
- },
1173
- { 39: [2, 10] },
1174
- t(re, [2, 51], {
1175
- 11: 128,
1176
- 12: [1, 129]
1192
+ }),
1193
+ t(Y, [2, 10]),
1194
+ t(X, [2, 55], {
1195
+ 11: 131,
1196
+ 12: ae
1177
1197
  }),
1178
1198
  t(D, [2, 7]),
1179
- { 9: [1, 130] },
1180
- t(Z, [2, 63]),
1199
+ { 9: [1, 132] },
1200
+ t(Z, [2, 67]),
1181
1201
  {
1182
1202
  16: 39,
1183
1203
  17: 40,
1184
- 19: 131,
1204
+ 19: 133,
1185
1205
  60: p,
1186
1206
  86: C,
1187
1207
  100: w,
@@ -1189,102 +1209,111 @@ var parser = (function() {
1189
1209
  103: E
1190
1210
  },
1191
1211
  {
1192
- 13: [1, 133],
1212
+ 13: [1, 135],
1193
1213
  16: 39,
1194
1214
  17: 40,
1195
- 19: 132,
1215
+ 19: 134,
1196
1216
  60: p,
1197
1217
  86: C,
1198
1218
  100: w,
1199
1219
  102: T,
1200
1220
  103: E
1201
1221
  },
1202
- t(z, [2, 78], {
1203
- 66: 134,
1222
+ t(L, [2, 82], {
1223
+ 66: 136,
1204
1224
  68: k,
1205
1225
  69: A,
1206
1226
  70: j,
1207
1227
  71: M,
1208
1228
  72: N
1209
1229
  }),
1210
- t(z, [2, 77]),
1211
- { 41: [1, 135] },
1230
+ t(L, [2, 81]),
1231
+ { 41: [1, 137] },
1212
1232
  {
1233
+ 23: 99,
1213
1234
  24: 97,
1214
1235
  30: 98,
1215
- 40: 136,
1236
+ 38: 22,
1237
+ 40: 138,
1238
+ 42: a,
1216
1239
  43: 23,
1217
1240
  48: s,
1218
1241
  54: u,
1219
1242
  56: d
1220
1243
  },
1221
1244
  {
1222
- 8: [1, 137],
1223
- 41: [2, 37]
1245
+ 8: [1, 139],
1246
+ 41: [2, 38]
1224
1247
  },
1225
1248
  {
1226
- 8: [1, 138],
1227
- 41: [2, 40]
1249
+ 8: [1, 140],
1250
+ 41: [2, 41]
1228
1251
  },
1229
- t(I, [2, 44], { 39: [1, 139] }),
1230
- { 41: [1, 140] },
1231
- t(I, [2, 46]),
1232
1252
  {
1233
- 41: [2, 57],
1234
- 45: 141,
1235
- 51: V
1253
+ 8: [1, 141],
1254
+ 41: [2, 44]
1236
1255
  },
1237
- { 47: [1, 142] },
1256
+ t(P, [2, 48], { 39: [1, 142] }),
1257
+ { 41: [1, 143] },
1258
+ t(P, [2, 50]),
1259
+ {
1260
+ 41: [2, 61],
1261
+ 45: 144,
1262
+ 51: z
1263
+ },
1264
+ { 47: [1, 145] },
1238
1265
  {
1239
1266
  16: 39,
1240
1267
  17: 40,
1241
- 19: 143,
1268
+ 19: 146,
1242
1269
  60: p,
1243
1270
  86: C,
1244
1271
  100: w,
1245
1272
  102: T,
1246
1273
  103: E
1247
1274
  },
1248
- t(O, [2, 87], { 13: [1, 144] }),
1249
- t(O, [2, 89], {
1250
- 13: [1, 146],
1251
- 77: [1, 145]
1252
- }),
1275
+ t(O, [2, 91], { 13: [1, 147] }),
1253
1276
  t(O, [2, 93], {
1254
- 13: [1, 147],
1255
- 80: [1, 148]
1277
+ 13: [1, 149],
1278
+ 77: [1, 148]
1256
1279
  }),
1257
- { 13: [1, 149] },
1258
- t(O, [2, 101], { 61: ie }),
1259
- t(ae, [2, 103], {
1260
- 85: 151,
1261
- 22: H,
1262
- 50: U,
1263
- 60: W,
1264
- 82: G,
1265
- 86: K,
1266
- 87: q,
1267
- 88: J,
1268
- 89: Y,
1269
- 90: X
1280
+ t(O, [2, 97], {
1281
+ 13: [1, 150],
1282
+ 80: [1, 151]
1283
+ }),
1284
+ { 13: [1, 152] },
1285
+ t(O, [2, 105], { 61: oe }),
1286
+ t(se, [2, 107], {
1287
+ 85: 154,
1288
+ 22: B,
1289
+ 50: V,
1290
+ 60: H,
1291
+ 82: U,
1292
+ 86: W,
1293
+ 87: G,
1294
+ 88: K,
1295
+ 89: q,
1296
+ 90: J
1270
1297
  }),
1271
- t(Q, [2, 105]),
1272
- t(Q, [2, 107]),
1273
- t(Q, [2, 108]),
1274
1298
  t(Q, [2, 109]),
1275
- t(Q, [2, 110]),
1276
1299
  t(Q, [2, 111]),
1277
1300
  t(Q, [2, 112]),
1278
1301
  t(Q, [2, 113]),
1279
1302
  t(Q, [2, 114]),
1280
1303
  t(Q, [2, 115]),
1281
- t(O, [2, 102]),
1282
- t(I, [2, 67]),
1283
- t(O, [2, 69], { 61: ie }),
1284
- { 60: [1, 152] },
1285
- t(L, [2, 14]),
1304
+ t(Q, [2, 116]),
1305
+ t(Q, [2, 117]),
1306
+ t(Q, [2, 118]),
1307
+ t(Q, [2, 119]),
1308
+ t(O, [2, 106]),
1309
+ t(P, [2, 71]),
1310
+ t(O, [2, 73], { 61: oe }),
1311
+ { 60: [1, 155] },
1312
+ t(F, [2, 14]),
1313
+ { 39: [2, 37] },
1314
+ { 13: [1, 156] },
1286
1315
  {
1287
- 15: 153,
1316
+ 15: 157,
1288
1317
  16: 85,
1289
1318
  17: 86,
1290
1319
  60: p,
@@ -1293,124 +1322,141 @@ var parser = (function() {
1293
1322
  102: T,
1294
1323
  103: E
1295
1324
  },
1296
- { 39: [2, 12] },
1297
- t(re, [2, 52]),
1298
- { 13: [1, 154] },
1325
+ t(Y, [2, 12]),
1326
+ t(X, [2, 56]),
1299
1327
  { 1: [2, 4] },
1300
- t(Z, [2, 65]),
1301
- t(Z, [2, 64]),
1328
+ t(Z, [2, 69]),
1329
+ t(Z, [2, 68]),
1302
1330
  {
1303
1331
  16: 39,
1304
1332
  17: 40,
1305
- 19: 155,
1333
+ 19: 158,
1306
1334
  60: p,
1307
1335
  86: C,
1308
1336
  100: w,
1309
1337
  102: T,
1310
1338
  103: E
1311
1339
  },
1312
- t(z, [2, 76]),
1313
- t(O, [2, 34]),
1314
- { 41: [1, 156] },
1340
+ t(L, [2, 80]),
1341
+ t(P, [2, 34]),
1342
+ { 41: [1, 159] },
1343
+ {
1344
+ 23: 99,
1345
+ 24: 97,
1346
+ 30: 98,
1347
+ 38: 22,
1348
+ 40: 160,
1349
+ 41: [2, 39],
1350
+ 42: a,
1351
+ 43: 23,
1352
+ 48: s,
1353
+ 54: u,
1354
+ 56: d
1355
+ },
1315
1356
  {
1357
+ 23: 99,
1316
1358
  24: 97,
1317
1359
  30: 98,
1318
- 40: 157,
1319
- 41: [2, 38],
1360
+ 38: 22,
1361
+ 40: 161,
1362
+ 41: [2, 42],
1363
+ 42: a,
1320
1364
  43: 23,
1321
1365
  48: s,
1322
1366
  54: u,
1323
1367
  56: d
1324
1368
  },
1325
1369
  {
1370
+ 23: 99,
1326
1371
  24: 97,
1327
1372
  30: 98,
1328
- 40: 158,
1329
- 41: [2, 41],
1373
+ 38: 22,
1374
+ 40: 162,
1375
+ 41: [2, 45],
1376
+ 42: a,
1330
1377
  43: 23,
1331
1378
  48: s,
1332
1379
  54: u,
1333
1380
  56: d
1334
1381
  },
1335
1382
  {
1336
- 45: 159,
1337
- 51: V
1383
+ 45: 163,
1384
+ 51: z
1338
1385
  },
1339
- t(I, [2, 45]),
1340
- { 41: [2, 58] },
1341
- t(I, [2, 48], { 39: [1, 160] }),
1342
- t(O, [2, 56]),
1343
- t(O, [2, 88]),
1344
- t(O, [2, 90]),
1345
- t(O, [2, 91], { 77: [1, 161] }),
1386
+ t(P, [2, 49]),
1387
+ { 41: [2, 62] },
1388
+ t(P, [2, 52], { 39: [1, 164] }),
1389
+ t(O, [2, 60]),
1390
+ t(O, [2, 92]),
1346
1391
  t(O, [2, 94]),
1347
- t(O, [2, 95], { 13: [1, 162] }),
1348
- t(O, [2, 97], {
1349
- 13: [1, 164],
1350
- 77: [1, 163]
1392
+ t(O, [2, 95], { 77: [1, 165] }),
1393
+ t(O, [2, 98]),
1394
+ t(O, [2, 99], { 13: [1, 166] }),
1395
+ t(O, [2, 101], {
1396
+ 13: [1, 168],
1397
+ 77: [1, 167]
1351
1398
  }),
1352
1399
  {
1353
- 22: H,
1354
- 50: U,
1355
- 60: W,
1356
- 82: G,
1357
- 84: 165,
1358
- 85: 111,
1359
- 86: K,
1360
- 87: q,
1361
- 88: J,
1362
- 89: Y,
1363
- 90: X
1400
+ 22: B,
1401
+ 50: V,
1402
+ 60: H,
1403
+ 82: U,
1404
+ 84: 169,
1405
+ 85: 112,
1406
+ 86: W,
1407
+ 87: G,
1408
+ 88: K,
1409
+ 89: q,
1410
+ 90: J
1364
1411
  },
1365
- t(Q, [2, 106]),
1366
- t(ne, [2, 71]),
1367
- { 39: [2, 11] },
1368
- { 14: [1, 166] },
1369
- t(Z, [2, 66]),
1370
- t(O, [2, 35]),
1371
- { 41: [2, 39] },
1372
- { 41: [2, 42] },
1373
- { 41: [1, 167] },
1412
+ t(Q, [2, 110]),
1413
+ t(ie, [2, 75]),
1414
+ { 14: [1, 170] },
1415
+ t(Y, [2, 11]),
1416
+ t(Z, [2, 70]),
1417
+ t(P, [2, 35]),
1418
+ { 41: [2, 40] },
1419
+ { 41: [2, 43] },
1420
+ { 41: [2, 46] },
1421
+ { 41: [1, 171] },
1374
1422
  {
1375
- 41: [1, 169],
1376
- 45: 168,
1377
- 51: V
1423
+ 41: [1, 173],
1424
+ 45: 172,
1425
+ 51: z
1378
1426
  },
1379
- t(O, [2, 92]),
1380
1427
  t(O, [2, 96]),
1381
- t(O, [2, 98]),
1382
- t(O, [2, 99], { 77: [1, 170] }),
1383
- t(ae, [2, 104], {
1384
- 85: 151,
1385
- 22: H,
1386
- 50: U,
1387
- 60: W,
1388
- 82: G,
1389
- 86: K,
1390
- 87: q,
1391
- 88: J,
1392
- 89: Y,
1393
- 90: X
1394
- }),
1395
- t(re, [2, 8]),
1396
- t(I, [2, 47]),
1397
- { 41: [1, 171] },
1398
- t(I, [2, 50]),
1399
1428
  t(O, [2, 100]),
1400
- t(I, [2, 49])
1429
+ t(O, [2, 102]),
1430
+ t(O, [2, 103], { 77: [1, 174] }),
1431
+ t(se, [2, 108], {
1432
+ 85: 154,
1433
+ 22: B,
1434
+ 50: V,
1435
+ 60: H,
1436
+ 82: U,
1437
+ 86: W,
1438
+ 87: G,
1439
+ 88: K,
1440
+ 89: q,
1441
+ 90: J
1442
+ }),
1443
+ t(X, [2, 8]),
1444
+ t(P, [2, 51]),
1445
+ { 41: [1, 175] },
1446
+ t(P, [2, 54]),
1447
+ t(O, [2, 104]),
1448
+ t(P, [2, 53])
1401
1449
  ],
1402
1450
  defaultActions: {
1403
1451
  2: [2, 1],
1404
1452
  3: [2, 2],
1405
1453
  4: [2, 3],
1406
- 84: [2, 36],
1407
- 86: [2, 10],
1408
- 127: [2, 12],
1409
- 130: [2, 4],
1410
- 141: [2, 58],
1411
- 153: [2, 11],
1412
- 157: [2, 39],
1413
- 158: [2, 42]
1454
+ 127: [2, 37],
1455
+ 132: [2, 4],
1456
+ 144: [2, 62],
1457
+ 160: [2, 40],
1458
+ 161: [2, 43],
1459
+ 162: [2, 46]
1414
1460
  },
1415
1461
  parseError: /* @__PURE__ */ __name(function(e, t) {
1416
1462
  if (t.recoverable) this.trace(e);
@@ -1476,7 +1522,7 @@ var parser = (function() {
1476
1522
  return !0;
1477
1523
  }, "parse")
1478
1524
  };
1479
- oe.lexer = /* @__PURE__ */ (function() {
1525
+ ce.lexer = /* @__PURE__ */ (function() {
1480
1526
  return {
1481
1527
  EOF: 1,
1482
1528
  parseError: /* @__PURE__ */ __name(function(e, t) {
@@ -1661,79 +1707,82 @@ var parser = (function() {
1661
1707
  case 30: return this.popState(), 8;
1662
1708
  case 31: break;
1663
1709
  case 32: return this.begin("namespace-body"), 39;
1664
- case 33: return this.popState(), 41;
1665
- case 34: return "EOF_IN_STRUCT";
1666
- case 35: return 8;
1667
- case 36: break;
1668
- case 37: return "EDGE_STATE";
1669
- case 38: return this.begin("class"), 48;
1670
- case 39: return this.popState(), 8;
1671
- case 40: break;
1672
- case 41: return this.popState(), this.popState(), 41;
1673
- case 42: return this.begin("class-body"), 39;
1674
- case 43: return this.popState(), 41;
1675
- case 44: return "EOF_IN_STRUCT";
1676
- case 45: return "EDGE_STATE";
1677
- case 46: return "OPEN_IN_STRUCT";
1678
- case 47: break;
1679
- case 48: return "MEMBER";
1680
- case 49: return 83;
1681
- case 50: return 75;
1682
- case 51: return 76;
1683
- case 52: return 78;
1684
- case 53: return 54;
1685
- case 54: return 56;
1686
- case 55: return 46;
1687
- case 56: return 47;
1688
- case 57: return 81;
1689
- case 58:
1710
+ case 33:
1711
+ this.popState(), this.less(0);
1712
+ break;
1713
+ case 34: return this.popState(), 41;
1714
+ case 35: return "EOF_IN_STRUCT";
1715
+ case 36: return 8;
1716
+ case 37: break;
1717
+ case 38: return "EDGE_STATE";
1718
+ case 39: return this.begin("class"), 48;
1719
+ case 40: return this.popState(), 8;
1720
+ case 41: break;
1721
+ case 42: return this.popState(), this.popState(), 41;
1722
+ case 43: return this.begin("class-body"), 39;
1723
+ case 44: return this.popState(), 41;
1724
+ case 45: return "EOF_IN_STRUCT";
1725
+ case 46: return "EDGE_STATE";
1726
+ case 47: return "OPEN_IN_STRUCT";
1727
+ case 48: break;
1728
+ case 49: return "MEMBER";
1729
+ case 50: return 83;
1730
+ case 51: return 75;
1731
+ case 52: return 76;
1732
+ case 53: return 78;
1733
+ case 54: return 54;
1734
+ case 55: return 56;
1735
+ case 56: return 46;
1736
+ case 57: return 47;
1737
+ case 58: return 81;
1738
+ case 59:
1690
1739
  this.popState();
1691
1740
  break;
1692
- case 59: return "GENERICTYPE";
1693
- case 60:
1741
+ case 60: return "GENERICTYPE";
1742
+ case 61:
1694
1743
  this.begin("generic");
1695
1744
  break;
1696
- case 61:
1745
+ case 62:
1697
1746
  this.popState();
1698
1747
  break;
1699
- case 62: return "BQUOTE_STR";
1700
- case 63:
1748
+ case 63: return "BQUOTE_STR";
1749
+ case 64:
1701
1750
  this.begin("bqstring");
1702
1751
  break;
1703
- case 64: return 77;
1704
1752
  case 65: return 77;
1705
1753
  case 66: return 77;
1706
1754
  case 67: return 77;
1707
- case 68: return 69;
1755
+ case 68: return 77;
1708
1756
  case 69: return 69;
1709
- case 70: return 71;
1757
+ case 70: return 69;
1710
1758
  case 71: return 71;
1711
- case 72: return 70;
1712
- case 73: return 68;
1713
- case 74: return 72;
1714
- case 75: return 73;
1715
- case 76: return 74;
1716
- case 77: return 22;
1717
- case 78: return 44;
1718
- case 79: return 100;
1719
- case 80: return 18;
1720
- case 81: return "PLUS";
1721
- case 82: return 87;
1722
- case 83: return 61;
1723
- case 84: return 89;
1759
+ case 72: return 71;
1760
+ case 73: return 70;
1761
+ case 74: return 68;
1762
+ case 75: return 72;
1763
+ case 76: return 73;
1764
+ case 77: return 74;
1765
+ case 78: return 22;
1766
+ case 79: return 44;
1767
+ case 80: return 100;
1768
+ case 81: return 18;
1769
+ case 82: return "PLUS";
1770
+ case 83: return 87;
1771
+ case 84: return 61;
1724
1772
  case 85: return 89;
1725
- case 86: return 90;
1726
- case 87: return "EQUALS";
1773
+ case 86: return 89;
1774
+ case 87: return 90;
1727
1775
  case 88: return "EQUALS";
1728
- case 89: return 60;
1729
- case 90: return 12;
1730
- case 91: return 14;
1731
- case 92: return "PUNCTUATION";
1732
- case 93: return 86;
1733
- case 94: return 102;
1734
- case 95: return 50;
1776
+ case 89: return "EQUALS";
1777
+ case 90: return 60;
1778
+ case 91: return 12;
1779
+ case 92: return 14;
1780
+ case 93: return "PUNCTUATION";
1781
+ case 94: return 86;
1782
+ case 95: return 102;
1735
1783
  case 96: return 50;
1736
- case 97: return 9;
1784
+ case 97: return 50;
1785
+ case 98: return 9;
1737
1786
  }
1738
1787
  }, "anonymous"),
1739
1788
  rules: [
@@ -1771,6 +1820,7 @@ var parser = (function() {
1771
1820
  /^(?:\s+)/,
1772
1821
  /^(?:[{])/,
1773
1822
  /^(?:[}])/,
1823
+ /^(?:[}])/,
1774
1824
  /^(?:$)/,
1775
1825
  /^(?:\s*(\r?\n)+)/,
1776
1826
  /^(?:\s+)/,
@@ -1840,13 +1890,13 @@ var parser = (function() {
1840
1890
  "namespace-body": {
1841
1891
  rules: [
1842
1892
  26,
1843
- 33,
1893
+ 29,
1844
1894
  34,
1845
1895
  35,
1846
1896
  36,
1847
1897
  37,
1848
1898
  38,
1849
- 49,
1899
+ 39,
1850
1900
  50,
1851
1901
  51,
1852
1902
  52,
@@ -1855,8 +1905,8 @@ var parser = (function() {
1855
1905
  55,
1856
1906
  56,
1857
1907
  57,
1858
- 60,
1859
- 63,
1908
+ 58,
1909
+ 61,
1860
1910
  64,
1861
1911
  65,
1862
1912
  66,
@@ -1875,7 +1925,7 @@ var parser = (function() {
1875
1925
  79,
1876
1926
  80,
1877
1927
  81,
1878
- 86,
1928
+ 82,
1879
1929
  87,
1880
1930
  88,
1881
1931
  89,
@@ -1885,7 +1935,8 @@ var parser = (function() {
1885
1935
  93,
1886
1936
  94,
1887
1937
  95,
1888
- 97
1938
+ 96,
1939
+ 98
1889
1940
  ],
1890
1941
  inclusive: !1
1891
1942
  },
@@ -1896,7 +1947,7 @@ var parser = (function() {
1896
1947
  30,
1897
1948
  31,
1898
1949
  32,
1899
- 49,
1950
+ 33,
1900
1951
  50,
1901
1952
  51,
1902
1953
  52,
@@ -1905,8 +1956,8 @@ var parser = (function() {
1905
1956
  55,
1906
1957
  56,
1907
1958
  57,
1908
- 60,
1909
- 63,
1959
+ 58,
1960
+ 61,
1910
1961
  64,
1911
1962
  65,
1912
1963
  66,
@@ -1925,7 +1976,7 @@ var parser = (function() {
1925
1976
  79,
1926
1977
  80,
1927
1978
  81,
1928
- 86,
1979
+ 82,
1929
1980
  87,
1930
1981
  88,
1931
1982
  89,
@@ -1935,14 +1986,14 @@ var parser = (function() {
1935
1986
  93,
1936
1987
  94,
1937
1988
  95,
1938
- 97
1989
+ 96,
1990
+ 98
1939
1991
  ],
1940
1992
  inclusive: !1
1941
1993
  },
1942
1994
  "class-body": {
1943
1995
  rules: [
1944
1996
  26,
1945
- 43,
1946
1997
  44,
1947
1998
  45,
1948
1999
  46,
@@ -1957,8 +2008,8 @@ var parser = (function() {
1957
2008
  55,
1958
2009
  56,
1959
2010
  57,
1960
- 60,
1961
- 63,
2011
+ 58,
2012
+ 61,
1962
2013
  64,
1963
2014
  65,
1964
2015
  66,
@@ -1977,7 +2028,7 @@ var parser = (function() {
1977
2028
  79,
1978
2029
  80,
1979
2030
  81,
1980
- 86,
2031
+ 82,
1981
2032
  87,
1982
2033
  88,
1983
2034
  89,
@@ -1987,18 +2038,18 @@ var parser = (function() {
1987
2038
  93,
1988
2039
  94,
1989
2040
  95,
1990
- 97
2041
+ 96,
2042
+ 98
1991
2043
  ],
1992
2044
  inclusive: !1
1993
2045
  },
1994
2046
  class: {
1995
2047
  rules: [
1996
2048
  26,
1997
- 39,
1998
2049
  40,
1999
2050
  41,
2000
2051
  42,
2001
- 49,
2052
+ 43,
2002
2053
  50,
2003
2054
  51,
2004
2055
  52,
@@ -2007,8 +2058,8 @@ var parser = (function() {
2007
2058
  55,
2008
2059
  56,
2009
2060
  57,
2010
- 60,
2011
- 63,
2061
+ 58,
2062
+ 61,
2012
2063
  64,
2013
2064
  65,
2014
2065
  66,
@@ -2027,7 +2078,7 @@ var parser = (function() {
2027
2078
  79,
2028
2079
  80,
2029
2080
  81,
2030
- 86,
2081
+ 82,
2031
2082
  87,
2032
2083
  88,
2033
2084
  89,
@@ -2037,7 +2088,8 @@ var parser = (function() {
2037
2088
  93,
2038
2089
  94,
2039
2090
  95,
2040
- 97
2091
+ 96,
2092
+ 98
2041
2093
  ],
2042
2094
  inclusive: !1
2043
2095
  },
@@ -2046,7 +2098,6 @@ var parser = (function() {
2046
2098
  11,
2047
2099
  12,
2048
2100
  26,
2049
- 49,
2050
2101
  50,
2051
2102
  51,
2052
2103
  52,
@@ -2055,8 +2106,8 @@ var parser = (function() {
2055
2106
  55,
2056
2107
  56,
2057
2108
  57,
2058
- 60,
2059
- 63,
2109
+ 58,
2110
+ 61,
2060
2111
  64,
2061
2112
  65,
2062
2113
  66,
@@ -2075,7 +2126,7 @@ var parser = (function() {
2075
2126
  79,
2076
2127
  80,
2077
2128
  81,
2078
- 86,
2129
+ 82,
2079
2130
  87,
2080
2131
  88,
2081
2132
  89,
@@ -2085,7 +2136,8 @@ var parser = (function() {
2085
2136
  93,
2086
2137
  94,
2087
2138
  95,
2088
- 97
2139
+ 96,
2140
+ 98
2089
2141
  ],
2090
2142
  inclusive: !1
2091
2143
  },
@@ -2093,7 +2145,6 @@ var parser = (function() {
2093
2145
  rules: [
2094
2146
  9,
2095
2147
  26,
2096
- 49,
2097
2148
  50,
2098
2149
  51,
2099
2150
  52,
@@ -2102,8 +2153,8 @@ var parser = (function() {
2102
2153
  55,
2103
2154
  56,
2104
2155
  57,
2105
- 60,
2106
- 63,
2156
+ 58,
2157
+ 61,
2107
2158
  64,
2108
2159
  65,
2109
2160
  66,
@@ -2122,7 +2173,7 @@ var parser = (function() {
2122
2173
  79,
2123
2174
  80,
2124
2175
  81,
2125
- 86,
2176
+ 82,
2126
2177
  87,
2127
2178
  88,
2128
2179
  89,
@@ -2132,7 +2183,8 @@ var parser = (function() {
2132
2183
  93,
2133
2184
  94,
2134
2185
  95,
2135
- 97
2186
+ 96,
2187
+ 98
2136
2188
  ],
2137
2189
  inclusive: !1
2138
2190
  },
@@ -2140,7 +2192,6 @@ var parser = (function() {
2140
2192
  rules: [
2141
2193
  7,
2142
2194
  26,
2143
- 49,
2144
2195
  50,
2145
2196
  51,
2146
2197
  52,
@@ -2149,8 +2200,8 @@ var parser = (function() {
2149
2200
  55,
2150
2201
  56,
2151
2202
  57,
2152
- 60,
2153
- 63,
2203
+ 58,
2204
+ 61,
2154
2205
  64,
2155
2206
  65,
2156
2207
  66,
@@ -2169,7 +2220,7 @@ var parser = (function() {
2169
2220
  79,
2170
2221
  80,
2171
2222
  81,
2172
- 86,
2223
+ 82,
2173
2224
  87,
2174
2225
  88,
2175
2226
  89,
@@ -2179,7 +2230,8 @@ var parser = (function() {
2179
2230
  93,
2180
2231
  94,
2181
2232
  95,
2182
- 97
2233
+ 96,
2234
+ 98
2183
2235
  ],
2184
2236
  inclusive: !1
2185
2237
  },
@@ -2188,7 +2240,6 @@ var parser = (function() {
2188
2240
  22,
2189
2241
  23,
2190
2242
  26,
2191
- 49,
2192
2243
  50,
2193
2244
  51,
2194
2245
  52,
@@ -2197,8 +2248,8 @@ var parser = (function() {
2197
2248
  55,
2198
2249
  56,
2199
2250
  57,
2200
- 60,
2201
- 63,
2251
+ 58,
2252
+ 61,
2202
2253
  64,
2203
2254
  65,
2204
2255
  66,
@@ -2217,7 +2268,7 @@ var parser = (function() {
2217
2268
  79,
2218
2269
  80,
2219
2270
  81,
2220
- 86,
2271
+ 82,
2221
2272
  87,
2222
2273
  88,
2223
2274
  89,
@@ -2227,7 +2278,8 @@ var parser = (function() {
2227
2278
  93,
2228
2279
  94,
2229
2280
  95,
2230
- 97
2281
+ 96,
2282
+ 98
2231
2283
  ],
2232
2284
  inclusive: !1
2233
2285
  },
@@ -2237,7 +2289,6 @@ var parser = (function() {
2237
2289
  20,
2238
2290
  21,
2239
2291
  26,
2240
- 49,
2241
2292
  50,
2242
2293
  51,
2243
2294
  52,
@@ -2246,8 +2297,8 @@ var parser = (function() {
2246
2297
  55,
2247
2298
  56,
2248
2299
  57,
2249
- 60,
2250
- 63,
2300
+ 58,
2301
+ 61,
2251
2302
  64,
2252
2303
  65,
2253
2304
  66,
@@ -2266,7 +2317,7 @@ var parser = (function() {
2266
2317
  79,
2267
2318
  80,
2268
2319
  81,
2269
- 86,
2320
+ 82,
2270
2321
  87,
2271
2322
  88,
2272
2323
  89,
@@ -2276,14 +2327,14 @@ var parser = (function() {
2276
2327
  93,
2277
2328
  94,
2278
2329
  95,
2279
- 97
2330
+ 96,
2331
+ 98
2280
2332
  ],
2281
2333
  inclusive: !1
2282
2334
  },
2283
2335
  href: {
2284
2336
  rules: [
2285
2337
  26,
2286
- 49,
2287
2338
  50,
2288
2339
  51,
2289
2340
  52,
@@ -2292,8 +2343,8 @@ var parser = (function() {
2292
2343
  55,
2293
2344
  56,
2294
2345
  57,
2295
- 60,
2296
- 63,
2346
+ 58,
2347
+ 61,
2297
2348
  64,
2298
2349
  65,
2299
2350
  66,
@@ -2312,7 +2363,7 @@ var parser = (function() {
2312
2363
  79,
2313
2364
  80,
2314
2365
  81,
2315
- 86,
2366
+ 82,
2316
2367
  87,
2317
2368
  88,
2318
2369
  89,
@@ -2322,14 +2373,14 @@ var parser = (function() {
2322
2373
  93,
2323
2374
  94,
2324
2375
  95,
2325
- 97
2376
+ 96,
2377
+ 98
2326
2378
  ],
2327
2379
  inclusive: !1
2328
2380
  },
2329
2381
  struct: {
2330
2382
  rules: [
2331
2383
  26,
2332
- 49,
2333
2384
  50,
2334
2385
  51,
2335
2386
  52,
@@ -2338,8 +2389,8 @@ var parser = (function() {
2338
2389
  55,
2339
2390
  56,
2340
2391
  57,
2341
- 60,
2342
- 63,
2392
+ 58,
2393
+ 61,
2343
2394
  64,
2344
2395
  65,
2345
2396
  66,
@@ -2358,7 +2409,7 @@ var parser = (function() {
2358
2409
  79,
2359
2410
  80,
2360
2411
  81,
2361
- 86,
2412
+ 82,
2362
2413
  87,
2363
2414
  88,
2364
2415
  89,
@@ -2368,14 +2419,14 @@ var parser = (function() {
2368
2419
  93,
2369
2420
  94,
2370
2421
  95,
2371
- 97
2422
+ 96,
2423
+ 98
2372
2424
  ],
2373
2425
  inclusive: !1
2374
2426
  },
2375
2427
  generic: {
2376
2428
  rules: [
2377
2429
  26,
2378
- 49,
2379
2430
  50,
2380
2431
  51,
2381
2432
  52,
@@ -2387,7 +2438,7 @@ var parser = (function() {
2387
2438
  58,
2388
2439
  59,
2389
2440
  60,
2390
- 63,
2441
+ 61,
2391
2442
  64,
2392
2443
  65,
2393
2444
  66,
@@ -2406,7 +2457,7 @@ var parser = (function() {
2406
2457
  79,
2407
2458
  80,
2408
2459
  81,
2409
- 86,
2460
+ 82,
2410
2461
  87,
2411
2462
  88,
2412
2463
  89,
@@ -2416,14 +2467,14 @@ var parser = (function() {
2416
2467
  93,
2417
2468
  94,
2418
2469
  95,
2419
- 97
2470
+ 96,
2471
+ 98
2420
2472
  ],
2421
2473
  inclusive: !1
2422
2474
  },
2423
2475
  bqstring: {
2424
2476
  rules: [
2425
2477
  26,
2426
- 49,
2427
2478
  50,
2428
2479
  51,
2429
2480
  52,
@@ -2432,7 +2483,7 @@ var parser = (function() {
2432
2483
  55,
2433
2484
  56,
2434
2485
  57,
2435
- 60,
2486
+ 58,
2436
2487
  61,
2437
2488
  62,
2438
2489
  63,
@@ -2454,7 +2505,7 @@ var parser = (function() {
2454
2505
  79,
2455
2506
  80,
2456
2507
  81,
2457
- 86,
2508
+ 82,
2458
2509
  87,
2459
2510
  88,
2460
2511
  89,
@@ -2464,7 +2515,8 @@ var parser = (function() {
2464
2515
  93,
2465
2516
  94,
2466
2517
  95,
2467
- 97
2518
+ 96,
2519
+ 98
2468
2520
  ],
2469
2521
  inclusive: !1
2470
2522
  },
@@ -2473,7 +2525,6 @@ var parser = (function() {
2473
2525
  24,
2474
2526
  25,
2475
2527
  26,
2476
- 49,
2477
2528
  50,
2478
2529
  51,
2479
2530
  52,
@@ -2482,8 +2533,8 @@ var parser = (function() {
2482
2533
  55,
2483
2534
  56,
2484
2535
  57,
2485
- 60,
2486
- 63,
2536
+ 58,
2537
+ 61,
2487
2538
  64,
2488
2539
  65,
2489
2540
  66,
@@ -2502,7 +2553,7 @@ var parser = (function() {
2502
2553
  79,
2503
2554
  80,
2504
2555
  81,
2505
- 86,
2556
+ 82,
2506
2557
  87,
2507
2558
  88,
2508
2559
  89,
@@ -2512,7 +2563,8 @@ var parser = (function() {
2512
2563
  93,
2513
2564
  94,
2514
2565
  95,
2515
- 97
2566
+ 96,
2567
+ 98
2516
2568
  ],
2517
2569
  inclusive: !1
2518
2570
  },
@@ -2537,8 +2589,7 @@ var parser = (function() {
2537
2589
  27,
2538
2590
  28,
2539
2591
  29,
2540
- 38,
2541
- 49,
2592
+ 39,
2542
2593
  50,
2543
2594
  51,
2544
2595
  52,
@@ -2547,8 +2598,8 @@ var parser = (function() {
2547
2598
  55,
2548
2599
  56,
2549
2600
  57,
2550
- 60,
2551
- 63,
2601
+ 58,
2602
+ 61,
2552
2603
  64,
2553
2604
  65,
2554
2605
  66,
@@ -2582,7 +2633,8 @@ var parser = (function() {
2582
2633
  94,
2583
2634
  95,
2584
2635
  96,
2585
- 97
2636
+ 97,
2637
+ 98
2586
2638
  ],
2587
2639
  inclusive: !0
2588
2640
  }
@@ -2592,7 +2644,7 @@ var parser = (function() {
2592
2644
  function $() {
2593
2645
  this.yy = {};
2594
2646
  }
2595
- return __name($, "Parser"), $.prototype = oe, oe.Parser = $, new $();
2647
+ return __name($, "Parser"), $.prototype = ce, ce.Parser = $, new $();
2596
2648
  })();
2597
2649
  parser.parser = parser;
2598
2650
  var classDiagram_default = parser, visibilityValues = [
@@ -2641,9 +2693,9 @@ var classDiagram_default = parser, visibilityValues = [
2641
2693
  default: return "";
2642
2694
  }
2643
2695
  }
2644
- }, MERMAID_DOM_ID_PREFIX = "classId-", classCounter = 0, sanitizeText2 = /* @__PURE__ */ __name((e) => common_default.sanitizeText(e, getConfig2()), "sanitizeText"), ClassDB = class {
2696
+ }, MERMAID_DOM_ID_PREFIX = "classId-", classCounter = 0, sanitizeText2 = /* @__PURE__ */ __name((e) => common_default.sanitizeText(e, getConfig2()), "sanitizeText"), ClassDB = class l {
2645
2697
  constructor() {
2646
- this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.diagramId = "", this.functions = [], this.lineType = {
2698
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.functions = [], this.lineType = {
2647
2699
  LINE: 0,
2648
2700
  DOTTED_LINE: 1
2649
2701
  }, this.relationType = {
@@ -2664,7 +2716,7 @@ var classDiagram_default = parser, visibilityValues = [
2664
2716
  }).on("mouseout", (e) => {
2665
2717
  t.transition().duration(500).style("opacity", 0), select_default(e.currentTarget).classed("hover", !1);
2666
2718
  });
2667
- }, "setupToolTips"), this.direction = "TB", this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setAccDescription = setAccDescription, this.getAccDescription = getAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getConfig = /* @__PURE__ */ __name(() => getConfig2().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
2719
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setAccDescription = setAccDescription, this.getAccDescription = getAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getConfig = /* @__PURE__ */ __name(() => getConfig2().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.popNamespace = this.popNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
2668
2720
  }
2669
2721
  static #e = __name(this, "ClassDB");
2670
2722
  splitClassNameAndType(e) {
@@ -2722,7 +2774,7 @@ var classDiagram_default = parser, visibilityValues = [
2722
2774
  throw Error("Class not found: " + t);
2723
2775
  }
2724
2776
  clear() {
2725
- this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.diagramId = "", this.direction = "TB", clear();
2777
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.direction = "TB", clear();
2726
2778
  }
2727
2779
  getClass(e) {
2728
2780
  return this.classes.get(e);
@@ -2861,14 +2913,47 @@ var classDiagram_default = parser, visibilityValues = [
2861
2913
  setDirection(e) {
2862
2914
  this.direction = e;
2863
2915
  }
2864
- addNamespace(e) {
2865
- this.namespaces.has(e) || (this.namespaces.set(e, {
2916
+ static resolveQualifiedId(e, t) {
2917
+ let n = t.at(-1);
2918
+ return n ? `${n}.${e}` : e;
2919
+ }
2920
+ static getAncestorIds(e) {
2921
+ let t = e.split("."), n = Array(t.length);
2922
+ n[0] = t[0];
2923
+ for (let e = 1; e < t.length; e++) n[e] = `${n[e - 1]}.${t[e]}`;
2924
+ return n;
2925
+ }
2926
+ createNamespaceNode(e, t, n, r = !1) {
2927
+ return {
2866
2928
  id: e,
2929
+ label: t,
2867
2930
  classes: /* @__PURE__ */ new Map(),
2868
2931
  notes: /* @__PURE__ */ new Map(),
2869
2932
  children: /* @__PURE__ */ new Map(),
2870
- domId: MERMAID_DOM_ID_PREFIX + e + "-" + this.namespaceCounter
2871
- }), this.namespaceCounter++);
2933
+ domId: MERMAID_DOM_ID_PREFIX + e + "-" + this.namespaceCounter++,
2934
+ parent: n,
2935
+ explicit: r
2936
+ };
2937
+ }
2938
+ linkParentChild(e, t) {
2939
+ let n = this.namespaces.get(e), r = this.namespaces.get(t);
2940
+ !n || !r || (n.children.has(t) || n.children.set(t, r), r.parent ??= e);
2941
+ }
2942
+ addNamespace(e, t) {
2943
+ let n = l.resolveQualifiedId(e, this.namespaceStack);
2944
+ if (this.namespaceStack.push(n), this.namespaces.has(n)) {
2945
+ let e = this.namespaces.get(n);
2946
+ return e.explicit = !0, t && (e.label = t), n;
2947
+ }
2948
+ let r = n.split("."), i = l.getAncestorIds(n);
2949
+ for (let e = 0; e < i.length; e++) {
2950
+ let n = i[e], a = e > 0 ? i[e - 1] : void 0, o = e === i.length - 1, s = o && t ? t : r[e];
2951
+ this.namespaces.has(n) ? o && (this.namespaces.get(n).explicit = !0) : this.namespaces.set(n, this.createNamespaceNode(n, s, a, o)), a && this.linkParentChild(a, n);
2952
+ }
2953
+ return n;
2954
+ }
2955
+ popNamespace() {
2956
+ this.namespaceStack.pop();
2872
2957
  }
2873
2958
  getNamespace(e) {
2874
2959
  return this.namespaces.get(e);
@@ -2914,34 +2999,45 @@ var classDiagram_default = parser, visibilityValues = [
2914
2999
  }
2915
3000
  return t;
2916
3001
  }
3002
+ resolveExplicitAncestor(e) {
3003
+ let t = e;
3004
+ for (; t;) {
3005
+ let e = this.namespaces.get(t);
3006
+ if (!e) return;
3007
+ if (e.explicit) return t;
3008
+ t = e.parent;
3009
+ }
3010
+ }
2917
3011
  getData() {
2918
- let e = [], t = [], n = getConfig2();
3012
+ let e = [], t = [], n = getConfig2(), r = n.class?.hierarchicalNamespaces ?? !0;
2919
3013
  for (let t of this.namespaces.values()) {
2920
- let r = {
3014
+ if (!r && !t.explicit) continue;
3015
+ let i = {
2921
3016
  id: t.id,
2922
- label: t.id,
3017
+ label: r ? t.label : t.id,
2923
3018
  isGroup: !0,
2924
3019
  padding: n.class.padding ?? 16,
2925
3020
  shape: "rect",
2926
3021
  cssStyles: [],
2927
- look: n.look
3022
+ look: n.look,
3023
+ parentId: r ? t.parent : void 0
2928
3024
  };
2929
- e.push(r);
3025
+ e.push(i);
2930
3026
  }
2931
3027
  for (let t of this.classes.values()) {
2932
- let r = {
3028
+ let i = r ? t.parent : this.resolveExplicitAncestor(t.parent), a = {
2933
3029
  ...t,
2934
3030
  type: void 0,
2935
3031
  isGroup: !1,
2936
- parentId: t.parent,
3032
+ parentId: i,
2937
3033
  look: n.look
2938
3034
  };
2939
- e.push(r);
3035
+ e.push(a);
2940
3036
  }
2941
- for (let r of this.notes.values()) {
2942
- let i = {
2943
- id: r.id,
2944
- label: r.text,
3037
+ for (let i of this.notes.values()) {
3038
+ let a = r ? i.parent : this.resolveExplicitAncestor(i.parent), o = {
3039
+ id: i.id,
3040
+ label: i.text,
2945
3041
  isGroup: !1,
2946
3042
  shape: "note",
2947
3043
  padding: n.class.padding ?? 6,
@@ -2952,16 +3048,16 @@ var classDiagram_default = parser, visibilityValues = [
2952
3048
  `stroke: ${n.themeVariables.noteBorderColor}`
2953
3049
  ],
2954
3050
  look: n.look,
2955
- parentId: r.parent,
3051
+ parentId: a,
2956
3052
  labelType: "markdown"
2957
3053
  };
2958
- e.push(i);
2959
- let a = this.classes.get(r.class)?.id;
2960
- if (a) {
3054
+ e.push(o);
3055
+ let s = this.classes.get(i.class)?.id;
3056
+ if (s) {
2961
3057
  let e = {
2962
- id: `edgeNote${r.index}`,
2963
- start: r.id,
2964
- end: a,
3058
+ id: `edgeNote${i.index}`,
3059
+ start: i.id,
3060
+ end: s,
2965
3061
  type: "normal",
2966
3062
  thickness: "normal",
2967
3063
  classes: "relation",
@@ -2987,13 +3083,13 @@ var classDiagram_default = parser, visibilityValues = [
2987
3083
  };
2988
3084
  e.push(r);
2989
3085
  }
2990
- let r = 0;
3086
+ let i = 0;
2991
3087
  for (let e of this.relations) {
2992
- r++;
2993
- let i = {
3088
+ i++;
3089
+ let r = {
2994
3090
  id: getEdgeId(e.id1, e.id2, {
2995
3091
  prefix: "id",
2996
- counter: r
3092
+ counter: i
2997
3093
  }),
2998
3094
  start: e.id1,
2999
3095
  end: e.id2,
@@ -3013,7 +3109,7 @@ var classDiagram_default = parser, visibilityValues = [
3013
3109
  look: n.look,
3014
3110
  labelType: "markdown"
3015
3111
  };
3016
- t.push(i);
3112
+ t.push(r);
3017
3113
  }
3018
3114
  return {
3019
3115
  nodes: e,