react-docs-ui 0.6.17 → 0.6.18

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 (150) hide show
  1. package/dist/{AIChatDialog-W60DtiEW.js → AIChatDialog-BnAX3dRn.js} +2 -2
  2. package/dist/{AISelectionTrigger-MaBGhxTE.js → AISelectionTrigger-SLyb8Vep.js} +2 -2
  3. package/dist/{AISettingsPanel-aiMnncnQ.js → AISettingsPanel-Bsd_wLP4.js} +3 -3
  4. package/dist/{DocsApp-BN6Bo0YD.js → DocsApp-CNVM_Zcf.js} +3505 -3208
  5. package/dist/{GlobalContextMenu-DG6x5Y5w.js → GlobalContextMenu-BtVjQk0v.js} +1 -1
  6. package/dist/{MdxContent-CMB8ZbXo.js → MdxContent-D2l4Au7Z.js} +310 -306
  7. package/dist/{MdxContent.lazy-C4rcCv4v.js → MdxContent.lazy-BirC7wrH.js} +1 -1
  8. package/dist/{SearchDialog-tUSKKsxW.js → SearchDialog-DWVre6R9.js} +66 -56
  9. package/dist/{SearchRuntime-5fXpxDsi.js → SearchRuntime-D0rSMKV3.js} +6 -5
  10. package/dist/_basePickBy-3HEi44E5.js +166 -0
  11. package/dist/_baseUniq-CyOGXr0t.js +682 -0
  12. package/dist/arc-DULIiw5L.js +80 -0
  13. package/dist/architecture-PBZL5I3N-DT4oHaWT.js +3 -0
  14. package/dist/architectureDiagram-2XIMDMQ5-CqinFxzU.js +4045 -0
  15. package/dist/array-DHiPsILf.js +6 -0
  16. package/dist/blockDiagram-WCTKOSBZ-4JAhKeqm.js +3025 -0
  17. package/dist/c4Diagram-IC4MRINW-DtmtzsQQ.js +2964 -0
  18. package/dist/channel-BPONoOHQ.js +5 -0
  19. package/dist/chunk-4BX2VUAB-Bv5NGtUU.js +8 -0
  20. package/dist/chunk-55IACEB6-BXL-F-QI.js +8 -0
  21. package/dist/chunk-7E7YKBS2-CuTUVGrY.js +23 -0
  22. package/dist/chunk-7R4GIKGN-Qkaxl46X.js +2596 -0
  23. package/dist/chunk-C72U2L5F-42ScKBi2.js +23 -0
  24. package/dist/chunk-EGIJ26TM-D9jfybGA.js +23 -0
  25. package/dist/chunk-FMBD7UC4-DZXaweDk.js +5 -0
  26. package/dist/chunk-GEFDOKGD-OXBFFBXI.js +1121 -0
  27. package/dist/chunk-GLR3WWYH-BNwKwdNm.js +41 -0
  28. package/dist/chunk-HHEYEP7N-BQ3EJT5G.js +9 -0
  29. package/dist/chunk-JSJVCQXG-DNkHiMyV.js +60 -0
  30. package/dist/chunk-KX2RTZJC-DuTfSwwu.js +25 -0
  31. package/dist/chunk-KYZI473N-COpLSX52.js +3434 -0
  32. package/dist/chunk-L3YUKLVL-BdSnx12A.js +23 -0
  33. package/dist/chunk-MX3YWQON-CrwNXQjz.js +80 -0
  34. package/dist/chunk-NBPlniwU.js +23 -0
  35. package/dist/chunk-NQ4KR5QH-Y07nfCMJ.js +2002 -0
  36. package/dist/chunk-O4XLMI2P-CuexQiBs.js +511 -0
  37. package/dist/chunk-OZEHJAEY-D6vfkGpv.js +64 -0
  38. package/dist/chunk-PQ6SQG4A-6cI0SCcc.js +67 -0
  39. package/dist/chunk-PU5JKC2W-an2DzREj.js +1885 -0
  40. package/dist/chunk-QZHKN3VN-BKMQ36H3.js +15 -0
  41. package/dist/chunk-R5LLSJPH-DOyud7qN.js +35 -0
  42. package/dist/chunk-WL4C6EOR-y1gU9zpd.js +3194 -0
  43. package/dist/chunk-XIRO2GV7-BD1Cp5pB.js +30 -0
  44. package/dist/chunk-XPW4576I-DOBR2ORN.js +1146 -0
  45. package/dist/chunk-XZSTWKYB-BQ9uqNJe.js +15797 -0
  46. package/dist/chunk-YBOYWFTD-BT3l76Xm.js +32 -0
  47. package/dist/classDiagram-VBA2DB6C-AUxID939.js +29 -0
  48. package/dist/classDiagram-v2-RAHNMMFH-tupy2OPi.js +29 -0
  49. package/dist/clone-CRTZj7kp.js +8 -0
  50. package/dist/cose-bilkent-S5V4N54A-Bbd2d2j7.js +2250 -0
  51. package/dist/cytoscape.esm-CQKQOqRt.js +18100 -0
  52. package/dist/dagre-Cyr5_x2X.js +1483 -0
  53. package/dist/dagre-KLK3FWXG-Bjsq-TtB.js +294 -0
  54. package/dist/defaultLocale-P2nWjZJu.js +201 -0
  55. package/dist/diagram-E7M64L7V-CCTuI46e.js +527 -0
  56. package/dist/diagram-IFDJBPK2-DI_KTvRx.js +213 -0
  57. package/dist/diagram-P4PSJMXO-D3SeWDdU.js +133 -0
  58. package/dist/dist-CSS39H68.js +50 -0
  59. package/dist/docs-app.es.js +1 -1
  60. package/dist/erDiagram-INFDFZHY-Db_DAoTf.js +1666 -0
  61. package/dist/flowDiagram-PKNHOUZH-TqyNp9Dn.js +4161 -0
  62. package/dist/ganttDiagram-A5KZAMGK-DqNVbtHo.js +3072 -0
  63. package/dist/gitGraph-HDMCJU4V-DQudxfzL.js +3 -0
  64. package/dist/gitGraphDiagram-K3NZZRJ6-Cga9Wfgb.js +625 -0
  65. package/dist/graphlib-CexrUFs9.js +225 -0
  66. package/dist/info-3K5VOQVL-DiuN3kw6.js +3 -0
  67. package/dist/infoDiagram-LFFYTUFH-bvABxJph.js +19 -0
  68. package/dist/init-GWRygwCo.js +15 -0
  69. package/dist/isArrayLikeObject-CG2kGrxR.js +578 -0
  70. package/dist/isEmpty-C8iIdTg-.js +35 -0
  71. package/dist/ishikawaDiagram-PHBUUO56-DKGPu-hu.js +717 -0
  72. package/dist/journeyDiagram-4ABVD52K-DefcNau0.js +883 -0
  73. package/dist/kanban-definition-K7BYSVSG-BXvFQzdZ.js +971 -0
  74. package/dist/line-ChPoSgrf.js +34 -0
  75. package/dist/linear-BeQrMQNe.js +289 -0
  76. package/dist/math-CgS6d5p2.js +10 -0
  77. package/dist/{shiki-highlighter-BmQSSJpS.js → mdx-components-Bz45lgrV.js} +1387 -1288
  78. package/dist/mermaid-parser.core-CDTyVXPe.js +59 -0
  79. package/dist/mermaid.core-CHJrGTZ9.js +919 -0
  80. package/dist/mindmap-definition-YRQLILUH-CqsMcFhX.js +964 -0
  81. package/dist/ordinal-DUEC8Lr4.js +65 -0
  82. package/dist/packet-RMMSAZCW-ZLaHU0Ov.js +3 -0
  83. package/dist/path-CzRXOvk1.js +85 -0
  84. package/dist/pie-UPGHQEXC-COgIbE0j.js +3 -0
  85. package/dist/pieDiagram-SKSYHLDU-C8Y5Bc8d.js +165 -0
  86. package/dist/quadrantDiagram-337W2JSQ-DRWBX5cn.js +1974 -0
  87. package/dist/radar-KQ55EAFF-ABFVVcns.js +3 -0
  88. package/dist/react-docs-ui.css +1 -1
  89. package/dist/react-docs-ui.es.js +19 -19
  90. package/dist/requirementDiagram-Z7DCOOCP-EkyUnFq8.js +2201 -0
  91. package/dist/rough.esm-qTNNhHn7.js +1352 -0
  92. package/dist/sankeyDiagram-WA2Y5GQK-Cmas7IuZ.js +920 -0
  93. package/dist/sequenceDiagram-2WXFIKYE-B7TrFw3o.js +4109 -0
  94. package/dist/src-B8kKzJ6p.js +2146 -0
  95. package/dist/stateDiagram-RAJIS63D-DyqZyFdt.js +217 -0
  96. package/dist/stateDiagram-v2-FVOUBMTO-5UjWXgt6.js +27 -0
  97. package/dist/timeline-definition-YZTLITO2-qhoXPOhL.js +830 -0
  98. package/dist/treemap-KZPCXAKY-CRdRsoRo.js +3 -0
  99. package/dist/types/components/AnnouncementBar.d.ts +12 -0
  100. package/dist/types/components/AnnouncementBar.d.ts.map +1 -0
  101. package/dist/types/components/DocsLayout.d.ts +8 -2
  102. package/dist/types/components/DocsLayout.d.ts.map +1 -1
  103. package/dist/types/components/HeaderNav.d.ts +17 -1
  104. package/dist/types/components/HeaderNav.d.ts.map +1 -1
  105. package/dist/types/components/MdxContent.d.ts.map +1 -1
  106. package/dist/types/components/MobileSidebar.d.ts +2 -1
  107. package/dist/types/components/MobileSidebar.d.ts.map +1 -1
  108. package/dist/types/components/PageFeedback.d.ts +11 -0
  109. package/dist/types/components/PageFeedback.d.ts.map +1 -0
  110. package/dist/types/components/PageMetaActions.d.ts +15 -0
  111. package/dist/types/components/PageMetaActions.d.ts.map +1 -0
  112. package/dist/types/components/PageNavigation.d.ts +2 -1
  113. package/dist/types/components/PageNavigation.d.ts.map +1 -1
  114. package/dist/types/components/SearchLauncher.d.ts +2 -1
  115. package/dist/types/components/SearchLauncher.d.ts.map +1 -1
  116. package/dist/types/components/SidebarNav.d.ts +2 -1
  117. package/dist/types/components/SidebarNav.d.ts.map +1 -1
  118. package/dist/types/components/mdx-components/Mermaid.d.ts +6 -0
  119. package/dist/types/components/mdx-components/Mermaid.d.ts.map +1 -0
  120. package/dist/types/components/mdx-components/Tabs.d.ts +13 -0
  121. package/dist/types/components/mdx-components/Tabs.d.ts.map +1 -0
  122. package/dist/types/components/mdx-components/index.d.ts +2 -0
  123. package/dist/types/components/mdx-components/index.d.ts.map +1 -1
  124. package/dist/types/components/search/SearchProvider.d.ts +2 -1
  125. package/dist/types/components/search/SearchProvider.d.ts.map +1 -1
  126. package/dist/types/components/search/SearchRuntime.d.ts +2 -1
  127. package/dist/types/components/search/SearchRuntime.d.ts.map +1 -1
  128. package/dist/types/lib/component-scanner.d.ts.map +1 -1
  129. package/dist/types/lib/config.d.ts +42 -0
  130. package/dist/types/lib/config.d.ts.map +1 -1
  131. package/dist/types/lib/navigation.d.ts +1 -1
  132. package/dist/types/lib/navigation.d.ts.map +1 -1
  133. package/dist/types/lib/page-meta.d.ts +16 -0
  134. package/dist/types/lib/page-meta.d.ts.map +1 -0
  135. package/dist/types/lib/search/build/index-generator.d.ts.map +1 -1
  136. package/dist/types/lib/search/build/types.d.ts +1 -0
  137. package/dist/types/lib/search/build/types.d.ts.map +1 -1
  138. package/dist/types/lib/search/runtime/search-engine.d.ts.map +1 -1
  139. package/dist/types/lib/search/runtime/types.d.ts +1 -0
  140. package/dist/types/lib/search/runtime/types.d.ts.map +1 -1
  141. package/dist/types/lib/versioning.d.ts +6 -0
  142. package/dist/types/lib/versioning.d.ts.map +1 -0
  143. package/dist/vennDiagram-LZ73GAT5-DlUUn7LI.js +1858 -0
  144. package/dist/xychartDiagram-JWTSCODW-oT2IR7c0.js +2041 -0
  145. package/package.json +4 -1
  146. /package/dist/{AIProvider-C1_b1iKH.js → AIProvider-niZNPSGi.js} +0 -0
  147. /package/dist/{context-menu-CB7erSoV.js → context-menu-BIQsQup7.js} +0 -0
  148. /package/dist/{dialog-DQ6nkP0y.js → dialog-D8otbqQL.js} +0 -0
  149. /package/dist/{mdx-components-Dxpipc50.js → mdx-components-TEc3uhbY.js} +0 -0
  150. /package/dist/{use-toast-d9VPBjMn.js → use-toast-DK69oadB.js} +0 -0
