for-humanity 0.11.0 → 0.13.0

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