react-docs-ui 0.6.16 → 0.6.18

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