@graphysdk/react 1.9.0-beta.1790717670997 → 1.9.0-beta.1790717902028

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.
@@ -202,7 +202,7 @@ function m1(e, t) {
202
202
  const r = ze(e);
203
203
  return isNaN(t) ? Je(e, NaN) : (t && r.setDate(r.getDate() + t), r);
204
204
  }
205
- var oC = 365.2425, sC = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, rhe = -sC, p1 = 6048e5, lC = 864e5, cC = 6e4, uC = 36e5, dC = 1e3, hC = 3600, g1 = hC * 24, nhe = g1 * 7, fC = g1 * oC, mC = fC / 12, ihe = mC * 3, pC = {};
205
+ var oC = 365.2425, sC = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, the = -sC, p1 = 6048e5, lC = 864e5, cC = 6e4, uC = 36e5, dC = 1e3, hC = 3600, g1 = hC * 24, rhe = g1 * 7, fC = g1 * oC, mC = fC / 12, nhe = mC * 3, pC = {};
206
206
  function Cs() {
207
207
  return pC;
208
208
  }
@@ -2388,7 +2388,7 @@ var It = (e) => e instanceof Date && Gt(e), cR = (e) => It(e) || e === null, qc
2388
2388
  }, M1 = (e, t) => {
2389
2389
  const { x: r, y: n } = qf(e, t);
2390
2390
  return Xf(r, n);
2391
- }, E1 = "\0graphy\0_", Le = (e) => `${E1}${e}`, Di = { x: Le("constantX") }, ahe = {
2391
+ }, E1 = "\0graphy\0_", Le = (e) => `${E1}${e}`, Di = { x: Le("constantX") }, ihe = {
2392
2392
  bar: Le("barSeriesLabel"),
2393
2393
  line: Le("lineSeriesLabel")
2394
2394
  }, Wn = {
@@ -2412,7 +2412,7 @@ var It = (e) => e instanceof Date && Gt(e), cR = (e) => It(e) || e === null, qc
2412
2412
  }, No = {
2413
2413
  y: Le("ruleY"),
2414
2414
  x: Le("ruleX")
2415
- }, ohe = {
2415
+ }, ahe = {
2416
2416
  ...Di,
2417
2417
  ...Wn,
2418
2418
  ...we,
@@ -2442,7 +2442,7 @@ function it(e) {
2442
2442
  function P1(e) {
2443
2443
  return e[V.yRaw];
2444
2444
  }
2445
- function she(e, t) {
2445
+ function ohe(e, t) {
2446
2446
  return e[k1(t)];
2447
2447
  }
2448
2448
  var gR = {
@@ -5752,7 +5752,7 @@ mc.every = function(e) {
5752
5752
  return (r - t) / e;
5753
5753
  }) : mc;
5754
5754
  };
5755
- var lhe = mc.range, vn = 1e3, lr = vn * 60, yn = lr * 60, Vi = yn * 24, hm = Vi * 7, kv = Vi * 30, vd = Vi * 365, Aa = ht(function(e) {
5755
+ var she = mc.range, vn = 1e3, lr = vn * 60, yn = lr * 60, Vi = yn * 24, hm = Vi * 7, kv = Vi * 30, vd = Vi * 365, Aa = ht(function(e) {
5756
5756
  e.setTime(e - e.getMilliseconds());
5757
5757
  }, function(e, t) {
5758
5758
  e.setTime(+e + t * vn);
@@ -5760,7 +5760,7 @@ var lhe = mc.range, vn = 1e3, lr = vn * 60, yn = lr * 60, Vi = yn * 24, hm = Vi
5760
5760
  return (t - e) / vn;
5761
5761
  }, function(e) {
5762
5762
  return e.getUTCSeconds();
5763
- }), che = Aa.range, WA = ht(function(e) {
5763
+ }), lhe = Aa.range, WA = ht(function(e) {
5764
5764
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * vn);
5765
5765
  }, function(e, t) {
5766
5766
  e.setTime(+e + t * lr);
@@ -5768,7 +5768,7 @@ var lhe = mc.range, vn = 1e3, lr = vn * 60, yn = lr * 60, Vi = yn * 24, hm = Vi
5768
5768
  return (t - e) / lr;
5769
5769
  }, function(e) {
5770
5770
  return e.getMinutes();
5771
- }), uhe = WA.range, UA = ht(function(e) {
5771
+ }), che = WA.range, UA = ht(function(e) {
5772
5772
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * vn - e.getMinutes() * lr);
5773
5773
  }, function(e, t) {
5774
5774
  e.setTime(+e + t * yn);
@@ -5776,7 +5776,7 @@ var lhe = mc.range, vn = 1e3, lr = vn * 60, yn = lr * 60, Vi = yn * 24, hm = Vi
5776
5776
  return (t - e) / yn;
5777
5777
  }, function(e) {
5778
5778
  return e.getHours();
5779
- }), dhe = UA.range, uu = ht((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lr) / Vi, (e) => e.getDate() - 1), hhe = uu.range;
5779
+ }), uhe = UA.range, uu = ht((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lr) / Vi, (e) => e.getDate() - 1), dhe = uu.range;
5780
5780
  function Ji(e) {
5781
5781
  return ht(function(t) {
5782
5782
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
@@ -5786,7 +5786,7 @@ function Ji(e) {
5786
5786
  return (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * lr) / hm;
5787
5787
  });
5788
5788
  }
5789
- var fm = Ji(0), pc = Ji(1), a5 = Ji(2), o5 = Ji(3), Ka = Ji(4), s5 = Ji(5), l5 = Ji(6), fhe = fm.range, mhe = pc.range, phe = a5.range, ghe = o5.range, vhe = Ka.range, yhe = s5.range, bhe = l5.range, jA = ht(function(e) {
5789
+ var fm = Ji(0), pc = Ji(1), a5 = Ji(2), o5 = Ji(3), Ka = Ji(4), s5 = Ji(5), l5 = Ji(6), hhe = fm.range, fhe = pc.range, mhe = a5.range, phe = o5.range, ghe = Ka.range, vhe = s5.range, yhe = l5.range, jA = ht(function(e) {
5790
5790
  e.setDate(1), e.setHours(0, 0, 0, 0);
5791
5791
  }, function(e, t) {
5792
5792
  e.setMonth(e.getMonth() + t);
@@ -5794,7 +5794,7 @@ var fm = Ji(0), pc = Ji(1), a5 = Ji(2), o5 = Ji(3), Ka = Ji(4), s5 = Ji(5), l5 =
5794
5794
  return t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12;
5795
5795
  }, function(e) {
5796
5796
  return e.getMonth();
5797
- }), xhe = jA.range, zn = ht(function(e) {
5797
+ }), bhe = jA.range, zn = ht(function(e) {
5798
5798
  e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
5799
5799
  }, function(e, t) {
5800
5800
  e.setFullYear(e.getFullYear() + t);
@@ -5810,7 +5810,7 @@ zn.every = function(e) {
5810
5810
  t.setFullYear(t.getFullYear() + r * e);
5811
5811
  });
5812
5812
  };
5813
- var whe = zn.range, mm = ht(function(e) {
5813
+ var xhe = zn.range, mm = ht(function(e) {
5814
5814
  e.setUTCSeconds(0, 0);
5815
5815
  }, function(e, t) {
5816
5816
  e.setTime(+e + t * lr);
@@ -5818,7 +5818,7 @@ var whe = zn.range, mm = ht(function(e) {
5818
5818
  return (t - e) / lr;
5819
5819
  }, function(e) {
5820
5820
  return e.getUTCMinutes();
5821
- }), Ahe = mm.range, du = ht(function(e) {
5821
+ }), whe = mm.range, du = ht(function(e) {
5822
5822
  e.setUTCMinutes(0, 0, 0);
5823
5823
  }, function(e, t) {
5824
5824
  e.setTime(+e + t * yn);
@@ -5826,7 +5826,7 @@ var whe = zn.range, mm = ht(function(e) {
5826
5826
  return (t - e) / yn;
5827
5827
  }, function(e) {
5828
5828
  return e.getUTCHours();
5829
- }), She = du.range, ao = ht(function(e) {
5829
+ }), Ahe = du.range, ao = ht(function(e) {
5830
5830
  e.setUTCHours(0, 0, 0, 0);
5831
5831
  }, function(e, t) {
5832
5832
  e.setUTCDate(e.getUTCDate() + t);
@@ -5834,7 +5834,7 @@ var whe = zn.range, mm = ht(function(e) {
5834
5834
  return (t - e) / Vi;
5835
5835
  }, function(e) {
5836
5836
  return e.getUTCDate() - 1;
5837
- }), The = ao.range;
5837
+ }), She = ao.range;
5838
5838
  function Zi(e) {
5839
5839
  return ht(function(t) {
5840
5840
  t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -5844,7 +5844,7 @@ function Zi(e) {
5844
5844
  return (r - t) / hm;
5845
5845
  });
5846
5846
  }
5847
- var hu = Zi(0), cs = Zi(1), c5 = Zi(2), u5 = Zi(3), Xa = Zi(4), d5 = Zi(5), h5 = Zi(6), Mhe = hu.range, Ehe = cs.range, khe = c5.range, Phe = u5.range, _he = Xa.range, Che = d5.range, Ihe = h5.range, fu = ht(function(e) {
5847
+ var hu = Zi(0), cs = Zi(1), c5 = Zi(2), u5 = Zi(3), Xa = Zi(4), d5 = Zi(5), h5 = Zi(6), The = hu.range, Mhe = cs.range, Ehe = c5.range, khe = u5.range, Phe = Xa.range, _he = d5.range, Che = h5.range, fu = ht(function(e) {
5848
5848
  e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
5849
5849
  }, function(e, t) {
5850
5850
  e.setUTCMonth(e.getUTCMonth() + t);
@@ -5852,7 +5852,7 @@ var hu = Zi(0), cs = Zi(1), c5 = Zi(2), u5 = Zi(3), Xa = Zi(4), d5 = Zi(5), h5 =
5852
5852
  return t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12;
5853
5853
  }, function(e) {
5854
5854
  return e.getUTCMonth();
5855
- }), Rhe = fu.range, nn = ht(function(e) {
5855
+ }), Ihe = fu.range, nn = ht(function(e) {
5856
5856
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
5857
5857
  }, function(e, t) {
5858
5858
  e.setUTCFullYear(e.getUTCFullYear() + t);
@@ -5868,7 +5868,7 @@ nn.every = function(e) {
5868
5868
  t.setUTCFullYear(t.getUTCFullYear() + r * e);
5869
5869
  });
5870
5870
  };
5871
- var Lhe = nn.range;
5871
+ var Rhe = nn.range;
5872
5872
  function $A(e, t) {
5873
5873
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
5874
5874
  }
@@ -5906,7 +5906,7 @@ function f5(e) {
5906
5906
  function m5(e) {
5907
5907
  return e === null ? NaN : +e;
5908
5908
  }
5909
- var zA = pm($A), p5 = zA.right, Dhe = zA.left, Ohe = pm(m5).center, Pv = class extends Map {
5909
+ var zA = pm($A), p5 = zA.right, Lhe = zA.left, Dhe = pm(m5).center, Pv = class extends Map {
5910
5910
  constructor(e, t = y5) {
5911
5911
  if (super(), Object.defineProperties(this, {
5912
5912
  _intern: { value: /* @__PURE__ */ new Map() },
@@ -6077,7 +6077,7 @@ function KA(e, t, r, n, i, a) {
6077
6077
  }
6078
6078
  return [s, l];
6079
6079
  }
6080
- var [x5, w5] = KA(nn, fu, hu, ao, du, mm), [Nhe, Bhe] = KA(zn, jA, fm, uu, UA, WA), A5 = [
6080
+ var [x5, w5] = KA(nn, fu, hu, ao, du, mm), [Ohe, Nhe] = KA(zn, jA, fm, uu, UA, WA), A5 = [
6081
6081
  {
6082
6082
  unit: "year",
6083
6083
  step: 1e3
@@ -8845,7 +8845,7 @@ var T3 = /* @__PURE__ */ new Set(["label", "group"]), M3 = class {
8845
8845
  return d;
8846
8846
  }
8847
8847
  };
8848
- function Fhe(e) {
8848
+ function Bhe(e) {
8849
8849
  return e;
8850
8850
  }
8851
8851
  var E3 = (e) => e.observation?.aesthetics ?? ke.geom.aesthetics, bS = (e) => e.observation?.sharedPaint === !1 ? { ...e.observation.vocabulary } : {
@@ -11565,7 +11565,7 @@ function XS(e) {
11565
11565
  };
11566
11566
  };
11567
11567
  }
11568
- var m6 = XS(u6), Vhe = XS(d6);
11568
+ var m6 = XS(u6), Fhe = XS(d6);
11569
11569
  function p6(e, t) {
11570
11570
  t || (t = []);
11571
11571
  var r = e ? Math.min(t.length, e.length) : 0, n = t.slice(), i;
@@ -11646,7 +11646,7 @@ function qS(e) {
11646
11646
  };
11647
11647
  };
11648
11648
  }
11649
- var T6 = qS(KS), Hhe = qS(Ht);
11649
+ var T6 = qS(KS), Vhe = qS(Ht);
11650
11650
  function M6(e, t) {
11651
11651
  var r = Ht((e = Bh(e)).l, (t = Bh(t)).l), n = Ht(e.a, t.a), i = Ht(e.b, t.b), a = Ht(e.opacity, t.opacity);
11652
11652
  return function(o) {
@@ -11661,7 +11661,7 @@ function QS(e) {
11661
11661
  };
11662
11662
  };
11663
11663
  }
11664
- var E6 = QS(KS), Ghe = QS(Ht);
11664
+ var E6 = QS(KS), Hhe = QS(Ht);
11665
11665
  function by(e, t) {
11666
11666
  t === void 0 && (t = e, e = Au);
11667
11667
  for (var r = 0, n = t.length - 1, i = t[0], a = new Array(n < 0 ? 0 : n); r < n; ) a[r] = e(i, i = t[++r]);
@@ -14893,7 +14893,7 @@ function Bm(e) {
14893
14893
  declarations: i
14894
14894
  }), t);
14895
14895
  }
14896
- var cr = (e) => Object.keys(e.children ?? {}), O7 = cr(ke.dataLabel), Whe = cr(ke.panelBorder), Uhe = cr(ke.tooltip), jhe = cr(ke.source), $he = cr(ke.heading), zhe = cr(ke.editOutline), Yhe = cr(ke.legendItem), Khe = cr(ke.annotation), Xhe = {
14896
+ var cr = (e) => Object.keys(e.children ?? {}), O7 = cr(ke.dataLabel), Ghe = cr(ke.panelBorder), Whe = cr(ke.tooltip), Uhe = cr(ke.source), jhe = cr(ke.heading), $he = cr(ke.editOutline), zhe = cr(ke.legendItem), Yhe = cr(ke.annotation), Khe = {
14897
14897
  arrow: cr(ke.annotation.children.arrow),
14898
14898
  differenceArrow: cr(ke.annotation.children.differenceArrow),
14899
14899
  pinnedNumber: cr(ke.annotation.children.pinnedNumber),
@@ -14905,7 +14905,7 @@ var cr = (e) => Object.keys(e.children ?? {}), O7 = cr(ke.dataLabel), Whe = cr(k
14905
14905
  for (const s of Object.values(a.children ?? {})) i(s);
14906
14906
  };
14907
14907
  return i(e), r;
14908
- }, N7 = Fm(ke.dataLabel, "position"), qhe = Fm(ke.headlineItem, "part"), Qhe = Fm(ke.legend, "part");
14908
+ }, N7 = Fm(ke.dataLabel, "position"), Xhe = Fm(ke.headlineItem, "part"), qhe = Fm(ke.legend, "part");
14909
14909
  function B7(e) {
14910
14910
  return new Set(e.options ?? []);
14911
14911
  }
@@ -16179,7 +16179,7 @@ function U9(e) {
16179
16179
  options: e
16180
16180
  };
16181
16181
  }
16182
- var Jhe = NT().style;
16182
+ var Qhe = NT().style;
16183
16183
  function NT(e) {
16184
16184
  const t = e?.plugins ?? [], r = z9(t);
16185
16185
  return {
@@ -18696,7 +18696,7 @@ var Kh = [
18696
18696
  }
18697
18697
  return t;
18698
18698
  };
18699
- function Zhe(e) {
18699
+ function Jhe(e) {
18700
18700
  return e;
18701
18701
  }
18702
18702
  function Tr(e) {
@@ -19425,7 +19425,7 @@ function qe(e) {
19425
19425
  };
19426
19426
  }
19427
19427
  var gM = Math.cos, Tc = Math.sin, Rr = Math.sqrt;
19428
- var ys = Math.PI, efe = ys / 2, Cu = 2 * ys, Qh = Math.PI, Jh = 2 * Qh, fi = 1e-6, WU = Jh - fi;
19428
+ var ys = Math.PI, Zhe = ys / 2, Cu = 2 * ys, Qh = Math.PI, Jh = 2 * Qh, fi = 1e-6, WU = Jh - fi;
19429
19429
  function vM(e) {
19430
19430
  this._ += e[0];
19431
19431
  for (let t = 1, r = e.length; t < r; ++t) this._ += arguments[t] + e[t];
@@ -19498,7 +19498,7 @@ function np(e) {
19498
19498
  return e;
19499
19499
  }, () => new rp(t);
19500
19500
  }
19501
- var tfe = Array.prototype.slice;
19501
+ var efe = Array.prototype.slice;
19502
19502
  function yM(e) {
19503
19503
  return typeof e == "object" && "length" in e ? e : Array.from(e);
19504
19504
  }
@@ -19692,7 +19692,7 @@ op.prototype = {
19692
19692
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19693
19693
  }
19694
19694
  };
19695
- var rfe = (function e(t) {
19695
+ var tfe = (function e(t) {
19696
19696
  function r(n) {
19697
19697
  return new op(n, t);
19698
19698
  }
@@ -20083,7 +20083,7 @@ var nj = (function e(t) {
20083
20083
  const a = tr(i) ?? "default", o = n(i);
20084
20084
  return `${r}-${a}${o !== null && o !== "" ? `-${o}` : ""}`;
20085
20085
  };
20086
- }, nfe = (e, t, r) => {
20086
+ }, rfe = (e, t, r) => {
20087
20087
  const n = Rs(e, t);
20088
20088
  return (i) => {
20089
20089
  const a = n(i);
@@ -20702,7 +20702,7 @@ function Il(e, t, r, n, i, a) {
20702
20702
  const o = (t - a) * (r - i), s = (e - i) * (n - a), l = o - s, c = Math.abs(o + s);
20703
20703
  return Math.abs(l) >= i$ * c ? l : -s$(e, t, r, n, i, a, c);
20704
20704
  }
20705
- var ife = (7 + 56 * _e) * _e, afe = (3 + 28 * _e) * _e, ofe = (26 + 288 * _e) * _e * _e, sfe = z(4), lfe = z(4), cfe = z(4), ufe = z(4), dfe = z(4), hfe = z(4), ffe = z(4), mfe = z(4), pfe = z(4), gfe = z(8), vfe = z(8), yfe = z(8), bfe = z(4), xfe = z(8), wfe = z(8), Afe = z(16), Sfe = z(12), Tfe = z(192), Mfe = z(192), Efe = (10 + 96 * _e) * _e, kfe = (4 + 48 * _e) * _e, Pfe = (44 + 576 * _e) * _e * _e, _fe = z(4), Cfe = z(4), Ife = z(4), Rfe = z(4), Lfe = z(4), Dfe = z(4), Ofe = z(4), Nfe = z(4), Bfe = z(8), Ffe = z(8), Vfe = z(8), Hfe = z(8), Gfe = z(8), Wfe = z(8), Ufe = z(8), jfe = z(8), $fe = z(8), zfe = z(4), Yfe = z(4), Kfe = z(4), Xfe = z(8), qfe = z(16), Qfe = z(16), Jfe = z(16), Zfe = z(32), eme = z(32), tme = z(48), rme = z(64), nme = z(1152), ime = z(1152), ame = (16 + 224 * _e) * _e, ome = (5 + 72 * _e) * _e, sme = (71 + 1408 * _e) * _e * _e, lme = z(4), cme = z(4), ume = z(4), dme = z(4), hme = z(4), fme = z(4), mme = z(4), pme = z(4), gme = z(4), vme = z(4), yme = z(24), bme = z(24), xme = z(24), wme = z(24), Ame = z(24), Sme = z(24), Tme = z(24), Mme = z(24), Eme = z(24), kme = z(24), Pme = z(1152), _me = z(1152), Cme = z(1152), Ime = z(1152), Rme = z(1152), Lme = z(2304), Dme = z(2304), Ome = z(3456), Nme = z(5760), Bme = z(8), Fme = z(8), Vme = z(8), Hme = z(16), Gme = z(24), Wme = z(48), Ume = z(48), jme = z(96), $me = z(192), zme = z(384), Yme = z(384), Kme = z(384), Xme = z(768), qme = z(96), Qme = z(96), Jme = z(96), Zme = z(1152), B0 = Math.pow(2, -52), Rl = /* @__PURE__ */ new Uint32Array(512), F0 = class $M {
20705
+ var nfe = (7 + 56 * _e) * _e, ife = (3 + 28 * _e) * _e, afe = (26 + 288 * _e) * _e * _e, ofe = z(4), sfe = z(4), lfe = z(4), cfe = z(4), ufe = z(4), dfe = z(4), hfe = z(4), ffe = z(4), mfe = z(4), pfe = z(8), gfe = z(8), vfe = z(8), yfe = z(4), bfe = z(8), xfe = z(8), wfe = z(16), Afe = z(12), Sfe = z(192), Tfe = z(192), Mfe = (10 + 96 * _e) * _e, Efe = (4 + 48 * _e) * _e, kfe = (44 + 576 * _e) * _e * _e, Pfe = z(4), _fe = z(4), Cfe = z(4), Ife = z(4), Rfe = z(4), Lfe = z(4), Dfe = z(4), Ofe = z(4), Nfe = z(8), Bfe = z(8), Ffe = z(8), Vfe = z(8), Hfe = z(8), Gfe = z(8), Wfe = z(8), Ufe = z(8), jfe = z(8), $fe = z(4), zfe = z(4), Yfe = z(4), Kfe = z(8), Xfe = z(16), qfe = z(16), Qfe = z(16), Jfe = z(32), Zfe = z(32), eme = z(48), tme = z(64), rme = z(1152), nme = z(1152), ime = (16 + 224 * _e) * _e, ame = (5 + 72 * _e) * _e, ome = (71 + 1408 * _e) * _e * _e, sme = z(4), lme = z(4), cme = z(4), ume = z(4), dme = z(4), hme = z(4), fme = z(4), mme = z(4), pme = z(4), gme = z(4), vme = z(24), yme = z(24), bme = z(24), xme = z(24), wme = z(24), Ame = z(24), Sme = z(24), Tme = z(24), Mme = z(24), Eme = z(24), kme = z(1152), Pme = z(1152), _me = z(1152), Cme = z(1152), Ime = z(1152), Rme = z(2304), Lme = z(2304), Dme = z(3456), Ome = z(5760), Nme = z(8), Bme = z(8), Fme = z(8), Vme = z(16), Hme = z(24), Gme = z(48), Wme = z(48), Ume = z(96), jme = z(192), $me = z(384), zme = z(384), Yme = z(384), Kme = z(768), Xme = z(96), qme = z(96), Qme = z(96), Jme = z(1152), B0 = Math.pow(2, -52), Rl = /* @__PURE__ */ new Uint32Array(512), F0 = class $M {
20706
20706
  static from(t, r = h$, n = f$) {
20707
20707
  const i = t.length, a = new Float64Array(i * 2);
20708
20708
  for (let o = 0; o < i; o++) {
@@ -25661,7 +25661,7 @@ var gk = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
25661
25661
  function nq(e) {
25662
25662
  return bE(e) && "offsetHeight" in e;
25663
25663
  }
25664
- var { schedule: jp, cancel: epe } = /* @__PURE__ */ OE(queueMicrotask, !1), br = {
25664
+ var { schedule: jp, cancel: Zme } = /* @__PURE__ */ OE(queueMicrotask, !1), br = {
25665
25665
  x: !1,
25666
25666
  y: !1
25667
25667
  };
@@ -30974,7 +30974,7 @@ var O = {
30974
30974
  fontEditorCaption: Me(O.fontWeightMedium, O.fontSizeXxs, O.fontLineHeightXxs)
30975
30975
  }, Dee = xr.sm;
30976
30976
  var Oee = 0.6;
30977
- var Nee = (e, t) => ({ familyDefault: nh(t) ?? nh(e.fontFamily) ?? nh(ju) ?? "" }), nh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), qt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, Bee = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, rpe = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, ih = (e) => `${e}px`, IP = {
30977
+ var Nee = (e, t) => ({ familyDefault: nh(t) ?? nh(e.fontFamily) ?? nh(ju) ?? "" }), nh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), qt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, Bee = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, tpe = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, ih = (e) => `${e}px`, IP = {
30978
30978
  tooltipRowGap: "4px",
30979
30979
  editorControlHeight: ih(32),
30980
30980
  legendSwatchGap: ih(8),
@@ -32716,7 +32716,7 @@ function Ku(e) {
32716
32716
  function Xu(e) {
32717
32717
  return e ? Ku(e.render).overlay : !1;
32718
32718
  }
32719
- function npe(e, t) {
32719
+ function rpe(e, t) {
32720
32720
  return typeof e == "string" ? {
32721
32721
  ...t,
32722
32722
  geom: e
@@ -33177,7 +33177,7 @@ var Wre = (e) => co((t) => ({
33177
33177
  }) : null
33178
33178
  });
33179
33179
  };
33180
- function ipe(e) {
33180
+ function npe(e) {
33181
33181
  const t = NT(e);
33182
33182
  return {
33183
33183
  ...t,
@@ -33396,7 +33396,7 @@ var ane = ({ render: e, input: t }) => {
33396
33396
  pushHover: r,
33397
33397
  panelRect: n
33398
33398
  }
33399
- }), ape = ({ shouldAnimateTransitions: e, cx: t, cy: r, r: n, ...i }) => e ? /* @__PURE__ */ v(Ye.circle, {
33399
+ }), ipe = ({ shouldAnimateTransitions: e, cx: t, cy: r, r: n, ...i }) => e ? /* @__PURE__ */ v(Ye.circle, {
33400
33400
  initial: !1,
33401
33401
  animate: {
33402
33402
  cx: t,
@@ -33410,7 +33410,7 @@ var ane = ({ render: e, input: t }) => {
33410
33410
  cy: r,
33411
33411
  r: n,
33412
33412
  ...i
33413
- }), ope = ({ shouldAnimateTransitions: e, x1: t, y1: r, x2: n, y2: i, ...a }) => e ? /* @__PURE__ */ v(Ye.line, {
33413
+ }), ape = ({ shouldAnimateTransitions: e, x1: t, y1: r, x2: n, y2: i, ...a }) => e ? /* @__PURE__ */ v(Ye.line, {
33414
33414
  initial: !1,
33415
33415
  animate: {
33416
33416
  x1: t,
@@ -33426,7 +33426,7 @@ var ane = ({ render: e, input: t }) => {
33426
33426
  x2: n,
33427
33427
  y2: i,
33428
33428
  ...a
33429
- }), spe = ({ shouldAnimateTransitions: e, x: t, y: r, width: n, height: i, ...a }) => e ? /* @__PURE__ */ v(Ye.rect, {
33429
+ }), ope = ({ shouldAnimateTransitions: e, x: t, y: r, width: n, height: i, ...a }) => e ? /* @__PURE__ */ v(Ye.rect, {
33430
33430
  initial: !1,
33431
33431
  animate: {
33432
33432
  attrX: t,
@@ -33442,7 +33442,7 @@ var ane = ({ render: e, input: t }) => {
33442
33442
  width: n,
33443
33443
  height: i,
33444
33444
  ...a
33445
- }), lpe = ({ shouldAnimateTransitions: e, d: t, source: r, ...n }) => e ? /* @__PURE__ */ v(sne, {
33445
+ }), spe = ({ shouldAnimateTransitions: e, d: t, source: r, ...n }) => e ? /* @__PURE__ */ v(sne, {
33446
33446
  d: t,
33447
33447
  source: r,
33448
33448
  ...n
@@ -33455,7 +33455,7 @@ var ane = ({ render: e, input: t }) => {
33455
33455
  d: n,
33456
33456
  ...r
33457
33457
  });
33458
- }, cpe = ({ children: e, ...t }) => /* @__PURE__ */ v("svg", {
33458
+ }, lpe = ({ children: e, ...t }) => /* @__PURE__ */ v("svg", {
33459
33459
  viewBox: "0 0 1 1",
33460
33460
  preserveAspectRatio: "none",
33461
33461
  width: "100%",
@@ -33463,7 +33463,7 @@ var ane = ({ render: e, input: t }) => {
33463
33463
  pointerEvents: "none",
33464
33464
  ...t,
33465
33465
  children: e
33466
- }), upe = ({ box: e, children: t }) => /* @__PURE__ */ v("svg", {
33466
+ }), cpe = ({ box: e, children: t }) => /* @__PURE__ */ v("svg", {
33467
33467
  x: Z(e.x0),
33468
33468
  y: Z(e.y0),
33469
33469
  width: Z(e.x1 - e.x0),
@@ -33497,7 +33497,7 @@ var wne = "dev-tools-panel_theadRow__58flceh", Ane = "dev-tools-panel_historyHea
33497
33497
  ran: "dev-tools-panel_dot_ran__58flceq dev-tools-panel_dotBase__58flcep",
33498
33498
  cached: "dev-tools-panel_dot_cached__58flcer dev-tools-panel_dotBase__58flcep",
33499
33499
  untouched: "dev-tools-panel_dot_untouched__58flces dev-tools-panel_dotBase__58flcep"
33500
- }, dpe = ({ width: e = 440, style: t, className: r } = {}) => {
33500
+ }, upe = ({ width: e = 440, style: t, className: r } = {}) => {
33501
33501
  const { compileBus: n } = St(), [i] = Ee(() => Cre()), [a, o] = Ee(!1), [s, l] = Ee(yN);
33502
33502
  ye(() => {
33503
33503
  const { recordCompile: f } = i.getState(), p = n.getLastTrigger(), g = n.getLastCompile();
@@ -36700,7 +36700,7 @@ var Xie = /* @__PURE__ */ on(((e) => {
36700
36700
  return g;
36701
36701
  }
36702
36702
  t.exports = p;
36703
- })), ww = /* @__PURE__ */ u1(Qie(), 1), hpe = ww.default ?? ww, Jie = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: fpe, Provider: Zie } = Jie, eae = Zie;
36703
+ })), ww = /* @__PURE__ */ u1(Qie(), 1), dpe = ww.default ?? ww, Jie = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: hpe, Provider: Zie } = Jie, eae = Zie;
36704
36704
  function D2(e) {
36705
36705
  return e && Object.keys(e).reduce((t, r) => {
36706
36706
  const n = e[r];
@@ -38122,7 +38122,8 @@ function ts(e) {
38122
38122
  return Tn(t, e);
38123
38123
  }
38124
38124
  var woe = "tooltip_root__1aumv50";
38125
- var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_swatchPlaceholder__1aumv55", Moe = "tooltip_label__1aumv56", Eoe = "tooltip_value__1aumv57", koe = "tooltip_positioner__1aumv58", Poe = (e) => {
38125
+ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53";
38126
+ var Toe = "tooltip_label__1aumv56", Moe = "tooltip_value__1aumv57", Eoe = "tooltip_positioner__1aumv58", koe = (e) => {
38126
38127
  const { overlayRef: t } = na(), r = de(null), [n, i] = Ee(!1), a = Na(e);
38127
38128
  return ye(() => {
38128
38129
  const o = t.current;
@@ -38142,7 +38143,7 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38142
38143
  cursorRef: r,
38143
38144
  isInside: n
38144
38145
  };
38145
- }, _oe = 24, Coe = 8, Ioe = {
38146
+ }, Poe = 24, _oe = 8, Coe = {
38146
38147
  x: 0,
38147
38148
  y: 0,
38148
38149
  top: 0,
@@ -38154,8 +38155,8 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38154
38155
  toJSON: () => ({})
38155
38156
  }, Gl = {
38156
38157
  boundary: [],
38157
- padding: Coe
38158
- }, Roe = () => {
38158
+ padding: _oe
38159
+ }, Ioe = () => {
38159
38160
  const e = Re(pr((x) => ({
38160
38161
  layers: x.layers,
38161
38162
  coordSystem: x.coordSystem,
@@ -38164,8 +38165,8 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38164
38165
  numberFormat: x.config.numberFormat,
38165
38166
  parsingLocale: x.config.parsingLocale,
38166
38167
  comments: x.annotations.comments
38167
- }))), { formattingLocale: t } = St(), r = Se(), n = ts((x) => x.hover), i = ts((x) => x.tooltipAnchor), a = ts((x) => x.isPointerSuspended), o = jr("Tooltip", Loe), s = de(() => {
38168
- }), { cursorRef: l, isInside: c } = Poe(() => s.current()), u = W(() => Kz({
38168
+ }))), { formattingLocale: t } = St(), r = Se(), n = ts((x) => x.hover), i = ts((x) => x.tooltipAnchor), a = ts((x) => x.isPointerSuspended), o = jr("Tooltip", Roe), s = de(() => {
38169
+ }), { cursorRef: l, isInside: c } = koe(() => s.current()), u = W(() => Kz({
38169
38170
  ...e,
38170
38171
  hover: n,
38171
38172
  readers: r,
@@ -38178,10 +38179,10 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38178
38179
  t,
38179
38180
  i
38180
38181
  ]), d = !a && u !== null && (c || i !== null), h = W(() => ({ getBoundingClientRect: () => {
38181
- if (i !== null) return Noe(i);
38182
+ if (i !== null) return Ooe(i);
38182
38183
  const x = l.current;
38183
- return x === null ? Ioe : Ooe(x);
38184
- } }), [l, i]), { refs: m, floatingStyles: f, update: p } = X2(Boe({
38184
+ return x === null ? Coe : Doe(x);
38185
+ } }), [l, i]), { refs: m, floatingStyles: f, update: p } = X2(Noe({
38185
38186
  isOpen: d,
38186
38187
  tooltipAnchor: i,
38187
38188
  virtualReference: h
@@ -38190,17 +38191,17 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38190
38191
  const g = /* @__PURE__ */ v("div", {
38191
38192
  ref: m.setFloating,
38192
38193
  role: "tooltip",
38193
- className: koe,
38194
+ className: Eoe,
38194
38195
  style: f,
38195
38196
  "data-testid": "chart-tooltip",
38196
38197
  children: /* @__PURE__ */ v(o, { content: u })
38197
38198
  }), y = c2();
38198
38199
  return y ? o1(/* @__PURE__ */ v(uoe, { children: g }), y) : g;
38199
- }, Loe = ({ content: e }) => {
38200
- const t = Pn(), r = Re((c) => c.coordSystem), n = ce(rW, Se()), i = rl([n.box.fill]), a = xt(n.heading), o = xt(n.label), s = xt(n.value), l = { paddingInline: n.box.paddingInline };
38200
+ }, Roe = ({ content: e }) => {
38201
+ const t = Pn(), r = Re((u) => u.coordSystem), n = ce(rW, Se()), i = rl([n.box.fill]), a = xt(n.heading), o = xt(n.label), s = xt(n.value), l = { paddingInline: n.box.paddingInline }, c = e.rows.some((u) => u.swatchColor !== null);
38201
38202
  return /* @__PURE__ */ U("div", {
38202
38203
  className: woe,
38203
- style: Doe(n.box, i(n.box.fill)),
38204
+ style: Loe(n.box, i(n.box.fill)),
38204
38205
  "data-testid": "chart-tooltip-body",
38205
38206
  children: [
38206
38207
  e.comment !== null && /* @__PURE__ */ v("div", {
@@ -38223,29 +38224,30 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38223
38224
  }),
38224
38225
  /* @__PURE__ */ v("div", {
38225
38226
  className: Aoe,
38226
- children: e.rows.map((c) => {
38227
- const u = t(c.geom, r.type);
38228
- return /* @__PURE__ */ v(Foe, {
38229
- row: c,
38230
- swatchShape: u?.swatchShape ?? "square",
38231
- shouldHighlight: c.isPrimary && e.rows.length > 1,
38227
+ children: e.rows.map((u) => {
38228
+ const d = t(u.geom, r.type);
38229
+ return /* @__PURE__ */ v(Boe, {
38230
+ row: u,
38231
+ swatchShape: d?.swatchShape ?? "square",
38232
+ hasSwatches: c,
38233
+ shouldHighlight: u.isPrimary && e.rows.length > 1,
38232
38234
  labelStyle: o,
38233
38235
  valueStyle: s,
38234
38236
  paddingInline: n.box.paddingInline,
38235
38237
  highlightBackground: Be(n.primaryRow.fill)
38236
- }, c.key);
38238
+ }, u.key);
38237
38239
  })
38238
38240
  })
38239
38241
  ]
38240
38242
  });
38241
- }, Doe = (e, t) => ({
38243
+ }, Loe = (e, t) => ({
38242
38244
  ...nd(e.fill, t),
38243
38245
  borderRadius: ll(e.cornerRadius),
38244
38246
  paddingBlock: e.paddingBlock,
38245
38247
  boxShadow: po(e.shadow),
38246
38248
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
38247
38249
  ...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
38248
- }), Ooe = (e) => ({
38250
+ }), Doe = (e) => ({
38249
38251
  x: e.clientX,
38250
38252
  y: e.clientY,
38251
38253
  top: e.clientY,
@@ -38255,7 +38257,7 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38255
38257
  width: 0,
38256
38258
  height: 0,
38257
38259
  toJSON: () => ({})
38258
- }), Noe = (e) => ({
38260
+ }), Ooe = (e) => ({
38259
38261
  x: e.x,
38260
38262
  y: e.y,
38261
38263
  top: e.y,
@@ -38265,7 +38267,7 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38265
38267
  width: 0,
38266
38268
  height: 0,
38267
38269
  toJSON: () => ({})
38268
- }), Boe = ({ isOpen: e, tooltipAnchor: t, virtualReference: r }) => ({
38270
+ }), Noe = ({ isOpen: e, tooltipAnchor: t, virtualReference: r }) => ({
38269
38271
  open: e,
38270
38272
  placement: t !== null ? t.placement : "right",
38271
38273
  middleware: t !== null ? [
@@ -38273,21 +38275,21 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38273
38275
  Wf(Gl),
38274
38276
  Uf(Gl)
38275
38277
  ] : [
38276
- Gf(_oe),
38278
+ Gf(Poe),
38277
38279
  Uf(Gl),
38278
38280
  Wf(Gl)
38279
38281
  ],
38280
38282
  elements: { reference: r }
38281
- }), Foe = ({ row: e, swatchShape: t, shouldHighlight: r, labelStyle: n, valueStyle: i, paddingInline: a, highlightBackground: o }) => /* @__PURE__ */ U("div", {
38283
+ }), Boe = ({ row: e, swatchShape: t, hasSwatches: r, shouldHighlight: n, labelStyle: i, valueStyle: a, paddingInline: o, highlightBackground: s }) => /* @__PURE__ */ U("div", {
38282
38284
  className: Soe,
38283
38285
  style: {
38284
- paddingInline: a,
38285
- ...r ? { backgroundColor: o } : {}
38286
+ paddingInline: o,
38287
+ ...n ? { backgroundColor: s } : {}
38286
38288
  },
38287
38289
  "data-testid": "chart-tooltip-row",
38288
38290
  children: [
38289
- e.swatchColor === null ? /* @__PURE__ */ v("span", {
38290
- className: Toe,
38291
+ e.swatchColor === null ? r && /* @__PURE__ */ v("span", {
38292
+ className: "tooltip_swatchPlaceholder__1aumv55",
38291
38293
  "aria-hidden": !0
38292
38294
  }) : /* @__PURE__ */ v(nl, {
38293
38295
  shape: t,
@@ -38301,14 +38303,14 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38301
38303
  symbol: e.swatchSymbol
38302
38304
  }),
38303
38305
  /* @__PURE__ */ v("span", {
38304
- className: Moe,
38305
- style: n,
38306
+ className: Toe,
38307
+ style: i,
38306
38308
  "data-testid": "chart-tooltip-label",
38307
38309
  children: e.label
38308
38310
  }),
38309
38311
  /* @__PURE__ */ v("span", {
38310
- className: Eoe,
38311
- style: i,
38312
+ className: Moe,
38313
+ style: a,
38312
38314
  "data-testid": "chart-tooltip-value",
38313
38315
  children: e.value
38314
38316
  })
@@ -38317,12 +38319,12 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38317
38319
  plansByLayerId: null,
38318
38320
  coordKey: null,
38319
38321
  introEndsAtMs: 0
38320
- }, Ag = Ke(jf), Voe = ({ intro: e, children: t }) => {
38322
+ }, Ag = Ke(jf), Foe = ({ intro: e, children: t }) => {
38321
38323
  const { layers: r, coordSystem: n, scales: i } = Re(pr((o) => ({
38322
38324
  layers: o.layers,
38323
38325
  coordSystem: o.coordSystem,
38324
38326
  scales: o.scales
38325
- }))), [a] = Ee(() => Woe({
38327
+ }))), [a] = Ee(() => Goe({
38326
38328
  layers: r,
38327
38329
  coordSystem: n,
38328
38330
  scales: i,
@@ -38332,13 +38334,13 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38332
38334
  value: a,
38333
38335
  children: t
38334
38336
  });
38335
- }, Hoe = () => {
38336
- const { introEndsAtMs: e } = he(Ag), [t] = Ee(() => Uoe(e) / 1e3);
38337
+ }, Voe = () => {
38338
+ const { introEndsAtMs: e } = he(Ag), [t] = Ee(() => Woe(e) / 1e3);
38337
38339
  return t;
38338
- }, Goe = (e) => {
38340
+ }, Hoe = (e) => {
38339
38341
  const { plansByLayerId: t, coordKey: r } = he(Ag), n = Re((i) => r_(i.coordSystem));
38340
38342
  return t === null || r !== n ? null : t.get(e) ?? null;
38341
- }, Woe = ({ layers: e, coordSystem: t, scales: r, intro: n }) => {
38343
+ }, Goe = ({ layers: e, coordSystem: t, scales: r, intro: n }) => {
38342
38344
  if (!n.enabled) return jf;
38343
38345
  const i = {
38344
38346
  durationScale: n.durationScale,
@@ -38361,13 +38363,13 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38361
38363
  coordKey: r_(t),
38362
38364
  introEndsAtMs: performance.now() + o * 1e3
38363
38365
  };
38364
- }, Uoe = (e) => Math.max(0, e - performance.now()), r_ = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, n_ = (e) => ({
38366
+ }, Woe = (e) => Math.max(0, e - performance.now()), r_ = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, n_ = (e) => ({
38365
38367
  x: e.axisLabel.x().resolve(),
38366
38368
  y: e.axisLabel.y().resolve()
38367
38369
  }), i_ = (e) => ({
38368
38370
  x: e.tickLine.x().resolve(),
38369
38371
  y: e.tickLine.y().resolve()
38370
- }), joe = (e) => {
38372
+ }), Uoe = (e) => {
38371
38373
  const t = e.graph();
38372
38374
  return f1(Be(t.get("fill")), t.get("alpha") ?? 1);
38373
38375
  }, Sg = (e) => (t, r) => r === void 0 ? e.tickLabel[t]().resolve() : e.tickLabel[r](t).resolve(), id = (e) => {
@@ -38381,7 +38383,7 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38381
38383
  }, a_ = (e) => ({
38382
38384
  gap: e.legend().resolve().gap,
38383
38385
  popover: e.legend.popover().resolve()
38384
- }), Tg = (e) => e.headline().resolve(), $oe = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: r, familyDefault: n }) => (i) => {
38386
+ }), Tg = (e) => e.headline().resolve(), joe = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: r, familyDefault: n }) => (i) => {
38385
38387
  const a = i.position === "top" || i.position === "bottom", o = He(i.scaleAestheticKey), { offset: s, ...l } = t(o, i.position), c = i.ticksVisible ? Math.max(s, r[o].length) : s, u = Wt(l, n), d = i.ticks.map((m) => e.measureText(m.formattedLabel, u)), h = i.labelMaxWidthPx ?? Number.POSITIVE_INFINITY;
38386
38388
  if (a) {
38387
38389
  if (i.labelRotation !== 0) {
@@ -38391,30 +38393,30 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38391
38393
  return Math.max(...d.map((m) => m.height)) + c;
38392
38394
  }
38393
38395
  return Vw(d.map((m) => m.width), h) + c;
38394
- }, Vw = (e, t) => Math.min(Math.max(...e), t), zoe = ({ axisLabelStyles: e }) => (t) => Yn(e[He(t.scaleAestheticKey)]), o_ = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: r }) => (n, i, a) => {
38396
+ }, Vw = (e, t) => Math.min(Math.max(...e), t), $oe = ({ axisLabelStyles: e }) => (t) => Yn(e[He(t.scaleAestheticKey)]), o_ = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: r }) => (n, i, a) => {
38395
38397
  const o = t[n][i], s = e.measureText(a, Wt(o, r));
38396
38398
  return {
38397
38399
  ...s,
38398
38400
  width: s.width + o.paddingInline * 2,
38399
38401
  height: s.height + o.paddingBlock * 2
38400
38402
  };
38401
- }, Yoe = ({ textMeasurer: e, familyDefault: t }) => (r, n) => e.measureText(r, Wt(n, t)), Koe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: r, itemGap: n, headlineItemStyles: i }) => (a, o) => {
38403
+ }, zoe = ({ textMeasurer: e, familyDefault: t }) => (r, n) => e.measureText(r, Wt(n, t)), Yoe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: r, itemGap: n, headlineItemStyles: i }) => (a, o) => {
38402
38404
  const s = s_(a, i[o], e, t, r);
38403
38405
  return {
38404
38406
  width: l_(s.map((l) => l.width)) + Math.max(0, s.length - 1) * n,
38405
38407
  height: Math.max(0, ...s.map((l) => l.height))
38406
38408
  };
38407
- }, Xoe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: r, headlineItemStyles: n }) => (i, a) => s_(i, n[a], e, t, r).map((o) => o.width), qoe = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: r }) => (n, i, a = !1) => {
38409
+ }, Koe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: r, headlineItemStyles: n }) => (i, a) => s_(i, n[a], e, t, r).map((o) => o.width), Xoe = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: r }) => (n, i, a = !1) => {
38408
38410
  const o = aM(r[i], a);
38409
38411
  return {
38410
38412
  width: e.measureText(n, Wt(o, t)).width,
38411
38413
  height: Yn(o)
38412
38414
  };
38413
- }, Qoe = (e) => {
38414
- const t = Koe(e), r = qoe(e);
38415
+ }, qoe = (e) => {
38416
+ const t = Yoe(e), r = Xoe(e);
38415
38417
  return (n, i, a = !1) => n.kind === "perGroup" ? t(n, i) : r(n.value, i, a);
38416
38418
  }, s_ = (e, t, r, n, i) => {
38417
- const a = (o) => Joe(o, t, r, n);
38419
+ const a = (o) => Qoe(o, t, r, n);
38418
38420
  return e.items.map((o) => {
38419
38421
  const s = pM(o, t).map(a), l = Math.max(0, s.length - 1) * i;
38420
38422
  return {
@@ -38422,18 +38424,18 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38422
38424
  height: l_(s.map((c) => c.height)) + l
38423
38425
  };
38424
38426
  });
38425
- }, Joe = (e, t, r, n) => {
38427
+ }, Qoe = (e, t, r, n) => {
38426
38428
  let i = 0, a = 0;
38427
38429
  for (const o of e.segments) if (o.kind === "text") {
38428
- const s = Zoe(t, o.textRole);
38429
- i += r.measureText(o.text, Wt(s, n)).width, a = Math.max(a, ese(s));
38430
+ const s = Joe(t, o.textRole);
38431
+ i += r.measureText(o.text, Wt(s, n)).width, a = Math.max(a, Zoe(s));
38430
38432
  } else
38431
38433
  i += o.size, a = Math.max(a, o.size);
38432
38434
  return {
38433
38435
  width: i + Math.max(0, e.segments.length - 1) * e.gap,
38434
38436
  height: a
38435
38437
  };
38436
- }, Zoe = (e, t) => {
38438
+ }, Joe = (e, t) => {
38437
38439
  switch (t) {
38438
38440
  case "value":
38439
38441
  return e.number;
@@ -38447,13 +38449,13 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38447
38449
  default:
38448
38450
  return t;
38449
38451
  }
38450
- }, ese = (e) => e.fontSize * (e.lineHeight ?? Dee), l_ = (e) => e.reduce((t, r) => t + r, 0), tse = (e, t) => e ? t : 0, Kc = (e, t, r) => {
38452
+ }, Zoe = (e) => e.fontSize * (e.lineHeight ?? Dee), l_ = (e) => e.reduce((t, r) => t + r, 0), ese = (e, t) => e ? t : 0, Kc = (e, t, r) => {
38451
38453
  if (r) {
38452
38454
  const n = Number(e.size);
38453
38455
  return Number.isFinite(n) && n > 0 ? n : 0;
38454
38456
  }
38455
- return tse(e.color, t);
38456
- }, rse = ({ textMeasurer: e, familyDefault: t, legendItemStyle: r, directLabelStyle: n, legendSwatchGap: i }) => (a) => {
38457
+ return ese(e.color, t);
38458
+ }, tse = ({ textMeasurer: e, familyDefault: t, legendItemStyle: r, directLabelStyle: n, legendSwatchGap: i }) => (a) => {
38457
38459
  const o = a.position === "top" || a.position === "bottom";
38458
38460
  if (a.display === "direct") {
38459
38461
  const p = Yn(n);
@@ -38471,7 +38473,7 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38471
38473
  return y + (y > 0 ? i : 0) + g;
38472
38474
  });
38473
38475
  return Math.max(...f) + h;
38474
- }, nse = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: r }) => (n, i) => e.measureText(n, Wt(t(i), r)), ise = Object.freeze({}), ase = ({ textMeasurer: e, metrics: t, overrides: r = ise }) => {
38476
+ }, rse = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: r }) => (n, i) => e.measureText(n, Wt(t(i), r)), nse = Object.freeze({}), ise = ({ textMeasurer: e, metrics: t, overrides: r = nse }) => {
38475
38477
  const n = Se(), i = ce(n_, n), a = ce(id, n), o = ce(iM, n), s = ce(Pu, n), l = ce(Sg, n), c = ce(i_, n), u = de(r);
38476
38478
  return u.current = r, W(() => {
38477
38479
  if (!e) return null;
@@ -38485,24 +38487,24 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38485
38487
  medium: Kl(n, "medium"),
38486
38488
  large: Kl(n, "large")
38487
38489
  }
38488
- }, f = $oe({
38490
+ }, f = joe({
38489
38491
  textMeasurer: e,
38490
38492
  tickLabelStyles: l,
38491
38493
  tickLineStyles: c,
38492
38494
  familyDefault: d
38493
- }), p = zoe({ axisLabelStyles: i }), g = rse({
38495
+ }), p = $oe({ axisLabelStyles: i }), g = tse({
38494
38496
  textMeasurer: e,
38495
38497
  familyDefault: d,
38496
38498
  legendItemStyle: s,
38497
38499
  directLabelStyle: o,
38498
38500
  legendSwatchGap: t.legendSwatchGap
38499
- }), y = Qoe(m), x = Xoe(m), w = {
38501
+ }), y = qoe(m), x = Koe(m), w = {
38500
38502
  measureText: (T, _) => e.measureText(T, _),
38501
38503
  textScale: h
38502
38504
  };
38503
38505
  return {
38504
38506
  measureAxis: (T) => {
38505
- if (sse(T)) return 0;
38507
+ if (ose(T)) return 0;
38506
38508
  const _ = u.current.measureAxis;
38507
38509
  return _ ? _(T, w) : f(T);
38508
38510
  },
@@ -38511,18 +38513,18 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38511
38513
  return _ ? _(T, w) : p(T);
38512
38514
  },
38513
38515
  measureLegend: (T) => {
38514
- if (lse(T)) return 0;
38516
+ if (sse(T)) return 0;
38515
38517
  const _ = u.current.measureLegend;
38516
38518
  return _ ? _(T, w) : g(T);
38517
38519
  },
38518
38520
  measureHeadline: (T, _, A) => (u.current.measureHeadline ?? y)(T, _, A),
38519
38521
  measureHeadlineItemWidths: (T, _) => (u.current.measureHeadlineItemWidths ?? x)(T, _),
38520
- measureTickLabel: nse({
38522
+ measureTickLabel: rse({
38521
38523
  textMeasurer: e,
38522
38524
  tickLabelStyles: l,
38523
38525
  familyDefault: d
38524
38526
  }),
38525
- measureDifferenceArrowLabel: Yoe({
38527
+ measureDifferenceArrowLabel: zoe({
38526
38528
  textMeasurer: e,
38527
38529
  familyDefault: d
38528
38530
  }),
@@ -38543,7 +38545,7 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38543
38545
  c,
38544
38546
  n
38545
38547
  ]);
38546
- }, ose = ({ measurer: e, axes: t, numberFormat: r, parsingLocale: n, formattedLegends: i, containerSize: a, externalMeasurements: o, headline: s, formattingLocale: l, annotations: c, layers: u, coordSystem: d, overflowStrategy: h, panelBorder: m, padding: f, margins: p }) => {
38548
+ }, ase = ({ measurer: e, axes: t, numberFormat: r, parsingLocale: n, formattedLegends: i, containerSize: a, externalMeasurements: o, headline: s, formattingLocale: l, annotations: c, layers: u, coordSystem: d, overflowStrategy: h, panelBorder: m, padding: f, margins: p }) => {
38547
38549
  const g = Se(), y = xp(), x = W(() => (w) => sE(g, w), [g]);
38548
38550
  return W(() => e ? new PW(e).compile({
38549
38551
  axes: t,
@@ -38585,18 +38587,18 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38585
38587
  p,
38586
38588
  e
38587
38589
  ]);
38588
- }, sse = (e) => !e.isVisible || e.ticks.length === 0, lse = (e) => e.items.length === 0, cse = () => {
38590
+ }, ose = (e) => !e.isVisible || e.ticks.length === 0, sse = (e) => e.items.length === 0, lse = () => {
38589
38591
  const { formattingLocale: e } = St(), t = Re((r) => r.config.parsingLocale);
38590
38592
  return e ?? t;
38591
38593
  }, Hw = 0.5, c_ = Ke(/* @__PURE__ */ new Map()), u_ = Ke(() => {
38592
- }), d_ = Ke(/* @__PURE__ */ new Set()), use = ({ children: e }) => {
38594
+ }), d_ = Ke(/* @__PURE__ */ new Set()), cse = ({ children: e }) => {
38593
38595
  const [t, r] = Ee(() => /* @__PURE__ */ new Map()), [n] = Ee(() => /* @__PURE__ */ new Set()), i = de(/* @__PURE__ */ new Map()), a = Ce((o, s, l) => {
38594
38596
  const c = i.current.get(o) ?? /* @__PURE__ */ new Set();
38595
38597
  if (l !== null) {
38596
- c.add(s), i.current.set(o, c), r((u) => pse(u, o, l));
38598
+ c.add(s), i.current.set(o, c), r((u) => mse(u, o, l));
38597
38599
  return;
38598
38600
  }
38599
- c.delete(s), !(c.size > 0) && (i.current.delete(o), r((u) => gse(u, o)));
38601
+ c.delete(s), !(c.size > 0) && (i.current.delete(o), r((u) => pse(u, o)));
38600
38602
  }, []);
38601
38603
  return /* @__PURE__ */ v(u_.Provider, {
38602
38604
  value: a,
@@ -38608,8 +38610,8 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38608
38610
  })
38609
38611
  })
38610
38612
  });
38611
- }, dse = () => he(c_), hse = () => he(u_), fse = (e) => {
38612
- const t = hse(), r = pt(), n = de(null);
38613
+ }, use = () => he(c_), dse = () => he(u_), hse = (e) => {
38614
+ const t = dse(), r = pt(), n = de(null);
38613
38615
  return ye(() => {
38614
38616
  if (typeof ResizeObserver > "u") return;
38615
38617
  const i = n.current;
@@ -38628,34 +38630,34 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38628
38630
  r,
38629
38631
  t
38630
38632
  ]), n;
38631
- }, mse = () => he(d_), pse = (e, t, r) => {
38633
+ }, fse = () => he(d_), mse = (e, t, r) => {
38632
38634
  const n = e.get(t);
38633
38635
  if (n !== void 0 && Math.abs(n.width - r.width) < Hw && Math.abs(n.height - r.height) < Hw) return e;
38634
38636
  const i = new Map(e);
38635
38637
  return i.set(t, r), i;
38636
- }, gse = (e, t) => {
38638
+ }, pse = (e, t) => {
38637
38639
  if (!e.has(t)) return e;
38638
38640
  const r = new Map(e);
38639
38641
  return r.delete(t), r;
38640
- }, vse = (e, t) => e.annotationId === t.annotationId && e.translation.x === t.translation.x && e.translation.y === t.translation.y, yse = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && e.anchor.x === t.anchor.x && e.anchor.y === t.anchor.y, bse = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && SU(e.point.anchor, t.point.anchor), xse = (e, t) => e.annotationId === t.annotationId && e.region.x === t.region.x && e.region.y === t.region.y && e.region.width === t.region.width && e.region.height === t.region.height, wse = (e, t) => e.annotationId === t.annotationId && e.at.x === t.at.x && e.width === t.width && e.shift === t.shift, rs = ({ standingInteraction: e }, t) => e !== null && vi(e, t) ? e : null, Ase = (e, t) => {
38642
+ }, gse = (e, t) => e.annotationId === t.annotationId && e.translation.x === t.translation.x && e.translation.y === t.translation.y, vse = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && e.anchor.x === t.anchor.x && e.anchor.y === t.anchor.y, yse = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && SU(e.point.anchor, t.point.anchor), bse = (e, t) => e.annotationId === t.annotationId && e.region.x === t.region.x && e.region.y === t.region.y && e.region.width === t.region.width && e.region.height === t.region.height, xse = (e, t) => e.annotationId === t.annotationId && e.at.x === t.at.x && e.width === t.width && e.shift === t.shift, rs = ({ standingInteraction: e }, t) => e !== null && vi(e, t) ? e : null, wse = (e, t) => {
38641
38643
  if (e === null) return !1;
38642
38644
  switch (t.kind) {
38643
38645
  case "difference-arrow-endpoint-drag":
38644
- return vi(e, t.kind) && bse(e, t);
38645
- case "arrow-endpoint-drag":
38646
38646
  return vi(e, t.kind) && yse(e, t);
38647
- case "move-drag":
38647
+ case "arrow-endpoint-drag":
38648
38648
  return vi(e, t.kind) && vse(e, t);
38649
+ case "move-drag":
38650
+ return vi(e, t.kind) && gse(e, t);
38649
38651
  case "shape-resize-drag":
38650
- return vi(e, t.kind) && xse(e, t);
38652
+ return vi(e, t.kind) && bse(e, t);
38651
38653
  case "text-resize-drag":
38652
- return vi(e, t.kind) && wse(e, t);
38654
+ return vi(e, t.kind) && xse(e, t);
38653
38655
  case "chrome-popup":
38654
38656
  return vi(e, t.kind);
38655
38657
  case "menu":
38656
38658
  return !1;
38657
38659
  }
38658
- }, vi = (e, t) => e.kind === t, Sse = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.observationIndex === t.observationIndex && xY(e.predicate, t.predicate) && Ci(e.selectedFor, t.selectedFor), Tse = (e, t) => {
38660
+ }, vi = (e, t) => e.kind === t, Ase = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.observationIndex === t.observationIndex && xY(e.predicate, t.predicate) && Ci(e.selectedFor, t.selectedFor), Sse = (e, t) => {
38659
38661
  if (e === t) return !0;
38660
38662
  if (e === null || t === null) return !1;
38661
38663
  if (e.kind === "annotation" && t.kind === "annotation") return Ci(e.target, t.target);
@@ -38670,10 +38672,10 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38670
38672
  }, h_ = (e) => {
38671
38673
  const t = e.editTargetUnderPointer;
38672
38674
  return t?.kind === "annotation" ? t.target.id : null;
38673
- }, Mse = (e) => {
38675
+ }, Tse = (e) => {
38674
38676
  const t = e.editTargetUnderPointer;
38675
38677
  return t !== null && t.kind !== "menu-trigger";
38676
- }, Ese = () => co((e) => ({
38678
+ }, Mse = () => co((e) => ({
38677
38679
  menuTrigger: null,
38678
38680
  editTargetUnderPointer: null,
38679
38681
  standingInteraction: null,
@@ -38681,10 +38683,10 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38681
38683
  caret: null,
38682
38684
  pressedObservation: null,
38683
38685
  setMenuTrigger: (t) => e((r) => wU(r.menuTrigger, t) ? r : { menuTrigger: t }),
38684
- setEditTargetUnderPointer: (t) => e((r) => Tse(r.editTargetUnderPointer, t) ? r : { editTargetUnderPointer: t }),
38685
- claimInteraction: (t) => e((r) => Ase(r.standingInteraction, t) ? r : { standingInteraction: t }),
38686
+ setEditTargetUnderPointer: (t) => e((r) => Sse(r.editTargetUnderPointer, t) ? r : { editTargetUnderPointer: t }),
38687
+ claimInteraction: (t) => e((r) => wse(r.standingInteraction, t) ? r : { standingInteraction: t }),
38686
38688
  releaseInteraction: (t) => e((r) => r.standingInteraction?.kind === t ? { standingInteraction: null } : r),
38687
- setSelectedOutline: (t) => e((r) => kse(r.selectedOutline, t) ? r : { selectedOutline: t }),
38689
+ setSelectedOutline: (t) => e((r) => Ese(r.selectedOutline, t) ? r : { selectedOutline: t }),
38688
38690
  setCaret: (t) => e((r) => (r.caret?.annotationId ?? null) === t ? r : { caret: t === null ? null : {
38689
38691
  annotationId: t,
38690
38692
  editor: null
@@ -38693,25 +38695,25 @@ var Aoe = "tooltip_rows__1aumv52", Soe = "tooltip_row__1aumv53", Toe = "tooltip_
38693
38695
  ...r.caret,
38694
38696
  editor: t
38695
38697
  } }),
38696
- setPressedObservation: (t) => e((r) => Sse(r.pressedObservation, t) ? r : { pressedObservation: t })
38697
- })), kse = (e, t) => e === t ? !0 : e === null || t === null ? !1 : Ci(e.target, t.target) && e.frameScale === t.frameScale && If(e.frame, t.frame) && Rf(e.frameSpans, t.frameSpans), Pse = Ke(null), _se = Ese();
38698
+ setPressedObservation: (t) => e((r) => Ase(r.pressedObservation, t) ? r : { pressedObservation: t })
38699
+ })), Ese = (e, t) => e === t ? !0 : e === null || t === null ? !1 : Ci(e.target, t.target) && e.frameScale === t.frameScale && If(e.frame, t.frame) && Rf(e.frameSpans, t.frameSpans), kse = Ke(null), Pse = Mse();
38698
38700
  function Vn(e) {
38699
- return Tn(he(Pse) ?? _se, e);
38701
+ return Tn(he(kse) ?? Pse, e);
38700
38702
  }
38701
- var f_ = Ke(null), Cse = ({ panelRect: e, children: t }) => {
38702
- const r = Rse(e);
38703
+ var f_ = Ke(null), _se = ({ panelRect: e, children: t }) => {
38704
+ const r = Ise(e);
38703
38705
  return /* @__PURE__ */ v(f_.Provider, {
38704
38706
  value: r,
38705
38707
  children: t
38706
38708
  });
38707
- }, Ise = () => {
38709
+ }, Cse = () => {
38708
38710
  const e = he(f_);
38709
38711
  if (e === null) throw new Error("Difference arrows read outside a <DifferenceArrowsProvider>.");
38710
38712
  return e;
38711
38713
  }, Gw = (e, t, r) => t.isStrokeAuthored ? t.stroke : hU(e.start, e.end, {
38712
38714
  start: r(e.start),
38713
38715
  end: r(e.end)
38714
- }) ?? t.stroke, Rse = (e) => {
38716
+ }) ?? t.stroke, Ise = (e) => {
38715
38717
  const { formattingLocale: t } = St(), r = ri(), { fonts: n } = ra(), i = Vn((g) => rs(g, "difference-arrow-endpoint-drag")), a = eK(), o = Se(), { differenceArrows: s, mainAxis: l, parsingLocale: c } = Re(pr((g) => ({
38716
38718
  differenceArrows: g.annotations.differenceArrows,
38717
38719
  mainAxis: MA(g.coordSystem),
@@ -38726,7 +38728,7 @@ var f_ = Ke(null), Cse = ({ panelRect: e, children: t }) => {
38726
38728
  d,
38727
38729
  h,
38728
38730
  u
38729
- ]), f = W(() => Lse(r, n.familyDefault), [r, n.familyDefault]), p = W(() => s.map((g) => {
38731
+ ]), f = W(() => Rse(r, n.familyDefault), [r, n.familyDefault]), p = W(() => s.map((g) => {
38730
38732
  const y = sE(o, g.id), x = Ww(g, y, m, f);
38731
38733
  return {
38732
38734
  ...x,
@@ -38748,7 +38750,7 @@ var f_ = Ke(null), Cse = ({ panelRect: e, children: t }) => {
38748
38750
  ]);
38749
38751
  return W(() => i === null ? p : p.map((g) => {
38750
38752
  if (g.id !== i.annotationId) return g;
38751
- const y = Dse(g.committedArrow, i);
38753
+ const y = Lse(g.committedArrow, i);
38752
38754
  return {
38753
38755
  ...Ww(y, g.style, m, f),
38754
38756
  style: g.style,
@@ -38781,7 +38783,7 @@ var f_ = Ke(null), Cse = ({ panelRect: e, children: t }) => {
38781
38783
  label: t.label
38782
38784
  })
38783
38785
  };
38784
- }, Lse = (e, t) => {
38786
+ }, Rse = (e, t) => {
38785
38787
  const r = /* @__PURE__ */ new Map();
38786
38788
  return (n, i) => {
38787
38789
  const a = Wt(i, t), o = [
@@ -38797,24 +38799,24 @@ var f_ = Ke(null), Cse = ({ panelRect: e, children: t }) => {
38797
38799
  const { width: l } = e.measureText(n, a);
38798
38800
  return r.set(o, l), l;
38799
38801
  };
38800
- }, Dse = (e, t) => ({
38802
+ }, Lse = (e, t) => ({
38801
38803
  ...e,
38802
38804
  start: t.endpoint === "start" ? t.point : e.start,
38803
38805
  end: t.endpoint === "end" ? t.point : e.end
38804
- }), Ose = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABgCAYAAAC65+QhAAAKo0lEQVR42u2de4wdVR3HPzN32+oSUQSsikEoosR3iko08oovEkwMpmiIr/KHIomgUYyPiBofkRjjE+MjEk3RQNIYTdUotKkoaql0Wyympbtl2XbLtrW71n3v3ntnrn+c38n98cvcOzP3tfcud5LJ5u7Ozpz5nt/7nN/3QncfAVBQn18LfBd4GJgFYvm5B/iW/N0fBfn/VX9ogF4K3A0sAhV1xubzIrBFrk+6z6oDyEvCmcBXgTkFRgkoA5E6y/J7f80s8GXg2Uoyw9UCUGhm/wPAYQNQJFJkJUmDpgEbkfusCnW0dujNwM4aAEVGak4aaYvVdRqwHcAbexkwDdCLgZ8mqJgFaBo4BowD/wQOAbuBCSNhsVHJGPgJ8KJesl+hshnPBD4LTKqXLCUANAPsF0CKRvWm5W+Pi6RZwErqXqeA24DBhLF0rZptkhfUUhQbO7QEHBUJmjZqFhl7NQ/sEsCWjf2KjTo+AlzXbeoYAAPq80Zgmxp0McEOxQLOiNiiSsqpATsK3A+MJUhXZCTyd8Cr1dgGVgowLUEvAL6tZrtcww7NAAeAg3VipjTAisAR4CEDtLZfZRV/fQdYbya34+6+ANwiElJRamABmhdVPGxmPStISdefFjUbVfYrrqGO48DNymaFnVSza8QrJalZrGzTmHiz/2UESIOdBbBJ4G/ynCgh/tITcz/wwnaCpdXsEuDeDPHQmLj4YzkkppzyOQ2wIfO8JPt1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b/2CCV0bxUVZ803FJJduhBsXlNMSNeZwYZKUq142oQjUqYv997eSp74p0JXJlZ7jeDYxCqZYdKhhbuw4Z2pOHYcQ1V1gxLbXRUim/TTXSo+3v5ZPUTRlqz0q0VxQ4dMgQ5SXSRC1IwPLfVdLdX1mF4Lkr5Ybfii8rLixlLcvlgg2o2JaFCLXevpejXEnm3fLOcR/rTNUizYsU2OCxiP9+EhOUByIcqRxUYtSi595o2/7a00nqwblHiW4t25Jh4mZM5wcpjhxZkUg4qd2/tUKzA/LhyEm1fJvM3v5ynklIVE8gjYgkrdhp67EaZfjTj4XEce8eJFDtUxNFLnrcStNsFBdpNhpRYq2OkOOw8RdtCE7y+3psNSVwUp9ih+2gduU1L2Fmfh/t2jIUUNrJJkbBhxQIU5+Dy3SdSVEpx949JcNpV1NraW7wKxxhWj2ezIi+7VxJrq1o2DivhNr0OS9qUBFCkvN4XgDO6lazdphrvVJUFD5j1jmV5+QdMOFExzD3jGdKOGLcud1Gv0P/rGVyH29B6MiWcmBbARiVAHBNg9srvsqQdV3cDIXuz9ut88Tpp4cSi5I77RSWLGdKOGxUoBXq0Z8cW2C7D8X+n0XFXUtz9nJRhz1lt3xJkFxdvUMV7b7/K5tuAdEStpWgr8MpeVbNGVoHPwG20n6lBs21DhiGVLK9agOrZrwtxq7ePGm48X5PfgeuJWdvN381CG7+pIlBbfryEXCJpxlqRtBG10oHa6NXVx/8Ba+cluUx5B18AAAAASUVORK5CYII=", Nse = ({ className: e }) => /* @__PURE__ */ v("img", {
38805
- src: Ose,
38806
+ }), Dse = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABgCAYAAAC65+QhAAAKo0lEQVR42u2de4wdVR3HPzN32+oSUQSsikEoosR3iko08oovEkwMpmiIr/KHIomgUYyPiBofkRjjE+MjEk3RQNIYTdUotKkoaql0Wyympbtl2XbLtrW71n3v3ntnrn+c38n98cvcOzP3tfcud5LJ5u7Ozpz5nt/7nN/3QncfAVBQn18LfBd4GJgFY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cud1Gv0P/rGVyH29B6MiWcmBbARiVAHBNg9srvsqQdV3cDIXuz9ut88Tpp4cSi5I77RSWLGdKOGxUoBXq0Z8cW2C7D8X+n0XFXUtz9nJRhz1lt3xJkFxdvUMV7b7/K5tuAdEStpWgr8MpeVbNGVoHPwG20n6lBs21DhiGVLK9agOrZrwtxq7ePGm48X5PfgeuJWdvN381CG7+pIlBbfryEXCJpxlqRtBG10oHa6NXVx/8Ba+cluUx5B18AAAAASUVORK5CYII=", Ose = ({ className: e }) => /* @__PURE__ */ v("img", {
38807
+ src: Dse,
38806
38808
  alt: "",
38807
38809
  "aria-hidden": "true",
38808
38810
  className: e,
38809
38811
  draggable: !1
38810
- }), Bse = "https://graphy.app/?utm_source=chart-mark&utm_medium=embed", Fse = "Made with Graphy — open graphy.app";
38811
- var Vse = "brand-mark_root__mjr3u50";
38812
- var Hse = "brand-mark_glyphWell__mjr3u52", Gse = "brand-mark_glyph__mjr3u53", Wse = "brand-mark_label__mjr3u54", Use = "brand-mark_name__mjr3u55", jse = "brand-mark_footerAnchor__mjr3u56", $se = "brand-mark_headerAnchor__mjr3u57", zse = (e) => {
38813
- const t = Yse(e.trim());
38812
+ }), Nse = "https://graphy.app/?utm_source=chart-mark&utm_medium=embed", Bse = "Made with Graphy — open graphy.app";
38813
+ var Fse = "brand-mark_root__mjr3u50";
38814
+ var Vse = "brand-mark_glyphWell__mjr3u52", Hse = "brand-mark_glyph__mjr3u53", Gse = "brand-mark_label__mjr3u54", Wse = "brand-mark_name__mjr3u55", Use = "brand-mark_footerAnchor__mjr3u56", jse = "brand-mark_headerAnchor__mjr3u57", $se = (e) => {
38815
+ const t = zse(e.trim());
38814
38816
  if (t === null) return "light";
38815
- const r = Kse(t);
38817
+ const r = Yse(t);
38816
38818
  return r <= 0.22 ? "dark" : r <= 0.65 ? "mid" : "light";
38817
- }, Yse = (e) => {
38819
+ }, zse = (e) => {
38818
38820
  if (!e.startsWith("#")) return null;
38819
38821
  const t = e.slice(1);
38820
38822
  if (t.length === 3) {
@@ -38830,43 +38832,43 @@ var Hse = "brand-mark_glyphWell__mjr3u52", Gse = "brand-mark_glyph__mjr3u53", Ws
38830
38832
  green: Number.parseInt(t.slice(2, 4), 16),
38831
38833
  blue: Number.parseInt(t.slice(4, 6), 16)
38832
38834
  } : null;
38833
- }, Kse = ({ red: e, green: t, blue: r }) => {
38835
+ }, Yse = ({ red: e, green: t, blue: r }) => {
38834
38836
  const n = (i) => {
38835
38837
  const a = i / 255;
38836
38838
  return a <= 0.03928 ? a / 12.92 : ((a + 0.055) / 1.055) ** 2.4;
38837
38839
  };
38838
38840
  return 0.2126 * n(e) + 0.7152 * n(t) + 0.0722 * n(r);
38839
- }, Xse = (e, t, r = "full") => !e || t.width < 120 || t.height < 80 ? "hidden" : t.width < 200 || r === "mini" ? "mini" : "full", m_ = ({ visual: e, placement: t }) => {
38840
- const r = zse(Be(Se().graph().get("fill")));
38841
+ }, Kse = (e, t, r = "full") => !e || t.width < 120 || t.height < 80 ? "hidden" : t.width < 200 || r === "mini" ? "mini" : "full", m_ = ({ visual: e, placement: t }) => {
38842
+ const r = $se(Be(Se().graph().get("fill")));
38841
38843
  return /* @__PURE__ */ U("a", {
38842
- className: Jt(Vse, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? jse : $se),
38843
- href: Bse,
38844
+ className: Jt(Fse, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? Use : jse),
38845
+ href: Nse,
38844
38846
  target: "_blank",
38845
38847
  rel: "noopener noreferrer",
38846
- "aria-label": Fse,
38848
+ "aria-label": Bse,
38847
38849
  "data-visual": e,
38848
38850
  "data-zone": r,
38849
38851
  children: [/* @__PURE__ */ v("span", {
38850
- className: Hse,
38851
- children: /* @__PURE__ */ v(Nse, { className: Gse })
38852
+ className: Vse,
38853
+ children: /* @__PURE__ */ v(Ose, { className: Hse })
38852
38854
  }), /* @__PURE__ */ U("span", {
38853
- className: Wse,
38855
+ className: Gse,
38854
38856
  children: [/* @__PURE__ */ v("span", { children: "Made with" }), /* @__PURE__ */ v("span", {
38855
- className: Use,
38857
+ className: Wse,
38856
38858
  children: "Graphy"
38857
38859
  })]
38858
38860
  })]
38859
38861
  });
38860
- }, qse = Ke({
38862
+ }, Xse = Ke({
38861
38863
  Title: null,
38862
38864
  Caption: null,
38863
38865
  TextAnnotation: null
38864
- }), Mg = () => he(qse), Uw = "content_text__15hmocs0", Qse = "footer.renderer_root__2nw8o50";
38865
- var Jse = "footer.renderer_sourceCluster__2nw8o52", Zse = "footer.renderer_sourceLink__2nw8o53", ele = "footer.renderer_sourceLabel__2nw8o54", tle = "footer.renderer_sourceValue__2nw8o55", rle = ({ ref: e, footerRect: t, mode: r = An.readonly, caption: n, isCaptionVisible: i, source: a, isSourceVisible: o, captionStyle: s, sourceStyle: l, brandMark: c }) => {
38866
- const { Caption: u } = Mg(), d = ni[hg(r)].inlineTextEditing ? u : null, h = i && (d !== null || n !== null), m = o && a !== null && ole(a), f = c !== "hidden";
38866
+ }), Mg = () => he(Xse), Uw = "content_text__15hmocs0", qse = "footer.renderer_root__2nw8o50";
38867
+ var Qse = "footer.renderer_sourceCluster__2nw8o52", Jse = "footer.renderer_sourceLink__2nw8o53", Zse = "footer.renderer_sourceLabel__2nw8o54", ele = "footer.renderer_sourceValue__2nw8o55", tle = ({ ref: e, footerRect: t, mode: r = An.readonly, caption: n, isCaptionVisible: i, source: a, isSourceVisible: o, captionStyle: s, sourceStyle: l, brandMark: c }) => {
38868
+ const { Caption: u } = Mg(), d = ni[hg(r)].inlineTextEditing ? u : null, h = i && (d !== null || n !== null), m = o && a !== null && ale(a), f = c !== "hidden";
38867
38869
  return !h && !m && !f ? null : /* @__PURE__ */ U("div", {
38868
38870
  ref: e,
38869
- className: Qse,
38871
+ className: qse,
38870
38872
  style: {
38871
38873
  left: t.x,
38872
38874
  top: t.y,
@@ -38875,12 +38877,12 @@ var Jse = "footer.renderer_sourceCluster__2nw8o52", Zse = "footer.renderer_sourc
38875
38877
  children: [h ? d ? /* @__PURE__ */ v(d, {
38876
38878
  caption: n,
38877
38879
  captionStyle: s
38878
- }) : /* @__PURE__ */ v(nle, {
38880
+ }) : /* @__PURE__ */ v(rle, {
38879
38881
  caption: n,
38880
38882
  captionStyle: s
38881
38883
  }) : null, (m || f) && /* @__PURE__ */ U("div", {
38882
38884
  className: "footer.renderer_attributionRow__2nw8o51",
38883
- children: [m && /* @__PURE__ */ v(ile, {
38885
+ children: [m && /* @__PURE__ */ v(nle, {
38884
38886
  source: a,
38885
38887
  sourceStyle: l
38886
38888
  }), c !== "hidden" ? /* @__PURE__ */ v(m_, {
@@ -38889,7 +38891,7 @@ var Jse = "footer.renderer_sourceCluster__2nw8o52", Zse = "footer.renderer_sourc
38889
38891
  }) : null]
38890
38892
  })]
38891
38893
  });
38892
- }, nle = ({ caption: e, captionStyle: t }) => e === null ? null : typeof e == "string" ? /* @__PURE__ */ v("p", {
38894
+ }, rle = ({ caption: e, captionStyle: t }) => e === null ? null : typeof e == "string" ? /* @__PURE__ */ v("p", {
38893
38895
  className: Uw,
38894
38896
  style: xt(t),
38895
38897
  children: e
@@ -38897,43 +38899,43 @@ var Jse = "footer.renderer_sourceCluster__2nw8o52", Zse = "footer.renderer_sourc
38897
38899
  className: Uw,
38898
38900
  style: xt(t),
38899
38901
  children: /* @__PURE__ */ v(_s, { content: e })
38900
- }), ile = ({ source: e, sourceStyle: t }) => {
38901
- const r = yp(e.url) ? e.url : void 0, n = e.label ?? (r !== void 0 ? ale(r) : "");
38902
+ }), nle = ({ source: e, sourceStyle: t }) => {
38903
+ const r = yp(e.url) ? e.url : void 0, n = e.label ?? (r !== void 0 ? ile(r) : "");
38902
38904
  return n === "" && r === void 0 ? null : /* @__PURE__ */ U("span", {
38903
- className: Jse,
38905
+ className: Qse,
38904
38906
  style: xt(t.label),
38905
38907
  children: [/* @__PURE__ */ v("span", {
38906
- className: ele,
38908
+ className: Zse,
38907
38909
  children: "Source:"
38908
38910
  }), r !== void 0 ? /* @__PURE__ */ v("a", {
38909
- className: Zse,
38911
+ className: Jse,
38910
38912
  href: r,
38911
38913
  target: "_blank",
38912
38914
  rel: "noopener noreferrer",
38913
38915
  style: xt(t.link),
38914
38916
  children: n
38915
38917
  }) : /* @__PURE__ */ v("span", {
38916
- className: tle,
38918
+ className: ele,
38917
38919
  children: n
38918
38920
  })]
38919
38921
  });
38920
- }, ale = (e) => {
38922
+ }, ile = (e) => {
38921
38923
  try {
38922
38924
  return new URL(e).hostname;
38923
38925
  } catch {
38924
38926
  return e;
38925
38927
  }
38926
- }, ole = (e) => e.label !== void 0 && e.label !== "" || e.url !== void 0 && e.url !== "" && yp(e.url), sle = "header.renderer_root__1y52e9e0";
38927
- var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, isTitleVisible: i, subtitle: a, isSubtitleVisible: o, headingStyle: s, subtitleStyle: l, brandMark: c }) => {
38928
+ }, ale = (e) => e.label !== void 0 && e.label !== "" || e.url !== void 0 && e.url !== "" && yp(e.url), ole = "header.renderer_root__1y52e9e0";
38929
+ var sle = 22, lle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, isTitleVisible: i, subtitle: a, isSubtitleVisible: o, headingStyle: s, subtitleStyle: l, brandMark: c }) => {
38928
38930
  const { Title: u } = Mg(), d = ni[hg(r)].inlineTextEditing ? u : null, h = d !== null, m = i && (h || n !== null), f = o && (h || a !== null), p = c !== "hidden";
38929
38931
  return !m && !f && !p ? null : /* @__PURE__ */ U("div", {
38930
38932
  ref: e,
38931
- className: Jt(sle, p && "header.renderer_withBrandMark__1y52e9e1"),
38933
+ className: Jt(ole, p && "header.renderer_withBrandMark__1y52e9e1"),
38932
38934
  style: {
38933
38935
  left: t.x,
38934
38936
  top: t.y,
38935
38937
  width: t.width,
38936
- ...p && !m && !f ? { minHeight: lle } : {}
38938
+ ...p && !m && !f ? { minHeight: sle } : {}
38937
38939
  },
38938
38940
  children: [d ? /* @__PURE__ */ v(d, {
38939
38941
  title: n,
@@ -38942,7 +38944,7 @@ var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, i
38942
38944
  subtitle: a,
38943
38945
  headingStyle: s,
38944
38946
  subtitleStyle: l
38945
- }, [i ? "title" : "", o ? "subtitle" : ""].join("-")) : /* @__PURE__ */ v(ule, {
38947
+ }, [i ? "title" : "", o ? "subtitle" : ""].join("-")) : /* @__PURE__ */ v(cle, {
38946
38948
  title: n,
38947
38949
  isTitleVisible: i,
38948
38950
  isSubtitleVisible: o,
@@ -38954,7 +38956,7 @@ var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, i
38954
38956
  placement: "header"
38955
38957
  }) : null]
38956
38958
  });
38957
- }, ule = ({ title: e, isTitleVisible: t, isSubtitleVisible: r, subtitle: n, headingStyle: i, subtitleStyle: a }) => {
38959
+ }, cle = ({ title: e, isTitleVisible: t, isSubtitleVisible: r, subtitle: n, headingStyle: i, subtitleStyle: a }) => {
38958
38960
  const o = t && e !== null, s = r && n !== null;
38959
38961
  return /* @__PURE__ */ U(me, { children: [o && (typeof e == "string" ? /* @__PURE__ */ v("h1", {
38960
38962
  className: "content_text__15hmocs0",
@@ -38973,25 +38975,25 @@ var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, i
38973
38975
  style: xt(a),
38974
38976
  children: /* @__PURE__ */ v(_s, { content: n })
38975
38977
  }))] });
38976
- }, dle = "headline.renderer_root__weqb70", hle = "headline.renderer_grandTotal__weqb71", fle = /* @__PURE__ */ l1({
38977
- group: () => gle,
38978
+ }, ule = "headline.renderer_root__weqb70", dle = "headline.renderer_grandTotal__weqb71", hle = /* @__PURE__ */ l1({
38979
+ group: () => ple,
38978
38980
  item: () => p_,
38979
- trend: () => ple,
38980
- value: () => mle
38981
- }), mle = "headline-item_value__8zulrb0", ple = "headline-item_trend__8zulrb1", gle = "headline-item_group__8zulrb2", p_ = "headline-item_item__8zulrb3", vle = {
38981
+ trend: () => mle,
38982
+ value: () => fle
38983
+ }), fle = "headline-item_value__8zulrb0", mle = "headline-item_trend__8zulrb1", ple = "headline-item_group__8zulrb2", p_ = "headline-item_item__8zulrb3", gle = {
38982
38984
  xxs: 8,
38983
38985
  xs: 12,
38984
38986
  sm: 16,
38985
38987
  md: 20,
38986
38988
  lg: 24,
38987
38989
  xl: 36
38988
- }, yle = {
38990
+ }, vle = {
38989
38991
  primary: "icon_variant_primary__q8p7at1 icon_base__q8p7at0",
38990
38992
  secondary: "icon_variant_secondary__q8p7at2 icon_base__q8p7at0"
38991
38993
  }, g_ = ({ children: e, title: t, variant: r = "primary", size: n = "sm", ...i }) => {
38992
- const a = pt(), o = vle[n];
38994
+ const a = pt(), o = gle[n];
38993
38995
  return /* @__PURE__ */ U("svg", {
38994
- className: yle[r],
38996
+ className: vle[r],
38995
38997
  "aria-labelledby": t ? a : void 0,
38996
38998
  height: o,
38997
38999
  width: o,
@@ -39004,7 +39006,7 @@ var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, i
39004
39006
  children: t
39005
39007
  }), e]
39006
39008
  });
39007
- }, ble = (e) => /* @__PURE__ */ v(g_, {
39009
+ }, yle = (e) => /* @__PURE__ */ v(g_, {
39008
39010
  ...e,
39009
39011
  children: /* @__PURE__ */ U("g", {
39010
39012
  stroke: "currentColor",
@@ -39013,7 +39015,7 @@ var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, i
39013
39015
  strokeLinejoin: "round",
39014
39016
  children: [/* @__PURE__ */ v("path", { d: "m5 12 7-7 7 7" }), /* @__PURE__ */ v("path", { d: "M12 19V5" })]
39015
39017
  })
39016
- }), xle = (e) => /* @__PURE__ */ v(g_, {
39018
+ }), ble = (e) => /* @__PURE__ */ v(g_, {
39017
39019
  ...e,
39018
39020
  children: /* @__PURE__ */ v("g", {
39019
39021
  stroke: "currentColor",
@@ -39022,36 +39024,36 @@ var lle = 22, cle = ({ ref: e, headerRect: t, mode: r = An.readonly, title: n, i
39022
39024
  strokeLinejoin: "round",
39023
39025
  children: /* @__PURE__ */ v("path", { d: "M5 12h14" })
39024
39026
  })
39025
- }), wle = "headline-segment_caption__1gz17pz0", Ale = "headline-segment_label__1gz17pz1", Sle = "headline-segment_trendArrowDisc__1gz17pz2";
39026
- var Tle = ({ segment: e, itemStyle: t }) => {
39027
- if (e.kind === "swatch") return /* @__PURE__ */ v(Mle, {
39027
+ }), xle = "headline-segment_caption__1gz17pz0", wle = "headline-segment_label__1gz17pz1", Ale = "headline-segment_trendArrowDisc__1gz17pz2";
39028
+ var Sle = ({ segment: e, itemStyle: t }) => {
39029
+ if (e.kind === "swatch") return /* @__PURE__ */ v(Tle, {
39028
39030
  swatch: e.swatch,
39029
39031
  size: e.size
39030
39032
  });
39031
39033
  if (e.kind === "trendArrow") {
39032
39034
  const i = v_(t, e.direction);
39033
39035
  return /* @__PURE__ */ v("div", {
39034
- className: Jt(Sle, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz3"),
39036
+ className: Jt(Ale, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz3"),
39035
39037
  style: {
39036
39038
  color: i,
39037
39039
  backgroundColor: e.direction === "flat" ? qt(O.textPrimary, 0.1) : qt(i, 0.2)
39038
39040
  },
39039
- children: e.direction === "flat" ? /* @__PURE__ */ v(xle, {
39041
+ children: e.direction === "flat" ? /* @__PURE__ */ v(ble, {
39040
39042
  size: "xs",
39041
39043
  title: ""
39042
- }) : /* @__PURE__ */ v(ble, {
39044
+ }) : /* @__PURE__ */ v(yle, {
39043
39045
  size: "xs",
39044
39046
  title: ""
39045
39047
  })
39046
39048
  });
39047
39049
  }
39048
- const { className: r, style: n } = Ele(e, t);
39050
+ const { className: r, style: n } = Mle(e, t);
39049
39051
  return /* @__PURE__ */ v("span", {
39050
39052
  className: r,
39051
39053
  style: n,
39052
39054
  children: e.text
39053
39055
  });
39054
- }, Mle = ({ swatch: e, size: t }) => {
39056
+ }, Tle = ({ swatch: e, size: t }) => {
39055
39057
  const r = Pn(), n = $u(e.layerId, e.value, t);
39056
39058
  return /* @__PURE__ */ v(nl, {
39057
39059
  shape: r(e.geom, "cartesian")?.swatchShape ?? "square",
@@ -39064,18 +39066,18 @@ var Tle = ({ segment: e, itemStyle: t }) => {
39064
39066
  cornerRadius: n.cornerRadius,
39065
39067
  symbol: n.symbol
39066
39068
  });
39067
- }, Ele = (e, t) => {
39069
+ }, Mle = (e, t) => {
39068
39070
  switch (e.textRole) {
39069
39071
  case "value":
39070
39072
  return { style: xa(t.number) };
39071
39073
  case "caption":
39072
39074
  return {
39073
- className: wle,
39075
+ className: xle,
39074
39076
  style: xa(t.caption)
39075
39077
  };
39076
39078
  case "label":
39077
39079
  return {
39078
- className: Ale,
39080
+ className: wle,
39079
39081
  style: xa(t.label)
39080
39082
  };
39081
39083
  case "trendPercentage":
@@ -39099,30 +39101,30 @@ var Tle = ({ segment: e, itemStyle: t }) => {
39099
39101
  default:
39100
39102
  return t;
39101
39103
  }
39102
- }, kle = ({ item: e, itemStyle: t }) => /* @__PURE__ */ v("div", {
39104
+ }, Ele = ({ item: e, itemStyle: t }) => /* @__PURE__ */ v("div", {
39103
39105
  className: p_,
39104
- children: pM(e, t).map((r) => /* @__PURE__ */ v(Ple, {
39106
+ children: pM(e, t).map((r) => /* @__PURE__ */ v(kle, {
39105
39107
  row: r,
39106
39108
  itemStyle: t
39107
39109
  }, r.role))
39108
- }), Ple = ({ row: e, itemStyle: t }) => {
39110
+ }), kle = ({ row: e, itemStyle: t }) => {
39109
39111
  const r = e.role === "trend";
39110
39112
  return /* @__PURE__ */ v("div", {
39111
- className: fle[e.role],
39113
+ className: hle[e.role],
39112
39114
  style: { gap: e.gap },
39113
39115
  "data-testid": r ? "headline-trend" : void 0,
39114
- "data-direction": r ? _le(e) : void 0,
39116
+ "data-direction": r ? Ple(e) : void 0,
39115
39117
  role: r ? "img" : void 0,
39116
39118
  "aria-label": r ? e.ariaLabel : void 0,
39117
- children: e.segments.map((n, i) => /* @__PURE__ */ v(Tle, {
39119
+ children: e.segments.map((n, i) => /* @__PURE__ */ v(Sle, {
39118
39120
  segment: n,
39119
39121
  itemStyle: t
39120
39122
  }, i))
39121
39123
  });
39122
- }, _le = (e) => {
39124
+ }, Ple = (e) => {
39123
39125
  const t = e.segments.find((r) => r.kind === "trendArrow");
39124
39126
  return t?.kind === "trendArrow" ? t.direction : void 0;
39125
- }, Cle = ({ headline: e, rect: t, resolvedSize: r, visibleItemCount: n, isInDonutHole: i = !1 }) => {
39127
+ }, _le = ({ headline: e, rect: t, resolvedSize: r, visibleItemCount: n, isInDonutHole: i = !1 }) => {
39126
39128
  const a = Se(), o = ce(Tg, a), s = ce(Kl, a, r), l = {
39127
39129
  left: t.x,
39128
39130
  top: t.y,
@@ -39132,7 +39134,7 @@ var Tle = ({ segment: e, itemStyle: t }) => {
39132
39134
  if (e.kind === "grandTotal") {
39133
39135
  const c = aM(s, i);
39134
39136
  return /* @__PURE__ */ v("div", {
39135
- className: hle,
39137
+ className: dle,
39136
39138
  style: l,
39137
39139
  children: /* @__PURE__ */ v("span", {
39138
39140
  style: xa(c),
@@ -39141,49 +39143,49 @@ var Tle = ({ segment: e, itemStyle: t }) => {
39141
39143
  });
39142
39144
  }
39143
39145
  return /* @__PURE__ */ v("div", {
39144
- className: dle,
39146
+ className: ule,
39145
39147
  style: {
39146
39148
  ...l,
39147
39149
  gap: o.gap
39148
39150
  },
39149
- children: e.items.slice(0, n).map((c, u) => /* @__PURE__ */ v(kle, {
39151
+ children: e.items.slice(0, n).map((c, u) => /* @__PURE__ */ v(Ele, {
39150
39152
  item: c,
39151
39153
  itemStyle: s
39152
39154
  }, `${c.label}-${u}`))
39153
39155
  });
39154
- }, Ile = "data-legend-index", Rle = "data-legend-item-index", y_ = ({ legendIndex: e, itemIndex: t }) => ({
39155
- [Ile]: String(e),
39156
- [Rle]: String(t)
39157
- }), Ao = "data-edit-kind", Lle = "data-edit-id", b_ = "data-edit-axis", Dle = "data-edit-tick-index", x_ = "data-legend-overflow-control", mpe = `[${x_}]`, Ole = "observations", ppe = `[${Ao}]`, cl = (e) => ({
39156
+ }, Cle = "data-legend-index", Ile = "data-legend-item-index", y_ = ({ legendIndex: e, itemIndex: t }) => ({
39157
+ [Cle]: String(e),
39158
+ [Ile]: String(t)
39159
+ }), Ao = "data-edit-kind", Rle = "data-edit-id", b_ = "data-edit-axis", Lle = "data-edit-tick-index", x_ = "data-legend-overflow-control", fpe = `[${x_}]`, Dle = "observations", mpe = `[${Ao}]`, cl = (e) => ({
39158
39160
  [Ao]: e.kind,
39159
- [Lle]: e.id
39161
+ [Rle]: e.id
39160
39162
  }), Eg = (e, t) => ({
39161
39163
  [Ao]: "axis",
39162
39164
  [b_]: e,
39163
- ...t === void 0 ? {} : { [Dle]: String(t) }
39165
+ ...t === void 0 ? {} : { [Lle]: String(t) }
39164
39166
  }), kg = (e) => ({
39165
39167
  [Ao]: "legend",
39166
39168
  ...y_(e)
39167
39169
  }), w_ = (e) => ({
39168
39170
  [Ao]: "grid",
39169
39171
  [b_]: e
39170
- }), Nle = () => ({ [Ao]: Ole }), A_ = Ke(An.readonly);
39172
+ }), Ole = () => ({ [Ao]: Dle }), A_ = Ke(An.readonly);
39171
39173
  function ul() {
39172
39174
  return he(A_);
39173
39175
  }
39174
- var oi = () => ni[ul()].guidePress, Ble = (e, t) => e.isTextColorAuthored ? e.textColor : t ?? e.textColor, Fle = "direct-labels_root__1a6kdls0";
39175
- var Vle = "direct-labels_item__1a6kdls2";
39176
- var Hle = 8, Gle = 16, Wle = 2, Ule = ({ indexedLegends: e, containerRect: t }) => {
39177
- const r = ce(iM, Se()), n = Yn(r), { placements: i, hasOverlap: a } = jle(e, t, n), o = oi(), s = xt(r);
39176
+ var oi = () => ni[ul()].guidePress, Nle = (e, t) => e.isTextColorAuthored ? e.textColor : t ?? e.textColor, Ble = "direct-labels_root__1a6kdls0";
39177
+ var Fle = "direct-labels_item__1a6kdls2";
39178
+ var Vle = 8, Hle = 16, Gle = 2, Wle = ({ indexedLegends: e, containerRect: t }) => {
39179
+ const r = ce(iM, Se()), n = Yn(r), { placements: i, hasOverlap: a } = Ule(e, t, n), o = oi(), s = xt(r);
39178
39180
  if (i.length === 0) return null;
39179
- const l = a ? Gle : Hle, c = l - Wle, u = mr(r.dashArray, r.strokeWidth);
39181
+ const l = a ? Hle : Vle, c = l - Gle, u = mr(r.dashArray, r.strokeWidth);
39180
39182
  return /* @__PURE__ */ U("div", {
39181
- className: Fle,
39183
+ className: Ble,
39182
39184
  children: [a && /* @__PURE__ */ v("svg", {
39183
39185
  className: "direct-labels_connectors__1a6kdls1",
39184
39186
  width: t.width,
39185
39187
  height: t.height,
39186
- children: i.map((d) => /* @__PURE__ */ v($le, {
39188
+ children: i.map((d) => /* @__PURE__ */ v(jle, {
39187
39189
  anchorY: d.anchorY,
39188
39190
  labelY: d.y,
39189
39191
  endX: c,
@@ -39192,18 +39194,18 @@ var Hle = 8, Gle = 16, Wle = 2, Ule = ({ indexedLegends: e, containerRect: t })
39192
39194
  dashArray: u
39193
39195
  }, d.payload.key))
39194
39196
  }), i.map((d) => /* @__PURE__ */ v("span", {
39195
- className: Jt(Vle, o && "direct-labels_hitTestableItem__1a6kdls3"),
39197
+ className: Jt(Fle, o && "direct-labels_hitTestableItem__1a6kdls3"),
39196
39198
  style: {
39197
39199
  ...s,
39198
39200
  left: l,
39199
39201
  top: d.y,
39200
- color: Ble(r, d.payload.color)
39202
+ color: Nle(r, d.payload.color)
39201
39203
  },
39202
39204
  ...o ? kg(d.payload.address) : y_(d.payload.address),
39203
39205
  children: d.payload.label
39204
39206
  }, d.payload.key))]
39205
39207
  });
39206
- }, jle = (e, t, r) => W(() => {
39208
+ }, Ule = (e, t, r) => W(() => {
39207
39209
  const n = [];
39208
39210
  for (const { legend: i, legendIndex: a } of e) i.items.forEach((o, s) => {
39209
39211
  if (o.normalizedY === null) return;
@@ -39233,7 +39235,7 @@ var Hle = 8, Gle = 16, Wle = 2, Ule = ({ indexedLegends: e, containerRect: t })
39233
39235
  e,
39234
39236
  t.height,
39235
39237
  r
39236
- ]), $le = ({ anchorY: e, labelY: t, endX: r, color: n, strokeWidth: i, dashArray: a }) => {
39238
+ ]), jle = ({ anchorY: e, labelY: t, endX: r, color: n, strokeWidth: i, dashArray: a }) => {
39237
39239
  const o = r / 2;
39238
39240
  return /* @__PURE__ */ v("path", {
39239
39241
  d: `M0,${e} C${o},${e} ${o},${t} ${r},${t}`,
@@ -39242,7 +39244,7 @@ var Hle = 8, Gle = 16, Wle = 2, Ule = ({ indexedLegends: e, containerRect: t })
39242
39244
  strokeWidth: i,
39243
39245
  strokeDasharray: a
39244
39246
  });
39245
- }, zle = "legend.renderer_root__12du00r0", S_ = (e, t) => ({
39247
+ }, $le = "legend.renderer_root__12du00r0", S_ = (e, t) => ({
39246
39248
  ...e.fill === void 0 ? {} : nd(e.fill, t),
39247
39249
  ...e.cornerRadius === void 0 ? {} : { borderRadius: ll(e.cornerRadius) },
39248
39250
  ...e.shadow === void 0 ? {} : { boxShadow: po(e.shadow) },
@@ -39253,7 +39255,7 @@ var Hle = 8, Gle = 16, Wle = 2, Ule = ({ indexedLegends: e, containerRect: t })
39253
39255
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
39254
39256
  paddingInline: e.paddingInline,
39255
39257
  paddingBlock: e.paddingBlock
39256
- }), M_ = (e) => e.fill !== void 0 || e.strokeWidth > 0, Yle = (e, t, r) => ({
39258
+ }), M_ = (e) => e.fill !== void 0 || e.strokeWidth > 0, zle = (e, t, r) => ({
39257
39259
  ...nd(e.fill, r),
39258
39260
  borderRadius: ll(e.cornerRadius),
39259
39261
  paddingInline: e.paddingInline,
@@ -39262,21 +39264,21 @@ var Hle = 8, Gle = 16, Wle = 2, Ule = ({ indexedLegends: e, containerRect: t })
39262
39264
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
39263
39265
  ...E_(e.strokeWidth, e.stroke),
39264
39266
  ...xt(t)
39265
- }), E_ = (e, t) => e > 0 && t !== void 0 ? { border: `${e}px solid ${t}` } : {}, Kle = "legend-overflow_triggerGroup__h68bv30", Xle = {
39267
+ }), E_ = (e, t) => e > 0 && t !== void 0 ? { border: `${e}px solid ${t}` } : {}, Yle = "legend-overflow_triggerGroup__h68bv30", Kle = {
39266
39268
  1: "legend-overflow_triggerGroupHorizontal_1__h68bv31",
39267
39269
  2: "legend-overflow_triggerGroupHorizontal_2__h68bv32"
39268
- }, qle = {
39270
+ }, Xle = {
39269
39271
  1: "legend-overflow_triggerGroupVertical_1__h68bv33",
39270
39272
  2: "legend-overflow_triggerGroupVertical_2__h68bv34"
39271
39273
  };
39272
- var Qle = {
39274
+ var qle = {
39273
39275
  1: "legend-overflow_triggerGhostHorizontal_1__h68bv36",
39274
39276
  2: "legend-overflow_triggerGhostHorizontal_2__h68bv37"
39275
- }, Jle = {
39277
+ }, Qle = {
39276
39278
  1: "legend-overflow_triggerGhostVertical_1__h68bv38",
39277
39279
  2: "legend-overflow_triggerGhostVertical_2__h68bv39"
39278
- }, Zle = "legend-overflow_trigger__h68bv3a", ece = "legend-overflow_triggerLabel__h68bv3b";
39279
- var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39280
+ }, Jle = "legend-overflow_trigger__h68bv3a", Zle = "legend-overflow_triggerLabel__h68bv3b";
39281
+ var ece = "pill-content_bubble__1rqnt0m0", dh = "\0", tce = (e, t) => {
39280
39282
  const r = [];
39281
39283
  for (const { legend: n, legendIndex: i } of e) {
39282
39284
  const a = n.aesthetics.includes("size");
@@ -39303,7 +39305,7 @@ var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39303
39305
  });
39304
39306
  }
39305
39307
  return r;
39306
- }, k_ = ({ pill: e }) => e.isBubble ? /* @__PURE__ */ v(ace, { pill: e }) : /* @__PURE__ */ v(ice, { pill: e }), nce = ({ color: e, lineType: t, shape: r, label: n, layerId: i, groupValue: a }) => {
39308
+ }, k_ = ({ pill: e }) => e.isBubble ? /* @__PURE__ */ v(ice, { pill: e }) : /* @__PURE__ */ v(nce, { pill: e }), rce = ({ color: e, lineType: t, shape: r, label: n, layerId: i, groupValue: a }) => {
39307
39309
  const { swatch: o } = ce(Pu, Se()), s = $u(i, a, o.size);
39308
39310
  return e ? /* @__PURE__ */ v(nl, {
39309
39311
  shape: r,
@@ -39319,17 +39321,17 @@ var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39319
39321
  cornerRadius: s.cornerRadius,
39320
39322
  symbol: s.symbol
39321
39323
  }) : null;
39322
- }, ice = ({ pill: e }) => /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ v(nce, {
39324
+ }, nce = ({ pill: e }) => /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ v(rce, {
39323
39325
  color: e.visual.color,
39324
39326
  lineType: e.primaryLineType,
39325
39327
  shape: e.swatchShape,
39326
39328
  label: e.formattedLabel,
39327
39329
  layerId: e.layerId,
39328
39330
  groupValue: e.groupValue
39329
- }), /* @__PURE__ */ v("span", { children: e.formattedLabel })] }), ace = ({ pill: e }) => {
39331
+ }), /* @__PURE__ */ v("span", { children: e.formattedLabel })] }), ice = ({ pill: e }) => {
39330
39332
  const t = Number(e.visual.size), r = $u(e.layerId, e.groupValue, t);
39331
39333
  return /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ v("span", {
39332
- className: tce,
39334
+ className: ece,
39333
39335
  style: {
39334
39336
  width: t,
39335
39337
  height: t,
@@ -39337,8 +39339,8 @@ var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39337
39339
  opacity: r.alpha
39338
39340
  }
39339
39341
  }), /* @__PURE__ */ v("span", { children: e.formattedLabel })] });
39340
- }, jw = { [x_]: "" }, oce = ({ hiddenPills: e, placement: t }) => {
39341
- const r = N2(), [n, i] = Ee(!1), a = Se(), o = ce(Pu, a), s = ce(a_, a), l = oi(), c = rl([o.item.fill, s.popover.fill]), u = c(o.item.fill), d = T_(o.item, u), h = sce(e.length, o.item), m = h === null ? void 0 : {
39342
+ }, jw = { [x_]: "" }, ace = ({ hiddenPills: e, placement: t }) => {
39343
+ const r = N2(), [n, i] = Ee(!1), a = Se(), o = ce(Pu, a), s = ce(a_, a), l = oi(), c = rl([o.item.fill, s.popover.fill]), u = c(o.item.fill), d = T_(o.item, u), h = oce(e.length, o.item), m = h === null ? void 0 : {
39342
39344
  ...S_(o.item, u),
39343
39345
  opacity: Oee * (o.item.alpha ?? 1)
39344
39346
  }, { refs: f, floatingStyles: p } = X2({
@@ -39371,25 +39373,25 @@ var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39371
39373
  const g = t === "left" || t === "right", y = h === null ? [] : Array.from({ length: h }, (x, w) => h - w);
39372
39374
  return /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ U("div", {
39373
39375
  ref: f.setReference,
39374
- className: Jt(Kle, h !== null && g && qle[h], h !== null && !g && Xle[h]),
39376
+ className: Jt(Yle, h !== null && g && Xle[h], h !== null && !g && Kle[h]),
39375
39377
  ...jw,
39376
39378
  children: [h !== null && y.map((x) => /* @__PURE__ */ v("span", {
39377
- className: Jt("legend-overflow_triggerGhost__h68bv35", g ? Jle[h] : Qle[h]),
39379
+ className: Jt("legend-overflow_triggerGhost__h68bv35", g ? Qle[h] : qle[h]),
39378
39380
  style: {
39379
39381
  ...m,
39380
- ...lce(x, g)
39382
+ ...sce(x, g)
39381
39383
  },
39382
39384
  "aria-hidden": !0
39383
39385
  }, x)), /* @__PURE__ */ v("button", {
39384
39386
  type: "button",
39385
- className: Zle,
39387
+ className: Jle,
39386
39388
  style: d,
39387
39389
  onClick: () => i((x) => !x),
39388
39390
  "aria-haspopup": "dialog",
39389
39391
  "aria-expanded": n,
39390
39392
  "aria-label": `Show ${e.length} hidden legend ${e.length === 1 ? "item" : "items"}`,
39391
39393
  children: /* @__PURE__ */ U("span", {
39392
- className: ece,
39394
+ className: Zle,
39393
39395
  children: ["+", e.length]
39394
39396
  })
39395
39397
  })]
@@ -39400,7 +39402,7 @@ var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39400
39402
  className: "legend-overflow_popover__h68bv3c",
39401
39403
  style: {
39402
39404
  ...p,
39403
- ...Yle(s.popover, o.item, c(s.popover.fill))
39405
+ ...zle(s.popover, o.item, c(s.popover.fill))
39404
39406
  },
39405
39407
  ...jw,
39406
39408
  children: /* @__PURE__ */ v("ul", {
@@ -39412,23 +39414,23 @@ var tce = "pill-content_bubble__1rqnt0m0", dh = "\0", rce = (e, t) => {
39412
39414
  }, x.key))
39413
39415
  })
39414
39416
  })] });
39415
- }, sce = (e, t) => {
39417
+ }, oce = (e, t) => {
39416
39418
  if (!M_(t)) return null;
39417
39419
  const r = Math.min(e - 1, 2);
39418
39420
  return r === 1 ? 1 : r === 2 ? 2 : null;
39419
- }, lce = (e, t) => {
39421
+ }, sce = (e, t) => {
39420
39422
  const r = -e * 4;
39421
39423
  return { transform: t ? `translateY(${r}px)` : `translateX(${r}px)` };
39422
- }, cce = "pill-legends_root__1unrqh40", uce = "pill-legends_horizontalRoot__1unrqh41", dce = "pill-legends_verticalRoot__1unrqh42", hce = {
39424
+ }, lce = "pill-legends_root__1unrqh40", cce = "pill-legends_horizontalRoot__1unrqh41", uce = "pill-legends_verticalRoot__1unrqh42", dce = {
39423
39425
  start: "pill-legends_mainAxisAlign_start__1unrqh43",
39424
39426
  center: "pill-legends_mainAxisAlign_center__1unrqh44",
39425
39427
  end: "pill-legends_mainAxisAlign_end__1unrqh45"
39426
- }, fce = {
39428
+ }, hce = {
39427
39429
  right: "pill-legends_verticalPlotHug_right__1unrqh46",
39428
39430
  left: "pill-legends_verticalPlotHug_left__1unrqh47"
39429
- }, mce = "pill-legends_item__1unrqh48";
39430
- var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }) => {
39431
- const i = ri(), a = ra(), o = Se(), s = ce(a_, o), l = ce(Pu, o), c = Pn(), u = Re((A) => A.coordSystem.type), d = oi(), h = W(() => rce(t, (A) => c(A, u)?.swatchShape ?? "square"), [
39431
+ }, fce = "pill-legends_item__1unrqh48";
39432
+ var mce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }) => {
39433
+ const i = ri(), a = ra(), o = Se(), s = ce(a_, o), l = ce(Pu, o), c = Pn(), u = Re((A) => A.coordSystem.type), d = oi(), h = W(() => tce(t, (A) => c(A, u)?.swatchShape ?? "square"), [
39432
39434
  t,
39433
39435
  c,
39434
39436
  u
@@ -39441,9 +39443,9 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39441
39443
  visibleCount: h.length,
39442
39444
  hasOverflow: !1
39443
39445
  };
39444
- const A = Wt(l.item, a.fonts.familyDefault), D = Yn(l.item), b = 2 * (l.item.paddingInline + l.item.strokeWidth), S = 2 * (l.item.paddingBlock + l.item.strokeWidth), R = (M) => m ? gce(M, D, l.swatch.size, S) : $w({
39446
+ const A = Wt(l.item, a.fonts.familyDefault), D = Yn(l.item), b = 2 * (l.item.paddingInline + l.item.strokeWidth), S = 2 * (l.item.paddingBlock + l.item.strokeWidth), R = (M) => m ? pce(M, D, l.swatch.size, S) : $w({
39445
39447
  label: M.formattedLabel,
39446
- swatchInlineSize: vce(M, l.swatch.size),
39448
+ swatchInlineSize: gce(M, l.swatch.size),
39447
39449
  textMeasurer: i,
39448
39450
  font: A,
39449
39451
  swatchGap: a.legendSwatchGap,
@@ -39456,7 +39458,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39456
39458
  swatchGap: a.legendSwatchGap,
39457
39459
  horizontalChrome: b
39458
39460
  })) + (M_(l.item) ? 8 : 0);
39459
- return bce({
39461
+ return yce({
39460
39462
  pillSizes: I,
39461
39463
  overflowPillSize: B,
39462
39464
  containerSize: f,
@@ -39474,29 +39476,29 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39474
39476
  if (h.length === 0) return null;
39475
39477
  const x = h.slice(0, g.visibleCount), w = h.slice(g.visibleCount), T = g.hasOverflow && w.length > 0, _ = T_(l.item, y(l.item.fill));
39476
39478
  return /* @__PURE__ */ U("div", {
39477
- className: Jt(hce[p], cce, {
39478
- [dce]: m,
39479
- [uce]: !m,
39480
- [fce[e === "left" ? "left" : "right"]]: m
39479
+ className: Jt(dce[p], lce, {
39480
+ [uce]: m,
39481
+ [cce]: !m,
39482
+ [hce[e === "left" ? "left" : "right"]]: m
39481
39483
  }),
39482
39484
  style: { gap: s.gap },
39483
39485
  children: [x.map((A) => /* @__PURE__ */ v("div", {
39484
- className: Jt(mce, d && "pill-legends_hitTestableItem__1unrqh49"),
39486
+ className: Jt(fce, d && "pill-legends_hitTestableItem__1unrqh49"),
39485
39487
  style: _,
39486
39488
  ...d ? kg(A.address) : void 0,
39487
39489
  children: /* @__PURE__ */ v(k_, { pill: A })
39488
- }, A.key)), T && /* @__PURE__ */ v(oce, {
39490
+ }, A.key)), T && /* @__PURE__ */ v(ace, {
39489
39491
  hiddenPills: w,
39490
- placement: xce(e)
39492
+ placement: bce(e)
39491
39493
  })]
39492
39494
  });
39493
39495
  }, $w = ({ label: e, swatchInlineSize: t, textMeasurer: r, font: n, swatchGap: i, horizontalChrome: a }) => {
39494
39496
  const o = r.measureText(e, n).width;
39495
39497
  return t + (t > 0 ? i : 0) + o + a;
39496
- }, gce = (e, t, r, n) => {
39497
- const i = yce(e, r);
39498
+ }, pce = (e, t, r, n) => {
39499
+ const i = vce(e, r);
39498
39500
  return Math.max(t, i) + n;
39499
- }, vce = (e, t) => Kc(e.visual, t, e.isBubble), yce = (e, t) => e.isBubble ? Kc(e.visual, t, !0) : t, bce = ({ pillSizes: e, overflowPillSize: t, containerSize: r, gap: n }) => {
39501
+ }, gce = (e, t) => Kc(e.visual, t, e.isBubble), vce = (e, t) => e.isBubble ? Kc(e.visual, t, !0) : t, yce = ({ pillSizes: e, overflowPillSize: t, containerSize: r, gap: n }) => {
39500
39502
  if (e.length === 0) return {
39501
39503
  visibleCount: 0,
39502
39504
  hasOverflow: !1
@@ -39518,7 +39520,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39518
39520
  visibleCount: o,
39519
39521
  hasOverflow: !0
39520
39522
  };
39521
- }, xce = (e) => {
39523
+ }, bce = (e) => {
39522
39524
  switch (e) {
39523
39525
  case "top":
39524
39526
  return "bottom";
@@ -39529,7 +39531,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39529
39531
  case "right":
39530
39532
  return "left";
39531
39533
  }
39532
- }, wce = Cr(function({ formattedLegends: t, rects: r }) {
39534
+ }, xce = Cr(function({ formattedLegends: t, rects: r }) {
39533
39535
  const n = W(() => {
39534
39536
  const i = /* @__PURE__ */ new Map();
39535
39537
  return t.forEach((a, o) => {
@@ -39548,25 +39550,25 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39548
39550
  return /* @__PURE__ */ v(me, { children: Array.from(n, ([i, a]) => {
39549
39551
  const o = r[i];
39550
39552
  return o === void 0 ? null : /* @__PURE__ */ U("div", {
39551
- className: zle,
39553
+ className: $le,
39552
39554
  style: {
39553
39555
  left: o.x,
39554
39556
  top: o.y,
39555
39557
  width: o.width,
39556
39558
  height: o.height
39557
39559
  },
39558
- children: [/* @__PURE__ */ v(pce, {
39560
+ children: [/* @__PURE__ */ v(mce, {
39559
39561
  edge: i,
39560
39562
  indexedLegends: a.pill,
39561
39563
  containerWidth: o.width,
39562
39564
  containerHeight: o.height
39563
- }), /* @__PURE__ */ v(Ule, {
39565
+ }), /* @__PURE__ */ v(Wle, {
39564
39566
  indexedLegends: a.direct,
39565
39567
  containerRect: o
39566
39568
  })]
39567
39569
  }, i);
39568
39570
  }) });
39569
- }), Ace = (e, t, r) => {
39571
+ }), wce = (e, t, r) => {
39570
39572
  if (e.type === "cartesian") return pz(e, t);
39571
39573
  const n = uo(r), i = fr(t.x, e.innerRadius, n), a = fr(t.x, 1, n);
39572
39574
  return {
@@ -39575,43 +39577,43 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39575
39577
  x2: a.x,
39576
39578
  y2: a.y
39577
39579
  };
39578
- }, Sce = ({ layers: e, primaryLayerId: t, coordSystem: r, resolveRenderer: n }) => {
39580
+ }, Ace = ({ layers: e, primaryLayerId: t, coordSystem: r, resolveRenderer: n }) => {
39579
39581
  const i = e.find((o) => o.id === t);
39580
39582
  if (!i) return null;
39581
39583
  const a = n(i.geom, r.type);
39582
39584
  return a ? a.guideMode ?? null : null;
39583
- }, Tce = ({ panelRect: e }) => {
39585
+ }, Sce = ({ panelRect: e }) => {
39584
39586
  const { coordSystem: t, layers: r, scales: n } = Re(pr((l) => ({
39585
39587
  coordSystem: l.coordSystem,
39586
39588
  layers: l.layers,
39587
39589
  scales: l.scales
39588
- }))), i = ts((l) => l.hover.primary), a = Pn(), o = ce(Pce, Se());
39590
+ }))), i = ts((l) => l.hover.primary), a = Pn(), o = ce(kce, Se());
39589
39591
  if (!ni[ul()].hoverPaint || r.length === 0 || i === null || !i.anchored) return null;
39590
- const s = Sce({
39592
+ const s = Ace({
39591
39593
  layers: r,
39592
39594
  primaryLayerId: i.layerId,
39593
39595
  coordSystem: t,
39594
39596
  resolveRenderer: a
39595
39597
  });
39596
- return s === null ? null : s === "crosshair" ? /* @__PURE__ */ v(Mce, {
39598
+ return s === null ? null : s === "crosshair" ? /* @__PURE__ */ v(Tce, {
39597
39599
  coordSystem: t,
39598
39600
  primary: i,
39599
39601
  panelRect: e,
39600
39602
  guide: o
39601
- }) : t.type === "polar" ? /* @__PURE__ */ v(kce, {
39603
+ }) : t.type === "polar" ? /* @__PURE__ */ v(Ece, {
39602
39604
  coordSystem: t,
39603
39605
  primary: i,
39604
39606
  panelRect: e,
39605
39607
  guide: o
39606
- }) : /* @__PURE__ */ v(Ece, {
39608
+ }) : /* @__PURE__ */ v(Mce, {
39607
39609
  coordSystem: t,
39608
39610
  scales: n,
39609
39611
  primary: i,
39610
39612
  panelRect: e,
39611
39613
  guide: o
39612
39614
  });
39613
- }, Mce = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
39614
- const i = Ace(e, t, r);
39615
+ }, Tce = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
39616
+ const i = wce(e, t, r);
39615
39617
  return /* @__PURE__ */ v(Pg, {
39616
39618
  panelRect: r,
39617
39619
  children: /* @__PURE__ */ v("line", {
@@ -39623,7 +39625,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39623
39625
  "data-testid": "hover-guide-line"
39624
39626
  })
39625
39627
  });
39626
- }, Ece = ({ coordSystem: e, scales: t, primary: r, panelRect: n, guide: i }) => {
39628
+ }, Mce = ({ coordSystem: e, scales: t, primary: r, panelRect: n, guide: i }) => {
39627
39629
  const a = gz(e, t, r);
39628
39630
  return a === null ? null : /* @__PURE__ */ v(Pg, {
39629
39631
  panelRect: n,
@@ -39633,7 +39635,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39633
39635
  "data-testid": "hover-guide-rect"
39634
39636
  })
39635
39637
  });
39636
- }, kce = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
39638
+ }, Ece = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
39637
39639
  const i = vz(e, t);
39638
39640
  if (i === null) return null;
39639
39641
  const a = Hi(i);
@@ -39663,14 +39665,14 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39663
39665
  },
39664
39666
  "data-testid": "hover-guide",
39665
39667
  children: t
39666
- }), Pce = (e) => e.hoverGuide().resolve(), _ce = (e) => Lce[e] !== void 0, Cce = (e, t, r) => P_(e, r, t / 2), Ice = (e, t) => {
39668
+ }), kce = (e) => e.hoverGuide().resolve(), Pce = (e) => Rce[e] !== void 0, _ce = (e, t, r) => P_(e, r, t / 2), Cce = (e, t) => {
39667
39669
  const r = Kn(e.start, t), n = Kn(e.end, t);
39668
39670
  return r.x === n.x && r.y === n.y ? null : {
39669
39671
  shape: "segment",
39670
39672
  start: r,
39671
39673
  end: n
39672
39674
  };
39673
- }, Rce = (e, { panel: t, measuredBoxes: r }) => {
39675
+ }, Ice = (e, { panel: t, measuredBoxes: r }) => {
39674
39676
  const n = r.get(e.id);
39675
39677
  if (n === void 0) return null;
39676
39678
  const i = Jf(e.align), a = Kn(e.at, t);
@@ -39697,20 +39699,20 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39697
39699
  height: n.height + r * 2
39698
39700
  }
39699
39701
  };
39700
- }, Lce = {
39701
- text: Wl((e) => e.textAnnotations, Rce),
39702
- shape: Wl((e) => e.shapes, (e, t) => Cce(e.region, t.readers.annotation.shape(e.id).get("strokeWidth"), t.panel)),
39702
+ }, Rce = {
39703
+ text: Wl((e) => e.textAnnotations, Ice),
39704
+ shape: Wl((e) => e.shapes, (e, t) => _ce(e.region, t.readers.annotation.shape(e.id).get("strokeWidth"), t.panel)),
39703
39705
  image: Wl((e) => e.images, (e, t) => P_(e.region, t.panel)),
39704
- arrow: Wl((e) => e.arrows, (e, t) => Ice(e, t.panel))
39705
- }, Dce = (e, t) => {
39706
+ arrow: Wl((e) => e.arrows, (e, t) => Cce(e, t.panel))
39707
+ }, Lce = (e, t) => {
39706
39708
  const r = ST(e, t);
39707
- return r !== null && _ce(r.kind) && PY(r);
39708
- }, Oce = 200, Nce = ({ engine: e, store: t, overlayRef: r }) => {
39709
+ return r !== null && Pce(r.kind) && PY(r);
39710
+ }, Dce = 200, Oce = ({ engine: e, store: t, overlayRef: r }) => {
39709
39711
  const { tolerance: n } = ni[ul()], i = Tn(t, (a) => a.isQueryOwnedByEditor);
39710
39712
  ye(() => {
39711
39713
  const a = r.current;
39712
39714
  if (!a) return;
39713
- const o = Bce(a, e), s = i ? void 0 : Vce(a, e, t, n ?? void 0);
39715
+ const o = Nce(a, e), s = i ? void 0 : Fce(a, e, t, n ?? void 0);
39714
39716
  return () => {
39715
39717
  s?.(), o();
39716
39718
  };
@@ -39721,7 +39723,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39721
39723
  n,
39722
39724
  i
39723
39725
  ]);
39724
- }, Bce = (e, t) => {
39726
+ }, Nce = (e, t) => {
39725
39727
  const r = () => {
39726
39728
  const o = e.getBoundingClientRect();
39727
39729
  o.width === 0 || o.height === 0 || t.setViewport({
@@ -39733,17 +39735,17 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39733
39735
  const i = () => {
39734
39736
  n !== null && clearTimeout(n), n = setTimeout(() => {
39735
39737
  n = null, r();
39736
- }, Oce);
39738
+ }, Dce);
39737
39739
  }, a = new ResizeObserver(i);
39738
39740
  return a.observe(e), r(), () => {
39739
39741
  a.disconnect(), n !== null && clearTimeout(n);
39740
39742
  };
39741
- }, Fce = (e, t) => e.kind === "cursor" ? null : {
39743
+ }, Bce = (e, t) => e.kind === "cursor" ? null : {
39742
39744
  x: t.left + e.point.x,
39743
39745
  y: t.top + e.point.y,
39744
39746
  placement: e.placement,
39745
39747
  annotationId: e.annotationId
39746
- }, Vce = (e, t, r, n) => {
39748
+ }, Fce = (e, t, r, n) => {
39747
39749
  let i = null, a = null;
39748
39750
  const o = () => {
39749
39751
  const f = e.getBoundingClientRect();
@@ -39761,7 +39763,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39761
39763
  if (y.isPointerSuspended) return;
39762
39764
  const x = S0(g, y.pointerRegions);
39763
39765
  if (x !== null) {
39764
- y.setHoverState(t.query(x.cursor, n)), y.setTooltipAnchor(Fce(x.tooltip, p));
39766
+ y.setHoverState(t.query(x.cursor, n)), y.setTooltipAnchor(Bce(x.tooltip, p));
39765
39767
  return;
39766
39768
  }
39767
39769
  const w = dM(g, p);
@@ -39790,14 +39792,14 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39790
39792
  return e.addEventListener("pointermove", h), e.addEventListener("pointerleave", m), () => {
39791
39793
  e.removeEventListener("pointermove", h), e.removeEventListener("pointerleave", m), document.removeEventListener("pointermove", d), a !== null && cancelAnimationFrame(a), i = null;
39792
39794
  };
39793
- }, Hce = ({ panelRect: e }) => {
39794
- const { engine: t, store: r, overlayRef: n } = na(), i = Vn(h_), a = Vn(Mse), o = Vn((l) => l.caret !== null);
39795
- Nce({
39795
+ }, Vce = ({ panelRect: e }) => {
39796
+ const { engine: t, store: r, overlayRef: n } = na(), i = Vn(h_), a = Vn(Tse), o = Vn((l) => l.caret !== null);
39797
+ Oce({
39796
39798
  engine: t,
39797
39799
  store: r,
39798
39800
  overlayRef: n
39799
39801
  });
39800
- const s = Re((l) => i !== null && Dce(l.spec.annotations, i));
39802
+ const s = Re((l) => i !== null && Lce(l.spec.annotations, i));
39801
39803
  return /* @__PURE__ */ v("rect", {
39802
39804
  ref: n,
39803
39805
  x: e.x,
@@ -39806,10 +39808,10 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39806
39808
  height: e.height,
39807
39809
  fill: "transparent",
39808
39810
  pointerEvents: o ? "none" : "all",
39809
- cursor: Gce(s, a),
39811
+ cursor: Hce(s, a),
39810
39812
  "data-testid": "pointer-capture-layer"
39811
39813
  });
39812
- }, Gce = (e, t) => e ? "move" : t ? "pointer" : void 0, hh = "data-hover-active", Wce = (e) => {
39814
+ }, Hce = (e, t) => e ? "move" : t ? "pointer" : void 0, hh = "data-hover-active", Gce = (e) => {
39813
39815
  const { store: t } = na(), r = ni[ul()].hoverPaint, n = Tn(t, (a) => a.hover.primary !== null), i = r && n;
39814
39816
  ye(() => {
39815
39817
  const a = e.current;
@@ -39819,7 +39821,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39819
39821
  };
39820
39822
  }, [e, i]);
39821
39823
  }, ad = () => Vn((e) => rs(e, "move-drag")?.annotationId ?? rs(e, "shape-resize-drag")?.annotationId ?? rs(e, "arrow-endpoint-drag")?.annotationId ?? null), dl = (e) => {
39822
- const t = Re((o) => o.annotations), r = dse(), n = mse(), i = Ce((o) => zw(n, "cycle", o, `Annotation reference cycle detected; dropping annotation(s): ${o.join(", ")}`), [n]), a = Ce((o) => zw(n, "missing-ref", o, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${o.join(", ")}`), [n]);
39824
+ const t = Re((o) => o.annotations), r = use(), n = fse(), i = Ce((o) => zw(n, "cycle", o, `Annotation reference cycle detected; dropping annotation(s): ${o.join(", ")}`), [n]), a = Ce((o) => zw(n, "missing-ref", o, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${o.join(", ")}`), [n]);
39823
39825
  return W(() => NW({
39824
39826
  annotations: t,
39825
39827
  panelRect: e,
@@ -39836,13 +39838,13 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39836
39838
  }, zw = (e, t, r, n) => {
39837
39839
  const i = [t, ...[...r].sort()].join("\0");
39838
39840
  e.has(i) || (e.add(i), console.warn(n));
39839
- }, Uce = 16, __ = ({ linePath: e, strokeWidth: t }) => /* @__PURE__ */ v("path", {
39841
+ }, Wce = 16, __ = ({ linePath: e, strokeWidth: t }) => /* @__PURE__ */ v("path", {
39840
39842
  d: e,
39841
39843
  stroke: "transparent",
39842
- strokeWidth: Math.max(t, Uce),
39844
+ strokeWidth: Math.max(t, Wce),
39843
39845
  fill: "none",
39844
39846
  pointerEvents: "stroke"
39845
- }), jce = 1.4, $ce = {
39847
+ }), Uce = 1.4, jce = {
39846
39848
  light: {
39847
39849
  primary: "#1D2129",
39848
39850
  inverse: "#FFFFFF"
@@ -39851,11 +39853,11 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39851
39853
  primary: "#FFFFFF",
39852
39854
  inverse: "#1D2129"
39853
39855
  }
39854
- }, zce = ({ computed: e, style: t, isAddressable: r }) => {
39856
+ }, $ce = ({ computed: e, style: t, isAddressable: r }) => {
39855
39857
  const n = pt(), { colorScheme: i } = xg(), a = e.dashArray ? {
39856
39858
  strokeDasharray: e.dashArray,
39857
39859
  strokeDashoffset: e.dashOffset
39858
- } : {}, o = t.outline.shadow === "none" ? null : t.outline.shadow, s = t.outline.strokeWidth > 0, l = $ce[i], c = t.outline.stroke ?? Xce(t.stroke, l.primary, l.inverse), u = o === null ? null : Kce(e, t.outline.strokeWidth, o.blur);
39860
+ } : {}, o = t.outline.shadow === "none" ? null : t.outline.shadow, s = t.outline.strokeWidth > 0, l = jce[i], c = t.outline.stroke ?? Kce(t.stroke, l.primary, l.inverse), u = o === null ? null : Yce(e, t.outline.strokeWidth, o.blur);
39859
39861
  return /* @__PURE__ */ U("g", {
39860
39862
  pointerEvents: r ? void 0 : "none",
39861
39863
  children: [
@@ -39878,7 +39880,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39878
39880
  filter: o === null ? void 0 : `url(#${n})`,
39879
39881
  children: [
39880
39882
  s && /* @__PURE__ */ v("path", {
39881
- d: Yce(e),
39883
+ d: zce(e),
39882
39884
  stroke: c,
39883
39885
  strokeWidth: e.strokeWidth + 2 * t.outline.strokeWidth,
39884
39886
  strokeLinecap: "round",
@@ -39910,11 +39912,11 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39910
39912
  })
39911
39913
  ]
39912
39914
  });
39913
- }, Yce = (e) => [
39915
+ }, zce = (e) => [
39914
39916
  e.linePath,
39915
39917
  e.startArrowheadPath,
39916
39918
  e.endArrowheadPath
39917
- ].filter((t) => t.length > 0).join(" "), Kce = (e, t, r) => {
39919
+ ].filter((t) => t.length > 0).join(" "), Yce = (e, t, r) => {
39918
39920
  const n = e.arrowheadExtent + e.strokeWidth + t + r;
39919
39921
  return {
39920
39922
  x: Math.min(e.startX, e.endX) - n,
@@ -39922,13 +39924,13 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39922
39924
  width: Math.abs(e.endX - e.startX) + 2 * n,
39923
39925
  height: Math.abs(e.endY - e.startY) + 2 * n
39924
39926
  };
39925
- }, Xce = (e, t, r) => {
39927
+ }, Kce = (e, t, r) => {
39926
39928
  try {
39927
- return ac(e, t) < jce ? r : t;
39929
+ return ac(e, t) < Uce ? r : t;
39928
39930
  } catch {
39929
39931
  return r;
39930
39932
  }
39931
- }, qce = ({ panelRect: e, isEditable: t }) => {
39933
+ }, Xce = ({ panelRect: e, isEditable: t }) => {
39932
39934
  const { arrows: r } = dl(e), n = ad(), i = Se(), a = W(() => r.filter((o) => o.id !== n).flatMap((o) => {
39933
39935
  const s = iY(i, o.id), l = KW({
39934
39936
  arrow: o,
@@ -39955,17 +39957,17 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39955
39957
  kind: "annotation",
39956
39958
  id: o.id
39957
39959
  }),
39958
- children: /* @__PURE__ */ v(zce, {
39960
+ children: /* @__PURE__ */ v($ce, {
39959
39961
  computed: o,
39960
39962
  style: s,
39961
39963
  isAddressable: t
39962
39964
  })
39963
39965
  }, o.id))
39964
39966
  });
39965
- }, Qce = () => {
39967
+ }, qce = () => {
39966
39968
  const { selectionStore: e } = St();
39967
39969
  return Tn(e, (t) => t.selection);
39968
- }, Jce = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, isAddressable: i }) => {
39970
+ }, Qce = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, isAddressable: i }) => {
39969
39971
  const a = {
39970
39972
  stroke: r,
39971
39973
  strokeWidth: n,
@@ -39990,7 +39992,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39990
39992
  })
39991
39993
  ]
39992
39994
  });
39993
- }, Zce = ({ x: e, y: t, text: r, box: n, label: i, arrowColor: a, isAddressable: o }) => {
39995
+ }, Jce = ({ x: e, y: t, text: r, box: n, label: i, arrowColor: a, isAddressable: o }) => {
39994
39996
  const { fonts: s } = ra(), l = rd(i.cornerRadius), c = i.shadow === void 0 ? void 0 : go(i.shadow), u = {
39995
39997
  fill: Be(i.fill),
39996
39998
  stroke: i.stroke ?? a,
@@ -40024,27 +40026,27 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40024
40026
  children: lo(r, i.textTransform)
40025
40027
  })]
40026
40028
  });
40027
- }, eue = "difference-arrows_pointer__1lwhbn50", tue = "75%", rue = ({ panelRect: e, isEditable: t }) => {
40028
- const r = Ise(), n = Vn(h_), i = Qce(), a = W(() => new Set(i.filter((o) => o.kind === "annotation").map((o) => o.id)), [i]);
40029
+ }, Zce = "difference-arrows_pointer__1lwhbn50", eue = "75%", tue = ({ panelRect: e, isEditable: t }) => {
40030
+ const r = Cse(), n = Vn(h_), i = qce(), a = W(() => new Set(i.filter((o) => o.kind === "annotation").map((o) => o.id)), [i]);
40029
40031
  return r.length === 0 ? null : /* @__PURE__ */ v("g", {
40030
40032
  transform: `translate(${e.x}, ${e.y})`,
40031
40033
  "data-testid": "difference-arrows",
40032
40034
  children: r.map(({ color: o, style: s, id: l, linePath: c, arrowheadPath: u, labelPosition: d, labelBox: h, labelText: m, isDragged: f, hasComparableEndpoints: p }) => {
40033
- const g = n === l || a.has(l), y = f && !p, x = y ? O.alert : o, w = g && !y ? nue(x) : x;
40035
+ const g = n === l || a.has(l), y = f && !p, x = y ? O.alert : o, w = g && !y ? rue(x) : x;
40034
40036
  return /* @__PURE__ */ U("g", {
40035
- className: n === l ? eue : void 0,
40037
+ className: n === l ? Zce : void 0,
40036
40038
  "data-warning": y || void 0,
40037
40039
  ...cl({
40038
40040
  kind: "annotation",
40039
40041
  id: l
40040
40042
  }),
40041
- children: [/* @__PURE__ */ v(Jce, {
40043
+ children: [/* @__PURE__ */ v(Qce, {
40042
40044
  linePath: c,
40043
40045
  arrowheadPath: u,
40044
40046
  stroke: w,
40045
40047
  strokeWidth: s.strokeWidth,
40046
40048
  isAddressable: t
40047
- }), /* @__PURE__ */ v(Zce, {
40049
+ }), /* @__PURE__ */ v(Jce, {
40048
40050
  x: d.x,
40049
40051
  y: d.y,
40050
40052
  text: m,
@@ -40056,11 +40058,11 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40056
40058
  }, l);
40057
40059
  })
40058
40060
  });
40059
- }, nue = (e) => `color-mix(in srgb, ${e} ${tue}, ${O.textPrimary})`, iue = {
40061
+ }, rue = (e) => `color-mix(in srgb, ${e} ${eue}, ${O.textPrimary})`, nue = {
40060
40062
  fill: "none",
40061
40063
  contain: "xMidYMid meet",
40062
40064
  cover: "xMidYMid slice"
40063
- }, aue = ({ image: e, panel: t, style: r }) => {
40065
+ }, iue = ({ image: e, panel: t, style: r }) => {
40064
40066
  const n = pt(), { src: i, region: a, fit: o } = e, s = tp(a, t), l = eoe(r.cornerRadius), c = rd(r.cornerRadius), u = r.shadow === void 0 ? void 0 : go(r.shadow);
40065
40067
  return /* @__PURE__ */ U("g", {
40066
40068
  opacity: r.alpha,
@@ -40074,7 +40076,7 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40074
40076
  }), /* @__PURE__ */ v("image", {
40075
40077
  href: i,
40076
40078
  ...s,
40077
- preserveAspectRatio: iue[o],
40079
+ preserveAspectRatio: nue[o],
40078
40080
  clipPath: l ? `url(#${n})` : void 0
40079
40081
  })]
40080
40082
  });
@@ -40092,14 +40094,14 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40092
40094
  kind: "annotation",
40093
40095
  id: o.id
40094
40096
  }),
40095
- children: /* @__PURE__ */ v(aue, {
40097
+ children: /* @__PURE__ */ v(iue, {
40096
40098
  image: o,
40097
40099
  panel: e,
40098
40100
  style: n.annotation.image(o.id).resolve()
40099
40101
  })
40100
40102
  }, o.id))
40101
40103
  });
40102
- }, oue = ({ shape: e, style: t, panel: r }) => {
40104
+ }, aue = ({ shape: e, style: t, panel: r }) => {
40103
40105
  const n = tp(e.region, r);
40104
40106
  return /* @__PURE__ */ v("rect", {
40105
40107
  x: n.x,
@@ -40126,14 +40128,14 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40126
40128
  kind: "annotation",
40127
40129
  id: o.id
40128
40130
  }),
40129
- children: /* @__PURE__ */ v(oue, {
40131
+ children: /* @__PURE__ */ v(aue, {
40130
40132
  shape: o,
40131
40133
  style: n.annotation.shape(o.id).resolve(),
40132
40134
  panel: e
40133
40135
  })
40134
40136
  }, o.id))
40135
40137
  });
40136
- }, sue = "text-annotation_annotation__1plg4b60", lue = 0.1, cue = ({ annotation: e, panel: t, style: r, blockRef: n, children: i }) => {
40138
+ }, oue = "text-annotation_annotation__1plg4b60", sue = 0.1, lue = ({ annotation: e, panel: t, style: r, blockRef: n, children: i }) => {
40137
40139
  const a = Kn(e.at, t);
40138
40140
  return /* @__PURE__ */ v("foreignObject", {
40139
40141
  x: a.x,
@@ -40144,19 +40146,19 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40144
40146
  pointerEvents: "none",
40145
40147
  children: /* @__PURE__ */ v("div", {
40146
40148
  ref: n,
40147
- className: sue,
40149
+ className: oue,
40148
40150
  style: {
40149
- ...due(r),
40150
- transform: uue(e.align)
40151
+ ...uue(r),
40152
+ transform: cue(e.align)
40151
40153
  },
40152
40154
  children: i
40153
40155
  })
40154
40156
  });
40155
- }, uue = (e) => {
40157
+ }, cue = (e) => {
40156
40158
  const t = Jf(e);
40157
40159
  return `translate(${-t.x * 100}%, ${-(1 - t.y) * 100}%)`;
40158
- }, due = (e) => {
40159
- const { backgroundColor: t, borderShadow: r } = hue(e), n = [r, e.shadow === void 0 || e.shadow === "none" ? void 0 : po(e.shadow)].filter((i) => i !== void 0);
40160
+ }, uue = (e) => {
40161
+ const { backgroundColor: t, borderShadow: r } = due(e), n = [r, e.shadow === void 0 || e.shadow === "none" ? void 0 : po(e.shadow)].filter((i) => i !== void 0);
40160
40162
  return {
40161
40163
  ...xt(e),
40162
40164
  padding: `${e.paddingBlock}px ${e.paddingInline}px`,
@@ -40165,27 +40167,27 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40165
40167
  ...t === void 0 ? {} : { backgroundColor: t },
40166
40168
  ...n.length === 0 ? {} : { boxShadow: n.join(", ") }
40167
40169
  };
40168
- }, hue = (e) => {
40170
+ }, due = (e) => {
40169
40171
  if (e.fill === "transparent") return {};
40170
40172
  const t = Be(e.fill), r = e.fillAlpha < 1 ? qt(t, e.fillAlpha) : t;
40171
40173
  if (e.strokeWidth <= 0) return { backgroundColor: r };
40172
- const n = e.stroke ?? Bee(t, lue);
40174
+ const n = e.stroke ?? Bee(t, sue);
40173
40175
  return {
40174
40176
  backgroundColor: r,
40175
40177
  borderShadow: `0 0 0 ${e.strokeWidth}px ${n}`
40176
40178
  };
40177
- }, fue = (e) => {
40179
+ }, hue = (e) => {
40178
40180
  const t = dl(e).textAnnotations, r = Vn((n) => rs(n, "text-resize-drag"));
40179
- return W(() => t.map((n) => mue(n, r)), [t, r]);
40180
- }, mue = (e, t) => t === null || t.annotationId !== e.id ? e : {
40181
+ return W(() => t.map((n) => fue(n, r)), [t, r]);
40182
+ }, fue = (e, t) => t === null || t.annotationId !== e.id ? e : {
40181
40183
  ...e,
40182
40184
  at: {
40183
40185
  ...e.at,
40184
40186
  x: e.at.x + t.shift
40185
40187
  },
40186
40188
  width: t.width
40187
- }, pue = ({ panelRect: e }) => {
40188
- const t = fue(e), r = Se(), n = ad(), i = t.filter((a) => a.id !== n);
40189
+ }, mue = ({ panelRect: e }) => {
40190
+ const t = hue(e), r = Se(), n = ad(), i = t.filter((a) => a.id !== n);
40189
40191
  return i.length === 0 ? null : /* @__PURE__ */ v("svg", {
40190
40192
  x: e.x,
40191
40193
  y: e.y,
@@ -40193,20 +40195,20 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40193
40195
  height: e.height,
40194
40196
  overflow: "visible",
40195
40197
  "data-testid": "text-annotations",
40196
- children: i.map((a) => /* @__PURE__ */ v(gue, {
40198
+ children: i.map((a) => /* @__PURE__ */ v(pue, {
40197
40199
  annotation: a,
40198
40200
  panel: e,
40199
40201
  style: r.annotation.text(a.id).resolve()
40200
40202
  }, a.id))
40201
40203
  });
40202
- }, gue = ({ annotation: e, panel: t, style: r }) => {
40203
- const n = fse(e.id), i = Vn((o) => o.caret?.annotationId === e.id), { TextAnnotation: a } = Mg();
40204
+ }, pue = ({ annotation: e, panel: t, style: r }) => {
40205
+ const n = hse(e.id), i = Vn((o) => o.caret?.annotationId === e.id), { TextAnnotation: a } = Mg();
40204
40206
  return /* @__PURE__ */ v("g", {
40205
40207
  ...cl({
40206
40208
  kind: "annotation",
40207
40209
  id: e.id
40208
40210
  }),
40209
- children: /* @__PURE__ */ v(cue, {
40211
+ children: /* @__PURE__ */ v(lue, {
40210
40212
  annotation: e,
40211
40213
  panel: t,
40212
40214
  style: r,
@@ -40214,11 +40216,11 @@ var pce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40214
40216
  children: i && a ? /* @__PURE__ */ v(a, { annotation: e }) : /* @__PURE__ */ v(_s, { content: e.content })
40215
40217
  })
40216
40218
  });
40217
- }, vue = "callouts_overlay__1rlvxtx0";
40218
- var yue = "callouts_miniText__1rlvxtx2", Xw = {
40219
+ }, gue = "callouts_overlay__1rlvxtx0";
40220
+ var vue = "callouts_miniText__1rlvxtx2", Xw = {
40219
40221
  hittable: "callouts_miniBubble_hittable__1rlvxtx4 callouts_miniBubbleBase__1rlvxtx3",
40220
40222
  inert: "callouts_miniBubble_inert__1rlvxtx5 callouts_miniBubbleBase__1rlvxtx3"
40221
- }, bue = ({ cx: e, cy: t, color: r, style: n }) => {
40223
+ }, yue = ({ cx: e, cy: t, color: r, style: n }) => {
40222
40224
  const i = go(n.shadow);
40223
40225
  return /* @__PURE__ */ v("circle", {
40224
40226
  cx: e,
@@ -40232,7 +40234,7 @@ var yue = "callouts_miniText__1rlvxtx2", Xw = {
40232
40234
  }
40233
40235
  });
40234
40236
  };
40235
- function xue(e) {
40237
+ function bue(e) {
40236
40238
  const t = ri(), { formattingLocale: r } = St(), n = Se(), i = Re(pr((l) => ({
40237
40239
  pinnedNumbers: l.annotations.pinnedNumbers,
40238
40240
  comments: l.annotations.comments,
@@ -40243,7 +40245,7 @@ function xue(e) {
40243
40245
  numberFormat: i.numberFormat,
40244
40246
  locale: a
40245
40247
  }), [i.numberFormat, a]), s = W(() => (l, c, u) => {
40246
- const d = rf(n, l === "pinned-number" ? "pinnedNumber" : "comment", c).label, h = Wt(d, ju), m = wue(t, l, u, h), f = t.measureText(m, h), p = l === "pinned-number" ? 15 : 0;
40248
+ const d = rf(n, l === "pinned-number" ? "pinnedNumber" : "comment", c).label, h = Wt(d, ju), m = xue(t, l, u, h), f = t.measureText(m, h), p = l === "pinned-number" ? 15 : 0;
40247
40249
  return {
40248
40250
  width: f.width + p + (d.paddingInline + d.strokeWidth) * 2,
40249
40251
  height: Math.max(f.height, 10) + (d.paddingBlock + d.strokeWidth) * 2,
@@ -40266,11 +40268,11 @@ function xue(e) {
40266
40268
  o
40267
40269
  ]);
40268
40270
  }
40269
- var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(i, n).width), qw = "callouts", Aue = ({ panelRect: e }) => {
40271
+ var xue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(i, n).width), qw = "callouts", wue = ({ panelRect: e }) => {
40270
40272
  const { pinnedNumbers: t, comments: r } = Re(pr((f) => ({
40271
40273
  pinnedNumbers: f.annotations.pinnedNumbers,
40272
40274
  comments: f.annotations.comments
40273
- }))), n = Re((f) => f.coordSystem), i = Pn(), a = tK(10), o = Se(), s = xue(e), { store: l } = na(), c = W(() => {
40275
+ }))), n = Re((f) => f.coordSystem), i = Pn(), a = tK(10), o = Se(), s = bue(e), { store: l } = na(), c = W(() => {
40274
40276
  const f = /* @__PURE__ */ new Map();
40275
40277
  for (const p of t) f.set(p.id, p.at);
40276
40278
  for (const p of r) f.set(p.id, p.at);
@@ -40300,7 +40302,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40300
40302
  width: e.width,
40301
40303
  height: e.height,
40302
40304
  overflow: "visible",
40303
- className: vue,
40305
+ className: gue,
40304
40306
  "data-testid": "callouts",
40305
40307
  children: s.map((f) => {
40306
40308
  if (!f.inView) return null;
@@ -40317,7 +40319,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40317
40319
  overflow: "visible",
40318
40320
  children: /* @__PURE__ */ U("div", {
40319
40321
  className: w ? Xw.hittable : Xw.inert,
40320
- style: Mue(g.label, m(g.label.fill)),
40322
+ style: Tue(g.label, m(g.label.fill)),
40321
40323
  children: [f.kind === "pinned-number" && /* @__PURE__ */ v("span", {
40322
40324
  className: "callouts_miniSwatch__1rlvxtx1",
40323
40325
  children: /* @__PURE__ */ v(nl, {
@@ -40332,31 +40334,31 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40332
40334
  symbol: y?.symbol
40333
40335
  })
40334
40336
  }), /* @__PURE__ */ v("span", {
40335
- className: yue,
40336
- style: Eue(g.label),
40337
+ className: vue,
40338
+ style: Mue(g.label),
40337
40339
  children: f.text
40338
40340
  })]
40339
40341
  })
40340
- }), /* @__PURE__ */ v(bue, {
40342
+ }), /* @__PURE__ */ v(yue, {
40341
40343
  cx: f.anchorPx.x,
40342
40344
  cy: f.anchorPx.y,
40343
- color: Sue(g.marker, x),
40345
+ color: Aue(g.marker, x),
40344
40346
  style: g.marker
40345
40347
  })]
40346
40348
  }, f.id);
40347
40349
  })
40348
40350
  });
40349
- }, Sue = (e, t) => e.isFillAuthored ? Be(e.fill) : t ?? Be(e.fill), Tue = (e) => e.isTextColorAuthored ? e.textColor : iC(e.textColor, Be(e.fill)), Mue = (e, t) => ({
40351
+ }, Aue = (e, t) => e.isFillAuthored ? Be(e.fill) : t ?? Be(e.fill), Sue = (e) => e.isTextColorAuthored ? e.textColor : iC(e.textColor, Be(e.fill)), Tue = (e, t) => ({
40350
40352
  ...nd(e.fill, t),
40351
40353
  borderRadius: ll(e.cornerRadius),
40352
40354
  padding: `${e.paddingBlock}px ${e.paddingInline}px`,
40353
40355
  boxShadow: po(e.shadow),
40354
40356
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
40355
40357
  ...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
40356
- }), Eue = (e) => ({
40358
+ }), Mue = (e) => ({
40357
40359
  ...xt(e),
40358
- color: Tue(e)
40359
- }), kue = (e, t) => e * 10 * t, Pue = {
40360
+ color: Sue(e)
40361
+ }), Eue = (e, t) => e * 10 * t, kue = {
40360
40362
  "clapping-hands": {
40361
40363
  aspectRatio: 1.059,
40362
40364
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABICAYAAABP0VPJAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABipSURBVHgB7VwJfFTVuf/uMvtMlplJJiEhBEhYwiIYNgExUBSQ6qMqblWrz5/WtfBa67NiH1iftbW1VqWghWqt+opFfajFBRcSUMImEBISspCFSTIh++zbXfqdO3cmswWSSPVHf/1+ub977znfPfec//m28507Afg3/ZvORsxwmEVRpJDo0tISCqA0XEzJBx06bwjXUXAB0lA7TZWUlDCtra3Mtm3vjCUF1113dbNWqxXItcfjod966718igpSubm5ow8fPnx8zZo1fQ0NMzlR/JuAIIrwL0LU6tWrmfz8fLXD4XgYJaRPlEkQhH6v1/s6lj9FrsU44nm+BevuAihWbNiwgYZ/ASLSw5aXfzU5EAjuFUdICNr/ElDgAlWhCBHJ2L//SFGy2R8uWa3ty9G2XNBSQhUVFSmJ2IvngdDGvEHaS/YeUZQkhykuLlaEeIoV5JpMCEiGWgKSHTg2yMb7GyTSmZqamksGG6DP1ZdQhqpha6jcd7Tp6MdOjuMc0XUEWDS2mriBEEPNfvrppxa32/2k3+9/H/kqgsHgHp/Pt7Gzs+cGi8Wis1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KkXZRUSwge5x/LN11xzzwKiZmbzpei6FxiG898pLiTEsK8laFd6VWazIsXlCmhYltLee++NuWPGjE757LO97Z988kUfRSmCHMd7WVbl1esBI9CvyM8S5ETKkF5ywRGCkotrpFEY2FEaQQgwosjTgYCCpyiBYxiFX612+7u6RHSp1STgGvL3ZXLjFxzhTDswS9cWTEubiYPmUQLSfCoVeO32dk9BAeWbM2dKoLq6TP7l0vDoQjYyUUnXUDqe0Nf9f0f/APDc5Dseec9LAAAAAElFTkSuQmCC"
@@ -40377,10 +40379,10 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40377
40379
  aspectRatio: 1.063,
40378
40380
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABECAYAAAAx+DPIAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABSHSURBVHgB7VwLcFzVef7PfezefWklZEl+BQQSGGQsMMa0vFXStCRAaQsaEpoyZTINTMkwHaAloWlRTcNQZkImSTNTmoG4YEoTOhkTkjF1gYgE6leEjQ0yorIs23pYLySttK/7Ov3/c+5Ku3uv1qJIUGfyjw93d+8595z/P//zO1cA/IZ+Qx8nMc45A+hQ8LMG0KZt2rRJpyvd89rHuyD4+IjmUpqbP6v94hdPtcXj8YvC4XCr4zjTuVzuYF/fwOuXXtrah30cbC42Dr8u1NHRobS0tISGhoauR4aP8QUom81u6+rqugBgk05j4BPQiCUnqfKb9HQ6/Q2+SKK+zc3NYRyuwOlMyAtdtEOHDl/BPyRls/ltjY2NBpzOQpC732hUUvvKQshuI9OB09UUyI7J7gO5Sx3kfPBJzoeeQU6HFxRCKpV6UEaK05Bo96amph7zcZUb4fytGzh/53PY8PrW73N+fGugAFzXndq+fftqL3QuOS2rfeHuqbquX+S7MfqinJmpwBUdeDgCMPFDgMPf8HVljCWvueaaO9rbO5bFDJZVAPl8lcqYkvTdyPQJq+aKhi0KoBrAdTT1yV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MrVSEG67UDhZpQPUmNR8RfVwrg/F+RqK/eE+8Wq/HILzi4sCSl2h2dnZ3bW0in05XZp5oAVwLlLq6lqjrJpOc55I//elTt6xff94fqCpU2bY7k05nhlKp2aGJiQ+GZmezqVdfffP99947mv7qV+9uu+SS9XcZRngVfEJkmubQd7+77bann/7mge7ubvKOvFL/hQQAmDioP//5ldFs1ozZdi4aj+vhfN6RJQqTBbJpauJqGOKtJ8wk8zpWk8ZLL239w02bLrz7kxDEa6/tvve2277yH+Pj2QmAbvNU/Vnl2+3q2rUDoYGBbDged0PIqJbJkAAshzHdVRQDr7NYQ0QFyGBZdsi2LUPXlYjj5IydO5/940su2fCxaASV8fv2vfP49dff8ZyqZiY+/emNaaxwnVONY6d+NLC2tjYVsTStv38V9h9GlboA26hLKFJnZ6enYgSkvKs2NGh6JmOiEBLRdDodjkY148knH/2tyy7beF1tbdXmeDx+Liwhob3/z+Dg6GsPPPD4v/7yl10jnOtTqZSJzq/LWsz4xQigvH9FmyK0bP16ekWtPnTixIxh23YYj6YM153VNC2sY0qrPvroX62rr1+RoJMPjv/QpOglcPHcX/2qexi1ZtUFFzSuQ81JGEYoiS1Gf1xCfoc6ou8Z3rfv0Huvv757sLNz95SqGmY6zTKhkJ6uq0tkent3VHwzrJyh5SDvuZsoylCBrJMJIRN6OKxorququZzL8HAHMLJhve4q+TxBwfJgW353WSiEJ6SQxRPrqGJZGdeDlKmmcNEfoflpDsIBFh54mOHwmvz4+E9y9LYotkW/VL1cAph7PiU/TPxFRAv6k6RqWWnFNHWNi+Se/iQuoszMzHqMUZ5cjVo0wVwXqyHMkriotYkcFo8nEbbLoMZkUYQRR9OyzthYEu18Gtt6bC/8//6z+/m3S0H1XnrW0L+QlhSaWtS8/7kCaVBLSP4NMTXxmxi/FH9i/7+rT2twf4PgbQAAAABJRU5ErkJggg=="
40379
40381
  }
40380
- }, _ue = 3.2, Cue = ({ panelRect: e }) => {
40382
+ }, Pue = 3.2, _ue = ({ panelRect: e }) => {
40381
40383
  const t = dl(e).stickers, r = Se().graph().get("textScale");
40382
40384
  if (t.length === 0) return null;
40383
- const n = kue(_ue, r);
40385
+ const n = Eue(Pue, r);
40384
40386
  return /* @__PURE__ */ v("svg", {
40385
40387
  x: e.x,
40386
40388
  y: e.y,
@@ -40390,7 +40392,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40390
40392
  "data-testid": "stickers",
40391
40393
  children: t.map((i) => {
40392
40394
  const a = Kn(i.at, e);
40393
- return /* @__PURE__ */ v(Iue, {
40395
+ return /* @__PURE__ */ v(Cue, {
40394
40396
  sticker: i,
40395
40397
  sizePx: n,
40396
40398
  x: a.x,
@@ -40398,10 +40400,10 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40398
40400
  }, i.id);
40399
40401
  })
40400
40402
  });
40401
- }, Iue = ({ sticker: e, sizePx: t, x: r, y: n }) => {
40402
- const i = Pue[e.sticker];
40403
+ }, Cue = ({ sticker: e, sizePx: t, x: r, y: n }) => {
40404
+ const i = kue[e.sticker];
40403
40405
  if (!i) return null;
40404
- const { width: a, height: o } = Rue(i.aspectRatio, t);
40406
+ const { width: a, height: o } = Iue(i.aspectRatio, t);
40405
40407
  return /* @__PURE__ */ v("image", {
40406
40408
  href: i.src,
40407
40409
  x: r,
@@ -40410,14 +40412,14 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40410
40412
  height: o,
40411
40413
  transform: `translate(${-a / 2}, ${-o / 2})`
40412
40414
  });
40413
- }, Rue = (e, t) => e >= 1 ? {
40415
+ }, Iue = (e, t) => e >= 1 ? {
40414
40416
  width: t,
40415
40417
  height: t / e
40416
40418
  } : {
40417
40419
  width: t * e,
40418
40420
  height: t
40419
- }, Lue = 0.25, C_ = ({ children: e, ...t }) => {
40420
- const r = Hoe();
40421
+ }, Rue = 0.25, C_ = ({ children: e, ...t }) => {
40422
+ const r = Voe();
40421
40423
  return r <= 0 ? /* @__PURE__ */ v("g", {
40422
40424
  ...t,
40423
40425
  children: e
@@ -40426,19 +40428,19 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40426
40428
  initial: { opacity: 0 },
40427
40429
  animate: { opacity: 1 },
40428
40430
  transition: {
40429
- duration: Lue,
40431
+ duration: Rue,
40430
40432
  delay: r
40431
40433
  },
40432
40434
  children: e
40433
40435
  });
40434
- }, Due = "data-labels_overlay__15wb5l30", Oue = "data-labels_background__15wb5l31", Nue = "data-labels_label__15wb5l32", I_ = ({ x: e, y: t, width: r, height: n, text: i, isRotated: a, labelRole: o, position: s, coordType: l, backdropColor: c }) => {
40435
- const u = Se(), d = ce(id, u), h = ce(joe, u), m = a ? `rotate(-90 ${e} ${t})` : void 0, f = d[o][s], p = f.stroke !== void 0 && (f.strokeWidth ?? 0) > 0, g = Vue(o, l, f), y = Fue(f, g, c, h), x = {
40436
+ }, Lue = "data-labels_overlay__15wb5l30", Due = "data-labels_background__15wb5l31", Oue = "data-labels_label__15wb5l32", I_ = ({ x: e, y: t, width: r, height: n, text: i, isRotated: a, labelRole: o, position: s, coordType: l, backdropColor: c }) => {
40437
+ const u = Se(), d = ce(id, u), h = ce(Uoe, u), m = a ? `rotate(-90 ${e} ${t})` : void 0, f = d[o][s], p = f.stroke !== void 0 && (f.strokeWidth ?? 0) > 0, g = Fue(o, l, f), y = Bue(f, g, c, h), x = {
40436
40438
  x: e - r / 2,
40437
40439
  y: t - n / 2,
40438
40440
  width: r,
40439
40441
  height: n
40440
40442
  }, w = rd(f.cornerRadius), T = f.shadow === void 0 ? void 0 : go(f.shadow), _ = {
40441
- className: Oue,
40443
+ className: Due,
40442
40444
  fill: f.fill === void 0 ? void 0 : Be(f.fill),
40443
40445
  style: T === void 0 ? void 0 : { filter: T },
40444
40446
  ...p ? {
@@ -40458,11 +40460,11 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40458
40460
  ry: w,
40459
40461
  ..._
40460
40462
  })), /* @__PURE__ */ v("text", {
40461
- className: Nue,
40463
+ className: Oue,
40462
40464
  style: {
40463
40465
  ...yo(f),
40464
40466
  ...Yu(f),
40465
- fill: Bue(f, y)
40467
+ fill: Nue(f, y)
40466
40468
  },
40467
40469
  ...zu(f),
40468
40470
  x: e,
@@ -40472,14 +40474,14 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40472
40474
  children: lo(i, f.textTransform)
40473
40475
  })]
40474
40476
  });
40475
- }, Bue = (e, t) => e.isTextColorAuthored || t === void 0 ? e.textColor : zf(t), Fue = (e, t, r, n) => {
40477
+ }, Nue = (e, t) => e.isTextColorAuthored || t === void 0 ? e.textColor : zf(t), Bue = (e, t, r, n) => {
40476
40478
  if (r === void 0) return;
40477
40479
  const i = t && e.fill !== void 0 ? Be(e.fill) : void 0, a = i === void 0 ? void 0 : Ul(void 0, i);
40478
40480
  if (a !== void 0) return a;
40479
40481
  const o = Ul(r, n) ?? aC(r);
40480
40482
  if (o !== void 0)
40481
40483
  return Ul(i, o);
40482
- }, Vue = (e, t, r) => r.fill === void 0 ? !1 : e === "aggregate" || t === "cartesian", Hue = ({ panelRect: e, formattingLocale: t, plotBottomY: r, isFooterChromeReserved: n }) => {
40484
+ }, Fue = (e, t, r) => r.fill === void 0 ? !1 : e === "aggregate" || t === "cartesian", Vue = ({ panelRect: e, formattingLocale: t, plotBottomY: r, isFooterChromeReserved: n }) => {
40483
40485
  const i = ri(), a = ra(), o = Re(pr((f) => ({
40484
40486
  layers: f.layers,
40485
40487
  coordSystem: f.coordSystem,
@@ -40534,12 +40536,12 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40534
40536
  backdropColor: f.backdropColor
40535
40537
  }, `${f.layerId}:${p}`));
40536
40538
  return /* @__PURE__ */ v(C_, {
40537
- className: Due,
40539
+ className: Lue,
40538
40540
  transform: `translate(${e.x}, ${e.y})`,
40539
40541
  "data-testid": "data-labels",
40540
40542
  children: m
40541
40543
  });
40542
- }, Gue = ({ edge: e, position: t, labelRotation: r, offset: n, axisSize: i }) => {
40544
+ }, Hue = ({ edge: e, position: t, labelRotation: r, offset: n, axisSize: i }) => {
40543
40545
  if (r !== 0 && (e === "top" || e === "bottom")) {
40544
40546
  const a = e === "top", o = a ? -n : n;
40545
40547
  return {
@@ -40584,7 +40586,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40584
40586
  transform: void 0
40585
40587
  };
40586
40588
  }
40587
- }, Wue = (e, t) => {
40589
+ }, Gue = (e, t) => {
40588
40590
  const r = t.height / 2;
40589
40591
  switch (e) {
40590
40592
  case "left":
@@ -40613,8 +40615,8 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40613
40615
  transform: void 0
40614
40616
  };
40615
40617
  }
40616
- }, Uue = (e, t, r, n) => {
40617
- const { width: i, ascent: a, descent: o } = t, s = a + o, l = Kue(e, i), c = Xue(e, a, s), u = $ue(r, e, n, {
40618
+ }, Wue = (e, t, r, n) => {
40619
+ const { width: i, ascent: a, descent: o } = t, s = a + o, l = Yue(e, i), c = Kue(e, a, s), u = jue(r, e, n, {
40618
40620
  x: l,
40619
40621
  y: c,
40620
40622
  width: i,
@@ -40627,7 +40629,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40627
40629
  height: s + u.top + u.bottom,
40628
40630
  transform: e.transform
40629
40631
  };
40630
- }, jue = (e, t) => {
40632
+ }, Uue = (e, t) => {
40631
40633
  const r = e.map((i, a) => ({
40632
40634
  position: i,
40633
40635
  index: a
@@ -40636,12 +40638,12 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40636
40638
  const o = r[a - 1], s = r[a + 1], l = o === void 0 ? 1 / 0 : i.position - o.position, c = s === void 0 ? 1 / 0 : s.position - i.position, u = Math.min(l, c);
40637
40639
  n[i.index] = Number.isFinite(u) ? u * t : 1 / 0;
40638
40640
  }), n;
40639
- }, $ue = (e, t, r, n) => r === void 0 ? {
40641
+ }, jue = (e, t, r, n) => r === void 0 ? {
40640
40642
  left: e,
40641
40643
  right: e,
40642
40644
  top: e,
40643
40645
  bottom: e
40644
- } : t.transform !== void 0 ? zue(e, t) : Yue(e, r, n), zue = (e, { y: t, textAnchor: r }) => {
40646
+ } : t.transform !== void 0 ? $ue(e, t) : zue(e, r, n), $ue = (e, { y: t, textAnchor: r }) => {
40645
40647
  const n = Go(e, Math.abs(t));
40646
40648
  return r === "end" ? {
40647
40649
  left: e,
@@ -40654,7 +40656,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40654
40656
  top: e,
40655
40657
  bottom: e
40656
40658
  };
40657
- }, Yue = (e, { edge: t, stepPx: r, axisSize: n }, i) => {
40659
+ }, zue = (e, { edge: t, stepPx: r, axisSize: n }, i) => {
40658
40660
  const a = Qw(e, r, i.width), o = Qw(e, r, i.height);
40659
40661
  switch (t) {
40660
40662
  case "bottom":
@@ -40686,7 +40688,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40686
40688
  bottom: o
40687
40689
  };
40688
40690
  }
40689
- }, Go = (e, t) => Math.max(0, Math.min(e, t)), Qw = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), Kue = ({ x: e, textAnchor: t }, r) => {
40691
+ }, Go = (e, t) => Math.max(0, Math.min(e, t)), Qw = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), Yue = ({ x: e, textAnchor: t }, r) => {
40690
40692
  switch (t) {
40691
40693
  case "start":
40692
40694
  return e;
@@ -40695,7 +40697,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40695
40697
  case "end":
40696
40698
  return e - r;
40697
40699
  }
40698
- }, Xue = ({ y: e, dominantBaseline: t }, r, n) => {
40700
+ }, Kue = ({ y: e, dominantBaseline: t }, r, n) => {
40699
40701
  switch (t) {
40700
40702
  case "hanging":
40701
40703
  return e;
@@ -40705,10 +40707,10 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40705
40707
  case "auto":
40706
40708
  return e - r;
40707
40709
  }
40708
- }, que = {
40710
+ }, Xue = {
40709
40711
  fill: "transparent",
40710
40712
  pointerEvents: "all"
40711
- }, _g = ({ placement: e, text: t, style: r, isHitTestable: n, bounds: i }) => /* @__PURE__ */ U(me, { children: [n && /* @__PURE__ */ v(Que, {
40713
+ }, _g = ({ placement: e, text: t, style: r, isHitTestable: n, bounds: i }) => /* @__PURE__ */ U(me, { children: [n && /* @__PURE__ */ v(que, {
40712
40714
  placement: e,
40713
40715
  text: t,
40714
40716
  style: r,
@@ -40722,10 +40724,10 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40722
40724
  ...zu(r),
40723
40725
  fill: r.textColor,
40724
40726
  children: lo(t, r.textTransform)
40725
- })] }), Que = ({ placement: e, text: t, style: r, bounds: n }) => {
40727
+ })] }), que = ({ placement: e, text: t, style: r, bounds: n }) => {
40726
40728
  const i = ri(), { fonts: a } = ra();
40727
40729
  return /* @__PURE__ */ v("rect", {
40728
- ...W(() => Uue(e, i.measureText(t, Wt(r, a.familyDefault)), 3, n), [
40730
+ ...W(() => Wue(e, i.measureText(t, Wt(r, a.familyDefault)), 3, n), [
40729
40731
  e,
40730
40732
  i,
40731
40733
  t,
@@ -40733,10 +40735,10 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40733
40735
  a.familyDefault,
40734
40736
  n
40735
40737
  ]),
40736
- ...que
40738
+ ...Xue
40737
40739
  });
40738
- }, Jue = ({ edge: e, position: t, labelRotation: r, label: n, tickLabelStyle: i, axisSize: a, stepPx: o = 1 / 0, isHitTestable: s = !1 }) => {
40739
- const { offset: l } = i, c = W(() => Gue({
40740
+ }, Que = ({ edge: e, position: t, labelRotation: r, label: n, tickLabelStyle: i, axisSize: a, stepPx: o = 1 / 0, isHitTestable: s = !1 }) => {
40741
+ const { offset: l } = i, c = W(() => Hue({
40740
40742
  edge: e,
40741
40743
  position: t,
40742
40744
  labelRotation: r,
@@ -40769,11 +40771,11 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40769
40771
  style: { overflow: "visible" },
40770
40772
  children: u
40771
40773
  });
40772
- }, Zue = ({ formattedAxis: e, rect: t }) => {
40774
+ }, Jue = ({ formattedAxis: e, rect: t }) => {
40773
40775
  const r = e.position === "bottom" || e.position === "top", n = He(e.scaleAestheticKey), i = Se(), a = ce(Sg, i)(n, e.position), o = ce(i_, i)[n], s = oi(), l = W(() => ({
40774
40776
  width: t.width,
40775
40777
  height: t.height
40776
- }), [t.width, t.height]), c = r ? t.width : t.height, u = W(() => s ? jue(e.ticks.map((d) => d.position), c) : void 0, [
40778
+ }), [t.width, t.height]), c = r ? t.width : t.height, u = W(() => s ? Uue(e.ticks.map((d) => d.position), c) : void 0, [
40777
40779
  s,
40778
40780
  e.ticks,
40779
40781
  c
@@ -40785,7 +40787,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40785
40787
  height: t.height,
40786
40788
  style: { overflow: "visible" },
40787
40789
  children: [!1, e.ticks.map((d, h) => {
40788
- const m = d.formattedLabel, f = r ? d.position : 1 - d.position, p = ede(e.position, f, t, o.length), g = s && m !== "";
40790
+ const m = d.formattedLabel, f = r ? d.position : 1 - d.position, p = Zue(e.position, f, t, o.length), g = s && m !== "";
40789
40791
  return /* @__PURE__ */ U("g", {
40790
40792
  ...g ? Eg(e.scaleAestheticKey, h) : void 0,
40791
40793
  cursor: g ? "pointer" : void 0,
@@ -40795,7 +40797,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40795
40797
  strokeWidth: o.strokeWidth,
40796
40798
  strokeDasharray: mr(o.dashArray, o.strokeWidth),
40797
40799
  pointerEvents: s ? "none" : void 0
40798
- }), /* @__PURE__ */ v(Jue, {
40800
+ }), /* @__PURE__ */ v(Que, {
40799
40801
  edge: e.position,
40800
40802
  position: f,
40801
40803
  labelRotation: e.labelRotation,
@@ -40808,7 +40810,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40808
40810
  }, h);
40809
40811
  })]
40810
40812
  });
40811
- }, ede = (e, t, r, n) => {
40813
+ }, Zue = (e, t, r, n) => {
40812
40814
  const i = Z(t);
40813
40815
  switch (e) {
40814
40816
  case "bottom":
@@ -40840,19 +40842,19 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40840
40842
  y2: i
40841
40843
  };
40842
40844
  }
40843
- }, tde = ({ axes: e, rects: t }) => {
40845
+ }, ede = ({ axes: e, rects: t }) => {
40844
40846
  const r = ce(n_, Se()), n = oi();
40845
40847
  return /* @__PURE__ */ v(me, { children: e.map((i) => {
40846
40848
  const a = t[i.position];
40847
- return !a || !i.isVisible ? null : /* @__PURE__ */ v(rde, {
40849
+ return !a || !i.isVisible ? null : /* @__PURE__ */ v(tde, {
40848
40850
  axis: i,
40849
40851
  rect: a,
40850
40852
  labelStyle: r[He(i.scaleAestheticKey)],
40851
40853
  isHitTestable: n
40852
40854
  }, `axis-label-${i.position}`);
40853
40855
  }) });
40854
- }, rde = ({ axis: e, rect: t, labelStyle: r, isHitTestable: n }) => {
40855
- const i = W(() => Wue(e.position, t), [e.position, t]), a = n && e.label !== null && e.label !== "", o = a ? Eg(e.scaleAestheticKey) : void 0;
40856
+ }, tde = ({ axis: e, rect: t, labelStyle: r, isHitTestable: n }) => {
40857
+ const i = W(() => Gue(e.position, t), [e.position, t]), a = n && e.label !== null && e.label !== "", o = a ? Eg(e.scaleAestheticKey) : void 0;
40856
40858
  return /* @__PURE__ */ U("g", {
40857
40859
  transform: `translate(${t.x}, ${t.y})`,
40858
40860
  ...o,
@@ -40864,20 +40866,20 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40864
40866
  isHitTestable: a
40865
40867
  })]
40866
40868
  });
40867
- }, nde = ({ formattedAxes: e, tickRects: t }) => /* @__PURE__ */ v(me, { children: e.map((r) => {
40869
+ }, rde = ({ formattedAxes: e, tickRects: t }) => /* @__PURE__ */ v(me, { children: e.map((r) => {
40868
40870
  if (r.geometry !== "linear") return null;
40869
40871
  const n = t[r.position];
40870
- return !n || !r.isVisible ? null : /* @__PURE__ */ v(Zue, {
40872
+ return !n || !r.isVisible ? null : /* @__PURE__ */ v(Jue, {
40871
40873
  formattedAxis: r,
40872
40874
  rect: n
40873
40875
  }, r.scaleAestheticKey);
40874
- }) }), ide = ({ formattedAxes: e, labelRects: t }) => /* @__PURE__ */ v(tde, {
40876
+ }) }), nde = ({ formattedAxes: e, labelRects: t }) => /* @__PURE__ */ v(ede, {
40875
40877
  axes: e.filter((r) => r.geometry === "linear"),
40876
40878
  rects: t
40877
40879
  }), R_ = {
40878
40880
  strokeDashoffset: "0",
40879
40881
  strokeLinecap: "round"
40880
- }, Xc = (e, t) => e.gridLine[t]().resolve(), ade = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
40882
+ }, Xc = (e, t) => e.gridLine[t]().resolve(), ide = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
40881
40883
  const i = Se(), a = oi(), o = ce(Xc, i, "x"), s = ce(Xc, i, "y"), l = n.x - r.x, c = n.y - r.y;
40882
40884
  return /* @__PURE__ */ v("svg", {
40883
40885
  "data-testid": "grid",
@@ -40890,7 +40892,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40890
40892
  if (u.geometry !== "linear" || !u.gridVisible) return null;
40891
40893
  const d = u.position === "bottom" || u.position === "top", h = He(u.scaleAestheticKey) === "x" ? o : s, m = mr(h.dashArray, h.strokeWidth);
40892
40894
  return /* @__PURE__ */ v("g", { children: u.ticks.map((f, p) => {
40893
- const g = ode(d, f.position);
40895
+ const g = ade(d, f.position);
40894
40896
  if (g !== null && t[g] > 0) return null;
40895
40897
  const y = d ? f.position : 1 - f.position;
40896
40898
  let x;
@@ -40931,7 +40933,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40931
40933
  }) }, u.scaleAestheticKey);
40932
40934
  })
40933
40935
  });
40934
- }, ode = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, sde = ({ sizes: e, panelFrameRect: t }) => {
40936
+ }, ade = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, ode = ({ sizes: e, panelFrameRect: t }) => {
40935
40937
  const r = Re((a) => a.coordSystem.type === "polar"), n = ce(lE, Se());
40936
40938
  if (r) return null;
40937
40939
  const i = Fz(n, {
@@ -40948,7 +40950,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40948
40950
  height: t.height,
40949
40951
  style: { overflow: "visible" },
40950
40952
  children: i.map((a, o) => /* @__PURE__ */ v("path", {
40951
- d: lde(a.segments),
40953
+ d: sde(a.segments),
40952
40954
  fill: "none",
40953
40955
  stroke: a.stroke,
40954
40956
  strokeDasharray: mr(a.dashArray, a.strokeWidth),
@@ -40956,7 +40958,7 @@ var wue = (e, t, r, n) => t !== "comment" ? r : Wm(r, 140, (i) => e.measureText(
40956
40958
  ...R_
40957
40959
  }, o))
40958
40960
  });
40959
- }, lde = (e) => e.map((t) => {
40961
+ }, sde = (e) => e.map((t) => {
40960
40962
  switch (t.type) {
40961
40963
  case "move":
40962
40964
  return `M ${t.x} ${t.y}`;
@@ -40985,10 +40987,10 @@ var L_ = (e, t) => {
40985
40987
  angleFor: (l) => T1(l, a, o),
40986
40988
  radiusNormFor: (l) => i + l * (1 - i)
40987
40989
  };
40988
- }, cde = 16, ude = ({ formattedAxes: e, panelRect: t }) => {
40990
+ }, lde = 16, cde = ({ formattedAxes: e, panelRect: t }) => {
40989
40991
  const r = ce(Sg, Se()), n = oi(), i = L_(t, e);
40990
40992
  if (!i) return null;
40991
- const { circle: a, circularAxis: o, radialAxis: s, startAngle: l, angleFor: c, radiusNormFor: u } = i, d = dde(s, u, a.radius), h = (m) => r(He(m.scaleAestheticKey));
40993
+ const { circle: a, circularAxis: o, radialAxis: s, startAngle: l, angleFor: c, radiusNormFor: u } = i, d = ude(s, u, a.radius), h = (m) => r(He(m.scaleAestheticKey));
40992
40994
  return /* @__PURE__ */ U("svg", {
40993
40995
  x: t.x,
40994
40996
  y: t.y,
@@ -41009,7 +41011,7 @@ var L_ = (e, t) => {
41009
41011
  return /* @__PURE__ */ v(Jw, {
41010
41012
  scaleAestheticKey: o.scaleAestheticKey,
41011
41013
  tickIndex: f,
41012
- placement: Zw(g, hde(p)),
41014
+ placement: Zw(g, dde(p)),
41013
41015
  label: m.formattedLabel,
41014
41016
  labelStyle: h(o),
41015
41017
  isHitTestable: n
@@ -41028,7 +41030,7 @@ var L_ = (e, t) => {
41028
41030
  cursor: "pointer",
41029
41031
  children: o
41030
41032
  }) : o;
41031
- }, dde = (e, t, r) => {
41033
+ }, ude = (e, t, r) => {
41032
41034
  if (!e) return [];
41033
41035
  const n = [];
41034
41036
  let i = Number.NEGATIVE_INFINITY;
@@ -41036,7 +41038,7 @@ var L_ = (e, t) => {
41036
41038
  const s = t(o.position);
41037
41039
  if (s <= 0) continue;
41038
41040
  const l = s * r;
41039
- l - i < cde || (n.push({
41041
+ l - i < lde || (n.push({
41040
41042
  tick: o,
41041
41043
  tickIndex: a,
41042
41044
  radiusNorm: s
@@ -41049,10 +41051,10 @@ var L_ = (e, t) => {
41049
41051
  textAnchor: t,
41050
41052
  dominantBaseline: "central",
41051
41053
  transform: void 0
41052
- }), hde = (e) => {
41054
+ }), dde = (e) => {
41053
41055
  const t = Math.sin(e);
41054
41056
  return Math.abs(t) < 0.01 ? "middle" : t > 0 ? "start" : "end";
41055
- }, fde = ({ formattedAxes: e, panelRect: t }) => {
41057
+ }, hde = ({ formattedAxes: e, panelRect: t }) => {
41056
41058
  const r = Se(), n = oi(), i = ce(Xc, r, "y"), a = ce(Xc, r, "x"), o = L_(t, e);
41057
41059
  if (!o) return null;
41058
41060
  const { circle: s, circularAxis: l, radialAxis: c, innerRadius: u, angleFor: d, radiusNormFor: h } = o;
@@ -41123,8 +41125,8 @@ var L_ = (e, t) => {
41123
41125
  "data-testid": "grid-line-hit-area"
41124
41126
  })]
41125
41127
  }) : i;
41126
- }, mde = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, isDimmed: n, dimStyle: i, formattingLocale: a, panelRect: o }) => {
41127
- const s = Pn(), l = Goe(e.id), { colorScheme: c } = St(), u = Ge(e), d = s(e.geom, t.type);
41128
+ }, fde = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, isDimmed: n, dimStyle: i, formattingLocale: a, panelRect: o }) => {
41129
+ const s = Pn(), l = Hoe(e.id), { colorScheme: c } = St(), u = Ge(e), d = s(e.geom, t.type);
41128
41130
  if (d === null) return null;
41129
41131
  const h = Ku(d.render);
41130
41132
  return h.overlay ? null : /* @__PURE__ */ v("g", {
@@ -41144,7 +41146,7 @@ var L_ = (e, t) => {
41144
41146
  })
41145
41147
  });
41146
41148
  };
41147
- function pde({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
41149
+ function mde({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
41148
41150
  if (e?.getOverlayAnchor === void 0 || n.length === 0) return [];
41149
41151
  const i = [];
41150
41152
  for (const { observation: a, observationIndex: o } of n) {
@@ -41161,8 +41163,8 @@ function pde({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
41161
41163
  }
41162
41164
  return i;
41163
41165
  }
41164
- var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: a, panelRect: o, formattingLocale: s }) => {
41165
- const l = Re((w) => w.config.numberFormat), c = W(() => pde({
41166
+ var pde = 4, gde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: a, panelRect: o, formattingLocale: s }) => {
41167
+ const l = Re((w) => w.config.numberFormat), c = W(() => mde({
41166
41168
  renderer: e,
41167
41169
  layer: t,
41168
41170
  coordSystem: i,
@@ -41197,7 +41199,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41197
41199
  };
41198
41200
  x = e.renderHighlight ? e.renderHighlight(w) : y.fn(w);
41199
41201
  }
41200
- return /* @__PURE__ */ U(C_, { children: [x, c.map(({ observation: w, observationIndex: T, anchor: _ }) => /* @__PURE__ */ v(yde, {
41202
+ return /* @__PURE__ */ U(C_, { children: [x, c.map(({ observation: w, observationIndex: T, anchor: _ }) => /* @__PURE__ */ v(vde, {
41201
41203
  observation: w,
41202
41204
  anchor: _,
41203
41205
  panelRect: o,
@@ -41208,8 +41210,8 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41208
41210
  formatYValue: f,
41209
41211
  labelStyle: g.observation.outside,
41210
41212
  familyDefault: p.familyDefault
41211
- }, bde(w, T)))] });
41212
- }, yde = ({ observation: e, anchor: t, panelRect: r, fill: n, symbol: i, dotRadius: a, readSegmentY: o, formatYValue: s, labelStyle: l, familyDefault: c }) => {
41213
+ }, yde(w, T)))] });
41214
+ }, vde = ({ observation: e, anchor: t, panelRect: r, fill: n, symbol: i, dotRadius: a, readSegmentY: o, formatYValue: s, labelStyle: l, familyDefault: c }) => {
41213
41215
  const u = ri(), d = t.x, h = Tr(t.y), m = o(e) ?? null, f = m !== null ? s(m, e) : null, p = W(() => {
41214
41216
  if (f === null) return null;
41215
41217
  const g = u.measureText(f, Wt(l, c));
@@ -41232,7 +41234,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41232
41234
  "data-testid": "highlight-overlay-dot"
41233
41235
  }), f !== null && p !== null && /* @__PURE__ */ v(I_, {
41234
41236
  x: d * r.width,
41235
- y: h * r.height - a - gde - p.height / 2,
41237
+ y: h * r.height - a - pde - p.height / 2,
41236
41238
  width: p.width,
41237
41239
  height: p.height,
41238
41240
  text: f,
@@ -41241,10 +41243,10 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41241
41243
  position: "outside",
41242
41244
  coordType: "cartesian"
41243
41245
  })] });
41244
- }, bde = (e, t) => {
41246
+ }, yde = (e, t) => {
41245
41247
  const r = e[we.group];
41246
41248
  return `${String(r ?? "")}\0${t}`;
41247
- }, xde = ({ layer: e, coordSystem: t, panelRect: r }) => {
41249
+ }, bde = ({ layer: e, coordSystem: t, panelRect: r }) => {
41248
41250
  const { primary: n, group: i, related: a } = ts(pr((d) => ({
41249
41251
  primary: d.hover.primary,
41250
41252
  group: d.hover.group,
@@ -41270,7 +41272,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41270
41272
  colorScheme: s,
41271
41273
  styleReaders: l
41272
41274
  });
41273
- }, wde = (e) => {
41275
+ }, xde = (e) => {
41274
41276
  const t = Ge(e);
41275
41277
  return W(() => {
41276
41278
  const [r] = e.data;
@@ -41284,7 +41286,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41284
41286
  filter: fP(aE(n))
41285
41287
  };
41286
41288
  }, [e, t]);
41287
- }, Ade = "var(--hoverDimOpacity__1rzsuvz0)", Sde = "var(--hoverDimFilter__1rzsuvz1)", Tde = "geom-layers.renderer_svg__1rzsuvz2", Mde = "geom-layers.renderer_geomGroup__1rzsuvz3", Ede = ({ shouldAnimateTransitions: e, panelRect: t, formattingLocale: r }) => {
41289
+ }, wde = "var(--hoverDimOpacity__1rzsuvz0)", Ade = "var(--hoverDimFilter__1rzsuvz1)", Sde = "geom-layers.renderer_svg__1rzsuvz2", Tde = "geom-layers.renderer_geomGroup__1rzsuvz3", Mde = ({ shouldAnimateTransitions: e, panelRect: t, formattingLocale: r }) => {
41288
41290
  const { layers: n, coordSystem: i } = Re(pr((a) => ({
41289
41291
  layers: a.layers,
41290
41292
  coordSystem: a.coordSystem
@@ -41294,30 +41296,30 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41294
41296
  y: t.y,
41295
41297
  width: t.width,
41296
41298
  height: t.height,
41297
- className: Tde,
41299
+ className: Sde,
41298
41300
  "data-testid": "geom-layers",
41299
- ...Nle(),
41300
- children: n.map((a) => /* @__PURE__ */ U(ro, { children: [/* @__PURE__ */ v(_de, {
41301
+ ...Ole(),
41302
+ children: n.map((a) => /* @__PURE__ */ U(ro, { children: [/* @__PURE__ */ v(Pde, {
41301
41303
  layer: a,
41302
41304
  coordSystem: i,
41303
41305
  shouldAnimateTransitions: e,
41304
41306
  panelRect: t,
41305
41307
  formattingLocale: r
41306
- }), /* @__PURE__ */ v(xde, {
41308
+ }), /* @__PURE__ */ v(bde, {
41307
41309
  layer: a,
41308
41310
  coordSystem: i,
41309
41311
  panelRect: t
41310
- })] }, `${a.id}-${kde(i)}`))
41312
+ })] }, `${a.id}-${Ede(i)}`))
41311
41313
  });
41312
- }, kde = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, Pde = (e) => (0, J2.assignInlineVars)({
41313
- ...e.opacity === void 0 ? {} : { [Ade]: String(e.opacity) },
41314
- ...e.filter === void 0 ? {} : { [Sde]: e.filter }
41315
- }), _de = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, panelRect: n, formattingLocale: i }) => {
41314
+ }, Ede = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, kde = (e) => (0, J2.assignInlineVars)({
41315
+ ...e.opacity === void 0 ? {} : { [wde]: String(e.opacity) },
41316
+ ...e.filter === void 0 ? {} : { [Ade]: e.filter }
41317
+ }), Pde = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, panelRect: n, formattingLocale: i }) => {
41316
41318
  const a = Pn(), o = W(() => a(e.geom, t.type), [
41317
41319
  a,
41318
41320
  e,
41319
41321
  t
41320
- ]), s = e.highlight, l = wde(e), { colorScheme: c } = St(), u = {
41322
+ ]), s = e.highlight, l = xde(e), { colorScheme: c } = St(), u = {
41321
41323
  layer: e,
41322
41324
  coordSystem: t,
41323
41325
  shouldAnimateTransitions: r,
@@ -41327,10 +41329,10 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41327
41329
  styleReaders: Ge(e)
41328
41330
  }, d = o ? Ku(o.render) : null, h = e.spatialKind === "render-hit-test", m = l.opacity !== void 0 || l.filter !== void 0;
41329
41331
  return /* @__PURE__ */ U("g", {
41330
- className: m ? Mde : void 0,
41331
- style: m ? Pde(l) : void 0,
41332
+ className: m ? Tde : void 0,
41333
+ style: m ? kde(l) : void 0,
41332
41334
  children: [
41333
- /* @__PURE__ */ v(mde, {
41335
+ /* @__PURE__ */ v(fde, {
41334
41336
  layer: e,
41335
41337
  coordSystem: t,
41336
41338
  shouldAnimateTransitions: r,
@@ -41347,7 +41349,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41347
41349
  render: d.fn,
41348
41350
  input: u
41349
41351
  }),
41350
- s !== null && /* @__PURE__ */ v(vde, {
41352
+ s !== null && /* @__PURE__ */ v(gde, {
41351
41353
  renderer: o,
41352
41354
  layer: e,
41353
41355
  matchedLayer: s.composition.matchedLayer,
@@ -41359,13 +41361,13 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41359
41361
  })
41360
41362
  ]
41361
41363
  });
41362
- }, Cde = "plot.renderer_root__1ts0j5d0", Ide = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: a, axisLabelRects: o, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: h }) => {
41364
+ }, _de = "plot.renderer_root__1ts0j5d0", Cde = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: a, axisLabelRects: o, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: h }) => {
41363
41365
  const m = de(null);
41364
- Wce(m);
41365
- const f = jr("Grid", ade), p = jr("AxisTicks", nde), g = jr("AxisLabel", ide), y = W(() => $f(n, t), [n, t]), x = W(() => $f(i, t), [i, t]), w = W(() => e1(a, t), [a, t]), T = W(() => e1(o, t), [o, t]);
41366
+ Gce(m);
41367
+ const f = jr("Grid", ide), p = jr("AxisTicks", rde), g = jr("AxisLabel", nde), y = W(() => $f(n, t), [n, t]), x = W(() => $f(i, t), [i, t]), w = W(() => e1(a, t), [a, t]), T = W(() => e1(o, t), [o, t]);
41366
41368
  return /* @__PURE__ */ U("svg", {
41367
41369
  ref: m,
41368
- className: Cde,
41370
+ className: _de,
41369
41371
  width: t.width,
41370
41372
  height: t.height,
41371
41373
  style: { transform: `translate(${t.x}px, ${t.y}px)` },
@@ -41385,11 +41387,11 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41385
41387
  formattedAxes: e,
41386
41388
  labelRects: T
41387
41389
  }),
41388
- /* @__PURE__ */ v(fde, {
41390
+ /* @__PURE__ */ v(hde, {
41389
41391
  formattedAxes: e,
41390
41392
  panelRect: x
41391
41393
  }),
41392
- /* @__PURE__ */ v(Tce, { panelRect: x }),
41394
+ /* @__PURE__ */ v(Sce, { panelRect: x }),
41393
41395
  h && /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ v(Kw, {
41394
41396
  panelRect: x,
41395
41397
  zOrder: "background"
@@ -41397,27 +41399,27 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41397
41399
  panelRect: x,
41398
41400
  zOrder: "background"
41399
41401
  })] }),
41400
- /* @__PURE__ */ v(sde, {
41402
+ /* @__PURE__ */ v(ode, {
41401
41403
  sizes: r,
41402
41404
  panelFrameRect: y
41403
41405
  }),
41404
- /* @__PURE__ */ v(Ede, {
41406
+ /* @__PURE__ */ v(Mde, {
41405
41407
  shouldAnimateTransitions: s,
41406
41408
  panelRect: x,
41407
41409
  formattingLocale: l
41408
41410
  }),
41409
- /* @__PURE__ */ v(ude, {
41411
+ /* @__PURE__ */ v(cde, {
41410
41412
  formattedAxes: e,
41411
41413
  panelRect: x
41412
41414
  }),
41413
- /* @__PURE__ */ v(Hue, {
41415
+ /* @__PURE__ */ v(Vue, {
41414
41416
  panelRect: x,
41415
41417
  formattingLocale: l,
41416
41418
  plotBottomY: c,
41417
41419
  isFooterChromeReserved: u
41418
41420
  }),
41419
41421
  h && /* @__PURE__ */ U(me, { children: [
41420
- /* @__PURE__ */ v(rue, {
41422
+ /* @__PURE__ */ v(tue, {
41421
41423
  panelRect: x,
41422
41424
  isEditable: d
41423
41425
  }),
@@ -41429,15 +41431,15 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41429
41431
  panelRect: x,
41430
41432
  zOrder: "foreground"
41431
41433
  }),
41432
- /* @__PURE__ */ v(qce, {
41434
+ /* @__PURE__ */ v(Xce, {
41433
41435
  panelRect: x,
41434
41436
  isEditable: d
41435
41437
  }),
41436
- /* @__PURE__ */ v(pue, { panelRect: x }),
41437
- /* @__PURE__ */ v(Cue, { panelRect: x }),
41438
- /* @__PURE__ */ v(Aue, { panelRect: x })
41438
+ /* @__PURE__ */ v(mue, { panelRect: x }),
41439
+ /* @__PURE__ */ v(_ue, { panelRect: x }),
41440
+ /* @__PURE__ */ v(wue, { panelRect: x })
41439
41441
  ] }),
41440
- /* @__PURE__ */ v(Hce, { panelRect: x })
41442
+ /* @__PURE__ */ v(Vce, { panelRect: x })
41441
41443
  ]
41442
41444
  });
41443
41445
  }, $f = (e, t) => ({
@@ -41449,7 +41451,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41449
41451
  const r = {};
41450
41452
  for (const [n, i] of Object.entries(e)) r[n] = $f(i, t);
41451
41453
  return r;
41452
- }, Rde = (e) => {
41454
+ }, Ide = (e) => {
41453
41455
  let t, r;
41454
41456
  return "aspectRatio" in e ? "intrinsicWidth" in e ? (t = e.intrinsicWidth, r = t / e.aspectRatio) : (r = e.intrinsicHeight, t = r * e.aspectRatio) : (t = e.intrinsicWidth, r = e.intrinsicHeight), {
41455
41457
  width: t1(t, "width"),
@@ -41458,7 +41460,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41458
41460
  }, t1 = (e, t) => {
41459
41461
  if (e <= 0 || Number.isNaN(e) || !Number.isFinite(e)) throw new ue({ message: `Expected ${t} to be a positive, finite number, but got ${e}.` });
41460
41462
  return e;
41461
- }, Lde = ({ sizing: e, onResize: t, children: r }) => {
41463
+ }, Rde = ({ sizing: e, onResize: t, children: r }) => {
41462
41464
  const n = u2({ onResize: t }), i = de(!1);
41463
41465
  if (ye(() => {
41464
41466
  e.mode === "responsive" && (n.isDefault || n.width > 0 && n.height > 0 || i.current || (i.current = !0, console.warn(`[graphy] ZERO_SIZE_CONTAINER: GraphRenderer measured ${n.width}×${n.height}; the chart will not paint until the host has a positive width and height.`)));
@@ -41468,7 +41470,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41468
41470
  n.width,
41469
41471
  n.height
41470
41472
  ]), e.mode === "keepAspectRatio") {
41471
- const { intrinsicSize: o, canRender: s, outerStyles: l, innerStyles: c } = Dde(e, n.width, !n.isDefault);
41473
+ const { intrinsicSize: o, canRender: s, outerStyles: l, innerStyles: c } = Lde(e, n.width, !n.isDefault);
41472
41474
  return /* @__PURE__ */ v("div", {
41473
41475
  ref: n.setElement,
41474
41476
  style: l,
@@ -41504,8 +41506,8 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41504
41506
  height: n.height
41505
41507
  })
41506
41508
  });
41507
- }, Dde = (e, t, r) => {
41508
- const n = Rde(e), i = t > 0 && n.width > 0 ? t / n.width : 1;
41509
+ }, Lde = (e, t, r) => {
41510
+ const n = Ide(e), i = t > 0 && n.width > 0 ? t / n.width : 1;
41509
41511
  return {
41510
41512
  intrinsicSize: n,
41511
41513
  canRender: r,
@@ -41520,7 +41522,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41520
41522
  height: n.height
41521
41523
  }
41522
41524
  };
41523
- }, Ode = { mode: "responsive" }, mh = {
41525
+ }, Dde = { mode: "responsive" }, mh = {
41524
41526
  headerSize: {
41525
41527
  width: 0,
41526
41528
  height: 0
@@ -41529,7 +41531,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41529
41531
  width: 0,
41530
41532
  height: 0
41531
41533
  }
41532
- }, Nde = () => {
41534
+ }, Ode = () => {
41533
41535
  const [e, t] = Ee(null), [r, n] = Ee(null), [i, a] = Ee(mh);
41534
41536
  return ye(() => {
41535
41537
  const o = () => {
@@ -41540,7 +41542,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41540
41542
  width: r.offsetWidth,
41541
41543
  height: r.offsetHeight
41542
41544
  } : mh.footerSize;
41543
- a((u) => Bde(u, {
41545
+ a((u) => Nde(u, {
41544
41546
  headerSize: l,
41545
41547
  footerSize: c
41546
41548
  }) ? {
@@ -41556,7 +41558,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41556
41558
  footerRef: n,
41557
41559
  measurements: i
41558
41560
  };
41559
- }, Bde = (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, Fde = () => null, Vde = ({ graphChrome: e, isEditable: t, mode: r, style: n, contentRef: i, children: a }) => {
41561
+ }, Nde = (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, Bde = () => null, Fde = ({ graphChrome: e, isEditable: t, mode: r, style: n, contentRef: i, children: a }) => {
41560
41562
  const { themeClass: o, inlineVarsStyle: s } = xg(), 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: m, blendMode: f, fill: p } = e, g = W(() => ({
41561
41563
  ...n,
41562
41564
  borderRadius: `${d}px`,
@@ -41600,21 +41602,21 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41600
41602
  children: a
41601
41603
  })
41602
41604
  });
41603
- }, gpe = (e) => /* @__PURE__ */ v(fae, {
41604
- locale: cse(),
41605
- children: /* @__PURE__ */ v(Hde, { ...e })
41606
- }), Hde = ({ slots: e, sizing: t = Ode, onResize: r, ...n }) => /* @__PURE__ */ v(Kre, { children: /* @__PURE__ */ v(rte, { children: /* @__PURE__ */ v(yte, {
41605
+ }, ppe = (e) => /* @__PURE__ */ v(fae, {
41606
+ locale: lse(),
41607
+ children: /* @__PURE__ */ v(Vde, { ...e })
41608
+ }), Vde = ({ slots: e, sizing: t = Dde, onResize: r, ...n }) => /* @__PURE__ */ v(Kre, { children: /* @__PURE__ */ v(rte, { children: /* @__PURE__ */ v(yte, {
41607
41609
  slots: e,
41608
- children: /* @__PURE__ */ v(Lde, {
41610
+ children: /* @__PURE__ */ v(Rde, {
41609
41611
  sizing: t,
41610
41612
  onResize: r,
41611
- children: ({ width: i, height: a }) => /* @__PURE__ */ v(Gde, {
41613
+ children: ({ width: i, height: a }) => /* @__PURE__ */ v(Hde, {
41612
41614
  width: i,
41613
41615
  height: a,
41614
41616
  ...n
41615
41617
  })
41616
41618
  })
41617
- }) }) }), Gde = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: i = An.readonly }) => {
41619
+ }) }) }), Hde = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: i = An.readonly }) => {
41618
41620
  const a = N2(), o = hg(i), { axes: s, legends: l, layers: c, numberFormat: u, parsingLocale: d, annotations: h, coordSystem: m, headline: f, headlineConfig: p, content: g, overflowStrategy: y } = Re(pr((Ft) => ({
41619
41621
  axes: Ft.guides.axes,
41620
41622
  legends: Ft.guides.legends.drawn,
@@ -41627,7 +41629,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41627
41629
  headlineConfig: Ft.config.headline,
41628
41630
  content: Ft.config.content,
41629
41631
  overflowStrategy: Ft.config.panel.overflow
41630
- }))), { intro: x, transitions: w } = Ine(r, c), { headerRef: T, footerRef: _, measurements: A } = Nde(), { formattingLocale: D, colorScheme: b } = St(), S = ni[o], R = S.editorSurface, [I, B] = Ee(null), M = jr("Header", cle), L = jr("Footer", rle), N = jr("Legend", wce), C = jr("Headline", Cle), E = jr("EditorSurface", Fde), k = W(() => RU({
41632
+ }))), { intro: x, transitions: w } = Ine(r, c), { headerRef: T, footerRef: _, measurements: A } = Ode(), { formattingLocale: D, colorScheme: b } = St(), S = ni[o], R = S.editorSurface, [I, B] = Ee(null), M = jr("Header", lle), L = jr("Footer", tle), N = jr("Legend", xce), C = jr("Headline", _le), E = jr("EditorSurface", Bde), k = W(() => RU({
41631
41633
  legends: l,
41632
41634
  numberFormat: u,
41633
41635
  parsingLocale: d,
@@ -41651,14 +41653,14 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41651
41653
  d,
41652
41654
  D,
41653
41655
  a
41654
- ]), j = ri(), K = Se(), ee = ce(Wde, K), ne = ce(lE, K), ae = ce(Tg, K), te = ce(Ude, K), oe = ce(jde, K), ie = ce($de, K), se = ce(zde, K), { fontFamily: H, textScale: Y, strokeWidth: X, fill: F } = ee, le = W(() => NP(b, {}, H), [b, H]), J = W(() => ({
41656
+ ]), j = ri(), K = Se(), ee = ce(Gde, K), ne = ce(lE, K), ae = ce(Tg, K), te = ce(Wde, K), oe = ce(Ude, K), ie = ce(jde, K), se = ce($de, K), { fontFamily: H, textScale: Y, strokeWidth: X, fill: F } = ee, le = W(() => NP(b, {}, H), [b, H]), J = W(() => ({
41655
41657
  width: Math.max(0, e - 2 * X),
41656
41658
  height: Math.max(0, t - 2 * X)
41657
41659
  }), [
41658
41660
  e,
41659
41661
  t,
41660
41662
  X
41661
- ]), be = W(() => Xse(g.brandMark.enabled, J, g.brandMark.variant), [
41663
+ ]), be = W(() => Kse(g.brandMark.enabled, J, g.brandMark.variant), [
41662
41664
  g.brandMark.enabled,
41663
41665
  g.brandMark.variant,
41664
41666
  J
@@ -41672,11 +41674,11 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41672
41674
  p.size,
41673
41675
  p.position,
41674
41676
  m
41675
- ]), ot = ase({
41677
+ ]), ot = ise({
41676
41678
  textMeasurer: j,
41677
41679
  metrics: le,
41678
41680
  overrides: bte()
41679
- }), nr = W(() => Vz(ne), [ne]), st = ose({
41681
+ }), nr = W(() => Vz(ne), [ne]), st = ase({
41680
41682
  measurer: ot,
41681
41683
  axes: s,
41682
41684
  numberFormat: u,
@@ -41718,9 +41720,9 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41718
41720
  headingFontFamily: te.fontFamily,
41719
41721
  children: /* @__PURE__ */ v(qee, {
41720
41722
  metrics: le,
41721
- children: /* @__PURE__ */ v(use, { children: /* @__PURE__ */ v(Cse, {
41723
+ children: /* @__PURE__ */ v(cse, { children: /* @__PURE__ */ v(_se, {
41722
41724
  panelRect: Pe.panel,
41723
- children: /* @__PURE__ */ v(Vde, {
41725
+ children: /* @__PURE__ */ v(Fde, {
41724
41726
  graphChrome: ee,
41725
41727
  isEditable: R,
41726
41728
  mode: o,
@@ -41729,7 +41731,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41729
41731
  width: "100%",
41730
41732
  height: "100%"
41731
41733
  },
41732
- children: /* @__PURE__ */ U(Voe, {
41734
+ children: /* @__PURE__ */ U(Foe, {
41733
41735
  intro: x,
41734
41736
  children: [
41735
41737
  /* @__PURE__ */ v(M, {
@@ -41744,7 +41746,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41744
41746
  subtitleStyle: oe,
41745
41747
  brandMark: Xe
41746
41748
  }),
41747
- /* @__PURE__ */ v(Ide, {
41749
+ /* @__PURE__ */ v(Cde, {
41748
41750
  formattedAxes: Mt,
41749
41751
  plotRect: Pe.plot,
41750
41752
  panelBorder: nr,
@@ -41788,7 +41790,7 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41788
41790
  formattedAxes: Mt,
41789
41791
  shouldAnimateTransitions: w
41790
41792
  }),
41791
- n && S.tooltips && /* @__PURE__ */ v(Roe, {})
41793
+ n && S.tooltips && /* @__PURE__ */ v(Ioe, {})
41792
41794
  ]
41793
41795
  })
41794
41796
  })
@@ -41796,10 +41798,10 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41796
41798
  })
41797
41799
  })
41798
41800
  });
41799
- }, Wde = (e) => e.graph().resolve(), Ude = (e) => e.heading.h1().resolve(), jde = (e) => e.heading.h2().resolve(), $de = (e) => e.caption().resolve(), zde = (e) => ({
41801
+ }, Gde = (e) => e.graph().resolve(), Wde = (e) => e.heading.h1().resolve(), Ude = (e) => e.heading.h2().resolve(), jde = (e) => e.caption().resolve(), $de = (e) => ({
41800
41802
  label: e.source().resolve(),
41801
41803
  link: e.source.link().resolve()
41802
- }), vpe = (e) => {
41804
+ }), gpe = (e) => {
41803
41805
  const t = he(wp), r = xp();
41804
41806
  return W(() => e || (t ? {
41805
41807
  commands: t.commands,
@@ -41817,10 +41819,10 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41817
41819
  t,
41818
41820
  r
41819
41821
  ]);
41820
- }, ype = (e) => a1(e.subscribe, e.getScene, e.getScene), bpe = () => {
41822
+ }, vpe = (e) => a1(e.subscribe, e.getScene, e.getScene), ype = () => {
41821
41823
  const { commands: e } = St();
41822
41824
  return e;
41823
- }, xpe = () => {
41825
+ }, bpe = () => {
41824
41826
  const { history: e } = St(), { stack: t, undo: r, redo: n } = e, i = Ce((s) => t.subscribe(s), [t]), a = Ce(() => t.getSnapshot(), [t]), o = a1(i, a, a);
41825
41827
  return W(() => ({
41826
41828
  ...o,
@@ -41831,11 +41833,11 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41831
41833
  r,
41832
41834
  n
41833
41835
  ]);
41834
- }, Yde = (e) => {
41836
+ }, zde = (e) => {
41835
41837
  if (e.altKey || !e.metaKey && !e.ctrlKey) return null;
41836
41838
  const t = e.key.toLowerCase();
41837
41839
  return t === "z" ? e.shiftKey ? "redo" : "undo" : t === "y" && e.ctrlKey && !e.shiftKey ? "redo" : null;
41838
- }, Kde = /* @__PURE__ */ new Set([
41840
+ }, Yde = /* @__PURE__ */ new Set([
41839
41841
  "button",
41840
41842
  "checkbox",
41841
41843
  "color",
@@ -41846,14 +41848,14 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41846
41848
  "range",
41847
41849
  "reset",
41848
41850
  "submit"
41849
- ]), wpe = (e, t = {}) => {
41851
+ ]), xpe = (e, t = {}) => {
41850
41852
  const { target: r, enabled: n = !0 } = t;
41851
41853
  ye(() => {
41852
- const i = Xde(r);
41854
+ const i = Kde(r);
41853
41855
  if (!n || !i) return;
41854
41856
  const a = (o) => {
41855
- if (!qde(o) || o.defaultPrevented || Qde(o.target)) return;
41856
- const s = Yde(o);
41857
+ if (!Xde(o) || o.defaultPrevented || qde(o.target)) return;
41858
+ const s = zde(o);
41857
41859
  if (!s) return;
41858
41860
  const l = e.current;
41859
41861
  l && (s === "undo" ? l.undo() : l.redo()) && o.preventDefault();
@@ -41864,19 +41866,19 @@ var gde = 4, vde = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41864
41866
  r,
41865
41867
  n
41866
41868
  ]);
41867
- }, Xde = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, qde = (e) => "key" in e, Qde = (e) => e instanceof HTMLInputElement ? !Kde.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, Ape = () => {
41869
+ }, Kde = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Xde = (e) => "key" in e, qde = (e) => e instanceof HTMLInputElement ? !Yde.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, wpe = () => {
41868
41870
  const { targetBoundaryStore: e } = St();
41869
41871
  return Tn(e, (t) => t.boundary);
41870
41872
  };
41871
- function Jde(e) {
41873
+ function Qde(e) {
41872
41874
  const t = e.config.content;
41873
41875
  return t?.isBrandMarkVisible !== void 0 || t?.brandMark?.enabled !== void 0 ? e : gN(e, { config: { content: {
41874
41876
  isBrandMarkVisible: !0,
41875
41877
  brandMark: { enabled: !0 }
41876
41878
  } } });
41877
41879
  }
41878
- var Spe = (e) => {
41879
- const t = W(() => Jde(e.spec), [e.spec]);
41880
+ var Ape = (e) => {
41881
+ const t = W(() => Qde(e.spec), [e.spec]);
41880
41882
  return /* @__PURE__ */ v(s2, {
41881
41883
  ...e,
41882
41884
  spec: t
@@ -41886,31 +41888,31 @@ export {
41886
41888
  m_ as BrandMark,
41887
41889
  Jee as CanvasTextMeasurer,
41888
41890
  ki as Dataset,
41889
- rle as DefaultFooter,
41890
- ade as DefaultGrid,
41891
- cle as DefaultHeader,
41891
+ tle as DefaultFooter,
41892
+ ide as DefaultGrid,
41893
+ lle as DefaultHeader,
41892
41894
  _te as DefaultSwatch,
41893
- Loe as DefaultTooltip,
41894
- dpe as DevToolsPanel,
41895
+ Roe as DefaultTooltip,
41896
+ upe as DevToolsPanel,
41895
41897
  An as GRAPH_MODES,
41896
41898
  we as GROUP_VARIABLES,
41897
41899
  ln as Geom,
41898
- ape as GeomCircle,
41899
- ope as GeomLine,
41900
- lpe as GeomPath,
41901
- spe as GeomRect,
41900
+ ipe as GeomCircle,
41901
+ ape as GeomLine,
41902
+ spe as GeomPath,
41903
+ ope as GeomRect,
41902
41904
  qY as GraphErrorBoundary,
41903
41905
  fb as GraphErrorPanel,
41904
- Spe as GraphProvider,
41905
- gpe as GraphRenderer,
41906
+ Ape as GraphProvider,
41907
+ ppe as GraphRenderer,
41906
41908
  Kre as HoverProvider,
41907
41909
  Yte as IntroFade,
41908
41910
  gP as IntroWipeClip,
41909
41911
  V as POSITION_VARIABLES,
41910
41912
  rte as TextMeasurerProvider,
41911
41913
  coe as ThemeProvider,
41912
- upe as UnitBoxSvg,
41913
- cpe as UnitSpaceSvg,
41914
+ cpe as UnitBoxSvg,
41915
+ lpe as UnitSpaceSvg,
41914
41916
  ji as VISUAL_VARIABLES,
41915
41917
  C7 as annotation,
41916
41918
  fZ as buildDotsEditOutlineShapes,
@@ -41918,15 +41920,15 @@ export {
41918
41920
  wv as composePoint,
41919
41921
  S9 as config,
41920
41922
  T9 as coord,
41921
- ipe as createGraphyKit,
41923
+ npe as createGraphyKit,
41922
41924
  P9 as createSpec,
41923
- nfe as createStableBandKeyGenerator,
41925
+ rfe as createStableBandKeyGenerator,
41924
41926
  rr as createStableKeyGenerator,
41925
41927
  mY as createStyleResolver,
41926
41928
  dt as createValueFormatter,
41927
41929
  loe as darkTheme,
41928
- npe as defineGeomRenderer,
41929
- Fhe as defineGeomStyleTarget,
41930
+ rpe as defineGeomRenderer,
41931
+ Bhe as defineGeomStyleTarget,
41930
41932
  oF as geom,
41931
41933
  km as getAlpha,
41932
41934
  Em as getAngleExtent,
@@ -41935,7 +41937,7 @@ export {
41935
41937
  tr as getGroup,
41936
41938
  ES as getLineType,
41937
41939
  gu as getRadiusExtent,
41938
- she as getScaledAesthetic,
41940
+ ohe as getScaledAesthetic,
41939
41941
  Pm as getSize,
41940
41942
  gV as getStrokeWidth,
41941
41943
  vV as getTileRectBounds,
@@ -41948,26 +41950,26 @@ export {
41948
41950
  P1 as getYRaw,
41949
41951
  M9 as highlight,
41950
41952
  Q2 as lightTheme,
41951
- rpe as lightenCss,
41953
+ tpe as lightenCss,
41952
41954
  E9 as mapping,
41953
41955
  _9 as pipe,
41954
41956
  Gi as projectPointCartesian,
41955
41957
  wre as pruneSelection,
41956
41958
  MA as readMainAxis,
41957
41959
  Fs as resolveAnchoredLabelCenter,
41958
- Xse as resolveBrandMarkVisual,
41960
+ Kse as resolveBrandMarkVisual,
41959
41961
  k9 as scale,
41960
41962
  Bc as scalePointToPanel,
41961
41963
  Eg as stampAxisEditTarget,
41962
41964
  w_ as stampGridEditTarget,
41963
41965
  kg as stampLegendEditTarget,
41964
41966
  R9 as stat,
41965
- Jhe as style,
41967
+ Qhe as style,
41966
41968
  MT as styles,
41967
41969
  Be as toPaintColor,
41968
41970
  Z as toPercent,
41969
41971
  mr as toStrokeDasharray,
41970
- Zhe as toViewBoxX,
41972
+ Jhe as toViewBoxX,
41971
41973
  Tr as toViewBoxY,
41972
41974
  re as token,
41973
41975
  F9 as transform,
@@ -41976,21 +41978,21 @@ export {
41976
41978
  ine as useGeomHover,
41977
41979
  Xs as useGeomReaderTree,
41978
41980
  Ge as useGeomStyleReader,
41979
- bpe as useGraphCommands,
41980
- vpe as useGraphHandle,
41981
- xpe as useGraphHistory,
41982
- wpe as useGraphHistoryShortcuts,
41983
- cse as useGraphLocale,
41984
- Qce as useGraphSelection,
41981
+ ype as useGraphCommands,
41982
+ gpe as useGraphHandle,
41983
+ bpe as useGraphHistory,
41984
+ xpe as useGraphHistoryShortcuts,
41985
+ lse as useGraphLocale,
41986
+ qce as useGraphSelection,
41985
41987
  oi as useGuidesTakePress,
41986
- ype as useHandleScene,
41988
+ vpe as useHandleScene,
41987
41989
  ts as useHoverState,
41988
41990
  Dr as usePaintDefs,
41989
41991
  ce as useResolvedStyle,
41990
41992
  Re as useSceneSelector,
41991
41993
  Se as useStyleReaderTree,
41992
41994
  fE as useStyleResolver,
41993
- Ape as useTargetBoundary,
41995
+ wpe as useTargetBoundary,
41994
41996
  ri as useTextMeasurer,
41995
41997
  O as vars
41996
41998
  };