@graphysdk/react 1.9.0-beta.1793016307126 → 1.9.0-beta.1793022188121

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.
@@ -213,7 +213,7 @@ function I1(e, t) {
213
213
  const r = Ye(e);
214
214
  return isNaN(t) ? Ze(e, NaN) : (t && r.setDate(r.getDate() + t), r);
215
215
  }
216
- var AL = 365.2425, SL = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, Xpe = -SL, R1 = 6048e5, TL = 864e5, ML = 6e4, EL = 36e5, kL = 1e3, PL = 3600, L1 = PL * 24, qpe = L1 * 7, _L = L1 * AL, CL = _L / 12, Qpe = CL * 3, IL = {};
216
+ var AL = 365.2425, SL = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, qpe = -SL, R1 = 6048e5, TL = 864e5, ML = 6e4, EL = 36e5, kL = 1e3, PL = 3600, L1 = PL * 24, Qpe = L1 * 7, _L = L1 * AL, CL = _L / 12, Jpe = CL * 3, IL = {};
217
217
  function el() {
218
218
  return IL;
219
219
  }
@@ -2315,8 +2315,8 @@ function qo(e, t, r, n) {
2315
2315
  if (y) {
2316
2316
  const { incompatibleTokens: x } = y;
2317
2317
  if (Array.isArray(x)) {
2318
- const S = d.find((k) => x.includes(k.token) || k.token === g);
2319
- if (S) throw new RangeError(`The format string mustn't contain \`${S.fullToken}\` and \`${p}\` at the same time`);
2318
+ const A = d.find((k) => x.includes(k.token) || k.token === g);
2319
+ if (A) throw new RangeError(`The format string mustn't contain \`${A.fullToken}\` and \`${p}\` at the same time`);
2320
2320
  } else if (y.incompatibleTokens === "*" && d.length > 0) throw new RangeError(`The format string mustn't contain \`${p}\` and any other token at the same time`);
2321
2321
  d.push({
2322
2322
  token: g,
@@ -2399,7 +2399,7 @@ var Dt = (e) => e instanceof Date && Ht(e), MD = (e) => Dt(e) || e === null, Eu
2399
2399
  }, $1 = (e, t) => {
2400
2400
  const { x: r, y: n } = Dm(e, t);
2401
2401
  return Lm(r, n);
2402
- }, W1 = "\0graphy\0_", xe = (e) => `${W1}${e}`, Yn = { x: xe("constantX") }, Jpe = {
2402
+ }, W1 = "\0graphy\0_", xe = (e) => `${W1}${e}`, Yn = { x: xe("constantX") }, Zpe = {
2403
2403
  bar: xe("barSeriesLabel"),
2404
2404
  line: xe("lineSeriesLabel")
2405
2405
  }, St = {
@@ -2428,7 +2428,7 @@ var Dt = (e) => e instanceof Date && Ht(e), MD = (e) => Dt(e) || e === null, Eu
2428
2428
  }, qa = {
2429
2429
  y: xe("ruleY"),
2430
2430
  x: xe("ruleX")
2431
- }, Zpe = {
2431
+ }, ege = {
2432
2432
  ...Yn,
2433
2433
  ...St,
2434
2434
  ...we,
@@ -2464,7 +2464,7 @@ function ht(e) {
2464
2464
  function j1(e) {
2465
2465
  return e[O.yRaw] ?? null;
2466
2466
  }
2467
- function ege(e, t) {
2467
+ function tge(e, t) {
2468
2468
  return e[U1(t)] ?? null;
2469
2469
  }
2470
2470
  var DD = {
@@ -6381,7 +6381,7 @@ var zd = (e) => {
6381
6381
  return !0;
6382
6382
  }
6383
6383
  }, Yd = /* @__PURE__ */ new Date(), Kd = /* @__PURE__ */ new Date();
6384
- function gt(e, t, r, n) {
6384
+ function vt(e, t, r, n) {
6385
6385
  function i(o) {
6386
6386
  return e(o = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+o)), o;
6387
6387
  }
@@ -6402,7 +6402,7 @@ function gt(e, t, r, n) {
6402
6402
  while (c < o && o < a);
6403
6403
  return l;
6404
6404
  }, i.filter = function(o) {
6405
- return gt(function(a) {
6405
+ return vt(function(a) {
6406
6406
  if (a >= a) for (; e(a), !o(a); ) a.setTime(a - 1);
6407
6407
  }, function(a, s) {
6408
6408
  if (a >= a) if (s < 0) for (; ++s <= 0; ) for (; t(a, -1), !o(a); ) ;
@@ -6418,14 +6418,14 @@ function gt(e, t, r, n) {
6418
6418
  }) : i;
6419
6419
  }), i;
6420
6420
  }
6421
- var $c = gt(function() {
6421
+ var $c = vt(function() {
6422
6422
  }, function(e, t) {
6423
6423
  e.setTime(+e + t);
6424
6424
  }, function(e, t) {
6425
6425
  return t - e;
6426
6426
  });
6427
6427
  $c.every = function(e) {
6428
- return e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? gt(function(t) {
6428
+ return e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? vt(function(t) {
6429
6429
  t.setTime(Math.floor(t / e) * e);
6430
6430
  }, function(t, r) {
6431
6431
  t.setTime(+t + r * e);
@@ -6433,7 +6433,7 @@ $c.every = function(e) {
6433
6433
  return (r - t) / e;
6434
6434
  }) : $c;
6435
6435
  };
6436
- var tge = $c.range, vn = 1e3, sr = vn * 60, yn = sr * 60, Ui = yn * 24, rp = Ui * 7, Gy = Ui * 30, Xd = Ui * 365, Co = gt(function(e) {
6436
+ var rge = $c.range, vn = 1e3, sr = vn * 60, yn = sr * 60, Ui = yn * 24, rp = Ui * 7, Gy = Ui * 30, Xd = Ui * 365, Co = vt(function(e) {
6437
6437
  e.setTime(e - e.getMilliseconds());
6438
6438
  }, function(e, t) {
6439
6439
  e.setTime(+e + t * vn);
@@ -6441,7 +6441,7 @@ var tge = $c.range, vn = 1e3, sr = vn * 60, yn = sr * 60, Ui = yn * 24, rp = Ui
6441
6441
  return (t - e) / vn;
6442
6442
  }, function(e) {
6443
6443
  return e.getUTCSeconds();
6444
- }), rge = Co.range, wT = gt(function(e) {
6444
+ }), nge = Co.range, wT = vt(function(e) {
6445
6445
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * vn);
6446
6446
  }, function(e, t) {
6447
6447
  e.setTime(+e + t * sr);
@@ -6449,7 +6449,7 @@ var tge = $c.range, vn = 1e3, sr = vn * 60, yn = sr * 60, Ui = yn * 24, rp = Ui
6449
6449
  return (t - e) / sr;
6450
6450
  }, function(e) {
6451
6451
  return e.getMinutes();
6452
- }), nge = wT.range, AT = gt(function(e) {
6452
+ }), ige = wT.range, AT = vt(function(e) {
6453
6453
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * vn - e.getMinutes() * sr);
6454
6454
  }, function(e, t) {
6455
6455
  e.setTime(+e + t * yn);
@@ -6457,9 +6457,9 @@ var tge = $c.range, vn = 1e3, sr = vn * 60, yn = sr * 60, Ui = yn * 24, rp = Ui
6457
6457
  return (t - e) / yn;
6458
6458
  }, function(e) {
6459
6459
  return e.getHours();
6460
- }), ige = AT.range, Uu = gt((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * sr) / Ui, (e) => e.getDate() - 1), oge = Uu.range;
6460
+ }), oge = AT.range, Uu = vt((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * sr) / Ui, (e) => e.getDate() - 1), age = Uu.range;
6461
6461
  function no(e) {
6462
- return gt(function(t) {
6462
+ return vt(function(t) {
6463
6463
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
6464
6464
  }, function(t, r) {
6465
6465
  t.setDate(t.getDate() + r * 7);
@@ -6467,7 +6467,7 @@ function no(e) {
6467
6467
  return (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * sr) / rp;
6468
6468
  });
6469
6469
  }
6470
- var np = no(0), Wc = no(1), h5 = no(2), f5 = no(3), ra = no(4), m5 = no(5), p5 = no(6), age = np.range, sge = Wc.range, lge = h5.range, cge = f5.range, uge = ra.range, dge = m5.range, hge = p5.range, ST = gt(function(e) {
6470
+ var np = no(0), Wc = no(1), h5 = no(2), f5 = no(3), ra = no(4), m5 = no(5), p5 = no(6), sge = np.range, lge = Wc.range, cge = h5.range, uge = f5.range, dge = ra.range, hge = m5.range, fge = p5.range, ST = vt(function(e) {
6471
6471
  e.setDate(1), e.setHours(0, 0, 0, 0);
6472
6472
  }, function(e, t) {
6473
6473
  e.setMonth(e.getMonth() + t);
@@ -6475,7 +6475,7 @@ var np = no(0), Wc = no(1), h5 = no(2), f5 = no(3), ra = no(4), m5 = no(5), p5 =
6475
6475
  return t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12;
6476
6476
  }, function(e) {
6477
6477
  return e.getMonth();
6478
- }), fge = ST.range, Jn = gt(function(e) {
6478
+ }), mge = ST.range, Jn = vt(function(e) {
6479
6479
  e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
6480
6480
  }, function(e, t) {
6481
6481
  e.setFullYear(e.getFullYear() + t);
@@ -6485,13 +6485,13 @@ var np = no(0), Wc = no(1), h5 = no(2), f5 = no(3), ra = no(4), m5 = no(5), p5 =
6485
6485
  return e.getFullYear();
6486
6486
  });
6487
6487
  Jn.every = function(e) {
6488
- return !isFinite(e = Math.floor(e)) || !(e > 0) ? null : gt(function(t) {
6488
+ return !isFinite(e = Math.floor(e)) || !(e > 0) ? null : vt(function(t) {
6489
6489
  t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
6490
6490
  }, function(t, r) {
6491
6491
  t.setFullYear(t.getFullYear() + r * e);
6492
6492
  });
6493
6493
  };
6494
- var mge = Jn.range, ip = gt(function(e) {
6494
+ var pge = Jn.range, ip = vt(function(e) {
6495
6495
  e.setUTCSeconds(0, 0);
6496
6496
  }, function(e, t) {
6497
6497
  e.setTime(+e + t * sr);
@@ -6499,7 +6499,7 @@ var mge = Jn.range, ip = gt(function(e) {
6499
6499
  return (t - e) / sr;
6500
6500
  }, function(e) {
6501
6501
  return e.getUTCMinutes();
6502
- }), pge = ip.range, ju = gt(function(e) {
6502
+ }), gge = ip.range, ju = vt(function(e) {
6503
6503
  e.setUTCMinutes(0, 0, 0);
6504
6504
  }, function(e, t) {
6505
6505
  e.setTime(+e + t * yn);
@@ -6507,7 +6507,7 @@ var mge = Jn.range, ip = gt(function(e) {
6507
6507
  return (t - e) / yn;
6508
6508
  }, function(e) {
6509
6509
  return e.getUTCHours();
6510
- }), gge = ju.range, ga = gt(function(e) {
6510
+ }), vge = ju.range, ga = vt(function(e) {
6511
6511
  e.setUTCHours(0, 0, 0, 0);
6512
6512
  }, function(e, t) {
6513
6513
  e.setUTCDate(e.getUTCDate() + t);
@@ -6515,9 +6515,9 @@ var mge = Jn.range, ip = gt(function(e) {
6515
6515
  return (t - e) / Ui;
6516
6516
  }, function(e) {
6517
6517
  return e.getUTCDate() - 1;
6518
- }), vge = ga.range;
6518
+ }), yge = ga.range;
6519
6519
  function io(e) {
6520
- return gt(function(t) {
6520
+ return vt(function(t) {
6521
6521
  t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
6522
6522
  }, function(t, r) {
6523
6523
  t.setUTCDate(t.getUTCDate() + r * 7);
@@ -6525,7 +6525,7 @@ function io(e) {
6525
6525
  return (r - t) / rp;
6526
6526
  });
6527
6527
  }
6528
- var zu = io(0), _s = io(1), g5 = io(2), v5 = io(3), na = io(4), y5 = io(5), b5 = io(6), yge = zu.range, bge = _s.range, xge = g5.range, wge = v5.range, Age = na.range, Sge = y5.range, Tge = b5.range, Yu = gt(function(e) {
6528
+ var zu = io(0), _s = io(1), g5 = io(2), v5 = io(3), na = io(4), y5 = io(5), b5 = io(6), bge = zu.range, xge = _s.range, wge = g5.range, Age = v5.range, Sge = na.range, Tge = y5.range, Mge = b5.range, Yu = vt(function(e) {
6529
6529
  e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
6530
6530
  }, function(e, t) {
6531
6531
  e.setUTCMonth(e.getUTCMonth() + t);
@@ -6533,7 +6533,7 @@ var zu = io(0), _s = io(1), g5 = io(2), v5 = io(3), na = io(4), y5 = io(5), b5 =
6533
6533
  return t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12;
6534
6534
  }, function(e) {
6535
6535
  return e.getUTCMonth();
6536
- }), Mge = Yu.range, on = gt(function(e) {
6536
+ }), Ege = Yu.range, on = vt(function(e) {
6537
6537
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
6538
6538
  }, function(e, t) {
6539
6539
  e.setUTCFullYear(e.getUTCFullYear() + t);
@@ -6543,13 +6543,13 @@ var zu = io(0), _s = io(1), g5 = io(2), v5 = io(3), na = io(4), y5 = io(5), b5 =
6543
6543
  return e.getUTCFullYear();
6544
6544
  });
6545
6545
  on.every = function(e) {
6546
- return !isFinite(e = Math.floor(e)) || !(e > 0) ? null : gt(function(t) {
6546
+ return !isFinite(e = Math.floor(e)) || !(e > 0) ? null : vt(function(t) {
6547
6547
  t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
6548
6548
  }, function(t, r) {
6549
6549
  t.setUTCFullYear(t.getUTCFullYear() + r * e);
6550
6550
  });
6551
6551
  };
6552
- var Ege = on.range;
6552
+ var kge = on.range;
6553
6553
  function TT(e, t) {
6554
6554
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
6555
6555
  }
@@ -6587,7 +6587,7 @@ function x5(e) {
6587
6587
  function w5(e) {
6588
6588
  return e === null ? NaN : +e;
6589
6589
  }
6590
- var MT = op(TT), A5 = MT.right, kge = MT.left, Pge = op(w5).center, $y = class extends Map {
6590
+ var MT = op(TT), A5 = MT.right, Pge = MT.left, _ge = op(w5).center, $y = class extends Map {
6591
6591
  constructor(e, t = M5) {
6592
6592
  if (super(), Object.defineProperties(this, {
6593
6593
  _intern: { value: /* @__PURE__ */ new Map() },
@@ -6758,7 +6758,7 @@ function kT(e, t, r, n, i, o) {
6758
6758
  }
6759
6759
  return [s, l];
6760
6760
  }
6761
- var [k5, P5] = kT(on, Yu, zu, ga, ju, ip), [_ge, Cge] = kT(Jn, ST, np, Uu, AT, wT), _5 = [
6761
+ var [k5, P5] = kT(on, Yu, zu, ga, ju, ip), [Cge, Ige] = kT(Jn, ST, np, Uu, AT, wT), _5 = [
6762
6762
  {
6763
6763
  unit: "year",
6764
6764
  step: 1e3
@@ -7753,10 +7753,10 @@ function q3({ layer: e, highlights: t, parsingLocale: r, strategy: n, warnings:
7753
7753
  predicate: Fo(T.predicate, s),
7754
7754
  scope: T.scope
7755
7755
  })), c = l.some(({ scope: T }) => T === "series"), u = l.some(({ scope: T }) => T === "x-value"), d = n === "overlay-anchor", h = e.data.size(), f = c ? new Array(h) : null, m = u ? new Array(h) : null, p = d ? new Array(h) : null, g = new Uint8Array(h), y = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
7756
- let w = !1, S = 0;
7756
+ let w = !1, A = 0;
7757
7757
  for (const T of e.data) {
7758
7758
  let R, I;
7759
- f !== null && (R = Xy("series", T, a), f[S] = R), m !== null && (I = Xy("x-value", T, a), m[S] = I), p !== null && (p[S] = T);
7759
+ f !== null && (R = Xy("series", T, a), f[A] = R), m !== null && (I = Xy("x-value", T, a), m[A] = I), p !== null && (p[A] = T);
7760
7760
  for (const { predicate: F, scope: M } of l)
7761
7761
  if (F(T))
7762
7762
  switch (M) {
@@ -7767,13 +7767,13 @@ function q3({ layer: e, highlights: t, parsingLocale: r, strategy: n, warnings:
7767
7767
  I !== void 0 && x.add(I);
7768
7768
  break;
7769
7769
  case "data-point":
7770
- g[S] = 1, w = !0;
7770
+ g[A] = 1, w = !0;
7771
7771
  break;
7772
7772
  }
7773
- S++;
7773
+ A++;
7774
7774
  }
7775
7775
  if (y.size === 0 && x.size === 0 && !w) return OT();
7776
- const k = new Uint8Array(h), A = [];
7776
+ const k = new Uint8Array(h), S = [];
7777
7777
  let D = 0;
7778
7778
  for (let T = 0; T < h; T++) {
7779
7779
  const R = f?.[T], I = m?.[T], F = R !== void 0 && y.has(R), M = I !== void 0 && x.has(I), L = g[T] === 1;
@@ -7783,7 +7783,7 @@ function q3({ layer: e, highlights: t, parsingLocale: r, strategy: n, warnings:
7783
7783
  k[T] = 1, D++;
7784
7784
  else if (L || M) {
7785
7785
  const N = p?.[T];
7786
- N !== void 0 && A.push({
7786
+ N !== void 0 && S.push({
7787
7787
  observation: N,
7788
7788
  observationIndex: T
7789
7789
  });
@@ -7796,7 +7796,7 @@ function q3({ layer: e, highlights: t, parsingLocale: r, strategy: n, warnings:
7796
7796
  return {
7797
7797
  dimmed: (n === "observation-rerender" || y.size > 0) && b !== null,
7798
7798
  matchedLayer: b,
7799
- overlayCandidates: A
7799
+ overlayCandidates: S
7800
7800
  };
7801
7801
  }
7802
7802
  var Q3 = xe("__ungrouped__");
@@ -9672,7 +9672,7 @@ var _G = /* @__PURE__ */ new Set(["label", "group"]), a0 = {
9672
9672
  });
9673
9673
  }
9674
9674
  };
9675
- function Ige(e) {
9675
+ function Rge(e) {
9676
9676
  return e;
9677
9677
  }
9678
9678
  var LG = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, QT = (e) => e.observation?.sharedPaint === !1 ? { ...e.observation.vocabulary } : {
@@ -9727,15 +9727,15 @@ var LG = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, QT = (e) => e.o
9727
9727
  min: p.x,
9728
9728
  max: p.x + p.width,
9729
9729
  halfExtent: l / 2
9730
- }), S = u0(x, {
9730
+ }), A = u0(x, {
9731
9731
  min: g.y,
9732
9732
  max: g.y + g.height,
9733
9733
  halfExtent: c / 2
9734
9734
  });
9735
9735
  return {
9736
9736
  x: w,
9737
- y: S,
9738
- position: DG(e, w, S, l, c)
9737
+ y: A,
9738
+ position: DG(e, w, A, l, c)
9739
9739
  };
9740
9740
  }, c0 = (e, t, r, n) => r - n >= e - l0 && r + n <= t + l0, DG = (e, t, r, n, i) => {
9741
9741
  if (e.width === 0 && e.height === 0) return "outside";
@@ -10173,7 +10173,7 @@ var LG = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, QT = (e) => e.o
10173
10173
  if (f === null) continue;
10174
10174
  const m = e.formatCategory(h);
10175
10175
  if (m === null || m === "") continue;
10176
- const p = hp(e.measureDataLabel, "category", m), g = p[l], y = gp(f, e.panelRect), x = d === null ? null : h[d], w = Oe(x) && x < 0, S = al({
10176
+ const p = hp(e.measureDataLabel, "category", m), g = p[l], y = gp(f, e.panelRect), x = d === null ? null : h[d], w = Oe(x) && x < 0, A = al({
10177
10177
  box: y,
10178
10178
  panel: u,
10179
10179
  orientation: rM(c, w),
@@ -10183,17 +10183,17 @@ var LG = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, QT = (e) => e.o
10183
10183
  offset: s,
10184
10184
  labelWidth: g.width,
10185
10185
  labelHeight: g.height
10186
- }), k = p[S.position];
10186
+ }), k = p[A.position];
10187
10187
  n.push({
10188
10188
  layerId: e.layer.id,
10189
- x: S.x,
10190
- y: S.y,
10189
+ x: A.x,
10190
+ y: A.y,
10191
10191
  text: m,
10192
10192
  width: k.width,
10193
10193
  height: k.height,
10194
10194
  rotated: !1,
10195
10195
  role: "category",
10196
- position: S.position
10196
+ position: A.position
10197
10197
  });
10198
10198
  }
10199
10199
  return n;
@@ -10255,13 +10255,13 @@ var LG = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, QT = (e) => e.o
10255
10255
  position: "inside"
10256
10256
  };
10257
10257
  }
10258
- const S = pf(r.outside.width, r.outside.height, n), k = (s ? S.height : S.width) / 2, A = h + f * (k + a);
10259
- return A - k < 0 || A + k > m ? null : {
10258
+ const A = pf(r.outside.width, r.outside.height, n), k = (s ? A.height : A.width) / 2, S = h + f * (k + a);
10259
+ return S - k < 0 || S + k > m ? null : {
10260
10260
  ...s ? {
10261
10261
  x: l,
10262
- y: A
10262
+ y: S
10263
10263
  } : {
10264
- x: A,
10264
+ x: S,
10265
10265
  y: c
10266
10266
  },
10267
10267
  rotated: n,
@@ -10317,37 +10317,37 @@ var u$ = " · ", gn = 2, d$ = (e) => {
10317
10317
  if (f === null || m === null || g === null) continue;
10318
10318
  const y = e.formatLabel(h);
10319
10319
  if (y === "") continue;
10320
- const x = a ? e.formatCategory(h) : null, w = x === null ? y : `${x}${u$}${y}`, S = {
10320
+ const x = a ? e.formatCategory(h) : null, w = x === null ? y : `${x}${u$}${y}`, A = {
10321
10321
  startAngle: f,
10322
10322
  endAngle: m,
10323
10323
  midAngle: (f + m) / 2,
10324
10324
  innerRadiusPx: (p ?? 0) * u,
10325
10325
  outerRadiusPx: g * u
10326
10326
  };
10327
- let k, A;
10327
+ let k, S;
10328
10328
  if (r === "auto") {
10329
10329
  const T = e.measureDataLabel("observation", "inside", w), R = {
10330
10330
  width: T.width,
10331
10331
  height: T.height
10332
10332
  }, I = f0({
10333
- wedge: S,
10333
+ wedge: A,
10334
10334
  position: "inside",
10335
10335
  offset: o,
10336
10336
  labelWidth: R.width,
10337
10337
  labelHeight: R.height
10338
10338
  }), F = s || f$({
10339
- wedge: S,
10339
+ wedge: A,
10340
10340
  labelRadius: I.labelRadius,
10341
10341
  labelAngle: I.labelAngle,
10342
10342
  labelWidth: R.width,
10343
10343
  labelHeight: R.height
10344
10344
  });
10345
- if (k = I, A = R, !F) {
10345
+ if (k = I, S = R, !F) {
10346
10346
  const M = e.measureDataLabel("observation", "outside", w), L = {
10347
10347
  width: M.width,
10348
10348
  height: M.height
10349
10349
  }, N = f0({
10350
- wedge: S,
10350
+ wedge: A,
10351
10351
  position: "outside",
10352
10352
  offset: o,
10353
10353
  labelWidth: L.width,
@@ -10359,19 +10359,19 @@ var u$ = " · ", gn = 2, d$ = (e) => {
10359
10359
  labelWidth: L.width,
10360
10360
  labelHeight: L.height,
10361
10361
  panelRect: e.panelRect
10362
- }) && (k = N, A = L);
10362
+ }) && (k = N, S = L);
10363
10363
  }
10364
10364
  } else {
10365
10365
  const T = hp(e.measureDataLabel, "observation", w), R = T[r];
10366
10366
  k = g$({
10367
- wedge: S,
10367
+ wedge: A,
10368
10368
  placement: r,
10369
10369
  justify: dp(n),
10370
10370
  align: i,
10371
10371
  offset: o,
10372
10372
  labelWidth: R.width,
10373
10373
  labelHeight: R.height
10374
- }), A = T[k.position];
10374
+ }), S = T[k.position];
10375
10375
  }
10376
10376
  const D = l + Math.sin(k.labelAngle) * k.labelRadius, b = c - Math.cos(k.labelAngle) * k.labelRadius;
10377
10377
  t.push({
@@ -10379,8 +10379,8 @@ var u$ = " · ", gn = 2, d$ = (e) => {
10379
10379
  x: D,
10380
10380
  y: b,
10381
10381
  text: w,
10382
- width: A.width,
10383
- height: A.height,
10382
+ width: S.width,
10383
+ height: S.height,
10384
10384
  rotated: !1,
10385
10385
  role: "observation",
10386
10386
  position: k.position,
@@ -11354,8 +11354,8 @@ var P$ = (e) => {
11354
11354
  for (var P = n(s(E, M, L, !0), 4), _ = P[0], U = P[1], X = P[2], ee = P[3], ne = _.length, oe = Math.max(2, ~~(N * ne)), te = new Float64Array(ne), ae = new Float64Array(ne), ie = new Float64Array(ne).fill(1), le = -1; ++le <= y; ) {
11355
11355
  for (var $ = [0, oe - 1], Y = 0; Y < ne; ++Y) {
11356
11356
  for (var q = _[Y], V = $[0], ce = $[1], J = q - _[V] > _[ce] - q ? V : ce, Se = 0, Te = 0, qe = 0, st = 0, lt = 0, rr = 1 / Math.abs(_[J] - q || 1), ct = V; ct <= ce; ++ct) {
11357
- var ft = _[ct], Ce = U[ct], Pt = S(Math.abs(q - ft) * rr) * ie[ct], jt = ft * Pt;
11358
- Se += Pt, Te += jt, qe += Ce * Pt, st += Ce * jt, lt += ft * jt;
11357
+ var mt = _[ct], Ce = U[ct], Pt = A(Math.abs(q - mt) * rr) * ie[ct], jt = mt * Pt;
11358
+ Se += Pt, Te += jt, qe += Ce * Pt, st += Ce * jt, lt += mt * jt;
11359
11359
  }
11360
11360
  var Dl = n(f(Te / Se, qe / Se, st / Se, lt / Se), 2);
11361
11361
  te[Y] = Dl[0] + Dl[1] * q, ae[Y] = Math.abs(U[Y] - te[Y]), k(_, Y + 1, $);
@@ -11366,7 +11366,7 @@ var P$ = (e) => {
11366
11366
  for (var Ol = 0, Nl, _v; Ol < ne; ++Ol)
11367
11367
  Nl = ae[Ol] / (6 * Bt), ie[Ol] = Nl >= 1 ? x : (_v = 1 - Nl * Nl) * _v;
11368
11368
  }
11369
- return A(_, te, X, ee);
11369
+ return S(_, te, X, ee);
11370
11370
  }
11371
11371
  return C.bandwidth = function(E) {
11372
11372
  return arguments.length ? (N = E, C) : N;
@@ -11376,7 +11376,7 @@ var P$ = (e) => {
11376
11376
  return arguments.length ? (L = E, C) : L;
11377
11377
  }, C;
11378
11378
  }
11379
- function S(M) {
11379
+ function A(M) {
11380
11380
  return (M = 1 - M * M * M) * M * M;
11381
11381
  }
11382
11382
  function k(M, L, N) {
@@ -11385,7 +11385,7 @@ var P$ = (e) => {
11385
11385
  for (; L > E && M[P] - C <= C - M[E]; )
11386
11386
  N[0] = ++E, N[1] = P, ++P;
11387
11387
  }
11388
- function A(M, L, N, C) {
11388
+ function S(M, L, N, C) {
11389
11389
  for (var E = M.length, P = [], _ = 0, U = 0, X = [], ee; _ < E; ++_)
11390
11390
  ee = M[_] + N, X[0] === ee ? X[1] += (L[_] - X[1]) / ++U : (U = 0, X[1] += C, X = [ee, L[_]], P.push(X));
11391
11391
  return X[1] += C, P;
@@ -11431,10 +11431,10 @@ var P$ = (e) => {
11431
11431
  l(E, M, L, function(Pt, jt) {
11432
11432
  J++, ce += (jt - ce) / J, N || (Pt < Se && (Se = Pt), Pt > Te && (Te = Pt));
11433
11433
  });
11434
- var qe = ae - oe * oe, st = oe * qe - te * te, lt = (le * oe - ie * te) / st, rr = (ie * qe - le * te) / st, ct = -lt * oe, ft = function(jt) {
11434
+ var qe = ae - oe * oe, st = oe * qe - te * te, lt = (le * oe - ie * te) / st, rr = (ie * qe - le * te) / st, ct = -lt * oe, mt = function(jt) {
11435
11435
  return jt = jt - X, lt * jt * jt + rr * jt + ct + ee;
11436
- }, Ce = h(Se, Te, ft);
11437
- return Ce.a = lt, Ce.b = rr - 2 * lt * X, Ce.c = ct - rr * X + lt * X * X + ee, Ce.predict = ft, Ce.rSquared = c(E, M, L, ce, ft), Ce;
11436
+ }, Ce = h(Se, Te, mt);
11437
+ return Ce.a = lt, Ce.b = rr - 2 * lt * X, Ce.c = ct - rr * X + lt * X * X + ee, Ce.predict = mt, Ce.rSquared = c(E, M, L, ce, mt), Ce;
11438
11438
  }
11439
11439
  return C.domain = function(E) {
11440
11440
  return arguments.length ? (N = E, C) : N;
@@ -11464,8 +11464,8 @@ var P$ = (e) => {
11464
11464
  ], delete U.a, delete U.b, delete U.c, U;
11465
11465
  }
11466
11466
  var X = n(s(P, M, L), 4), ee = X[0], ne = X[1], oe = X[2], te = X[3], ae = ee.length, ie = [], le = [], $ = N + 1, Y = 0, q = 0, V = C ? +C[0] : 1 / 0, ce = C ? +C[1] : -1 / 0;
11467
- l(P, M, L, function(ft, Ce) {
11468
- ++q, Y += (Ce - Y) / q, C || (ft < V && (V = ft), ft > ce && (ce = ft));
11467
+ l(P, M, L, function(mt, Ce) {
11468
+ ++q, Y += (Ce - Y) / q, C || (mt < V && (V = mt), mt > ce && (ce = mt));
11469
11469
  });
11470
11470
  var J, Se, Te, qe, st;
11471
11471
  for (J = 0; J < $; ++J) {
@@ -12713,7 +12713,7 @@ function IM(e) {
12713
12713
  };
12714
12714
  };
12715
12715
  }
12716
- var Rge = IM(H4), Lge = IM(G4);
12716
+ var Lge = IM(H4), Dge = IM(G4);
12717
12717
  function U4(e, t) {
12718
12718
  t || (t = []);
12719
12719
  var r = e ? Math.min(t.length, e.length) : 0, n = t.slice(), i;
@@ -12794,7 +12794,7 @@ function RM(e) {
12794
12794
  };
12795
12795
  };
12796
12796
  }
12797
- var Z4 = RM(CM), Dge = RM(Vt);
12797
+ var Z4 = RM(CM), Oge = RM(Vt);
12798
12798
  function eW(e, t) {
12799
12799
  var r = Vt((e = bf(e)).l, (t = bf(t)).l), n = Vt(e.a, t.a), i = Vt(e.b, t.b), o = Vt(e.opacity, t.opacity);
12800
12800
  return function(a) {
@@ -12809,7 +12809,7 @@ function LM(e) {
12809
12809
  };
12810
12810
  };
12811
12811
  }
12812
- var tW = LM(CM), Oge = LM(Vt);
12812
+ var tW = LM(CM), Nge = LM(Vt);
12813
12813
  function rW(e, t) {
12814
12814
  t === void 0 && (t = e, e = ed);
12815
12815
  for (var r = 0, n = t.length - 1, i = t[0], o = new Array(n < 0 ? 0 : n); r < n; ) o[r] = e(i, i = t[++r]);
@@ -13007,18 +13007,18 @@ function mW(e) {
13007
13007
  var t = e.grouping === void 0 || e.thousands === void 0 ? D0 : cW(O0.call(e.grouping, Number), e.thousands + ""), r = e.currency === void 0 ? "" : e.currency[0] + "", n = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", o = e.numerals === void 0 ? D0 : uW(O0.call(e.numerals, String)), a = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
13008
13008
  function c(d) {
13009
13009
  d = Bs(d);
13010
- var h = d.fill, f = d.align, m = d.sign, p = d.symbol, g = d.zero, y = d.width, x = d.comma, w = d.precision, S = d.trim, k = d.type;
13011
- k === "n" ? (x = !0, k = "g") : L0[k] || (w === void 0 && (w = 12), S = !0, k = "g"), (g || h === "0" && f === "=") && (g = !0, h = "0", f = "=");
13012
- var A = p === "$" ? r : p === "#" && /[boxX]/.test(k) ? "0" + k.toLowerCase() : "", D = p === "$" ? n : /[%p]/.test(k) ? a : "", b = L0[k], T = /[defgprs%]/.test(k);
13010
+ var h = d.fill, f = d.align, m = d.sign, p = d.symbol, g = d.zero, y = d.width, x = d.comma, w = d.precision, A = d.trim, k = d.type;
13011
+ k === "n" ? (x = !0, k = "g") : L0[k] || (w === void 0 && (w = 12), A = !0, k = "g"), (g || h === "0" && f === "=") && (g = !0, h = "0", f = "=");
13012
+ var S = p === "$" ? r : p === "#" && /[boxX]/.test(k) ? "0" + k.toLowerCase() : "", D = p === "$" ? n : /[%p]/.test(k) ? a : "", b = L0[k], T = /[defgprs%]/.test(k);
13013
13013
  w = w === void 0 ? 6 : /[gprs]/.test(k) ? Math.max(1, Math.min(21, w)) : Math.max(0, Math.min(20, w));
13014
13014
  function R(I) {
13015
- var F = A, M = D, L, N, C;
13015
+ var F = S, M = D, L, N, C;
13016
13016
  if (k === "c")
13017
13017
  M = b(I) + M, I = "";
13018
13018
  else {
13019
13019
  I = +I;
13020
13020
  var E = I < 0 || 1 / I < 0;
13021
- if (I = isNaN(I) ? l : b(Math.abs(I), w), S && (I = hW(I)), E && +I == 0 && m !== "+" && (E = !1), F = (E ? m === "(" ? m : s : m === "-" || m === "(" ? "" : m) + F, M = (k === "s" ? N0[8 + OM / 3] : "") + M + (E && m === "(" ? ")" : ""), T) {
13021
+ if (I = isNaN(I) ? l : b(Math.abs(I), w), A && (I = hW(I)), E && +I == 0 && m !== "+" && (E = !1), F = (E ? m === "(" ? m : s : m === "-" || m === "(" ? "" : m) + F, M = (k === "s" ? N0[8 + OM / 3] : "") + M + (E && m === "(" ? ")" : ""), T) {
13022
13022
  for (L = -1, N = I.length; ++L < N; ) if (C = I.charCodeAt(L), 48 > C || C > 57) {
13023
13023
  M = (C === 46 ? i + I.slice(L + 1) : I.slice(L)) + M, I = I.slice(0, L);
13024
13024
  break;
@@ -13292,7 +13292,7 @@ function CW(e) {
13292
13292
  Y: u6,
13293
13293
  Z: h6,
13294
13294
  "%": K0
13295
- }, S = {
13295
+ }, A = {
13296
13296
  a: ne,
13297
13297
  A: oe,
13298
13298
  b: te,
@@ -13359,8 +13359,8 @@ function CW(e) {
13359
13359
  Z: VW,
13360
13360
  "%": YW
13361
13361
  };
13362
- w.x = A(r, w), w.X = A(n, w), w.c = A(t, w), S.x = A(r, S), S.X = A(n, S), S.c = A(t, S);
13363
- function A($, Y) {
13362
+ w.x = S(r, w), w.X = S(n, w), w.c = S(t, w), A.x = S(r, A), A.X = S(n, A), A.c = S(t, A);
13363
+ function S($, Y) {
13364
13364
  return function(q) {
13365
13365
  var V = [], ce = -1, J = 0, Se = $.length, Te, qe, st;
13366
13366
  for (q instanceof Date || (q = /* @__PURE__ */ new Date(+q)); ++ce < Se; ) $.charCodeAt(ce) === 37 && (V.push($.slice(J, ce)), (qe = G0[Te = $.charAt(++ce)]) != null ? Te = $.charAt(++ce) : qe = Te === "e" ? " " : "0", (st = Y[Te]) && (Te = st(q, qe)), V.push(Te), J = ce + 1);
@@ -13456,7 +13456,7 @@ function CW(e) {
13456
13456
  }
13457
13457
  return {
13458
13458
  format: function($) {
13459
- var Y = A($ += "", w);
13459
+ var Y = S($ += "", w);
13460
13460
  return Y.toString = function() {
13461
13461
  return $;
13462
13462
  }, Y;
@@ -13468,7 +13468,7 @@ function CW(e) {
13468
13468
  }, Y;
13469
13469
  },
13470
13470
  utcFormat: function($) {
13471
- var Y = A($ += "", S);
13471
+ var Y = S($ += "", A);
13472
13472
  return Y.toString = function() {
13473
13473
  return $;
13474
13474
  }, Y;
@@ -13485,7 +13485,7 @@ var G0 = {
13485
13485
  "-": "",
13486
13486
  _: " ",
13487
13487
  0: "0"
13488
- }, vt = /^\s*\d+/, IW = /^%/, RW = /[\\^$*+?|[\]().{}]/g;
13488
+ }, yt = /^\s*\d+/, IW = /^%/, RW = /[\\^$*+?|[\]().{}]/g;
13489
13489
  function Ee(e, t, r) {
13490
13490
  var n = e < 0 ? "-" : "", i = (n ? -e : e) + "", o = i.length;
13491
13491
  return n + (o < r ? new Array(r - o + 1).join(t) + i : i);
@@ -13500,31 +13500,31 @@ function Ha(e) {
13500
13500
  return new Map(e.map((t, r) => [t.toLowerCase(), r]));
13501
13501
  }
13502
13502
  function DW(e, t, r) {
13503
- var n = vt.exec(t.slice(r, r + 1));
13503
+ var n = yt.exec(t.slice(r, r + 1));
13504
13504
  return n ? (e.w = +n[0], r + n[0].length) : -1;
13505
13505
  }
13506
13506
  function OW(e, t, r) {
13507
- var n = vt.exec(t.slice(r, r + 1));
13507
+ var n = yt.exec(t.slice(r, r + 1));
13508
13508
  return n ? (e.u = +n[0], r + n[0].length) : -1;
13509
13509
  }
13510
13510
  function NW(e, t, r) {
13511
- var n = vt.exec(t.slice(r, r + 2));
13511
+ var n = yt.exec(t.slice(r, r + 2));
13512
13512
  return n ? (e.U = +n[0], r + n[0].length) : -1;
13513
13513
  }
13514
13514
  function BW(e, t, r) {
13515
- var n = vt.exec(t.slice(r, r + 2));
13515
+ var n = yt.exec(t.slice(r, r + 2));
13516
13516
  return n ? (e.V = +n[0], r + n[0].length) : -1;
13517
13517
  }
13518
13518
  function FW(e, t, r) {
13519
- var n = vt.exec(t.slice(r, r + 2));
13519
+ var n = yt.exec(t.slice(r, r + 2));
13520
13520
  return n ? (e.W = +n[0], r + n[0].length) : -1;
13521
13521
  }
13522
13522
  function $0(e, t, r) {
13523
- var n = vt.exec(t.slice(r, r + 4));
13523
+ var n = yt.exec(t.slice(r, r + 4));
13524
13524
  return n ? (e.y = +n[0], r + n[0].length) : -1;
13525
13525
  }
13526
13526
  function W0(e, t, r) {
13527
- var n = vt.exec(t.slice(r, r + 2));
13527
+ var n = yt.exec(t.slice(r, r + 2));
13528
13528
  return n ? (e.y = +n[0] + (+n[0] > 68 ? 1900 : 2e3), r + n[0].length) : -1;
13529
13529
  }
13530
13530
  function VW(e, t, r) {
@@ -13532,39 +13532,39 @@ function VW(e, t, r) {
13532
13532
  return n ? (e.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), r + n[0].length) : -1;
13533
13533
  }
13534
13534
  function HW(e, t, r) {
13535
- var n = vt.exec(t.slice(r, r + 1));
13535
+ var n = yt.exec(t.slice(r, r + 1));
13536
13536
  return n ? (e.q = n[0] * 3 - 3, r + n[0].length) : -1;
13537
13537
  }
13538
13538
  function GW(e, t, r) {
13539
- var n = vt.exec(t.slice(r, r + 2));
13539
+ var n = yt.exec(t.slice(r, r + 2));
13540
13540
  return n ? (e.m = n[0] - 1, r + n[0].length) : -1;
13541
13541
  }
13542
13542
  function U0(e, t, r) {
13543
- var n = vt.exec(t.slice(r, r + 2));
13543
+ var n = yt.exec(t.slice(r, r + 2));
13544
13544
  return n ? (e.d = +n[0], r + n[0].length) : -1;
13545
13545
  }
13546
13546
  function $W(e, t, r) {
13547
- var n = vt.exec(t.slice(r, r + 3));
13547
+ var n = yt.exec(t.slice(r, r + 3));
13548
13548
  return n ? (e.m = 0, e.d = +n[0], r + n[0].length) : -1;
13549
13549
  }
13550
13550
  function j0(e, t, r) {
13551
- var n = vt.exec(t.slice(r, r + 2));
13551
+ var n = yt.exec(t.slice(r, r + 2));
13552
13552
  return n ? (e.H = +n[0], r + n[0].length) : -1;
13553
13553
  }
13554
13554
  function WW(e, t, r) {
13555
- var n = vt.exec(t.slice(r, r + 2));
13555
+ var n = yt.exec(t.slice(r, r + 2));
13556
13556
  return n ? (e.M = +n[0], r + n[0].length) : -1;
13557
13557
  }
13558
13558
  function UW(e, t, r) {
13559
- var n = vt.exec(t.slice(r, r + 2));
13559
+ var n = yt.exec(t.slice(r, r + 2));
13560
13560
  return n ? (e.S = +n[0], r + n[0].length) : -1;
13561
13561
  }
13562
13562
  function jW(e, t, r) {
13563
- var n = vt.exec(t.slice(r, r + 3));
13563
+ var n = yt.exec(t.slice(r, r + 3));
13564
13564
  return n ? (e.L = +n[0], r + n[0].length) : -1;
13565
13565
  }
13566
13566
  function zW(e, t, r) {
13567
- var n = vt.exec(t.slice(r, r + 6));
13567
+ var n = yt.exec(t.slice(r, r + 6));
13568
13568
  return n ? (e.L = Math.floor(n[0] / 1e3), r + n[0].length) : -1;
13569
13569
  }
13570
13570
  function YW(e, t, r) {
@@ -13572,11 +13572,11 @@ function YW(e, t, r) {
13572
13572
  return n ? r + n[0].length : -1;
13573
13573
  }
13574
13574
  function KW(e, t, r) {
13575
- var n = vt.exec(t.slice(r));
13575
+ var n = yt.exec(t.slice(r));
13576
13576
  return n ? (e.Q = +n[0], r + n[0].length) : -1;
13577
13577
  }
13578
13578
  function XW(e, t, r) {
13579
- var n = vt.exec(t.slice(r));
13579
+ var n = yt.exec(t.slice(r));
13580
13580
  return n ? (e.s = +n[0], r + n[0].length) : -1;
13581
13581
  }
13582
13582
  function z0(e, t) {
@@ -13778,22 +13778,22 @@ function O6(e) {
13778
13778
  return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
13779
13779
  }
13780
13780
  function zM(e, t, r, n, i, o, a, s, l, c) {
13781
- var u = DM(), d = u.invert, h = u.domain, f = c(".%L"), m = c(":%S"), p = c("%I:%M"), g = c("%I %p"), y = c("%a %d"), x = c("%b %d"), w = c("%B"), S = c("%Y");
13782
- function k(A) {
13783
- return (l(A) < A ? f : s(A) < A ? m : a(A) < A ? p : o(A) < A ? g : n(A) < A ? i(A) < A ? y : x : r(A) < A ? w : S)(A);
13784
- }
13785
- return u.invert = function(A) {
13786
- return new Date(d(A));
13787
- }, u.domain = function(A) {
13788
- return arguments.length ? h(Array.from(A, O6)) : h().map(D6);
13789
- }, u.ticks = function(A) {
13781
+ var u = DM(), d = u.invert, h = u.domain, f = c(".%L"), m = c(":%S"), p = c("%I:%M"), g = c("%I %p"), y = c("%a %d"), x = c("%b %d"), w = c("%B"), A = c("%Y");
13782
+ function k(S) {
13783
+ return (l(S) < S ? f : s(S) < S ? m : a(S) < S ? p : o(S) < S ? g : n(S) < S ? i(S) < S ? y : x : r(S) < S ? w : A)(S);
13784
+ }
13785
+ return u.invert = function(S) {
13786
+ return new Date(d(S));
13787
+ }, u.domain = function(S) {
13788
+ return arguments.length ? h(Array.from(S, O6)) : h().map(D6);
13789
+ }, u.ticks = function(S) {
13790
13790
  var D = h();
13791
- return e(D[0], D[D.length - 1], A ?? 10);
13792
- }, u.tickFormat = function(A, D) {
13791
+ return e(D[0], D[D.length - 1], S ?? 10);
13792
+ }, u.tickFormat = function(S, D) {
13793
13793
  return D == null ? k : c(D);
13794
- }, u.nice = function(A) {
13794
+ }, u.nice = function(S) {
13795
13795
  var D = h();
13796
- return (!A || typeof A.range != "function") && (A = t(D[0], D[D.length - 1], A ?? 10)), A ? h(FM(D, A)) : u;
13796
+ return (!S || typeof S.range != "function") && (S = t(D[0], D[D.length - 1], S ?? 10)), S ? h(FM(D, S)) : u;
13797
13797
  }, u.copy = function() {
13798
13798
  return td(u, zM(e, t, r, n, i, o, a, s, l, c));
13799
13799
  }, u;
@@ -13898,16 +13898,16 @@ var rd = class {
13898
13898
  const w = i[x];
13899
13899
  if (w === void 0) continue;
13900
13900
  if (w === null) {
13901
- const A = r ? m : null;
13902
- c[x] = A, l[x] = A;
13901
+ const S = r ? m : null;
13902
+ c[x] = S, l[x] = S;
13903
13903
  continue;
13904
13904
  }
13905
- const S = w >= 0 ? h : f;
13906
- if (S === 0) {
13905
+ const A = w >= 0 ? h : f;
13906
+ if (A === 0) {
13907
13907
  c[x] = 0, l[x] = 0;
13908
13908
  continue;
13909
13909
  }
13910
- const k = w / S;
13910
+ const k = w / A;
13911
13911
  w >= 0 ? (c[x] = m, l[x] = m += k) : (l[x] = p, c[x] = p += k);
13912
13912
  }
13913
13913
  }
@@ -13948,8 +13948,8 @@ var rd = class {
13948
13948
  const w = i[x];
13949
13949
  if (w !== void 0) {
13950
13950
  if (w === null) {
13951
- const S = r ? m : null;
13952
- c[x] = S, l[x] = S;
13951
+ const A = r ? m : null;
13952
+ c[x] = A, l[x] = A;
13953
13953
  continue;
13954
13954
  }
13955
13955
  w >= 0 ? (c[x] = m, l[x] = m += w) : (l[x] = p, c[x] = p += w);
@@ -14578,7 +14578,7 @@ var mU = class extends nd {
14578
14578
  super("scale"), this.register("continuous", new uU(e)), this.register("discrete", new gU()), this.register("datetime", new mU()), this.register("identity", new yU());
14579
14579
  }
14580
14580
  };
14581
- function mt(e, t = {}) {
14581
+ function pt(e, t = {}) {
14582
14582
  const r = t;
14583
14583
  return {
14584
14584
  type: "scale",
@@ -14769,7 +14769,7 @@ function TU(e, t) {
14769
14769
  scaleType: t.scaleType
14770
14770
  },
14771
14771
  suggestion: `Declare '${t.scaledAesthetic}' as a continuous scale, or omit it and let it be inferred.`
14772
- }), mt(t.scaledAesthetic, {
14772
+ }), pt(t.scaledAesthetic, {
14773
14773
  nice: !1,
14774
14774
  ..."reverse" in t && t.reverse !== void 0 && { reverse: t.reverse }
14775
14775
  }));
@@ -14781,7 +14781,7 @@ function EU({ data: e, layers: t, mapping: r, demands: n }, i) {
14781
14781
  const o = kU(t, r, i.scaledAesthetic);
14782
14782
  if (i.scaledAesthetic === n.categorySpanAxis) {
14783
14783
  const u = i.options;
14784
- return mt(i.scaledAesthetic, {
14784
+ return pt(i.scaledAesthetic, {
14785
14785
  ...u,
14786
14786
  nice: u?.nice ?? !1
14787
14787
  });
@@ -14790,13 +14790,13 @@ function EU({ data: e, layers: t, mapping: r, demands: n }, i) {
14790
14790
  const a = n.zeroAxes[i.scaledAesthetic];
14791
14791
  if (a !== void 0) {
14792
14792
  const u = i.options;
14793
- return mt(i.scaledAesthetic, {
14793
+ return pt(i.scaledAesthetic, {
14794
14794
  ...u,
14795
14795
  ...!a.nice && { nice: !1 }
14796
14796
  });
14797
14797
  }
14798
14798
  const s = K(o);
14799
- if (!H(s) || !e.hasVariable(s) || e.size() === 0) return mt(i.scaledAesthetic, i.options);
14799
+ if (!H(s) || !e.hasVariable(s) || e.size() === 0) return pt(i.scaledAesthetic, i.options);
14800
14800
  const l = e.getType(s), c = JM[i.scaledAesthetic];
14801
14801
  switch (xU[l][c]) {
14802
14802
  case "discrete":
@@ -14804,7 +14804,7 @@ function EU({ data: e, layers: t, mapping: r, demands: n }, i) {
14804
14804
  case "datetime":
14805
14805
  return yc(i.scaledAesthetic, i.options);
14806
14806
  case "continuous":
14807
- return mt(i.scaledAesthetic, i.options);
14807
+ return pt(i.scaledAesthetic, i.options);
14808
14808
  default:
14809
14809
  return Ja(i.scaledAesthetic);
14810
14810
  }
@@ -15695,7 +15695,7 @@ function _p(e) {
15695
15695
  declarations: i
15696
15696
  }), t);
15697
15697
  }
15698
- var lr = (e) => Object.keys(e.children ?? {}), kj = lr(Pe.dataLabel), Nge = lr(Pe.panelBorder), Bge = lr(Pe.tooltip), Fge = lr(Pe.source), Vge = lr(Pe.heading), Hge = lr(Pe.editOutline), Gge = lr(Pe.legendItem), $ge = lr(Pe.annotation), Wge = {
15698
+ var lr = (e) => Object.keys(e.children ?? {}), kj = lr(Pe.dataLabel), Bge = lr(Pe.panelBorder), Fge = lr(Pe.tooltip), Vge = lr(Pe.source), Hge = lr(Pe.heading), Gge = lr(Pe.editOutline), $ge = lr(Pe.legendItem), Wge = lr(Pe.annotation), Uge = {
15699
15699
  arrow: lr(Pe.annotation.children.arrow),
15700
15700
  differenceArrow: lr(Pe.annotation.children.differenceArrow),
15701
15701
  pinnedNumber: lr(Pe.annotation.children.pinnedNumber),
@@ -15707,7 +15707,7 @@ var lr = (e) => Object.keys(e.children ?? {}), kj = lr(Pe.dataLabel), Nge = lr(P
15707
15707
  for (const s of Object.values(o.children ?? {})) i(s);
15708
15708
  };
15709
15709
  return i(e), r;
15710
- }, Pj = Cp(Pe.dataLabel, "position"), Uge = Cp(Pe.headlineItem, "part"), jge = Cp(Pe.legend, "part");
15710
+ }, Pj = Cp(Pe.dataLabel, "position"), jge = Cp(Pe.headlineItem, "part"), zge = Cp(Pe.legend, "part");
15711
15711
  function _j(e) {
15712
15712
  return new Set(e.options ?? []);
15713
15713
  }
@@ -15816,26 +15816,26 @@ var Rj = class extends ro {
15816
15816
  actual: String(f),
15817
15817
  ...h
15818
15818
  },
15819
- suggestion: `Set 'target' to one of ${[...Ip].map((S) => `'${S}'`).join(", ")}.`
15819
+ suggestion: `Set 'target' to one of ${[...Ip].map((A) => `'${A}'`).join(", ")}.`
15820
15820
  });
15821
15821
  return;
15822
15822
  }
15823
15823
  if (m.status === "unknown-partition") {
15824
- const { key: S, value: k, node: A } = m, D = Ef(A, S);
15824
+ const { key: A, value: k, node: S } = m, D = Ef(S, A);
15825
15825
  i.push({
15826
15826
  code: "INVALID_STYLE_RULE",
15827
- message: `Style ${u} addresses unknown ${S} '${k}'.`,
15827
+ message: `Style ${u} addresses unknown ${A} '${k}'.`,
15828
15828
  context: {
15829
- param: S,
15829
+ param: A,
15830
15830
  actual: k,
15831
15831
  ...h
15832
15832
  },
15833
- suggestion: D.length === 0 ? `Remove '${S}' — this target has none.` : `Set '${S}' to one of ${D.map((b) => `'${b}'`).join(", ")}, or omit it.`
15833
+ suggestion: D.length === 0 ? `Remove '${A}' — this target has none.` : `Set '${A}' to one of ${D.map((b) => `'${b}'`).join(", ")}, or omit it.`
15834
15834
  });
15835
15835
  return;
15836
15836
  }
15837
15837
  if (m.status === "namespace") {
15838
- const S = Ef(m.node, "part");
15838
+ const A = Ef(m.node, "part");
15839
15839
  i.push({
15840
15840
  code: "INVALID_STYLE_RULE",
15841
15841
  message: `Style ${u} ignored: ${l.select.target} entries need a part.`,
@@ -15844,7 +15844,7 @@ var Rj = class extends ro {
15844
15844
  actual: String(l.select.part),
15845
15845
  ...h
15846
15846
  },
15847
- suggestion: `Set 'part' to one of ${S.map((k) => `'${k}'`).join(", ")}.`
15847
+ suggestion: `Set 'part' to one of ${A.map((k) => `'${k}'`).join(", ")}.`
15848
15848
  });
15849
15849
  return;
15850
15850
  }
@@ -15944,12 +15944,12 @@ var Rj = class extends ro {
15944
15944
  const y = [];
15945
15945
  return m.forEach((x, w) => {
15946
15946
  if (!dl(x) || !gE(x.select, a)) return;
15947
- const S = x.select.kind;
15948
- if (S !== void 0 && S !== t.geom || x.select.layer !== void 0 && x.select.layer !== t.id) return;
15947
+ const A = x.select.kind;
15948
+ if (A !== void 0 && A !== t.geom || x.select.layer !== void 0 && x.select.layer !== t.id) return;
15949
15949
  const k = Hs(g, p, w);
15950
15950
  if (vE(x, k, h) !== void 0) return;
15951
- const A = x.when?.state;
15952
- if (A !== void 0 && !pE(A)) return;
15951
+ const S = x.when?.state;
15952
+ if (S !== void 0 && !pE(S)) return;
15953
15953
  const D = x.id === void 0 ? {} : { styleEntryId: x.id }, b = g === "theme" ? kf(x, w) : {
15954
15954
  list: p,
15955
15955
  index: w,
@@ -15981,7 +15981,7 @@ var Rj = class extends ro {
15981
15981
  origin: b,
15982
15982
  warnings: u
15983
15983
  });
15984
- if (A === "dimmed" && R.overpaint !== void 0 && (u.push({
15984
+ if (S === "dimmed" && R.overpaint !== void 0 && (u.push({
15985
15985
  code: "INVALID_STYLE_RULE",
15986
15986
  message: `Style ${k}: 'overpaint' is not supported in the 'dimmed' state; the declaration is ignored.`,
15987
15987
  context: {
@@ -16007,7 +16007,7 @@ var Rj = class extends ro {
16007
16007
  matches: Fo(T, c),
16008
16008
  where: T
16009
16009
  },
16010
- ...A === void 0 ? {} : { state: A },
16010
+ ...S === void 0 ? {} : { state: S },
16011
16011
  ...I === void 0 ? {} : { part: I },
16012
16012
  origin: b
16013
16013
  });
@@ -16435,8 +16435,8 @@ var Rj = class extends ro {
16435
16435
  xMax: p,
16436
16436
  yMin: h,
16437
16437
  yMax: f
16438
- }, S = s.get(x);
16439
- if (S === void 0) {
16438
+ }, A = s.get(x);
16439
+ if (A === void 0) {
16440
16440
  s.set(x, {
16441
16441
  total: g,
16442
16442
  topPositive: y ? w : null,
@@ -16444,7 +16444,7 @@ var Rj = class extends ro {
16444
16444
  });
16445
16445
  continue;
16446
16446
  }
16447
- S.total += g, y ? (S.topPositive === null || o(w) > o(S.topPositive)) && (S.topPositive = w) : (S.bottomNegative === null || a(w) < a(S.bottomNegative)) && (S.bottomNegative = w);
16447
+ A.total += g, y ? (A.topPositive === null || o(w) > o(A.topPositive)) && (A.topPositive = w) : (A.bottomNegative === null || a(w) < a(A.bottomNegative)) && (A.bottomNegative = w);
16448
16448
  }
16449
16449
  const l = [];
16450
16450
  for (const [c, u] of s) {
@@ -16838,60 +16838,60 @@ function w8(e) {
16838
16838
  }
16839
16839
  var A8 = {
16840
16840
  x: Object.assign((e) => $o("x", e), {
16841
- continuous: (e) => mt("x", e),
16841
+ continuous: (e) => pt("x", e),
16842
16842
  discrete: (e) => Kt("x", e),
16843
16843
  datetime: (e) => yc("x", e),
16844
- log: (e) => mt("x", {
16844
+ log: (e) => pt("x", {
16845
16845
  ...e,
16846
16846
  transform: "log"
16847
16847
  }),
16848
- sqrt: (e) => mt("x", {
16848
+ sqrt: (e) => pt("x", {
16849
16849
  ...e,
16850
16850
  transform: "sqrt"
16851
16851
  })
16852
16852
  }),
16853
16853
  y: Object.assign((e) => $o("y", e), {
16854
- continuous: (e) => mt("y", e),
16854
+ continuous: (e) => pt("y", e),
16855
16855
  discrete: (e) => Kt("y", e),
16856
16856
  datetime: (e) => yc("y", e),
16857
- log: (e) => mt("y", {
16857
+ log: (e) => pt("y", {
16858
16858
  ...e,
16859
16859
  transform: "log"
16860
16860
  }),
16861
- sqrt: (e) => mt("y", {
16861
+ sqrt: (e) => pt("y", {
16862
16862
  ...e,
16863
16863
  transform: "sqrt"
16864
16864
  })
16865
16865
  }),
16866
16866
  ySecondary: Object.assign((e) => $o("ySecondary", e), {
16867
- continuous: (e) => mt("ySecondary", e),
16867
+ continuous: (e) => pt("ySecondary", e),
16868
16868
  discrete: (e) => Kt("ySecondary", e),
16869
16869
  datetime: (e) => yc("ySecondary", e),
16870
- log: (e) => mt("ySecondary", {
16870
+ log: (e) => pt("ySecondary", {
16871
16871
  ...e,
16872
16872
  transform: "log"
16873
16873
  }),
16874
- sqrt: (e) => mt("ySecondary", {
16874
+ sqrt: (e) => pt("ySecondary", {
16875
16875
  ...e,
16876
16876
  transform: "sqrt"
16877
16877
  })
16878
16878
  }),
16879
16879
  color: {
16880
- continuous: (e) => mt("color", e),
16880
+ continuous: (e) => pt("color", e),
16881
16881
  discrete: (e) => Kt("color", e)
16882
16882
  },
16883
16883
  size: {
16884
- continuous: (e) => mt("size", e),
16884
+ continuous: (e) => pt("size", e),
16885
16885
  discrete: (e) => Kt("size", e),
16886
16886
  identity: (e) => Ja("size", e)
16887
16887
  },
16888
16888
  alpha: {
16889
- continuous: (e) => mt("alpha", e),
16889
+ continuous: (e) => pt("alpha", e),
16890
16890
  discrete: (e) => Kt("alpha", e),
16891
16891
  identity: (e) => Ja("alpha", e)
16892
16892
  },
16893
16893
  strokeWidth: {
16894
- continuous: (e) => mt("strokeWidth", e),
16894
+ continuous: (e) => pt("strokeWidth", e),
16895
16895
  discrete: (e) => Kt("strokeWidth", e),
16896
16896
  identity: (e) => Ja("strokeWidth", e)
16897
16897
  },
@@ -17085,7 +17085,7 @@ function V8(e) {
17085
17085
  options: e
17086
17086
  };
17087
17087
  }
17088
- var zge = wE().style;
17088
+ var Yge = wE().style;
17089
17089
  function wE(e) {
17090
17090
  const t = e?.plugins ?? [], r = $8(t);
17091
17091
  return {
@@ -17827,7 +17827,7 @@ var Et = { timeZone: "UTC" }, xt = (e) => (t) => {
17827
17827
  var X = T[I], ee;
17828
17828
  return typeof X == "function" ? ee = X(F) : ee = X, T._numberFirst ? ee + M + E : E + M + ee;
17829
17829
  }
17830
- function S(b, T) {
17830
+ function A(b, T) {
17831
17831
  var R, I, F, M, L = T.units, N = T.unitMeasures, C = "largest" in T ? T.largest : 1 / 0;
17832
17832
  if (!L.length) return [];
17833
17833
  var E = {};
@@ -17878,11 +17878,11 @@ var Et = { timeZone: "UTC" }, xt = (e) => (t) => {
17878
17878
  for (var C = [], E = 0; E < b.length; E++) C.push(w(b[E], R, T));
17879
17879
  return !M || b.length === 1 ? C.join(N) : b.length === 2 ? C.join(M) : C.slice(0, -1).join(N) + (L ? "," : "") + M + C.slice(-1);
17880
17880
  }
17881
- function A(b) {
17881
+ function S(b) {
17882
17882
  var T = function(I, F) {
17883
17883
  I = Math.abs(I);
17884
17884
  var M = r({}, T, F || {});
17885
- return k(S(I, M), M);
17885
+ return k(A(I, M), M);
17886
17886
  };
17887
17887
  return r(T, {
17888
17888
  language: "en",
@@ -17912,13 +17912,13 @@ var Et = { timeZone: "UTC" }, xt = (e) => (t) => {
17912
17912
  }
17913
17913
  }, b);
17914
17914
  }
17915
- var D = r(A({}), {
17915
+ var D = r(S({}), {
17916
17916
  getSupportedLanguages: function() {
17917
17917
  var T = [];
17918
17918
  for (var R in o) y(o, R) && R !== "gr" && T.push(R);
17919
17919
  return T;
17920
17920
  },
17921
- humanizer: A
17921
+ humanizer: S
17922
17922
  });
17923
17923
  typeof define == "function" && define.amd ? define(function() {
17924
17924
  return D;
@@ -19778,7 +19778,7 @@ var If = [
19778
19778
  }
19779
19779
  return t;
19780
19780
  };
19781
- function Yge(e) {
19781
+ function Kge(e) {
19782
19782
  return e;
19783
19783
  }
19784
19784
  function Tr(e) {
@@ -20346,8 +20346,8 @@ var pY = ({ layers: e, coordSystem: t, axes: r, numberFormat: n, parsingLocale:
20346
20346
  percentageValueStrategy: y.getPercentageValueStrategy(g)
20347
20347
  }), w = y.place(x);
20348
20348
  p += w.droppedCount;
20349
- for (const S of w.labels)
20350
- vY(S, m, c, u) || h.push(S);
20349
+ for (const A of w.labels)
20350
+ vY(A, m, c, u) || h.push(A);
20351
20351
  }
20352
20352
  return {
20353
20353
  labels: h,
@@ -20585,7 +20585,7 @@ function Qe(e) {
20585
20585
  };
20586
20586
  }
20587
20587
  var nk = Math.cos, Qc = Math.sin, Dr = Math.sqrt;
20588
- var Gs = Math.PI, Kge = Gs / 2, ad = 2 * Gs, Lf = Math.PI, Df = 2 * Lf, Ai = 1e-6, XY = Df - Ai;
20588
+ var Gs = Math.PI, Xge = Gs / 2, ad = 2 * Gs, Lf = Math.PI, Df = 2 * Lf, Ai = 1e-6, XY = Df - Ai;
20589
20589
  function ik(e) {
20590
20590
  this._ += e[0];
20591
20591
  for (let t = 1, r = e.length; t < r; ++t) this._ += arguments[t] + e[t];
@@ -20625,8 +20625,8 @@ var qp = class {
20625
20625
  if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
20626
20626
  else if (d > Ai) if (!(Math.abs(u * s - l * c) > Ai) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
20627
20627
  else {
20628
- let h = r - o, f = n - a, m = s * s + l * l, p = h * h + f * f, g = Math.sqrt(m), y = Math.sqrt(d), x = i * Math.tan((Lf - Math.acos((m + d - p) / (2 * g * y))) / 2), w = x / y, S = x / g;
20629
- Math.abs(w - 1) > Ai && this._append`L${e + w * c},${t + w * u}`, this._append`A${i},${i},0,0,${+(u * h > c * f)},${this._x1 = e + S * s},${this._y1 = t + S * l}`;
20628
+ let h = r - o, f = n - a, m = s * s + l * l, p = h * h + f * f, g = Math.sqrt(m), y = Math.sqrt(d), x = i * Math.tan((Lf - Math.acos((m + d - p) / (2 * g * y))) / 2), w = x / y, A = x / g;
20629
+ Math.abs(w - 1) > Ai && this._append`L${e + w * c},${t + w * u}`, this._append`A${i},${i},0,0,${+(u * h > c * f)},${this._x1 = e + A * s},${this._y1 = t + A * l}`;
20630
20630
  }
20631
20631
  }
20632
20632
  arc(e, t, r, n, i, o) {
@@ -20658,7 +20658,7 @@ function Qp(e) {
20658
20658
  return e;
20659
20659
  }, () => new qp(t);
20660
20660
  }
20661
- var Xge = Array.prototype.slice;
20661
+ var qge = Array.prototype.slice;
20662
20662
  function ok(e) {
20663
20663
  return typeof e == "object" && "length" in e ? e : Array.from(e);
20664
20664
  }
@@ -20725,15 +20725,15 @@ function ck(e, t, r) {
20725
20725
  var n = null, i = Qe(!0), o = null, a = Jp, s = null, l = Qp(c);
20726
20726
  e = typeof e == "function" ? e : e === void 0 ? sk : Qe(+e), t = typeof t == "function" ? t : Qe(t === void 0 ? 0 : +t), r = typeof r == "function" ? r : r === void 0 ? lk : Qe(+r);
20727
20727
  function c(d) {
20728
- var h, f, m, p = (d = ok(d)).length, g, y = !1, x, w = new Array(p), S = new Array(p);
20728
+ var h, f, m, p = (d = ok(d)).length, g, y = !1, x, w = new Array(p), A = new Array(p);
20729
20729
  for (o == null && (s = a(x = l())), h = 0; h <= p; ++h) {
20730
20730
  if (!(h < p && i(g = d[h], h, d)) === y) if (y = !y)
20731
20731
  f = h, s.areaStart(), s.lineStart();
20732
20732
  else {
20733
- for (s.lineEnd(), s.lineStart(), m = h - 1; m >= f; --m) s.point(w[m], S[m]);
20733
+ for (s.lineEnd(), s.lineStart(), m = h - 1; m >= f; --m) s.point(w[m], A[m]);
20734
20734
  s.lineEnd(), s.areaEnd();
20735
20735
  }
20736
- y && (w[h] = +e(g, h, d), S[h] = +t(g, h, d), s.point(n ? +n(g, h, d) : w[h], r ? +r(g, h, d) : S[h]));
20736
+ y && (w[h] = +e(g, h, d), A[h] = +t(g, h, d), s.point(n ? +n(g, h, d) : w[h], r ? +r(g, h, d) : A[h]));
20737
20737
  }
20738
20738
  if (x) return s = null, x + "" || null;
20739
20739
  }
@@ -20852,7 +20852,7 @@ eg.prototype = {
20852
20852
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
20853
20853
  }
20854
20854
  };
20855
- var qge = (function e(t) {
20855
+ var Qge = (function e(t) {
20856
20856
  function r(n) {
20857
20857
  return new eg(n, t);
20858
20858
  }
@@ -21172,7 +21172,7 @@ var u9 = (function e(t) {
21172
21172
  const o = Zt(i) ?? "default", a = n(i);
21173
21173
  return `${r}-${o}${a !== null && a !== "" ? `-${a}` : ""}`;
21174
21174
  };
21175
- }, Qge = (e, t, r) => {
21175
+ }, Jge = (e, t, r) => {
21176
21176
  const n = tl(e, t);
21177
21177
  return (i) => {
21178
21178
  const o = n(i);
@@ -21643,16 +21643,16 @@ function eK(e, t, r) {
21643
21643
  const { data: n, spatialKind: i, position: o } = e, a = $a(n, O.x), s = $a(n, O.y);
21644
21644
  if (!a || !s) return [];
21645
21645
  const l = t === "y", c = i === "spanned-buckets", u = Ot(o), d = l ? s : a, h = $a(n, l ? O.yBand : O.xBand) ?? d, f = l ? a : s, m = $a(n, l ? O.xMin : O.yMin), p = $a(n, l ? O.xMax : O.yMax), g = n.hasVariable(we.group) ? n.getValues(we.group, { type: "categorical" }) : null, y = c ? null : new rK(nK(e)), x = /* @__PURE__ */ new Map(), w = [];
21646
- let S = -1;
21646
+ let A = -1;
21647
21647
  for (const k of n) {
21648
- S += 1;
21649
- const A = g?.[S] ?? null, D = iK(x, A), b = h[S], T = m?.[S], R = p?.[S], I = tK(f[S], T, R, u);
21648
+ A += 1;
21649
+ const S = g?.[A] ?? null, D = iK(x, S), b = h[A], T = m?.[A], R = p?.[A], I = tK(f[A], T, R, u);
21650
21650
  if (!H(b) || I === null) {
21651
- y?.skip(A);
21651
+ y?.skip(S);
21652
21652
  continue;
21653
21653
  }
21654
- const F = d[S] ?? b, M = {
21655
- pointIndex: S,
21654
+ const F = d[A] ?? b, M = {
21655
+ pointIndex: A,
21656
21656
  ...l ? {
21657
21657
  x: I,
21658
21658
  y: F
@@ -21660,7 +21660,7 @@ function eK(e, t, r) {
21660
21660
  x: F,
21661
21661
  y: I
21662
21662
  },
21663
- groupKey: A,
21663
+ groupKey: S,
21664
21664
  paintOrder: D,
21665
21665
  ...i === "filled-buckets" && H(T) && { fill: oK(T, I) },
21666
21666
  ...c && { extent: aK(I, T, R) },
@@ -21668,7 +21668,7 @@ function eK(e, t, r) {
21668
21668
  nextAt: qb,
21669
21669
  observation: k
21670
21670
  };
21671
- y?.append(A, {
21671
+ y?.append(S, {
21672
21672
  entry: M,
21673
21673
  at: w.length
21674
21674
  }), w.push({
@@ -21801,16 +21801,16 @@ function z(e) {
21801
21801
  }
21802
21802
  var uK = (3 + 16 * De) * De, dK = (2 + 12 * De) * De, hK = (9 + 64 * De) * De * De, Ao = z(4), Qb = z(8), Jb = z(12), Zb = z(16), _t = z(4);
21803
21803
  function fK(e, t, r, n, i, o, a) {
21804
- let s, l, c, u, d, h, f, m, p, g, y, x, w, S, k, A, D, b;
21804
+ let s, l, c, u, d, h, f, m, p, g, y, x, w, A, k, S, D, b;
21805
21805
  const T = e - i, R = r - i, I = t - o, F = n - o;
21806
- S = T * F, h = At * T, f = h - (h - T), m = T - f, h = At * F, p = h - (h - F), g = F - p, k = m * g - (S - f * p - m * p - f * g), A = I * R, h = At * I, f = h - (h - I), m = I - f, h = At * R, p = h - (h - R), g = R - p, D = m * g - (A - f * p - m * p - f * g), y = k - D, d = k - y, Ao[0] = k - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, Ao[1] = w - (y + d) + (d - A), b = x + y, d = b - x, Ao[2] = x - (b - d) + (y - d), Ao[3] = b;
21806
+ A = T * F, h = At * T, f = h - (h - T), m = T - f, h = At * F, p = h - (h - F), g = F - p, k = m * g - (A - f * p - m * p - f * g), S = I * R, h = At * I, f = h - (h - I), m = I - f, h = At * R, p = h - (h - R), g = R - p, D = m * g - (S - f * p - m * p - f * g), y = k - D, d = k - y, Ao[0] = k - (y + d) + (d - D), x = A + y, d = x - A, w = A - (x - d) + (y - d), y = w - S, d = w - y, Ao[1] = w - (y + d) + (d - S), b = x + y, d = b - x, Ao[2] = x - (b - d) + (y - d), Ao[3] = b;
21807
21807
  let M = cK(4, Ao), L = dK * a;
21808
21808
  if (M >= L || -M >= L || (d = e - T, s = e - (T + d) + (d - i), d = r - R, c = r - (R + d) + (d - i), d = t - I, l = t - (I + d) + (d - o), d = n - F, u = n - (F + d) + (d - o), s === 0 && l === 0 && c === 0 && u === 0) || (L = hK * a + lK * Math.abs(M), M += T * u + F * s - (I * c + R * l), M >= L || -M >= L)) return M;
21809
- S = s * F, h = At * s, f = h - (h - s), m = s - f, h = At * F, p = h - (h - F), g = F - p, k = m * g - (S - f * p - m * p - f * g), A = l * R, h = At * l, f = h - (h - l), m = l - f, h = At * R, p = h - (h - R), g = R - p, D = m * g - (A - f * p - m * p - f * g), y = k - D, d = k - y, _t[0] = k - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21809
+ A = s * F, h = At * s, f = h - (h - s), m = s - f, h = At * F, p = h - (h - F), g = F - p, k = m * g - (A - f * p - m * p - f * g), S = l * R, h = At * l, f = h - (h - l), m = l - f, h = At * R, p = h - (h - R), g = R - p, D = m * g - (S - f * p - m * p - f * g), y = k - D, d = k - y, _t[0] = k - (y + d) + (d - D), x = A + y, d = x - A, w = A - (x - d) + (y - d), y = w - S, d = w - y, _t[1] = w - (y + d) + (d - S), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21810
21810
  const N = vh(4, Ao, 4, _t, Qb);
21811
- S = T * u, h = At * T, f = h - (h - T), m = T - f, h = At * u, p = h - (h - u), g = u - p, k = m * g - (S - f * p - m * p - f * g), A = I * c, h = At * I, f = h - (h - I), m = I - f, h = At * c, p = h - (h - c), g = c - p, D = m * g - (A - f * p - m * p - f * g), y = k - D, d = k - y, _t[0] = k - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21811
+ A = T * u, h = At * T, f = h - (h - T), m = T - f, h = At * u, p = h - (h - u), g = u - p, k = m * g - (A - f * p - m * p - f * g), S = I * c, h = At * I, f = h - (h - I), m = I - f, h = At * c, p = h - (h - c), g = c - p, D = m * g - (S - f * p - m * p - f * g), y = k - D, d = k - y, _t[0] = k - (y + d) + (d - D), x = A + y, d = x - A, w = A - (x - d) + (y - d), y = w - S, d = w - y, _t[1] = w - (y + d) + (d - S), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21812
21812
  const C = vh(N, Qb, 4, _t, Jb);
21813
- S = s * u, h = At * s, f = h - (h - s), m = s - f, h = At * u, p = h - (h - u), g = u - p, k = m * g - (S - f * p - m * p - f * g), A = l * c, h = At * l, f = h - (h - l), m = l - f, h = At * c, p = h - (h - c), g = c - p, D = m * g - (A - f * p - m * p - f * g), y = k - D, d = k - y, _t[0] = k - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21813
+ A = s * u, h = At * s, f = h - (h - s), m = s - f, h = At * u, p = h - (h - u), g = u - p, k = m * g - (A - f * p - m * p - f * g), S = l * c, h = At * l, f = h - (h - l), m = l - f, h = At * c, p = h - (h - c), g = c - p, D = m * g - (S - f * p - m * p - f * g), y = k - D, d = k - y, _t[0] = k - (y + d) + (d - D), x = A + y, d = x - A, w = A - (x - d) + (y - d), y = w - S, d = w - y, _t[1] = w - (y + d) + (d - S), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21814
21814
  const E = vh(C, Jb, 4, _t, Zb);
21815
21815
  return Zb[E - 1];
21816
21816
  }
@@ -21818,7 +21818,7 @@ function ec(e, t, r, n, i, o) {
21818
21818
  const a = (t - o) * (r - i), s = (e - i) * (n - o), l = a - s, c = Math.abs(a + s);
21819
21819
  return Math.abs(l) >= uK * c ? l : -fK(e, t, r, n, i, o, c);
21820
21820
  }
21821
- var Jge = (7 + 56 * De) * De, Zge = (3 + 28 * De) * De, eve = (26 + 288 * De) * De * De, tve = z(4), rve = z(4), nve = z(4), ive = z(4), ove = z(4), ave = z(4), sve = z(4), lve = z(4), cve = z(4), uve = z(8), dve = z(8), hve = z(8), fve = z(4), mve = z(8), pve = z(8), gve = z(16), vve = z(12), yve = z(192), bve = z(192), xve = (10 + 96 * De) * De, wve = (4 + 48 * De) * De, Ave = (44 + 576 * De) * De * De, Sve = z(4), Tve = z(4), Mve = z(4), Eve = z(4), kve = z(4), Pve = z(4), _ve = z(4), Cve = z(4), Ive = z(8), Rve = z(8), Lve = z(8), Dve = z(8), Ove = z(8), Nve = z(8), Bve = z(8), Fve = z(8), Vve = z(8), Hve = z(4), Gve = z(4), $ve = z(4), Wve = z(8), Uve = z(16), jve = z(16), zve = z(16), Yve = z(32), Kve = z(32), Xve = z(48), qve = z(64), Qve = z(1152), Jve = z(1152), Zve = (16 + 224 * De) * De, eye = (5 + 72 * De) * De, tye = (71 + 1408 * De) * De * De, rye = z(4), nye = z(4), iye = z(4), oye = z(4), aye = z(4), sye = z(4), lye = z(4), cye = z(4), uye = z(4), dye = z(4), hye = z(24), fye = z(24), mye = z(24), pye = z(24), gye = z(24), vye = z(24), yye = z(24), bye = z(24), xye = z(24), wye = z(24), Aye = z(1152), Sye = z(1152), Tye = z(1152), Mye = z(1152), Eye = z(1152), kye = z(2304), Pye = z(2304), _ye = z(3456), Cye = z(5760), Iye = z(8), Rye = z(8), Lye = z(8), Dye = z(16), Oye = z(24), Nye = z(48), Bye = z(48), Fye = z(96), Vye = z(192), Hye = z(384), Gye = z(384), $ye = z(384), Wye = z(768), Uye = z(96), jye = z(96), zye = z(96), Yye = z(1152), ex = Math.pow(2, -52), tc = /* @__PURE__ */ new Uint32Array(512), tx = class Ik {
21821
+ var Zge = (7 + 56 * De) * De, eve = (3 + 28 * De) * De, tve = (26 + 288 * De) * De * De, rve = z(4), nve = z(4), ive = z(4), ove = z(4), ave = z(4), sve = z(4), lve = z(4), cve = z(4), uve = z(4), dve = z(8), hve = z(8), fve = z(8), mve = z(4), pve = z(8), gve = z(8), vve = z(16), yve = z(12), bve = z(192), xve = z(192), wve = (10 + 96 * De) * De, Ave = (4 + 48 * De) * De, Sve = (44 + 576 * De) * De * De, Tve = z(4), Mve = z(4), Eve = z(4), kve = z(4), Pve = z(4), _ve = z(4), Cve = z(4), Ive = z(4), Rve = z(8), Lve = z(8), Dve = z(8), Ove = z(8), Nve = z(8), Bve = z(8), Fve = z(8), Vve = z(8), Hve = z(8), Gve = z(4), $ve = z(4), Wve = z(4), Uve = z(8), jve = z(16), zve = z(16), Yve = z(16), Kve = z(32), Xve = z(32), qve = z(48), Qve = z(64), Jve = z(1152), Zve = z(1152), eye = (16 + 224 * De) * De, tye = (5 + 72 * De) * De, rye = (71 + 1408 * De) * De * De, nye = z(4), iye = z(4), oye = z(4), aye = z(4), sye = z(4), lye = z(4), cye = z(4), uye = z(4), dye = z(4), hye = z(4), fye = z(24), mye = z(24), pye = z(24), gye = z(24), vye = z(24), yye = z(24), bye = z(24), xye = z(24), wye = z(24), Aye = z(24), Sye = z(1152), Tye = z(1152), Mye = z(1152), Eye = z(1152), kye = z(1152), Pye = z(2304), _ye = z(2304), Cye = z(3456), Iye = z(5760), Rye = z(8), Lye = z(8), Dye = z(8), Oye = z(16), Nye = z(24), Bye = z(48), Fye = z(48), Vye = z(96), Hye = z(192), Gye = z(384), $ye = z(384), Wye = z(384), Uye = z(768), jye = z(96), zye = z(96), Yye = z(96), Kye = z(1152), ex = Math.pow(2, -52), tc = /* @__PURE__ */ new Uint32Array(512), tx = class Ik {
21822
21822
  static from(t, r = yK, n = bK) {
21823
21823
  const i = t.length, o = new Float64Array(i * 2);
21824
21824
  for (let a = 0; a < i; a++) {
@@ -21853,14 +21853,14 @@ var Jge = (7 + 56 * De) * De, Zge = (3 + 28 * De) * De, eve = (26 + 288 * De) *
21853
21853
  const I = yh(g, y, t[2 * T], t[2 * T + 1]);
21854
21854
  I < R && I > 0 && (m = T, R = I);
21855
21855
  }
21856
- let x = t[2 * m], w = t[2 * m + 1], S = 1 / 0;
21856
+ let x = t[2 * m], w = t[2 * m + 1], A = 1 / 0;
21857
21857
  for (let T = 0; T < a; T++) {
21858
21858
  if (T === f || T === m) continue;
21859
21859
  const R = gK(g, y, x, w, t[2 * T], t[2 * T + 1]);
21860
- R < S && (p = T, S = R);
21860
+ R < A && (p = T, A = R);
21861
21861
  }
21862
- let k = t[2 * p], A = t[2 * p + 1];
21863
- if (S === 1 / 0) {
21862
+ let k = t[2 * p], S = t[2 * p + 1];
21863
+ if (A === 1 / 0) {
21864
21864
  for (let I = 0; I < a; I++) this._dists[I] = t[2 * I] - t[0] || t[2 * I + 1] - t[1];
21865
21865
  Ro(this._ids, this._dists, 0, a - 1);
21866
21866
  const T = new Uint32Array(a);
@@ -21872,16 +21872,16 @@ var Jge = (7 + 56 * De) * De, Zge = (3 + 28 * De) * De, eve = (26 + 288 * De) *
21872
21872
  this.hull = T.subarray(0, R), this.triangles = /* @__PURE__ */ new Uint32Array(0), this.halfedges = /* @__PURE__ */ new Int32Array(0);
21873
21873
  return;
21874
21874
  }
21875
- if (ec(g, y, x, w, k, A) < 0) {
21875
+ if (ec(g, y, x, w, k, S) < 0) {
21876
21876
  const T = m, R = x, I = w;
21877
- m = p, x = k, w = A, p = T, k = R, A = I;
21877
+ m = p, x = k, w = S, p = T, k = R, S = I;
21878
21878
  }
21879
- const D = vK(g, y, x, w, k, A);
21879
+ const D = vK(g, y, x, w, k, S);
21880
21880
  this._cx = D.x, this._cy = D.y;
21881
21881
  for (let T = 0; T < a; T++) this._dists[T] = yh(t[2 * T], t[2 * T + 1], D.x, D.y);
21882
21882
  Ro(this._ids, this._dists, 0, a - 1), this._hullStart = f;
21883
21883
  let b = 3;
21884
- n[f] = r[p] = m, n[m] = r[f] = p, n[p] = r[m] = f, i[f] = 0, i[m] = 1, i[p] = 2, o.fill(-1), o[this._hashKey(g, y)] = f, o[this._hashKey(x, w)] = m, o[this._hashKey(k, A)] = p, this.trianglesLen = 0, this._addTriangle(f, m, p, -1, -1, -1);
21884
+ n[f] = r[p] = m, n[m] = r[f] = p, n[p] = r[m] = f, i[f] = 0, i[m] = 1, i[p] = 2, o.fill(-1), o[this._hashKey(g, y)] = f, o[this._hashKey(x, w)] = m, o[this._hashKey(k, S)] = p, this.trianglesLen = 0, this._addTriangle(f, m, p, -1, -1, -1);
21885
21885
  for (let T = 0, R = 0, I = 0; T < this._ids.length; T++) {
21886
21886
  const F = this._ids[T], M = t[2 * F], L = t[2 * F + 1];
21887
21887
  if (T > 0 && Math.abs(M - R) <= ex && Math.abs(L - I) <= ex || (R = M, I = L, F === f || F === m || F === p)) continue;
@@ -22072,18 +22072,18 @@ var rx = 1e-6, Ii = class {
22072
22072
  let i, o;
22073
22073
  const a = this.circumcenters = this._circumcenters.subarray(0, r.length / 3 * 2);
22074
22074
  for (let m = 0, p = 0, g = r.length, y, x; m < g; m += 3, p += 2) {
22075
- const w = r[m] * 2, S = r[m + 1] * 2, k = r[m + 2] * 2, A = e[w], D = e[w + 1], b = e[S], T = e[S + 1], R = e[k], I = e[k + 1], F = b - A, M = T - D, L = R - A, N = I - D, C = (F * N - M * L) * 2;
22075
+ const w = r[m] * 2, A = r[m + 1] * 2, k = r[m + 2] * 2, S = e[w], D = e[w + 1], b = e[A], T = e[A + 1], R = e[k], I = e[k + 1], F = b - S, M = T - D, L = R - S, N = I - D, C = (F * N - M * L) * 2;
22076
22076
  if (Math.abs(C) < 1e-9) {
22077
22077
  if (i === void 0) {
22078
22078
  i = o = 0;
22079
22079
  for (const P of t) i += e[P * 2], o += e[P * 2 + 1];
22080
22080
  i /= t.length, o /= t.length;
22081
22081
  }
22082
- const E = 1e9 * Math.sign((i - A) * N - (o - D) * L);
22083
- y = (A + R) / 2 - E * N, x = (D + I) / 2 + E * L;
22082
+ const E = 1e9 * Math.sign((i - S) * N - (o - D) * L);
22083
+ y = (S + R) / 2 - E * N, x = (D + I) / 2 + E * L;
22084
22084
  } else {
22085
22085
  const E = 1 / C, P = F * F + M * M, _ = L * L + N * N;
22086
- y = A + (N * P - M * _) * E, x = D + (F * _ - L * P) * E;
22086
+ y = S + (N * P - M * _) * E, x = D + (F * _ - L * P) * E;
22087
22087
  }
22088
22088
  a[p] = y, a[p + 1] = x;
22089
22089
  }
@@ -24144,11 +24144,11 @@ var pq = (e, t) => ({
24144
24144
  origin: w.origin,
24145
24145
  state: m
24146
24146
  };
24147
- const S = Si(e.defaults, h, f, m);
24148
- if (S !== void 0) return {
24149
- value: Eo(S, h, t),
24147
+ const A = Si(e.defaults, h, f, m);
24148
+ if (A !== void 0) return {
24149
+ value: Eo(A, h, t),
24150
24150
  tier: "default",
24151
- origin: S.origin,
24151
+ origin: A.origin,
24152
24152
  state: m
24153
24153
  };
24154
24154
  }
@@ -24874,12 +24874,12 @@ function En(e, t = eQ) {
24874
24874
  const r = Ka.useSyncExternalStore(e.subscribe, Ka.useCallback(() => t(e.getState()), [e, t]), Ka.useCallback(() => t(e.getInitialState()), [e, t]));
24875
24875
  return Ka.useDebugValue(r), r;
24876
24876
  }
24877
- var pg = Fe(null), yt = () => {
24877
+ var pg = Fe(null), ft = () => {
24878
24878
  const e = se(pg);
24879
24879
  if (!e) throw new Error("useGraph* hooks must be used inside a <GraphProvider>");
24880
24880
  return e;
24881
24881
  }, me = (e) => {
24882
- const { store: t } = yt();
24882
+ const { store: t } = ft();
24883
24883
  return En(t, (r) => e(r.scene));
24884
24884
  }, wa = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, tQ = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, lo = (e) => {
24885
24885
  if (e !== "none")
@@ -24939,7 +24939,7 @@ var pg = Fe(null), yt = () => {
24939
24939
  return a === void 0 && (s.shadow = "none"), s;
24940
24940
  }
24941
24941
  };
24942
- }, sP = () => yt().styleResolver, Be = (e) => rQ(e, co()(e)), ke = () => {
24942
+ }, sP = () => ft().styleResolver, Be = (e) => rQ(e, co()(e)), ke = () => {
24943
24943
  const e = sP(), t = me((r) => r.chrome);
24944
24944
  return e.readers({ chrome: t });
24945
24945
  }, lP = (e) => {
@@ -25154,19 +25154,19 @@ function CP(e, t) {
25154
25154
  delta: 0,
25155
25155
  timestamp: 0,
25156
25156
  isProcessing: !1
25157
- }, o = () => r = !0, a = nc.reduce((w, S) => (w[S] = yQ(o, t ? S : void 0), w), {}), { setup: s, read: l, resolveKeyframes: c, preUpdate: u, update: d, preRender: h, render: f, postRender: m } = a, p = () => {
25157
+ }, o = () => r = !0, a = nc.reduce((w, A) => (w[A] = yQ(o, t ? A : void 0), w), {}), { setup: s, read: l, resolveKeyframes: c, preUpdate: u, update: d, preRender: h, render: f, postRender: m } = a, p = () => {
25158
25158
  const w = kn.useManualTiming ? i.timestamp : performance.now();
25159
25159
  r = !1, kn.useManualTiming || (i.delta = n ? 1e3 / 60 : Math.max(Math.min(w - i.timestamp, bQ), 1)), i.timestamp = w, i.isProcessing = !0, s.process(i), l.process(i), c.process(i), u.process(i), d.process(i), h.process(i), f.process(i), m.process(i), i.isProcessing = !1, r && t && (n = !1, e(p));
25160
25160
  }, g = () => {
25161
25161
  r = !0, n = !0, i.isProcessing || e(p);
25162
25162
  };
25163
25163
  return {
25164
- schedule: nc.reduce((w, S) => {
25165
- const k = a[S];
25166
- return w[S] = (A, D = !1, b = !1) => (r || g(), k.schedule(A, D, b)), w;
25164
+ schedule: nc.reduce((w, A) => {
25165
+ const k = a[A];
25166
+ return w[A] = (S, D = !1, b = !1) => (r || g(), k.schedule(S, D, b)), w;
25167
25167
  }, {}),
25168
25168
  cancel: (w) => {
25169
- for (let S = 0; S < nc.length; S++) a[nc[S]].cancel(w);
25169
+ for (let A = 0; A < nc.length; A++) a[nc[A]].cancel(w);
25170
25170
  },
25171
25171
  state: i,
25172
25172
  steps: a
@@ -25531,40 +25531,40 @@ function Ys(e = je.visualDuration, t = je.bounce) {
25531
25531
  let w;
25532
25532
  if (p < 1) {
25533
25533
  const k = Uf(y, p);
25534
- w = (A) => {
25535
- const D = Math.exp(-p * y * A);
25536
- return a - D * ((m + p * y * g) / k * Math.sin(k * A) + g * Math.cos(k * A));
25534
+ w = (S) => {
25535
+ const D = Math.exp(-p * y * S);
25536
+ return a - D * ((m + p * y * g) / k * Math.sin(k * S) + g * Math.cos(k * S));
25537
25537
  };
25538
25538
  } else if (p === 1) w = (k) => a - Math.exp(-y * k) * (g + (m + y * g) * k);
25539
25539
  else {
25540
25540
  const k = y * Math.sqrt(p * p - 1);
25541
- w = (A) => {
25542
- const D = Math.exp(-p * y * A), b = Math.min(k * A, 300);
25541
+ w = (S) => {
25542
+ const D = Math.exp(-p * y * S), b = Math.min(k * S, 300);
25543
25543
  return a - D * ((m + p * y * g) * Math.sinh(b) + k * g * Math.cosh(b)) / k;
25544
25544
  };
25545
25545
  }
25546
- const S = {
25546
+ const A = {
25547
25547
  calculatedDuration: f && d || null,
25548
25548
  next: (k) => {
25549
- const A = w(k);
25549
+ const S = w(k);
25550
25550
  if (f)
25551
25551
  s.done = k >= d;
25552
25552
  else {
25553
25553
  let D = k === 0 ? m : 0;
25554
- p < 1 && (D = k === 0 ? qt(m) : WP(w, k, A));
25555
- const b = Math.abs(D) <= n, T = Math.abs(a - A) <= i;
25554
+ p < 1 && (D = k === 0 ? qt(m) : WP(w, k, S));
25555
+ const b = Math.abs(D) <= n, T = Math.abs(a - S) <= i;
25556
25556
  s.done = b && T;
25557
25557
  }
25558
- return s.value = s.done ? a : A, s;
25558
+ return s.value = s.done ? a : S, s;
25559
25559
  },
25560
25560
  toString: () => {
25561
- const k = Math.min(Mg(S), GP), A = HP((D) => S.next(k * D).value, k, 30);
25562
- return k + "ms " + A;
25561
+ const k = Math.min(Mg(A), GP), S = HP((D) => A.next(k * D).value, k, 30);
25562
+ return k + "ms " + S;
25563
25563
  },
25564
25564
  toTransition: () => {
25565
25565
  }
25566
25566
  };
25567
- return S;
25567
+ return A;
25568
25568
  }
25569
25569
  Ys.applyToOptions = (e) => {
25570
25570
  const t = $P(e, 100, Ys);
@@ -25578,13 +25578,13 @@ function jf({ keyframes: e, velocity: t = 0, power: r = 0.8, timeConstant: n = 3
25578
25578
  let p = r * t;
25579
25579
  const g = d + p, y = a === void 0 ? g : a(g);
25580
25580
  y !== g && (p = y - d);
25581
- const x = (b) => -p * Math.exp(-b / n), w = (b) => y + x(b), S = (b) => {
25581
+ const x = (b) => -p * Math.exp(-b / n), w = (b) => y + x(b), A = (b) => {
25582
25582
  const T = x(b), R = w(b);
25583
25583
  h.done = Math.abs(T) <= c, h.value = h.done ? y : R;
25584
25584
  };
25585
- let k, A;
25585
+ let k, S;
25586
25586
  const D = (b) => {
25587
- f(h.value) && (k = b, A = Ys({
25587
+ f(h.value) && (k = b, S = Ys({
25588
25588
  keyframes: [h.value, m(h.value)],
25589
25589
  velocity: WP(w, b, h.value),
25590
25590
  damping: i,
@@ -25597,7 +25597,7 @@ function jf({ keyframes: e, velocity: t = 0, power: r = 0.8, timeConstant: n = 3
25597
25597
  calculatedDuration: null,
25598
25598
  next: (b) => {
25599
25599
  let T = !1;
25600
- return !A && k === void 0 && (T = !0, S(b), D(b)), k !== void 0 && b >= k ? A.next(b - k) : (!T && S(b), h);
25600
+ return !S && k === void 0 && (T = !0, A(b), D(b)), k !== void 0 && b >= k ? S.next(b - k) : (!T && A(b), h);
25601
25601
  }
25602
25602
  };
25603
25603
  }
@@ -25728,15 +25728,15 @@ var kg = class {
25728
25728
  let b = Math.floor(D), T = D % 1;
25729
25729
  !T && D >= 1 && (T = 1), T === 1 && b--, b = Math.min(b, u + 1), b % 2 && (d === "reverse" ? (T = 1 - T, h && (T -= h / a)) : d === "mirror" && (w = o)), x = an(0, 1, T) * a;
25730
25730
  }
25731
- const S = y ? {
25731
+ const A = y ? {
25732
25732
  done: !1,
25733
25733
  value: c[0]
25734
25734
  } : w.next(x);
25735
- i && (S.value = i(S.value));
25736
- let { done: k } = S;
25735
+ i && (A.value = i(A.value));
25736
+ let { done: k } = A;
25737
25737
  !y && s !== null && (k = this.playbackSpeed >= 0 ? this.currentTime >= n : this.currentTime <= 0);
25738
- const A = this.holdTime === null && (this.state === "finished" || this.state === "running" && k);
25739
- return A && f !== jf && (S.value = Eg(c, this.options, p, this.speed)), m && m(S.value), A && this.finish(), S;
25738
+ const S = this.holdTime === null && (this.state === "finished" || this.state === "running" && k);
25739
+ return S && f !== jf && (A.value = Eg(c, this.options, p, this.speed)), m && m(A.value), S && this.finish(), A;
25740
25740
  }
25741
25741
  then(e, t) {
25742
25742
  return this.finished.then(e, t);
@@ -26552,9 +26552,9 @@ function zJ(e, t) {
26552
26552
  };
26553
26553
  for (const o in i) UJ(e, o, jJ(i[o]));
26554
26554
  }
26555
- var pt = (e) => !!(e && e.getVelocity);
26555
+ var gt = (e) => !!(e && e.getVelocity);
26556
26556
  function YJ(e) {
26557
- return !!(pt(e) && e.add);
26557
+ return !!(gt(e) && e.add);
26558
26558
  }
26559
26559
  function tm(e, t) {
26560
26560
  const r = e.getValue("willChange");
@@ -26592,9 +26592,9 @@ function Og(e, t, { delay: r = 0, transitionOverride: n, type: i } = {}) {
26592
26592
  if (g !== void 0 && !f.isAnimating && !Array.isArray(m) && m === g && !p.velocity) continue;
26593
26593
  let y = !1;
26594
26594
  if (window.MotionHandoffAnimation) {
26595
- const S = a_(e);
26596
- if (S) {
26597
- const k = window.MotionHandoffAnimation(S, h, Ne);
26595
+ const A = a_(e);
26596
+ if (A) {
26597
+ const k = window.MotionHandoffAnimation(A, h, Ne);
26598
26598
  k !== null && (p.startTime = k, y = !0);
26599
26599
  }
26600
26600
  }
@@ -26883,7 +26883,7 @@ var d_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
26883
26883
  function uZ(e) {
26884
26884
  return mP(e) && "offsetHeight" in e;
26885
26885
  }
26886
- var { schedule: Fg, cancel: Kye } = /* @__PURE__ */ CP(queueMicrotask, !1), yr = {
26886
+ var { schedule: Fg, cancel: Xye } = /* @__PURE__ */ CP(queueMicrotask, !1), yr = {
26887
26887
  x: !1,
26888
26888
  y: !1
26889
26889
  };
@@ -27113,8 +27113,8 @@ function v_(e) {
27113
27113
  function IZ(e, t, r) {
27114
27114
  for (const n in t) {
27115
27115
  const i = t[n], o = r[n];
27116
- if (pt(i)) e.addValue(n, i);
27117
- else if (pt(o)) e.addValue(n, ri(i, { owner: e }));
27116
+ if (gt(i)) e.addValue(n, i);
27117
+ else if (gt(o)) e.addValue(n, ri(i, { owner: e }));
27118
27118
  else if (o !== i) if (e.hasValue(n)) {
27119
27119
  const a = e.getValue(n);
27120
27120
  a.liveStyle === !0 ? a.jump(i) : a.hasAnimated || a.set(i);
@@ -27165,7 +27165,7 @@ var x_ = class {
27165
27165
  const { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
27166
27166
  for (const h in d) {
27167
27167
  const f = d[h];
27168
- l[h] !== void 0 && pt(f) && f.set(l[h]);
27168
+ l[h] !== void 0 && gt(f) && f.set(l[h]);
27169
27169
  }
27170
27170
  }
27171
27171
  mount(e) {
@@ -27289,7 +27289,7 @@ var x_ = class {
27289
27289
  }
27290
27290
  readValue(e, t) {
27291
27291
  let r = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
27292
- return r != null && (typeof r == "string" && (fP(r) || pP(r)) ? r = parseFloat(r) : !CZ(r) && Mr.test(t) && (r = u_(e, t)), this.setBaseTarget(e, pt(r) ? r.get() : r)), pt(r) ? r.get() : r;
27292
+ return r != null && (typeof r == "string" && (fP(r) || pP(r)) ? r = parseFloat(r) : !CZ(r) && Mr.test(t) && (r = u_(e, t)), this.setBaseTarget(e, gt(r) ? r.get() : r)), gt(r) ? r.get() : r;
27293
27293
  }
27294
27294
  setBaseTarget(e, t) {
27295
27295
  this.baseTarget[e] = t;
@@ -27303,7 +27303,7 @@ var x_ = class {
27303
27303
  }
27304
27304
  if (t && r !== void 0) return r;
27305
27305
  const n = this.getBaseTargetFromProps(this.props, e);
27306
- return n !== void 0 && !pt(n) ? n : this.initialValues[e] !== void 0 && r === void 0 ? void 0 : this.baseTarget[e];
27306
+ return n !== void 0 && !gt(n) ? n : this.initialValues[e] !== void 0 && r === void 0 ? void 0 : this.baseTarget[e];
27307
27307
  }
27308
27308
  on(e, t) {
27309
27309
  return this.events[e] || (this.events[e] = new yg()), this.events[e].add(t);
@@ -27331,7 +27331,7 @@ var x_ = class {
27331
27331
  handleChildMotionValue() {
27332
27332
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
27333
27333
  const { children: e } = this.props;
27334
- pt(e) && (this.childSubscription = e.on("change", (t) => {
27334
+ gt(e) && (this.childSubscription = e.on("change", (t) => {
27335
27335
  this.current && (this.current.textContent = `${t}`);
27336
27336
  }));
27337
27337
  }
@@ -27531,7 +27531,7 @@ function k_(e, { layout: t, layoutId: r }) {
27531
27531
  function Ug(e, t, r) {
27532
27532
  const n = e.style, i = t?.style, o = {};
27533
27533
  if (!n) return o;
27534
- for (const a in n) (pt(n[a]) || i && pt(i[a]) || k_(a, e) || r?.getValue(a)?.liveStyle !== void 0) && (o[a] = n[a]);
27534
+ for (const a in n) (gt(n[a]) || i && gt(i[a]) || k_(a, e) || r?.getValue(a)?.liveStyle !== void 0) && (o[a] = n[a]);
27535
27535
  return o;
27536
27536
  }
27537
27537
  function $Z(e) {
@@ -27648,7 +27648,7 @@ function XZ(e, t, r, n) {
27648
27648
  }
27649
27649
  function R_(e, t, r) {
27650
27650
  const n = Ug(e, t, r);
27651
- for (const i in e) if (pt(e[i]) || pt(t[i])) {
27651
+ for (const i in e) if (gt(e[i]) || gt(t[i])) {
27652
27652
  const o = Ta.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
27653
27653
  n[o] = e[i];
27654
27654
  }
@@ -27726,10 +27726,10 @@ function eee(e) {
27726
27726
  const { props: c } = e, u = D_(e.parent) || {}, d = [], h = /* @__PURE__ */ new Set();
27727
27727
  let f = {}, m = 1 / 0;
27728
27728
  for (let g = 0; g < JZ; g++) {
27729
- const y = QZ[g], x = r[y], w = c[y] !== void 0 ? c[y] : u[y], S = Xs(w), k = y === l ? x.isActive : null;
27729
+ const y = QZ[g], x = r[y], w = c[y] !== void 0 ? c[y] : u[y], A = Xs(w), k = y === l ? x.isActive : null;
27730
27730
  k === !1 && (m = g);
27731
- let A = w === u[y] && w !== c[y] && S;
27732
- if (A && n && e.manuallyAnimateOnMount && (A = !1), x.protectedKeys = { ...f }, !x.isActive && k === null || !w && !x.prevProp || md(w) || typeof w == "boolean") continue;
27731
+ let S = w === u[y] && w !== c[y] && A;
27732
+ if (S && n && e.manuallyAnimateOnMount && (S = !1), x.protectedKeys = { ...f }, !x.isActive && k === null || !w && !x.prevProp || md(w) || typeof w == "boolean") continue;
27733
27733
  if (y === "exit" && x.isActive && k !== !0) {
27734
27734
  x.prevResolvedValues && (f = {
27735
27735
  ...f,
@@ -27738,7 +27738,7 @@ function eee(e) {
27738
27738
  continue;
27739
27739
  }
27740
27740
  const D = tee(x.prevProp, w);
27741
- let b = D || y === l && x.isActive && !A && S || g > m && S, T = !1;
27741
+ let b = D || y === l && x.isActive && !S && A || g > m && A, T = !1;
27742
27742
  const R = Array.isArray(w) ? w : [w];
27743
27743
  let I = R.reduce(i(y), {});
27744
27744
  k === !1 && (I = {});
@@ -27760,7 +27760,7 @@ function eee(e) {
27760
27760
  ...f,
27761
27761
  ...I
27762
27762
  }), n && e.blockInitialAnimation && (b = !1);
27763
- const N = A && D;
27763
+ const N = S && D;
27764
27764
  b && (!N || T) && d.push(...R.map((C) => {
27765
27765
  const E = { type: y };
27766
27766
  if (typeof C == "string" && n && !N && e.manuallyAnimateOnMount && e.parent) {
@@ -27946,7 +27946,7 @@ function V_(e, t, r) {
27946
27946
  return (n) => n < e ? 0 : n > t ? 1 : r(ua(e, t, n));
27947
27947
  }
27948
27948
  function H_(e, t, r) {
27949
- const n = pt(e) ? e : ri(e);
27949
+ const n = gt(e) ? e : ri(e);
27950
27950
  return n.start(Rg("", n, t, r)), n.animation;
27951
27951
  }
27952
27952
  function qs(e, t, r, n = { passive: !0 }) {
@@ -27974,7 +27974,7 @@ function bee(e, t) {
27974
27974
  return Ne.setup(n, !0), () => Pn(n);
27975
27975
  }
27976
27976
  function kc(e) {
27977
- return pt(e) ? e.get() : e;
27977
+ return gt(e) ? e.get() : e;
27978
27978
  }
27979
27979
  var xee = class {
27980
27980
  constructor() {
@@ -28470,7 +28470,7 @@ function $_({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
28470
28470
  const { correct: p, applyTo: g, isCSSVariable: y } = sm[m], x = d === "none" ? u[m] : p(u[m], c);
28471
28471
  if (g) {
28472
28472
  const w = g.length;
28473
- for (let S = 0; S < w; S++) a[g[S]] = x;
28473
+ for (let A = 0; A < w; A++) a[g[A]] = x;
28474
28474
  } else y ? this.options.visualElement.renderState.vars[m] = x : a[m] = x;
28475
28475
  }
28476
28476
  this.options.layoutId && (a.pointerEvents = c === this ? kc(s?.pointerEvents) || "" : "none");
@@ -28792,7 +28792,7 @@ var zg = () => ({
28792
28792
  vars: {}
28793
28793
  });
28794
28794
  function K_(e, t, r) {
28795
- for (const n in t) !pt(t[n]) && !k_(n, r) && (e[n] = t[n]);
28795
+ for (const n in t) !gt(t[n]) && !k_(n, r) && (e[n] = t[n]);
28796
28796
  }
28797
28797
  function qee({ transformTemplate: e }, t) {
28798
28798
  return G(() => {
@@ -28864,7 +28864,7 @@ function tte(e, t, r, { latestValues: n }, i, o = !1, a) {
28864
28864
  ...l,
28865
28865
  ...s,
28866
28866
  ref: r
28867
- } : {}, { children: u } = t, d = G(() => pt(u) ? u.get() : u, [u]);
28867
+ } : {}, { children: u } = t, d = G(() => gt(u) ? u.get() : u, [u]);
28868
28868
  return zR(e, {
28869
28869
  ...c,
28870
28870
  children: d
@@ -28894,8 +28894,8 @@ function nte(e, t, r, n) {
28894
28894
  for (const x in y) {
28895
28895
  let w = y[x];
28896
28896
  if (Array.isArray(w)) {
28897
- const S = u ? w.length - 1 : 0;
28898
- w = w[S];
28897
+ const A = u ? w.length - 1 : 0;
28898
+ w = w[A];
28899
28899
  }
28900
28900
  w !== null && (i[x] = w);
28901
28901
  }
@@ -29839,8 +29839,8 @@ function are(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29839
29839
  let [p, g, y = {}] = m;
29840
29840
  y.at !== void 0 && (d = zw(d, y.at, u, c));
29841
29841
  let x = 0;
29842
- const w = (S, k, A, D = 0, b = 0) => {
29843
- const T = sre(S), { delay: R = 0, times: I = zP(T), type: F = t.type || "keyframes", repeat: M, repeatType: L, repeatDelay: N = 0, ...C } = k;
29842
+ const w = (A, k, S, D = 0, b = 0) => {
29843
+ const T = sre(A), { delay: R = 0, times: I = zP(T), type: F = t.type || "keyframes", repeat: M, repeatType: L, repeatDelay: N = 0, ...C } = k;
29844
29844
  let { ease: E = t.ease || "easeOut", duration: P } = k;
29845
29845
  const _ = typeof R == "function" ? R(D, b) : R, U = T.length, X = Cg(F) ? F : i?.[F || "keyframes"];
29846
29846
  if (U <= 2 && X) {
@@ -29874,17 +29874,17 @@ function are(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29874
29874
  rre(I, M);
29875
29875
  }
29876
29876
  const oe = ee + P;
29877
- tre(A, T, E, I, ee, oe), x = Math.max(_ + P, x), h = Math.max(oe, h);
29877
+ tre(S, T, E, I, ee, oe), x = Math.max(_ + P, x), h = Math.max(oe, h);
29878
29878
  };
29879
- if (pt(p)) {
29880
- const S = Yw(p, s);
29881
- w(g, y, Kw("default", S));
29879
+ if (gt(p)) {
29880
+ const A = Yw(p, s);
29881
+ w(g, y, Kw("default", A));
29882
29882
  } else {
29883
- const S = iC(p, g, n, l), k = S.length;
29884
- for (let A = 0; A < k; A++) {
29883
+ const A = iC(p, g, n, l), k = A.length;
29884
+ for (let S = 0; S < k; S++) {
29885
29885
  g = g, y = y;
29886
- const D = S[A], b = Yw(D, s);
29887
- for (const T in g) w(g[T], lre(y, T), Kw(T, b), A, k);
29886
+ const D = A[S], b = Yw(D, s);
29887
+ for (const T in g) w(g[T], lre(y, T), Kw(T, b), S, k);
29888
29888
  }
29889
29889
  }
29890
29890
  u = d, d += x;
@@ -29902,11 +29902,11 @@ function are(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29902
29902
  keyframes: {},
29903
29903
  transition: {}
29904
29904
  });
29905
- const S = a.get(m);
29906
- S.keyframes[p] = y;
29907
- const { type: k, ...A } = t;
29908
- S.transition[p] = {
29909
- ...A,
29905
+ const A = a.get(m);
29906
+ A.keyframes[p] = y;
29907
+ const { type: k, ...S } = t;
29908
+ A.transition[p] = {
29909
+ ...S,
29910
29910
  duration: h,
29911
29911
  ease: w,
29912
29912
  times: x,
@@ -29960,7 +29960,7 @@ function hre(e) {
29960
29960
  t.mount(e), Ks.set(e, t);
29961
29961
  }
29962
29962
  function fre(e, t) {
29963
- return pt(e) || typeof e == "number" || typeof e == "string" && !Kg(t);
29963
+ return gt(e) || typeof e == "number" || typeof e == "string" && !Kg(t);
29964
29964
  }
29965
29965
  function oC(e, t, r, n) {
29966
29966
  const i = [];
@@ -30125,23 +30125,23 @@ var Xw = 10 ** 2, It = (e) => Math.round(e * Xw) / Xw, bre = (e, t, r) => {
30125
30125
  const u = Math.max(0, Math.min(t, a / 2)), d = Math.max(0, Math.min(t, s / 2)), h = o + d, f = o + s - d, m = i + a, p = n ? 0 : 1, g = (b, T) => {
30126
30126
  const [R, I] = n ? [T, b] : [b, T];
30127
30127
  return `${It(R)},${It(I)}`;
30128
- }, [y, x] = (n ? [d, u] : [u, d]).map(It), w = (b, T) => `A${y},${x} 0 0 ${p} ${g(b, T)}`, S = (b) => {
30128
+ }, [y, x] = (n ? [d, u] : [u, d]).map(It), w = (b, T) => `A${y},${x} 0 0 ${p} ${g(b, T)}`, A = (b) => {
30129
30129
  if (u <= 0 || d <= 0) return 0;
30130
30130
  const T = b < h ? h - b : b > f ? b - f : 0, R = Math.min(1, T / d);
30131
30131
  return u * (1 - Math.sqrt(1 - R * R));
30132
- }, k = (b, T) => u > 0 && d > 0 && (Math.max(b, T) <= h || Math.min(b, T) >= f), A = [
30132
+ }, k = (b, T) => u > 0 && d > 0 && (Math.max(b, T) <= h || Math.min(b, T) >= f), S = [
30133
30133
  l,
30134
30134
  ...new Set([h, f].filter((b) => b > l && b < c)),
30135
30135
  c
30136
- ], D = [`M${g(i + S(l), l)}`, `L${g(m - S(l), l)}`];
30137
- for (let b = 1; b < A.length; b++) {
30138
- const T = A[b - 1] ?? l, R = A[b] ?? c;
30139
- D.push(k(T, R) ? w(m - S(R), R) : `L${g(m, R)}`);
30136
+ ], D = [`M${g(i + A(l), l)}`, `L${g(m - A(l), l)}`];
30137
+ for (let b = 1; b < S.length; b++) {
30138
+ const T = S[b - 1] ?? l, R = S[b] ?? c;
30139
+ D.push(k(T, R) ? w(m - A(R), R) : `L${g(m, R)}`);
30140
30140
  }
30141
- D.push(`L${g(i + S(c), c)}`);
30142
- for (let b = A.length - 1; b > 0; b--) {
30143
- const T = A[b] ?? c, R = A[b - 1] ?? l;
30144
- D.push(k(T, R) ? w(i + S(R), R) : `L${g(i, R)}`);
30141
+ D.push(`L${g(i + A(c), c)}`);
30142
+ for (let b = S.length - 1; b > 0; b--) {
30143
+ const T = S[b] ?? c, R = S[b - 1] ?? l;
30144
+ D.push(k(T, R) ? w(i + A(R), R) : `L${g(i, R)}`);
30145
30145
  }
30146
30146
  return `${D.join("")}Z`;
30147
30147
  }, aC = (e, t, r) => {
@@ -30706,7 +30706,7 @@ var hu = (e, t, r) => {
30706
30706
  if (!m || !p) return;
30707
30707
  const g = f[0];
30708
30708
  if (!g) return;
30709
- const y = He(l.get("fill", g)), x = l.get("stroke", g) ?? y, { strokeWidth: w, strokeDasharray: S, strokeLinecap: k } = ui(l.get("dashArray", g), l.get("strokeWidth", g), l.get("lineCap", g)), A = l.get("lineJoin", g);
30709
+ const y = He(l.get("fill", g)), x = l.get("stroke", g) ?? y, { strokeWidth: w, strokeDasharray: A, strokeLinecap: k } = ui(l.get("dashArray", g), l.get("strokeWidth", g), l.get("lineCap", g)), S = l.get("lineJoin", g);
30710
30710
  d.push({
30711
30711
  key: u(g),
30712
30712
  areaPath: m,
@@ -30716,9 +30716,9 @@ var hu = (e, t, r) => {
30716
30716
  fillOpacity: l.get("fillAlpha", g) * l.get("alpha", g),
30717
30717
  strokeWidth: w,
30718
30718
  strokeOpacity: l.get("strokeAlpha", g) * l.get("alpha", g),
30719
- strokeDasharray: S,
30719
+ strokeDasharray: A,
30720
30720
  lineCap: k,
30721
- lineJoin: A
30721
+ lineJoin: S
30722
30722
  });
30723
30723
  }), d;
30724
30724
  }, [
@@ -31604,11 +31604,11 @@ var Oh = 3, Pne = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31604
31604
  origin: ev(e, t)
31605
31605
  }), h = TC(l, t.mainAxis, i, r.observation);
31606
31606
  if (h === null) return null;
31607
- const { column: f, bounds: m } = h, p = ni(m, n), g = ni(f.bounds, n), { stroke: y, strokeWidth: x, cornerRadius: w, strokeAlpha: S } = f.style, k = sl({
31607
+ const { column: f, bounds: m } = h, p = ni(m, n), g = ni(f.bounds, n), { stroke: y, strokeWidth: x, cornerRadius: w, strokeAlpha: A } = f.style, k = sl({
31608
31608
  cornerRadius: w,
31609
31609
  mainAxis: t.mainAxis,
31610
31610
  bounds: g
31611
- }), A = Hn(p, 0), D = Hn(g, k), b = Hn(iA(p, Oh), 0), T = Hn(iA(g, Oh), k > 0 ? k + Oh : 0), R = u(c), I = i.get("alpha", r.observation, "hovered") * i.get("fillAlpha", r.observation, "hovered"), F = i.get("stroke", r.observation, "hovered"), M = ll(x);
31611
+ }), S = Hn(p, 0), D = Hn(g, k), b = Hn(iA(p, Oh), 0), T = Hn(iA(g, Oh), k > 0 ? k + Oh : 0), R = u(c), I = i.get("alpha", r.observation, "hovered") * i.get("fillAlpha", r.observation, "hovered"), F = i.get("stroke", r.observation, "hovered"), M = ll(x);
31612
31612
  return /* @__PURE__ */ W("g", {
31613
31613
  "data-testid": "hovered-bar",
31614
31614
  style: rt(wt(i, r.observation, "hovered")),
@@ -31620,7 +31620,7 @@ var Oh = 3, Pne = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31620
31620
  }),
31621
31621
  /* @__PURE__ */ v("clipPath", {
31622
31622
  id: a,
31623
- children: /* @__PURE__ */ v("path", { d: A })
31623
+ children: /* @__PURE__ */ v("path", { d: S })
31624
31624
  }),
31625
31625
  /* @__PURE__ */ v("clipPath", {
31626
31626
  id: s,
@@ -31639,12 +31639,12 @@ var Oh = 3, Pne = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31639
31639
  children: /* @__PURE__ */ W("g", {
31640
31640
  clipPath: `url(#${s})`,
31641
31641
  children: [/* @__PURE__ */ v("path", {
31642
- d: A,
31642
+ d: S,
31643
31643
  fill: R,
31644
31644
  opacity: I,
31645
31645
  "data-testid": "hovered-bar-fill"
31646
31646
  }), y !== void 0 && /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ v("path", {
31647
- d: A,
31647
+ d: S,
31648
31648
  fill: "none",
31649
31649
  stroke: y,
31650
31650
  strokeWidth: M.separatorWidth,
@@ -31655,7 +31655,7 @@ var Oh = 3, Pne = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31655
31655
  fill: "none",
31656
31656
  stroke: y,
31657
31657
  strokeWidth: M.outlineWidth,
31658
- opacity: S
31658
+ opacity: A
31659
31659
  })] })]
31660
31660
  })
31661
31661
  })
@@ -31729,7 +31729,7 @@ var Oh = 3, Pne = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31729
31729
  if (!f) return;
31730
31730
  const m = h[0];
31731
31731
  if (!m) return;
31732
- const p = s.get("fillAlpha", m), g = p === void 0 ? void 0 : a(h) ?? void 0, y = s.get("stroke", m), x = s.get("fill", m), w = x === void 0 ? y : He(x), { strokeWidth: S, strokeDasharray: k, strokeLinecap: A } = ui(s.get("dashArray", m), s.get("strokeWidth", m), s.get("lineCap", m)), D = s.get("lineJoin", m);
31732
+ const p = s.get("fillAlpha", m), g = p === void 0 ? void 0 : a(h) ?? void 0, y = s.get("stroke", m), x = s.get("fill", m), w = x === void 0 ? y : He(x), { strokeWidth: A, strokeDasharray: k, strokeLinecap: S } = ui(s.get("dashArray", m), s.get("strokeWidth", m), s.get("lineCap", m)), D = s.get("lineJoin", m);
31733
31733
  u.push({
31734
31734
  key: c(m),
31735
31735
  pathData: f,
@@ -31739,9 +31739,9 @@ var Oh = 3, Pne = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31739
31739
  fill: w,
31740
31740
  opacity: s.get("alpha", m),
31741
31741
  strokeAlpha: s.get("strokeAlpha", m),
31742
- strokeWidth: S,
31742
+ strokeWidth: A,
31743
31743
  strokeDasharray: k,
31744
- lineCap: A,
31744
+ lineCap: S,
31745
31745
  lineJoin: D
31746
31746
  });
31747
31747
  }), u;
@@ -32269,7 +32269,7 @@ var ja = "var(--graphy-editor-font-family, var(--graphy-font-family))", B = {
32269
32269
  fontEditorControlValue: Ie(B.fontWeightMedium, B.fontSizeSm, B.fontLineHeightSm, ja),
32270
32270
  fontEditorSectionTitle: Ie(B.fontWeightSemibold, B.fontSizeSm, B.fontLineHeightSm, ja),
32271
32271
  fontEditorCaption: Ie(B.fontWeightMedium, B.fontSizeXxs, B.fontLineHeightXxs, ja)
32272
- }, Une = (e, t) => ({ familyDefault: Nh(t) ?? Nh(e.fontFamily) ?? Nh(Ad) ?? "" }), Nh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, jne = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, qye = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, zne = (e) => `${e}px`, LC = { editorControlHeight: zne(32) }, ac = {
32272
+ }, Une = (e, t) => ({ familyDefault: Nh(t) ?? Nh(e.fontFamily) ?? Nh(Ad) ?? "" }), Nh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, jne = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, Qye = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, zne = (e) => `${e}px`, LC = { editorControlHeight: zne(32) }, ac = {
32273
32273
  editOutline: 1,
32274
32274
  textToolbar: 10,
32275
32275
  textToolbarTooltip: 20,
@@ -32476,7 +32476,7 @@ var ja = "var(--graphy-editor-font-family, var(--graphy-font-family))", B = {
32476
32476
  value: e,
32477
32477
  children: t
32478
32478
  }), uo = () => se(VC), Sd = (e, t, r) => {
32479
- const { colorScheme: n } = yt(), i = me((o) => e === void 0 ? void 0 : Cs(o.layers, e));
32479
+ const { colorScheme: n } = ft(), i = me((o) => e === void 0 ? void 0 : Cs(o.layers, e));
32480
32480
  return G(() => i === void 0 ? r : yk(i, t, n) ?? r, [
32481
32481
  n,
32482
32482
  r,
@@ -32935,7 +32935,7 @@ var Yie = rL((() => {
32935
32935
  children: h
32936
32936
  });
32937
32937
  }, Jie = ({ label: e, textStyle: t, textWidth: r, labelPosition: n, horizontal: i, position: o, color: a, textColor: s, symbolShape: l, symbolColor: c, symbolPaint: u, symbolAlpha: d, symbolCornerRadius: h, symbolGlyph: f, symbolMainAxis: m, panelWidth: p, animateTransitions: g }) => {
32938
- const y = l === null ? 0 : 14, x = r + y + 10, w = Math.max(pie, Zn(t)) + 10, S = /* @__PURE__ */ W(fe, { children: [l !== null && c !== null && /* @__PURE__ */ v("g", {
32938
+ const y = l === null ? 0 : 14, x = r + y + 10, w = Math.max(pie, Zn(t)) + 10, A = /* @__PURE__ */ W(fe, { children: [l !== null && c !== null && /* @__PURE__ */ v("g", {
32939
32939
  transform: `translate(0, ${-10 / 2})`,
32940
32940
  children: /* @__PURE__ */ v(Ml, {
32941
32941
  shape: l,
@@ -32967,7 +32967,7 @@ var Yie = rL((() => {
32967
32967
  color: a,
32968
32968
  pillWidth: x,
32969
32969
  pillHeight: w,
32970
- text: S,
32970
+ text: A,
32971
32971
  animateTransitions: g
32972
32972
  }) : /* @__PURE__ */ v(Qie, {
32973
32973
  labelPosition: n,
@@ -32976,7 +32976,7 @@ var Yie = rL((() => {
32976
32976
  pillWidth: x,
32977
32977
  pillHeight: w,
32978
32978
  panelWidth: p,
32979
- text: S,
32979
+ text: A,
32980
32980
  animateTransitions: g
32981
32981
  });
32982
32982
  }, Zie = ({ strokeWidth: e, dashArray: t, lineCap: r, lineJoin: n, horizontal: i, position: o, lineColor: a, effects: s, animateTransitions: l }) => {
@@ -33023,15 +33023,15 @@ var Yie = rL((() => {
33023
33023
  c,
33024
33024
  n,
33025
33025
  t
33026
- ]), { fonts: y } = uo(), x = ke(), w = ue(a7, x.geom.rule.label(t), x.graph()), S = G(() => Wt(w, y.familyDefault), [w, y.familyDefault]), k = G(() => g === null ? null : Dp(g, Mie(o, f !== null), (M) => a.measureText(M, S).width), [
33026
+ ]), { fonts: y } = uo(), x = ke(), w = ue(a7, x.geom.rule.label(t), x.graph()), A = G(() => Wt(w, y.familyDefault), [w, y.familyDefault]), k = G(() => g === null ? null : Dp(g, Mie(o, f !== null), (M) => a.measureText(M, A).width), [
33027
33027
  g,
33028
33028
  o,
33029
33029
  f,
33030
- S,
33030
+ A,
33031
33031
  a
33032
- ]), A = G(() => k === null ? 0 : a.measureText(k, S).width, [
33032
+ ]), S = G(() => k === null ? 0 : a.measureText(k, A).width, [
33033
33033
  k,
33034
- S,
33034
+ A,
33035
33035
  a
33036
33036
  ]), D = Be(t), b = t.data.getFirst();
33037
33037
  if (!b) return null;
@@ -33052,7 +33052,7 @@ var Yie = rL((() => {
33052
33052
  }), k !== null && k !== "" && /* @__PURE__ */ v(Jie, {
33053
33053
  label: k,
33054
33054
  textStyle: w,
33055
- textWidth: A,
33055
+ textWidth: S,
33056
33056
  labelPosition: t.params.labelPosition,
33057
33057
  horizontal: I,
33058
33058
  position: F,
@@ -33513,7 +33513,7 @@ var Yie = rL((() => {
33513
33513
  effects: rt(wt(c, t.data.getFirst() ?? void 0)),
33514
33514
  className: Or,
33515
33515
  children: [f, m.map((p, g) => {
33516
- const { stroke: y, strokeWidth: x, strokeAlpha: w } = p.style, S = y !== void 0, k = ll(x), A = y === void 0 ? {} : mu(y, k.separatorWidth), D = y === void 0 ? void 0 : mu(y, k.outlineWidth), b = p.members.map((F) => {
33516
+ const { stroke: y, strokeWidth: x, strokeAlpha: w } = p.style, A = y !== void 0, k = ll(x), S = y === void 0 ? {} : mu(y, k.separatorWidth), D = y === void 0 ? void 0 : mu(y, k.outlineWidth), b = p.members.map((F) => {
33517
33517
  const { key: M, ...L } = F;
33518
33518
  return s.animated ? /* @__PURE__ */ v(yoe, {
33519
33519
  ...L,
@@ -33523,16 +33523,16 @@ var Yie = rL((() => {
33523
33523
  pathProps: {
33524
33524
  fill: L.fill,
33525
33525
  opacity: L.opacity,
33526
- ...A
33526
+ ...S
33527
33527
  }
33528
33528
  }, M) : /* @__PURE__ */ v("path", {
33529
33529
  d: ji(L) ?? void 0,
33530
33530
  fill: L.fill,
33531
33531
  opacity: L.opacity,
33532
- ...A
33532
+ ...S
33533
33533
  }, M);
33534
33534
  }), T = sv(p);
33535
- if (!S && T <= 0) return /* @__PURE__ */ v(Ki, { children: b }, p.key);
33535
+ if (!A && T <= 0) return /* @__PURE__ */ v(Ki, { children: b }, p.key);
33536
33536
  const R = `${a}${g}`;
33537
33537
  if (s.animated) return /* @__PURE__ */ v("g", {
33538
33538
  clipPath: `url(#${R})`,
@@ -33577,9 +33577,9 @@ var Yie = rL((() => {
33577
33577
  innerRadius: f,
33578
33578
  outerRadius: m,
33579
33579
  cornerRadius: i
33580
- }) ?? ""), S = hm(o, s, l);
33580
+ }) ?? ""), A = hm(o, s, l);
33581
33581
  ge(() => {
33582
- const A = S(), D = [xn(p, e, A), xn(g, t, A)];
33582
+ const S = A(), D = [xn(p, e, S), xn(g, t, S)];
33583
33583
  return () => {
33584
33584
  for (const b of D) b.stop();
33585
33585
  };
@@ -33588,11 +33588,11 @@ var Yie = rL((() => {
33588
33588
  g,
33589
33589
  e,
33590
33590
  t,
33591
- S
33591
+ A
33592
33592
  ]);
33593
33593
  const k = hm(o, s, c);
33594
33594
  return ge(() => {
33595
- const A = k(), D = [xn(y, r, A), xn(x, n, A)];
33595
+ const S = k(), D = [xn(y, r, S), xn(x, n, S)];
33596
33596
  return () => {
33597
33597
  for (const b of D) b.stop();
33598
33598
  };
@@ -33603,7 +33603,7 @@ var Yie = rL((() => {
33603
33603
  n,
33604
33604
  k
33605
33605
  ]), ge(() => {
33606
- const A = () => {
33606
+ const S = () => {
33607
33607
  w.set(ji({
33608
33608
  startAngle: p.get(),
33609
33609
  endAngle: g.get(),
@@ -33612,13 +33612,13 @@ var Yie = rL((() => {
33612
33612
  cornerRadius: i
33613
33613
  }) ?? "");
33614
33614
  };
33615
- A();
33615
+ S();
33616
33616
  const D = [
33617
33617
  p,
33618
33618
  g,
33619
33619
  y,
33620
33620
  x
33621
- ].map((b) => b.on("change", A));
33621
+ ].map((b) => b.on("change", S));
33622
33622
  return () => {
33623
33623
  for (const b of D) b();
33624
33624
  };
@@ -34029,7 +34029,7 @@ function kd(e) {
34029
34029
  function _a(e) {
34030
34030
  return e ? kd(e.render).live : !1;
34031
34031
  }
34032
- function Qye(e, t) {
34032
+ function Jye(e, t) {
34033
34033
  return typeof e == "string" ? {
34034
34034
  ...t,
34035
34035
  geom: e
@@ -34039,7 +34039,7 @@ function Qye(e, t) {
34039
34039
  geom: e.type
34040
34040
  };
34041
34041
  }
34042
- var Jye = (e, t, r) => lv()(e, t)?.getEditOutlineShapes?.(r) ?? [];
34042
+ var Zye = (e, t, r) => lv()(e, t)?.getEditOutlineShapes?.(r) ?? [];
34043
34043
  function lv(e = []) {
34044
34044
  const t = {};
34045
34045
  for (const [r, n] of Object.entries(aI)) t[r] = { ...n };
@@ -34318,7 +34318,7 @@ var eae = (e) => xa((t) => ({
34318
34318
  errors: [...U.errors, ..._.errors],
34319
34319
  warnings: [...U.warnings, ..._.warnings]
34320
34320
  };
34321
- }), g = de(null), [y] = Me(rae), x = de(null), w = Re((_) => p.errors.length === 0 ? _ : [...p.errors, ..._ ?? []], [p]), S = Re((_) => {
34321
+ }), g = de(null), [y] = Me(rae), x = de(null), w = Re((_) => p.errors.length === 0 ? _ : [...p.errors, ..._ ?? []], [p]), A = Re((_) => {
34322
34322
  if (!_.ok) return _.errors;
34323
34323
  if (x.current) x.current.getState().setScene(_.scene);
34324
34324
  else {
@@ -34326,13 +34326,13 @@ var eae = (e) => xa((t) => ({
34326
34326
  U.subscribe(y.notify), x.current = U, y.notify();
34327
34327
  }
34328
34328
  return null;
34329
- }, [y]), [k, A] = Me(() => {
34329
+ }, [y]), [k, S] = Me(() => {
34330
34330
  const _ = f.compile({
34331
34331
  spec: e,
34332
34332
  data: t,
34333
34333
  colorScheme: r
34334
34334
  });
34335
- return g.current = _, w(S(_));
34335
+ return g.current = _, w(A(_));
34336
34336
  }), D = Re((_) => _.ok ? [
34337
34337
  ..._.warnings,
34338
34338
  ...joe(_.scene, o),
@@ -34364,15 +34364,15 @@ var eae = (e) => xa((t) => ({
34364
34364
  });
34365
34365
  if (!_) return;
34366
34366
  _.committedSpec && u.current?.(_.committedSpec);
34367
- const U = S(_.result);
34368
- A(w(U)), U && b(U), T(D(_.result)), U || m.emit({ kind: _.hasSpecChange ? "spec" : "data" });
34367
+ const U = A(_.result);
34368
+ S(w(U)), U && b(U), T(D(_.result)), U || m.emit({ kind: _.hasSpecChange ? "spec" : "data" });
34369
34369
  }, [
34370
34370
  e,
34371
34371
  t,
34372
34372
  r,
34373
34373
  f,
34374
34374
  m,
34375
- S,
34375
+ A,
34376
34376
  b,
34377
34377
  T,
34378
34378
  w,
@@ -34380,7 +34380,7 @@ var eae = (e) => xa((t) => ({
34380
34380
  u
34381
34381
  ]);
34382
34382
  const R = Re((_) => {
34383
- A((U) => U === null ? U : w(null)), T(D(_));
34383
+ S((U) => U === null ? U : w(null)), T(D(_));
34384
34384
  }, [
34385
34385
  w,
34386
34386
  T,
@@ -34430,7 +34430,7 @@ var eae = (e) => xa((t) => ({
34430
34430
  notify: () => e.forEach((t) => t())
34431
34431
  };
34432
34432
  }, cI = ({ data: e, spec: t, plugins: r = [], theme: n, formattingLocale: i, handleRef: o, onSpecChange: a, onError: s, onWarnings: l, colorScheme: c = "light", children: u }) => {
34433
- const [d] = Me(() => n), h = d?.colorScheme ?? c, [f] = Me(() => lv([...d?.plugins ?? [], ...r].filter(sI))), m = ut(), [p] = Me(() => N7(r)), [g] = Me(() => zp(r)), [y] = Me(() => Doe()), [x] = Me(() => Boe()), w = G(() => eP({ colorScheme: h }), [h]), { store: S, dispatch: k, commit: A, history: D, subscribe: b, getScene: T, compileBus: R, compileErrors: I } = tae({
34433
+ const [d] = Me(() => n), h = d?.colorScheme ?? c, [f] = Me(() => lv([...d?.plugins ?? [], ...r].filter(sI))), m = ut(), [p] = Me(() => N7(r)), [g] = Me(() => zp(r)), [y] = Me(() => Doe()), [x] = Me(() => Boe()), w = G(() => eP({ colorScheme: h }), [h]), { store: A, dispatch: k, commit: S, history: D, subscribe: b, getScene: T, compileBus: R, compileErrors: I } = tae({
34434
34434
  spec: t,
34435
34435
  data: e,
34436
34436
  colorScheme: h,
@@ -34443,17 +34443,17 @@ var eae = (e) => xa((t) => ({
34443
34443
  onWarnings: l
34444
34444
  });
34445
34445
  ge(() => {
34446
- if (S)
34447
- return S.subscribe((L, N) => {
34446
+ if (A)
34447
+ return A.subscribe((L, N) => {
34448
34448
  if (L.scene.spec === N.scene.spec) return;
34449
34449
  const { selection: C, setSelection: E } = y.getState();
34450
34450
  C.length !== 0 && E(Roe(C, L.scene.spec));
34451
34451
  });
34452
- }, [S, y]);
34452
+ }, [A, y]);
34453
34453
  const F = G(() => ({
34454
34454
  dispatch: k,
34455
- commit: A
34456
- }), [k, A]);
34455
+ commit: S
34456
+ }), [k, S]);
34457
34457
  XR(o, () => ({
34458
34458
  commands: F,
34459
34459
  undo: D.undo,
@@ -34473,9 +34473,9 @@ var eae = (e) => xa((t) => ({
34473
34473
  y,
34474
34474
  g
34475
34475
  ]);
34476
- const M = G(() => S ? {
34476
+ const M = G(() => A ? {
34477
34477
  chartId: m,
34478
- store: S,
34478
+ store: A,
34479
34479
  selectionStore: y,
34480
34480
  targetBoundaryStore: x,
34481
34481
  commands: F,
@@ -34487,7 +34487,7 @@ var eae = (e) => xa((t) => ({
34487
34487
  anchorResolver: p
34488
34488
  } : null, [
34489
34489
  m,
34490
- S,
34490
+ A,
34491
34491
  y,
34492
34492
  x,
34493
34493
  F,
@@ -34599,7 +34599,7 @@ var cae = ({ hitTest: e, input: t }) => {
34599
34599
  y: "-25%",
34600
34600
  width: "150%",
34601
34601
  height: "150%"
34602
- }, Zye = (e) => /* @__PURE__ */ v(dI, {
34602
+ }, e0e = (e) => /* @__PURE__ */ v(dI, {
34603
34603
  ...e,
34604
34604
  empty: !1
34605
34605
  }), dI = ({ styleReaders: e, state: t, empty: r, children: n }) => {
@@ -34639,7 +34639,7 @@ var cae = ({ hitTest: e, input: t }) => {
34639
34639
  if (!e.endsWith("%")) return null;
34640
34640
  const r = Number.parseFloat(e);
34641
34641
  return Number.isFinite(r) ? r / 100 * t : null;
34642
- }, e0e = ({ x: e, y: t, width: r, height: n }, i) => {
34642
+ }, t0e = ({ x: e, y: t, width: r, height: n }, i) => {
34643
34643
  const o = ts(e, i.width), a = ts(t, i.height), s = ts(r, i.width), l = ts(n, i.height);
34644
34644
  return o === null || a === null || s === null || l === null ? null : {
34645
34645
  x: o,
@@ -34726,19 +34726,19 @@ var cae = ({ hitTest: e, input: t }) => {
34726
34726
  style: o,
34727
34727
  ...i
34728
34728
  });
34729
- }, t0e = (e) => {
34729
+ }, r0e = (e) => {
34730
34730
  const { Circle: t } = bd();
34731
34731
  return t === void 0 ? hae(e) : /* @__PURE__ */ v(Al, { children: /* @__PURE__ */ v(t, { ...e }) });
34732
- }, r0e = (e) => {
34732
+ }, n0e = (e) => {
34733
34733
  const { Line: t } = bd();
34734
34734
  return t === void 0 ? fae(e) : /* @__PURE__ */ v(Al, { children: /* @__PURE__ */ v(t, { ...e }) });
34735
- }, n0e = ({ cornerRadius: e, ...t }) => {
34735
+ }, i0e = ({ cornerRadius: e, ...t }) => {
34736
34736
  const { Rect: r } = bd(), n = Qg(), i = jre(), o = {
34737
34737
  ...t,
34738
34738
  ...vae(e, t, n, i)
34739
34739
  };
34740
34740
  return r === void 0 ? mae(o) : /* @__PURE__ */ v(Al, { children: /* @__PURE__ */ v(r, { ...o }) });
34741
- }, i0e = (e) => {
34741
+ }, o0e = (e) => {
34742
34742
  const { Path: t } = bd();
34743
34743
  return t === void 0 ? pae(e) : /* @__PURE__ */ v(Al, { children: /* @__PURE__ */ v(t, { ...e }) });
34744
34744
  }, gae = ({ d: e, source: t, ...r }) => {
@@ -34794,7 +34794,7 @@ function bae(e) {
34794
34794
  e
34795
34795
  ]);
34796
34796
  }
34797
- var o0e = ({ children: e, ...t }) => {
34797
+ var a0e = ({ children: e, ...t }) => {
34798
34798
  const r = Qg();
34799
34799
  return /* @__PURE__ */ v("svg", {
34800
34800
  viewBox: "0 0 1 1",
@@ -34809,7 +34809,7 @@ var o0e = ({ children: e, ...t }) => {
34809
34809
  children: e
34810
34810
  })
34811
34811
  });
34812
- }, a0e = ({ box: e, children: t }) => {
34812
+ }, s0e = ({ box: e, children: t }) => {
34813
34813
  const r = vC(), n = r === null ? null : r.width * (e.x1 - e.x0), i = r === null ? null : r.height * (e.y1 - e.y0), o = G(() => n === null || i === null ? null : {
34814
34814
  width: n,
34815
34815
  height: i
@@ -34877,7 +34877,7 @@ var o0e = ({ children: e, ...t }) => {
34877
34877
  setElement: l
34878
34878
  };
34879
34879
  };
34880
- function s0e() {
34880
+ function l0e() {
34881
34881
  const [e, t] = Me(null), r = de(null), n = de(null), i = de(null), o = Re(() => {
34882
34882
  i.current = null;
34883
34883
  const c = n.current;
@@ -34931,8 +34931,8 @@ var Oae = "dev-tools-panel_theadRow__58flceh", Nae = "dev-tools-panel_historyHea
34931
34931
  ran: "dev-tools-panel_dot_ran__58flceq dev-tools-panel_dotBase__58flcep",
34932
34932
  cached: "dev-tools-panel_dot_cached__58flcer dev-tools-panel_dotBase__58flcep",
34933
34933
  untouched: "dev-tools-panel_dot_untouched__58flces dev-tools-panel_dotBase__58flcep"
34934
- }, l0e = ({ width: e = 440, style: t, className: r } = {}) => {
34935
- const { compileBus: n } = yt(), [i] = Me(() => Goe()), [o, a] = Me(!1), [s, l] = Me(wV);
34934
+ }, c0e = ({ width: e = 440, style: t, className: r } = {}) => {
34935
+ const { compileBus: n } = ft(), [i] = Me(() => Goe()), [o, a] = Me(!1), [s, l] = Me(wV);
34936
34936
  ge(() => {
34937
34937
  const { recordCompile: m } = i.getState(), p = n.getLastTrigger(), g = n.getLastCompile();
34938
34938
  return p && g && m(p, g), n.subscribe(m);
@@ -35148,7 +35148,7 @@ var Oae = "dev-tools-panel_theadRow__58flceh", Nae = "dev-tools-panel_historyHea
35148
35148
  }
35149
35149
  },
35150
35150
  editorSurface: !0,
35151
- inlineTextEditing: !1
35151
+ inlineTextEditing: !0
35152
35152
  }
35153
35153
  }, Gae = new Set(Object.values(Sn)), $ae = (e) => Gae.has(e), uv = (e) => $ae(e) ? e : Sn.readonly, pu = {
35154
35154
  enabled: !0,
@@ -38011,27 +38011,27 @@ function lle(e, t) {
38011
38011
  }
38012
38012
  var cle = /* @__PURE__ */ sn(((e) => {
38013
38013
  var t = typeof Symbol == "function" && Symbol.for, r = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, u = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, f = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, p = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, y = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, w = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
38014
- function S(A) {
38015
- if (typeof A == "object" && A !== null) {
38016
- var D = A.$$typeof;
38014
+ function A(S) {
38015
+ if (typeof S == "object" && S !== null) {
38016
+ var D = S.$$typeof;
38017
38017
  switch (D) {
38018
38018
  case r:
38019
- switch (A = A.type, A) {
38019
+ switch (S = S.type, S) {
38020
38020
  case c:
38021
38021
  case u:
38022
38022
  case i:
38023
38023
  case a:
38024
38024
  case o:
38025
38025
  case h:
38026
- return A;
38026
+ return S;
38027
38027
  default:
38028
- switch (A = A && A.$$typeof, A) {
38028
+ switch (S = S && S.$$typeof, S) {
38029
38029
  case l:
38030
38030
  case d:
38031
38031
  case p:
38032
38032
  case m:
38033
38033
  case s:
38034
- return A;
38034
+ return S;
38035
38035
  default:
38036
38036
  return D;
38037
38037
  }
@@ -38041,36 +38041,36 @@ var cle = /* @__PURE__ */ sn(((e) => {
38041
38041
  }
38042
38042
  }
38043
38043
  }
38044
- function k(A) {
38045
- return S(A) === u;
38046
- }
38047
- e.AsyncMode = c, e.ConcurrentMode = u, e.ContextConsumer = l, e.ContextProvider = s, e.Element = r, e.ForwardRef = d, e.Fragment = i, e.Lazy = p, e.Memo = m, e.Portal = n, e.Profiler = a, e.StrictMode = o, e.Suspense = h, e.isAsyncMode = function(A) {
38048
- return k(A) || S(A) === c;
38049
- }, e.isConcurrentMode = k, e.isContextConsumer = function(A) {
38050
- return S(A) === l;
38051
- }, e.isContextProvider = function(A) {
38052
- return S(A) === s;
38053
- }, e.isElement = function(A) {
38054
- return typeof A == "object" && A !== null && A.$$typeof === r;
38055
- }, e.isForwardRef = function(A) {
38056
- return S(A) === d;
38057
- }, e.isFragment = function(A) {
38058
- return S(A) === i;
38059
- }, e.isLazy = function(A) {
38060
- return S(A) === p;
38061
- }, e.isMemo = function(A) {
38062
- return S(A) === m;
38063
- }, e.isPortal = function(A) {
38064
- return S(A) === n;
38065
- }, e.isProfiler = function(A) {
38066
- return S(A) === a;
38067
- }, e.isStrictMode = function(A) {
38068
- return S(A) === o;
38069
- }, e.isSuspense = function(A) {
38070
- return S(A) === h;
38071
- }, e.isValidElementType = function(A) {
38072
- return typeof A == "string" || typeof A == "function" || A === i || A === u || A === a || A === o || A === h || A === f || typeof A == "object" && A !== null && (A.$$typeof === p || A.$$typeof === m || A.$$typeof === s || A.$$typeof === l || A.$$typeof === d || A.$$typeof === y || A.$$typeof === x || A.$$typeof === w || A.$$typeof === g);
38073
- }, e.typeOf = S;
38044
+ function k(S) {
38045
+ return A(S) === u;
38046
+ }
38047
+ e.AsyncMode = c, e.ConcurrentMode = u, e.ContextConsumer = l, e.ContextProvider = s, e.Element = r, e.ForwardRef = d, e.Fragment = i, e.Lazy = p, e.Memo = m, e.Portal = n, e.Profiler = a, e.StrictMode = o, e.Suspense = h, e.isAsyncMode = function(S) {
38048
+ return k(S) || A(S) === c;
38049
+ }, e.isConcurrentMode = k, e.isContextConsumer = function(S) {
38050
+ return A(S) === l;
38051
+ }, e.isContextProvider = function(S) {
38052
+ return A(S) === s;
38053
+ }, e.isElement = function(S) {
38054
+ return typeof S == "object" && S !== null && S.$$typeof === r;
38055
+ }, e.isForwardRef = function(S) {
38056
+ return A(S) === d;
38057
+ }, e.isFragment = function(S) {
38058
+ return A(S) === i;
38059
+ }, e.isLazy = function(S) {
38060
+ return A(S) === p;
38061
+ }, e.isMemo = function(S) {
38062
+ return A(S) === m;
38063
+ }, e.isPortal = function(S) {
38064
+ return A(S) === n;
38065
+ }, e.isProfiler = function(S) {
38066
+ return A(S) === a;
38067
+ }, e.isStrictMode = function(S) {
38068
+ return A(S) === o;
38069
+ }, e.isSuspense = function(S) {
38070
+ return A(S) === h;
38071
+ }, e.isValidElementType = function(S) {
38072
+ return typeof S == "string" || typeof S == "function" || S === i || S === u || S === a || S === o || S === h || S === f || typeof S == "object" && S !== null && (S.$$typeof === p || S.$$typeof === m || S.$$typeof === s || S.$$typeof === l || S.$$typeof === d || S.$$typeof === y || S.$$typeof === x || S.$$typeof === w || S.$$typeof === g);
38073
+ }, e.typeOf = A;
38074
38074
  })), ule = /* @__PURE__ */ sn(((e, t) => {
38075
38075
  t.exports = cle();
38076
38076
  })), dle = /* @__PURE__ */ sn(((e, t) => {
@@ -38119,11 +38119,11 @@ var cle = /* @__PURE__ */ sn(((e) => {
38119
38119
  var w = f(y);
38120
38120
  w && w !== m && p(g, w, x);
38121
38121
  }
38122
- var S = u(y);
38123
- d && (S = S.concat(d(y)));
38124
- for (var k = l(g), A = l(y), D = 0; D < S.length; ++D) {
38125
- var b = S[D];
38126
- if (!i[b] && !(x && x[b]) && !(A && A[b]) && !(k && k[b])) {
38122
+ var A = u(y);
38123
+ d && (A = A.concat(d(y)));
38124
+ for (var k = l(g), S = l(y), D = 0; D < A.length; ++D) {
38125
+ var b = A[D];
38126
+ if (!i[b] && !(x && x[b]) && !(S && S[b]) && !(k && k[b])) {
38127
38127
  var T = h(y, b);
38128
38128
  try {
38129
38129
  c(g, b, T);
@@ -38135,7 +38135,7 @@ var cle = /* @__PURE__ */ sn(((e) => {
38135
38135
  return g;
38136
38136
  }
38137
38137
  t.exports = p;
38138
- })), BA = /* @__PURE__ */ k1(dle(), 1), c0e = BA.default ?? BA, hle = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: u0e, Provider: fle } = hle, mle = fle;
38138
+ })), BA = /* @__PURE__ */ k1(dle(), 1), u0e = BA.default ?? BA, hle = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: d0e, Provider: fle } = hle, mle = fle;
38139
38139
  function NI(e) {
38140
38140
  return e && Object.keys(e).reduce((t, r) => {
38141
38141
  const n = e[r];
@@ -38591,17 +38591,17 @@ async function Hle(e, t) {
38591
38591
  } : {
38592
38592
  x: 1,
38593
38593
  y: 1
38594
- }, S = yu(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
38594
+ }, A = yu(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
38595
38595
  elements: s,
38596
38596
  rect: y,
38597
38597
  offsetParent: x,
38598
38598
  strategy: l
38599
38599
  }) : y);
38600
38600
  return {
38601
- top: (g.top - S.top + m.top) / w.y,
38602
- bottom: (S.bottom - g.bottom + m.bottom) / w.y,
38603
- left: (g.left - S.left + m.left) / w.x,
38604
- right: (S.right - g.right + m.right) / w.x
38601
+ top: (g.top - A.top + m.top) / w.y,
38602
+ bottom: (A.bottom - g.bottom + m.bottom) / w.y,
38603
+ left: (g.left - A.left + m.left) / w.x,
38604
+ right: (A.right - g.right + m.right) / w.x
38605
38605
  };
38606
38606
  }
38607
38607
  var Gle = 50, $le = async (e, t, r) => {
@@ -38618,7 +38618,7 @@ var Gle = 50, $le = async (e, t, r) => {
38618
38618
  for (let p = 0; p < o.length; p++) {
38619
38619
  const g = o[p];
38620
38620
  if (!g) continue;
38621
- const { name: y, fn: x } = g, { x: w, y: S, data: k, reset: A } = await x({
38621
+ const { name: y, fn: x } = g, { x: w, y: A, data: k, reset: S } = await x({
38622
38622
  x: u,
38623
38623
  y: d,
38624
38624
  initialPlacement: n,
@@ -38632,14 +38632,14 @@ var Gle = 50, $le = async (e, t, r) => {
38632
38632
  floating: t
38633
38633
  }
38634
38634
  });
38635
- u = w ?? u, d = S ?? d, m[y] = {
38635
+ u = w ?? u, d = A ?? d, m[y] = {
38636
38636
  ...m[y],
38637
38637
  ...k
38638
- }, A && f < Gle && (f++, typeof A == "object" && (A.placement && (h = A.placement), A.rects && (c = A.rects === !0 ? await a.getElementRects({
38638
+ }, S && f < Gle && (f++, typeof S == "object" && (S.placement && (h = S.placement), S.rects && (c = S.rects === !0 ? await a.getElementRects({
38639
38639
  reference: e,
38640
38640
  floating: t,
38641
38641
  strategy: i
38642
- }) : A.rects), { x: u, y: d } = WA(c, h, l)), p = -1);
38642
+ }) : S.rects), { x: u, y: d } = WA(c, h, l)), p = -1);
38643
38643
  }
38644
38644
  return {
38645
38645
  x: u,
@@ -38656,12 +38656,12 @@ var Gle = 50, $le = async (e, t, r) => {
38656
38656
  var r, n;
38657
38657
  const { placement: i, middlewareData: o, rects: a, initialPlacement: s, platform: l, elements: c } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: h, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: m = "none", flipAlignment: p = !0, ...g } = Pd(e, t);
38658
38658
  if ((r = o.arrow) != null && r.alignmentOffset) return {};
38659
- const y = Yi(i), x = Gn(s), w = Yi(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), k = h || (w || !p ? [vu(s)] : Lle(s)), A = m !== "none";
38660
- !h && A && k.push(...Ble(s, p, m, S));
38659
+ const y = Yi(i), x = Gn(s), w = Yi(s) === s, A = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), k = h || (w || !p ? [vu(s)] : Lle(s)), S = m !== "none";
38660
+ !h && S && k.push(...Ble(s, p, m, A));
38661
38661
  const D = [s, ...k], b = await l.detectOverflow(t, g), T = [];
38662
38662
  let R = ((n = o.flip) == null ? void 0 : n.overflows) || [];
38663
38663
  if (u && T.push(b[y]), d) {
38664
- const L = Rle(i, a, S);
38664
+ const L = Rle(i, a, A);
38665
38665
  T.push(b[L[0]], b[L[1]]);
38666
38666
  }
38667
38667
  if (R = [...R, {
@@ -38683,7 +38683,7 @@ var Gle = 50, $le = async (e, t, r) => {
38683
38683
  case "bestFit": {
38684
38684
  var M;
38685
38685
  const E = (M = R.filter((P) => {
38686
- if (A) {
38686
+ if (S) {
38687
38687
  const _ = Gn(P.placement);
38688
38688
  return _ === x || _ === "y";
38689
38689
  }
@@ -38755,12 +38755,12 @@ var zle = function(e) {
38755
38755
  }, d = await o.detectOverflow(t, c), h = Gn(Yi(i)), f = VI(h);
38756
38756
  let m = u[f], p = u[h];
38757
38757
  if (a) {
38758
- const y = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", w = m + d[y], S = m - d[x];
38759
- m = HA(w, m, S);
38758
+ const y = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", w = m + d[y], A = m - d[x];
38759
+ m = HA(w, m, A);
38760
38760
  }
38761
38761
  if (s) {
38762
- const y = h === "y" ? "top" : "left", x = h === "y" ? "bottom" : "right", w = p + d[y], S = p - d[x];
38763
- p = HA(w, p, S);
38762
+ const y = h === "y" ? "top" : "left", x = h === "y" ? "bottom" : "right", w = p + d[y], A = p - d[x];
38763
+ p = HA(w, p, A);
38764
38764
  }
38765
38765
  const g = l.fn({
38766
38766
  ...t,
@@ -38926,8 +38926,8 @@ function Qs(e, t, r, n) {
38926
38926
  const h = Jt(o), f = n && Cr(n) ? Jt(n) : n;
38927
38927
  let m = h, p = Am(m);
38928
38928
  for (; p && n && f !== m; ) {
38929
- const g = Yo(p), y = p.getBoundingClientRect(), x = Ir(p), w = y.left + (p.clientLeft + parseFloat(x.paddingLeft)) * g.x, S = y.top + (p.clientTop + parseFloat(x.paddingTop)) * g.y;
38930
- l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += w, c += S, m = Jt(p), p = Am(m);
38929
+ const g = Yo(p), y = p.getBoundingClientRect(), x = Ir(p), w = y.left + (p.clientLeft + parseFloat(x.paddingLeft)) * g.x, A = y.top + (p.clientTop + parseFloat(x.paddingTop)) * g.y;
38930
+ l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += w, c += A, m = Jt(p), p = Am(m);
38931
38931
  }
38932
38932
  }
38933
38933
  return yu({
@@ -39202,17 +39202,17 @@ function QI(e) {
39202
39202
  }), [h, f] = We.useState(n);
39203
39203
  xu(h, n) || f(n);
39204
39204
  const [m, p] = We.useState(null), [g, y] = We.useState(null), x = We.useCallback((P) => {
39205
- P !== A.current && (A.current = P, p(P));
39205
+ P !== S.current && (S.current = P, p(P));
39206
39206
  }, []), w = We.useCallback((P) => {
39207
39207
  P !== D.current && (D.current = P, y(P));
39208
- }, []), S = o || m, k = a || g, A = We.useRef(null), D = We.useRef(null), b = We.useRef(u), T = l != null, R = $h(l), I = $h(i), F = $h(c), M = We.useCallback(() => {
39209
- if (!A.current || !D.current) return;
39208
+ }, []), A = o || m, k = a || g, S = We.useRef(null), D = We.useRef(null), b = We.useRef(u), T = l != null, R = $h(l), I = $h(i), F = $h(c), M = We.useCallback(() => {
39209
+ if (!S.current || !D.current) return;
39210
39210
  const P = {
39211
39211
  placement: t,
39212
39212
  strategy: r,
39213
39213
  middleware: h
39214
39214
  };
39215
- I.current && (P.platform = I.current), pce(A.current, D.current, P).then((_) => {
39215
+ I.current && (P.platform = I.current), pce(S.current, D.current, P).then((_) => {
39216
39216
  const U = {
39217
39217
  ..._,
39218
39218
  isPositioned: F.current !== !1
@@ -39238,26 +39238,26 @@ function QI(e) {
39238
39238
  Cc(() => (L.current = !0, () => {
39239
39239
  L.current = !1;
39240
39240
  }), []), Cc(() => {
39241
- if (S && (A.current = S), k && (D.current = k), S && k) {
39242
- if (R.current) return R.current(S, k, M);
39241
+ if (A && (S.current = A), k && (D.current = k), A && k) {
39242
+ if (R.current) return R.current(A, k, M);
39243
39243
  M();
39244
39244
  }
39245
39245
  }, [
39246
- S,
39246
+ A,
39247
39247
  k,
39248
39248
  M,
39249
39249
  R,
39250
39250
  T
39251
39251
  ]);
39252
39252
  const N = We.useMemo(() => ({
39253
- reference: A,
39253
+ reference: S,
39254
39254
  floating: D,
39255
39255
  setReference: x,
39256
39256
  setFloating: w
39257
39257
  }), [x, w]), C = We.useMemo(() => ({
39258
- reference: S,
39258
+ reference: A,
39259
39259
  floating: k
39260
- }), [S, k]), E = We.useMemo(() => {
39260
+ }), [A, k]), E = We.useMemo(() => {
39261
39261
  const P = {
39262
39262
  position: r,
39263
39263
  left: 0,
@@ -39690,7 +39690,7 @@ var wu = {
39690
39690
  parsingLocale: x.config.parsingLocale,
39691
39691
  mode: x.config.tooltip.mode,
39692
39692
  comments: x.annotations.comments
39693
- }))), { formattingLocale: t } = yt(), r = ke(), n = Ko((x) => x.hover), i = Ko((x) => x.tooltipAnchor), o = Ko((x) => x.suspendsHover), a = jr("Tooltip", iue), s = de(() => {
39693
+ }))), { formattingLocale: t } = ft(), r = ke(), n = Ko((x) => x.hover), i = Ko((x) => x.tooltipAnchor), o = Ko((x) => x.suspendsHover), a = jr("Tooltip", iue), s = de(() => {
39694
39694
  }), { cursorRef: l, inside: c } = Zce(() => s.current()), u = G(() => eq({
39695
39695
  ...e,
39696
39696
  hover: n,
@@ -39982,26 +39982,26 @@ var wu = {
39982
39982
  legendItemStyle: s,
39983
39983
  directLabelStyle: a
39984
39984
  }), y = yue(f), x = gue(f), w = {
39985
- measureText: (S, k) => e.measureText(S, k),
39985
+ measureText: (A, k) => e.measureText(A, k),
39986
39986
  textScale: h
39987
39987
  };
39988
39988
  return {
39989
- measureAxis: (S) => {
39990
- if (Pue(S)) return 0;
39989
+ measureAxis: (A) => {
39990
+ if (Pue(A)) return 0;
39991
39991
  const k = u.current.measureAxis;
39992
- return k ? k(S, w) : m(S);
39992
+ return k ? k(A, w) : m(A);
39993
39993
  },
39994
- measureAxisLabel: (S) => {
39994
+ measureAxisLabel: (A) => {
39995
39995
  const k = u.current.measureAxisLabel;
39996
- return k ? k(S, w) : p(S);
39996
+ return k ? k(A, w) : p(A);
39997
39997
  },
39998
- measureLegend: (S) => {
39999
- if (_ue(S)) return 0;
39998
+ measureLegend: (A) => {
39999
+ if (_ue(A)) return 0;
40000
40000
  const k = u.current.measureLegend;
40001
- return k ? k(S, w) : g(S);
40001
+ return k ? k(A, w) : g(A);
40002
40002
  },
40003
- measureHeadline: (S, k, A) => (u.current.measureHeadline ?? y)(S, k, A),
40004
- measureHeadlineItemWidths: (S, k) => (u.current.measureHeadlineItemWidths ?? x)(S, k),
40003
+ measureHeadline: (A, k, S) => (u.current.measureHeadline ?? y)(A, k, S),
40004
+ measureHeadlineItemWidths: (A, k) => (u.current.measureHeadlineItemWidths ?? x)(A, k),
40005
40005
  measureTickLabel: Tue({
40006
40006
  textMeasurer: e,
40007
40007
  tickLabelStyles: l,
@@ -40071,7 +40071,7 @@ var wu = {
40071
40071
  e
40072
40072
  ]);
40073
40073
  }, Pue = (e) => !e.visible || e.ticks.length === 0, _ue = (e) => e.items.length === 0, Cue = () => {
40074
- const { formattingLocale: e } = yt(), t = me((r) => r.config.parsingLocale);
40074
+ const { formattingLocale: e } = ft(), t = me((r) => r.config.parsingLocale);
40075
40075
  return e ?? t;
40076
40076
  }, o1 = 0.5, hR = Fe(/* @__PURE__ */ new Map()), fR = Fe(() => {
40077
40077
  }), mR = Fe(/* @__PURE__ */ new Set()), Iue = ({ children: e }) => {
@@ -40195,7 +40195,7 @@ var gR = Fe(null), Que = ({ panelRect: e, children: t }) => {
40195
40195
  start: r(e.start),
40196
40196
  end: r(e.end)
40197
40197
  }) ?? t.stroke, Zue = (e) => {
40198
- const { formattingLocale: t } = yt(), r = di(), { fonts: n } = uo(), i = Un((g) => bs(g, "difference-arrow-endpoint-drag")), o = sQ(), a = ke(), { differenceArrows: s, mainAxis: l, parsingLocale: c } = me(tr((g) => ({
40198
+ const { formattingLocale: t } = ft(), r = di(), { fonts: n } = uo(), i = Un((g) => bs(g, "difference-arrow-endpoint-drag")), o = sQ(), a = ke(), { differenceArrows: s, mainAxis: l, parsingLocale: c } = me(tr((g) => ({
40199
40199
  differenceArrows: g.annotations.differenceArrows,
40200
40200
  mainAxis: ai(g.coordSystem),
40201
40201
  parsingLocale: g.config.parsingLocale
@@ -40656,7 +40656,7 @@ var jde = ({ segment: e, itemStyle: t }) => {
40656
40656
  }, Jde = "data-legend-index", Zde = "data-legend-item-index", wR = ({ legendIndex: e, itemIndex: t }) => ({
40657
40657
  [Jde]: String(e),
40658
40658
  [Zde]: String(t)
40659
- }), La = "data-edit-kind", ehe = "data-edit-id", AR = "data-edit-axis", the = "data-edit-tick-index", SR = "data-legend-overflow-control", d0e = `[${SR}]`, rhe = "observations", nhe = "data-live-geom", h0e = `[${La}]`, Il = (e) => ({
40659
+ }), La = "data-edit-kind", ehe = "data-edit-id", AR = "data-edit-axis", the = "data-edit-tick-index", SR = "data-legend-overflow-control", h0e = `[${SR}]`, rhe = "observations", nhe = "data-live-geom", f0e = `[${La}]`, Il = (e) => ({
40660
40660
  [La]: e.kind,
40661
40661
  [ehe]: e.id
40662
40662
  }), Tv = (e, t) => ({
@@ -40728,7 +40728,7 @@ var che = 8, uhe = 16, dhe = 2, hhe = ({ indexedLegends: e, containerRect: t })
40728
40728
  }, d.payload.key))]
40729
40729
  });
40730
40730
  }, fhe = (e, t, r) => {
40731
- const { colorScheme: n } = yt(), i = me((o) => o.layers);
40731
+ const { colorScheme: n } = ft(), i = me((o) => o.layers);
40732
40732
  return G(() => {
40733
40733
  const o = [];
40734
40734
  for (const { legend: a, legendIndex: s } of e) a.items.forEach((l, c) => {
@@ -40884,13 +40884,13 @@ var Ehe = "pill-content_bubble__1rqnt0m0", Wh = "\0", khe = (e, t) => {
40884
40884
  });
40885
40885
  ge(() => {
40886
40886
  if (!n) return;
40887
- const x = (S) => {
40888
- const k = S.target;
40887
+ const x = (A) => {
40888
+ const k = A.target;
40889
40889
  if (!k) return;
40890
- const A = m.reference.current, D = m.floating.current;
40891
- A instanceof Element && A.contains(k) || D instanceof Element && D.contains(k) || i(!1);
40892
- }, w = (S) => {
40893
- S.key === "Escape" && i(!1);
40890
+ const S = m.reference.current, D = m.floating.current;
40891
+ S instanceof Element && S.contains(k) || D instanceof Element && D.contains(k) || i(!1);
40892
+ }, w = (A) => {
40893
+ A.key === "Escape" && i(!1);
40894
40894
  };
40895
40895
  return document.addEventListener("pointerdown", x), document.addEventListener("keydown", w), () => {
40896
40896
  document.removeEventListener("pointerdown", x), document.removeEventListener("keydown", w);
@@ -40964,7 +40964,7 @@ var Ehe = "pill-content_bubble__1rqnt0m0", Wh = "\0", khe = (e, t) => {
40964
40964
  left: "pill-legends_verticalPlotHug_left__1unrqh47"
40965
40965
  }, Hhe = "pill-legends_item__1unrqh48";
40966
40966
  var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }) => {
40967
- const i = di(), o = uo(), a = ke(), s = ue(lR, a), l = ue(ml, a), c = pr(), u = me((A) => A.coordSystem.type), d = pi(), h = G(() => khe(t, (A) => c(A, u)?.swatchShape ?? "square"), [
40967
+ const i = di(), o = uo(), a = ke(), s = ue(lR, a), l = ue(ml, a), c = pr(), u = me((S) => S.coordSystem.type), d = pi(), h = G(() => khe(t, (S) => c(S, u)?.swatchShape ?? "square"), [
40968
40968
  t,
40969
40969
  c,
40970
40970
  u
@@ -40977,18 +40977,18 @@ var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40977
40977
  visibleCount: h.length,
40978
40978
  hasOverflow: !1
40979
40979
  };
40980
- const A = Wt(l.item, o.fonts.familyDefault), D = Zn(l.item), b = 2 * (l.item.paddingInline + l.item.strokeWidth), T = 2 * (l.item.paddingBlock + l.item.strokeWidth), R = (M) => f ? $he(M, D, l.swatch.size, T) : u1({
40980
+ const S = Wt(l.item, o.fonts.familyDefault), D = Zn(l.item), b = 2 * (l.item.paddingInline + l.item.strokeWidth), T = 2 * (l.item.paddingBlock + l.item.strokeWidth), R = (M) => f ? $he(M, D, l.swatch.size, T) : u1({
40981
40981
  label: M.formattedLabel,
40982
40982
  swatchInlineSize: Whe(M, l.swatch.size),
40983
40983
  textMeasurer: i,
40984
- font: A,
40984
+ font: S,
40985
40985
  swatchGap: l.item.gap,
40986
40986
  horizontalChrome: b
40987
40987
  }), I = h.map(R), F = (f ? D + T : u1({
40988
40988
  label: `+${h.length}`,
40989
40989
  swatchInlineSize: 0,
40990
40990
  textMeasurer: i,
40991
- font: A,
40991
+ font: S,
40992
40992
  swatchGap: l.item.gap,
40993
40993
  horizontalChrome: b
40994
40994
  })) + (_R(l.item) ? 8 : 0);
@@ -41008,7 +41008,7 @@ var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41008
41008
  l
41009
41009
  ]), y = ka([l.item.fill]);
41010
41010
  if (h.length === 0) return null;
41011
- const x = h.slice(0, g.visibleCount), w = h.slice(g.visibleCount), S = g.hasOverflow && w.length > 0, k = PR(l.item, y(l.item.fill));
41011
+ const x = h.slice(0, g.visibleCount), w = h.slice(g.visibleCount), A = g.hasOverflow && w.length > 0, k = PR(l.item, y(l.item.fill));
41012
41012
  return /* @__PURE__ */ W("div", {
41013
41013
  className: Qt(Fhe[p], Ohe, {
41014
41014
  [Bhe]: f,
@@ -41016,15 +41016,15 @@ var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41016
41016
  [Vhe[e === "left" ? "left" : "right"]]: f
41017
41017
  }),
41018
41018
  style: { gap: s.gap },
41019
- children: [x.map((A) => /* @__PURE__ */ v("div", {
41019
+ children: [x.map((S) => /* @__PURE__ */ v("div", {
41020
41020
  className: Qt(Hhe, d && "pill-legends_hitTestableItem__1unrqh49"),
41021
41021
  style: {
41022
41022
  ...k,
41023
41023
  gap: l.item.gap
41024
41024
  },
41025
- ...d ? Mv(A.address) : void 0,
41026
- children: /* @__PURE__ */ v(IR, { pill: A })
41027
- }, A.key)), S && /* @__PURE__ */ v(Rhe, {
41025
+ ...d ? Mv(S.address) : void 0,
41026
+ children: /* @__PURE__ */ v(IR, { pill: S })
41027
+ }, S.key)), A && /* @__PURE__ */ v(Rhe, {
41028
41028
  hiddenPills: w,
41029
41029
  placement: zhe(e)
41030
41030
  })]
@@ -41245,17 +41245,18 @@ var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41245
41245
  const r = aE(e, t);
41246
41246
  return r !== null && tfe(r.kind) && _q(r);
41247
41247
  }, sfe = 200, lfe = ({ engine: e, store: t, overlayRef: r }) => {
41248
- const { tolerance: n } = hi[Rl()], i = En(t, (a) => a.editorOwnsQuery), o = fo();
41248
+ const { tolerance: n } = hi[Rl()], i = En(t, (s) => s.editorOwnsQuery), o = fo(), { store: a } = ft();
41249
41249
  ge(() => {
41250
- const a = r.current;
41251
- if (!a) return;
41252
- const s = cfe(a, e), l = i || o ? void 0 : dfe(a, e, t, n ?? void 0);
41250
+ const s = r.current;
41251
+ if (!s) return;
41252
+ const l = cfe(s, e), c = i || o ? void 0 : dfe(s, e, t, a, n ?? void 0);
41253
41253
  return () => {
41254
- l?.(), s();
41254
+ c?.(), l();
41255
41255
  };
41256
41256
  }, [
41257
41257
  e,
41258
41258
  t,
41259
+ a,
41259
41260
  r,
41260
41261
  n,
41261
41262
  i,
@@ -41283,52 +41284,56 @@ var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41283
41284
  y: t.top + e.point.y,
41284
41285
  placement: e.placement,
41285
41286
  annotationId: e.annotationId
41286
- }, dfe = (e, t, r, n) => {
41287
- let i = null, o = null;
41288
- const a = () => {
41289
- const m = e.getBoundingClientRect();
41290
- return m.width > 0 && m.height > 0 ? m : null;
41291
- }, s = (m, p) => ({
41292
- x: m.clientX - p.left,
41293
- y: m.clientY - p.top
41294
- }), l = () => {
41295
- o = null;
41296
- const m = i;
41297
- if (i = null, !m) return;
41298
- const p = a();
41299
- if (p === null) return;
41300
- const g = s(m, p), y = r.getState();
41301
- if (y.suspendsHover) return;
41302
- const x = Gb(g, y.pointerRegions);
41303
- if (x !== null) {
41304
- y.setHoverState(t.query(x.cursor, { tolerance: n })), y.setTooltipAnchor(ufe(x.tooltip, p));
41287
+ }, dfe = (e, t, r, n, i) => {
41288
+ let o = null, a = null;
41289
+ const s = () => {
41290
+ const g = e.getBoundingClientRect();
41291
+ return g.width > 0 && g.height > 0 ? g : null;
41292
+ }, l = (g, y) => ({
41293
+ x: g.clientX - y.left,
41294
+ y: g.clientY - y.top
41295
+ }), c = () => {
41296
+ a = null;
41297
+ const g = o;
41298
+ if (!g) return;
41299
+ const y = s();
41300
+ if (y === null) return;
41301
+ const x = l(g, y), w = r.getState();
41302
+ if (w.suspendsHover) return;
41303
+ const A = Gb(x, w.pointerRegions);
41304
+ if (A !== null) {
41305
+ w.setHoverState(t.query(A.cursor, { tolerance: i })), w.setTooltipAnchor(ufe(A.tooltip, y));
41305
41306
  return;
41306
41307
  }
41307
- const w = JE(g, p);
41308
- y.setHoverState(t.query(w, { tolerance: n })), y.setTooltipAnchor(null);
41309
- }, c = () => {
41310
- const m = r.getState();
41311
- m.hover.primary === null && m.tooltipAnchor === null || (m.setHoverState(or), m.setTooltipAnchor(null));
41312
- }, u = (m) => {
41313
- const p = r.getState();
41314
- if (p.pointerRegions.length === 0) return !1;
41315
- const g = a();
41316
- return g === null ? !1 : Gb(s(m, g), p.pointerRegions) !== null;
41317
- }, d = (m) => {
41318
- r.getState().suspendsHover || u(m) || (document.removeEventListener("pointermove", d), c());
41319
- }, h = (m) => {
41320
- document.removeEventListener("pointermove", d), i = m, o === null && (o = requestAnimationFrame(l));
41321
- }, f = (m) => {
41322
- if (i = null, o !== null && (cancelAnimationFrame(o), o = null), !r.getState().suspendsHover) {
41323
- if (u(m)) {
41324
- document.addEventListener("pointermove", d);
41308
+ const k = JE(x, y);
41309
+ w.setHoverState(t.query(k, { tolerance: i })), w.setTooltipAnchor(null);
41310
+ }, u = () => {
41311
+ const g = r.getState();
41312
+ g.hover.primary === null && g.tooltipAnchor === null || (g.setHoverState(or), g.setTooltipAnchor(null));
41313
+ }, d = (g) => {
41314
+ const y = r.getState();
41315
+ if (y.pointerRegions.length === 0) return !1;
41316
+ const x = s();
41317
+ return x === null ? !1 : Gb(l(g, x), y.pointerRegions) !== null;
41318
+ }, h = (g) => {
41319
+ r.getState().suspendsHover || d(g) || (document.removeEventListener("pointermove", h), u());
41320
+ }, f = (g) => {
41321
+ document.removeEventListener("pointermove", h), o = g, a === null && (a = requestAnimationFrame(c));
41322
+ }, m = (g) => {
41323
+ if (o = null, a !== null && (cancelAnimationFrame(a), a = null), !r.getState().suspendsHover) {
41324
+ if (d(g)) {
41325
+ document.addEventListener("pointermove", h);
41325
41326
  return;
41326
41327
  }
41327
- c();
41328
+ u();
41328
41329
  }
41329
41330
  };
41330
- return e.addEventListener("pointermove", h), e.addEventListener("pointerleave", f), () => {
41331
- e.removeEventListener("pointermove", h), e.removeEventListener("pointerleave", f), document.removeEventListener("pointermove", d), o !== null && cancelAnimationFrame(o), i = null;
41331
+ e.addEventListener("pointermove", f), e.addEventListener("pointerleave", m);
41332
+ const p = n.subscribe((g, y) => {
41333
+ g.scene === y.scene || o === null || a !== null || (a = requestAnimationFrame(c));
41334
+ });
41335
+ return () => {
41336
+ e.removeEventListener("pointermove", f), e.removeEventListener("pointerleave", m), document.removeEventListener("pointermove", h), p(), a !== null && cancelAnimationFrame(a), o = null;
41332
41337
  };
41333
41338
  }, hfe = ({ panelRect: e }) => {
41334
41339
  const { engine: t, store: r, overlayRef: n } = ho(), i = Un(pR), o = Un(zue), a = Un((l) => l.caret !== null);
@@ -41524,7 +41529,7 @@ var Ghe = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41524
41529
  }, a.id))
41525
41530
  });
41526
41531
  }, Tfe = () => {
41527
- const { selectionStore: e } = yt();
41532
+ const { selectionStore: e } = ft();
41528
41533
  return En(e, (t) => t.selection);
41529
41534
  }, Mfe = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, addressable: i }) => {
41530
41535
  const o = {
@@ -41794,7 +41799,7 @@ var jfe = "callouts_miniText__1rlvxtx2", m1 = {
41794
41799
  });
41795
41800
  };
41796
41801
  function Yfe(e) {
41797
- const t = di(), { formattingLocale: r } = yt(), n = ke(), i = me(tr((l) => ({
41802
+ const t = di(), { formattingLocale: r } = ft(), n = ke(), i = me(tr((l) => ({
41798
41803
  pinnedNumbers: l.annotations.pinnedNumbers,
41799
41804
  comments: l.annotations.comments,
41800
41805
  coordSystem: l.coordSystem,
@@ -41984,7 +41989,7 @@ var Kfe = (e, t, r, n) => t !== "comment" ? r : Dp(r, 140, (i) => e.measureText(
41984
41989
  y: t - n / 2,
41985
41990
  width: r,
41986
41991
  height: n
41987
- }, S = Dd(g.cornerRadius), k = g.shadow === void 0 ? void 0 : lo(g.shadow), A = {
41992
+ }, A = Dd(g.cornerRadius), k = g.shadow === void 0 ? void 0 : lo(g.shadow), S = {
41988
41993
  className: sme,
41989
41994
  fill: g.fill === void 0 ? void 0 : He(g.fill),
41990
41995
  style: k === void 0 ? void 0 : { filter: k },
@@ -41996,14 +42001,14 @@ var Kfe = (e, t, r, n) => t !== "comment" ? r : Dp(r, 140, (i) => e.measureText(
41996
42001
  return /* @__PURE__ */ W("g", {
41997
42002
  transform: f,
41998
42003
  opacity: g.alpha,
41999
- children: [p && (S === null ? /* @__PURE__ */ v("path", {
42004
+ children: [p && (A === null ? /* @__PURE__ */ v("path", {
42000
42005
  d: vv(w, g.cornerRadius),
42001
- ...A
42006
+ ...S
42002
42007
  }) : /* @__PURE__ */ v("rect", {
42003
42008
  ...w,
42004
- rx: S,
42005
- ry: S,
42006
- ...A
42009
+ rx: A,
42010
+ ry: A,
42011
+ ...S
42007
42012
  })), /* @__PURE__ */ v("text", {
42008
42013
  className: lme,
42009
42014
  style: {
@@ -42475,7 +42480,7 @@ var Kfe = (e, t, r, n) => t !== "comment" ? r : Dp(r, 140, (i) => e.measureText(
42475
42480
  y2: k
42476
42481
  };
42477
42482
  }
42478
- const S = /* @__PURE__ */ v("line", {
42483
+ const A = /* @__PURE__ */ v("line", {
42479
42484
  ...w,
42480
42485
  ...BR,
42481
42486
  strokeDasharray: m,
@@ -42484,14 +42489,14 @@ var Kfe = (e, t, r, n) => t !== "comment" ? r : Dp(r, 140, (i) => e.measureText(
42484
42489
  });
42485
42490
  return o ? /* @__PURE__ */ W("g", {
42486
42491
  ...TR(u.scaleAestheticKey),
42487
- children: [S, /* @__PURE__ */ v("line", {
42492
+ children: [A, /* @__PURE__ */ v("line", {
42488
42493
  ...w,
42489
42494
  stroke: "transparent",
42490
42495
  strokeWidth: 7,
42491
42496
  pointerEvents: "stroke",
42492
42497
  "data-testid": "grid-line-hit-area"
42493
42498
  })]
42494
- }, g) : /* @__PURE__ */ v(Ki, { children: S }, g);
42499
+ }, g) : /* @__PURE__ */ v(Ki, { children: A }, g);
42495
42500
  }) }, u.scaleAestheticKey);
42496
42501
  })
42497
42502
  });
@@ -42721,7 +42726,7 @@ var FR = (e, t) => {
42721
42726
  children: u
42722
42727
  }) : u;
42723
42728
  }, Wme = ({ layer: e, coordSystem: t, animateTransitions: r, formattingLocale: n, panelRect: i, live: o }) => {
42724
- const a = pr(), s = iR(e.id), { colorScheme: l } = yt(), c = Be(e), u = a(e.geom, t.type);
42729
+ const a = pr(), s = iR(e.id), { colorScheme: l } = ft(), c = Be(e), u = a(e.geom, t.type);
42725
42730
  if (u === null) return null;
42726
42731
  const d = kd(u.render), h = {
42727
42732
  layer: e,
@@ -42776,7 +42781,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42776
42781
  t,
42777
42782
  i,
42778
42783
  n
42779
- ]), { colorScheme: u } = yt(), d = Be(t), h = ke(), f = G(() => rl(t), [t]), m = G(() => jp({
42784
+ ]), { colorScheme: u } = ft(), d = Be(t), h = ke(), f = G(() => rl(t), [t]), m = G(() => jp({
42780
42785
  layer: t,
42781
42786
  numberFormat: l,
42782
42787
  locale: s
@@ -42798,7 +42803,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42798
42803
  formattingLocale: s,
42799
42804
  panelRect: a,
42800
42805
  colorScheme: u
42801
- })), /* @__PURE__ */ W(Ev, { children: [x, c.map(({ observation: w, observationIndex: S, anchor: k }) => /* @__PURE__ */ v(Xme, {
42806
+ })), /* @__PURE__ */ W(Ev, { children: [x, c.map(({ observation: w, observationIndex: A, anchor: k }) => /* @__PURE__ */ v(Xme, {
42802
42807
  observation: w,
42803
42808
  anchor: k,
42804
42809
  panelRect: a,
@@ -42809,7 +42814,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42809
42814
  formatYValue: m,
42810
42815
  labelStyle: g.observation.outside,
42811
42816
  familyDefault: p.familyDefault
42812
- }, qme(w, S)))] });
42817
+ }, qme(w, A)))] });
42813
42818
  }, Yme = ({ layer: e, ...t }) => {
42814
42819
  const r = aP(e, Be(e)), n = G(() => ({
42815
42820
  layerId: e.id,
@@ -42878,7 +42883,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42878
42883
  primary: f.hover.primary,
42879
42884
  group: f.hover.group,
42880
42885
  related: f.hover.related
42881
- }))), a = pr(), { colorScheme: s } = yt(), l = Be(e), c = hi[Rl()].hoverPaint, u = n?.layerId === e.id, d = o.get(e.id) ?? [];
42886
+ }))), a = pr(), { colorScheme: s } = ft(), l = Be(e), c = hi[Rl()].hoverPaint, u = n?.layerId === e.id, d = o.get(e.id) ?? [];
42882
42887
  if (!c || n === null) return null;
42883
42888
  const h = a(e.geom, t.type);
42884
42889
  return h === null ? null : u ? /* @__PURE__ */ v(Tu, {
@@ -42957,7 +42962,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42957
42962
  s,
42958
42963
  e,
42959
42964
  t
42960
- ]), c = e.highlight, u = Jme(e), { colorScheme: d } = yt(), h = {
42965
+ ]), c = e.highlight, u = Jme(e), { colorScheme: d } = ft(), h = {
42961
42966
  layer: e,
42962
42967
  coordSystem: t,
42963
42968
  animateTransitions: r,
@@ -43059,7 +43064,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
43059
43064
  }, lpe = "plot.renderer_root__1ts0j5d0", cpe = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: o, axisLabelRects: a, animateTransitions: s, formattingLocale: l, plotBottomY: c, hasReservedFooterSpace: u, editable: d, showAnnotations: h }) => {
43060
43065
  const f = de(null);
43061
43066
  mfe(f);
43062
- const m = jr("Grid", Lme), p = jr("AxisTicks", Ime), g = jr("AxisLabel", Rme), y = G(() => km(n, t), [n, t]), x = G(() => km(i, t), [i, t]), w = G(() => b1(o, t), [o, t]), S = G(() => b1(a, t), [a, t]), k = fo(), A = h && !k;
43067
+ const m = jr("Grid", Lme), p = jr("AxisTicks", Ime), g = jr("AxisLabel", Rme), y = G(() => km(n, t), [n, t]), x = G(() => km(i, t), [i, t]), w = G(() => b1(o, t), [o, t]), A = G(() => b1(a, t), [a, t]), k = fo(), S = h && !k;
43063
43068
  return /* @__PURE__ */ W("svg", {
43064
43069
  ref: f,
43065
43070
  className: lpe,
@@ -43080,14 +43085,14 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
43080
43085
  }),
43081
43086
  /* @__PURE__ */ v(g, {
43082
43087
  formattedAxes: e,
43083
- labelRects: S
43088
+ labelRects: A
43084
43089
  }),
43085
43090
  /* @__PURE__ */ v(Gme, {
43086
43091
  formattedAxes: e,
43087
43092
  panelRect: x
43088
43093
  }),
43089
43094
  /* @__PURE__ */ v(qhe, { panelRect: x }),
43090
- A && /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ v(f1, {
43095
+ S && /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ v(f1, {
43091
43096
  panelRect: x,
43092
43097
  zOrder: "background"
43093
43098
  }), /* @__PURE__ */ v(h1, {
@@ -43113,7 +43118,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
43113
43118
  plotBottomY: c,
43114
43119
  hasReservedFooterSpace: u
43115
43120
  }),
43116
- A && /* @__PURE__ */ W(fe, { children: [
43121
+ S && /* @__PURE__ */ W(fe, { children: [
43117
43122
  /* @__PURE__ */ v(_fe, {
43118
43123
  panelRect: x,
43119
43124
  editable: d
@@ -43260,7 +43265,7 @@ var jme = 4, zme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
43260
43265
  };
43261
43266
  }, ppe = (e, t) => e.headerSize.width !== t.headerSize.width || e.headerSize.height !== t.headerSize.height || e.footerSize.width !== t.footerSize.width || e.footerSize.height !== t.footerSize.height, gpe = () => null, vpe = "graph-frame_overpaint__fzk2ns0", ype = "graph-frame_backgroundScope__fzk2ns1";
43262
43267
  var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef: i, children: o }) => {
43263
- const { themeClass: a, inlineVarsStyle: s } = bv(), l = e.strokeWidth, c = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), d = u === 0 ? 0 : u + l, { shadow: h, alpha: f, blendMode: m, fill: p, overpaint: g = bpe } = e, y = ka([p, ...g]), x = y(p), w = typeof p != "string", S = G(() => ({
43268
+ const { themeClass: a, inlineVarsStyle: s } = bv(), l = e.strokeWidth, c = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), d = u === 0 ? 0 : u + l, { shadow: h, alpha: f, blendMode: m, fill: p, overpaint: g = bpe } = e, y = ka([p, ...g]), x = y(p), w = typeof p != "string", A = G(() => ({
43264
43269
  ...n,
43265
43270
  borderRadius: `${d}px`,
43266
43271
  ...s,
@@ -43286,7 +43291,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43286
43291
  m,
43287
43292
  w,
43288
43293
  f
43289
- ]), A = G(() => typeof p == "string" ? void 0 : {
43294
+ ]), S = G(() => typeof p == "string" ? void 0 : {
43290
43295
  ...ha(p, x),
43291
43296
  opacity: f
43292
43297
  }, [
@@ -43297,7 +43302,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43297
43302
  return /* @__PURE__ */ v("div", {
43298
43303
  "data-testid": "graph-wrapper",
43299
43304
  className: Qt(xce, a),
43300
- style: S,
43305
+ style: A,
43301
43306
  children: /* @__PURE__ */ W("div", {
43302
43307
  ref: i,
43303
43308
  "data-testid": "graph-inner",
@@ -43310,11 +43315,11 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43310
43315
  }),
43311
43316
  style: k,
43312
43317
  children: [
43313
- A && /* @__PURE__ */ v("div", {
43318
+ S && /* @__PURE__ */ v("div", {
43314
43319
  "aria-hidden": !0,
43315
43320
  "data-testid": "graph-fill",
43316
43321
  className: "graph-frame_background__fzk2ns2",
43317
- style: A
43322
+ style: S
43318
43323
  }),
43319
43324
  o,
43320
43325
  [...g].reverse().map((b, T) => /* @__PURE__ */ v("div", {
@@ -43326,7 +43331,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43326
43331
  ]
43327
43332
  })
43328
43333
  });
43329
- }, wpe = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${B.graphBackground} ${t * 100}%, transparent)` }, f0e = (e) => /* @__PURE__ */ v(kle, {
43334
+ }, wpe = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${B.graphBackground} ${t * 100}%, transparent)` }, m0e = (e) => /* @__PURE__ */ v(kle, {
43330
43335
  locale: Cue(),
43331
43336
  children: /* @__PURE__ */ v(Ape, { ...e })
43332
43337
  }), Ape = ({ slots: e, sizing: t = fpe, onResize: r, ...n }) => /* @__PURE__ */ v(sae, { children: /* @__PURE__ */ v(die, { children: /* @__PURE__ */ v(kie, {
@@ -43353,7 +43358,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43353
43358
  headlineConfig: Bt.config.headline,
43354
43359
  content: Bt.config.content,
43355
43360
  overflowStrategy: Bt.config.panel.overflow
43356
- }))), { intro: x, transitions: w } = jae(r, c), { headerRef: S, footerRef: k, measurements: A } = mpe(), { formattingLocale: D, colorScheme: b } = yt(), T = hi[a], R = T.editorSurface, [I, F] = Me(null), M = jr("Header", Cde), L = jr("Footer", Sde), N = jr("Legend", Yhe), C = jr("Headline", Qde), E = jr("EditorSurface", gpe), P = G(() => VY({
43361
+ }))), { intro: x, transitions: w } = jae(r, c), { headerRef: A, footerRef: k, measurements: S } = mpe(), { formattingLocale: D, colorScheme: b } = ft(), T = hi[a], R = T.editorSurface, [I, F] = Me(null), M = jr("Header", Cde), L = jr("Footer", Sde), N = jr("Legend", Yhe), C = jr("Headline", Qde), E = jr("EditorSurface", gpe), P = G(() => VY({
43357
43362
  legends: l,
43358
43363
  numberFormat: u,
43359
43364
  parsingLocale: d,
@@ -43409,7 +43414,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43409
43414
  parsingLocale: d,
43410
43415
  formattedLegends: P,
43411
43416
  containerSize: J,
43412
- externalMeasurements: A,
43417
+ externalMeasurements: S,
43413
43418
  headline: st,
43414
43419
  formattingLocale: D,
43415
43420
  annotations: h,
@@ -43419,7 +43424,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43419
43424
  panelBorder: rr,
43420
43425
  padding: ue(vq, X),
43421
43426
  margins: ue(yq, X)
43422
- }), ft = G(() => !ct || !st || !lt ? null : k7({
43427
+ }), mt = G(() => !ct || !st || !lt ? null : k7({
43423
43428
  headline: st,
43424
43429
  layout: ct.layout,
43425
43430
  containerSize: J,
@@ -43460,7 +43465,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43460
43465
  panelRect: Ce.panel,
43461
43466
  children: [
43462
43467
  /* @__PURE__ */ v(M, {
43463
- ref: S,
43468
+ ref: A,
43464
43469
  headerRect: Ce.header,
43465
43470
  mode: a,
43466
43471
  title: g.title,
@@ -43502,11 +43507,11 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43502
43507
  formattedLegends: P,
43503
43508
  rects: Ce.legends
43504
43509
  }),
43505
- _ && ft && /* @__PURE__ */ v(C, {
43510
+ _ && mt && /* @__PURE__ */ v(C, {
43506
43511
  headline: _,
43507
- rect: ft.rect,
43508
- resolvedSize: ft.resolvedSize,
43509
- visibleItemCount: ft.visibleItemCount,
43512
+ rect: mt.rect,
43513
+ resolvedSize: mt.resolvedSize,
43514
+ visibleItemCount: mt.visibleItemCount,
43510
43515
  inDonutHole: st !== void 0 && od(st)
43511
43516
  }),
43512
43517
  R && I !== null && /* @__PURE__ */ v(E, {
@@ -43526,7 +43531,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43526
43531
  }, Tpe = (e) => e.graph().resolve(), Mpe = (e) => e.heading.h1().resolve(), Epe = (e) => e.heading.h2().resolve(), kpe = (e) => e.caption().resolve(), Ppe = (e) => ({
43527
43532
  label: e.source().resolve(),
43528
43533
  link: e.source.link().resolve()
43529
- }), m0e = (e) => {
43534
+ }), p0e = (e) => {
43530
43535
  const t = se(pg), r = mg();
43531
43536
  return G(() => e || (t ? {
43532
43537
  commands: t.commands,
@@ -43544,11 +43549,11 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43544
43549
  t,
43545
43550
  r
43546
43551
  ]);
43547
- }, p0e = (e) => S1(e.subscribe, e.getScene, e.getScene), g0e = () => {
43548
- const { commands: e } = yt();
43552
+ }, g0e = (e) => S1(e.subscribe, e.getScene, e.getScene), v0e = () => {
43553
+ const { commands: e } = ft();
43549
43554
  return e;
43550
- }, v0e = () => {
43551
- const { history: e } = yt(), { stack: t, undo: r, redo: n } = e, i = Re((s) => t.subscribe(s), [t]), o = Re(() => t.getSnapshot(), [t]), a = S1(i, o, o);
43555
+ }, y0e = () => {
43556
+ const { history: e } = ft(), { stack: t, undo: r, redo: n } = e, i = Re((s) => t.subscribe(s), [t]), o = Re(() => t.getSnapshot(), [t]), a = S1(i, o, o);
43552
43557
  return G(() => ({
43553
43558
  ...a,
43554
43559
  undo: r,
@@ -43573,7 +43578,7 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43573
43578
  "range",
43574
43579
  "reset",
43575
43580
  "submit"
43576
- ]), y0e = (e, t = {}) => {
43581
+ ]), b0e = (e, t = {}) => {
43577
43582
  const { target: r, enabled: n = !0 } = t;
43578
43583
  ge(() => {
43579
43584
  const i = Ipe(r);
@@ -43591,8 +43596,8 @@ var bpe = [], xpe = ({ graphChrome: e, editable: t, mode: r, style: n, contentRe
43591
43596
  r,
43592
43597
  n
43593
43598
  ]);
43594
- }, Ipe = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Rpe = (e) => "key" in e, Lpe = (e) => e instanceof HTMLInputElement ? !Cpe.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, b0e = () => {
43595
- const { targetBoundaryStore: e } = yt();
43599
+ }, Ipe = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Rpe = (e) => "key" in e, Lpe = (e) => e instanceof HTMLInputElement ? !Cpe.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, x0e = () => {
43600
+ const { targetBoundaryStore: e } = ft();
43596
43601
  return En(e, (t) => t.boundary);
43597
43602
  };
43598
43603
  function $R(e) {
@@ -43633,7 +43638,7 @@ var Ope = (e) => [...new Set(e)], Npe = (e) => ({
43633
43638
  stickers: e.stickers.length,
43634
43639
  pinnedNumbers: e.pinnedNumbers.length,
43635
43640
  comments: e.comments.length
43636
- }), Bpe = "https://3b76a42331a1e27a2adb223278bf1b48@o4505108638597120.ingest.us.sentry.io/4512260250992640", Fpe = "1.9.0-beta.1793016307126", Vpe = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
43641
+ }), Bpe = "https://3b76a42331a1e27a2adb223278bf1b48@o4505108638597120.ingest.us.sentry.io/4512260250992640", Fpe = "1.9.0-beta.1793022188121", Vpe = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
43637
43642
  function WR() {
43638
43643
  return Bpe;
43639
43644
  }
@@ -43655,14 +43660,14 @@ function Gpe(e, t = {}) {
43655
43660
  try {
43656
43661
  const r = t.dsn ?? WR(), n = UR(r);
43657
43662
  if (!n) return;
43658
- const i = t.version ?? Fpe, o = t.fetchImpl ?? fetch, a = Upe(), s = Wpe(e, r, i, a), l = o($pe(n, i), {
43663
+ const i = t.version ?? Fpe, o = t.fetchImpl ?? fetch, a = t.hostname ?? Wpe(), s = jpe(), l = Upe(e, r, i, s, a), c = o($pe(n, i), {
43659
43664
  method: "POST",
43660
- body: s,
43665
+ body: l,
43661
43666
  keepalive: !0,
43662
43667
  credentials: "omit",
43663
43668
  headers: { "Content-Type": "text/plain;charset=UTF-8" }
43664
43669
  });
43665
- Promise.resolve(l).catch(() => {
43670
+ Promise.resolve(c).catch(() => {
43666
43671
  });
43667
43672
  } catch {
43668
43673
  }
@@ -43670,12 +43675,12 @@ function Gpe(e, t = {}) {
43670
43675
  var $pe = (e, t) => {
43671
43676
  const r = encodeURIComponent(e.publicKey), n = encodeURIComponent(`graphy-react/${t}`);
43672
43677
  return `${e.protocol}://${e.host}/api/${e.projectId}/envelope/?sentry_version=7&sentry_key=${r}&sentry_client=${n}`;
43673
- }, Wpe = (e, t, r, n) => {
43674
- const i = {
43678
+ }, Wpe = () => typeof window > "u" ? "" : window.location.hostname, Upe = (e, t, r, n, i) => {
43679
+ const o = {
43675
43680
  event_id: n,
43676
43681
  dsn: t,
43677
43682
  sent_at: (/* @__PURE__ */ new Date()).toISOString()
43678
- }, o = { type: "event" }, a = {
43683
+ }, a = { type: "event" }, s = {
43679
43684
  event_id: n,
43680
43685
  timestamp: Date.now() / 1e3,
43681
43686
  platform: "javascript",
@@ -43687,13 +43692,14 @@ var $pe = (e, t) => {
43687
43692
  name: "graphy.react",
43688
43693
  version: r
43689
43694
  },
43695
+ ...i ? { tags: { hostname: i } } : {},
43690
43696
  extra: { chart: e }
43691
43697
  };
43692
- return `${JSON.stringify(i)}
43693
- ${JSON.stringify(o)}
43698
+ return `${JSON.stringify(o)}
43694
43699
  ${JSON.stringify(a)}
43700
+ ${JSON.stringify(s)}
43695
43701
  `;
43696
- }, Upe = () => crypto.randomUUID().replace(/-/g, ""), jpe = (e, t) => {
43702
+ }, jpe = () => crypto.randomUUID().replace(/-/g, ""), zpe = (e, t) => {
43697
43703
  if (typeof e == "function") {
43698
43704
  e(t);
43699
43705
  return;
@@ -43724,11 +43730,11 @@ function jR(e, t) {
43724
43730
  l
43725
43731
  ]);
43726
43732
  const c = Re((u) => {
43727
- jpe(e, u), r.current = u;
43733
+ zpe(e, u), r.current = u;
43728
43734
  }, [e]);
43729
43735
  return l ? c : e;
43730
43736
  }
43731
- var x0e = ({ telemetry: e, handleRef: t, spec: r, ...n }) => {
43737
+ var w0e = ({ telemetry: e, handleRef: t, spec: r, ...n }) => {
43732
43738
  const i = G(() => $R(r), [r]), o = jR(t, e);
43733
43739
  return /* @__PURE__ */ v(cI, {
43734
43740
  ...n,
@@ -43736,7 +43742,7 @@ var x0e = ({ telemetry: e, handleRef: t, spec: r, ...n }) => {
43736
43742
  handleRef: o
43737
43743
  });
43738
43744
  };
43739
- function w0e(e = {}) {
43745
+ function A0e(e = {}) {
43740
43746
  const t = nae(e), r = t.GraphProvider;
43741
43747
  return {
43742
43748
  ...t,
@@ -43764,20 +43770,20 @@ export {
43764
43770
  Cde as DefaultHeader,
43765
43771
  Fie as DefaultSwatch,
43766
43772
  iue as DefaultTooltip,
43767
- l0e as DevToolsPanel,
43773
+ c0e as DevToolsPanel,
43768
43774
  aG as GEOM_EFFECTS_VOCABULARY,
43769
43775
  Sn as GRAPH_MODES,
43770
43776
  we as GROUP_VARIABLES,
43771
43777
  cn as Geom,
43772
- t0e as GeomCircle,
43773
- r0e as GeomLine,
43774
- Zye as GeomOverpaint,
43775
- i0e as GeomPath,
43776
- n0e as GeomRect,
43778
+ r0e as GeomCircle,
43779
+ n0e as GeomLine,
43780
+ e0e as GeomOverpaint,
43781
+ o0e as GeomPath,
43782
+ i0e as GeomRect,
43777
43783
  Qq as GraphErrorBoundary,
43778
43784
  Tx as GraphErrorPanel,
43779
- x0e as GraphProvider,
43780
- f0e as GraphRenderer,
43785
+ w0e as GraphProvider,
43786
+ m0e as GraphRenderer,
43781
43787
  sae as HoverProvider,
43782
43788
  ioe as IntroFade,
43783
43789
  mC as IntroWipeClip,
@@ -43785,8 +43791,8 @@ export {
43785
43791
  oo as Stat,
43786
43792
  die as TextMeasurerProvider,
43787
43793
  kce as ThemeProvider,
43788
- a0e as UnitBoxSvg,
43789
- o0e as UnitSpaceSvg,
43794
+ s0e as UnitBoxSvg,
43795
+ a0e as UnitSpaceSvg,
43790
43796
  Ke as UserInputError,
43791
43797
  Tn as VISUAL_VARIABLES,
43792
43798
  Aj as annotation,
@@ -43798,31 +43804,31 @@ export {
43798
43804
  b8 as coord,
43799
43805
  rg as createAreaPathGenerators,
43800
43806
  pp as createBarBoundsReader,
43801
- w0e as createGraphyKit,
43807
+ A0e as createGraphyKit,
43802
43808
  d9 as createLineFillAreaGenerator,
43803
43809
  ig as createLinePathGenerator,
43804
43810
  S8 as createSpec,
43805
- Qge as createStableBandKeyGenerator,
43811
+ Jge as createStableBandKeyGenerator,
43806
43812
  C9 as createStableCellKeyGenerator,
43807
43813
  er as createStableKeyGenerator,
43808
43814
  eP as createStyleResolver,
43809
43815
  dt as createValueFormatter,
43810
43816
  Mce as darkTheme,
43811
- Qye as defineGeomRenderer,
43812
- Ige as defineGeomStyleTarget,
43817
+ Jye as defineGeomRenderer,
43818
+ Rge as defineGeomStyleTarget,
43813
43819
  L9 as findAttachedHit,
43814
43820
  qF as geom,
43815
43821
  yp as getAlpha,
43816
43822
  vp as getAngleExtent,
43817
43823
  Ls as getBarRectBounds,
43818
- Jye as getBuiltInEditOutlineShapes,
43824
+ Zye as getBuiltInEditOutlineShapes,
43819
43825
  nM as getColor,
43820
43826
  Zt as getGroup,
43821
43827
  to as getGroupVariables,
43822
43828
  iM as getLineType,
43823
43829
  qu as getPaintedTileRect,
43824
43830
  Xu as getRadiusExtent,
43825
- ege as getScaledAesthetic,
43831
+ tge as getScaledAesthetic,
43826
43832
  bp as getSize,
43827
43833
  ZT as getStackRole,
43828
43834
  k$ as getStrokeWidth,
@@ -43838,7 +43844,7 @@ export {
43838
43844
  j1 as getYRaw,
43839
43845
  x8 as highlight,
43840
43846
  ZI as lightTheme,
43841
- qye as lightenCss,
43847
+ Qye as lightenCss,
43842
43848
  w8 as mapping,
43843
43849
  T8 as pipe,
43844
43850
  Xr as polarToUnit,
@@ -43850,7 +43856,7 @@ export {
43850
43856
  wt as readGeomEffects,
43851
43857
  ai as readMainAxis,
43852
43858
  ts as readPositionPixels,
43853
- e0e as readRectPixels,
43859
+ t0e as readRectPixels,
43854
43860
  K as readVariableName,
43855
43861
  al as resolveAnchoredLabelCenter,
43856
43862
  sl as resolveBarCornerRadiusPx,
@@ -43863,36 +43869,36 @@ export {
43863
43869
  TR as stampGridEditTarget,
43864
43870
  Mv as stampLegendEditTarget,
43865
43871
  k8 as stat,
43866
- zge as style,
43872
+ Yge as style,
43867
43873
  lE as styles,
43868
43874
  He as toPaintColor,
43869
43875
  Z as toPercent,
43870
43876
  so as toStrokeDasharray,
43871
- Yge as toViewBoxX,
43877
+ Kge as toViewBoxX,
43872
43878
  Tr as toViewBoxY,
43873
43879
  re as token,
43874
43880
  D8 as transform,
43875
- s0e as useElementScreenRect,
43881
+ l0e as useElementScreenRect,
43876
43882
  lae as useGeomHitTest,
43877
43883
  bae as useGeomHover,
43878
43884
  vC as useGeomPanelSize,
43879
43885
  co as useGeomReaderTree,
43880
43886
  Be as useGeomStyleReader,
43881
- g0e as useGraphCommands,
43882
- m0e as useGraphHandle,
43883
- v0e as useGraphHistory,
43884
- y0e as useGraphHistoryShortcuts,
43887
+ v0e as useGraphCommands,
43888
+ p0e as useGraphHandle,
43889
+ y0e as useGraphHistory,
43890
+ b0e as useGraphHistoryShortcuts,
43885
43891
  Cue as useGraphLocale,
43886
43892
  Tfe as useGraphSelection,
43887
43893
  pi as useGuidesTakePress,
43888
- p0e as useHandleScene,
43894
+ g0e as useHandleScene,
43889
43895
  Ko as useHoverState,
43890
43896
  mr as usePaintDefs,
43891
43897
  ue as useResolvedStyle,
43892
43898
  me as useSceneSelector,
43893
43899
  ke as useStyleReaderTree,
43894
43900
  sP as useStyleResolver,
43895
- b0e as useTargetBoundary,
43901
+ x0e as useTargetBoundary,
43896
43902
  di as useTextMeasurer,
43897
43903
  B as vars
43898
43904
  };