@versini/sassysaint 8.110.3 → 8.111.1

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 (82) hide show
  1. package/dist/chunks/{AboutChangelog.lkiW0mb0.js → AboutChangelog.DBS-W0Io.js} +2 -2
  2. package/dist/chunks/{AboutEntry.UmqlpC-6.js → AboutEntry.BALXq3uG.js} +7 -7
  3. package/dist/chunks/{App.B6slW82y.js → App.DYc2zQb9.js} +603 -604
  4. package/dist/chunks/{Bubble.Bzb0yWg5.js → Bubble.CjFOupdI.js} +1 -1
  5. package/dist/chunks/{ButtonIconDelete.yEcP--tW.js → ButtonIconDelete.CrLclEN-.js} +2 -2
  6. package/dist/chunks/{Chart.CtM9GlAA.js → Chart.DE2Pj6I-.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.B52zcfCw.js → ChatBubbleAssistant.Iepb3p0t.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.CHmdyTg5.js → ChatBubbleUser.BfkYxwnc.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.D8OwdEcC.js → ChatHistoryTable.DD5ZuAbI.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.BbWinMPG.js → HistoryEntry.C8Ld2sD4.js} +6 -6
  11. package/dist/chunks/{LoginEntry.BRcsqkn1.js → LoginEntry.C6nNtgTg.js} +4 -4
  12. package/dist/chunks/{LogoEntry.Bu1wr6W3.js → LogoEntry.BzJx8V2c.js} +1 -1
  13. package/dist/chunks/{MemoriesEntry.B8Jduj0p.js → MemoriesEntry.BEXE9loJ.js} +5 -5
  14. package/dist/chunks/{ProfileEntry.DWVYl6vU.js → ProfileEntry.3BYJrVIt.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.qPh6dhcd.js → SettingsEntry.C6nWCZpc.js} +5 -5
  16. package/dist/chunks/{UsageEntry.C60Nsx8M.js → UsageEntry.Dd-xUxjd.js} +5 -5
  17. package/dist/chunks/{_baseUniq.COocjMTd.js → _baseUniq.CO1pQ3TU.js} +1 -1
  18. package/dist/chunks/{arc.kGh-cDYj.js → arc.UmkSc1Aq.js} +1 -1
  19. package/dist/chunks/{architecture-U656AL7Q.CsU3Wwt7.js → architecture-U656AL7Q.BVslGbEi.js} +1 -1
  20. package/dist/chunks/{architectureDiagram-VXUJARFQ.b2cm1XLO.js → architectureDiagram-VXUJARFQ.CcnHrQNJ.js} +4 -4
  21. package/dist/chunks/{blockDiagram-VD42YOAC.CCVcuksY.js → blockDiagram-VD42YOAC.DBW_inb5.js} +5 -5
  22. package/dist/chunks/{browser.QIuapGgB.js → browser.B3njUrBi.js} +1 -1
  23. package/dist/chunks/{c4Diagram-YG6GDRKO.DMaD8nyL.js → c4Diagram-YG6GDRKO.BSs-xFSk.js} +2 -2
  24. package/dist/chunks/{channel.BUsnjrUn.js → channel.D0sWdRVT.js} +1 -1
  25. package/dist/chunks/{chunk-4BX2VUAB.DlTt12ES.js → chunk-4BX2VUAB.CjUvcA9v.js} +1 -1
  26. package/dist/chunks/{chunk-55IACEB6.DCeL79zS.js → chunk-55IACEB6.C2qmG191.js} +1 -1
  27. package/dist/chunks/{chunk-B4BG7PRW.CX1uytRd.js → chunk-B4BG7PRW.De4jw-e4.js} +4 -4
  28. package/dist/chunks/{chunk-DI55MBZ5.dvgZW1UK.js → chunk-DI55MBZ5.Bs_RrXB7.js} +3 -3
  29. package/dist/chunks/{chunk-FMBD7UC4.CaCU5hmN.js → chunk-FMBD7UC4.CBEVGMvu.js} +1 -1
  30. package/dist/chunks/{chunk-QN33PNHL.DNC6zMVf.js → chunk-QN33PNHL.DybGTku4.js} +1 -1
  31. package/dist/chunks/{chunk-QZHKN3VN.Dw_nvEyB.js → chunk-QZHKN3VN.C8J2iNyQ.js} +1 -1
  32. package/dist/chunks/{chunk-TZMSLE5B.CtF-QOyw.js → chunk-TZMSLE5B.DWPNgloc.js} +1 -1
  33. package/dist/chunks/{classDiagram-2ON5EDUG.Ca7Ta_OD.js → classDiagram-2ON5EDUG.C8iMt-CB.js} +2 -2
  34. package/dist/chunks/{classDiagram-v2-WZHVMYZB.Ca7Ta_OD.js → classDiagram-v2-WZHVMYZB.C8iMt-CB.js} +2 -2
  35. package/dist/chunks/{clone.BtKf4xC_.js → clone.DeBg-xtY.js} +1 -1
  36. package/dist/chunks/{cose-bilkent-S5V4N54A.DwW1cev3.js → cose-bilkent-S5V4N54A.DdmGTxAx.js} +2 -2
  37. package/dist/chunks/{dagre-6UL2VRFP.BUkhHXYk.js → dagre-6UL2VRFP.DUYGMAN4.js} +5 -5
  38. package/dist/chunks/{diagram-PSM6KHXK.DJ_Lr38x.js → diagram-PSM6KHXK.Ccpr6tNA.js} +4 -4
  39. package/dist/chunks/{diagram-QEK2KX5R.BpMcOoOC.js → diagram-QEK2KX5R.DM7BsSur.js} +3 -3
  40. package/dist/chunks/{diagram-S2PKOQOG.DVtNt8J8.js → diagram-S2PKOQOG.CcNYo6mZ.js} +3 -3
  41. package/dist/chunks/{erDiagram-Q2GNP2WA.aSDenSqN.js → erDiagram-Q2GNP2WA.B8GbIkl0.js} +4 -4
  42. package/dist/chunks/{flowDiagram-NV44I4VS.CJbH__17.js → flowDiagram-NV44I4VS.D8a1Zxq6.js} +5 -5
  43. package/dist/chunks/{ganttDiagram-JELNMOA3.u6-CJID3.js → ganttDiagram-JELNMOA3.CxIyi0FP.js} +2 -2
  44. package/dist/chunks/{gitGraph-F6HP7TQM.SAvUllla.js → gitGraph-F6HP7TQM.DdmXatf1.js} +1 -1
  45. package/dist/chunks/{gitGraphDiagram-NY62KEGX.D_xjcCME.js → gitGraphDiagram-NY62KEGX.gdP5EUcb.js} +4 -4
  46. package/dist/chunks/{graph.BMpJQe8Z.js → graph.vmnThUrw.js} +2 -2
  47. package/dist/chunks/{index.DBhmddrz.js → index.BJsn-vQm.js} +1 -1
  48. package/dist/chunks/{index.CwDoM4xu.js → index.BiVcH-1l.js} +1 -1
  49. package/dist/chunks/{index.CV3VT680.js → index.CQ1tNoqY.js} +2 -2
  50. package/dist/chunks/{index.DBMr9ZIG.js → index.CacVTYUi.js} +1 -1
  51. package/dist/chunks/{index.uVyMig2w.js → index.Cwy5dqPH.js} +3 -3
  52. package/dist/chunks/{index.D4BYiu5b.js → index.DFah9PmB.js} +3 -3
  53. package/dist/chunks/{index.DGAn9DSb.js → index.DVV06j5x.js} +1 -1
  54. package/dist/chunks/{index.CC_BDGYS.js → index._wuBqYM-.js} +1 -1
  55. package/dist/chunks/{index.P0YK3CXH.js → index.rtvKWBwR.js} +1 -1
  56. package/dist/chunks/{info-NVLQJR56.UWLM7NLW.js → info-NVLQJR56.DGgSzZvD.js} +1 -1
  57. package/dist/chunks/{infoDiagram-WHAUD3N6.CXXBBBvD.js → infoDiagram-WHAUD3N6.Cr9uswM-.js} +2 -2
  58. package/dist/chunks/{journeyDiagram-XKPGCS4Q.WlKdK6d-.js → journeyDiagram-XKPGCS4Q.BeAeXdZw.js} +4 -4
  59. package/dist/chunks/{kanban-definition-3W4ZIXB7.yLrosYt3.js → kanban-definition-3W4ZIXB7.BE8r8cZr.js} +2 -2
  60. package/dist/chunks/{layout.BsNu2DpU.js → layout.Ce8z59EY.js} +4 -4
  61. package/dist/chunks/{mermaid-parser.core.-fztw1tq.js → mermaid-parser.core.DV6o_bdd.js} +10 -10
  62. package/dist/chunks/{min.CzeGcSjf.js → min.tslYr6eP.js} +2 -2
  63. package/dist/chunks/{mindmap-definition-VGOIOE7T.LL23ZJeJ.js → mindmap-definition-VGOIOE7T.CuQAhOps.js} +232 -257
  64. package/dist/chunks/{packet-BFZMPI3H.sUqQan1_.js → packet-BFZMPI3H.Bcwvega6.js} +1 -1
  65. package/dist/chunks/{pie-7BOR55EZ.7e8JmkIh.js → pie-7BOR55EZ.D8RARbd5.js} +1 -1
  66. package/dist/chunks/{pieDiagram-ADFJNKIX.BLXB9TYh.js → pieDiagram-ADFJNKIX.CvBdPnGV.js} +4 -4
  67. package/dist/chunks/{quadrantDiagram-AYHSOK5B.npeOw87_.js → quadrantDiagram-AYHSOK5B.CROQ_Frk.js} +1 -1
  68. package/dist/chunks/{radar-NHE76QYJ.CH1mMYSt.js → radar-NHE76QYJ.CCshv9eV.js} +1 -1
  69. package/dist/chunks/{rehype-mermaid.CF3pcJvp.js → rehype-mermaid.BdX4FNx6.js} +33 -33
  70. package/dist/chunks/{requirementDiagram-UZGBJVZJ.b0uvf183.js → requirementDiagram-UZGBJVZJ.CGaK5g7H.js} +3 -3
  71. package/dist/chunks/{sankeyDiagram-TZEHDZUN.b20Blkrh.js → sankeyDiagram-TZEHDZUN.BmuzrAiO.js} +1 -1
  72. package/dist/chunks/{sequenceDiagram-WL72ISMW.BylR9rfC.js → sequenceDiagram-WL72ISMW.WbZc3G3z.js} +3 -3
  73. package/dist/chunks/{stateDiagram-FKZM4ZOC.Dwq-R-dt.js → stateDiagram-FKZM4ZOC.BcipU7Ac.js} +4 -4
  74. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.H1Hbg_Hp.js → stateDiagram-v2-4FDKWEC3.CsiWj86-.js} +2 -2
  75. package/dist/chunks/{timeline-definition-IT6M3QCI.BD-L74X0.js → timeline-definition-IT6M3QCI.CGhuUKcI.js} +2 -2
  76. package/dist/chunks/{treemap-KMMF4GRG.DHmPB-yR.js → treemap-KMMF4GRG.DXHxrJFh.js} +1 -1
  77. package/dist/chunks/{useMarkdown.CVqU22vr.js → useMarkdown.DXXZNSYf.js} +8 -8
  78. package/dist/chunks/{xychartDiagram-PRI3JC2R.UW4hhcjJ.js → xychartDiagram-PRI3JC2R.DcXD2HKb.js} +1 -1
  79. package/dist/components/SassySaint/SassySaint.js +1 -1
  80. package/dist/index.js +3 -3
  81. package/dist/style.css +1 -1
  82. package/package.json +3 -3
