@graphysdk/react 1.9.0-beta.1790839098761 → 1.9.0-beta.1790855561349

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.
@@ -2427,7 +2427,7 @@ function ge(e) {
2427
2427
  function fe(e) {
2428
2428
  return e[V.y];
2429
2429
  }
2430
- function er(e) {
2430
+ function Zt(e) {
2431
2431
  return e[V.xMin];
2432
2432
  }
2433
2433
  function Dt(e) {
@@ -2451,7 +2451,7 @@ var vR = {
2451
2451
  yMin: 0,
2452
2452
  yMax: 1
2453
2453
  }, _1 = (e, t) => {
2454
- const r = er(e) ?? ge(e), n = Dt(e) ?? ge(e), i = Ot(e) ?? fe(e), a = it(e) ?? fe(e);
2454
+ const r = Zt(e) ?? ge(e), n = Dt(e) ?? ge(e), i = Ot(e) ?? fe(e), a = it(e) ?? fe(e);
2455
2455
  return !Oe(r) || !Oe(n) || !Oe(i) || !Oe(a) ? null : t.type !== "polar" ? {
2456
2456
  xMin: r,
2457
2457
  xMax: n,
@@ -3987,14 +3987,14 @@ function wv(e, t) {
3987
3987
  function MA(e) {
3988
3988
  return e.type === "cartesian" ? e.mainAxis : "x";
3989
3989
  }
3990
- var tr = (e) => e[we.group], SN = (e) => {
3990
+ var er = (e) => e[we.group], SN = (e) => {
3991
3991
  const t = em(e), r = R1(e), n = L1(e) && t !== we.group;
3992
3992
  return (i) => {
3993
3993
  const a = i[t] ?? null;
3994
3994
  if (a === null) return null;
3995
3995
  const o = r === null ? null : r(i);
3996
3996
  if (r !== null && o === null) return null;
3997
- const s = n ? tr(i) ?? null : null;
3997
+ const s = n ? er(i) ?? null : null;
3998
3998
  return {
3999
3999
  layerId: e.id,
4000
4000
  anchorValue: a,
@@ -4029,7 +4029,7 @@ function PA(e, t) {
4029
4029
  }
4030
4030
  var EN = (e) => {
4031
4031
  const t = em(e), r = R1(e), n = L1(e);
4032
- return (i, a) => !Xr(i[t] ?? null, a.anchorValue) || !(r === null || a.crossValue === void 0 || Xr(r(i), a.crossValue)) ? !1 : !n || a.groupValue === void 0 ? !0 : Xr(tr(i), a.groupValue);
4032
+ return (i, a) => !Xr(i[t] ?? null, a.anchorValue) || !(r === null || a.crossValue === void 0 || Xr(r(i), a.crossValue)) ? !1 : !n || a.groupValue === void 0 ? !0 : Xr(er(i), a.groupValue);
4033
4033
  }, kN = (e) => {
4034
4034
  const t = q(e.mapping.y), r = Ls(e);
4035
4035
  return (n, i) => t !== null && i === t ? r(n) : n[i] ?? null;
@@ -8278,7 +8278,7 @@ function l3(e) {
8278
8278
  return e.data.groupBy(we.group).forEach((r) => {
8279
8279
  const n = r.findLast((l) => G(it(l)) || G(fe(l)));
8280
8280
  if (!n) return;
8281
- const i = tr(n);
8281
+ const i = er(n);
8282
8282
  if (!G(i)) return;
8283
8283
  const a = Ot(n), o = it(n) ?? fe(n);
8284
8284
  if (!G(o)) return;
@@ -8336,7 +8336,7 @@ var c3 = class extends Zn {
8336
8336
  }, d3 = (e) => {
8337
8337
  const t = yR(e);
8338
8338
  return t === "" ? null : t;
8339
- }, h3 = (e) => Ne([tr(e)]), bm = (e, t) => Ne([t !== null ? e[t] ?? null : null]);
8339
+ }, h3 = (e) => Ne([er(e)]), bm = (e, t) => Ne([t !== null ? e[t] ?? null : null]);
8340
8340
  function f3(e) {
8341
8341
  return e === null ? null : {
8342
8342
  strategy: e,
@@ -8568,6 +8568,7 @@ var xm = (e, t) => {
8568
8568
  summary: {},
8569
8569
  spatialKind: o.spatialKind,
8570
8570
  identityKey: o.identityKey,
8571
+ hoverPriority: o.hoverPriority,
8571
8572
  tooltip: o.tooltip,
8572
8573
  scaleConstraints: o.scaleConstraints,
8573
8574
  supportsDirectLabels: o.legend.directLabelSupport?.[e.position] === !0,
@@ -8885,7 +8886,7 @@ var k3 = (e) => e.observation?.aesthetics ?? ke.geom.aesthetics, xS = (e) => e.o
8885
8886
  ...e?.hovered === void 0 ? {} : { hovered: e.hovered }
8886
8887
  }), ln = class {
8887
8888
  constructor() {
8888
- this.positionRoles = [], this.identityKey = "x-group", this.defaultPosition = "identity", this.defaultStat = null, this.supportedPositions = xR, this.defaultInteractive = !0, this.aesthetics = [], this.derivedVariables = [], this.highlightStrategy = null, this.supportedCoordTypes = ["cartesian", "flip"], this.spatialKind = "points", this.grid = {}, this.legend = {}, this.dataLabelCoordTypes = [], this.isComposite = !1, this.tooltip = [], this.summaries = {};
8889
+ this.positionRoles = [], this.identityKey = "x-group", this.defaultPosition = "identity", this.defaultStat = null, this.supportedPositions = xR, this.defaultInteractive = !0, this.hoverPriority = "normal", this.aesthetics = [], this.derivedVariables = [], this.highlightStrategy = null, this.supportedCoordTypes = ["cartesian", "flip"], this.spatialKind = "points", this.grid = {}, this.legend = {}, this.dataLabelCoordTypes = [], this.isComposite = !1, this.tooltip = [], this.summaries = {};
8889
8890
  }
8890
8891
  resolveParams(e) {
8891
8892
  return qi({}, this.defaultParams, e.params);
@@ -9210,7 +9211,7 @@ var k3 = (e) => e.observation?.aesthetics ?? ke.geom.aesthetics, xS = (e) => e.o
9210
9211
  height: i - n
9211
9212
  };
9212
9213
  }, TS = (e, t) => {
9213
- const r = er(t), n = Dt(t), i = Ot(t), a = it(t) ?? fe(t);
9214
+ const r = Zt(t), n = Dt(t), i = Ot(t), a = it(t) ?? fe(t);
9214
9215
  return r === null || n === null || i === null || a === null ? null : SS(e, r, n, i, a);
9215
9216
  }, j3 = (e, t) => {
9216
9217
  const { xMin: r, xMax: n, yMin: i, yMax: a } = t.anchor;
@@ -9645,7 +9646,7 @@ var eV = " · ", gn = 2, tV = (e) => {
9645
9646
  purpose: i
9646
9647
  };
9647
9648
  if (r.mainAxis === "x") {
9648
- const d = er(t), h = Dt(t), m = oy({
9649
+ const d = Zt(t), h = Dt(t), m = oy({
9649
9650
  lowerBound: Ot(t),
9650
9651
  upperBound: it(t) ?? fe(t),
9651
9652
  options: s
@@ -9656,7 +9657,7 @@ var eV = " · ", gn = 2, tV = (e) => {
9656
9657
  };
9657
9658
  }
9658
9659
  const l = Ot(t), c = it(t), u = oy({
9659
- lowerBound: er(t),
9660
+ lowerBound: Zt(t),
9660
9661
  upperBound: Dt(t) ?? ge(t),
9661
9662
  options: s
9662
9663
  });
@@ -9700,7 +9701,7 @@ var eV = " · ", gn = 2, tV = (e) => {
9700
9701
  }), n;
9701
9702
  }
9702
9703
  }, ay = ({ width: e }, t) => e !== void 0 ? e : t === "polar" ? 1 : N3, lV = (e) => {
9703
- const t = er(e), r = Dt(e), n = Ot(e), i = it(e);
9704
+ const t = Zt(e), r = Dt(e), n = Ot(e), i = it(e);
9704
9705
  return t === null || r === null || n === null || i === null ? null : bi((t + r) / 2, (n + i) / 2);
9705
9706
  }, cV = (e) => {
9706
9707
  const t = P1(e);
@@ -10075,7 +10076,7 @@ function kS(e) {
10075
10076
  return e[ji.lineType];
10076
10077
  }
10077
10078
  var yV = (e) => {
10078
- const t = er(e), r = Dt(e), n = Ot(e), i = it(e);
10079
+ const t = Zt(e), r = Dt(e), n = Ot(e), i = it(e);
10079
10080
  if (t === null || r === null || n === null || i === null) return null;
10080
10081
  const a = Math.min(t, r), o = Math.abs(r - t), s = Math.max(n, i), l = Math.abs(i - n);
10081
10082
  return {
@@ -10193,7 +10194,7 @@ var yV = (e) => {
10193
10194
  hideGridX: !0,
10194
10195
  hideGridY: !0
10195
10196
  } }, this.legend = { suppressWhenSingleItem: !1 }, this.dataLabels = { cartesian: { showDataLabels: !0 } }, this.dataLabelCoordTypes = ["cartesian"], this.highlightStrategy = "observation-rerender", this.spatialKind = "cells", this.identityKey = "x-y", this.tooltip = [{ aes: "color" }], this.resolveValueSource = wV, this.resolveAnchorPosition = (t) => {
10196
- const r = er(t), n = Dt(t), i = Ot(t), a = it(t);
10197
+ const r = Zt(t), n = Dt(t), i = Ot(t), a = it(t);
10197
10198
  return r === null || n === null || i === null || a === null ? null : {
10198
10199
  x: (r + n) / 2,
10199
10200
  y: (i + a) / 2
@@ -10449,8 +10450,8 @@ var yV = (e) => {
10449
10450
  function C(E) {
10450
10451
  for (var k = n(s(E, M, L, !0), 4), P = k[0], j = k[1], K = k[2], ee = k[3], ne = P.length, ae = Math.max(2, ~~(N * ne)), te = new Float64Array(ne), oe = new Float64Array(ne), ie = new Float64Array(ne).fill(1), se = -1; ++se <= y; ) {
10451
10452
  for (var H = [0, ae - 1], Y = 0; Y < ne; ++Y) {
10452
- for (var X = P[Y], F = H[0], le = H[1], J = X - P[F] > P[le] - X ? F : le, be = 0, xe = 0, Xe = 0, at = 0, ot = 0, nr = 1 / Math.abs(P[J] - X || 1), st = F; st <= le; ++st) {
10453
- var ct = P[st], Pe = j[st], kt = T(Math.abs(X - ct) * nr) * ie[st], $t = ct * kt;
10453
+ for (var X = P[Y], F = H[0], le = H[1], J = X - P[F] > P[le] - X ? F : le, be = 0, xe = 0, Xe = 0, at = 0, ot = 0, rr = 1 / Math.abs(P[J] - X || 1), st = F; st <= le; ++st) {
10454
+ var ct = P[st], Pe = j[st], kt = T(Math.abs(X - ct) * rr) * ie[st], $t = ct * kt;
10454
10455
  be += kt, xe += $t, Xe += Pe * kt, at += Pe * $t, ot += ct * $t;
10455
10456
  }
10456
10457
  var hl = n(m(xe / be, Xe / be, at / be, ot / be), 2);
@@ -10527,10 +10528,10 @@ var yV = (e) => {
10527
10528
  l(E, M, L, function(kt, $t) {
10528
10529
  J++, le += ($t - le) / J, N || (kt < be && (be = kt), kt > xe && (xe = kt));
10529
10530
  });
10530
- var Xe = oe - ae * ae, at = ae * Xe - te * te, ot = (se * ae - ie * te) / at, nr = (ie * Xe - se * te) / at, st = -ot * ae, ct = function($t) {
10531
- return $t = $t - K, ot * $t * $t + nr * $t + st + ee;
10531
+ var Xe = oe - ae * ae, at = ae * Xe - te * te, ot = (se * ae - ie * te) / at, rr = (ie * Xe - se * te) / at, st = -ot * ae, ct = function($t) {
10532
+ return $t = $t - K, ot * $t * $t + rr * $t + st + ee;
10532
10533
  }, Pe = h(be, xe, ct);
10533
- return Pe.a = ot, Pe.b = nr - 2 * ot * K, Pe.c = st - nr * K + ot * K * K + ee, Pe.predict = ct, Pe.rSquared = c(E, M, L, le, ct), Pe;
10534
+ return Pe.a = ot, Pe.b = rr - 2 * ot * K, Pe.c = st - rr * K + ot * K * K + ee, Pe.predict = ct, Pe.rSquared = c(E, M, L, le, ct), Pe;
10534
10535
  }
10535
10536
  return C.domain = function(E) {
10536
10537
  return arguments.length ? (N = E, C) : N;
@@ -10573,13 +10574,13 @@ var yV = (e) => {
10573
10574
  se.push(at);
10574
10575
  }
10575
10576
  se.push(ie);
10576
- var ot = I(se), nr = function(Pe) {
10577
+ var ot = I(se), rr = function(Pe) {
10577
10578
  Pe -= ae;
10578
10579
  var kt = te + ot[0] + ot[1] * Pe + ot[2] * Pe * Pe;
10579
10580
  for (J = 3; J < H; ++J) kt += ot[J] * Math.pow(Pe, J);
10580
10581
  return kt;
10581
- }, st = h(F, le, nr);
10582
- return st.coefficients = R(H, ot, -ae, te), st.predict = nr, st.rSquared = c(k, M, L, Y, nr), st;
10582
+ }, st = h(F, le, rr);
10583
+ return st.coefficients = R(H, ot, -ae, te), st.predict = rr, st.rSquared = c(k, M, L, Y, rr), st;
10583
10584
  }
10584
10585
  return E.domain = function(k) {
10585
10586
  return arguments.length ? (C = k, E) : C;
@@ -13337,7 +13338,7 @@ var vT = [
13337
13338
  200
13338
13339
  ]
13339
13340
  }
13340
- }, Xt = {
13341
+ }, Kt = {
13341
13342
  cyan: "#22D3EE",
13342
13343
  pink: "#F377EF",
13343
13344
  purple: "#6528F7",
@@ -13347,19 +13348,19 @@ var vT = [
13347
13348
  green: "#06FF00",
13348
13349
  blue: "#0079FF"
13349
13350
  }, Al = [
13350
- Xt.cyan,
13351
- Xt.pink,
13352
- Xt.purple,
13353
- Xt.red,
13354
- Xt.orange,
13355
- Xt.yellow,
13356
- Xt.green,
13357
- Xt.blue
13351
+ Kt.cyan,
13352
+ Kt.pink,
13353
+ Kt.purple,
13354
+ Kt.red,
13355
+ Kt.orange,
13356
+ Kt.yellow,
13357
+ Kt.green,
13358
+ Kt.blue
13358
13359
  ], cH = [
13359
- Xt.cyan,
13360
- Xt.green,
13361
- Xt.red,
13362
- Xt.cyan
13360
+ Kt.cyan,
13361
+ Kt.green,
13362
+ Kt.red,
13363
+ Kt.cyan
13363
13364
  ], Sl = {
13364
13365
  start: "#84D1FC",
13365
13366
  positive: "#84FC89",
@@ -13700,7 +13701,7 @@ function jy(e, t = "light", r) {
13700
13701
  return ((r !== void 0 ? Gy[t][r] : void 0) ?? Gy[t].default).map((n) => ps[`${e}${n}`]);
13701
13702
  }
13702
13703
  function TH(e) {
13703
- const t = Al.indexOf(Xt[e]);
13704
+ const t = Al.indexOf(Kt[e]);
13704
13705
  return t <= 0 ? Al : [...Al.slice(t), ...Al.slice(0, t)];
13705
13706
  }
13706
13707
  function MH(e, t = {}) {
@@ -13835,7 +13836,7 @@ function Yl(e, t = {}) {
13835
13836
  clamp: t.clamp
13836
13837
  };
13837
13838
  }
13838
- function or(e, t = {}) {
13839
+ function ar(e, t = {}) {
13839
13840
  return {
13840
13841
  type: "scale",
13841
13842
  scaledAesthetic: e,
@@ -14001,14 +14002,14 @@ function DH(e, t) {
14001
14002
  scaleType: t.scaleType
14002
14003
  },
14003
14004
  suggestion: `Declare '${t.scaledAesthetic}' as a discrete scale, or omit it and let the geom's band be inferred.`
14004
- }), or(t.scaledAesthetic, { ..."reverse" in t && t.reverse !== void 0 && { reverse: t.reverse } }));
14005
+ }), ar(t.scaledAesthetic, { ..."reverse" in t && t.reverse !== void 0 && { reverse: t.reverse } }));
14005
14006
  }
14006
14007
  function OH(e, t) {
14007
14008
  return e === t?.discreteCrossAxis ? !0 : zo.reverse;
14008
14009
  }
14009
14010
  function NH({ data: e, layers: t, mapping: r, demands: n }, i) {
14010
14011
  const a = FH(t, r, i.scaledAesthetic);
14011
- if (i.scaledAesthetic === n.discreteAxis || i.scaledAesthetic === n.discreteCrossAxis) return or(i.scaledAesthetic, i.options);
14012
+ if (i.scaledAesthetic === n.discreteAxis || i.scaledAesthetic === n.discreteCrossAxis) return ar(i.scaledAesthetic, i.options);
14012
14013
  const o = n.zeroAxes[i.scaledAesthetic];
14013
14014
  if (o !== void 0) {
14014
14015
  const u = i.options;
@@ -14022,7 +14023,7 @@ function NH({ data: e, layers: t, mapping: r, demands: n }, i) {
14022
14023
  const l = e.getType(s), c = yT[i.scaledAesthetic];
14023
14024
  switch (IH[l][c]) {
14024
14025
  case "discrete":
14025
- return or(i.scaledAesthetic, i.options);
14026
+ return ar(i.scaledAesthetic, i.options);
14026
14027
  case "palette":
14027
14028
  return Lm(i.scaledAesthetic);
14028
14029
  case "datetime":
@@ -15585,7 +15586,7 @@ var U7 = class extends Qi {
15585
15586
  if (r === null || !e.data.hasVariable(V.yMin) || !e.data.hasVariable(V.yMax)) return;
15586
15587
  const n = (s) => t === "y" ? s.xMax : s.yMax, i = (s) => t === "y" ? s.xMin : s.yMin, a = /* @__PURE__ */ new Map();
15587
15588
  for (const s of e.data) {
15588
- const l = s[r], c = Ot(s), u = it(s), d = er(s), h = Dt(s), m = P1(s);
15589
+ const l = s[r], c = Ot(s), u = it(s), d = Zt(s), h = Dt(s), m = P1(s);
15589
15590
  if (!G(l) || !G(c) || !G(u) || !G(d) || !G(h) || !G(m)) continue;
15590
15591
  const f = m >= 0;
15591
15592
  if (Math.abs(m) === 0) continue;
@@ -15971,7 +15972,7 @@ function _9(e) {
15971
15972
  var C9 = {
15972
15973
  x: Object.assign((e) => Yo("x", e), {
15973
15974
  continuous: (e) => bt("x", e),
15974
- discrete: (e) => or("x", e),
15975
+ discrete: (e) => ar("x", e),
15975
15976
  datetime: (e) => Yl("x", e),
15976
15977
  log: (e) => bt("x", {
15977
15978
  ...e,
@@ -15984,7 +15985,7 @@ var C9 = {
15984
15985
  }),
15985
15986
  y: Object.assign((e) => Yo("y", e), {
15986
15987
  continuous: (e) => bt("y", e),
15987
- discrete: (e) => or("y", e),
15988
+ discrete: (e) => ar("y", e),
15988
15989
  datetime: (e) => Yl("y", e),
15989
15990
  log: (e) => bt("y", {
15990
15991
  ...e,
@@ -15997,7 +15998,7 @@ var C9 = {
15997
15998
  }),
15998
15999
  ySecondary: Object.assign((e) => Yo("ySecondary", e), {
15999
16000
  continuous: (e) => bt("ySecondary", e),
16000
- discrete: (e) => or("ySecondary", e),
16001
+ discrete: (e) => ar("ySecondary", e),
16001
16002
  datetime: (e) => Yl("ySecondary", e),
16002
16003
  log: (e) => bt("ySecondary", {
16003
16004
  ...e,
@@ -16010,26 +16011,26 @@ var C9 = {
16010
16011
  }),
16011
16012
  color: {
16012
16013
  continuous: (e) => bt("color", e),
16013
- discrete: (e) => or("color", e),
16014
+ discrete: (e) => ar("color", e),
16014
16015
  palette: (e) => Lm("color", e)
16015
16016
  },
16016
16017
  size: {
16017
16018
  continuous: (e) => bt("size", e),
16018
- discrete: (e) => or("size", e),
16019
+ discrete: (e) => ar("size", e),
16019
16020
  identity: (e) => Bo("size", e)
16020
16021
  },
16021
16022
  alpha: {
16022
16023
  continuous: (e) => bt("alpha", e),
16023
- discrete: (e) => or("alpha", e),
16024
+ discrete: (e) => ar("alpha", e),
16024
16025
  identity: (e) => Bo("alpha", e)
16025
16026
  },
16026
16027
  strokeWidth: {
16027
16028
  continuous: (e) => bt("strokeWidth", e),
16028
- discrete: (e) => or("strokeWidth", e),
16029
+ discrete: (e) => ar("strokeWidth", e),
16029
16030
  identity: (e) => Bo("strokeWidth", e)
16030
16031
  },
16031
16032
  lineType: {
16032
- discrete: (e) => or("lineType", e),
16033
+ discrete: (e) => ar("lineType", e),
16033
16034
  identity: (e) => Bo("lineType", e)
16034
16035
  }
16035
16036
  };
@@ -17554,7 +17555,7 @@ var IG = (e, t) => {
17554
17555
  read: Rs(e, t),
17555
17556
  variable: r
17556
17557
  } : {
17557
- read: tr,
17558
+ read: er,
17558
17559
  variable: we.group
17559
17560
  };
17560
17561
  }, ZT = ({ layer: e, coordSystem: t, axes: r, numberFormat: n, panelRect: i, measureDataLabel: a, readers: o, formattingLocale: s, percentageValueStrategy: l }) => {
@@ -17623,7 +17624,7 @@ var IG = (e, t) => {
17623
17624
  return s === void 0 ? null : s.total;
17624
17625
  };
17625
17626
  }, OG = (e, t) => {
17626
- const r = t ? er : Ot, n = t ? Dt : it, i = Ls(e);
17627
+ const r = t ? Zt : Ot, n = t ? Dt : it, i = Ls(e);
17627
17628
  return (a) => {
17628
17629
  const o = r(a), s = n(a);
17629
17630
  if (!Oe(o) || !Oe(s)) return null;
@@ -19684,9 +19685,9 @@ var TM = { draw(e, t) {
19684
19685
  } }, Bd = Rr(3), aj = { draw(e, t) {
19685
19686
  const r = -Rr(t / (Bd * 3));
19686
19687
  e.moveTo(0, r * 2), e.lineTo(-Bd * r, -r), e.lineTo(Bd * r, -r), e.closePath();
19687
- } }, ir = -0.5, ar = Rr(3) / 2, Zh = 1 / Rr(12), oj = (Zh / 2 + 1) * 3, sj = { draw(e, t) {
19688
+ } }, nr = -0.5, ir = Rr(3) / 2, Zh = 1 / Rr(12), oj = (Zh / 2 + 1) * 3, sj = { draw(e, t) {
19688
19689
  const r = Rr(t / oj), n = r / 2, i = r * Zh, a = n, o = r * Zh + r, s = -a, l = o;
19689
- e.moveTo(n, i), e.lineTo(a, o), e.lineTo(s, l), e.lineTo(ir * n - ar * i, ar * n + ir * i), e.lineTo(ir * a - ar * o, ar * a + ir * o), e.lineTo(ir * s - ar * l, ar * s + ir * l), e.lineTo(ir * n + ar * i, ir * i - ar * n), e.lineTo(ir * a + ar * o, ir * o - ar * a), e.lineTo(ir * s + ar * l, ir * l - ar * s), e.closePath();
19690
+ e.moveTo(n, i), e.lineTo(a, o), e.lineTo(s, l), e.lineTo(nr * n - ir * i, ir * n + nr * i), e.lineTo(nr * a - ir * o, ir * a + nr * o), e.lineTo(nr * s - ir * l, ir * s + nr * l), e.lineTo(nr * n + ir * i, nr * i - ir * n), e.lineTo(nr * a + ir * o, nr * o - ir * a), e.lineTo(nr * s + ir * l, nr * l - ir * s), e.closePath();
19690
19691
  } };
19691
19692
  function kM(e, t) {
19692
19693
  let r = null, n = np(i);
@@ -19822,7 +19823,7 @@ var cj = (function e(t) {
19822
19823
  })(0.5), sp = (e) => e === "smooth" ? cj : ip, lp = (e, t) => {
19823
19824
  const r = sp(t.curve), n = SM().curve(r), i = ap().curve(r);
19824
19825
  if (e.mainAxis === "y") {
19825
- const a = (l) => Tr(fe(l) ?? 0), o = (l) => er(l) ?? 0, s = (l) => Dt(l) ?? ge(l) ?? 0;
19826
+ const a = (l) => Tr(fe(l) ?? 0), o = (l) => Zt(l) ?? 0, s = (l) => Dt(l) ?? ge(l) ?? 0;
19826
19827
  n.y(a).x0(o).x1(s), i.y(a).x(s);
19827
19828
  } else {
19828
19829
  const a = (l) => ge(l) ?? 0, o = (l) => Tr(Ot(l) ?? 0), s = (l) => Tr(it(l) ?? fe(l) ?? 0);
@@ -19858,7 +19859,7 @@ var cj = (function e(t) {
19858
19859
  separatorWidth: e,
19859
19860
  insetOffset: e / 2
19860
19861
  }), zs = (e, t) => CM(e, {
19861
- xMin: er(t),
19862
+ xMin: Zt(t),
19862
19863
  xMax: Dt(t),
19863
19864
  yMin: Ot(t),
19864
19865
  yMax: it(t),
@@ -20132,10 +20133,10 @@ var cj = (function e(t) {
20132
20133
  },
20133
20134
  scaleLength: (o) => a(o * r)
20134
20135
  };
20135
- }, rr = (e, t, r) => {
20136
+ }, tr = (e, t, r) => {
20136
20137
  const n = Rs(e, t);
20137
20138
  return (i) => {
20138
- const a = tr(i) ?? "default", o = n(i);
20139
+ const a = er(i) ?? "default", o = n(i);
20139
20140
  return `${r}-${a}${o !== null && o !== "" ? `-${o}` : ""}`;
20140
20141
  };
20141
20142
  }, lfe = (e, t, r) => {
@@ -22064,13 +22065,17 @@ function pz(e, t, r) {
22064
22065
  const a = e.byKey.get(i.key);
22065
22066
  return a ? { hit: QM(e.layerId, a) } : null;
22066
22067
  }
22067
- var Kt = {
22068
+ var or = {
22068
22069
  primary: null,
22069
22070
  group: [],
22070
22071
  related: /* @__PURE__ */ new Map()
22071
- }, gz = 1, vz = class {
22072
+ }, gz = class {
22072
22073
  constructor({ layers: e, coordSystem: t }) {
22073
- this.layerIndexes = [], this.layerRefs = [], this.viewport = null, this.aspectRatio = gz, this.isAspectStale = !1, this.warmStarts = /* @__PURE__ */ new Map(), this.cachedState = Kt, this.cachedKey = null, this.nonInteractiveLayerIds = /* @__PURE__ */ new Set(), this.hitTesters = /* @__PURE__ */ new Map(), this.cachedByKeyId = null, this.cachedByKeyState = Kt, this.layerIndexes = e.map((r) => H0(r, t, this.aspectRatio)), this.layerRefs = e.map((r) => K0(r, t)), this.nonInteractiveLayerIds = X0(e);
22074
+ this.layerIndexes = [], this.layerRefs = [], this.viewport = null, this.aspectRatio = vz, this.isAspectStale = !1, this.warmStarts = /* @__PURE__ */ new Map(), this.cachedState = or, this.cachedKey = null, this.hoverLayers = {
22075
+ interactive: [],
22076
+ normal: [],
22077
+ low: []
22078
+ }, this.hitTesters = /* @__PURE__ */ new Map(), this.cachedByKeyId = null, this.cachedByKeyState = or, this.layerIndexes = e.map((r) => H0(r, t, this.aspectRatio)), this.layerRefs = e.map((r) => K0(r, t)), this.hoverLayers = X0(e, this.layerIndexes);
22074
22079
  }
22075
22080
  update({ layers: e, coordSystem: t }) {
22076
22081
  const r = /* @__PURE__ */ new Map();
@@ -22091,7 +22096,7 @@ var Kt = {
22091
22096
  this.warmStarts.delete(a.id), n.push(H0(a, t, this.aspectRatio)), i.push(s);
22092
22097
  }
22093
22098
  for (const a of this.warmStarts.keys()) e.some((o) => o.id === a) || this.warmStarts.delete(a);
22094
- this.layerIndexes = n, this.layerRefs = i, this.nonInteractiveLayerIds = X0(e), this.invalidateCache();
22099
+ this.layerIndexes = n, this.layerRefs = i, this.hoverLayers = X0(e, n), this.invalidateCache();
22095
22100
  }
22096
22101
  setViewport(e) {
22097
22102
  if (e.width <= 0 || e.height <= 0) return;
@@ -22100,23 +22105,23 @@ var Kt = {
22100
22105
  t !== this.aspectRatio && (this.aspectRatio = t, this.isAspectStale = !0);
22101
22106
  }
22102
22107
  query(e, t, r) {
22103
- if (this.layerIndexes.length === 0) return Kt;
22108
+ if (this.layerIndexes.length === 0) return or;
22104
22109
  this.reindexForAspect();
22105
- const n = this.nonInteractiveLayerIds.size === 0 ? this.layerIndexes : this.layerIndexes.filter((h) => !this.nonInteractiveLayerIds.has(h.layerId)), i = r ?? this.viewport, a = t !== void 0 && i !== null ? Oj(t, i) : void 0, o = lz({
22106
- layers: n,
22110
+ const n = r ?? this.viewport, i = t !== void 0 && n !== null ? Oj(t, n) : void 0, a = (h) => lz({
22111
+ layers: h,
22107
22112
  aspectRatio: this.aspectRatio,
22108
22113
  warmStarts: this.warmStarts,
22109
22114
  hitTesters: this.hitTesters,
22110
22115
  cursor: e,
22111
- tolerance: a
22112
- });
22116
+ tolerance: i
22117
+ }), o = a(this.hoverLayers.normal) ?? a(this.hoverLayers.low);
22113
22118
  if (!o)
22114
- return this.invalidateCache(), Kt;
22119
+ return this.invalidateCache(), or;
22115
22120
  const s = o.match.hit;
22116
22121
  this.warmStarts.set(s.layerId, s.pointIndex);
22117
- const l = a === void 0 ? void 0 : cz(o, a), c = yz(s, l);
22122
+ const l = i === void 0 ? void 0 : cz(o, i), c = yz(s, l);
22118
22123
  if (this.cachedKey === c) return this.cachedState;
22119
- const { group: u, related: d } = Gj(o, n);
22124
+ const { group: u, related: d } = Gj(o, this.hoverLayers.interactive);
22120
22125
  return this.cachedKey = c, this.cachedState = l === void 0 ? {
22121
22126
  primary: s,
22122
22127
  group: u,
@@ -22135,11 +22140,10 @@ var Kt = {
22135
22140
  this.hitTesters.delete(e);
22136
22141
  }
22137
22142
  resolveHoverByKey(e, t) {
22138
- if (this.nonInteractiveLayerIds.has(e)) return Kt;
22139
- const r = this.layerIndexes.find((a) => a.layerId === e);
22140
- if (!r || r.kind !== "render-hit-test") return Kt;
22143
+ const r = this.hoverLayers.interactive.find((a) => a.layerId === e);
22144
+ if (!r || r.kind !== "render-hit-test") return or;
22141
22145
  const n = r.byKey.get(t);
22142
- if (!n) return Kt;
22146
+ if (!n) return or;
22143
22147
  const i = `${e}:${t}`;
22144
22148
  return this.cachedByKeyId === i ? this.cachedByKeyState : (this.cachedByKeyId = i, this.cachedByKeyState = {
22145
22149
  primary: QM(e, n),
@@ -22148,7 +22152,7 @@ var Kt = {
22148
22152
  }, this.cachedByKeyState);
22149
22153
  }
22150
22154
  invalidateCache() {
22151
- this.cachedKey = null, this.cachedState = Kt, this.cachedByKeyId = null, this.cachedByKeyState = Kt;
22155
+ this.cachedKey = null, this.cachedState = or, this.cachedByKeyId = null, this.cachedByKeyState = or;
22152
22156
  }
22153
22157
  reindexForAspect() {
22154
22158
  if (this.isAspectStale) {
@@ -22156,7 +22160,7 @@ var Kt = {
22156
22160
  for (const e of this.layerIndexes) e.kind === "points" && e.projection === "cartesian" && KM(e, this.aspectRatio);
22157
22161
  }
22158
22162
  }
22159
- };
22163
+ }, vz = 1;
22160
22164
  function yz(e, t) {
22161
22165
  const r = `${e.layerId}:${e.pointIndex}`;
22162
22166
  return t === void 0 ? r : `${r}:${t.intersects}:${t.onPoint}`;
@@ -22169,10 +22173,17 @@ function K0(e, t) {
22169
22173
  coord: t
22170
22174
  };
22171
22175
  }
22172
- function X0(e) {
22173
- const t = /* @__PURE__ */ new Set();
22174
- for (const r of e) r.interactive || t.add(r.id);
22175
- return t;
22176
+ function X0(e, t) {
22177
+ const r = {
22178
+ interactive: [],
22179
+ normal: [],
22180
+ low: []
22181
+ };
22182
+ for (const [n, i] of e.entries()) {
22183
+ const a = t[n];
22184
+ !a || !i.interactive || (r.interactive.push(a), r[i.hoverPriority].push(a));
22185
+ }
22186
+ return r;
22176
22187
  }
22177
22188
  function bz(e, t) {
22178
22189
  return e.data === t.data && e.geom === t.geom && e.position === t.position && e.coord === t.coord;
@@ -22218,7 +22229,7 @@ function Az(e, t, r) {
22218
22229
  function Sz(e, t) {
22219
22230
  if (e.bandAxis === null) return null;
22220
22231
  if (e.bandAxis === "x") {
22221
- const i = er(t.observation), a = Dt(t.observation);
22232
+ const i = Zt(t.observation), a = Dt(t.observation);
22222
22233
  return i === null || a === null ? null : {
22223
22234
  startAngle: i,
22224
22235
  endAngle: a,
@@ -22235,7 +22246,7 @@ function Sz(e, t) {
22235
22246
  };
22236
22247
  }
22237
22248
  function Tz(e) {
22238
- const t = er(e.observation), r = Dt(e.observation);
22249
+ const t = Zt(e.observation), r = Dt(e.observation);
22239
22250
  return t === null || r === null ? null : r - t;
22240
22251
  }
22241
22252
  function Mz(e) {
@@ -22282,7 +22293,7 @@ var Ou = 0.5, Pz = 0.3, _z = 0.4, Cz = 10, Iz = ({ layer: e, coordSystem: t, sca
22282
22293
  durationSeconds: Ou * r.durationScale,
22283
22294
  axis: t.mainAxis
22284
22295
  }), Fz = (e, t, r) => {
22285
- const n = rr(e.data, e.mapping, e.id), i = /* @__PURE__ */ new Map();
22296
+ const n = tr(e.data, e.mapping, e.id), i = /* @__PURE__ */ new Map();
22286
22297
  for (const a of e.data) {
22287
22298
  const o = zs(t, a);
22288
22299
  if (!o) continue;
@@ -22294,7 +22305,7 @@ var Ou = 0.5, Pz = 0.3, _z = 0.4, Cz = 10, Iz = ({ layer: e, coordSystem: t, sca
22294
22305
  }
22295
22306
  return vp([...i.values()], r);
22296
22307
  }, Vz = (e, t) => {
22297
- const r = rr(e.data, e.mapping, e.id), n = [];
22308
+ const r = tr(e.data, e.mapping, e.id), n = [];
22298
22309
  for (const i of e.data) {
22299
22310
  const a = Hz(i, t.staggerOrder);
22300
22311
  a !== null && n.push({
@@ -22308,7 +22319,7 @@ var Ou = 0.5, Pz = 0.3, _z = 0.4, Cz = 10, Iz = ({ layer: e, coordSystem: t, sca
22308
22319
  const r = Pm(e) ?? ge(e);
22309
22320
  return r === null ? null : t === "value-descending" ? -r : r;
22310
22321
  }, Gz = (e, t, r) => {
22311
- const n = rr(e.data, e.mapping, e.id), i = /* @__PURE__ */ new Map();
22322
+ const n = tr(e.data, e.mapping, e.id), i = /* @__PURE__ */ new Map();
22312
22323
  for (const a of e.data) {
22313
22324
  const { startAngle: o, endAngle: s } = Em(a), { innerRadius: l, outerRadius: c } = gu(a);
22314
22325
  if (o === null || s === null || l === null || c === null) continue;
@@ -23896,7 +23907,7 @@ var dr = /* @__NO_SIDE_EFFECTS__ */ (e) => e, cK = (e, t) => (r) => t(e(r)), Qs
23896
23907
  clear() {
23897
23908
  this.subscriptions.length = 0;
23898
23909
  }
23899
- }, Qt = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, ur = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
23910
+ }, qt = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, ur = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
23900
23911
  function SE(e, t) {
23901
23912
  return t ? e * (1e3 / t) : 0;
23902
23913
  }
@@ -24280,7 +24291,7 @@ var je = {
24280
24291
  }, Sb = 1e-3;
24281
24292
  function $K({ duration: e = je.duration, bounce: t = je.bounce, velocity: r = je.velocity, mass: n = je.mass }) {
24282
24293
  let i, a;
24283
- Nu(e <= Qt(je.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
24294
+ Nu(e <= qt(je.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
24284
24295
  let o = 1 - t;
24285
24296
  o = an(je.minDamping, je.maxDamping, o), e = an(je.minDuration, je.maxDuration, ur(e)), o < 1 ? (i = (c) => {
24286
24297
  const u = c * o, d = u * e, h = u - r, m = sf(c, o), f = Math.exp(-d);
@@ -24290,7 +24301,7 @@ function $K({ duration: e = je.duration, bounce: t = je.bounce, velocity: r = je
24290
24301
  return (-i(c) + Sb > 0 ? -1 : 1) * ((d - h) * m) / f;
24291
24302
  }) : (i = (c) => -1e-3 + Math.exp(-c * e) * ((c - r) * e + 1), a = (c) => Math.exp(-c * e) * ((r - c) * (e * e)));
24292
24303
  const s = 5 / e, l = YK(i, a, s);
24293
- if (e = Qt(e), isNaN(l)) return {
24304
+ if (e = qt(e), isNaN(l)) return {
24294
24305
  stiffness: je.stiffness,
24295
24306
  damping: je.damping,
24296
24307
  duration: e
@@ -24386,7 +24397,7 @@ function Ts(e = je.visualDuration, t = je.bounce) {
24386
24397
  s.done = _ >= d;
24387
24398
  else {
24388
24399
  let D = _ === 0 ? f : 0;
24389
- p < 1 && (D = _ === 0 ? Qt(f) : XE(w, _, A));
24400
+ p < 1 && (D = _ === 0 ? qt(f) : XE(w, _, A));
24390
24401
  const b = Math.abs(D) <= n, S = Math.abs(o - A) <= i;
24391
24402
  s.done = b && S;
24392
24403
  }
@@ -24403,7 +24414,7 @@ function Ts(e = je.visualDuration, t = je.bounce) {
24403
24414
  }
24404
24415
  Ts.applyToOptions = (e) => {
24405
24416
  const t = KE(e, 100, Ts);
24406
- return e.ease = t.ease, e.duration = Qt(t.duration), e.type = "keyframes", e;
24417
+ return e.ease = t.ease, e.duration = qt(t.duration), e.type = "keyframes", e;
24407
24418
  };
24408
24419
  function lf({ keyframes: e, velocity: t = 0, power: r = 0.8, timeConstant: n = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: l, restDelta: c = 0.5, restSpeed: u }) {
24409
24420
  const d = e[0], h = {
@@ -24587,7 +24598,7 @@ var Lp = class {
24587
24598
  return ur(this.currentTime);
24588
24599
  }
24589
24600
  set time(e) {
24590
- e = Qt(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver?.start(!1);
24601
+ e = qt(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver?.start(!1);
24591
24602
  }
24592
24603
  get speed() {
24593
24604
  return this.playbackSpeed;
@@ -24922,7 +24933,7 @@ var ak = class extends Lp {
24922
24933
  return ur(Number(this.animation.currentTime) || 0);
24923
24934
  }
24924
24935
  set time(e) {
24925
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = Qt(e);
24936
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = qt(e);
24926
24937
  }
24927
24938
  get speed() {
24928
24939
  return this.animation.playbackRate;
@@ -25228,7 +25239,7 @@ function HX({ when: e, delay: t, delayChildren: r, staggerChildren: n, staggerDi
25228
25239
  var Fp = (e, t, r, n = {}, i, a) => (o) => {
25229
25240
  const s = Bp(n, e) || {}, l = s.delay || n.delay || 0;
25230
25241
  let { elapsed: c = 0 } = n;
25231
- c = c - Qt(l);
25242
+ c = c - qt(l);
25232
25243
  const u = {
25233
25244
  keyframes: Array.isArray(r) ? r : [null, r],
25234
25245
  ease: "easeOut",
@@ -25245,7 +25256,7 @@ var Fp = (e, t, r, n = {}, i, a) => (o) => {
25245
25256
  motionValue: t,
25246
25257
  element: a ? void 0 : i
25247
25258
  };
25248
- HX(s) || Object.assign(u, BX(e, u)), u.duration && (u.duration = Qt(u.duration)), u.repeatDelay && (u.repeatDelay = Qt(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
25259
+ HX(s) || Object.assign(u, BX(e, u)), u.duration && (u.duration = qt(u.duration)), u.repeatDelay && (u.repeatDelay = qt(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
25249
25260
  let d = !1;
25250
25261
  if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (gf(u), u.delay === 0 && (d = !0)), (En.instantAnimations || En.skipAnimations || i?.shouldSkipAnimations) && (d = !0, gf(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
25251
25262
  const h = VX(u.keyframes, s);
@@ -26031,7 +26042,7 @@ var Ek = class {
26031
26042
  keyframes: o,
26032
26043
  times: s,
26033
26044
  ease: l,
26034
- duration: Qt(c)
26045
+ duration: qt(c)
26035
26046
  }), d = a(u);
26036
26047
  this.valueSubscriptions.set(e, () => {
26037
26048
  d(), u.cancel();
@@ -28031,13 +28042,13 @@ function wJ(e, t) {
28031
28042
  };
28032
28043
  let r = e.length - 1, n = null;
28033
28044
  const i = sP(e);
28034
- for (; r >= 0 && (n = e[r], !(i.timestamp - n.timestamp > Qt(t))); )
28045
+ for (; r >= 0 && (n = e[r], !(i.timestamp - n.timestamp > qt(t))); )
28035
28046
  r--;
28036
28047
  if (!n) return {
28037
28048
  x: 0,
28038
28049
  y: 0
28039
28050
  };
28040
- n === e[0] && e.length > 2 && i.timestamp - n.timestamp > Qt(t) * 2 && (n = e[1]);
28051
+ n === e[0] && e.length > 2 && i.timestamp - n.timestamp > qt(t) * 2 && (n = e[1]);
28041
28052
  const a = ur(i.timestamp - n.timestamp);
28042
28053
  if (a === 0) return {
28043
28054
  x: 0,
@@ -28688,7 +28699,7 @@ function aZ(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
28688
28699
  ...t,
28689
28700
  ...C
28690
28701
  };
28691
- k !== void 0 && (oe.duration = Qt(k));
28702
+ k !== void 0 && (oe.duration = qt(k));
28692
28703
  const ie = KE(oe, te, K);
28693
28704
  E = ie.ease, k = ie.duration;
28694
28705
  }
@@ -29493,7 +29504,7 @@ var Vc = (e, t, r) => {
29493
29504
  animate: { height: `${Wx}%` }
29494
29505
  }, jZ = Cr(function({ layer: t, coordSystem: r, shouldAnimateTransitions: n, intro: i }) {
29495
29506
  const a = i?.type === "wipe" ? i : null, { lineGenerator: o, areaGenerator: s } = W(() => lp(r, t.params), [t.params, r]), l = Ge(t), c = W(() => {
29496
- const u = rr(t.data, t.mapping, t.id), d = [];
29507
+ const u = tr(t.data, t.mapping, t.id), d = [];
29497
29508
  return t.data.groupBy(we.group).forEach((h) => {
29498
29509
  const m = cp([...h], t.params.missingValues), f = s(m), p = o(m);
29499
29510
  if (!f || !p) return;
@@ -29595,7 +29606,7 @@ var Vc = (e, t, r) => {
29595
29606
  ringWidth: r
29596
29607
  };
29597
29608
  }, ZZ = ({ layer: e, coordSystem: t, primary: r, companions: n }) => {
29598
- const i = Ge(e), a = tr(r.observation), o = W(() => cp([...e.data.filter(we.group, "eq", a)], e.params.missingValues), [
29609
+ const i = Ge(e), a = er(r.observation), o = W(() => cp([...e.data.filter(we.group, "eq", a)], e.params.missingValues), [
29599
29610
  e.data,
29600
29611
  e.params.missingValues,
29601
29612
  a
@@ -30019,7 +30030,7 @@ var ree = {
30019
30030
  ]), { paints: o, paintAt: s } = tl(e, i), { fillFor: l, defs: c } = Dr({
30020
30031
  paints: o,
30021
30032
  origin: ig(t, r)
30022
- }), u = rr(e.data, e.mapping, e.id), d = [];
30033
+ }), u = tr(e.data, e.mapping, e.id), d = [];
30023
30034
  let h = -1;
30024
30035
  for (const m of e.data) {
30025
30036
  h += 1;
@@ -30122,7 +30133,7 @@ var ree = {
30122
30133
  origin: ig(t, r)
30123
30134
  });
30124
30135
  return /* @__PURE__ */ U(me, { children: [d, W(() => {
30125
- const h = rr(t.data, t.mapping, t.id);
30136
+ const h = tr(t.data, t.mapping, t.id);
30126
30137
  return [...AP(t, r.mainAxis, o, (m, f, p) => ({
30127
30138
  key: h(m),
30128
30139
  ...f,
@@ -30467,7 +30478,7 @@ var rh = 3, Mee = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
30467
30478
  const d = hP(i, c, a);
30468
30479
  d !== "" && o.push({
30469
30480
  kind: "stroke",
30470
- key: String(tr(u)),
30481
+ key: String(er(u)),
30471
30482
  pathData: d,
30472
30483
  width: r.get("strokeWidth", u),
30473
30484
  shouldAnimateTransitions: n
@@ -30482,7 +30493,7 @@ var rh = 3, Mee = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
30482
30493
  return r === null || n === null ? null : Bc(Gi(r, n), t);
30483
30494
  }, _ee = Cr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
30484
30495
  const i = n?.type === "wipe" ? n : null, a = W(() => up(t.params), [t.params]), o = W(() => fj(t.params), [t.params]), s = Ge(t), l = W(() => {
30485
- const c = rr(t.data, t.mapping, t.id), u = [];
30496
+ const c = tr(t.data, t.mapping, t.id), u = [];
30486
30497
  return t.data.groupBy(we.group).forEach((d) => {
30487
30498
  const h = dp([...d], t.params.missingValues), m = a(h);
30488
30499
  if (!m) return;
@@ -30622,7 +30633,7 @@ var rh = 3, Mee = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
30622
30633
  vectorEffect: "non-scaling-stroke"
30623
30634
  });
30624
30635
  }, Lee = ({ layer: e, primary: t, companions: r }) => {
30625
- const n = Ge(e), i = tr(t.observation), a = W(() => dp([...e.data.filter(we.group, "eq", i)], e.params.missingValues), [
30636
+ const n = Ge(e), i = er(t.observation), a = W(() => dp([...e.data.filter(we.group, "eq", i)], e.params.missingValues), [
30626
30637
  e.data,
30627
30638
  e.params.missingValues,
30628
30639
  i
@@ -30722,7 +30733,7 @@ var rh = 3, Mee = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
30722
30733
  }, Oee = Cr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
30723
30734
  const i = Ge(t), a = Uu(n?.type === "grow" && n.growAxis === "size" ? n : null, r);
30724
30735
  return W(() => {
30725
- const o = a.activeIntro ? rr(t.data, t.mapping, t.id) : null, s = [];
30736
+ const o = a.activeIntro ? tr(t.data, t.mapping, t.id) : null, s = [];
30726
30737
  let l = 0;
30727
30738
  for (const c of t.data) s.push(/* @__PURE__ */ v(EP, {
30728
30739
  observation: c,
@@ -31031,7 +31042,7 @@ var O = {
31031
31042
  fontEditorCaption: Me(O.fontWeightMedium, O.fontSizeXxs, O.fontLineHeightXxs)
31032
31043
  }, Hee = xr.sm;
31033
31044
  var Gee = 0.6;
31034
- var Wee = (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}%)`, Uee = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, spe = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, ih = (e) => `${e}px`, RP = {
31045
+ var Wee = (e, t) => ({ familyDefault: nh(t) ?? nh(e.fontFamily) ?? nh(ju) ?? "" }), nh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, Uee = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, spe = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, ih = (e) => `${e}px`, RP = {
31035
31046
  tooltipRowGap: "4px",
31036
31047
  editorControlHeight: ih(32),
31037
31048
  legendSwatchGap: ih(8),
@@ -31096,14 +31107,14 @@ var Wee = (e, t) => ({ familyDefault: nh(t) ?? nh(e.fontFamily) ?? nh(ju) ?? ""
31096
31107
  grayGradient80: "linear-gradient(to top, #222429, #31353f)"
31097
31108
  }, zee = {
31098
31109
  textPrimary: O.gray0,
31099
- textSecondary: qt(O.textPrimary, 0.8),
31100
- textDisabled: qt(O.textPrimary, 0.5),
31110
+ textSecondary: Xt(O.textPrimary, 0.8),
31111
+ textDisabled: Xt(O.textPrimary, 0.5),
31101
31112
  iconPrimary: "currentColor",
31102
- iconSecondary: qt(O.textPrimary, 0.6),
31113
+ iconSecondary: Xt(O.textPrimary, 0.6),
31103
31114
  iconStickerBackground: O.gray70,
31104
31115
  border100: O.gray0,
31105
- border50: qt(O.gray0, 0.5),
31106
- border10: qt(O.gray0, 0.1),
31116
+ border50: Xt(O.gray0, 0.5),
31117
+ border10: Xt(O.gray0, 0.1),
31107
31118
  brand: O.purple50,
31108
31119
  success: O.green50,
31109
31120
  warning: O.amber50,
@@ -31177,18 +31188,18 @@ var Wee = (e, t) => ({ familyDefault: nh(t) ?? nh(e.fontFamily) ?? nh(ju) ?? ""
31177
31188
  grayGradient80: "linear-gradient(to top, #F0F0F1, #F9F9FF)"
31178
31189
  }, Qee = {
31179
31190
  textPrimary: O.black,
31180
- textSecondary: qt(O.textPrimary, 0.6),
31181
- textDisabled: qt(O.textPrimary, 0.5),
31191
+ textSecondary: Xt(O.textPrimary, 0.6),
31192
+ textDisabled: Xt(O.textPrimary, 0.5),
31182
31193
  iconPrimary: "currentColor",
31183
- iconSecondary: qt(O.textPrimary, 0.6),
31194
+ iconSecondary: Xt(O.textPrimary, 0.6),
31184
31195
  iconStickerBackground: O.gray100,
31185
31196
  brand: O.purple50,
31186
31197
  success: O.green50,
31187
31198
  warning: O.amber50,
31188
31199
  alert: O.red50,
31189
31200
  border100: O.gray0,
31190
- border50: qt(O.gray0, 0.5),
31191
- border10: qt(O.gray0, 0.1),
31201
+ border50: Xt(O.gray0, 0.5),
31202
+ border10: Xt(O.gray0, 0.1),
31192
31203
  sunkenBackground: O.gray90,
31193
31204
  defaultBackground: O.gray100,
31194
31205
  raisedBackground: O.gray85,
@@ -31985,7 +31996,7 @@ var Ute = U_((() => {
31985
31996
  return `M ${t.x} ${t.y} ${n} Z`;
31986
31997
  }, are = Cr(function({ layer: t, panelRect: r }) {
31987
31998
  const n = Ge(t), i = W(() => {
31988
- const s = rr(t.data, t.mapping, t.id), l = [];
31999
+ const s = tr(t.data, t.mapping, t.id), l = [];
31989
32000
  return t.data.groupBy(we.group).forEach((c) => {
31990
32001
  const u = [...c], d = qP(u);
31991
32002
  if (!d) return;
@@ -32074,7 +32085,7 @@ var Ute = U_((() => {
32074
32085
  const c = l.hole === null ? "" : kf(l.hole, r);
32075
32086
  n.push({
32076
32087
  kind: "region",
32077
- key: String(tr(s)),
32088
+ key: String(er(s)),
32078
32089
  pathData: kf(l.outer, r) + c,
32079
32090
  fillRule: "evenodd"
32080
32091
  });
@@ -32084,7 +32095,7 @@ var Ute = U_((() => {
32084
32095
  size: 8
32085
32096
  }), n;
32086
32097
  }, sre = ({ layer: e, primary: t, companions: r, panelRect: n }) => {
32087
- const i = Ge(e), a = tr(t.observation), o = i.get("fill", t.observation, "hovered"), { fillFor: s, defs: l } = Dr({
32098
+ const i = Ge(e), a = er(t.observation), o = i.get("fill", t.observation, "hovered"), { fillFor: s, defs: l } = Dr({
32088
32099
  paints: [o],
32089
32100
  unitsPerPixel: qs(n)
32090
32101
  }), c = W(() => qP([...e.data.filter(we.group, "eq", a)]), [e.data, a]);
@@ -32229,7 +32240,7 @@ var Ute = U_((() => {
32229
32240
  paints: u,
32230
32241
  unitsPerPixel: qs(a)
32231
32242
  }), f = W(() => {
32232
- const p = rr(t.data, t.mapping, t.id);
32243
+ const p = tr(t.data, t.mapping, t.id);
32233
32244
  return [...JP(t, r.bandAxis, c, (g, y, x) => ({
32234
32245
  key: p(g),
32235
32246
  ...y,
@@ -32459,7 +32470,7 @@ var Ute = U_((() => {
32459
32470
  ]), { paints: o, paintAt: s } = tl(e, i), { fillFor: l, defs: c } = Dr({
32460
32471
  paints: o,
32461
32472
  unitsPerPixel: qs(n)
32462
- }), u = rr(e.data, e.mapping, e.id), d = [];
32473
+ }), u = tr(e.data, e.mapping, e.id), d = [];
32463
32474
  let h = -1;
32464
32475
  for (const m of e.data)
32465
32476
  h += 1, d.push(/* @__PURE__ */ v(t2, {
@@ -32555,7 +32566,7 @@ var Ute = U_((() => {
32555
32566
  getEditOutlineShapes: dre
32556
32567
  }, wre = Cr(function({ layer: t }) {
32557
32568
  const r = Ge(t), n = W(() => {
32558
- const i = rr(t.data, t.mapping, t.id), a = [];
32569
+ const i = tr(t.data, t.mapping, t.id), a = [];
32559
32570
  return t.data.groupBy(we.group).forEach((o) => {
32560
32571
  const s = [...o], l = r2(s);
32561
32572
  if (!l) return;
@@ -32625,7 +32636,7 @@ var Ute = U_((() => {
32625
32636
  const c = kf(n2(s), n);
32626
32637
  c !== "" && i.push({
32627
32638
  kind: "stroke",
32628
- key: String(tr(l)),
32639
+ key: String(er(l)),
32629
32640
  pathData: c,
32630
32641
  width: r.get("strokeWidth", l)
32631
32642
  });
@@ -32635,7 +32646,7 @@ var Ute = U_((() => {
32635
32646
  size: 8
32636
32647
  }), i;
32637
32648
  }, Sre = ({ layer: e, primary: t, companions: r }) => {
32638
- const n = Ge(e), i = tr(t.observation), a = W(() => r2([...e.data.filter(we.group, "eq", i)]), [e.data, i]);
32649
+ const n = Ge(e), i = er(t.observation), a = W(() => r2([...e.data.filter(we.group, "eq", i)]), [e.data, i]);
32639
32650
  if (!a) return null;
32640
32651
  const o = n.get("stroke", t.observation, "hovered"), s = n.get("alpha", t.observation, "hovered"), l = n.get("strokeAlpha", t.observation, "hovered"), c = n.get("strokeWidth", t.observation, "hovered"), u = mr(n.get("dashArray", t.observation, "hovered"), c), d = n.get("lineCap", t.observation, "hovered"), h = n.get("lineJoin", t.observation, "hovered");
32641
32652
  return /* @__PURE__ */ U(me, { children: [
@@ -32697,7 +32708,7 @@ var Ute = U_((() => {
32697
32708
  }, Mre = Cr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
32698
32709
  const i = Ge(t), a = Uu(n?.type === "grow" && n.growAxis === "size" ? n : null, r);
32699
32710
  return W(() => {
32700
- const o = a.activeIntro ? rr(t.data, t.mapping, t.id) : null, s = [];
32711
+ const o = a.activeIntro ? tr(t.data, t.mapping, t.id) : null, s = [];
32701
32712
  let l = 0;
32702
32713
  for (const c of t.data) s.push(/* @__PURE__ */ v(EP, {
32703
32714
  observation: c,
@@ -33247,7 +33258,7 @@ function cpe(e) {
33247
33258
  var Qre = () => {
33248
33259
  const e = /* @__PURE__ */ new Map();
33249
33260
  return co((t) => ({
33250
- hover: Kt,
33261
+ hover: or,
33251
33262
  tooltipAnchor: null,
33252
33263
  pointerRegions: [],
33253
33264
  isPointerSuspended: !1,
@@ -33267,7 +33278,7 @@ var Qre = () => {
33267
33278
  layers: e,
33268
33279
  coordSystem: t
33269
33280
  }), [e, t]), n = de(null);
33270
- n.current === null && (n.current = new vz(r));
33281
+ n.current === null && (n.current = new gz(r));
33271
33282
  const i = n.current, a = de(!1);
33272
33283
  return ye(() => {
33273
33284
  if (!a.current) {
@@ -33412,9 +33423,9 @@ function cne() {
33412
33423
  function une(e) {
33413
33424
  const { engine: t, store: r } = na();
33414
33425
  return Ce((n, i) => {
33415
- const { hover: a, setHoverState: o, setTooltipAnchor: s } = r.getState(), l = n === null ? Kt : t.resolveHoverByKey(e, n);
33426
+ const { hover: a, setHoverState: o, setTooltipAnchor: s } = r.getState(), l = n === null ? or : t.resolveHoverByKey(e, n);
33416
33427
  if (l.primary === null) {
33417
- a.primary?.layerId === e && (o(Kt), s(null));
33428
+ a.primary?.layerId === e && (o(or), s(null));
33418
33429
  return;
33419
33430
  }
33420
33431
  o(l), s(i ? {
@@ -33538,7 +33549,7 @@ function h2(e) {
33538
33549
  } else for (r in e) e[r] && (n && (n += " "), n += r);
33539
33550
  return n;
33540
33551
  }
33541
- function Jt() {
33552
+ function Qt() {
33542
33553
  for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = h2(e)) && (n && (n += " "), n += t);
33543
33554
  return n;
33544
33555
  }
@@ -33567,7 +33578,7 @@ var kne = "dev-tools-panel_theadRow__58flceh", Pne = "dev-tools-panel_historyHea
33567
33578
  });
33568
33579
  };
33569
33580
  return /* @__PURE__ */ U("div", {
33570
- className: Jt(Ane, r),
33581
+ className: Qt(Ane, r),
33571
33582
  style: {
33572
33583
  width: e,
33573
33584
  ...t
@@ -37412,7 +37423,7 @@ function Ju() {
37412
37423
  function wo(e) {
37413
37424
  return G2(e) ? (e.nodeName || "").toLowerCase() : "#document";
37414
37425
  }
37415
- function Zt(e) {
37426
+ function Jt(e) {
37416
37427
  var t;
37417
37428
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
37418
37429
  }
@@ -37421,16 +37432,16 @@ function Cn(e) {
37421
37432
  return (t = (G2(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
37422
37433
  }
37423
37434
  function G2(e) {
37424
- return Ju() ? e instanceof Node || e instanceof Zt(e).Node : !1;
37435
+ return Ju() ? e instanceof Node || e instanceof Jt(e).Node : !1;
37425
37436
  }
37426
37437
  function Pr(e) {
37427
- return Ju() ? e instanceof Element || e instanceof Zt(e).Element : !1;
37438
+ return Ju() ? e instanceof Element || e instanceof Jt(e).Element : !1;
37428
37439
  }
37429
37440
  function In(e) {
37430
- return Ju() ? e instanceof HTMLElement || e instanceof Zt(e).HTMLElement : !1;
37441
+ return Ju() ? e instanceof HTMLElement || e instanceof Jt(e).HTMLElement : !1;
37431
37442
  }
37432
37443
  function Pw(e) {
37433
- return !Ju() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Zt(e).ShadowRoot;
37444
+ return !Ju() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Jt(e).ShadowRoot;
37434
37445
  }
37435
37446
  function sl(e) {
37436
37447
  const { overflow: t, overflowX: r, overflowY: n, display: i } = _r(e);
@@ -37471,7 +37482,7 @@ function to(e) {
37471
37482
  return /^(html|body|#document)$/.test(wo(e));
37472
37483
  }
37473
37484
  function _r(e) {
37474
- return Zt(e).getComputedStyle(e);
37485
+ return Jt(e).getComputedStyle(e);
37475
37486
  }
37476
37487
  function ed(e) {
37477
37488
  return Pr(e) ? {
@@ -37494,7 +37505,7 @@ function W2(e) {
37494
37505
  function Vf(e, t, r) {
37495
37506
  var n;
37496
37507
  t === void 0 && (t = []), r === void 0 && (r = !0);
37497
- const i = W2(e), a = i === ((n = e.ownerDocument) == null ? void 0 : n.body), o = Zt(i);
37508
+ const i = W2(e), a = i === ((n = e.ownerDocument) == null ? void 0 : n.body), o = Jt(i);
37498
37509
  if (a) {
37499
37510
  const s = Hf(o);
37500
37511
  return t.concat(o, o.visualViewport || [], sl(i) ? i : [], s && r ? Vf(s) : []);
@@ -37528,14 +37539,14 @@ function Fa(e) {
37528
37539
  }
37529
37540
  var Wae = /* @__PURE__ */ en(0);
37530
37541
  function $2(e) {
37531
- const t = Zt(e);
37542
+ const t = Jt(e);
37532
37543
  return !yg() || !t.visualViewport ? Wae : {
37533
37544
  x: t.visualViewport.offsetLeft,
37534
37545
  y: t.visualViewport.offsetTop
37535
37546
  };
37536
37547
  }
37537
37548
  function Uae(e, t, r) {
37538
- return t === void 0 && (t = !1), !r || t && r !== Zt(e) ? !1 : t;
37549
+ return t === void 0 && (t = !1), !r || t && r !== Jt(e) ? !1 : t;
37539
37550
  }
37540
37551
  function Ps(e, t, r, n) {
37541
37552
  t === void 0 && (t = !1), r === void 0 && (r = !1);
@@ -37545,11 +37556,11 @@ function Ps(e, t, r, n) {
37545
37556
  const s = Uae(a, r, n) ? $2(a) : en(0);
37546
37557
  let l = (i.left + s.x) / o.x, c = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
37547
37558
  if (a) {
37548
- const h = Zt(a), m = n && Pr(n) ? Zt(n) : n;
37559
+ const h = Jt(a), m = n && Pr(n) ? Jt(n) : n;
37549
37560
  let f = h, p = Hf(f);
37550
37561
  for (; p && n && m !== f; ) {
37551
37562
  const g = Fa(p), y = p.getBoundingClientRect(), x = _r(p), w = y.left + (p.clientLeft + parseFloat(x.paddingLeft)) * g.x, T = y.top + (p.clientTop + parseFloat(x.paddingTop)) * g.y;
37552
- l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += w, c += T, f = Zt(p), p = Hf(f);
37563
+ l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += w, c += T, f = Jt(p), p = Hf(f);
37553
37564
  }
37554
37565
  }
37555
37566
  return zc({
@@ -37607,7 +37618,7 @@ function zae(e) {
37607
37618
  }
37608
37619
  var _w = 25;
37609
37620
  function Yae(e, t) {
37610
- const r = Zt(e), n = Cn(e), i = r.visualViewport;
37621
+ const r = Jt(e), n = Cn(e), i = r.visualViewport;
37611
37622
  let a = n.clientWidth, o = n.clientHeight, s = 0, l = 0;
37612
37623
  if (i) {
37613
37624
  a = i.width, o = i.height;
@@ -37723,7 +37734,7 @@ function Iw(e, t) {
37723
37734
  return Cn(e) === r && (r = r.ownerDocument.body), r;
37724
37735
  }
37725
37736
  function K2(e, t) {
37726
- const r = Zt(e);
37737
+ const r = Jt(e);
37727
37738
  if (Zu(e)) return r;
37728
37739
  if (!In(e)) {
37729
37740
  let i = Jn(e);
@@ -38050,7 +38061,7 @@ var Gf = (e, t) => {
38050
38061
  }, goe = ({ children: e, className: t, style: r }) => {
38051
38062
  const { themeClass: n, inlineVarsStyle: i } = xg();
38052
38063
  return /* @__PURE__ */ v("div", {
38053
- className: Jt(n, uoe, t),
38064
+ className: Qt(n, uoe, t),
38054
38065
  style: {
38055
38066
  ...i,
38056
38067
  ...r
@@ -38898,7 +38909,7 @@ var $se = "brand-mark_glyphWell__mjr3u52", zse = "brand-mark_glyph__mjr3u53", Ys
38898
38909
  }, ele = (e, t, r = "full") => !e || t.width < 120 || t.height < 80 ? "hidden" : t.width < 200 || r === "mini" ? "mini" : "full", p_ = ({ visual: e, placement: t }) => {
38899
38910
  const r = Qse(Be(Se().graph().get("fill")));
38900
38911
  return /* @__PURE__ */ U("a", {
38901
- className: Jt(jse, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? Xse : qse),
38912
+ className: Qt(jse, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? Xse : qse),
38902
38913
  href: Wse,
38903
38914
  target: "_blank",
38904
38915
  rel: "noopener noreferrer",
@@ -38987,7 +38998,7 @@ var fle = 22, mle = ({ ref: e, headerRect: t, mode: r = Sn.readonly, title: n, i
38987
38998
  const { Title: u } = Mg(), d = ii[hg(r)].inlineTextEditing ? u : null, h = d !== null, m = i && (h || n !== null), f = o && (h || a !== null), p = c !== "hidden";
38988
38999
  return !m && !f && !p ? null : /* @__PURE__ */ U("div", {
38989
39000
  ref: e,
38990
- className: Jt(hle, p && "header.renderer_withBrandMark__1y52e9e1"),
39001
+ className: Qt(hle, p && "header.renderer_withBrandMark__1y52e9e1"),
38991
39002
  style: {
38992
39003
  left: t.x,
38993
39004
  top: t.y,
@@ -39090,10 +39101,10 @@ var _le = ({ segment: e, itemStyle: t }) => {
39090
39101
  if (e.kind === "trendArrow") {
39091
39102
  const i = y_(t, e.direction);
39092
39103
  return /* @__PURE__ */ v("div", {
39093
- className: Jt(Ple, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz3"),
39104
+ className: Qt(Ple, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz3"),
39094
39105
  style: {
39095
39106
  color: i,
39096
- backgroundColor: e.direction === "flat" ? qt(O.textPrimary, 0.1) : qt(i, 0.2)
39107
+ backgroundColor: e.direction === "flat" ? Xt(O.textPrimary, 0.1) : Xt(i, 0.2)
39097
39108
  },
39098
39109
  children: e.direction === "flat" ? /* @__PURE__ */ v(Mle, {
39099
39110
  size: "xs",
@@ -39251,7 +39262,7 @@ var $le = 8, zle = 16, Yle = 2, Kle = ({ indexedLegends: e, containerRect: t })
39251
39262
  dashArray: u
39252
39263
  }, d.payload.key))
39253
39264
  }), i.map((d) => /* @__PURE__ */ v("span", {
39254
- className: Jt(jle, o && "direct-labels_hitTestableItem__1a6kdls3"),
39265
+ className: Qt(jle, o && "direct-labels_hitTestableItem__1a6kdls3"),
39255
39266
  style: {
39256
39267
  ...s,
39257
39268
  left: l,
@@ -39430,10 +39441,10 @@ var oce = "pill-content_bubble__1rqnt0m0", dh = "\0", sce = (e, t) => {
39430
39441
  const g = t === "left" || t === "right", y = h === null ? [] : Array.from({ length: h }, (x, w) => h - w);
39431
39442
  return /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ U("div", {
39432
39443
  ref: f.setReference,
39433
- className: Jt(Zle, h !== null && g && tce[h], h !== null && !g && ece[h]),
39444
+ className: Qt(Zle, h !== null && g && tce[h], h !== null && !g && ece[h]),
39434
39445
  ...jw,
39435
39446
  children: [h !== null && y.map((x) => /* @__PURE__ */ v("span", {
39436
- className: Jt("legend-overflow_triggerGhost__h68bv35", g ? nce[h] : rce[h]),
39447
+ className: Qt("legend-overflow_triggerGhost__h68bv35", g ? nce[h] : rce[h]),
39437
39448
  style: {
39438
39449
  ...m,
39439
39450
  ...fce(x, g)
@@ -39465,7 +39476,7 @@ var oce = "pill-content_bubble__1rqnt0m0", dh = "\0", sce = (e, t) => {
39465
39476
  children: /* @__PURE__ */ v("ul", {
39466
39477
  className: "legend-overflow_popoverList__h68bv3d",
39467
39478
  children: e.map((x) => /* @__PURE__ */ v("li", {
39468
- className: Jt("legend-overflow_popoverItem__h68bv3e", l && "legend-overflow_hitTestablePopoverItem__h68bv3f"),
39479
+ className: Qt("legend-overflow_popoverItem__h68bv3e", l && "legend-overflow_hitTestablePopoverItem__h68bv3f"),
39469
39480
  ...l ? kg(x.address) : void 0,
39470
39481
  children: /* @__PURE__ */ v(P_, { pill: x })
39471
39482
  }, x.key))
@@ -39533,14 +39544,14 @@ var xce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39533
39544
  if (h.length === 0) return null;
39534
39545
  const x = h.slice(0, g.visibleCount), w = h.slice(g.visibleCount), T = g.hasOverflow && w.length > 0, _ = M_(l.item, y(l.item.fill));
39535
39546
  return /* @__PURE__ */ U("div", {
39536
- className: Jt(vce[p], mce, {
39547
+ className: Qt(vce[p], mce, {
39537
39548
  [gce]: m,
39538
39549
  [pce]: !m,
39539
39550
  [yce[e === "left" ? "left" : "right"]]: m
39540
39551
  }),
39541
39552
  style: { gap: s.gap },
39542
39553
  children: [x.map((A) => /* @__PURE__ */ v("div", {
39543
- className: Jt(bce, d && "pill-legends_hitTestableItem__1unrqh49"),
39554
+ className: Qt(bce, d && "pill-legends_hitTestableItem__1unrqh49"),
39544
39555
  style: _,
39545
39556
  ...d ? kg(A.address) : void 0,
39546
39557
  children: /* @__PURE__ */ v(P_, { pill: A })
@@ -39827,7 +39838,7 @@ var xce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
39827
39838
  y.setHoverState(t.query(w, n)), y.setTooltipAnchor(null);
39828
39839
  }, c = () => {
39829
39840
  const f = r.getState();
39830
- f.hover.primary === null && f.tooltipAnchor === null || (f.setHoverState(Kt), f.setTooltipAnchor(null));
39841
+ f.hover.primary === null && f.tooltipAnchor === null || (f.setHoverState(or), f.setTooltipAnchor(null));
39831
39842
  }, u = (f) => {
39832
39843
  const p = r.getState();
39833
39844
  if (p.pointerRegions.length === 0) return !1;
@@ -40226,7 +40237,7 @@ var xce = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40226
40237
  };
40227
40238
  }, vue = (e) => {
40228
40239
  if (e.fill === "transparent") return {};
40229
- const t = Be(e.fill), r = e.fillAlpha < 1 ? qt(t, e.fillAlpha) : t;
40240
+ const t = Be(e.fill), r = e.fillAlpha < 1 ? Xt(t, e.fillAlpha) : t;
40230
40241
  if (e.strokeWidth <= 0) return { backgroundColor: r };
40231
40242
  const n = e.stroke ?? Uee(t, fue);
40232
40243
  return {
@@ -41324,6 +41335,7 @@ var wde = 4, Ade = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41324
41335
  styleReaders: l
41325
41336
  }) : u.length === 0 ? null : c.renderHoverCompanions({
41326
41337
  layer: e,
41338
+ coordSystem: t,
41327
41339
  primary: n,
41328
41340
  related: u,
41329
41341
  colorScheme: s,
@@ -41644,14 +41656,14 @@ var wde = 4, Ade = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41644
41656
  ]), x = t && p === "transparent";
41645
41657
  return /* @__PURE__ */ v("div", {
41646
41658
  "data-testid": "graph-wrapper",
41647
- className: Jt(coe, o),
41659
+ className: Qt(coe, o),
41648
41660
  style: g,
41649
41661
  children: /* @__PURE__ */ v("div", {
41650
41662
  ref: i,
41651
41663
  "data-testid": "graph-inner",
41652
41664
  "data-graph-mode": r,
41653
41665
  tabIndex: t ? 0 : void 0,
41654
- className: Jt(doe, {
41666
+ className: Qt(doe, {
41655
41667
  [hoe]: t,
41656
41668
  [foe]: x
41657
41669
  }),
@@ -41735,7 +41747,7 @@ var wde = 4, Ade = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41735
41747
  textMeasurer: j,
41736
41748
  metrics: le,
41737
41749
  overrides: Mte()
41738
- }), nr = W(() => $z(ne), [ne]), st = dse({
41750
+ }), rr = W(() => $z(ne), [ne]), st = dse({
41739
41751
  measurer: ot,
41740
41752
  axes: s,
41741
41753
  numberFormat: u,
@@ -41749,7 +41761,7 @@ var wde = 4, Ade = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41749
41761
  layers: c,
41750
41762
  coordSystem: m,
41751
41763
  overflowStrategy: y,
41752
- panelBorder: nr,
41764
+ panelBorder: rr,
41753
41765
  padding: ce(hY, K),
41754
41766
  margins: ce(fY, K)
41755
41767
  }), ct = W(() => !st || !at || !ot ? null : PW({
@@ -41806,7 +41818,7 @@ var wde = 4, Ade = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
41806
41818
  /* @__PURE__ */ v(Nde, {
41807
41819
  formattedAxes: kt,
41808
41820
  plotRect: Pe.plot,
41809
- panelBorder: nr,
41821
+ panelBorder: rr,
41810
41822
  panelFrameRect: Pe.panelFrame,
41811
41823
  panelRect: Pe.panel,
41812
41824
  axisRects: Pe.axes,
@@ -41982,7 +41994,7 @@ export {
41982
41994
  cpe as createGraphyKit,
41983
41995
  I9 as createSpec,
41984
41996
  lfe as createStableBandKeyGenerator,
41985
- rr as createStableKeyGenerator,
41997
+ tr as createStableKeyGenerator,
41986
41998
  xY as createStyleResolver,
41987
41999
  ht as createValueFormatter,
41988
42000
  moe as darkTheme,
@@ -41993,7 +42005,7 @@ export {
41993
42005
  Em as getAngleExtent,
41994
42006
  zs as getBarRectBounds,
41995
42007
  ES as getColor,
41996
- tr as getGroup,
42008
+ er as getGroup,
41997
42009
  Os as getGroupVariables,
41998
42010
  kS as getLineType,
41999
42011
  gu as getRadiusExtent,
@@ -42003,7 +42015,7 @@ export {
42003
42015
  yV as getTileRectBounds,
42004
42016
  ge as getX,
42005
42017
  Dt as getXMax,
42006
- er as getXMin,
42018
+ Zt as getXMin,
42007
42019
  fe as getY,
42008
42020
  it as getYMax,
42009
42021
  Ot as getYMin,