@oxide/design-system 1.7.7--canary.c74e439.0 → 1.7.7--canary.2a63c1e.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 (131) hide show
  1. package/components/dist/asciidoc.css +42 -0
  2. package/components/dist/index.d.ts +0 -3
  3. package/components/dist/index.js +145 -1807
  4. package/components/dist/index.js.map +1 -1
  5. package/package.json +5 -3
  6. package/components/dist/architecture-I3QFYML2-YZWO3N3B.js +0 -14
  7. package/components/dist/architecture-I3QFYML2-YZWO3N3B.js.map +0 -1
  8. package/components/dist/architectureDiagram-UYN6MBPD-HXPGIDN7.js +0 -8846
  9. package/components/dist/architectureDiagram-UYN6MBPD-HXPGIDN7.js.map +0 -1
  10. package/components/dist/blockDiagram-ZHA2E4KO-OAYYKCLF.js +0 -3721
  11. package/components/dist/blockDiagram-ZHA2E4KO-OAYYKCLF.js.map +0 -1
  12. package/components/dist/c4Diagram-6F5ED5ID-TBHFK2XY.js +0 -2599
  13. package/components/dist/c4Diagram-6F5ED5ID-TBHFK2XY.js.map +0 -1
  14. package/components/dist/chunk-2DDKDUUO.js +0 -439
  15. package/components/dist/chunk-2DDKDUUO.js.map +0 -1
  16. package/components/dist/chunk-2NHDMTP7.js +0 -26905
  17. package/components/dist/chunk-2NHDMTP7.js.map +0 -1
  18. package/components/dist/chunk-4IJS44L3.js +0 -22
  19. package/components/dist/chunk-4IJS44L3.js.map +0 -1
  20. package/components/dist/chunk-562WOS3Z.js +0 -1109
  21. package/components/dist/chunk-562WOS3Z.js.map +0 -1
  22. package/components/dist/chunk-6UD2HOKB.js +0 -17082
  23. package/components/dist/chunk-6UD2HOKB.js.map +0 -1
  24. package/components/dist/chunk-76BOQ7BT.js +0 -63
  25. package/components/dist/chunk-76BOQ7BT.js.map +0 -1
  26. package/components/dist/chunk-7I5DT373.js +0 -97
  27. package/components/dist/chunk-7I5DT373.js.map +0 -1
  28. package/components/dist/chunk-BPREMNVP.js +0 -1875
  29. package/components/dist/chunk-BPREMNVP.js.map +0 -1
  30. package/components/dist/chunk-BVYAEHG3.js +0 -122
  31. package/components/dist/chunk-BVYAEHG3.js.map +0 -1
  32. package/components/dist/chunk-BW7DFBOS.js +0 -152
  33. package/components/dist/chunk-BW7DFBOS.js.map +0 -1
  34. package/components/dist/chunk-EZG2MNHW.js +0 -59
  35. package/components/dist/chunk-EZG2MNHW.js.map +0 -1
  36. package/components/dist/chunk-G6QWNAHJ.js +0 -43
  37. package/components/dist/chunk-G6QWNAHJ.js.map +0 -1
  38. package/components/dist/chunk-H72D3HRR.js +0 -1244
  39. package/components/dist/chunk-H72D3HRR.js.map +0 -1
  40. package/components/dist/chunk-K532NZMW.js +0 -46
  41. package/components/dist/chunk-K532NZMW.js.map +0 -1
  42. package/components/dist/chunk-LC3BX2KL.js +0 -25
  43. package/components/dist/chunk-LC3BX2KL.js.map +0 -1
  44. package/components/dist/chunk-LQ2ABR7F.js +0 -5665
  45. package/components/dist/chunk-LQ2ABR7F.js.map +0 -1
  46. package/components/dist/chunk-M6L3MM6K.js +0 -22
  47. package/components/dist/chunk-M6L3MM6K.js.map +0 -1
  48. package/components/dist/chunk-MWA4PRRW.js +0 -122
  49. package/components/dist/chunk-MWA4PRRW.js.map +0 -1
  50. package/components/dist/chunk-ND3FLKHU.js +0 -570
  51. package/components/dist/chunk-ND3FLKHU.js.map +0 -1
  52. package/components/dist/chunk-NIVHLOPB.js +0 -2621
  53. package/components/dist/chunk-NIVHLOPB.js.map +0 -1
  54. package/components/dist/chunk-R6F6FFK7.js +0 -65
  55. package/components/dist/chunk-R6F6FFK7.js.map +0 -1
  56. package/components/dist/chunk-RN5R3L7O.js +0 -2041
  57. package/components/dist/chunk-RN5R3L7O.js.map +0 -1
  58. package/components/dist/chunk-RWDBBMDN.js +0 -10910
  59. package/components/dist/chunk-RWDBBMDN.js.map +0 -1
  60. package/components/dist/chunk-T7HPDS4Z.js +0 -573
  61. package/components/dist/chunk-T7HPDS4Z.js.map +0 -1
  62. package/components/dist/chunk-TG4YEU4Q.js +0 -23
  63. package/components/dist/chunk-TG4YEU4Q.js.map +0 -1
  64. package/components/dist/chunk-U5WCXBW2.js +0 -48
  65. package/components/dist/chunk-U5WCXBW2.js.map +0 -1
  66. package/components/dist/chunk-V6PWN6OH.js +0 -1875
  67. package/components/dist/chunk-V6PWN6OH.js.map +0 -1
  68. package/components/dist/chunk-VLTHNCSD.js +0 -48
  69. package/components/dist/chunk-VLTHNCSD.js.map +0 -1
  70. package/components/dist/chunk-WDK4G4UR.js +0 -2791
  71. package/components/dist/chunk-WDK4G4UR.js.map +0 -1
  72. package/components/dist/chunk-WLVQWTC6.js +0 -77
  73. package/components/dist/chunk-WLVQWTC6.js.map +0 -1
  74. package/components/dist/chunk-YDLS5R4M.js +0 -48
  75. package/components/dist/chunk-YDLS5R4M.js.map +0 -1
  76. package/components/dist/chunk-YGFBWU2Q.js +0 -7
  77. package/components/dist/chunk-YGFBWU2Q.js.map +0 -1
  78. package/components/dist/chunk-ZBL4CWCH.js +0 -2120
  79. package/components/dist/chunk-ZBL4CWCH.js.map +0 -1
  80. package/components/dist/classDiagram-LNE6IOMH-VRQHEQWM.js +0 -40
  81. package/components/dist/classDiagram-LNE6IOMH-VRQHEQWM.js.map +0 -1
  82. package/components/dist/classDiagram-v2-MQ7JQ4JX-5GB4NXXM.js +0 -40
  83. package/components/dist/classDiagram-v2-MQ7JQ4JX-5GB4NXXM.js.map +0 -1
  84. package/components/dist/dagre-4EVJKHTY-XW45LMKR.js +0 -734
  85. package/components/dist/dagre-4EVJKHTY-XW45LMKR.js.map +0 -1
  86. package/components/dist/diagram-QW4FP2JN-J2YMUPB5.js +0 -226
  87. package/components/dist/diagram-QW4FP2JN-J2YMUPB5.js.map +0 -1
  88. package/components/dist/erDiagram-6RL3IURR-HQULDVJI.js +0 -1381
  89. package/components/dist/erDiagram-6RL3IURR-HQULDVJI.js.map +0 -1
  90. package/components/dist/flowDiagram-7ASYPVHJ-2542732I.js +0 -2349
  91. package/components/dist/flowDiagram-7ASYPVHJ-2542732I.js.map +0 -1
  92. package/components/dist/ganttDiagram-NTVNEXSI-V66YQQB3.js +0 -2413
  93. package/components/dist/ganttDiagram-NTVNEXSI-V66YQQB3.js.map +0 -1
  94. package/components/dist/gitGraph-YCYPL57B-AAXPWQN7.js +0 -14
  95. package/components/dist/gitGraph-YCYPL57B-AAXPWQN7.js.map +0 -1
  96. package/components/dist/gitGraphDiagram-NRZ2UAAF-5DU6QMYZ.js +0 -1763
  97. package/components/dist/gitGraphDiagram-NRZ2UAAF-5DU6QMYZ.js.map +0 -1
  98. package/components/dist/info-46DW6VJ7-43TTIEYF.js +0 -14
  99. package/components/dist/info-46DW6VJ7-43TTIEYF.js.map +0 -1
  100. package/components/dist/infoDiagram-A4XQUW5V-UZERSQDI.js +0 -54
  101. package/components/dist/infoDiagram-A4XQUW5V-UZERSQDI.js.map +0 -1
  102. package/components/dist/journeyDiagram-G5WM74LC-RVKMRGRW.js +0 -1244
  103. package/components/dist/journeyDiagram-G5WM74LC-RVKMRGRW.js.map +0 -1
  104. package/components/dist/kanban-definition-QRCXZQQD-NWU5I3TK.js +0 -1119
  105. package/components/dist/kanban-definition-QRCXZQQD-NWU5I3TK.js.map +0 -1
  106. package/components/dist/katex-WNZY3CE5.js +0 -14484
  107. package/components/dist/katex-WNZY3CE5.js.map +0 -1
  108. package/components/dist/mindmap-definition-GWI6TPTV-MISEH6LG.js +0 -6013
  109. package/components/dist/mindmap-definition-GWI6TPTV-MISEH6LG.js.map +0 -1
  110. package/components/dist/packet-W2GHVCYJ-FBZCFIPR.js +0 -14
  111. package/components/dist/packet-W2GHVCYJ-FBZCFIPR.js.map +0 -1
  112. package/components/dist/pie-BEWT4RHE-UFFBBCXM.js +0 -14
  113. package/components/dist/pie-BEWT4RHE-UFFBBCXM.js.map +0 -1
  114. package/components/dist/pieDiagram-YF2LJOPJ-IXEVHPCM.js +0 -223
  115. package/components/dist/pieDiagram-YF2LJOPJ-IXEVHPCM.js.map +0 -1
  116. package/components/dist/quadrantDiagram-OS5C2QUG-MW26UCZV.js +0 -1408
  117. package/components/dist/quadrantDiagram-OS5C2QUG-MW26UCZV.js.map +0 -1
  118. package/components/dist/requirementDiagram-MIRIMTAZ-BX24AAHL.js +0 -1175
  119. package/components/dist/requirementDiagram-MIRIMTAZ-BX24AAHL.js.map +0 -1
  120. package/components/dist/sankeyDiagram-Y46BX6SQ-5RKUGG63.js +0 -1278
  121. package/components/dist/sankeyDiagram-Y46BX6SQ-5RKUGG63.js.map +0 -1
  122. package/components/dist/sequenceDiagram-G6AWOVSC-2T3JBUZ2.js +0 -3529
  123. package/components/dist/sequenceDiagram-G6AWOVSC-2T3JBUZ2.js.map +0 -1
  124. package/components/dist/stateDiagram-MAYHULR4-HZ5EGLPA.js +0 -505
  125. package/components/dist/stateDiagram-MAYHULR4-HZ5EGLPA.js.map +0 -1
  126. package/components/dist/stateDiagram-v2-4JROLMXI-DN2FEZV3.js +0 -40
  127. package/components/dist/stateDiagram-v2-4JROLMXI-DN2FEZV3.js.map +0 -1
  128. package/components/dist/timeline-definition-U7ZMHBDA-GB6AKKW4.js +0 -1260
  129. package/components/dist/timeline-definition-U7ZMHBDA-GB6AKKW4.js.map +0 -1
  130. package/components/dist/xychartDiagram-6QU3TZC5-BFFLEHUP.js +0 -1877
  131. package/components/dist/xychartDiagram-6QU3TZC5-BFFLEHUP.js.map +0 -1
