@kong-ui-public/documentation 1.7.2 → 1.7.3-pr.3596.41e70338d.0

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 (159) hide show
  1. package/package.json +2 -2
  2. package/dist/arc-DZdQjcG8-CduayE88.js +0 -79
  3. package/dist/architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js +0 -4065
  4. package/dist/astro-D8QEIUE9-nzvtSwAQ.js +0 -18
  5. package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +0 -3268
  6. package/dist/c-GOwUpV7U-DMPKLUI8.js +0 -4
  7. package/dist/c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js +0 -3035
  8. package/dist/catppuccin-latte-BcV8jije-D8pvGdu1.js +0 -4
  9. package/dist/channel-DM9j7IFL-DxqBUxfY.js +0 -5
  10. package/dist/chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js +0 -24
  11. package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +0 -8
  12. package/dist/chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js +0 -8
  13. package/dist/chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js +0 -3445
  14. package/dist/chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js +0 -2096
  15. package/dist/chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js +0 -19
  16. package/dist/chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js +0 -65
  17. package/dist/chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js +0 -12
  18. package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +0 -17
  19. package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +0 -17
  20. package/dist/cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js +0 -2260
  21. package/dist/csharp-Cy04UeDC-OaGPefhL.js +0 -4
  22. package/dist/css-CJQ-rcMF-B_2PRTA_.js +0 -4
  23. package/dist/csv-Bx_Umlp--BPWcOTV4.js +0 -4
  24. package/dist/cytoscape.esm-BDIiOYYO-C1jMBhD8.js +0 -18220
  25. package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +0 -288
  26. package/dist/dagre-DJxg_nfI-hVOVexz-.js +0 -1687
  27. package/dist/defaultLocale-mtMQ0U8A-D6jPixjH.js +0 -182
  28. package/dist/diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js +0 -210
  29. package/dist/diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js +0 -99
  30. package/dist/diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js +0 -439
  31. package/dist/diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js +0 -127
  32. package/dist/diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js +0 -475
  33. package/dist/diff-DZRtXnMG-DenOJuyV.js +0 -4
  34. package/dist/docker-DQBBDNmU-xX8PDoIv.js +0 -4
  35. package/dist/documentation.es.js +0 -7
  36. package/dist/documentation.umd.js +0 -3474
  37. package/dist/erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js +0 -1773
  38. package/dist/flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js +0 -4258
  39. package/dist/ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js +0 -3099
  40. package/dist/git-commit-BOgnKaZ8-Csu8eMzs.js +0 -5
  41. package/dist/git-rebase-0v-YFIjP-D701iWbX.js +0 -5
  42. package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +0 -734
  43. package/dist/go-DpaXbCNA-DqSXHrGo.js +0 -4
  44. package/dist/graphlib-D2YdGpuK-CnQPmzkS.js +0 -1071
  45. package/dist/graphql-BSO8hVnT-C6Okg5tI.js +0 -14
  46. package/dist/haml-DizLz-gS-BWwS-eha.js +0 -10
  47. package/dist/handlebars-tnt1-4s--xVtJSIx5.js +0 -14
  48. package/dist/haskell-BDLr0yXS-BlmVjKNy.js +0 -4
  49. package/dist/html-DdIT5Pi9-C35UyBqr.js +0 -10
  50. package/dist/html-derivative-BHAKSQcK-BChKhjnv.js +0 -5
  51. package/dist/http-DRk-iX-V-DQ76ihB0.js +0 -14
  52. package/dist/index-DfVKdDwj.js +0 -40029
  53. package/dist/infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js +0 -18
  54. package/dist/ini-D-uG5DCC-70PBzbbb.js +0 -4
  55. package/dist/init-8lPFe2y8-B2MlpiqM.js +0 -16
  56. package/dist/ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js +0 -728
  57. package/dist/java-CQQr73XR-D6YBp1XX.js +0 -4
  58. package/dist/javascript-CXmFGv-C-BRPKgr3C.js +0 -4
  59. package/dist/journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js +0 -908
  60. package/dist/json-BXFRNzj8-D8uacQj0.js +0 -4
  61. package/dist/json5-B5-J7v9w-Biib5ALh.js +0 -4
  62. package/dist/jsonc-CeA7x8NU-BZEKkMok.js +0 -4
  63. package/dist/jsonl-BBlxch9W-BG2V-IA2.js +0 -4
  64. package/dist/jsx-DucQCby8-Cl0AMtmu.js +0 -4
  65. package/dist/kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js +0 -1028
  66. package/dist/katex-D7tFlpqA-BOSQxXe1.js +0 -22315
  67. package/dist/kotlin-CDXyBjvc-Dy_91eL4.js +0 -4
  68. package/dist/latex-COX74REd-l1quglTx.js +0 -5
  69. package/dist/less-QqooI0UQ-tcNg8M2_.js +0 -4
  70. package/dist/linear-1MXhYum8-9C1jno9G.js +0 -255
  71. package/dist/liquid-CsynDTV--Bdhb3gsJ.js +0 -14
  72. package/dist/lua-B3xrKnOz-Coo0MCwO.js +0 -5
  73. package/dist/make-eFBmESRY-CrUl7LOH.js +0 -4
  74. package/dist/markdown-DkQv9NwM-Bcqt-5kX.js +0 -4
  75. package/dist/material-theme-darker-Bp7Jj852-DMHCIvq5.js +0 -4
  76. package/dist/mdc-BK-Z5Xv--aFc-Oyv5.js +0 -12
  77. package/dist/mdx-CjbEMaEg-CK6jOqmu.js +0 -4
  78. package/dist/mermaid-Ccfpee4A-BgbNnQO5.js +0 -4
  79. package/dist/mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js +0 -1026
  80. package/dist/nginx-DQrs__jO-BS9Jcr4V.js +0 -5
  81. package/dist/objective-c-CXg1TPY9-C809HPrX.js +0 -4
  82. package/dist/ordinal-D9ksOc8y-2hZwLyEk.js +0 -63
  83. package/dist/pascal-C6L9Tn1x-a8whuidZ.js +0 -4
  84. package/dist/perl-Dbi-SlHs-DsZjIGqU.js +0 -16
  85. package/dist/php-J5w8HAya-DnRg4f-g.js +0 -18
  86. package/dist/pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js +0 -153
  87. package/dist/plsql-Ba_yrVwL-BJoF2Vrf.js +0 -4
  88. package/dist/postcss-Bsoc__IZ-DaHMm3XW.js +0 -4
  89. package/dist/powershell-CKvM5hOe-Box9VSDW.js +0 -4
  90. package/dist/proto-iweZN-Ks-w0B_itsp.js +0 -4
  91. package/dist/pug-DUPsoXbW-BFHDRSax.js +0 -12
  92. package/dist/python-MxhgNM12-D_5pfY__.js +0 -4
  93. package/dist/quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js +0 -2046
  94. package/dist/r-CoGPXt5G-BrbXTU3W.js +0 -4
  95. package/dist/reg-CHAl2UuA-bHAwx9Pm.js +0 -4
  96. package/dist/requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js +0 -2281
  97. package/dist/rst-D-Zcnz0t-C3PGnqgH.js +0 -20
  98. package/dist/ruby-CQp7mk0v-B3KpG-9E.js +0 -46
  99. package/dist/rust-W9HETclW-CaZtBt24.js +0 -4
  100. package/dist/sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js +0 -946
  101. package/dist/sass-DzGfEb5u-pslLeRRb.js +0 -4
  102. package/dist/scss-cWHTb1-d-DN6jMR75.js +0 -5
  103. package/dist/sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js +0 -4266
  104. package/dist/shellscript-BvJBBLP1-BtH46UX7.js +0 -4
  105. package/dist/shellsession-CXHk-hsk-D-2JR5oU.js +0 -5
  106. package/dist/splunk-TtOhH_8h-BP8P7eWt.js +0 -4
  107. package/dist/sql-B-h_q34g-uWwuAxg_.js +0 -4
  108. package/dist/ssh-config-B7jk1vQp-BB1rrGb9.js +0 -4
  109. package/dist/stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js +0 -210
  110. package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +0 -16
  111. package/dist/style.css +0 -1
  112. package/dist/stylus-Ccd_7r3J-DAu5PNZ9.js +0 -4
  113. package/dist/svelte-CYqtuUsn-Cf97VB5J.js +0 -14
  114. package/dist/swift-CzsQqA0L-BPF2ddNF.js +0 -4
  115. package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +0 -1095
  116. package/dist/toml-CRTROHRr-DjT9Bjqu.js +0 -4
  117. package/dist/tsx-CE8dfKwK-B-5hSr15.js +0 -4
  118. package/dist/twig-Bst4uh7S-C3aA9tng.js +0 -18
  119. package/dist/types/components/DiscardChangesPrompt.vue.d.ts +0 -35
  120. package/dist/types/components/DiscardChangesPrompt.vue.d.ts.map +0 -1
  121. package/dist/types/components/DocumentationContent.vue.d.ts +0 -186
  122. package/dist/types/components/DocumentationContent.vue.d.ts.map +0 -1
  123. package/dist/types/components/DocumentationDisplay.vue.d.ts +0 -105
  124. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +0 -1
  125. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts +0 -31
  126. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +0 -1
  127. package/dist/types/components/ProductDocumentModal.vue.d.ts +0 -72
  128. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +0 -1
  129. package/dist/types/composables/index.d.ts +0 -6
  130. package/dist/types/composables/index.d.ts.map +0 -1
  131. package/dist/types/composables/useI18n.d.ts +0 -9
  132. package/dist/types/composables/useI18n.d.ts.map +0 -1
  133. package/dist/types/external-links.d.ts +0 -5
  134. package/dist/types/external-links.d.ts.map +0 -1
  135. package/dist/types/helpers.d.ts +0 -8
  136. package/dist/types/helpers.d.ts.map +0 -1
  137. package/dist/types/index.d.ts +0 -7
  138. package/dist/types/index.d.ts.map +0 -1
  139. package/dist/types/types/document-list.d.ts +0 -28
  140. package/dist/types/types/document-list.d.ts.map +0 -1
  141. package/dist/types/types/document-modal.d.ts +0 -8
  142. package/dist/types/types/document-modal.d.ts.map +0 -1
  143. package/dist/types/types/index.d.ts +0 -3
  144. package/dist/types/types/index.d.ts.map +0 -1
  145. package/dist/typescript-8ogSSNer-B0ag8pir.js +0 -4
  146. package/dist/v-NeSnRB8V-CYSa2rJN.js +0 -4
  147. package/dist/vb-Dz72yc4q-B6FpM2Kc.js +0 -4
  148. package/dist/vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js +0 -1889
  149. package/dist/viml-DB1flIhL-BeYQ8dZh.js +0 -4
  150. package/dist/vue-Bq4JA_WT-CGBUDahs.js +0 -22
  151. package/dist/vue-html-BygQzR-9-BPez-Otx.js +0 -5
  152. package/dist/wardley-L42UT6IY-BjAkE_cs-C-giFqos.js +0 -20731
  153. package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +0 -639
  154. package/dist/wasm-BmZuu1vu-CfuK9YWP.js +0 -4
  155. package/dist/wgsl-D-vNyw6e-C2IZ7ENh.js +0 -4
  156. package/dist/xml-juAhGoTG-khG3jjDl.js +0 -5
  157. package/dist/xsl-CHgyQG2O-CiMa9sUf.js +0 -5
  158. package/dist/xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js +0 -2055
  159. package/dist/yaml-BK_xXVzk-X78l_Ibz.js +0 -4