@@ -0,0 +1,3194 @@
1
+ import { h as e, s as t } from "./chunk-GEFDOKGD-OXBFFBXI.js";
2
+ import { g as n, h as r, p as i } from "./src-B8kKzJ6p.js";
3
+ import { B as a, C as o, L as s, V as c, W as l, Z as u, _ as d, a as f, b as p, j as m, s as h, v as g } from "./chunk-7R4GIKGN-Qkaxl46X.js";
4
+ import { t as _ } from "./chunk-FMBD7UC4-DZXaweDk.js";
5
+ import { t as v } from "./chunk-JSJVCQXG-DNkHiMyV.js";
6
+ import { t as y } from "./chunk-55IACEB6-BXL-F-QI.js";
7
+ import { t as b } from "./chunk-KX2RTZJC-DuTfSwwu.js";
8
+ import { r as x, t as S } from "./chunk-GLR3WWYH-BNwKwdNm.js";
9
+ //#region node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WL4C6EOR.mjs
10
+ var C = (function() {
11
+ var e = /* @__PURE__ */ r(function(e, t, n, r) {
12
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
13
+ return n;
14
+ }, "o"), t = [1, 18], n = [1, 19], i = [1, 20], a = [1, 41], o = [1, 42], s = [1, 26], c = [1, 24], l = [1, 25], u = [1, 32], d = [1, 33], f = [1, 34], p = [1, 45], m = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
15
+ 1,
16
+ 8,
17
+ 9
18
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], F = [1, 64], I = [
19
+ 1,
20
+ 8,
21
+ 9,
22
+ 41
23
+ ], ee = [1, 76], L = [
24
+ 1,
25
+ 8,
26
+ 9,
27
+ 12,
28
+ 13,
29
+ 22,
30
+ 39,
31
+ 41,
32
+ 44,
33
+ 68,
34
+ 69,
35
+ 70,
36
+ 71,
37
+ 72,
38
+ 73,
39
+ 74,
40
+ 79,
41
+ 81
42
+ ], R = [
43
+ 1,
44
+ 8,
45
+ 9,
46
+ 12,
47
+ 13,
48
+ 18,
49
+ 20,
50
+ 22,
51
+ 39,
52
+ 41,
53
+ 44,
54
+ 50,
55
+ 60,
56
+ 68,
57
+ 69,
58
+ 70,
59
+ 71,
60
+ 72,
61
+ 73,
62
+ 74,
63
+ 79,
64
+ 81,
65
+ 86,
66
+ 100,
67
+ 102,
68
+ 103
69
+ ], z = [
70
+ 13,
71
+ 60,
72
+ 86,
73
+ 100,
74
+ 102,
75
+ 103
76
+ ], B = [
77
+ 13,
78
+ 60,
79
+ 73,
80
+ 74,
81
+ 86,
82
+ 100,
83
+ 102,
84
+ 103
85
+ ], te = [
86
+ 13,
87
+ 60,
88
+ 68,
89
+ 69,
90
+ 70,
91
+ 71,
92
+ 72,
93
+ 86,
94
+ 100,
95
+ 102,
96
+ 103
97
+ ], V = [1, 101], H = [1, 118], U = [1, 114], W = [1, 110], G = [1, 116], K = [1, 111], q = [1, 112], J = [1, 113], Y = [1, 115], X = [1, 117], ne = [
98
+ 22,
99
+ 48,
100
+ 60,
101
+ 61,
102
+ 82,
103
+ 86,
104
+ 87,
105
+ 88,
106
+ 89,
107
+ 90
108
+ ], re = [
109
+ 1,
110
+ 8,
111
+ 9,
112
+ 39,
113
+ 41,
114
+ 44
115
+ ], Z = [
116
+ 1,
117
+ 8,
118
+ 9,
119
+ 22
120
+ ], ie = [1, 147], ae = [
121
+ 1,
122
+ 8,
123
+ 9,
124
+ 61
125
+ ], Q = [
126
+ 1,
127
+ 8,
128
+ 9,
129
+ 22,
130
+ 48,
131
+ 60,
132
+ 61,
133
+ 82,
134
+ 86,
135
+ 87,
136
+ 88,
137
+ 89,
138
+ 90
139
+ ], oe = {
140
+ trace: /* @__PURE__ */ r(function() {}, "trace"),
141
+ yy: {},
142
+ symbols_: {
143
+ error: 2,
144
+ start: 3,
145
+ mermaidDoc: 4,
146
+ statements: 5,
147
+ graphConfig: 6,
148
+ CLASS_DIAGRAM: 7,
149
+ NEWLINE: 8,
150
+ EOF: 9,
151
+ statement: 10,
152
+ classLabel: 11,
153
+ SQS: 12,
154
+ STR: 13,
155
+ SQE: 14,
156
+ namespaceName: 15,
157
+ alphaNumToken: 16,
158
+ classLiteralName: 17,
159
+ DOT: 18,
160
+ className: 19,
161
+ GENERICTYPE: 20,
162
+ relationStatement: 21,
163
+ LABEL: 22,
164
+ namespaceStatement: 23,
165
+ classStatement: 24,
166
+ memberStatement: 25,
167
+ annotationStatement: 26,
168
+ clickStatement: 27,
169
+ styleStatement: 28,
170
+ cssClassStatement: 29,
171
+ noteStatement: 30,
172
+ classDefStatement: 31,
173
+ direction: 32,
174
+ acc_title: 33,
175
+ acc_title_value: 34,
176
+ acc_descr: 35,
177
+ acc_descr_value: 36,
178
+ acc_descr_multiline_value: 37,
179
+ namespaceIdentifier: 38,
180
+ STRUCT_START: 39,
181
+ classStatements: 40,
182
+ STRUCT_STOP: 41,
183
+ NAMESPACE: 42,
184
+ classIdentifier: 43,
185
+ STYLE_SEPARATOR: 44,
186
+ members: 45,
187
+ CLASS: 46,
188
+ emptyBody: 47,
189
+ SPACE: 48,
190
+ ANNOTATION_START: 49,
191
+ ANNOTATION_END: 50,
192
+ MEMBER: 51,
193
+ SEPARATOR: 52,
194
+ relation: 53,
195
+ NOTE_FOR: 54,
196
+ noteText: 55,
197
+ NOTE: 56,
198
+ CLASSDEF: 57,
199
+ classList: 58,
200
+ stylesOpt: 59,
201
+ ALPHA: 60,
202
+ COMMA: 61,
203
+ direction_tb: 62,
204
+ direction_bt: 63,
205
+ direction_rl: 64,
206
+ direction_lr: 65,
207
+ relationType: 66,
208
+ lineType: 67,
209
+ AGGREGATION: 68,
210
+ EXTENSION: 69,
211
+ COMPOSITION: 70,
212
+ DEPENDENCY: 71,
213
+ LOLLIPOP: 72,
214
+ LINE: 73,
215
+ DOTTED_LINE: 74,
216
+ CALLBACK: 75,
217
+ LINK: 76,
218
+ LINK_TARGET: 77,
219
+ CLICK: 78,
220
+ CALLBACK_NAME: 79,
221
+ CALLBACK_ARGS: 80,
222
+ HREF: 81,
223
+ STYLE: 82,
224
+ CSSCLASS: 83,
225
+ style: 84,
226
+ styleComponent: 85,
227
+ NUM: 86,
228
+ COLON: 87,
229
+ UNIT: 88,
230
+ BRKT: 89,
231
+ PCT: 90,
232
+ commentToken: 91,
233
+ textToken: 92,
234
+ graphCodeTokens: 93,
235
+ textNoTagsToken: 94,
236
+ TAGSTART: 95,
237
+ TAGEND: 96,
238
+ "==": 97,
239
+ "--": 98,
240
+ DEFAULT: 99,
241
+ MINUS: 100,
242
+ keywords: 101,
243
+ UNICODE_TEXT: 102,
244
+ BQUOTE_STR: 103,
245
+ $accept: 0,
246
+ $end: 1
247
+ },
248
+ terminals_: {
249
+ 2: "error",
250
+ 7: "CLASS_DIAGRAM",
251
+ 8: "NEWLINE",
252
+ 9: "EOF",
253
+ 12: "SQS",
254
+ 13: "STR",
255
+ 14: "SQE",
256
+ 18: "DOT",
257
+ 20: "GENERICTYPE",
258
+ 22: "LABEL",
259
+ 33: "acc_title",
260
+ 34: "acc_title_value",
261
+ 35: "acc_descr",
262
+ 36: "acc_descr_value",
263
+ 37: "acc_descr_multiline_value",
264
+ 39: "STRUCT_START",
265
+ 41: "STRUCT_STOP",
266
+ 42: "NAMESPACE",
267
+ 44: "STYLE_SEPARATOR",
268
+ 46: "CLASS",
269
+ 48: "SPACE",
270
+ 49: "ANNOTATION_START",
271
+ 50: "ANNOTATION_END",
272
+ 51: "MEMBER",
273
+ 52: "SEPARATOR",
274
+ 54: "NOTE_FOR",
275
+ 56: "NOTE",
276
+ 57: "CLASSDEF",
277
+ 60: "ALPHA",
278
+ 61: "COMMA",
279
+ 62: "direction_tb",
280
+ 63: "direction_bt",
281
+ 64: "direction_rl",
282
+ 65: "direction_lr",
283
+ 68: "AGGREGATION",
284
+ 69: "EXTENSION",
285
+ 70: "COMPOSITION",
286
+ 71: "DEPENDENCY",
287
+ 72: "LOLLIPOP",
288
+ 73: "LINE",
289
+ 74: "DOTTED_LINE",
290
+ 75: "CALLBACK",
291
+ 76: "LINK",
292
+ 77: "LINK_TARGET",
293
+ 78: "CLICK",
294
+ 79: "CALLBACK_NAME",
295
+ 80: "CALLBACK_ARGS",
296
+ 81: "HREF",
297
+ 82: "STYLE",
298
+ 83: "CSSCLASS",
299
+ 86: "NUM",
300
+ 87: "COLON",
301
+ 88: "UNIT",
302
+ 89: "BRKT",
303
+ 90: "PCT",
304
+ 93: "graphCodeTokens",
305
+ 95: "TAGSTART",
306
+ 96: "TAGEND",
307
+ 97: "==",
308
+ 98: "--",
309
+ 99: "DEFAULT",
310
+ 100: "MINUS",
311
+ 101: "keywords",
312
+ 102: "UNICODE_TEXT",
313
+ 103: "BQUOTE_STR"
314
+ },
315
+ productions_: [
316
+ 0,
317
+ [3, 1],
318
+ [3, 1],
319
+ [4, 1],
320
+ [6, 4],
321
+ [5, 1],
322
+ [5, 2],
323
+ [5, 3],
324
+ [11, 3],
325
+ [15, 1],
326
+ [15, 1],
327
+ [15, 3],
328
+ [15, 2],
329
+ [19, 1],
330
+ [19, 3],
331
+ [19, 1],
332
+ [19, 2],
333
+ [19, 2],
334
+ [19, 2],
335
+ [10, 1],
336
+ [10, 2],
337
+ [10, 1],
338
+ [10, 1],
339
+ [10, 1],
340
+ [10, 1],
341
+ [10, 1],
342
+ [10, 1],
343
+ [10, 1],
344
+ [10, 1],
345
+ [10, 1],
346
+ [10, 1],
347
+ [10, 2],
348
+ [10, 2],
349
+ [10, 1],
350
+ [23, 4],
351
+ [23, 5],
352
+ [38, 2],
353
+ [40, 1],
354
+ [40, 2],
355
+ [40, 3],
356
+ [40, 1],
357
+ [40, 2],
358
+ [40, 3],
359
+ [24, 1],
360
+ [24, 3],
361
+ [24, 4],
362
+ [24, 3],
363
+ [24, 6],
364
+ [43, 2],
365
+ [43, 3],
366
+ [47, 0],
367
+ [47, 2],
368
+ [47, 2],
369
+ [26, 4],
370
+ [45, 1],
371
+ [45, 2],
372
+ [25, 1],
373
+ [25, 2],
374
+ [25, 1],
375
+ [25, 1],
376
+ [21, 3],
377
+ [21, 4],
378
+ [21, 4],
379
+ [21, 5],
380
+ [30, 3],
381
+ [30, 2],
382
+ [31, 3],
383
+ [58, 1],
384
+ [58, 3],
385
+ [32, 1],
386
+ [32, 1],
387
+ [32, 1],
388
+ [32, 1],
389
+ [53, 3],
390
+ [53, 2],
391
+ [53, 2],
392
+ [53, 1],
393
+ [66, 1],
394
+ [66, 1],
395
+ [66, 1],
396
+ [66, 1],
397
+ [66, 1],
398
+ [67, 1],
399
+ [67, 1],
400
+ [27, 3],
401
+ [27, 4],
402
+ [27, 3],
403
+ [27, 4],
404
+ [27, 4],
405
+ [27, 5],
406
+ [27, 3],
407
+ [27, 4],
408
+ [27, 4],
409
+ [27, 5],
410
+ [27, 4],
411
+ [27, 5],
412
+ [27, 5],
413
+ [27, 6],
414
+ [28, 3],
415
+ [29, 3],
416
+ [59, 1],
417
+ [59, 3],
418
+ [84, 1],
419
+ [84, 2],
420
+ [85, 1],
421
+ [85, 1],
422
+ [85, 1],
423
+ [85, 1],
424
+ [85, 1],
425
+ [85, 1],
426
+ [85, 1],
427
+ [85, 1],
428
+ [85, 1],
429
+ [91, 1],
430
+ [91, 1],
431
+ [92, 1],
432
+ [92, 1],
433
+ [92, 1],
434
+ [92, 1],
435
+ [92, 1],
436
+ [92, 1],
437
+ [92, 1],
438
+ [94, 1],
439
+ [94, 1],
440
+ [94, 1],
441
+ [94, 1],
442
+ [16, 1],
443
+ [16, 1],
444
+ [16, 1],
445
+ [16, 1],
446
+ [17, 1],
447
+ [55, 1]
448
+ ],
449
+ performAction: /* @__PURE__ */ r(function(e, t, n, r, i, a, o) {
450
+ var s = a.length - 1;
451
+ switch (i) {
452
+ case 8:
453
+ this.$ = a[s - 1];
454
+ break;
455
+ case 9:
456
+ case 10:
457
+ case 13:
458
+ case 15:
459
+ this.$ = a[s];
460
+ break;
461
+ case 11:
462
+ case 14:
463
+ this.$ = a[s - 2] + "." + a[s];
464
+ break;
465
+ case 12:
466
+ case 16:
467
+ this.$ = a[s - 1] + a[s];
468
+ break;
469
+ case 17:
470
+ case 18:
471
+ this.$ = a[s - 1] + "~" + a[s] + "~";
472
+ break;
473
+ case 19:
474
+ r.addRelation(a[s]);
475
+ break;
476
+ case 20:
477
+ a[s - 1].title = r.cleanupLabel(a[s]), r.addRelation(a[s - 1]);
478
+ break;
479
+ case 31:
480
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
481
+ break;
482
+ case 32:
483
+ case 33:
484
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
485
+ break;
486
+ case 34:
487
+ r.addClassesToNamespace(a[s - 3], a[s - 1][0], a[s - 1][1]);
488
+ break;
489
+ case 35:
490
+ r.addClassesToNamespace(a[s - 4], a[s - 1][0], a[s - 1][1]);
491
+ break;
492
+ case 36:
493
+ this.$ = a[s], r.addNamespace(a[s]);
494
+ break;
495
+ case 37:
496
+ this.$ = [[a[s]], []];
497
+ break;
498
+ case 38:
499
+ this.$ = [[a[s - 1]], []];
500
+ break;
501
+ case 39:
502
+ a[s][0].unshift(a[s - 2]), this.$ = a[s];
503
+ break;
504
+ case 40:
505
+ this.$ = [[], [a[s]]];
506
+ break;
507
+ case 41:
508
+ this.$ = [[], [a[s - 1]]];
509
+ break;
510
+ case 42:
511
+ a[s][1].unshift(a[s - 2]), this.$ = a[s];
512
+ break;
513
+ case 44:
514
+ r.setCssClass(a[s - 2], a[s]);
515
+ break;
516
+ case 45:
517
+ r.addMembers(a[s - 3], a[s - 1]);
518
+ break;
519
+ case 47:
520
+ r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
521
+ break;
522
+ case 48:
523
+ this.$ = a[s], r.addClass(a[s]);
524
+ break;
525
+ case 49:
526
+ this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
527
+ break;
528
+ case 53:
529
+ r.addAnnotation(a[s], a[s - 2]);
530
+ break;
531
+ case 54:
532
+ case 67:
533
+ this.$ = [a[s]];
534
+ break;
535
+ case 55:
536
+ a[s].push(a[s - 1]), this.$ = a[s];
537
+ break;
538
+ case 56: break;
539
+ case 57:
540
+ r.addMember(a[s - 1], r.cleanupLabel(a[s]));
541
+ break;
542
+ case 58: break;
543
+ case 59: break;
544
+ case 60:
545
+ this.$ = {
546
+ id1: a[s - 2],
547
+ id2: a[s],
548
+ relation: a[s - 1],
549
+ relationTitle1: "none",
550
+ relationTitle2: "none"
551
+ };
552
+ break;
553
+ case 61:
554
+ this.$ = {
555
+ id1: a[s - 3],
556
+ id2: a[s],
557
+ relation: a[s - 1],
558
+ relationTitle1: a[s - 2],
559
+ relationTitle2: "none"
560
+ };
561
+ break;
562
+ case 62:
563
+ this.$ = {
564
+ id1: a[s - 3],
565
+ id2: a[s],
566
+ relation: a[s - 2],
567
+ relationTitle1: "none",
568
+ relationTitle2: a[s - 1]
569
+ };
570
+ break;
571
+ case 63:
572
+ this.$ = {
573
+ id1: a[s - 4],
574
+ id2: a[s],
575
+ relation: a[s - 2],
576
+ relationTitle1: a[s - 3],
577
+ relationTitle2: a[s - 1]
578
+ };
579
+ break;
580
+ case 64:
581
+ this.$ = r.addNote(a[s], a[s - 1]);
582
+ break;
583
+ case 65:
584
+ this.$ = r.addNote(a[s]);
585
+ break;
586
+ case 66:
587
+ this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
588
+ break;
589
+ case 68:
590
+ this.$ = a[s - 2].concat([a[s]]);
591
+ break;
592
+ case 69:
593
+ r.setDirection("TB");
594
+ break;
595
+ case 70:
596
+ r.setDirection("BT");
597
+ break;
598
+ case 71:
599
+ r.setDirection("RL");
600
+ break;
601
+ case 72:
602
+ r.setDirection("LR");
603
+ break;
604
+ case 73:
605
+ this.$ = {
606
+ type1: a[s - 2],
607
+ type2: a[s],
608
+ lineType: a[s - 1]
609
+ };
610
+ break;
611
+ case 74:
612
+ this.$ = {
613
+ type1: "none",
614
+ type2: a[s],
615
+ lineType: a[s - 1]
616
+ };
617
+ break;
618
+ case 75:
619
+ this.$ = {
620
+ type1: a[s - 1],
621
+ type2: "none",
622
+ lineType: a[s]
623
+ };
624
+ break;
625
+ case 76:
626
+ this.$ = {
627
+ type1: "none",
628
+ type2: "none",
629
+ lineType: a[s]
630
+ };
631
+ break;
632
+ case 77:
633
+ this.$ = r.relationType.AGGREGATION;
634
+ break;
635
+ case 78:
636
+ this.$ = r.relationType.EXTENSION;
637
+ break;
638
+ case 79:
639
+ this.$ = r.relationType.COMPOSITION;
640
+ break;
641
+ case 80:
642
+ this.$ = r.relationType.DEPENDENCY;
643
+ break;
644
+ case 81:
645
+ this.$ = r.relationType.LOLLIPOP;
646
+ break;
647
+ case 82:
648
+ this.$ = r.lineType.LINE;
649
+ break;
650
+ case 83:
651
+ this.$ = r.lineType.DOTTED_LINE;
652
+ break;
653
+ case 84:
654
+ case 90:
655
+ this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
656
+ break;
657
+ case 85:
658
+ case 91:
659
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
660
+ break;
661
+ case 86:
662
+ this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
663
+ break;
664
+ case 87:
665
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
666
+ break;
667
+ case 88:
668
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
669
+ break;
670
+ case 89:
671
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
672
+ break;
673
+ case 92:
674
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
675
+ break;
676
+ case 93:
677
+ this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
678
+ break;
679
+ case 94:
680
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
681
+ break;
682
+ case 95:
683
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
684
+ break;
685
+ case 96:
686
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
687
+ break;
688
+ case 97:
689
+ this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
690
+ break;
691
+ case 98:
692
+ this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
693
+ break;
694
+ case 99:
695
+ r.setCssClass(a[s - 1], a[s]);
696
+ break;
697
+ case 100:
698
+ this.$ = [a[s]];
699
+ break;
700
+ case 101:
701
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
702
+ break;
703
+ case 103:
704
+ this.$ = a[s - 1] + a[s];
705
+ break;
706
+ }
707
+ }, "anonymous"),
708
+ table: [
709
+ {
710
+ 3: 1,
711
+ 4: 2,
712
+ 5: 3,
713
+ 6: 4,
714
+ 7: [1, 6],
715
+ 10: 5,
716
+ 16: 39,
717
+ 17: 40,
718
+ 19: 21,
719
+ 21: 7,
720
+ 23: 8,
721
+ 24: 9,
722
+ 25: 10,
723
+ 26: 11,
724
+ 27: 12,
725
+ 28: 13,
726
+ 29: 14,
727
+ 30: 15,
728
+ 31: 16,
729
+ 32: 17,
730
+ 33: t,
731
+ 35: n,
732
+ 37: i,
733
+ 38: 22,
734
+ 42: a,
735
+ 43: 23,
736
+ 46: o,
737
+ 49: s,
738
+ 51: c,
739
+ 52: l,
740
+ 54: u,
741
+ 56: d,
742
+ 57: f,
743
+ 60: p,
744
+ 62: m,
745
+ 63: h,
746
+ 64: g,
747
+ 65: _,
748
+ 75: v,
749
+ 76: y,
750
+ 78: b,
751
+ 82: x,
752
+ 83: S,
753
+ 86: C,
754
+ 100: w,
755
+ 102: T,
756
+ 103: E
757
+ },
758
+ { 1: [3] },
759
+ { 1: [2, 1] },
760
+ { 1: [2, 2] },
761
+ { 1: [2, 3] },
762
+ e(D, [2, 5], { 8: [1, 48] }),
763
+ { 8: [1, 49] },
764
+ e(O, [2, 19], { 22: [1, 50] }),
765
+ e(O, [2, 21]),
766
+ e(O, [2, 22]),
767
+ e(O, [2, 23]),
768
+ e(O, [2, 24]),
769
+ e(O, [2, 25]),
770
+ e(O, [2, 26]),
771
+ e(O, [2, 27]),
772
+ e(O, [2, 28]),
773
+ e(O, [2, 29]),
774
+ e(O, [2, 30]),
775
+ { 34: [1, 51] },
776
+ { 36: [1, 52] },
777
+ e(O, [2, 33]),
778
+ e(O, [2, 56], {
779
+ 53: 53,
780
+ 66: 56,
781
+ 67: 57,
782
+ 13: [1, 54],
783
+ 22: [1, 55],
784
+ 68: k,
785
+ 69: A,
786
+ 70: j,
787
+ 71: M,
788
+ 72: N,
789
+ 73: P,
790
+ 74: F
791
+ }),
792
+ { 39: [1, 65] },
793
+ e(I, [2, 43], {
794
+ 39: [1, 67],
795
+ 44: [1, 66]
796
+ }),
797
+ e(O, [2, 58]),
798
+ e(O, [2, 59]),
799
+ {
800
+ 16: 68,
801
+ 60: p,
802
+ 86: C,
803
+ 100: w,
804
+ 102: T
805
+ },
806
+ {
807
+ 16: 39,
808
+ 17: 40,
809
+ 19: 69,
810
+ 60: p,
811
+ 86: C,
812
+ 100: w,
813
+ 102: T,
814
+ 103: E
815
+ },
816
+ {
817
+ 16: 39,
818
+ 17: 40,
819
+ 19: 70,
820
+ 60: p,
821
+ 86: C,
822
+ 100: w,
823
+ 102: T,
824
+ 103: E
825
+ },
826
+ {
827
+ 16: 39,
828
+ 17: 40,
829
+ 19: 71,
830
+ 60: p,
831
+ 86: C,
832
+ 100: w,
833
+ 102: T,
834
+ 103: E
835
+ },
836
+ { 60: [1, 72] },
837
+ { 13: [1, 73] },
838
+ {
839
+ 16: 39,
840
+ 17: 40,
841
+ 19: 74,
842
+ 60: p,
843
+ 86: C,
844
+ 100: w,
845
+ 102: T,
846
+ 103: E
847
+ },
848
+ {
849
+ 13: ee,
850
+ 55: 75
851
+ },
852
+ {
853
+ 58: 77,
854
+ 60: [1, 78]
855
+ },
856
+ e(O, [2, 69]),
857
+ e(O, [2, 70]),
858
+ e(O, [2, 71]),
859
+ e(O, [2, 72]),
860
+ e(L, [2, 13], {
861
+ 16: 39,
862
+ 17: 40,
863
+ 19: 80,
864
+ 18: [1, 79],
865
+ 20: [1, 81],
866
+ 60: p,
867
+ 86: C,
868
+ 100: w,
869
+ 102: T,
870
+ 103: E
871
+ }),
872
+ e(L, [2, 15], { 20: [1, 82] }),
873
+ {
874
+ 15: 83,
875
+ 16: 84,
876
+ 17: 85,
877
+ 60: p,
878
+ 86: C,
879
+ 100: w,
880
+ 102: T,
881
+ 103: E
882
+ },
883
+ {
884
+ 16: 39,
885
+ 17: 40,
886
+ 19: 86,
887
+ 60: p,
888
+ 86: C,
889
+ 100: w,
890
+ 102: T,
891
+ 103: E
892
+ },
893
+ e(R, [2, 126]),
894
+ e(R, [2, 127]),
895
+ e(R, [2, 128]),
896
+ e(R, [2, 129]),
897
+ e([
898
+ 1,
899
+ 8,
900
+ 9,
901
+ 12,
902
+ 13,
903
+ 20,
904
+ 22,
905
+ 39,
906
+ 41,
907
+ 44,
908
+ 68,
909
+ 69,
910
+ 70,
911
+ 71,
912
+ 72,
913
+ 73,
914
+ 74,
915
+ 79,
916
+ 81
917
+ ], [2, 130]),
918
+ e(D, [2, 6], {
919
+ 10: 5,
920
+ 21: 7,
921
+ 23: 8,
922
+ 24: 9,
923
+ 25: 10,
924
+ 26: 11,
925
+ 27: 12,
926
+ 28: 13,
927
+ 29: 14,
928
+ 30: 15,
929
+ 31: 16,
930
+ 32: 17,
931
+ 19: 21,
932
+ 38: 22,
933
+ 43: 23,
934
+ 16: 39,
935
+ 17: 40,
936
+ 5: 87,
937
+ 33: t,
938
+ 35: n,
939
+ 37: i,
940
+ 42: a,
941
+ 46: o,
942
+ 49: s,
943
+ 51: c,
944
+ 52: l,
945
+ 54: u,
946
+ 56: d,
947
+ 57: f,
948
+ 60: p,
949
+ 62: m,
950
+ 63: h,
951
+ 64: g,
952
+ 65: _,
953
+ 75: v,
954
+ 76: y,
955
+ 78: b,
956
+ 82: x,
957
+ 83: S,
958
+ 86: C,
959
+ 100: w,
960
+ 102: T,
961
+ 103: E
962
+ }),
963
+ {
964
+ 5: 88,
965
+ 10: 5,
966
+ 16: 39,
967
+ 17: 40,
968
+ 19: 21,
969
+ 21: 7,
970
+ 23: 8,
971
+ 24: 9,
972
+ 25: 10,
973
+ 26: 11,
974
+ 27: 12,
975
+ 28: 13,
976
+ 29: 14,
977
+ 30: 15,
978
+ 31: 16,
979
+ 32: 17,
980
+ 33: t,
981
+ 35: n,
982
+ 37: i,
983
+ 38: 22,
984
+ 42: a,
985
+ 43: 23,
986
+ 46: o,
987
+ 49: s,
988
+ 51: c,
989
+ 52: l,
990
+ 54: u,
991
+ 56: d,
992
+ 57: f,
993
+ 60: p,
994
+ 62: m,
995
+ 63: h,
996
+ 64: g,
997
+ 65: _,
998
+ 75: v,
999
+ 76: y,
1000
+ 78: b,
1001
+ 82: x,
1002
+ 83: S,
1003
+ 86: C,
1004
+ 100: w,
1005
+ 102: T,
1006
+ 103: E
1007
+ },
1008
+ e(O, [2, 20]),
1009
+ e(O, [2, 31]),
1010
+ e(O, [2, 32]),
1011
+ {
1012
+ 13: [1, 90],
1013
+ 16: 39,
1014
+ 17: 40,
1015
+ 19: 89,
1016
+ 60: p,
1017
+ 86: C,
1018
+ 100: w,
1019
+ 102: T,
1020
+ 103: E
1021
+ },
1022
+ {
1023
+ 53: 91,
1024
+ 66: 56,
1025
+ 67: 57,
1026
+ 68: k,
1027
+ 69: A,
1028
+ 70: j,
1029
+ 71: M,
1030
+ 72: N,
1031
+ 73: P,
1032
+ 74: F
1033
+ },
1034
+ e(O, [2, 57]),
1035
+ {
1036
+ 67: 92,
1037
+ 73: P,
1038
+ 74: F
1039
+ },
1040
+ e(z, [2, 76], {
1041
+ 66: 93,
1042
+ 68: k,
1043
+ 69: A,
1044
+ 70: j,
1045
+ 71: M,
1046
+ 72: N
1047
+ }),
1048
+ e(B, [2, 77]),
1049
+ e(B, [2, 78]),
1050
+ e(B, [2, 79]),
1051
+ e(B, [2, 80]),
1052
+ e(B, [2, 81]),
1053
+ e(te, [2, 82]),
1054
+ e(te, [2, 83]),
1055
+ {
1056
+ 8: [1, 95],
1057
+ 24: 96,
1058
+ 30: 97,
1059
+ 40: 94,
1060
+ 43: 23,
1061
+ 46: o,
1062
+ 54: u,
1063
+ 56: d
1064
+ },
1065
+ {
1066
+ 16: 98,
1067
+ 60: p,
1068
+ 86: C,
1069
+ 100: w,
1070
+ 102: T
1071
+ },
1072
+ {
1073
+ 41: [1, 100],
1074
+ 45: 99,
1075
+ 51: V
1076
+ },
1077
+ { 50: [1, 102] },
1078
+ { 13: [1, 103] },
1079
+ { 13: [1, 104] },
1080
+ {
1081
+ 79: [1, 105],
1082
+ 81: [1, 106]
1083
+ },
1084
+ {
1085
+ 22: H,
1086
+ 48: U,
1087
+ 59: 107,
1088
+ 60: W,
1089
+ 82: G,
1090
+ 84: 108,
1091
+ 85: 109,
1092
+ 86: K,
1093
+ 87: q,
1094
+ 88: J,
1095
+ 89: Y,
1096
+ 90: X
1097
+ },
1098
+ { 60: [1, 119] },
1099
+ {
1100
+ 13: ee,
1101
+ 55: 120
1102
+ },
1103
+ e(I, [2, 65]),
1104
+ e(I, [2, 131]),
1105
+ {
1106
+ 22: H,
1107
+ 48: U,
1108
+ 59: 121,
1109
+ 60: W,
1110
+ 61: [1, 122],
1111
+ 82: G,
1112
+ 84: 108,
1113
+ 85: 109,
1114
+ 86: K,
1115
+ 87: q,
1116
+ 88: J,
1117
+ 89: Y,
1118
+ 90: X
1119
+ },
1120
+ e(ne, [2, 67]),
1121
+ {
1122
+ 16: 39,
1123
+ 17: 40,
1124
+ 19: 123,
1125
+ 60: p,
1126
+ 86: C,
1127
+ 100: w,
1128
+ 102: T,
1129
+ 103: E
1130
+ },
1131
+ e(L, [2, 16]),
1132
+ e(L, [2, 17]),
1133
+ e(L, [2, 18]),
1134
+ { 39: [2, 36] },
1135
+ {
1136
+ 15: 125,
1137
+ 16: 84,
1138
+ 17: 85,
1139
+ 18: [1, 124],
1140
+ 39: [2, 9],
1141
+ 60: p,
1142
+ 86: C,
1143
+ 100: w,
1144
+ 102: T,
1145
+ 103: E
1146
+ },
1147
+ { 39: [2, 10] },
1148
+ e(re, [2, 48], {
1149
+ 11: 126,
1150
+ 12: [1, 127]
1151
+ }),
1152
+ e(D, [2, 7]),
1153
+ { 9: [1, 128] },
1154
+ e(Z, [2, 60]),
1155
+ {
1156
+ 16: 39,
1157
+ 17: 40,
1158
+ 19: 129,
1159
+ 60: p,
1160
+ 86: C,
1161
+ 100: w,
1162
+ 102: T,
1163
+ 103: E
1164
+ },
1165
+ {
1166
+ 13: [1, 131],
1167
+ 16: 39,
1168
+ 17: 40,
1169
+ 19: 130,
1170
+ 60: p,
1171
+ 86: C,
1172
+ 100: w,
1173
+ 102: T,
1174
+ 103: E
1175
+ },
1176
+ e(z, [2, 75], {
1177
+ 66: 132,
1178
+ 68: k,
1179
+ 69: A,
1180
+ 70: j,
1181
+ 71: M,
1182
+ 72: N
1183
+ }),
1184
+ e(z, [2, 74]),
1185
+ { 41: [1, 133] },
1186
+ {
1187
+ 24: 96,
1188
+ 30: 97,
1189
+ 40: 134,
1190
+ 43: 23,
1191
+ 46: o,
1192
+ 54: u,
1193
+ 56: d
1194
+ },
1195
+ {
1196
+ 8: [1, 135],
1197
+ 41: [2, 37]
1198
+ },
1199
+ {
1200
+ 8: [1, 136],
1201
+ 41: [2, 40]
1202
+ },
1203
+ e(I, [2, 44], { 39: [1, 137] }),
1204
+ { 41: [1, 138] },
1205
+ e(I, [2, 46]),
1206
+ {
1207
+ 41: [2, 54],
1208
+ 45: 139,
1209
+ 51: V
1210
+ },
1211
+ {
1212
+ 16: 39,
1213
+ 17: 40,
1214
+ 19: 140,
1215
+ 60: p,
1216
+ 86: C,
1217
+ 100: w,
1218
+ 102: T,
1219
+ 103: E
1220
+ },
1221
+ e(O, [2, 84], { 13: [1, 141] }),
1222
+ e(O, [2, 86], {
1223
+ 13: [1, 143],
1224
+ 77: [1, 142]
1225
+ }),
1226
+ e(O, [2, 90], {
1227
+ 13: [1, 144],
1228
+ 80: [1, 145]
1229
+ }),
1230
+ { 13: [1, 146] },
1231
+ e(O, [2, 98], { 61: ie }),
1232
+ e(ae, [2, 100], {
1233
+ 85: 148,
1234
+ 22: H,
1235
+ 48: U,
1236
+ 60: W,
1237
+ 82: G,
1238
+ 86: K,
1239
+ 87: q,
1240
+ 88: J,
1241
+ 89: Y,
1242
+ 90: X
1243
+ }),
1244
+ e(Q, [2, 102]),
1245
+ e(Q, [2, 104]),
1246
+ e(Q, [2, 105]),
1247
+ e(Q, [2, 106]),
1248
+ e(Q, [2, 107]),
1249
+ e(Q, [2, 108]),
1250
+ e(Q, [2, 109]),
1251
+ e(Q, [2, 110]),
1252
+ e(Q, [2, 111]),
1253
+ e(Q, [2, 112]),
1254
+ e(O, [2, 99]),
1255
+ e(I, [2, 64]),
1256
+ e(O, [2, 66], { 61: ie }),
1257
+ { 60: [1, 149] },
1258
+ e(L, [2, 14]),
1259
+ {
1260
+ 15: 150,
1261
+ 16: 84,
1262
+ 17: 85,
1263
+ 60: p,
1264
+ 86: C,
1265
+ 100: w,
1266
+ 102: T,
1267
+ 103: E
1268
+ },
1269
+ { 39: [2, 12] },
1270
+ e(re, [2, 49]),
1271
+ { 13: [1, 151] },
1272
+ { 1: [2, 4] },
1273
+ e(Z, [2, 62]),
1274
+ e(Z, [2, 61]),
1275
+ {
1276
+ 16: 39,
1277
+ 17: 40,
1278
+ 19: 152,
1279
+ 60: p,
1280
+ 86: C,
1281
+ 100: w,
1282
+ 102: T,
1283
+ 103: E
1284
+ },
1285
+ e(z, [2, 73]),
1286
+ e(O, [2, 34]),
1287
+ { 41: [1, 153] },
1288
+ {
1289
+ 24: 96,
1290
+ 30: 97,
1291
+ 40: 154,
1292
+ 41: [2, 38],
1293
+ 43: 23,
1294
+ 46: o,
1295
+ 54: u,
1296
+ 56: d
1297
+ },
1298
+ {
1299
+ 24: 96,
1300
+ 30: 97,
1301
+ 40: 155,
1302
+ 41: [2, 41],
1303
+ 43: 23,
1304
+ 46: o,
1305
+ 54: u,
1306
+ 56: d
1307
+ },
1308
+ {
1309
+ 45: 156,
1310
+ 51: V
1311
+ },
1312
+ e(I, [2, 45]),
1313
+ { 41: [2, 55] },
1314
+ e(O, [2, 53]),
1315
+ e(O, [2, 85]),
1316
+ e(O, [2, 87]),
1317
+ e(O, [2, 88], { 77: [1, 157] }),
1318
+ e(O, [2, 91]),
1319
+ e(O, [2, 92], { 13: [1, 158] }),
1320
+ e(O, [2, 94], {
1321
+ 13: [1, 160],
1322
+ 77: [1, 159]
1323
+ }),
1324
+ {
1325
+ 22: H,
1326
+ 48: U,
1327
+ 60: W,
1328
+ 82: G,
1329
+ 84: 161,
1330
+ 85: 109,
1331
+ 86: K,
1332
+ 87: q,
1333
+ 88: J,
1334
+ 89: Y,
1335
+ 90: X
1336
+ },
1337
+ e(Q, [2, 103]),
1338
+ e(ne, [2, 68]),
1339
+ { 39: [2, 11] },
1340
+ { 14: [1, 162] },
1341
+ e(Z, [2, 63]),
1342
+ e(O, [2, 35]),
1343
+ { 41: [2, 39] },
1344
+ { 41: [2, 42] },
1345
+ { 41: [1, 163] },
1346
+ e(O, [2, 89]),
1347
+ e(O, [2, 93]),
1348
+ e(O, [2, 95]),
1349
+ e(O, [2, 96], { 77: [1, 164] }),
1350
+ e(ae, [2, 101], {
1351
+ 85: 148,
1352
+ 22: H,
1353
+ 48: U,
1354
+ 60: W,
1355
+ 82: G,
1356
+ 86: K,
1357
+ 87: q,
1358
+ 88: J,
1359
+ 89: Y,
1360
+ 90: X
1361
+ }),
1362
+ e(re, [2, 8]),
1363
+ e(I, [2, 47]),
1364
+ e(O, [2, 97])
1365
+ ],
1366
+ defaultActions: {
1367
+ 2: [2, 1],
1368
+ 3: [2, 2],
1369
+ 4: [2, 3],
1370
+ 83: [2, 36],
1371
+ 85: [2, 10],
1372
+ 125: [2, 12],
1373
+ 128: [2, 4],
1374
+ 139: [2, 55],
1375
+ 150: [2, 11],
1376
+ 154: [2, 39],
1377
+ 155: [2, 42]
1378
+ },
1379
+ parseError: /* @__PURE__ */ r(function(e, t) {
1380
+ if (t.recoverable) this.trace(e);
1381
+ else {
1382
+ var n = Error(e);
1383
+ throw n.hash = t, n;
1384
+ }
1385
+ }, "parseError"),
1386
+ parse: /* @__PURE__ */ r(function(e) {
1387
+ var t = this, n = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1388
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1389
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1390
+ var v = h.yylloc;
1391
+ o.push(v);
1392
+ var y = h.options && h.options.ranges;
1393
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1394
+ function b(e) {
1395
+ n.length -= 2 * e, a.length -= e, o.length -= e;
1396
+ }
1397
+ r(b, "popStack");
1398
+ function x() {
1399
+ var e = i.pop() || h.lex() || p;
1400
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
1401
+ }
1402
+ r(x, "lex");
1403
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1404
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1405
+ var M = "";
1406
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1407
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1408
+ text: h.match,
1409
+ token: this.terminals_[S] || S,
1410
+ line: h.yylineno,
1411
+ loc: v,
1412
+ expected: j
1413
+ });
1414
+ }
1415
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1416
+ switch (T[0]) {
1417
+ case 1:
1418
+ n.push(S), a.push(h.yytext), o.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1419
+ break;
1420
+ case 2:
1421
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1422
+ first_line: o[o.length - (k || 1)].first_line,
1423
+ last_line: o[o.length - 1].last_line,
1424
+ first_column: o[o.length - (k || 1)].first_column,
1425
+ last_column: o[o.length - 1].last_column
1426
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1427
+ c,
1428
+ u,
1429
+ l,
1430
+ g.yy,
1431
+ T[1],
1432
+ a,
1433
+ o
1434
+ ].concat(m)), E !== void 0) return E;
1435
+ k && (n = n.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[n[n.length - 2]][n[n.length - 1]], n.push(A);
1436
+ break;
1437
+ case 3: return !0;
1438
+ }
1439
+ }
1440
+ return !0;
1441
+ }, "parse")
1442
+ };
1443
+ oe.lexer = /* @__PURE__ */ (function() {
1444
+ return {
1445
+ EOF: 1,
1446
+ parseError: /* @__PURE__ */ r(function(e, t) {
1447
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1448
+ else throw Error(e);
1449
+ }, "parseError"),
1450
+ setInput: /* @__PURE__ */ r(function(e, t) {
1451
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1452
+ first_line: 1,
1453
+ first_column: 0,
1454
+ last_line: 1,
1455
+ last_column: 0
1456
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1457
+ }, "setInput"),
1458
+ input: /* @__PURE__ */ r(function() {
1459
+ var e = this._input[0];
1460
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1461
+ }, "input"),
1462
+ unput: /* @__PURE__ */ r(function(e) {
1463
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1464
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1465
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1466
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
1467
+ var i = this.yylloc.range;
1468
+ return this.yylloc = {
1469
+ first_line: this.yylloc.first_line,
1470
+ last_line: this.yylineno + 1,
1471
+ first_column: this.yylloc.first_column,
1472
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1473
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1474
+ }, "unput"),
1475
+ more: /* @__PURE__ */ r(function() {
1476
+ return this._more = !0, this;
1477
+ }, "more"),
1478
+ reject: /* @__PURE__ */ r(function() {
1479
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1480
+ else 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(), {
1481
+ text: "",
1482
+ token: null,
1483
+ line: this.yylineno
1484
+ });
1485
+ return this;
1486
+ }, "reject"),
1487
+ less: /* @__PURE__ */ r(function(e) {
1488
+ this.unput(this.match.slice(e));
1489
+ }, "less"),
1490
+ pastInput: /* @__PURE__ */ r(function() {
1491
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1492
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1493
+ }, "pastInput"),
1494
+ upcomingInput: /* @__PURE__ */ r(function() {
1495
+ var e = this.match;
1496
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1497
+ }, "upcomingInput"),
1498
+ showPosition: /* @__PURE__ */ r(function() {
1499
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1500
+ return e + this.upcomingInput() + "\n" + t + "^";
1501
+ }, "showPosition"),
1502
+ test_match: /* @__PURE__ */ r(function(e, t) {
1503
+ var n, r, i;
1504
+ if (this.options.backtrack_lexer && (i = {
1505
+ yylineno: this.yylineno,
1506
+ yylloc: {
1507
+ first_line: this.yylloc.first_line,
1508
+ last_line: this.last_line,
1509
+ first_column: this.yylloc.first_column,
1510
+ last_column: this.yylloc.last_column
1511
+ },
1512
+ yytext: this.yytext,
1513
+ match: this.match,
1514
+ matches: this.matches,
1515
+ matched: this.matched,
1516
+ yyleng: this.yyleng,
1517
+ offset: this.offset,
1518
+ _more: this._more,
1519
+ _input: this._input,
1520
+ yy: this.yy,
1521
+ conditionStack: this.conditionStack.slice(0),
1522
+ done: this.done
1523
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1524
+ first_line: this.yylloc.last_line,
1525
+ last_line: this.yylineno + 1,
1526
+ first_column: this.yylloc.last_column,
1527
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1528
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1529
+ if (this._backtrack) {
1530
+ for (var a in i) this[a] = i[a];
1531
+ return !1;
1532
+ }
1533
+ return !1;
1534
+ }, "test_match"),
1535
+ next: /* @__PURE__ */ r(function() {
1536
+ if (this.done) return this.EOF;
1537
+ this._input || (this.done = !0);
1538
+ var e, t, n, r;
1539
+ this._more || (this.yytext = "", this.match = "");
1540
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1541
+ if (t = n, r = a, this.options.backtrack_lexer) {
1542
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1543
+ if (this._backtrack) {
1544
+ t = !1;
1545
+ continue;
1546
+ } else return !1;
1547
+ } else if (!this.options.flex) break;
1548
+ }
1549
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1550
+ text: "",
1551
+ token: null,
1552
+ line: this.yylineno
1553
+ });
1554
+ }, "next"),
1555
+ lex: /* @__PURE__ */ r(function() {
1556
+ return this.next() || this.lex();
1557
+ }, "lex"),
1558
+ begin: /* @__PURE__ */ r(function(e) {
1559
+ this.conditionStack.push(e);
1560
+ }, "begin"),
1561
+ popState: /* @__PURE__ */ r(function() {
1562
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1563
+ }, "popState"),
1564
+ _currentRules: /* @__PURE__ */ r(function() {
1565
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1566
+ }, "_currentRules"),
1567
+ topState: /* @__PURE__ */ r(function(e) {
1568
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1569
+ }, "topState"),
1570
+ pushState: /* @__PURE__ */ r(function(e) {
1571
+ this.begin(e);
1572
+ }, "pushState"),
1573
+ stateStackSize: /* @__PURE__ */ r(function() {
1574
+ return this.conditionStack.length;
1575
+ }, "stateStackSize"),
1576
+ options: {},
1577
+ performAction: /* @__PURE__ */ r(function(e, t, n, r) {
1578
+ switch (n) {
1579
+ case 0: return 62;
1580
+ case 1: return 63;
1581
+ case 2: return 64;
1582
+ case 3: return 65;
1583
+ case 4: break;
1584
+ case 5: break;
1585
+ case 6: return this.begin("acc_title"), 33;
1586
+ case 7: return this.popState(), "acc_title_value";
1587
+ case 8: return this.begin("acc_descr"), 35;
1588
+ case 9: return this.popState(), "acc_descr_value";
1589
+ case 10:
1590
+ this.begin("acc_descr_multiline");
1591
+ break;
1592
+ case 11:
1593
+ this.popState();
1594
+ break;
1595
+ case 12: return "acc_descr_multiline_value";
1596
+ case 13: return 8;
1597
+ case 14: break;
1598
+ case 15: return 7;
1599
+ case 16: return 7;
1600
+ case 17: return "EDGE_STATE";
1601
+ case 18:
1602
+ this.begin("callback_name");
1603
+ break;
1604
+ case 19:
1605
+ this.popState();
1606
+ break;
1607
+ case 20:
1608
+ this.popState(), this.begin("callback_args");
1609
+ break;
1610
+ case 21: return 79;
1611
+ case 22:
1612
+ this.popState();
1613
+ break;
1614
+ case 23: return 80;
1615
+ case 24:
1616
+ this.popState();
1617
+ break;
1618
+ case 25: return "STR";
1619
+ case 26:
1620
+ this.begin("string");
1621
+ break;
1622
+ case 27: return 82;
1623
+ case 28: return 57;
1624
+ case 29: return this.begin("namespace"), 42;
1625
+ case 30: return this.popState(), 8;
1626
+ case 31: break;
1627
+ case 32: return this.begin("namespace-body"), 39;
1628
+ case 33: return this.popState(), 41;
1629
+ case 34: return "EOF_IN_STRUCT";
1630
+ case 35: return 8;
1631
+ case 36: break;
1632
+ case 37: return "EDGE_STATE";
1633
+ case 38: return this.begin("class"), 46;
1634
+ case 39: return this.popState(), 8;
1635
+ case 40: break;
1636
+ case 41: return this.popState(), this.popState(), 41;
1637
+ case 42: return this.begin("class-body"), 39;
1638
+ case 43: return this.popState(), 41;
1639
+ case 44: return "EOF_IN_STRUCT";
1640
+ case 45: return "EDGE_STATE";
1641
+ case 46: return "OPEN_IN_STRUCT";
1642
+ case 47: break;
1643
+ case 48: return "MEMBER";
1644
+ case 49: return 83;
1645
+ case 50: return 75;
1646
+ case 51: return 76;
1647
+ case 52: return 78;
1648
+ case 53: return 54;
1649
+ case 54: return 56;
1650
+ case 55: return 49;
1651
+ case 56: return 50;
1652
+ case 57: return 81;
1653
+ case 58:
1654
+ this.popState();
1655
+ break;
1656
+ case 59: return "GENERICTYPE";
1657
+ case 60:
1658
+ this.begin("generic");
1659
+ break;
1660
+ case 61:
1661
+ this.popState();
1662
+ break;
1663
+ case 62: return "BQUOTE_STR";
1664
+ case 63:
1665
+ this.begin("bqstring");
1666
+ break;
1667
+ case 64: return 77;
1668
+ case 65: return 77;
1669
+ case 66: return 77;
1670
+ case 67: return 77;
1671
+ case 68: return 69;
1672
+ case 69: return 69;
1673
+ case 70: return 71;
1674
+ case 71: return 71;
1675
+ case 72: return 70;
1676
+ case 73: return 68;
1677
+ case 74: return 72;
1678
+ case 75: return 73;
1679
+ case 76: return 74;
1680
+ case 77: return 22;
1681
+ case 78: return 44;
1682
+ case 79: return 100;
1683
+ case 80: return 18;
1684
+ case 81: return "PLUS";
1685
+ case 82: return 87;
1686
+ case 83: return 61;
1687
+ case 84: return 89;
1688
+ case 85: return 89;
1689
+ case 86: return 90;
1690
+ case 87: return "EQUALS";
1691
+ case 88: return "EQUALS";
1692
+ case 89: return 60;
1693
+ case 90: return 12;
1694
+ case 91: return 14;
1695
+ case 92: return "PUNCTUATION";
1696
+ case 93: return 86;
1697
+ case 94: return 102;
1698
+ case 95: return 48;
1699
+ case 96: return 48;
1700
+ case 97: return 9;
1701
+ }
1702
+ }, "anonymous"),
1703
+ rules: [
1704
+ /^(?:.*direction\s+TB[^\n]*)/,
1705
+ /^(?:.*direction\s+BT[^\n]*)/,
1706
+ /^(?:.*direction\s+RL[^\n]*)/,
1707
+ /^(?:.*direction\s+LR[^\n]*)/,
1708
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1709
+ /^(?:%%[^\n]*(\r?\n)*)/,
1710
+ /^(?:accTitle\s*:\s*)/,
1711
+ /^(?:(?!\n||)*[^\n]*)/,
1712
+ /^(?:accDescr\s*:\s*)/,
1713
+ /^(?:(?!\n||)*[^\n]*)/,
1714
+ /^(?:accDescr\s*\{\s*)/,
1715
+ /^(?:[\}])/,
1716
+ /^(?:[^\}]*)/,
1717
+ /^(?:\s*(\r?\n)+)/,
1718
+ /^(?:\s+)/,
1719
+ /^(?:classDiagram-v2\b)/,
1720
+ /^(?:classDiagram\b)/,
1721
+ /^(?:\[\*\])/,
1722
+ /^(?:call[\s]+)/,
1723
+ /^(?:\([\s]*\))/,
1724
+ /^(?:\()/,
1725
+ /^(?:[^(]*)/,
1726
+ /^(?:\))/,
1727
+ /^(?:[^)]*)/,
1728
+ /^(?:["])/,
1729
+ /^(?:[^"]*)/,
1730
+ /^(?:["])/,
1731
+ /^(?:style\b)/,
1732
+ /^(?:classDef\b)/,
1733
+ /^(?:namespace\b)/,
1734
+ /^(?:\s*(\r?\n)+)/,
1735
+ /^(?:\s+)/,
1736
+ /^(?:[{])/,
1737
+ /^(?:[}])/,
1738
+ /^(?:$)/,
1739
+ /^(?:\s*(\r?\n)+)/,
1740
+ /^(?:\s+)/,
1741
+ /^(?:\[\*\])/,
1742
+ /^(?:class\b)/,
1743
+ /^(?:\s*(\r?\n)+)/,
1744
+ /^(?:\s+)/,
1745
+ /^(?:[}])/,
1746
+ /^(?:[{])/,
1747
+ /^(?:[}])/,
1748
+ /^(?:$)/,
1749
+ /^(?:\[\*\])/,
1750
+ /^(?:[{])/,
1751
+ /^(?:[\n])/,
1752
+ /^(?:[^{}\n]*)/,
1753
+ /^(?:cssClass\b)/,
1754
+ /^(?:callback\b)/,
1755
+ /^(?:link\b)/,
1756
+ /^(?:click\b)/,
1757
+ /^(?:note for\b)/,
1758
+ /^(?:note\b)/,
1759
+ /^(?:<<)/,
1760
+ /^(?:>>)/,
1761
+ /^(?:href\b)/,
1762
+ /^(?:[~])/,
1763
+ /^(?:[^~]*)/,
1764
+ /^(?:~)/,
1765
+ /^(?:[`])/,
1766
+ /^(?:[^`]+)/,
1767
+ /^(?:[`])/,
1768
+ /^(?:_self\b)/,
1769
+ /^(?:_blank\b)/,
1770
+ /^(?:_parent\b)/,
1771
+ /^(?:_top\b)/,
1772
+ /^(?:\s*<\|)/,
1773
+ /^(?:\s*\|>)/,
1774
+ /^(?:\s*>)/,
1775
+ /^(?:\s*<)/,
1776
+ /^(?:\s*\*)/,
1777
+ /^(?:\s*o\b)/,
1778
+ /^(?:\s*\(\))/,
1779
+ /^(?:--)/,
1780
+ /^(?:\.\.)/,
1781
+ /^(?::{1}[^:\n;]+)/,
1782
+ /^(?::{3})/,
1783
+ /^(?:-)/,
1784
+ /^(?:\.)/,
1785
+ /^(?:\+)/,
1786
+ /^(?::)/,
1787
+ /^(?:,)/,
1788
+ /^(?:#)/,
1789
+ /^(?:#)/,
1790
+ /^(?:%)/,
1791
+ /^(?:=)/,
1792
+ /^(?:=)/,
1793
+ /^(?:\w+)/,
1794
+ /^(?:\[)/,
1795
+ /^(?:\])/,
1796
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1797
+ /^(?:[0-9]+)/,
1798
+ /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,
1799
+ /^(?:\s)/,
1800
+ /^(?:\s)/,
1801
+ /^(?:$)/
1802
+ ],
1803
+ conditions: {
1804
+ "namespace-body": {
1805
+ rules: [
1806
+ 26,
1807
+ 33,
1808
+ 34,
1809
+ 35,
1810
+ 36,
1811
+ 37,
1812
+ 38,
1813
+ 49,
1814
+ 50,
1815
+ 51,
1816
+ 52,
1817
+ 53,
1818
+ 54,
1819
+ 55,
1820
+ 56,
1821
+ 57,
1822
+ 60,
1823
+ 63,
1824
+ 64,
1825
+ 65,
1826
+ 66,
1827
+ 67,
1828
+ 68,
1829
+ 69,
1830
+ 70,
1831
+ 71,
1832
+ 72,
1833
+ 73,
1834
+ 74,
1835
+ 75,
1836
+ 76,
1837
+ 77,
1838
+ 78,
1839
+ 79,
1840
+ 80,
1841
+ 81,
1842
+ 86,
1843
+ 87,
1844
+ 88,
1845
+ 89,
1846
+ 90,
1847
+ 91,
1848
+ 92,
1849
+ 93,
1850
+ 94,
1851
+ 95,
1852
+ 97
1853
+ ],
1854
+ inclusive: !1
1855
+ },
1856
+ namespace: {
1857
+ rules: [
1858
+ 26,
1859
+ 29,
1860
+ 30,
1861
+ 31,
1862
+ 32,
1863
+ 49,
1864
+ 50,
1865
+ 51,
1866
+ 52,
1867
+ 53,
1868
+ 54,
1869
+ 55,
1870
+ 56,
1871
+ 57,
1872
+ 60,
1873
+ 63,
1874
+ 64,
1875
+ 65,
1876
+ 66,
1877
+ 67,
1878
+ 68,
1879
+ 69,
1880
+ 70,
1881
+ 71,
1882
+ 72,
1883
+ 73,
1884
+ 74,
1885
+ 75,
1886
+ 76,
1887
+ 77,
1888
+ 78,
1889
+ 79,
1890
+ 80,
1891
+ 81,
1892
+ 86,
1893
+ 87,
1894
+ 88,
1895
+ 89,
1896
+ 90,
1897
+ 91,
1898
+ 92,
1899
+ 93,
1900
+ 94,
1901
+ 95,
1902
+ 97
1903
+ ],
1904
+ inclusive: !1
1905
+ },
1906
+ "class-body": {
1907
+ rules: [
1908
+ 26,
1909
+ 43,
1910
+ 44,
1911
+ 45,
1912
+ 46,
1913
+ 47,
1914
+ 48,
1915
+ 49,
1916
+ 50,
1917
+ 51,
1918
+ 52,
1919
+ 53,
1920
+ 54,
1921
+ 55,
1922
+ 56,
1923
+ 57,
1924
+ 60,
1925
+ 63,
1926
+ 64,
1927
+ 65,
1928
+ 66,
1929
+ 67,
1930
+ 68,
1931
+ 69,
1932
+ 70,
1933
+ 71,
1934
+ 72,
1935
+ 73,
1936
+ 74,
1937
+ 75,
1938
+ 76,
1939
+ 77,
1940
+ 78,
1941
+ 79,
1942
+ 80,
1943
+ 81,
1944
+ 86,
1945
+ 87,
1946
+ 88,
1947
+ 89,
1948
+ 90,
1949
+ 91,
1950
+ 92,
1951
+ 93,
1952
+ 94,
1953
+ 95,
1954
+ 97
1955
+ ],
1956
+ inclusive: !1
1957
+ },
1958
+ class: {
1959
+ rules: [
1960
+ 26,
1961
+ 39,
1962
+ 40,
1963
+ 41,
1964
+ 42,
1965
+ 49,
1966
+ 50,
1967
+ 51,
1968
+ 52,
1969
+ 53,
1970
+ 54,
1971
+ 55,
1972
+ 56,
1973
+ 57,
1974
+ 60,
1975
+ 63,
1976
+ 64,
1977
+ 65,
1978
+ 66,
1979
+ 67,
1980
+ 68,
1981
+ 69,
1982
+ 70,
1983
+ 71,
1984
+ 72,
1985
+ 73,
1986
+ 74,
1987
+ 75,
1988
+ 76,
1989
+ 77,
1990
+ 78,
1991
+ 79,
1992
+ 80,
1993
+ 81,
1994
+ 86,
1995
+ 87,
1996
+ 88,
1997
+ 89,
1998
+ 90,
1999
+ 91,
2000
+ 92,
2001
+ 93,
2002
+ 94,
2003
+ 95,
2004
+ 97
2005
+ ],
2006
+ inclusive: !1
2007
+ },
2008
+ acc_descr_multiline: {
2009
+ rules: [
2010
+ 11,
2011
+ 12,
2012
+ 26,
2013
+ 49,
2014
+ 50,
2015
+ 51,
2016
+ 52,
2017
+ 53,
2018
+ 54,
2019
+ 55,
2020
+ 56,
2021
+ 57,
2022
+ 60,
2023
+ 63,
2024
+ 64,
2025
+ 65,
2026
+ 66,
2027
+ 67,
2028
+ 68,
2029
+ 69,
2030
+ 70,
2031
+ 71,
2032
+ 72,
2033
+ 73,
2034
+ 74,
2035
+ 75,
2036
+ 76,
2037
+ 77,
2038
+ 78,
2039
+ 79,
2040
+ 80,
2041
+ 81,
2042
+ 86,
2043
+ 87,
2044
+ 88,
2045
+ 89,
2046
+ 90,
2047
+ 91,
2048
+ 92,
2049
+ 93,
2050
+ 94,
2051
+ 95,
2052
+ 97
2053
+ ],
2054
+ inclusive: !1
2055
+ },
2056
+ acc_descr: {
2057
+ rules: [
2058
+ 9,
2059
+ 26,
2060
+ 49,
2061
+ 50,
2062
+ 51,
2063
+ 52,
2064
+ 53,
2065
+ 54,
2066
+ 55,
2067
+ 56,
2068
+ 57,
2069
+ 60,
2070
+ 63,
2071
+ 64,
2072
+ 65,
2073
+ 66,
2074
+ 67,
2075
+ 68,
2076
+ 69,
2077
+ 70,
2078
+ 71,
2079
+ 72,
2080
+ 73,
2081
+ 74,
2082
+ 75,
2083
+ 76,
2084
+ 77,
2085
+ 78,
2086
+ 79,
2087
+ 80,
2088
+ 81,
2089
+ 86,
2090
+ 87,
2091
+ 88,
2092
+ 89,
2093
+ 90,
2094
+ 91,
2095
+ 92,
2096
+ 93,
2097
+ 94,
2098
+ 95,
2099
+ 97
2100
+ ],
2101
+ inclusive: !1
2102
+ },
2103
+ acc_title: {
2104
+ rules: [
2105
+ 7,
2106
+ 26,
2107
+ 49,
2108
+ 50,
2109
+ 51,
2110
+ 52,
2111
+ 53,
2112
+ 54,
2113
+ 55,
2114
+ 56,
2115
+ 57,
2116
+ 60,
2117
+ 63,
2118
+ 64,
2119
+ 65,
2120
+ 66,
2121
+ 67,
2122
+ 68,
2123
+ 69,
2124
+ 70,
2125
+ 71,
2126
+ 72,
2127
+ 73,
2128
+ 74,
2129
+ 75,
2130
+ 76,
2131
+ 77,
2132
+ 78,
2133
+ 79,
2134
+ 80,
2135
+ 81,
2136
+ 86,
2137
+ 87,
2138
+ 88,
2139
+ 89,
2140
+ 90,
2141
+ 91,
2142
+ 92,
2143
+ 93,
2144
+ 94,
2145
+ 95,
2146
+ 97
2147
+ ],
2148
+ inclusive: !1
2149
+ },
2150
+ callback_args: {
2151
+ rules: [
2152
+ 22,
2153
+ 23,
2154
+ 26,
2155
+ 49,
2156
+ 50,
2157
+ 51,
2158
+ 52,
2159
+ 53,
2160
+ 54,
2161
+ 55,
2162
+ 56,
2163
+ 57,
2164
+ 60,
2165
+ 63,
2166
+ 64,
2167
+ 65,
2168
+ 66,
2169
+ 67,
2170
+ 68,
2171
+ 69,
2172
+ 70,
2173
+ 71,
2174
+ 72,
2175
+ 73,
2176
+ 74,
2177
+ 75,
2178
+ 76,
2179
+ 77,
2180
+ 78,
2181
+ 79,
2182
+ 80,
2183
+ 81,
2184
+ 86,
2185
+ 87,
2186
+ 88,
2187
+ 89,
2188
+ 90,
2189
+ 91,
2190
+ 92,
2191
+ 93,
2192
+ 94,
2193
+ 95,
2194
+ 97
2195
+ ],
2196
+ inclusive: !1
2197
+ },
2198
+ callback_name: {
2199
+ rules: [
2200
+ 19,
2201
+ 20,
2202
+ 21,
2203
+ 26,
2204
+ 49,
2205
+ 50,
2206
+ 51,
2207
+ 52,
2208
+ 53,
2209
+ 54,
2210
+ 55,
2211
+ 56,
2212
+ 57,
2213
+ 60,
2214
+ 63,
2215
+ 64,
2216
+ 65,
2217
+ 66,
2218
+ 67,
2219
+ 68,
2220
+ 69,
2221
+ 70,
2222
+ 71,
2223
+ 72,
2224
+ 73,
2225
+ 74,
2226
+ 75,
2227
+ 76,
2228
+ 77,
2229
+ 78,
2230
+ 79,
2231
+ 80,
2232
+ 81,
2233
+ 86,
2234
+ 87,
2235
+ 88,
2236
+ 89,
2237
+ 90,
2238
+ 91,
2239
+ 92,
2240
+ 93,
2241
+ 94,
2242
+ 95,
2243
+ 97
2244
+ ],
2245
+ inclusive: !1
2246
+ },
2247
+ href: {
2248
+ rules: [
2249
+ 26,
2250
+ 49,
2251
+ 50,
2252
+ 51,
2253
+ 52,
2254
+ 53,
2255
+ 54,
2256
+ 55,
2257
+ 56,
2258
+ 57,
2259
+ 60,
2260
+ 63,
2261
+ 64,
2262
+ 65,
2263
+ 66,
2264
+ 67,
2265
+ 68,
2266
+ 69,
2267
+ 70,
2268
+ 71,
2269
+ 72,
2270
+ 73,
2271
+ 74,
2272
+ 75,
2273
+ 76,
2274
+ 77,
2275
+ 78,
2276
+ 79,
2277
+ 80,
2278
+ 81,
2279
+ 86,
2280
+ 87,
2281
+ 88,
2282
+ 89,
2283
+ 90,
2284
+ 91,
2285
+ 92,
2286
+ 93,
2287
+ 94,
2288
+ 95,
2289
+ 97
2290
+ ],
2291
+ inclusive: !1
2292
+ },
2293
+ struct: {
2294
+ rules: [
2295
+ 26,
2296
+ 49,
2297
+ 50,
2298
+ 51,
2299
+ 52,
2300
+ 53,
2301
+ 54,
2302
+ 55,
2303
+ 56,
2304
+ 57,
2305
+ 60,
2306
+ 63,
2307
+ 64,
2308
+ 65,
2309
+ 66,
2310
+ 67,
2311
+ 68,
2312
+ 69,
2313
+ 70,
2314
+ 71,
2315
+ 72,
2316
+ 73,
2317
+ 74,
2318
+ 75,
2319
+ 76,
2320
+ 77,
2321
+ 78,
2322
+ 79,
2323
+ 80,
2324
+ 81,
2325
+ 86,
2326
+ 87,
2327
+ 88,
2328
+ 89,
2329
+ 90,
2330
+ 91,
2331
+ 92,
2332
+ 93,
2333
+ 94,
2334
+ 95,
2335
+ 97
2336
+ ],
2337
+ inclusive: !1
2338
+ },
2339
+ generic: {
2340
+ rules: [
2341
+ 26,
2342
+ 49,
2343
+ 50,
2344
+ 51,
2345
+ 52,
2346
+ 53,
2347
+ 54,
2348
+ 55,
2349
+ 56,
2350
+ 57,
2351
+ 58,
2352
+ 59,
2353
+ 60,
2354
+ 63,
2355
+ 64,
2356
+ 65,
2357
+ 66,
2358
+ 67,
2359
+ 68,
2360
+ 69,
2361
+ 70,
2362
+ 71,
2363
+ 72,
2364
+ 73,
2365
+ 74,
2366
+ 75,
2367
+ 76,
2368
+ 77,
2369
+ 78,
2370
+ 79,
2371
+ 80,
2372
+ 81,
2373
+ 86,
2374
+ 87,
2375
+ 88,
2376
+ 89,
2377
+ 90,
2378
+ 91,
2379
+ 92,
2380
+ 93,
2381
+ 94,
2382
+ 95,
2383
+ 97
2384
+ ],
2385
+ inclusive: !1
2386
+ },
2387
+ bqstring: {
2388
+ rules: [
2389
+ 26,
2390
+ 49,
2391
+ 50,
2392
+ 51,
2393
+ 52,
2394
+ 53,
2395
+ 54,
2396
+ 55,
2397
+ 56,
2398
+ 57,
2399
+ 60,
2400
+ 61,
2401
+ 62,
2402
+ 63,
2403
+ 64,
2404
+ 65,
2405
+ 66,
2406
+ 67,
2407
+ 68,
2408
+ 69,
2409
+ 70,
2410
+ 71,
2411
+ 72,
2412
+ 73,
2413
+ 74,
2414
+ 75,
2415
+ 76,
2416
+ 77,
2417
+ 78,
2418
+ 79,
2419
+ 80,
2420
+ 81,
2421
+ 86,
2422
+ 87,
2423
+ 88,
2424
+ 89,
2425
+ 90,
2426
+ 91,
2427
+ 92,
2428
+ 93,
2429
+ 94,
2430
+ 95,
2431
+ 97
2432
+ ],
2433
+ inclusive: !1
2434
+ },
2435
+ string: {
2436
+ rules: [
2437
+ 24,
2438
+ 25,
2439
+ 26,
2440
+ 49,
2441
+ 50,
2442
+ 51,
2443
+ 52,
2444
+ 53,
2445
+ 54,
2446
+ 55,
2447
+ 56,
2448
+ 57,
2449
+ 60,
2450
+ 63,
2451
+ 64,
2452
+ 65,
2453
+ 66,
2454
+ 67,
2455
+ 68,
2456
+ 69,
2457
+ 70,
2458
+ 71,
2459
+ 72,
2460
+ 73,
2461
+ 74,
2462
+ 75,
2463
+ 76,
2464
+ 77,
2465
+ 78,
2466
+ 79,
2467
+ 80,
2468
+ 81,
2469
+ 86,
2470
+ 87,
2471
+ 88,
2472
+ 89,
2473
+ 90,
2474
+ 91,
2475
+ 92,
2476
+ 93,
2477
+ 94,
2478
+ 95,
2479
+ 97
2480
+ ],
2481
+ inclusive: !1
2482
+ },
2483
+ INITIAL: {
2484
+ rules: [
2485
+ 0,
2486
+ 1,
2487
+ 2,
2488
+ 3,
2489
+ 4,
2490
+ 5,
2491
+ 6,
2492
+ 8,
2493
+ 10,
2494
+ 13,
2495
+ 14,
2496
+ 15,
2497
+ 16,
2498
+ 17,
2499
+ 18,
2500
+ 26,
2501
+ 27,
2502
+ 28,
2503
+ 29,
2504
+ 38,
2505
+ 49,
2506
+ 50,
2507
+ 51,
2508
+ 52,
2509
+ 53,
2510
+ 54,
2511
+ 55,
2512
+ 56,
2513
+ 57,
2514
+ 60,
2515
+ 63,
2516
+ 64,
2517
+ 65,
2518
+ 66,
2519
+ 67,
2520
+ 68,
2521
+ 69,
2522
+ 70,
2523
+ 71,
2524
+ 72,
2525
+ 73,
2526
+ 74,
2527
+ 75,
2528
+ 76,
2529
+ 77,
2530
+ 78,
2531
+ 79,
2532
+ 80,
2533
+ 81,
2534
+ 82,
2535
+ 83,
2536
+ 84,
2537
+ 85,
2538
+ 86,
2539
+ 87,
2540
+ 88,
2541
+ 89,
2542
+ 90,
2543
+ 91,
2544
+ 92,
2545
+ 93,
2546
+ 94,
2547
+ 95,
2548
+ 96,
2549
+ 97
2550
+ ],
2551
+ inclusive: !0
2552
+ }
2553
+ }
2554
+ };
2555
+ })();
2556
+ function $() {
2557
+ this.yy = {};
2558
+ }
2559
+ return r($, "Parser"), $.prototype = oe, oe.Parser = $, new $();
2560
+ })();
2561
+ C.parser = C;
2562
+ var w = C, T = [
2563
+ "#",
2564
+ "+",
2565
+ "~",
2566
+ "-",
2567
+ ""
2568
+ ], E = class {
2569
+ static {
2570
+ r(this, "ClassMember");
2571
+ }
2572
+ constructor(e, t) {
2573
+ this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
2574
+ let n = s(e, p());
2575
+ this.parseMember(n);
2576
+ }
2577
+ getDisplayDetails() {
2578
+ let e = this.visibility + m(this.id);
2579
+ this.memberType === "method" && (e += `(${m(this.parameters.trim())})`, this.returnType && (e += " : " + m(this.returnType))), e = e.trim();
2580
+ let t = this.parseClassifier();
2581
+ return {
2582
+ displayText: e,
2583
+ cssStyle: t
2584
+ };
2585
+ }
2586
+ parseMember(e) {
2587
+ let t = "";
2588
+ if (this.memberType === "method") {
2589
+ let n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
2590
+ if (n) {
2591
+ let e = n[1] ? n[1].trim() : "";
2592
+ if (T.includes(e) && (this.visibility = e), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", t = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", t === "") {
2593
+ let e = this.returnType.substring(this.returnType.length - 1);
2594
+ /[$*]/.exec(e) && (t = e, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2595
+ }
2596
+ }
2597
+ } else {
2598
+ let n = e.length, r = e.substring(0, 1), i = e.substring(n - 1);
2599
+ T.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
2600
+ }
2601
+ this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim(), this.text = `${this.visibility ? "\\" + this.visibility : ""}${m(this.id)}${this.memberType === "method" ? `(${m(this.parameters)})${this.returnType ? " : " + m(this.returnType) : ""}` : ""}`.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2602
+ }
2603
+ parseClassifier() {
2604
+ switch (this.classifier) {
2605
+ case "*": return "font-style:italic;";
2606
+ case "$": return "text-decoration:underline;";
2607
+ default: return "";
2608
+ }
2609
+ }
2610
+ }, D = "classId-", O = 0, k = /* @__PURE__ */ r((e) => h.sanitizeText(e, p()), "sanitizeText"), A = class {
2611
+ constructor() {
2612
+ 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.functions = [], this.lineType = {
2613
+ LINE: 0,
2614
+ DOTTED_LINE: 1
2615
+ }, this.relationType = {
2616
+ AGGREGATION: 0,
2617
+ EXTENSION: 1,
2618
+ COMPOSITION: 2,
2619
+ DEPENDENCY: 3,
2620
+ LOLLIPOP: 4
2621
+ }, this.setupToolTips = /* @__PURE__ */ r((e) => {
2622
+ let t = v();
2623
+ i(e).select("svg").selectAll("g").filter(function() {
2624
+ return i(this).attr("title") !== null;
2625
+ }).on("mouseover", (e) => {
2626
+ let n = i(e.currentTarget), r = n.attr("title");
2627
+ if (!r) return;
2628
+ let a = e.currentTarget.getBoundingClientRect();
2629
+ t.transition().duration(200).style("opacity", ".9"), t.html(u.sanitize(r)).style("left", `${window.scrollX + a.left + a.width / 2}px`).style("top", `${window.scrollY + a.bottom + 4}px`), n.classed("hover", !0);
2630
+ }).on("mouseout", (e) => {
2631
+ t.transition().duration(500).style("opacity", 0), i(e.currentTarget).classed("hover", !1);
2632
+ });
2633
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = c, this.getAccTitle = g, this.setAccDescription = a, this.getAccDescription = d, this.setDiagramTitle = l, this.getDiagramTitle = o, this.getConfig = /* @__PURE__ */ r(() => p().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);
2634
+ }
2635
+ static {
2636
+ r(this, "ClassDB");
2637
+ }
2638
+ splitClassNameAndType(e) {
2639
+ let t = h.sanitizeText(e, p()), n = "", r = t;
2640
+ if (t.indexOf("~") > 0) {
2641
+ let e = t.split("~");
2642
+ r = k(e[0]), n = k(e[1]);
2643
+ }
2644
+ return {
2645
+ className: r,
2646
+ type: n
2647
+ };
2648
+ }
2649
+ setClassLabel(e, t) {
2650
+ let n = h.sanitizeText(e, p());
2651
+ t &&= k(t);
2652
+ let { className: r } = this.splitClassNameAndType(n);
2653
+ this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2654
+ }
2655
+ addClass(e) {
2656
+ let t = h.sanitizeText(e, p()), { className: n, type: r } = this.splitClassNameAndType(t);
2657
+ if (this.classes.has(n)) return;
2658
+ let i = h.sanitizeText(n, p());
2659
+ this.classes.set(i, {
2660
+ id: i,
2661
+ type: r,
2662
+ label: i,
2663
+ text: `${i}${r ? `&lt;${r}&gt;` : ""}`,
2664
+ shape: "classBox",
2665
+ cssClasses: "default",
2666
+ methods: [],
2667
+ members: [],
2668
+ annotations: [],
2669
+ styles: [],
2670
+ domId: D + i + "-" + O
2671
+ }), O++;
2672
+ }
2673
+ addInterface(e, t) {
2674
+ let n = {
2675
+ id: `interface${this.interfaces.length}`,
2676
+ label: e,
2677
+ classId: t
2678
+ };
2679
+ this.interfaces.push(n);
2680
+ }
2681
+ lookUpDomId(e) {
2682
+ let t = h.sanitizeText(e, p());
2683
+ if (this.classes.has(t)) return this.classes.get(t).domId;
2684
+ throw Error("Class not found: " + t);
2685
+ }
2686
+ clear() {
2687
+ 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.direction = "TB", f();
2688
+ }
2689
+ getClass(e) {
2690
+ return this.classes.get(e);
2691
+ }
2692
+ getClasses() {
2693
+ return this.classes;
2694
+ }
2695
+ getRelations() {
2696
+ return this.relations;
2697
+ }
2698
+ getNote(e) {
2699
+ let t = typeof e == "number" ? `note${e}` : e;
2700
+ return this.notes.get(t);
2701
+ }
2702
+ getNotes() {
2703
+ return this.notes;
2704
+ }
2705
+ addRelation(e) {
2706
+ n.debug("Adding relation: " + JSON.stringify(e));
2707
+ let t = [
2708
+ this.relationType.LOLLIPOP,
2709
+ this.relationType.AGGREGATION,
2710
+ this.relationType.COMPOSITION,
2711
+ this.relationType.DEPENDENCY,
2712
+ this.relationType.EXTENSION
2713
+ ];
2714
+ e.relation.type1 === this.relationType.LOLLIPOP && !t.includes(e.relation.type2) ? (this.addClass(e.id2), this.addInterface(e.id1, e.id2), e.id1 = `interface${this.interfaces.length - 1}`) : e.relation.type2 === this.relationType.LOLLIPOP && !t.includes(e.relation.type1) ? (this.addClass(e.id1), this.addInterface(e.id2, e.id1), e.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(e.id1), this.addClass(e.id2)), e.id1 = this.splitClassNameAndType(e.id1).className, e.id2 = this.splitClassNameAndType(e.id2).className, e.relationTitle1 = h.sanitizeText(e.relationTitle1.trim(), p()), e.relationTitle2 = h.sanitizeText(e.relationTitle2.trim(), p()), this.relations.push(e);
2715
+ }
2716
+ addAnnotation(e, t) {
2717
+ let n = this.splitClassNameAndType(e).className;
2718
+ this.classes.get(n).annotations.push(t);
2719
+ }
2720
+ addMember(e, t) {
2721
+ this.addClass(e);
2722
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2723
+ if (typeof t == "string") {
2724
+ let e = t.trim();
2725
+ e.startsWith("<<") && e.endsWith(">>") ? r.annotations.push(k(e.substring(2, e.length - 2))) : e.indexOf(")") > 0 ? r.methods.push(new E(e, "method")) : e && r.members.push(new E(e, "attribute"));
2726
+ }
2727
+ }
2728
+ addMembers(e, t) {
2729
+ Array.isArray(t) && (t.reverse(), t.forEach((t) => this.addMember(e, t)));
2730
+ }
2731
+ addNote(e, t) {
2732
+ let n = this.notes.size, r = {
2733
+ id: `note${n}`,
2734
+ class: t,
2735
+ text: e,
2736
+ index: n
2737
+ };
2738
+ return this.notes.set(r.id, r), r.id;
2739
+ }
2740
+ cleanupLabel(e) {
2741
+ return e.startsWith(":") && (e = e.substring(1)), k(e.trim());
2742
+ }
2743
+ setCssClass(e, t) {
2744
+ e.split(",").forEach((e) => {
2745
+ let n = e;
2746
+ /\d/.exec(e[0]) && (n = D + n);
2747
+ let r = this.classes.get(n);
2748
+ r && (r.cssClasses += " " + t);
2749
+ });
2750
+ }
2751
+ defineClass(e, t) {
2752
+ for (let n of e) {
2753
+ let e = this.styleClasses.get(n);
2754
+ e === void 0 && (e = {
2755
+ id: n,
2756
+ styles: [],
2757
+ textStyles: []
2758
+ }, this.styleClasses.set(n, e)), t && t.forEach((t) => {
2759
+ if (/color/.exec(t)) {
2760
+ let n = t.replace("fill", "bgFill");
2761
+ e.textStyles.push(n);
2762
+ }
2763
+ e.styles.push(t);
2764
+ }), this.classes.forEach((e) => {
2765
+ e.cssClasses.includes(n) && e.styles.push(...t.flatMap((e) => e.split(",")));
2766
+ });
2767
+ }
2768
+ }
2769
+ setTooltip(e, t) {
2770
+ e.split(",").forEach((e) => {
2771
+ t !== void 0 && (this.classes.get(e).tooltip = k(t));
2772
+ });
2773
+ }
2774
+ getTooltip(e, t) {
2775
+ return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
2776
+ }
2777
+ setLink(t, n, r) {
2778
+ let i = p();
2779
+ t.split(",").forEach((t) => {
2780
+ let a = t;
2781
+ /\d/.exec(t[0]) && (a = D + a);
2782
+ let o = this.classes.get(a);
2783
+ o && (o.link = e.formatUrl(n, i), i.securityLevel === "sandbox" ? o.linkTarget = "_top" : typeof r == "string" ? o.linkTarget = k(r) : o.linkTarget = "_blank");
2784
+ }), this.setCssClass(t, "clickable");
2785
+ }
2786
+ setClickEvent(e, t, n) {
2787
+ e.split(",").forEach((e) => {
2788
+ this.setClickFunc(e, t, n), this.classes.get(e).haveCallback = !0;
2789
+ }), this.setCssClass(e, "clickable");
2790
+ }
2791
+ setClickFunc(t, n, r) {
2792
+ let i = h.sanitizeText(t, p());
2793
+ if (p().securityLevel !== "loose" || n === void 0) return;
2794
+ let a = i;
2795
+ if (this.classes.has(a)) {
2796
+ let t = this.lookUpDomId(a), i = [];
2797
+ if (typeof r == "string") {
2798
+ i = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2799
+ for (let e = 0; e < i.length; e++) {
2800
+ let t = i[e].trim();
2801
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), i[e] = t;
2802
+ }
2803
+ }
2804
+ i.length === 0 && i.push(t), this.functions.push(() => {
2805
+ let r = document.querySelector(`[id="${t}"]`);
2806
+ r !== null && r.addEventListener("click", () => {
2807
+ e.runFunc(n, ...i);
2808
+ }, !1);
2809
+ });
2810
+ }
2811
+ }
2812
+ bindFunctions(e) {
2813
+ this.functions.forEach((t) => {
2814
+ t(e);
2815
+ });
2816
+ }
2817
+ escapeHtml(e) {
2818
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
2819
+ }
2820
+ getDirection() {
2821
+ return this.direction;
2822
+ }
2823
+ setDirection(e) {
2824
+ this.direction = e;
2825
+ }
2826
+ addNamespace(e) {
2827
+ this.namespaces.has(e) || (this.namespaces.set(e, {
2828
+ id: e,
2829
+ classes: /* @__PURE__ */ new Map(),
2830
+ notes: /* @__PURE__ */ new Map(),
2831
+ children: /* @__PURE__ */ new Map(),
2832
+ domId: D + e + "-" + this.namespaceCounter
2833
+ }), this.namespaceCounter++);
2834
+ }
2835
+ getNamespace(e) {
2836
+ return this.namespaces.get(e);
2837
+ }
2838
+ getNamespaces() {
2839
+ return this.namespaces;
2840
+ }
2841
+ addClassesToNamespace(e, t, n) {
2842
+ if (this.namespaces.has(e)) {
2843
+ for (let n of t) {
2844
+ let { className: t } = this.splitClassNameAndType(n), r = this.getClass(t);
2845
+ r.parent = e, this.namespaces.get(e).classes.set(t, r);
2846
+ }
2847
+ for (let t of n) {
2848
+ let n = this.getNote(t);
2849
+ n.parent = e, this.namespaces.get(e).notes.set(t, n);
2850
+ }
2851
+ }
2852
+ }
2853
+ setCssStyle(e, t) {
2854
+ let n = this.classes.get(e);
2855
+ if (!(!t || !n)) for (let e of t) e.includes(",") ? n.styles.push(...e.split(",")) : n.styles.push(e);
2856
+ }
2857
+ getArrowMarker(e) {
2858
+ let t;
2859
+ switch (e) {
2860
+ case 0:
2861
+ t = "aggregation";
2862
+ break;
2863
+ case 1:
2864
+ t = "extension";
2865
+ break;
2866
+ case 2:
2867
+ t = "composition";
2868
+ break;
2869
+ case 3:
2870
+ t = "dependency";
2871
+ break;
2872
+ case 4:
2873
+ t = "lollipop";
2874
+ break;
2875
+ default: t = "none";
2876
+ }
2877
+ return t;
2878
+ }
2879
+ getData() {
2880
+ let e = [], n = [], r = p();
2881
+ for (let t of this.namespaces.values()) {
2882
+ let n = {
2883
+ id: t.id,
2884
+ label: t.id,
2885
+ isGroup: !0,
2886
+ padding: r.class.padding ?? 16,
2887
+ shape: "rect",
2888
+ cssStyles: [],
2889
+ look: r.look
2890
+ };
2891
+ e.push(n);
2892
+ }
2893
+ for (let t of this.classes.values()) {
2894
+ let n = {
2895
+ ...t,
2896
+ type: void 0,
2897
+ isGroup: !1,
2898
+ parentId: t.parent,
2899
+ look: r.look
2900
+ };
2901
+ e.push(n);
2902
+ }
2903
+ for (let t of this.notes.values()) {
2904
+ let i = {
2905
+ id: t.id,
2906
+ label: t.text,
2907
+ isGroup: !1,
2908
+ shape: "note",
2909
+ padding: r.class.padding ?? 6,
2910
+ cssStyles: [
2911
+ "text-align: left",
2912
+ "white-space: nowrap",
2913
+ `fill: ${r.themeVariables.noteBkgColor}`,
2914
+ `stroke: ${r.themeVariables.noteBorderColor}`
2915
+ ],
2916
+ look: r.look,
2917
+ parentId: t.parent,
2918
+ labelType: "markdown"
2919
+ };
2920
+ e.push(i);
2921
+ let a = this.classes.get(t.class)?.id;
2922
+ if (a) {
2923
+ let e = {
2924
+ id: `edgeNote${t.index}`,
2925
+ start: t.id,
2926
+ end: a,
2927
+ type: "normal",
2928
+ thickness: "normal",
2929
+ classes: "relation",
2930
+ arrowTypeStart: "none",
2931
+ arrowTypeEnd: "none",
2932
+ arrowheadStyle: "",
2933
+ labelStyle: [""],
2934
+ style: ["fill: none"],
2935
+ pattern: "dotted",
2936
+ look: r.look
2937
+ };
2938
+ n.push(e);
2939
+ }
2940
+ }
2941
+ for (let t of this.interfaces) {
2942
+ let n = {
2943
+ id: t.id,
2944
+ label: t.label,
2945
+ isGroup: !1,
2946
+ shape: "rect",
2947
+ cssStyles: ["opacity: 0;"],
2948
+ look: r.look
2949
+ };
2950
+ e.push(n);
2951
+ }
2952
+ let i = 0;
2953
+ for (let e of this.relations) {
2954
+ i++;
2955
+ let a = {
2956
+ id: t(e.id1, e.id2, {
2957
+ prefix: "id",
2958
+ counter: i
2959
+ }),
2960
+ start: e.id1,
2961
+ end: e.id2,
2962
+ type: "normal",
2963
+ label: e.title,
2964
+ labelpos: "c",
2965
+ thickness: "normal",
2966
+ classes: "relation",
2967
+ arrowTypeStart: this.getArrowMarker(e.relation.type1),
2968
+ arrowTypeEnd: this.getArrowMarker(e.relation.type2),
2969
+ startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
2970
+ endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
2971
+ arrowheadStyle: "",
2972
+ labelStyle: ["display: inline-block"],
2973
+ style: e.style || "",
2974
+ pattern: e.relation.lineType == 1 ? "dashed" : "solid",
2975
+ look: r.look,
2976
+ labelType: "markdown"
2977
+ };
2978
+ n.push(a);
2979
+ }
2980
+ return {
2981
+ nodes: e,
2982
+ edges: n,
2983
+ other: {},
2984
+ config: r,
2985
+ direction: this.getDirection()
2986
+ };
2987
+ }
2988
+ }, j = /* @__PURE__ */ r((e) => `g.classGroup text {
2989
+ fill: ${e.nodeBorder || e.classText};
2990
+ stroke: none;
2991
+ font-family: ${e.fontFamily};
2992
+ font-size: 10px;
2993
+
2994
+ .title {
2995
+ font-weight: bolder;
2996
+ }
2997
+
2998
+ }
2999
+
3000
+ .cluster-label text {
3001
+ fill: ${e.titleColor};
3002
+ }
3003
+ .cluster-label span {
3004
+ color: ${e.titleColor};
3005
+ }
3006
+ .cluster-label span p {
3007
+ background-color: transparent;
3008
+ }
3009
+
3010
+ .cluster rect {
3011
+ fill: ${e.clusterBkg};
3012
+ stroke: ${e.clusterBorder};
3013
+ stroke-width: 1px;
3014
+ }
3015
+
3016
+ .cluster text {
3017
+ fill: ${e.titleColor};
3018
+ }
3019
+
3020
+ .cluster span {
3021
+ color: ${e.titleColor};
3022
+ }
3023
+
3024
+ .nodeLabel, .edgeLabel {
3025
+ color: ${e.classText};
3026
+ }
3027
+ .edgeLabel .label rect {
3028
+ fill: ${e.mainBkg};
3029
+ }
3030
+ .label text {
3031
+ fill: ${e.classText};
3032
+ }
3033
+
3034
+ .labelBkg {
3035
+ background: ${e.mainBkg};
3036
+ }
3037
+ .edgeLabel .label span {
3038
+ background: ${e.mainBkg};
3039
+ }
3040
+
3041
+ .classTitle {
3042
+ font-weight: bolder;
3043
+ }
3044
+ .node rect,
3045
+ .node circle,
3046
+ .node ellipse,
3047
+ .node polygon,
3048
+ .node path {
3049
+ fill: ${e.mainBkg};
3050
+ stroke: ${e.nodeBorder};
3051
+ stroke-width: 1px;
3052
+ }
3053
+
3054
+
3055
+ .divider {
3056
+ stroke: ${e.nodeBorder};
3057
+ stroke-width: 1;
3058
+ }
3059
+
3060
+ g.clickable {
3061
+ cursor: pointer;
3062
+ }
3063
+
3064
+ g.classGroup rect {
3065
+ fill: ${e.mainBkg};
3066
+ stroke: ${e.nodeBorder};
3067
+ }
3068
+
3069
+ g.classGroup line {
3070
+ stroke: ${e.nodeBorder};
3071
+ stroke-width: 1;
3072
+ }
3073
+
3074
+ .classLabel .box {
3075
+ stroke: none;
3076
+ stroke-width: 0;
3077
+ fill: ${e.mainBkg};
3078
+ opacity: 0.5;
3079
+ }
3080
+
3081
+ .classLabel .label {
3082
+ fill: ${e.nodeBorder};
3083
+ font-size: 10px;
3084
+ }
3085
+
3086
+ .relation {
3087
+ stroke: ${e.lineColor};
3088
+ stroke-width: 1;
3089
+ fill: none;
3090
+ }
3091
+
3092
+ .dashed-line{
3093
+ stroke-dasharray: 3;
3094
+ }
3095
+
3096
+ .dotted-line{
3097
+ stroke-dasharray: 1 2;
3098
+ }
3099
+
3100
+ #compositionStart, .composition {
3101
+ fill: ${e.lineColor} !important;
3102
+ stroke: ${e.lineColor} !important;
3103
+ stroke-width: 1;
3104
+ }
3105
+
3106
+ #compositionEnd, .composition {
3107
+ fill: ${e.lineColor} !important;
3108
+ stroke: ${e.lineColor} !important;
3109
+ stroke-width: 1;
3110
+ }
3111
+
3112
+ #dependencyStart, .dependency {
3113
+ fill: ${e.lineColor} !important;
3114
+ stroke: ${e.lineColor} !important;
3115
+ stroke-width: 1;
3116
+ }
3117
+
3118
+ #dependencyStart, .dependency {
3119
+ fill: ${e.lineColor} !important;
3120
+ stroke: ${e.lineColor} !important;
3121
+ stroke-width: 1;
3122
+ }
3123
+
3124
+ #extensionStart, .extension {
3125
+ fill: transparent !important;
3126
+ stroke: ${e.lineColor} !important;
3127
+ stroke-width: 1;
3128
+ }
3129
+
3130
+ #extensionEnd, .extension {
3131
+ fill: transparent !important;
3132
+ stroke: ${e.lineColor} !important;
3133
+ stroke-width: 1;
3134
+ }
3135
+
3136
+ #aggregationStart, .aggregation {
3137
+ fill: transparent !important;
3138
+ stroke: ${e.lineColor} !important;
3139
+ stroke-width: 1;
3140
+ }
3141
+
3142
+ #aggregationEnd, .aggregation {
3143
+ fill: transparent !important;
3144
+ stroke: ${e.lineColor} !important;
3145
+ stroke-width: 1;
3146
+ }
3147
+
3148
+ #lollipopStart, .lollipop {
3149
+ fill: ${e.mainBkg} !important;
3150
+ stroke: ${e.lineColor} !important;
3151
+ stroke-width: 1;
3152
+ }
3153
+
3154
+ #lollipopEnd, .lollipop {
3155
+ fill: ${e.mainBkg} !important;
3156
+ stroke: ${e.lineColor} !important;
3157
+ stroke-width: 1;
3158
+ }
3159
+
3160
+ .edgeTerminals {
3161
+ font-size: 11px;
3162
+ line-height: initial;
3163
+ }
3164
+
3165
+ .classTitleText {
3166
+ text-anchor: middle;
3167
+ font-size: 18px;
3168
+ fill: ${e.textColor};
3169
+ }
3170
+ ${_()}
3171
+ `, "getStyles"), M = {
3172
+ getClasses: /* @__PURE__ */ r(function(e, t) {
3173
+ return t.db.getClasses();
3174
+ }, "getClasses"),
3175
+ draw: /* @__PURE__ */ r(async function(t, r, i, a) {
3176
+ n.info("REF0:"), n.info("Drawing class diagram (v3)", r);
3177
+ let { securityLevel: o, state: s, layout: c } = p(), l = a.db.getData(), u = y(r, o);
3178
+ l.type = a.type, l.layoutAlgorithm = S(c), l.nodeSpacing = s?.nodeSpacing || 50, l.rankSpacing = s?.rankSpacing || 50, l.markers = [
3179
+ "aggregation",
3180
+ "extension",
3181
+ "composition",
3182
+ "dependency",
3183
+ "lollipop"
3184
+ ], l.diagramId = r, await x(l, u), e.insertTitle(u, "classDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), b(u, 8, "classDiagram", s?.useMaxWidth ?? !0);
3185
+ }, "draw"),
3186
+ getDir: /* @__PURE__ */ r((e, t = "TB") => {
3187
+ if (!e.doc) return t;
3188
+ let n = t;
3189
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
3190
+ return n;
3191
+ }, "getDir")
3192
+ };
3193
+ //#endregion
3194
+ export { j as i, w as n, M as r, A as t };