@omg-dev/app 0.5.1 → 0.6.2

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 (114) hide show
  1. package/dist-lib/{ChangelogPage-BzsTWlhq.js → ChangelogPage-CirRyMnC.js} +54 -1
  2. package/dist-lib/{File-B-qYa2zY.js → File-DQRr5F_e.js} +1761 -1826
  3. package/dist-lib/FileEditor-BrI3dfcp.js +6895 -0
  4. package/dist-lib/FileTreePane-J8P-OiHb.js +8413 -0
  5. package/dist-lib/{FileViewer-Clmf04v1.js → FileViewer-DRrfus7c.js} +1 -1
  6. package/dist-lib/{SessionFilesPanel-K4lGGdJ4.js → SessionFilesPanel-W4QKB0HL.js} +64 -64
  7. package/dist-lib/{TermView-CWr-zJmM.js → TermView-CoD-VkHs.js} +495 -520
  8. package/dist-lib/{abnfDiagram-VRR7QNED-Chn1Z_p9.js → abnfDiagram-VRR7QNED-CiXfOnAu.js} +4 -4
  9. package/dist-lib/{arc-B652oHQ-.js → arc-QOMNKQA5.js} +1 -1
  10. package/dist-lib/{architectureDiagram-ZJ3FMSHR-CMatArpz.js → architectureDiagram-ZJ3FMSHR-BcFBTmfD.js} +2059 -2064
  11. package/dist-lib/{blockDiagram-677ZJIJ3-CEOPfI9A.js → blockDiagram-677ZJIJ3-Qj8-RIV3.js} +920 -925
  12. package/dist-lib/{c4Diagram-LMCZKHZV-DcUHrESL.js → c4Diagram-LMCZKHZV-BpinEmj4.js} +598 -593
  13. package/dist-lib/{channel-B5lJFbed.js → channel-D6YHMmF7.js} +1 -1
  14. package/dist-lib/{chat-engine-P0yDhFOX.js → chat-engine-CRzDKNTH.js} +1173 -1218
  15. package/dist-lib/chunk-2Q5K7J3B-CFSi414U.js +18 -0
  16. package/dist-lib/{chunk-32BRIVSS-IYmNSvH8.js → chunk-32BRIVSS-DvywQiCk.js} +1 -1
  17. package/dist-lib/{chunk-5VM5RSS4-DO2g-xIj.js → chunk-5VM5RSS4-xd6XuI9Q.js} +1 -1
  18. package/dist-lib/{chunk-BO2N2NFS-kYiI5SD9.js → chunk-BO2N2NFS-BbJdm-59.js} +4892 -4903
  19. package/dist-lib/{chunk-EX3LRPZG-N96wfks9.js → chunk-EX3LRPZG-BLDKx-Yg.js} +507 -514
  20. package/dist-lib/chunk-JWPE2WC7-DnwG7Xzp.js +8 -0
  21. package/dist-lib/chunk-MOJQB5TN-BrENeFT5.js +670 -0
  22. package/dist-lib/chunk-RYQCIY6F-I-J4fVFd.js +313 -0
  23. package/dist-lib/{chunk-V7JOEXUC-DQwf2vkP.js → chunk-V7JOEXUC-Bkakcs1-.js} +458 -453
  24. package/dist-lib/chunk-VR4S4FIN-BDq3jZ0m.js +19 -0
  25. package/dist-lib/{chunk-XXDRQBXY-Ccv4aRcn.js → chunk-XXDRQBXY-DRKeYnrF.js} +1 -1
  26. package/dist-lib/{classDiagram-v2-EOCWNBFH-DOn-rhuL.js → classDiagram-OUVF2IWQ-DISUfvR5.js} +2 -2
  27. package/dist-lib/{classDiagram-OUVF2IWQ-DOn-rhuL.js → classDiagram-v2-EOCWNBFH-DISUfvR5.js} +2 -2
  28. package/dist-lib/{coding-agents-page-DCafIpWL.js → coding-agents-page-OER8HHRF.js} +152 -131
  29. package/dist-lib/computer-page-D9cSNLa9.js +8990 -0
  30. package/dist-lib/{cose-bilkent-JH36ORCC-C-tACTrT.js → cose-bilkent-JH36ORCC-DCfmoChv.js} +281 -281
  31. package/dist-lib/{create-BrnHvSDE.js → create-CBk9uwJH.js} +2 -2
  32. package/dist-lib/cynefin-VYW2F7L2-XAY3mHv8.js +24430 -0
  33. package/dist-lib/{cynefinDiagram-TSTJHNR4-Be7CamD2.js → cynefinDiagram-TSTJHNR4-CrgvPEr1.js} +3 -3
  34. package/dist-lib/{cytoscape.esm-B0ledd6M.js → cytoscape.esm-BB6Ga9He.js} +3 -3
  35. package/dist-lib/dagre-VKFMJZFB-CE5k06mJ.js +343 -0
  36. package/dist-lib/{diagram-FQU43EPY-Jg12ow4Z.js → diagram-FQU43EPY-gOcCiJEN.js} +136 -139
  37. package/dist-lib/diagram-G47NLZAW-BVJLfRsd.js +531 -0
  38. package/dist-lib/diagram-NH7WQ7WH-u6QnHasL.js +145 -0
  39. package/dist-lib/diagram-OA4YK3LP-D4Kcl3uM.js +350 -0
  40. package/dist-lib/{diagram-WEI45ONY-D1kKPOc_.js → diagram-WEI45ONY-6a__oIb0.js} +38 -42
  41. package/dist-lib/{ebnfDiagram-CCIWWBDH-BhQWrGMc.js → ebnfDiagram-CCIWWBDH-PXSrB6lG.js} +4 -4
  42. package/dist-lib/{embedded-CLYU5z7h.js → embedded-DqTPdMCh.js} +10561 -10581
  43. package/dist-lib/{engine-compile-BeDRSL6Y.js → engine-compile-D_stzVMa.js} +2939 -2991
  44. package/dist-lib/{erDiagram-Q63AITRT-D2q6Nmwa.js → erDiagram-Q63AITRT-BbsttUCs.js} +286 -284
  45. package/dist-lib/flowDiagram-23GEKE2U-CX5x3zVA.js +1641 -0
  46. package/dist-lib/{ganttDiagram-NO4QXBWP-C_Lj-cJB.js → ganttDiagram-NO4QXBWP-Bq0aSPs8.js} +2 -2
  47. package/dist-lib/gitGraphDiagram-IHSO6WYX-BjAezjIv.js +815 -0
  48. package/dist-lib/{graph-B68L3K2T.js → graph-DAHC4kPm.js} +2 -2
  49. package/dist-lib/{highlighted-body-OFNGDK62-C2DGVKV8.js → highlighted-body-OFNGDK62-DWhG_ijx.js} +1 -1
  50. package/dist-lib/index-B0neMIbR.js +16520 -0
  51. package/dist-lib/index-BBC0E3Qg.js +4994 -0
  52. package/dist-lib/{index-Dtkd4mEk.js → index-CE7H8LiZ.js} +2 -2
  53. package/dist-lib/{index-DWkBvb-9.js → index-FgVvPpIY.js} +2 -2
  54. package/dist-lib/index.js +1 -1
  55. package/dist-lib/{infoDiagram-FWYZ7A6U-BbUkT0KS.js → infoDiagram-FWYZ7A6U-Bo_FNR91.js} +2 -2
  56. package/dist-lib/ishikawaDiagram-FXEZZL3T-C5bGD-Eb.js +624 -0
  57. package/dist-lib/{journeyDiagram-5HDEW3XC-CgykmVSC.js → journeyDiagram-5HDEW3XC-C8qM7SxF.js} +4 -4
  58. package/dist-lib/kanban-definition-HUTT4EX6-C-EK5Puz.js +724 -0
  59. package/dist-lib/{katex-jHfnQmlp.js → katex-DoRnZ_sp.js} +1 -1
  60. package/dist-lib/keyboard-Yfa1ETse.js +21 -0
  61. package/dist-lib/{layout-BGrtsiRL.js → layout-DBbo_M5I.js} +2 -2
  62. package/dist-lib/{linear-B5ZSwawJ.js → linear-zGzX0-I0.js} +1 -1
  63. package/dist-lib/{map-hbfFlSln.js → map-DRdzG8Ho.js} +1 -1
  64. package/dist-lib/mermaid-GHXKKRXX-hOE9C3qW.js +4 -0
  65. package/dist-lib/{mindmap-definition-LN4V7U3C-CfhfeEht.js → mindmap-definition-LN4V7U3C-DlVCRx6k.js} +310 -311
  66. package/dist-lib/{pegDiagram-2B236MQR-CYDAJHPF.js → pegDiagram-2B236MQR-DrKNikeG.js} +4 -4
  67. package/dist-lib/{pieDiagram-ENE6RG2P-udKxQm4p.js → pieDiagram-ENE6RG2P-Fm_jc0HL.js} +83 -84
  68. package/dist-lib/quadrantDiagram-ABIIQ3AL-zDRY0VtB.js +1029 -0
  69. package/dist-lib/{railroadDiagram-RFXS5EU6-q0Svkmuy.js → railroadDiagram-RFXS5EU6-BQuFX39y.js} +4 -4
  70. package/dist-lib/{requirementDiagram-TGXJPOKE-tNxRI1gc.js → requirementDiagram-TGXJPOKE-BWwBQZXn.js} +269 -268
  71. package/dist-lib/{resume-session-sheet-CHwpwguS.js → resume-session-sheet-bjDJmwq6.js} +2 -3
  72. package/dist-lib/sankeyDiagram-HTMAVEWB-BjRyuB6L.js +859 -0
  73. package/dist-lib/{sequenceDiagram-DBY2YBRQ-Dvl2_CXL.js → sequenceDiagram-DBY2YBRQ-69pcw_2M.js} +892 -899
  74. package/dist-lib/{session-token-usage-BUz6b-IB.js → session-token-usage-D2zDt9P7.js} +82 -83
  75. package/dist-lib/{shadow-text-size-CBCTdbYU.js → shadow-text-size-smWA4wIU.js} +1 -2
  76. package/dist-lib/{shipped-page-CXy85bsL.js → shipped-page-Cr7dCCc2.js} +232 -235
  77. package/dist-lib/sizeCapture-X5ZJPWSS-DqkV8s1N.js +46 -0
  78. package/dist-lib/{stateDiagram-2N3HPSRC-CnWB7HvU.js → stateDiagram-2N3HPSRC-0vE3REl_.js} +4 -4
  79. package/dist-lib/{stateDiagram-v2-6OUMAXLB-DnZ0UI2p.js → stateDiagram-v2-6OUMAXLB-u_56Obsh.js} +2 -2
  80. package/dist-lib/{streamdown-response-CUB9sK6V.js → streamdown-response-Qq9_RgFv.js} +290 -297
  81. package/dist-lib/styles.css +1 -1
  82. package/dist-lib/swimlanes-5IMT3BWC-H0raIBd1.js +5332 -0
  83. package/dist-lib/{swimlanesDiagram-G3AALYLV-CKyOeqF_.js → swimlanesDiagram-G3AALYLV-By52HaDu.js} +2 -2
  84. package/dist-lib/timeline-definition-FHXFAJF6-h1LLYUQk.js +1055 -0
  85. package/dist-lib/vennDiagram-L72KCM5P-B4wDw_Kh.js +1578 -0
  86. package/dist-lib/wardleyDiagram-EHGQE667-DLMBGiwD.js +678 -0
  87. package/dist-lib/{xychartDiagram-FW5EYKEG-m3s7caPv.js → xychartDiagram-FW5EYKEG-BHvf5Noj.js} +526 -496
  88. package/package.json +4 -3
  89. package/dist-lib/FileEditor-BIz0qCyW.js +0 -6892
  90. package/dist-lib/FileTreePane-BG2k7gTc.js +0 -8422
  91. package/dist-lib/chunk-2Q5K7J3B-Ex8Ly28R.js +0 -15
  92. package/dist-lib/chunk-JWPE2WC7-DFPBClX_.js +0 -9
  93. package/dist-lib/chunk-MOJQB5TN-dusfI9ob.js +0 -664
  94. package/dist-lib/chunk-RYQCIY6F-fkeERzIG.js +0 -315
  95. package/dist-lib/chunk-VR4S4FIN-hOZG7eF3.js +0 -20
  96. package/dist-lib/cynefin-VYW2F7L2-DQXPWaog.js +0 -23853
  97. package/dist-lib/dagre-VKFMJZFB-BhCjK7XQ.js +0 -346
  98. package/dist-lib/diagram-G47NLZAW-C3_z2t6T.js +0 -530
  99. package/dist-lib/diagram-NH7WQ7WH-DUdK08IT.js +0 -143
  100. package/dist-lib/diagram-OA4YK3LP-TUUyRYY3.js +0 -353
  101. package/dist-lib/flowDiagram-23GEKE2U-DU3S3biU.js +0 -1645
  102. package/dist-lib/gitGraphDiagram-IHSO6WYX-CvGu0XAR.js +0 -828
  103. package/dist-lib/index-DcwavxA1.js +0 -5062
  104. package/dist-lib/index-JkCQXUYs.js +0 -16566
  105. package/dist-lib/ishikawaDiagram-FXEZZL3T-D_Y6Tuyb.js +0 -622
  106. package/dist-lib/kanban-definition-HUTT4EX6-CPFLTskY.js +0 -726
  107. package/dist-lib/mermaid-GHXKKRXX-Ox_2d3uB.js +0 -4
  108. package/dist-lib/quadrantDiagram-ABIIQ3AL-BmDmLczk.js +0 -1025
  109. package/dist-lib/sankeyDiagram-HTMAVEWB-B9Bl7f2P.js +0 -847
  110. package/dist-lib/sizeCapture-X5ZJPWSS-B1EeO3N9.js +0 -47
  111. package/dist-lib/swimlanes-5IMT3BWC-CvqDJcS9.js +0 -5353
  112. package/dist-lib/timeline-definition-FHXFAJF6-b15X0Oru.js +0 -1066
  113. package/dist-lib/vennDiagram-L72KCM5P-C4lh5m77.js +0 -1585
  114. package/dist-lib/wardleyDiagram-EHGQE667-Cev6fT_D.js +0 -684
