@kong-ui-public/documentation 1.1.2 → 1.1.3

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 (50) hide show
  1. package/dist/{_basePickBy-zlkqRmFy-CQP0PMRw.js → _basePickBy-zlkqRmFy-Dq-PK6tA.js} +27 -27
  2. package/dist/_baseUniq-SAfYgIkf-DhYxnvgt.js +614 -0
  3. package/dist/{arc-CK9P6CkJ-B3oiAYoG.js → arc-CK9P6CkJ-lihx_wEv.js} +31 -31
  4. package/dist/{architecture-I3QFYML2-DJzmbE4M-BYAx4I-4.js → architecture-I3QFYML2-DJzmbE4M-B5s0Q1wg.js} +1 -1
  5. package/dist/{architectureDiagram-UYN6MBPD-DkZdgpXi-BC7nb0IZ.js → architectureDiagram-UYN6MBPD-DkZdgpXi-CC-fAW7y.js} +850 -850
  6. package/dist/{blockDiagram-ZHA2E4KO-DnCMGCMN-CU7ARVHN.js → blockDiagram-ZHA2E4KO-DnCMGCMN-B9tod6Dk.js} +477 -477
  7. package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DEuKG0sN.js → c4Diagram-6F5ED5ID-D5yqWyf0-B1iuFSQ1.js} +203 -203
  8. package/dist/{channel-bVcNKbrJ-C4S-4qV3.js → channel-bVcNKbrJ-DEGmvXXN.js} +1 -1
  9. package/dist/{chunk-5HRBRIJM-BjQ8go1b-733bxiZ-.js → chunk-5HRBRIJM-BjQ8go1b-BszOhLz8.js} +4 -4
  10. package/dist/{chunk-7U56Z5CX-awhAxjZ0-DpUJ4fo1.js → chunk-7U56Z5CX-awhAxjZ0-CHd4qyz3.js} +120 -120
  11. package/dist/{chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js → chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js} +1 -1
  12. package/dist/{chunk-KFBOBJHC-nixdujtH-B4639Jmi.js → chunk-KFBOBJHC-nixdujtH-DCajFn7e.js} +1 -1
  13. package/dist/{chunk-T2TOU4HS-DqOVhIzl-piSN2Cjl.js → chunk-T2TOU4HS-DqOVhIzl-1waDvYDY.js} +229 -229
  14. package/dist/{chunk-TMUBEWPD-BRIzn5gH-SlHeKBx9.js → chunk-TMUBEWPD-BRIzn5gH-Ch1SRQ7H.js} +1 -1
  15. package/dist/{classDiagram-LNE6IOMH-fQzyXfo--C9LjXboP.js → classDiagram-LNE6IOMH-fQzyXfo--BpuwdnmV.js} +4 -4
  16. package/dist/{classDiagram-v2-MQ7JQ4JX-fQzyXfo--C9LjXboP.js → classDiagram-v2-MQ7JQ4JX-fQzyXfo--BpuwdnmV.js} +4 -4
  17. package/dist/{clone-_5SW34SG-DtUOH1l1.js → clone-_5SW34SG-BWxdvZXA.js} +1 -1
  18. package/dist/{cytoscape.esm-DAyNQ0qu-B7WxGuVh.js → cytoscape.esm-DAyNQ0qu-i5PnoWfE.js} +976 -976
  19. package/dist/{dagre-4EVJKHTY-CcAruc30-DaOjmyb6.js → dagre-4EVJKHTY-CcAruc30-H9W22Yky.js} +85 -85
  20. package/dist/{diagram-QW4FP2JN-DZT_0aFO-YCKYx1k-.js → diagram-QW4FP2JN-DZT_0aFO-AmG94tp5.js} +21 -21
  21. package/dist/documentation.es.js +1 -1
  22. package/dist/{erDiagram-6RL3IURR-BfgUC5jv-CS9Q9iKF.js → erDiagram-6RL3IURR-BfgUC5jv-BNzxBFoY.js} +201 -201
  23. package/dist/{flowDiagram-7ASYPVHJ-Bo9CnsE7-CkM-DJdr.js → flowDiagram-7ASYPVHJ-Bo9CnsE7-CSLq7kw9.js} +222 -222
  24. package/dist/{ganttDiagram-NTVNEXSI-8E9hjd6N-iN-VNXrV.js → ganttDiagram-NTVNEXSI-8E9hjd6N-CjQQCbaM.js} +16 -16
  25. package/dist/{gitGraph-YCYPL57B-BnErPIwo-DWobPBzL.js → gitGraph-YCYPL57B-BnErPIwo-DxQPpoWq.js} +1 -1
  26. package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-Co4q5oQK.js → gitGraphDiagram-NRZ2UAAF-B-t90-9e-B6JY8bWo.js} +17 -17
  27. package/dist/{graph-BYZMvqpu-BpeF1PUA.js → graph-BYZMvqpu-CWGqkYZM.js} +43 -43
  28. package/dist/{index-ZM4BlVwk.js → index-BXOX6oou.js} +3487 -3487
  29. package/dist/{info-46DW6VJ7-DPpbx_vA-CnDg11wg.js → info-46DW6VJ7-DPpbx_vA-BmAPar7H.js} +1 -1
  30. package/dist/{infoDiagram-A4XQUW5V-Bo9uoOcA-WvvF1295.js → infoDiagram-A4XQUW5V-Bo9uoOcA-CtFRRRot.js} +2 -2
  31. package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-BFF_wJwi.js → journeyDiagram-G5WM74LC-BE7U42Ad-of9fN5Vr.js} +173 -173
  32. package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-LjA3yK5r.js → kanban-definition-QRCXZQQD-C-5-UNRm-DecJsseT.js} +168 -168
  33. package/dist/{katex-Qk2jHgyB-CF_fuFJb.js → katex-Qk2jHgyB-_qyJ_37x.js} +1054 -1054
  34. package/dist/{layout-BHI4imdk-DgoNZaqw.js → layout-BHI4imdk-BlkmyDbe.js} +19 -19
  35. package/dist/{linear-C2PheBya-wGRbEA3e.js → linear-C2PheBya-DijeUNjP.js} +2 -2
  36. package/dist/{mermaid-parser.core-Ce96PX3Q-DPc-bPXG.js → mermaid-parser.core-Ce96PX3Q-DtNzRUJ7.js} +32 -32
  37. package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DOvfo2r8.js → mindmap-definition-GWI6TPTV-C98Syvj2-Btvji3Oh.js} +421 -421
  38. package/dist/{packet-W2GHVCYJ-BLiQbm7T-DbS7CM6G.js → packet-W2GHVCYJ-BLiQbm7T-E8ztaW67.js} +1 -1
  39. package/dist/{pie-BEWT4RHE-D3Mbo3mT-DB-aeuYE.js → pie-BEWT4RHE-D3Mbo3mT-BGVGE8TE.js} +1 -1
  40. package/dist/{pieDiagram-YF2LJOPJ-BJV27s9B-DS-nBsbY.js → pieDiagram-YF2LJOPJ-BJV27s9B-DVrzAwZP.js} +20 -20
  41. package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-DMjI1wdt.js → quadrantDiagram-OS5C2QUG-M57vVPSx-DrN-qVPg.js} +131 -131
  42. package/dist/{requirementDiagram-MIRIMTAZ-D0KDg7rf-DeEsJ26T.js → requirementDiagram-MIRIMTAZ-D0KDg7rf-FCJNuddX.js} +77 -77
  43. package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-BA6cRE1h.js → sankeyDiagram-Y46BX6SQ-D6EdYPdp-ClC_w0Hg.js} +108 -108
  44. package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-DMtStdxJ.js → sequenceDiagram-G6AWOVSC-B171TAb1-B6jBix6L.js} +181 -181
  45. package/dist/{stateDiagram-MAYHULR4-D7FUnT9_-Du3mnoL2.js → stateDiagram-MAYHULR4-D7FUnT9_-B7dSTUAT.js} +81 -81
  46. package/dist/{stateDiagram-v2-4JROLMXI-Cyc74STT-DR1h52WB.js → stateDiagram-v2-4JROLMXI-Cyc74STT-BhUBvhmS.js} +4 -4
  47. package/dist/{timeline-definition-U7ZMHBDA-Bw-dp1yf-BO9wUMSJ.js → timeline-definition-U7ZMHBDA-Bw-dp1yf-DAx9hgzp.js} +126 -126
  48. package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CwiL6udJ.js → xychartDiagram-6QU3TZC5-CqbTSF5W-Dy5Ia8cd.js} +70 -70
  49. package/package.json +2 -2
  50. package/dist/_baseUniq-SAfYgIkf-BO_CV6Oz.js +0 -614