@@ -1,46 +1,21 @@
1
- import { getDiagramElement as le } from "./chunk-55IACEB6.DCeL79zS.js";
2
- import { setupViewPortForSVG as he } from "./chunk-QN33PNHL.DNC6zMVf.js";
3
- import { __name as l, log as I, getRegisteredLayoutAlgorithm as de, render as ge, defaultConfig_default as B, getConfig2 as z, sanitizeText as V, getUserDefinedConfig as ue, isDark as pe, lighten as fe, darken as ye } from "./rehype-mermaid.CF3pcJvp.js";
4
- const E = [];
5
- for (let t = 0; t < 256; ++t)
6
- E.push((t + 256).toString(16).slice(1));
7
- function me(t, e = 0) {
8
- return (E[t[e + 0]] + E[t[e + 1]] + E[t[e + 2]] + E[t[e + 3]] + "-" + E[t[e + 4]] + E[t[e + 5]] + "-" + E[t[e + 6]] + E[t[e + 7]] + "-" + E[t[e + 8]] + E[t[e + 9]] + "-" + E[t[e + 10]] + E[t[e + 11]] + E[t[e + 12]] + E[t[e + 13]] + E[t[e + 14]] + E[t[e + 15]]).toLowerCase();
9
- }
10
- let W;
11
- const Ee = new Uint8Array(16);
12
- function _e() {
13
- if (!W) {
14
- if (typeof crypto > "u" || !crypto.getRandomValues)
15
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
16
- W = crypto.getRandomValues.bind(crypto);
17
- }
18
- return W(Ee);
19
- }
20
- const be = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ne = { randomUUID: be };
21
- function Se(t, e, n) {
22
- if (ne.randomUUID && !t)
23
- return ne.randomUUID();
24
- t = t || {};
25
- const c = t.random ?? t.rng?.() ?? _e();
26
- if (c.length < 16)
27
- throw new Error("Random bytes length must be >= 16");
28
- return c[6] = c[6] & 15 | 64, c[8] = c[8] & 63 | 128, me(c);
29
- }
30
- var X = (function() {
31
- var t = /* @__PURE__ */ l(function(x, s, i, o) {
32
- for (i = i || {}, o = x.length; o--; i[x[o]] = s) ;
33
- return i;
34
- }, "o"), e = [1, 4], n = [1, 13], c = [1, 12], f = [1, 15], h = [1, 16], p = [1, 20], m = [1, 19], u = [6, 7, 8], N = [1, 26], Y = [1, 24], q = [1, 25], b = [6, 7, 11], J = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], Q = [1, 34], R = [1, 6, 7, 11, 13, 15, 16, 19, 22], F = {
35
- trace: /* @__PURE__ */ l(function() {
1
+ import { getDiagramElement as oe } from "./chunk-55IACEB6.C2qmG191.js";
2
+ import { setupViewPortForSVG as ae } from "./chunk-QN33PNHL.DybGTku4.js";
3
+ import { __name as c, log as O, getRegisteredLayoutAlgorithm as ce, render as le, defaultConfig_default as B, getConfig2 as H, sanitizeText as U, getUserDefinedConfig as he, isDark as ge, lighten as de, darken as ue } from "./rehype-mermaid.BdX4FNx6.js";
4
+ import { v4 as pe } from "./App.DYc2zQb9.js";
5
+ var z = (function() {
6
+ var r = /* @__PURE__ */ c(function(L, s, t, o) {
7
+ for (t = t || {}, o = L.length; o--; t[L[o]] = s) ;
8
+ return t;
9
+ }, "o"), e = [1, 4], i = [1, 13], l = [1, 12], f = [1, 15], h = [1, 16], p = [1, 20], m = [1, 19], u = [6, 7, 8], N = [1, 26], W = [1, 24], X = [1, 25], _ = [6, 7, 11], Y = [1, 6, 13, 15, 16, 19, 22], q = [1, 33], J = [1, 34], I = [1, 6, 7, 11, 13, 15, 16, 19, 22], F = {
10
+ trace: /* @__PURE__ */ c(function() {
36
11
  }, "trace"),
37
12
  yy: {},
38
13
  symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, MINDMAP: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, ICON: 15, CLASS: 16, nodeWithId: 17, nodeWithoutId: 18, NODE_DSTART: 19, NODE_DESCR: 20, NODE_DEND: 21, NODE_ID: 22, $accept: 0, $end: 1 },
39
14
  terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
40
15
  productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
41
- performAction: /* @__PURE__ */ l(function(s, i, o, a, g, r, w) {
42
- var d = r.length - 1;
43
- switch (g) {
16
+ performAction: /* @__PURE__ */ c(function(s, t, o, a, d, n, R) {
17
+ var g = n.length - 1;
18
+ switch (d) {
44
19
  case 6:
45
20
  case 7:
46
21
  return a;
@@ -57,105 +32,105 @@ var X = (function() {
57
32
  a.getLogger().trace("Stop EOF2 ");
58
33
  break;
59
34
  case 15:
60
- a.getLogger().info("Node: ", r[d].id), a.addNode(r[d - 1].length, r[d].id, r[d].descr, r[d].type);
35
+ a.getLogger().info("Node: ", n[g].id), a.addNode(n[g - 1].length, n[g].id, n[g].descr, n[g].type);
61
36
  break;
62
37
  case 16:
63
- a.getLogger().trace("Icon: ", r[d]), a.decorateNode({ icon: r[d] });
38
+ a.getLogger().trace("Icon: ", n[g]), a.decorateNode({ icon: n[g] });
64
39
  break;
65
40
  case 17:
66
41
  case 21:
67
- a.decorateNode({ class: r[d] });
42
+ a.decorateNode({ class: n[g] });
68
43
  break;
69
44
  case 18:
70
45
  a.getLogger().trace("SPACELIST");
71
46
  break;
72
47
  case 19:
73
- a.getLogger().trace("Node: ", r[d].id), a.addNode(0, r[d].id, r[d].descr, r[d].type);
48
+ a.getLogger().trace("Node: ", n[g].id), a.addNode(0, n[g].id, n[g].descr, n[g].type);
74
49
  break;
75
50
  case 20:
76
- a.decorateNode({ icon: r[d] });
51
+ a.decorateNode({ icon: n[g] });
77
52
  break;
78
53
  case 25:
79
- a.getLogger().trace("node found ..", r[d - 2]), this.$ = { id: r[d - 1], descr: r[d - 1], type: a.getType(r[d - 2], r[d]) };
54
+ a.getLogger().trace("node found ..", n[g - 2]), this.$ = { id: n[g - 1], descr: n[g - 1], type: a.getType(n[g - 2], n[g]) };
80
55
  break;
81
56
  case 26:
82
- this.$ = { id: r[d], descr: r[d], type: a.nodeType.DEFAULT };
57
+ this.$ = { id: n[g], descr: n[g], type: a.nodeType.DEFAULT };
83
58
  break;
84
59
  case 27:
85
- a.getLogger().trace("node found ..", r[d - 3]), this.$ = { id: r[d - 3], descr: r[d - 1], type: a.getType(r[d - 2], r[d]) };
60
+ a.getLogger().trace("node found ..", n[g - 3]), this.$ = { id: n[g - 3], descr: n[g - 1], type: a.getType(n[g - 2], n[g]) };
86
61
  break;
87
62
  }
88
63
  }, "anonymous"),
89
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, t(u, [2, 3]), { 1: [2, 2] }, t(u, [2, 4]), t(u, [2, 5]), { 1: [2, 6], 6: n, 12: 21, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: n, 9: 22, 12: 11, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: N, 7: Y, 10: 23, 11: q }, t(b, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: m }), t(b, [2, 18]), t(b, [2, 19]), t(b, [2, 20]), t(b, [2, 21]), t(b, [2, 23]), t(b, [2, 24]), t(b, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: N, 7: Y, 10: 32, 11: q }, { 1: [2, 7], 6: n, 12: 21, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, t(J, [2, 14], { 7: K, 11: Q }), t(R, [2, 8]), t(R, [2, 9]), t(R, [2, 10]), t(b, [2, 15]), t(b, [2, 16]), t(b, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(J, [2, 13], { 7: K, 11: Q }), t(R, [2, 11]), t(R, [2, 12]), { 21: [1, 37] }, t(b, [2, 25]), t(b, [2, 27])],
64
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: i, 7: [1, 10], 9: 9, 12: 11, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, r(u, [2, 3]), { 1: [2, 2] }, r(u, [2, 4]), r(u, [2, 5]), { 1: [2, 6], 6: i, 12: 21, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: i, 9: 22, 12: 11, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: N, 7: W, 10: 23, 11: X }, r(_, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: m }), r(_, [2, 18]), r(_, [2, 19]), r(_, [2, 20]), r(_, [2, 21]), r(_, [2, 23]), r(_, [2, 24]), r(_, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: N, 7: W, 10: 32, 11: X }, { 1: [2, 7], 6: i, 12: 21, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, r(Y, [2, 14], { 7: q, 11: J }), r(I, [2, 8]), r(I, [2, 9]), r(I, [2, 10]), r(_, [2, 15]), r(_, [2, 16]), r(_, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, r(Y, [2, 13], { 7: q, 11: J }), r(I, [2, 11]), r(I, [2, 12]), { 21: [1, 37] }, r(_, [2, 25]), r(_, [2, 27])],
90
65
  defaultActions: { 2: [2, 1], 6: [2, 2] },
91
- parseError: /* @__PURE__ */ l(function(s, i) {
92
- if (i.recoverable)
66
+ parseError: /* @__PURE__ */ c(function(s, t) {
67
+ if (t.recoverable)
93
68
  this.trace(s);
94
69
  else {
95
70
  var o = new Error(s);
96
- throw o.hash = i, o;
71
+ throw o.hash = t, o;
97
72
  }
98
73
  }, "parseError"),
99
- parse: /* @__PURE__ */ l(function(s) {
100
- var i = this, o = [0], a = [], g = [null], r = [], w = this.table, d = "", U = 0, Z = 0, re = 2, ee = 1, oe = r.slice.call(arguments, 1), y = Object.create(this.lexer), v = { yy: {} };
101
- for (var j in this.yy)
102
- Object.prototype.hasOwnProperty.call(this.yy, j) && (v.yy[j] = this.yy[j]);
103
- y.setInput(s, v.yy), v.yy.lexer = y, v.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
74
+ parse: /* @__PURE__ */ c(function(s) {
75
+ var t = this, o = [0], a = [], d = [null], n = [], R = this.table, g = "", w = 0, K = 0, ie = 2, Q = 1, se = n.slice.call(arguments, 1), y = Object.create(this.lexer), x = { yy: {} };
76
+ for (var V in this.yy)
77
+ Object.prototype.hasOwnProperty.call(this.yy, V) && (x.yy[V] = this.yy[V]);
78
+ y.setInput(s, x.yy), x.yy.lexer = y, x.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
104
79
  var G = y.yylloc;
105
- r.push(G);
106
- var ae = y.options && y.options.ranges;
107
- typeof v.yy.parseError == "function" ? this.parseError = v.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
108
- function ce(S) {
109
- o.length = o.length - 2 * S, g.length = g.length - S, r.length = r.length - S;
80
+ n.push(G);
81
+ var ne = y.options && y.options.ranges;
82
+ typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
83
+ function re(b) {
84
+ o.length = o.length - 2 * b, d.length = d.length - b, n.length = n.length - b;
110
85
  }
111
- l(ce, "popStack");
112
- function te() {
113
- var S;
114
- return S = a.pop() || y.lex() || ee, typeof S != "number" && (S instanceof Array && (a = S, S = a.pop()), S = i.symbols_[S] || S), S;
86
+ c(re, "popStack");
87
+ function Z() {
88
+ var b;
89
+ return b = a.pop() || y.lex() || Q, typeof b != "number" && (b instanceof Array && (a = b, b = a.pop()), b = t.symbols_[b] || b), b;
115
90
  }
116
- l(te, "lex");
117
- for (var _, T, D, H, O = {}, P, k, ie, M; ; ) {
118
- if (T = o[o.length - 1], this.defaultActions[T] ? D = this.defaultActions[T] : ((_ === null || typeof _ > "u") && (_ = te()), D = w[T] && w[T][_]), typeof D > "u" || !D.length || !D[0]) {
91
+ c(Z, "lex");
92
+ for (var E, v, S, j, T = {}, P, D, ee, M; ; ) {
93
+ if (v = o[o.length - 1], this.defaultActions[v] ? S = this.defaultActions[v] : ((E === null || typeof E > "u") && (E = Z()), S = R[v] && R[v][E]), typeof S > "u" || !S.length || !S[0]) {
119
94
  var $ = "";
120
95
  M = [];
121
- for (P in w[T])
122
- this.terminals_[P] && P > re && M.push("'" + this.terminals_[P] + "'");
123
- y.showPosition ? $ = "Parse error on line " + (U + 1) + `:
96
+ for (P in R[v])
97
+ this.terminals_[P] && P > ie && M.push("'" + this.terminals_[P] + "'");
98
+ y.showPosition ? $ = "Parse error on line " + (w + 1) + `:
124
99
  ` + y.showPosition() + `
125
- Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "Parse error on line " + (U + 1) + ": Unexpected " + (_ == ee ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError($, {
100
+ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "Parse error on line " + (w + 1) + ": Unexpected " + (E == Q ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError($, {
126
101
  text: y.match,
127
- token: this.terminals_[_] || _,
102
+ token: this.terminals_[E] || E,
128
103
  line: y.yylineno,
129
104
  loc: G,
130
105
  expected: M
131
106
  });
132
107
  }
133
- if (D[0] instanceof Array && D.length > 1)
134
- throw new Error("Parse Error: multiple actions possible at state: " + T + ", token: " + _);
135
- switch (D[0]) {
108
+ if (S[0] instanceof Array && S.length > 1)
109
+ throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + E);
110
+ switch (S[0]) {
136
111
  case 1:
137
- o.push(_), g.push(y.yytext), r.push(y.yylloc), o.push(D[1]), _ = null, Z = y.yyleng, d = y.yytext, U = y.yylineno, G = y.yylloc;
112
+ o.push(E), d.push(y.yytext), n.push(y.yylloc), o.push(S[1]), E = null, K = y.yyleng, g = y.yytext, w = y.yylineno, G = y.yylloc;
138
113
  break;
139
114
  case 2:
140
- if (k = this.productions_[D[1]][1], O.$ = g[g.length - k], O._$ = {
141
- first_line: r[r.length - (k || 1)].first_line,
142
- last_line: r[r.length - 1].last_line,
143
- first_column: r[r.length - (k || 1)].first_column,
144
- last_column: r[r.length - 1].last_column
145
- }, ae && (O._$.range = [
146
- r[r.length - (k || 1)].range[0],
147
- r[r.length - 1].range[1]
148
- ]), H = this.performAction.apply(O, [
149
- d,
150
- Z,
151
- U,
152
- v.yy,
153
- D[1],
115
+ if (D = this.productions_[S[1]][1], T.$ = d[d.length - D], T._$ = {
116
+ first_line: n[n.length - (D || 1)].first_line,
117
+ last_line: n[n.length - 1].last_line,
118
+ first_column: n[n.length - (D || 1)].first_column,
119
+ last_column: n[n.length - 1].last_column
120
+ }, ne && (T._$.range = [
121
+ n[n.length - (D || 1)].range[0],
122
+ n[n.length - 1].range[1]
123
+ ]), j = this.performAction.apply(T, [
154
124
  g,
155
- r
156
- ].concat(oe)), typeof H < "u")
157
- return H;
158
- k && (o = o.slice(0, -1 * k * 2), g = g.slice(0, -1 * k), r = r.slice(0, -1 * k)), o.push(this.productions_[D[1]][0]), g.push(O.$), r.push(O._$), ie = w[o[o.length - 2]][o[o.length - 1]], o.push(ie);
125
+ K,
126
+ w,
127
+ x.yy,
128
+ S[1],
129
+ d,
130
+ n
131
+ ].concat(se)), typeof j < "u")
132
+ return j;
133
+ D && (o = o.slice(0, -1 * D * 2), d = d.slice(0, -1 * D), n = n.slice(0, -1 * D)), o.push(this.productions_[S[1]][0]), d.push(T.$), n.push(T._$), ee = R[o[o.length - 2]][o[o.length - 1]], o.push(ee);
159
134
  break;
160
135
  case 3:
161
136
  return !0;
@@ -163,18 +138,18 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
163
138
  }
164
139
  return !0;
165
140
  }, "parse")
166
- }, se = /* @__PURE__ */ (function() {
167
- var x = {
141
+ }, te = /* @__PURE__ */ (function() {
142
+ var L = {
168
143
  EOF: 1,
169
- parseError: /* @__PURE__ */ l(function(i, o) {
144
+ parseError: /* @__PURE__ */ c(function(t, o) {
170
145
  if (this.yy.parser)
171
- this.yy.parser.parseError(i, o);
146
+ this.yy.parser.parseError(t, o);
172
147
  else
173
- throw new Error(i);
148
+ throw new Error(t);
174
149
  }, "parseError"),
175
150
  // resets the lexer, sets new input
176
- setInput: /* @__PURE__ */ l(function(s, i) {
177
- return this.yy = i || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
151
+ setInput: /* @__PURE__ */ c(function(s, t) {
152
+ return this.yy = t || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
178
153
  first_line: 1,
179
154
  first_column: 0,
180
155
  last_line: 1,
@@ -182,32 +157,32 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
182
157
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
183
158
  }, "setInput"),
184
159
  // consumes and returns one char from the input
185
- input: /* @__PURE__ */ l(function() {
160
+ input: /* @__PURE__ */ c(function() {
186
161
  var s = this._input[0];
187
162
  this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
188
- var i = s.match(/(?:\r\n?|\n).*/g);
189
- return i ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
163
+ var t = s.match(/(?:\r\n?|\n).*/g);
164
+ return t ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
190
165
  }, "input"),
191
166
  // unshifts one char (or a string) into the input
192
- unput: /* @__PURE__ */ l(function(s) {
193
- var i = s.length, o = s.split(/(?:\r\n?|\n)/g);
194
- this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - i), this.offset -= i;
167
+ unput: /* @__PURE__ */ c(function(s) {
168
+ var t = s.length, o = s.split(/(?:\r\n?|\n)/g);
169
+ this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
195
170
  var a = this.match.split(/(?:\r\n?|\n)/g);
196
171
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
197
- var g = this.yylloc.range;
172
+ var d = this.yylloc.range;
198
173
  return this.yylloc = {
199
174
  first_line: this.yylloc.first_line,
200
175
  last_line: this.yylineno + 1,
201
176
  first_column: this.yylloc.first_column,
202
- last_column: o ? (o.length === a.length ? this.yylloc.first_column : 0) + a[a.length - o.length].length - o[0].length : this.yylloc.first_column - i
203
- }, this.options.ranges && (this.yylloc.range = [g[0], g[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
177
+ last_column: o ? (o.length === a.length ? this.yylloc.first_column : 0) + a[a.length - o.length].length - o[0].length : this.yylloc.first_column - t
178
+ }, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
204
179
  }, "unput"),
205
180
  // When called from action, caches matched text and appends it on next action
206
- more: /* @__PURE__ */ l(function() {
181
+ more: /* @__PURE__ */ c(function() {
207
182
  return this._more = !0, this;
208
183
  }, "more"),
209
184
  // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
210
- reject: /* @__PURE__ */ l(function() {
185
+ reject: /* @__PURE__ */ c(function() {
211
186
  if (this.options.backtrack_lexer)
212
187
  this._backtrack = !0;
213
188
  else
@@ -220,29 +195,29 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
220
195
  return this;
221
196
  }, "reject"),
222
197
  // retain first n characters of the match
223
- less: /* @__PURE__ */ l(function(s) {
198
+ less: /* @__PURE__ */ c(function(s) {
224
199
  this.unput(this.match.slice(s));
225
200
  }, "less"),
226
201
  // displays already matched input, i.e. for error messages
227
- pastInput: /* @__PURE__ */ l(function() {
202
+ pastInput: /* @__PURE__ */ c(function() {
228
203
  var s = this.matched.substr(0, this.matched.length - this.match.length);
229
204
  return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
230
205
  }, "pastInput"),
231
206
  // displays upcoming input, i.e. for error messages
232
- upcomingInput: /* @__PURE__ */ l(function() {
207
+ upcomingInput: /* @__PURE__ */ c(function() {
233
208
  var s = this.match;
234
209
  return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
235
210
  }, "upcomingInput"),
236
211
  // displays the character position where the lexing error occurred, i.e. for error messages
237
- showPosition: /* @__PURE__ */ l(function() {
238
- var s = this.pastInput(), i = new Array(s.length + 1).join("-");
212
+ showPosition: /* @__PURE__ */ c(function() {
213
+ var s = this.pastInput(), t = new Array(s.length + 1).join("-");
239
214
  return s + this.upcomingInput() + `
240
- ` + i + "^";
215
+ ` + t + "^";
241
216
  }, "showPosition"),
242
217
  // test the lexed token: return FALSE when not a match, otherwise return token
243
- test_match: /* @__PURE__ */ l(function(s, i) {
244
- var o, a, g;
245
- if (this.options.backtrack_lexer && (g = {
218
+ test_match: /* @__PURE__ */ c(function(s, t) {
219
+ var o, a, d;
220
+ if (this.options.backtrack_lexer && (d = {
246
221
  yylineno: this.yylineno,
247
222
  yylloc: {
248
223
  first_line: this.yylloc.first_line,
@@ -261,41 +236,41 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
261
236
  yy: this.yy,
262
237
  conditionStack: this.conditionStack.slice(0),
263
238
  done: this.done
264
- }, this.options.ranges && (g.yylloc.range = this.yylloc.range.slice(0))), a = s[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
239
+ }, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), a = s[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
265
240
  first_line: this.yylloc.last_line,
266
241
  last_line: this.yylineno + 1,
267
242
  first_column: this.yylloc.last_column,
268
243
  last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
269
- }, this.yytext += s[0], this.match += s[0], this.matches = s, 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(s[0].length), this.matched += s[0], o = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
244
+ }, this.yytext += s[0], this.match += s[0], this.matches = s, 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(s[0].length), this.matched += s[0], o = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
270
245
  return o;
271
246
  if (this._backtrack) {
272
- for (var r in g)
273
- this[r] = g[r];
247
+ for (var n in d)
248
+ this[n] = d[n];
274
249
  return !1;
275
250
  }
276
251
  return !1;
277
252
  }, "test_match"),
278
253
  // return next match in input
279
- next: /* @__PURE__ */ l(function() {
254
+ next: /* @__PURE__ */ c(function() {
280
255
  if (this.done)
281
256
  return this.EOF;
282
257
  this._input || (this.done = !0);
283
- var s, i, o, a;
258
+ var s, t, o, a;
284
259
  this._more || (this.yytext = "", this.match = "");
285
- for (var g = this._currentRules(), r = 0; r < g.length; r++)
286
- if (o = this._input.match(this.rules[g[r]]), o && (!i || o[0].length > i[0].length)) {
287
- if (i = o, a = r, this.options.backtrack_lexer) {
288
- if (s = this.test_match(o, g[r]), s !== !1)
260
+ for (var d = this._currentRules(), n = 0; n < d.length; n++)
261
+ if (o = this._input.match(this.rules[d[n]]), o && (!t || o[0].length > t[0].length)) {
262
+ if (t = o, a = n, this.options.backtrack_lexer) {
263
+ if (s = this.test_match(o, d[n]), s !== !1)
289
264
  return s;
290
265
  if (this._backtrack) {
291
- i = !1;
266
+ t = !1;
292
267
  continue;
293
268
  } else
294
269
  return !1;
295
270
  } else if (!this.options.flex)
296
271
  break;
297
272
  }
298
- return i ? (s = this.test_match(i, g[a]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
273
+ return t ? (s = this.test_match(t, d[a]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
299
274
  ` + this.showPosition(), {
300
275
  text: "",
301
276
  token: null,
@@ -303,40 +278,40 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
303
278
  });
304
279
  }, "next"),
305
280
  // return next match that has a token
306
- lex: /* @__PURE__ */ l(function() {
307
- var i = this.next();
308
- return i || this.lex();
281
+ lex: /* @__PURE__ */ c(function() {
282
+ var t = this.next();
283
+ return t || this.lex();
309
284
  }, "lex"),
310
285
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
311
- begin: /* @__PURE__ */ l(function(i) {
312
- this.conditionStack.push(i);
286
+ begin: /* @__PURE__ */ c(function(t) {
287
+ this.conditionStack.push(t);
313
288
  }, "begin"),
314
289
  // pop the previously active lexer condition state off the condition stack
315
- popState: /* @__PURE__ */ l(function() {
316
- var i = this.conditionStack.length - 1;
317
- return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
290
+ popState: /* @__PURE__ */ c(function() {
291
+ var t = this.conditionStack.length - 1;
292
+ return t > 0 ? this.conditionStack.pop() : this.conditionStack[0];
318
293
  }, "popState"),
319
294
  // produce the lexer rule set which is active for the currently active lexer condition state
320
- _currentRules: /* @__PURE__ */ l(function() {
295
+ _currentRules: /* @__PURE__ */ c(function() {
321
296
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
322
297
  }, "_currentRules"),
323
298
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
324
- topState: /* @__PURE__ */ l(function(i) {
325
- return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
299
+ topState: /* @__PURE__ */ c(function(t) {
300
+ return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
326
301
  }, "topState"),
327
302
  // alias for begin(condition)
328
- pushState: /* @__PURE__ */ l(function(i) {
329
- this.begin(i);
303
+ pushState: /* @__PURE__ */ c(function(t) {
304
+ this.begin(t);
330
305
  }, "pushState"),
331
306
  // return the number of states currently on the stack
332
- stateStackSize: /* @__PURE__ */ l(function() {
307
+ stateStackSize: /* @__PURE__ */ c(function() {
333
308
  return this.conditionStack.length;
334
309
  }, "stateStackSize"),
335
310
  options: { "case-insensitive": !0 },
336
- performAction: /* @__PURE__ */ l(function(i, o, a, g) {
311
+ performAction: /* @__PURE__ */ c(function(t, o, a, d) {
337
312
  switch (a) {
338
313
  case 0:
339
- return i.getLogger().trace("Found comment", o.yytext), 6;
314
+ return t.getLogger().trace("Found comment", o.yytext), 6;
340
315
  case 1:
341
316
  return 8;
342
317
  case 2:
@@ -348,25 +323,25 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
348
323
  this.popState();
349
324
  break;
350
325
  case 5:
351
- i.getLogger().trace("Begin icon"), this.begin("ICON");
326
+ t.getLogger().trace("Begin icon"), this.begin("ICON");
352
327
  break;
353
328
  case 6:
354
- return i.getLogger().trace("SPACELINE"), 6;
329
+ return t.getLogger().trace("SPACELINE"), 6;
355
330
  case 7:
356
331
  return 7;
357
332
  case 8:
358
333
  return 15;
359
334
  case 9:
360
- i.getLogger().trace("end icon"), this.popState();
335
+ t.getLogger().trace("end icon"), this.popState();
361
336
  break;
362
337
  case 10:
363
- return i.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
338
+ return t.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
364
339
  case 11:
365
- return i.getLogger().trace("Cloud"), this.begin("NODE"), 19;
340
+ return t.getLogger().trace("Cloud"), this.begin("NODE"), 19;
366
341
  case 12:
367
- return i.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
342
+ return t.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
368
343
  case 13:
369
- return i.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
344
+ return t.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
370
345
  case 14:
371
346
  return this.begin("NODE"), 19;
372
347
  case 15:
@@ -390,48 +365,48 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "
390
365
  this.popState();
391
366
  break;
392
367
  case 24:
393
- i.getLogger().trace("Starting NSTR"), this.begin("NSTR");
368
+ t.getLogger().trace("Starting NSTR"), this.begin("NSTR");
394
369
  break;
395
370
  case 25:
396
- return i.getLogger().trace("description:", o.yytext), "NODE_DESCR";
371
+ return t.getLogger().trace("description:", o.yytext), "NODE_DESCR";
397
372
  case 26:
398
373
  this.popState();
399
374
  break;
400
375
  case 27:
401
- return this.popState(), i.getLogger().trace("node end ))"), "NODE_DEND";
376
+ return this.popState(), t.getLogger().trace("node end ))"), "NODE_DEND";
402
377
  case 28:
403
- return this.popState(), i.getLogger().trace("node end )"), "NODE_DEND";
378
+ return this.popState(), t.getLogger().trace("node end )"), "NODE_DEND";
404
379
  case 29:
405
- return this.popState(), i.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
380
+ return this.popState(), t.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
406
381
  case 30:
407
- return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
382
+ return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
408
383
  case 31:
409
- return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
384
+ return this.popState(), t.getLogger().trace("node end (-"), "NODE_DEND";
410
385
  case 32:
411
- return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
386
+ return this.popState(), t.getLogger().trace("node end (-"), "NODE_DEND";
412
387
  case 33:
413
- return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
388
+ return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
414
389
  case 34:
415
- return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
390
+ return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
416
391
  case 35:
417
- return i.getLogger().trace("Long description:", o.yytext), 20;
392
+ return t.getLogger().trace("Long description:", o.yytext), 20;
418
393
  case 36:
419
- return i.getLogger().trace("Long description:", o.yytext), 20;
394
+ return t.getLogger().trace("Long description:", o.yytext), 20;
420
395
  }
421
396
  }, "anonymous"),
422
397
  rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
423
398
  conditions: { CLASS: { rules: [3, 4], inclusive: !1 }, ICON: { rules: [8, 9], inclusive: !1 }, NSTR2: { rules: [22, 23], inclusive: !1 }, NSTR: { rules: [25, 26], inclusive: !1 }, NODE: { rules: [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], inclusive: !0 } }
424
399
  };
425
- return x;
400
+ return L;
426
401
  })();
427
- F.lexer = se;
402
+ F.lexer = te;
428
403
  function A() {
429
404
  this.yy = {};
430
405
  }
431
- return l(A, "Parser"), A.prototype = F, F.Parser = A, new A();
406
+ return c(A, "Parser"), A.prototype = F, F.Parser = A, new A();
432
407
  })();
433
- X.parser = X;
434
- var De = X, L = {
408
+ z.parser = z;
409
+ var fe = z, k = {
435
410
  DEFAULT: 0,
436
411
  NO_BORDER: 0,
437
412
  ROUNDED_RECT: 1,
@@ -440,27 +415,27 @@ var De = X, L = {
440
415
  CLOUD: 4,
441
416
  BANG: 5,
442
417
  HEXAGON: 6
443
- }, C, Ne = (C = class {
418
+ }, C, ye = (C = class {
444
419
  constructor() {
445
- this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = L, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
420
+ this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = k, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
446
421
  }
447
422
  clear() {
448
423
  this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
449
424
  }
450
425
  getParent(e) {
451
- for (let n = this.nodes.length - 1; n >= 0; n--)
452
- if (this.nodes[n].level < e)
453
- return this.nodes[n];
426
+ for (let i = this.nodes.length - 1; i >= 0; i--)
427
+ if (this.nodes[i].level < e)
428
+ return this.nodes[i];
454
429
  return null;
455
430
  }
456
431
  getMindmap() {
457
432
  return this.nodes.length > 0 ? this.nodes[0] : null;
458
433
  }
459
- addNode(e, n, c, f) {
460
- I.info("addNode", e, n, c, f);
434
+ addNode(e, i, l, f) {
435
+ O.info("addNode", e, i, l, f);
461
436
  let h = !1;
462
437
  this.nodes.length === 0 ? (this.baseLevel = e, e = 0, h = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, h = !1);
463
- const p = z();
438
+ const p = H();
464
439
  let m = p.mindmap?.padding ?? B.mindmap.padding;
465
440
  switch (f) {
466
441
  case this.nodeType.ROUNDED_RECT:
@@ -471,9 +446,9 @@ var De = X, L = {
471
446
  }
472
447
  const u = {
473
448
  id: this.count++,
474
- nodeId: V(n, p),
449
+ nodeId: U(i, p),
475
450
  level: e,
476
- descr: V(c, p),
451
+ descr: U(l, p),
477
452
  type: f,
478
453
  children: [],
479
454
  width: p.mindmap?.maxNodeWidth ?? B.mindmap.maxNodeWidth,
@@ -489,12 +464,12 @@ var De = X, L = {
489
464
  `There can be only one root. No parent could be found for ("${u.descr}")`
490
465
  );
491
466
  }
492
- getType(e, n) {
493
- switch (I.debug("In get type", e, n), e) {
467
+ getType(e, i) {
468
+ switch (O.debug("In get type", e, i), e) {
494
469
  case "[":
495
470
  return this.nodeType.RECT;
496
471
  case "(":
497
- return n === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
472
+ return i === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
498
473
  case "((":
499
474
  return this.nodeType.CIRCLE;
500
475
  case ")":
@@ -507,8 +482,8 @@ var De = X, L = {
507
482
  return this.nodeType.DEFAULT;
508
483
  }
509
484
  }
510
- setElementForId(e, n) {
511
- this.elements[e] = n;
485
+ setElementForId(e, i) {
486
+ this.elements[e] = i;
512
487
  }
513
488
  getElementById(e) {
514
489
  return this.elements[e];
@@ -516,8 +491,8 @@ var De = X, L = {
516
491
  decorateNode(e) {
517
492
  if (!e)
518
493
  return;
519
- const n = z(), c = this.nodes[this.nodes.length - 1];
520
- e.icon && (c.icon = V(e.icon, n)), e.class && (c.class = V(e.class, n));
494
+ const i = H(), l = this.nodes[this.nodes.length - 1];
495
+ e.icon && (l.icon = U(e.icon, i)), e.class && (l.class = U(e.class, i));
521
496
  }
522
497
  type2Str(e) {
523
498
  switch (e) {
@@ -545,10 +520,10 @@ var De = X, L = {
545
520
  * @param node - The mindmap node to process
546
521
  * @param sectionNumber - The section number to assign (undefined for root)
547
522
  */
548
- assignSections(e, n) {
549
- if (e.level === 0 ? e.section = void 0 : e.section = n, e.children)
550
- for (const [c, f] of e.children.entries()) {
551
- const h = e.level === 0 ? c : n;
523
+ assignSections(e, i) {
524
+ if (e.level === 0 ? e.section = void 0 : e.section = i, e.children)
525
+ for (const [l, f] of e.children.entries()) {
526
+ const h = e.level === 0 ? l : i;
552
527
  this.assignSections(f, h);
553
528
  }
554
529
  }
@@ -557,26 +532,26 @@ var De = X, L = {
557
532
  * @param node - The mindmap node to process
558
533
  * @param processedNodes - Array to collect processed nodes
559
534
  */
560
- flattenNodes(e, n) {
561
- const c = ["mindmap-node"];
562
- e.isRoot === !0 ? c.push("section-root", "section--1") : e.section !== void 0 && c.push(`section-${e.section}`), e.class && c.push(e.class);
563
- const f = c.join(" "), h = /* @__PURE__ */ l((m) => {
535
+ flattenNodes(e, i) {
536
+ const l = ["mindmap-node"];
537
+ e.isRoot === !0 ? l.push("section-root", "section--1") : e.section !== void 0 && l.push(`section-${e.section}`), e.class && l.push(e.class);
538
+ const f = l.join(" "), h = /* @__PURE__ */ c((m) => {
564
539
  switch (m) {
565
- case L.CIRCLE:
540
+ case k.CIRCLE:
566
541
  return "mindmapCircle";
567
- case L.RECT:
542
+ case k.RECT:
568
543
  return "rect";
569
- case L.ROUNDED_RECT:
544
+ case k.ROUNDED_RECT:
570
545
  return "rounded";
571
- case L.CLOUD:
546
+ case k.CLOUD:
572
547
  return "cloud";
573
- case L.BANG:
548
+ case k.BANG:
574
549
  return "bang";
575
- case L.HEXAGON:
550
+ case k.HEXAGON:
576
551
  return "hexagon";
577
- case L.DEFAULT:
552
+ case k.DEFAULT:
578
553
  return "defaultMindmapNode";
579
- case L.NO_BORDER:
554
+ case k.NO_BORDER:
580
555
  default:
581
556
  return "rect";
582
557
  }
@@ -601,26 +576,26 @@ var De = X, L = {
601
576
  type: e.type,
602
577
  section: e.section
603
578
  };
604
- if (n.push(p), e.children)
579
+ if (i.push(p), e.children)
605
580
  for (const m of e.children)
606
- this.flattenNodes(m, n);
581
+ this.flattenNodes(m, i);
607
582
  }
608
583
  /**
609
584
  * Generate edges from parent-child relationships in mindmap tree
610
585
  * @param node - The mindmap node to process
611
586
  * @param edges - Array to collect edges
612
587
  */
613
- generateEdges(e, n) {
588
+ generateEdges(e, i) {
614
589
  if (e.children)
615
- for (const c of e.children) {
590
+ for (const l of e.children) {
616
591
  let f = "edge";
617
- c.section !== void 0 && (f += ` section-edge-${c.section}`);
592
+ l.section !== void 0 && (f += ` section-edge-${l.section}`);
618
593
  const h = e.level + 1;
619
594
  f += ` edge-depth-${h}`;
620
595
  const p = {
621
- id: `edge_${e.id}_${c.id}`,
596
+ id: `edge_${e.id}_${l.id}`,
622
597
  start: e.id.toString(),
623
- end: c.id.toString(),
598
+ end: l.id.toString(),
624
599
  type: "normal",
625
600
  curve: "basis",
626
601
  thickness: "normal",
@@ -628,9 +603,9 @@ var De = X, L = {
628
603
  classes: f,
629
604
  // Store mindmap-specific data
630
605
  depth: e.level,
631
- section: c.section
606
+ section: l.section
632
607
  };
633
- n.push(p), this.generateEdges(c, n);
608
+ i.push(p), this.generateEdges(l, i);
634
609
  }
635
610
  }
636
611
  /**
@@ -639,16 +614,16 @@ var De = X, L = {
639
614
  * @returns Structured data containing nodes, edges, and config
640
615
  */
641
616
  getData() {
642
- const e = this.getMindmap(), n = z(), f = ue().layout !== void 0, h = n;
617
+ const e = this.getMindmap(), i = H(), f = he().layout !== void 0, h = i;
643
618
  if (f || (h.layout = "cose-bilkent"), !e)
644
619
  return {
645
620
  nodes: [],
646
621
  edges: [],
647
622
  config: h
648
623
  };
649
- I.debug("getData: mindmapRoot", e, n), this.assignSections(e);
624
+ O.debug("getData: mindmapRoot", e, i), this.assignSections(e);
650
625
  const p = [], m = [];
651
- this.flattenNodes(e, p), this.generateEdges(e, m), I.debug(
626
+ this.flattenNodes(e, p), this.generateEdges(e, m), O.debug(
652
627
  `getData: processed ${p.length} nodes and ${m.length} edges`
653
628
  );
654
629
  const u = /* @__PURE__ */ new Map();
@@ -678,54 +653,54 @@ var De = X, L = {
678
653
  shapes: Object.fromEntries(u),
679
654
  // Additional properties that layout algorithms might expect
680
655
  type: "mindmap",
681
- diagramId: "mindmap-" + Se()
656
+ diagramId: "mindmap-" + pe()
682
657
  };
683
658
  }
684
659
  // Expose logger to grammar
685
660
  getLogger() {
686
- return I;
661
+ return O;
687
662
  }
688
- }, l(C, "MindmapDB"), C), ke = /* @__PURE__ */ l(async (t, e, n, c) => {
689
- I.debug(`Rendering mindmap diagram
690
- ` + t);
691
- const f = c.db, h = f.getData(), p = le(e, h.config.securityLevel);
692
- h.type = c.type, h.layoutAlgorithm = de(h.config.layout, {
663
+ }, c(C, "MindmapDB"), C), me = /* @__PURE__ */ c(async (r, e, i, l) => {
664
+ O.debug(`Rendering mindmap diagram
665
+ ` + r);
666
+ const f = l.db, h = f.getData(), p = oe(e, h.config.securityLevel);
667
+ h.type = l.type, h.layoutAlgorithm = ce(h.config.layout, {
693
668
  fallback: "cose-bilkent"
694
669
  }), h.diagramId = e, f.getMindmap() && (h.nodes.forEach((u) => {
695
670
  u.shape === "rounded" ? (u.radius = 15, u.taper = 15, u.stroke = "none", u.width = 0, u.padding = 15) : u.shape === "circle" ? u.padding = 10 : u.shape === "rect" && (u.width = 0, u.padding = 10);
696
- }), await ge(h, p), he(
671
+ }), await le(h, p), ae(
697
672
  p,
698
673
  h.config.mindmap?.padding ?? B.mindmap.padding,
699
674
  "mindmapDiagram",
700
675
  h.config.mindmap?.useMaxWidth ?? B.mindmap.useMaxWidth
701
676
  ));
702
- }, "draw"), Le = {
703
- draw: ke
704
- }, xe = /* @__PURE__ */ l((t) => {
677
+ }, "draw"), Ee = {
678
+ draw: me
679
+ }, _e = /* @__PURE__ */ c((r) => {
705
680
  let e = "";
706
- for (let n = 0; n < t.THEME_COLOR_LIMIT; n++)
707
- t["lineColor" + n] = t["lineColor" + n] || t["cScaleInv" + n], pe(t["lineColor" + n]) ? t["lineColor" + n] = fe(t["lineColor" + n], 20) : t["lineColor" + n] = ye(t["lineColor" + n], 20);
708
- for (let n = 0; n < t.THEME_COLOR_LIMIT; n++) {
709
- const c = "" + (17 - 3 * n);
681
+ for (let i = 0; i < r.THEME_COLOR_LIMIT; i++)
682
+ r["lineColor" + i] = r["lineColor" + i] || r["cScaleInv" + i], ge(r["lineColor" + i]) ? r["lineColor" + i] = de(r["lineColor" + i], 20) : r["lineColor" + i] = ue(r["lineColor" + i], 20);
683
+ for (let i = 0; i < r.THEME_COLOR_LIMIT; i++) {
684
+ const l = "" + (17 - 3 * i);
710
685
  e += `
711
- .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
712
- fill: ${t["cScale" + n]};
686
+ .section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
687
+ fill: ${r["cScale" + i]};
713
688
  }
714
- .section-${n - 1} text {
715
- fill: ${t["cScaleLabel" + n]};
689
+ .section-${i - 1} text {
690
+ fill: ${r["cScaleLabel" + i]};
716
691
  }
717
- .node-icon-${n - 1} {
692
+ .node-icon-${i - 1} {
718
693
  font-size: 40px;
719
- color: ${t["cScaleLabel" + n]};
694
+ color: ${r["cScaleLabel" + i]};
720
695
  }
721
- .section-edge-${n - 1}{
722
- stroke: ${t["cScale" + n]};
696
+ .section-edge-${i - 1}{
697
+ stroke: ${r["cScale" + i]};
723
698
  }
724
- .edge-depth-${n - 1}{
725
- stroke-width: ${c};
699
+ .edge-depth-${i - 1}{
700
+ stroke-width: ${l};
726
701
  }
727
- .section-${n - 1} line {
728
- stroke: ${t["cScaleInv" + n]} ;
702
+ .section-${i - 1} line {
703
+ stroke: ${r["cScaleInv" + i]} ;
729
704
  stroke-width: 3;
730
705
  }
731
706
 
@@ -738,22 +713,22 @@ var De = X, L = {
738
713
  `;
739
714
  }
740
715
  return e;
741
- }, "genSections"), ve = /* @__PURE__ */ l((t) => `
716
+ }, "genSections"), be = /* @__PURE__ */ c((r) => `
742
717
  .edge {
743
718
  stroke-width: 3;
744
719
  }
745
- ${xe(t)}
720
+ ${_e(r)}
746
721
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
747
- fill: ${t.git0};
722
+ fill: ${r.git0};
748
723
  }
749
724
  .section-root text {
750
- fill: ${t.gitBranchLabel0};
725
+ fill: ${r.gitBranchLabel0};
751
726
  }
752
727
  .section-root span {
753
- color: ${t.gitBranchLabel0};
728
+ color: ${r.gitBranchLabel0};
754
729
  }
755
730
  .section-2 span {
756
- color: ${t.gitBranchLabel0};
731
+ color: ${r.gitBranchLabel0};
757
732
  }
758
733
  .icon-container {
759
734
  height:100%;
@@ -771,14 +746,14 @@ var De = X, L = {
771
746
  dominant-baseline: middle;
772
747
  text-align: center;
773
748
  }
774
- `, "getStyles"), Te = ve, Re = {
749
+ `, "getStyles"), Se = be, xe = {
775
750
  get db() {
776
- return new Ne();
751
+ return new ye();
777
752
  },
778
- renderer: Le,
779
- parser: De,
780
- styles: Te
753
+ renderer: Ee,
754
+ parser: fe,
755
+ styles: Se
781
756
  };
782
757
  export {
783
- Re as diagram
758
+ xe as diagram
784
759
  };