erl-mathtextx-editor 0.1.7 → 0.1.8

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 (29) hide show
  1. package/README.md +268 -253
  2. package/dist/{CellPropertiesDialogImpl-HPT77uxM.js → CellPropertiesDialogImpl-DBgs-7H9.js} +1 -1
  3. package/dist/{ContentViewer-CWZ30KYR.js → ContentViewer-CsFSAN_B.js} +15 -15
  4. package/dist/ImageInsertDialog-B24KHrgt.js +238 -0
  5. package/dist/{InsertTableDialogImpl-DZrLgDKN.js → InsertTableDialogImpl-B6_PRu5m.js} +1 -1
  6. package/dist/{LinkDialogImpl-DTHugWZM.js → LinkDialogImpl-BTA8u_qQ.js} +60 -45
  7. package/dist/TablePropertiesDialogImpl-CuRRWS4H.js +56 -0
  8. package/dist/{TableTemplatesDialogImpl-D0sFSAKl.js → TableTemplatesDialogImpl-CU8seEdV.js} +1 -1
  9. package/dist/assets/erl-mathtextx-editor.css +1 -1
  10. package/dist/assets/viewer.css +1 -1
  11. package/dist/components/TablePropertiesDialog.d.ts +4 -0
  12. package/dist/components/TablePropertiesDialogImpl.d.ts +11 -0
  13. package/dist/core/extensions.d.ts +6 -0
  14. package/dist/erl-mathtextx-editor.js +14 -13
  15. package/dist/erl-mathtextx-editor.umd.cjs +163 -153
  16. package/dist/extensions/CustomIndent.d.ts +10 -0
  17. package/dist/extensions/IndentBackspace.d.ts +2 -0
  18. package/dist/extensions/SlashGraph.d.ts +2 -0
  19. package/dist/extensions/TableAlignPlugin.d.ts +7 -0
  20. package/dist/{index-CLGg8QXp.js → index-CB1g0gXh.js} +177 -199
  21. package/dist/index-UCSefQk0.js +53830 -0
  22. package/dist/index.d.ts +2 -0
  23. package/dist/math/MathFieldView.d.ts +5 -0
  24. package/dist/{tiptap-Bc1mIOtx.js → tiptap-K3rU-Wjn.js} +4325 -3155
  25. package/dist/utils/logger.d.ts +40 -0
  26. package/dist/viewer.js +1 -1
  27. package/package.json +3 -17
  28. package/dist/ImageInsertDialog-DzLFhSDK.js +0 -217
  29. package/dist/index-Ci20X1Rj.js +0 -5281