@@ -1,41 +1,40 @@
1
- import { g as oe } from "./chunk-XXDRQBXY-Ccv4aRcn.js";
2
- import { s as ce } from "./chunk-VR4S4FIN-hOZG7eF3.js";
3
- import { _ as h, l as R, v as le, x as he, z as de, D as z, c as U, i as H, b6 as ge, aa as ue, ab as pe, ac as fe } from "./index-JkCQXUYs.js";
4
- const _ = [];
5
- for (let t = 0; t < 256; ++t)
6
- _.push((t + 256).toString(16).slice(1));
7
- function me(t, e = 0) {
8
- return (_[t[e + 0]] + _[t[e + 1]] + _[t[e + 2]] + _[t[e + 3]] + "-" + _[t[e + 4]] + _[t[e + 5]] + "-" + _[t[e + 6]] + _[t[e + 7]] + "-" + _[t[e + 8]] + _[t[e + 9]] + "-" + _[t[e + 10]] + _[t[e + 11]] + _[t[e + 12]] + _[t[e + 13]] + _[t[e + 14]] + _[t[e + 15]]).toLowerCase();
1
+ import { g as oe } from "./chunk-XXDRQBXY-DRKeYnrF.js";
2
+ import { s as ae } from "./chunk-VR4S4FIN-BDq3jZ0m.js";
3
+ import { _ as l, l as C, v as ce, x as le, z as he, D as G, c as B, i as F, b6 as de, aa as ge, ab as ue, ac as pe } from "./index-B0neMIbR.js";
4
+ const E = [];
5
+ for (let e = 0; e < 256; ++e)
6
+ E.push((e + 256).toString(16).slice(1));
7
+ function fe(e, n = 0) {
8
+ return (E[e[n + 0]] + E[e[n + 1]] + E[e[n + 2]] + E[e[n + 3]] + "-" + E[e[n + 4]] + E[e[n + 5]] + "-" + E[e[n + 6]] + E[e[n + 7]] + "-" + E[e[n + 8]] + E[e[n + 9]] + "-" + E[e[n + 10]] + E[e[n + 11]] + E[e[n + 12]] + E[e[n + 13]] + E[e[n + 14]] + E[e[n + 15]]).toLowerCase();
9
9
  }
10
- const ye = new Uint8Array(16);
11
- function Ee() {
12
- return crypto.getRandomValues(ye);
10
+ const me = new Uint8Array(16);
11
+ function ye() {
12
+ return crypto.getRandomValues(me);
13
13
  }
14
- function _e(t, e, o) {
15
- return crypto.randomUUID ? crypto.randomUUID() : be(t);
14
+ function Ee(e, n, g) {
15
+ return crypto.randomUUID ? crypto.randomUUID() : _e(e);
16
16
  }
17
- function be(t, e, o) {
18
- var n;
19
- t = t || {};
20
- const l = t.random ?? ((n = t.rng) == null ? void 0 : n.call(t)) ?? Ee();
21
- if (l.length < 16)
17
+ function _e(e, n, g) {
18
+ e = e || {};
19
+ const a = e.random ?? e.rng?.() ?? ye();
20
+ if (a.length < 16)
22
21
  throw new Error("Random bytes length must be >= 16");
23
- return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, me(l);
22
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, fe(a);
24
23
  }
25
- var K = (function() {
26
- var t = /* @__PURE__ */ h(function(O, s, i, a) {
27
- for (i = i || {}, a = O.length; a--; i[O[a]] = s) ;
24
+ var Y = (function() {
25
+ var e = /* @__PURE__ */ l(function(D, s, i, o) {
26
+ for (i = i || {}, o = D.length; o--; i[D[o]] = s) ;
28
27
  return i;
29
- }, "o"), e = [1, 4], o = [1, 13], l = [1, 12], n = [1, 15], d = [1, 16], p = [1, 20], y = [1, 19], E = [6, 7, 8], k = [1, 26], L = [1, 24], D = [1, 25], b = [6, 7, 11], $ = [1, 6, 13, 15, 16, 19, 22], f = [1, 33], B = [1, 34], P = [1, 6, 7, 11, 13, 15, 16, 19, 22], W = {
30
- trace: /* @__PURE__ */ h(function() {
28
+ }, "o"), n = [1, 4], g = [1, 13], a = [1, 12], t = [1, 15], h = [1, 16], f = [1, 20], m = [1, 19], _ = [6, 7, 8], T = [1, 26], I = [1, 24], w = [1, 25], d = [6, 7, 11], R = [1, 6, 13, 15, 16, 19, 22], q = [1, 33], J = [1, 34], A = [1, 6, 7, 11, 13, 15, 16, 19, 22], j = {
29
+ trace: /* @__PURE__ */ l(function() {
31
30
  }, "trace"),
32
31
  yy: {},
33
32
  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 },
34
33
  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" },
35
34
  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]],
36
- performAction: /* @__PURE__ */ h(function(s, i, a, c, u, r, M) {
37
- var g = r.length - 1;
38
- switch (u) {
35
+ performAction: /* @__PURE__ */ l(function(s, i, o, c, p, r, $) {
36
+ var u = r.length - 1;
37
+ switch (p) {
39
38
  case 6:
40
39
  case 7:
41
40
  return c;
@@ -52,105 +51,105 @@ var K = (function() {
52
51
  c.getLogger().trace("Stop EOF2 ");
53
52
  break;
54
53
  case 15:
55
- c.getLogger().info("Node: ", r[g].id), c.addNode(r[g - 1].length, r[g].id, r[g].descr, r[g].type);
54
+ c.getLogger().info("Node: ", r[u].id), c.addNode(r[u - 1].length, r[u].id, r[u].descr, r[u].type);
56
55
  break;
57
56
  case 16:
58
- c.getLogger().trace("Icon: ", r[g]), c.decorateNode({ icon: r[g] });
57
+ c.getLogger().trace("Icon: ", r[u]), c.decorateNode({ icon: r[u] });
59
58
  break;
60
59
  case 17:
61
60
  case 21:
62
- c.decorateNode({ class: r[g] });
61
+ c.decorateNode({ class: r[u] });
63
62
  break;
64
63
  case 18:
65
64
  c.getLogger().trace("SPACELIST");
66
65
  break;
67
66
  case 19:
68
- c.getLogger().trace("Node: ", r[g].id), c.addNode(0, r[g].id, r[g].descr, r[g].type);
67
+ c.getLogger().trace("Node: ", r[u].id), c.addNode(0, r[u].id, r[u].descr, r[u].type);
69
68
  break;
70
69
  case 20:
71
- c.decorateNode({ icon: r[g] });
70
+ c.decorateNode({ icon: r[u] });
72
71
  break;
73
72
  case 25:
74
- c.getLogger().trace("node found ..", r[g - 2]), this.$ = { id: r[g - 1], descr: r[g - 1], type: c.getType(r[g - 2], r[g]) };
73
+ c.getLogger().trace("node found ..", r[u - 2]), this.$ = { id: r[u - 1], descr: r[u - 1], type: c.getType(r[u - 2], r[u]) };
75
74
  break;
76
75
  case 26:
77
- this.$ = { id: r[g], descr: r[g], type: c.nodeType.DEFAULT };
76
+ this.$ = { id: r[u], descr: r[u], type: c.nodeType.DEFAULT };
78
77
  break;
79
78
  case 27:
80
- c.getLogger().trace("node found ..", r[g - 3]), this.$ = { id: r[g - 3], descr: r[g - 1], type: c.getType(r[g - 2], r[g]) };
79
+ c.getLogger().trace("node found ..", r[u - 3]), this.$ = { id: r[u - 3], descr: r[u - 1], type: c.getType(r[u - 2], r[u]) };
81
80
  break;
82
81
  }
83
82
  }, "anonymous"),
84
- 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: o, 7: [1, 10], 9: 9, 12: 11, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: p, 22: y }, t(E, [2, 3]), { 1: [2, 2] }, t(E, [2, 4]), t(E, [2, 5]), { 1: [2, 6], 6: o, 12: 21, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: p, 22: y }, { 6: o, 9: 22, 12: 11, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: p, 22: y }, { 6: k, 7: L, 10: 23, 11: D }, t(b, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: y }), 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: k, 7: L, 10: 32, 11: D }, { 1: [2, 7], 6: o, 12: 21, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: p, 22: y }, t($, [2, 14], { 7: f, 11: B }), t(P, [2, 8]), t(P, [2, 9]), t(P, [2, 10]), t(b, [2, 15]), t(b, [2, 16]), t(b, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t($, [2, 13], { 7: f, 11: B }), t(P, [2, 11]), t(P, [2, 12]), { 21: [1, 37] }, t(b, [2, 25]), t(b, [2, 27])],
83
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: n }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: n }, { 6: g, 7: [1, 10], 9: 9, 12: 11, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, e(_, [2, 3]), { 1: [2, 2] }, e(_, [2, 4]), e(_, [2, 5]), { 1: [2, 6], 6: g, 12: 21, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, { 6: g, 9: 22, 12: 11, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, { 6: T, 7: I, 10: 23, 11: w }, e(d, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: f, 22: m }), e(d, [2, 18]), e(d, [2, 19]), e(d, [2, 20]), e(d, [2, 21]), e(d, [2, 23]), e(d, [2, 24]), e(d, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: T, 7: I, 10: 32, 11: w }, { 1: [2, 7], 6: g, 12: 21, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, e(R, [2, 14], { 7: q, 11: J }), e(A, [2, 8]), e(A, [2, 9]), e(A, [2, 10]), e(d, [2, 15]), e(d, [2, 16]), e(d, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, e(R, [2, 13], { 7: q, 11: J }), e(A, [2, 11]), e(A, [2, 12]), { 21: [1, 37] }, e(d, [2, 25]), e(d, [2, 27])],
85
84
  defaultActions: { 2: [2, 1], 6: [2, 2] },
86
- parseError: /* @__PURE__ */ h(function(s, i) {
85
+ parseError: /* @__PURE__ */ l(function(s, i) {
87
86
  if (i.recoverable)
88
87
  this.trace(s);
89
88
  else {
90
- var a = new Error(s);
91
- throw a.hash = i, a;
89
+ var o = new Error(s);
90
+ throw o.hash = i, o;
92
91
  }
93
92
  }, "parseError"),
94
- parse: /* @__PURE__ */ h(function(s) {
95
- var i = this, a = [0], c = [], u = [null], r = [], M = this.table, g = "", F = 0, Q = 0, ie = 2, Z = 1, se = r.slice.call(arguments, 1), m = Object.create(this.lexer), C = { yy: {} };
96
- for (var X in this.yy)
97
- Object.prototype.hasOwnProperty.call(this.yy, X) && (C.yy[X] = this.yy[X]);
98
- m.setInput(s, C.yy), C.yy.lexer = m, C.yy.parser = this, typeof m.yylloc > "u" && (m.yylloc = {});
99
- var Y = m.yylloc;
100
- r.push(Y);
101
- var re = m.options && m.options.ranges;
102
- typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
103
- function ae(x) {
104
- a.length = a.length - 2 * x, u.length = u.length - x, r.length = r.length - x;
93
+ parse: /* @__PURE__ */ l(function(s) {
94
+ var i = this, o = [0], c = [], p = [null], r = [], $ = this.table, u = "", M = 0, K = 0, ne = 2, Q = 1, ie = r.slice.call(arguments, 1), y = Object.create(this.lexer), L = { yy: {} };
95
+ for (var H in this.yy)
96
+ Object.prototype.hasOwnProperty.call(this.yy, H) && (L.yy[H] = this.yy[H]);
97
+ y.setInput(s, L.yy), L.yy.lexer = y, L.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
98
+ var z = y.yylloc;
99
+ r.push(z);
100
+ var se = y.options && y.options.ranges;
101
+ typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
102
+ function re(k) {
103
+ o.length = o.length - 2 * k, p.length = p.length - k, r.length = r.length - k;
105
104
  }
106
- h(ae, "popStack");
107
- function ee() {
108
- var x;
109
- return x = c.pop() || m.lex() || Z, typeof x != "number" && (x instanceof Array && (c = x, x = c.pop()), x = i.symbols_[x] || x), x;
105
+ l(re, "popStack");
106
+ function Z() {
107
+ var k;
108
+ return k = c.pop() || y.lex() || Q, typeof k != "number" && (k instanceof Array && (c = k, k = c.pop()), k = i.symbols_[k] || k), k;
110
109
  }
111
- h(ee, "lex");
112
- for (var S, I, N, q, w = {}, G, v, te, j; ; ) {
113
- if (I = a[a.length - 1], this.defaultActions[I] ? N = this.defaultActions[I] : ((S === null || typeof S > "u") && (S = ee()), N = M[I] && M[I][S]), typeof N > "u" || !N.length || !N[0]) {
114
- var J = "";
115
- j = [];
116
- for (G in M[I])
117
- this.terminals_[G] && G > ie && j.push("'" + this.terminals_[G] + "'");
118
- m.showPosition ? J = "Parse error on line " + (F + 1) + `:
119
- ` + m.showPosition() + `
120
- Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "Parse error on line " + (F + 1) + ": Unexpected " + (S == Z ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(J, {
121
- text: m.match,
122
- token: this.terminals_[S] || S,
123
- line: m.yylineno,
124
- loc: Y,
125
- expected: j
110
+ l(Z, "lex");
111
+ for (var b, v, S, W, O = {}, U, x, ee, V; ; ) {
112
+ if (v = o[o.length - 1], this.defaultActions[v] ? S = this.defaultActions[v] : ((b === null || typeof b > "u") && (b = Z()), S = $[v] && $[v][b]), typeof S > "u" || !S.length || !S[0]) {
113
+ var X = "";
114
+ V = [];
115
+ for (U in $[v])
116
+ this.terminals_[U] && U > ne && V.push("'" + this.terminals_[U] + "'");
117
+ y.showPosition ? X = "Parse error on line " + (M + 1) + `:
118
+ ` + y.showPosition() + `
119
+ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "Parse error on line " + (M + 1) + ": Unexpected " + (b == Q ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(X, {
120
+ text: y.match,
121
+ token: this.terminals_[b] || b,
122
+ line: y.yylineno,
123
+ loc: z,
124
+ expected: V
126
125
  });
127
126
  }
128
- if (N[0] instanceof Array && N.length > 1)
129
- throw new Error("Parse Error: multiple actions possible at state: " + I + ", token: " + S);
130
- switch (N[0]) {
127
+ if (S[0] instanceof Array && S.length > 1)
128
+ throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + b);
129
+ switch (S[0]) {
131
130
  case 1:
132
- a.push(S), u.push(m.yytext), r.push(m.yylloc), a.push(N[1]), S = null, Q = m.yyleng, g = m.yytext, F = m.yylineno, Y = m.yylloc;
131
+ o.push(b), p.push(y.yytext), r.push(y.yylloc), o.push(S[1]), b = null, K = y.yyleng, u = y.yytext, M = y.yylineno, z = y.yylloc;
133
132
  break;
134
133
  case 2:
135
- if (v = this.productions_[N[1]][1], w.$ = u[u.length - v], w._$ = {
136
- first_line: r[r.length - (v || 1)].first_line,
134
+ if (x = this.productions_[S[1]][1], O.$ = p[p.length - x], O._$ = {
135
+ first_line: r[r.length - (x || 1)].first_line,
137
136
  last_line: r[r.length - 1].last_line,
138
- first_column: r[r.length - (v || 1)].first_column,
137
+ first_column: r[r.length - (x || 1)].first_column,
139
138
  last_column: r[r.length - 1].last_column
140
- }, re && (w._$.range = [
141
- r[r.length - (v || 1)].range[0],
139
+ }, se && (O._$.range = [
140
+ r[r.length - (x || 1)].range[0],
142
141
  r[r.length - 1].range[1]
143
- ]), q = this.performAction.apply(w, [
144
- g,
145
- Q,
146
- F,
147
- C.yy,
148
- N[1],
142
+ ]), W = this.performAction.apply(O, [
149
143
  u,
144
+ K,
145
+ M,
146
+ L.yy,
147
+ S[1],
148
+ p,
150
149
  r
151
- ].concat(se)), typeof q < "u")
152
- return q;
153
- v && (a = a.slice(0, -1 * v * 2), u = u.slice(0, -1 * v), r = r.slice(0, -1 * v)), a.push(this.productions_[N[1]][0]), u.push(w.$), r.push(w._$), te = M[a[a.length - 2]][a[a.length - 1]], a.push(te);
150
+ ].concat(ie)), typeof W < "u")
151
+ return W;
152
+ x && (o = o.slice(0, -1 * x * 2), p = p.slice(0, -1 * x), r = r.slice(0, -1 * x)), o.push(this.productions_[S[1]][0]), p.push(O.$), r.push(O._$), ee = $[o[o.length - 2]][o[o.length - 1]], o.push(ee);
154
153
  break;
155
154
  case 3:
156
155
  return !0;
@@ -158,17 +157,17 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
158
157
  }
159
158
  return !0;
160
159
  }, "parse")
161
- }, ne = /* @__PURE__ */ (function() {
162
- var O = {
160
+ }, te = /* @__PURE__ */ (function() {
161
+ var D = {
163
162
  EOF: 1,
164
- parseError: /* @__PURE__ */ h(function(i, a) {
163
+ parseError: /* @__PURE__ */ l(function(i, o) {
165
164
  if (this.yy.parser)
166
- this.yy.parser.parseError(i, a);
165
+ this.yy.parser.parseError(i, o);
167
166
  else
168
167
  throw new Error(i);
169
168
  }, "parseError"),
170
169
  // resets the lexer, sets new input
171
- setInput: /* @__PURE__ */ h(function(s, i) {
170
+ setInput: /* @__PURE__ */ l(function(s, i) {
172
171
  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 = {
173
172
  first_line: 1,
174
173
  first_column: 0,
@@ -177,32 +176,32 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
177
176
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
178
177
  }, "setInput"),
179
178
  // consumes and returns one char from the input
180
- input: /* @__PURE__ */ h(function() {
179
+ input: /* @__PURE__ */ l(function() {
181
180
  var s = this._input[0];
182
181
  this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
183
182
  var i = s.match(/(?:\r\n?|\n).*/g);
184
183
  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;
185
184
  }, "input"),
186
185
  // unshifts one char (or a string) into the input
187
- unput: /* @__PURE__ */ h(function(s) {
188
- var i = s.length, a = s.split(/(?:\r\n?|\n)/g);
186
+ unput: /* @__PURE__ */ l(function(s) {
187
+ var i = s.length, o = s.split(/(?:\r\n?|\n)/g);
189
188
  this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - i), this.offset -= i;
190
189
  var c = this.match.split(/(?:\r\n?|\n)/g);
191
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
192
- var u = this.yylloc.range;
190
+ 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);
191
+ var p = this.yylloc.range;
193
192
  return this.yylloc = {
194
193
  first_line: this.yylloc.first_line,
195
194
  last_line: this.yylineno + 1,
196
195
  first_column: this.yylloc.first_column,
197
- last_column: a ? (a.length === c.length ? this.yylloc.first_column : 0) + c[c.length - a.length].length - a[0].length : this.yylloc.first_column - i
198
- }, this.options.ranges && (this.yylloc.range = [u[0], u[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
196
+ last_column: o ? (o.length === c.length ? this.yylloc.first_column : 0) + c[c.length - o.length].length - o[0].length : this.yylloc.first_column - i
197
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
199
198
  }, "unput"),
200
199
  // When called from action, caches matched text and appends it on next action
201
- more: /* @__PURE__ */ h(function() {
200
+ more: /* @__PURE__ */ l(function() {
202
201
  return this._more = !0, this;
203
202
  }, "more"),
204
203
  // 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.
205
- reject: /* @__PURE__ */ h(function() {
204
+ reject: /* @__PURE__ */ l(function() {
206
205
  if (this.options.backtrack_lexer)
207
206
  this._backtrack = !0;
208
207
  else
@@ -215,29 +214,29 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
215
214
  return this;
216
215
  }, "reject"),
217
216
  // retain first n characters of the match
218
- less: /* @__PURE__ */ h(function(s) {
217
+ less: /* @__PURE__ */ l(function(s) {
219
218
  this.unput(this.match.slice(s));
220
219
  }, "less"),
221
220
  // displays already matched input, i.e. for error messages
222
- pastInput: /* @__PURE__ */ h(function() {
221
+ pastInput: /* @__PURE__ */ l(function() {
223
222
  var s = this.matched.substr(0, this.matched.length - this.match.length);
224
223
  return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
225
224
  }, "pastInput"),
226
225
  // displays upcoming input, i.e. for error messages
227
- upcomingInput: /* @__PURE__ */ h(function() {
226
+ upcomingInput: /* @__PURE__ */ l(function() {
228
227
  var s = this.match;
229
228
  return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
230
229
  }, "upcomingInput"),
231
230
  // displays the character position where the lexing error occurred, i.e. for error messages
232
- showPosition: /* @__PURE__ */ h(function() {
231
+ showPosition: /* @__PURE__ */ l(function() {
233
232
  var s = this.pastInput(), i = new Array(s.length + 1).join("-");
234
233
  return s + this.upcomingInput() + `
235
234
  ` + i + "^";
236
235
  }, "showPosition"),
237
236
  // test the lexed token: return FALSE when not a match, otherwise return token
238
- test_match: /* @__PURE__ */ h(function(s, i) {
239
- var a, c, u;
240
- if (this.options.backtrack_lexer && (u = {
237
+ test_match: /* @__PURE__ */ l(function(s, i) {
238
+ var o, c, p;
239
+ if (this.options.backtrack_lexer && (p = {
241
240
  yylineno: this.yylineno,
242
241
  yylloc: {
243
242
  first_line: this.yylloc.first_line,
@@ -256,31 +255,31 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
256
255
  yy: this.yy,
257
256
  conditionStack: this.conditionStack.slice(0),
258
257
  done: this.done
259
- }, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), c = s[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
258
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), c = s[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
260
259
  first_line: this.yylloc.last_line,
261
260
  last_line: this.yylineno + 1,
262
261
  first_column: this.yylloc.last_column,
263
262
  last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
264
- }, 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], a = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
265
- return a;
263
+ }, 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)
264
+ return o;
266
265
  if (this._backtrack) {
267
- for (var r in u)
268
- this[r] = u[r];
266
+ for (var r in p)
267
+ this[r] = p[r];
269
268
  return !1;
270
269
  }
271
270
  return !1;
272
271
  }, "test_match"),
273
272
  // return next match in input
274
- next: /* @__PURE__ */ h(function() {
273
+ next: /* @__PURE__ */ l(function() {
275
274
  if (this.done)
276
275
  return this.EOF;
277
276
  this._input || (this.done = !0);
278
- var s, i, a, c;
277
+ var s, i, o, c;
279
278
  this._more || (this.yytext = "", this.match = "");
280
- for (var u = this._currentRules(), r = 0; r < u.length; r++)
281
- if (a = this._input.match(this.rules[u[r]]), a && (!i || a[0].length > i[0].length)) {
282
- if (i = a, c = r, this.options.backtrack_lexer) {
283
- if (s = this.test_match(a, u[r]), s !== !1)
279
+ for (var p = this._currentRules(), r = 0; r < p.length; r++)
280
+ if (o = this._input.match(this.rules[p[r]]), o && (!i || o[0].length > i[0].length)) {
281
+ if (i = o, c = r, this.options.backtrack_lexer) {
282
+ if (s = this.test_match(o, p[r]), s !== !1)
284
283
  return s;
285
284
  if (this._backtrack) {
286
285
  i = !1;
@@ -290,7 +289,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
290
289
  } else if (!this.options.flex)
291
290
  break;
292
291
  }
293
- return i ? (s = this.test_match(i, u[c]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
292
+ return i ? (s = this.test_match(i, p[c]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
294
293
  ` + this.showPosition(), {
295
294
  text: "",
296
295
  token: null,
@@ -298,40 +297,40 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
298
297
  });
299
298
  }, "next"),
300
299
  // return next match that has a token
301
- lex: /* @__PURE__ */ h(function() {
300
+ lex: /* @__PURE__ */ l(function() {
302
301
  var i = this.next();
303
302
  return i || this.lex();
304
303
  }, "lex"),
305
304
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
306
- begin: /* @__PURE__ */ h(function(i) {
305
+ begin: /* @__PURE__ */ l(function(i) {
307
306
  this.conditionStack.push(i);
308
307
  }, "begin"),
309
308
  // pop the previously active lexer condition state off the condition stack
310
- popState: /* @__PURE__ */ h(function() {
309
+ popState: /* @__PURE__ */ l(function() {
311
310
  var i = this.conditionStack.length - 1;
312
311
  return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
313
312
  }, "popState"),
314
313
  // produce the lexer rule set which is active for the currently active lexer condition state
315
- _currentRules: /* @__PURE__ */ h(function() {
314
+ _currentRules: /* @__PURE__ */ l(function() {
316
315
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
317
316
  }, "_currentRules"),
318
317
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
319
- topState: /* @__PURE__ */ h(function(i) {
318
+ topState: /* @__PURE__ */ l(function(i) {
320
319
  return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
321
320
  }, "topState"),
322
321
  // alias for begin(condition)
323
- pushState: /* @__PURE__ */ h(function(i) {
322
+ pushState: /* @__PURE__ */ l(function(i) {
324
323
  this.begin(i);
325
324
  }, "pushState"),
326
325
  // return the number of states currently on the stack
327
- stateStackSize: /* @__PURE__ */ h(function() {
326
+ stateStackSize: /* @__PURE__ */ l(function() {
328
327
  return this.conditionStack.length;
329
328
  }, "stateStackSize"),
330
329
  options: { "case-insensitive": !0 },
331
- performAction: /* @__PURE__ */ h(function(i, a, c, u) {
330
+ performAction: /* @__PURE__ */ l(function(i, o, c, p) {
332
331
  switch (c) {
333
332
  case 0:
334
- return i.getLogger().trace("Found comment", a.yytext), 6;
333
+ return i.getLogger().trace("Found comment", o.yytext), 6;
335
334
  case 1:
336
335
  return 8;
337
336
  case 2:
@@ -388,7 +387,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
388
387
  i.getLogger().trace("Starting NSTR"), this.begin("NSTR");
389
388
  break;
390
389
  case 25:
391
- return i.getLogger().trace("description:", a.yytext), "NODE_DESCR";
390
+ return i.getLogger().trace("description:", o.yytext), "NODE_DESCR";
392
391
  case 26:
393
392
  this.popState();
394
393
  break;
@@ -397,7 +396,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
397
396
  case 28:
398
397
  return this.popState(), i.getLogger().trace("node end )"), "NODE_DEND";
399
398
  case 29:
400
- return this.popState(), i.getLogger().trace("node end ...", a.yytext), "NODE_DEND";
399
+ return this.popState(), i.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
401
400
  case 30:
402
401
  return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
403
402
  case 31:
@@ -409,24 +408,24 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : J = "
409
408
  case 34:
410
409
  return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
411
410
  case 35:
412
- return i.getLogger().trace("Long description:", a.yytext), 20;
411
+ return i.getLogger().trace("Long description:", o.yytext), 20;
413
412
  case 36:
414
- return i.getLogger().trace("Long description:", a.yytext), 20;
413
+ return i.getLogger().trace("Long description:", o.yytext), 20;
415
414
  }
416
415
  }, "anonymous"),
417
416
  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],
418
417
  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 } }
419
418
  };
420
- return O;
419
+ return D;
421
420
  })();
422
- W.lexer = ne;
423
- function V() {
421
+ j.lexer = te;
422
+ function P() {
424
423
  this.yy = {};
425
424
  }
426
- return h(V, "Parser"), V.prototype = W, W.Parser = V, new V();
425
+ return l(P, "Parser"), P.prototype = j, j.Parser = P, new P();
427
426
  })();
428
- K.parser = K;
429
- var ke = K, Se = 12, T = {
427
+ Y.parser = Y;
428
+ var be = Y, ke = 12, N = {
430
429
  DEFAULT: 0,
431
430
  NO_BORDER: 0,
432
431
  ROUNDED_RECT: 1,
@@ -435,62 +434,64 @@ var ke = K, Se = 12, T = {
435
434
  CLOUD: 4,
436
435
  BANG: 5,
437
436
  HEXAGON: 6
438
- }, A, xe = (A = class {
437
+ }, Se = class {
439
438
  constructor() {
440
- this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = T, 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);
439
+ this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = N, 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);
440
+ }
441
+ static {
442
+ l(this, "MindmapDB");
441
443
  }
442
444
  clear() {
443
445
  this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
444
446
  }
445
447
  getParent(e) {
446
- for (let o = this.nodes.length - 1; o >= 0; o--)
447
- if (this.nodes[o].level < e)
448
- return this.nodes[o];
448
+ for (let n = this.nodes.length - 1; n >= 0; n--)
449
+ if (this.nodes[n].level < e)
450
+ return this.nodes[n];
449
451
  return null;
450
452
  }
451
453
  getMindmap() {
452
454
  return this.nodes.length > 0 ? this.nodes[0] : null;
453
455
  }
454
- addNode(e, o, l, n) {
455
- var L, D;
456
- R.info("addNode", e, o, l, n);
457
- let d = !1;
458
- this.nodes.length === 0 ? (this.baseLevel = e, e = 0, d = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, d = !1);
459
- const p = U();
460
- let y = ((L = p.mindmap) == null ? void 0 : L.padding) ?? z.mindmap.padding;
461
- switch (n) {
456
+ addNode(e, n, g, a) {
457
+ C.info("addNode", e, n, g, a);
458
+ let t = !1;
459
+ this.nodes.length === 0 ? (this.baseLevel = e, e = 0, t = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, t = !1);
460
+ const h = B();
461
+ let f = h.mindmap?.padding ?? G.mindmap.padding;
462
+ switch (a) {
462
463
  case this.nodeType.ROUNDED_RECT:
463
464
  case this.nodeType.RECT:
464
465
  case this.nodeType.HEXAGON:
465
- y *= 2;
466
+ f *= 2;
466
467
  break;
467
468
  }
468
- const E = {
469
+ const m = {
469
470
  id: this.count++,
470
- nodeId: H(o, p),
471
+ nodeId: F(n, h),
471
472
  level: e,
472
- descr: H(l, p),
473
- type: n,
473
+ descr: F(g, h),
474
+ type: a,
474
475
  children: [],
475
- width: ((D = p.mindmap) == null ? void 0 : D.maxNodeWidth) ?? z.mindmap.maxNodeWidth,
476
- padding: y,
477
- isRoot: d
478
- }, k = this.getParent(e);
479
- if (k)
480
- k.children.push(E), this.nodes.push(E);
481
- else if (d)
482
- this.nodes.push(E);
476
+ width: h.mindmap?.maxNodeWidth ?? G.mindmap.maxNodeWidth,
477
+ padding: f,
478
+ isRoot: t
479
+ }, _ = this.getParent(e);
480
+ if (_)
481
+ _.children.push(m), this.nodes.push(m);
482
+ else if (t)
483
+ this.nodes.push(m);
483
484
  else
484
485
  throw new Error(
485
- `There can be only one root. No parent could be found for ("${E.descr}")`
486
+ `There can be only one root. No parent could be found for ("${m.descr}")`
486
487
  );
487
488
  }
488
- getType(e, o) {
489
- switch (R.debug("In get type", e, o), e) {
489
+ getType(e, n) {
490
+ switch (C.debug("In get type", e, n), e) {
490
491
  case "[":
491
492
  return this.nodeType.RECT;
492
493
  case "(":
493
- return o === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
494
+ return n === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
494
495
  case "((":
495
496
  return this.nodeType.CIRCLE;
496
497
  case ")":
@@ -503,8 +504,8 @@ var ke = K, Se = 12, T = {
503
504
  return this.nodeType.DEFAULT;
504
505
  }
505
506
  }
506
- setElementForId(e, o) {
507
- this.elements[e] = o;
507
+ setElementForId(e, n) {
508
+ this.elements[e] = n;
508
509
  }
509
510
  getElementById(e) {
510
511
  return this.elements[e];
@@ -512,8 +513,8 @@ var ke = K, Se = 12, T = {
512
513
  decorateNode(e) {
513
514
  if (!e)
514
515
  return;
515
- const o = U(), l = this.nodes[this.nodes.length - 1];
516
- e.icon && (l.icon = H(e.icon, o)), e.class && (l.class = H(e.class, o));
516
+ const n = B(), g = this.nodes[this.nodes.length - 1];
517
+ e.icon && (g.icon = F(e.icon, n)), e.class && (g.class = F(e.class, n));
517
518
  }
518
519
  type2Str(e) {
519
520
  switch (e) {
@@ -541,11 +542,11 @@ var ke = K, Se = 12, T = {
541
542
  * @param node - The mindmap node to process
542
543
  * @param sectionNumber - The section number to assign (undefined for root)
543
544
  */
544
- assignSections(e, o) {
545
- if (e.level === 0 ? e.section = void 0 : e.section = o, e.children)
546
- for (const [l, n] of e.children.entries()) {
547
- const d = e.level === 0 ? l % (Se - 1) : o;
548
- this.assignSections(n, d);
545
+ assignSections(e, n) {
546
+ if (e.level === 0 ? e.section = void 0 : e.section = n, e.children)
547
+ for (const [g, a] of e.children.entries()) {
548
+ const t = e.level === 0 ? g % (ke - 1) : n;
549
+ this.assignSections(a, t);
549
550
  }
550
551
  }
551
552
  /**
@@ -553,44 +554,43 @@ var ke = K, Se = 12, T = {
553
554
  * @param node - The mindmap node to process
554
555
  * @param processedNodes - Array to collect processed nodes
555
556
  */
556
- flattenNodes(e, o) {
557
- const l = U(), n = ["mindmap-node"];
558
- e.isRoot === !0 ? n.push("section-root", "section--1") : e.section !== void 0 && n.push(`section-${e.section}`), e.class && n.push(e.class);
559
- const d = n.join(" "), p = /* @__PURE__ */ h((E) => {
560
- var D;
561
- const L = (((D = l.theme) == null ? void 0 : D.toLowerCase()) ?? "").includes("redux");
562
- switch (E) {
563
- case T.CIRCLE:
557
+ flattenNodes(e, n) {
558
+ const g = B(), a = ["mindmap-node"];
559
+ e.isRoot === !0 ? a.push("section-root", "section--1") : e.section !== void 0 && a.push(`section-${e.section}`), e.class && a.push(e.class);
560
+ const t = a.join(" "), h = /* @__PURE__ */ l((m) => {
561
+ const T = (g.theme?.toLowerCase() ?? "").includes("redux");
562
+ switch (m) {
563
+ case N.CIRCLE:
564
564
  return "mindmapCircle";
565
- case T.RECT:
565
+ case N.RECT:
566
566
  return "rect";
567
- case T.ROUNDED_RECT:
567
+ case N.ROUNDED_RECT:
568
568
  return "rounded";
569
- case T.CLOUD:
569
+ case N.CLOUD:
570
570
  return "cloud";
571
- case T.BANG:
571
+ case N.BANG:
572
572
  return "bang";
573
- case T.HEXAGON:
573
+ case N.HEXAGON:
574
574
  return "hexagon";
575
- case T.DEFAULT:
576
- return L ? "rounded" : "defaultMindmapNode";
577
- case T.NO_BORDER:
575
+ case N.DEFAULT:
576
+ return T ? "rounded" : "defaultMindmapNode";
577
+ case N.NO_BORDER:
578
578
  default:
579
579
  return "rect";
580
580
  }
581
- }, "getShapeFromType"), y = {
581
+ }, "getShapeFromType"), f = {
582
582
  id: e.id.toString(),
583
583
  domId: "node_" + e.id.toString(),
584
584
  label: e.descr,
585
585
  labelType: "markdown",
586
586
  isGroup: !1,
587
- shape: p(e.type),
587
+ shape: h(e.type),
588
588
  width: e.width,
589
589
  height: e.height ?? 0,
590
590
  padding: e.padding,
591
- cssClasses: d,
591
+ cssClasses: t,
592
592
  cssStyles: [],
593
- look: l.look,
593
+ look: g.look,
594
594
  icon: e.icon,
595
595
  x: e.x,
596
596
  y: e.y,
@@ -600,38 +600,38 @@ var ke = K, Se = 12, T = {
600
600
  type: e.type,
601
601
  section: e.section
602
602
  };
603
- if (o.push(y), e.children)
604
- for (const E of e.children)
605
- this.flattenNodes(E, o);
603
+ if (n.push(f), e.children)
604
+ for (const m of e.children)
605
+ this.flattenNodes(m, n);
606
606
  }
607
607
  /**
608
608
  * Generate edges from parent-child relationships in mindmap tree
609
609
  * @param node - The mindmap node to process
610
610
  * @param edges - Array to collect edges
611
611
  */
612
- generateEdges(e, o) {
612
+ generateEdges(e, n) {
613
613
  if (!e.children)
614
614
  return;
615
- const l = U();
616
- for (const n of e.children) {
617
- let d = "edge";
618
- n.section !== void 0 && (d += ` section-edge-${n.section}`);
619
- const p = e.level + 1;
620
- d += ` edge-depth-${p}`;
621
- const y = {
622
- id: `edge_${e.id}_${n.id}`,
615
+ const g = B();
616
+ for (const a of e.children) {
617
+ let t = "edge";
618
+ a.section !== void 0 && (t += ` section-edge-${a.section}`);
619
+ const h = e.level + 1;
620
+ t += ` edge-depth-${h}`;
621
+ const f = {
622
+ id: `edge_${e.id}_${a.id}`,
623
623
  start: e.id.toString(),
624
- end: n.id.toString(),
624
+ end: a.id.toString(),
625
625
  type: "normal",
626
626
  curve: "basis",
627
627
  thickness: "normal",
628
- look: l.look,
629
- classes: d,
628
+ look: g.look,
629
+ classes: t,
630
630
  // Store mindmap-specific data
631
631
  depth: e.level,
632
- section: n.section
632
+ section: a.section
633
633
  };
634
- o.push(y), this.generateEdges(n, o);
634
+ n.push(f), this.generateEdges(a, n);
635
635
  }
636
636
  }
637
637
  /**
@@ -640,30 +640,30 @@ var ke = K, Se = 12, T = {
640
640
  * @returns Structured data containing nodes, edges, and config
641
641
  */
642
642
  getData() {
643
- const e = this.getMindmap(), o = U(), n = ge().layout !== void 0, d = o;
644
- if (n || (d.layout = "cose-bilkent"), !e)
643
+ const e = this.getMindmap(), n = B(), a = de().layout !== void 0, t = n;
644
+ if (a || (t.layout = "cose-bilkent"), !e)
645
645
  return {
646
646
  nodes: [],
647
647
  edges: [],
648
- config: d
648
+ config: t
649
649
  };
650
- R.debug("getData: mindmapRoot", e, o), this.assignSections(e);
651
- const p = [], y = [];
652
- this.flattenNodes(e, p), this.generateEdges(e, y), R.debug(
653
- `getData: processed ${p.length} nodes and ${y.length} edges`
650
+ C.debug("getData: mindmapRoot", e, n), this.assignSections(e);
651
+ const h = [], f = [];
652
+ this.flattenNodes(e, h), this.generateEdges(e, f), C.debug(
653
+ `getData: processed ${h.length} nodes and ${f.length} edges`
654
654
  );
655
- const E = /* @__PURE__ */ new Map();
656
- for (const k of p)
657
- E.set(k.id, {
658
- shape: k.shape,
659
- width: k.width,
660
- height: k.height,
661
- padding: k.padding
655
+ const m = /* @__PURE__ */ new Map();
656
+ for (const _ of h)
657
+ m.set(_.id, {
658
+ shape: _.shape,
659
+ width: _.width,
660
+ height: _.height,
661
+ padding: _.padding
662
662
  });
663
663
  return {
664
- nodes: p,
665
- edges: y,
666
- config: d,
664
+ nodes: h,
665
+ edges: f,
666
+ config: t,
667
667
  // Store the root node for mindmap-specific layout algorithms
668
668
  rootNode: e,
669
669
  // Properties required by dagre layout algorithm
@@ -676,70 +676,69 @@ var ke = K, Se = 12, T = {
676
676
  rankSpacing: 50,
677
677
  // Default spacing between ranks
678
678
  // Add shapes for ELK compatibility
679
- shapes: Object.fromEntries(E),
679
+ shapes: Object.fromEntries(m),
680
680
  // Additional properties that layout algorithms might expect
681
681
  type: "mindmap",
682
- diagramId: "mindmap-" + _e()
682
+ diagramId: "mindmap-" + Ee()
683
683
  };
684
684
  }
685
685
  // Expose logger to grammar
686
686
  getLogger() {
687
- return R;
687
+ return C;
688
688
  }
689
- }, h(A, "MindmapDB"), A), Ne = /* @__PURE__ */ h(async (t, e, o, l) => {
690
- var b, $;
691
- R.debug(`Rendering mindmap diagram
692
- ` + t);
693
- const n = l.db, d = n.getData(), p = oe(e, d.config.securityLevel);
694
- if (d.type = l.type, d.layoutAlgorithm = le(d.config.layout, {
689
+ }, xe = /* @__PURE__ */ l(async (e, n, g, a) => {
690
+ C.debug(`Rendering mindmap diagram
691
+ ` + e);
692
+ const t = a.db, h = t.getData(), f = oe(n, h.config.securityLevel);
693
+ if (h.type = a.type, h.layoutAlgorithm = ce(h.config.layout, {
695
694
  fallback: "cose-bilkent"
696
- }), d.diagramId = e, !n.getMindmap())
695
+ }), h.diagramId = n, !t.getMindmap())
697
696
  return;
698
- d.nodes.forEach((f) => {
699
- f.shape === "rounded" ? (f.radius = 15, f.taper = 15, f.stroke = "none", f.width = 0, f.padding = 15) : f.shape === "circle" ? f.padding = 10 : f.shape === "rect" ? (f.width = 0, f.padding = 10) : f.shape === "hexagon" && (f.width = 0, f.height = 0);
700
- }), await he(d, p);
701
- const { themeVariables: E } = de(), { useGradient: k, gradientStart: L, gradientStop: D } = E;
702
- if (k && L && D) {
703
- const f = p.attr("id"), B = p.append("defs").append("linearGradient").attr("id", `${f}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
704
- B.append("stop").attr("offset", "0%").attr("stop-color", L).attr("stop-opacity", 1), B.append("stop").attr("offset", "100%").attr("stop-color", D).attr("stop-opacity", 1);
697
+ h.nodes.forEach((d) => {
698
+ d.shape === "rounded" ? (d.radius = 15, d.taper = 15, d.stroke = "none", d.width = 0, d.padding = 15) : d.shape === "circle" ? d.padding = 10 : d.shape === "rect" ? (d.width = 0, d.padding = 10) : d.shape === "hexagon" && (d.width = 0, d.height = 0);
699
+ }), await le(h, f);
700
+ const { themeVariables: _ } = he(), { useGradient: T, gradientStart: I, gradientStop: w } = _;
701
+ if (T && I && w) {
702
+ const d = f.attr("id"), R = f.append("defs").append("linearGradient").attr("id", `${d}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
703
+ R.append("stop").attr("offset", "0%").attr("stop-color", I).attr("stop-opacity", 1), R.append("stop").attr("offset", "100%").attr("stop-color", w).attr("stop-opacity", 1);
705
704
  }
706
- ce(
707
- p,
708
- ((b = d.config.mindmap) == null ? void 0 : b.padding) ?? z.mindmap.padding,
705
+ ae(
706
+ f,
707
+ h.config.mindmap?.padding ?? G.mindmap.padding,
709
708
  "mindmapDiagram",
710
- (($ = d.config.mindmap) == null ? void 0 : $.useMaxWidth) ?? z.mindmap.useMaxWidth
709
+ h.config.mindmap?.useMaxWidth ?? G.mindmap.useMaxWidth
711
710
  );
712
- }, "draw"), De = {
713
- draw: Ne
714
- }, Le = /* @__PURE__ */ h((t) => {
715
- const { theme: e, look: o } = t;
716
- let l = "";
717
- for (let n = 0; n < t.THEME_COLOR_LIMIT; n++)
718
- t["lineColor" + n] = t["lineColor" + n] || t["cScaleInv" + n], ue(t["lineColor" + n]) ? t["lineColor" + n] = pe(t["lineColor" + n], 20) : t["lineColor" + n] = fe(t["lineColor" + n], 20);
719
- for (let n = 0; n < t.THEME_COLOR_LIMIT; n++) {
720
- const d = "" + (o === "neo" ? Math.max(10 - (n - 1) * 2, 2) : 17 - 3 * n);
721
- l += `
722
- .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
723
- fill: ${t["cScale" + n]};
711
+ }, "draw"), Ne = {
712
+ draw: xe
713
+ }, De = /* @__PURE__ */ l((e) => {
714
+ const { theme: n, look: g } = e;
715
+ let a = "";
716
+ for (let t = 0; t < e.THEME_COLOR_LIMIT; t++)
717
+ e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], ge(e["lineColor" + t]) ? e["lineColor" + t] = ue(e["lineColor" + t], 20) : e["lineColor" + t] = pe(e["lineColor" + t], 20);
718
+ for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
719
+ const h = "" + (g === "neo" ? Math.max(10 - (t - 1) * 2, 2) : 17 - 3 * t);
720
+ a += `
721
+ .section-${t - 1} rect, .section-${t - 1} path, .section-${t - 1} circle, .section-${t - 1} polygon, .section-${t - 1} path {
722
+ fill: ${e["cScale" + t]};
724
723
  }
725
- .section-${n - 1} text {
726
- fill: ${t["cScaleLabel" + n]};
724
+ .section-${t - 1} text {
725
+ fill: ${e["cScaleLabel" + t]};
727
726
  }
728
- .section-${n - 1} span {
729
- color: ${t["cScaleLabel" + n]};
727
+ .section-${t - 1} span {
728
+ color: ${e["cScaleLabel" + t]};
730
729
  }
731
- .node-icon-${n - 1} {
730
+ .node-icon-${t - 1} {
732
731
  font-size: 40px;
733
- color: ${t["cScaleLabel" + n]};
732
+ color: ${e["cScaleLabel" + t]};
734
733
  }
735
- .section-edge-${n - 1}{
736
- stroke: ${t["cScale" + n]};
734
+ .section-edge-${t - 1}{
735
+ stroke: ${e["cScale" + t]};
737
736
  }
738
- .edge-depth-${n - 1}{
739
- stroke-width: ${d};
737
+ .edge-depth-${t - 1}{
738
+ stroke-width: ${h};
740
739
  }
741
- .section-${n - 1} line {
742
- stroke: ${t["cScaleInv" + n]} ;
740
+ .section-${t - 1} line {
741
+ stroke: ${e["cScaleInv" + t]} ;
743
742
  stroke-width: 3;
744
743
  }
745
744
 
@@ -749,47 +748,47 @@ var ke = K, Se = 12, T = {
749
748
  .disabled text {
750
749
  fill: #efefef;
751
750
  }
752
- [data-look="neo"].mindmap-node.section-${n - 1} rect, [data-look="neo"].mindmap-node.section-${n - 1} path, [data-look="neo"].mindmap-node.section-${n - 1} circle, [data-look="neo"].mindmap-node.section-${n - 1} polygon {
753
- fill: ${e === "redux" || e === "redux-dark" || e === "neutral" ? t.mainBkg : t["cScale" + n]};
754
- stroke: ${e === "redux" || e === "redux-dark" ? t.nodeBorder : t["cScale" + n]};
755
- stroke-width: ${t.strokeWidth ?? 2}px;
751
+ [data-look="neo"].mindmap-node.section-${t - 1} rect, [data-look="neo"].mindmap-node.section-${t - 1} path, [data-look="neo"].mindmap-node.section-${t - 1} circle, [data-look="neo"].mindmap-node.section-${t - 1} polygon {
752
+ fill: ${n === "redux" || n === "redux-dark" || n === "neutral" ? e.mainBkg : e["cScale" + t]};
753
+ stroke: ${n === "redux" || n === "redux-dark" ? e.nodeBorder : e["cScale" + t]};
754
+ stroke-width: ${e.strokeWidth ?? 2}px;
756
755
  }
757
- [data-look="neo"].section-edge-${n - 1}{
758
- stroke: ${e != null && e.includes("redux") || e === "neo-dark" ? t.nodeBorder : t["cScale" + n]};
756
+ [data-look="neo"].section-edge-${t - 1}{
757
+ stroke: ${n?.includes("redux") || n === "neo-dark" ? e.nodeBorder : e["cScale" + t]};
759
758
  }
760
- [data-look="neo"].mindmap-node.section-${n - 1} text {
761
- fill: ${e === "redux" || e === "redux-dark" ? t.nodeBorder : t["cScaleLabel" + (e === "neutral" ? 1 : n)]};
759
+ [data-look="neo"].mindmap-node.section-${t - 1} text {
760
+ fill: ${n === "redux" || n === "redux-dark" ? e.nodeBorder : e["cScaleLabel" + (n === "neutral" ? 1 : t)]};
762
761
  }
763
762
  `;
764
763
  }
765
- return l;
766
- }, "genSections"), ve = /* @__PURE__ */ h((t, e, o) => {
767
- let l = "";
768
- for (let n = 0; n < t; n++)
769
- l += `
770
- [data-look="neo"].mindmap-node.section-${n - 1} rect, [data-look="neo"].mindmap-node.section-${n - 1} path, [data-look="neo"].mindmap-node.section-${n - 1} circle, [data-look="neo"].mindmap-node.section-${n - 1} polygon {
771
- stroke: url(${e}-gradient);
772
- fill: ${o};
764
+ return a;
765
+ }, "genSections"), Le = /* @__PURE__ */ l((e, n, g) => {
766
+ let a = "";
767
+ for (let t = 0; t < e; t++)
768
+ a += `
769
+ [data-look="neo"].mindmap-node.section-${t - 1} rect, [data-look="neo"].mindmap-node.section-${t - 1} path, [data-look="neo"].mindmap-node.section-${t - 1} circle, [data-look="neo"].mindmap-node.section-${t - 1} polygon {
770
+ stroke: url(${n}-gradient);
771
+ fill: ${g};
773
772
  }
774
- .section-${n - 1} line {
773
+ .section-${t - 1} line {
775
774
  stroke-width: 0;
776
775
  }`;
777
- return l;
778
- }, "genGradient"), Te = /* @__PURE__ */ h((t) => {
779
- const { theme: e } = t, o = t.svgId, l = t.dropShadow ? t.dropShadow.replace("url(#drop-shadow)", `url(${o}-drop-shadow)`) : "none";
776
+ return a;
777
+ }, "genGradient"), ve = /* @__PURE__ */ l((e) => {
778
+ const { theme: n } = e, g = e.svgId, a = e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${g}-drop-shadow)`) : "none";
780
779
  return `
781
780
  .edge {
782
781
  stroke-width: 3;
783
782
  }
784
- ${Le(t)}
783
+ ${De(e)}
785
784
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
786
- fill: ${t.git0};
785
+ fill: ${e.git0};
787
786
  }
788
787
  .section-root text {
789
- fill: ${t.gitBranchLabel0};
788
+ fill: ${e.gitBranchLabel0};
790
789
  }
791
790
  .section-root span {
792
- color: ${e != null && e.includes("redux") ? t.nodeBorder : t.gitBranchLabel0};
791
+ color: ${n?.includes("redux") ? e.nodeBorder : e.gitBranchLabel0};
793
792
  }
794
793
  .icon-container {
795
794
  height:100%;
@@ -808,24 +807,24 @@ var ke = K, Se = 12, T = {
808
807
  text-align: center;
809
808
  }
810
809
  [data-look="neo"].mindmap-node {
811
- filter: ${l};
810
+ filter: ${a};
812
811
  }
813
812
  [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
814
- fill: ${e != null && e.includes("redux") ? t.mainBkg : t.git0};
813
+ fill: ${n?.includes("redux") ? e.mainBkg : e.git0};
815
814
  }
816
815
  [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
817
- fill: ${e != null && e.includes("redux") ? t.nodeBorder : t["cScaleLabel" + (e === "neutral" ? 1 : 0)]};
816
+ fill: ${n?.includes("redux") ? e.nodeBorder : e["cScaleLabel" + (n === "neutral" ? 1 : 0)]};
818
817
  }
819
- ${t.useGradient && o && t.mainBkg ? ve(t.THEME_COLOR_LIMIT, o, t.mainBkg) : ""}
818
+ ${e.useGradient && g && e.mainBkg ? Le(e.THEME_COLOR_LIMIT, g, e.mainBkg) : ""}
820
819
  `;
821
- }, "getStyles"), Oe = Te, Re = {
820
+ }, "getStyles"), Te = ve, we = {
822
821
  get db() {
823
- return new xe();
822
+ return new Se();
824
823
  },
825
- renderer: De,
826
- parser: ke,
827
- styles: Oe
824
+ renderer: Ne,
825
+ parser: be,
826
+ styles: Te
828
827
  };
829
828
  export {
830
- Re as diagram
829
+ we as diagram
831
830
  };