@@ -1,3445 +0,0 @@
1
- import { p as A, g as ve, Z as D, d as st, e as it, N as Oe, q as de, m as nt, U as at, W as rt, G as lt, K as ut, f as ot, i as ct, a as I, H as ht, I as pt, c as dt, ao as G } from "./index-DfVKdDwj.js";
2
- import { t as At } from "./chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js";
3
- import { f as yt } from "./chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js";
4
- import { n as mt } from "./chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js";
5
- import { r as gt } from "./chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js";
6
- var we = (function() {
7
- var s = /* @__PURE__ */ A(function(c, y, d, u) {
8
- for (d ||= {}, u = c.length; u--; d[c[u]] = y) ;
9
- return d;
10
- }, "o"), i = [1, 18], n = [1, 19], a = [1, 20], r = [1, 41], o = [1, 26], l = [1, 42], p = [1, 24], m = [1, 25], F = [1, 32], $ = [1, 33], ye = [1, 34], b = [1, 45], me = [1, 35], ge = [1, 36], be = [1, 37], Ce = [1, 38], fe = [1, 27], ke = [1, 28], Ee = [1, 29], Te = [1, 30], Fe = [1, 31], C = [1, 44], f = [1, 46], k = [1, 43], E = [1, 47], De = [1, 9], h = [
11
- 1,
12
- 8,
13
- 9
14
- ], Z = [1, 58], ee = [1, 59], te = [1, 60], se = [1, 61], ie = [1, 62], Be = [1, 63], _e = [1, 64], B = [
15
- 1,
16
- 8,
17
- 9,
18
- 41
19
- ], Re = [1, 77], P = [
20
- 1,
21
- 8,
22
- 9,
23
- 12,
24
- 13,
25
- 22,
26
- 39,
27
- 41,
28
- 44,
29
- 46,
30
- 68,
31
- 69,
32
- 70,
33
- 71,
34
- 72,
35
- 73,
36
- 74,
37
- 79,
38
- 81
39
- ], ne = [
40
- 1,
41
- 8,
42
- 9,
43
- 12,
44
- 13,
45
- 18,
46
- 20,
47
- 22,
48
- 39,
49
- 41,
50
- 44,
51
- 46,
52
- 47,
53
- 60,
54
- 68,
55
- 69,
56
- 70,
57
- 71,
58
- 72,
59
- 73,
60
- 74,
61
- 79,
62
- 81,
63
- 86,
64
- 100,
65
- 102,
66
- 103
67
- ], ae = [
68
- 13,
69
- 60,
70
- 86,
71
- 100,
72
- 102,
73
- 103
74
- ], z = [
75
- 13,
76
- 60,
77
- 73,
78
- 74,
79
- 86,
80
- 100,
81
- 102,
82
- 103
83
- ], Pe = [
84
- 13,
85
- 60,
86
- 68,
87
- 69,
88
- 70,
89
- 71,
90
- 72,
91
- 86,
92
- 100,
93
- 102,
94
- 103
95
- ], re = [1, 103], K = [1, 121], W = [1, 117], Y = [1, 113], Q = [1, 119], X = [1, 114], q = [1, 115], H = [1, 116], j = [1, 118], J = [1, 120], Me = [
96
- 22,
97
- 50,
98
- 60,
99
- 61,
100
- 82,
101
- 86,
102
- 87,
103
- 88,
104
- 89,
105
- 90
106
- ], Ge = [1, 128], le = [12, 39], $e = [
107
- 1,
108
- 8,
109
- 9,
110
- 39,
111
- 41,
112
- 44,
113
- 46
114
- ], ue = [
115
- 1,
116
- 8,
117
- 9,
118
- 22
119
- ], Ue = [1, 153], ze = [
120
- 1,
121
- 8,
122
- 9,
123
- 61
124
- ], L = [
125
- 1,
126
- 8,
127
- 9,
128
- 22,
129
- 50,
130
- 60,
131
- 61,
132
- 82,
133
- 86,
134
- 87,
135
- 88,
136
- 89,
137
- 90
138
- ], Se = {
139
- trace: /* @__PURE__ */ A(function() {
140
- }, "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
- ANNOTATION_START: 46,
188
- ANNOTATION_END: 47,
189
- CLASS: 48,
190
- emptyBody: 49,
191
- SPACE: 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: "ANNOTATION_START",
269
- 47: "ANNOTATION_END",
270
- 48: "CLASS",
271
- 50: "SPACE",
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
- [38, 3],
354
- [40, 1],
355
- [40, 2],
356
- [40, 3],
357
- [40, 1],
358
- [40, 2],
359
- [40, 3],
360
- [40, 1],
361
- [40, 2],
362
- [40, 3],
363
- [24, 1],
364
- [24, 3],
365
- [24, 4],
366
- [24, 3],
367
- [24, 6],
368
- [24, 4],
369
- [24, 7],
370
- [24, 6],
371
- [43, 2],
372
- [43, 3],
373
- [49, 0],
374
- [49, 2],
375
- [49, 2],
376
- [26, 4],
377
- [45, 1],
378
- [45, 2],
379
- [25, 1],
380
- [25, 2],
381
- [25, 1],
382
- [25, 1],
383
- [21, 3],
384
- [21, 4],
385
- [21, 4],
386
- [21, 5],
387
- [30, 3],
388
- [30, 2],
389
- [31, 3],
390
- [58, 1],
391
- [58, 3],
392
- [32, 1],
393
- [32, 1],
394
- [32, 1],
395
- [32, 1],
396
- [53, 3],
397
- [53, 2],
398
- [53, 2],
399
- [53, 1],
400
- [66, 1],
401
- [66, 1],
402
- [66, 1],
403
- [66, 1],
404
- [66, 1],
405
- [67, 1],
406
- [67, 1],
407
- [27, 3],
408
- [27, 4],
409
- [27, 3],
410
- [27, 4],
411
- [27, 4],
412
- [27, 5],
413
- [27, 3],
414
- [27, 4],
415
- [27, 4],
416
- [27, 5],
417
- [27, 4],
418
- [27, 5],
419
- [27, 5],
420
- [27, 6],
421
- [28, 3],
422
- [29, 3],
423
- [59, 1],
424
- [59, 3],
425
- [84, 1],
426
- [84, 2],
427
- [85, 1],
428
- [85, 1],
429
- [85, 1],
430
- [85, 1],
431
- [85, 1],
432
- [85, 1],
433
- [85, 1],
434
- [85, 1],
435
- [85, 1],
436
- [91, 1],
437
- [91, 1],
438
- [92, 1],
439
- [92, 1],
440
- [92, 1],
441
- [92, 1],
442
- [92, 1],
443
- [92, 1],
444
- [92, 1],
445
- [94, 1],
446
- [94, 1],
447
- [94, 1],
448
- [94, 1],
449
- [16, 1],
450
- [16, 1],
451
- [16, 1],
452
- [16, 1],
453
- [17, 1],
454
- [55, 1]
455
- ],
456
- performAction: /* @__PURE__ */ A(function(c, y, d, u, g, e, V) {
457
- var t = e.length - 1;
458
- switch (g) {
459
- case 8:
460
- this.$ = e[t - 1];
461
- break;
462
- case 9:
463
- case 10:
464
- case 13:
465
- case 15:
466
- this.$ = e[t];
467
- break;
468
- case 11:
469
- case 14:
470
- this.$ = e[t - 2] + "." + e[t];
471
- break;
472
- case 12:
473
- case 16:
474
- this.$ = e[t - 1] + e[t];
475
- break;
476
- case 17:
477
- case 18:
478
- this.$ = e[t - 1] + "~" + e[t] + "~";
479
- break;
480
- case 19:
481
- u.addRelation(e[t]);
482
- break;
483
- case 20:
484
- e[t - 1].title = u.cleanupLabel(e[t]), u.addRelation(e[t - 1]);
485
- break;
486
- case 31:
487
- this.$ = e[t].trim(), u.setAccTitle(this.$);
488
- break;
489
- case 32:
490
- case 33:
491
- this.$ = e[t].trim(), u.setAccDescription(this.$);
492
- break;
493
- case 34:
494
- u.addClassesToNamespace(e[t - 3], e[t - 1][0], e[t - 1][1]), u.popNamespace();
495
- break;
496
- case 35:
497
- u.addClassesToNamespace(e[t - 4], e[t - 1][0], e[t - 1][1]), u.popNamespace();
498
- break;
499
- case 36:
500
- this.$ = u.addNamespace(e[t]);
501
- break;
502
- case 37:
503
- this.$ = u.addNamespace(e[t - 1], e[t]);
504
- break;
505
- case 38:
506
- this.$ = [[e[t]], []];
507
- break;
508
- case 39:
509
- this.$ = [[e[t - 1]], []];
510
- break;
511
- case 40:
512
- e[t][0].unshift(e[t - 2]), this.$ = e[t];
513
- break;
514
- case 41:
515
- this.$ = [[], [e[t]]];
516
- break;
517
- case 42:
518
- this.$ = [[], [e[t - 1]]];
519
- break;
520
- case 43:
521
- e[t][1].unshift(e[t - 2]), this.$ = e[t];
522
- break;
523
- case 44:
524
- case 45:
525
- this.$ = [[], []];
526
- break;
527
- case 46:
528
- this.$ = e[t];
529
- break;
530
- case 48:
531
- u.setCssClass(e[t - 2], e[t]);
532
- break;
533
- case 49:
534
- u.addMembers(e[t - 3], e[t - 1]);
535
- break;
536
- case 51:
537
- u.setCssClass(e[t - 5], e[t - 3]), u.addMembers(e[t - 5], e[t - 1]);
538
- break;
539
- case 52:
540
- u.addAnnotation(e[t - 3], e[t - 1]);
541
- break;
542
- case 53:
543
- u.addAnnotation(e[t - 6], e[t - 4]), u.addMembers(e[t - 6], e[t - 1]);
544
- break;
545
- case 54:
546
- u.addAnnotation(e[t - 5], e[t - 3]);
547
- break;
548
- case 55:
549
- this.$ = e[t], u.addClass(e[t]);
550
- break;
551
- case 56:
552
- this.$ = e[t - 1], u.addClass(e[t - 1]), u.setClassLabel(e[t - 1], e[t]);
553
- break;
554
- case 60:
555
- u.addAnnotation(e[t], e[t - 2]);
556
- break;
557
- case 61:
558
- case 74:
559
- this.$ = [e[t]];
560
- break;
561
- case 62:
562
- e[t].push(e[t - 1]), this.$ = e[t];
563
- break;
564
- case 63:
565
- break;
566
- case 64:
567
- u.addMember(e[t - 1], u.cleanupLabel(e[t]));
568
- break;
569
- case 65:
570
- break;
571
- case 66:
572
- break;
573
- case 67:
574
- this.$ = {
575
- id1: e[t - 2],
576
- id2: e[t],
577
- relation: e[t - 1],
578
- relationTitle1: "none",
579
- relationTitle2: "none"
580
- };
581
- break;
582
- case 68:
583
- this.$ = {
584
- id1: e[t - 3],
585
- id2: e[t],
586
- relation: e[t - 1],
587
- relationTitle1: e[t - 2],
588
- relationTitle2: "none"
589
- };
590
- break;
591
- case 69:
592
- this.$ = {
593
- id1: e[t - 3],
594
- id2: e[t],
595
- relation: e[t - 2],
596
- relationTitle1: "none",
597
- relationTitle2: e[t - 1]
598
- };
599
- break;
600
- case 70:
601
- this.$ = {
602
- id1: e[t - 4],
603
- id2: e[t],
604
- relation: e[t - 2],
605
- relationTitle1: e[t - 3],
606
- relationTitle2: e[t - 1]
607
- };
608
- break;
609
- case 71:
610
- this.$ = u.addNote(e[t], e[t - 1]);
611
- break;
612
- case 72:
613
- this.$ = u.addNote(e[t]);
614
- break;
615
- case 73:
616
- this.$ = e[t - 2], u.defineClass(e[t - 1], e[t]);
617
- break;
618
- case 75:
619
- this.$ = e[t - 2].concat([e[t]]);
620
- break;
621
- case 76:
622
- u.setDirection("TB");
623
- break;
624
- case 77:
625
- u.setDirection("BT");
626
- break;
627
- case 78:
628
- u.setDirection("RL");
629
- break;
630
- case 79:
631
- u.setDirection("LR");
632
- break;
633
- case 80:
634
- this.$ = {
635
- type1: e[t - 2],
636
- type2: e[t],
637
- lineType: e[t - 1]
638
- };
639
- break;
640
- case 81:
641
- this.$ = {
642
- type1: "none",
643
- type2: e[t],
644
- lineType: e[t - 1]
645
- };
646
- break;
647
- case 82:
648
- this.$ = {
649
- type1: e[t - 1],
650
- type2: "none",
651
- lineType: e[t]
652
- };
653
- break;
654
- case 83:
655
- this.$ = {
656
- type1: "none",
657
- type2: "none",
658
- lineType: e[t]
659
- };
660
- break;
661
- case 84:
662
- this.$ = u.relationType.AGGREGATION;
663
- break;
664
- case 85:
665
- this.$ = u.relationType.EXTENSION;
666
- break;
667
- case 86:
668
- this.$ = u.relationType.COMPOSITION;
669
- break;
670
- case 87:
671
- this.$ = u.relationType.DEPENDENCY;
672
- break;
673
- case 88:
674
- this.$ = u.relationType.LOLLIPOP;
675
- break;
676
- case 89:
677
- this.$ = u.lineType.LINE;
678
- break;
679
- case 90:
680
- this.$ = u.lineType.DOTTED_LINE;
681
- break;
682
- case 91:
683
- case 97:
684
- this.$ = e[t - 2], u.setClickEvent(e[t - 1], e[t]);
685
- break;
686
- case 92:
687
- case 98:
688
- this.$ = e[t - 3], u.setClickEvent(e[t - 2], e[t - 1]), u.setTooltip(e[t - 2], e[t]);
689
- break;
690
- case 93:
691
- this.$ = e[t - 2], u.setLink(e[t - 1], e[t]);
692
- break;
693
- case 94:
694
- this.$ = e[t - 3], u.setLink(e[t - 2], e[t - 1], e[t]);
695
- break;
696
- case 95:
697
- this.$ = e[t - 3], u.setLink(e[t - 2], e[t - 1]), u.setTooltip(e[t - 2], e[t]);
698
- break;
699
- case 96:
700
- this.$ = e[t - 4], u.setLink(e[t - 3], e[t - 2], e[t]), u.setTooltip(e[t - 3], e[t - 1]);
701
- break;
702
- case 99:
703
- this.$ = e[t - 3], u.setClickEvent(e[t - 2], e[t - 1], e[t]);
704
- break;
705
- case 100:
706
- this.$ = e[t - 4], u.setClickEvent(e[t - 3], e[t - 2], e[t - 1]), u.setTooltip(e[t - 3], e[t]);
707
- break;
708
- case 101:
709
- this.$ = e[t - 3], u.setLink(e[t - 2], e[t]);
710
- break;
711
- case 102:
712
- this.$ = e[t - 4], u.setLink(e[t - 3], e[t - 1], e[t]);
713
- break;
714
- case 103:
715
- this.$ = e[t - 4], u.setLink(e[t - 3], e[t - 1]), u.setTooltip(e[t - 3], e[t]);
716
- break;
717
- case 104:
718
- this.$ = e[t - 5], u.setLink(e[t - 4], e[t - 2], e[t]), u.setTooltip(e[t - 4], e[t - 1]);
719
- break;
720
- case 105:
721
- this.$ = e[t - 2], u.setCssStyle(e[t - 1], e[t]);
722
- break;
723
- case 106:
724
- u.setCssClass(e[t - 1], e[t]);
725
- break;
726
- case 107:
727
- this.$ = [e[t]];
728
- break;
729
- case 108:
730
- e[t - 2].push(e[t]), this.$ = e[t - 2];
731
- break;
732
- case 110:
733
- this.$ = e[t - 1] + e[t];
734
- break;
735
- }
736
- }, "anonymous"),
737
- table: [
738
- {
739
- 3: 1,
740
- 4: 2,
741
- 5: 3,
742
- 6: 4,
743
- 7: [1, 6],
744
- 10: 5,
745
- 16: 39,
746
- 17: 40,
747
- 19: 21,
748
- 21: 7,
749
- 23: 8,
750
- 24: 9,
751
- 25: 10,
752
- 26: 11,
753
- 27: 12,
754
- 28: 13,
755
- 29: 14,
756
- 30: 15,
757
- 31: 16,
758
- 32: 17,
759
- 33: i,
760
- 35: n,
761
- 37: a,
762
- 38: 22,
763
- 42: r,
764
- 43: 23,
765
- 46: o,
766
- 48: l,
767
- 51: p,
768
- 52: m,
769
- 54: F,
770
- 56: $,
771
- 57: ye,
772
- 60: b,
773
- 62: me,
774
- 63: ge,
775
- 64: be,
776
- 65: Ce,
777
- 75: fe,
778
- 76: ke,
779
- 78: Ee,
780
- 82: Te,
781
- 83: Fe,
782
- 86: C,
783
- 100: f,
784
- 102: k,
785
- 103: E
786
- },
787
- { 1: [3] },
788
- { 1: [2, 1] },
789
- { 1: [2, 2] },
790
- { 1: [2, 3] },
791
- s(De, [2, 5], { 8: [1, 48] }),
792
- { 8: [1, 49] },
793
- s(h, [2, 19], { 22: [1, 50] }),
794
- s(h, [2, 21]),
795
- s(h, [2, 22]),
796
- s(h, [2, 23]),
797
- s(h, [2, 24]),
798
- s(h, [2, 25]),
799
- s(h, [2, 26]),
800
- s(h, [2, 27]),
801
- s(h, [2, 28]),
802
- s(h, [2, 29]),
803
- s(h, [2, 30]),
804
- { 34: [1, 51] },
805
- { 36: [1, 52] },
806
- s(h, [2, 33]),
807
- s(h, [2, 63], {
808
- 53: 53,
809
- 66: 56,
810
- 67: 57,
811
- 13: [1, 54],
812
- 22: [1, 55],
813
- 68: Z,
814
- 69: ee,
815
- 70: te,
816
- 71: se,
817
- 72: ie,
818
- 73: Be,
819
- 74: _e
820
- }),
821
- { 39: [1, 65] },
822
- s(B, [2, 47], {
823
- 39: [1, 67],
824
- 44: [1, 66],
825
- 46: [1, 68]
826
- }),
827
- s(h, [2, 65]),
828
- s(h, [2, 66]),
829
- {
830
- 16: 69,
831
- 60: b,
832
- 86: C,
833
- 100: f,
834
- 102: k
835
- },
836
- {
837
- 16: 39,
838
- 17: 40,
839
- 19: 70,
840
- 60: b,
841
- 86: C,
842
- 100: f,
843
- 102: k,
844
- 103: E
845
- },
846
- {
847
- 16: 39,
848
- 17: 40,
849
- 19: 71,
850
- 60: b,
851
- 86: C,
852
- 100: f,
853
- 102: k,
854
- 103: E
855
- },
856
- {
857
- 16: 39,
858
- 17: 40,
859
- 19: 72,
860
- 60: b,
861
- 86: C,
862
- 100: f,
863
- 102: k,
864
- 103: E
865
- },
866
- { 60: [1, 73] },
867
- { 13: [1, 74] },
868
- {
869
- 16: 39,
870
- 17: 40,
871
- 19: 75,
872
- 60: b,
873
- 86: C,
874
- 100: f,
875
- 102: k,
876
- 103: E
877
- },
878
- {
879
- 13: Re,
880
- 55: 76
881
- },
882
- {
883
- 58: 78,
884
- 60: [1, 79]
885
- },
886
- s(h, [2, 76]),
887
- s(h, [2, 77]),
888
- s(h, [2, 78]),
889
- s(h, [2, 79]),
890
- s(P, [2, 13], {
891
- 16: 39,
892
- 17: 40,
893
- 19: 81,
894
- 18: [1, 80],
895
- 20: [1, 82],
896
- 60: b,
897
- 86: C,
898
- 100: f,
899
- 102: k,
900
- 103: E
901
- }),
902
- s(P, [2, 15], { 20: [1, 83] }),
903
- {
904
- 15: 84,
905
- 16: 85,
906
- 17: 86,
907
- 60: b,
908
- 86: C,
909
- 100: f,
910
- 102: k,
911
- 103: E
912
- },
913
- {
914
- 16: 39,
915
- 17: 40,
916
- 19: 87,
917
- 60: b,
918
- 86: C,
919
- 100: f,
920
- 102: k,
921
- 103: E
922
- },
923
- s(ne, [2, 133]),
924
- s(ne, [2, 134]),
925
- s(ne, [2, 135]),
926
- s(ne, [2, 136]),
927
- s([
928
- 1,
929
- 8,
930
- 9,
931
- 12,
932
- 13,
933
- 20,
934
- 22,
935
- 39,
936
- 41,
937
- 44,
938
- 46,
939
- 68,
940
- 69,
941
- 70,
942
- 71,
943
- 72,
944
- 73,
945
- 74,
946
- 79,
947
- 81
948
- ], [2, 137]),
949
- s(De, [2, 6], {
950
- 10: 5,
951
- 21: 7,
952
- 23: 8,
953
- 24: 9,
954
- 25: 10,
955
- 26: 11,
956
- 27: 12,
957
- 28: 13,
958
- 29: 14,
959
- 30: 15,
960
- 31: 16,
961
- 32: 17,
962
- 19: 21,
963
- 38: 22,
964
- 43: 23,
965
- 16: 39,
966
- 17: 40,
967
- 5: 88,
968
- 33: i,
969
- 35: n,
970
- 37: a,
971
- 42: r,
972
- 46: o,
973
- 48: l,
974
- 51: p,
975
- 52: m,
976
- 54: F,
977
- 56: $,
978
- 57: ye,
979
- 60: b,
980
- 62: me,
981
- 63: ge,
982
- 64: be,
983
- 65: Ce,
984
- 75: fe,
985
- 76: ke,
986
- 78: Ee,
987
- 82: Te,
988
- 83: Fe,
989
- 86: C,
990
- 100: f,
991
- 102: k,
992
- 103: E
993
- }),
994
- {
995
- 5: 89,
996
- 10: 5,
997
- 16: 39,
998
- 17: 40,
999
- 19: 21,
1000
- 21: 7,
1001
- 23: 8,
1002
- 24: 9,
1003
- 25: 10,
1004
- 26: 11,
1005
- 27: 12,
1006
- 28: 13,
1007
- 29: 14,
1008
- 30: 15,
1009
- 31: 16,
1010
- 32: 17,
1011
- 33: i,
1012
- 35: n,
1013
- 37: a,
1014
- 38: 22,
1015
- 42: r,
1016
- 43: 23,
1017
- 46: o,
1018
- 48: l,
1019
- 51: p,
1020
- 52: m,
1021
- 54: F,
1022
- 56: $,
1023
- 57: ye,
1024
- 60: b,
1025
- 62: me,
1026
- 63: ge,
1027
- 64: be,
1028
- 65: Ce,
1029
- 75: fe,
1030
- 76: ke,
1031
- 78: Ee,
1032
- 82: Te,
1033
- 83: Fe,
1034
- 86: C,
1035
- 100: f,
1036
- 102: k,
1037
- 103: E
1038
- },
1039
- s(h, [2, 20]),
1040
- s(h, [2, 31]),
1041
- s(h, [2, 32]),
1042
- {
1043
- 13: [1, 91],
1044
- 16: 39,
1045
- 17: 40,
1046
- 19: 90,
1047
- 60: b,
1048
- 86: C,
1049
- 100: f,
1050
- 102: k,
1051
- 103: E
1052
- },
1053
- {
1054
- 53: 92,
1055
- 66: 56,
1056
- 67: 57,
1057
- 68: Z,
1058
- 69: ee,
1059
- 70: te,
1060
- 71: se,
1061
- 72: ie,
1062
- 73: Be,
1063
- 74: _e
1064
- },
1065
- s(h, [2, 64]),
1066
- {
1067
- 67: 93,
1068
- 73: Be,
1069
- 74: _e
1070
- },
1071
- s(ae, [2, 83], {
1072
- 66: 94,
1073
- 68: Z,
1074
- 69: ee,
1075
- 70: te,
1076
- 71: se,
1077
- 72: ie
1078
- }),
1079
- s(z, [2, 84]),
1080
- s(z, [2, 85]),
1081
- s(z, [2, 86]),
1082
- s(z, [2, 87]),
1083
- s(z, [2, 88]),
1084
- s(Pe, [2, 89]),
1085
- s(Pe, [2, 90]),
1086
- {
1087
- 8: [1, 96],
1088
- 23: 99,
1089
- 24: 97,
1090
- 30: 98,
1091
- 38: 22,
1092
- 40: 95,
1093
- 42: r,
1094
- 43: 23,
1095
- 48: l,
1096
- 54: F,
1097
- 56: $
1098
- },
1099
- {
1100
- 16: 100,
1101
- 60: b,
1102
- 86: C,
1103
- 100: f,
1104
- 102: k
1105
- },
1106
- {
1107
- 41: [1, 102],
1108
- 45: 101,
1109
- 51: re
1110
- },
1111
- {
1112
- 16: 104,
1113
- 60: b,
1114
- 86: C,
1115
- 100: f,
1116
- 102: k
1117
- },
1118
- { 47: [1, 105] },
1119
- { 13: [1, 106] },
1120
- { 13: [1, 107] },
1121
- {
1122
- 79: [1, 108],
1123
- 81: [1, 109]
1124
- },
1125
- {
1126
- 22: K,
1127
- 50: W,
1128
- 59: 110,
1129
- 60: Y,
1130
- 82: Q,
1131
- 84: 111,
1132
- 85: 112,
1133
- 86: X,
1134
- 87: q,
1135
- 88: H,
1136
- 89: j,
1137
- 90: J
1138
- },
1139
- { 60: [1, 122] },
1140
- {
1141
- 13: Re,
1142
- 55: 123
1143
- },
1144
- s(B, [2, 72]),
1145
- s(B, [2, 138]),
1146
- {
1147
- 22: K,
1148
- 50: W,
1149
- 59: 124,
1150
- 60: Y,
1151
- 61: [1, 125],
1152
- 82: Q,
1153
- 84: 111,
1154
- 85: 112,
1155
- 86: X,
1156
- 87: q,
1157
- 88: H,
1158
- 89: j,
1159
- 90: J
1160
- },
1161
- s(Me, [2, 74]),
1162
- {
1163
- 16: 39,
1164
- 17: 40,
1165
- 19: 126,
1166
- 60: b,
1167
- 86: C,
1168
- 100: f,
1169
- 102: k,
1170
- 103: E
1171
- },
1172
- s(P, [2, 16]),
1173
- s(P, [2, 17]),
1174
- s(P, [2, 18]),
1175
- {
1176
- 11: 127,
1177
- 12: Ge,
1178
- 39: [2, 36]
1179
- },
1180
- s(le, [2, 9], {
1181
- 16: 85,
1182
- 17: 86,
1183
- 15: 130,
1184
- 18: [1, 129],
1185
- 60: b,
1186
- 86: C,
1187
- 100: f,
1188
- 102: k,
1189
- 103: E
1190
- }),
1191
- s(le, [2, 10]),
1192
- s($e, [2, 55], {
1193
- 11: 131,
1194
- 12: Ge
1195
- }),
1196
- s(De, [2, 7]),
1197
- { 9: [1, 132] },
1198
- s(ue, [2, 67]),
1199
- {
1200
- 16: 39,
1201
- 17: 40,
1202
- 19: 133,
1203
- 60: b,
1204
- 86: C,
1205
- 100: f,
1206
- 102: k,
1207
- 103: E
1208
- },
1209
- {
1210
- 13: [1, 135],
1211
- 16: 39,
1212
- 17: 40,
1213
- 19: 134,
1214
- 60: b,
1215
- 86: C,
1216
- 100: f,
1217
- 102: k,
1218
- 103: E
1219
- },
1220
- s(ae, [2, 82], {
1221
- 66: 136,
1222
- 68: Z,
1223
- 69: ee,
1224
- 70: te,
1225
- 71: se,
1226
- 72: ie
1227
- }),
1228
- s(ae, [2, 81]),
1229
- { 41: [1, 137] },
1230
- {
1231
- 23: 99,
1232
- 24: 97,
1233
- 30: 98,
1234
- 38: 22,
1235
- 40: 138,
1236
- 42: r,
1237
- 43: 23,
1238
- 48: l,
1239
- 54: F,
1240
- 56: $
1241
- },
1242
- {
1243
- 8: [1, 139],
1244
- 41: [2, 38]
1245
- },
1246
- {
1247
- 8: [1, 140],
1248
- 41: [2, 41]
1249
- },
1250
- {
1251
- 8: [1, 141],
1252
- 41: [2, 44]
1253
- },
1254
- s(B, [2, 48], { 39: [1, 142] }),
1255
- { 41: [1, 143] },
1256
- s(B, [2, 50]),
1257
- {
1258
- 41: [2, 61],
1259
- 45: 144,
1260
- 51: re
1261
- },
1262
- { 47: [1, 145] },
1263
- {
1264
- 16: 39,
1265
- 17: 40,
1266
- 19: 146,
1267
- 60: b,
1268
- 86: C,
1269
- 100: f,
1270
- 102: k,
1271
- 103: E
1272
- },
1273
- s(h, [2, 91], { 13: [1, 147] }),
1274
- s(h, [2, 93], {
1275
- 13: [1, 149],
1276
- 77: [1, 148]
1277
- }),
1278
- s(h, [2, 97], {
1279
- 13: [1, 150],
1280
- 80: [1, 151]
1281
- }),
1282
- { 13: [1, 152] },
1283
- s(h, [2, 105], { 61: Ue }),
1284
- s(ze, [2, 107], {
1285
- 85: 154,
1286
- 22: K,
1287
- 50: W,
1288
- 60: Y,
1289
- 82: Q,
1290
- 86: X,
1291
- 87: q,
1292
- 88: H,
1293
- 89: j,
1294
- 90: J
1295
- }),
1296
- s(L, [2, 109]),
1297
- s(L, [2, 111]),
1298
- s(L, [2, 112]),
1299
- s(L, [2, 113]),
1300
- s(L, [2, 114]),
1301
- s(L, [2, 115]),
1302
- s(L, [2, 116]),
1303
- s(L, [2, 117]),
1304
- s(L, [2, 118]),
1305
- s(L, [2, 119]),
1306
- s(h, [2, 106]),
1307
- s(B, [2, 71]),
1308
- s(h, [2, 73], { 61: Ue }),
1309
- { 60: [1, 155] },
1310
- s(P, [2, 14]),
1311
- { 39: [2, 37] },
1312
- { 13: [1, 156] },
1313
- {
1314
- 15: 157,
1315
- 16: 85,
1316
- 17: 86,
1317
- 60: b,
1318
- 86: C,
1319
- 100: f,
1320
- 102: k,
1321
- 103: E
1322
- },
1323
- s(le, [2, 12]),
1324
- s($e, [2, 56]),
1325
- { 1: [2, 4] },
1326
- s(ue, [2, 69]),
1327
- s(ue, [2, 68]),
1328
- {
1329
- 16: 39,
1330
- 17: 40,
1331
- 19: 158,
1332
- 60: b,
1333
- 86: C,
1334
- 100: f,
1335
- 102: k,
1336
- 103: E
1337
- },
1338
- s(ae, [2, 80]),
1339
- s(B, [2, 34]),
1340
- { 41: [1, 159] },
1341
- {
1342
- 23: 99,
1343
- 24: 97,
1344
- 30: 98,
1345
- 38: 22,
1346
- 40: 160,
1347
- 41: [2, 39],
1348
- 42: r,
1349
- 43: 23,
1350
- 48: l,
1351
- 54: F,
1352
- 56: $
1353
- },
1354
- {
1355
- 23: 99,
1356
- 24: 97,
1357
- 30: 98,
1358
- 38: 22,
1359
- 40: 161,
1360
- 41: [2, 42],
1361
- 42: r,
1362
- 43: 23,
1363
- 48: l,
1364
- 54: F,
1365
- 56: $
1366
- },
1367
- {
1368
- 23: 99,
1369
- 24: 97,
1370
- 30: 98,
1371
- 38: 22,
1372
- 40: 162,
1373
- 41: [2, 45],
1374
- 42: r,
1375
- 43: 23,
1376
- 48: l,
1377
- 54: F,
1378
- 56: $
1379
- },
1380
- {
1381
- 45: 163,
1382
- 51: re
1383
- },
1384
- s(B, [2, 49]),
1385
- { 41: [2, 62] },
1386
- s(B, [2, 52], { 39: [1, 164] }),
1387
- s(h, [2, 60]),
1388
- s(h, [2, 92]),
1389
- s(h, [2, 94]),
1390
- s(h, [2, 95], { 77: [1, 165] }),
1391
- s(h, [2, 98]),
1392
- s(h, [2, 99], { 13: [1, 166] }),
1393
- s(h, [2, 101], {
1394
- 13: [1, 168],
1395
- 77: [1, 167]
1396
- }),
1397
- {
1398
- 22: K,
1399
- 50: W,
1400
- 60: Y,
1401
- 82: Q,
1402
- 84: 169,
1403
- 85: 112,
1404
- 86: X,
1405
- 87: q,
1406
- 88: H,
1407
- 89: j,
1408
- 90: J
1409
- },
1410
- s(L, [2, 110]),
1411
- s(Me, [2, 75]),
1412
- { 14: [1, 170] },
1413
- s(le, [2, 11]),
1414
- s(ue, [2, 70]),
1415
- s(B, [2, 35]),
1416
- { 41: [2, 40] },
1417
- { 41: [2, 43] },
1418
- { 41: [2, 46] },
1419
- { 41: [1, 171] },
1420
- {
1421
- 41: [1, 173],
1422
- 45: 172,
1423
- 51: re
1424
- },
1425
- s(h, [2, 96]),
1426
- s(h, [2, 100]),
1427
- s(h, [2, 102]),
1428
- s(h, [2, 103], { 77: [1, 174] }),
1429
- s(ze, [2, 108], {
1430
- 85: 154,
1431
- 22: K,
1432
- 50: W,
1433
- 60: Y,
1434
- 82: Q,
1435
- 86: X,
1436
- 87: q,
1437
- 88: H,
1438
- 89: j,
1439
- 90: J
1440
- }),
1441
- s($e, [2, 8]),
1442
- s(B, [2, 51]),
1443
- { 41: [1, 175] },
1444
- s(B, [2, 54]),
1445
- s(h, [2, 104]),
1446
- s(B, [2, 53])
1447
- ],
1448
- defaultActions: {
1449
- 2: [2, 1],
1450
- 3: [2, 2],
1451
- 4: [2, 3],
1452
- 127: [2, 37],
1453
- 132: [2, 4],
1454
- 144: [2, 62],
1455
- 160: [2, 40],
1456
- 161: [2, 43],
1457
- 162: [2, 46]
1458
- },
1459
- parseError: /* @__PURE__ */ A(function(c, y) {
1460
- if (y.recoverable) this.trace(c);
1461
- else {
1462
- var d = Error(c);
1463
- throw d.hash = y, d;
1464
- }
1465
- }, "parseError"),
1466
- parse: /* @__PURE__ */ A(function(c) {
1467
- var y = this, d = [0], u = [], g = [null], e = [], V = this.table, t = "", ce = 0, Ke = 0, Je = 0, Ve = 2, We = 1, Ze = e.slice.call(arguments, 1), T = Object.create(this.lexer), O = { yy: {} };
1468
- for (var Ne in this.yy) Object.prototype.hasOwnProperty.call(this.yy, Ne) && (O.yy[Ne] = this.yy[Ne]);
1469
- T.setInput(c, O.yy), O.yy.lexer = T, O.yy.parser = this, T.yylloc === void 0 && (T.yylloc = {});
1470
- var Le = T.yylloc;
1471
- e.push(Le);
1472
- var et = T.options && T.options.ranges;
1473
- typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1474
- function tt(N) {
1475
- d.length -= 2 * N, g.length -= N, e.length -= N;
1476
- }
1477
- A(tt, "popStack");
1478
- function Ye() {
1479
- var N = u.pop() || T.lex() || We;
1480
- return typeof N != "number" && (N instanceof Array && (u = N, N = u.pop()), N = y.symbols_[N] || N), N;
1481
- }
1482
- A(Ye, "lex");
1483
- for (var _, xe, w, S, Ie, M = {}, he, x, Qe, pe; ; ) {
1484
- if (w = d[d.length - 1], this.defaultActions[w] ? S = this.defaultActions[w] : (_ ??= Ye(), S = V[w] && V[w][_]), S === void 0 || !S.length || !S[0]) {
1485
- var Xe = "";
1486
- for (he in pe = [], V[w]) this.terminals_[he] && he > Ve && pe.push("'" + this.terminals_[he] + "'");
1487
- Xe = T.showPosition ? "Parse error on line " + (ce + 1) + `:
1488
- ` + T.showPosition() + `
1489
- Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : "Parse error on line " + (ce + 1) + ": Unexpected " + (_ == We ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(Xe, {
1490
- text: T.match,
1491
- token: this.terminals_[_] || _,
1492
- line: T.yylineno,
1493
- loc: Le,
1494
- expected: pe
1495
- });
1496
- }
1497
- if (S[0] instanceof Array && S.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + _);
1498
- switch (S[0]) {
1499
- case 1:
1500
- d.push(_), g.push(T.yytext), e.push(T.yylloc), d.push(S[1]), _ = null, xe ? (_ = xe, xe = null) : (Ke = T.yyleng, t = T.yytext, ce = T.yylineno, Le = T.yylloc, Je > 0);
1501
- break;
1502
- case 2:
1503
- if (x = this.productions_[S[1]][1], M.$ = g[g.length - x], M._$ = {
1504
- first_line: e[e.length - (x || 1)].first_line,
1505
- last_line: e[e.length - 1].last_line,
1506
- first_column: e[e.length - (x || 1)].first_column,
1507
- last_column: e[e.length - 1].last_column
1508
- }, et && (M._$.range = [e[e.length - (x || 1)].range[0], e[e.length - 1].range[1]]), Ie = this.performAction.apply(M, [
1509
- t,
1510
- Ke,
1511
- ce,
1512
- O.yy,
1513
- S[1],
1514
- g,
1515
- e
1516
- ].concat(Ze)), Ie !== void 0) return Ie;
1517
- x && (d = d.slice(0, -1 * x * 2), g = g.slice(0, -1 * x), e = e.slice(0, -1 * x)), d.push(this.productions_[S[1]][0]), g.push(M.$), e.push(M._$), Qe = V[d[d.length - 2]][d[d.length - 1]], d.push(Qe);
1518
- break;
1519
- case 3:
1520
- return !0;
1521
- }
1522
- }
1523
- return !0;
1524
- }, "parse")
1525
- };
1526
- Se.lexer = /* @__PURE__ */ (function() {
1527
- return {
1528
- EOF: 1,
1529
- parseError: /* @__PURE__ */ A(function(c, y) {
1530
- if (this.yy.parser) this.yy.parser.parseError(c, y);
1531
- else throw Error(c);
1532
- }, "parseError"),
1533
- setInput: /* @__PURE__ */ A(function(c, y) {
1534
- return this.yy = y || this.yy || {}, this._input = c, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1535
- first_line: 1,
1536
- first_column: 0,
1537
- last_line: 1,
1538
- last_column: 0
1539
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1540
- }, "setInput"),
1541
- input: /* @__PURE__ */ A(function() {
1542
- var c = this._input[0];
1543
- return this.yytext += c, this.yyleng++, this.offset++, this.match += c, this.matched += c, c.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), c;
1544
- }, "input"),
1545
- unput: /* @__PURE__ */ A(function(c) {
1546
- var y = c.length, d = c.split(/(?:\r\n?|\n)/g);
1547
- this._input = c + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - y), this.offset -= y;
1548
- var u = this.match.split(/(?:\r\n?|\n)/g);
1549
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), d.length - 1 && (this.yylineno -= d.length - 1);
1550
- var g = this.yylloc.range;
1551
- return this.yylloc = {
1552
- first_line: this.yylloc.first_line,
1553
- last_line: this.yylineno + 1,
1554
- first_column: this.yylloc.first_column,
1555
- last_column: d ? (d.length === u.length ? this.yylloc.first_column : 0) + u[u.length - d.length].length - d[0].length : this.yylloc.first_column - y
1556
- }, this.options.ranges && (this.yylloc.range = [g[0], g[0] + this.yyleng - y]), this.yyleng = this.yytext.length, this;
1557
- }, "unput"),
1558
- more: /* @__PURE__ */ A(function() {
1559
- return this._more = !0, this;
1560
- }, "more"),
1561
- reject: /* @__PURE__ */ A(function() {
1562
- if (this.options.backtrack_lexer) this._backtrack = !0;
1563
- 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).
1564
- ` + this.showPosition(), {
1565
- text: "",
1566
- token: null,
1567
- line: this.yylineno
1568
- });
1569
- return this;
1570
- }, "reject"),
1571
- less: /* @__PURE__ */ A(function(c) {
1572
- this.unput(this.match.slice(c));
1573
- }, "less"),
1574
- pastInput: /* @__PURE__ */ A(function() {
1575
- var c = this.matched.substr(0, this.matched.length - this.match.length);
1576
- return (c.length > 20 ? "..." : "") + c.substr(-20).replace(/\n/g, "");
1577
- }, "pastInput"),
1578
- upcomingInput: /* @__PURE__ */ A(function() {
1579
- var c = this.match;
1580
- return c.length < 20 && (c += this._input.substr(0, 20 - c.length)), (c.substr(0, 20) + (c.length > 20 ? "..." : "")).replace(/\n/g, "");
1581
- }, "upcomingInput"),
1582
- showPosition: /* @__PURE__ */ A(function() {
1583
- var c = this.pastInput(), y = Array(c.length + 1).join("-");
1584
- return c + this.upcomingInput() + `
1585
- ` + y + "^";
1586
- }, "showPosition"),
1587
- test_match: /* @__PURE__ */ A(function(c, y) {
1588
- var d, u, g;
1589
- if (this.options.backtrack_lexer && (g = {
1590
- yylineno: this.yylineno,
1591
- yylloc: {
1592
- first_line: this.yylloc.first_line,
1593
- last_line: this.last_line,
1594
- first_column: this.yylloc.first_column,
1595
- last_column: this.yylloc.last_column
1596
- },
1597
- yytext: this.yytext,
1598
- match: this.match,
1599
- matches: this.matches,
1600
- matched: this.matched,
1601
- yyleng: this.yyleng,
1602
- offset: this.offset,
1603
- _more: this._more,
1604
- _input: this._input,
1605
- yy: this.yy,
1606
- conditionStack: this.conditionStack.slice(0),
1607
- done: this.done
1608
- }, this.options.ranges && (g.yylloc.range = this.yylloc.range.slice(0))), u = c[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
1609
- first_line: this.yylloc.last_line,
1610
- last_line: this.yylineno + 1,
1611
- first_column: this.yylloc.last_column,
1612
- last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + c[0].length
1613
- }, this.yytext += c[0], this.match += c[0], this.matches = c, 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(c[0].length), this.matched += c[0], d = this.performAction.call(this, this.yy, this, y, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), d) return d;
1614
- if (this._backtrack) {
1615
- for (var e in g) this[e] = g[e];
1616
- return !1;
1617
- }
1618
- return !1;
1619
- }, "test_match"),
1620
- next: /* @__PURE__ */ A(function() {
1621
- if (this.done) return this.EOF;
1622
- this._input || (this.done = !0);
1623
- var c, y, d, u;
1624
- this._more || (this.yytext = "", this.match = "");
1625
- for (var g = this._currentRules(), e = 0; e < g.length; e++) if (d = this._input.match(this.rules[g[e]]), d && (!y || d[0].length > y[0].length)) {
1626
- if (y = d, u = e, this.options.backtrack_lexer) {
1627
- if (c = this.test_match(d, g[e]), c !== !1) return c;
1628
- if (this._backtrack) {
1629
- y = !1;
1630
- continue;
1631
- } else return !1;
1632
- } else if (!this.options.flex) break;
1633
- }
1634
- return y ? (c = this.test_match(y, g[u]), c === !1 ? !1 : c) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1635
- ` + this.showPosition(), {
1636
- text: "",
1637
- token: null,
1638
- line: this.yylineno
1639
- });
1640
- }, "next"),
1641
- lex: /* @__PURE__ */ A(function() {
1642
- return this.next() || this.lex();
1643
- }, "lex"),
1644
- begin: /* @__PURE__ */ A(function(c) {
1645
- this.conditionStack.push(c);
1646
- }, "begin"),
1647
- popState: /* @__PURE__ */ A(function() {
1648
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1649
- }, "popState"),
1650
- _currentRules: /* @__PURE__ */ A(function() {
1651
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1652
- }, "_currentRules"),
1653
- topState: /* @__PURE__ */ A(function(c) {
1654
- return c = this.conditionStack.length - 1 - Math.abs(c || 0), c >= 0 ? this.conditionStack[c] : "INITIAL";
1655
- }, "topState"),
1656
- pushState: /* @__PURE__ */ A(function(c) {
1657
- this.begin(c);
1658
- }, "pushState"),
1659
- stateStackSize: /* @__PURE__ */ A(function() {
1660
- return this.conditionStack.length;
1661
- }, "stateStackSize"),
1662
- options: {},
1663
- performAction: /* @__PURE__ */ A(function(c, y, d, u) {
1664
- switch (d) {
1665
- case 0:
1666
- return 62;
1667
- case 1:
1668
- return 63;
1669
- case 2:
1670
- return 64;
1671
- case 3:
1672
- return 65;
1673
- case 4:
1674
- break;
1675
- case 5:
1676
- break;
1677
- case 6:
1678
- return this.begin("acc_title"), 33;
1679
- case 7:
1680
- return this.popState(), "acc_title_value";
1681
- case 8:
1682
- return this.begin("acc_descr"), 35;
1683
- case 9:
1684
- return this.popState(), "acc_descr_value";
1685
- case 10:
1686
- this.begin("acc_descr_multiline");
1687
- break;
1688
- case 11:
1689
- this.popState();
1690
- break;
1691
- case 12:
1692
- return "acc_descr_multiline_value";
1693
- case 13:
1694
- return 8;
1695
- case 14:
1696
- break;
1697
- case 15:
1698
- return 7;
1699
- case 16:
1700
- return 7;
1701
- case 17:
1702
- return "EDGE_STATE";
1703
- case 18:
1704
- this.begin("callback_name");
1705
- break;
1706
- case 19:
1707
- this.popState();
1708
- break;
1709
- case 20:
1710
- this.popState(), this.begin("callback_args");
1711
- break;
1712
- case 21:
1713
- return 79;
1714
- case 22:
1715
- this.popState();
1716
- break;
1717
- case 23:
1718
- return 80;
1719
- case 24:
1720
- this.popState();
1721
- break;
1722
- case 25:
1723
- return "STR";
1724
- case 26:
1725
- this.begin("string");
1726
- break;
1727
- case 27:
1728
- return 82;
1729
- case 28:
1730
- return 57;
1731
- case 29:
1732
- return this.begin("namespace"), 42;
1733
- case 30:
1734
- return this.popState(), 8;
1735
- case 31:
1736
- break;
1737
- case 32:
1738
- return this.begin("namespace-body"), 39;
1739
- case 33:
1740
- this.popState(), this.less(0);
1741
- break;
1742
- case 34:
1743
- return this.popState(), 41;
1744
- case 35:
1745
- return "EOF_IN_STRUCT";
1746
- case 36:
1747
- return 8;
1748
- case 37:
1749
- break;
1750
- case 38:
1751
- return "EDGE_STATE";
1752
- case 39:
1753
- return this.begin("class"), 48;
1754
- case 40:
1755
- return this.popState(), 8;
1756
- case 41:
1757
- break;
1758
- case 42:
1759
- return this.popState(), this.popState(), 41;
1760
- case 43:
1761
- return this.begin("class-body"), 39;
1762
- case 44:
1763
- return this.popState(), 41;
1764
- case 45:
1765
- return "EOF_IN_STRUCT";
1766
- case 46:
1767
- return "EDGE_STATE";
1768
- case 47:
1769
- return "OPEN_IN_STRUCT";
1770
- case 48:
1771
- break;
1772
- case 49:
1773
- return "MEMBER";
1774
- case 50:
1775
- return 83;
1776
- case 51:
1777
- return 75;
1778
- case 52:
1779
- return 76;
1780
- case 53:
1781
- return 78;
1782
- case 54:
1783
- return 54;
1784
- case 55:
1785
- return 56;
1786
- case 56:
1787
- return 46;
1788
- case 57:
1789
- return 47;
1790
- case 58:
1791
- return 81;
1792
- case 59:
1793
- this.popState();
1794
- break;
1795
- case 60:
1796
- return "GENERICTYPE";
1797
- case 61:
1798
- this.begin("generic");
1799
- break;
1800
- case 62:
1801
- this.popState();
1802
- break;
1803
- case 63:
1804
- return "BQUOTE_STR";
1805
- case 64:
1806
- this.begin("bqstring");
1807
- break;
1808
- case 65:
1809
- return 77;
1810
- case 66:
1811
- return 77;
1812
- case 67:
1813
- return 77;
1814
- case 68:
1815
- return 77;
1816
- case 69:
1817
- return 69;
1818
- case 70:
1819
- return 69;
1820
- case 71:
1821
- return 71;
1822
- case 72:
1823
- return 71;
1824
- case 73:
1825
- return 70;
1826
- case 74:
1827
- return 68;
1828
- case 75:
1829
- return 72;
1830
- case 76:
1831
- return 73;
1832
- case 77:
1833
- return 74;
1834
- case 78:
1835
- return 22;
1836
- case 79:
1837
- return 44;
1838
- case 80:
1839
- return 100;
1840
- case 81:
1841
- return 18;
1842
- case 82:
1843
- return "PLUS";
1844
- case 83:
1845
- return 87;
1846
- case 84:
1847
- return 61;
1848
- case 85:
1849
- return 89;
1850
- case 86:
1851
- return 89;
1852
- case 87:
1853
- return 90;
1854
- case 88:
1855
- return "EQUALS";
1856
- case 89:
1857
- return "EQUALS";
1858
- case 90:
1859
- return 60;
1860
- case 91:
1861
- return 12;
1862
- case 92:
1863
- return 14;
1864
- case 93:
1865
- return "PUNCTUATION";
1866
- case 94:
1867
- return 86;
1868
- case 95:
1869
- return 102;
1870
- case 96:
1871
- return 50;
1872
- case 97:
1873
- return 50;
1874
- case 98:
1875
- return 9;
1876
- }
1877
- }, "anonymous"),
1878
- rules: [
1879
- /^(?:.*direction\s+TB[^\n]*)/,
1880
- /^(?:.*direction\s+BT[^\n]*)/,
1881
- /^(?:.*direction\s+RL[^\n]*)/,
1882
- /^(?:.*direction\s+LR[^\n]*)/,
1883
- /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1884
- /^(?:%%[^\n]*(\r?\n)*)/,
1885
- /^(?:accTitle\s*:\s*)/,
1886
- /^(?:(?!\n||)*[^\n]*)/,
1887
- /^(?:accDescr\s*:\s*)/,
1888
- /^(?:(?!\n||)*[^\n]*)/,
1889
- /^(?:accDescr\s*\{\s*)/,
1890
- /^(?:[\}])/,
1891
- /^(?:[^\}]*)/,
1892
- /^(?:\s*(\r?\n)+)/,
1893
- /^(?:\s+)/,
1894
- /^(?:classDiagram-v2\b)/,
1895
- /^(?:classDiagram\b)/,
1896
- /^(?:\[\*\])/,
1897
- /^(?:call[\s]+)/,
1898
- /^(?:\([\s]*\))/,
1899
- /^(?:\()/,
1900
- /^(?:[^(]*)/,
1901
- /^(?:\))/,
1902
- /^(?:[^)]*)/,
1903
- /^(?:["])/,
1904
- /^(?:[^"]*)/,
1905
- /^(?:["])/,
1906
- /^(?:style\b)/,
1907
- /^(?:classDef\b)/,
1908
- /^(?:namespace\b)/,
1909
- /^(?:\s*(\r?\n)+)/,
1910
- /^(?:\s+)/,
1911
- /^(?:[{])/,
1912
- /^(?:[}])/,
1913
- /^(?:[}])/,
1914
- /^(?:$)/,
1915
- /^(?:\s*(\r?\n)+)/,
1916
- /^(?:\s+)/,
1917
- /^(?:\[\*\])/,
1918
- /^(?:class\b)/,
1919
- /^(?:\s*(\r?\n)+)/,
1920
- /^(?:\s+)/,
1921
- /^(?:[}])/,
1922
- /^(?:[{])/,
1923
- /^(?:[}])/,
1924
- /^(?:$)/,
1925
- /^(?:\[\*\])/,
1926
- /^(?:[{])/,
1927
- /^(?:[\n])/,
1928
- /^(?:[^{}\n]*)/,
1929
- /^(?:cssClass\b)/,
1930
- /^(?:callback\b)/,
1931
- /^(?:link\b)/,
1932
- /^(?:click\b)/,
1933
- /^(?:note for\b)/,
1934
- /^(?:note\b)/,
1935
- /^(?:<<)/,
1936
- /^(?:>>)/,
1937
- /^(?:href\b)/,
1938
- /^(?:[~])/,
1939
- /^(?:[^~]*)/,
1940
- /^(?:~)/,
1941
- /^(?:[`])/,
1942
- /^(?:[^`]+)/,
1943
- /^(?:[`])/,
1944
- /^(?:_self\b)/,
1945
- /^(?:_blank\b)/,
1946
- /^(?:_parent\b)/,
1947
- /^(?:_top\b)/,
1948
- /^(?:\s*<\|)/,
1949
- /^(?:\s*\|>)/,
1950
- /^(?:\s*>)/,
1951
- /^(?:\s*<)/,
1952
- /^(?:\s*\*)/,
1953
- /^(?:\s*o\b)/,
1954
- /^(?:\s*\(\))/,
1955
- /^(?:--)/,
1956
- /^(?:\.\.)/,
1957
- /^(?::{1}[^:\n;]+)/,
1958
- /^(?::{3})/,
1959
- /^(?:-)/,
1960
- /^(?:\.)/,
1961
- /^(?:\+)/,
1962
- /^(?::)/,
1963
- /^(?:,)/,
1964
- /^(?:#)/,
1965
- /^(?:#)/,
1966
- /^(?:%)/,
1967
- /^(?:=)/,
1968
- /^(?:=)/,
1969
- /^(?:\w+)/,
1970
- /^(?:\[)/,
1971
- /^(?:\])/,
1972
- /^(?:[!"#$%&'*+,-.`?\\/])/,
1973
- /^(?:[0-9]+)/,
1974
- /^(?:[\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])/,
1975
- /^(?:\s)/,
1976
- /^(?:\s)/,
1977
- /^(?:$)/
1978
- ],
1979
- conditions: {
1980
- "namespace-body": {
1981
- rules: [
1982
- 26,
1983
- 29,
1984
- 34,
1985
- 35,
1986
- 36,
1987
- 37,
1988
- 38,
1989
- 39,
1990
- 50,
1991
- 51,
1992
- 52,
1993
- 53,
1994
- 54,
1995
- 55,
1996
- 56,
1997
- 57,
1998
- 58,
1999
- 61,
2000
- 64,
2001
- 65,
2002
- 66,
2003
- 67,
2004
- 68,
2005
- 69,
2006
- 70,
2007
- 71,
2008
- 72,
2009
- 73,
2010
- 74,
2011
- 75,
2012
- 76,
2013
- 77,
2014
- 78,
2015
- 79,
2016
- 80,
2017
- 81,
2018
- 82,
2019
- 87,
2020
- 88,
2021
- 89,
2022
- 90,
2023
- 91,
2024
- 92,
2025
- 93,
2026
- 94,
2027
- 95,
2028
- 96,
2029
- 98
2030
- ],
2031
- inclusive: !1
2032
- },
2033
- namespace: {
2034
- rules: [
2035
- 26,
2036
- 29,
2037
- 30,
2038
- 31,
2039
- 32,
2040
- 33,
2041
- 50,
2042
- 51,
2043
- 52,
2044
- 53,
2045
- 54,
2046
- 55,
2047
- 56,
2048
- 57,
2049
- 58,
2050
- 61,
2051
- 64,
2052
- 65,
2053
- 66,
2054
- 67,
2055
- 68,
2056
- 69,
2057
- 70,
2058
- 71,
2059
- 72,
2060
- 73,
2061
- 74,
2062
- 75,
2063
- 76,
2064
- 77,
2065
- 78,
2066
- 79,
2067
- 80,
2068
- 81,
2069
- 82,
2070
- 87,
2071
- 88,
2072
- 89,
2073
- 90,
2074
- 91,
2075
- 92,
2076
- 93,
2077
- 94,
2078
- 95,
2079
- 96,
2080
- 98
2081
- ],
2082
- inclusive: !1
2083
- },
2084
- "class-body": {
2085
- rules: [
2086
- 26,
2087
- 44,
2088
- 45,
2089
- 46,
2090
- 47,
2091
- 48,
2092
- 49,
2093
- 50,
2094
- 51,
2095
- 52,
2096
- 53,
2097
- 54,
2098
- 55,
2099
- 56,
2100
- 57,
2101
- 58,
2102
- 61,
2103
- 64,
2104
- 65,
2105
- 66,
2106
- 67,
2107
- 68,
2108
- 69,
2109
- 70,
2110
- 71,
2111
- 72,
2112
- 73,
2113
- 74,
2114
- 75,
2115
- 76,
2116
- 77,
2117
- 78,
2118
- 79,
2119
- 80,
2120
- 81,
2121
- 82,
2122
- 87,
2123
- 88,
2124
- 89,
2125
- 90,
2126
- 91,
2127
- 92,
2128
- 93,
2129
- 94,
2130
- 95,
2131
- 96,
2132
- 98
2133
- ],
2134
- inclusive: !1
2135
- },
2136
- class: {
2137
- rules: [
2138
- 26,
2139
- 40,
2140
- 41,
2141
- 42,
2142
- 43,
2143
- 50,
2144
- 51,
2145
- 52,
2146
- 53,
2147
- 54,
2148
- 55,
2149
- 56,
2150
- 57,
2151
- 58,
2152
- 61,
2153
- 64,
2154
- 65,
2155
- 66,
2156
- 67,
2157
- 68,
2158
- 69,
2159
- 70,
2160
- 71,
2161
- 72,
2162
- 73,
2163
- 74,
2164
- 75,
2165
- 76,
2166
- 77,
2167
- 78,
2168
- 79,
2169
- 80,
2170
- 81,
2171
- 82,
2172
- 87,
2173
- 88,
2174
- 89,
2175
- 90,
2176
- 91,
2177
- 92,
2178
- 93,
2179
- 94,
2180
- 95,
2181
- 96,
2182
- 98
2183
- ],
2184
- inclusive: !1
2185
- },
2186
- acc_descr_multiline: {
2187
- rules: [
2188
- 11,
2189
- 12,
2190
- 26,
2191
- 50,
2192
- 51,
2193
- 52,
2194
- 53,
2195
- 54,
2196
- 55,
2197
- 56,
2198
- 57,
2199
- 58,
2200
- 61,
2201
- 64,
2202
- 65,
2203
- 66,
2204
- 67,
2205
- 68,
2206
- 69,
2207
- 70,
2208
- 71,
2209
- 72,
2210
- 73,
2211
- 74,
2212
- 75,
2213
- 76,
2214
- 77,
2215
- 78,
2216
- 79,
2217
- 80,
2218
- 81,
2219
- 82,
2220
- 87,
2221
- 88,
2222
- 89,
2223
- 90,
2224
- 91,
2225
- 92,
2226
- 93,
2227
- 94,
2228
- 95,
2229
- 96,
2230
- 98
2231
- ],
2232
- inclusive: !1
2233
- },
2234
- acc_descr: {
2235
- rules: [
2236
- 9,
2237
- 26,
2238
- 50,
2239
- 51,
2240
- 52,
2241
- 53,
2242
- 54,
2243
- 55,
2244
- 56,
2245
- 57,
2246
- 58,
2247
- 61,
2248
- 64,
2249
- 65,
2250
- 66,
2251
- 67,
2252
- 68,
2253
- 69,
2254
- 70,
2255
- 71,
2256
- 72,
2257
- 73,
2258
- 74,
2259
- 75,
2260
- 76,
2261
- 77,
2262
- 78,
2263
- 79,
2264
- 80,
2265
- 81,
2266
- 82,
2267
- 87,
2268
- 88,
2269
- 89,
2270
- 90,
2271
- 91,
2272
- 92,
2273
- 93,
2274
- 94,
2275
- 95,
2276
- 96,
2277
- 98
2278
- ],
2279
- inclusive: !1
2280
- },
2281
- acc_title: {
2282
- rules: [
2283
- 7,
2284
- 26,
2285
- 50,
2286
- 51,
2287
- 52,
2288
- 53,
2289
- 54,
2290
- 55,
2291
- 56,
2292
- 57,
2293
- 58,
2294
- 61,
2295
- 64,
2296
- 65,
2297
- 66,
2298
- 67,
2299
- 68,
2300
- 69,
2301
- 70,
2302
- 71,
2303
- 72,
2304
- 73,
2305
- 74,
2306
- 75,
2307
- 76,
2308
- 77,
2309
- 78,
2310
- 79,
2311
- 80,
2312
- 81,
2313
- 82,
2314
- 87,
2315
- 88,
2316
- 89,
2317
- 90,
2318
- 91,
2319
- 92,
2320
- 93,
2321
- 94,
2322
- 95,
2323
- 96,
2324
- 98
2325
- ],
2326
- inclusive: !1
2327
- },
2328
- callback_args: {
2329
- rules: [
2330
- 22,
2331
- 23,
2332
- 26,
2333
- 50,
2334
- 51,
2335
- 52,
2336
- 53,
2337
- 54,
2338
- 55,
2339
- 56,
2340
- 57,
2341
- 58,
2342
- 61,
2343
- 64,
2344
- 65,
2345
- 66,
2346
- 67,
2347
- 68,
2348
- 69,
2349
- 70,
2350
- 71,
2351
- 72,
2352
- 73,
2353
- 74,
2354
- 75,
2355
- 76,
2356
- 77,
2357
- 78,
2358
- 79,
2359
- 80,
2360
- 81,
2361
- 82,
2362
- 87,
2363
- 88,
2364
- 89,
2365
- 90,
2366
- 91,
2367
- 92,
2368
- 93,
2369
- 94,
2370
- 95,
2371
- 96,
2372
- 98
2373
- ],
2374
- inclusive: !1
2375
- },
2376
- callback_name: {
2377
- rules: [
2378
- 19,
2379
- 20,
2380
- 21,
2381
- 26,
2382
- 50,
2383
- 51,
2384
- 52,
2385
- 53,
2386
- 54,
2387
- 55,
2388
- 56,
2389
- 57,
2390
- 58,
2391
- 61,
2392
- 64,
2393
- 65,
2394
- 66,
2395
- 67,
2396
- 68,
2397
- 69,
2398
- 70,
2399
- 71,
2400
- 72,
2401
- 73,
2402
- 74,
2403
- 75,
2404
- 76,
2405
- 77,
2406
- 78,
2407
- 79,
2408
- 80,
2409
- 81,
2410
- 82,
2411
- 87,
2412
- 88,
2413
- 89,
2414
- 90,
2415
- 91,
2416
- 92,
2417
- 93,
2418
- 94,
2419
- 95,
2420
- 96,
2421
- 98
2422
- ],
2423
- inclusive: !1
2424
- },
2425
- href: {
2426
- rules: [
2427
- 26,
2428
- 50,
2429
- 51,
2430
- 52,
2431
- 53,
2432
- 54,
2433
- 55,
2434
- 56,
2435
- 57,
2436
- 58,
2437
- 61,
2438
- 64,
2439
- 65,
2440
- 66,
2441
- 67,
2442
- 68,
2443
- 69,
2444
- 70,
2445
- 71,
2446
- 72,
2447
- 73,
2448
- 74,
2449
- 75,
2450
- 76,
2451
- 77,
2452
- 78,
2453
- 79,
2454
- 80,
2455
- 81,
2456
- 82,
2457
- 87,
2458
- 88,
2459
- 89,
2460
- 90,
2461
- 91,
2462
- 92,
2463
- 93,
2464
- 94,
2465
- 95,
2466
- 96,
2467
- 98
2468
- ],
2469
- inclusive: !1
2470
- },
2471
- struct: {
2472
- rules: [
2473
- 26,
2474
- 50,
2475
- 51,
2476
- 52,
2477
- 53,
2478
- 54,
2479
- 55,
2480
- 56,
2481
- 57,
2482
- 58,
2483
- 61,
2484
- 64,
2485
- 65,
2486
- 66,
2487
- 67,
2488
- 68,
2489
- 69,
2490
- 70,
2491
- 71,
2492
- 72,
2493
- 73,
2494
- 74,
2495
- 75,
2496
- 76,
2497
- 77,
2498
- 78,
2499
- 79,
2500
- 80,
2501
- 81,
2502
- 82,
2503
- 87,
2504
- 88,
2505
- 89,
2506
- 90,
2507
- 91,
2508
- 92,
2509
- 93,
2510
- 94,
2511
- 95,
2512
- 96,
2513
- 98
2514
- ],
2515
- inclusive: !1
2516
- },
2517
- generic: {
2518
- rules: [
2519
- 26,
2520
- 50,
2521
- 51,
2522
- 52,
2523
- 53,
2524
- 54,
2525
- 55,
2526
- 56,
2527
- 57,
2528
- 58,
2529
- 59,
2530
- 60,
2531
- 61,
2532
- 64,
2533
- 65,
2534
- 66,
2535
- 67,
2536
- 68,
2537
- 69,
2538
- 70,
2539
- 71,
2540
- 72,
2541
- 73,
2542
- 74,
2543
- 75,
2544
- 76,
2545
- 77,
2546
- 78,
2547
- 79,
2548
- 80,
2549
- 81,
2550
- 82,
2551
- 87,
2552
- 88,
2553
- 89,
2554
- 90,
2555
- 91,
2556
- 92,
2557
- 93,
2558
- 94,
2559
- 95,
2560
- 96,
2561
- 98
2562
- ],
2563
- inclusive: !1
2564
- },
2565
- bqstring: {
2566
- rules: [
2567
- 26,
2568
- 50,
2569
- 51,
2570
- 52,
2571
- 53,
2572
- 54,
2573
- 55,
2574
- 56,
2575
- 57,
2576
- 58,
2577
- 61,
2578
- 62,
2579
- 63,
2580
- 64,
2581
- 65,
2582
- 66,
2583
- 67,
2584
- 68,
2585
- 69,
2586
- 70,
2587
- 71,
2588
- 72,
2589
- 73,
2590
- 74,
2591
- 75,
2592
- 76,
2593
- 77,
2594
- 78,
2595
- 79,
2596
- 80,
2597
- 81,
2598
- 82,
2599
- 87,
2600
- 88,
2601
- 89,
2602
- 90,
2603
- 91,
2604
- 92,
2605
- 93,
2606
- 94,
2607
- 95,
2608
- 96,
2609
- 98
2610
- ],
2611
- inclusive: !1
2612
- },
2613
- string: {
2614
- rules: [
2615
- 24,
2616
- 25,
2617
- 26,
2618
- 50,
2619
- 51,
2620
- 52,
2621
- 53,
2622
- 54,
2623
- 55,
2624
- 56,
2625
- 57,
2626
- 58,
2627
- 61,
2628
- 64,
2629
- 65,
2630
- 66,
2631
- 67,
2632
- 68,
2633
- 69,
2634
- 70,
2635
- 71,
2636
- 72,
2637
- 73,
2638
- 74,
2639
- 75,
2640
- 76,
2641
- 77,
2642
- 78,
2643
- 79,
2644
- 80,
2645
- 81,
2646
- 82,
2647
- 87,
2648
- 88,
2649
- 89,
2650
- 90,
2651
- 91,
2652
- 92,
2653
- 93,
2654
- 94,
2655
- 95,
2656
- 96,
2657
- 98
2658
- ],
2659
- inclusive: !1
2660
- },
2661
- INITIAL: {
2662
- rules: [
2663
- 0,
2664
- 1,
2665
- 2,
2666
- 3,
2667
- 4,
2668
- 5,
2669
- 6,
2670
- 8,
2671
- 10,
2672
- 13,
2673
- 14,
2674
- 15,
2675
- 16,
2676
- 17,
2677
- 18,
2678
- 26,
2679
- 27,
2680
- 28,
2681
- 29,
2682
- 39,
2683
- 50,
2684
- 51,
2685
- 52,
2686
- 53,
2687
- 54,
2688
- 55,
2689
- 56,
2690
- 57,
2691
- 58,
2692
- 61,
2693
- 64,
2694
- 65,
2695
- 66,
2696
- 67,
2697
- 68,
2698
- 69,
2699
- 70,
2700
- 71,
2701
- 72,
2702
- 73,
2703
- 74,
2704
- 75,
2705
- 76,
2706
- 77,
2707
- 78,
2708
- 79,
2709
- 80,
2710
- 81,
2711
- 82,
2712
- 83,
2713
- 84,
2714
- 85,
2715
- 86,
2716
- 87,
2717
- 88,
2718
- 89,
2719
- 90,
2720
- 91,
2721
- 92,
2722
- 93,
2723
- 94,
2724
- 95,
2725
- 96,
2726
- 97,
2727
- 98
2728
- ],
2729
- inclusive: !0
2730
- }
2731
- }
2732
- };
2733
- })();
2734
- function oe() {
2735
- this.yy = {};
2736
- }
2737
- return A(oe, "Parser"), oe.prototype = Se, Se.Parser = oe, new oe();
2738
- })();
2739
- we.parser = we;
2740
- var Tt = we, qe = [
2741
- "#",
2742
- "+",
2743
- "~",
2744
- "-",
2745
- ""
2746
- ], U, He = (U = class {
2747
- constructor(i, n) {
2748
- this.memberType = n, this.visibility = "", this.classifier = "", this.text = "";
2749
- let a = dt(i, D());
2750
- this.parseMember(a);
2751
- }
2752
- getDisplayDetails() {
2753
- let i = this.visibility + G(this.id);
2754
- this.memberType === "method" && (i += `(${G(this.parameters.trim())})`, this.returnType && (i += " : " + G(this.returnType))), i = i.trim();
2755
- let n = this.parseClassifier();
2756
- return {
2757
- displayText: i,
2758
- cssStyle: n
2759
- };
2760
- }
2761
- parseMember(i) {
2762
- let n = "";
2763
- if (this.memberType === "method") {
2764
- let r = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);
2765
- if (r) {
2766
- let o = r[1] ? r[1].trim() : "";
2767
- if (qe.includes(o) && (this.visibility = o), this.id = r[2], this.parameters = r[3] ? r[3].trim() : "", n = r[4] ? r[4].trim() : "", this.returnType = r[5] ? r[5].trim() : "", n === "") {
2768
- let l = this.returnType.substring(this.returnType.length - 1);
2769
- /[$*]/.exec(l) && (n = l, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2770
- }
2771
- }
2772
- } else {
2773
- let r = i.length, o = i.substring(0, 1), l = i.substring(r - 1);
2774
- qe.includes(o) && (this.visibility = o), /[$*]/.exec(l) && (n = l), this.id = i.substring(this.visibility === "" ? 0 : 1, n === "" ? r : r - 1);
2775
- }
2776
- this.classifier = n, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
2777
- let a = `${this.visibility ? "\\" + this.visibility : ""}${G(this.id)}${this.memberType === "method" ? `(${G(this.parameters)})${this.returnType ? " : " + G(this.returnType) : ""}` : ""}`;
2778
- this.text = a.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2779
- }
2780
- parseClassifier() {
2781
- switch (this.classifier) {
2782
- case "*":
2783
- return "font-style:italic;";
2784
- case "$":
2785
- return "text-decoration:underline;";
2786
- default:
2787
- return "";
2788
- }
2789
- }
2790
- }, A(U, "ClassMember"), U), Ae = "classId-", je = 0, R = /* @__PURE__ */ A((s) => I.sanitizeText(s, D()), "sanitizeText"), v, Ft = (v = class {
2791
- constructor() {
2792
- 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 = {
2793
- LINE: 0,
2794
- DOTTED_LINE: 1
2795
- }, this.relationType = {
2796
- AGGREGATION: 0,
2797
- EXTENSION: 1,
2798
- COMPOSITION: 2,
2799
- DEPENDENCY: 3,
2800
- LOLLIPOP: 4
2801
- }, this.setupToolTips = /* @__PURE__ */ A((i) => {
2802
- let n = yt();
2803
- de(i).select("svg").selectAll("g").filter(function() {
2804
- return de(this).attr("title") !== null;
2805
- }).on("mouseover", (a) => {
2806
- let r = de(a.currentTarget), o = r.attr("title");
2807
- if (!o) return;
2808
- let l = a.currentTarget.getBoundingClientRect();
2809
- n.transition().duration(200).style("opacity", ".9"), n.html(nt.sanitize(o)).style("left", `${window.scrollX + l.left + l.width / 2}px`).style("top", `${window.scrollY + l.bottom + 4}px`), r.classed("hover", !0);
2810
- }).on("mouseout", (a) => {
2811
- n.transition().duration(500).style("opacity", 0), de(a.currentTarget).classed("hover", !1);
2812
- });
2813
- }, "setupToolTips"), this.direction = "TB", this.setAccTitle = at, this.getAccTitle = rt, this.setAccDescription = lt, this.getAccDescription = ut, this.setDiagramTitle = ot, this.getDiagramTitle = ct, this.getConfig = /* @__PURE__ */ A(() => D().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);
2814
- }
2815
- splitClassNameAndType(i) {
2816
- let n = I.sanitizeText(i, D()), a = "", r = n;
2817
- if (n.indexOf("~") > 0) {
2818
- let o = n.split("~");
2819
- r = R(o[0]), a = R(o[1]);
2820
- }
2821
- return {
2822
- className: r,
2823
- type: a
2824
- };
2825
- }
2826
- setClassLabel(i, n) {
2827
- let a = I.sanitizeText(i, D());
2828
- n &&= R(n);
2829
- let { className: r } = this.splitClassNameAndType(a);
2830
- this.classes.get(r).label = n, this.classes.get(r).text = `${n}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2831
- }
2832
- addClass(i) {
2833
- let n = I.sanitizeText(i, D()), { className: a, type: r } = this.splitClassNameAndType(n);
2834
- if (this.classes.has(a)) return;
2835
- let o = I.sanitizeText(a, D());
2836
- this.classes.set(o, {
2837
- id: o,
2838
- type: r,
2839
- label: o,
2840
- text: `${o}${r ? `&lt;${r}&gt;` : ""}`,
2841
- shape: "classBox",
2842
- cssClasses: "default",
2843
- methods: [],
2844
- members: [],
2845
- annotations: [],
2846
- styles: [],
2847
- domId: Ae + o + "-" + je
2848
- }), je++;
2849
- }
2850
- addInterface(i, n) {
2851
- let a = {
2852
- id: `interface${this.interfaces.length}`,
2853
- label: i,
2854
- classId: n
2855
- };
2856
- this.interfaces.push(a);
2857
- }
2858
- setDiagramId(i) {
2859
- this.diagramId = i;
2860
- }
2861
- lookUpDomId(i) {
2862
- let n = I.sanitizeText(i, D());
2863
- if (this.classes.has(n)) {
2864
- let a = this.classes.get(n).domId;
2865
- return this.diagramId ? `${this.diagramId}-${a}` : a;
2866
- }
2867
- throw Error("Class not found: " + n);
2868
- }
2869
- clear() {
2870
- 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", ht();
2871
- }
2872
- getClass(i) {
2873
- return this.classes.get(i);
2874
- }
2875
- getClasses() {
2876
- return this.classes;
2877
- }
2878
- getRelations() {
2879
- return this.relations;
2880
- }
2881
- getNote(i) {
2882
- let n = typeof i == "number" ? `note${i}` : i;
2883
- return this.notes.get(n);
2884
- }
2885
- getNotes() {
2886
- return this.notes;
2887
- }
2888
- addRelation(i) {
2889
- ve.debug("Adding relation: " + JSON.stringify(i));
2890
- let n = [
2891
- this.relationType.LOLLIPOP,
2892
- this.relationType.AGGREGATION,
2893
- this.relationType.COMPOSITION,
2894
- this.relationType.DEPENDENCY,
2895
- this.relationType.EXTENSION
2896
- ];
2897
- i.relation.type1 === this.relationType.LOLLIPOP && !n.includes(i.relation.type2) ? (this.addClass(i.id2), this.addInterface(i.id1, i.id2), i.id1 = `interface${this.interfaces.length - 1}`) : i.relation.type2 === this.relationType.LOLLIPOP && !n.includes(i.relation.type1) ? (this.addClass(i.id1), this.addInterface(i.id2, i.id1), i.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(i.id1), this.addClass(i.id2)), i.id1 = this.splitClassNameAndType(i.id1).className, i.id2 = this.splitClassNameAndType(i.id2).className, i.relationTitle1 = I.sanitizeText(i.relationTitle1.trim(), D()), i.relationTitle2 = I.sanitizeText(i.relationTitle2.trim(), D()), this.relations.push(i);
2898
- }
2899
- addAnnotation(i, n) {
2900
- let a = this.splitClassNameAndType(i).className;
2901
- this.classes.get(a).annotations.push(n);
2902
- }
2903
- addMember(i, n) {
2904
- this.addClass(i);
2905
- let a = this.splitClassNameAndType(i).className, r = this.classes.get(a);
2906
- if (typeof n == "string") {
2907
- let o = n.trim();
2908
- o.startsWith("<<") && o.endsWith(">>") ? r.annotations.push(R(o.substring(2, o.length - 2))) : o.indexOf(")") > 0 ? r.methods.push(new He(o, "method")) : o && r.members.push(new He(o, "attribute"));
2909
- }
2910
- }
2911
- addMembers(i, n) {
2912
- Array.isArray(n) && (n.reverse(), n.forEach((a) => this.addMember(i, a)));
2913
- }
2914
- addNote(i, n) {
2915
- let a = this.notes.size, r = {
2916
- id: `note${a}`,
2917
- class: n,
2918
- text: i,
2919
- index: a
2920
- };
2921
- return this.notes.set(r.id, r), r.id;
2922
- }
2923
- cleanupLabel(i) {
2924
- return i.startsWith(":") && (i = i.substring(1)), R(i.trim());
2925
- }
2926
- setCssClass(i, n) {
2927
- i.split(",").forEach((a) => {
2928
- let r = a;
2929
- /\d/.exec(a[0]) && (r = Ae + r);
2930
- let o = this.classes.get(r);
2931
- o && (o.cssClasses += " " + n);
2932
- });
2933
- }
2934
- defineClass(i, n) {
2935
- for (let a of i) {
2936
- let r = this.styleClasses.get(a);
2937
- r === void 0 && (r = {
2938
- id: a,
2939
- styles: [],
2940
- textStyles: []
2941
- }, this.styleClasses.set(a, r)), n && n.forEach((o) => {
2942
- if (/color/.exec(o)) {
2943
- let l = o.replace("fill", "bgFill");
2944
- r.textStyles.push(l);
2945
- }
2946
- r.styles.push(o);
2947
- }), this.classes.forEach((o) => {
2948
- o.cssClasses.includes(a) && o.styles.push(...n.flatMap((l) => l.split(",")));
2949
- });
2950
- }
2951
- }
2952
- setTooltip(i, n) {
2953
- i.split(",").forEach((a) => {
2954
- n !== void 0 && (this.classes.get(a).tooltip = R(n));
2955
- });
2956
- }
2957
- getTooltip(i, n) {
2958
- return n && this.namespaces.has(n) ? this.namespaces.get(n).classes.get(i).tooltip : this.classes.get(i).tooltip;
2959
- }
2960
- setLink(i, n, a) {
2961
- let r = D();
2962
- i.split(",").forEach((o) => {
2963
- let l = o;
2964
- /\d/.exec(o[0]) && (l = Ae + l);
2965
- let p = this.classes.get(l);
2966
- p && (p.link = Oe.formatUrl(n, r), r.securityLevel === "sandbox" ? p.linkTarget = "_top" : typeof a == "string" ? p.linkTarget = R(a) : p.linkTarget = "_blank");
2967
- }), this.setCssClass(i, "clickable");
2968
- }
2969
- setClickEvent(i, n, a) {
2970
- i.split(",").forEach((r) => {
2971
- this.setClickFunc(r, n, a), this.classes.get(r).haveCallback = !0;
2972
- }), this.setCssClass(i, "clickable");
2973
- }
2974
- setClickFunc(i, n, a) {
2975
- let r = I.sanitizeText(i, D());
2976
- if (D().securityLevel !== "loose" || n === void 0) return;
2977
- let o = r;
2978
- if (this.classes.has(o)) {
2979
- let l = [];
2980
- if (typeof a == "string") {
2981
- l = a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2982
- for (let p = 0; p < l.length; p++) {
2983
- let m = l[p].trim();
2984
- m.startsWith('"') && m.endsWith('"') && (m = m.substr(1, m.length - 2)), l[p] = m;
2985
- }
2986
- }
2987
- l.length === 0 && l.push(o), this.functions.push(() => {
2988
- let p = this.lookUpDomId(o), m = document.querySelector(`[id="${p}"]`);
2989
- m !== null && m.addEventListener("click", () => {
2990
- Oe.runFunc(n, ...l);
2991
- }, !1);
2992
- });
2993
- }
2994
- }
2995
- bindFunctions(i) {
2996
- this.functions.forEach((n) => {
2997
- n(i);
2998
- });
2999
- }
3000
- escapeHtml(i) {
3001
- return i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
3002
- }
3003
- getDirection() {
3004
- return this.direction;
3005
- }
3006
- setDirection(i) {
3007
- this.direction = i;
3008
- }
3009
- static resolveQualifiedId(i, n) {
3010
- let a = n.at(-1);
3011
- return a ? `${a}.${i}` : i;
3012
- }
3013
- static getAncestorIds(i) {
3014
- let n = i.split("."), a = Array(n.length);
3015
- a[0] = n[0];
3016
- for (let r = 1; r < n.length; r++) a[r] = `${a[r - 1]}.${n[r]}`;
3017
- return a;
3018
- }
3019
- createNamespaceNode(i, n, a, r = !1) {
3020
- return {
3021
- id: i,
3022
- label: n,
3023
- classes: /* @__PURE__ */ new Map(),
3024
- notes: /* @__PURE__ */ new Map(),
3025
- children: /* @__PURE__ */ new Map(),
3026
- domId: Ae + i + "-" + this.namespaceCounter++,
3027
- parent: a,
3028
- explicit: r
3029
- };
3030
- }
3031
- linkParentChild(i, n) {
3032
- let a = this.namespaces.get(i), r = this.namespaces.get(n);
3033
- !a || !r || (a.children.has(n) || a.children.set(n, r), r.parent ??= i);
3034
- }
3035
- addNamespace(i, n) {
3036
- let a = v.resolveQualifiedId(i, this.namespaceStack);
3037
- if (this.namespaceStack.push(a), this.namespaces.has(a)) {
3038
- let l = this.namespaces.get(a);
3039
- return l.explicit = !0, n && (l.label = n), a;
3040
- }
3041
- let r = a.split("."), o = v.getAncestorIds(a);
3042
- for (let l = 0; l < o.length; l++) {
3043
- let p = o[l], m = l > 0 ? o[l - 1] : void 0, F = l === o.length - 1, $ = F && n ? n : r[l];
3044
- this.namespaces.has(p) ? F && (this.namespaces.get(p).explicit = !0) : this.namespaces.set(p, this.createNamespaceNode(p, $, m, F)), m && this.linkParentChild(m, p);
3045
- }
3046
- return a;
3047
- }
3048
- popNamespace() {
3049
- this.namespaceStack.pop();
3050
- }
3051
- getNamespace(i) {
3052
- return this.namespaces.get(i);
3053
- }
3054
- getNamespaces() {
3055
- return this.namespaces;
3056
- }
3057
- addClassesToNamespace(i, n, a) {
3058
- if (this.namespaces.has(i)) {
3059
- for (let r of n) {
3060
- let { className: o } = this.splitClassNameAndType(r), l = this.getClass(o);
3061
- l.parent = i, this.namespaces.get(i).classes.set(o, l);
3062
- }
3063
- for (let r of a) {
3064
- let o = this.getNote(r);
3065
- o.parent = i, this.namespaces.get(i).notes.set(r, o);
3066
- }
3067
- }
3068
- }
3069
- setCssStyle(i, n) {
3070
- let a = this.classes.get(i);
3071
- if (!(!n || !a)) for (let r of n) r.includes(",") ? a.styles.push(...r.split(",")) : a.styles.push(r);
3072
- }
3073
- getArrowMarker(i) {
3074
- let n;
3075
- switch (i) {
3076
- case 0:
3077
- n = "aggregation";
3078
- break;
3079
- case 1:
3080
- n = "extension";
3081
- break;
3082
- case 2:
3083
- n = "composition";
3084
- break;
3085
- case 3:
3086
- n = "dependency";
3087
- break;
3088
- case 4:
3089
- n = "lollipop";
3090
- break;
3091
- default:
3092
- n = "none";
3093
- }
3094
- return n;
3095
- }
3096
- resolveExplicitAncestor(i) {
3097
- let n = i;
3098
- for (; n; ) {
3099
- let a = this.namespaces.get(n);
3100
- if (!a) return;
3101
- if (a.explicit) return n;
3102
- n = a.parent;
3103
- }
3104
- }
3105
- getData() {
3106
- let i = [], n = [], a = D(), r = a.class?.hierarchicalNamespaces ?? !0;
3107
- for (let l of this.namespaces.values()) {
3108
- if (!r && !l.explicit) continue;
3109
- let p = {
3110
- id: l.id,
3111
- label: r ? l.label : l.id,
3112
- isGroup: !0,
3113
- padding: a.class.padding ?? 16,
3114
- shape: "rect",
3115
- cssStyles: [],
3116
- look: a.look,
3117
- parentId: r ? l.parent : void 0
3118
- };
3119
- i.push(p);
3120
- }
3121
- for (let l of this.classes.values()) {
3122
- let p = r ? l.parent : this.resolveExplicitAncestor(l.parent), m = {
3123
- ...l,
3124
- type: void 0,
3125
- isGroup: !1,
3126
- parentId: p,
3127
- look: a.look
3128
- };
3129
- i.push(m);
3130
- }
3131
- for (let l of this.notes.values()) {
3132
- let p = r ? l.parent : this.resolveExplicitAncestor(l.parent), m = {
3133
- id: l.id,
3134
- label: l.text,
3135
- isGroup: !1,
3136
- shape: "note",
3137
- padding: a.class.padding ?? 6,
3138
- cssStyles: [
3139
- "text-align: left",
3140
- "white-space: nowrap",
3141
- `fill: ${a.themeVariables.noteBkgColor}`,
3142
- `stroke: ${a.themeVariables.noteBorderColor}`
3143
- ],
3144
- look: a.look,
3145
- parentId: p,
3146
- labelType: "markdown"
3147
- };
3148
- i.push(m);
3149
- let F = this.classes.get(l.class)?.id;
3150
- if (F) {
3151
- let $ = {
3152
- id: `edgeNote${l.index}`,
3153
- start: l.id,
3154
- end: F,
3155
- type: "normal",
3156
- thickness: "normal",
3157
- classes: "relation",
3158
- arrowTypeStart: "none",
3159
- arrowTypeEnd: "none",
3160
- arrowheadStyle: "",
3161
- labelStyle: [""],
3162
- style: ["fill: none"],
3163
- pattern: "dotted",
3164
- look: a.look
3165
- };
3166
- n.push($);
3167
- }
3168
- }
3169
- for (let l of this.interfaces) {
3170
- let p = {
3171
- id: l.id,
3172
- label: l.label,
3173
- isGroup: !1,
3174
- shape: "rect",
3175
- cssStyles: ["opacity: 0;"],
3176
- look: a.look
3177
- };
3178
- i.push(p);
3179
- }
3180
- let o = 0;
3181
- for (let l of this.relations) {
3182
- o++;
3183
- let p = {
3184
- id: pt(l.id1, l.id2, {
3185
- prefix: "id",
3186
- counter: o
3187
- }),
3188
- start: l.id1,
3189
- end: l.id2,
3190
- type: "normal",
3191
- label: l.title,
3192
- labelpos: "c",
3193
- thickness: "normal",
3194
- classes: "relation",
3195
- arrowTypeStart: this.getArrowMarker(l.relation.type1),
3196
- arrowTypeEnd: this.getArrowMarker(l.relation.type2),
3197
- startLabelRight: l.relationTitle1 === "none" ? "" : l.relationTitle1,
3198
- endLabelLeft: l.relationTitle2 === "none" ? "" : l.relationTitle2,
3199
- arrowheadStyle: "",
3200
- labelStyle: ["display: inline-block"],
3201
- style: l.style || "",
3202
- pattern: l.relation.lineType == 1 ? "dashed" : "solid",
3203
- look: a.look,
3204
- labelType: "markdown"
3205
- };
3206
- n.push(p);
3207
- }
3208
- return {
3209
- nodes: i,
3210
- edges: n,
3211
- other: {},
3212
- config: a,
3213
- direction: this.getDirection()
3214
- };
3215
- }
3216
- }, A(v, "ClassDB"), v), Dt = /* @__PURE__ */ A((s) => `g.classGroup text {
3217
- fill: ${s.nodeBorder || s.classText};
3218
- stroke: none;
3219
- font-family: ${s.fontFamily};
3220
- font-size: 10px;
3221
-
3222
- .title {
3223
- font-weight: bolder;
3224
- }
3225
-
3226
- }
3227
-
3228
- .cluster-label text {
3229
- fill: ${s.titleColor};
3230
- }
3231
- .cluster-label span {
3232
- color: ${s.titleColor};
3233
- }
3234
- .cluster-label span p {
3235
- background-color: transparent;
3236
- }
3237
-
3238
- .cluster rect {
3239
- fill: ${s.clusterBkg};
3240
- stroke: ${s.clusterBorder};
3241
- stroke-width: 1px;
3242
- }
3243
-
3244
- .cluster text {
3245
- fill: ${s.titleColor};
3246
- }
3247
-
3248
- .cluster span {
3249
- color: ${s.titleColor};
3250
- }
3251
-
3252
- .nodeLabel, .edgeLabel {
3253
- color: ${s.classText};
3254
- }
3255
-
3256
- .noteLabel .nodeLabel, .noteLabel .edgeLabel {
3257
- color: ${s.noteTextColor};
3258
- }
3259
- .edgeLabel .label rect {
3260
- fill: ${s.mainBkg};
3261
- }
3262
- .label text {
3263
- fill: ${s.classText};
3264
- }
3265
-
3266
- .labelBkg {
3267
- background: ${s.mainBkg};
3268
- }
3269
- .edgeLabel .label span {
3270
- background: ${s.mainBkg};
3271
- }
3272
-
3273
- .classTitle {
3274
- font-weight: bolder;
3275
- }
3276
- .node rect,
3277
- .node circle,
3278
- .node ellipse,
3279
- .node polygon,
3280
- .node path {
3281
- fill: ${s.mainBkg};
3282
- stroke: ${s.nodeBorder};
3283
- stroke-width: ${s.strokeWidth};
3284
- }
3285
-
3286
-
3287
- .divider {
3288
- stroke: ${s.nodeBorder};
3289
- stroke-width: 1;
3290
- }
3291
-
3292
- g.clickable {
3293
- cursor: pointer;
3294
- }
3295
-
3296
- g.classGroup rect {
3297
- fill: ${s.mainBkg};
3298
- stroke: ${s.nodeBorder};
3299
- }
3300
-
3301
- g.classGroup line {
3302
- stroke: ${s.nodeBorder};
3303
- stroke-width: 1;
3304
- }
3305
-
3306
- .classLabel .box {
3307
- stroke: none;
3308
- stroke-width: 0;
3309
- fill: ${s.mainBkg};
3310
- opacity: 0.5;
3311
- }
3312
-
3313
- .classLabel .label {
3314
- fill: ${s.nodeBorder};
3315
- font-size: 10px;
3316
- }
3317
-
3318
- .relation {
3319
- stroke: ${s.lineColor};
3320
- stroke-width: ${s.strokeWidth};
3321
- fill: none;
3322
- }
3323
-
3324
- .dashed-line{
3325
- stroke-dasharray: 3;
3326
- }
3327
-
3328
- .dotted-line{
3329
- stroke-dasharray: 1 2;
3330
- }
3331
-
3332
- [id$="-compositionStart"], .composition {
3333
- fill: ${s.lineColor} !important;
3334
- stroke: ${s.lineColor} !important;
3335
- stroke-width: 1;
3336
- }
3337
-
3338
- [id$="-compositionEnd"], .composition {
3339
- fill: ${s.lineColor} !important;
3340
- stroke: ${s.lineColor} !important;
3341
- stroke-width: 1;
3342
- }
3343
-
3344
- [id$="-dependencyStart"], .dependency {
3345
- fill: ${s.lineColor} !important;
3346
- stroke: ${s.lineColor} !important;
3347
- stroke-width: 1;
3348
- }
3349
-
3350
- [id$="-dependencyEnd"], .dependency {
3351
- fill: ${s.lineColor} !important;
3352
- stroke: ${s.lineColor} !important;
3353
- stroke-width: 1;
3354
- }
3355
-
3356
- [id$="-extensionStart"], .extension {
3357
- fill: transparent !important;
3358
- stroke: ${s.lineColor} !important;
3359
- stroke-width: 1;
3360
- }
3361
-
3362
- [id$="-extensionEnd"], .extension {
3363
- fill: transparent !important;
3364
- stroke: ${s.lineColor} !important;
3365
- stroke-width: 1;
3366
- }
3367
-
3368
- [id$="-aggregationStart"], .aggregation {
3369
- fill: transparent !important;
3370
- stroke: ${s.lineColor} !important;
3371
- stroke-width: 1;
3372
- }
3373
-
3374
- [id$="-aggregationEnd"], .aggregation {
3375
- fill: transparent !important;
3376
- stroke: ${s.lineColor} !important;
3377
- stroke-width: 1;
3378
- }
3379
-
3380
- [id$="-lollipopStart"], .lollipop {
3381
- fill: ${s.mainBkg} !important;
3382
- stroke: ${s.lineColor} !important;
3383
- stroke-width: 1;
3384
- }
3385
-
3386
- [id$="-lollipopEnd"], .lollipop {
3387
- fill: ${s.mainBkg} !important;
3388
- stroke: ${s.lineColor} !important;
3389
- stroke-width: 1;
3390
- }
3391
-
3392
- .edgeTerminals {
3393
- font-size: 11px;
3394
- line-height: initial;
3395
- }
3396
-
3397
- .classTitleText {
3398
- text-anchor: middle;
3399
- font-size: 18px;
3400
- fill: ${s.textColor};
3401
- }
3402
-
3403
- .edgeLabel[data-look="neo"] {
3404
- background-color: ${s.edgeLabelBackground};
3405
- p {
3406
- background-color: ${s.edgeLabelBackground};
3407
- }
3408
- rect {
3409
- opacity: 0.5;
3410
- background-color: ${s.edgeLabelBackground};
3411
- fill: ${s.edgeLabelBackground};
3412
- }
3413
- text-align: center;
3414
- }
3415
- ${At()}
3416
- `, "getStyles"), Bt = {
3417
- getClasses: /* @__PURE__ */ A(function(s, i) {
3418
- return i.db.getClasses();
3419
- }, "getClasses"),
3420
- draw: /* @__PURE__ */ A(async function(s, i, n, a) {
3421
- ve.info("REF0:"), ve.info("Drawing class diagram (v3)", i);
3422
- let { securityLevel: r, state: o, layout: l } = D();
3423
- a.db.setDiagramId(i);
3424
- let p = a.db.getData(), m = mt(i, r);
3425
- p.type = a.type, p.layoutAlgorithm = st(l), p.nodeSpacing = o?.nodeSpacing || 50, p.rankSpacing = o?.rankSpacing || 50, p.markers = [
3426
- "aggregation",
3427
- "extension",
3428
- "composition",
3429
- "dependency",
3430
- "lollipop"
3431
- ], p.diagramId = i, await it(p, m), Oe.insertTitle(m, "classDiagramTitleText", o?.titleTopMargin ?? 25, a.db.getDiagramTitle()), gt(m, 8, "classDiagram", o?.useMaxWidth ?? !0);
3432
- }, "draw"),
3433
- getDir: /* @__PURE__ */ A((s, i = "TB") => {
3434
- if (!s.doc) return i;
3435
- let n = i;
3436
- for (let a of s.doc) a.stmt === "dir" && (n = a.value);
3437
- return n;
3438
- }, "getDir")
3439
- };
3440
- export {
3441
- Ft as A,
3442
- Bt as M,
3443
- Dt as j,
3444
- Tt as w
3445
- };