@@ -1,3 +1,4 @@
1
+ import { g as Wt, c as F, a as za } from "./index-UCSefQk0.js";
1
2
  function yf(t, e) {
2
3
  for (var n = 0; n < e.length; n++) {
3
4
  const r = e[n];
@@ -14,29 +15,6 @@ function yf(t, e) {
14
15
  }
15
16
  return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
16
17
  }
17
- var F = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
18
- function za(t) {
19
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
20
- }
21
- function Wt(t) {
22
- if (t.__esModule) return t;
23
- var e = t.default;
24
- if (typeof e == "function") {
25
- var n = function r() {
26
- return this instanceof r ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
27
- };
28
- n.prototype = e.prototype;
29
- } else n = {};
30
- return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(t).forEach(function(r) {
31
- var i = Object.getOwnPropertyDescriptor(t, r);
32
- Object.defineProperty(n, r, i.get ? i : {
33
- enumerable: !0,
34
- get: function() {
35
- return t[r];
36
- }
37
- });
38
- }), n;
39
- }
40
18
  var Ii = {};
41
19
  typeof window < "u" && function(t, e) {
42
20
  try {
@@ -165,13 +143,13 @@ function Af(t, e, n, r, i, o, s, a) {
165
143
  return f = (c * (e - o) - h * (t - i)) / f, [t + f * u, e + f * l];
166
144
  }
167
145
  function wn(t, e, n, r, i, o, s) {
168
- var a = t - n, u = e - r, l = (s ? o : -o) / K(a * a + u * u), c = l * u, h = -l * a, f = t + c, p = e + h, d = n + c, g = r + h, x = (f + d) / 2, y = (p + g) / 2, M = d - f, E = g - p, T = M * M + E * E, D = i - o, w = f * g - d * p, R = (E < 0 ? -1 : 1) * K(vf(0, D * D * T - w * w)), j = (w * E - M * R) / T, J = (-w * M - E * R) / T, Z = (w * E + M * R) / T, Q = (-w * M + E * R) / T, O = j - x, L = J - y, m = Z - x, S = Q - y;
169
- return O * O + L * L > m * m + S * S && (j = Z, J = Q), {
170
- cx: j,
146
+ var a = t - n, u = e - r, l = (s ? o : -o) / K(a * a + u * u), c = l * u, h = -l * a, f = t + c, p = e + h, d = n + c, g = r + h, x = (f + d) / 2, y = (p + g) / 2, M = d - f, E = g - p, T = M * M + E * E, D = i - o, w = f * g - d * p, R = (E < 0 ? -1 : 1) * K(vf(0, D * D * T - w * w)), B = (w * E - M * R) / T, J = (-w * M - E * R) / T, Z = (w * E + M * R) / T, Q = (-w * M + E * R) / T, O = B - x, L = J - y, m = Z - x, S = Q - y;
147
+ return O * O + L * L > m * m + S * S && (B = Z, J = Q), {
148
+ cx: B,
171
149
  cy: J,
172
150
  x01: -c,
173
151
  y01: -h,
174
- x11: j * (i / D - 1),
152
+ x11: B * (i / D - 1),
175
153
  y11: J * (i / D - 1)
176
154
  };
177
155
  }
@@ -183,9 +161,9 @@ function $f() {
183
161
  else if (x > Qt - lt)
184
162
  a.moveTo(p * Ht(d), p * gt(d)), a.arc(0, 0, p, d, g, !y), f > lt && (a.moveTo(f * Ht(g), f * gt(g)), a.arc(0, 0, f, g, d, y));
185
163
  else {
186
- var M = d, E = g, T = d, D = g, w = x, R = x, j = s.apply(this, arguments) / 2, J = j > lt && (r ? +r.apply(this, arguments) : K(f * f + p * p)), Z = Se(ps(p - f) / 2, +n.apply(this, arguments)), Q = Z, O = Z, L, m;
164
+ var M = d, E = g, T = d, D = g, w = x, R = x, B = s.apply(this, arguments) / 2, J = B > lt && (r ? +r.apply(this, arguments) : K(f * f + p * p)), Z = Se(ps(p - f) / 2, +n.apply(this, arguments)), Q = Z, O = Z, L, m;
187
165
  if (J > lt) {
188
- var S = ms(J / f * gt(j)), v = ms(J / p * gt(j));
166
+ var S = ms(J / f * gt(B)), v = ms(J / p * gt(B));
189
167
  (w -= S * 2) > lt ? (S *= y ? 1 : -1, T += S, D -= S) : (w = 0, T = D = (d + g) / 2), (R -= v * 2) > lt ? (v *= y ? 1 : -1, M += v, E -= v) : (R = 0, M = E = (d + g) / 2);
190
168
  }
191
169
  var k = p * Ht(M), C = p * gt(M), H = f * Ht(D), P = f * gt(D);
@@ -375,10 +353,10 @@ function If() {
375
353
  }, s;
376
354
  }
377
355
  var Xa = Hi(cr);
378
- function ja(t) {
356
+ function Ba(t) {
379
357
  this._curve = t;
380
358
  }
381
- ja.prototype = {
359
+ Ba.prototype = {
382
360
  areaStart: function() {
383
361
  this._curve.areaStart();
384
362
  },
@@ -397,7 +375,7 @@ ja.prototype = {
397
375
  };
398
376
  function Hi(t) {
399
377
  function e(n) {
400
- return new ja(t(n));
378
+ return new Ba(t(n));
401
379
  }
402
380
  return e._curve = t, e;
403
381
  }
@@ -427,7 +405,7 @@ function gs() {
427
405
  function Qe(t, e) {
428
406
  return [(e = +e) * Math.cos(t -= Math.PI / 2), e * Math.sin(t)];
429
407
  }
430
- class Ba {
408
+ class ja {
431
409
  constructor(e, n) {
432
410
  this._context = e, this._x = n;
433
411
  }
@@ -479,10 +457,10 @@ class Pf {
479
457
  }
480
458
  }
481
459
  function Ga(t) {
482
- return new Ba(t, !0);
460
+ return new ja(t, !0);
483
461
  }
484
462
  function Wa(t) {
485
- return new Ba(t, !1);
463
+ return new ja(t, !1);
486
464
  }
487
465
  function Df(t) {
488
466
  return new Pf(t);
@@ -562,9 +540,9 @@ const qf = K(3), Va = {
562
540
  const n = K(e) * 0.4431;
563
541
  t.moveTo(n, n), t.lineTo(n, -n), t.lineTo(-n, -n), t.lineTo(-n, n), t.closePath();
564
542
  }
565
- }, Xf = 0.8908130915292852, ru = gt(Jt / 10) / gt(7 * Jt / 10), jf = gt(Qt / 10) * ru, Bf = -Ht(Qt / 10) * ru, iu = {
543
+ }, Xf = 0.8908130915292852, ru = gt(Jt / 10) / gt(7 * Jt / 10), Bf = gt(Qt / 10) * ru, jf = -Ht(Qt / 10) * ru, iu = {
566
544
  draw(t, e) {
567
- const n = K(e * Xf), r = jf * n, i = Bf * n;
545
+ const n = K(e * Xf), r = Bf * n, i = jf * n;
568
546
  t.moveTo(0, -n), t.lineTo(r, i);
569
547
  for (let o = 1; o < 5; ++o) {
570
548
  const s = Qt * o / 5, a = Ht(s), u = gt(s);
@@ -1589,10 +1567,10 @@ function xu(t) {
1589
1567
  h = Le(h);
1590
1568
  var p = h.fill, d = h.align, g = h.sign, x = h.symbol, y = h.zero, M = h.width, E = h.comma, T = h.precision, D = h.trim, w = h.type;
1591
1569
  w === "n" ? (E = !0, w = "g") : Ms[w] || (T === void 0 && (T = 12), D = !0, w = "g"), (y || p === "0" && d === "=") && (y = !0, p = "0", d = "=");
1592
- var R = (f && f.prefix !== void 0 ? f.prefix : "") + (x === "$" ? n : x === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : ""), j = (x === "$" ? r : /[%p]/.test(w) ? s : "") + (f && f.suffix !== void 0 ? f.suffix : ""), J = Ms[w], Z = /[defgprs%]/.test(w);
1570
+ var R = (f && f.prefix !== void 0 ? f.prefix : "") + (x === "$" ? n : x === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : ""), B = (x === "$" ? r : /[%p]/.test(w) ? s : "") + (f && f.suffix !== void 0 ? f.suffix : ""), J = Ms[w], Z = /[defgprs%]/.test(w);
1593
1571
  T = T === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, T)) : Math.max(0, Math.min(20, T));
1594
1572
  function Q(O) {
1595
- var L = R, m = j, S, v, k;
1573
+ var L = R, m = B, S, v, k;
1596
1574
  if (w === "c")
1597
1575
  m = J(O) + m, O = "";
1598
1576
  else {
@@ -1764,15 +1742,15 @@ function Eu(t, e) {
1764
1742
  return (t == null || !(t >= t)) - (e == null || !(e >= e)) || (t < e ? -1 : t > e ? 1 : 0);
1765
1743
  }
1766
1744
  const qh = Math.sqrt(50), Uh = Math.sqrt(10), Xh = Math.sqrt(2);
1767
- function jn(t, e, n) {
1745
+ function Bn(t, e, n) {
1768
1746
  const r = (e - t) / Math.max(0, n), i = Math.floor(Math.log10(r)), o = r / Math.pow(10, i), s = o >= qh ? 10 : o >= Uh ? 5 : o >= Xh ? 2 : 1;
1769
1747
  let a, u, l;
1770
- return i < 0 ? (l = Math.pow(10, -i) / s, a = Math.round(t * l), u = Math.round(e * l), a / l < t && ++a, u / l > e && --u, l = -l) : (l = Math.pow(10, i) * s, a = Math.round(t / l), u = Math.round(e / l), a * l < t && ++a, u * l > e && --u), u < a && 0.5 <= n && n < 2 ? jn(t, e, n * 2) : [a, u, l];
1748
+ return i < 0 ? (l = Math.pow(10, -i) / s, a = Math.round(t * l), u = Math.round(e * l), a / l < t && ++a, u / l > e && --u, l = -l) : (l = Math.pow(10, i) * s, a = Math.round(t / l), u = Math.round(e / l), a * l < t && ++a, u * l > e && --u), u < a && 0.5 <= n && n < 2 ? Bn(t, e, n * 2) : [a, u, l];
1771
1749
  }
1772
1750
  function di(t, e, n) {
1773
1751
  if (e = +e, t = +t, n = +n, !(n > 0)) return [];
1774
1752
  if (t === e) return [t];
1775
- const r = e < t, [i, o, s] = r ? jn(e, t, n) : jn(t, e, n);
1753
+ const r = e < t, [i, o, s] = r ? Bn(e, t, n) : Bn(t, e, n);
1776
1754
  if (!(o >= i)) return [];
1777
1755
  const a = o - i + 1, u = new Array(a);
1778
1756
  if (r)
@@ -1783,7 +1761,7 @@ function di(t, e, n) {
1783
1761
  return u;
1784
1762
  }
1785
1763
  function gi(t, e, n) {
1786
- return e = +e, t = +t, n = +n, jn(t, e, n)[2];
1764
+ return e = +e, t = +t, n = +n, Bn(t, e, n)[2];
1787
1765
  }
1788
1766
  function _i(t, e, n) {
1789
1767
  e = +e, t = +t, n = +n;
@@ -1823,7 +1801,7 @@ function Xe(t, e, n) {
1823
1801
  const r = t[e];
1824
1802
  t[e] = t[n], t[n] = r;
1825
1803
  }
1826
- function jh(t, e, n) {
1804
+ function Bh(t, e, n) {
1827
1805
  if (t = Float64Array.from(Dh(t)), !(!(r = t.length) || isNaN(e = +e))) {
1828
1806
  if (e <= 0 || r < 2) return $s(t);
1829
1807
  if (e >= 1) return As(t);
@@ -1831,7 +1809,7 @@ function jh(t, e, n) {
1831
1809
  return s + (a - s) * (i - o);
1832
1810
  }
1833
1811
  }
1834
- function Bh(t, e, n = Nu) {
1812
+ function jh(t, e, n = Nu) {
1835
1813
  if (!(!(r = t.length) || isNaN(e = +e))) {
1836
1814
  if (e <= 0 || r < 2) return +n(t[0], 0, t);
1837
1815
  if (e >= 1) return +n(t[r - 1], r - 1, t);
@@ -1874,7 +1852,7 @@ function Vt(t, e) {
1874
1852
  return this;
1875
1853
  }
1876
1854
  const yi = Symbol("implicit");
1877
- function ji() {
1855
+ function Bi() {
1878
1856
  var t = new Es(), e = [], n = [], r = yi;
1879
1857
  function i(o) {
1880
1858
  let s = t.get(o);
@@ -1895,11 +1873,11 @@ function ji() {
1895
1873
  }, i.unknown = function(o) {
1896
1874
  return arguments.length ? (r = o, i) : r;
1897
1875
  }, i.copy = function() {
1898
- return ji(e, n).unknown(r);
1876
+ return Bi(e, n).unknown(r);
1899
1877
  }, Nt.apply(i, arguments), i;
1900
1878
  }
1901
- function Bi() {
1902
- var t = ji().unknown(void 0), e = t.domain, n = t.range, r = 0, i = 1, o, s, a = !1, u = 0, l = 0, c = 0.5;
1879
+ function ji() {
1880
+ var t = Bi().unknown(void 0), e = t.domain, n = t.range, r = 0, i = 1, o, s, a = !1, u = 0, l = 0, c = 0.5;
1903
1881
  delete t.unknown;
1904
1882
  function h() {
1905
1883
  var f = e().length, p = i < r, d = p ? i : r, g = p ? r : i;
@@ -1930,7 +1908,7 @@ function Bi() {
1930
1908
  }, t.align = function(f) {
1931
1909
  return arguments.length ? (c = Math.max(0, Math.min(1, f)), h()) : c;
1932
1910
  }, t.copy = function() {
1933
- return Bi(e(), [r, i]).round(a).paddingInner(u).paddingOuter(l).align(c);
1911
+ return ji(e(), [r, i]).round(a).paddingInner(u).paddingOuter(l).align(c);
1934
1912
  }, Nt.apply(h(), arguments);
1935
1913
  }
1936
1914
  function Au(t) {
@@ -1940,7 +1918,7 @@ function Au(t) {
1940
1918
  }, t;
1941
1919
  }
1942
1920
  function Wh() {
1943
- return Au(Bi.apply(null, arguments).paddingInner(1));
1921
+ return Au(ji.apply(null, arguments).paddingInner(1));
1944
1922
  }
1945
1923
  function Fe(t, e, n) {
1946
1924
  t.prototype = e.prototype = n, n.constructor = t;
@@ -2159,7 +2137,7 @@ Fe(rt, rn, pn(ne, {
2159
2137
  return this;
2160
2138
  },
2161
2139
  clamp() {
2162
- return new rt(pe(this.r), pe(this.g), pe(this.b), Bn(this.opacity));
2140
+ return new rt(pe(this.r), pe(this.g), pe(this.b), jn(this.opacity));
2163
2141
  },
2164
2142
  displayable() {
2165
2143
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
@@ -2178,10 +2156,10 @@ function ip() {
2178
2156
  return `#${ce(this.r)}${ce(this.g)}${ce(this.b)}${ce((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2179
2157
  }
2180
2158
  function Ds() {
2181
- const t = Bn(this.opacity);
2159
+ const t = jn(this.opacity);
2182
2160
  return `${t === 1 ? "rgb(" : "rgba("}${pe(this.r)}, ${pe(this.g)}, ${pe(this.b)}${t === 1 ? ")" : `, ${t})`}`;
2183
2161
  }
2184
- function Bn(t) {
2162
+ function jn(t) {
2185
2163
  return isNaN(t) ? 1 : Math.max(0, Math.min(1, t));
2186
2164
  }
2187
2165
  function pe(t) {
@@ -2224,13 +2202,13 @@ Fe(Et, Gn, pn(ne, {
2224
2202
  );
2225
2203
  },
2226
2204
  clamp() {
2227
- return new Et(Hs(this.h), Mn(this.s), Mn(this.l), Bn(this.opacity));
2205
+ return new Et(Hs(this.h), Mn(this.s), Mn(this.l), jn(this.opacity));
2228
2206
  },
2229
2207
  displayable() {
2230
2208
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2231
2209
  },
2232
2210
  formatHsl() {
2233
- const t = Bn(this.opacity);
2211
+ const t = jn(this.opacity);
2234
2212
  return `${t === 1 ? "hsl(" : "hsla("}${Hs(this.h)}, ${Mn(this.s) * 100}%, ${Mn(this.l) * 100}%${t === 1 ? ")" : `, ${t})`}`;
2235
2213
  }
2236
2214
  }));
@@ -2380,7 +2358,7 @@ function Xu(t) {
2380
2358
  };
2381
2359
  }
2382
2360
  const vr = (t) => () => t;
2383
- function ju(t, e) {
2361
+ function Bu(t, e) {
2384
2362
  return function(n) {
2385
2363
  return t + n * e;
2386
2364
  };
@@ -2392,7 +2370,7 @@ function cp(t, e, n) {
2392
2370
  }
2393
2371
  function wr(t, e) {
2394
2372
  var n = e - t;
2395
- return n ? ju(t, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : vr(isNaN(t) ? e : t);
2373
+ return n ? Bu(t, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : vr(isNaN(t) ? e : t);
2396
2374
  }
2397
2375
  function fp(t) {
2398
2376
  return (t = +t) == 1 ? it : function(e, n) {
@@ -2401,7 +2379,7 @@ function fp(t) {
2401
2379
  }
2402
2380
  function it(t, e) {
2403
2381
  var n = e - t;
2404
- return n ? ju(t, n) : vr(isNaN(t) ? e : t);
2382
+ return n ? Bu(t, n) : vr(isNaN(t) ? e : t);
2405
2383
  }
2406
2384
  const sn = function t(e) {
2407
2385
  var n = fp(e);
@@ -2413,7 +2391,7 @@ const sn = function t(e) {
2413
2391
  }
2414
2392
  return r.gamma = t, r;
2415
2393
  }(1);
2416
- function Bu(t) {
2394
+ function ju(t) {
2417
2395
  return function(e) {
2418
2396
  var n = e.length, r = new Array(n), i = new Array(n), o = new Array(n), s, a;
2419
2397
  for (s = 0; s < n; ++s)
@@ -2423,7 +2401,7 @@ function Bu(t) {
2423
2401
  };
2424
2402
  };
2425
2403
  }
2426
- var hp = Bu(Uu), pp = Bu(Xu);
2404
+ var hp = ju(Uu), pp = ju(Xu);
2427
2405
  function Zi(t, e) {
2428
2406
  e || (e = []);
2429
2407
  var n = t ? Math.min(e.length, t.length) : 0, r = e.slice(), i;
@@ -2591,11 +2569,11 @@ const el = function t(e, n, r) {
2591
2569
  else {
2592
2570
  var M = Math.sqrt(g), E = (f * f - l * l + r * g) / (2 * l * n * M), T = (f * f - l * l - r * g) / (2 * f * n * M), D = Math.log(Math.sqrt(E * E + 1) - E), w = Math.log(Math.sqrt(T * T + 1) - T);
2593
2571
  y = (w - D) / e, x = function(R) {
2594
- var j = R * y, J = Us(D), Z = l / (n * M) * (J * Mp(e * j + D) - bp(D));
2572
+ var B = R * y, J = Us(D), Z = l / (n * M) * (J * Mp(e * B + D) - bp(D));
2595
2573
  return [
2596
2574
  a + Z * p,
2597
2575
  u + Z * d,
2598
- l * J / Us(e * j + D)
2576
+ l * J / Us(e * B + D)
2599
2577
  ];
2600
2578
  };
2601
2579
  }
@@ -2831,10 +2809,10 @@ function ll(t, e) {
2831
2809
  var n = 0, r = t.length - 1, i = t[n], o = t[r], s;
2832
2810
  return o < i && (s = n, n = r, r = s, s = i, i = o, o = s), t[n] = e.floor(i), t[r] = e.ceil(o), t;
2833
2811
  }
2834
- function js(t) {
2812
+ function Bs(t) {
2835
2813
  return Math.log(t);
2836
2814
  }
2837
- function Bs(t) {
2815
+ function js(t) {
2838
2816
  return Math.exp(t);
2839
2817
  }
2840
2818
  function Rp(t) {
@@ -2856,10 +2834,10 @@ function Gs(t) {
2856
2834
  return (e, n) => -t(-e, n);
2857
2835
  }
2858
2836
  function Ji(t) {
2859
- const e = t(js, Bs), n = e.domain;
2837
+ const e = t(Bs, js), n = e.domain;
2860
2838
  let r = 10, i, o;
2861
2839
  function s() {
2862
- return i = Yp(r), o = zp(r), n()[0] < 0 ? (i = Gs(i), o = Gs(o), t(Rp, Hp)) : t(js, Bs), e;
2840
+ return i = Yp(r), o = zp(r), n()[0] < 0 ? (i = Gs(i), o = Gs(o), t(Rp, Hp)) : t(Bs, js), e;
2863
2841
  }
2864
2842
  return e.base = function(a) {
2865
2843
  return arguments.length ? (r = +a, s()) : r;
@@ -2961,13 +2939,13 @@ function Xp() {
2961
2939
  function Qs(t) {
2962
2940
  return Math.sign(t) * t * t;
2963
2941
  }
2964
- function jp(t) {
2942
+ function Bp(t) {
2965
2943
  return Math.sign(t) * Math.sqrt(Math.abs(t));
2966
2944
  }
2967
2945
  function hl() {
2968
2946
  var t = Ki(), e = [0, 1], n = !1, r;
2969
2947
  function i(o) {
2970
- var s = jp(t(o));
2948
+ var s = Bp(t(o));
2971
2949
  return isNaN(s) ? r : n ? Math.round(s) : s;
2972
2950
  }
2973
2951
  return i.invert = function(o) {
@@ -2992,7 +2970,7 @@ function pl() {
2992
2970
  var t = [], e = [], n = [], r;
2993
2971
  function i() {
2994
2972
  var s = 0, a = Math.max(1, e.length);
2995
- for (n = new Array(a - 1); ++s < a; ) n[s - 1] = Bh(t, s / a);
2973
+ for (n = new Array(a - 1); ++s < a; ) n[s - 1] = jh(t, s / a);
2996
2974
  return o;
2997
2975
  }
2998
2976
  function o(s) {
@@ -3156,10 +3134,10 @@ function we(t) {
3156
3134
  e.setDate(e.getDate() + n * 7);
3157
3135
  }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * Tt) / ro);
3158
3136
  }
3159
- const Tr = we(0), tr = we(1), Bp = we(2), Gp = we(3), Ie = we(4), Wp = we(5), Vp = we(6);
3137
+ const Tr = we(0), tr = we(1), jp = we(2), Gp = we(3), Ie = we(4), Wp = we(5), Vp = we(6);
3160
3138
  Tr.range;
3161
3139
  tr.range;
3162
- Bp.range;
3140
+ jp.range;
3163
3141
  Gp.range;
3164
3142
  Ie.range;
3165
3143
  Wp.range;
@@ -3191,28 +3169,28 @@ const lo = nt((t) => {
3191
3169
  t.setUTCMonth(t.getUTCMonth() + e);
3192
3170
  }, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
3193
3171
  lo.range;
3194
- const jt = nt((t) => {
3172
+ const Bt = nt((t) => {
3195
3173
  t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
3196
3174
  }, (t, e) => {
3197
3175
  t.setFullYear(t.getFullYear() + e);
3198
3176
  }, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
3199
- jt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : nt((e) => {
3177
+ Bt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : nt((e) => {
3200
3178
  e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
3201
3179
  }, (e, n) => {
3202
3180
  e.setFullYear(e.getFullYear() + n * t);
3203
3181
  });
3204
- jt.range;
3205
- const Bt = nt((t) => {
3182
+ Bt.range;
3183
+ const jt = nt((t) => {
3206
3184
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
3207
3185
  }, (t, e) => {
3208
3186
  t.setUTCFullYear(t.getUTCFullYear() + e);
3209
3187
  }, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
3210
- Bt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : nt((e) => {
3188
+ jt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : nt((e) => {
3211
3189
  e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
3212
3190
  }, (e, n) => {
3213
3191
  e.setUTCFullYear(e.getUTCFullYear() + n * t);
3214
3192
  });
3215
- Bt.range;
3193
+ jt.range;
3216
3194
  function _l(t, e, n, r, i, o) {
3217
3195
  const s = [
3218
3196
  [fe, 1, qt],
@@ -3249,7 +3227,7 @@ function _l(t, e, n, r, i, o) {
3249
3227
  }
3250
3228
  return [a, u];
3251
3229
  }
3252
- const [t0, e0] = _l(Bt, lo, Sr, gl, ao, oo), [n0, r0] = _l(jt, uo, Tr, dn, so, io);
3230
+ const [t0, e0] = _l(jt, lo, Sr, gl, ao, oo), [n0, r0] = _l(Bt, uo, Tr, dn, so, io);
3253
3231
  function oi(t) {
3254
3232
  if (0 <= t.y && t.y < 100) {
3255
3233
  var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
@@ -3264,11 +3242,11 @@ function si(t) {
3264
3242
  }
3265
3243
  return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
3266
3244
  }
3267
- function je(t, e, n) {
3245
+ function Be(t, e, n) {
3268
3246
  return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
3269
3247
  }
3270
3248
  function i0(t) {
3271
- var e = t.dateTime, n = t.date, r = t.time, i = t.periods, o = t.days, s = t.shortDays, a = t.months, u = t.shortMonths, l = Be(i), c = Ge(i), h = Be(o), f = Ge(o), p = Be(s), d = Ge(s), g = Be(a), x = Ge(a), y = Be(u), M = Ge(u), E = {
3249
+ var e = t.dateTime, n = t.date, r = t.time, i = t.periods, o = t.days, s = t.shortDays, a = t.months, u = t.shortMonths, l = je(i), c = Ge(i), h = je(o), f = Ge(o), p = je(s), d = Ge(s), g = je(a), x = Ge(a), y = je(u), M = Ge(u), E = {
3272
3250
  a: k,
3273
3251
  A: C,
3274
3252
  b: H,
@@ -3316,8 +3294,8 @@ function i0(t) {
3316
3294
  I: q0,
3317
3295
  j: U0,
3318
3296
  L: wl,
3319
- m: j0,
3320
- M: B0,
3297
+ m: B0,
3298
+ M: j0,
3321
3299
  p: st,
3322
3300
  q: ht,
3323
3301
  Q: aa,
@@ -3379,18 +3357,18 @@ function i0(t) {
3379
3357
  }
3380
3358
  function R(N, Y) {
3381
3359
  return function(q) {
3382
- var b = je(1900, void 0, 1), dt = j(b, N, q += "", 0), V, _t;
3360
+ var b = Be(1900, void 0, 1), dt = B(b, N, q += "", 0), V, _t;
3383
3361
  if (dt != q.length) return null;
3384
3362
  if ("Q" in b) return new Date(b.Q);
3385
3363
  if ("s" in b) return new Date(b.s * 1e3 + ("L" in b ? b.L : 0));
3386
3364
  if (Y && !("Z" in b) && (b.Z = 0), "p" in b && (b.H = b.H % 12 + b.p * 12), b.m === void 0 && (b.m = "q" in b ? b.q : 0), "V" in b) {
3387
3365
  if (b.V < 1 || b.V > 53) return null;
3388
- "w" in b || (b.w = 1), "Z" in b ? (V = si(je(b.y, 0, 1)), _t = V.getUTCDay(), V = _t > 4 || _t === 0 ? er.ceil(V) : er(V), V = Mr.offset(V, (b.V - 1) * 7), b.y = V.getUTCFullYear(), b.m = V.getUTCMonth(), b.d = V.getUTCDate() + (b.w + 6) % 7) : (V = oi(je(b.y, 0, 1)), _t = V.getDay(), V = _t > 4 || _t === 0 ? tr.ceil(V) : tr(V), V = dn.offset(V, (b.V - 1) * 7), b.y = V.getFullYear(), b.m = V.getMonth(), b.d = V.getDate() + (b.w + 6) % 7);
3389
- } else ("W" in b || "U" in b) && ("w" in b || (b.w = "u" in b ? b.u % 7 : "W" in b ? 1 : 0), _t = "Z" in b ? si(je(b.y, 0, 1)).getUTCDay() : oi(je(b.y, 0, 1)).getDay(), b.m = 0, b.d = "W" in b ? (b.w + 6) % 7 + b.W * 7 - (_t + 5) % 7 : b.w + b.U * 7 - (_t + 6) % 7);
3366
+ "w" in b || (b.w = 1), "Z" in b ? (V = si(Be(b.y, 0, 1)), _t = V.getUTCDay(), V = _t > 4 || _t === 0 ? er.ceil(V) : er(V), V = Mr.offset(V, (b.V - 1) * 7), b.y = V.getUTCFullYear(), b.m = V.getUTCMonth(), b.d = V.getUTCDate() + (b.w + 6) % 7) : (V = oi(Be(b.y, 0, 1)), _t = V.getDay(), V = _t > 4 || _t === 0 ? tr.ceil(V) : tr(V), V = dn.offset(V, (b.V - 1) * 7), b.y = V.getFullYear(), b.m = V.getMonth(), b.d = V.getDate() + (b.w + 6) % 7);
3367
+ } else ("W" in b || "U" in b) && ("w" in b || (b.w = "u" in b ? b.u % 7 : "W" in b ? 1 : 0), _t = "Z" in b ? si(Be(b.y, 0, 1)).getUTCDay() : oi(Be(b.y, 0, 1)).getDay(), b.m = 0, b.d = "W" in b ? (b.w + 6) % 7 + b.W * 7 - (_t + 5) % 7 : b.w + b.U * 7 - (_t + 6) % 7);
3390
3368
  return "Z" in b ? (b.H += b.Z / 100 | 0, b.M += b.Z % 100, si(b)) : oi(b);
3391
3369
  };
3392
3370
  }
3393
- function j(N, Y, q, b) {
3371
+ function B(N, Y, q, b) {
3394
3372
  for (var dt = 0, V = Y.length, _t = q.length, yt, se; dt < V; ) {
3395
3373
  if (b >= _t) return -1;
3396
3374
  if (yt = Y.charCodeAt(dt++), yt === 37) {
@@ -3421,13 +3399,13 @@ function i0(t) {
3421
3399
  return b ? (N.m = x.get(b[0].toLowerCase()), q + b[0].length) : -1;
3422
3400
  }
3423
3401
  function m(N, Y, q) {
3424
- return j(N, e, Y, q);
3402
+ return B(N, e, Y, q);
3425
3403
  }
3426
3404
  function S(N, Y, q) {
3427
- return j(N, n, Y, q);
3405
+ return B(N, n, Y, q);
3428
3406
  }
3429
3407
  function v(N, Y, q) {
3430
- return j(N, r, Y, q);
3408
+ return B(N, r, Y, q);
3431
3409
  }
3432
3410
  function k(N) {
3433
3411
  return s[N.getDay()];
@@ -3500,7 +3478,7 @@ function X(t, e, n) {
3500
3478
  function a0(t) {
3501
3479
  return t.replace(s0, "\\$&");
3502
3480
  }
3503
- function Be(t) {
3481
+ function je(t) {
3504
3482
  return new RegExp("^(?:" + t.map(a0).join("|") + ")", "i");
3505
3483
  }
3506
3484
  function Ge(t) {
@@ -3596,7 +3574,7 @@ function S0(t, e) {
3596
3574
  return X(t.getHours() % 12 || 12, e, 2);
3597
3575
  }
3598
3576
  function N0(t, e) {
3599
- return X(1 + dn.count(jt(t), t), e, 3);
3577
+ return X(1 + dn.count(Bt(t), t), e, 3);
3600
3578
  }
3601
3579
  function yl(t, e) {
3602
3580
  return X(t.getMilliseconds(), e, 3);
@@ -3618,20 +3596,20 @@ function O0(t) {
3618
3596
  return e === 0 ? 7 : e;
3619
3597
  }
3620
3598
  function L0(t, e) {
3621
- return X(Tr.count(jt(t) - 1, t), e, 2);
3599
+ return X(Tr.count(Bt(t) - 1, t), e, 2);
3622
3600
  }
3623
3601
  function vl(t) {
3624
3602
  var e = t.getDay();
3625
3603
  return e >= 4 || e === 0 ? Ie(t) : Ie.ceil(t);
3626
3604
  }
3627
3605
  function C0(t, e) {
3628
- return t = vl(t), X(Ie.count(jt(t), t) + (jt(t).getDay() === 4), e, 2);
3606
+ return t = vl(t), X(Ie.count(Bt(t), t) + (Bt(t).getDay() === 4), e, 2);
3629
3607
  }
3630
3608
  function I0(t) {
3631
3609
  return t.getDay();
3632
3610
  }
3633
3611
  function P0(t, e) {
3634
- return X(tr.count(jt(t) - 1, t), e, 2);
3612
+ return X(tr.count(Bt(t) - 1, t), e, 2);
3635
3613
  }
3636
3614
  function D0(t, e) {
3637
3615
  return X(t.getFullYear() % 100, e, 2);
@@ -3660,7 +3638,7 @@ function q0(t, e) {
3660
3638
  return X(t.getUTCHours() % 12 || 12, e, 2);
3661
3639
  }
3662
3640
  function U0(t, e) {
3663
- return X(1 + Mr.count(Bt(t), t), e, 3);
3641
+ return X(1 + Mr.count(jt(t), t), e, 3);
3664
3642
  }
3665
3643
  function wl(t, e) {
3666
3644
  return X(t.getUTCMilliseconds(), e, 3);
@@ -3668,10 +3646,10 @@ function wl(t, e) {
3668
3646
  function X0(t, e) {
3669
3647
  return wl(t, e) + "000";
3670
3648
  }
3671
- function j0(t, e) {
3649
+ function B0(t, e) {
3672
3650
  return X(t.getUTCMonth() + 1, e, 2);
3673
3651
  }
3674
- function B0(t, e) {
3652
+ function j0(t, e) {
3675
3653
  return X(t.getUTCMinutes(), e, 2);
3676
3654
  }
3677
3655
  function G0(t, e) {
@@ -3682,20 +3660,20 @@ function W0(t) {
3682
3660
  return e === 0 ? 7 : e;
3683
3661
  }
3684
3662
  function V0(t, e) {
3685
- return X(Sr.count(Bt(t) - 1, t), e, 2);
3663
+ return X(Sr.count(jt(t) - 1, t), e, 2);
3686
3664
  }
3687
3665
  function xl(t) {
3688
3666
  var e = t.getUTCDay();
3689
3667
  return e >= 4 || e === 0 ? Pe(t) : Pe.ceil(t);
3690
3668
  }
3691
3669
  function Z0(t, e) {
3692
- return t = xl(t), X(Pe.count(Bt(t), t) + (Bt(t).getUTCDay() === 4), e, 2);
3670
+ return t = xl(t), X(Pe.count(jt(t), t) + (jt(t).getUTCDay() === 4), e, 2);
3693
3671
  }
3694
3672
  function Q0(t) {
3695
3673
  return t.getUTCDay();
3696
3674
  }
3697
3675
  function K0(t, e) {
3698
- return X(er.count(Bt(t) - 1, t), e, 2);
3676
+ return X(er.count(jt(t) - 1, t), e, 2);
3699
3677
  }
3700
3678
  function J0(t, e) {
3701
3679
  return X(t.getUTCFullYear() % 100, e, 2);
@@ -3764,10 +3742,10 @@ function co(t, e, n, r, i, o, s, a, u, l) {
3764
3742
  }, c;
3765
3743
  }
3766
3744
  function am() {
3767
- return Nt.apply(co(n0, r0, jt, uo, Tr, dn, so, io, fe, bl).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
3745
+ return Nt.apply(co(n0, r0, Bt, uo, Tr, dn, so, io, fe, bl).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
3768
3746
  }
3769
3747
  function um() {
3770
- return Nt.apply(co(t0, e0, Bt, lo, Sr, Mr, ao, oo, fe, Ml).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
3748
+ return Nt.apply(co(t0, e0, jt, lo, Sr, Mr, ao, oo, fe, Ml).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
3771
3749
  }
3772
3750
  function Nr() {
3773
3751
  var t = 0, e = 1, n, r, i, o, s = pt, a = !1, u;
@@ -3838,7 +3816,7 @@ function El() {
3838
3816
  }, n.range = function() {
3839
3817
  return t.map((r, i) => e(i / (t.length - 1)));
3840
3818
  }, n.quantiles = function(r) {
3841
- return Array.from({ length: r + 1 }, (i, o) => jh(t, o / r));
3819
+ return Array.from({ length: r + 1 }, (i, o) => Bh(t, o / r));
3842
3820
  }, n.copy = function() {
3843
3821
  return El(e).domain(t);
3844
3822
  }, Vt.apply(n, arguments);
@@ -3896,7 +3874,7 @@ function cm() {
3896
3874
  }
3897
3875
  const fm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3898
3876
  __proto__: null,
3899
- scaleBand: Bi,
3877
+ scaleBand: ji,
3900
3878
  scaleDiverging: kl,
3901
3879
  scaleDivergingLog: Al,
3902
3880
  scaleDivergingPow: ho,
@@ -3906,7 +3884,7 @@ const fm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3906
3884
  scaleImplicit: yi,
3907
3885
  scaleLinear: al,
3908
3886
  scaleLog: cl,
3909
- scaleOrdinal: ji,
3887
+ scaleOrdinal: Bi,
3910
3888
  scalePoint: Wh,
3911
3889
  scalePow: no,
3912
3890
  scaleQuantile: pl,
@@ -3947,13 +3925,13 @@ function ym() {
3947
3925
  function kr(t, e) {
3948
3926
  var n = [], r = null, i = null, o = 6, s = 6, a = 3, u = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = t === On || t === Ke ? -1 : 1, c = t === Ke || t === Ln ? "x" : "y", h = t === On || t === bi ? mm : dm;
3949
3927
  function f(p) {
3950
- var d = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : pm), x = Math.max(o, 0) + a, y = e.range(), M = +y[0] + u, E = +y[y.length - 1] + u, T = (e.bandwidth ? _m : gm)(e.copy(), u), D = p.selection ? p.selection() : p, w = D.selectAll(".domain").data([null]), R = D.selectAll(".tick").data(d, e).order(), j = R.exit(), J = R.enter().append("g").attr("class", "tick"), Z = R.select("line"), Q = R.select("text");
3951
- w = w.merge(w.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), R = R.merge(J), Z = Z.merge(J.append("line").attr("stroke", "currentColor").attr(c + "2", l * o)), Q = Q.merge(J.append("text").attr("fill", "currentColor").attr(c, l * x).attr("dy", t === On ? "0em" : t === bi ? "0.71em" : "0.32em")), p !== D && (w = w.transition(p), R = R.transition(p), Z = Z.transition(p), Q = Q.transition(p), j = j.transition(p).attr("opacity", la).attr("transform", function(O) {
3928
+ var d = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : pm), x = Math.max(o, 0) + a, y = e.range(), M = +y[0] + u, E = +y[y.length - 1] + u, T = (e.bandwidth ? _m : gm)(e.copy(), u), D = p.selection ? p.selection() : p, w = D.selectAll(".domain").data([null]), R = D.selectAll(".tick").data(d, e).order(), B = R.exit(), J = R.enter().append("g").attr("class", "tick"), Z = R.select("line"), Q = R.select("text");
3929
+ w = w.merge(w.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), R = R.merge(J), Z = Z.merge(J.append("line").attr("stroke", "currentColor").attr(c + "2", l * o)), Q = Q.merge(J.append("text").attr("fill", "currentColor").attr(c, l * x).attr("dy", t === On ? "0em" : t === bi ? "0.71em" : "0.32em")), p !== D && (w = w.transition(p), R = R.transition(p), Z = Z.transition(p), Q = Q.transition(p), B = B.transition(p).attr("opacity", la).attr("transform", function(O) {
3952
3930
  return isFinite(O = T(O)) ? h(O + u) : this.getAttribute("transform");
3953
3931
  }), J.attr("opacity", la).attr("transform", function(O) {
3954
3932
  var L = this.parentNode.__axis;
3955
3933
  return h((L && isFinite(L = L(O)) ? L : T(O)) + u);
3956
- })), j.remove(), w.attr("d", t === Ke || t === Ln ? s ? "M" + l * s + "," + M + "H" + u + "V" + E + "H" + l * s : "M" + u + "," + M + "V" + E : s ? "M" + M + "," + l * s + "V" + u + "H" + E + "V" + l * s : "M" + M + "," + u + "H" + E), R.attr("opacity", 1).attr("transform", function(O) {
3934
+ })), B.remove(), w.attr("d", t === Ke || t === Ln ? s ? "M" + l * s + "," + M + "H" + u + "V" + E + "H" + l * s : "M" + u + "," + M + "V" + E : s ? "M" + M + "," + l * s + "V" + u + "H" + E + "V" + l * s : "M" + M + "," + u + "H" + E), R.attr("opacity", 1).attr("transform", function(O) {
3957
3935
  return h(T(O) + u);
3958
3936
  }), Z.attr(c + "2", l * o), Q.attr(c, l * x).text(g), D.filter(ym).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Ln ? "start" : t === Ke ? "end" : "middle"), D.each(function() {
3959
3937
  this.__axis = T;
@@ -4190,12 +4168,12 @@ nr.prototype = {
4190
4168
  return this._parent.querySelectorAll(t);
4191
4169
  }
4192
4170
  };
4193
- function jm(t) {
4171
+ function Bm(t) {
4194
4172
  return function() {
4195
4173
  return t;
4196
4174
  };
4197
4175
  }
4198
- function Bm(t, e, n, r, i, o) {
4176
+ function jm(t, e, n, r, i, o) {
4199
4177
  for (var s = 0, a, u = e.length, l = o.length; s < l; ++s)
4200
4178
  (a = e[s]) ? (a.__data__ = o[s], r[s] = a) : n[s] = new nr(t, o[s]);
4201
4179
  for (; s < u; ++s)
@@ -4215,8 +4193,8 @@ function Wm(t) {
4215
4193
  }
4216
4194
  function Vm(t, e) {
4217
4195
  if (!arguments.length) return Array.from(this, Wm);
4218
- var n = e ? Gm : Bm, r = this._parents, i = this._groups;
4219
- typeof t != "function" && (t = jm(t));
4196
+ var n = e ? Gm : jm, r = this._parents, i = this._groups;
4197
+ typeof t != "function" && (t = Bm(t));
4220
4198
  for (var o = i.length, s = new Array(o), a = new Array(o), u = new Array(o), l = 0; l < o; ++l) {
4221
4199
  var c = r[l], h = i[l], f = h.length, p = Zm(t.call(c, c && c.__data__, l, r)), d = p.length, g = a[l] = new Array(d), x = s[l] = new Array(d), y = u[l] = new Array(f);
4222
4200
  n(c, h, g, x, y, p, e);
@@ -4499,16 +4477,16 @@ function Ud() {
4499
4477
  function Xd() {
4500
4478
  return this.each(Ud);
4501
4479
  }
4502
- function jd() {
4480
+ function Bd() {
4503
4481
  var t = this.cloneNode(!1), e = this.parentNode;
4504
4482
  return e ? e.insertBefore(t, this.nextSibling) : t;
4505
4483
  }
4506
- function Bd() {
4484
+ function jd() {
4507
4485
  var t = this.cloneNode(!0), e = this.parentNode;
4508
4486
  return e ? e.insertBefore(t, this.nextSibling) : t;
4509
4487
  }
4510
4488
  function Gd(t) {
4511
- return this.select(t ? Bd : jd);
4489
+ return this.select(t ? jd : Bd);
4512
4490
  }
4513
4491
  function Wd(t) {
4514
4492
  return arguments.length ? this.property("__data__", t) : this.node().__data__;
@@ -4918,7 +4896,7 @@ function bo(t, e, n) {
4918
4896
  return At(i, r).value[e];
4919
4897
  };
4920
4898
  }
4921
- function jl(t, e) {
4899
+ function Bl(t, e) {
4922
4900
  var n;
4923
4901
  return (typeof e == "number" ? Mt : e instanceof ee ? sn : (n = ee(e)) ? (e = n, sn) : Qi)(t, e);
4924
4902
  }
@@ -4961,7 +4939,7 @@ function kg(t, e, n) {
4961
4939
  };
4962
4940
  }
4963
4941
  function Ag(t, e) {
4964
- var n = gn(t), r = n === "transform" ? tl : jl;
4942
+ var n = gn(t), r = n === "transform" ? tl : Bl;
4965
4943
  return this.attrTween(t, typeof e == "function" ? (n.local ? kg : Eg)(n, r, bo(this, "attr." + t, e)) : e == null ? (n.local ? Tg : Mg)(n) : (n.local ? Ng : Sg)(n, r, e));
4966
4944
  }
4967
4945
  function $g(t, e) {
@@ -5047,14 +5025,14 @@ function Xg(t) {
5047
5025
  if (typeof t != "function") throw new Error();
5048
5026
  return this.each(Ug(this._id, t));
5049
5027
  }
5050
- function jg(t) {
5028
+ function Bg(t) {
5051
5029
  typeof t != "function" && (t = go(t));
5052
5030
  for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
5053
5031
  for (var o = e[i], s = o.length, a = r[i] = [], u, l = 0; l < s; ++l)
5054
5032
  (u = o[l]) && t.call(u, u.__data__, l, o) && a.push(u);
5055
5033
  return new Gt(r, this._parents, this._name, this._id);
5056
5034
  }
5057
- function Bg(t) {
5035
+ function jg(t) {
5058
5036
  if (t._id !== this._id) throw new Error();
5059
5037
  for (var e = this._groups, n = t._groups, r = e.length, i = n.length, o = Math.min(r, i), s = new Array(r), a = 0; a < o; ++a)
5060
5038
  for (var u = e[a], l = n[a], c = u.length, h = s[a] = new Array(c), f, p = 0; p < c; ++p)
@@ -5121,7 +5099,7 @@ function n_(t, e) {
5121
5099
  return o === s ? null : o === n && s === r ? i : i = e(n = o, r = s);
5122
5100
  };
5123
5101
  }
5124
- function Bl(t) {
5102
+ function jl(t) {
5125
5103
  return function() {
5126
5104
  this.style.removeProperty(t);
5127
5105
  };
@@ -5143,13 +5121,13 @@ function i_(t, e, n) {
5143
5121
  function o_(t, e) {
5144
5122
  var n, r, i, o = "style." + e, s = "end." + o, a;
5145
5123
  return function() {
5146
- var u = It(this, t), l = u.on, c = u.value[o] == null ? a || (a = Bl(e)) : void 0;
5124
+ var u = It(this, t), l = u.on, c = u.value[o] == null ? a || (a = jl(e)) : void 0;
5147
5125
  (l !== n || i !== c) && (r = (n = l).copy()).on(s, i = c), u.on = r;
5148
5126
  };
5149
5127
  }
5150
5128
  function s_(t, e, n) {
5151
- var r = (t += "") == "transform" ? Ju : jl;
5152
- return e == null ? this.styleTween(t, n_(t, r)).on("end.style." + t, Bl(t)) : typeof e == "function" ? this.styleTween(t, i_(t, r, bo(this, "style." + t, e))).each(o_(this._id, t)) : this.styleTween(t, r_(t, r, e), n).on("end.style." + t, null);
5129
+ var r = (t += "") == "transform" ? Ju : Bl;
5130
+ return e == null ? this.styleTween(t, n_(t, r)).on("end.style." + t, jl(t)) : typeof e == "function" ? this.styleTween(t, i_(t, r, bo(this, "style." + t, e))).each(o_(this._id, t)) : this.styleTween(t, r_(t, r, e), n).on("end.style." + t, null);
5153
5131
  }
5154
5132
  function a_(t, e, n) {
5155
5133
  return function(r) {
@@ -5245,8 +5223,8 @@ Gt.prototype = {
5245
5223
  selectAll: Jg,
5246
5224
  selectChild: Rt.selectChild,
5247
5225
  selectChildren: Rt.selectChildren,
5248
- filter: jg,
5249
- merge: Bg,
5226
+ filter: Bg,
5227
+ merge: jg,
5250
5228
  selection: e_,
5251
5229
  transition: g_,
5252
5230
  call: Rt.call,
@@ -5389,7 +5367,7 @@ function k_(t, e, n) {
5389
5367
  function A_() {
5390
5368
  var t = T_, e = S_, n = k_, r = N_, i = E_, o = [0, 1 / 0], s = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], a = 250, u = el, l = po("start", "zoom", "end"), c, h, f, p = 500, d = 150, g = 0, x = 10;
5391
5369
  function y(m) {
5392
- m.property("__zoom", da).on("wheel.zoom", j, { passive: !1 }).on("mousedown.zoom", J).on("dblclick.zoom", Z).filter(i).on("touchstart.zoom", Q).on("touchmove.zoom", O).on("touchend.zoom touchcancel.zoom", L).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
5370
+ m.property("__zoom", da).on("wheel.zoom", B, { passive: !1 }).on("mousedown.zoom", J).on("dblclick.zoom", Z).filter(i).on("touchstart.zoom", Q).on("touchmove.zoom", O).on("touchend.zoom touchcancel.zoom", L).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
5393
5371
  }
5394
5372
  y.transform = function(m, S, v, k) {
5395
5373
  var C = m.selection ? m.selection() : m;
@@ -5483,7 +5461,7 @@ function A_() {
5483
5461
  );
5484
5462
  }
5485
5463
  };
5486
- function j(m, ...S) {
5464
+ function B(m, ...S) {
5487
5465
  if (!t.apply(this, arguments)) return;
5488
5466
  var v = w(this, S).event(m), k = this.__zoom, C = Math.max(o[0], Math.min(o[1], k.k * Math.pow(2, r.apply(this, arguments)))), H = Ft(m);
5489
5467
  if (v.wheel)
@@ -5889,11 +5867,11 @@ function X_(t, e) {
5889
5867
  }
5890
5868
  Zt.registerGraphType = X_;
5891
5869
  Zt.default = un;
5892
- var j_ = F && F.__importDefault || function(t) {
5870
+ var B_ = F && F.__importDefault || function(t) {
5893
5871
  return t && t.__esModule ? t : { default: t };
5894
5872
  };
5895
5873
  Object.defineProperty($t, "__esModule", { value: !0 });
5896
- const ya = j_(Zt), B_ = {
5874
+ const ya = B_(Zt), j_ = {
5897
5875
  linspace: function(t, e, n) {
5898
5876
  const r = (e - t) / (n - 1);
5899
5877
  return Array.from({ length: n }, (i, o) => t + r * o);
@@ -5931,7 +5909,7 @@ const ya = j_(Zt), B_ = {
5931
5909
  return 9007199254740991;
5932
5910
  }
5933
5911
  };
5934
- $t.default = B_;
5912
+ $t.default = j_;
5935
5913
  var St = {}, Eo = { exports: {} }, _n = {}, rc = {
5936
5914
  EOF: 0,
5937
5915
  DELIMITER: 1,
@@ -6163,46 +6141,46 @@ function Do(t) {
6163
6141
  Do.prototype = Object.create(sy.prototype);
6164
6142
  Do.prototype.type = "BlockNode";
6165
6143
  var dc = Do, ye = rc, ay = oc, Ro = ac, wt = uc, uy = lc, gc = cc, ly = fc, cy = hc, fy = pc, hy = mc, py = dc;
6166
- function B() {
6144
+ function j() {
6167
6145
  this.lexer = new ay(), this.tokens = null;
6168
6146
  }
6169
- B.prototype.current = function() {
6147
+ j.prototype.current = function() {
6170
6148
  return this.tokens[0];
6171
6149
  };
6172
- B.prototype.next = function() {
6150
+ j.prototype.next = function() {
6173
6151
  return this.tokens[1];
6174
6152
  };
6175
- B.prototype.peek = function() {
6153
+ j.prototype.peek = function() {
6176
6154
  if (this.tokens.length) {
6177
6155
  for (var t = this.tokens[0], e = 0; e < arguments.length; e += 1)
6178
6156
  if (t.value === arguments[e])
6179
6157
  return !0;
6180
6158
  }
6181
6159
  };
6182
- B.prototype.consume = function(t) {
6160
+ j.prototype.consume = function(t) {
6183
6161
  return this.tokens.shift();
6184
6162
  };
6185
- B.prototype.expect = function(t) {
6163
+ j.prototype.expect = function(t) {
6186
6164
  if (!this.peek(t))
6187
6165
  throw Error("expected " + t);
6188
6166
  return this.consume();
6189
6167
  };
6190
- B.prototype.isEOF = function() {
6168
+ j.prototype.isEOF = function() {
6191
6169
  return this.current().type === ye.EOF;
6192
6170
  };
6193
- B.prototype.parse = function(t) {
6171
+ j.prototype.parse = function(t) {
6194
6172
  return this.tokens = this.lexer.lex(t), this.program();
6195
6173
  };
6196
- B.prototype.program = function() {
6174
+ j.prototype.program = function() {
6197
6175
  for (var t = []; !this.isEOF(); )
6198
6176
  t.push(this.assignment()), this.peek(";") && this.consume();
6199
6177
  return this.end(), new py(t);
6200
6178
  };
6201
- B.prototype.assignment = function() {
6179
+ j.prototype.assignment = function() {
6202
6180
  var t = this.ternary();
6203
6181
  return t instanceof gc && this.peek("=") ? (this.consume(), new hy(t.name, this.assignment())) : t;
6204
6182
  };
6205
- B.prototype.ternary = function() {
6183
+ j.prototype.ternary = function() {
6206
6184
  var t = this.logicalOR();
6207
6185
  if (this.peek("?")) {
6208
6186
  this.consume();
@@ -6213,7 +6191,7 @@ B.prototype.ternary = function() {
6213
6191
  }
6214
6192
  return t;
6215
6193
  };
6216
- B.prototype.logicalOR = function() {
6194
+ j.prototype.logicalOR = function() {
6217
6195
  var t = this.logicalXOR();
6218
6196
  if (this.peek("||")) {
6219
6197
  var e = this.consume(), n = this.logicalOR();
@@ -6221,7 +6199,7 @@ B.prototype.logicalOR = function() {
6221
6199
  }
6222
6200
  return t;
6223
6201
  };
6224
- B.prototype.logicalXOR = function() {
6202
+ j.prototype.logicalXOR = function() {
6225
6203
  var t = this.logicalAND();
6226
6204
  if (this.current().value === "xor") {
6227
6205
  var e = this.consume(), n = this.logicalXOR();
@@ -6229,7 +6207,7 @@ B.prototype.logicalXOR = function() {
6229
6207
  }
6230
6208
  return t;
6231
6209
  };
6232
- B.prototype.logicalAND = function() {
6210
+ j.prototype.logicalAND = function() {
6233
6211
  var t = this.bitwiseOR();
6234
6212
  if (this.peek("&&")) {
6235
6213
  var e = this.consume(), n = this.logicalAND();
@@ -6237,7 +6215,7 @@ B.prototype.logicalAND = function() {
6237
6215
  }
6238
6216
  return t;
6239
6217
  };
6240
- B.prototype.bitwiseOR = function() {
6218
+ j.prototype.bitwiseOR = function() {
6241
6219
  var t = this.bitwiseXOR();
6242
6220
  if (this.peek("|")) {
6243
6221
  var e = this.consume(), n = this.bitwiseOR();
@@ -6245,7 +6223,7 @@ B.prototype.bitwiseOR = function() {
6245
6223
  }
6246
6224
  return t;
6247
6225
  };
6248
- B.prototype.bitwiseXOR = function() {
6226
+ j.prototype.bitwiseXOR = function() {
6249
6227
  var t = this.bitwiseAND();
6250
6228
  if (this.peek("^|")) {
6251
6229
  var e = this.consume(), n = this.bitwiseXOR();
@@ -6253,7 +6231,7 @@ B.prototype.bitwiseXOR = function() {
6253
6231
  }
6254
6232
  return t;
6255
6233
  };
6256
- B.prototype.bitwiseAND = function() {
6234
+ j.prototype.bitwiseAND = function() {
6257
6235
  var t = this.relational();
6258
6236
  if (this.peek("&")) {
6259
6237
  var e = this.consume(), n = this.bitwiseAND();
@@ -6261,7 +6239,7 @@ B.prototype.bitwiseAND = function() {
6261
6239
  }
6262
6240
  return t;
6263
6241
  };
6264
- B.prototype.relational = function() {
6242
+ j.prototype.relational = function() {
6265
6243
  var t = this.shift();
6266
6244
  if (this.peek("==", "===", "!=", "!==", ">=", "<=", ">", "<")) {
6267
6245
  var e = this.consume(), n = this.shift();
@@ -6269,7 +6247,7 @@ B.prototype.relational = function() {
6269
6247
  }
6270
6248
  return t;
6271
6249
  };
6272
- B.prototype.shift = function() {
6250
+ j.prototype.shift = function() {
6273
6251
  var t = this.additive();
6274
6252
  if (this.peek(">>", "<<", ">>>")) {
6275
6253
  var e = this.consume(), n = this.shift();
@@ -6277,26 +6255,26 @@ B.prototype.shift = function() {
6277
6255
  }
6278
6256
  return t;
6279
6257
  };
6280
- B.prototype.additive = function() {
6258
+ j.prototype.additive = function() {
6281
6259
  for (var t = this.multiplicative(); this.peek("+", "-"); ) {
6282
6260
  var e = this.consume();
6283
6261
  t = new wt(e.value, [t, this.multiplicative()]);
6284
6262
  }
6285
6263
  return t;
6286
6264
  };
6287
- B.prototype.multiplicative = function() {
6265
+ j.prototype.multiplicative = function() {
6288
6266
  for (var t, e, n = this.unary(); this.peek("*", "/", "%"); )
6289
6267
  t = this.consume(), n = new wt(t.value, [n, this.unary()]);
6290
6268
  return this.current().type === ye.SYMBOL || this.peek("(") || !(n.type instanceof Ro) && this.current().type === ye.NUMBER ? (e = this.multiplicative(), new wt("*", [n, e])) : n;
6291
6269
  };
6292
- B.prototype.unary = function() {
6270
+ j.prototype.unary = function() {
6293
6271
  if (this.peek("-", "+", "~")) {
6294
6272
  var t = this.consume(), e = this.unary();
6295
6273
  return new uy(t.value, e);
6296
6274
  }
6297
6275
  return this.pow();
6298
6276
  };
6299
- B.prototype.pow = function() {
6277
+ j.prototype.pow = function() {
6300
6278
  var t = this.factorial();
6301
6279
  if (this.peek("^", "**")) {
6302
6280
  var e = this.consume(), n = this.unary();
@@ -6304,7 +6282,7 @@ B.prototype.pow = function() {
6304
6282
  }
6305
6283
  return t;
6306
6284
  };
6307
- B.prototype.factorial = function() {
6285
+ j.prototype.factorial = function() {
6308
6286
  var t = this.symbol();
6309
6287
  if (this.peek("!")) {
6310
6288
  var e = this.consume();
@@ -6312,7 +6290,7 @@ B.prototype.factorial = function() {
6312
6290
  }
6313
6291
  return t;
6314
6292
  };
6315
- B.prototype.symbol = function() {
6293
+ j.prototype.symbol = function() {
6316
6294
  var t = this.current();
6317
6295
  if (t.type === ye.SYMBOL) {
6318
6296
  var e = this.consume(), n = this.functionCall(e);
@@ -6320,7 +6298,7 @@ B.prototype.symbol = function() {
6320
6298
  }
6321
6299
  return this.string();
6322
6300
  };
6323
- B.prototype.functionCall = function(t) {
6301
+ j.prototype.functionCall = function(t) {
6324
6302
  var e = t.value;
6325
6303
  if (this.peek("(")) {
6326
6304
  this.consume();
@@ -6330,10 +6308,10 @@ B.prototype.functionCall = function(t) {
6330
6308
  }
6331
6309
  return new gc(e);
6332
6310
  };
6333
- B.prototype.string = function() {
6311
+ j.prototype.string = function() {
6334
6312
  return this.current().type === ye.STRING ? new Ro(this.consume().value, "string") : this.array();
6335
6313
  };
6336
- B.prototype.array = function() {
6314
+ j.prototype.array = function() {
6337
6315
  if (this.peek("[")) {
6338
6316
  this.consume();
6339
6317
  for (var t = []; !this.peek("]") && !this.isEOF(); )
@@ -6342,11 +6320,11 @@ B.prototype.array = function() {
6342
6320
  }
6343
6321
  return this.number();
6344
6322
  };
6345
- B.prototype.number = function() {
6323
+ j.prototype.number = function() {
6346
6324
  var t = this.current();
6347
6325
  return t.type === ye.NUMBER ? new Ro(this.consume().value, "number") : this.parentheses();
6348
6326
  };
6349
- B.prototype.parentheses = function() {
6327
+ j.prototype.parentheses = function() {
6350
6328
  var t = this.current();
6351
6329
  if (t.value === "(") {
6352
6330
  this.consume();
@@ -6355,12 +6333,12 @@ B.prototype.parentheses = function() {
6355
6333
  }
6356
6334
  return this.end();
6357
6335
  };
6358
- B.prototype.end = function() {
6336
+ j.prototype.end = function() {
6359
6337
  var t = this.current();
6360
6338
  if (t.type !== ye.EOF)
6361
6339
  throw Error("unexpected end of expression");
6362
6340
  };
6363
- var my = B, dy = {
6341
+ var my = j, dy = {
6364
6342
  ArrayNode: hc,
6365
6343
  AssignmentNode: mc,
6366
6344
  BlockNode: dc,
@@ -7392,7 +7370,7 @@ const Nn = (3373259426 + 273688 / (1 << 21)) / (1 << 30), En = (3373259426 + 273
7392
7370
  function Tc(t, e) {
7393
7371
  return I(t) ? I(e) : !I(e) && t.lo === e.lo && t.hi === e.hi;
7394
7372
  }
7395
- const jy = 1e-7;
7373
+ const By = 1e-7;
7396
7374
  function ar(t, e) {
7397
7375
  if (!t)
7398
7376
  throw new Error(e || "assertion failed");
@@ -7400,7 +7378,7 @@ function ar(t, e) {
7400
7378
  function Aa(t, e) {
7401
7379
  if (!isFinite(t))
7402
7380
  return ar(t === e, `[Infinity] expected ${t} to be ${e}`);
7403
- ar(Math.abs(t - e) < jy, `expected ${t} to be close to ${e}`);
7381
+ ar(Math.abs(t - e) < By, `expected ${t} to be close to ${e}`);
7404
7382
  }
7405
7383
  function qo(t, e) {
7406
7384
  t = Array.isArray(t) ? t : t.toArray(), e = Array.isArray(e) ? e : e.toArray(), Aa(t[0], e[0]), Aa(t[1], e[1]);
@@ -7419,24 +7397,24 @@ function Xo(t, e) {
7419
7397
  return I(t) || I(e) ? !1 : t.lo > e.hi;
7420
7398
  }
7421
7399
  const kc = Xo;
7422
- function jo(t, e) {
7400
+ function Bo(t, e) {
7423
7401
  return I(t) || I(e) ? !1 : t.hi <= e.lo;
7424
7402
  }
7425
- const Ac = jo;
7426
- function Bo(t, e) {
7403
+ const Ac = Bo;
7404
+ function jo(t, e) {
7427
7405
  return I(t) || I(e) ? !1 : t.lo >= e.hi;
7428
7406
  }
7429
- const $c = Bo, By = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7407
+ const $c = jo, jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7430
7408
  __proto__: null,
7431
7409
  almostEqual: qo,
7432
7410
  assertIncludes: Sc,
7433
7411
  equal: Tc,
7434
7412
  geq: $c,
7435
- greaterEqualThan: Bo,
7413
+ greaterEqualThan: jo,
7436
7414
  greaterThan: Xo,
7437
7415
  gt: kc,
7438
7416
  leq: Ac,
7439
- lessEqualThan: jo,
7417
+ lessEqualThan: Bo,
7440
7418
  lessThan: Uo,
7441
7419
  lt: Ec,
7442
7420
  notEqual: Nc
@@ -7609,11 +7587,11 @@ function Xc(t, e) {
7609
7587
  const n = I(t), r = I(e);
7610
7588
  return n && r ? $.EMPTY : n ? e.clone() : r ? t.clone() : new A(Math.max(t.lo, e.lo), Math.max(t.hi, e.hi));
7611
7589
  }
7612
- function jc(t, e) {
7590
+ function Bc(t, e) {
7613
7591
  const n = I(t), r = I(e);
7614
7592
  return n && r ? $.EMPTY : n ? e.clone() : r ? t.clone() : new A(Math.min(t.lo, e.lo), Math.min(t.hi, e.hi));
7615
7593
  }
7616
- function Bc(t) {
7594
+ function jc(t) {
7617
7595
  return new A().set(t.lo, t.hi);
7618
7596
  }
7619
7597
  const Jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -7621,7 +7599,7 @@ const Jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7621
7599
  LOG_EXP_10: ts,
7622
7600
  LOG_EXP_2: es,
7623
7601
  abs: Uc,
7624
- clone: Bc,
7602
+ clone: jc,
7625
7603
  difference: Yc,
7626
7604
  exp: Ic,
7627
7605
  hull: Hc,
@@ -7631,7 +7609,7 @@ const Jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7631
7609
  log10: Dc,
7632
7610
  log2: Rc,
7633
7611
  max: Xc,
7634
- min: jc,
7612
+ min: Bc,
7635
7613
  union: zc,
7636
7614
  wid: qc,
7637
7615
  width: Ur
@@ -7711,7 +7689,7 @@ const t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7711
7689
  sinh: Jc,
7712
7690
  tan: Vc,
7713
7691
  tanh: ef
7714
- }, Symbol.toStringTag, { value: "Module" })), e1 = Object.assign(A, $, _, Jy, Fy, By, Qy, Ky, t1, { round: _ }), n1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7692
+ }, Symbol.toStringTag, { value: "Module" })), e1 = Object.assign(A, $, _, Jy, Fy, jy, Qy, Ky, t1, { round: _ }), n1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7715
7693
  __proto__: null,
7716
7694
  Interval: ln,
7717
7695
  LOG_EXP_10: ts,
@@ -7723,7 +7701,7 @@ const t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7723
7701
  asin: Zc,
7724
7702
  assertIncludes: Sc,
7725
7703
  atan: Kc,
7726
- clone: Bc,
7704
+ clone: jc,
7727
7705
  constants: $,
7728
7706
  cos: Xr,
7729
7707
  cosh: tf,
@@ -7735,7 +7713,7 @@ const t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7735
7713
  exp: Ic,
7736
7714
  fmod: qr,
7737
7715
  geq: $c,
7738
- greaterEqualThan: Bo,
7716
+ greaterEqualThan: jo,
7739
7717
  greaterThan: Xo,
7740
7718
  gt: kc,
7741
7719
  hasInterval: bc,
@@ -7748,7 +7726,7 @@ const t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7748
7726
  isSingleton: Re,
7749
7727
  isWhole: Hr,
7750
7728
  leq: Ac,
7751
- lessEqualThan: jo,
7729
+ lessEqualThan: Bo,
7752
7730
  lessThan: Uo,
7753
7731
  ln: Pc,
7754
7732
  log: be,
@@ -7756,7 +7734,7 @@ const t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7756
7734
  log2: Rc,
7757
7735
  lt: Ec,
7758
7736
  max: Xc,
7759
- min: jc,
7737
+ min: Bc,
7760
7738
  mul: Vo,
7761
7739
  multiplicativeInverse: Qo,
7762
7740
  multiply: Wo,
@@ -7906,15 +7884,15 @@ function g1(t) {
7906
7884
  } catch {
7907
7885
  }
7908
7886
  if (ue.default.isValidNumber(R)) {
7909
- const j = Math.abs(R - D);
7910
- j < l && (l = j, c = u);
7887
+ const B = Math.abs(R - D);
7888
+ B < l && (l = B, c = u);
7911
7889
  }
7912
7890
  }
7913
7891
  }
7914
7892
  if (c !== -1) {
7915
7893
  h = T, g[c].range && (h = Math.max(h, g[c].range[0]), h = Math.min(h, g[c].range[1])), f = (0, Oa.builtIn)(g[c], "fn", { x: h }), s.show(), t.owner.emit("tip:update", { x: h, y: f, index: c });
7916
- const w = ue.default.clamp(h, x.invert(-e), x.invert(M + e)), R = ue.default.clamp(f, y.invert(E + e), y.invert(-e)), j = ue.default.color(g[c], c);
7917
- p.style("color", "red"), p.attr("transform", "translate(" + x(w) + "," + y(R) + ")"), p.select("circle").attr("fill", j), p.select("text").attr("fill", j).text(t.renderer(h, f, c));
7894
+ const w = ue.default.clamp(h, x.invert(-e), x.invert(M + e)), R = ue.default.clamp(f, y.invert(E + e), y.invert(-e)), B = ue.default.color(g[c], c);
7895
+ p.style("color", "red"), p.attr("transform", "translate(" + x(w) + "," + y(R) + ")"), p.select("circle").attr("fill", B), p.select("text").attr("fill", B).text(t.renderer(h, f, c));
7918
7896
  } else
7919
7897
  s.hide();
7920
7898
  }, s.show = function() {
@@ -7926,7 +7904,7 @@ function g1(t) {
7926
7904
  }), s;
7927
7905
  }
7928
7906
  So.default = g1;
7929
- var jr = {}, rs = {}, vt = {}, is = {}, yn = {}, os = {}, _1 = F && F.__createBinding || (Object.create ? function(t, e, n, r) {
7907
+ var Br = {}, rs = {}, vt = {}, is = {}, yn = {}, os = {}, _1 = F && F.__createBinding || (Object.create ? function(t, e, n, r) {
7930
7908
  r === void 0 && (r = n);
7931
7909
  var i = Object.getOwnPropertyDescriptor(e, n);
7932
7910
  (!i || ("get" in i ? !e.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
@@ -8194,17 +8172,17 @@ var ls = {}, pf = F && F.__importDefault || function(t) {
8194
8172
  return t && t.__esModule ? t : { default: t };
8195
8173
  };
8196
8174
  Object.defineProperty(ls, "__esModule", { value: !0 });
8197
- const X1 = Pt, j1 = No, B1 = pf($t), G1 = pf(yn);
8175
+ const X1 = Pt, B1 = No, j1 = pf($t), G1 = pf(yn);
8198
8176
  function W1(t) {
8199
8177
  const e = t.meta.xScale, n = t.meta.yScale;
8200
8178
  function r(i) {
8201
8179
  i.each(function(o) {
8202
8180
  let s, a;
8203
- const u = o.index, l = B1.default.color(o, u), c = (0, G1.default)(t, o), h = [];
8181
+ const u = o.index, l = j1.default.color(o, u), c = (0, G1.default)(t, o), h = [];
8204
8182
  for (s = 0; s < c.length; s += 1)
8205
8183
  for (a = 0; a < c[s].length; a += 1)
8206
8184
  h.push(c[s][a]);
8207
- const f = (0, X1.select)(this).selectAll(":scope > circle.scatter").data(h), p = `scatter scatter-${u}`, d = f.enter().append("circle").attr("class", p), g = f.merge(d).attr("fill", (0, j1.hsl)(l.toString()).brighter(1.5).formatHex()).attr("stroke", l).attr("opacity", 0.7).attr("r", 1).attr("cx", function(x) {
8185
+ const f = (0, X1.select)(this).selectAll(":scope > circle.scatter").data(h), p = `scatter scatter-${u}`, d = f.enter().append("circle").attr("class", p), g = f.merge(d).attr("fill", (0, B1.hsl)(l.toString()).brighter(1.5).formatHex()).attr("stroke", l).attr("opacity", 0.7).attr("r", 1).attr("cx", function(x) {
8208
8186
  return e(x[0]);
8209
8187
  }).attr("cy", function(x) {
8210
8188
  return n(x[1]);
@@ -8240,18 +8218,18 @@ function J1(t) {
8240
8218
  return r;
8241
8219
  }
8242
8220
  cs.default = J1;
8243
- var Br = F && F.__importDefault || function(t) {
8221
+ var jr = F && F.__importDefault || function(t) {
8244
8222
  return t && t.__esModule ? t : { default: t };
8245
8223
  };
8246
8224
  Object.defineProperty(vt, "__esModule", { value: !0 });
8247
8225
  vt.text = vt.scatter = vt.interval = vt.polyline = void 0;
8248
- const tv = Br(is);
8226
+ const tv = jr(is);
8249
8227
  vt.polyline = tv.default;
8250
- const ev = Br(us);
8228
+ const ev = jr(us);
8251
8229
  vt.interval = ev.default;
8252
- const nv = Br(ls);
8230
+ const nv = jr(ls);
8253
8231
  vt.scatter = nv.default;
8254
- const rv = Br(cs);
8232
+ const rv = jr(cs);
8255
8233
  vt.text = rv.default;
8256
8234
  var vn = {};
8257
8235
  Object.defineProperty(vn, "__esModule", { value: !0 });
@@ -8357,7 +8335,7 @@ fs.default = mv;
8357
8335
  var gf = F && F.__importDefault || function(t) {
8358
8336
  return t && t.__esModule ? t : { default: t };
8359
8337
  };
8360
- Object.defineProperty(jr, "__esModule", { value: !0 });
8338
+ Object.defineProperty(Br, "__esModule", { value: !0 });
8361
8339
  const dv = Pt, gv = gf(rs), _v = gf(fs);
8362
8340
  function yv(t) {
8363
8341
  function e(n) {
@@ -8368,13 +8346,13 @@ function yv(t) {
8368
8346
  }
8369
8347
  return e;
8370
8348
  }
8371
- jr.default = yv;
8349
+ Br.default = yv;
8372
8350
  var Ue = F && F.__importDefault || function(t) {
8373
8351
  return t && t.__esModule ? t : { default: t };
8374
8352
  };
8375
8353
  Object.defineProperty(ur, "__esModule", { value: !0 });
8376
8354
  ur.Chart = void 0;
8377
- const vv = dr, wv = Ch, Da = hm, Ra = Tm, xv = O_, An = Pt, Ha = L_, bv = Ue(F_), Mv = Ue(To), Tv = Ue(So), Sv = Ue(jr), Nv = Ue(vn), $n = Ue(Zt);
8355
+ const vv = dr, wv = Ch, Da = hm, Ra = Tm, xv = O_, An = Pt, Ha = L_, bv = Ue(F_), Mv = Ue(To), Tv = Ue(So), Sv = Ue(Br), Nv = Ue(vn), $n = Ue(Zt);
8378
8356
  function Fa(t) {
8379
8357
  return t === "linear" ? Da.scaleLinear : Da.scaleLog;
8380
8358
  }
@@ -8689,12 +8667,12 @@ Object.defineProperty(_f, "__esModule", { value: !0 });
8689
8667
  return h.polyline;
8690
8668
  } }), Object.defineProperty(t, "GraphTypeScatter", { enumerable: !0, get: function() {
8691
8669
  return h.scatter;
8692
- } }), i(jr, t);
8670
+ } }), i(Br, t);
8693
8671
  })(Ii);
8694
- const Ev = /* @__PURE__ */ za(Ii), kv = /* @__PURE__ */ yf({
8672
+ const Ev = /* @__PURE__ */ za(Ii), Av = /* @__PURE__ */ yf({
8695
8673
  __proto__: null,
8696
8674
  default: Ev
8697
8675
  }, [Ii]);
8698
8676
  export {
8699
- kv as i
8677
+ Av as i
8700
8678
  };