@@ -1,6 +1,6 @@
1
- import { _ as x, aN as _t, l as Q, af as Nt, bq as At, aY as Tt, g as st, aW as Lt, bm as Ot, aB as J, ae as tt, bn as Dt, bo as wt, bp as It } from "./index-ZM4BlVwk.js";
2
- import { N as pt } from "./cytoscape.esm-DAyNQ0qu-B7WxGuVh.js";
3
- var it = { exports: {} }, rt = { exports: {} }, nt = { exports: {} }, Ct = nt.exports, gt;
1
+ import { _ as x, l as Q, g as st, aW as _t, bk as Nt, aE as J, ad as tt, bl as At, bm as Tt, bn as Lt, a9 as Ot, bq as Dt, aY as wt, aQ as It } from "./index-BXOX6oou.js";
2
+ import { N as pt } from "./cytoscape.esm-DAyNQ0qu-i5PnoWfE.js";
3
+ var rt = { exports: {} }, it = { exports: {} }, nt = { exports: {} }, Ct = nt.exports, gt;
4
4
  function Rt() {
5
5
  return gt || (gt = 1, function(D, R) {
6
6
  (function(p, T) {
@@ -10,24 +10,24 @@ function Rt() {
10
10
  /******/
11
11
  function(p) {
12
12
  var T = {};
13
- function y(i) {
14
- if (T[i])
15
- return T[i].exports;
16
- var t = T[i] = {
13
+ function y(r) {
14
+ if (T[r])
15
+ return T[r].exports;
16
+ var t = T[r] = {
17
17
  /******/
18
- i,
18
+ i: r,
19
19
  /******/
20
20
  l: !1,
21
21
  /******/
22
22
  exports: {}
23
23
  /******/
24
24
  };
25
- return p[i].call(t.exports, t, t.exports, y), t.l = !0, t.exports;
25
+ return p[r].call(t.exports, t, t.exports, y), t.l = !0, t.exports;
26
26
  }
27
- return y.m = p, y.c = T, y.i = function(i) {
28
- return i;
29
- }, y.d = function(i, t, e) {
30
- y.o(i, t) || Object.defineProperty(i, t, {
27
+ return y.m = p, y.c = T, y.i = function(r) {
28
+ return r;
29
+ }, y.d = function(r, t, e) {
30
+ y.o(r, t) || Object.defineProperty(r, t, {
31
31
  /******/
32
32
  configurable: !1,
33
33
  /******/
@@ -36,65 +36,65 @@ function Rt() {
36
36
  get: e
37
37
  /******/
38
38
  });
39
- }, y.n = function(i) {
40
- var t = i && i.__esModule ? (
39
+ }, y.n = function(r) {
40
+ var t = r && r.__esModule ? (
41
41
  /******/
42
42
  function() {
43
- return i.default;
43
+ return r.default;
44
44
  }
45
45
  ) : (
46
46
  /******/
47
47
  function() {
48
- return i;
48
+ return r;
49
49
  }
50
50
  );
51
51
  return y.d(t, "a", t), t;
52
- }, y.o = function(i, t) {
53
- return Object.prototype.hasOwnProperty.call(i, t);
52
+ }, y.o = function(r, t) {
53
+ return Object.prototype.hasOwnProperty.call(r, t);
54
54
  }, y.p = "", y(y.s = 26);
55
55
  }([
56
56
  /* 0 */
57
57
  /***/
58
58
  function(p, T, y) {
59
- function i() {
59
+ function r() {
60
60
  }
61
- i.QUALITY = 1, i.DEFAULT_CREATE_BENDS_AS_NEEDED = !1, i.DEFAULT_INCREMENTAL = !1, i.DEFAULT_ANIMATION_ON_LAYOUT = !0, i.DEFAULT_ANIMATION_DURING_LAYOUT = !1, i.DEFAULT_ANIMATION_PERIOD = 50, i.DEFAULT_UNIFORM_LEAF_NODE_SIZES = !1, i.DEFAULT_GRAPH_MARGIN = 15, i.NODE_DIMENSIONS_INCLUDE_LABELS = !1, i.SIMPLE_NODE_SIZE = 40, i.SIMPLE_NODE_HALF_SIZE = i.SIMPLE_NODE_SIZE / 2, i.EMPTY_COMPOUND_NODE_SIZE = 40, i.MIN_EDGE_LENGTH = 1, i.WORLD_BOUNDARY = 1e6, i.INITIAL_WORLD_BOUNDARY = i.WORLD_BOUNDARY / 1e3, i.WORLD_CENTER_X = 1200, i.WORLD_CENTER_Y = 900, p.exports = i;
61
+ r.QUALITY = 1, r.DEFAULT_CREATE_BENDS_AS_NEEDED = !1, r.DEFAULT_INCREMENTAL = !1, r.DEFAULT_ANIMATION_ON_LAYOUT = !0, r.DEFAULT_ANIMATION_DURING_LAYOUT = !1, r.DEFAULT_ANIMATION_PERIOD = 50, r.DEFAULT_UNIFORM_LEAF_NODE_SIZES = !1, r.DEFAULT_GRAPH_MARGIN = 15, r.NODE_DIMENSIONS_INCLUDE_LABELS = !1, r.SIMPLE_NODE_SIZE = 40, r.SIMPLE_NODE_HALF_SIZE = r.SIMPLE_NODE_SIZE / 2, r.EMPTY_COMPOUND_NODE_SIZE = 40, r.MIN_EDGE_LENGTH = 1, r.WORLD_BOUNDARY = 1e6, r.INITIAL_WORLD_BOUNDARY = r.WORLD_BOUNDARY / 1e3, r.WORLD_CENTER_X = 1200, r.WORLD_CENTER_Y = 900, p.exports = r;
62
62
  },
63
63
  /* 1 */
64
64
  /***/
65
65
  function(p, T, y) {
66
- var i = y(2), t = y(8), e = y(9);
67
- function r(h, s, f) {
68
- i.call(this, f), this.isOverlapingSourceAndTarget = !1, this.vGraphObject = f, this.bendpoints = [], this.source = h, this.target = s;
66
+ var r = y(2), t = y(8), e = y(9);
67
+ function i(h, s, f) {
68
+ r.call(this, f), this.isOverlapingSourceAndTarget = !1, this.vGraphObject = f, this.bendpoints = [], this.source = h, this.target = s;
69
69
  }
70
- r.prototype = Object.create(i.prototype);
71
- for (var a in i)
72
- r[a] = i[a];
73
- r.prototype.getSource = function() {
70
+ i.prototype = Object.create(r.prototype);
71
+ for (var a in r)
72
+ i[a] = r[a];
73
+ i.prototype.getSource = function() {
74
74
  return this.source;
75
- }, r.prototype.getTarget = function() {
75
+ }, i.prototype.getTarget = function() {
76
76
  return this.target;
77
- }, r.prototype.isInterGraph = function() {
77
+ }, i.prototype.isInterGraph = function() {
78
78
  return this.isInterGraph;
79
- }, r.prototype.getLength = function() {
79
+ }, i.prototype.getLength = function() {
80
80
  return this.length;
81
- }, r.prototype.isOverlapingSourceAndTarget = function() {
81
+ }, i.prototype.isOverlapingSourceAndTarget = function() {
82
82
  return this.isOverlapingSourceAndTarget;
83
- }, r.prototype.getBendpoints = function() {
83
+ }, i.prototype.getBendpoints = function() {
84
84
  return this.bendpoints;
85
- }, r.prototype.getLca = function() {
85
+ }, i.prototype.getLca = function() {
86
86
  return this.lca;
87
- }, r.prototype.getSourceInLca = function() {
87
+ }, i.prototype.getSourceInLca = function() {
88
88
  return this.sourceInLca;
89
- }, r.prototype.getTargetInLca = function() {
89
+ }, i.prototype.getTargetInLca = function() {
90
90
  return this.targetInLca;
91
- }, r.prototype.getOtherEnd = function(h) {
91
+ }, i.prototype.getOtherEnd = function(h) {
92
92
  if (this.source === h)
93
93
  return this.target;
94
94
  if (this.target === h)
95
95
  return this.source;
96
96
  throw "Node is not incident with this edge";
97
- }, r.prototype.getOtherEndInGraph = function(h, s) {
97
+ }, i.prototype.getOtherEndInGraph = function(h, s) {
98
98
  for (var f = this.getOtherEnd(h), o = s.getGraphManager().getRoot(); ; ) {
99
99
  if (f.getOwner() == s)
100
100
  return f;
@@ -103,31 +103,31 @@ function Rt() {
103
103
  f = f.getOwner().getParent();
104
104
  }
105
105
  return null;
106
- }, r.prototype.updateLength = function() {
106
+ }, i.prototype.updateLength = function() {
107
107
  var h = new Array(4);
108
108
  this.isOverlapingSourceAndTarget = t.getIntersection(this.target.getRect(), this.source.getRect(), h), this.isOverlapingSourceAndTarget || (this.lengthX = h[0] - h[2], this.lengthY = h[1] - h[3], Math.abs(this.lengthX) < 1 && (this.lengthX = e.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = e.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY));
109
- }, r.prototype.updateLengthSimple = function() {
109
+ }, i.prototype.updateLengthSimple = function() {
110
110
  this.lengthX = this.target.getCenterX() - this.source.getCenterX(), this.lengthY = this.target.getCenterY() - this.source.getCenterY(), Math.abs(this.lengthX) < 1 && (this.lengthX = e.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = e.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY);
111
- }, p.exports = r;
111
+ }, p.exports = i;
112
112
  },
113
113
  /* 2 */
114
114
  /***/
115
115
  function(p, T, y) {
116
- function i(t) {
116
+ function r(t) {
117
117
  this.vGraphObject = t;
118
118
  }
119
- p.exports = i;
119
+ p.exports = r;
120
120
  },
121
121
  /* 3 */
122
122
  /***/
123
123
  function(p, T, y) {
124
- var i = y(2), t = y(10), e = y(13), r = y(0), a = y(16), h = y(4);
124
+ var r = y(2), t = y(10), e = y(13), i = y(0), a = y(16), h = y(4);
125
125
  function s(o, d, c, E) {
126
- c == null && E == null && (E = d), i.call(this, E), o.graphManager != null && (o = o.graphManager), this.estimatedSize = t.MIN_VALUE, this.inclusionTreeDepth = t.MAX_VALUE, this.vGraphObject = E, this.edges = [], this.graphManager = o, c != null && d != null ? this.rect = new e(d.x, d.y, c.width, c.height) : this.rect = new e();
126
+ c == null && E == null && (E = d), r.call(this, E), o.graphManager != null && (o = o.graphManager), this.estimatedSize = t.MIN_VALUE, this.inclusionTreeDepth = t.MAX_VALUE, this.vGraphObject = E, this.edges = [], this.graphManager = o, c != null && d != null ? this.rect = new e(d.x, d.y, c.width, c.height) : this.rect = new e();
127
127
  }
128
- s.prototype = Object.create(i.prototype);
129
- for (var f in i)
130
- s[f] = i[f];
128
+ s.prototype = Object.create(r.prototype);
129
+ for (var f in r)
130
+ s[f] = r[f];
131
131
  s.prototype.getEdges = function() {
132
132
  return this.edges;
133
133
  }, s.prototype.getChild = function() {
@@ -212,16 +212,16 @@ function Rt() {
212
212
  }, s.prototype.calcEstimatedSize = function() {
213
213
  return this.child == null ? this.estimatedSize = (this.rect.width + this.rect.height) / 2 : (this.estimatedSize = this.child.calcEstimatedSize(), this.rect.width = this.estimatedSize, this.rect.height = this.estimatedSize, this.estimatedSize);
214
214
  }, s.prototype.scatter = function() {
215
- var o, d, c = -r.INITIAL_WORLD_BOUNDARY, E = r.INITIAL_WORLD_BOUNDARY;
216
- o = r.WORLD_CENTER_X + a.nextDouble() * (E - c) + c;
217
- var _ = -r.INITIAL_WORLD_BOUNDARY, m = r.INITIAL_WORLD_BOUNDARY;
218
- d = r.WORLD_CENTER_Y + a.nextDouble() * (m - _) + _, this.rect.x = o, this.rect.y = d;
215
+ var o, d, c = -i.INITIAL_WORLD_BOUNDARY, E = i.INITIAL_WORLD_BOUNDARY;
216
+ o = i.WORLD_CENTER_X + a.nextDouble() * (E - c) + c;
217
+ var _ = -i.INITIAL_WORLD_BOUNDARY, m = i.INITIAL_WORLD_BOUNDARY;
218
+ d = i.WORLD_CENTER_Y + a.nextDouble() * (m - _) + _, this.rect.x = o, this.rect.y = d;
219
219
  }, s.prototype.updateBounds = function() {
220
220
  if (this.getChild() == null)
221
221
  throw "assert failed";
222
222
  if (this.getChild().getNodes().length != 0) {
223
223
  var o = this.getChild();
224
- if (o.updateBounds(!0), this.rect.x = o.getLeft(), this.rect.y = o.getTop(), this.setWidth(o.getRight() - o.getLeft()), this.setHeight(o.getBottom() - o.getTop()), r.NODE_DIMENSIONS_INCLUDE_LABELS) {
224
+ if (o.updateBounds(!0), this.rect.x = o.getLeft(), this.rect.y = o.getTop(), this.setWidth(o.getRight() - o.getLeft()), this.setHeight(o.getBottom() - o.getTop()), i.NODE_DIMENSIONS_INCLUDE_LABELS) {
225
225
  var d = o.getRight() - o.getLeft(), c = o.getBottom() - o.getTop();
226
226
  this.labelWidth > d && (this.rect.x -= (this.labelWidth - d) / 2, this.setWidth(this.labelWidth)), this.labelHeight > c && (this.labelPos == "center" ? this.rect.y -= (this.labelHeight - c) / 2 : this.labelPos == "top" && (this.rect.y -= this.labelHeight - c), this.setHeight(this.labelHeight));
227
227
  }
@@ -232,9 +232,9 @@ function Rt() {
232
232
  return this.inclusionTreeDepth;
233
233
  }, s.prototype.transform = function(o) {
234
234
  var d = this.rect.x;
235
- d > r.WORLD_BOUNDARY ? d = r.WORLD_BOUNDARY : d < -r.WORLD_BOUNDARY && (d = -r.WORLD_BOUNDARY);
235
+ d > i.WORLD_BOUNDARY ? d = i.WORLD_BOUNDARY : d < -i.WORLD_BOUNDARY && (d = -i.WORLD_BOUNDARY);
236
236
  var c = this.rect.y;
237
- c > r.WORLD_BOUNDARY ? c = r.WORLD_BOUNDARY : c < -r.WORLD_BOUNDARY && (c = -r.WORLD_BOUNDARY);
237
+ c > i.WORLD_BOUNDARY ? c = i.WORLD_BOUNDARY : c < -i.WORLD_BOUNDARY && (c = -i.WORLD_BOUNDARY);
238
238
  var E = new h(d, c), _ = o.inverseTransformPoint(E);
239
239
  this.setLocation(_.x, _.y);
240
240
  }, s.prototype.getLeft = function() {
@@ -252,35 +252,35 @@ function Rt() {
252
252
  /* 4 */
253
253
  /***/
254
254
  function(p, T, y) {
255
- function i(t, e) {
255
+ function r(t, e) {
256
256
  t == null && e == null ? (this.x = 0, this.y = 0) : (this.x = t, this.y = e);
257
257
  }
258
- i.prototype.getX = function() {
258
+ r.prototype.getX = function() {
259
259
  return this.x;
260
- }, i.prototype.getY = function() {
260
+ }, r.prototype.getY = function() {
261
261
  return this.y;
262
- }, i.prototype.setX = function(t) {
262
+ }, r.prototype.setX = function(t) {
263
263
  this.x = t;
264
- }, i.prototype.setY = function(t) {
264
+ }, r.prototype.setY = function(t) {
265
265
  this.y = t;
266
- }, i.prototype.getDifference = function(t) {
266
+ }, r.prototype.getDifference = function(t) {
267
267
  return new DimensionD(this.x - t.x, this.y - t.y);
268
- }, i.prototype.getCopy = function() {
269
- return new i(this.x, this.y);
270
- }, i.prototype.translate = function(t) {
268
+ }, r.prototype.getCopy = function() {
269
+ return new r(this.x, this.y);
270
+ }, r.prototype.translate = function(t) {
271
271
  return this.x += t.width, this.y += t.height, this;
272
- }, p.exports = i;
272
+ }, p.exports = r;
273
273
  },
274
274
  /* 5 */
275
275
  /***/
276
276
  function(p, T, y) {
277
- var i = y(2), t = y(10), e = y(0), r = y(6), a = y(3), h = y(1), s = y(13), f = y(12), o = y(11);
277
+ var r = y(2), t = y(10), e = y(0), i = y(6), a = y(3), h = y(1), s = y(13), f = y(12), o = y(11);
278
278
  function d(E, _, m) {
279
- i.call(this, m), this.estimatedSize = t.MIN_VALUE, this.margin = e.DEFAULT_GRAPH_MARGIN, this.edges = [], this.nodes = [], this.isConnected = !1, this.parent = E, _ != null && _ instanceof r ? this.graphManager = _ : _ != null && _ instanceof Layout && (this.graphManager = _.graphManager);
279
+ r.call(this, m), this.estimatedSize = t.MIN_VALUE, this.margin = e.DEFAULT_GRAPH_MARGIN, this.edges = [], this.nodes = [], this.isConnected = !1, this.parent = E, _ != null && _ instanceof i ? this.graphManager = _ : _ != null && _ instanceof Layout && (this.graphManager = _.graphManager);
280
280
  }
281
- d.prototype = Object.create(i.prototype);
282
- for (var c in i)
283
- d[c] = i[c];
281
+ d.prototype = Object.create(r.prototype);
282
+ for (var c in r)
283
+ d[c] = r[c];
284
284
  d.prototype.getNodes = function() {
285
285
  return this.nodes;
286
286
  }, d.prototype.getEdges = function() {
@@ -411,28 +411,28 @@ function Rt() {
411
411
  /* 6 */
412
412
  /***/
413
413
  function(p, T, y) {
414
- var i, t = y(1);
415
- function e(r) {
416
- i = y(5), this.layout = r, this.graphs = [], this.edges = [];
414
+ var r, t = y(1);
415
+ function e(i) {
416
+ r = y(5), this.layout = i, this.graphs = [], this.edges = [];
417
417
  }
418
418
  e.prototype.addRoot = function() {
419
- var r = this.layout.newGraph(), a = this.layout.newNode(null), h = this.add(r, a);
419
+ var i = this.layout.newGraph(), a = this.layout.newNode(null), h = this.add(i, a);
420
420
  return this.setRootGraph(h), this.rootGraph;
421
- }, e.prototype.add = function(r, a, h, s, f) {
421
+ }, e.prototype.add = function(i, a, h, s, f) {
422
422
  if (h == null && s == null && f == null) {
423
- if (r == null)
423
+ if (i == null)
424
424
  throw "Graph is null!";
425
425
  if (a == null)
426
426
  throw "Parent node is null!";
427
- if (this.graphs.indexOf(r) > -1)
427
+ if (this.graphs.indexOf(i) > -1)
428
428
  throw "Graph already in this graph mgr!";
429
- if (this.graphs.push(r), r.parent != null)
429
+ if (this.graphs.push(i), i.parent != null)
430
430
  throw "Already has a parent!";
431
431
  if (a.child != null)
432
432
  throw "Already has a child!";
433
- return r.parent = a, a.child = r, r;
433
+ return i.parent = a, a.child = i, i;
434
434
  } else {
435
- f = h, s = a, h = r;
435
+ f = h, s = a, h = i;
436
436
  var o = s.getOwner(), d = f.getOwner();
437
437
  if (!(o != null && o.getGraphManager() == this))
438
438
  throw "Source not in this graph mgr!";
@@ -448,9 +448,9 @@ function Rt() {
448
448
  throw "Edge already in source and/or target incidency list!";
449
449
  return h.source.edges.push(h), h.target.edges.push(h), h;
450
450
  }
451
- }, e.prototype.remove = function(r) {
452
- if (r instanceof i) {
453
- var a = r;
451
+ }, e.prototype.remove = function(i) {
452
+ if (i instanceof r) {
453
+ var a = i;
454
454
  if (a.getGraphManager() != this)
455
455
  throw "Graph not in this graph mgr";
456
456
  if (!(a == this.rootGraph || a.parent != null && a.parent.graphManager == this))
@@ -468,8 +468,8 @@ function Rt() {
468
468
  a == this.rootGraph && this.setRootGraph(null);
469
469
  var E = this.graphs.indexOf(a);
470
470
  this.graphs.splice(E, 1), a.parent = null;
471
- } else if (r instanceof t) {
472
- if (s = r, s == null)
471
+ } else if (i instanceof t) {
472
+ if (s = i, s == null)
473
473
  throw "Edge is null!";
474
474
  if (!s.isInterGraph)
475
475
  throw "Not an inter-graph edge!";
@@ -491,9 +491,9 @@ function Rt() {
491
491
  return this.graphs;
492
492
  }, e.prototype.getAllNodes = function() {
493
493
  if (this.allNodes == null) {
494
- for (var r = [], a = this.getGraphs(), h = a.length, s = 0; s < h; s++)
495
- r = r.concat(a[s].getNodes());
496
- this.allNodes = r;
494
+ for (var i = [], a = this.getGraphs(), h = a.length, s = 0; s < h; s++)
495
+ i = i.concat(a[s].getNodes());
496
+ this.allNodes = i;
497
497
  }
498
498
  return this.allNodes;
499
499
  }, e.prototype.resetAllNodes = function() {
@@ -504,33 +504,33 @@ function Rt() {
504
504
  this.allNodesToApplyGravitation = null;
505
505
  }, e.prototype.getAllEdges = function() {
506
506
  if (this.allEdges == null) {
507
- var r = [], a = this.getGraphs();
507
+ var i = [], a = this.getGraphs();
508
508
  a.length;
509
509
  for (var h = 0; h < a.length; h++)
510
- r = r.concat(a[h].getEdges());
511
- r = r.concat(this.edges), this.allEdges = r;
510
+ i = i.concat(a[h].getEdges());
511
+ i = i.concat(this.edges), this.allEdges = i;
512
512
  }
513
513
  return this.allEdges;
514
514
  }, e.prototype.getAllNodesToApplyGravitation = function() {
515
515
  return this.allNodesToApplyGravitation;
516
- }, e.prototype.setAllNodesToApplyGravitation = function(r) {
516
+ }, e.prototype.setAllNodesToApplyGravitation = function(i) {
517
517
  if (this.allNodesToApplyGravitation != null)
518
518
  throw "assert failed";
519
- this.allNodesToApplyGravitation = r;
519
+ this.allNodesToApplyGravitation = i;
520
520
  }, e.prototype.getRoot = function() {
521
521
  return this.rootGraph;
522
- }, e.prototype.setRootGraph = function(r) {
523
- if (r.getGraphManager() != this)
522
+ }, e.prototype.setRootGraph = function(i) {
523
+ if (i.getGraphManager() != this)
524
524
  throw "Root not in this graph mgr!";
525
- this.rootGraph = r, r.parent == null && (r.parent = this.layout.newNode("Root node"));
525
+ this.rootGraph = i, i.parent == null && (i.parent = this.layout.newNode("Root node"));
526
526
  }, e.prototype.getLayout = function() {
527
527
  return this.layout;
528
- }, e.prototype.isOneAncestorOfOther = function(r, a) {
529
- if (!(r != null && a != null))
528
+ }, e.prototype.isOneAncestorOfOther = function(i, a) {
529
+ if (!(i != null && a != null))
530
530
  throw "assert failed";
531
- if (r == a)
531
+ if (i == a)
532
532
  return !0;
533
- var h = r.getOwner(), s;
533
+ var h = i.getOwner(), s;
534
534
  do {
535
535
  if (s = h.getParent(), s == null)
536
536
  break;
@@ -543,41 +543,41 @@ function Rt() {
543
543
  do {
544
544
  if (s = h.getParent(), s == null)
545
545
  break;
546
- if (s == r)
546
+ if (s == i)
547
547
  return !0;
548
548
  if (h = s.getOwner(), h == null)
549
549
  break;
550
550
  } while (!0);
551
551
  return !1;
552
552
  }, e.prototype.calcLowestCommonAncestors = function() {
553
- for (var r, a, h, s, f, o = this.getAllEdges(), d = o.length, c = 0; c < d; c++) {
554
- if (r = o[c], a = r.source, h = r.target, r.lca = null, r.sourceInLca = a, r.targetInLca = h, a == h) {
555
- r.lca = a.getOwner();
553
+ for (var i, a, h, s, f, o = this.getAllEdges(), d = o.length, c = 0; c < d; c++) {
554
+ if (i = o[c], a = i.source, h = i.target, i.lca = null, i.sourceInLca = a, i.targetInLca = h, a == h) {
555
+ i.lca = a.getOwner();
556
556
  continue;
557
557
  }
558
- for (s = a.getOwner(); r.lca == null; ) {
559
- for (r.targetInLca = h, f = h.getOwner(); r.lca == null; ) {
558
+ for (s = a.getOwner(); i.lca == null; ) {
559
+ for (i.targetInLca = h, f = h.getOwner(); i.lca == null; ) {
560
560
  if (f == s) {
561
- r.lca = f;
561
+ i.lca = f;
562
562
  break;
563
563
  }
564
564
  if (f == this.rootGraph)
565
565
  break;
566
- if (r.lca != null)
566
+ if (i.lca != null)
567
567
  throw "assert failed";
568
- r.targetInLca = f.getParent(), f = r.targetInLca.getOwner();
568
+ i.targetInLca = f.getParent(), f = i.targetInLca.getOwner();
569
569
  }
570
570
  if (s == this.rootGraph)
571
571
  break;
572
- r.lca == null && (r.sourceInLca = s.getParent(), s = r.sourceInLca.getOwner());
572
+ i.lca == null && (i.sourceInLca = s.getParent(), s = i.sourceInLca.getOwner());
573
573
  }
574
- if (r.lca == null)
574
+ if (i.lca == null)
575
575
  throw "assert failed";
576
576
  }
577
- }, e.prototype.calcLowestCommonAncestor = function(r, a) {
578
- if (r == a)
579
- return r.getOwner();
580
- var h = r.getOwner();
577
+ }, e.prototype.calcLowestCommonAncestor = function(i, a) {
578
+ if (i == a)
579
+ return i.getOwner();
580
+ var h = i.getOwner();
581
581
  do {
582
582
  if (h == null)
583
583
  break;
@@ -592,13 +592,13 @@ function Rt() {
592
592
  h = h.getParent().getOwner();
593
593
  } while (!0);
594
594
  return h;
595
- }, e.prototype.calcInclusionTreeDepths = function(r, a) {
596
- r == null && a == null && (r = this.rootGraph, a = 1);
597
- for (var h, s = r.getNodes(), f = s.length, o = 0; o < f; o++)
595
+ }, e.prototype.calcInclusionTreeDepths = function(i, a) {
596
+ i == null && a == null && (i = this.rootGraph, a = 1);
597
+ for (var h, s = i.getNodes(), f = s.length, o = 0; o < f; o++)
598
598
  h = s[o], h.inclusionTreeDepth = a, h.child != null && this.calcInclusionTreeDepths(h.child, a + 1);
599
599
  }, e.prototype.includesInvalidEdge = function() {
600
- for (var r, a = this.edges.length, h = 0; h < a; h++)
601
- if (r = this.edges[h], this.isOneAncestorOfOther(r.source, r.target))
600
+ for (var i, a = this.edges.length, h = 0; h < a; h++)
601
+ if (i = this.edges[h], this.isOneAncestorOfOther(i.source, i.target))
602
602
  return !0;
603
603
  return !1;
604
604
  }, p.exports = e;
@@ -606,35 +606,35 @@ function Rt() {
606
606
  /* 7 */
607
607
  /***/
608
608
  function(p, T, y) {
609
- var i = y(0);
609
+ var r = y(0);
610
610
  function t() {
611
611
  }
612
- for (var e in i)
613
- t[e] = i[e];
612
+ for (var e in r)
613
+ t[e] = r[e];
614
614
  t.MAX_ITERATIONS = 2500, t.DEFAULT_EDGE_LENGTH = 50, t.DEFAULT_SPRING_STRENGTH = 0.45, t.DEFAULT_REPULSION_STRENGTH = 4500, t.DEFAULT_GRAVITY_STRENGTH = 0.4, t.DEFAULT_COMPOUND_GRAVITY_STRENGTH = 1, t.DEFAULT_GRAVITY_RANGE_FACTOR = 3.8, t.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = 1.5, t.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION = !0, t.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION = !0, t.DEFAULT_COOLING_FACTOR_INCREMENTAL = 0.3, t.COOLING_ADAPTATION_FACTOR = 0.33, t.ADAPTATION_LOWER_NODE_LIMIT = 1e3, t.ADAPTATION_UPPER_NODE_LIMIT = 5e3, t.MAX_NODE_DISPLACEMENT_INCREMENTAL = 100, t.MAX_NODE_DISPLACEMENT = t.MAX_NODE_DISPLACEMENT_INCREMENTAL * 3, t.MIN_REPULSION_DIST = t.DEFAULT_EDGE_LENGTH / 10, t.CONVERGENCE_CHECK_PERIOD = 100, t.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = 0.1, t.MIN_EDGE_LENGTH = 1, t.GRID_CALCULATION_CHECK_PERIOD = 10, p.exports = t;
615
615
  },
616
616
  /* 8 */
617
617
  /***/
618
618
  function(p, T, y) {
619
- var i = y(12);
619
+ var r = y(12);
620
620
  function t() {
621
621
  }
622
- t.calcSeparationAmount = function(e, r, a, h) {
623
- if (!e.intersects(r))
622
+ t.calcSeparationAmount = function(e, i, a, h) {
623
+ if (!e.intersects(i))
624
624
  throw "assert failed";
625
625
  var s = new Array(2);
626
- this.decideDirectionsForOverlappingNodes(e, r, s), a[0] = Math.min(e.getRight(), r.getRight()) - Math.max(e.x, r.x), a[1] = Math.min(e.getBottom(), r.getBottom()) - Math.max(e.y, r.y), e.getX() <= r.getX() && e.getRight() >= r.getRight() ? a[0] += Math.min(r.getX() - e.getX(), e.getRight() - r.getRight()) : r.getX() <= e.getX() && r.getRight() >= e.getRight() && (a[0] += Math.min(e.getX() - r.getX(), r.getRight() - e.getRight())), e.getY() <= r.getY() && e.getBottom() >= r.getBottom() ? a[1] += Math.min(r.getY() - e.getY(), e.getBottom() - r.getBottom()) : r.getY() <= e.getY() && r.getBottom() >= e.getBottom() && (a[1] += Math.min(e.getY() - r.getY(), r.getBottom() - e.getBottom()));
627
- var f = Math.abs((r.getCenterY() - e.getCenterY()) / (r.getCenterX() - e.getCenterX()));
628
- r.getCenterY() === e.getCenterY() && r.getCenterX() === e.getCenterX() && (f = 1);
626
+ this.decideDirectionsForOverlappingNodes(e, i, s), a[0] = Math.min(e.getRight(), i.getRight()) - Math.max(e.x, i.x), a[1] = Math.min(e.getBottom(), i.getBottom()) - Math.max(e.y, i.y), e.getX() <= i.getX() && e.getRight() >= i.getRight() ? a[0] += Math.min(i.getX() - e.getX(), e.getRight() - i.getRight()) : i.getX() <= e.getX() && i.getRight() >= e.getRight() && (a[0] += Math.min(e.getX() - i.getX(), i.getRight() - e.getRight())), e.getY() <= i.getY() && e.getBottom() >= i.getBottom() ? a[1] += Math.min(i.getY() - e.getY(), e.getBottom() - i.getBottom()) : i.getY() <= e.getY() && i.getBottom() >= e.getBottom() && (a[1] += Math.min(e.getY() - i.getY(), i.getBottom() - e.getBottom()));
627
+ var f = Math.abs((i.getCenterY() - e.getCenterY()) / (i.getCenterX() - e.getCenterX()));
628
+ i.getCenterY() === e.getCenterY() && i.getCenterX() === e.getCenterX() && (f = 1);
629
629
  var o = f * a[0], d = a[1] / f;
630
630
  a[0] < d ? d = a[0] : o = a[1], a[0] = -1 * s[0] * (d / 2 + h), a[1] = -1 * s[1] * (o / 2 + h);
631
- }, t.decideDirectionsForOverlappingNodes = function(e, r, a) {
632
- e.getCenterX() < r.getCenterX() ? a[0] = -1 : a[0] = 1, e.getCenterY() < r.getCenterY() ? a[1] = -1 : a[1] = 1;
633
- }, t.getIntersection2 = function(e, r, a) {
634
- var h = e.getCenterX(), s = e.getCenterY(), f = r.getCenterX(), o = r.getCenterY();
635
- if (e.intersects(r))
631
+ }, t.decideDirectionsForOverlappingNodes = function(e, i, a) {
632
+ e.getCenterX() < i.getCenterX() ? a[0] = -1 : a[0] = 1, e.getCenterY() < i.getCenterY() ? a[1] = -1 : a[1] = 1;
633
+ }, t.getIntersection2 = function(e, i, a) {
634
+ var h = e.getCenterX(), s = e.getCenterY(), f = i.getCenterX(), o = i.getCenterY();
635
+ if (e.intersects(i))
636
636
  return a[0] = h, a[1] = s, a[2] = f, a[3] = o, !0;
637
- var d = e.getX(), c = e.getY(), E = e.getRight(), _ = e.getX(), m = e.getBottom(), N = e.getRight(), L = e.getWidthHalf(), g = e.getHeightHalf(), O = r.getX(), n = r.getY(), u = r.getRight(), l = r.getX(), v = r.getBottom(), A = r.getRight(), w = r.getWidthHalf(), I = r.getHeightHalf(), C = !1, G = !1;
637
+ var d = e.getX(), c = e.getY(), E = e.getRight(), _ = e.getX(), m = e.getBottom(), N = e.getRight(), L = e.getWidthHalf(), g = e.getHeightHalf(), O = i.getX(), n = i.getY(), u = i.getRight(), l = i.getX(), v = i.getBottom(), A = i.getRight(), w = i.getWidthHalf(), I = i.getHeightHalf(), C = !1, G = !1;
638
638
  if (h === f) {
639
639
  if (s > o)
640
640
  return a[0] = h, a[1] = c, a[2] = f, a[3] = v, !1;
@@ -646,7 +646,7 @@ function Rt() {
646
646
  if (h < f)
647
647
  return a[0] = E, a[1] = s, a[2] = O, a[3] = o, !1;
648
648
  } else {
649
- var U = e.height / e.width, b = r.height / r.width, M = (o - s) / (f - h), S = void 0, F = void 0, k = void 0, Y = void 0, X = void 0, P = void 0;
649
+ var U = e.height / e.width, b = i.height / i.width, M = (o - s) / (f - h), S = void 0, F = void 0, k = void 0, Y = void 0, X = void 0, P = void 0;
650
650
  if (-U === M ? h > f ? (a[0] = _, a[1] = m, C = !0) : (a[0] = E, a[1] = c, C = !0) : U === M && (h > f ? (a[0] = d, a[1] = c, C = !0) : (a[0] = N, a[1] = m, C = !0)), -b === M ? f > h ? (a[2] = l, a[3] = v, G = !0) : (a[2] = u, a[3] = n, G = !0) : b === M && (f > h ? (a[2] = O, a[3] = n, G = !0) : (a[2] = A, a[3] = v, G = !0)), C && G)
651
651
  return !1;
652
652
  if (h > f ? s > o ? (S = this.getCardinalDirection(U, M, 4), F = this.getCardinalDirection(b, M, 2)) : (S = this.getCardinalDirection(-U, M, 3), F = this.getCardinalDirection(-b, M, 1)) : s > o ? (S = this.getCardinalDirection(-U, M, 1), F = this.getCardinalDirection(-b, M, 3)) : (S = this.getCardinalDirection(U, M, 2), F = this.getCardinalDirection(b, M, 4)), !C)
@@ -681,18 +681,18 @@ function Rt() {
681
681
  }
682
682
  }
683
683
  return !1;
684
- }, t.getCardinalDirection = function(e, r, a) {
685
- return e > r ? a : 1 + a % 4;
686
- }, t.getIntersection = function(e, r, a, h) {
684
+ }, t.getCardinalDirection = function(e, i, a) {
685
+ return e > i ? a : 1 + a % 4;
686
+ }, t.getIntersection = function(e, i, a, h) {
687
687
  if (h == null)
688
- return this.getIntersection2(e, r, a);
689
- var s = e.x, f = e.y, o = r.x, d = r.y, c = a.x, E = a.y, _ = h.x, m = h.y, N = void 0, L = void 0, g = void 0, O = void 0, n = void 0, u = void 0, l = void 0, v = void 0, A = void 0;
690
- return g = d - f, n = s - o, l = o * f - s * d, O = m - E, u = c - _, v = _ * E - c * m, A = g * u - O * n, A === 0 ? null : (N = (n * v - u * l) / A, L = (O * l - g * v) / A, new i(N, L));
691
- }, t.angleOfVector = function(e, r, a, h) {
688
+ return this.getIntersection2(e, i, a);
689
+ var s = e.x, f = e.y, o = i.x, d = i.y, c = a.x, E = a.y, _ = h.x, m = h.y, N = void 0, L = void 0, g = void 0, O = void 0, n = void 0, u = void 0, l = void 0, v = void 0, A = void 0;
690
+ return g = d - f, n = s - o, l = o * f - s * d, O = m - E, u = c - _, v = _ * E - c * m, A = g * u - O * n, A === 0 ? null : (N = (n * v - u * l) / A, L = (O * l - g * v) / A, new r(N, L));
691
+ }, t.angleOfVector = function(e, i, a, h) {
692
692
  var s = void 0;
693
- return e !== a ? (s = Math.atan((h - r) / (a - e)), a < e ? s += Math.PI : h < r && (s += this.TWO_PI)) : h < r ? s = this.ONE_AND_HALF_PI : s = this.HALF_PI, s;
694
- }, t.doIntersect = function(e, r, a, h) {
695
- var s = e.x, f = e.y, o = r.x, d = r.y, c = a.x, E = a.y, _ = h.x, m = h.y, N = (o - s) * (m - E) - (_ - c) * (d - f);
693
+ return e !== a ? (s = Math.atan((h - i) / (a - e)), a < e ? s += Math.PI : h < i && (s += this.TWO_PI)) : h < i ? s = this.ONE_AND_HALF_PI : s = this.HALF_PI, s;
694
+ }, t.doIntersect = function(e, i, a, h) {
695
+ var s = e.x, f = e.y, o = i.x, d = i.y, c = a.x, E = a.y, _ = h.x, m = h.y, N = (o - s) * (m - E) - (_ - c) * (d - f);
696
696
  if (N === 0)
697
697
  return !1;
698
698
  var L = ((m - E) * (_ - s) + (c - _) * (m - f)) / N, g = ((f - d) * (_ - s) + (o - s) * (m - f)) / N;
@@ -702,27 +702,27 @@ function Rt() {
702
702
  /* 9 */
703
703
  /***/
704
704
  function(p, T, y) {
705
- function i() {
705
+ function r() {
706
706
  }
707
- i.sign = function(t) {
707
+ r.sign = function(t) {
708
708
  return t > 0 ? 1 : t < 0 ? -1 : 0;
709
- }, i.floor = function(t) {
709
+ }, r.floor = function(t) {
710
710
  return t < 0 ? Math.ceil(t) : Math.floor(t);
711
- }, i.ceil = function(t) {
711
+ }, r.ceil = function(t) {
712
712
  return t < 0 ? Math.floor(t) : Math.ceil(t);
713
- }, p.exports = i;
713
+ }, p.exports = r;
714
714
  },
715
715
  /* 10 */
716
716
  /***/
717
717
  function(p, T, y) {
718
- function i() {
718
+ function r() {
719
719
  }
720
- i.MAX_VALUE = 2147483647, i.MIN_VALUE = -2147483648, p.exports = i;
720
+ r.MAX_VALUE = 2147483647, r.MIN_VALUE = -2147483648, p.exports = r;
721
721
  },
722
722
  /* 11 */
723
723
  /***/
724
724
  function(p, T, y) {
725
- var i = /* @__PURE__ */ function() {
725
+ var r = /* @__PURE__ */ function() {
726
726
  function s(f, o) {
727
727
  for (var d = 0; d < o.length; d++) {
728
728
  var c = o[d];
@@ -739,7 +739,7 @@ function Rt() {
739
739
  }
740
740
  var e = function(s) {
741
741
  return { value: s, next: null, prev: null };
742
- }, r = function(s, f, o, d) {
742
+ }, i = function(s, f, o, d) {
743
743
  return s !== null ? s.next = f : d.head = f, o !== null ? o.prev = f : d.tail = f, f.prev = s, f.next = o, d.length++, f;
744
744
  }, a = function(s, f) {
745
745
  var o = s.prev, d = s.next;
@@ -751,7 +751,7 @@ function Rt() {
751
751
  return o.push(d);
752
752
  });
753
753
  }
754
- return i(s, [{
754
+ return r(s, [{
755
755
  key: "size",
756
756
  value: function() {
757
757
  return this.length;
@@ -759,32 +759,32 @@ function Rt() {
759
759
  }, {
760
760
  key: "insertBefore",
761
761
  value: function(f, o) {
762
- return r(o.prev, e(f), o, this);
762
+ return i(o.prev, e(f), o, this);
763
763
  }
764
764
  }, {
765
765
  key: "insertAfter",
766
766
  value: function(f, o) {
767
- return r(o, e(f), o.next, this);
767
+ return i(o, e(f), o.next, this);
768
768
  }
769
769
  }, {
770
770
  key: "insertNodeBefore",
771
771
  value: function(f, o) {
772
- return r(o.prev, f, o, this);
772
+ return i(o.prev, f, o, this);
773
773
  }
774
774
  }, {
775
775
  key: "insertNodeAfter",
776
776
  value: function(f, o) {
777
- return r(o, f, o.next, this);
777
+ return i(o, f, o.next, this);
778
778
  }
779
779
  }, {
780
780
  key: "push",
781
781
  value: function(f) {
782
- return r(this.tail, e(f), null, this);
782
+ return i(this.tail, e(f), null, this);
783
783
  }
784
784
  }, {
785
785
  key: "unshift",
786
786
  value: function(f) {
787
- return r(null, e(f), this.head, this);
787
+ return i(null, e(f), this.head, this);
788
788
  }
789
789
  }, {
790
790
  key: "remove",
@@ -836,81 +836,81 @@ function Rt() {
836
836
  /* 12 */
837
837
  /***/
838
838
  function(p, T, y) {
839
- function i(t, e, r) {
840
- this.x = null, this.y = null, t == null && e == null && r == null ? (this.x = 0, this.y = 0) : typeof t == "number" && typeof e == "number" && r == null ? (this.x = t, this.y = e) : t.constructor.name == "Point" && e == null && r == null && (r = t, this.x = r.x, this.y = r.y);
839
+ function r(t, e, i) {
840
+ this.x = null, this.y = null, t == null && e == null && i == null ? (this.x = 0, this.y = 0) : typeof t == "number" && typeof e == "number" && i == null ? (this.x = t, this.y = e) : t.constructor.name == "Point" && e == null && i == null && (i = t, this.x = i.x, this.y = i.y);
841
841
  }
842
- i.prototype.getX = function() {
842
+ r.prototype.getX = function() {
843
843
  return this.x;
844
- }, i.prototype.getY = function() {
844
+ }, r.prototype.getY = function() {
845
845
  return this.y;
846
- }, i.prototype.getLocation = function() {
847
- return new i(this.x, this.y);
848
- }, i.prototype.setLocation = function(t, e, r) {
849
- t.constructor.name == "Point" && e == null && r == null ? (r = t, this.setLocation(r.x, r.y)) : typeof t == "number" && typeof e == "number" && r == null && (parseInt(t) == t && parseInt(e) == e ? this.move(t, e) : (this.x = Math.floor(t + 0.5), this.y = Math.floor(e + 0.5)));
850
- }, i.prototype.move = function(t, e) {
846
+ }, r.prototype.getLocation = function() {
847
+ return new r(this.x, this.y);
848
+ }, r.prototype.setLocation = function(t, e, i) {
849
+ t.constructor.name == "Point" && e == null && i == null ? (i = t, this.setLocation(i.x, i.y)) : typeof t == "number" && typeof e == "number" && i == null && (parseInt(t) == t && parseInt(e) == e ? this.move(t, e) : (this.x = Math.floor(t + 0.5), this.y = Math.floor(e + 0.5)));
850
+ }, r.prototype.move = function(t, e) {
851
851
  this.x = t, this.y = e;
852
- }, i.prototype.translate = function(t, e) {
852
+ }, r.prototype.translate = function(t, e) {
853
853
  this.x += t, this.y += e;
854
- }, i.prototype.equals = function(t) {
854
+ }, r.prototype.equals = function(t) {
855
855
  if (t.constructor.name == "Point") {
856
856
  var e = t;
857
857
  return this.x == e.x && this.y == e.y;
858
858
  }
859
859
  return this == t;
860
- }, i.prototype.toString = function() {
861
- return new i().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
862
- }, p.exports = i;
860
+ }, r.prototype.toString = function() {
861
+ return new r().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
862
+ }, p.exports = r;
863
863
  },
864
864
  /* 13 */
865
865
  /***/
866
866
  function(p, T, y) {
867
- function i(t, e, r, a) {
868
- this.x = 0, this.y = 0, this.width = 0, this.height = 0, t != null && e != null && r != null && a != null && (this.x = t, this.y = e, this.width = r, this.height = a);
867
+ function r(t, e, i, a) {
868
+ this.x = 0, this.y = 0, this.width = 0, this.height = 0, t != null && e != null && i != null && a != null && (this.x = t, this.y = e, this.width = i, this.height = a);
869
869
  }
870
- i.prototype.getX = function() {
870
+ r.prototype.getX = function() {
871
871
  return this.x;
872
- }, i.prototype.setX = function(t) {
872
+ }, r.prototype.setX = function(t) {
873
873
  this.x = t;
874
- }, i.prototype.getY = function() {
874
+ }, r.prototype.getY = function() {
875
875
  return this.y;
876
- }, i.prototype.setY = function(t) {
876
+ }, r.prototype.setY = function(t) {
877
877
  this.y = t;
878
- }, i.prototype.getWidth = function() {
878
+ }, r.prototype.getWidth = function() {
879
879
  return this.width;
880
- }, i.prototype.setWidth = function(t) {
880
+ }, r.prototype.setWidth = function(t) {
881
881
  this.width = t;
882
- }, i.prototype.getHeight = function() {
882
+ }, r.prototype.getHeight = function() {
883
883
  return this.height;
884
- }, i.prototype.setHeight = function(t) {
884
+ }, r.prototype.setHeight = function(t) {
885
885
  this.height = t;
886
- }, i.prototype.getRight = function() {
886
+ }, r.prototype.getRight = function() {
887
887
  return this.x + this.width;
888
- }, i.prototype.getBottom = function() {
888
+ }, r.prototype.getBottom = function() {
889
889
  return this.y + this.height;
890
- }, i.prototype.intersects = function(t) {
890
+ }, r.prototype.intersects = function(t) {
891
891
  return !(this.getRight() < t.x || this.getBottom() < t.y || t.getRight() < this.x || t.getBottom() < this.y);
892
- }, i.prototype.getCenterX = function() {
892
+ }, r.prototype.getCenterX = function() {
893
893
  return this.x + this.width / 2;
894
- }, i.prototype.getMinX = function() {
894
+ }, r.prototype.getMinX = function() {
895
895
  return this.getX();
896
- }, i.prototype.getMaxX = function() {
896
+ }, r.prototype.getMaxX = function() {
897
897
  return this.getX() + this.width;
898
- }, i.prototype.getCenterY = function() {
898
+ }, r.prototype.getCenterY = function() {
899
899
  return this.y + this.height / 2;
900
- }, i.prototype.getMinY = function() {
900
+ }, r.prototype.getMinY = function() {
901
901
  return this.getY();
902
- }, i.prototype.getMaxY = function() {
902
+ }, r.prototype.getMaxY = function() {
903
903
  return this.getY() + this.height;
904
- }, i.prototype.getWidthHalf = function() {
904
+ }, r.prototype.getWidthHalf = function() {
905
905
  return this.width / 2;
906
- }, i.prototype.getHeightHalf = function() {
906
+ }, r.prototype.getHeightHalf = function() {
907
907
  return this.height / 2;
908
- }, p.exports = i;
908
+ }, p.exports = r;
909
909
  },
910
910
  /* 14 */
911
911
  /***/
912
912
  function(p, T, y) {
913
- var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
913
+ var r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
914
914
  return typeof e;
915
915
  } : function(e) {
916
916
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
@@ -922,14 +922,14 @@ function Rt() {
922
922
  }, t.getString = function(e) {
923
923
  return e == null && (e = t.lastID), "Object#" + e;
924
924
  }, t.isPrimitive = function(e) {
925
- var r = typeof e > "u" ? "undefined" : i(e);
926
- return e == null || r != "object" && r != "function";
925
+ var i = typeof e > "u" ? "undefined" : r(e);
926
+ return e == null || i != "object" && i != "function";
927
927
  }, p.exports = t;
928
928
  },
929
929
  /* 15 */
930
930
  /***/
931
931
  function(p, T, y) {
932
- function i(c) {
932
+ function r(c) {
933
933
  if (Array.isArray(c)) {
934
934
  for (var E = 0, _ = Array(c.length); E < c.length; E++)
935
935
  _[E] = c[E];
@@ -937,7 +937,7 @@ function Rt() {
937
937
  } else
938
938
  return Array.from(c);
939
939
  }
940
- var t = y(0), e = y(6), r = y(3), a = y(1), h = y(5), s = y(4), f = y(17), o = y(27);
940
+ var t = y(0), e = y(6), i = y(3), a = y(1), h = y(5), s = y(4), f = y(17), o = y(27);
941
941
  function d(c) {
942
942
  o.call(this), this.layoutQuality = t.QUALITY, this.createBendsAsNeeded = t.DEFAULT_CREATE_BENDS_AS_NEEDED, this.incremental = t.DEFAULT_INCREMENTAL, this.animationOnLayout = t.DEFAULT_ANIMATION_ON_LAYOUT, this.animationDuringLayout = t.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = t.DEFAULT_ANIMATION_PERIOD, this.uniformLeafNodeSizes = t.DEFAULT_UNIFORM_LEAF_NODE_SIZES, this.edgeToDummyNodes = /* @__PURE__ */ new Map(), this.graphManager = new e(this), this.isLayoutFinished = !1, this.isSubLayout = !1, this.isRemoteUse = !1, c != null && (this.isRemoteUse = c);
943
943
  }
@@ -955,7 +955,7 @@ function Rt() {
955
955
  }, d.prototype.newGraph = function(c) {
956
956
  return new h(null, this.graphManager, c);
957
957
  }, d.prototype.newNode = function(c) {
958
- return new r(this.graphManager, c);
958
+ return new i(this.graphManager, c);
959
959
  }, d.prototype.newEdge = function(c) {
960
960
  return new a(null, null, c);
961
961
  }, d.prototype.checkLayoutSuccess = function() {
@@ -977,7 +977,7 @@ function Rt() {
977
977
  }, d.prototype.update = function(c) {
978
978
  if (c == null)
979
979
  this.update2();
980
- else if (c instanceof r) {
980
+ else if (c instanceof i) {
981
981
  var E = c;
982
982
  if (E.getChild() != null)
983
983
  for (var _ = E.getChild().getNodes(), m = 0; m < _.length; m++)
@@ -1042,7 +1042,7 @@ function Rt() {
1042
1042
  if (!E)
1043
1043
  c = [];
1044
1044
  else {
1045
- var A = [].concat(i(L));
1045
+ var A = [].concat(r(L));
1046
1046
  c.push(A);
1047
1047
  for (var N = 0; N < A.length; N++) {
1048
1048
  var w = A[N], I = n.indexOf(w);
@@ -1063,7 +1063,7 @@ function Rt() {
1063
1063
  return this.graphManager.add(g, _, c.target), this.edgeToDummyNodes.set(c, E), c.isInterGraph() ? this.graphManager.remove(c) : m.remove(c), E;
1064
1064
  }, d.prototype.createBendpointsFromDummyNodes = function() {
1065
1065
  var c = [];
1066
- c = c.concat(this.graphManager.getAllEdges()), c = [].concat(i(this.edgeToDummyNodes.keys())).concat(c);
1066
+ c = c.concat(this.graphManager.getAllEdges()), c = [].concat(r(this.edgeToDummyNodes.keys())).concat(c);
1067
1067
  for (var E = 0; E < c.length; E++) {
1068
1068
  var _ = c[E];
1069
1069
  if (_.bendpoints.length > 0) {
@@ -1123,17 +1123,17 @@ function Rt() {
1123
1123
  /* 16 */
1124
1124
  /***/
1125
1125
  function(p, T, y) {
1126
- function i() {
1126
+ function r() {
1127
1127
  }
1128
- i.seed = 1, i.x = 0, i.nextDouble = function() {
1129
- return i.x = Math.sin(i.seed++) * 1e4, i.x - Math.floor(i.x);
1130
- }, p.exports = i;
1128
+ r.seed = 1, r.x = 0, r.nextDouble = function() {
1129
+ return r.x = Math.sin(r.seed++) * 1e4, r.x - Math.floor(r.x);
1130
+ }, p.exports = r;
1131
1131
  },
1132
1132
  /* 17 */
1133
1133
  /***/
1134
1134
  function(p, T, y) {
1135
- var i = y(4);
1136
- function t(e, r) {
1135
+ var r = y(4);
1136
+ function t(e, i) {
1137
1137
  this.lworldOrgX = 0, this.lworldOrgY = 0, this.ldeviceOrgX = 0, this.ldeviceOrgY = 0, this.lworldExtX = 1, this.lworldExtY = 1, this.ldeviceExtX = 1, this.ldeviceExtY = 1;
1138
1138
  }
1139
1139
  t.prototype.getWorldOrgX = function() {
@@ -1169,26 +1169,26 @@ function Rt() {
1169
1169
  }, t.prototype.setDeviceExtY = function(e) {
1170
1170
  this.ldeviceExtY = e;
1171
1171
  }, t.prototype.transformX = function(e) {
1172
- var r = 0, a = this.lworldExtX;
1173
- return a != 0 && (r = this.ldeviceOrgX + (e - this.lworldOrgX) * this.ldeviceExtX / a), r;
1172
+ var i = 0, a = this.lworldExtX;
1173
+ return a != 0 && (i = this.ldeviceOrgX + (e - this.lworldOrgX) * this.ldeviceExtX / a), i;
1174
1174
  }, t.prototype.transformY = function(e) {
1175
- var r = 0, a = this.lworldExtY;
1176
- return a != 0 && (r = this.ldeviceOrgY + (e - this.lworldOrgY) * this.ldeviceExtY / a), r;
1175
+ var i = 0, a = this.lworldExtY;
1176
+ return a != 0 && (i = this.ldeviceOrgY + (e - this.lworldOrgY) * this.ldeviceExtY / a), i;
1177
1177
  }, t.prototype.inverseTransformX = function(e) {
1178
- var r = 0, a = this.ldeviceExtX;
1179
- return a != 0 && (r = this.lworldOrgX + (e - this.ldeviceOrgX) * this.lworldExtX / a), r;
1178
+ var i = 0, a = this.ldeviceExtX;
1179
+ return a != 0 && (i = this.lworldOrgX + (e - this.ldeviceOrgX) * this.lworldExtX / a), i;
1180
1180
  }, t.prototype.inverseTransformY = function(e) {
1181
- var r = 0, a = this.ldeviceExtY;
1182
- return a != 0 && (r = this.lworldOrgY + (e - this.ldeviceOrgY) * this.lworldExtY / a), r;
1181
+ var i = 0, a = this.ldeviceExtY;
1182
+ return a != 0 && (i = this.lworldOrgY + (e - this.ldeviceOrgY) * this.lworldExtY / a), i;
1183
1183
  }, t.prototype.inverseTransformPoint = function(e) {
1184
- var r = new i(this.inverseTransformX(e.x), this.inverseTransformY(e.y));
1185
- return r;
1184
+ var i = new r(this.inverseTransformX(e.x), this.inverseTransformY(e.y));
1185
+ return i;
1186
1186
  }, p.exports = t;
1187
1187
  },
1188
1188
  /* 18 */
1189
1189
  /***/
1190
1190
  function(p, T, y) {
1191
- function i(o) {
1191
+ function r(o) {
1192
1192
  if (Array.isArray(o)) {
1193
1193
  for (var d = 0, c = Array(o.length); d < o.length; d++)
1194
1194
  c[d] = o[d];
@@ -1196,7 +1196,7 @@ function Rt() {
1196
1196
  } else
1197
1197
  return Array.from(o);
1198
1198
  }
1199
- var t = y(15), e = y(7), r = y(0), a = y(8), h = y(9);
1199
+ var t = y(15), e = y(7), i = y(0), a = y(8), h = y(9);
1200
1200
  function s() {
1201
1201
  t.call(this), this.useSmartIdealEdgeLengthCalculation = e.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.idealEdgeLength = e.DEFAULT_EDGE_LENGTH, this.springConstant = e.DEFAULT_SPRING_STRENGTH, this.repulsionConstant = e.DEFAULT_REPULSION_STRENGTH, this.gravityConstant = e.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = e.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = e.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.displacementThresholdPerNode = 3 * e.DEFAULT_EDGE_LENGTH / 100, this.coolingFactor = e.DEFAULT_COOLING_FACTOR_INCREMENTAL, this.initialCoolingFactor = e.DEFAULT_COOLING_FACTOR_INCREMENTAL, this.totalDisplacement = 0, this.oldTotalDisplacement = 0, this.maxIterations = e.MAX_ITERATIONS;
1202
1202
  }
@@ -1207,7 +1207,7 @@ function Rt() {
1207
1207
  t.prototype.initParameters.call(this, arguments), this.totalIterations = 0, this.notAnimatedIterations = 0, this.useFRGridVariant = e.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION, this.grid = [];
1208
1208
  }, s.prototype.calcIdealEdgeLengths = function() {
1209
1209
  for (var o, d, c, E, _, m, N = this.getGraphManager().getAllEdges(), L = 0; L < N.length; L++)
1210
- o = N[L], o.idealLength = this.idealEdgeLength, o.isInterGraph && (c = o.getSource(), E = o.getTarget(), _ = o.getSourceInLca().getEstimatedSize(), m = o.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (o.idealLength += _ + m - 2 * r.SIMPLE_NODE_SIZE), d = o.getLca().getInclusionTreeDepth(), o.idealLength += e.DEFAULT_EDGE_LENGTH * e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (c.getInclusionTreeDepth() + E.getInclusionTreeDepth() - 2 * d));
1210
+ o = N[L], o.idealLength = this.idealEdgeLength, o.isInterGraph && (c = o.getSource(), E = o.getTarget(), _ = o.getSourceInLca().getEstimatedSize(), m = o.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (o.idealLength += _ + m - 2 * i.SIMPLE_NODE_SIZE), d = o.getLca().getInclusionTreeDepth(), o.idealLength += e.DEFAULT_EDGE_LENGTH * e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (c.getInclusionTreeDepth() + E.getInclusionTreeDepth() - 2 * d));
1211
1211
  }, s.prototype.initSpringEmbedder = function() {
1212
1212
  var o = this.getAllNodes().length;
1213
1213
  this.incremental ? (o > e.ADAPTATION_LOWER_NODE_LIMIT && (this.coolingFactor = Math.max(this.coolingFactor * e.COOLING_ADAPTATION_FACTOR, this.coolingFactor - (o - e.ADAPTATION_LOWER_NODE_LIMIT) / (e.ADAPTATION_UPPER_NODE_LIMIT - e.ADAPTATION_LOWER_NODE_LIMIT) * this.coolingFactor * (1 - e.COOLING_ADAPTATION_FACTOR))), this.maxNodeDisplacement = e.MAX_NODE_DISPLACEMENT_INCREMENTAL) : (o > e.ADAPTATION_LOWER_NODE_LIMIT ? this.coolingFactor = Math.max(e.COOLING_ADAPTATION_FACTOR, 1 - (o - e.ADAPTATION_LOWER_NODE_LIMIT) / (e.ADAPTATION_UPPER_NODE_LIMIT - e.ADAPTATION_LOWER_NODE_LIMIT) * (1 - e.COOLING_ADAPTATION_FACTOR)) : this.coolingFactor = 1, this.initialCoolingFactor = this.coolingFactor, this.maxNodeDisplacement = e.MAX_NODE_DISPLACEMENT), this.maxIterations = Math.max(this.getAllNodes().length * 5, this.maxIterations), this.totalDisplacementThreshold = this.displacementThresholdPerNode * this.getAllNodes().length, this.repulsionRange = this.calcRepulsionRange();
@@ -1287,7 +1287,7 @@ function Rt() {
1287
1287
  n <= this.repulsionRange && u <= this.repulsionRange && _.add(m);
1288
1288
  }
1289
1289
  }
1290
- o.surrounding = [].concat(i(_));
1290
+ o.surrounding = [].concat(r(_));
1291
1291
  }
1292
1292
  for (L = 0; L < o.surrounding.length; L++)
1293
1293
  this.calcRepulsionForce(o, o.surrounding[L]);
@@ -1298,60 +1298,60 @@ function Rt() {
1298
1298
  /* 19 */
1299
1299
  /***/
1300
1300
  function(p, T, y) {
1301
- var i = y(1), t = y(7);
1301
+ var r = y(1), t = y(7);
1302
1302
  function e(a, h, s) {
1303
- i.call(this, a, h, s), this.idealLength = t.DEFAULT_EDGE_LENGTH;
1303
+ r.call(this, a, h, s), this.idealLength = t.DEFAULT_EDGE_LENGTH;
1304
1304
  }
1305
- e.prototype = Object.create(i.prototype);
1306
- for (var r in i)
1307
- e[r] = i[r];
1305
+ e.prototype = Object.create(r.prototype);
1306
+ for (var i in r)
1307
+ e[i] = r[i];
1308
1308
  p.exports = e;
1309
1309
  },
1310
1310
  /* 20 */
1311
1311
  /***/
1312
1312
  function(p, T, y) {
1313
- var i = y(3);
1314
- function t(r, a, h, s) {
1315
- i.call(this, r, a, h, s), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0, this.startX = 0, this.finishX = 0, this.startY = 0, this.finishY = 0, this.surrounding = [];
1313
+ var r = y(3);
1314
+ function t(i, a, h, s) {
1315
+ r.call(this, i, a, h, s), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0, this.startX = 0, this.finishX = 0, this.startY = 0, this.finishY = 0, this.surrounding = [];
1316
1316
  }
1317
- t.prototype = Object.create(i.prototype);
1318
- for (var e in i)
1319
- t[e] = i[e];
1320
- t.prototype.setGridCoordinates = function(r, a, h, s) {
1321
- this.startX = r, this.finishX = a, this.startY = h, this.finishY = s;
1317
+ t.prototype = Object.create(r.prototype);
1318
+ for (var e in r)
1319
+ t[e] = r[e];
1320
+ t.prototype.setGridCoordinates = function(i, a, h, s) {
1321
+ this.startX = i, this.finishX = a, this.startY = h, this.finishY = s;
1322
1322
  }, p.exports = t;
1323
1323
  },
1324
1324
  /* 21 */
1325
1325
  /***/
1326
1326
  function(p, T, y) {
1327
- function i(t, e) {
1327
+ function r(t, e) {
1328
1328
  this.width = 0, this.height = 0, t !== null && e !== null && (this.height = e, this.width = t);
1329
1329
  }
1330
- i.prototype.getWidth = function() {
1330
+ r.prototype.getWidth = function() {
1331
1331
  return this.width;
1332
- }, i.prototype.setWidth = function(t) {
1332
+ }, r.prototype.setWidth = function(t) {
1333
1333
  this.width = t;
1334
- }, i.prototype.getHeight = function() {
1334
+ }, r.prototype.getHeight = function() {
1335
1335
  return this.height;
1336
- }, i.prototype.setHeight = function(t) {
1336
+ }, r.prototype.setHeight = function(t) {
1337
1337
  this.height = t;
1338
- }, p.exports = i;
1338
+ }, p.exports = r;
1339
1339
  },
1340
1340
  /* 22 */
1341
1341
  /***/
1342
1342
  function(p, T, y) {
1343
- var i = y(14);
1343
+ var r = y(14);
1344
1344
  function t() {
1345
1345
  this.map = {}, this.keys = [];
1346
1346
  }
1347
- t.prototype.put = function(e, r) {
1348
- var a = i.createID(e);
1349
- this.contains(a) || (this.map[a] = r, this.keys.push(e));
1347
+ t.prototype.put = function(e, i) {
1348
+ var a = r.createID(e);
1349
+ this.contains(a) || (this.map[a] = i, this.keys.push(e));
1350
1350
  }, t.prototype.contains = function(e) {
1351
- return i.createID(e), this.map[e] != null;
1351
+ return r.createID(e), this.map[e] != null;
1352
1352
  }, t.prototype.get = function(e) {
1353
- var r = i.createID(e);
1354
- return this.map[r];
1353
+ var i = r.createID(e);
1354
+ return this.map[i];
1355
1355
  }, t.prototype.keySet = function() {
1356
1356
  return this.keys;
1357
1357
  }, p.exports = t;
@@ -1359,30 +1359,30 @@ function Rt() {
1359
1359
  /* 23 */
1360
1360
  /***/
1361
1361
  function(p, T, y) {
1362
- var i = y(14);
1362
+ var r = y(14);
1363
1363
  function t() {
1364
1364
  this.set = {};
1365
1365
  }
1366
1366
  t.prototype.add = function(e) {
1367
- var r = i.createID(e);
1368
- this.contains(r) || (this.set[r] = e);
1367
+ var i = r.createID(e);
1368
+ this.contains(i) || (this.set[i] = e);
1369
1369
  }, t.prototype.remove = function(e) {
1370
- delete this.set[i.createID(e)];
1370
+ delete this.set[r.createID(e)];
1371
1371
  }, t.prototype.clear = function() {
1372
1372
  this.set = {};
1373
1373
  }, t.prototype.contains = function(e) {
1374
- return this.set[i.createID(e)] == e;
1374
+ return this.set[r.createID(e)] == e;
1375
1375
  }, t.prototype.isEmpty = function() {
1376
1376
  return this.size() === 0;
1377
1377
  }, t.prototype.size = function() {
1378
1378
  return Object.keys(this.set).length;
1379
1379
  }, t.prototype.addAllTo = function(e) {
1380
- for (var r = Object.keys(this.set), a = r.length, h = 0; h < a; h++)
1381
- e.push(this.set[r[h]]);
1380
+ for (var i = Object.keys(this.set), a = i.length, h = 0; h < a; h++)
1381
+ e.push(this.set[i[h]]);
1382
1382
  }, t.prototype.size = function() {
1383
1383
  return Object.keys(this.set).length;
1384
1384
  }, t.prototype.addAll = function(e) {
1385
- for (var r = e.length, a = 0; a < r; a++) {
1385
+ for (var i = e.length, a = 0; a < i; a++) {
1386
1386
  var h = e[a];
1387
1387
  this.add(h);
1388
1388
  }
@@ -1391,7 +1391,7 @@ function Rt() {
1391
1391
  /* 24 */
1392
1392
  /***/
1393
1393
  function(p, T, y) {
1394
- var i = /* @__PURE__ */ function() {
1394
+ var r = /* @__PURE__ */ function() {
1395
1395
  function a(h, s) {
1396
1396
  for (var f = 0; f < s.length; f++) {
1397
1397
  var o = s[f];
@@ -1406,13 +1406,13 @@ function Rt() {
1406
1406
  if (!(a instanceof h))
1407
1407
  throw new TypeError("Cannot call a class as a function");
1408
1408
  }
1409
- var e = y(11), r = function() {
1409
+ var e = y(11), i = function() {
1410
1410
  function a(h, s) {
1411
1411
  t(this, a), (s !== null || s !== void 0) && (this.compareFunction = this._defaultCompareFunction);
1412
1412
  var f = void 0;
1413
1413
  h instanceof e ? f = h.size() : f = h.length, this._quicksort(h, 0, f - 1);
1414
1414
  }
1415
- return i(a, [{
1415
+ return r(a, [{
1416
1416
  key: "_quicksort",
1417
1417
  value: function(h, s, f) {
1418
1418
  if (s < f) {
@@ -1456,30 +1456,30 @@ function Rt() {
1456
1456
  }
1457
1457
  }]), a;
1458
1458
  }();
1459
- p.exports = r;
1459
+ p.exports = i;
1460
1460
  },
1461
1461
  /* 25 */
1462
1462
  /***/
1463
1463
  function(p, T, y) {
1464
- var i = /* @__PURE__ */ function() {
1465
- function r(a, h) {
1464
+ var r = /* @__PURE__ */ function() {
1465
+ function i(a, h) {
1466
1466
  for (var s = 0; s < h.length; s++) {
1467
1467
  var f = h[s];
1468
1468
  f.enumerable = f.enumerable || !1, f.configurable = !0, "value" in f && (f.writable = !0), Object.defineProperty(a, f.key, f);
1469
1469
  }
1470
1470
  }
1471
1471
  return function(a, h, s) {
1472
- return h && r(a.prototype, h), s && r(a, s), a;
1472
+ return h && i(a.prototype, h), s && i(a, s), a;
1473
1473
  };
1474
1474
  }();
1475
- function t(r, a) {
1476
- if (!(r instanceof a))
1475
+ function t(i, a) {
1476
+ if (!(i instanceof a))
1477
1477
  throw new TypeError("Cannot call a class as a function");
1478
1478
  }
1479
1479
  var e = function() {
1480
- function r(a, h) {
1480
+ function i(a, h) {
1481
1481
  var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, f = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : -1, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : -1;
1482
- t(this, r), this.sequence1 = a, this.sequence2 = h, this.match_score = s, this.mismatch_penalty = f, this.gap_penalty = o, this.iMax = a.length + 1, this.jMax = h.length + 1, this.grid = new Array(this.iMax);
1482
+ t(this, i), this.sequence1 = a, this.sequence2 = h, this.match_score = s, this.mismatch_penalty = f, this.gap_penalty = o, this.iMax = a.length + 1, this.jMax = h.length + 1, this.grid = new Array(this.iMax);
1483
1483
  for (var d = 0; d < this.iMax; d++) {
1484
1484
  this.grid[d] = new Array(this.jMax);
1485
1485
  for (var c = 0; c < this.jMax; c++)
@@ -1493,7 +1493,7 @@ function Rt() {
1493
1493
  }
1494
1494
  this.alignments = [], this.score = -1, this.computeGrids();
1495
1495
  }
1496
- return i(r, [{
1496
+ return r(i, [{
1497
1497
  key: "getScore",
1498
1498
  value: function() {
1499
1499
  return this.score;
@@ -1563,40 +1563,40 @@ function Rt() {
1563
1563
  value: function(a) {
1564
1564
  return this.getAllIndexes(a, Math.max.apply(null, a));
1565
1565
  }
1566
- }]), r;
1566
+ }]), i;
1567
1567
  }();
1568
1568
  p.exports = e;
1569
1569
  },
1570
1570
  /* 26 */
1571
1571
  /***/
1572
1572
  function(p, T, y) {
1573
- var i = function() {
1573
+ var r = function() {
1574
1574
  };
1575
- i.FDLayout = y(18), i.FDLayoutConstants = y(7), i.FDLayoutEdge = y(19), i.FDLayoutNode = y(20), i.DimensionD = y(21), i.HashMap = y(22), i.HashSet = y(23), i.IGeometry = y(8), i.IMath = y(9), i.Integer = y(10), i.Point = y(12), i.PointD = y(4), i.RandomSeed = y(16), i.RectangleD = y(13), i.Transform = y(17), i.UniqueIDGeneretor = y(14), i.Quicksort = y(24), i.LinkedList = y(11), i.LGraphObject = y(2), i.LGraph = y(5), i.LEdge = y(1), i.LGraphManager = y(6), i.LNode = y(3), i.Layout = y(15), i.LayoutConstants = y(0), i.NeedlemanWunsch = y(25), p.exports = i;
1575
+ r.FDLayout = y(18), r.FDLayoutConstants = y(7), r.FDLayoutEdge = y(19), r.FDLayoutNode = y(20), r.DimensionD = y(21), r.HashMap = y(22), r.HashSet = y(23), r.IGeometry = y(8), r.IMath = y(9), r.Integer = y(10), r.Point = y(12), r.PointD = y(4), r.RandomSeed = y(16), r.RectangleD = y(13), r.Transform = y(17), r.UniqueIDGeneretor = y(14), r.Quicksort = y(24), r.LinkedList = y(11), r.LGraphObject = y(2), r.LGraph = y(5), r.LEdge = y(1), r.LGraphManager = y(6), r.LNode = y(3), r.Layout = y(15), r.LayoutConstants = y(0), r.NeedlemanWunsch = y(25), p.exports = r;
1576
1576
  },
1577
1577
  /* 27 */
1578
1578
  /***/
1579
1579
  function(p, T, y) {
1580
- function i() {
1580
+ function r() {
1581
1581
  this.listeners = [];
1582
1582
  }
1583
- var t = i.prototype;
1584
- t.addListener = function(e, r) {
1583
+ var t = r.prototype;
1584
+ t.addListener = function(e, i) {
1585
1585
  this.listeners.push({
1586
1586
  event: e,
1587
- callback: r
1587
+ callback: i
1588
1588
  });
1589
- }, t.removeListener = function(e, r) {
1589
+ }, t.removeListener = function(e, i) {
1590
1590
  for (var a = this.listeners.length; a >= 0; a--) {
1591
1591
  var h = this.listeners[a];
1592
- h.event === e && h.callback === r && this.listeners.splice(a, 1);
1592
+ h.event === e && h.callback === i && this.listeners.splice(a, 1);
1593
1593
  }
1594
- }, t.emit = function(e, r) {
1594
+ }, t.emit = function(e, i) {
1595
1595
  for (var a = 0; a < this.listeners.length; a++) {
1596
1596
  var h = this.listeners[a];
1597
- e === h.event && h.callback(r);
1597
+ e === h.event && h.callback(i);
1598
1598
  }
1599
- }, p.exports = i;
1599
+ }, p.exports = r;
1600
1600
  }
1601
1601
  /******/
1602
1602
  ])
@@ -1604,7 +1604,7 @@ function Rt() {
1604
1604
  });
1605
1605
  }(nt)), nt.exports;
1606
1606
  }
1607
- var xt = rt.exports, ut;
1607
+ var xt = it.exports, ut;
1608
1608
  function Mt() {
1609
1609
  return ut || (ut = 1, function(D, R) {
1610
1610
  (function(p, T) {
@@ -1614,7 +1614,7 @@ function Mt() {
1614
1614
  /******/
1615
1615
  function(T) {
1616
1616
  var y = {};
1617
- function i(t) {
1617
+ function r(t) {
1618
1618
  if (y[t])
1619
1619
  return y[t].exports;
1620
1620
  var e = y[t] = {
@@ -1626,21 +1626,21 @@ function Mt() {
1626
1626
  exports: {}
1627
1627
  /******/
1628
1628
  };
1629
- return T[t].call(e.exports, e, e.exports, i), e.l = !0, e.exports;
1629
+ return T[t].call(e.exports, e, e.exports, r), e.l = !0, e.exports;
1630
1630
  }
1631
- return i.m = T, i.c = y, i.i = function(t) {
1631
+ return r.m = T, r.c = y, r.i = function(t) {
1632
1632
  return t;
1633
- }, i.d = function(t, e, r) {
1634
- i.o(t, e) || Object.defineProperty(t, e, {
1633
+ }, r.d = function(t, e, i) {
1634
+ r.o(t, e) || Object.defineProperty(t, e, {
1635
1635
  /******/
1636
1636
  configurable: !1,
1637
1637
  /******/
1638
1638
  enumerable: !0,
1639
1639
  /******/
1640
- get: r
1640
+ get: i
1641
1641
  /******/
1642
1642
  });
1643
- }, i.n = function(t) {
1643
+ }, r.n = function(t) {
1644
1644
  var e = t && t.__esModule ? (
1645
1645
  /******/
1646
1646
  function() {
@@ -1652,10 +1652,10 @@ function Mt() {
1652
1652
  return t;
1653
1653
  }
1654
1654
  );
1655
- return i.d(e, "a", e), e;
1656
- }, i.o = function(t, e) {
1655
+ return r.d(e, "a", e), e;
1656
+ }, r.o = function(t, e) {
1657
1657
  return Object.prototype.hasOwnProperty.call(t, e);
1658
- }, i.p = "", i(i.s = 7);
1658
+ }, r.p = "", r(r.s = 7);
1659
1659
  }([
1660
1660
  /* 0 */
1661
1661
  /***/
@@ -1664,86 +1664,86 @@ function Mt() {
1664
1664
  },
1665
1665
  /* 1 */
1666
1666
  /***/
1667
- function(T, y, i) {
1668
- var t = i(0).FDLayoutConstants;
1667
+ function(T, y, r) {
1668
+ var t = r(0).FDLayoutConstants;
1669
1669
  function e() {
1670
1670
  }
1671
- for (var r in t)
1672
- e[r] = t[r];
1671
+ for (var i in t)
1672
+ e[i] = t[i];
1673
1673
  e.DEFAULT_USE_MULTI_LEVEL_SCALING = !1, e.DEFAULT_RADIAL_SEPARATION = t.DEFAULT_EDGE_LENGTH, e.DEFAULT_COMPONENT_SEPERATION = 60, e.TILE = !0, e.TILING_PADDING_VERTICAL = 10, e.TILING_PADDING_HORIZONTAL = 10, e.TREE_REDUCTION_ON_INCREMENTAL = !1, T.exports = e;
1674
1674
  },
1675
1675
  /* 2 */
1676
1676
  /***/
1677
- function(T, y, i) {
1678
- var t = i(0).FDLayoutEdge;
1677
+ function(T, y, r) {
1678
+ var t = r(0).FDLayoutEdge;
1679
1679
  function e(a, h, s) {
1680
1680
  t.call(this, a, h, s);
1681
1681
  }
1682
1682
  e.prototype = Object.create(t.prototype);
1683
- for (var r in t)
1684
- e[r] = t[r];
1683
+ for (var i in t)
1684
+ e[i] = t[i];
1685
1685
  T.exports = e;
1686
1686
  },
1687
1687
  /* 3 */
1688
1688
  /***/
1689
- function(T, y, i) {
1690
- var t = i(0).LGraph;
1689
+ function(T, y, r) {
1690
+ var t = r(0).LGraph;
1691
1691
  function e(a, h, s) {
1692
1692
  t.call(this, a, h, s);
1693
1693
  }
1694
1694
  e.prototype = Object.create(t.prototype);
1695
- for (var r in t)
1696
- e[r] = t[r];
1695
+ for (var i in t)
1696
+ e[i] = t[i];
1697
1697
  T.exports = e;
1698
1698
  },
1699
1699
  /* 4 */
1700
1700
  /***/
1701
- function(T, y, i) {
1702
- var t = i(0).LGraphManager;
1701
+ function(T, y, r) {
1702
+ var t = r(0).LGraphManager;
1703
1703
  function e(a) {
1704
1704
  t.call(this, a);
1705
1705
  }
1706
1706
  e.prototype = Object.create(t.prototype);
1707
- for (var r in t)
1708
- e[r] = t[r];
1707
+ for (var i in t)
1708
+ e[i] = t[i];
1709
1709
  T.exports = e;
1710
1710
  },
1711
1711
  /* 5 */
1712
1712
  /***/
1713
- function(T, y, i) {
1714
- var t = i(0).FDLayoutNode, e = i(0).IMath;
1715
- function r(h, s, f, o) {
1713
+ function(T, y, r) {
1714
+ var t = r(0).FDLayoutNode, e = r(0).IMath;
1715
+ function i(h, s, f, o) {
1716
1716
  t.call(this, h, s, f, o);
1717
1717
  }
1718
- r.prototype = Object.create(t.prototype);
1718
+ i.prototype = Object.create(t.prototype);
1719
1719
  for (var a in t)
1720
- r[a] = t[a];
1721
- r.prototype.move = function() {
1720
+ i[a] = t[a];
1721
+ i.prototype.move = function() {
1722
1722
  var h = this.graphManager.getLayout();
1723
1723
  this.displacementX = h.coolingFactor * (this.springForceX + this.repulsionForceX + this.gravitationForceX) / this.noOfChildren, this.displacementY = h.coolingFactor * (this.springForceY + this.repulsionForceY + this.gravitationForceY) / this.noOfChildren, Math.abs(this.displacementX) > h.coolingFactor * h.maxNodeDisplacement && (this.displacementX = h.coolingFactor * h.maxNodeDisplacement * e.sign(this.displacementX)), Math.abs(this.displacementY) > h.coolingFactor * h.maxNodeDisplacement && (this.displacementY = h.coolingFactor * h.maxNodeDisplacement * e.sign(this.displacementY)), this.child == null ? this.moveBy(this.displacementX, this.displacementY) : this.child.getNodes().length == 0 ? this.moveBy(this.displacementX, this.displacementY) : this.propogateDisplacementToChildren(this.displacementX, this.displacementY), h.totalDisplacement += Math.abs(this.displacementX) + Math.abs(this.displacementY), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0;
1724
- }, r.prototype.propogateDisplacementToChildren = function(h, s) {
1724
+ }, i.prototype.propogateDisplacementToChildren = function(h, s) {
1725
1725
  for (var f = this.getChild().getNodes(), o, d = 0; d < f.length; d++)
1726
1726
  o = f[d], o.getChild() == null ? (o.moveBy(h, s), o.displacementX += h, o.displacementY += s) : o.propogateDisplacementToChildren(h, s);
1727
- }, r.prototype.setPred1 = function(h) {
1727
+ }, i.prototype.setPred1 = function(h) {
1728
1728
  this.pred1 = h;
1729
- }, r.prototype.getPred1 = function() {
1729
+ }, i.prototype.getPred1 = function() {
1730
1730
  return pred1;
1731
- }, r.prototype.getPred2 = function() {
1731
+ }, i.prototype.getPred2 = function() {
1732
1732
  return pred2;
1733
- }, r.prototype.setNext = function(h) {
1733
+ }, i.prototype.setNext = function(h) {
1734
1734
  this.next = h;
1735
- }, r.prototype.getNext = function() {
1735
+ }, i.prototype.getNext = function() {
1736
1736
  return next;
1737
- }, r.prototype.setProcessed = function(h) {
1737
+ }, i.prototype.setProcessed = function(h) {
1738
1738
  this.processed = h;
1739
- }, r.prototype.isProcessed = function() {
1739
+ }, i.prototype.isProcessed = function() {
1740
1740
  return processed;
1741
- }, T.exports = r;
1741
+ }, T.exports = i;
1742
1742
  },
1743
1743
  /* 6 */
1744
1744
  /***/
1745
- function(T, y, i) {
1746
- var t = i(0).FDLayout, e = i(4), r = i(3), a = i(5), h = i(2), s = i(1), f = i(0).FDLayoutConstants, o = i(0).LayoutConstants, d = i(0).Point, c = i(0).PointD, E = i(0).Layout, _ = i(0).Integer, m = i(0).IGeometry, N = i(0).LGraph, L = i(0).Transform;
1745
+ function(T, y, r) {
1746
+ var t = r(0).FDLayout, e = r(4), i = r(3), a = r(5), h = r(2), s = r(1), f = r(0).FDLayoutConstants, o = r(0).LayoutConstants, d = r(0).Point, c = r(0).PointD, E = r(0).Layout, _ = r(0).Integer, m = r(0).IGeometry, N = r(0).LGraph, L = r(0).Transform;
1747
1747
  function g() {
1748
1748
  t.call(this), this.toBeTiled = {};
1749
1749
  }
@@ -1754,7 +1754,7 @@ function Mt() {
1754
1754
  var n = new e(this);
1755
1755
  return this.graphManager = n, n;
1756
1756
  }, g.prototype.newGraph = function(n) {
1757
- return new r(null, this.graphManager, n);
1757
+ return new i(null, this.graphManager, n);
1758
1758
  }, g.prototype.newNode = function(n) {
1759
1759
  return new a(this.graphManager, n);
1760
1760
  }, g.prototype.newEdge = function(n) {
@@ -2148,17 +2148,17 @@ function Mt() {
2148
2148
  },
2149
2149
  /* 7 */
2150
2150
  /***/
2151
- function(T, y, i) {
2151
+ function(T, y, r) {
2152
2152
  var t = {};
2153
- t.layoutBase = i(0), t.CoSEConstants = i(1), t.CoSEEdge = i(2), t.CoSEGraph = i(3), t.CoSEGraphManager = i(4), t.CoSELayout = i(6), t.CoSENode = i(5), T.exports = t;
2153
+ t.layoutBase = r(0), t.CoSEConstants = r(1), t.CoSEEdge = r(2), t.CoSEGraph = r(3), t.CoSEGraphManager = r(4), t.CoSELayout = r(6), t.CoSENode = r(5), T.exports = t;
2154
2154
  }
2155
2155
  /******/
2156
2156
  ])
2157
2157
  );
2158
2158
  });
2159
- }(rt)), rt.exports;
2159
+ }(it)), it.exports;
2160
2160
  }
2161
- var St = it.exports, dt;
2161
+ var St = rt.exports, dt;
2162
2162
  function Gt() {
2163
2163
  return dt || (dt = 1, function(D, R) {
2164
2164
  (function(p, T) {
@@ -2168,7 +2168,7 @@ function Gt() {
2168
2168
  /******/
2169
2169
  function(T) {
2170
2170
  var y = {};
2171
- function i(t) {
2171
+ function r(t) {
2172
2172
  if (y[t])
2173
2173
  return y[t].exports;
2174
2174
  var e = y[t] = {
@@ -2180,21 +2180,21 @@ function Gt() {
2180
2180
  exports: {}
2181
2181
  /******/
2182
2182
  };
2183
- return T[t].call(e.exports, e, e.exports, i), e.l = !0, e.exports;
2183
+ return T[t].call(e.exports, e, e.exports, r), e.l = !0, e.exports;
2184
2184
  }
2185
- return i.m = T, i.c = y, i.i = function(t) {
2185
+ return r.m = T, r.c = y, r.i = function(t) {
2186
2186
  return t;
2187
- }, i.d = function(t, e, r) {
2188
- i.o(t, e) || Object.defineProperty(t, e, {
2187
+ }, r.d = function(t, e, i) {
2188
+ r.o(t, e) || Object.defineProperty(t, e, {
2189
2189
  /******/
2190
2190
  configurable: !1,
2191
2191
  /******/
2192
2192
  enumerable: !0,
2193
2193
  /******/
2194
- get: r
2194
+ get: i
2195
2195
  /******/
2196
2196
  });
2197
- }, i.n = function(t) {
2197
+ }, r.n = function(t) {
2198
2198
  var e = t && t.__esModule ? (
2199
2199
  /******/
2200
2200
  function() {
@@ -2206,10 +2206,10 @@ function Gt() {
2206
2206
  return t;
2207
2207
  }
2208
2208
  );
2209
- return i.d(e, "a", e), e;
2210
- }, i.o = function(t, e) {
2209
+ return r.d(e, "a", e), e;
2210
+ }, r.o = function(t, e) {
2211
2211
  return Object.prototype.hasOwnProperty.call(t, e);
2212
- }, i.p = "", i(i.s = 1);
2212
+ }, r.p = "", r(r.s = 1);
2213
2213
  }([
2214
2214
  /* 0 */
2215
2215
  /***/
@@ -2218,8 +2218,8 @@ function Gt() {
2218
2218
  },
2219
2219
  /* 1 */
2220
2220
  /***/
2221
- function(T, y, i) {
2222
- var t = i(0).layoutBase.LayoutConstants, e = i(0).layoutBase.FDLayoutConstants, r = i(0).CoSEConstants, a = i(0).CoSELayout, h = i(0).CoSENode, s = i(0).layoutBase.PointD, f = i(0).layoutBase.DimensionD, o = {
2221
+ function(T, y, r) {
2222
+ var t = r(0).layoutBase.LayoutConstants, e = r(0).layoutBase.FDLayoutConstants, i = r(0).CoSEConstants, a = r(0).CoSELayout, h = r(0).CoSENode, s = r(0).layoutBase.PointD, f = r(0).layoutBase.DimensionD, o = {
2223
2223
  // Called on `layoutready`
2224
2224
  ready: function() {
2225
2225
  },
@@ -2284,7 +2284,7 @@ function Gt() {
2284
2284
  this.options = d(o, m), E(this.options);
2285
2285
  }
2286
2286
  var E = function(m) {
2287
- m.nodeRepulsion != null && (r.DEFAULT_REPULSION_STRENGTH = e.DEFAULT_REPULSION_STRENGTH = m.nodeRepulsion), m.idealEdgeLength != null && (r.DEFAULT_EDGE_LENGTH = e.DEFAULT_EDGE_LENGTH = m.idealEdgeLength), m.edgeElasticity != null && (r.DEFAULT_SPRING_STRENGTH = e.DEFAULT_SPRING_STRENGTH = m.edgeElasticity), m.nestingFactor != null && (r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = m.nestingFactor), m.gravity != null && (r.DEFAULT_GRAVITY_STRENGTH = e.DEFAULT_GRAVITY_STRENGTH = m.gravity), m.numIter != null && (r.MAX_ITERATIONS = e.MAX_ITERATIONS = m.numIter), m.gravityRange != null && (r.DEFAULT_GRAVITY_RANGE_FACTOR = e.DEFAULT_GRAVITY_RANGE_FACTOR = m.gravityRange), m.gravityCompound != null && (r.DEFAULT_COMPOUND_GRAVITY_STRENGTH = e.DEFAULT_COMPOUND_GRAVITY_STRENGTH = m.gravityCompound), m.gravityRangeCompound != null && (r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = m.gravityRangeCompound), m.initialEnergyOnIncremental != null && (r.DEFAULT_COOLING_FACTOR_INCREMENTAL = e.DEFAULT_COOLING_FACTOR_INCREMENTAL = m.initialEnergyOnIncremental), m.quality == "draft" ? t.QUALITY = 0 : m.quality == "proof" ? t.QUALITY = 2 : t.QUALITY = 1, r.NODE_DIMENSIONS_INCLUDE_LABELS = e.NODE_DIMENSIONS_INCLUDE_LABELS = t.NODE_DIMENSIONS_INCLUDE_LABELS = m.nodeDimensionsIncludeLabels, r.DEFAULT_INCREMENTAL = e.DEFAULT_INCREMENTAL = t.DEFAULT_INCREMENTAL = !m.randomize, r.ANIMATE = e.ANIMATE = t.ANIMATE = m.animate, r.TILE = m.tile, r.TILING_PADDING_VERTICAL = typeof m.tilingPaddingVertical == "function" ? m.tilingPaddingVertical.call() : m.tilingPaddingVertical, r.TILING_PADDING_HORIZONTAL = typeof m.tilingPaddingHorizontal == "function" ? m.tilingPaddingHorizontal.call() : m.tilingPaddingHorizontal;
2287
+ m.nodeRepulsion != null && (i.DEFAULT_REPULSION_STRENGTH = e.DEFAULT_REPULSION_STRENGTH = m.nodeRepulsion), m.idealEdgeLength != null && (i.DEFAULT_EDGE_LENGTH = e.DEFAULT_EDGE_LENGTH = m.idealEdgeLength), m.edgeElasticity != null && (i.DEFAULT_SPRING_STRENGTH = e.DEFAULT_SPRING_STRENGTH = m.edgeElasticity), m.nestingFactor != null && (i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = m.nestingFactor), m.gravity != null && (i.DEFAULT_GRAVITY_STRENGTH = e.DEFAULT_GRAVITY_STRENGTH = m.gravity), m.numIter != null && (i.MAX_ITERATIONS = e.MAX_ITERATIONS = m.numIter), m.gravityRange != null && (i.DEFAULT_GRAVITY_RANGE_FACTOR = e.DEFAULT_GRAVITY_RANGE_FACTOR = m.gravityRange), m.gravityCompound != null && (i.DEFAULT_COMPOUND_GRAVITY_STRENGTH = e.DEFAULT_COMPOUND_GRAVITY_STRENGTH = m.gravityCompound), m.gravityRangeCompound != null && (i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = m.gravityRangeCompound), m.initialEnergyOnIncremental != null && (i.DEFAULT_COOLING_FACTOR_INCREMENTAL = e.DEFAULT_COOLING_FACTOR_INCREMENTAL = m.initialEnergyOnIncremental), m.quality == "draft" ? t.QUALITY = 0 : m.quality == "proof" ? t.QUALITY = 2 : t.QUALITY = 1, i.NODE_DIMENSIONS_INCLUDE_LABELS = e.NODE_DIMENSIONS_INCLUDE_LABELS = t.NODE_DIMENSIONS_INCLUDE_LABELS = m.nodeDimensionsIncludeLabels, i.DEFAULT_INCREMENTAL = e.DEFAULT_INCREMENTAL = t.DEFAULT_INCREMENTAL = !m.randomize, i.ANIMATE = e.ANIMATE = t.ANIMATE = m.animate, i.TILE = m.tile, i.TILING_PADDING_VERTICAL = typeof m.tilingPaddingVertical == "function" ? m.tilingPaddingVertical.call() : m.tilingPaddingVertical, i.TILING_PADDING_HORIZONTAL = typeof m.tilingPaddingHorizontal == "function" ? m.tilingPaddingHorizontal.call() : m.tilingPaddingHorizontal;
2288
2288
  };
2289
2289
  c.prototype.run = function() {
2290
2290
  var m, N, L = this.options;
@@ -2375,15 +2375,15 @@ function Gt() {
2375
2375
  ])
2376
2376
  );
2377
2377
  });
2378
- }(it)), it.exports;
2378
+ }(rt)), rt.exports;
2379
2379
  }
2380
2380
  var bt = Gt();
2381
- const Ft = /* @__PURE__ */ _t(bt);
2381
+ const Ft = /* @__PURE__ */ It(bt);
2382
2382
  var ot = function() {
2383
2383
  var D = /* @__PURE__ */ x(function(L, g, O, n) {
2384
2384
  for (O = O || {}, n = L.length; n--; O[L[n]] = g) ;
2385
2385
  return O;
2386
- }, "o"), R = [1, 4], p = [1, 13], T = [1, 12], y = [1, 15], i = [1, 16], t = [1, 20], e = [1, 19], r = [6, 7, 8], a = [1, 26], h = [1, 24], s = [1, 25], f = [6, 7, 11], o = [1, 6, 13, 15, 16, 19, 22], d = [1, 33], c = [1, 34], E = [1, 6, 7, 11, 13, 15, 16, 19, 22], _ = {
2386
+ }, "o"), R = [1, 4], p = [1, 13], T = [1, 12], y = [1, 15], r = [1, 16], t = [1, 20], e = [1, 19], i = [6, 7, 8], a = [1, 26], h = [1, 24], s = [1, 25], f = [6, 7, 11], o = [1, 6, 13, 15, 16, 19, 22], d = [1, 33], c = [1, 34], E = [1, 6, 7, 11, 13, 15, 16, 19, 22], _ = {
2387
2387
  trace: /* @__PURE__ */ x(function() {
2388
2388
  }, "trace"),
2389
2389
  yy: {},
@@ -2438,7 +2438,7 @@ var ot = function() {
2438
2438
  break;
2439
2439
  }
2440
2440
  }, "anonymous"),
2441
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: R }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: R }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: T, 14: 14, 15: y, 16: i, 17: 17, 18: 18, 19: t, 22: e }, D(r, [2, 3]), { 1: [2, 2] }, D(r, [2, 4]), D(r, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: T, 14: 14, 15: y, 16: i, 17: 17, 18: 18, 19: t, 22: e }, { 6: p, 9: 22, 12: 11, 13: T, 14: 14, 15: y, 16: i, 17: 17, 18: 18, 19: t, 22: e }, { 6: a, 7: h, 10: 23, 11: s }, D(f, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: t, 22: e }), D(f, [2, 18]), D(f, [2, 19]), D(f, [2, 20]), D(f, [2, 21]), D(f, [2, 23]), D(f, [2, 24]), D(f, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: a, 7: h, 10: 32, 11: s }, { 1: [2, 7], 6: p, 12: 21, 13: T, 14: 14, 15: y, 16: i, 17: 17, 18: 18, 19: t, 22: e }, D(o, [2, 14], { 7: d, 11: c }), D(E, [2, 8]), D(E, [2, 9]), D(E, [2, 10]), D(f, [2, 15]), D(f, [2, 16]), D(f, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, D(o, [2, 13], { 7: d, 11: c }), D(E, [2, 11]), D(E, [2, 12]), { 21: [1, 37] }, D(f, [2, 25]), D(f, [2, 27])],
2441
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: R }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: R }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: T, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, D(i, [2, 3]), { 1: [2, 2] }, D(i, [2, 4]), D(i, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: T, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, { 6: p, 9: 22, 12: 11, 13: T, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, { 6: a, 7: h, 10: 23, 11: s }, D(f, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: t, 22: e }), D(f, [2, 18]), D(f, [2, 19]), D(f, [2, 20]), D(f, [2, 21]), D(f, [2, 23]), D(f, [2, 24]), D(f, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: a, 7: h, 10: 32, 11: s }, { 1: [2, 7], 6: p, 12: 21, 13: T, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, D(o, [2, 14], { 7: d, 11: c }), D(E, [2, 8]), D(E, [2, 9]), D(E, [2, 10]), D(f, [2, 15]), D(f, [2, 16]), D(f, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, D(o, [2, 13], { 7: d, 11: c }), D(E, [2, 11]), D(E, [2, 12]), { 21: [1, 37] }, D(f, [2, 25]), D(f, [2, 27])],
2442
2442
  defaultActions: { 2: [2, 1], 6: [2, 2] },
2443
2443
  parseError: /* @__PURE__ */ x(function(L, g) {
2444
2444
  if (g.recoverable)
@@ -2791,7 +2791,7 @@ var Pt = ot, z = [], ft = 0, at = {}, Ut = /* @__PURE__ */ x(() => {
2791
2791
  return z[R];
2792
2792
  return null;
2793
2793
  }, "getParent"), Yt = /* @__PURE__ */ x(() => z.length > 0 ? z[0] : null, "getMindmap"), Xt = /* @__PURE__ */ x((D, R, p, T) => {
2794
- var y, i;
2794
+ var y, r;
2795
2795
  Q.info("addNode", D, R, p, T);
2796
2796
  const t = st();
2797
2797
  let e = ((y = t.mindmap) == null ? void 0 : y.padding) ?? J.mindmap.padding;
@@ -2801,23 +2801,23 @@ var Pt = ot, z = [], ft = 0, at = {}, Ut = /* @__PURE__ */ x(() => {
2801
2801
  case $.HEXAGON:
2802
2802
  e *= 2;
2803
2803
  }
2804
- const r = {
2804
+ const i = {
2805
2805
  id: ft++,
2806
2806
  nodeId: tt(R, t),
2807
2807
  level: D,
2808
2808
  descr: tt(p, t),
2809
2809
  type: T,
2810
2810
  children: [],
2811
- width: ((i = t.mindmap) == null ? void 0 : i.maxNodeWidth) ?? J.mindmap.maxNodeWidth,
2811
+ width: ((r = t.mindmap) == null ? void 0 : r.maxNodeWidth) ?? J.mindmap.maxNodeWidth,
2812
2812
  padding: e
2813
2813
  }, a = kt(D);
2814
2814
  if (a)
2815
- a.children.push(r), z.push(r);
2815
+ a.children.push(i), z.push(i);
2816
2816
  else if (z.length === 0)
2817
- z.push(r);
2817
+ z.push(i);
2818
2818
  else
2819
2819
  throw new Error(
2820
- 'There can be only one root. No parent could be found for ("' + r.descr + '")'
2820
+ 'There can be only one root. No parent could be found for ("' + i.descr + '")'
2821
2821
  );
2822
2822
  }, "addNode"), $ = {
2823
2823
  DEFAULT: 0,
@@ -2890,46 +2890,46 @@ var Pt = ot, z = [], ft = 0, at = {}, Ut = /* @__PURE__ */ x(() => {
2890
2890
  }, "defaultBkg"), Kt = /* @__PURE__ */ x(function(D, R, p) {
2891
2891
  R.append("rect").attr("id", "node-" + p.id).attr("class", "node-bkg node-" + D.type2Str(p.type)).attr("height", p.height).attr("width", p.width);
2892
2892
  }, "rectBkg"), Jt = /* @__PURE__ */ x(function(D, R, p) {
2893
- const T = p.width, y = p.height, i = 0.15 * T, t = 0.25 * T, e = 0.35 * T, r = 0.2 * T;
2893
+ const T = p.width, y = p.height, r = 0.15 * T, t = 0.25 * T, e = 0.35 * T, i = 0.2 * T;
2894
2894
  R.append("path").attr("id", "node-" + p.id).attr("class", "node-bkg node-" + D.type2Str(p.type)).attr(
2895
2895
  "d",
2896
- `M0 0 a${i},${i} 0 0,1 ${T * 0.25},${-1 * T * 0.1}
2896
+ `M0 0 a${r},${r} 0 0,1 ${T * 0.25},${-1 * T * 0.1}
2897
2897
  a${e},${e} 1 0,1 ${T * 0.4},${-1 * T * 0.1}
2898
2898
  a${t},${t} 1 0,1 ${T * 0.35},${1 * T * 0.2}
2899
2899
 
2900
- a${i},${i} 1 0,1 ${T * 0.15},${1 * y * 0.35}
2901
- a${r},${r} 1 0,1 ${-1 * T * 0.15},${1 * y * 0.65}
2900
+ a${r},${r} 1 0,1 ${T * 0.15},${1 * y * 0.35}
2901
+ a${i},${i} 1 0,1 ${-1 * T * 0.15},${1 * y * 0.65}
2902
2902
 
2903
- a${t},${i} 1 0,1 ${-1 * T * 0.25},${T * 0.15}
2903
+ a${t},${r} 1 0,1 ${-1 * T * 0.25},${T * 0.15}
2904
2904
  a${e},${e} 1 0,1 ${-1 * T * 0.5},0
2905
- a${i},${i} 1 0,1 ${-1 * T * 0.25},${-1 * T * 0.15}
2905
+ a${r},${r} 1 0,1 ${-1 * T * 0.25},${-1 * T * 0.15}
2906
2906
 
2907
- a${i},${i} 1 0,1 ${-1 * T * 0.1},${-1 * y * 0.35}
2908
- a${r},${r} 1 0,1 ${T * 0.1},${-1 * y * 0.65}
2907
+ a${r},${r} 1 0,1 ${-1 * T * 0.1},${-1 * y * 0.35}
2908
+ a${i},${i} 1 0,1 ${T * 0.1},${-1 * y * 0.65}
2909
2909
 
2910
2910
  H0 V0 Z`
2911
2911
  );
2912
2912
  }, "cloudBkg"), te = /* @__PURE__ */ x(function(D, R, p) {
2913
- const T = p.width, y = p.height, i = 0.15 * T;
2913
+ const T = p.width, y = p.height, r = 0.15 * T;
2914
2914
  R.append("path").attr("id", "node-" + p.id).attr("class", "node-bkg node-" + D.type2Str(p.type)).attr(
2915
2915
  "d",
2916
- `M0 0 a${i},${i} 1 0,0 ${T * 0.25},${-1 * y * 0.1}
2917
- a${i},${i} 1 0,0 ${T * 0.25},0
2918
- a${i},${i} 1 0,0 ${T * 0.25},0
2919
- a${i},${i} 1 0,0 ${T * 0.25},${1 * y * 0.1}
2916
+ `M0 0 a${r},${r} 1 0,0 ${T * 0.25},${-1 * y * 0.1}
2917
+ a${r},${r} 1 0,0 ${T * 0.25},0
2918
+ a${r},${r} 1 0,0 ${T * 0.25},0
2919
+ a${r},${r} 1 0,0 ${T * 0.25},${1 * y * 0.1}
2920
2920
 
2921
- a${i},${i} 1 0,0 ${T * 0.15},${1 * y * 0.33}
2922
- a${i * 0.8},${i * 0.8} 1 0,0 0,${1 * y * 0.34}
2923
- a${i},${i} 1 0,0 ${-1 * T * 0.15},${1 * y * 0.33}
2921
+ a${r},${r} 1 0,0 ${T * 0.15},${1 * y * 0.33}
2922
+ a${r * 0.8},${r * 0.8} 1 0,0 0,${1 * y * 0.34}
2923
+ a${r},${r} 1 0,0 ${-1 * T * 0.15},${1 * y * 0.33}
2924
2924
 
2925
- a${i},${i} 1 0,0 ${-1 * T * 0.25},${y * 0.15}
2926
- a${i},${i} 1 0,0 ${-1 * T * 0.25},0
2927
- a${i},${i} 1 0,0 ${-1 * T * 0.25},0
2928
- a${i},${i} 1 0,0 ${-1 * T * 0.25},${-1 * y * 0.15}
2925
+ a${r},${r} 1 0,0 ${-1 * T * 0.25},${y * 0.15}
2926
+ a${r},${r} 1 0,0 ${-1 * T * 0.25},0
2927
+ a${r},${r} 1 0,0 ${-1 * T * 0.25},0
2928
+ a${r},${r} 1 0,0 ${-1 * T * 0.25},${-1 * y * 0.15}
2929
2929
 
2930
- a${i},${i} 1 0,0 ${-1 * T * 0.1},${-1 * y * 0.33}
2931
- a${i * 0.8},${i * 0.8} 1 0,0 0,${-1 * y * 0.34}
2932
- a${i},${i} 1 0,0 ${T * 0.1},${-1 * y * 0.33}
2930
+ a${r},${r} 1 0,0 ${-1 * T * 0.1},${-1 * y * 0.33}
2931
+ a${r * 0.8},${r * 0.8} 1 0,0 0,${-1 * y * 0.34}
2932
+ a${r},${r} 1 0,0 ${T * 0.1},${-1 * y * 0.33}
2933
2933
 
2934
2934
  H0 V0 Z`
2935
2935
  );
@@ -2939,42 +2939,42 @@ var Pt = ot, z = [], ft = 0, at = {}, Ut = /* @__PURE__ */ x(() => {
2939
2939
  function yt(D, R, p, T, y) {
2940
2940
  return D.insert("polygon", ":first-child").attr(
2941
2941
  "points",
2942
- T.map(function(i) {
2943
- return i.x + "," + i.y;
2942
+ T.map(function(r) {
2943
+ return r.x + "," + r.y;
2944
2944
  }).join(" ")
2945
2945
  ).attr("transform", "translate(" + (y.width - R) / 2 + ", " + p + ")");
2946
2946
  }
2947
2947
  x(yt, "insertPolygonShape");
2948
- var ie = /* @__PURE__ */ x(function(D, R, p) {
2949
- const T = p.height, y = T / 4, i = p.width - p.padding + 2 * y, t = [
2948
+ var re = /* @__PURE__ */ x(function(D, R, p) {
2949
+ const T = p.height, y = T / 4, r = p.width - p.padding + 2 * y, t = [
2950
2950
  { x: y, y: 0 },
2951
- { x: i - y, y: 0 },
2952
- { x: i, y: -T / 2 },
2953
- { x: i - y, y: -T },
2951
+ { x: r - y, y: 0 },
2952
+ { x: r, y: -T / 2 },
2953
+ { x: r - y, y: -T },
2954
2954
  { x: y, y: -T },
2955
2955
  { x: 0, y: -T / 2 }
2956
2956
  ];
2957
- yt(R, i, T, t, p);
2958
- }, "hexagonBkg"), re = /* @__PURE__ */ x(function(D, R, p) {
2957
+ yt(R, r, T, t, p);
2958
+ }, "hexagonBkg"), ie = /* @__PURE__ */ x(function(D, R, p) {
2959
2959
  R.append("rect").attr("id", "node-" + p.id).attr("class", "node-bkg node-" + D.type2Str(p.type)).attr("height", p.height).attr("rx", p.padding).attr("ry", p.padding).attr("width", p.width);
2960
2960
  }, "roundedRectBkg"), ne = /* @__PURE__ */ x(async function(D, R, p, T, y) {
2961
- const i = y.htmlLabels, t = T % (Zt - 1), e = R.append("g");
2961
+ const r = y.htmlLabels, t = T % (Zt - 1), e = R.append("g");
2962
2962
  p.section = t;
2963
- let r = "section-" + t;
2964
- t < 0 && (r += " section-root"), e.attr("class", (p.class ? p.class + " " : "") + "mindmap-node " + r);
2963
+ let i = "section-" + t;
2964
+ t < 0 && (i += " section-root"), e.attr("class", (p.class ? p.class + " " : "") + "mindmap-node " + i);
2965
2965
  const a = e.append("g"), h = e.append("g"), s = p.descr.replace(/(<br\/*>)/g, `
2966
2966
  `);
2967
- await At(
2967
+ await Dt(
2968
2968
  h,
2969
2969
  s,
2970
2970
  {
2971
- useHtmlLabels: i,
2971
+ useHtmlLabels: r,
2972
2972
  width: p.width,
2973
2973
  classes: "mindmap-node-label"
2974
2974
  },
2975
2975
  y
2976
- ), i || h.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
2977
- const f = h.node().getBBox(), [o] = Tt(y.fontSize);
2976
+ ), r || h.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
2977
+ const f = h.node().getBBox(), [o] = wt(y.fontSize);
2978
2978
  if (p.height = f.height + o * 1.1 * 0.5 + p.padding, p.width = f.width + 2 * p.padding, p.icon)
2979
2979
  if (p.type === D.nodeType.CIRCLE)
2980
2980
  p.height += 50, p.width += 50, e.append("foreignObject").attr("height", "50px").attr("width", p.width).attr("style", "text-align: center;").append("div").attr("class", "icon-container").append("i").attr("class", "node-icon-" + t + " " + p.icon), h.attr(
@@ -2991,7 +2991,7 @@ var ie = /* @__PURE__ */ x(function(D, R, p) {
2991
2991
  "translate(" + (25 + p.width / 2) + ", " + (c / 2 + p.padding / 2) + ")"
2992
2992
  );
2993
2993
  }
2994
- else if (i) {
2994
+ else if (r) {
2995
2995
  const d = (p.width - f.width) / 2, c = (p.height - f.height) / 2;
2996
2996
  h.attr("transform", "translate(" + d + ", " + c + ")");
2997
2997
  } else {
@@ -3003,7 +3003,7 @@ var ie = /* @__PURE__ */ x(function(D, R, p) {
3003
3003
  Qt(D, a, p, t);
3004
3004
  break;
3005
3005
  case D.nodeType.ROUNDED_RECT:
3006
- re(D, a, p, t);
3006
+ ie(D, a, p, t);
3007
3007
  break;
3008
3008
  case D.nodeType.RECT:
3009
3009
  Kt(D, a, p, t);
@@ -3018,7 +3018,7 @@ var ie = /* @__PURE__ */ x(function(D, R, p) {
3018
3018
  te(D, a, p, t);
3019
3019
  break;
3020
3020
  case D.nodeType.HEXAGON:
3021
- ie(D, a, p, t);
3021
+ re(D, a, p, t);
3022
3022
  break;
3023
3023
  }
3024
3024
  return D.setElementForId(p.id, e), p.height;
@@ -3030,7 +3030,7 @@ pt.use(Ft);
3030
3030
  async function ht(D, R, p, T, y) {
3031
3031
  await ne(D, R, p, T, y), p.children && await Promise.all(
3032
3032
  p.children.map(
3033
- (i, t) => ht(D, R, i, T < 0 ? t : T, y)
3033
+ (r, t) => ht(D, R, r, T < 0 ? t : T, y)
3034
3034
  )
3035
3035
  );
3036
3036
  }
@@ -3039,10 +3039,10 @@ function Et(D, R) {
3039
3039
  R.edges().map((p, T) => {
3040
3040
  const y = p.data();
3041
3041
  if (p[0]._private.bodyBounds) {
3042
- const i = p[0]._private.rscratch;
3042
+ const r = p[0]._private.rscratch;
3043
3043
  Q.trace("Edge: ", T, y), D.insert("path").attr(
3044
3044
  "d",
3045
- `M ${i.startX},${i.startY} L ${i.midX},${i.midY} L${i.endX},${i.endY} `
3045
+ `M ${r.startX},${r.startY} L ${r.midX},${r.midY} L${r.endX},${r.endY} `
3046
3046
  ).attr("class", "edge section-edge-" + y.section + " edge-depth-" + y.depth);
3047
3047
  }
3048
3048
  });
@@ -3081,7 +3081,7 @@ function lt(D, R, p, T) {
3081
3081
  x(lt, "addNodes");
3082
3082
  function mt(D, R) {
3083
3083
  return new Promise((p) => {
3084
- const T = Nt("body").append("div").attr("id", "cy").attr("style", "display:none"), y = pt({
3084
+ const T = Ot("body").append("div").attr("id", "cy").attr("style", "display:none"), y = pt({
3085
3085
  container: document.getElementById("cy"),
3086
3086
  // container to render in
3087
3087
  style: [
@@ -3093,9 +3093,9 @@ function mt(D, R) {
3093
3093
  }
3094
3094
  ]
3095
3095
  });
3096
- T.remove(), lt(D, y, R, 0), y.nodes().forEach(function(i) {
3097
- i.layoutDimensions = () => {
3098
- const t = i.data();
3096
+ T.remove(), lt(D, y, R, 0), y.nodes().forEach(function(r) {
3097
+ r.layoutDimensions = () => {
3098
+ const t = r.data();
3099
3099
  return { w: t.width, h: t.height };
3100
3100
  };
3101
3101
  }), y.layout({
@@ -3104,8 +3104,8 @@ function mt(D, R) {
3104
3104
  quality: "proof",
3105
3105
  styleEnabled: !1,
3106
3106
  animate: !1
3107
- }).run(), y.ready((i) => {
3108
- Q.info("Ready", i), p(y);
3107
+ }).run(), y.ready((r) => {
3108
+ Q.info("Ready", r), p(y);
3109
3109
  });
3110
3110
  });
3111
3111
  }
@@ -3114,40 +3114,40 @@ function vt(D, R) {
3114
3114
  R.nodes().map((p, T) => {
3115
3115
  const y = p.data();
3116
3116
  y.x = p.position().x, y.y = p.position().y, oe(D, y);
3117
- const i = D.getElementById(y.nodeId);
3118
- Q.info("Id:", T, "Position: (", p.position().x, ", ", p.position().y, ")", y), i.attr(
3117
+ const r = D.getElementById(y.nodeId);
3118
+ Q.info("Id:", T, "Position: (", p.position().x, ", ", p.position().y, ")", y), r.attr(
3119
3119
  "transform",
3120
3120
  `translate(${p.position().x - y.width / 2}, ${p.position().y - y.height / 2})`
3121
- ), i.attr("attr", `apa-${T})`);
3121
+ ), r.attr("attr", `apa-${T})`);
3122
3122
  });
3123
3123
  }
3124
3124
  x(vt, "positionNodes");
3125
3125
  var se = /* @__PURE__ */ x(async (D, R, p, T) => {
3126
- var y, i;
3126
+ var y, r;
3127
3127
  Q.debug(`Rendering mindmap diagram
3128
3128
  ` + D);
3129
3129
  const t = T.db, e = t.getMindmap();
3130
3130
  if (!e)
3131
3131
  return;
3132
- const r = st();
3133
- r.htmlLabels = !1;
3134
- const a = Lt(R), h = a.append("g");
3132
+ const i = st();
3133
+ i.htmlLabels = !1;
3134
+ const a = _t(R), h = a.append("g");
3135
3135
  h.attr("class", "mindmap-edges");
3136
3136
  const s = a.append("g");
3137
- s.attr("class", "mindmap-nodes"), await ht(t, s, e, -1, r);
3138
- const f = await mt(e, r);
3139
- Et(h, f), vt(t, f), Ot(
3137
+ s.attr("class", "mindmap-nodes"), await ht(t, s, e, -1, i);
3138
+ const f = await mt(e, i);
3139
+ Et(h, f), vt(t, f), Nt(
3140
3140
  void 0,
3141
3141
  a,
3142
- ((y = r.mindmap) == null ? void 0 : y.padding) ?? J.mindmap.padding,
3143
- ((i = r.mindmap) == null ? void 0 : i.useMaxWidth) ?? J.mindmap.useMaxWidth
3142
+ ((y = i.mindmap) == null ? void 0 : y.padding) ?? J.mindmap.padding,
3143
+ ((r = i.mindmap) == null ? void 0 : r.useMaxWidth) ?? J.mindmap.useMaxWidth
3144
3144
  );
3145
3145
  }, "draw"), ae = {
3146
3146
  draw: se
3147
3147
  }, he = /* @__PURE__ */ x((D) => {
3148
3148
  let R = "";
3149
3149
  for (let p = 0; p < D.THEME_COLOR_LIMIT; p++)
3150
- D["lineColor" + p] = D["lineColor" + p] || D["cScaleInv" + p], Dt(D["lineColor" + p]) ? D["lineColor" + p] = wt(D["lineColor" + p], 20) : D["lineColor" + p] = It(D["lineColor" + p], 20);
3150
+ D["lineColor" + p] = D["lineColor" + p] || D["cScaleInv" + p], At(D["lineColor" + p]) ? D["lineColor" + p] = Tt(D["lineColor" + p], 20) : D["lineColor" + p] = Lt(D["lineColor" + p], 20);
3151
3151
  for (let p = 0; p < D.THEME_COLOR_LIMIT; p++) {
3152
3152
  const T = "" + (17 - 3 * p);
3153
3153
  R += `