@peasant-labs/fairtrade 0.0.51 → 0.0.52

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 (116) hide show
  1. package/dist/lib/commons.js +544 -522
  2. package/dist/lib/components.css +1 -1
  3. package/dist/lib/share.js +2 -2
  4. package/dist/lib/tokens.css +2 -2
  5. package/dist/lib/tokens.json +2 -2
  6. package/dist/lib/types/AppSidebar.d.ts +9 -11
  7. package/dist/lib/types/Avatar.d.ts +2 -2
  8. package/dist/lib/types/Dialog.d.ts +1 -1
  9. package/dist/lib/types/Input.d.ts +3 -3
  10. package/dist/lib/types/OverflowList.d.ts +1 -1
  11. package/dist/lib/types/RepoPicker.d.ts +3 -1
  12. package/dist/lib/types/Switch.d.ts +1 -1
  13. package/dist/lib/types/commons/Explore.d.ts +1 -1
  14. package/dist/lib/types/commons/types.d.ts +12 -0
  15. package/dist/lib/{ui-Do7A_I-0.js → ui-BVkbnMN5.js} +1637 -1597
  16. package/dist/lib/ui.js +1 -1
  17. package/package.json +1 -1
  18. package/dist/lib/abnfDiagram-WEYOIA3C-D4LMNFIJ.js +0 -89
  19. package/dist/lib/arc-1xTxsoRi.js +0 -80
  20. package/dist/lib/architecture-WOLXFQ4H-c6RsZuzu.js +0 -3
  21. package/dist/lib/architectureDiagram-ZHVYKT53-DTINqD5R.js +0 -4145
  22. package/dist/lib/array-CApNbSU9.js +0 -6
  23. package/dist/lib/blockDiagram-RJAE7QA3-CUYHoR3g.js +0 -1946
  24. package/dist/lib/c4Diagram-XDPPPE54-Cdx6_DsI.js +0 -2990
  25. package/dist/lib/channel-DagAO2vE.js +0 -5
  26. package/dist/lib/chunk-2E7WHVMD-BzhgXW3b.js +0 -490
  27. package/dist/lib/chunk-2Q5K7J3B-DWNwIK5Y.js +0 -15
  28. package/dist/lib/chunk-4EMNKR2T-DhFrQz9k.js +0 -236
  29. package/dist/lib/chunk-55XCU76K-CI0GXDkJ.js +0 -61
  30. package/dist/lib/chunk-5VM5RSS4-BAQ-46g4.js +0 -5
  31. package/dist/lib/chunk-7S6XSTFO-CMt_p-O6.js +0 -1373
  32. package/dist/lib/chunk-AQDTSKZB-DrZccIQa.js +0 -1847
  33. package/dist/lib/chunk-DSNLSHJZ-CpA9d2CJ.js +0 -4044
  34. package/dist/lib/chunk-DUW6YSOI-C-tN4Kiv.js +0 -10
  35. package/dist/lib/chunk-EJLWFMJV-B30MNYvY.js +0 -75
  36. package/dist/lib/chunk-HAGFOTED-DMU2JNZM.js +0 -4487
  37. package/dist/lib/chunk-HNE4Q36P-BIA0n2gA.js +0 -363
  38. package/dist/lib/chunk-J5ZVWO5B-CA_-jk8G.js +0 -12
  39. package/dist/lib/chunk-JWPE2WC7-KRpHbrIX.js +0 -8
  40. package/dist/lib/chunk-LNGE3PJU-CMGaAEAh.js +0 -1513
  41. package/dist/lib/chunk-NGNAAXSQ-D7Dvct7J.js +0 -19774
  42. package/dist/lib/chunk-NQOKRVIF-MK9F46y3.js +0 -4258
  43. package/dist/lib/chunk-OYAV6JZA-B1yICcbU.js +0 -10
  44. package/dist/lib/chunk-UHW7PFBP-CLrOaA0y.js +0 -67
  45. package/dist/lib/chunk-VQ5W62QI-_ZR3gKe4.js +0 -26
  46. package/dist/lib/chunk-WQQL4CDK-DFtyhYZq.js +0 -693
  47. package/dist/lib/chunk-XXDRQBXY-uzyNBbgx.js +0 -9
  48. package/dist/lib/chunk-Y2CYZVJY-BYzrzvCI.js +0 -12
  49. package/dist/lib/chunk-YZO67HFG-D1jKt78p.js +0 -275
  50. package/dist/lib/chunk-ZAUX2LTX-7XO0Yj1z.js +0 -37
  51. package/dist/lib/chunk-ZCHMQSOR-CxoKltfF.js +0 -349
  52. package/dist/lib/classDiagram-v2-4MYWR3UA-BPvwhZqw.js +0 -3397
  53. package/dist/lib/cose-bilkent-JH36ORCC-Oj79uOIQ.js +0 -2250
  54. package/dist/lib/cynefin-EF2NZ3EQ-COX3NRum.js +0 -3
  55. package/dist/lib/cynefinDiagram-WF24UDRP-UzTptNAX.js +0 -349
  56. package/dist/lib/cytoscape.esm-0ojxgO9x.js +0 -18161
  57. package/dist/lib/dagre-NK4GIZVX-DWZr-NGm.js +0 -2356
  58. package/dist/lib/defaultLocale-BbgDuMnp.js +0 -201
  59. package/dist/lib/diagram-CBK3MWTC-CsyKuv-w.js +0 -525
  60. package/dist/lib/diagram-I5XIIV2D-DWY2JSPC.js +0 -134
  61. package/dist/lib/diagram-ODIL2UCW-DUptj0JZ.js +0 -301
  62. package/dist/lib/diagram-PFBEJUXE-N5XnIBqM.js +0 -447
  63. package/dist/lib/diagram-RJA3I4VV-B9XgohYo.js +0 -214
  64. package/dist/lib/diagram-TYUNFSNR-XnsJIeAd.js +0 -5084
  65. package/dist/lib/dist-AMlsjiDX.js +0 -59
  66. package/dist/lib/ebnfDiagram-V4P3TTPT-BssHqFox.js +0 -100
  67. package/dist/lib/elk-QONTBCTQ-DwmwqYgP.js +0 -47944
  68. package/dist/lib/erDiagram-KYQIGQAA-BQiXw1Tw.js +0 -1970
  69. package/dist/lib/eventmodeling-K75KTNOO-DDb--yMc.js +0 -3
  70. package/dist/lib/flowDiagram-IUGLLWBU-BEqqF1y2.js +0 -17
  71. package/dist/lib/ganttDiagram-R7GPNTJY-BWtGXxEF.js +0 -3094
  72. package/dist/lib/gitGraph-VSP46ZUC-BSwOaak_.js +0 -3
  73. package/dist/lib/gitGraphDiagram-PDYL7XHY-CHGNuGbk.js +0 -729
  74. package/dist/lib/graphlib-Dndp26xU.js +0 -1267
  75. package/dist/lib/info-OHQRW6UA-Dk06sZRe.js +0 -3
  76. package/dist/lib/infoDiagram-MVDRKAX5-Cdhxnjmi.js +0 -20
  77. package/dist/lib/init-Bwwdo3M6.js +0 -15
  78. package/dist/lib/ishikawaDiagram-HPEHV2GE-Dzhti-GJ.js +0 -719
  79. package/dist/lib/journeyDiagram-BOSHW7O7-C3_vsSjw.js +0 -884
  80. package/dist/lib/kanban-definition-FNSA4HC5-XsfCEsjn.js +0 -976
  81. package/dist/lib/katex-Dw0PnoPU.js +0 -21850
  82. package/dist/lib/line-C9krU3Sv.js +0 -34
  83. package/dist/lib/linear-Cvilv3OA.js +0 -289
  84. package/dist/lib/mermaid-parser.core-I7qQ_fxz.js +0 -638
  85. package/dist/lib/mermaid.core-UNHMAbBP.js +0 -1126
  86. package/dist/lib/mindmap-definition-6OY57UG3-CAua-JvB.js +0 -1011
  87. package/dist/lib/ordinal-C55HfHHp.js +0 -65
  88. package/dist/lib/packet-JDAUHWVQ-DZ-MKx4I.js +0 -3
  89. package/dist/lib/path-DNvJyUE8.js +0 -85
  90. package/dist/lib/pegDiagram-ECIUJNBX-BCxa_IO0.js +0 -94
  91. package/dist/lib/pie-XZMESJXO-DpCa-Nnq.js +0 -3
  92. package/dist/lib/pieDiagram-GNMPY74T-CE_C3dCB.js +0 -205
  93. package/dist/lib/quadrantDiagram-D57K4MC3-CDgzdMoL.js +0 -2001
  94. package/dist/lib/radar-ABXABTNO-BOVK7L9p.js +0 -3
  95. package/dist/lib/railroad-I3PHUGI6-B6spKM0Z.js +0 -3
  96. package/dist/lib/railroad-abnf-LNEFI6M7-DEWqfByZ.js +0 -3
  97. package/dist/lib/railroad-ebnf-DWYD2UWJ-CWRLtxHB.js +0 -3
  98. package/dist/lib/railroad-peg-JR7BVNR7-C-3NHSsk.js +0 -3
  99. package/dist/lib/railroadDiagram-Y72NRBL7-a8YVk8LT.js +0 -76
  100. package/dist/lib/requirementDiagram-EQYSW5RA-B9HolqxU.js +0 -2228
  101. package/dist/lib/rough.esm-a8mysczE.js +0 -1352
  102. package/dist/lib/sankeyDiagram-SY24JHO5-CLFMtMJG.js +0 -970
  103. package/dist/lib/sequenceDiagram-BLEHNHQU-B5wfSV85.js +0 -4253
  104. package/dist/lib/sizeCapture-INFHLROL-BWGCc9aa.js +0 -46
  105. package/dist/lib/src-Dcy0zUZH.js +0 -2153
  106. package/dist/lib/stateDiagram-v2-A6IESKWZ-C92vye4N.js +0 -2143
  107. package/dist/lib/swimlanes-B3ENRKFQ-B6-i-tPc.js +0 -4764
  108. package/dist/lib/swimlanesDiagram-AYQRV4AK-CbkBeql-.js +0 -28
  109. package/dist/lib/timeline-definition-JXYKGLGB-D2Ip4r72.js +0 -1073
  110. package/dist/lib/treeView-D4JQ5SDB-CFaKQ_2T.js +0 -3
  111. package/dist/lib/treemap-SAJKECNS-BQ6z7Z3g.js +0 -3
  112. package/dist/lib/usecaseDiagram-WPOLBNNX-BK1Anch1.js +0 -7190
  113. package/dist/lib/vennDiagram-Q3Y3IDCW-B6YTBqTS.js +0 -1880
  114. package/dist/lib/wardley-7MLQ67FV-DChYwu4i.js +0 -3
  115. package/dist/lib/wardleyDiagram-IVAIDKWA-D5I1qLUK.js +0 -645
  116. package/dist/lib/xychartDiagram-4URNHDU4-B6RXyhTO.js +0 -2218