@@ -1,2349 +0,0 @@
1
- import {
2
- getDiagramElement,
3
- setupViewPortForSVG
4
- } from "./chunk-G6QWNAHJ.js";
5
- import {
6
- JSON_SCHEMA,
7
- load
8
- } from "./chunk-WDK4G4UR.js";
9
- import {
10
- getRegisteredLayoutAlgorithm,
11
- render
12
- } from "./chunk-WLVQWTC6.js";
13
- import "./chunk-ND3FLKHU.js";
14
- import {
15
- isValidShape
16
- } from "./chunk-LQ2ABR7F.js";
17
- import "./chunk-BW7DFBOS.js";
18
- import "./chunk-M6L3MM6K.js";
19
- import "./chunk-H72D3HRR.js";
20
- import "./chunk-NIVHLOPB.js";
21
- import {
22
- getEdgeId,
23
- utils_default
24
- } from "./chunk-T7HPDS4Z.js";
25
- import "./chunk-7I5DT373.js";
26
- import {
27
- __name,
28
- channel_default,
29
- clear,
30
- common_default,
31
- defaultConfig2,
32
- getAccDescription,
33
- getAccTitle,
34
- getConfig2,
35
- getDiagramTitle,
36
- log,
37
- rgba_default,
38
- select_default,
39
- setAccDescription,
40
- setAccTitle,
41
- setConfig2,
42
- setDiagramTitle
43
- } from "./chunk-RWDBBMDN.js";
44
- import "./chunk-562WOS3Z.js";
45
- import "./chunk-K532NZMW.js";
46
-
47
- // node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-7ASYPVHJ.mjs
48
- var MERMAID_DOM_ID_PREFIX = "flowchart-";
49
- var vertexCounter = 0;
50
- var config = getConfig2();
51
- var vertices = /* @__PURE__ */ new Map();
52
- var edges = [];
53
- var classes = /* @__PURE__ */ new Map();
54
- var subGraphs = [];
55
- var subGraphLookup = /* @__PURE__ */ new Map();
56
- var tooltips = /* @__PURE__ */ new Map();
57
- var subCount = 0;
58
- var firstGraphFlag = true;
59
- var direction;
60
- var version;
61
- var funs = [];
62
- var sanitizeText = /* @__PURE__ */ __name((txt) => common_default.sanitizeText(txt, config), "sanitizeText");
63
- var lookUpDomId = /* @__PURE__ */ __name(function(id) {
64
- for (const vertex of vertices.values()) {
65
- if (vertex.id === id) {
66
- return vertex.domId;
67
- }
68
- }
69
- return id;
70
- }, "lookUpDomId");
71
- var addVertex = /* @__PURE__ */ __name(function(id, textObj, type, style, classes2, dir, props = {}, shapeData) {
72
- if (!id || id.trim().length === 0) {
73
- return;
74
- }
75
- let txt;
76
- let vertex = vertices.get(id);
77
- if (vertex === void 0) {
78
- vertex = {
79
- id,
80
- labelType: "text",
81
- domId: MERMAID_DOM_ID_PREFIX + id + "-" + vertexCounter,
82
- styles: [],
83
- classes: []
84
- };
85
- vertices.set(id, vertex);
86
- }
87
- vertexCounter++;
88
- if (textObj !== void 0) {
89
- config = getConfig2();
90
- txt = sanitizeText(textObj.text.trim());
91
- vertex.labelType = textObj.type;
92
- if (txt.startsWith('"') && txt.endsWith('"')) {
93
- txt = txt.substring(1, txt.length - 1);
94
- }
95
- vertex.text = txt;
96
- } else {
97
- if (vertex.text === void 0) {
98
- vertex.text = id;
99
- }
100
- }
101
- if (type !== void 0) {
102
- vertex.type = type;
103
- }
104
- if (style !== void 0 && style !== null) {
105
- style.forEach(function(s) {
106
- vertex.styles.push(s);
107
- });
108
- }
109
- if (classes2 !== void 0 && classes2 !== null) {
110
- classes2.forEach(function(s) {
111
- vertex.classes.push(s);
112
- });
113
- }
114
- if (dir !== void 0) {
115
- vertex.dir = dir;
116
- }
117
- if (vertex.props === void 0) {
118
- vertex.props = props;
119
- } else if (props !== void 0) {
120
- Object.assign(vertex.props, props);
121
- }
122
- if (shapeData !== void 0) {
123
- let yamlData;
124
- if (!shapeData.includes("\n")) {
125
- yamlData = "{\n" + shapeData + "\n}";
126
- } else {
127
- yamlData = shapeData + "\n";
128
- }
129
- const doc = load(yamlData, { schema: JSON_SCHEMA });
130
- if (doc.shape) {
131
- if (doc.shape !== doc.shape.toLowerCase() || doc.shape.includes("_")) {
132
- throw new Error(`No such shape: ${doc.shape}. Shape names should be lowercase.`);
133
- } else if (!isValidShape(doc.shape)) {
134
- throw new Error(`No such shape: ${doc.shape}.`);
135
- }
136
- vertex.type = doc?.shape;
137
- }
138
- if (doc?.label) {
139
- vertex.text = doc?.label;
140
- }
141
- if (doc?.icon) {
142
- vertex.icon = doc?.icon;
143
- if (!doc.label?.trim() && vertex.text === id) {
144
- vertex.text = "";
145
- }
146
- }
147
- if (doc?.form) {
148
- vertex.form = doc?.form;
149
- }
150
- if (doc?.pos) {
151
- vertex.pos = doc?.pos;
152
- }
153
- if (doc?.img) {
154
- vertex.img = doc?.img;
155
- if (!doc.label?.trim() && vertex.text === id) {
156
- vertex.text = "";
157
- }
158
- }
159
- if (doc?.constraint) {
160
- vertex.constraint = doc.constraint;
161
- }
162
- if (doc.w) {
163
- vertex.assetWidth = Number(doc.w);
164
- }
165
- if (doc.h) {
166
- vertex.assetHeight = Number(doc.h);
167
- }
168
- }
169
- }, "addVertex");
170
- var addSingleLink = /* @__PURE__ */ __name(function(_start, _end, type) {
171
- const start = _start;
172
- const end = _end;
173
- const edge = { start, end, type: void 0, text: "", labelType: "text" };
174
- log.info("abc78 Got edge...", edge);
175
- const linkTextObj = type.text;
176
- if (linkTextObj !== void 0) {
177
- edge.text = sanitizeText(linkTextObj.text.trim());
178
- if (edge.text.startsWith('"') && edge.text.endsWith('"')) {
179
- edge.text = edge.text.substring(1, edge.text.length - 1);
180
- }
181
- edge.labelType = linkTextObj.type;
182
- }
183
- if (type !== void 0) {
184
- edge.type = type.type;
185
- edge.stroke = type.stroke;
186
- edge.length = type.length > 10 ? 10 : type.length;
187
- }
188
- if (edges.length < (config.maxEdges ?? 500)) {
189
- log.info("Pushing edge...");
190
- edges.push(edge);
191
- } else {
192
- throw new Error(
193
- `Edge limit exceeded. ${edges.length} edges found, but the limit is ${config.maxEdges}.
194
-
195
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
196
- You cannot set this config via configuration inside the diagram as it is a secure config.
197
- You have to call mermaid.initialize.`
198
- );
199
- }
200
- }, "addSingleLink");
201
- var addLink = /* @__PURE__ */ __name(function(_start, _end, type) {
202
- log.info("addLink", _start, _end, type);
203
- for (const start of _start) {
204
- for (const end of _end) {
205
- addSingleLink(start, end, type);
206
- }
207
- }
208
- }, "addLink");
209
- var updateLinkInterpolate = /* @__PURE__ */ __name(function(positions, interpolate) {
210
- positions.forEach(function(pos) {
211
- if (pos === "default") {
212
- edges.defaultInterpolate = interpolate;
213
- } else {
214
- edges[pos].interpolate = interpolate;
215
- }
216
- });
217
- }, "updateLinkInterpolate");
218
- var updateLink = /* @__PURE__ */ __name(function(positions, style) {
219
- positions.forEach(function(pos) {
220
- if (typeof pos === "number" && pos >= edges.length) {
221
- throw new Error(
222
- `The index ${pos} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`
223
- );
224
- }
225
- if (pos === "default") {
226
- edges.defaultStyle = style;
227
- } else {
228
- edges[pos].style = style;
229
- if ((edges[pos]?.style?.length ?? 0) > 0 && !edges[pos]?.style?.some((s) => s?.startsWith("fill"))) {
230
- edges[pos]?.style?.push("fill:none");
231
- }
232
- }
233
- });
234
- }, "updateLink");
235
- var addClass = /* @__PURE__ */ __name(function(ids, style) {
236
- ids.split(",").forEach(function(id) {
237
- let classNode = classes.get(id);
238
- if (classNode === void 0) {
239
- classNode = { id, styles: [], textStyles: [] };
240
- classes.set(id, classNode);
241
- }
242
- if (style !== void 0 && style !== null) {
243
- style.forEach(function(s) {
244
- if (/color/.exec(s)) {
245
- const newStyle = s.replace("fill", "bgFill");
246
- classNode.textStyles.push(newStyle);
247
- }
248
- classNode.styles.push(s);
249
- });
250
- }
251
- });
252
- }, "addClass");
253
- var setDirection = /* @__PURE__ */ __name(function(dir) {
254
- direction = dir;
255
- if (/.*</.exec(direction)) {
256
- direction = "RL";
257
- }
258
- if (/.*\^/.exec(direction)) {
259
- direction = "BT";
260
- }
261
- if (/.*>/.exec(direction)) {
262
- direction = "LR";
263
- }
264
- if (/.*v/.exec(direction)) {
265
- direction = "TB";
266
- }
267
- if (direction === "TD") {
268
- direction = "TB";
269
- }
270
- }, "setDirection");
271
- var setClass = /* @__PURE__ */ __name(function(ids, className) {
272
- for (const id of ids.split(",")) {
273
- const vertex = vertices.get(id);
274
- if (vertex) {
275
- vertex.classes.push(className);
276
- }
277
- const subGraph = subGraphLookup.get(id);
278
- if (subGraph) {
279
- subGraph.classes.push(className);
280
- }
281
- }
282
- }, "setClass");
283
- var setTooltip = /* @__PURE__ */ __name(function(ids, tooltip) {
284
- if (tooltip === void 0) {
285
- return;
286
- }
287
- tooltip = sanitizeText(tooltip);
288
- for (const id of ids.split(",")) {
289
- tooltips.set(version === "gen-1" ? lookUpDomId(id) : id, tooltip);
290
- }
291
- }, "setTooltip");
292
- var setClickFun = /* @__PURE__ */ __name(function(id, functionName, functionArgs) {
293
- const domId = lookUpDomId(id);
294
- if (getConfig2().securityLevel !== "loose") {
295
- return;
296
- }
297
- if (functionName === void 0) {
298
- return;
299
- }
300
- let argList = [];
301
- if (typeof functionArgs === "string") {
302
- argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
303
- for (let i = 0; i < argList.length; i++) {
304
- let item = argList[i].trim();
305
- if (item.startsWith('"') && item.endsWith('"')) {
306
- item = item.substr(1, item.length - 2);
307
- }
308
- argList[i] = item;
309
- }
310
- }
311
- if (argList.length === 0) {
312
- argList.push(id);
313
- }
314
- const vertex = vertices.get(id);
315
- if (vertex) {
316
- vertex.haveCallback = true;
317
- funs.push(function() {
318
- const elem = document.querySelector(`[id="${domId}"]`);
319
- if (elem !== null) {
320
- elem.addEventListener(
321
- "click",
322
- function() {
323
- utils_default.runFunc(functionName, ...argList);
324
- },
325
- false
326
- );
327
- }
328
- });
329
- }
330
- }, "setClickFun");
331
- var setLink = /* @__PURE__ */ __name(function(ids, linkStr, target) {
332
- ids.split(",").forEach(function(id) {
333
- const vertex = vertices.get(id);
334
- if (vertex !== void 0) {
335
- vertex.link = utils_default.formatUrl(linkStr, config);
336
- vertex.linkTarget = target;
337
- }
338
- });
339
- setClass(ids, "clickable");
340
- }, "setLink");
341
- var getTooltip = /* @__PURE__ */ __name(function(id) {
342
- return tooltips.get(id);
343
- }, "getTooltip");
344
- var setClickEvent = /* @__PURE__ */ __name(function(ids, functionName, functionArgs) {
345
- ids.split(",").forEach(function(id) {
346
- setClickFun(id, functionName, functionArgs);
347
- });
348
- setClass(ids, "clickable");
349
- }, "setClickEvent");
350
- var bindFunctions = /* @__PURE__ */ __name(function(element) {
351
- funs.forEach(function(fun) {
352
- fun(element);
353
- });
354
- }, "bindFunctions");
355
- var getDirection = /* @__PURE__ */ __name(function() {
356
- return direction.trim();
357
- }, "getDirection");
358
- var getVertices = /* @__PURE__ */ __name(function() {
359
- return vertices;
360
- }, "getVertices");
361
- var getEdges = /* @__PURE__ */ __name(function() {
362
- return edges;
363
- }, "getEdges");
364
- var getClasses = /* @__PURE__ */ __name(function() {
365
- return classes;
366
- }, "getClasses");
367
- var setupToolTips = /* @__PURE__ */ __name(function(element) {
368
- let tooltipElem = select_default(".mermaidTooltip");
369
- if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
370
- tooltipElem = select_default("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0);
371
- }
372
- const svg = select_default(element).select("svg");
373
- const nodes = svg.selectAll("g.node");
374
- nodes.on("mouseover", function() {
375
- const el = select_default(this);
376
- const title = el.attr("title");
377
- if (title === null) {
378
- return;
379
- }
380
- const rect = this?.getBoundingClientRect();
381
- tooltipElem.transition().duration(200).style("opacity", ".9");
382
- tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.bottom + "px");
383
- tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, "<br/>"));
384
- el.classed("hover", true);
385
- }).on("mouseout", function() {
386
- tooltipElem.transition().duration(500).style("opacity", 0);
387
- const el = select_default(this);
388
- el.classed("hover", false);
389
- });
390
- }, "setupToolTips");
391
- funs.push(setupToolTips);
392
- var clear2 = /* @__PURE__ */ __name(function(ver = "gen-1") {
393
- vertices = /* @__PURE__ */ new Map();
394
- classes = /* @__PURE__ */ new Map();
395
- edges = [];
396
- funs = [setupToolTips];
397
- subGraphs = [];
398
- subGraphLookup = /* @__PURE__ */ new Map();
399
- subCount = 0;
400
- tooltips = /* @__PURE__ */ new Map();
401
- firstGraphFlag = true;
402
- version = ver;
403
- config = getConfig2();
404
- clear();
405
- }, "clear");
406
- var setGen = /* @__PURE__ */ __name((ver) => {
407
- version = ver || "gen-2";
408
- }, "setGen");
409
- var defaultStyle = /* @__PURE__ */ __name(function() {
410
- return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
411
- }, "defaultStyle");
412
- var addSubGraph = /* @__PURE__ */ __name(function(_id, list, _title) {
413
- let id = _id.text.trim();
414
- let title = _title.text;
415
- if (_id === _title && /\s/.exec(_title.text)) {
416
- id = void 0;
417
- }
418
- function uniq(a) {
419
- const prims = { boolean: {}, number: {}, string: {} };
420
- const objs = [];
421
- let dir2;
422
- const nodeList2 = a.filter(function(item) {
423
- const type = typeof item;
424
- if (item.stmt && item.stmt === "dir") {
425
- dir2 = item.value;
426
- return false;
427
- }
428
- if (item.trim() === "") {
429
- return false;
430
- }
431
- if (type in prims) {
432
- return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true;
433
- } else {
434
- return objs.includes(item) ? false : objs.push(item);
435
- }
436
- });
437
- return { nodeList: nodeList2, dir: dir2 };
438
- }
439
- __name(uniq, "uniq");
440
- const { nodeList, dir } = uniq(list.flat());
441
- if (version === "gen-1") {
442
- for (let i = 0; i < nodeList.length; i++) {
443
- nodeList[i] = lookUpDomId(nodeList[i]);
444
- }
445
- }
446
- id = id ?? "subGraph" + subCount;
447
- title = title || "";
448
- title = sanitizeText(title);
449
- subCount = subCount + 1;
450
- const subGraph = {
451
- id,
452
- nodes: nodeList,
453
- title: title.trim(),
454
- classes: [],
455
- dir,
456
- labelType: _title.type
457
- };
458
- log.info("Adding", subGraph.id, subGraph.nodes, subGraph.dir);
459
- subGraph.nodes = makeUniq(subGraph, subGraphs).nodes;
460
- subGraphs.push(subGraph);
461
- subGraphLookup.set(id, subGraph);
462
- return id;
463
- }, "addSubGraph");
464
- var getPosForId = /* @__PURE__ */ __name(function(id) {
465
- for (const [i, subGraph] of subGraphs.entries()) {
466
- if (subGraph.id === id) {
467
- return i;
468
- }
469
- }
470
- return -1;
471
- }, "getPosForId");
472
- var secCount = -1;
473
- var posCrossRef = [];
474
- var indexNodes2 = /* @__PURE__ */ __name(function(id, pos) {
475
- const nodes = subGraphs[pos].nodes;
476
- secCount = secCount + 1;
477
- if (secCount > 2e3) {
478
- return {
479
- result: false,
480
- count: 0
481
- };
482
- }
483
- posCrossRef[secCount] = pos;
484
- if (subGraphs[pos].id === id) {
485
- return {
486
- result: true,
487
- count: 0
488
- };
489
- }
490
- let count = 0;
491
- let posCount = 1;
492
- while (count < nodes.length) {
493
- const childPos = getPosForId(nodes[count]);
494
- if (childPos >= 0) {
495
- const res = indexNodes2(id, childPos);
496
- if (res.result) {
497
- return {
498
- result: true,
499
- count: posCount + res.count
500
- };
501
- } else {
502
- posCount = posCount + res.count;
503
- }
504
- }
505
- count = count + 1;
506
- }
507
- return {
508
- result: false,
509
- count: posCount
510
- };
511
- }, "indexNodes2");
512
- var getDepthFirstPos = /* @__PURE__ */ __name(function(pos) {
513
- return posCrossRef[pos];
514
- }, "getDepthFirstPos");
515
- var indexNodes = /* @__PURE__ */ __name(function() {
516
- secCount = -1;
517
- if (subGraphs.length > 0) {
518
- indexNodes2("none", subGraphs.length - 1);
519
- }
520
- }, "indexNodes");
521
- var getSubGraphs = /* @__PURE__ */ __name(function() {
522
- return subGraphs;
523
- }, "getSubGraphs");
524
- var firstGraph = /* @__PURE__ */ __name(() => {
525
- if (firstGraphFlag) {
526
- firstGraphFlag = false;
527
- return true;
528
- }
529
- return false;
530
- }, "firstGraph");
531
- var destructStartLink = /* @__PURE__ */ __name((_str) => {
532
- let str = _str.trim();
533
- let type = "arrow_open";
534
- switch (str[0]) {
535
- case "<":
536
- type = "arrow_point";
537
- str = str.slice(1);
538
- break;
539
- case "x":
540
- type = "arrow_cross";
541
- str = str.slice(1);
542
- break;
543
- case "o":
544
- type = "arrow_circle";
545
- str = str.slice(1);
546
- break;
547
- }
548
- let stroke = "normal";
549
- if (str.includes("=")) {
550
- stroke = "thick";
551
- }
552
- if (str.includes(".")) {
553
- stroke = "dotted";
554
- }
555
- return { type, stroke };
556
- }, "destructStartLink");
557
- var countChar = /* @__PURE__ */ __name((char, str) => {
558
- const length = str.length;
559
- let count = 0;
560
- for (let i = 0; i < length; ++i) {
561
- if (str[i] === char) {
562
- ++count;
563
- }
564
- }
565
- return count;
566
- }, "countChar");
567
- var destructEndLink = /* @__PURE__ */ __name((_str) => {
568
- const str = _str.trim();
569
- let line = str.slice(0, -1);
570
- let type = "arrow_open";
571
- switch (str.slice(-1)) {
572
- case "x":
573
- type = "arrow_cross";
574
- if (str.startsWith("x")) {
575
- type = "double_" + type;
576
- line = line.slice(1);
577
- }
578
- break;
579
- case ">":
580
- type = "arrow_point";
581
- if (str.startsWith("<")) {
582
- type = "double_" + type;
583
- line = line.slice(1);
584
- }
585
- break;
586
- case "o":
587
- type = "arrow_circle";
588
- if (str.startsWith("o")) {
589
- type = "double_" + type;
590
- line = line.slice(1);
591
- }
592
- break;
593
- }
594
- let stroke = "normal";
595
- let length = line.length - 1;
596
- if (line.startsWith("=")) {
597
- stroke = "thick";
598
- }
599
- if (line.startsWith("~")) {
600
- stroke = "invisible";
601
- }
602
- const dots = countChar(".", line);
603
- if (dots) {
604
- stroke = "dotted";
605
- length = dots;
606
- }
607
- return { type, stroke, length };
608
- }, "destructEndLink");
609
- var destructLink = /* @__PURE__ */ __name((_str, _startStr) => {
610
- const info = destructEndLink(_str);
611
- let startInfo;
612
- if (_startStr) {
613
- startInfo = destructStartLink(_startStr);
614
- if (startInfo.stroke !== info.stroke) {
615
- return { type: "INVALID", stroke: "INVALID" };
616
- }
617
- if (startInfo.type === "arrow_open") {
618
- startInfo.type = info.type;
619
- } else {
620
- if (startInfo.type !== info.type) {
621
- return { type: "INVALID", stroke: "INVALID" };
622
- }
623
- startInfo.type = "double_" + startInfo.type;
624
- }
625
- if (startInfo.type === "double_arrow") {
626
- startInfo.type = "double_arrow_point";
627
- }
628
- startInfo.length = info.length;
629
- return startInfo;
630
- }
631
- return info;
632
- }, "destructLink");
633
- var exists = /* @__PURE__ */ __name((allSgs, _id) => {
634
- for (const sg of allSgs) {
635
- if (sg.nodes.includes(_id)) {
636
- return true;
637
- }
638
- }
639
- return false;
640
- }, "exists");
641
- var makeUniq = /* @__PURE__ */ __name((sg, allSubgraphs) => {
642
- const res = [];
643
- sg.nodes.forEach((_id, pos) => {
644
- if (!exists(allSubgraphs, _id)) {
645
- res.push(sg.nodes[pos]);
646
- }
647
- });
648
- return { nodes: res };
649
- }, "makeUniq");
650
- var lex = {
651
- firstGraph
652
- };
653
- var getTypeFromVertex = /* @__PURE__ */ __name((vertex) => {
654
- if (vertex.img) {
655
- return "imageSquare";
656
- }
657
- if (vertex.icon) {
658
- if (vertex.form === "circle") {
659
- return "iconCircle";
660
- }
661
- if (vertex.form === "square") {
662
- return "iconSquare";
663
- }
664
- if (vertex.form === "rounded") {
665
- return "iconRounded";
666
- }
667
- return "icon";
668
- }
669
- switch (vertex.type) {
670
- case "square":
671
- case void 0:
672
- return "squareRect";
673
- case "round":
674
- return "roundedRect";
675
- case "ellipse":
676
- return "ellipse";
677
- default:
678
- return vertex.type;
679
- }
680
- }, "getTypeFromVertex");
681
- var findNode = /* @__PURE__ */ __name((nodes, id) => nodes.find((node) => node.id === id), "findNode");
682
- var destructEdgeType = /* @__PURE__ */ __name((type) => {
683
- let arrowTypeStart = "none";
684
- let arrowTypeEnd = "arrow_point";
685
- switch (type) {
686
- case "arrow_point":
687
- case "arrow_circle":
688
- case "arrow_cross":
689
- arrowTypeEnd = type;
690
- break;
691
- case "double_arrow_point":
692
- case "double_arrow_circle":
693
- case "double_arrow_cross":
694
- arrowTypeStart = type.replace("double_", "");
695
- arrowTypeEnd = arrowTypeStart;
696
- break;
697
- }
698
- return { arrowTypeStart, arrowTypeEnd };
699
- }, "destructEdgeType");
700
- var addNodeFromVertex = /* @__PURE__ */ __name((vertex, nodes, parentDB, subGraphDB, config2, look) => {
701
- const parentId = parentDB.get(vertex.id);
702
- const isGroup = subGraphDB.get(vertex.id) ?? false;
703
- const node = findNode(nodes, vertex.id);
704
- if (node) {
705
- node.cssStyles = vertex.styles;
706
- node.cssCompiledStyles = getCompiledStyles(vertex.classes);
707
- node.cssClasses = vertex.classes.join(" ");
708
- } else {
709
- const baseNode = {
710
- id: vertex.id,
711
- label: vertex.text,
712
- labelStyle: "",
713
- parentId,
714
- padding: config2.flowchart?.padding || 8,
715
- cssStyles: vertex.styles,
716
- cssCompiledStyles: getCompiledStyles(["default", "node", ...vertex.classes]),
717
- cssClasses: "default " + vertex.classes.join(" "),
718
- dir: vertex.dir,
719
- domId: vertex.domId,
720
- look,
721
- link: vertex.link,
722
- linkTarget: vertex.linkTarget,
723
- tooltip: getTooltip(vertex.id),
724
- icon: vertex.icon,
725
- pos: vertex.pos,
726
- img: vertex.img,
727
- assetWidth: vertex.assetWidth,
728
- assetHeight: vertex.assetHeight,
729
- constraint: vertex.constraint
730
- };
731
- if (isGroup) {
732
- nodes.push({
733
- ...baseNode,
734
- isGroup: true,
735
- shape: "rect"
736
- });
737
- } else {
738
- nodes.push({
739
- ...baseNode,
740
- isGroup: false,
741
- shape: getTypeFromVertex(vertex)
742
- });
743
- }
744
- }
745
- }, "addNodeFromVertex");
746
- function getCompiledStyles(classDefs) {
747
- let compiledStyles = [];
748
- for (const customClass of classDefs) {
749
- const cssClass = classes.get(customClass);
750
- if (cssClass?.styles) {
751
- compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
752
- }
753
- if (cssClass?.textStyles) {
754
- compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
755
- }
756
- }
757
- return compiledStyles;
758
- }
759
- __name(getCompiledStyles, "getCompiledStyles");
760
- var getData = /* @__PURE__ */ __name(() => {
761
- const config2 = getConfig2();
762
- const nodes = [];
763
- const edges2 = [];
764
- const subGraphs2 = getSubGraphs();
765
- const parentDB = /* @__PURE__ */ new Map();
766
- const subGraphDB = /* @__PURE__ */ new Map();
767
- for (let i = subGraphs2.length - 1; i >= 0; i--) {
768
- const subGraph = subGraphs2[i];
769
- if (subGraph.nodes.length > 0) {
770
- subGraphDB.set(subGraph.id, true);
771
- }
772
- for (const id of subGraph.nodes) {
773
- parentDB.set(id, subGraph.id);
774
- }
775
- }
776
- for (let i = subGraphs2.length - 1; i >= 0; i--) {
777
- const subGraph = subGraphs2[i];
778
- nodes.push({
779
- id: subGraph.id,
780
- label: subGraph.title,
781
- labelStyle: "",
782
- parentId: parentDB.get(subGraph.id),
783
- padding: 8,
784
- cssCompiledStyles: getCompiledStyles(subGraph.classes),
785
- cssClasses: subGraph.classes.join(" "),
786
- shape: "rect",
787
- dir: subGraph.dir,
788
- isGroup: true,
789
- look: config2.look
790
- });
791
- }
792
- const n = getVertices();
793
- n.forEach((vertex) => {
794
- addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config2, config2.look || "classic");
795
- });
796
- const e = getEdges();
797
- e.forEach((rawEdge, index) => {
798
- const { arrowTypeStart, arrowTypeEnd } = destructEdgeType(rawEdge.type);
799
- const styles = [...e.defaultStyle ?? []];
800
- if (rawEdge.style) {
801
- styles.push(...rawEdge.style);
802
- }
803
- const edge = {
804
- id: getEdgeId(rawEdge.start, rawEdge.end, { counter: index, prefix: "L" }),
805
- start: rawEdge.start,
806
- end: rawEdge.end,
807
- type: rawEdge.type ?? "normal",
808
- label: rawEdge.text,
809
- labelpos: "c",
810
- thickness: rawEdge.stroke,
811
- minlen: rawEdge.length,
812
- classes: rawEdge?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
813
- arrowTypeStart: rawEdge?.stroke === "invisible" ? "none" : arrowTypeStart,
814
- arrowTypeEnd: rawEdge?.stroke === "invisible" ? "none" : arrowTypeEnd,
815
- arrowheadStyle: "fill: #333",
816
- labelStyle: styles,
817
- style: styles,
818
- pattern: rawEdge.stroke,
819
- look: config2.look
820
- };
821
- edges2.push(edge);
822
- });
823
- return { nodes, edges: edges2, other: {}, config: config2 };
824
- }, "getData");
825
- var flowDb_default = {
826
- defaultConfig: /* @__PURE__ */ __name(() => defaultConfig2.flowchart, "defaultConfig"),
827
- setAccTitle,
828
- getAccTitle,
829
- getAccDescription,
830
- getData,
831
- setAccDescription,
832
- addVertex,
833
- lookUpDomId,
834
- addLink,
835
- updateLinkInterpolate,
836
- updateLink,
837
- addClass,
838
- setDirection,
839
- setClass,
840
- setTooltip,
841
- getTooltip,
842
- setClickEvent,
843
- setLink,
844
- bindFunctions,
845
- getDirection,
846
- getVertices,
847
- getEdges,
848
- getClasses,
849
- clear: clear2,
850
- setGen,
851
- defaultStyle,
852
- addSubGraph,
853
- getDepthFirstPos,
854
- indexNodes,
855
- getSubGraphs,
856
- destructLink,
857
- lex,
858
- exists,
859
- makeUniq,
860
- setDiagramTitle,
861
- getDiagramTitle
862
- };
863
- var getClasses2 = /* @__PURE__ */ __name(function(text, diagramObj) {
864
- return diagramObj.db.getClasses();
865
- }, "getClasses");
866
- var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
867
- log.info("REF0:");
868
- log.info("Drawing state diagram (v2)", id);
869
- const { securityLevel, flowchart: conf, layout } = getConfig2();
870
- let sandboxElement;
871
- if (securityLevel === "sandbox") {
872
- sandboxElement = select_default("#i" + id);
873
- }
874
- const doc = securityLevel === "sandbox" ? sandboxElement.nodes()[0].contentDocument : document;
875
- log.debug("Before getData: ");
876
- const data4Layout = diag.db.getData();
877
- log.debug("Data: ", data4Layout);
878
- const svg = getDiagramElement(id, securityLevel);
879
- const direction2 = getDirection();
880
- data4Layout.type = diag.type;
881
- data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
882
- if (data4Layout.layoutAlgorithm === "dagre" && layout === "elk") {
883
- log.warn(
884
- "flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."
885
- );
886
- }
887
- data4Layout.direction = direction2;
888
- data4Layout.nodeSpacing = conf?.nodeSpacing || 50;
889
- data4Layout.rankSpacing = conf?.rankSpacing || 50;
890
- data4Layout.markers = ["point", "circle", "cross"];
891
- data4Layout.diagramId = id;
892
- log.debug("REF1:", data4Layout);
893
- await render(data4Layout, svg);
894
- const padding = data4Layout.config.flowchart?.diagramPadding ?? 8;
895
- utils_default.insertTitle(
896
- svg,
897
- "flowchartTitleText",
898
- conf?.titleTopMargin || 0,
899
- diag.db.getDiagramTitle()
900
- );
901
- setupViewPortForSVG(svg, padding, "flowchart", conf?.useMaxWidth || false);
902
- for (const vertex of data4Layout.nodes) {
903
- const node = select_default(`#${id} [id="${vertex.id}"]`);
904
- if (!node || !vertex.link) {
905
- continue;
906
- }
907
- const link = doc.createElementNS("http://www.w3.org/2000/svg", "a");
908
- link.setAttributeNS("http://www.w3.org/2000/svg", "class", vertex.cssClasses);
909
- link.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener");
910
- if (securityLevel === "sandbox") {
911
- link.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top");
912
- } else if (vertex.linkTarget) {
913
- link.setAttributeNS("http://www.w3.org/2000/svg", "target", vertex.linkTarget);
914
- }
915
- const linkNode = node.insert(function() {
916
- return link;
917
- }, ":first-child");
918
- const shape = node.select(".label-container");
919
- if (shape) {
920
- linkNode.append(function() {
921
- return shape.node();
922
- });
923
- }
924
- const label = node.select(".label");
925
- if (label) {
926
- linkNode.append(function() {
927
- return label.node();
928
- });
929
- }
930
- }
931
- }, "draw");
932
- var flowRenderer_v3_unified_default = {
933
- getClasses: getClasses2,
934
- draw
935
- };
936
- var parser = function() {
937
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
938
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)
939
- ;
940
- return o2;
941
- }, "o"), $V0 = [1, 4], $V1 = [1, 3], $V2 = [1, 5], $V3 = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 83, 84, 85, 86, 87, 88, 101, 104, 105, 108, 110, 113, 114, 115, 120, 121, 122, 123], $V4 = [2, 2], $V5 = [1, 13], $V6 = [1, 14], $V7 = [1, 15], $V8 = [1, 16], $V9 = [1, 23], $Va = [1, 25], $Vb = [1, 26], $Vc = [1, 27], $Vd = [1, 49], $Ve = [1, 48], $Vf = [1, 29], $Vg = [1, 30], $Vh = [1, 31], $Vi = [1, 32], $Vj = [1, 33], $Vk = [1, 44], $Vl = [1, 46], $Vm = [1, 42], $Vn = [1, 47], $Vo = [1, 43], $Vp = [1, 50], $Vq = [1, 45], $Vr = [1, 51], $Vs = [1, 52], $Vt = [1, 34], $Vu = [1, 35], $Vv = [1, 36], $Vw = [1, 37], $Vx = [1, 57], $Vy = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 83, 84, 85, 86, 87, 88, 101, 104, 105, 108, 110, 113, 114, 115, 120, 121, 122, 123], $Vz = [1, 61], $VA = [1, 60], $VB = [1, 62], $VC = [8, 9, 11, 75, 77], $VD = [1, 77], $VE = [1, 90], $VF = [1, 95], $VG = [1, 94], $VH = [1, 91], $VI = [1, 87], $VJ = [1, 93], $VK = [1, 89], $VL = [1, 96], $VM = [1, 92], $VN = [1, 97], $VO = [1, 88], $VP = [8, 9, 10, 11, 40, 75, 77], $VQ = [8, 9, 10, 11, 40, 46, 75, 77], $VR = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 88, 101, 104, 105, 108, 110, 113, 114, 115], $VS = [8, 9, 11, 44, 60, 75, 77, 88, 101, 104, 105, 108, 110, 113, 114, 115], $VT = [44, 60, 88, 101, 104, 105, 108, 110, 113, 114, 115], $VU = [1, 123], $VV = [1, 122], $VW = [1, 130], $VX = [1, 144], $VY = [1, 145], $VZ = [1, 146], $V_ = [1, 147], $V$ = [1, 132], $V01 = [1, 134], $V11 = [1, 138], $V21 = [1, 139], $V31 = [1, 140], $V41 = [1, 141], $V51 = [1, 142], $V61 = [1, 143], $V71 = [1, 148], $V81 = [1, 149], $V91 = [1, 128], $Va1 = [1, 129], $Vb1 = [1, 136], $Vc1 = [1, 131], $Vd1 = [1, 135], $Ve1 = [1, 133], $Vf1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 83, 84, 85, 86, 87, 88, 101, 104, 105, 108, 110, 113, 114, 115, 120, 121, 122, 123], $Vg1 = [1, 151], $Vh1 = [1, 153], $Vi1 = [8, 9, 11], $Vj1 = [8, 9, 10, 11, 14, 44, 60, 88, 104, 105, 108, 110, 113, 114, 115], $Vk1 = [1, 173], $Vl1 = [1, 169], $Vm1 = [1, 170], $Vn1 = [1, 174], $Vo1 = [1, 171], $Vp1 = [1, 172], $Vq1 = [77, 115, 118], $Vr1 = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 83, 84, 85, 86, 87, 88, 89, 104, 108, 110, 113, 114, 115], $Vs1 = [10, 105], $Vt1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 115, 116, 117], $Vu1 = [1, 242], $Vv1 = [1, 240], $Vw1 = [1, 244], $Vx1 = [1, 238], $Vy1 = [1, 239], $Vz1 = [1, 241], $VA1 = [1, 243], $VB1 = [1, 245], $VC1 = [1, 263], $VD1 = [8, 9, 11, 105], $VE1 = [8, 9, 10, 11, 60, 83, 104, 105, 108, 109, 110, 111];
942
- var parser2 = {
943
- trace: /* @__PURE__ */ __name(function trace() {
944
- }, "trace"),
945
- yy: {},
946
- symbols_: { "error": 2, "start": 3, "graphConfig": 4, "document": 5, "line": 6, "statement": 7, "SEMI": 8, "NEWLINE": 9, "SPACE": 10, "EOF": 11, "GRAPH": 12, "NODIR": 13, "DIR": 14, "FirstStmtSeparator": 15, "ending": 16, "endToken": 17, "spaceList": 18, "spaceListNewline": 19, "vertexStatement": 20, "separator": 21, "styleStatement": 22, "linkStyleStatement": 23, "classDefStatement": 24, "classStatement": 25, "clickStatement": 26, "subgraph": 27, "textNoTags": 28, "SQS": 29, "text": 30, "SQE": 31, "end": 32, "direction": 33, "acc_title": 34, "acc_title_value": 35, "acc_descr": 36, "acc_descr_value": 37, "acc_descr_multiline_value": 38, "shapeData": 39, "SHAPE_DATA": 40, "link": 41, "node": 42, "styledVertex": 43, "AMP": 44, "vertex": 45, "STYLE_SEPARATOR": 46, "idString": 47, "DOUBLECIRCLESTART": 48, "DOUBLECIRCLEEND": 49, "PS": 50, "PE": 51, "(-": 52, "-)": 53, "STADIUMSTART": 54, "STADIUMEND": 55, "SUBROUTINESTART": 56, "SUBROUTINEEND": 57, "VERTEX_WITH_PROPS_START": 58, "NODE_STRING[field]": 59, "COLON": 60, "NODE_STRING[value]": 61, "PIPE": 62, "CYLINDERSTART": 63, "CYLINDEREND": 64, "DIAMOND_START": 65, "DIAMOND_STOP": 66, "TAGEND": 67, "TRAPSTART": 68, "TRAPEND": 69, "INVTRAPSTART": 70, "INVTRAPEND": 71, "linkStatement": 72, "arrowText": 73, "TESTSTR": 74, "START_LINK": 75, "edgeText": 76, "LINK": 77, "edgeTextToken": 78, "STR": 79, "MD_STR": 80, "textToken": 81, "keywords": 82, "STYLE": 83, "LINKSTYLE": 84, "CLASSDEF": 85, "CLASS": 86, "CLICK": 87, "DOWN": 88, "UP": 89, "textNoTagsToken": 90, "stylesOpt": 91, "idString[vertex]": 92, "idString[class]": 93, "CALLBACKNAME": 94, "CALLBACKARGS": 95, "HREF": 96, "LINK_TARGET": 97, "STR[link]": 98, "STR[tooltip]": 99, "alphaNum": 100, "DEFAULT": 101, "numList": 102, "INTERPOLATE": 103, "NUM": 104, "COMMA": 105, "style": 106, "styleComponent": 107, "NODE_STRING": 108, "UNIT": 109, "BRKT": 110, "PCT": 111, "idStringToken": 112, "MINUS": 113, "MULT": 114, "UNICODE_TEXT": 115, "TEXT": 116, "TAGSTART": 117, "EDGE_TEXT": 118, "alphaNumToken": 119, "direction_tb": 120, "direction_bt": 121, "direction_rl": 122, "direction_lr": 123, "$accept": 0, "$end": 1 },
947
- terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 40: "SHAPE_DATA", 44: "AMP", 46: "STYLE_SEPARATOR", 48: "DOUBLECIRCLESTART", 49: "DOUBLECIRCLEEND", 50: "PS", 51: "PE", 52: "(-", 53: "-)", 54: "STADIUMSTART", 55: "STADIUMEND", 56: "SUBROUTINESTART", 57: "SUBROUTINEEND", 58: "VERTEX_WITH_PROPS_START", 59: "NODE_STRING[field]", 60: "COLON", 61: "NODE_STRING[value]", 62: "PIPE", 63: "CYLINDERSTART", 64: "CYLINDEREND", 65: "DIAMOND_START", 66: "DIAMOND_STOP", 67: "TAGEND", 68: "TRAPSTART", 69: "TRAPEND", 70: "INVTRAPSTART", 71: "INVTRAPEND", 74: "TESTSTR", 75: "START_LINK", 77: "LINK", 79: "STR", 80: "MD_STR", 83: "STYLE", 84: "LINKSTYLE", 85: "CLASSDEF", 86: "CLASS", 87: "CLICK", 88: "DOWN", 89: "UP", 92: "idString[vertex]", 93: "idString[class]", 94: "CALLBACKNAME", 95: "CALLBACKARGS", 96: "HREF", 97: "LINK_TARGET", 98: "STR[link]", 99: "STR[tooltip]", 101: "DEFAULT", 103: "INTERPOLATE", 104: "NUM", 105: "COMMA", 108: "NODE_STRING", 109: "UNIT", 110: "BRKT", 111: "PCT", 113: "MINUS", 114: "MULT", 115: "UNICODE_TEXT", 116: "TEXT", 117: "TAGSTART", 118: "EDGE_TEXT", 120: "direction_tb", 121: "direction_bt", 122: "direction_rl", 123: "direction_lr" },
948
- productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [39, 2], [39, 1], [20, 4], [20, 3], [20, 4], [20, 2], [20, 2], [20, 1], [42, 1], [42, 6], [42, 5], [43, 1], [43, 3], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 8], [45, 4], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 4], [45, 4], [45, 1], [41, 2], [41, 3], [41, 3], [41, 1], [41, 3], [76, 1], [76, 2], [76, 1], [76, 1], [72, 1], [73, 3], [30, 1], [30, 2], [30, 1], [30, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [82, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [102, 1], [102, 3], [91, 1], [91, 3], [106, 1], [106, 2], [107, 1], [107, 1], [107, 1], [107, 1], [107, 1], [107, 1], [107, 1], [107, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [112, 1], [81, 1], [81, 1], [81, 1], [81, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [90, 1], [78, 1], [78, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [119, 1], [47, 1], [47, 2], [100, 1], [100, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
949
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
950
- var $0 = $$.length - 1;
951
- switch (yystate) {
952
- case 2:
953
- this.$ = [];
954
- break;
955
- case 3:
956
- if (!Array.isArray($$[$0]) || $$[$0].length > 0) {
957
- $$[$0 - 1].push($$[$0]);
958
- }
959
- this.$ = $$[$0 - 1];
960
- break;
961
- case 4:
962
- case 181:
963
- this.$ = $$[$0];
964
- break;
965
- case 11:
966
- yy.setDirection("TB");
967
- this.$ = "TB";
968
- break;
969
- case 12:
970
- yy.setDirection($$[$0 - 1]);
971
- this.$ = $$[$0 - 1];
972
- break;
973
- case 27:
974
- this.$ = $$[$0 - 1].nodes;
975
- break;
976
- case 28:
977
- case 29:
978
- case 30:
979
- case 31:
980
- case 32:
981
- this.$ = [];
982
- break;
983
- case 33:
984
- this.$ = yy.addSubGraph($$[$0 - 6], $$[$0 - 1], $$[$0 - 4]);
985
- break;
986
- case 34:
987
- this.$ = yy.addSubGraph($$[$0 - 3], $$[$0 - 1], $$[$0 - 3]);
988
- break;
989
- case 35:
990
- this.$ = yy.addSubGraph(void 0, $$[$0 - 1], void 0);
991
- break;
992
- case 37:
993
- this.$ = $$[$0].trim();
994
- yy.setAccTitle(this.$);
995
- break;
996
- case 38:
997
- case 39:
998
- this.$ = $$[$0].trim();
999
- yy.setAccDescription(this.$);
1000
- break;
1001
- case 43:
1002
- this.$ = $$[$0 - 1] + $$[$0];
1003
- break;
1004
- case 44:
1005
- this.$ = $$[$0];
1006
- break;
1007
- case 45:
1008
- yy.addVertex($$[$0 - 1][0], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1009
- yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1010
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1].concat($$[$0 - 3].nodes) };
1011
- break;
1012
- case 46:
1013
- yy.addLink($$[$0 - 2].stmt, $$[$0], $$[$0 - 1]);
1014
- this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0 - 2].nodes) };
1015
- break;
1016
- case 47:
1017
- yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1018
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1].concat($$[$0 - 3].nodes) };
1019
- break;
1020
- case 48:
1021
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1] };
1022
- break;
1023
- case 49:
1024
- yy.addVertex($$[$0 - 1][0], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1025
- this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1], shapeData: $$[$0] };
1026
- break;
1027
- case 50:
1028
- this.$ = { stmt: $$[$0], nodes: $$[$0] };
1029
- break;
1030
- case 51:
1031
- this.$ = [$$[$0]];
1032
- break;
1033
- case 52:
1034
- yy.addVertex($$[$0 - 5][0], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0 - 4]);
1035
- this.$ = $$[$0 - 5].concat($$[$0]);
1036
- break;
1037
- case 53:
1038
- this.$ = $$[$0 - 4].concat($$[$0]);
1039
- break;
1040
- case 54:
1041
- this.$ = $$[$0];
1042
- break;
1043
- case 55:
1044
- this.$ = $$[$0 - 2];
1045
- yy.setClass($$[$0 - 2], $$[$0]);
1046
- break;
1047
- case 56:
1048
- this.$ = $$[$0 - 3];
1049
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "square");
1050
- break;
1051
- case 57:
1052
- this.$ = $$[$0 - 3];
1053
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "doublecircle");
1054
- break;
1055
- case 58:
1056
- this.$ = $$[$0 - 5];
1057
- yy.addVertex($$[$0 - 5], $$[$0 - 2], "circle");
1058
- break;
1059
- case 59:
1060
- this.$ = $$[$0 - 3];
1061
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "ellipse");
1062
- break;
1063
- case 60:
1064
- this.$ = $$[$0 - 3];
1065
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "stadium");
1066
- break;
1067
- case 61:
1068
- this.$ = $$[$0 - 3];
1069
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "subroutine");
1070
- break;
1071
- case 62:
1072
- this.$ = $$[$0 - 7];
1073
- yy.addVertex($$[$0 - 7], $$[$0 - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[$$[$0 - 5], $$[$0 - 3]]]));
1074
- break;
1075
- case 63:
1076
- this.$ = $$[$0 - 3];
1077
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "cylinder");
1078
- break;
1079
- case 64:
1080
- this.$ = $$[$0 - 3];
1081
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "round");
1082
- break;
1083
- case 65:
1084
- this.$ = $$[$0 - 3];
1085
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "diamond");
1086
- break;
1087
- case 66:
1088
- this.$ = $$[$0 - 5];
1089
- yy.addVertex($$[$0 - 5], $$[$0 - 2], "hexagon");
1090
- break;
1091
- case 67:
1092
- this.$ = $$[$0 - 3];
1093
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "odd");
1094
- break;
1095
- case 68:
1096
- this.$ = $$[$0 - 3];
1097
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "trapezoid");
1098
- break;
1099
- case 69:
1100
- this.$ = $$[$0 - 3];
1101
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "inv_trapezoid");
1102
- break;
1103
- case 70:
1104
- this.$ = $$[$0 - 3];
1105
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_right");
1106
- break;
1107
- case 71:
1108
- this.$ = $$[$0 - 3];
1109
- yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_left");
1110
- break;
1111
- case 72:
1112
- this.$ = $$[$0];
1113
- yy.addVertex($$[$0]);
1114
- break;
1115
- case 73:
1116
- $$[$0 - 1].text = $$[$0];
1117
- this.$ = $$[$0 - 1];
1118
- break;
1119
- case 74:
1120
- case 75:
1121
- $$[$0 - 2].text = $$[$0 - 1];
1122
- this.$ = $$[$0 - 2];
1123
- break;
1124
- case 76:
1125
- this.$ = $$[$0];
1126
- break;
1127
- case 77:
1128
- var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1129
- this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "text": $$[$0 - 1] };
1130
- break;
1131
- case 78:
1132
- this.$ = { text: $$[$0], type: "text" };
1133
- break;
1134
- case 79:
1135
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1136
- break;
1137
- case 80:
1138
- this.$ = { text: $$[$0], type: "string" };
1139
- break;
1140
- case 81:
1141
- this.$ = { text: $$[$0], type: "markdown" };
1142
- break;
1143
- case 82:
1144
- var inf = yy.destructLink($$[$0]);
1145
- this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length };
1146
- break;
1147
- case 83:
1148
- this.$ = $$[$0 - 1];
1149
- break;
1150
- case 84:
1151
- this.$ = { text: $$[$0], type: "text" };
1152
- break;
1153
- case 85:
1154
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1155
- break;
1156
- case 86:
1157
- this.$ = { text: $$[$0], type: "string" };
1158
- break;
1159
- case 87:
1160
- case 102:
1161
- this.$ = { text: $$[$0], type: "markdown" };
1162
- break;
1163
- case 99:
1164
- this.$ = { text: $$[$0], type: "text" };
1165
- break;
1166
- case 100:
1167
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1168
- break;
1169
- case 101:
1170
- this.$ = { text: $$[$0], type: "text" };
1171
- break;
1172
- case 103:
1173
- this.$ = $$[$0 - 4];
1174
- yy.addClass($$[$0 - 2], $$[$0]);
1175
- break;
1176
- case 104:
1177
- this.$ = $$[$0 - 4];
1178
- yy.setClass($$[$0 - 2], $$[$0]);
1179
- break;
1180
- case 105:
1181
- case 113:
1182
- this.$ = $$[$0 - 1];
1183
- yy.setClickEvent($$[$0 - 1], $$[$0]);
1184
- break;
1185
- case 106:
1186
- case 114:
1187
- this.$ = $$[$0 - 3];
1188
- yy.setClickEvent($$[$0 - 3], $$[$0 - 2]);
1189
- yy.setTooltip($$[$0 - 3], $$[$0]);
1190
- break;
1191
- case 107:
1192
- this.$ = $$[$0 - 2];
1193
- yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
1194
- break;
1195
- case 108:
1196
- this.$ = $$[$0 - 4];
1197
- yy.setClickEvent($$[$0 - 4], $$[$0 - 3], $$[$0 - 2]);
1198
- yy.setTooltip($$[$0 - 4], $$[$0]);
1199
- break;
1200
- case 109:
1201
- this.$ = $$[$0 - 2];
1202
- yy.setLink($$[$0 - 2], $$[$0]);
1203
- break;
1204
- case 110:
1205
- this.$ = $$[$0 - 4];
1206
- yy.setLink($$[$0 - 4], $$[$0 - 2]);
1207
- yy.setTooltip($$[$0 - 4], $$[$0]);
1208
- break;
1209
- case 111:
1210
- this.$ = $$[$0 - 4];
1211
- yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
1212
- break;
1213
- case 112:
1214
- this.$ = $$[$0 - 6];
1215
- yy.setLink($$[$0 - 6], $$[$0 - 4], $$[$0]);
1216
- yy.setTooltip($$[$0 - 6], $$[$0 - 2]);
1217
- break;
1218
- case 115:
1219
- this.$ = $$[$0 - 1];
1220
- yy.setLink($$[$0 - 1], $$[$0]);
1221
- break;
1222
- case 116:
1223
- this.$ = $$[$0 - 3];
1224
- yy.setLink($$[$0 - 3], $$[$0 - 2]);
1225
- yy.setTooltip($$[$0 - 3], $$[$0]);
1226
- break;
1227
- case 117:
1228
- this.$ = $$[$0 - 3];
1229
- yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
1230
- break;
1231
- case 118:
1232
- this.$ = $$[$0 - 5];
1233
- yy.setLink($$[$0 - 5], $$[$0 - 4], $$[$0]);
1234
- yy.setTooltip($$[$0 - 5], $$[$0 - 2]);
1235
- break;
1236
- case 119:
1237
- this.$ = $$[$0 - 4];
1238
- yy.addVertex($$[$0 - 2], void 0, void 0, $$[$0]);
1239
- break;
1240
- case 120:
1241
- this.$ = $$[$0 - 4];
1242
- yy.updateLink([$$[$0 - 2]], $$[$0]);
1243
- break;
1244
- case 121:
1245
- this.$ = $$[$0 - 4];
1246
- yy.updateLink($$[$0 - 2], $$[$0]);
1247
- break;
1248
- case 122:
1249
- this.$ = $$[$0 - 8];
1250
- yy.updateLinkInterpolate([$$[$0 - 6]], $$[$0 - 2]);
1251
- yy.updateLink([$$[$0 - 6]], $$[$0]);
1252
- break;
1253
- case 123:
1254
- this.$ = $$[$0 - 8];
1255
- yy.updateLinkInterpolate($$[$0 - 6], $$[$0 - 2]);
1256
- yy.updateLink($$[$0 - 6], $$[$0]);
1257
- break;
1258
- case 124:
1259
- this.$ = $$[$0 - 6];
1260
- yy.updateLinkInterpolate([$$[$0 - 4]], $$[$0]);
1261
- break;
1262
- case 125:
1263
- this.$ = $$[$0 - 6];
1264
- yy.updateLinkInterpolate($$[$0 - 4], $$[$0]);
1265
- break;
1266
- case 126:
1267
- case 128:
1268
- this.$ = [$$[$0]];
1269
- break;
1270
- case 127:
1271
- case 129:
1272
- $$[$0 - 2].push($$[$0]);
1273
- this.$ = $$[$0 - 2];
1274
- break;
1275
- case 131:
1276
- this.$ = $$[$0 - 1] + $$[$0];
1277
- break;
1278
- case 179:
1279
- this.$ = $$[$0];
1280
- break;
1281
- case 180:
1282
- this.$ = $$[$0 - 1] + "" + $$[$0];
1283
- break;
1284
- case 182:
1285
- this.$ = $$[$0 - 1] + "" + $$[$0];
1286
- break;
1287
- case 183:
1288
- this.$ = { stmt: "dir", value: "TB" };
1289
- break;
1290
- case 184:
1291
- this.$ = { stmt: "dir", value: "BT" };
1292
- break;
1293
- case 185:
1294
- this.$ = { stmt: "dir", value: "RL" };
1295
- break;
1296
- case 186:
1297
- this.$ = { stmt: "dir", value: "LR" };
1298
- break;
1299
- }
1300
- }, "anonymous"),
1301
- table: [{ 3: 1, 4: 2, 9: $V0, 10: $V1, 12: $V2 }, { 1: [3] }, o($V3, $V4, { 5: 6 }), { 4: 7, 9: $V0, 10: $V1, 12: $V2 }, { 4: 8, 9: $V0, 10: $V1, 12: $V2 }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 83: $Vf, 84: $Vg, 85: $Vh, 86: $Vi, 87: $Vj, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs, 120: $Vt, 121: $Vu, 122: $Vv, 123: $Vw }, o($V3, [2, 9]), o($V3, [2, 10]), o($V3, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: $Vx, 15: 53, 18: 56 }, o($Vy, [2, 3]), o($Vy, [2, 4]), o($Vy, [2, 5]), o($Vy, [2, 6]), o($Vy, [2, 7]), o($Vy, [2, 8]), { 8: $Vz, 9: $VA, 11: $VB, 21: 58, 41: 59, 72: 63, 75: [1, 64], 77: [1, 65] }, { 8: $Vz, 9: $VA, 11: $VB, 21: 66 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 67 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 68 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 69 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 70 }, { 8: $Vz, 9: $VA, 10: [1, 71], 11: $VB, 21: 72 }, o($Vy, [2, 36]), { 35: [1, 73] }, { 37: [1, 74] }, o($Vy, [2, 39]), o($VC, [2, 50], { 18: 75, 39: 76, 10: $Vx, 40: $VD }), { 10: [1, 78] }, { 10: [1, 79] }, { 10: [1, 80] }, { 10: [1, 81] }, { 14: $VE, 44: $VF, 60: $VG, 79: [1, 85], 88: $VH, 94: [1, 82], 96: [1, 83], 100: 84, 104: $VI, 105: $VJ, 108: $VK, 110: $VL, 113: $VM, 114: $VN, 115: $VO, 119: 86 }, o($Vy, [2, 183]), o($Vy, [2, 184]), o($Vy, [2, 185]), o($Vy, [2, 186]), o($VP, [2, 51]), o($VP, [2, 54], { 46: [1, 98] }), o($VQ, [2, 72], { 112: 111, 29: [1, 99], 44: $Vd, 48: [1, 100], 50: [1, 101], 52: [1, 102], 54: [1, 103], 56: [1, 104], 58: [1, 105], 60: $Ve, 63: [1, 106], 65: [1, 107], 67: [1, 108], 68: [1, 109], 70: [1, 110], 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 113: $Vq, 114: $Vr, 115: $Vs }), o($VR, [2, 179]), o($VR, [2, 140]), o($VR, [2, 141]), o($VR, [2, 142]), o($VR, [2, 143]), o($VR, [2, 144]), o($VR, [2, 145]), o($VR, [2, 146]), o($VR, [2, 147]), o($VR, [2, 148]), o($VR, [2, 149]), o($VR, [2, 150]), o($V3, [2, 12]), o($V3, [2, 18]), o($V3, [2, 19]), { 9: [1, 112] }, o($VS, [2, 26], { 18: 113, 10: $Vx }), o($Vy, [2, 27]), { 42: 114, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, o($Vy, [2, 40]), o($Vy, [2, 41]), o($Vy, [2, 42]), o($VT, [2, 76], { 73: 115, 62: [1, 117], 74: [1, 116] }), { 76: 118, 78: 119, 79: [1, 120], 80: [1, 121], 115: $VU, 118: $VV }, o([44, 60, 62, 74, 88, 101, 104, 105, 108, 110, 113, 114, 115], [2, 82]), o($Vy, [2, 28]), o($Vy, [2, 29]), o($Vy, [2, 30]), o($Vy, [2, 31]), o($Vy, [2, 32]), { 10: $VW, 12: $VX, 14: $VY, 27: $VZ, 28: 124, 32: $V_, 44: $V$, 60: $V01, 75: $V11, 79: [1, 126], 80: [1, 127], 82: 137, 83: $V21, 84: $V31, 85: $V41, 86: $V51, 87: $V61, 88: $V71, 89: $V81, 90: 125, 104: $V91, 108: $Va1, 110: $Vb1, 113: $Vc1, 114: $Vd1, 115: $Ve1 }, o($Vf1, $V4, { 5: 150 }), o($Vy, [2, 37]), o($Vy, [2, 38]), o($VC, [2, 48], { 44: $Vg1 }), o($VC, [2, 49], { 18: 152, 10: $Vx, 40: $Vh1 }), o($VP, [2, 44]), { 44: $Vd, 47: 154, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, { 101: [1, 155], 102: 156, 104: [1, 157] }, { 44: $Vd, 47: 158, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, { 44: $Vd, 47: 159, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, o($Vi1, [2, 105], { 10: [1, 160], 95: [1, 161] }), { 79: [1, 162] }, o($Vi1, [2, 113], { 119: 164, 10: [1, 163], 14: $VE, 44: $VF, 60: $VG, 88: $VH, 104: $VI, 105: $VJ, 108: $VK, 110: $VL, 113: $VM, 114: $VN, 115: $VO }), o($Vi1, [2, 115], { 10: [1, 165] }), o($Vj1, [2, 181]), o($Vj1, [2, 168]), o($Vj1, [2, 169]), o($Vj1, [2, 170]), o($Vj1, [2, 171]), o($Vj1, [2, 172]), o($Vj1, [2, 173]), o($Vj1, [2, 174]), o($Vj1, [2, 175]), o($Vj1, [2, 176]), o($Vj1, [2, 177]), o($Vj1, [2, 178]), { 44: $Vd, 47: 166, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, { 30: 167, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 175, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 177, 50: [1, 176], 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 178, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 179, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 180, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 108: [1, 181] }, { 30: 182, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 183, 65: [1, 184], 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 185, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 186, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 187, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($VR, [2, 180]), o($V3, [2, 20]), o($VS, [2, 25]), o($VC, [2, 46], { 39: 188, 18: 189, 10: $Vx, 40: $VD }), o($VT, [2, 73], { 10: [1, 190] }), { 10: [1, 191] }, { 30: 192, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 77: [1, 193], 78: 194, 115: $VU, 118: $VV }, o($Vq1, [2, 78]), o($Vq1, [2, 80]), o($Vq1, [2, 81]), o($Vq1, [2, 166]), o($Vq1, [2, 167]), { 8: $Vz, 9: $VA, 10: $VW, 11: $VB, 12: $VX, 14: $VY, 21: 196, 27: $VZ, 29: [1, 195], 32: $V_, 44: $V$, 60: $V01, 75: $V11, 82: 137, 83: $V21, 84: $V31, 85: $V41, 86: $V51, 87: $V61, 88: $V71, 89: $V81, 90: 197, 104: $V91, 108: $Va1, 110: $Vb1, 113: $Vc1, 114: $Vd1, 115: $Ve1 }, o($Vr1, [2, 99]), o($Vr1, [2, 101]), o($Vr1, [2, 102]), o($Vr1, [2, 155]), o($Vr1, [2, 156]), o($Vr1, [2, 157]), o($Vr1, [2, 158]), o($Vr1, [2, 159]), o($Vr1, [2, 160]), o($Vr1, [2, 161]), o($Vr1, [2, 162]), o($Vr1, [2, 163]), o($Vr1, [2, 164]), o($Vr1, [2, 165]), o($Vr1, [2, 88]), o($Vr1, [2, 89]), o($Vr1, [2, 90]), o($Vr1, [2, 91]), o($Vr1, [2, 92]), o($Vr1, [2, 93]), o($Vr1, [2, 94]), o($Vr1, [2, 95]), o($Vr1, [2, 96]), o($Vr1, [2, 97]), o($Vr1, [2, 98]), { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 198], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 83: $Vf, 84: $Vg, 85: $Vh, 86: $Vi, 87: $Vj, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs, 120: $Vt, 121: $Vu, 122: $Vv, 123: $Vw }, { 10: $Vx, 18: 199 }, { 44: [1, 200] }, o($VP, [2, 43]), { 10: [1, 201], 44: $Vd, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 111, 113: $Vq, 114: $Vr, 115: $Vs }, { 10: [1, 202] }, { 10: [1, 203], 105: [1, 204] }, o($Vs1, [2, 126]), { 10: [1, 205], 44: $Vd, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 111, 113: $Vq, 114: $Vr, 115: $Vs }, { 10: [1, 206], 44: $Vd, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 111, 113: $Vq, 114: $Vr, 115: $Vs }, { 79: [1, 207] }, o($Vi1, [2, 107], { 10: [1, 208] }), o($Vi1, [2, 109], { 10: [1, 209] }), { 79: [1, 210] }, o($Vj1, [2, 182]), { 79: [1, 211], 97: [1, 212] }, o($VP, [2, 55], { 112: 111, 44: $Vd, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 113: $Vq, 114: $Vr, 115: $Vs }), { 31: [1, 213], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($Vt1, [2, 84]), o($Vt1, [2, 86]), o($Vt1, [2, 87]), o($Vt1, [2, 151]), o($Vt1, [2, 152]), o($Vt1, [2, 153]), o($Vt1, [2, 154]), { 49: [1, 215], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 216, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 51: [1, 217], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 53: [1, 218], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 55: [1, 219], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 57: [1, 220], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 60: [1, 221] }, { 64: [1, 222], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 66: [1, 223], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 30: 224, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 31: [1, 225], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 67: $Vk1, 69: [1, 226], 71: [1, 227], 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 67: $Vk1, 69: [1, 229], 71: [1, 228], 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($VC, [2, 45], { 18: 152, 10: $Vx, 40: $Vh1 }), o($VC, [2, 47], { 44: $Vg1 }), o($VT, [2, 75]), o($VT, [2, 74]), { 62: [1, 230], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($VT, [2, 77]), o($Vq1, [2, 79]), { 30: 231, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($Vf1, $V4, { 5: 232 }), o($Vr1, [2, 100]), o($Vy, [2, 35]), { 43: 233, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, { 10: $Vx, 18: 234 }, { 10: $Vu1, 60: $Vv1, 83: $Vw1, 91: 235, 104: $Vx1, 106: 236, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, { 10: $Vu1, 60: $Vv1, 83: $Vw1, 91: 246, 103: [1, 247], 104: $Vx1, 106: 236, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, { 10: $Vu1, 60: $Vv1, 83: $Vw1, 91: 248, 103: [1, 249], 104: $Vx1, 106: 236, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, { 104: [1, 250] }, { 10: $Vu1, 60: $Vv1, 83: $Vw1, 91: 251, 104: $Vx1, 106: 236, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, { 44: $Vd, 47: 252, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, o($Vi1, [2, 106]), { 79: [1, 253] }, { 79: [1, 254], 97: [1, 255] }, o($Vi1, [2, 114]), o($Vi1, [2, 116], { 10: [1, 256] }), o($Vi1, [2, 117]), o($VQ, [2, 56]), o($Vt1, [2, 85]), o($VQ, [2, 57]), { 51: [1, 257], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($VQ, [2, 64]), o($VQ, [2, 59]), o($VQ, [2, 60]), o($VQ, [2, 61]), { 108: [1, 258] }, o($VQ, [2, 63]), o($VQ, [2, 65]), { 66: [1, 259], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($VQ, [2, 67]), o($VQ, [2, 68]), o($VQ, [2, 70]), o($VQ, [2, 69]), o($VQ, [2, 71]), o([10, 44, 60, 88, 101, 104, 105, 108, 110, 113, 114, 115], [2, 83]), { 31: [1, 260], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 261], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 83: $Vf, 84: $Vg, 85: $Vh, 86: $Vi, 87: $Vj, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs, 120: $Vt, 121: $Vu, 122: $Vv, 123: $Vw }, o($VP, [2, 53]), { 43: 262, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs }, o($Vi1, [2, 119], { 105: $VC1 }), o($VD1, [2, 128], { 107: 264, 10: $Vu1, 60: $Vv1, 83: $Vw1, 104: $Vx1, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }), o($VE1, [2, 130]), o($VE1, [2, 132]), o($VE1, [2, 133]), o($VE1, [2, 134]), o($VE1, [2, 135]), o($VE1, [2, 136]), o($VE1, [2, 137]), o($VE1, [2, 138]), o($VE1, [2, 139]), o($Vi1, [2, 120], { 105: $VC1 }), { 10: [1, 265] }, o($Vi1, [2, 121], { 105: $VC1 }), { 10: [1, 266] }, o($Vs1, [2, 127]), o($Vi1, [2, 103], { 105: $VC1 }), o($Vi1, [2, 104], { 112: 111, 44: $Vd, 60: $Ve, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 113: $Vq, 114: $Vr, 115: $Vs }), o($Vi1, [2, 108]), o($Vi1, [2, 110], { 10: [1, 267] }), o($Vi1, [2, 111]), { 97: [1, 268] }, { 51: [1, 269] }, { 62: [1, 270] }, { 66: [1, 271] }, { 8: $Vz, 9: $VA, 11: $VB, 21: 272 }, o($Vy, [2, 34]), o($VP, [2, 52]), { 10: $Vu1, 60: $Vv1, 83: $Vw1, 104: $Vx1, 106: 273, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, o($VE1, [2, 131]), { 14: $VE, 44: $VF, 60: $VG, 88: $VH, 100: 274, 104: $VI, 105: $VJ, 108: $VK, 110: $VL, 113: $VM, 114: $VN, 115: $VO, 119: 86 }, { 14: $VE, 44: $VF, 60: $VG, 88: $VH, 100: 275, 104: $VI, 105: $VJ, 108: $VK, 110: $VL, 113: $VM, 114: $VN, 115: $VO, 119: 86 }, { 97: [1, 276] }, o($Vi1, [2, 118]), o($VQ, [2, 58]), { 30: 277, 67: $Vk1, 79: $Vl1, 80: $Vm1, 81: 168, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, o($VQ, [2, 66]), o($Vf1, $V4, { 5: 278 }), o($VD1, [2, 129], { 107: 264, 10: $Vu1, 60: $Vv1, 83: $Vw1, 104: $Vx1, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }), o($Vi1, [2, 124], { 119: 164, 10: [1, 279], 14: $VE, 44: $VF, 60: $VG, 88: $VH, 104: $VI, 105: $VJ, 108: $VK, 110: $VL, 113: $VM, 114: $VN, 115: $VO }), o($Vi1, [2, 125], { 119: 164, 10: [1, 280], 14: $VE, 44: $VF, 60: $VG, 88: $VH, 104: $VI, 105: $VJ, 108: $VK, 110: $VL, 113: $VM, 114: $VN, 115: $VO }), o($Vi1, [2, 112]), { 31: [1, 281], 67: $Vk1, 81: 214, 115: $Vn1, 116: $Vo1, 117: $Vp1 }, { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 282], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 83: $Vf, 84: $Vg, 85: $Vh, 86: $Vi, 87: $Vj, 88: $Vk, 101: $Vl, 104: $Vm, 105: $Vn, 108: $Vo, 110: $Vp, 112: 41, 113: $Vq, 114: $Vr, 115: $Vs, 120: $Vt, 121: $Vu, 122: $Vv, 123: $Vw }, { 10: $Vu1, 60: $Vv1, 83: $Vw1, 91: 283, 104: $Vx1, 106: 236, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, { 10: $Vu1, 60: $Vv1, 83: $Vw1, 91: 284, 104: $Vx1, 106: 236, 107: 237, 108: $Vy1, 109: $Vz1, 110: $VA1, 111: $VB1 }, o($VQ, [2, 62]), o($Vy, [2, 33]), o($Vi1, [2, 122], { 105: $VC1 }), o($Vi1, [2, 123], { 105: $VC1 })],
1302
- defaultActions: {},
1303
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1304
- if (hash.recoverable) {
1305
- this.trace(str);
1306
- } else {
1307
- var error = new Error(str);
1308
- error.hash = hash;
1309
- throw error;
1310
- }
1311
- }, "parseError"),
1312
- parse: /* @__PURE__ */ __name(function parse(input) {
1313
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
1314
- var args = lstack.slice.call(arguments, 1);
1315
- var lexer2 = Object.create(this.lexer);
1316
- var sharedState = { yy: {} };
1317
- for (var k in this.yy) {
1318
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
1319
- sharedState.yy[k] = this.yy[k];
1320
- }
1321
- }
1322
- lexer2.setInput(input, sharedState.yy);
1323
- sharedState.yy.lexer = lexer2;
1324
- sharedState.yy.parser = this;
1325
- if (typeof lexer2.yylloc == "undefined") {
1326
- lexer2.yylloc = {};
1327
- }
1328
- var yyloc = lexer2.yylloc;
1329
- lstack.push(yyloc);
1330
- var ranges = lexer2.options && lexer2.options.ranges;
1331
- if (typeof sharedState.yy.parseError === "function") {
1332
- this.parseError = sharedState.yy.parseError;
1333
- } else {
1334
- this.parseError = Object.getPrototypeOf(this).parseError;
1335
- }
1336
- function popStack(n) {
1337
- stack.length = stack.length - 2 * n;
1338
- vstack.length = vstack.length - n;
1339
- lstack.length = lstack.length - n;
1340
- }
1341
- __name(popStack, "popStack");
1342
- function lex2() {
1343
- var token;
1344
- token = tstack.pop() || lexer2.lex() || EOF;
1345
- if (typeof token !== "number") {
1346
- if (token instanceof Array) {
1347
- tstack = token;
1348
- token = tstack.pop();
1349
- }
1350
- token = self.symbols_[token] || token;
1351
- }
1352
- return token;
1353
- }
1354
- __name(lex2, "lex");
1355
- var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
1356
- while (true) {
1357
- state = stack[stack.length - 1];
1358
- if (this.defaultActions[state]) {
1359
- action = this.defaultActions[state];
1360
- } else {
1361
- if (symbol === null || typeof symbol == "undefined") {
1362
- symbol = lex2();
1363
- }
1364
- action = table[state] && table[state][symbol];
1365
- }
1366
- if (typeof action === "undefined" || !action.length || !action[0]) {
1367
- var errStr = "";
1368
- expected = [];
1369
- for (p in table[state]) {
1370
- if (this.terminals_[p] && p > TERROR) {
1371
- expected.push("'" + this.terminals_[p] + "'");
1372
- }
1373
- }
1374
- if (lexer2.showPosition) {
1375
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
1376
- } else {
1377
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
1378
- }
1379
- this.parseError(errStr, {
1380
- text: lexer2.match,
1381
- token: this.terminals_[symbol] || symbol,
1382
- line: lexer2.yylineno,
1383
- loc: yyloc,
1384
- expected
1385
- });
1386
- }
1387
- if (action[0] instanceof Array && action.length > 1) {
1388
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
1389
- }
1390
- switch (action[0]) {
1391
- case 1:
1392
- stack.push(symbol);
1393
- vstack.push(lexer2.yytext);
1394
- lstack.push(lexer2.yylloc);
1395
- stack.push(action[1]);
1396
- symbol = null;
1397
- if (!preErrorSymbol) {
1398
- yyleng = lexer2.yyleng;
1399
- yytext = lexer2.yytext;
1400
- yylineno = lexer2.yylineno;
1401
- yyloc = lexer2.yylloc;
1402
- if (recovering > 0) {
1403
- recovering--;
1404
- }
1405
- } else {
1406
- symbol = preErrorSymbol;
1407
- preErrorSymbol = null;
1408
- }
1409
- break;
1410
- case 2:
1411
- len = this.productions_[action[1]][1];
1412
- yyval.$ = vstack[vstack.length - len];
1413
- yyval._$ = {
1414
- first_line: lstack[lstack.length - (len || 1)].first_line,
1415
- last_line: lstack[lstack.length - 1].last_line,
1416
- first_column: lstack[lstack.length - (len || 1)].first_column,
1417
- last_column: lstack[lstack.length - 1].last_column
1418
- };
1419
- if (ranges) {
1420
- yyval._$.range = [
1421
- lstack[lstack.length - (len || 1)].range[0],
1422
- lstack[lstack.length - 1].range[1]
1423
- ];
1424
- }
1425
- r = this.performAction.apply(yyval, [
1426
- yytext,
1427
- yyleng,
1428
- yylineno,
1429
- sharedState.yy,
1430
- action[1],
1431
- vstack,
1432
- lstack
1433
- ].concat(args));
1434
- if (typeof r !== "undefined") {
1435
- return r;
1436
- }
1437
- if (len) {
1438
- stack = stack.slice(0, -1 * len * 2);
1439
- vstack = vstack.slice(0, -1 * len);
1440
- lstack = lstack.slice(0, -1 * len);
1441
- }
1442
- stack.push(this.productions_[action[1]][0]);
1443
- vstack.push(yyval.$);
1444
- lstack.push(yyval._$);
1445
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
1446
- stack.push(newState);
1447
- break;
1448
- case 3:
1449
- return true;
1450
- }
1451
- }
1452
- return true;
1453
- }, "parse")
1454
- };
1455
- var lexer = /* @__PURE__ */ function() {
1456
- var lexer2 = {
1457
- EOF: 1,
1458
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1459
- if (this.yy.parser) {
1460
- this.yy.parser.parseError(str, hash);
1461
- } else {
1462
- throw new Error(str);
1463
- }
1464
- }, "parseError"),
1465
- // resets the lexer, sets new input
1466
- setInput: /* @__PURE__ */ __name(function(input, yy) {
1467
- this.yy = yy || this.yy || {};
1468
- this._input = input;
1469
- this._more = this._backtrack = this.done = false;
1470
- this.yylineno = this.yyleng = 0;
1471
- this.yytext = this.matched = this.match = "";
1472
- this.conditionStack = ["INITIAL"];
1473
- this.yylloc = {
1474
- first_line: 1,
1475
- first_column: 0,
1476
- last_line: 1,
1477
- last_column: 0
1478
- };
1479
- if (this.options.ranges) {
1480
- this.yylloc.range = [0, 0];
1481
- }
1482
- this.offset = 0;
1483
- return this;
1484
- }, "setInput"),
1485
- // consumes and returns one char from the input
1486
- input: /* @__PURE__ */ __name(function() {
1487
- var ch = this._input[0];
1488
- this.yytext += ch;
1489
- this.yyleng++;
1490
- this.offset++;
1491
- this.match += ch;
1492
- this.matched += ch;
1493
- var lines = ch.match(/(?:\r\n?|\n).*/g);
1494
- if (lines) {
1495
- this.yylineno++;
1496
- this.yylloc.last_line++;
1497
- } else {
1498
- this.yylloc.last_column++;
1499
- }
1500
- if (this.options.ranges) {
1501
- this.yylloc.range[1]++;
1502
- }
1503
- this._input = this._input.slice(1);
1504
- return ch;
1505
- }, "input"),
1506
- // unshifts one char (or a string) into the input
1507
- unput: /* @__PURE__ */ __name(function(ch) {
1508
- var len = ch.length;
1509
- var lines = ch.split(/(?:\r\n?|\n)/g);
1510
- this._input = ch + this._input;
1511
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
1512
- this.offset -= len;
1513
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
1514
- this.match = this.match.substr(0, this.match.length - 1);
1515
- this.matched = this.matched.substr(0, this.matched.length - 1);
1516
- if (lines.length - 1) {
1517
- this.yylineno -= lines.length - 1;
1518
- }
1519
- var r = this.yylloc.range;
1520
- this.yylloc = {
1521
- first_line: this.yylloc.first_line,
1522
- last_line: this.yylineno + 1,
1523
- first_column: this.yylloc.first_column,
1524
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
1525
- };
1526
- if (this.options.ranges) {
1527
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
1528
- }
1529
- this.yyleng = this.yytext.length;
1530
- return this;
1531
- }, "unput"),
1532
- // When called from action, caches matched text and appends it on next action
1533
- more: /* @__PURE__ */ __name(function() {
1534
- this._more = true;
1535
- return this;
1536
- }, "more"),
1537
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1538
- reject: /* @__PURE__ */ __name(function() {
1539
- if (this.options.backtrack_lexer) {
1540
- this._backtrack = true;
1541
- } else {
1542
- 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(), {
1543
- text: "",
1544
- token: null,
1545
- line: this.yylineno
1546
- });
1547
- }
1548
- return this;
1549
- }, "reject"),
1550
- // retain first n characters of the match
1551
- less: /* @__PURE__ */ __name(function(n) {
1552
- this.unput(this.match.slice(n));
1553
- }, "less"),
1554
- // displays already matched input, i.e. for error messages
1555
- pastInput: /* @__PURE__ */ __name(function() {
1556
- var past = this.matched.substr(0, this.matched.length - this.match.length);
1557
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
1558
- }, "pastInput"),
1559
- // displays upcoming input, i.e. for error messages
1560
- upcomingInput: /* @__PURE__ */ __name(function() {
1561
- var next = this.match;
1562
- if (next.length < 20) {
1563
- next += this._input.substr(0, 20 - next.length);
1564
- }
1565
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
1566
- }, "upcomingInput"),
1567
- // displays the character position where the lexing error occurred, i.e. for error messages
1568
- showPosition: /* @__PURE__ */ __name(function() {
1569
- var pre = this.pastInput();
1570
- var c = new Array(pre.length + 1).join("-");
1571
- return pre + this.upcomingInput() + "\n" + c + "^";
1572
- }, "showPosition"),
1573
- // test the lexed token: return FALSE when not a match, otherwise return token
1574
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
1575
- var token, lines, backup;
1576
- if (this.options.backtrack_lexer) {
1577
- backup = {
1578
- yylineno: this.yylineno,
1579
- yylloc: {
1580
- first_line: this.yylloc.first_line,
1581
- last_line: this.last_line,
1582
- first_column: this.yylloc.first_column,
1583
- last_column: this.yylloc.last_column
1584
- },
1585
- yytext: this.yytext,
1586
- match: this.match,
1587
- matches: this.matches,
1588
- matched: this.matched,
1589
- yyleng: this.yyleng,
1590
- offset: this.offset,
1591
- _more: this._more,
1592
- _input: this._input,
1593
- yy: this.yy,
1594
- conditionStack: this.conditionStack.slice(0),
1595
- done: this.done
1596
- };
1597
- if (this.options.ranges) {
1598
- backup.yylloc.range = this.yylloc.range.slice(0);
1599
- }
1600
- }
1601
- lines = match[0].match(/(?:\r\n?|\n).*/g);
1602
- if (lines) {
1603
- this.yylineno += lines.length;
1604
- }
1605
- this.yylloc = {
1606
- first_line: this.yylloc.last_line,
1607
- last_line: this.yylineno + 1,
1608
- first_column: this.yylloc.last_column,
1609
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
1610
- };
1611
- this.yytext += match[0];
1612
- this.match += match[0];
1613
- this.matches = match;
1614
- this.yyleng = this.yytext.length;
1615
- if (this.options.ranges) {
1616
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
1617
- }
1618
- this._more = false;
1619
- this._backtrack = false;
1620
- this._input = this._input.slice(match[0].length);
1621
- this.matched += match[0];
1622
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
1623
- if (this.done && this._input) {
1624
- this.done = false;
1625
- }
1626
- if (token) {
1627
- return token;
1628
- } else if (this._backtrack) {
1629
- for (var k in backup) {
1630
- this[k] = backup[k];
1631
- }
1632
- return false;
1633
- }
1634
- return false;
1635
- }, "test_match"),
1636
- // return next match in input
1637
- next: /* @__PURE__ */ __name(function() {
1638
- if (this.done) {
1639
- return this.EOF;
1640
- }
1641
- if (!this._input) {
1642
- this.done = true;
1643
- }
1644
- var token, match, tempMatch, index;
1645
- if (!this._more) {
1646
- this.yytext = "";
1647
- this.match = "";
1648
- }
1649
- var rules = this._currentRules();
1650
- for (var i = 0; i < rules.length; i++) {
1651
- tempMatch = this._input.match(this.rules[rules[i]]);
1652
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
1653
- match = tempMatch;
1654
- index = i;
1655
- if (this.options.backtrack_lexer) {
1656
- token = this.test_match(tempMatch, rules[i]);
1657
- if (token !== false) {
1658
- return token;
1659
- } else if (this._backtrack) {
1660
- match = false;
1661
- continue;
1662
- } else {
1663
- return false;
1664
- }
1665
- } else if (!this.options.flex) {
1666
- break;
1667
- }
1668
- }
1669
- }
1670
- if (match) {
1671
- token = this.test_match(match, rules[index]);
1672
- if (token !== false) {
1673
- return token;
1674
- }
1675
- return false;
1676
- }
1677
- if (this._input === "") {
1678
- return this.EOF;
1679
- } else {
1680
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1681
- text: "",
1682
- token: null,
1683
- line: this.yylineno
1684
- });
1685
- }
1686
- }, "next"),
1687
- // return next match that has a token
1688
- lex: /* @__PURE__ */ __name(function lex2() {
1689
- var r = this.next();
1690
- if (r) {
1691
- return r;
1692
- } else {
1693
- return this.lex();
1694
- }
1695
- }, "lex"),
1696
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1697
- begin: /* @__PURE__ */ __name(function begin(condition) {
1698
- this.conditionStack.push(condition);
1699
- }, "begin"),
1700
- // pop the previously active lexer condition state off the condition stack
1701
- popState: /* @__PURE__ */ __name(function popState() {
1702
- var n = this.conditionStack.length - 1;
1703
- if (n > 0) {
1704
- return this.conditionStack.pop();
1705
- } else {
1706
- return this.conditionStack[0];
1707
- }
1708
- }, "popState"),
1709
- // produce the lexer rule set which is active for the currently active lexer condition state
1710
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
1711
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
1712
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
1713
- } else {
1714
- return this.conditions["INITIAL"].rules;
1715
- }
1716
- }, "_currentRules"),
1717
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1718
- topState: /* @__PURE__ */ __name(function topState(n) {
1719
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
1720
- if (n >= 0) {
1721
- return this.conditionStack[n];
1722
- } else {
1723
- return "INITIAL";
1724
- }
1725
- }, "topState"),
1726
- // alias for begin(condition)
1727
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
1728
- this.begin(condition);
1729
- }, "pushState"),
1730
- // return the number of states currently on the stack
1731
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
1732
- return this.conditionStack.length;
1733
- }, "stateStackSize"),
1734
- options: {},
1735
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
1736
- var YYSTATE = YY_START;
1737
- switch ($avoiding_name_collisions) {
1738
- case 0:
1739
- this.begin("acc_title");
1740
- return 34;
1741
- break;
1742
- case 1:
1743
- this.popState();
1744
- return "acc_title_value";
1745
- break;
1746
- case 2:
1747
- this.begin("acc_descr");
1748
- return 36;
1749
- break;
1750
- case 3:
1751
- this.popState();
1752
- return "acc_descr_value";
1753
- break;
1754
- case 4:
1755
- this.begin("acc_descr_multiline");
1756
- break;
1757
- case 5:
1758
- this.popState();
1759
- break;
1760
- case 6:
1761
- return "acc_descr_multiline_value";
1762
- break;
1763
- case 7:
1764
- this.pushState("shapeData");
1765
- yy_.yytext = "";
1766
- return 40;
1767
- break;
1768
- case 8:
1769
- this.pushState("shapeDataStr");
1770
- return 40;
1771
- break;
1772
- case 9:
1773
- this.popState();
1774
- return 40;
1775
- break;
1776
- case 10:
1777
- const re = /\n\s*/g;
1778
- yy_.yytext = yy_.yytext.replace(re, "<br/>");
1779
- return 40;
1780
- break;
1781
- case 11:
1782
- return 40;
1783
- break;
1784
- case 12:
1785
- this.popState();
1786
- break;
1787
- case 13:
1788
- this.begin("callbackname");
1789
- break;
1790
- case 14:
1791
- this.popState();
1792
- break;
1793
- case 15:
1794
- this.popState();
1795
- this.begin("callbackargs");
1796
- break;
1797
- case 16:
1798
- return 94;
1799
- break;
1800
- case 17:
1801
- this.popState();
1802
- break;
1803
- case 18:
1804
- return 95;
1805
- break;
1806
- case 19:
1807
- return "MD_STR";
1808
- break;
1809
- case 20:
1810
- this.popState();
1811
- break;
1812
- case 21:
1813
- this.begin("md_string");
1814
- break;
1815
- case 22:
1816
- return "STR";
1817
- break;
1818
- case 23:
1819
- this.popState();
1820
- break;
1821
- case 24:
1822
- this.pushState("string");
1823
- break;
1824
- case 25:
1825
- return 83;
1826
- break;
1827
- case 26:
1828
- return 101;
1829
- break;
1830
- case 27:
1831
- return 84;
1832
- break;
1833
- case 28:
1834
- return 103;
1835
- break;
1836
- case 29:
1837
- return 85;
1838
- break;
1839
- case 30:
1840
- return 86;
1841
- break;
1842
- case 31:
1843
- return 96;
1844
- break;
1845
- case 32:
1846
- this.begin("click");
1847
- break;
1848
- case 33:
1849
- this.popState();
1850
- break;
1851
- case 34:
1852
- return 87;
1853
- break;
1854
- case 35:
1855
- if (yy.lex.firstGraph()) {
1856
- this.begin("dir");
1857
- }
1858
- return 12;
1859
- break;
1860
- case 36:
1861
- if (yy.lex.firstGraph()) {
1862
- this.begin("dir");
1863
- }
1864
- return 12;
1865
- break;
1866
- case 37:
1867
- if (yy.lex.firstGraph()) {
1868
- this.begin("dir");
1869
- }
1870
- return 12;
1871
- break;
1872
- case 38:
1873
- return 27;
1874
- break;
1875
- case 39:
1876
- return 32;
1877
- break;
1878
- case 40:
1879
- return 97;
1880
- break;
1881
- case 41:
1882
- return 97;
1883
- break;
1884
- case 42:
1885
- return 97;
1886
- break;
1887
- case 43:
1888
- return 97;
1889
- break;
1890
- case 44:
1891
- this.popState();
1892
- return 13;
1893
- break;
1894
- case 45:
1895
- this.popState();
1896
- return 14;
1897
- break;
1898
- case 46:
1899
- this.popState();
1900
- return 14;
1901
- break;
1902
- case 47:
1903
- this.popState();
1904
- return 14;
1905
- break;
1906
- case 48:
1907
- this.popState();
1908
- return 14;
1909
- break;
1910
- case 49:
1911
- this.popState();
1912
- return 14;
1913
- break;
1914
- case 50:
1915
- this.popState();
1916
- return 14;
1917
- break;
1918
- case 51:
1919
- this.popState();
1920
- return 14;
1921
- break;
1922
- case 52:
1923
- this.popState();
1924
- return 14;
1925
- break;
1926
- case 53:
1927
- this.popState();
1928
- return 14;
1929
- break;
1930
- case 54:
1931
- this.popState();
1932
- return 14;
1933
- break;
1934
- case 55:
1935
- return 120;
1936
- break;
1937
- case 56:
1938
- return 121;
1939
- break;
1940
- case 57:
1941
- return 122;
1942
- break;
1943
- case 58:
1944
- return 123;
1945
- break;
1946
- case 59:
1947
- return 104;
1948
- break;
1949
- case 60:
1950
- return 110;
1951
- break;
1952
- case 61:
1953
- return 46;
1954
- break;
1955
- case 62:
1956
- return 60;
1957
- break;
1958
- case 63:
1959
- return 44;
1960
- break;
1961
- case 64:
1962
- return 8;
1963
- break;
1964
- case 65:
1965
- return 105;
1966
- break;
1967
- case 66:
1968
- return 114;
1969
- break;
1970
- case 67:
1971
- this.popState();
1972
- return 77;
1973
- break;
1974
- case 68:
1975
- this.pushState("edgeText");
1976
- return 75;
1977
- break;
1978
- case 69:
1979
- return 118;
1980
- break;
1981
- case 70:
1982
- this.popState();
1983
- return 77;
1984
- break;
1985
- case 71:
1986
- this.pushState("thickEdgeText");
1987
- return 75;
1988
- break;
1989
- case 72:
1990
- return 118;
1991
- break;
1992
- case 73:
1993
- this.popState();
1994
- return 77;
1995
- break;
1996
- case 74:
1997
- this.pushState("dottedEdgeText");
1998
- return 75;
1999
- break;
2000
- case 75:
2001
- return 118;
2002
- break;
2003
- case 76:
2004
- return 77;
2005
- break;
2006
- case 77:
2007
- this.popState();
2008
- return 53;
2009
- break;
2010
- case 78:
2011
- return "TEXT";
2012
- break;
2013
- case 79:
2014
- this.pushState("ellipseText");
2015
- return 52;
2016
- break;
2017
- case 80:
2018
- this.popState();
2019
- return 55;
2020
- break;
2021
- case 81:
2022
- this.pushState("text");
2023
- return 54;
2024
- break;
2025
- case 82:
2026
- this.popState();
2027
- return 57;
2028
- break;
2029
- case 83:
2030
- this.pushState("text");
2031
- return 56;
2032
- break;
2033
- case 84:
2034
- return 58;
2035
- break;
2036
- case 85:
2037
- this.pushState("text");
2038
- return 67;
2039
- break;
2040
- case 86:
2041
- this.popState();
2042
- return 64;
2043
- break;
2044
- case 87:
2045
- this.pushState("text");
2046
- return 63;
2047
- break;
2048
- case 88:
2049
- this.popState();
2050
- return 49;
2051
- break;
2052
- case 89:
2053
- this.pushState("text");
2054
- return 48;
2055
- break;
2056
- case 90:
2057
- this.popState();
2058
- return 69;
2059
- break;
2060
- case 91:
2061
- this.popState();
2062
- return 71;
2063
- break;
2064
- case 92:
2065
- return 116;
2066
- break;
2067
- case 93:
2068
- this.pushState("trapText");
2069
- return 68;
2070
- break;
2071
- case 94:
2072
- this.pushState("trapText");
2073
- return 70;
2074
- break;
2075
- case 95:
2076
- return 117;
2077
- break;
2078
- case 96:
2079
- return 67;
2080
- break;
2081
- case 97:
2082
- return 89;
2083
- break;
2084
- case 98:
2085
- return "SEP";
2086
- break;
2087
- case 99:
2088
- return 88;
2089
- break;
2090
- case 100:
2091
- return 114;
2092
- break;
2093
- case 101:
2094
- return 110;
2095
- break;
2096
- case 102:
2097
- return 44;
2098
- break;
2099
- case 103:
2100
- return 108;
2101
- break;
2102
- case 104:
2103
- return 113;
2104
- break;
2105
- case 105:
2106
- return 115;
2107
- break;
2108
- case 106:
2109
- this.popState();
2110
- return 62;
2111
- break;
2112
- case 107:
2113
- this.pushState("text");
2114
- return 62;
2115
- break;
2116
- case 108:
2117
- this.popState();
2118
- return 51;
2119
- break;
2120
- case 109:
2121
- this.pushState("text");
2122
- return 50;
2123
- break;
2124
- case 110:
2125
- this.popState();
2126
- return 31;
2127
- break;
2128
- case 111:
2129
- this.pushState("text");
2130
- return 29;
2131
- break;
2132
- case 112:
2133
- this.popState();
2134
- return 66;
2135
- break;
2136
- case 113:
2137
- this.pushState("text");
2138
- return 65;
2139
- break;
2140
- case 114:
2141
- return "TEXT";
2142
- break;
2143
- case 115:
2144
- return "QUOTE";
2145
- break;
2146
- case 116:
2147
- return 9;
2148
- break;
2149
- case 117:
2150
- return 10;
2151
- break;
2152
- case 118:
2153
- return 11;
2154
- break;
2155
- }
2156
- }, "anonymous"),
2157
- rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:@\{)/, /^(?:["])/, /^(?:["])/, /^(?:[^\"]+)/, /^(?:[^}^"]+)/, /^(?:\})/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\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])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
2158
- conditions: { "shapeDataEndBracket": { "rules": [21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "shapeDataStr": { "rules": [9, 10, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "shapeData": { "rules": [8, 11, 12, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "callbackargs": { "rules": [17, 18, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "callbackname": { "rules": [14, 15, 16, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "href": { "rules": [21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "click": { "rules": [21, 24, 33, 34, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "dottedEdgeText": { "rules": [21, 24, 73, 75, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "thickEdgeText": { "rules": [21, 24, 70, 72, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "edgeText": { "rules": [21, 24, 67, 69, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "trapText": { "rules": [21, 24, 76, 79, 81, 83, 87, 89, 90, 91, 92, 93, 94, 107, 109, 111, 113], "inclusive": false }, "ellipseText": { "rules": [21, 24, 76, 77, 78, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "text": { "rules": [21, 24, 76, 79, 80, 81, 82, 83, 86, 87, 88, 89, 93, 94, 106, 107, 108, 109, 110, 111, 112, 113, 114], "inclusive": false }, "vertex": { "rules": [21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "dir": { "rules": [21, 24, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "acc_descr": { "rules": [3, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "acc_title": { "rules": [1, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "md_string": { "rules": [19, 20, 21, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "string": { "rules": [21, 22, 23, 24, 76, 79, 81, 83, 87, 89, 93, 94, 107, 109, 111, 113], "inclusive": false }, "INITIAL": { "rules": [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 70, 71, 73, 74, 76, 79, 81, 83, 84, 85, 87, 89, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 107, 109, 111, 113, 115, 116, 117, 118], "inclusive": true } }
2159
- };
2160
- return lexer2;
2161
- }();
2162
- parser2.lexer = lexer;
2163
- function Parser() {
2164
- this.yy = {};
2165
- }
2166
- __name(Parser, "Parser");
2167
- Parser.prototype = parser2;
2168
- parser2.Parser = Parser;
2169
- return new Parser();
2170
- }();
2171
- parser.parser = parser;
2172
- var flow_default = parser;
2173
- var fade = /* @__PURE__ */ __name((color, opacity) => {
2174
- const channel2 = channel_default;
2175
- const r = channel2(color, "r");
2176
- const g = channel2(color, "g");
2177
- const b = channel2(color, "b");
2178
- return rgba_default(r, g, b, opacity);
2179
- }, "fade");
2180
- var getStyles = /* @__PURE__ */ __name((options) => `.label {
2181
- font-family: ${options.fontFamily};
2182
- color: ${options.nodeTextColor || options.textColor};
2183
- }
2184
- .cluster-label text {
2185
- fill: ${options.titleColor};
2186
- }
2187
- .cluster-label span {
2188
- color: ${options.titleColor};
2189
- }
2190
- .cluster-label span p {
2191
- background-color: transparent;
2192
- }
2193
-
2194
- .label text,span {
2195
- fill: ${options.nodeTextColor || options.textColor};
2196
- color: ${options.nodeTextColor || options.textColor};
2197
- }
2198
-
2199
- .node rect,
2200
- .node circle,
2201
- .node ellipse,
2202
- .node polygon,
2203
- .node path {
2204
- fill: ${options.mainBkg};
2205
- stroke: ${options.nodeBorder};
2206
- stroke-width: 1px;
2207
- }
2208
- .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
2209
- text-anchor: middle;
2210
- }
2211
- // .flowchart-label .text-outer-tspan {
2212
- // text-anchor: middle;
2213
- // }
2214
- // .flowchart-label .text-inner-tspan {
2215
- // text-anchor: start;
2216
- // }
2217
-
2218
- .node .katex path {
2219
- fill: #000;
2220
- stroke: #000;
2221
- stroke-width: 1px;
2222
- }
2223
-
2224
- .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
2225
- text-align: center;
2226
- }
2227
- .node.clickable {
2228
- cursor: pointer;
2229
- }
2230
-
2231
-
2232
- .root .anchor path {
2233
- fill: ${options.lineColor} !important;
2234
- stroke-width: 0;
2235
- stroke: ${options.lineColor};
2236
- }
2237
-
2238
- .arrowheadPath {
2239
- fill: ${options.arrowheadColor};
2240
- }
2241
-
2242
- .edgePath .path {
2243
- stroke: ${options.lineColor};
2244
- stroke-width: 2.0px;
2245
- }
2246
-
2247
- .flowchart-link {
2248
- stroke: ${options.lineColor};
2249
- fill: none;
2250
- }
2251
-
2252
- .edgeLabel {
2253
- background-color: ${options.edgeLabelBackground};
2254
- p {
2255
- background-color: ${options.edgeLabelBackground};
2256
- }
2257
- rect {
2258
- opacity: 0.5;
2259
- background-color: ${options.edgeLabelBackground};
2260
- fill: ${options.edgeLabelBackground};
2261
- }
2262
- text-align: center;
2263
- }
2264
-
2265
- /* For html labels only */
2266
- .labelBkg {
2267
- background-color: ${fade(options.edgeLabelBackground, 0.5)};
2268
- // background-color:
2269
- }
2270
-
2271
- .cluster rect {
2272
- fill: ${options.clusterBkg};
2273
- stroke: ${options.clusterBorder};
2274
- stroke-width: 1px;
2275
- }
2276
-
2277
- .cluster text {
2278
- fill: ${options.titleColor};
2279
- }
2280
-
2281
- .cluster span {
2282
- color: ${options.titleColor};
2283
- }
2284
- /* .cluster div {
2285
- color: ${options.titleColor};
2286
- } */
2287
-
2288
- div.mermaidTooltip {
2289
- position: absolute;
2290
- text-align: center;
2291
- max-width: 200px;
2292
- padding: 2px;
2293
- font-family: ${options.fontFamily};
2294
- font-size: 12px;
2295
- background: ${options.tertiaryColor};
2296
- border: 1px solid ${options.border2};
2297
- border-radius: 2px;
2298
- pointer-events: none;
2299
- z-index: 100;
2300
- }
2301
-
2302
- .flowchartTitleText {
2303
- text-anchor: middle;
2304
- font-size: 18px;
2305
- fill: ${options.textColor};
2306
- }
2307
-
2308
- rect.text {
2309
- fill: none;
2310
- stroke-width: 0;
2311
- }
2312
-
2313
- .icon-shape, .image-shape {
2314
- background-color: ${options.edgeLabelBackground};
2315
- p {
2316
- background-color: ${options.edgeLabelBackground};
2317
- padding: 2px;
2318
- }
2319
- rect {
2320
- opacity: 0.5;
2321
- background-color: ${options.edgeLabelBackground};
2322
- fill: ${options.edgeLabelBackground};
2323
- }
2324
- text-align: center;
2325
- }
2326
- `, "getStyles");
2327
- var styles_default = getStyles;
2328
- var diagram = {
2329
- parser: flow_default,
2330
- db: flowDb_default,
2331
- renderer: flowRenderer_v3_unified_default,
2332
- styles: styles_default,
2333
- init: /* @__PURE__ */ __name((cnf) => {
2334
- if (!cnf.flowchart) {
2335
- cnf.flowchart = {};
2336
- }
2337
- if (cnf.layout) {
2338
- setConfig2({ layout: cnf.layout });
2339
- }
2340
- cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
2341
- setConfig2({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
2342
- flowDb_default.clear();
2343
- flowDb_default.setGen("gen-2");
2344
- }, "init")
2345
- };
2346
- export {
2347
- diagram
2348
- };
2349
- //# sourceMappingURL=flowDiagram-7ASYPVHJ-2542732I.js.map