@antdv-next/x 1.2.0 → 1.2.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/actions/ActionsFeedback.js +1 -1
  2. package/dist/actions/ActionsItem.js +1 -1
  3. package/dist/bubble/hooks/useCompatibleScroll.js +1 -1
  4. package/dist/code-highlighter/CodeHighlighter.js +2 -1
  5. package/dist/code-highlighter/shiki.js +1 -1
  6. package/dist/code-highlighter/style/index.d.ts +40 -0
  7. package/dist/code-highlighter/style/index.js +25 -13
  8. package/dist/folder/Folder.js +2 -1
  9. package/dist/index.umd.js +63 -40
  10. package/dist/mermaid/Mermaid.js +1 -1
  11. package/dist/package.js +1 -1
  12. package/dist/sender/components/SlotTextArea.js +3 -2
  13. package/dist/sender/components/SpeechButton/RecordingIcon.js +1 -1
  14. package/dist/sender/hooks/use-speech.js +2 -1
  15. package/dist/suggestion/useActive.js +0 -2
  16. package/dist/theme/themes/seed.js +3 -0
  17. package/dist/theme/util/alias.js +5 -5
  18. package/dist/think/Think.js +3 -2
  19. package/dist/thought-chain/Node.js +3 -2
  20. package/dist/thought-chain/ThoughtChain.js +2 -2
  21. package/dist/x-provider/index.js +3 -2
  22. package/es/Serializer-Sc9uEpQk.js +262 -0
  23. package/es/{_basePickBy-DFHEGO2M.js → _basePickBy-CrbncDqR.js} +2 -2
  24. package/es/{_baseUniq-BlS7rXTs.js → _baseUniq-B-qU_Imh.js} +9 -9
  25. package/es/antdv-next-x.esm.js +2887 -2875
  26. package/es/{arc-BuXEd18J.js → arc-NI3ROx5X.js} +2 -2
  27. package/es/architecture-PBZL5I3N-BRGGaMu3.js +3 -0
  28. package/es/{architectureDiagram-2XIMDMQ5-CmfsCwJk.js → architectureDiagram-2XIMDMQ5-OvuktNfv.js} +100 -110
  29. package/es/{blockDiagram-WCTKOSBZ-lJAan65A.js → blockDiagram-WCTKOSBZ-CS-kh74L.js} +42 -43
  30. package/es/{c4Diagram-IC4MRINW-B1c2x_1Q.js → c4Diagram-IC4MRINW-BZGIF4Dk.js} +17 -25
  31. package/es/{channel-DFgF_2F7.js → channel-DrSSYyxp.js} +1 -1
  32. package/es/{chunk-4BX2VUAB-J2N81Fpp.js → chunk-4BX2VUAB-Rm8-te6i.js} +1 -1
  33. package/es/{chunk-55IACEB6-DGtfGRgi.js → chunk-55IACEB6-Tre45n-8.js} +1 -1
  34. package/es/{chunk-7R4GIKGN-QT6IorJ_.js → chunk-7R4GIKGN-scch4dXY.js} +10 -10
  35. package/es/{chunk-FMBD7UC4-DCcRjunY.js → chunk-FMBD7UC4-JmekSPZP.js} +1 -1
  36. package/es/{chunk-GEFDOKGD-BWpC-zoH.js → chunk-GEFDOKGD-BEzc6NZw.js} +31 -71
  37. package/es/{chunk-JSJVCQXG-D8_heHOp.js → chunk-JSJVCQXG-_l_UVbaa.js} +3 -3
  38. package/es/{chunk-KX2RTZJC-D5cc4rj6.js → chunk-KX2RTZJC-BUWM8pJz.js} +2 -2
  39. package/es/{chunk-KYZI473N-BHJ3T5Zv.js → chunk-KYZI473N-BSgb_E0Q.js} +11 -11
  40. package/es/{chunk-MX3YWQON-BxE-Aq9c.js → chunk-MX3YWQON-D602L8pU.js} +1 -1
  41. package/es/{chunk-NQ4KR5QH-EYQBXkqP.js → chunk-NQ4KR5QH-BPQV0i93.js} +41 -45
  42. package/es/{chunk-O4XLMI2P-qjOoGpnx.js → chunk-O4XLMI2P-BMqc3iYa.js} +15 -14
  43. package/es/{chunk-PQ6SQG4A-D3jtNCWN.js → chunk-PQ6SQG4A-DcYrzB1X.js} +2 -2
  44. package/es/{chunk-PU5JKC2W-DdP8BS-S.js → chunk-PU5JKC2W-TuGY6X1n.js} +28 -24
  45. package/es/{chunk-QZHKN3VN-CW3cFN-h.js → chunk-QZHKN3VN-CKbD02cl.js} +1 -1
  46. package/es/{chunk-WL4C6EOR-BDbxJyGk.js → chunk-WL4C6EOR-B31ErTFp.js} +19 -17
  47. package/es/{chunk-XZSTWKYB-CucN1XvM.js → chunk-XZSTWKYB-DYKLwCEy.js} +1888 -1785
  48. package/es/{chunk-YBOYWFTD-CvaddD9G.js → chunk-YBOYWFTD-CRiKEIiS.js} +5 -5
  49. package/es/classDiagram-VBA2DB6C-BDqwxUdU.js +29 -0
  50. package/es/classDiagram-v2-RAHNMMFH-DdmOjeUb.js +29 -0
  51. package/es/{clone-r3YukIBB.js → clone-yzFtXY5G.js} +1 -1
  52. package/es/{cose-bilkent-S5V4N54A-B5OQuIhl.js → cose-bilkent-S5V4N54A-BM90wTBk.js} +43 -48
  53. package/es/css-CRY9BUqw.js +2 -0
  54. package/es/{cytoscape.esm-i2CZcWd-.js → cytoscape.esm-B_-hKv4-.js} +276 -321
  55. package/es/{dagre-5aGJFKmT.js → dagre-DCYVBij1.js} +25 -27
  56. package/es/{dagre-KLK3FWXG-BI5QQMXo.js → dagre-KLK3FWXG-Ced70SgJ.js} +21 -17
  57. package/es/{defaultLocale-bckJcYh1.js → defaultLocale-yzzuPw6P.js} +1 -4
  58. package/es/{diagram-E7M64L7V-Dz62Vz_a.js → diagram-E7M64L7V-xZCloH_i.js} +72 -70
  59. package/es/{diagram-IFDJBPK2-9fjvFkSc.js → diagram-IFDJBPK2-BTmFZhvz.js} +21 -21
  60. package/es/{diagram-P4PSJMXO-BlX6jFjZ.js → diagram-P4PSJMXO-DX_3B0LB.js} +16 -16
  61. package/es/{dist-BX_roQzC.js → dist-h4ggShny.js} +1 -1
  62. package/es/{erDiagram-INFDFZHY-BcRXu8Cp.js → erDiagram-INFDFZHY-MJ_HVY-7.js} +22 -22
  63. package/es/{flowDiagram-PKNHOUZH-UeyfgU8z.js → flowDiagram-PKNHOUZH-CQIRy1sx.js} +35 -42
  64. package/es/{ganttDiagram-A5KZAMGK-txCzqgQ5.js → ganttDiagram-A5KZAMGK-Dw9bjWjx.js} +39 -52
  65. package/es/gitGraph-HDMCJU4V-oForq_Vw.js +3 -0
  66. package/es/{gitGraphDiagram-K3NZZRJ6-DghWYaFU.js → gitGraphDiagram-K3NZZRJ6-Gk6FiGbZ.js} +21 -21
  67. package/es/{graphlib-dRkI1OCL.js → graphlib-BMvIh7N7.js} +4 -4
  68. package/es/{html-CWvNBSxv.js → html-C4rrmxbP.js} +2 -2
  69. package/es/info-3K5VOQVL-0F-ZLEMx.js +3 -0
  70. package/es/{infoDiagram-LFFYTUFH-CA-vlAvP.js → infoDiagram-LFFYTUFH-CS64-uil.js} +9 -9
  71. package/es/{init-B75p2clj.js → init-sjaVZO3f.js} +1 -3
  72. package/es/{isArrayLikeObject-jl2bjkAJ.js → isArrayLikeObject-Dqk_yOP-.js} +5 -4
  73. package/es/{ishikawaDiagram-PHBUUO56-DjdpS9Lb.js → ishikawaDiagram-PHBUUO56-C_Hw5UnV.js} +13 -13
  74. package/es/javascript--0qAxhnA.js +2 -0
  75. package/es/{journeyDiagram-4ABVD52K-CIJfC1fp.js → journeyDiagram-4ABVD52K-CFFyM4Ar.js} +16 -16
  76. package/es/{kanban-definition-K7BYSVSG-CC2vwGck.js → kanban-definition-K7BYSVSG-B_R-mA10.js} +27 -28
  77. package/es/{katex-DCMiIo1z.js → katex-C-qdUNlg.js} +78 -68
  78. package/es/{line-Cu9NTacD.js → line-D05MESIS.js} +3 -3
  79. package/es/{linear-C0rAYYmp.js → linear-B8tPH2Pw.js} +4 -6
  80. package/es/mermaid-parser.core-C_69nk7j.js +259 -0
  81. package/es/mermaid.core-BVGVwWcu.js +1914 -0
  82. package/es/{mindmap-definition-YRQLILUH-BzTYDYmK.js → mindmap-definition-YRQLILUH-qgGUYYe3.js} +26 -28
  83. package/es/{ordinal-F3U6aXtP.js → ordinal-CNQzPcrr.js} +1 -1
  84. package/es/packet-RMMSAZCW-CeqtQQ_e.js +3 -0
  85. package/es/{path-Dm3C8WEs.js → path-CqWAdh69.js} +4 -7
  86. package/es/pie-UPGHQEXC-BI60FhK4.js +3 -0
  87. package/es/{pieDiagram-SKSYHLDU-COvqE_C6.js → pieDiagram-SKSYHLDU-B8-AVOmP.js} +47 -47
  88. package/es/{quadrantDiagram-337W2JSQ-Dgv8ccjt.js → quadrantDiagram-337W2JSQ-C2Z0CN4Z.js} +10 -10
  89. package/es/radar-KQ55EAFF-CRwOOFw0.js +3 -0
  90. package/es/{requirementDiagram-Z7DCOOCP-B2NyhxO-.js → requirementDiagram-Z7DCOOCP-Cdj7PwWC.js} +19 -19
  91. package/es/{chunk-WQLz0Won.js → rolldown-runtime-CEY2VRuR.js} +10 -3
  92. package/es/{rough.esm-BhGP2Udb.js → rough.esm-D1ibUQD-.js} +1 -1
  93. package/es/{sankeyDiagram-WA2Y5GQK-BfnH_gpl.js → sankeyDiagram-WA2Y5GQK-BNmU-dM1.js} +10 -10
  94. package/es/{sequenceDiagram-2WXFIKYE-DXssVQOF.js → sequenceDiagram-2WXFIKYE-pj0uPf22.js} +114 -126
  95. package/es/{shiki-runtime-D0MO6er5.js → shiki-runtime-7QG17np_.js} +978 -983
  96. package/es/{src-CUQ6oOYk.js → src-Dynw_Lub.js} +26 -26
  97. package/es/{stateDiagram-RAJIS63D-DvDLfupV.js → stateDiagram-RAJIS63D-BgCfMnGb.js} +18 -18
  98. package/es/stateDiagram-v2-FVOUBMTO-ByMhP6Xo.js +27 -0
  99. package/es/{timeline-definition-YZTLITO2-ErcRjbZf.js → timeline-definition-YZTLITO2-Bj5QKnBI.js} +10 -10
  100. package/es/treemap-KZPCXAKY-BlOAFUbR.js +3 -0
  101. package/es/{vennDiagram-LZ73GAT5-CDTZUtc8.js → vennDiagram-LZ73GAT5-lpWcIvN6.js} +16 -16
  102. package/es/{xychartDiagram-JWTSCODW-Y21jBOTg.js → xychartDiagram-JWTSCODW-De1M-7Yz.js} +26 -30
  103. package/package.json +1 -1
  104. package/es/Serializer-D1JYN1kI.js +0 -262
  105. package/es/architecture-PBZL5I3N-D7tS55xM.js +0 -3
  106. package/es/chunk-7E7YKBS2-CL2d4WAf.js +0 -23
  107. package/es/chunk-C72U2L5F-OHTVpS-m.js +0 -23
  108. package/es/chunk-EGIJ26TM-DyMPGYrB.js +0 -23
  109. package/es/chunk-GLR3WWYH-DiXcKb5Y.js +0 -41
  110. package/es/chunk-HHEYEP7N-Cxc7E4dX.js +0 -9
  111. package/es/chunk-L3YUKLVL-7oGaUOdc.js +0 -23
  112. package/es/chunk-OZEHJAEY-D82nx27s.js +0 -64
  113. package/es/chunk-R5LLSJPH-CreI2kO9.js +0 -35
  114. package/es/chunk-XIRO2GV7-S5KkbVnN.js +0 -30
  115. package/es/chunk-XPW4576I-B0KVSHwE.js +0 -1146
  116. package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +0 -29
  117. package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +0 -29
  118. package/es/css-Bi5OTYo2.js +0 -2
  119. package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +0 -3
  120. package/es/info-3K5VOQVL-COqdvM99.js +0 -3
  121. package/es/isEmpty-CmA-HYrg.js +0 -35
  122. package/es/javascript-CjdDmufJ.js +0 -2
  123. package/es/mermaid-parser.core-7Wn2L29P.js +0 -59
  124. package/es/mermaid.core-Bvy_Q6Hu.js +0 -680
  125. package/es/packet-RMMSAZCW-2PTjWKLd.js +0 -3
  126. package/es/pie-UPGHQEXC-Du8-k-EA.js +0 -3
  127. package/es/radar-KQ55EAFF-jJOhyjxC.js +0 -3
  128. package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +0 -27
  129. package/es/treemap-KZPCXAKY-CvZAIYVa.js +0 -3
  130. /package/es/{array-CWNufkl9.js → array-CApNbSU9.js} +0 -0
  131. /package/es/{css-v5r4VtJ6.js → css-DVAQAvTD.js} +0 -0
  132. /package/es/{javascript-o_jd8Ivw.js → javascript-Bk0bJ4nQ.js} +0 -0
  133. /package/es/{json-DqMXJlo0.js → json-CAwkMa5O.js} +0 -0
  134. /package/es/{math-CoDOuve-.js → math-BZ_bUCIA.js} +0 -0
  135. /package/es/{python-CQPNJfOt.js → python-D0AaDoWC.js} +0 -0
  136. /package/es/{typescript-Ck7Pr_E3.js → typescript-DWy2KXvB.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { h as e } from "./src-CUQ6oOYk.js";
2
- import { f as t } from "./chunk-GEFDOKGD-BWpC-zoH.js";
3
- import { b as n, d as r } from "./chunk-7R4GIKGN-QT6IorJ_.js";
1
+ import { h as e } from "./src-Dynw_Lub.js";
2
+ import { f as t } from "./chunk-GEFDOKGD-BEzc6NZw.js";
3
+ import { b as n, d as r } from "./chunk-7R4GIKGN-scch4dXY.js";
4
4
  //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YBOYWFTD.mjs
5
5
  var i = /* @__PURE__ */ e(({ flowchart: e }) => {
6
6
  let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
@@ -17,8 +17,8 @@ async function a(i, a) {
17
17
  await Promise.all([...o].map((i) => new Promise((a) => {
18
18
  function o() {
19
19
  if (i.style.display = "flex", i.style.flexDirection = "column", s) {
20
- let [e = r.fontSize] = t(n().fontSize ? n().fontSize : window.getComputedStyle(document.body).fontSize), a = e * 5 + "px";
21
- i.style.minWidth = a, i.style.maxWidth = a;
20
+ let e = n().fontSize ? n().fontSize : window.getComputedStyle(document.body).fontSize, [a = r.fontSize] = t(e), o = a * 5 + "px";
21
+ i.style.minWidth = o, i.style.maxWidth = o;
22
22
  } else i.style.width = "100%";
23
23
  a(i);
24
24
  }
@@ -0,0 +1,29 @@
1
+ import { h as e } from "./src-Dynw_Lub.js";
2
+ import "./chunk-GEFDOKGD-BEzc6NZw.js";
3
+ import "./chunk-7R4GIKGN-scch4dXY.js";
4
+ import "./chunk-PU5JKC2W-TuGY6X1n.js";
5
+ import "./chunk-FMBD7UC4-JmekSPZP.js";
6
+ import "./chunk-MX3YWQON-D602L8pU.js";
7
+ import "./chunk-YBOYWFTD-CRiKEIiS.js";
8
+ import "./chunk-JSJVCQXG-_l_UVbaa.js";
9
+ import "./chunk-55IACEB6-Tre45n-8.js";
10
+ import "./chunk-KX2RTZJC-BUWM8pJz.js";
11
+ import "./chunk-PQ6SQG4A-DcYrzB1X.js";
12
+ import "./chunk-KYZI473N-BSgb_E0Q.js";
13
+ import "./chunk-O4XLMI2P-BMqc3iYa.js";
14
+ import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-B31ErTFp.js";
15
+ import "./mermaid.core-BVGVwWcu.js";
16
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-VBA2DB6C.mjs
17
+ var a = {
18
+ parser: n,
19
+ get db() {
20
+ return new i();
21
+ },
22
+ renderer: r,
23
+ styles: t,
24
+ init: /* @__PURE__ */ e((e) => {
25
+ e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
26
+ }, "init")
27
+ };
28
+ //#endregion
29
+ export { a as diagram };
@@ -0,0 +1,29 @@
1
+ import { h as e } from "./src-Dynw_Lub.js";
2
+ import "./chunk-GEFDOKGD-BEzc6NZw.js";
3
+ import "./chunk-7R4GIKGN-scch4dXY.js";
4
+ import "./chunk-PU5JKC2W-TuGY6X1n.js";
5
+ import "./chunk-FMBD7UC4-JmekSPZP.js";
6
+ import "./chunk-MX3YWQON-D602L8pU.js";
7
+ import "./chunk-YBOYWFTD-CRiKEIiS.js";
8
+ import "./chunk-JSJVCQXG-_l_UVbaa.js";
9
+ import "./chunk-55IACEB6-Tre45n-8.js";
10
+ import "./chunk-KX2RTZJC-BUWM8pJz.js";
11
+ import "./chunk-PQ6SQG4A-DcYrzB1X.js";
12
+ import "./chunk-KYZI473N-BSgb_E0Q.js";
13
+ import "./chunk-O4XLMI2P-BMqc3iYa.js";
14
+ import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-B31ErTFp.js";
15
+ import "./mermaid.core-BVGVwWcu.js";
16
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-RAHNMMFH.mjs
17
+ var a = {
18
+ parser: n,
19
+ get db() {
20
+ return new i();
21
+ },
22
+ renderer: r,
23
+ styles: t,
24
+ init: /* @__PURE__ */ e((e) => {
25
+ e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
26
+ }, "init")
27
+ };
28
+ //#endregion
29
+ export { a as diagram };
@@ -1,4 +1,4 @@
1
- import { y as e } from "./_baseUniq-BlS7rXTs.js";
1
+ import { y as e } from "./_baseUniq-B-qU_Imh.js";
2
2
  //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/clone.js
3
3
  var t = 4;
4
4
  function n(n) {
@@ -1,6 +1,6 @@
1
- import { o as e, t } from "./chunk-WQLz0Won.js";
2
- import { g as n, h as r, p as i } from "./src-CUQ6oOYk.js";
3
- import { t as a } from "./cytoscape.esm-i2CZcWd-.js";
1
+ import { o as e, t } from "./rolldown-runtime-CEY2VRuR.js";
2
+ import { g as n, h as r, p as i } from "./src-Dynw_Lub.js";
3
+ import { t as a } from "./cytoscape.esm-B_-hKv4-.js";
4
4
  //#region ../../node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.js
5
5
  var o = /* @__PURE__ */ t(((e, t) => {
6
6
  (function(n, r) {
@@ -96,7 +96,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
96
96
  (function(e, t, n) {
97
97
  var r = n(2), i = n(10), a = n(13), o = n(0), s = n(16), c = n(4);
98
98
  function l(e, t, n, o) {
99
- n == null && o == null && (o = t), r.call(this, o), e.graphManager != null && (e = e.graphManager), this.estimatedSize = i.MIN_VALUE, this.inclusionTreeDepth = i.MAX_VALUE, this.vGraphObject = o, this.edges = [], this.graphManager = e, n != null && t != null ? this.rect = new a(t.x, t.y, n.width, n.height) : this.rect = new a();
99
+ n == null && o == null && (o = t), r.call(this, o), e.graphManager != null && (e = e.graphManager), this.estimatedSize = i.MIN_VALUE, this.inclusionTreeDepth = i.MAX_VALUE, this.vGraphObject = o, this.edges = [], this.graphManager = e, this.rect = n != null && t != null ? new a(t.x, t.y, n.width, n.height) : new a();
100
100
  }
101
101
  for (var u in l.prototype = Object.create(r.prototype), r) l[u] = r[u];
102
102
  l.prototype.getEdges = function() {
@@ -146,7 +146,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
146
146
  }, l.prototype.getEdgesBetween = function(e) {
147
147
  var t = [], n = this;
148
148
  return n.edges.forEach(function(r) {
149
- if (!(r.source == n || r.target == n)) throw "Incorrect edge source and/or target";
149
+ if (r.source != n && r.target != n) throw "Incorrect edge source and/or target";
150
150
  (r.target == e || r.source == e) && t.push(r);
151
151
  }), t;
152
152
  }, l.prototype.getNeighborsList = function() {
@@ -260,17 +260,16 @@ var o = /* @__PURE__ */ t(((e, t) => {
260
260
  if (this.graphManager == null) throw "Graph has no graph mgr!";
261
261
  if (this.getNodes().indexOf(r) > -1) throw "Node already in graph!";
262
262
  return r.owner = this, this.getNodes().push(r), r;
263
- } else {
264
- var i = e;
265
- if (!(this.getNodes().indexOf(t) > -1 && this.getNodes().indexOf(n) > -1)) throw "Source or target not in graph!";
266
- if (!(t.owner == n.owner && t.owner == this)) throw "Both owners must be this graph!";
267
- return t.owner == n.owner ? (i.source = t, i.target = n, i.isInterGraph = !1, this.getEdges().push(i), t.edges.push(i), n != t && n.edges.push(i), i) : null;
268
263
  }
264
+ var i = e;
265
+ if (!(this.getNodes().indexOf(t) > -1 && this.getNodes().indexOf(n) > -1)) throw "Source or target not in graph!";
266
+ if (t.owner != n.owner || t.owner != this) throw "Both owners must be this graph!";
267
+ return t.owner == n.owner ? (i.source = t, i.target = n, i.isInterGraph = !1, this.getEdges().push(i), t.edges.push(i), n != t && n.edges.push(i), i) : null;
269
268
  }, f.prototype.remove = function(e) {
270
269
  var t = e;
271
270
  if (e instanceof s) {
272
271
  if (t == null) throw "Node is null!";
273
- if (!(t.owner != null && t.owner == this)) throw "Owner graph is invalid!";
272
+ if (t.owner == null || t.owner != this) throw "Owner graph is invalid!";
274
273
  if (this.graphManager == null) throw "Owner graph manager is invalid!";
275
274
  for (var n = t.edges.slice(), r, i = n.length, a = 0; a < i; a++) r = n[a], r.isInterGraph ? this.graphManager.remove(r) : r.source.owner.remove(r);
276
275
  var o = this.nodes.indexOf(t);
@@ -279,8 +278,8 @@ var o = /* @__PURE__ */ t(((e, t) => {
279
278
  } else if (e instanceof c) {
280
279
  var r = e;
281
280
  if (r == null) throw "Edge is null!";
282
- if (!(r.source != null && r.target != null)) throw "Source and/or target is null!";
283
- if (!(r.source.owner != null && r.target.owner != null && r.source.owner == this && r.target.owner == this)) throw "Source and/or target owner is invalid!";
281
+ if (r.source == null || r.target == null) throw "Source and/or target is null!";
282
+ if (r.source.owner == null || r.target.owner == null || r.source.owner != this || r.target.owner != this) throw "Source and/or target owner is invalid!";
284
283
  var l = r.source.edges.indexOf(r), u = r.target.edges.indexOf(r);
285
284
  if (!(l > -1 && u > -1)) throw "Source and/or target doesn't know this edge!";
286
285
  r.source.edges.splice(l, 1), r.target != r.source && r.target.edges.splice(u, 1);
@@ -317,7 +316,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
317
316
  var i = t[r];
318
317
  e += i.calcEstimatedSize();
319
318
  }
320
- return e == 0 ? this.estimatedSize = a.EMPTY_COMPOUND_NODE_SIZE : this.estimatedSize = e / Math.sqrt(this.nodes.length), this.estimatedSize;
319
+ return this.estimatedSize = e == 0 ? a.EMPTY_COMPOUND_NODE_SIZE : e / Math.sqrt(this.nodes.length), this.estimatedSize;
321
320
  }, f.prototype.updateConnected = function() {
322
321
  var e = this;
323
322
  if (this.nodes.length == 0) {
@@ -357,17 +356,16 @@ var o = /* @__PURE__ */ t(((e, t) => {
357
356
  if (this.graphs.push(e), e.parent != null) throw "Already has a parent!";
358
357
  if (t.child != null) throw "Already has a child!";
359
358
  return e.parent = t, t.child = e, e;
360
- } else {
361
- i = n, r = t, n = e;
362
- var a = r.getOwner(), o = i.getOwner();
363
- if (!(a != null && a.getGraphManager() == this)) throw "Source not in this graph mgr!";
364
- if (!(o != null && o.getGraphManager() == this)) throw "Target not in this graph mgr!";
365
- if (a == o) return n.isInterGraph = !1, a.add(n, r, i);
366
- if (n.isInterGraph = !0, n.source = r, n.target = i, this.edges.indexOf(n) > -1) throw "Edge already in inter-graph edge list!";
367
- if (this.edges.push(n), !(n.source != null && n.target != null)) throw "Edge source and/or target is null!";
368
- if (!(n.source.edges.indexOf(n) == -1 && n.target.edges.indexOf(n) == -1)) throw "Edge already in source and/or target incidency list!";
369
- return n.source.edges.push(n), n.target.edges.push(n), n;
370
359
  }
360
+ i = n, r = t, n = e;
361
+ var a = r.getOwner(), o = i.getOwner();
362
+ if (a == null || a.getGraphManager() != this) throw "Source not in this graph mgr!";
363
+ if (o == null || o.getGraphManager() != this) throw "Target not in this graph mgr!";
364
+ if (a == o) return n.isInterGraph = !1, a.add(n, r, i);
365
+ if (n.isInterGraph = !0, n.source = r, n.target = i, this.edges.indexOf(n) > -1) throw "Edge already in inter-graph edge list!";
366
+ if (this.edges.push(n), n.source == null || n.target == null) throw "Edge source and/or target is null!";
367
+ if (n.source.edges.indexOf(n) != -1 || n.target.edges.indexOf(n) != -1) throw "Edge already in source and/or target incidency list!";
368
+ return n.source.edges.push(n), n.target.edges.push(n), n;
371
369
  }, a.prototype.remove = function(e) {
372
370
  if (e instanceof r) {
373
371
  var t = e;
@@ -387,10 +385,10 @@ var o = /* @__PURE__ */ t(((e, t) => {
387
385
  } else if (e instanceof i) {
388
386
  if (a = e, a == null) throw "Edge is null!";
389
387
  if (!a.isInterGraph) throw "Not an inter-graph edge!";
390
- if (!(a.source != null && a.target != null)) throw "Source and/or target is null!";
391
- if (!(a.source.edges.indexOf(a) != -1 && a.target.edges.indexOf(a) != -1)) throw "Source and/or target doesn't know this edge!";
388
+ if (a.source == null || a.target == null) throw "Source and/or target is null!";
389
+ if (a.source.edges.indexOf(a) == -1 || a.target.edges.indexOf(a) == -1) throw "Source and/or target doesn't know this edge!";
392
390
  var u = a.source.edges.indexOf(a);
393
- if (a.source.edges.splice(u, 1), u = a.target.edges.indexOf(a), a.target.edges.splice(u, 1), !(a.source.owner != null && a.source.owner.getGraphManager() != null)) throw "Edge owner graph or owner graph manager is null!";
391
+ if (a.source.edges.splice(u, 1), u = a.target.edges.indexOf(a), a.target.edges.splice(u, 1), a.source.owner == null || a.source.owner.getGraphManager() == null) throw "Edge owner graph or owner graph manager is null!";
394
392
  if (a.source.owner.getGraphManager().edges.indexOf(a) == -1) throw "Not in owner graph manager's edge list!";
395
393
  var u = a.source.owner.getGraphManager().edges.indexOf(a);
396
394
  a.source.owner.getGraphManager().edges.splice(u, 1);
@@ -432,7 +430,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
432
430
  }, a.prototype.getLayout = function() {
433
431
  return this.layout;
434
432
  }, a.prototype.isOneAncestorOfOther = function(e, t) {
435
- if (!(e != null && t != null)) throw "assert failed";
433
+ if (e == null || t == null) throw "assert failed";
436
434
  if (e == t) return !0;
437
435
  var n = e.getOwner(), r;
438
436
  do {
@@ -508,7 +506,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
508
506
  var o = a * n[0], s = n[1] / a;
509
507
  n[0] < s ? s = n[0] : o = n[1], n[0] = -1 * i[0] * (s / 2 + r), n[1] = -1 * i[1] * (o / 2 + r);
510
508
  }, i.decideDirectionsForOverlappingNodes = function(e, t, n) {
511
- e.getCenterX() < t.getCenterX() ? n[0] = -1 : n[0] = 1, e.getCenterY() < t.getCenterY() ? n[1] = -1 : n[1] = 1;
509
+ n[0] = e.getCenterX() < t.getCenterX() ? -1 : 1, n[1] = e.getCenterY() < t.getCenterY() ? -1 : 1;
512
510
  }, i.getIntersection2 = function(e, t, n) {
513
511
  var r = e.getCenterX(), i = e.getCenterY(), a = t.getCenterX(), o = t.getCenterY();
514
512
  if (e.intersects(t)) return n[0] = r, n[1] = i, n[2] = a, n[3] = o, !0;
@@ -532,9 +530,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
532
530
  case 3:
533
531
  j = d, A = r + m / D, n[0] = A, n[1] = j;
534
532
  break;
535
- case 4:
536
- A = u, j = i + -p * D, n[0] = A, n[1] = j;
537
- break;
533
+ case 4: A = u, j = i + -p * D, n[0] = A, n[1] = j;
538
534
  }
539
535
  if (!w) switch (k) {
540
536
  case 1:
@@ -546,9 +542,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
546
542
  case 3:
547
543
  N = y, M = a + S / D, n[2] = M, n[3] = N;
548
544
  break;
549
- case 4:
550
- M = v, N = o + -x * D, n[2] = M, n[3] = N;
551
- break;
545
+ case 4: M = v, N = o + -x * D, n[2] = M, n[3] = N;
552
546
  }
553
547
  }
554
548
  return !1;
@@ -801,7 +795,8 @@ var o = /* @__PURE__ */ t(((e, t) => {
801
795
  if (Array.isArray(e)) {
802
796
  for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
803
797
  return n;
804
- } else return Array.from(e);
798
+ }
799
+ return Array.from(e);
805
800
  }
806
801
  var i = n(0), a = n(6), o = n(3), s = n(1), c = n(5), l = n(4), u = n(17), d = n(27);
807
802
  function f(e) {
@@ -828,8 +823,8 @@ var o = /* @__PURE__ */ t(((e, t) => {
828
823
  return this.graphManager.getRoot() == null || this.graphManager.getRoot().getNodes().length == 0 || this.graphManager.includesInvalidEdge();
829
824
  }, f.prototype.runLayout = function() {
830
825
  this.isLayoutFinished = !1, this.tilingPreLayout && this.tilingPreLayout(), this.initParameters();
831
- var e = this.checkLayoutSuccess() ? !1 : this.layout();
832
- return i.ANIMATE === "during" ? !1 : (e && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, e);
826
+ var e = !this.checkLayoutSuccess() && this.layout();
827
+ return i.ANIMATE !== "during" && (e && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, e);
833
828
  }, f.prototype.doPostLayout = function() {
834
829
  this.incremental || this.transform(), this.update();
835
830
  }, f.prototype.update2 = function() {
@@ -927,10 +922,9 @@ var o = /* @__PURE__ */ t(((e, t) => {
927
922
  i += (o - t) / 50 * (e - 50);
928
923
  }
929
924
  return i;
930
- } else {
931
- var s, c;
932
- return e <= 50 ? (s = 9 * t / 500, c = t / 10) : (s = 9 * t / 50, c = -8 * t), s * e + c;
933
925
  }
926
+ var s, c;
927
+ return e <= 50 ? (s = 9 * t / 500, c = t / 10) : (s = 9 * t / 50, c = -8 * t), s * e + c;
934
928
  }, f.findCenterOfTree = function(e) {
935
929
  var t = [];
936
930
  t = t.concat(e);
@@ -1024,7 +1018,8 @@ var o = /* @__PURE__ */ t(((e, t) => {
1024
1018
  if (Array.isArray(e)) {
1025
1019
  for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
1026
1020
  return n;
1027
- } else return Array.from(e);
1021
+ }
1022
+ return Array.from(e);
1028
1023
  }
1029
1024
  var i = n(15), a = n(7), o = n(0), s = n(8), c = n(9);
1030
1025
  function l() {
@@ -1037,11 +1032,11 @@ var o = /* @__PURE__ */ t(((e, t) => {
1037
1032
  for (var e, t, n, r, i, s, c = this.getGraphManager().getAllEdges(), l = 0; l < c.length; l++) e = c[l], e.idealLength = this.idealEdgeLength, e.isInterGraph && (n = e.getSource(), r = e.getTarget(), i = e.getSourceInLca().getEstimatedSize(), s = e.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (e.idealLength += i + s - 2 * o.SIMPLE_NODE_SIZE), t = e.getLca().getInclusionTreeDepth(), e.idealLength += a.DEFAULT_EDGE_LENGTH * a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (n.getInclusionTreeDepth() + r.getInclusionTreeDepth() - 2 * t));
1038
1033
  }, l.prototype.initSpringEmbedder = function() {
1039
1034
  var e = this.getAllNodes().length;
1040
- this.incremental ? (e > a.ADAPTATION_LOWER_NODE_LIMIT && (this.coolingFactor = Math.max(this.coolingFactor * a.COOLING_ADAPTATION_FACTOR, this.coolingFactor - (e - a.ADAPTATION_LOWER_NODE_LIMIT) / (a.ADAPTATION_UPPER_NODE_LIMIT - a.ADAPTATION_LOWER_NODE_LIMIT) * this.coolingFactor * (1 - a.COOLING_ADAPTATION_FACTOR))), this.maxNodeDisplacement = a.MAX_NODE_DISPLACEMENT_INCREMENTAL) : (e > a.ADAPTATION_LOWER_NODE_LIMIT ? this.coolingFactor = Math.max(a.COOLING_ADAPTATION_FACTOR, 1 - (e - a.ADAPTATION_LOWER_NODE_LIMIT) / (a.ADAPTATION_UPPER_NODE_LIMIT - a.ADAPTATION_LOWER_NODE_LIMIT) * (1 - a.COOLING_ADAPTATION_FACTOR)) : this.coolingFactor = 1, this.initialCoolingFactor = this.coolingFactor, this.maxNodeDisplacement = a.MAX_NODE_DISPLACEMENT), this.maxIterations = Math.max(this.getAllNodes().length * 5, this.maxIterations), this.totalDisplacementThreshold = this.displacementThresholdPerNode * this.getAllNodes().length, this.repulsionRange = this.calcRepulsionRange();
1035
+ this.incremental ? (e > a.ADAPTATION_LOWER_NODE_LIMIT && (this.coolingFactor = Math.max(this.coolingFactor * a.COOLING_ADAPTATION_FACTOR, this.coolingFactor - (e - a.ADAPTATION_LOWER_NODE_LIMIT) / (a.ADAPTATION_UPPER_NODE_LIMIT - a.ADAPTATION_LOWER_NODE_LIMIT) * this.coolingFactor * (1 - a.COOLING_ADAPTATION_FACTOR))), this.maxNodeDisplacement = a.MAX_NODE_DISPLACEMENT_INCREMENTAL) : (this.coolingFactor = e > a.ADAPTATION_LOWER_NODE_LIMIT ? Math.max(a.COOLING_ADAPTATION_FACTOR, 1 - (e - a.ADAPTATION_LOWER_NODE_LIMIT) / (a.ADAPTATION_UPPER_NODE_LIMIT - a.ADAPTATION_LOWER_NODE_LIMIT) * (1 - a.COOLING_ADAPTATION_FACTOR)) : 1, this.initialCoolingFactor = this.coolingFactor, this.maxNodeDisplacement = a.MAX_NODE_DISPLACEMENT), this.maxIterations = Math.max(this.getAllNodes().length * 5, this.maxIterations), this.totalDisplacementThreshold = this.displacementThresholdPerNode * this.getAllNodes().length, this.repulsionRange = this.calcRepulsionRange();
1041
1036
  }, l.prototype.calcSpringForces = function() {
1042
1037
  for (var e = this.getAllEdges(), t, n = 0; n < e.length; n++) t = e[n], this.calcSpringForce(t, t.idealLength);
1043
1038
  }, l.prototype.calcRepulsionForces = function() {
1044
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n, r, i, o, s = this.getAllNodes(), c;
1039
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n, r, i, o, s = this.getAllNodes(), c;
1045
1040
  if (this.useFRGridVariant) for (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && e && this.updateGrid(), c = /* @__PURE__ */ new Set(), n = 0; n < s.length; n++) i = s[n], this.calculateRepulsionForceOfANode(i, c, e, t), c.add(i);
1046
1041
  else for (n = 0; n < s.length; n++) for (i = s[n], r = n + 1; r < s.length; r++) o = s[r], i.getOwner() == o.getOwner() && this.calcRepulsionForce(i, o);
1047
1042
  }, l.prototype.calcGravitationalForces = function() {
@@ -1093,7 +1088,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
1093
1088
  var o = /* @__PURE__ */ new Set();
1094
1089
  e.surrounding = [];
1095
1090
  for (var s, c = this.grid, l = e.startX - 1; l < e.finishX + 2; l++) for (var u = e.startY - 1; u < e.finishY + 2; u++) if (!(l < 0 || u < 0 || l >= c.length || u >= c[0].length)) {
1096
- for (var d = 0; d < c[l][u].length; d++) if (s = c[l][u][d], !(e.getOwner() != s.getOwner() || e == s) && !t.has(s) && !o.has(s)) {
1091
+ for (var d = 0; d < c[l][u].length; d++) if (s = c[l][u][d], e.getOwner() == s.getOwner() && e != s && !t.has(s) && !o.has(s)) {
1097
1092
  var f = Math.abs(e.getCenterX() - s.getCenterX()) - (e.getWidth() / 2 + s.getWidth() / 2), p = Math.abs(e.getCenterY() - s.getCenterY()) - (e.getHeight() / 2 + s.getHeight() / 2);
1098
1093
  f <= this.repulsionRange && p <= this.repulsionRange && o.add(s);
1099
1094
  }
@@ -1515,7 +1510,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
1515
1510
  }, v.prototype.newEdge = function(e) {
1516
1511
  return new s(null, null, e);
1517
1512
  }, v.prototype.initParameters = function() {
1518
- r.prototype.initParameters.call(this, arguments), this.isSubLayout || (c.DEFAULT_EDGE_LENGTH < 10 ? this.idealEdgeLength = 10 : this.idealEdgeLength = c.DEFAULT_EDGE_LENGTH, this.useSmartIdealEdgeLengthCalculation = c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.springConstant = l.DEFAULT_SPRING_STRENGTH, this.repulsionConstant = l.DEFAULT_REPULSION_STRENGTH, this.gravityConstant = l.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = l.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = l.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.prunedNodesAll = [], this.growTreeIterations = 0, this.afterGrowthIterations = 0, this.isTreeGrowing = !1, this.isGrowthFinished = !1, this.coolingCycle = 0, this.maxCoolingCycle = this.maxIterations / l.CONVERGENCE_CHECK_PERIOD, this.finalTemperature = l.CONVERGENCE_CHECK_PERIOD / this.maxIterations, this.coolingAdjuster = 1);
1513
+ r.prototype.initParameters.call(this, arguments), this.isSubLayout || (this.idealEdgeLength = c.DEFAULT_EDGE_LENGTH < 10 ? 10 : c.DEFAULT_EDGE_LENGTH, this.useSmartIdealEdgeLengthCalculation = c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.springConstant = l.DEFAULT_SPRING_STRENGTH, this.repulsionConstant = l.DEFAULT_REPULSION_STRENGTH, this.gravityConstant = l.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = l.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = l.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.prunedNodesAll = [], this.growTreeIterations = 0, this.afterGrowthIterations = 0, this.isTreeGrowing = !1, this.isGrowthFinished = !1, this.coolingCycle = 0, this.maxCoolingCycle = this.maxIterations / l.CONVERGENCE_CHECK_PERIOD, this.finalTemperature = l.CONVERGENCE_CHECK_PERIOD / this.maxIterations, this.coolingAdjuster = 1);
1519
1514
  }, v.prototype.layout = function() {
1520
1515
  return u.DEFAULT_CREATE_BENDS_AS_NEEDED && (this.createBendpoints(), this.graphManager.resetAllEdges()), this.level = 0, this.classicLayout();
1521
1516
  }, v.prototype.classicLayout = function() {
@@ -1770,7 +1765,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
1770
1765
  horizontalPadding: c.TILING_PADDING_HORIZONTAL
1771
1766
  };
1772
1767
  e.sort(function(e, t) {
1773
- return e.rect.width * e.rect.height > t.rect.width * t.rect.height ? -1 : e.rect.width * e.rect.height < t.rect.width * t.rect.height ? 1 : 0;
1768
+ return e.rect.width * e.rect.height > t.rect.width * t.rect.height ? -1 : +(e.rect.width * e.rect.height < t.rect.width * t.rect.height);
1774
1769
  });
1775
1770
  for (var r = 0; r < e.length; r++) {
1776
1771
  var i = e[r];
@@ -1938,7 +1933,7 @@ var o = /* @__PURE__ */ t(((e, t) => {
1938
1933
  this.options = d(u, e), p(this.options);
1939
1934
  }
1940
1935
  var p = function(e) {
1941
- e.nodeRepulsion != null && (a.DEFAULT_REPULSION_STRENGTH = i.DEFAULT_REPULSION_STRENGTH = e.nodeRepulsion), e.idealEdgeLength != null && (a.DEFAULT_EDGE_LENGTH = i.DEFAULT_EDGE_LENGTH = e.idealEdgeLength), e.edgeElasticity != null && (a.DEFAULT_SPRING_STRENGTH = i.DEFAULT_SPRING_STRENGTH = e.edgeElasticity), e.nestingFactor != null && (a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = e.nestingFactor), e.gravity != null && (a.DEFAULT_GRAVITY_STRENGTH = i.DEFAULT_GRAVITY_STRENGTH = e.gravity), e.numIter != null && (a.MAX_ITERATIONS = i.MAX_ITERATIONS = e.numIter), e.gravityRange != null && (a.DEFAULT_GRAVITY_RANGE_FACTOR = i.DEFAULT_GRAVITY_RANGE_FACTOR = e.gravityRange), e.gravityCompound != null && (a.DEFAULT_COMPOUND_GRAVITY_STRENGTH = i.DEFAULT_COMPOUND_GRAVITY_STRENGTH = e.gravityCompound), e.gravityRangeCompound != null && (a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = e.gravityRangeCompound), e.initialEnergyOnIncremental != null && (a.DEFAULT_COOLING_FACTOR_INCREMENTAL = i.DEFAULT_COOLING_FACTOR_INCREMENTAL = e.initialEnergyOnIncremental), e.quality == "draft" ? r.QUALITY = 0 : e.quality == "proof" ? r.QUALITY = 2 : r.QUALITY = 1, a.NODE_DIMENSIONS_INCLUDE_LABELS = i.NODE_DIMENSIONS_INCLUDE_LABELS = r.NODE_DIMENSIONS_INCLUDE_LABELS = e.nodeDimensionsIncludeLabels, a.DEFAULT_INCREMENTAL = i.DEFAULT_INCREMENTAL = r.DEFAULT_INCREMENTAL = !e.randomize, a.ANIMATE = i.ANIMATE = r.ANIMATE = e.animate, a.TILE = e.tile, a.TILING_PADDING_VERTICAL = typeof e.tilingPaddingVertical == "function" ? e.tilingPaddingVertical.call() : e.tilingPaddingVertical, a.TILING_PADDING_HORIZONTAL = typeof e.tilingPaddingHorizontal == "function" ? e.tilingPaddingHorizontal.call() : e.tilingPaddingHorizontal;
1936
+ e.nodeRepulsion != null && (a.DEFAULT_REPULSION_STRENGTH = i.DEFAULT_REPULSION_STRENGTH = e.nodeRepulsion), e.idealEdgeLength != null && (a.DEFAULT_EDGE_LENGTH = i.DEFAULT_EDGE_LENGTH = e.idealEdgeLength), e.edgeElasticity != null && (a.DEFAULT_SPRING_STRENGTH = i.DEFAULT_SPRING_STRENGTH = e.edgeElasticity), e.nestingFactor != null && (a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = e.nestingFactor), e.gravity != null && (a.DEFAULT_GRAVITY_STRENGTH = i.DEFAULT_GRAVITY_STRENGTH = e.gravity), e.numIter != null && (a.MAX_ITERATIONS = i.MAX_ITERATIONS = e.numIter), e.gravityRange != null && (a.DEFAULT_GRAVITY_RANGE_FACTOR = i.DEFAULT_GRAVITY_RANGE_FACTOR = e.gravityRange), e.gravityCompound != null && (a.DEFAULT_COMPOUND_GRAVITY_STRENGTH = i.DEFAULT_COMPOUND_GRAVITY_STRENGTH = e.gravityCompound), e.gravityRangeCompound != null && (a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = e.gravityRangeCompound), e.initialEnergyOnIncremental != null && (a.DEFAULT_COOLING_FACTOR_INCREMENTAL = i.DEFAULT_COOLING_FACTOR_INCREMENTAL = e.initialEnergyOnIncremental), r.QUALITY = e.quality == "draft" ? 0 : e.quality == "proof" ? 2 : 1, a.NODE_DIMENSIONS_INCLUDE_LABELS = i.NODE_DIMENSIONS_INCLUDE_LABELS = r.NODE_DIMENSIONS_INCLUDE_LABELS = e.nodeDimensionsIncludeLabels, a.DEFAULT_INCREMENTAL = i.DEFAULT_INCREMENTAL = r.DEFAULT_INCREMENTAL = !e.randomize, a.ANIMATE = i.ANIMATE = r.ANIMATE = e.animate, a.TILE = e.tile, a.TILING_PADDING_VERTICAL = typeof e.tilingPaddingVertical == "function" ? e.tilingPaddingVertical.call() : e.tilingPaddingVertical, a.TILING_PADDING_HORIZONTAL = typeof e.tilingPaddingHorizontal == "function" ? e.tilingPaddingHorizontal.call() : e.tilingPaddingHorizontal;
1942
1937
  };
1943
1938
  f.prototype.run = function() {
1944
1939
  var e, t, n = this.options;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./css-DVAQAvTD.js";
2
+ export { e as default };