@@ -1,4258 +0,0 @@
1
- import { m as e, p as t } from "./src-Dcy0zUZH.js";
2
- import { n } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
3
- import { C as r, G as i, H as a, U as o, _ as s, a as c, at as l, b as u, d, et as f, q as p, s as m, v as h } from "./chunk-DSNLSHJZ-CpA9d2CJ.js";
4
- import { t as g } from "./channel-DagAO2vE.js";
5
- import { _, c as v } from "./chunk-7S6XSTFO-CMt_p-O6.js";
6
- import { t as ee } from "./chunk-5VM5RSS4-BAQ-46g4.js";
7
- import { i as te, n as ne, o as y, r as b } from "./chunk-J5ZVWO5B-CA_-jk8G.js";
8
- import { a as x } from "./chunk-HAGFOTED-DMU2JNZM.js";
9
- import { t as S } from "./chunk-55XCU76K-CI0GXDkJ.js";
10
- import { t as C } from "./chunk-XXDRQBXY-uzyNBbgx.js";
11
- import { t as w } from "./chunk-VQ5W62QI-_ZR3gKe4.js";
12
- import { r as T, t as E } from "./chunk-EJLWFMJV-B30MNYvY.js";
13
- import { n as D, t as O } from "./chunk-LNGE3PJU-CMGaAEAh.js";
14
- //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NQOKRVIF.mjs
15
- var re = "flowchart-", ie = class {
16
- constructor() {
17
- this.vertexCounter = 0, this.config = u(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = o, this.setAccDescription = a, this.setDiagramTitle = p, this.getAccTitle = h, this.getAccDescription = s, this.getDiagramTitle = r, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
18
- }
19
- static {
20
- n(this, "FlowDB");
21
- }
22
- sanitizeText(e) {
23
- return m.sanitizeText(e, this.config);
24
- }
25
- sanitizeNodeLabelType(e) {
26
- switch (e) {
27
- case "markdown":
28
- case "string":
29
- case "text": return e;
30
- default: return "markdown";
31
- }
32
- }
33
- setDiagramId(e) {
34
- this.diagramId = e;
35
- }
36
- lookUpDomId(e) {
37
- for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
38
- return this.diagramId ? `${this.diagramId}-${e}` : e;
39
- }
40
- addVertex(t, n, r, i, a, o, s = {}, c) {
41
- if (!t || t.trim().length === 0) return;
42
- let l;
43
- if (c !== void 0) {
44
- let e;
45
- e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = D(e, { schema: O });
46
- }
47
- let d = this.subGraphLookup.get(t);
48
- if (d && l) {
49
- d.metadata = {
50
- ...d.metadata,
51
- ...l
52
- };
53
- return;
54
- }
55
- let f = this.edges.find((e) => e.id === t);
56
- if (f) {
57
- let e = l;
58
- e?.animate !== void 0 && (f.animate = e.animate), e?.animation !== void 0 && (f.animation = e.animation), e?.curve !== void 0 && (f.interpolate = e.curve);
59
- return;
60
- }
61
- let p, m = this.vertices.get(t);
62
- if (m === void 0 && (n === void 0 && r === void 0 && i != null && e.warn(`Style applied to unknown node "${t}". This may indicate a typo. The node will be created automatically.`), m = {
63
- id: t,
64
- labelType: "text",
65
- domId: re + t + "-" + this.vertexCounter,
66
- styles: [],
67
- classes: []
68
- }, this.vertices.set(t, m)), this.vertexCounter++, n === void 0 ? m.text === void 0 && (m.text = t) : (this.config = u(), p = this.sanitizeText(n.text.trim()), m.labelType = n.type, p.startsWith("\"") && p.endsWith("\"") && (p = p.substring(1, p.length - 1)), m.text = p), r !== void 0 && (m.type = r), i?.forEach((e) => {
69
- m.styles.push(e);
70
- }), a?.forEach((e) => {
71
- m.classes.push(e);
72
- }), o !== void 0 && (m.dir = o), m.props === void 0 ? m.props = s : s !== void 0 && Object.assign(m.props, s), l !== void 0) {
73
- if (l.shape) {
74
- if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
75
- if (!x(l.shape)) throw Error(`No such shape: ${l.shape}.`);
76
- m.type = l?.shape;
77
- }
78
- l?.label && (m.text = l?.label, m.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (m.icon = l?.icon, !l.label?.trim() && m.text === t && (m.text = "")), l?.form && (m.form = l?.form), l?.pos && (m.pos = l?.pos), l?.img && (m.img = l?.img, !l.label?.trim() && m.text === t && (m.text = "")), l?.constraint && (m.constraint = l.constraint), l.w && (m.assetWidth = Number(l.w)), l.h && (m.assetHeight = Number(l.h));
79
- }
80
- }
81
- addSingleLink(t, n, r, i) {
82
- let a = {
83
- start: t,
84
- end: n,
85
- type: void 0,
86
- text: "",
87
- labelType: "text",
88
- classes: [],
89
- isUserDefinedId: !1,
90
- interpolate: this.edges.defaultInterpolate
91
- };
92
- e.info("abc78 Got edge...", a);
93
- let o = r.text;
94
- if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
95
- else {
96
- let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
97
- e.length === 0 ? a.id = v(a.start, a.end, {
98
- counter: 0,
99
- prefix: "L"
100
- }) : a.id = v(a.start, a.end, {
101
- counter: e.length + 1,
102
- prefix: "L"
103
- });
104
- }
105
- if (this.edges.length < (this.config.maxEdges ?? 500)) e.info("Pushing edge..."), this.edges.push(a);
106
- else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
107
-
108
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
109
- You cannot set this config via configuration inside the diagram as it is a secure config.
110
- You have to call mermaid.initialize.`);
111
- }
112
- isLinkData(e) {
113
- return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
114
- }
115
- addLink(t, n, r) {
116
- let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
117
- e.info("addLink", t, n, i);
118
- for (let e of t) for (let a of n) {
119
- let o = e === t[t.length - 1], s = a === n[0];
120
- o && s ? this.addSingleLink(e, a, r, i) : this.addSingleLink(e, a, r, void 0);
121
- }
122
- }
123
- updateLinkInterpolate(e, t) {
124
- e.forEach((e) => {
125
- e === "default" ? this.edges.defaultInterpolate = t : this.edges[e].interpolate = t;
126
- });
127
- }
128
- updateLink(e, t) {
129
- e.forEach((e) => {
130
- if (typeof e == "number" && e >= this.edges.length) throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`);
131
- e === "default" ? this.edges.defaultStyle = t : (this.edges[e].style = t, (this.edges[e]?.style?.length ?? 0) > 0 && !this.edges[e]?.style?.some((e) => e?.startsWith("fill")) && this.edges[e]?.style?.push("fill:none"));
132
- });
133
- }
134
- addClass(e, t) {
135
- let n = t.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
136
- e.split(",").forEach((e) => {
137
- let t = this.classes.get(e);
138
- t === void 0 && (t = {
139
- id: e,
140
- styles: [],
141
- textStyles: []
142
- }, this.classes.set(e, t)), n?.forEach((e) => {
143
- if (/color/.exec(e)) {
144
- let n = e.replace("fill", "bgFill");
145
- t.textStyles.push(n);
146
- }
147
- t.styles.push(e);
148
- });
149
- });
150
- }
151
- setDirection(e) {
152
- this.direction = e.trim(), /.*</.exec(this.direction) && (this.direction = "RL"), /.*\^/.exec(this.direction) && (this.direction = "BT"), /.*>/.exec(this.direction) && (this.direction = "LR"), /.*v/.exec(this.direction) && (this.direction = "TB"), this.direction === "TD" && (this.direction = "TB");
153
- }
154
- setClass(e, t) {
155
- for (let n of e.split(",")) {
156
- let e = this.vertices.get(n);
157
- e && e.classes.push(t);
158
- let r = this.edges.find((e) => e.id === n);
159
- r && r.classes.push(t);
160
- let i = this.subGraphLookup.get(n);
161
- i && i.classes.push(t);
162
- }
163
- }
164
- setTooltip(e, t) {
165
- if (t !== void 0) {
166
- t = this.sanitizeText(t);
167
- for (let n of e.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(n) : n, t);
168
- }
169
- }
170
- setClickFun(e, t, n) {
171
- if (u().securityLevel !== "loose" || t === void 0) return;
172
- let r = [];
173
- if (typeof n == "string") {
174
- r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
175
- for (let e = 0; e < r.length; e++) {
176
- let t = r[e].trim();
177
- t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
178
- }
179
- }
180
- r.length === 0 && r.push(e);
181
- let i = this.vertices.get(e);
182
- i && (i.haveCallback = !0, this.funs.push(() => {
183
- let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
184
- i !== null && i.addEventListener("click", () => {
185
- _.runFunc(t, ...r);
186
- }, !1);
187
- }));
188
- }
189
- setLink(e, t, n) {
190
- e.split(",").forEach((e) => {
191
- let r = this.vertices.get(e);
192
- r !== void 0 && (r.link = _.formatUrl(t, this.config), r.linkTarget = n);
193
- }), this.setClass(e, "clickable");
194
- }
195
- getTooltip(e) {
196
- return this.tooltips.get(e);
197
- }
198
- setClickEvent(e, t, n) {
199
- e.split(",").forEach((e) => {
200
- this.setClickFun(e, t, n);
201
- }), this.setClass(e, "clickable");
202
- }
203
- bindFunctions(e) {
204
- this.funs.forEach((t) => {
205
- t(e);
206
- });
207
- }
208
- getDirection() {
209
- return this.direction?.trim();
210
- }
211
- getVertices() {
212
- return this.vertices;
213
- }
214
- getEdges() {
215
- return this.edges;
216
- }
217
- getClasses() {
218
- return this.classes;
219
- }
220
- setupToolTips(e) {
221
- let n = S();
222
- t(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
223
- let r = t(e.currentTarget), i = r.attr("title");
224
- if (i === null) return;
225
- let a = e.currentTarget?.getBoundingClientRect();
226
- n.transition().duration(200).style("opacity", ".9"), n.text(r.attr("title")).style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), n.html(f.sanitize(i)), r.classed("hover", !0);
227
- }).on("mouseout", (e) => {
228
- n.transition().duration(500).style("opacity", 0), t(e.currentTarget).classed("hover", !1);
229
- });
230
- }
231
- clear(e = "gen-2") {
232
- this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = u(), c();
233
- }
234
- setGen(e) {
235
- this.version = e || "gen-2";
236
- }
237
- defaultStyle() {
238
- return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
239
- }
240
- addSubGraph(t, r, i) {
241
- let a = t.text.trim(), o = i.text;
242
- t === i && /\s/.exec(i.text) && (a = void 0);
243
- let s = (/* @__PURE__ */ n((e) => {
244
- let t = {
245
- boolean: {},
246
- number: {},
247
- string: {}
248
- }, n = [], r;
249
- return {
250
- nodeList: e.filter(function(e) {
251
- let i = typeof e;
252
- return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : n.includes(e) ? !1 : n.push(e);
253
- }),
254
- dir: r
255
- };
256
- }, "uniq"))(r.flat()), c = s.nodeList, l = s.dir, d = u().flowchart ?? {};
257
- if (l ??= d.inheritDir ? this.getDirection() ?? u().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < c.length; e++) c[e] = this.lookUpDomId(c[e]);
258
- a ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
259
- let f = {
260
- id: a,
261
- nodes: c,
262
- title: o.trim(),
263
- classes: [],
264
- dir: l,
265
- labelType: this.sanitizeNodeLabelType(i?.type)
266
- };
267
- e.info("Adding", f.id, f.nodes, f.dir), f.nodes = this.makeUniq(f, this.subGraphs).nodes.filter((e) => e !== a);
268
- let p = this.subGraphs.find((e) => e.id === a);
269
- return p ? p.nodes.push(...f.nodes) : this.subGraphs.push(f), this.subGraphLookup.set(a, p ?? f), a;
270
- }
271
- getPosForId(e) {
272
- for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
273
- return -1;
274
- }
275
- indexNodes2(e, t) {
276
- let n = this.subGraphs[t].nodes;
277
- if (this.secCount += 1, this.secCount > 2e3) return {
278
- result: !1,
279
- count: 0
280
- };
281
- if (this.posCrossRef[this.secCount] = t, this.subGraphs[t].id === e) return {
282
- result: !0,
283
- count: 0
284
- };
285
- let r = 0, i = 1;
286
- for (; r < n.length;) {
287
- let t = this.getPosForId(n[r]);
288
- if (t >= 0) {
289
- let n = this.indexNodes2(e, t);
290
- if (n.result) return {
291
- result: !0,
292
- count: i + n.count
293
- };
294
- i += n.count;
295
- }
296
- r += 1;
297
- }
298
- return {
299
- result: !1,
300
- count: i
301
- };
302
- }
303
- getDepthFirstPos(e) {
304
- return this.posCrossRef[e];
305
- }
306
- indexNodes() {
307
- this.secCount = -1, this.subGraphs.length > 0 && this.indexNodes2("none", this.subGraphs.length - 1);
308
- }
309
- getSubGraphs() {
310
- return this.subGraphs;
311
- }
312
- firstGraph() {
313
- return this.firstGraphFlag ? (this.firstGraphFlag = !1, !0) : !1;
314
- }
315
- destructStartLink(e) {
316
- let t = e.trim(), n = "arrow_open";
317
- switch (t[0]) {
318
- case "<":
319
- n = "arrow_point", t = t.slice(1);
320
- break;
321
- case "x":
322
- n = "arrow_cross", t = t.slice(1);
323
- break;
324
- case "o":
325
- n = "arrow_circle", t = t.slice(1);
326
- break;
327
- }
328
- let r = "normal";
329
- return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
330
- type: n,
331
- stroke: r
332
- };
333
- }
334
- countChar(e, t) {
335
- let n = t.length, r = 0;
336
- for (let i = 0; i < n; ++i) t[i] === e && ++r;
337
- return r;
338
- }
339
- destructEndLink(e) {
340
- let t = e.trim(), n = t.slice(0, -1), r = "arrow_open";
341
- switch (t.slice(-1)) {
342
- case "x":
343
- r = "arrow_cross", t.startsWith("x") && (r = "double_" + r, n = n.slice(1));
344
- break;
345
- case ">":
346
- r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
347
- break;
348
- case "o":
349
- r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
350
- break;
351
- }
352
- let i = "normal", a = n.length - 1;
353
- n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
354
- let o = this.countChar(".", n);
355
- return o && (i = "dotted", a = o), {
356
- type: r,
357
- stroke: i,
358
- length: a
359
- };
360
- }
361
- destructLink(e, t) {
362
- let n = this.destructEndLink(e), r;
363
- if (t) {
364
- if (r = this.destructStartLink(t), r.stroke !== n.stroke) return {
365
- type: "INVALID",
366
- stroke: "INVALID"
367
- };
368
- if (r.type === "arrow_open") r.type = n.type;
369
- else {
370
- if (r.type !== n.type) return {
371
- type: "INVALID",
372
- stroke: "INVALID"
373
- };
374
- r.type = "double_" + r.type;
375
- }
376
- return r.type === "double_arrow" && (r.type = "double_arrow_point"), r.length = n.length, r;
377
- }
378
- return n;
379
- }
380
- exists(e, t) {
381
- for (let n of e) if (n.nodes.includes(t)) return !0;
382
- return !1;
383
- }
384
- makeUniq(e, t) {
385
- let n = [];
386
- return e.nodes.forEach((r, i) => {
387
- this.exists(t, r) || n.push(e.nodes[i]);
388
- }), { nodes: n };
389
- }
390
- getTypeFromVertex(e) {
391
- if (e.img) return "imageSquare";
392
- if (e.icon) return e.form === "circle" ? "iconCircle" : e.form === "square" ? "iconSquare" : e.form === "rounded" ? "iconRounded" : "icon";
393
- switch (e.type) {
394
- case "square":
395
- case void 0: return "squareRect";
396
- case "round": return "roundedRect";
397
- case "ellipse": return "ellipse";
398
- default: return e.type;
399
- }
400
- }
401
- findNode(e, t) {
402
- return e.find((e) => e.id === t);
403
- }
404
- destructEdgeType(e) {
405
- let t = "none", n = "arrow_point";
406
- switch (e) {
407
- case "arrow_point":
408
- case "arrow_circle":
409
- case "arrow_cross":
410
- n = e;
411
- break;
412
- case "double_arrow_point":
413
- case "double_arrow_circle":
414
- case "double_arrow_cross":
415
- t = e.replace("double_", ""), n = t;
416
- break;
417
- }
418
- return {
419
- arrowTypeStart: t,
420
- arrowTypeEnd: n
421
- };
422
- }
423
- addNodeFromVertex(e, t, n, r, i, a) {
424
- let o = n.get(e.id), s = r.get(e.id) ?? !1, c = this.findNode(t, e.id);
425
- if (c) c.cssStyles = e.styles, c.cssCompiledStyles = this.getCompiledStyles(e.classes), c.cssClasses = e.classes.join(" ");
426
- else {
427
- let n = {
428
- id: e.id,
429
- label: e.text,
430
- labelType: e.labelType,
431
- labelStyle: "",
432
- parentId: o,
433
- padding: i.flowchart?.padding || 8,
434
- cssStyles: e.styles,
435
- cssCompiledStyles: this.getCompiledStyles([
436
- "default",
437
- "node",
438
- ...e.classes
439
- ]),
440
- cssClasses: "default " + e.classes.join(" "),
441
- dir: e.dir,
442
- domId: e.domId,
443
- look: a,
444
- link: e.link,
445
- linkTarget: e.linkTarget,
446
- tooltip: this.getTooltip(e.id),
447
- icon: e.icon,
448
- pos: e.pos,
449
- img: e.img,
450
- assetWidth: e.assetWidth,
451
- assetHeight: e.assetHeight,
452
- constraint: e.constraint
453
- };
454
- s ? t.push({
455
- ...n,
456
- isGroup: !0,
457
- shape: "rect"
458
- }) : t.push({
459
- ...n,
460
- isGroup: !1,
461
- shape: this.getTypeFromVertex(e),
462
- minWidth: i.flowchart?.minNodeWidth
463
- });
464
- }
465
- }
466
- getCompiledStyles(e) {
467
- let t = [];
468
- for (let n of e) {
469
- let e = this.classes.get(n);
470
- e?.styles && (t = [...t, ...e.styles ?? []].map((e) => e.trim())), e?.textStyles && (t = [...t, ...e.textStyles ?? []].map((e) => e.trim()));
471
- }
472
- return t;
473
- }
474
- getData() {
475
- let e = u(), t = [], r = [], i = this.getSubGraphs(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
476
- for (let e of i) for (let t of e.nodes) this.subGraphLookup.has(t) && s.set(t, e.id);
477
- let c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
478
- for (let e of i) {
479
- let t = s.get(e.id);
480
- t !== void 0 && l.set(t, [...l.get(t) ?? [], e.id]);
481
- }
482
- let d = 0, f = /* @__PURE__ */ n((e) => {
483
- c.set(e, d++);
484
- for (let t of l.get(e) ?? []) f(t);
485
- }, "walk");
486
- for (let e of i) s.has(e.id) || f(e.id);
487
- let p = /* @__PURE__ */ n((e) => this.subGraphLookup.get(e)?.metadata?.view === "collapsed", "isCollapsed"), m = /* @__PURE__ */ n((e) => {
488
- let t, n = /* @__PURE__ */ new Set(), r = e;
489
- for (; r !== void 0 && !n.has(r);) n.add(r), p(r) && (t = r), r = s.get(r);
490
- return t;
491
- }, "outermostCollapsed"), h = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
492
- for (let e of i) {
493
- let t = m(e.id);
494
- if (t !== void 0) {
495
- e.id !== t && (h.add(e.id), g.set(e.id, t));
496
- for (let n of e.nodes) n !== t && (h.add(n), g.set(n, t));
497
- }
498
- }
499
- for (let e = i.length - 1; e >= 0; e--) {
500
- let t = i[e];
501
- if (!h.has(t.id)) {
502
- t.nodes.length > 0 && o.set(t.id, !0);
503
- for (let e of t.nodes) a.set(e, t.id);
504
- }
505
- }
506
- for (let n = i.length - 1; n >= 0; n--) {
507
- let r = i[n];
508
- h.has(r.id) || (r.metadata?.view === "collapsed" ? t.push({
509
- id: r.id,
510
- label: r.title,
511
- labelStyle: "",
512
- labelType: r.labelType,
513
- parentId: a.get(r.id),
514
- padding: 8,
515
- cssCompiledStyles: this.getCompiledStyles(r.classes),
516
- cssClasses: r.classes.join(" "),
517
- shape: "collapsedGroup",
518
- dir: r.dir,
519
- isGroup: !1,
520
- look: e.look,
521
- colorIndex: c.get(r.id)
522
- }) : t.push({
523
- id: r.id,
524
- label: r.title,
525
- labelStyle: "",
526
- labelType: r.labelType,
527
- parentId: a.get(r.id),
528
- padding: 8,
529
- cssCompiledStyles: this.getCompiledStyles(r.classes),
530
- cssClasses: r.classes.join(" "),
531
- shape: "rect",
532
- dir: r.dir,
533
- isGroup: !0,
534
- look: e.look,
535
- colorIndex: c.get(r.id),
536
- metadata: r.metadata
537
- }));
538
- }
539
- this.getVertices().forEach((n) => {
540
- h.has(n.id) || this.addNodeFromVertex(n, t, a, o, e, e.look || "classic");
541
- });
542
- let _ = this.getEdges();
543
- return _.forEach((t, n) => {
544
- let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), o = [..._.defaultStyle ?? []], s = g.get(t.start) ?? t.start, c = g.get(t.end) ?? t.end;
545
- if (s === c && (g.has(t.start) || g.has(t.end))) return;
546
- t.style && o.push(...t.style);
547
- let l = {
548
- id: v(s, c, {
549
- counter: n,
550
- prefix: "L"
551
- }, t.id),
552
- isUserDefinedId: t.isUserDefinedId,
553
- start: s,
554
- end: c,
555
- type: t.type ?? "normal",
556
- label: t.text,
557
- labelType: t.labelType,
558
- labelpos: "c",
559
- thickness: t.stroke,
560
- minlen: t.length,
561
- classes: t?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
562
- arrowTypeStart: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : i,
563
- arrowTypeEnd: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : a,
564
- arrowheadStyle: "fill: #333",
565
- cssCompiledStyles: this.getCompiledStyles(t.classes),
566
- labelStyle: o,
567
- style: o,
568
- pattern: t.stroke,
569
- look: e.look,
570
- animate: t.animate,
571
- animation: t.animation,
572
- curve: t.interpolate || this.edges.defaultInterpolate || e.flowchart?.curve
573
- };
574
- r.push(l);
575
- }), {
576
- nodes: t,
577
- edges: r,
578
- other: {},
579
- config: e
580
- };
581
- }
582
- defaultConfig() {
583
- return d.flowchart;
584
- }
585
- }, ae = {
586
- getClasses: /* @__PURE__ */ n(function(e, t) {
587
- return t.db.getClasses();
588
- }, "getClasses"),
589
- draw: /* @__PURE__ */ n(async function(t, n, r, i) {
590
- e.info("REF0:"), e.info("Drawing state diagram (v2)", n);
591
- let { securityLevel: a, flowchart: o, layout: s } = u();
592
- i.db.setDiagramId(n), e.debug("Before getData: ");
593
- let c = i.db.getData();
594
- e.debug("Data: ", c);
595
- let l = C(n, a), d = i.db.getDirection();
596
- c.type = i.type, c.layoutAlgorithm = E(s), c.direction = d, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
597
- "point",
598
- "circle",
599
- "cross"
600
- ], c.diagramId = n, e.debug("REF1:", c), await T(c, l);
601
- let f = c.config.flowchart?.diagramPadding ?? 8;
602
- _.insertTitle(l, "flowchartTitleText", o?.titleTopMargin || 0, i.db.getDiagramTitle()), w(l, f, "flowchart", o?.useMaxWidth || !1);
603
- }, "draw")
604
- }, oe = (function() {
605
- var e = /* @__PURE__ */ n(function(e, t, n, r) {
606
- for (n ||= {}, r = e.length; r--; n[e[r]] = t);
607
- return n;
608
- }, "o"), t = [1, 4], r = [1, 3], i = [1, 5], a = [
609
- 1,
610
- 8,
611
- 9,
612
- 10,
613
- 11,
614
- 27,
615
- 34,
616
- 36,
617
- 38,
618
- 44,
619
- 60,
620
- 84,
621
- 85,
622
- 86,
623
- 87,
624
- 88,
625
- 89,
626
- 102,
627
- 105,
628
- 106,
629
- 109,
630
- 111,
631
- 114,
632
- 115,
633
- 116,
634
- 121,
635
- 122,
636
- 123,
637
- 124,
638
- 125
639
- ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], d = [1, 23], f = [1, 25], p = [1, 26], m = [1, 27], h = [1, 50], g = [1, 49], _ = [1, 29], v = [1, 30], ee = [1, 31], te = [1, 32], ne = [1, 33], y = [1, 45], b = [1, 47], x = [1, 43], S = [1, 48], C = [1, 44], w = [1, 51], T = [1, 46], E = [1, 52], D = [1, 53], O = [1, 34], re = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
640
- 1,
641
- 8,
642
- 9,
643
- 10,
644
- 11,
645
- 27,
646
- 32,
647
- 34,
648
- 36,
649
- 38,
650
- 44,
651
- 60,
652
- 84,
653
- 85,
654
- 86,
655
- 87,
656
- 88,
657
- 89,
658
- 102,
659
- 105,
660
- 106,
661
- 109,
662
- 111,
663
- 114,
664
- 115,
665
- 116,
666
- 121,
667
- 122,
668
- 123,
669
- 124,
670
- 125
671
- ], j = [1, 62], M = [1, 61], N = [1, 63], se = [
672
- 8,
673
- 9,
674
- 11,
675
- 75,
676
- 77,
677
- 78
678
- ], ce = [1, 79], le = [1, 92], ue = [1, 97], de = [1, 96], fe = [1, 93], pe = [1, 89], me = [1, 95], he = [1, 91], ge = [1, 98], _e = [1, 94], ve = [1, 99], ye = [1, 90], be = [
679
- 8,
680
- 9,
681
- 10,
682
- 11,
683
- 40,
684
- 75,
685
- 77,
686
- 78
687
- ], P = [
688
- 8,
689
- 9,
690
- 10,
691
- 11,
692
- 40,
693
- 46,
694
- 75,
695
- 77,
696
- 78
697
- ], F = [
698
- 8,
699
- 9,
700
- 10,
701
- 11,
702
- 29,
703
- 40,
704
- 44,
705
- 46,
706
- 48,
707
- 50,
708
- 52,
709
- 54,
710
- 56,
711
- 58,
712
- 60,
713
- 63,
714
- 65,
715
- 67,
716
- 68,
717
- 70,
718
- 75,
719
- 77,
720
- 78,
721
- 89,
722
- 102,
723
- 105,
724
- 106,
725
- 109,
726
- 111,
727
- 114,
728
- 115,
729
- 116
730
- ], xe = [
731
- 8,
732
- 9,
733
- 11,
734
- 44,
735
- 60,
736
- 75,
737
- 77,
738
- 78,
739
- 89,
740
- 102,
741
- 105,
742
- 106,
743
- 109,
744
- 111,
745
- 114,
746
- 115,
747
- 116
748
- ], Se = [
749
- 44,
750
- 60,
751
- 89,
752
- 102,
753
- 105,
754
- 106,
755
- 109,
756
- 111,
757
- 114,
758
- 115,
759
- 116
760
- ], Ce = [1, 122], we = [1, 123], Te = [1, 125], Ee = [1, 124], De = [
761
- 44,
762
- 60,
763
- 62,
764
- 74,
765
- 89,
766
- 102,
767
- 105,
768
- 106,
769
- 109,
770
- 111,
771
- 114,
772
- 115,
773
- 116
774
- ], Oe = [1, 134], ke = [1, 148], Ae = [1, 149], je = [1, 150], Me = [1, 151], Ne = [1, 136], Pe = [1, 138], Fe = [1, 142], Ie = [1, 143], Le = [1, 144], Re = [1, 145], ze = [1, 146], Be = [1, 147], Ve = [1, 152], He = [1, 153], Ue = [1, 132], We = [1, 133], Ge = [1, 140], Ke = [1, 135], qe = [1, 139], Je = [1, 137], Ye = [
775
- 8,
776
- 9,
777
- 10,
778
- 11,
779
- 27,
780
- 32,
781
- 34,
782
- 36,
783
- 38,
784
- 44,
785
- 60,
786
- 84,
787
- 85,
788
- 86,
789
- 87,
790
- 88,
791
- 89,
792
- 102,
793
- 105,
794
- 106,
795
- 109,
796
- 111,
797
- 114,
798
- 115,
799
- 116,
800
- 121,
801
- 122,
802
- 123,
803
- 124,
804
- 125
805
- ], Xe = [1, 155], Ze = [1, 157], I = [
806
- 8,
807
- 9,
808
- 11
809
- ], L = [
810
- 8,
811
- 9,
812
- 10,
813
- 11,
814
- 14,
815
- 44,
816
- 60,
817
- 89,
818
- 105,
819
- 106,
820
- 109,
821
- 111,
822
- 114,
823
- 115,
824
- 116
825
- ], R = [1, 177], z = [1, 173], B = [1, 174], V = [1, 178], H = [1, 175], U = [1, 176], Qe = [
826
- 77,
827
- 116,
828
- 119
829
- ], W = [
830
- 8,
831
- 9,
832
- 10,
833
- 11,
834
- 12,
835
- 14,
836
- 27,
837
- 29,
838
- 32,
839
- 44,
840
- 60,
841
- 75,
842
- 84,
843
- 85,
844
- 86,
845
- 87,
846
- 88,
847
- 89,
848
- 90,
849
- 105,
850
- 109,
851
- 111,
852
- 114,
853
- 115,
854
- 116
855
- ], $e = [10, 106], et = [
856
- 31,
857
- 49,
858
- 51,
859
- 53,
860
- 55,
861
- 57,
862
- 62,
863
- 64,
864
- 66,
865
- 67,
866
- 69,
867
- 71,
868
- 116,
869
- 117,
870
- 118
871
- ], G = [1, 248], K = [1, 246], q = [1, 250], J = [1, 244], Y = [1, 245], X = [1, 247], Z = [1, 249], Q = [1, 251], tt = [1, 269], nt = [
872
- 8,
873
- 9,
874
- 11,
875
- 106
876
- ], $ = [
877
- 8,
878
- 9,
879
- 10,
880
- 11,
881
- 60,
882
- 84,
883
- 105,
884
- 106,
885
- 109,
886
- 110,
887
- 111,
888
- 112
889
- ], rt = {
890
- trace: /* @__PURE__ */ n(function() {}, "trace"),
891
- yy: {},
892
- symbols_: {
893
- error: 2,
894
- start: 3,
895
- graphConfig: 4,
896
- document: 5,
897
- line: 6,
898
- statement: 7,
899
- SEMI: 8,
900
- NEWLINE: 9,
901
- SPACE: 10,
902
- EOF: 11,
903
- GRAPH: 12,
904
- NODIR: 13,
905
- DIR: 14,
906
- FirstStmtSeparator: 15,
907
- ending: 16,
908
- endToken: 17,
909
- spaceList: 18,
910
- spaceListNewline: 19,
911
- vertexStatement: 20,
912
- separator: 21,
913
- styleStatement: 22,
914
- linkStyleStatement: 23,
915
- classDefStatement: 24,
916
- classStatement: 25,
917
- clickStatement: 26,
918
- subgraph: 27,
919
- textNoTags: 28,
920
- SQS: 29,
921
- text: 30,
922
- SQE: 31,
923
- end: 32,
924
- direction: 33,
925
- acc_title: 34,
926
- acc_title_value: 35,
927
- acc_descr: 36,
928
- acc_descr_value: 37,
929
- acc_descr_multiline_value: 38,
930
- shapeData: 39,
931
- SHAPE_DATA: 40,
932
- link: 41,
933
- node: 42,
934
- styledVertex: 43,
935
- AMP: 44,
936
- vertex: 45,
937
- STYLE_SEPARATOR: 46,
938
- idString: 47,
939
- DOUBLECIRCLESTART: 48,
940
- DOUBLECIRCLEEND: 49,
941
- PS: 50,
942
- PE: 51,
943
- "(-": 52,
944
- "-)": 53,
945
- STADIUMSTART: 54,
946
- STADIUMEND: 55,
947
- SUBROUTINESTART: 56,
948
- SUBROUTINEEND: 57,
949
- VERTEX_WITH_PROPS_START: 58,
950
- "NODE_STRING[field]": 59,
951
- COLON: 60,
952
- "NODE_STRING[value]": 61,
953
- PIPE: 62,
954
- CYLINDERSTART: 63,
955
- CYLINDEREND: 64,
956
- DIAMOND_START: 65,
957
- DIAMOND_STOP: 66,
958
- TAGEND: 67,
959
- TRAPSTART: 68,
960
- TRAPEND: 69,
961
- INVTRAPSTART: 70,
962
- INVTRAPEND: 71,
963
- linkStatement: 72,
964
- arrowText: 73,
965
- TESTSTR: 74,
966
- START_LINK: 75,
967
- edgeText: 76,
968
- LINK: 77,
969
- LINK_ID: 78,
970
- edgeTextToken: 79,
971
- STR: 80,
972
- MD_STR: 81,
973
- textToken: 82,
974
- keywords: 83,
975
- STYLE: 84,
976
- LINKSTYLE: 85,
977
- CLASSDEF: 86,
978
- CLASS: 87,
979
- CLICK: 88,
980
- DOWN: 89,
981
- UP: 90,
982
- textNoTagsToken: 91,
983
- stylesOpt: 92,
984
- "idString[vertex]": 93,
985
- "idString[class]": 94,
986
- CALLBACKNAME: 95,
987
- CALLBACKARGS: 96,
988
- HREF: 97,
989
- LINK_TARGET: 98,
990
- "STR[link]": 99,
991
- "STR[tooltip]": 100,
992
- alphaNum: 101,
993
- DEFAULT: 102,
994
- numList: 103,
995
- INTERPOLATE: 104,
996
- NUM: 105,
997
- COMMA: 106,
998
- style: 107,
999
- styleComponent: 108,
1000
- NODE_STRING: 109,
1001
- UNIT: 110,
1002
- BRKT: 111,
1003
- PCT: 112,
1004
- idStringToken: 113,
1005
- MINUS: 114,
1006
- MULT: 115,
1007
- UNICODE_TEXT: 116,
1008
- TEXT: 117,
1009
- TAGSTART: 118,
1010
- EDGE_TEXT: 119,
1011
- alphaNumToken: 120,
1012
- direction_tb: 121,
1013
- direction_bt: 122,
1014
- direction_rl: 123,
1015
- direction_lr: 124,
1016
- direction_td: 125,
1017
- $accept: 0,
1018
- $end: 1
1019
- },
1020
- terminals_: {
1021
- 2: "error",
1022
- 8: "SEMI",
1023
- 9: "NEWLINE",
1024
- 10: "SPACE",
1025
- 11: "EOF",
1026
- 12: "GRAPH",
1027
- 13: "NODIR",
1028
- 14: "DIR",
1029
- 27: "subgraph",
1030
- 29: "SQS",
1031
- 31: "SQE",
1032
- 32: "end",
1033
- 34: "acc_title",
1034
- 35: "acc_title_value",
1035
- 36: "acc_descr",
1036
- 37: "acc_descr_value",
1037
- 38: "acc_descr_multiline_value",
1038
- 40: "SHAPE_DATA",
1039
- 44: "AMP",
1040
- 46: "STYLE_SEPARATOR",
1041
- 48: "DOUBLECIRCLESTART",
1042
- 49: "DOUBLECIRCLEEND",
1043
- 50: "PS",
1044
- 51: "PE",
1045
- 52: "(-",
1046
- 53: "-)",
1047
- 54: "STADIUMSTART",
1048
- 55: "STADIUMEND",
1049
- 56: "SUBROUTINESTART",
1050
- 57: "SUBROUTINEEND",
1051
- 58: "VERTEX_WITH_PROPS_START",
1052
- 59: "NODE_STRING[field]",
1053
- 60: "COLON",
1054
- 61: "NODE_STRING[value]",
1055
- 62: "PIPE",
1056
- 63: "CYLINDERSTART",
1057
- 64: "CYLINDEREND",
1058
- 65: "DIAMOND_START",
1059
- 66: "DIAMOND_STOP",
1060
- 67: "TAGEND",
1061
- 68: "TRAPSTART",
1062
- 69: "TRAPEND",
1063
- 70: "INVTRAPSTART",
1064
- 71: "INVTRAPEND",
1065
- 74: "TESTSTR",
1066
- 75: "START_LINK",
1067
- 77: "LINK",
1068
- 78: "LINK_ID",
1069
- 80: "STR",
1070
- 81: "MD_STR",
1071
- 84: "STYLE",
1072
- 85: "LINKSTYLE",
1073
- 86: "CLASSDEF",
1074
- 87: "CLASS",
1075
- 88: "CLICK",
1076
- 89: "DOWN",
1077
- 90: "UP",
1078
- 93: "idString[vertex]",
1079
- 94: "idString[class]",
1080
- 95: "CALLBACKNAME",
1081
- 96: "CALLBACKARGS",
1082
- 97: "HREF",
1083
- 98: "LINK_TARGET",
1084
- 99: "STR[link]",
1085
- 100: "STR[tooltip]",
1086
- 102: "DEFAULT",
1087
- 104: "INTERPOLATE",
1088
- 105: "NUM",
1089
- 106: "COMMA",
1090
- 109: "NODE_STRING",
1091
- 110: "UNIT",
1092
- 111: "BRKT",
1093
- 112: "PCT",
1094
- 114: "MINUS",
1095
- 115: "MULT",
1096
- 116: "UNICODE_TEXT",
1097
- 117: "TEXT",
1098
- 118: "TAGSTART",
1099
- 119: "EDGE_TEXT",
1100
- 121: "direction_tb",
1101
- 122: "direction_bt",
1102
- 123: "direction_rl",
1103
- 124: "direction_lr",
1104
- 125: "direction_td"
1105
- },
1106
- productions_: [
1107
- 0,
1108
- [3, 2],
1109
- [5, 0],
1110
- [5, 2],
1111
- [6, 1],
1112
- [6, 1],
1113
- [6, 1],
1114
- [6, 1],
1115
- [6, 1],
1116
- [4, 2],
1117
- [4, 2],
1118
- [4, 2],
1119
- [4, 3],
1120
- [16, 2],
1121
- [16, 1],
1122
- [17, 1],
1123
- [17, 1],
1124
- [17, 1],
1125
- [15, 1],
1126
- [15, 1],
1127
- [15, 2],
1128
- [19, 2],
1129
- [19, 2],
1130
- [19, 1],
1131
- [19, 1],
1132
- [18, 2],
1133
- [18, 1],
1134
- [7, 2],
1135
- [7, 2],
1136
- [7, 2],
1137
- [7, 2],
1138
- [7, 2],
1139
- [7, 2],
1140
- [7, 9],
1141
- [7, 6],
1142
- [7, 4],
1143
- [7, 1],
1144
- [7, 2],
1145
- [7, 2],
1146
- [7, 1],
1147
- [21, 1],
1148
- [21, 1],
1149
- [21, 1],
1150
- [39, 2],
1151
- [39, 1],
1152
- [20, 4],
1153
- [20, 3],
1154
- [20, 4],
1155
- [20, 2],
1156
- [20, 2],
1157
- [20, 1],
1158
- [42, 1],
1159
- [42, 6],
1160
- [42, 5],
1161
- [43, 1],
1162
- [43, 3],
1163
- [45, 4],
1164
- [45, 4],
1165
- [45, 6],
1166
- [45, 4],
1167
- [45, 4],
1168
- [45, 4],
1169
- [45, 8],
1170
- [45, 4],
1171
- [45, 4],
1172
- [45, 4],
1173
- [45, 6],
1174
- [45, 4],
1175
- [45, 4],
1176
- [45, 4],
1177
- [45, 4],
1178
- [45, 4],
1179
- [45, 1],
1180
- [41, 2],
1181
- [41, 3],
1182
- [41, 3],
1183
- [41, 1],
1184
- [41, 3],
1185
- [41, 4],
1186
- [76, 1],
1187
- [76, 2],
1188
- [76, 1],
1189
- [76, 1],
1190
- [72, 1],
1191
- [72, 2],
1192
- [73, 3],
1193
- [30, 1],
1194
- [30, 2],
1195
- [30, 1],
1196
- [30, 1],
1197
- [83, 1],
1198
- [83, 1],
1199
- [83, 1],
1200
- [83, 1],
1201
- [83, 1],
1202
- [83, 1],
1203
- [83, 1],
1204
- [83, 1],
1205
- [83, 1],
1206
- [83, 1],
1207
- [83, 1],
1208
- [28, 1],
1209
- [28, 2],
1210
- [28, 1],
1211
- [28, 1],
1212
- [24, 5],
1213
- [25, 5],
1214
- [26, 2],
1215
- [26, 4],
1216
- [26, 3],
1217
- [26, 5],
1218
- [26, 3],
1219
- [26, 5],
1220
- [26, 5],
1221
- [26, 7],
1222
- [26, 2],
1223
- [26, 4],
1224
- [26, 2],
1225
- [26, 4],
1226
- [26, 4],
1227
- [26, 6],
1228
- [22, 5],
1229
- [23, 5],
1230
- [23, 5],
1231
- [23, 9],
1232
- [23, 9],
1233
- [23, 7],
1234
- [23, 7],
1235
- [103, 1],
1236
- [103, 3],
1237
- [92, 1],
1238
- [92, 3],
1239
- [107, 1],
1240
- [107, 2],
1241
- [108, 1],
1242
- [108, 1],
1243
- [108, 1],
1244
- [108, 1],
1245
- [108, 1],
1246
- [108, 1],
1247
- [108, 1],
1248
- [108, 1],
1249
- [113, 1],
1250
- [113, 1],
1251
- [113, 1],
1252
- [113, 1],
1253
- [113, 1],
1254
- [113, 1],
1255
- [113, 1],
1256
- [113, 1],
1257
- [113, 1],
1258
- [113, 1],
1259
- [113, 1],
1260
- [82, 1],
1261
- [82, 1],
1262
- [82, 1],
1263
- [82, 1],
1264
- [91, 1],
1265
- [91, 1],
1266
- [91, 1],
1267
- [91, 1],
1268
- [91, 1],
1269
- [91, 1],
1270
- [91, 1],
1271
- [91, 1],
1272
- [91, 1],
1273
- [91, 1],
1274
- [91, 1],
1275
- [79, 1],
1276
- [79, 1],
1277
- [120, 1],
1278
- [120, 1],
1279
- [120, 1],
1280
- [120, 1],
1281
- [120, 1],
1282
- [120, 1],
1283
- [120, 1],
1284
- [120, 1],
1285
- [120, 1],
1286
- [120, 1],
1287
- [120, 1],
1288
- [47, 1],
1289
- [47, 2],
1290
- [101, 1],
1291
- [101, 2],
1292
- [33, 1],
1293
- [33, 1],
1294
- [33, 1],
1295
- [33, 1],
1296
- [33, 1]
1297
- ],
1298
- performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
1299
- var s = a.length - 1;
1300
- switch (i) {
1301
- case 2:
1302
- this.$ = [];
1303
- break;
1304
- case 3:
1305
- (!Array.isArray(a[s]) || a[s].length > 0) && a[s - 1].push(a[s]), this.$ = a[s - 1];
1306
- break;
1307
- case 4:
1308
- case 183:
1309
- this.$ = a[s];
1310
- break;
1311
- case 11:
1312
- r.setDirection("TB"), this.$ = "TB";
1313
- break;
1314
- case 12:
1315
- r.setDirection(a[s - 1]), this.$ = a[s - 1];
1316
- break;
1317
- case 27:
1318
- this.$ = a[s - 1].nodes;
1319
- break;
1320
- case 28:
1321
- case 29:
1322
- case 30:
1323
- case 31:
1324
- case 32:
1325
- this.$ = [];
1326
- break;
1327
- case 33:
1328
- this.$ = r.addSubGraph(a[s - 6], a[s - 1], a[s - 4]);
1329
- break;
1330
- case 34:
1331
- this.$ = r.addSubGraph(a[s - 3], a[s - 1], a[s - 3]);
1332
- break;
1333
- case 35:
1334
- this.$ = r.addSubGraph(void 0, a[s - 1], void 0);
1335
- break;
1336
- case 37:
1337
- this.$ = a[s].trim(), r.setAccTitle(this.$);
1338
- break;
1339
- case 38:
1340
- case 39:
1341
- this.$ = a[s].trim(), r.setAccDescription(this.$);
1342
- break;
1343
- case 43:
1344
- this.$ = a[s - 1] + a[s];
1345
- break;
1346
- case 44:
1347
- this.$ = a[s];
1348
- break;
1349
- case 45:
1350
- r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1351
- stmt: a[s - 1],
1352
- nodes: a[s - 1].concat(a[s - 3].nodes)
1353
- };
1354
- break;
1355
- case 46:
1356
- r.addLink(a[s - 2].stmt, a[s], a[s - 1]), this.$ = {
1357
- stmt: a[s],
1358
- nodes: a[s].concat(a[s - 2].nodes)
1359
- };
1360
- break;
1361
- case 47:
1362
- r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1363
- stmt: a[s - 1],
1364
- nodes: a[s - 1].concat(a[s - 3].nodes)
1365
- };
1366
- break;
1367
- case 48:
1368
- this.$ = {
1369
- stmt: a[s - 1],
1370
- nodes: a[s - 1]
1371
- };
1372
- break;
1373
- case 49:
1374
- r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), this.$ = {
1375
- stmt: a[s - 1],
1376
- nodes: a[s - 1],
1377
- shapeData: a[s]
1378
- };
1379
- break;
1380
- case 50:
1381
- this.$ = {
1382
- stmt: a[s],
1383
- nodes: a[s]
1384
- };
1385
- break;
1386
- case 51:
1387
- this.$ = [a[s]];
1388
- break;
1389
- case 52:
1390
- r.addVertex(a[s - 5][a[s - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s - 4]), this.$ = a[s - 5].concat(a[s]);
1391
- break;
1392
- case 53:
1393
- this.$ = a[s - 4].concat(a[s]);
1394
- break;
1395
- case 54:
1396
- this.$ = a[s];
1397
- break;
1398
- case 55:
1399
- this.$ = a[s - 2], r.setClass(a[s - 2], a[s]);
1400
- break;
1401
- case 56:
1402
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "square");
1403
- break;
1404
- case 57:
1405
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "doublecircle");
1406
- break;
1407
- case 58:
1408
- this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "circle");
1409
- break;
1410
- case 59:
1411
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "ellipse");
1412
- break;
1413
- case 60:
1414
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "stadium");
1415
- break;
1416
- case 61:
1417
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "subroutine");
1418
- break;
1419
- case 62:
1420
- this.$ = a[s - 7], r.addVertex(a[s - 7], a[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[a[s - 5], a[s - 3]]]));
1421
- break;
1422
- case 63:
1423
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "cylinder");
1424
- break;
1425
- case 64:
1426
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "round");
1427
- break;
1428
- case 65:
1429
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "diamond");
1430
- break;
1431
- case 66:
1432
- this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "hexagon");
1433
- break;
1434
- case 67:
1435
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "odd");
1436
- break;
1437
- case 68:
1438
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "trapezoid");
1439
- break;
1440
- case 69:
1441
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "inv_trapezoid");
1442
- break;
1443
- case 70:
1444
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_right");
1445
- break;
1446
- case 71:
1447
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_left");
1448
- break;
1449
- case 72:
1450
- this.$ = a[s], r.addVertex(a[s]);
1451
- break;
1452
- case 73:
1453
- a[s - 1].text = a[s], this.$ = a[s - 1];
1454
- break;
1455
- case 74:
1456
- case 75:
1457
- a[s - 2].text = a[s - 1], this.$ = a[s - 2];
1458
- break;
1459
- case 76:
1460
- this.$ = a[s];
1461
- break;
1462
- case 77:
1463
- var c = r.destructLink(a[s], a[s - 2]);
1464
- this.$ = {
1465
- type: c.type,
1466
- stroke: c.stroke,
1467
- length: c.length,
1468
- text: a[s - 1]
1469
- };
1470
- break;
1471
- case 78:
1472
- var c = r.destructLink(a[s], a[s - 2]);
1473
- this.$ = {
1474
- type: c.type,
1475
- stroke: c.stroke,
1476
- length: c.length,
1477
- text: a[s - 1],
1478
- id: a[s - 3]
1479
- };
1480
- break;
1481
- case 79:
1482
- this.$ = {
1483
- text: a[s],
1484
- type: "text"
1485
- };
1486
- break;
1487
- case 80:
1488
- this.$ = {
1489
- text: a[s - 1].text + "" + a[s],
1490
- type: a[s - 1].type
1491
- };
1492
- break;
1493
- case 81:
1494
- this.$ = {
1495
- text: a[s],
1496
- type: "string"
1497
- };
1498
- break;
1499
- case 82:
1500
- this.$ = {
1501
- text: a[s],
1502
- type: "markdown"
1503
- };
1504
- break;
1505
- case 83:
1506
- var c = r.destructLink(a[s]);
1507
- this.$ = {
1508
- type: c.type,
1509
- stroke: c.stroke,
1510
- length: c.length
1511
- };
1512
- break;
1513
- case 84:
1514
- var c = r.destructLink(a[s]);
1515
- this.$ = {
1516
- type: c.type,
1517
- stroke: c.stroke,
1518
- length: c.length,
1519
- id: a[s - 1]
1520
- };
1521
- break;
1522
- case 85:
1523
- this.$ = a[s - 1];
1524
- break;
1525
- case 86:
1526
- this.$ = {
1527
- text: a[s],
1528
- type: "text"
1529
- };
1530
- break;
1531
- case 87:
1532
- this.$ = {
1533
- text: a[s - 1].text + "" + a[s],
1534
- type: a[s - 1].type
1535
- };
1536
- break;
1537
- case 88:
1538
- this.$ = {
1539
- text: a[s],
1540
- type: "string"
1541
- };
1542
- break;
1543
- case 89:
1544
- case 104:
1545
- this.$ = {
1546
- text: a[s],
1547
- type: "markdown"
1548
- };
1549
- break;
1550
- case 101:
1551
- this.$ = {
1552
- text: a[s],
1553
- type: "text"
1554
- };
1555
- break;
1556
- case 102:
1557
- this.$ = {
1558
- text: a[s - 1].text + "" + a[s],
1559
- type: a[s - 1].type
1560
- };
1561
- break;
1562
- case 103:
1563
- this.$ = {
1564
- text: a[s],
1565
- type: "text"
1566
- };
1567
- break;
1568
- case 105:
1569
- this.$ = a[s - 4], r.addClass(a[s - 2], a[s]);
1570
- break;
1571
- case 106:
1572
- this.$ = a[s - 4], r.setClass(a[s - 2], a[s]);
1573
- break;
1574
- case 107:
1575
- case 115:
1576
- this.$ = a[s - 1], r.setClickEvent(a[s - 1], a[s]);
1577
- break;
1578
- case 108:
1579
- case 116:
1580
- this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1581
- break;
1582
- case 109:
1583
- this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
1584
- break;
1585
- case 110:
1586
- this.$ = a[s - 4], r.setClickEvent(a[s - 4], a[s - 3], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1587
- break;
1588
- case 111:
1589
- this.$ = a[s - 2], r.setLink(a[s - 2], a[s]);
1590
- break;
1591
- case 112:
1592
- this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1593
- break;
1594
- case 113:
1595
- this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2], a[s]);
1596
- break;
1597
- case 114:
1598
- this.$ = a[s - 6], r.setLink(a[s - 6], a[s - 4], a[s]), r.setTooltip(a[s - 6], a[s - 2]);
1599
- break;
1600
- case 117:
1601
- this.$ = a[s - 1], r.setLink(a[s - 1], a[s]);
1602
- break;
1603
- case 118:
1604
- this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1605
- break;
1606
- case 119:
1607
- this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2], a[s]);
1608
- break;
1609
- case 120:
1610
- this.$ = a[s - 5], r.setLink(a[s - 5], a[s - 4], a[s]), r.setTooltip(a[s - 5], a[s - 2]);
1611
- break;
1612
- case 121:
1613
- this.$ = a[s - 4], r.addVertex(a[s - 2], void 0, void 0, a[s]);
1614
- break;
1615
- case 122:
1616
- this.$ = a[s - 4], r.updateLink([a[s - 2]], a[s]);
1617
- break;
1618
- case 123:
1619
- this.$ = a[s - 4], r.updateLink(a[s - 2], a[s]);
1620
- break;
1621
- case 124:
1622
- this.$ = a[s - 8], r.updateLinkInterpolate([a[s - 6]], a[s - 2]), r.updateLink([a[s - 6]], a[s]);
1623
- break;
1624
- case 125:
1625
- this.$ = a[s - 8], r.updateLinkInterpolate(a[s - 6], a[s - 2]), r.updateLink(a[s - 6], a[s]);
1626
- break;
1627
- case 126:
1628
- this.$ = a[s - 6], r.updateLinkInterpolate([a[s - 4]], a[s]);
1629
- break;
1630
- case 127:
1631
- this.$ = a[s - 6], r.updateLinkInterpolate(a[s - 4], a[s]);
1632
- break;
1633
- case 128:
1634
- case 130:
1635
- this.$ = [a[s]];
1636
- break;
1637
- case 129:
1638
- case 131:
1639
- a[s - 2].push(a[s]), this.$ = a[s - 2];
1640
- break;
1641
- case 133:
1642
- this.$ = a[s - 1] + a[s];
1643
- break;
1644
- case 181:
1645
- this.$ = a[s];
1646
- break;
1647
- case 182:
1648
- this.$ = a[s - 1] + "" + a[s];
1649
- break;
1650
- case 184:
1651
- this.$ = a[s - 1] + "" + a[s];
1652
- break;
1653
- case 185:
1654
- this.$ = {
1655
- stmt: "dir",
1656
- value: "TB"
1657
- };
1658
- break;
1659
- case 186:
1660
- this.$ = {
1661
- stmt: "dir",
1662
- value: "BT"
1663
- };
1664
- break;
1665
- case 187:
1666
- this.$ = {
1667
- stmt: "dir",
1668
- value: "RL"
1669
- };
1670
- break;
1671
- case 188:
1672
- this.$ = {
1673
- stmt: "dir",
1674
- value: "LR"
1675
- };
1676
- break;
1677
- case 189:
1678
- this.$ = {
1679
- stmt: "dir",
1680
- value: "TD"
1681
- };
1682
- break;
1683
- }
1684
- }, "anonymous"),
1685
- table: [
1686
- {
1687
- 3: 1,
1688
- 4: 2,
1689
- 9: t,
1690
- 10: r,
1691
- 12: i
1692
- },
1693
- { 1: [3] },
1694
- e(a, o, { 5: 6 }),
1695
- {
1696
- 4: 7,
1697
- 9: t,
1698
- 10: r,
1699
- 12: i
1700
- },
1701
- {
1702
- 4: 8,
1703
- 9: t,
1704
- 10: r,
1705
- 12: i
1706
- },
1707
- {
1708
- 13: [1, 9],
1709
- 14: [1, 10]
1710
- },
1711
- {
1712
- 1: [2, 1],
1713
- 6: 11,
1714
- 7: 12,
1715
- 8: s,
1716
- 9: c,
1717
- 10: l,
1718
- 11: u,
1719
- 20: 17,
1720
- 22: 18,
1721
- 23: 19,
1722
- 24: 20,
1723
- 25: 21,
1724
- 26: 22,
1725
- 27: d,
1726
- 33: 24,
1727
- 34: f,
1728
- 36: p,
1729
- 38: m,
1730
- 42: 28,
1731
- 43: 39,
1732
- 44: h,
1733
- 45: 40,
1734
- 47: 41,
1735
- 60: g,
1736
- 84: _,
1737
- 85: v,
1738
- 86: ee,
1739
- 87: te,
1740
- 88: ne,
1741
- 89: y,
1742
- 102: b,
1743
- 105: x,
1744
- 106: S,
1745
- 109: C,
1746
- 111: w,
1747
- 113: 42,
1748
- 114: T,
1749
- 115: E,
1750
- 116: D,
1751
- 121: O,
1752
- 122: re,
1753
- 123: ie,
1754
- 124: ae,
1755
- 125: oe
1756
- },
1757
- e(a, [2, 9]),
1758
- e(a, [2, 10]),
1759
- e(a, [2, 11]),
1760
- {
1761
- 8: [1, 55],
1762
- 9: [1, 56],
1763
- 10: k,
1764
- 15: 54,
1765
- 18: 57
1766
- },
1767
- e(A, [2, 3]),
1768
- e(A, [2, 4]),
1769
- e(A, [2, 5]),
1770
- e(A, [2, 6]),
1771
- e(A, [2, 7]),
1772
- e(A, [2, 8]),
1773
- {
1774
- 8: j,
1775
- 9: M,
1776
- 11: N,
1777
- 21: 59,
1778
- 41: 60,
1779
- 72: 64,
1780
- 75: [1, 65],
1781
- 77: [1, 67],
1782
- 78: [1, 66]
1783
- },
1784
- {
1785
- 8: j,
1786
- 9: M,
1787
- 11: N,
1788
- 21: 68
1789
- },
1790
- {
1791
- 8: j,
1792
- 9: M,
1793
- 11: N,
1794
- 21: 69
1795
- },
1796
- {
1797
- 8: j,
1798
- 9: M,
1799
- 11: N,
1800
- 21: 70
1801
- },
1802
- {
1803
- 8: j,
1804
- 9: M,
1805
- 11: N,
1806
- 21: 71
1807
- },
1808
- {
1809
- 8: j,
1810
- 9: M,
1811
- 11: N,
1812
- 21: 72
1813
- },
1814
- {
1815
- 8: j,
1816
- 9: M,
1817
- 10: [1, 73],
1818
- 11: N,
1819
- 21: 74
1820
- },
1821
- e(A, [2, 36]),
1822
- { 35: [1, 75] },
1823
- { 37: [1, 76] },
1824
- e(A, [2, 39]),
1825
- e(se, [2, 50], {
1826
- 18: 77,
1827
- 39: 78,
1828
- 10: k,
1829
- 40: ce
1830
- }),
1831
- { 10: [1, 80] },
1832
- { 10: [1, 81] },
1833
- { 10: [1, 82] },
1834
- { 10: [1, 83] },
1835
- {
1836
- 14: le,
1837
- 44: ue,
1838
- 60: de,
1839
- 80: [1, 87],
1840
- 89: fe,
1841
- 95: [1, 84],
1842
- 97: [1, 85],
1843
- 101: 86,
1844
- 105: pe,
1845
- 106: me,
1846
- 109: he,
1847
- 111: ge,
1848
- 114: _e,
1849
- 115: ve,
1850
- 116: ye,
1851
- 120: 88
1852
- },
1853
- e(A, [2, 185]),
1854
- e(A, [2, 186]),
1855
- e(A, [2, 187]),
1856
- e(A, [2, 188]),
1857
- e(A, [2, 189]),
1858
- e(be, [2, 51]),
1859
- e(be, [2, 54], { 46: [1, 100] }),
1860
- e(P, [2, 72], {
1861
- 113: 113,
1862
- 29: [1, 101],
1863
- 44: h,
1864
- 48: [1, 102],
1865
- 50: [1, 103],
1866
- 52: [1, 104],
1867
- 54: [1, 105],
1868
- 56: [1, 106],
1869
- 58: [1, 107],
1870
- 60: g,
1871
- 63: [1, 108],
1872
- 65: [1, 109],
1873
- 67: [1, 110],
1874
- 68: [1, 111],
1875
- 70: [1, 112],
1876
- 89: y,
1877
- 102: b,
1878
- 105: x,
1879
- 106: S,
1880
- 109: C,
1881
- 111: w,
1882
- 114: T,
1883
- 115: E,
1884
- 116: D
1885
- }),
1886
- e(F, [2, 181]),
1887
- e(F, [2, 142]),
1888
- e(F, [2, 143]),
1889
- e(F, [2, 144]),
1890
- e(F, [2, 145]),
1891
- e(F, [2, 146]),
1892
- e(F, [2, 147]),
1893
- e(F, [2, 148]),
1894
- e(F, [2, 149]),
1895
- e(F, [2, 150]),
1896
- e(F, [2, 151]),
1897
- e(F, [2, 152]),
1898
- e(a, [2, 12]),
1899
- e(a, [2, 18]),
1900
- e(a, [2, 19]),
1901
- { 9: [1, 114] },
1902
- e(xe, [2, 26], {
1903
- 18: 115,
1904
- 10: k
1905
- }),
1906
- e(A, [2, 27]),
1907
- {
1908
- 42: 116,
1909
- 43: 39,
1910
- 44: h,
1911
- 45: 40,
1912
- 47: 41,
1913
- 60: g,
1914
- 89: y,
1915
- 102: b,
1916
- 105: x,
1917
- 106: S,
1918
- 109: C,
1919
- 111: w,
1920
- 113: 42,
1921
- 114: T,
1922
- 115: E,
1923
- 116: D
1924
- },
1925
- e(A, [2, 40]),
1926
- e(A, [2, 41]),
1927
- e(A, [2, 42]),
1928
- e(Se, [2, 76], {
1929
- 73: 117,
1930
- 62: [1, 119],
1931
- 74: [1, 118]
1932
- }),
1933
- {
1934
- 76: 120,
1935
- 79: 121,
1936
- 80: Ce,
1937
- 81: we,
1938
- 116: Te,
1939
- 119: Ee
1940
- },
1941
- {
1942
- 75: [1, 126],
1943
- 77: [1, 127]
1944
- },
1945
- e(De, [2, 83]),
1946
- e(A, [2, 28]),
1947
- e(A, [2, 29]),
1948
- e(A, [2, 30]),
1949
- e(A, [2, 31]),
1950
- e(A, [2, 32]),
1951
- {
1952
- 10: Oe,
1953
- 12: ke,
1954
- 14: Ae,
1955
- 27: je,
1956
- 28: 128,
1957
- 32: Me,
1958
- 44: Ne,
1959
- 60: Pe,
1960
- 75: Fe,
1961
- 80: [1, 130],
1962
- 81: [1, 131],
1963
- 83: 141,
1964
- 84: Ie,
1965
- 85: Le,
1966
- 86: Re,
1967
- 87: ze,
1968
- 88: Be,
1969
- 89: Ve,
1970
- 90: He,
1971
- 91: 129,
1972
- 105: Ue,
1973
- 109: We,
1974
- 111: Ge,
1975
- 114: Ke,
1976
- 115: qe,
1977
- 116: Je
1978
- },
1979
- e(Ye, o, { 5: 154 }),
1980
- e(A, [2, 37]),
1981
- e(A, [2, 38]),
1982
- e(se, [2, 48], { 44: Xe }),
1983
- e(se, [2, 49], {
1984
- 18: 156,
1985
- 10: k,
1986
- 40: Ze
1987
- }),
1988
- e(be, [2, 44]),
1989
- {
1990
- 44: h,
1991
- 47: 158,
1992
- 60: g,
1993
- 89: y,
1994
- 102: b,
1995
- 105: x,
1996
- 106: S,
1997
- 109: C,
1998
- 111: w,
1999
- 113: 42,
2000
- 114: T,
2001
- 115: E,
2002
- 116: D
2003
- },
2004
- {
2005
- 102: [1, 159],
2006
- 103: 160,
2007
- 105: [1, 161]
2008
- },
2009
- {
2010
- 44: h,
2011
- 47: 162,
2012
- 60: g,
2013
- 89: y,
2014
- 102: b,
2015
- 105: x,
2016
- 106: S,
2017
- 109: C,
2018
- 111: w,
2019
- 113: 42,
2020
- 114: T,
2021
- 115: E,
2022
- 116: D
2023
- },
2024
- {
2025
- 44: h,
2026
- 47: 163,
2027
- 60: g,
2028
- 89: y,
2029
- 102: b,
2030
- 105: x,
2031
- 106: S,
2032
- 109: C,
2033
- 111: w,
2034
- 113: 42,
2035
- 114: T,
2036
- 115: E,
2037
- 116: D
2038
- },
2039
- e(I, [2, 107], {
2040
- 10: [1, 164],
2041
- 96: [1, 165]
2042
- }),
2043
- { 80: [1, 166] },
2044
- e(I, [2, 115], {
2045
- 120: 168,
2046
- 10: [1, 167],
2047
- 14: le,
2048
- 44: ue,
2049
- 60: de,
2050
- 89: fe,
2051
- 105: pe,
2052
- 106: me,
2053
- 109: he,
2054
- 111: ge,
2055
- 114: _e,
2056
- 115: ve,
2057
- 116: ye
2058
- }),
2059
- e(I, [2, 117], { 10: [1, 169] }),
2060
- e(L, [2, 183]),
2061
- e(L, [2, 170]),
2062
- e(L, [2, 171]),
2063
- e(L, [2, 172]),
2064
- e(L, [2, 173]),
2065
- e(L, [2, 174]),
2066
- e(L, [2, 175]),
2067
- e(L, [2, 176]),
2068
- e(L, [2, 177]),
2069
- e(L, [2, 178]),
2070
- e(L, [2, 179]),
2071
- e(L, [2, 180]),
2072
- {
2073
- 44: h,
2074
- 47: 170,
2075
- 60: g,
2076
- 89: y,
2077
- 102: b,
2078
- 105: x,
2079
- 106: S,
2080
- 109: C,
2081
- 111: w,
2082
- 113: 42,
2083
- 114: T,
2084
- 115: E,
2085
- 116: D
2086
- },
2087
- {
2088
- 30: 171,
2089
- 67: R,
2090
- 80: z,
2091
- 81: B,
2092
- 82: 172,
2093
- 116: V,
2094
- 117: H,
2095
- 118: U
2096
- },
2097
- {
2098
- 30: 179,
2099
- 67: R,
2100
- 80: z,
2101
- 81: B,
2102
- 82: 172,
2103
- 116: V,
2104
- 117: H,
2105
- 118: U
2106
- },
2107
- {
2108
- 30: 181,
2109
- 50: [1, 180],
2110
- 67: R,
2111
- 80: z,
2112
- 81: B,
2113
- 82: 172,
2114
- 116: V,
2115
- 117: H,
2116
- 118: U
2117
- },
2118
- {
2119
- 30: 182,
2120
- 67: R,
2121
- 80: z,
2122
- 81: B,
2123
- 82: 172,
2124
- 116: V,
2125
- 117: H,
2126
- 118: U
2127
- },
2128
- {
2129
- 30: 183,
2130
- 67: R,
2131
- 80: z,
2132
- 81: B,
2133
- 82: 172,
2134
- 116: V,
2135
- 117: H,
2136
- 118: U
2137
- },
2138
- {
2139
- 30: 184,
2140
- 67: R,
2141
- 80: z,
2142
- 81: B,
2143
- 82: 172,
2144
- 116: V,
2145
- 117: H,
2146
- 118: U
2147
- },
2148
- { 109: [1, 185] },
2149
- {
2150
- 30: 186,
2151
- 67: R,
2152
- 80: z,
2153
- 81: B,
2154
- 82: 172,
2155
- 116: V,
2156
- 117: H,
2157
- 118: U
2158
- },
2159
- {
2160
- 30: 187,
2161
- 65: [1, 188],
2162
- 67: R,
2163
- 80: z,
2164
- 81: B,
2165
- 82: 172,
2166
- 116: V,
2167
- 117: H,
2168
- 118: U
2169
- },
2170
- {
2171
- 30: 189,
2172
- 67: R,
2173
- 80: z,
2174
- 81: B,
2175
- 82: 172,
2176
- 116: V,
2177
- 117: H,
2178
- 118: U
2179
- },
2180
- {
2181
- 30: 190,
2182
- 67: R,
2183
- 80: z,
2184
- 81: B,
2185
- 82: 172,
2186
- 116: V,
2187
- 117: H,
2188
- 118: U
2189
- },
2190
- {
2191
- 30: 191,
2192
- 67: R,
2193
- 80: z,
2194
- 81: B,
2195
- 82: 172,
2196
- 116: V,
2197
- 117: H,
2198
- 118: U
2199
- },
2200
- e(F, [2, 182]),
2201
- e(a, [2, 20]),
2202
- e(xe, [2, 25]),
2203
- e(se, [2, 46], {
2204
- 39: 192,
2205
- 18: 193,
2206
- 10: k,
2207
- 40: ce
2208
- }),
2209
- e(Se, [2, 73], { 10: [1, 194] }),
2210
- { 10: [1, 195] },
2211
- {
2212
- 30: 196,
2213
- 67: R,
2214
- 80: z,
2215
- 81: B,
2216
- 82: 172,
2217
- 116: V,
2218
- 117: H,
2219
- 118: U
2220
- },
2221
- {
2222
- 77: [1, 197],
2223
- 79: 198,
2224
- 116: Te,
2225
- 119: Ee
2226
- },
2227
- e(Qe, [2, 79]),
2228
- e(Qe, [2, 81]),
2229
- e(Qe, [2, 82]),
2230
- e(Qe, [2, 168]),
2231
- e(Qe, [2, 169]),
2232
- {
2233
- 76: 199,
2234
- 79: 121,
2235
- 80: Ce,
2236
- 81: we,
2237
- 116: Te,
2238
- 119: Ee
2239
- },
2240
- e(De, [2, 84]),
2241
- {
2242
- 8: j,
2243
- 9: M,
2244
- 10: Oe,
2245
- 11: N,
2246
- 12: ke,
2247
- 14: Ae,
2248
- 21: 201,
2249
- 27: je,
2250
- 29: [1, 200],
2251
- 32: Me,
2252
- 44: Ne,
2253
- 60: Pe,
2254
- 75: Fe,
2255
- 83: 141,
2256
- 84: Ie,
2257
- 85: Le,
2258
- 86: Re,
2259
- 87: ze,
2260
- 88: Be,
2261
- 89: Ve,
2262
- 90: He,
2263
- 91: 202,
2264
- 105: Ue,
2265
- 109: We,
2266
- 111: Ge,
2267
- 114: Ke,
2268
- 115: qe,
2269
- 116: Je
2270
- },
2271
- e(W, [2, 101]),
2272
- e(W, [2, 103]),
2273
- e(W, [2, 104]),
2274
- e(W, [2, 157]),
2275
- e(W, [2, 158]),
2276
- e(W, [2, 159]),
2277
- e(W, [2, 160]),
2278
- e(W, [2, 161]),
2279
- e(W, [2, 162]),
2280
- e(W, [2, 163]),
2281
- e(W, [2, 164]),
2282
- e(W, [2, 165]),
2283
- e(W, [2, 166]),
2284
- e(W, [2, 167]),
2285
- e(W, [2, 90]),
2286
- e(W, [2, 91]),
2287
- e(W, [2, 92]),
2288
- e(W, [2, 93]),
2289
- e(W, [2, 94]),
2290
- e(W, [2, 95]),
2291
- e(W, [2, 96]),
2292
- e(W, [2, 97]),
2293
- e(W, [2, 98]),
2294
- e(W, [2, 99]),
2295
- e(W, [2, 100]),
2296
- {
2297
- 6: 11,
2298
- 7: 12,
2299
- 8: s,
2300
- 9: c,
2301
- 10: l,
2302
- 11: u,
2303
- 20: 17,
2304
- 22: 18,
2305
- 23: 19,
2306
- 24: 20,
2307
- 25: 21,
2308
- 26: 22,
2309
- 27: d,
2310
- 32: [1, 203],
2311
- 33: 24,
2312
- 34: f,
2313
- 36: p,
2314
- 38: m,
2315
- 42: 28,
2316
- 43: 39,
2317
- 44: h,
2318
- 45: 40,
2319
- 47: 41,
2320
- 60: g,
2321
- 84: _,
2322
- 85: v,
2323
- 86: ee,
2324
- 87: te,
2325
- 88: ne,
2326
- 89: y,
2327
- 102: b,
2328
- 105: x,
2329
- 106: S,
2330
- 109: C,
2331
- 111: w,
2332
- 113: 42,
2333
- 114: T,
2334
- 115: E,
2335
- 116: D,
2336
- 121: O,
2337
- 122: re,
2338
- 123: ie,
2339
- 124: ae,
2340
- 125: oe
2341
- },
2342
- {
2343
- 10: k,
2344
- 18: 204
2345
- },
2346
- { 44: [1, 205] },
2347
- e(be, [2, 43]),
2348
- {
2349
- 10: [1, 206],
2350
- 44: h,
2351
- 60: g,
2352
- 89: y,
2353
- 102: b,
2354
- 105: x,
2355
- 106: S,
2356
- 109: C,
2357
- 111: w,
2358
- 113: 113,
2359
- 114: T,
2360
- 115: E,
2361
- 116: D
2362
- },
2363
- { 10: [1, 207] },
2364
- {
2365
- 10: [1, 208],
2366
- 106: [1, 209]
2367
- },
2368
- e($e, [2, 128]),
2369
- {
2370
- 10: [1, 210],
2371
- 44: h,
2372
- 60: g,
2373
- 89: y,
2374
- 102: b,
2375
- 105: x,
2376
- 106: S,
2377
- 109: C,
2378
- 111: w,
2379
- 113: 113,
2380
- 114: T,
2381
- 115: E,
2382
- 116: D
2383
- },
2384
- {
2385
- 10: [1, 211],
2386
- 44: h,
2387
- 60: g,
2388
- 89: y,
2389
- 102: b,
2390
- 105: x,
2391
- 106: S,
2392
- 109: C,
2393
- 111: w,
2394
- 113: 113,
2395
- 114: T,
2396
- 115: E,
2397
- 116: D
2398
- },
2399
- { 80: [1, 212] },
2400
- e(I, [2, 109], { 10: [1, 213] }),
2401
- e(I, [2, 111], { 10: [1, 214] }),
2402
- { 80: [1, 215] },
2403
- e(L, [2, 184]),
2404
- {
2405
- 80: [1, 216],
2406
- 98: [1, 217]
2407
- },
2408
- e(be, [2, 55], {
2409
- 113: 113,
2410
- 44: h,
2411
- 60: g,
2412
- 89: y,
2413
- 102: b,
2414
- 105: x,
2415
- 106: S,
2416
- 109: C,
2417
- 111: w,
2418
- 114: T,
2419
- 115: E,
2420
- 116: D
2421
- }),
2422
- {
2423
- 31: [1, 218],
2424
- 67: R,
2425
- 82: 219,
2426
- 116: V,
2427
- 117: H,
2428
- 118: U
2429
- },
2430
- e(et, [2, 86]),
2431
- e(et, [2, 88]),
2432
- e(et, [2, 89]),
2433
- e(et, [2, 153]),
2434
- e(et, [2, 154]),
2435
- e(et, [2, 155]),
2436
- e(et, [2, 156]),
2437
- {
2438
- 49: [1, 220],
2439
- 67: R,
2440
- 82: 219,
2441
- 116: V,
2442
- 117: H,
2443
- 118: U
2444
- },
2445
- {
2446
- 30: 221,
2447
- 67: R,
2448
- 80: z,
2449
- 81: B,
2450
- 82: 172,
2451
- 116: V,
2452
- 117: H,
2453
- 118: U
2454
- },
2455
- {
2456
- 51: [1, 222],
2457
- 67: R,
2458
- 82: 219,
2459
- 116: V,
2460
- 117: H,
2461
- 118: U
2462
- },
2463
- {
2464
- 53: [1, 223],
2465
- 67: R,
2466
- 82: 219,
2467
- 116: V,
2468
- 117: H,
2469
- 118: U
2470
- },
2471
- {
2472
- 55: [1, 224],
2473
- 67: R,
2474
- 82: 219,
2475
- 116: V,
2476
- 117: H,
2477
- 118: U
2478
- },
2479
- {
2480
- 57: [1, 225],
2481
- 67: R,
2482
- 82: 219,
2483
- 116: V,
2484
- 117: H,
2485
- 118: U
2486
- },
2487
- { 60: [1, 226] },
2488
- {
2489
- 64: [1, 227],
2490
- 67: R,
2491
- 82: 219,
2492
- 116: V,
2493
- 117: H,
2494
- 118: U
2495
- },
2496
- {
2497
- 66: [1, 228],
2498
- 67: R,
2499
- 82: 219,
2500
- 116: V,
2501
- 117: H,
2502
- 118: U
2503
- },
2504
- {
2505
- 30: 229,
2506
- 67: R,
2507
- 80: z,
2508
- 81: B,
2509
- 82: 172,
2510
- 116: V,
2511
- 117: H,
2512
- 118: U
2513
- },
2514
- {
2515
- 31: [1, 230],
2516
- 67: R,
2517
- 82: 219,
2518
- 116: V,
2519
- 117: H,
2520
- 118: U
2521
- },
2522
- {
2523
- 67: R,
2524
- 69: [1, 231],
2525
- 71: [1, 232],
2526
- 82: 219,
2527
- 116: V,
2528
- 117: H,
2529
- 118: U
2530
- },
2531
- {
2532
- 67: R,
2533
- 69: [1, 234],
2534
- 71: [1, 233],
2535
- 82: 219,
2536
- 116: V,
2537
- 117: H,
2538
- 118: U
2539
- },
2540
- e(se, [2, 45], {
2541
- 18: 156,
2542
- 10: k,
2543
- 40: Ze
2544
- }),
2545
- e(se, [2, 47], { 44: Xe }),
2546
- e(Se, [2, 75]),
2547
- e(Se, [2, 74]),
2548
- {
2549
- 62: [1, 235],
2550
- 67: R,
2551
- 82: 219,
2552
- 116: V,
2553
- 117: H,
2554
- 118: U
2555
- },
2556
- e(Se, [2, 77]),
2557
- e(Qe, [2, 80]),
2558
- {
2559
- 77: [1, 236],
2560
- 79: 198,
2561
- 116: Te,
2562
- 119: Ee
2563
- },
2564
- {
2565
- 30: 237,
2566
- 67: R,
2567
- 80: z,
2568
- 81: B,
2569
- 82: 172,
2570
- 116: V,
2571
- 117: H,
2572
- 118: U
2573
- },
2574
- e(Ye, o, { 5: 238 }),
2575
- e(W, [2, 102]),
2576
- e(A, [2, 35]),
2577
- {
2578
- 43: 239,
2579
- 44: h,
2580
- 45: 40,
2581
- 47: 41,
2582
- 60: g,
2583
- 89: y,
2584
- 102: b,
2585
- 105: x,
2586
- 106: S,
2587
- 109: C,
2588
- 111: w,
2589
- 113: 42,
2590
- 114: T,
2591
- 115: E,
2592
- 116: D
2593
- },
2594
- {
2595
- 10: k,
2596
- 18: 240
2597
- },
2598
- {
2599
- 10: G,
2600
- 60: K,
2601
- 84: q,
2602
- 92: 241,
2603
- 105: J,
2604
- 107: 242,
2605
- 108: 243,
2606
- 109: Y,
2607
- 110: X,
2608
- 111: Z,
2609
- 112: Q
2610
- },
2611
- {
2612
- 10: G,
2613
- 60: K,
2614
- 84: q,
2615
- 92: 252,
2616
- 104: [1, 253],
2617
- 105: J,
2618
- 107: 242,
2619
- 108: 243,
2620
- 109: Y,
2621
- 110: X,
2622
- 111: Z,
2623
- 112: Q
2624
- },
2625
- {
2626
- 10: G,
2627
- 60: K,
2628
- 84: q,
2629
- 92: 254,
2630
- 104: [1, 255],
2631
- 105: J,
2632
- 107: 242,
2633
- 108: 243,
2634
- 109: Y,
2635
- 110: X,
2636
- 111: Z,
2637
- 112: Q
2638
- },
2639
- { 105: [1, 256] },
2640
- {
2641
- 10: G,
2642
- 60: K,
2643
- 84: q,
2644
- 92: 257,
2645
- 105: J,
2646
- 107: 242,
2647
- 108: 243,
2648
- 109: Y,
2649
- 110: X,
2650
- 111: Z,
2651
- 112: Q
2652
- },
2653
- {
2654
- 44: h,
2655
- 47: 258,
2656
- 60: g,
2657
- 89: y,
2658
- 102: b,
2659
- 105: x,
2660
- 106: S,
2661
- 109: C,
2662
- 111: w,
2663
- 113: 42,
2664
- 114: T,
2665
- 115: E,
2666
- 116: D
2667
- },
2668
- e(I, [2, 108]),
2669
- { 80: [1, 259] },
2670
- {
2671
- 80: [1, 260],
2672
- 98: [1, 261]
2673
- },
2674
- e(I, [2, 116]),
2675
- e(I, [2, 118], { 10: [1, 262] }),
2676
- e(I, [2, 119]),
2677
- e(P, [2, 56]),
2678
- e(et, [2, 87]),
2679
- e(P, [2, 57]),
2680
- {
2681
- 51: [1, 263],
2682
- 67: R,
2683
- 82: 219,
2684
- 116: V,
2685
- 117: H,
2686
- 118: U
2687
- },
2688
- e(P, [2, 64]),
2689
- e(P, [2, 59]),
2690
- e(P, [2, 60]),
2691
- e(P, [2, 61]),
2692
- { 109: [1, 264] },
2693
- e(P, [2, 63]),
2694
- e(P, [2, 65]),
2695
- {
2696
- 66: [1, 265],
2697
- 67: R,
2698
- 82: 219,
2699
- 116: V,
2700
- 117: H,
2701
- 118: U
2702
- },
2703
- e(P, [2, 67]),
2704
- e(P, [2, 68]),
2705
- e(P, [2, 70]),
2706
- e(P, [2, 69]),
2707
- e(P, [2, 71]),
2708
- e([
2709
- 10,
2710
- 44,
2711
- 60,
2712
- 89,
2713
- 102,
2714
- 105,
2715
- 106,
2716
- 109,
2717
- 111,
2718
- 114,
2719
- 115,
2720
- 116
2721
- ], [2, 85]),
2722
- e(Se, [2, 78]),
2723
- {
2724
- 31: [1, 266],
2725
- 67: R,
2726
- 82: 219,
2727
- 116: V,
2728
- 117: H,
2729
- 118: U
2730
- },
2731
- {
2732
- 6: 11,
2733
- 7: 12,
2734
- 8: s,
2735
- 9: c,
2736
- 10: l,
2737
- 11: u,
2738
- 20: 17,
2739
- 22: 18,
2740
- 23: 19,
2741
- 24: 20,
2742
- 25: 21,
2743
- 26: 22,
2744
- 27: d,
2745
- 32: [1, 267],
2746
- 33: 24,
2747
- 34: f,
2748
- 36: p,
2749
- 38: m,
2750
- 42: 28,
2751
- 43: 39,
2752
- 44: h,
2753
- 45: 40,
2754
- 47: 41,
2755
- 60: g,
2756
- 84: _,
2757
- 85: v,
2758
- 86: ee,
2759
- 87: te,
2760
- 88: ne,
2761
- 89: y,
2762
- 102: b,
2763
- 105: x,
2764
- 106: S,
2765
- 109: C,
2766
- 111: w,
2767
- 113: 42,
2768
- 114: T,
2769
- 115: E,
2770
- 116: D,
2771
- 121: O,
2772
- 122: re,
2773
- 123: ie,
2774
- 124: ae,
2775
- 125: oe
2776
- },
2777
- e(be, [2, 53]),
2778
- {
2779
- 43: 268,
2780
- 44: h,
2781
- 45: 40,
2782
- 47: 41,
2783
- 60: g,
2784
- 89: y,
2785
- 102: b,
2786
- 105: x,
2787
- 106: S,
2788
- 109: C,
2789
- 111: w,
2790
- 113: 42,
2791
- 114: T,
2792
- 115: E,
2793
- 116: D
2794
- },
2795
- e(I, [2, 121], { 106: tt }),
2796
- e(nt, [2, 130], {
2797
- 108: 270,
2798
- 10: G,
2799
- 60: K,
2800
- 84: q,
2801
- 105: J,
2802
- 109: Y,
2803
- 110: X,
2804
- 111: Z,
2805
- 112: Q
2806
- }),
2807
- e($, [2, 132]),
2808
- e($, [2, 134]),
2809
- e($, [2, 135]),
2810
- e($, [2, 136]),
2811
- e($, [2, 137]),
2812
- e($, [2, 138]),
2813
- e($, [2, 139]),
2814
- e($, [2, 140]),
2815
- e($, [2, 141]),
2816
- e(I, [2, 122], { 106: tt }),
2817
- { 10: [1, 271] },
2818
- e(I, [2, 123], { 106: tt }),
2819
- { 10: [1, 272] },
2820
- e($e, [2, 129]),
2821
- e(I, [2, 105], { 106: tt }),
2822
- e(I, [2, 106], {
2823
- 113: 113,
2824
- 44: h,
2825
- 60: g,
2826
- 89: y,
2827
- 102: b,
2828
- 105: x,
2829
- 106: S,
2830
- 109: C,
2831
- 111: w,
2832
- 114: T,
2833
- 115: E,
2834
- 116: D
2835
- }),
2836
- e(I, [2, 110]),
2837
- e(I, [2, 112], { 10: [1, 273] }),
2838
- e(I, [2, 113]),
2839
- { 98: [1, 274] },
2840
- { 51: [1, 275] },
2841
- { 62: [1, 276] },
2842
- { 66: [1, 277] },
2843
- {
2844
- 8: j,
2845
- 9: M,
2846
- 11: N,
2847
- 21: 278
2848
- },
2849
- e(A, [2, 34]),
2850
- e(be, [2, 52]),
2851
- {
2852
- 10: G,
2853
- 60: K,
2854
- 84: q,
2855
- 105: J,
2856
- 107: 279,
2857
- 108: 243,
2858
- 109: Y,
2859
- 110: X,
2860
- 111: Z,
2861
- 112: Q
2862
- },
2863
- e($, [2, 133]),
2864
- {
2865
- 14: le,
2866
- 44: ue,
2867
- 60: de,
2868
- 89: fe,
2869
- 101: 280,
2870
- 105: pe,
2871
- 106: me,
2872
- 109: he,
2873
- 111: ge,
2874
- 114: _e,
2875
- 115: ve,
2876
- 116: ye,
2877
- 120: 88
2878
- },
2879
- {
2880
- 14: le,
2881
- 44: ue,
2882
- 60: de,
2883
- 89: fe,
2884
- 101: 281,
2885
- 105: pe,
2886
- 106: me,
2887
- 109: he,
2888
- 111: ge,
2889
- 114: _e,
2890
- 115: ve,
2891
- 116: ye,
2892
- 120: 88
2893
- },
2894
- { 98: [1, 282] },
2895
- e(I, [2, 120]),
2896
- e(P, [2, 58]),
2897
- {
2898
- 30: 283,
2899
- 67: R,
2900
- 80: z,
2901
- 81: B,
2902
- 82: 172,
2903
- 116: V,
2904
- 117: H,
2905
- 118: U
2906
- },
2907
- e(P, [2, 66]),
2908
- e(Ye, o, { 5: 284 }),
2909
- e(nt, [2, 131], {
2910
- 108: 270,
2911
- 10: G,
2912
- 60: K,
2913
- 84: q,
2914
- 105: J,
2915
- 109: Y,
2916
- 110: X,
2917
- 111: Z,
2918
- 112: Q
2919
- }),
2920
- e(I, [2, 126], {
2921
- 120: 168,
2922
- 10: [1, 285],
2923
- 14: le,
2924
- 44: ue,
2925
- 60: de,
2926
- 89: fe,
2927
- 105: pe,
2928
- 106: me,
2929
- 109: he,
2930
- 111: ge,
2931
- 114: _e,
2932
- 115: ve,
2933
- 116: ye
2934
- }),
2935
- e(I, [2, 127], {
2936
- 120: 168,
2937
- 10: [1, 286],
2938
- 14: le,
2939
- 44: ue,
2940
- 60: de,
2941
- 89: fe,
2942
- 105: pe,
2943
- 106: me,
2944
- 109: he,
2945
- 111: ge,
2946
- 114: _e,
2947
- 115: ve,
2948
- 116: ye
2949
- }),
2950
- e(I, [2, 114]),
2951
- {
2952
- 31: [1, 287],
2953
- 67: R,
2954
- 82: 219,
2955
- 116: V,
2956
- 117: H,
2957
- 118: U
2958
- },
2959
- {
2960
- 6: 11,
2961
- 7: 12,
2962
- 8: s,
2963
- 9: c,
2964
- 10: l,
2965
- 11: u,
2966
- 20: 17,
2967
- 22: 18,
2968
- 23: 19,
2969
- 24: 20,
2970
- 25: 21,
2971
- 26: 22,
2972
- 27: d,
2973
- 32: [1, 288],
2974
- 33: 24,
2975
- 34: f,
2976
- 36: p,
2977
- 38: m,
2978
- 42: 28,
2979
- 43: 39,
2980
- 44: h,
2981
- 45: 40,
2982
- 47: 41,
2983
- 60: g,
2984
- 84: _,
2985
- 85: v,
2986
- 86: ee,
2987
- 87: te,
2988
- 88: ne,
2989
- 89: y,
2990
- 102: b,
2991
- 105: x,
2992
- 106: S,
2993
- 109: C,
2994
- 111: w,
2995
- 113: 42,
2996
- 114: T,
2997
- 115: E,
2998
- 116: D,
2999
- 121: O,
3000
- 122: re,
3001
- 123: ie,
3002
- 124: ae,
3003
- 125: oe
3004
- },
3005
- {
3006
- 10: G,
3007
- 60: K,
3008
- 84: q,
3009
- 92: 289,
3010
- 105: J,
3011
- 107: 242,
3012
- 108: 243,
3013
- 109: Y,
3014
- 110: X,
3015
- 111: Z,
3016
- 112: Q
3017
- },
3018
- {
3019
- 10: G,
3020
- 60: K,
3021
- 84: q,
3022
- 92: 290,
3023
- 105: J,
3024
- 107: 242,
3025
- 108: 243,
3026
- 109: Y,
3027
- 110: X,
3028
- 111: Z,
3029
- 112: Q
3030
- },
3031
- e(P, [2, 62]),
3032
- e(A, [2, 33]),
3033
- e(I, [2, 124], { 106: tt }),
3034
- e(I, [2, 125], { 106: tt })
3035
- ],
3036
- defaultActions: {},
3037
- parseError: /* @__PURE__ */ n(function(e, t) {
3038
- if (t.recoverable) this.trace(e);
3039
- else {
3040
- var n = Error(e);
3041
- throw n.hash = t, n;
3042
- }
3043
- }, "parseError"),
3044
- parse: /* @__PURE__ */ n(function(e) {
3045
- var t = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
3046
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
3047
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
3048
- var v = h.yylloc;
3049
- o.push(v);
3050
- var ee = h.options && h.options.ranges;
3051
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3052
- function te(e) {
3053
- r.length -= 2 * e, a.length -= e, o.length -= e;
3054
- }
3055
- n(te, "popStack");
3056
- function ne() {
3057
- var e = i.pop() || h.lex() || p;
3058
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
3059
- }
3060
- n(ne, "lex");
3061
- for (var y, b, x, S, C, w = {}, T, E, D, O;;) {
3062
- if (x = r[r.length - 1], this.defaultActions[x] ? S = this.defaultActions[x] : (y ??= ne(), S = s[x] && s[x][y]), S === void 0 || !S.length || !S[0]) {
3063
- var re = "";
3064
- for (T in O = [], s[x]) this.terminals_[T] && T > f && O.push("'" + this.terminals_[T] + "'");
3065
- re = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + O.join(", ") + ", got '" + (this.terminals_[y] || y) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (y == p ? "end of input" : "'" + (this.terminals_[y] || y) + "'"), this.parseError(re, {
3066
- text: h.match,
3067
- token: this.terminals_[y] || y,
3068
- line: h.yylineno,
3069
- loc: v,
3070
- expected: O
3071
- });
3072
- }
3073
- if (S[0] instanceof Array && S.length > 1) throw Error("Parse Error: multiple actions possible at state: " + x + ", token: " + y);
3074
- switch (S[0]) {
3075
- case 1:
3076
- r.push(y), a.push(h.yytext), o.push(h.yylloc), r.push(S[1]), y = null, b ? (y = b, b = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
3077
- break;
3078
- case 2:
3079
- if (E = this.productions_[S[1]][1], w.$ = a[a.length - E], w._$ = {
3080
- first_line: o[o.length - (E || 1)].first_line,
3081
- last_line: o[o.length - 1].last_line,
3082
- first_column: o[o.length - (E || 1)].first_column,
3083
- last_column: o[o.length - 1].last_column
3084
- }, ee && (w._$.range = [o[o.length - (E || 1)].range[0], o[o.length - 1].range[1]]), C = this.performAction.apply(w, [
3085
- c,
3086
- u,
3087
- l,
3088
- g.yy,
3089
- S[1],
3090
- a,
3091
- o
3092
- ].concat(m)), C !== void 0) return C;
3093
- E && (r = r.slice(0, -1 * E * 2), a = a.slice(0, -1 * E), o = o.slice(0, -1 * E)), r.push(this.productions_[S[1]][0]), a.push(w.$), o.push(w._$), D = s[r[r.length - 2]][r[r.length - 1]], r.push(D);
3094
- break;
3095
- case 3: return !0;
3096
- }
3097
- }
3098
- return !0;
3099
- }, "parse")
3100
- };
3101
- rt.lexer = /* @__PURE__ */ (function() {
3102
- return {
3103
- EOF: 1,
3104
- parseError: /* @__PURE__ */ n(function(e, t) {
3105
- if (this.yy.parser) this.yy.parser.parseError(e, t);
3106
- else throw Error(e);
3107
- }, "parseError"),
3108
- setInput: /* @__PURE__ */ n(function(e, t) {
3109
- return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
3110
- first_line: 1,
3111
- first_column: 0,
3112
- last_line: 1,
3113
- last_column: 0
3114
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3115
- }, "setInput"),
3116
- input: /* @__PURE__ */ n(function() {
3117
- var e = this._input[0];
3118
- return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
3119
- }, "input"),
3120
- unput: /* @__PURE__ */ n(function(e) {
3121
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3122
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3123
- var r = this.match.split(/(?:\r\n?|\n)/g);
3124
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
3125
- var i = this.yylloc.range;
3126
- return this.yylloc = {
3127
- first_line: this.yylloc.first_line,
3128
- last_line: this.yylineno + 1,
3129
- first_column: this.yylloc.first_column,
3130
- last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
3131
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3132
- }, "unput"),
3133
- more: /* @__PURE__ */ n(function() {
3134
- return this._more = !0, this;
3135
- }, "more"),
3136
- reject: /* @__PURE__ */ n(function() {
3137
- if (this.options.backtrack_lexer) this._backtrack = !0;
3138
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
3139
- text: "",
3140
- token: null,
3141
- line: this.yylineno
3142
- });
3143
- return this;
3144
- }, "reject"),
3145
- less: /* @__PURE__ */ n(function(e) {
3146
- this.unput(this.match.slice(e));
3147
- }, "less"),
3148
- pastInput: /* @__PURE__ */ n(function() {
3149
- var e = this.matched.substr(0, this.matched.length - this.match.length);
3150
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3151
- }, "pastInput"),
3152
- upcomingInput: /* @__PURE__ */ n(function() {
3153
- var e = this.match;
3154
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3155
- }, "upcomingInput"),
3156
- showPosition: /* @__PURE__ */ n(function() {
3157
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
3158
- return e + this.upcomingInput() + "\n" + t + "^";
3159
- }, "showPosition"),
3160
- test_match: /* @__PURE__ */ n(function(e, t) {
3161
- var n, r, i;
3162
- if (this.options.backtrack_lexer && (i = {
3163
- yylineno: this.yylineno,
3164
- yylloc: {
3165
- first_line: this.yylloc.first_line,
3166
- last_line: this.last_line,
3167
- first_column: this.yylloc.first_column,
3168
- last_column: this.yylloc.last_column
3169
- },
3170
- yytext: this.yytext,
3171
- match: this.match,
3172
- matches: this.matches,
3173
- matched: this.matched,
3174
- yyleng: this.yyleng,
3175
- offset: this.offset,
3176
- _more: this._more,
3177
- _input: this._input,
3178
- yy: this.yy,
3179
- conditionStack: this.conditionStack.slice(0),
3180
- done: this.done
3181
- }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
3182
- first_line: this.yylloc.last_line,
3183
- last_line: this.yylineno + 1,
3184
- first_column: this.yylloc.last_column,
3185
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
3186
- }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
3187
- if (this._backtrack) {
3188
- for (var a in i) this[a] = i[a];
3189
- return !1;
3190
- }
3191
- return !1;
3192
- }, "test_match"),
3193
- next: /* @__PURE__ */ n(function() {
3194
- if (this.done) return this.EOF;
3195
- this._input || (this.done = !0);
3196
- var e, t, n, r;
3197
- this._more || (this.yytext = "", this.match = "");
3198
- for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
3199
- if (t = n, r = a, this.options.backtrack_lexer) {
3200
- if (e = this.test_match(n, i[a]), e !== !1) return e;
3201
- if (this._backtrack) {
3202
- t = !1;
3203
- continue;
3204
- } else return !1;
3205
- } else if (!this.options.flex) break;
3206
- }
3207
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
3208
- text: "",
3209
- token: null,
3210
- line: this.yylineno
3211
- });
3212
- }, "next"),
3213
- lex: /* @__PURE__ */ n(function() {
3214
- return this.next() || this.lex();
3215
- }, "lex"),
3216
- begin: /* @__PURE__ */ n(function(e) {
3217
- this.conditionStack.push(e);
3218
- }, "begin"),
3219
- popState: /* @__PURE__ */ n(function() {
3220
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3221
- }, "popState"),
3222
- _currentRules: /* @__PURE__ */ n(function() {
3223
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3224
- }, "_currentRules"),
3225
- topState: /* @__PURE__ */ n(function(e) {
3226
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3227
- }, "topState"),
3228
- pushState: /* @__PURE__ */ n(function(e) {
3229
- this.begin(e);
3230
- }, "pushState"),
3231
- stateStackSize: /* @__PURE__ */ n(function() {
3232
- return this.conditionStack.length;
3233
- }, "stateStackSize"),
3234
- options: {},
3235
- performAction: /* @__PURE__ */ n(function(e, t, n, r) {
3236
- switch (n) {
3237
- case 0: return this.begin("acc_title"), 34;
3238
- case 1: return this.popState(), "acc_title_value";
3239
- case 2: return this.begin("acc_descr"), 36;
3240
- case 3: return this.popState(), "acc_descr_value";
3241
- case 4:
3242
- this.begin("acc_descr_multiline");
3243
- break;
3244
- case 5:
3245
- this.popState();
3246
- break;
3247
- case 6: return "acc_descr_multiline_value";
3248
- case 7: return this.pushState("shapeData"), t.yytext = "", 40;
3249
- case 8: return this.pushState("shapeDataStr"), 40;
3250
- case 9: return this.popState(), 40;
3251
- case 10: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 40;
3252
- case 11: return 40;
3253
- case 12:
3254
- this.popState();
3255
- break;
3256
- case 13:
3257
- this.begin("callbackname");
3258
- break;
3259
- case 14:
3260
- this.popState();
3261
- break;
3262
- case 15:
3263
- this.popState(), this.begin("callbackargs");
3264
- break;
3265
- case 16: return 95;
3266
- case 17:
3267
- this.popState();
3268
- break;
3269
- case 18: return 96;
3270
- case 19: return "MD_STR";
3271
- case 20:
3272
- this.popState();
3273
- break;
3274
- case 21:
3275
- this.begin("md_string");
3276
- break;
3277
- case 22: return "STR";
3278
- case 23:
3279
- this.popState();
3280
- break;
3281
- case 24:
3282
- this.pushState("string");
3283
- break;
3284
- case 25: return 84;
3285
- case 26: return 102;
3286
- case 27: return 85;
3287
- case 28: return 104;
3288
- case 29: return 86;
3289
- case 30: return 87;
3290
- case 31: return 97;
3291
- case 32:
3292
- this.begin("click");
3293
- break;
3294
- case 33:
3295
- this.popState();
3296
- break;
3297
- case 34: return 88;
3298
- case 35: return e.lex.firstGraph() && this.begin("dir"), 12;
3299
- case 36: return e.lex.firstGraph() && this.begin("dir"), 12;
3300
- case 37: return e.lex.firstGraph() && this.begin("dir"), 12;
3301
- case 38: return e.lex.firstGraph() && this.begin("dir"), 12;
3302
- case 39: return 27;
3303
- case 40: return 32;
3304
- case 41: return 98;
3305
- case 42: return 98;
3306
- case 43: return 98;
3307
- case 44: return 98;
3308
- case 45: return this.popState(), 13;
3309
- case 46: return this.popState(), 14;
3310
- case 47: return this.popState(), 14;
3311
- case 48: return this.popState(), 14;
3312
- case 49: return this.popState(), 14;
3313
- case 50: return this.popState(), 14;
3314
- case 51: return this.popState(), 14;
3315
- case 52: return this.popState(), 14;
3316
- case 53: return this.popState(), 14;
3317
- case 54: return this.popState(), 14;
3318
- case 55: return this.popState(), 14;
3319
- case 56: return 121;
3320
- case 57: return 122;
3321
- case 58: return 123;
3322
- case 59: return 124;
3323
- case 60: return 125;
3324
- case 61: return 78;
3325
- case 62: return 105;
3326
- case 63: return 111;
3327
- case 64: return 46;
3328
- case 65: return 60;
3329
- case 66: return 44;
3330
- case 67: return 8;
3331
- case 68: return 106;
3332
- case 69: return 115;
3333
- case 70: return this.popState(), 77;
3334
- case 71: return this.pushState("edgeText"), 75;
3335
- case 72: return 119;
3336
- case 73: return this.popState(), 77;
3337
- case 74: return this.pushState("thickEdgeText"), 75;
3338
- case 75: return 119;
3339
- case 76: return this.popState(), 77;
3340
- case 77: return this.pushState("dottedEdgeText"), 75;
3341
- case 78: return 119;
3342
- case 79: return 77;
3343
- case 80: return this.popState(), 53;
3344
- case 81: return "TEXT";
3345
- case 82: return this.pushState("ellipseText"), 52;
3346
- case 83: return this.popState(), 55;
3347
- case 84: return this.pushState("text"), 54;
3348
- case 85: return this.popState(), 57;
3349
- case 86: return this.pushState("text"), 56;
3350
- case 87: return 58;
3351
- case 88: return this.pushState("text"), 67;
3352
- case 89: return this.popState(), 64;
3353
- case 90: return this.pushState("text"), 63;
3354
- case 91: return this.popState(), 49;
3355
- case 92: return this.pushState("text"), 48;
3356
- case 93: return this.popState(), 69;
3357
- case 94: return this.popState(), 71;
3358
- case 95: return 117;
3359
- case 96: return this.pushState("trapText"), 68;
3360
- case 97: return this.pushState("trapText"), 70;
3361
- case 98: return 118;
3362
- case 99: return 67;
3363
- case 100: return 90;
3364
- case 101: return "SEP";
3365
- case 102: return 89;
3366
- case 103: return 115;
3367
- case 104: return 111;
3368
- case 105: return 44;
3369
- case 106: return 109;
3370
- case 107: return 114;
3371
- case 108: return 116;
3372
- case 109: return this.popState(), 62;
3373
- case 110: return this.pushState("text"), 62;
3374
- case 111: return this.popState(), 51;
3375
- case 112: return this.pushState("text"), 50;
3376
- case 113: return this.popState(), 31;
3377
- case 114: return this.pushState("text"), 29;
3378
- case 115: return this.popState(), 66;
3379
- case 116: return this.pushState("text"), 65;
3380
- case 117: return "TEXT";
3381
- case 118: return "QUOTE";
3382
- case 119: return 9;
3383
- case 120: return 10;
3384
- case 121: return 11;
3385
- }
3386
- }, "anonymous"),
3387
- rules: [
3388
- /^(?:accTitle\s*:\s*)/,
3389
- /^(?:(?!\n||)*[^\n]*)/,
3390
- /^(?:accDescr\s*:\s*)/,
3391
- /^(?:(?!\n||)*[^\n]*)/,
3392
- /^(?:accDescr\s*\{\s*)/,
3393
- /^(?:[\}])/,
3394
- /^(?:[^\}]*)/,
3395
- /^(?:@\{)/,
3396
- /^(?:["])/,
3397
- /^(?:["])/,
3398
- /^(?:[^\"]+)/,
3399
- /^(?:[^}^"]+)/,
3400
- /^(?:\})/,
3401
- /^(?:call[\s]+)/,
3402
- /^(?:\([\s]*\))/,
3403
- /^(?:\()/,
3404
- /^(?:[^(]*)/,
3405
- /^(?:\))/,
3406
- /^(?:[^)]*)/,
3407
- /^(?:[^`"]+)/,
3408
- /^(?:[`]["])/,
3409
- /^(?:["][`])/,
3410
- /^(?:[^"]+)/,
3411
- /^(?:["])/,
3412
- /^(?:["])/,
3413
- /^(?:style\b)/,
3414
- /^(?:default\b)/,
3415
- /^(?:linkStyle\b)/,
3416
- /^(?:interpolate\b)/,
3417
- /^(?:classDef\b)/,
3418
- /^(?:class\b)/,
3419
- /^(?:href[\s])/,
3420
- /^(?:click[\s]+)/,
3421
- /^(?:[\s\n])/,
3422
- /^(?:[^\s\n]*)/,
3423
- /^(?:flowchart-elk\b)/,
3424
- /^(?:swimlane-beta\b)/,
3425
- /^(?:graph\b)/,
3426
- /^(?:flowchart\b)/,
3427
- /^(?:subgraph\b)/,
3428
- /^(?:end\b\s*)/,
3429
- /^(?:_self\b)/,
3430
- /^(?:_blank\b)/,
3431
- /^(?:_parent\b)/,
3432
- /^(?:_top\b)/,
3433
- /^(?:(\r?\n)*\s*\n)/,
3434
- /^(?:\s*LR\b)/,
3435
- /^(?:\s*RL\b)/,
3436
- /^(?:\s*TB\b)/,
3437
- /^(?:\s*BT\b)/,
3438
- /^(?:\s*TD\b)/,
3439
- /^(?:\s*BR\b)/,
3440
- /^(?:\s*<)/,
3441
- /^(?:\s*>)/,
3442
- /^(?:\s*\^)/,
3443
- /^(?:\s*v\b)/,
3444
- /^(?:.*direction\s+TB[^\n]*)/,
3445
- /^(?:.*direction\s+BT[^\n]*)/,
3446
- /^(?:.*direction\s+RL[^\n]*)/,
3447
- /^(?:.*direction\s+LR[^\n]*)/,
3448
- /^(?:.*direction\s+TD[^\n]*)/,
3449
- /^(?:[^\s\"]+@(?=[^\{\"]))/,
3450
- /^(?:[0-9]+)/,
3451
- /^(?:#)/,
3452
- /^(?::::)/,
3453
- /^(?::)/,
3454
- /^(?:&)/,
3455
- /^(?:;)/,
3456
- /^(?:,)/,
3457
- /^(?:\*)/,
3458
- /^(?:\s*[xo<]?--+[-xo>]\s*)/,
3459
- /^(?:\s*[xo<]?--\s*)/,
3460
- /^(?:[^-]|-(?!-)+)/,
3461
- /^(?:\s*[xo<]?==+[=xo>]\s*)/,
3462
- /^(?:\s*[xo<]?==\s*)/,
3463
- /^(?:[^=]|=(?!))/,
3464
- /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,
3465
- /^(?:\s*[xo<]?-\.\s*)/,
3466
- /^(?:[^\.]|\.(?!))/,
3467
- /^(?:\s*~~[\~]+\s*)/,
3468
- /^(?:[-/\)][\)])/,
3469
- /^(?:[^\(\)\[\]\{\}]|!\)+)/,
3470
- /^(?:\(-)/,
3471
- /^(?:\]\))/,
3472
- /^(?:\(\[)/,
3473
- /^(?:\]\])/,
3474
- /^(?:\[\[)/,
3475
- /^(?:\[\|)/,
3476
- /^(?:>)/,
3477
- /^(?:\)\])/,
3478
- /^(?:\[\()/,
3479
- /^(?:\)\)\))/,
3480
- /^(?:\(\(\()/,
3481
- /^(?:[\\(?=\])][\]])/,
3482
- /^(?:\/(?=\])\])/,
3483
- /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,
3484
- /^(?:\[\/)/,
3485
- /^(?:\[\\)/,
3486
- /^(?:<)/,
3487
- /^(?:>)/,
3488
- /^(?:\^)/,
3489
- /^(?:\\\|)/,
3490
- /^(?:v\b)/,
3491
- /^(?:\*)/,
3492
- /^(?:#)/,
3493
- /^(?:&)/,
3494
- /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,
3495
- /^(?:-)/,
3496
- /^(?:[\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])/,
3497
- /^(?:\|)/,
3498
- /^(?:\|)/,
3499
- /^(?:\))/,
3500
- /^(?:\()/,
3501
- /^(?:\])/,
3502
- /^(?:\[)/,
3503
- /^(?:(\}))/,
3504
- /^(?:\{)/,
3505
- /^(?:[^\[\]\(\)\{\}\|\"]+)/,
3506
- /^(?:")/,
3507
- /^(?:(\r?\n)+)/,
3508
- /^(?:[^\S\n\r]+)/,
3509
- /^(?:$)/
3510
- ],
3511
- conditions: {
3512
- shapeDataEndBracket: {
3513
- rules: [
3514
- 21,
3515
- 24,
3516
- 79,
3517
- 82,
3518
- 84,
3519
- 86,
3520
- 90,
3521
- 92,
3522
- 96,
3523
- 97,
3524
- 110,
3525
- 112,
3526
- 114,
3527
- 116
3528
- ],
3529
- inclusive: !1
3530
- },
3531
- shapeDataStr: {
3532
- rules: [
3533
- 9,
3534
- 10,
3535
- 21,
3536
- 24,
3537
- 79,
3538
- 82,
3539
- 84,
3540
- 86,
3541
- 90,
3542
- 92,
3543
- 96,
3544
- 97,
3545
- 110,
3546
- 112,
3547
- 114,
3548
- 116
3549
- ],
3550
- inclusive: !1
3551
- },
3552
- shapeData: {
3553
- rules: [
3554
- 8,
3555
- 11,
3556
- 12,
3557
- 21,
3558
- 24,
3559
- 79,
3560
- 82,
3561
- 84,
3562
- 86,
3563
- 90,
3564
- 92,
3565
- 96,
3566
- 97,
3567
- 110,
3568
- 112,
3569
- 114,
3570
- 116
3571
- ],
3572
- inclusive: !1
3573
- },
3574
- callbackargs: {
3575
- rules: [
3576
- 17,
3577
- 18,
3578
- 21,
3579
- 24,
3580
- 79,
3581
- 82,
3582
- 84,
3583
- 86,
3584
- 90,
3585
- 92,
3586
- 96,
3587
- 97,
3588
- 110,
3589
- 112,
3590
- 114,
3591
- 116
3592
- ],
3593
- inclusive: !1
3594
- },
3595
- callbackname: {
3596
- rules: [
3597
- 14,
3598
- 15,
3599
- 16,
3600
- 21,
3601
- 24,
3602
- 79,
3603
- 82,
3604
- 84,
3605
- 86,
3606
- 90,
3607
- 92,
3608
- 96,
3609
- 97,
3610
- 110,
3611
- 112,
3612
- 114,
3613
- 116
3614
- ],
3615
- inclusive: !1
3616
- },
3617
- href: {
3618
- rules: [
3619
- 21,
3620
- 24,
3621
- 79,
3622
- 82,
3623
- 84,
3624
- 86,
3625
- 90,
3626
- 92,
3627
- 96,
3628
- 97,
3629
- 110,
3630
- 112,
3631
- 114,
3632
- 116
3633
- ],
3634
- inclusive: !1
3635
- },
3636
- click: {
3637
- rules: [
3638
- 21,
3639
- 24,
3640
- 33,
3641
- 34,
3642
- 79,
3643
- 82,
3644
- 84,
3645
- 86,
3646
- 90,
3647
- 92,
3648
- 96,
3649
- 97,
3650
- 110,
3651
- 112,
3652
- 114,
3653
- 116
3654
- ],
3655
- inclusive: !1
3656
- },
3657
- dottedEdgeText: {
3658
- rules: [
3659
- 21,
3660
- 24,
3661
- 76,
3662
- 78,
3663
- 79,
3664
- 82,
3665
- 84,
3666
- 86,
3667
- 90,
3668
- 92,
3669
- 96,
3670
- 97,
3671
- 110,
3672
- 112,
3673
- 114,
3674
- 116
3675
- ],
3676
- inclusive: !1
3677
- },
3678
- thickEdgeText: {
3679
- rules: [
3680
- 21,
3681
- 24,
3682
- 73,
3683
- 75,
3684
- 79,
3685
- 82,
3686
- 84,
3687
- 86,
3688
- 90,
3689
- 92,
3690
- 96,
3691
- 97,
3692
- 110,
3693
- 112,
3694
- 114,
3695
- 116
3696
- ],
3697
- inclusive: !1
3698
- },
3699
- edgeText: {
3700
- rules: [
3701
- 21,
3702
- 24,
3703
- 70,
3704
- 72,
3705
- 79,
3706
- 82,
3707
- 84,
3708
- 86,
3709
- 90,
3710
- 92,
3711
- 96,
3712
- 97,
3713
- 110,
3714
- 112,
3715
- 114,
3716
- 116
3717
- ],
3718
- inclusive: !1
3719
- },
3720
- trapText: {
3721
- rules: [
3722
- 21,
3723
- 24,
3724
- 79,
3725
- 82,
3726
- 84,
3727
- 86,
3728
- 90,
3729
- 92,
3730
- 93,
3731
- 94,
3732
- 95,
3733
- 96,
3734
- 97,
3735
- 110,
3736
- 112,
3737
- 114,
3738
- 116
3739
- ],
3740
- inclusive: !1
3741
- },
3742
- ellipseText: {
3743
- rules: [
3744
- 21,
3745
- 24,
3746
- 79,
3747
- 80,
3748
- 81,
3749
- 82,
3750
- 84,
3751
- 86,
3752
- 90,
3753
- 92,
3754
- 96,
3755
- 97,
3756
- 110,
3757
- 112,
3758
- 114,
3759
- 116
3760
- ],
3761
- inclusive: !1
3762
- },
3763
- text: {
3764
- rules: [
3765
- 21,
3766
- 24,
3767
- 79,
3768
- 82,
3769
- 83,
3770
- 84,
3771
- 85,
3772
- 86,
3773
- 89,
3774
- 90,
3775
- 91,
3776
- 92,
3777
- 96,
3778
- 97,
3779
- 109,
3780
- 110,
3781
- 111,
3782
- 112,
3783
- 113,
3784
- 114,
3785
- 115,
3786
- 116,
3787
- 117
3788
- ],
3789
- inclusive: !1
3790
- },
3791
- vertex: {
3792
- rules: [
3793
- 21,
3794
- 24,
3795
- 79,
3796
- 82,
3797
- 84,
3798
- 86,
3799
- 90,
3800
- 92,
3801
- 96,
3802
- 97,
3803
- 110,
3804
- 112,
3805
- 114,
3806
- 116
3807
- ],
3808
- inclusive: !1
3809
- },
3810
- dir: {
3811
- rules: [
3812
- 21,
3813
- 24,
3814
- 45,
3815
- 46,
3816
- 47,
3817
- 48,
3818
- 49,
3819
- 50,
3820
- 51,
3821
- 52,
3822
- 53,
3823
- 54,
3824
- 55,
3825
- 79,
3826
- 82,
3827
- 84,
3828
- 86,
3829
- 90,
3830
- 92,
3831
- 96,
3832
- 97,
3833
- 110,
3834
- 112,
3835
- 114,
3836
- 116
3837
- ],
3838
- inclusive: !1
3839
- },
3840
- acc_descr_multiline: {
3841
- rules: [
3842
- 5,
3843
- 6,
3844
- 21,
3845
- 24,
3846
- 79,
3847
- 82,
3848
- 84,
3849
- 86,
3850
- 90,
3851
- 92,
3852
- 96,
3853
- 97,
3854
- 110,
3855
- 112,
3856
- 114,
3857
- 116
3858
- ],
3859
- inclusive: !1
3860
- },
3861
- acc_descr: {
3862
- rules: [
3863
- 3,
3864
- 21,
3865
- 24,
3866
- 79,
3867
- 82,
3868
- 84,
3869
- 86,
3870
- 90,
3871
- 92,
3872
- 96,
3873
- 97,
3874
- 110,
3875
- 112,
3876
- 114,
3877
- 116
3878
- ],
3879
- inclusive: !1
3880
- },
3881
- acc_title: {
3882
- rules: [
3883
- 1,
3884
- 21,
3885
- 24,
3886
- 79,
3887
- 82,
3888
- 84,
3889
- 86,
3890
- 90,
3891
- 92,
3892
- 96,
3893
- 97,
3894
- 110,
3895
- 112,
3896
- 114,
3897
- 116
3898
- ],
3899
- inclusive: !1
3900
- },
3901
- md_string: {
3902
- rules: [
3903
- 19,
3904
- 20,
3905
- 21,
3906
- 24,
3907
- 79,
3908
- 82,
3909
- 84,
3910
- 86,
3911
- 90,
3912
- 92,
3913
- 96,
3914
- 97,
3915
- 110,
3916
- 112,
3917
- 114,
3918
- 116
3919
- ],
3920
- inclusive: !1
3921
- },
3922
- string: {
3923
- rules: [
3924
- 21,
3925
- 22,
3926
- 23,
3927
- 24,
3928
- 79,
3929
- 82,
3930
- 84,
3931
- 86,
3932
- 90,
3933
- 92,
3934
- 96,
3935
- 97,
3936
- 110,
3937
- 112,
3938
- 114,
3939
- 116
3940
- ],
3941
- inclusive: !1
3942
- },
3943
- INITIAL: {
3944
- rules: [
3945
- 0,
3946
- 2,
3947
- 4,
3948
- 7,
3949
- 13,
3950
- 21,
3951
- 24,
3952
- 25,
3953
- 26,
3954
- 27,
3955
- 28,
3956
- 29,
3957
- 30,
3958
- 31,
3959
- 32,
3960
- 35,
3961
- 36,
3962
- 37,
3963
- 38,
3964
- 39,
3965
- 40,
3966
- 41,
3967
- 42,
3968
- 43,
3969
- 44,
3970
- 56,
3971
- 57,
3972
- 58,
3973
- 59,
3974
- 60,
3975
- 61,
3976
- 62,
3977
- 63,
3978
- 64,
3979
- 65,
3980
- 66,
3981
- 67,
3982
- 68,
3983
- 69,
3984
- 70,
3985
- 71,
3986
- 73,
3987
- 74,
3988
- 76,
3989
- 77,
3990
- 79,
3991
- 82,
3992
- 84,
3993
- 86,
3994
- 87,
3995
- 88,
3996
- 90,
3997
- 92,
3998
- 96,
3999
- 97,
4000
- 98,
4001
- 99,
4002
- 100,
4003
- 101,
4004
- 102,
4005
- 103,
4006
- 104,
4007
- 105,
4008
- 106,
4009
- 107,
4010
- 108,
4011
- 110,
4012
- 112,
4013
- 114,
4014
- 116,
4015
- 118,
4016
- 119,
4017
- 120,
4018
- 121
4019
- ],
4020
- inclusive: !0
4021
- }
4022
- }
4023
- };
4024
- })();
4025
- function it() {
4026
- this.yy = {};
4027
- }
4028
- return n(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
4029
- })();
4030
- oe.parser = oe;
4031
- var k = oe, A = Object.assign({}, k);
4032
- A.parse = (e) => {
4033
- let t = e.replace(/}\s*\n/g, "}\n");
4034
- return k.parse(t);
4035
- };
4036
- var j = A, M = /* @__PURE__ */ n((e) => {
4037
- let { theme: t, bkgColorArray: r, borderColorArray: i } = e;
4038
- if (!te(t, i)) return "";
4039
- let a = y(e.look), o = b(r), s = "";
4040
- for (let t = 0; t < ne(e.THEME_COLOR_LIMIT, i); t++) {
4041
- let e = i[t % i.length], c = o ? `fill: ${r[t % r.length]};` : "", l = `[data-look="${a}"][data-color-id="color-${t}"]`, u = /* @__PURE__ */ n((e) => `${l}.node ${e}, ${l}.rough-node ${e}`, "collapsedRule"), d = /* @__PURE__ */ n((e) => `${l}.swimlane.cluster .swimlane-title${e}, ${l}.swimlane.cluster .swimlane-body${e}`, "laneRule");
4042
- s += `
4043
-
4044
- ${l}.cluster:not(.swimlane) rect {
4045
- stroke: ${e};
4046
- ${c}
4047
- }
4048
-
4049
- ${l}.cluster:not(.swimlane) path {
4050
- stroke: ${e};
4051
- ${c}
4052
- }
4053
-
4054
- /* Lane, classic and neo. */
4055
- ${l}.swimlane.cluster rect.swimlane-title,
4056
- ${l}.swimlane.cluster rect.swimlane-body {
4057
- stroke: ${e};
4058
- ${c}
4059
- }
4060
-
4061
- /* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
4062
- ${d(" path:nth-of-type(2)")} {
4063
- stroke: ${e};
4064
- }
4065
- ${o ? `
4066
- /* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
4067
- ${d(" path:first-of-type")} {
4068
- stroke: ${r[t % r.length]};
4069
- }
4070
- ` : ""}
4071
- ${u(".collapsed-group")},
4072
- ${u(".collapsed-group path")} {
4073
- stroke: ${e};
4074
- ${c}
4075
- }
4076
-
4077
- /* The ellipsis dots and the separator take clusterBorder further down, so without
4078
- these the container is palette-coloured while its own markers are not. */
4079
- ${u(".collapsed-indicator")} {
4080
- fill: ${e};
4081
- }
4082
-
4083
- ${u(".collapsed-separator")} {
4084
- stroke: ${e};
4085
- }
4086
- `;
4087
- }
4088
- return s;
4089
- }, "genColor"), N = /* @__PURE__ */ n((e, t) => {
4090
- let n = g;
4091
- return l(n(e, "r"), n(e, "g"), n(e, "b"), t);
4092
- }, "fade"), se = /* @__PURE__ */ n((e) => `${M(e)}
4093
- .label {
4094
- font-family: ${e.fontFamily};
4095
- color: ${e.nodeTextColor || e.textColor};
4096
- }
4097
- .cluster-label text {
4098
- fill: ${e.titleColor};
4099
- }
4100
- .cluster-label span {
4101
- color: ${e.titleColor};
4102
- }
4103
- .cluster-label span p {
4104
- background-color: transparent;
4105
- }
4106
-
4107
- .label text,span {
4108
- fill: ${e.nodeTextColor || e.textColor};
4109
- color: ${e.nodeTextColor || e.textColor};
4110
- }
4111
-
4112
- .node rect,
4113
- .node circle,
4114
- .node ellipse,
4115
- .node polygon,
4116
- .node path {
4117
- fill: ${e.mainBkg};
4118
- stroke: ${e.nodeBorder};
4119
- stroke-width: ${e.strokeWidth ?? 1}px;
4120
- }
4121
- .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4122
- text-anchor: middle;
4123
- }
4124
-
4125
- .node .katex path {
4126
- fill: #000;
4127
- stroke: #000;
4128
- stroke-width: 1px;
4129
- }
4130
-
4131
- .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
4132
- text-align: center;
4133
- }
4134
- .node.clickable {
4135
- cursor: pointer;
4136
- }
4137
-
4138
-
4139
- .root .anchor path {
4140
- fill: ${e.lineColor} !important;
4141
- stroke-width: 0;
4142
- stroke: ${e.lineColor};
4143
- }
4144
-
4145
- .arrowheadPath {
4146
- fill: ${e.arrowheadColor};
4147
- }
4148
-
4149
- .edgePaths .path {
4150
- stroke: ${e.lineColor};
4151
- stroke-width: ${e.strokeWidth ?? 2}px;
4152
- }
4153
-
4154
- .flowchart-link {
4155
- stroke: ${e.lineColor};
4156
- fill: none;
4157
- }
4158
-
4159
- .edgeLabel {
4160
- background-color: ${e.edgeLabelBackground};
4161
- p {
4162
- background-color: ${e.edgeLabelBackground};
4163
- }
4164
- rect {
4165
- opacity: 0.5;
4166
- background-color: ${e.edgeLabelBackground};
4167
- fill: ${e.edgeLabelBackground};
4168
- }
4169
- text-align: center;
4170
- }
4171
-
4172
- /* For html labels only */
4173
- .labelBkg {
4174
- background-color: ${N(e.edgeLabelBackground, .5)};
4175
- // background-color:
4176
- }
4177
-
4178
- .cluster rect {
4179
- fill: ${e.clusterBkg};
4180
- stroke: ${e.clusterBorder};
4181
- stroke-width: 1px;
4182
- }
4183
-
4184
- .cluster text {
4185
- fill: ${e.titleColor};
4186
- }
4187
-
4188
- .cluster span {
4189
- color: ${e.titleColor};
4190
- }
4191
- /* .cluster div {
4192
- color: ${e.titleColor};
4193
- } */
4194
-
4195
- /* Collapsed subgraph node (@{ view: collapsed }) */
4196
- .node .collapsed-indicator {
4197
- fill: ${e.clusterBorder};
4198
- stroke: none;
4199
- opacity: 0.6;
4200
- }
4201
-
4202
- .node .collapsed-separator {
4203
- stroke: ${e.clusterBorder};
4204
- stroke-width: 0.75px;
4205
- }
4206
-
4207
- div.mermaidTooltip {
4208
- position: absolute;
4209
- text-align: center;
4210
- max-width: 200px;
4211
- padding: 2px;
4212
- font-family: ${e.fontFamily};
4213
- font-size: 12px;
4214
- background: ${e.tertiaryColor};
4215
- border: 1px solid ${e.border2};
4216
- border-radius: 2px;
4217
- pointer-events: none;
4218
- z-index: 100;
4219
- }
4220
-
4221
- .flowchartTitleText {
4222
- text-anchor: middle;
4223
- font-size: 18px;
4224
- fill: ${e.textColor};
4225
- }
4226
-
4227
- rect.text {
4228
- fill: none;
4229
- stroke-width: 0;
4230
- }
4231
-
4232
- .icon-shape, .image-shape {
4233
- background-color: ${e.edgeLabelBackground};
4234
- p {
4235
- background-color: ${e.edgeLabelBackground};
4236
- padding: 2px;
4237
- }
4238
- .label rect {
4239
- opacity: 0.5;
4240
- background-color: ${e.edgeLabelBackground};
4241
- fill: ${e.edgeLabelBackground};
4242
- }
4243
- text-align: center;
4244
- }
4245
- ${ee()}
4246
- `, "getStyles"), ce = /* @__PURE__ */ n(({ styles: e = se } = {}) => ({
4247
- parser: j,
4248
- get db() {
4249
- return new ie();
4250
- },
4251
- renderer: ae,
4252
- styles: e,
4253
- init: /* @__PURE__ */ n((e) => {
4254
- e.flowchart ||= {}, e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, i({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4255
- }, "init")
4256
- }), "createFlowDiagram"), le = ce();
4257
- //#endregion
4258
- export { le as n, se as r, ce as t };