@graphysdk/react 1.9.0-beta.1791972263220 → 1.9.0-beta.1791976092663

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -213,7 +213,7 @@ function o1(e, t) {
213
213
  const r = Ye(e);
214
214
  return isNaN(t) ? Ze(e, NaN) : (t && r.setDate(r.getDate() + t), r);
215
215
  }
216
- var OR = 365.2425, NR = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, xme = -NR, a1 = 6048e5, BR = 864e5, VR = 6e4, FR = 36e5, HR = 1e3, GR = 3600, s1 = GR * 24, wme = s1 * 7, $R = s1 * OR, WR = $R / 12, Ame = WR * 3, jR = {};
216
+ var OR = 365.2425, NR = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, Ame = -NR, a1 = 6048e5, BR = 864e5, VR = 6e4, FR = 36e5, HR = 1e3, GR = 3600, s1 = GR * 24, Sme = s1 * 7, $R = s1 * OR, WR = $R / 12, Tme = WR * 3, jR = {};
217
217
  function js() {
218
218
  return jR;
219
219
  }
@@ -2315,7 +2315,7 @@ function jo(e, t, r, n) {
2315
2315
  if (y) {
2316
2316
  const { incompatibleTokens: x } = y;
2317
2317
  if (Array.isArray(x)) {
2318
- const S = d.find((_) => x.includes(_.token) || _.token === v);
2318
+ const S = d.find((P) => x.includes(P.token) || P.token === v);
2319
2319
  if (S) throw new RangeError(`The format string mustn't contain \`${S.fullToken}\` and \`${p}\` at the same time`);
2320
2320
  } else if (y.incompatibleTokens === "*" && d.length > 0) throw new RangeError(`The format string mustn't contain \`${p}\` and any other token at the same time`);
2321
2321
  d.push({
@@ -2399,7 +2399,7 @@ var Dt = (e) => e instanceof Date && $t(e), V2 = (e) => Dt(e) || e === null, du
2399
2399
  }, g1 = (e, t) => {
2400
2400
  const { x: r, y: n } = Am(e, t);
2401
2401
  return wm(r, n);
2402
- }, v1 = "\0graphy\0_", ve = (e) => `${v1}${e}`, Un = { x: ve("constantX") }, Sme = {
2402
+ }, v1 = "\0graphy\0_", ve = (e) => `${v1}${e}`, Un = { x: ve("constantX") }, Mme = {
2403
2403
  bar: ve("barSeriesLabel"),
2404
2404
  line: ve("lineSeriesLabel")
2405
2405
  }, wt = {
@@ -2428,7 +2428,7 @@ var Dt = (e) => e instanceof Date && $t(e), V2 = (e) => Dt(e) || e === null, du
2428
2428
  }, za = {
2429
2429
  y: ve("ruleY"),
2430
2430
  x: ve("ruleX")
2431
- }, Tme = {
2431
+ }, Eme = {
2432
2432
  ...Un,
2433
2433
  ...wt,
2434
2434
  ...we,
@@ -2464,7 +2464,7 @@ function ot(e) {
2464
2464
  function b1(e) {
2465
2465
  return e[O.yRaw];
2466
2466
  }
2467
- function Mme(e, t) {
2467
+ function kme(e, t) {
2468
2468
  return e[y1(t)];
2469
2469
  }
2470
2470
  var Y2 = {
@@ -2584,7 +2584,7 @@ var X2 = [
2584
2584
  gridLine: {
2585
2585
  solid: [],
2586
2586
  dashed: [2, 3],
2587
- dotted: [1, 3]
2587
+ dotted: [0, 3]
2588
2588
  },
2589
2589
  panelBorder: {
2590
2590
  solid: [],
@@ -6262,7 +6262,7 @@ _c.every = function(e) {
6262
6262
  return (r - t) / e;
6263
6263
  }) : _c;
6264
6264
  };
6265
- var Eme = _c.range, pn = 1e3, sr = pn * 60, gn = sr * 60, Gi = gn * 24, Hm = Gi * 7, py = Gi * 30, Ld = Gi * 365, Mo = pt(function(e) {
6265
+ var Pme = _c.range, pn = 1e3, sr = pn * 60, gn = sr * 60, Gi = gn * 24, Hm = Gi * 7, py = Gi * 30, Ld = Gi * 365, Mo = pt(function(e) {
6266
6266
  e.setTime(e - e.getMilliseconds());
6267
6267
  }, function(e, t) {
6268
6268
  e.setTime(+e + t * pn);
@@ -6270,7 +6270,7 @@ var Eme = _c.range, pn = 1e3, sr = pn * 60, gn = sr * 60, Gi = gn * 24, Hm = Gi
6270
6270
  return (t - e) / pn;
6271
6271
  }, function(e) {
6272
6272
  return e.getUTCSeconds();
6273
- }), kme = Mo.range, zS = pt(function(e) {
6273
+ }), _me = Mo.range, zS = pt(function(e) {
6274
6274
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * pn);
6275
6275
  }, function(e, t) {
6276
6276
  e.setTime(+e + t * sr);
@@ -6278,7 +6278,7 @@ var Eme = _c.range, pn = 1e3, sr = pn * 60, gn = sr * 60, Gi = gn * 24, Hm = Gi
6278
6278
  return (t - e) / sr;
6279
6279
  }, function(e) {
6280
6280
  return e.getMinutes();
6281
- }), Pme = zS.range, YS = pt(function(e) {
6281
+ }), Cme = zS.range, YS = pt(function(e) {
6282
6282
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * pn - e.getMinutes() * sr);
6283
6283
  }, function(e, t) {
6284
6284
  e.setTime(+e + t * gn);
@@ -6286,7 +6286,7 @@ var Eme = _c.range, pn = 1e3, sr = pn * 60, gn = sr * 60, Gi = gn * 24, Hm = Gi
6286
6286
  return (t - e) / gn;
6287
6287
  }, function(e) {
6288
6288
  return e.getHours();
6289
- }), _me = YS.range, ku = pt((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * sr) / Gi, (e) => e.getDate() - 1), Cme = ku.range;
6289
+ }), Ime = YS.range, ku = pt((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * sr) / Gi, (e) => e.getDate() - 1), Rme = ku.range;
6290
6290
  function to(e) {
6291
6291
  return pt(function(t) {
6292
6292
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
@@ -6296,7 +6296,7 @@ function to(e) {
6296
6296
  return (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * sr) / Hm;
6297
6297
  });
6298
6298
  }
6299
- var Gm = to(0), Cc = to(1), sH = to(2), lH = to(3), Qo = to(4), cH = to(5), uH = to(6), Ime = Gm.range, Rme = Cc.range, Lme = sH.range, Dme = lH.range, Ome = Qo.range, Nme = cH.range, Bme = uH.range, KS = pt(function(e) {
6299
+ var Gm = to(0), Cc = to(1), sH = to(2), lH = to(3), Qo = to(4), cH = to(5), uH = to(6), Lme = Gm.range, Dme = Cc.range, Ome = sH.range, Nme = lH.range, Bme = Qo.range, Vme = cH.range, Fme = uH.range, KS = pt(function(e) {
6300
6300
  e.setDate(1), e.setHours(0, 0, 0, 0);
6301
6301
  }, function(e, t) {
6302
6302
  e.setMonth(e.getMonth() + t);
@@ -6304,7 +6304,7 @@ var Gm = to(0), Cc = to(1), sH = to(2), lH = to(3), Qo = to(4), cH = to(5), uH =
6304
6304
  return t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12;
6305
6305
  }, function(e) {
6306
6306
  return e.getMonth();
6307
- }), Vme = KS.range, qn = pt(function(e) {
6307
+ }), Hme = KS.range, qn = pt(function(e) {
6308
6308
  e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
6309
6309
  }, function(e, t) {
6310
6310
  e.setFullYear(e.getFullYear() + t);
@@ -6320,7 +6320,7 @@ qn.every = function(e) {
6320
6320
  t.setFullYear(t.getFullYear() + r * e);
6321
6321
  });
6322
6322
  };
6323
- var Fme = qn.range, $m = pt(function(e) {
6323
+ var Gme = qn.range, $m = pt(function(e) {
6324
6324
  e.setUTCSeconds(0, 0);
6325
6325
  }, function(e, t) {
6326
6326
  e.setTime(+e + t * sr);
@@ -6328,7 +6328,7 @@ var Fme = qn.range, $m = pt(function(e) {
6328
6328
  return (t - e) / sr;
6329
6329
  }, function(e) {
6330
6330
  return e.getUTCMinutes();
6331
- }), Hme = $m.range, Pu = pt(function(e) {
6331
+ }), $me = $m.range, Pu = pt(function(e) {
6332
6332
  e.setUTCMinutes(0, 0, 0);
6333
6333
  }, function(e, t) {
6334
6334
  e.setTime(+e + t * gn);
@@ -6336,7 +6336,7 @@ var Fme = qn.range, $m = pt(function(e) {
6336
6336
  return (t - e) / gn;
6337
6337
  }, function(e) {
6338
6338
  return e.getUTCHours();
6339
- }), Gme = Pu.range, da = pt(function(e) {
6339
+ }), Wme = Pu.range, da = pt(function(e) {
6340
6340
  e.setUTCHours(0, 0, 0, 0);
6341
6341
  }, function(e, t) {
6342
6342
  e.setUTCDate(e.getUTCDate() + t);
@@ -6344,7 +6344,7 @@ var Fme = qn.range, $m = pt(function(e) {
6344
6344
  return (t - e) / Gi;
6345
6345
  }, function(e) {
6346
6346
  return e.getUTCDate() - 1;
6347
- }), $me = da.range;
6347
+ }), jme = da.range;
6348
6348
  function ro(e) {
6349
6349
  return pt(function(t) {
6350
6350
  t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -6354,7 +6354,7 @@ function ro(e) {
6354
6354
  return (r - t) / Hm;
6355
6355
  });
6356
6356
  }
6357
- var _u = ro(0), ws = ro(1), dH = ro(2), hH = ro(3), Jo = ro(4), fH = ro(5), mH = ro(6), Wme = _u.range, jme = ws.range, Ume = dH.range, zme = hH.range, Yme = Jo.range, Kme = fH.range, Xme = mH.range, Cu = pt(function(e) {
6357
+ var _u = ro(0), ws = ro(1), dH = ro(2), hH = ro(3), Jo = ro(4), fH = ro(5), mH = ro(6), Ume = _u.range, zme = ws.range, Yme = dH.range, Kme = hH.range, Xme = Jo.range, qme = fH.range, Qme = mH.range, Cu = pt(function(e) {
6358
6358
  e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
6359
6359
  }, function(e, t) {
6360
6360
  e.setUTCMonth(e.getUTCMonth() + t);
@@ -6362,7 +6362,7 @@ var _u = ro(0), ws = ro(1), dH = ro(2), hH = ro(3), Jo = ro(4), fH = ro(5), mH =
6362
6362
  return t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12;
6363
6363
  }, function(e) {
6364
6364
  return e.getUTCMonth();
6365
- }), qme = Cu.range, tn = pt(function(e) {
6365
+ }), Jme = Cu.range, tn = pt(function(e) {
6366
6366
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
6367
6367
  }, function(e, t) {
6368
6368
  e.setUTCFullYear(e.getUTCFullYear() + t);
@@ -6378,7 +6378,7 @@ tn.every = function(e) {
6378
6378
  t.setUTCFullYear(t.getUTCFullYear() + r * e);
6379
6379
  });
6380
6380
  };
6381
- var Qme = tn.range;
6381
+ var Zme = tn.range;
6382
6382
  function XS(e, t) {
6383
6383
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
6384
6384
  }
@@ -6416,7 +6416,7 @@ function pH(e) {
6416
6416
  function gH(e) {
6417
6417
  return e === null ? NaN : +e;
6418
6418
  }
6419
- var qS = Wm(XS), vH = qS.right, Jme = qS.left, Zme = Wm(gH).center, gy = class extends Map {
6419
+ var qS = Wm(XS), vH = qS.right, epe = qS.left, tpe = Wm(gH).center, gy = class extends Map {
6420
6420
  constructor(e, t = xH) {
6421
6421
  if (super(), Object.defineProperties(this, {
6422
6422
  _intern: { value: /* @__PURE__ */ new Map() },
@@ -6587,7 +6587,7 @@ function JS(e, t, r, n, i, o) {
6587
6587
  }
6588
6588
  return [s, l];
6589
6589
  }
6590
- var [AH, SH] = JS(tn, Cu, _u, da, Pu, $m), [epe, tpe] = JS(qn, KS, Gm, ku, YS, zS), TH = [
6590
+ var [AH, SH] = JS(tn, Cu, _u, da, Pu, $m), [rpe, npe] = JS(qn, KS, Gm, ku, YS, zS), TH = [
6591
6591
  {
6592
6592
  unit: "year",
6593
6593
  step: 1e3
@@ -7584,14 +7584,14 @@ function z5({ layer: e, highlights: t, parsingLocale: r, strategy: n, warnings:
7584
7584
  S++;
7585
7585
  }
7586
7586
  if (y.size === 0 && x.size === 0 && !w) return aT();
7587
- const _ = new Uint8Array(h), A = [];
7587
+ const P = new Uint8Array(h), A = [];
7588
7588
  let D = 0;
7589
7589
  for (let T = 0; T < h; T++) {
7590
7590
  const R = f?.[T], I = m?.[T], V = R !== void 0 && y.has(R), M = I !== void 0 && x.has(I), L = v[T] === 1;
7591
7591
  if (n === "observation-rerender")
7592
- (V || L || M) && (_[T] = 1, D++);
7592
+ (V || L || M) && (P[T] = 1, D++);
7593
7593
  else if (V)
7594
- _[T] = 1, D++;
7594
+ P[T] = 1, D++;
7595
7595
  else if (L || M) {
7596
7596
  const N = p?.[T];
7597
7597
  N !== void 0 && A.push({
@@ -7602,7 +7602,7 @@ function z5({ layer: e, highlights: t, parsingLocale: r, strategy: n, warnings:
7602
7602
  }
7603
7603
  const b = D > 0 ? {
7604
7604
  ...e,
7605
- data: e.data.filterByMask(_)
7605
+ data: e.data.filterByMask(P)
7606
7606
  } : null;
7607
7607
  return {
7608
7608
  isDimmed: (n === "observation-rerender" || y.size > 0) && b !== null,
@@ -9476,7 +9476,7 @@ var T3 = /* @__PURE__ */ new Set(["label", "group"]), Dy = {
9476
9476
  });
9477
9477
  }
9478
9478
  };
9479
- function rpe(e) {
9479
+ function ipe(e) {
9480
9480
  return e;
9481
9481
  }
9482
9482
  var P3 = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, AT = (e) => e.observation?.sharedPaint === !1 ? { ...e.observation.vocabulary } : {
@@ -9978,8 +9978,8 @@ var P3 = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, AT = (e) => e.o
9978
9978
  position: "inside"
9979
9979
  };
9980
9980
  }
9981
- const S = Zh(r.outside.width, r.outside.height, n), _ = (s ? S.height : S.width) / 2, A = h + f * (_ + a);
9982
- return A - _ < 0 || A + _ > m ? null : {
9981
+ const S = Zh(r.outside.width, r.outside.height, n), P = (s ? S.height : S.width) / 2, A = h + f * (P + a);
9982
+ return A - P < 0 || A + P > m ? null : {
9983
9983
  ...s ? {
9984
9984
  x: l,
9985
9985
  y: A
@@ -10042,7 +10042,7 @@ var tG = " · ", mn = 2, rG = (e) => {
10042
10042
  innerRadiusPx: (p ?? 0) * u,
10043
10043
  outerRadiusPx: v * u
10044
10044
  };
10045
- let _, A;
10045
+ let P, A;
10046
10046
  if (r === "auto") {
10047
10047
  const T = e.measureDataLabel("observation", "inside", w), R = {
10048
10048
  width: T.width,
@@ -10060,7 +10060,7 @@ var tG = " · ", mn = 2, rG = (e) => {
10060
10060
  labelWidth: R.width,
10061
10061
  labelHeight: R.height
10062
10062
  });
10063
- if (_ = I, A = R, !V) {
10063
+ if (P = I, A = R, !V) {
10064
10064
  const M = e.measureDataLabel("observation", "outside", w), L = {
10065
10065
  width: M.width,
10066
10066
  height: M.height
@@ -10077,11 +10077,11 @@ var tG = " · ", mn = 2, rG = (e) => {
10077
10077
  labelWidth: L.width,
10078
10078
  labelHeight: L.height,
10079
10079
  panelRect: e.panelRect
10080
- }) && (_ = N, A = L);
10080
+ }) && (P = N, A = L);
10081
10081
  }
10082
10082
  } else {
10083
10083
  const T = qm(e.measureDataLabel, "observation", w), R = T[r];
10084
- _ = sG({
10084
+ P = sG({
10085
10085
  wedge: S,
10086
10086
  placement: r,
10087
10087
  justify: Xm(n),
@@ -10089,9 +10089,9 @@ var tG = " · ", mn = 2, rG = (e) => {
10089
10089
  offset: o,
10090
10090
  labelWidth: R.width,
10091
10091
  labelHeight: R.height
10092
- }), A = T[_.position];
10092
+ }), A = T[P.position];
10093
10093
  }
10094
- const D = l + Math.sin(_.labelAngle) * _.labelRadius, b = c - Math.cos(_.labelAngle) * _.labelRadius;
10094
+ const D = l + Math.sin(P.labelAngle) * P.labelRadius, b = c - Math.cos(P.labelAngle) * P.labelRadius;
10095
10095
  t.push({
10096
10096
  layerId: e.layer.id,
10097
10097
  x: D,
@@ -10101,8 +10101,8 @@ var tG = " · ", mn = 2, rG = (e) => {
10101
10101
  height: A.height,
10102
10102
  isRotated: !1,
10103
10103
  role: "observation",
10104
- position: _.position,
10105
- ..._.position === "inside" ? { backdropColor: Qm(d, h) } : {}
10104
+ position: P.position,
10105
+ ...P.position === "inside" ? { backdropColor: Qm(d, h) } : {}
10106
10106
  });
10107
10107
  }
10108
10108
  return {
@@ -10934,13 +10934,13 @@ var bG = (e) => {
10934
10934
  function o(M, L) {
10935
10935
  var N = [], C = !0, E = !1, k = void 0;
10936
10936
  try {
10937
- for (var P = M[Symbol.iterator](), j; !(C = (j = P.next()).done) && (N.push(j.value), !(L && N.length === L)); C = !0)
10937
+ for (var _ = M[Symbol.iterator](), j; !(C = (j = _.next()).done) && (N.push(j.value), !(L && N.length === L)); C = !0)
10938
10938
  ;
10939
10939
  } catch (X) {
10940
10940
  E = !0, k = X;
10941
10941
  } finally {
10942
10942
  try {
10943
- !C && P.return != null && P.return();
10943
+ !C && _.return != null && _.return();
10944
10944
  } finally {
10945
10945
  if (E) throw k;
10946
10946
  }
@@ -10957,29 +10957,29 @@ var bG = (e) => {
10957
10957
  }), C && M.sort(function(ie, se) {
10958
10958
  return L(ie) - L(se);
10959
10959
  });
10960
- for (var E = M.length, k = new Float64Array(E), P = new Float64Array(E), j = 0, X = 0, ee, ne, oe, te = 0; te < E; )
10961
- oe = M[te], k[te] = ee = +L(oe, te, M), P[te] = ne = +N(oe, te, M), ++te, j += (ee - j) / te, X += (ne - X) / te;
10960
+ for (var E = M.length, k = new Float64Array(E), _ = new Float64Array(E), j = 0, X = 0, ee, ne, oe, te = 0; te < E; )
10961
+ oe = M[te], k[te] = ee = +L(oe, te, M), _[te] = ne = +N(oe, te, M), ++te, j += (ee - j) / te, X += (ne - X) / te;
10962
10962
  for (var ae = 0; ae < E; ++ae)
10963
- k[ae] -= j, P[ae] -= X;
10963
+ k[ae] -= j, _[ae] -= X;
10964
10964
  return [
10965
10965
  k,
10966
- P,
10966
+ _,
10967
10967
  j,
10968
10968
  X
10969
10969
  ];
10970
10970
  }
10971
10971
  function l(M, L, N, C) {
10972
- for (var E = 0, k = 0, P = M.length; k < P; k++) {
10972
+ for (var E = 0, k = 0, _ = M.length; k < _; k++) {
10973
10973
  var j = M[k], X = +L(j, k, M), ee = +N(j, k, M);
10974
10974
  X != null && isFinite(X) && ee != null && isFinite(ee) && C(X, ee, E++);
10975
10975
  }
10976
10976
  }
10977
10977
  function c(M, L, N, C, E) {
10978
- var k = 0, P = 0;
10978
+ var k = 0, _ = 0;
10979
10979
  return l(M, L, N, function(j, X) {
10980
10980
  var ee = X - E(j), ne = X - C;
10981
- k += ee * ee, P += ne * ne;
10982
- }), 1 - k / P;
10981
+ k += ee * ee, _ += ne * ne;
10982
+ }), 1 - k / _;
10983
10983
  }
10984
10984
  function u(M) {
10985
10985
  return Math.atan2(M[1][1] - M[0][1], M[1][0] - M[0][0]) * 180 / Math.PI;
@@ -10988,8 +10988,8 @@ var bG = (e) => {
10988
10988
  return [(M[0][0] + M[1][0]) / 2, (M[0][1] + M[1][1]) / 2];
10989
10989
  }
10990
10990
  function h(M, L, N) {
10991
- for (var C = Math.log(L - M) * Math.LOG10E + 1 | 0, E = 1 * Math.pow(10, -C / 2 - 1), k = 1e4, P = [X(M), X(L)], j = 0; ee(P) && j < k; ) ;
10992
- return P;
10991
+ for (var C = Math.log(L - M) * Math.LOG10E + 1 | 0, E = 1 * Math.pow(10, -C / 2 - 1), k = 1e4, _ = [X(M), X(L)], j = 0; ee(_) && j < k; ) ;
10992
+ return _;
10993
10993
  function X(ne) {
10994
10994
  return [ne, N(ne)];
10995
10995
  }
@@ -11013,17 +11013,17 @@ var bG = (e) => {
11013
11013
  return k[1];
11014
11014
  }, N;
11015
11015
  function C(E) {
11016
- var k = 0, P = 0, j = 0, X = 0, ee = 0, ne = 0, oe = N ? +N[0] : 1 / 0, te = N ? +N[1] : -1 / 0;
11016
+ var k = 0, _ = 0, j = 0, X = 0, ee = 0, ne = 0, oe = N ? +N[0] : 1 / 0, te = N ? +N[1] : -1 / 0;
11017
11017
  l(E, M, L, function(q, F) {
11018
11018
  var le = Math.log(F), J = q * F;
11019
- ++k, P += (F - P) / k, X += (J - X) / k, ne += (q * J - ne) / k, j += (F * le - j) / k, ee += (J * le - ee) / k, N || (q < oe && (oe = q), q > te && (te = q));
11019
+ ++k, _ += (F - _) / k, X += (J - X) / k, ne += (q * J - ne) / k, j += (F * le - j) / k, ee += (J * le - ee) / k, N || (q < oe && (oe = q), q > te && (te = q));
11020
11020
  });
11021
- var ae = n(f(X / P, j / P, ee / P, ne / P), 2), ie = ae[0], se = ae[1];
11021
+ var ae = n(f(X / _, j / _, ee / _, ne / _), 2), ie = ae[0], se = ae[1];
11022
11022
  ie = Math.exp(ie);
11023
11023
  var $ = function(F) {
11024
11024
  return ie * Math.exp(se * F);
11025
11025
  }, Y = h(oe, te, $);
11026
- return Y.a = ie, Y.b = se, Y.predict = $, Y.rSquared = c(E, M, L, P, $), Y;
11026
+ return Y.a = ie, Y.b = se, Y.predict = $, Y.rSquared = c(E, M, L, _, $), Y;
11027
11027
  }
11028
11028
  return C.domain = function(E) {
11029
11029
  return arguments.length ? (N = E, C) : N;
@@ -11040,11 +11040,11 @@ var bG = (e) => {
11040
11040
  return k[1];
11041
11041
  }, N;
11042
11042
  function C(E) {
11043
- var k = 0, P = 0, j = 0, X = 0, ee = 0, ne = N ? +N[0] : 1 / 0, oe = N ? +N[1] : -1 / 0;
11043
+ var k = 0, _ = 0, j = 0, X = 0, ee = 0, ne = N ? +N[0] : 1 / 0, oe = N ? +N[1] : -1 / 0;
11044
11044
  l(E, M, L, function(Y, q) {
11045
- ++k, P += (Y - P) / k, j += (q - j) / k, X += (Y * q - X) / k, ee += (Y * Y - ee) / k, N || (Y < ne && (ne = Y), Y > oe && (oe = Y));
11045
+ ++k, _ += (Y - _) / k, j += (q - j) / k, X += (Y * q - X) / k, ee += (Y * Y - ee) / k, N || (Y < ne && (ne = Y), Y > oe && (oe = Y));
11046
11046
  });
11047
- var te = n(f(P, j, X, ee), 2), ae = te[0], ie = te[1], se = function(q) {
11047
+ var te = n(f(_, j, X, ee), 2), ae = te[0], ie = te[1], se = function(q) {
11048
11048
  return ie * q + ae;
11049
11049
  }, $ = [[ne, se(ne)], [oe, se(oe)]];
11050
11050
  return $.a = ie, $.b = ae, $.predict = se, $.rSquared = c(E, M, L, j, se), $;
@@ -11072,14 +11072,14 @@ var bG = (e) => {
11072
11072
  return k[1];
11073
11073
  }, N = 0.3;
11074
11074
  function C(E) {
11075
- for (var k = n(s(E, M, L, !0), 4), P = k[0], j = k[1], X = k[2], ee = k[3], ne = P.length, oe = Math.max(2, ~~(N * ne)), te = new Float64Array(ne), ae = new Float64Array(ne), ie = new Float64Array(ne).fill(1), se = -1; ++se <= y; ) {
11075
+ for (var k = n(s(E, M, L, !0), 4), _ = k[0], j = k[1], X = k[2], ee = k[3], ne = _.length, oe = Math.max(2, ~~(N * ne)), te = new Float64Array(ne), ae = new Float64Array(ne), ie = new Float64Array(ne).fill(1), se = -1; ++se <= y; ) {
11076
11076
  for (var $ = [0, oe - 1], Y = 0; Y < ne; ++Y) {
11077
- for (var q = P[Y], F = $[0], le = $[1], J = q - P[F] > P[le] - q ? F : le, Se = 0, Te = 0, qe = 0, at = 0, st = 0, rr = 1 / Math.abs(P[J] - q || 1), lt = F; lt <= le; ++lt) {
11078
- var ht = P[lt], Ce = j[lt], Pt = S(Math.abs(q - ht) * rr) * ie[lt], Ut = ht * Pt;
11077
+ for (var q = _[Y], F = $[0], le = $[1], J = q - _[F] > _[le] - q ? F : le, Se = 0, Te = 0, qe = 0, at = 0, st = 0, rr = 1 / Math.abs(_[J] - q || 1), lt = F; lt <= le; ++lt) {
11078
+ var ht = _[lt], Ce = j[lt], Pt = S(Math.abs(q - ht) * rr) * ie[lt], Ut = ht * Pt;
11079
11079
  Se += Pt, Te += Ut, qe += Ce * Pt, at += Ce * Ut, st += ht * Ut;
11080
11080
  }
11081
11081
  var Ml = n(f(Te / Se, qe / Se, at / Se, st / Se), 2);
11082
- te[Y] = Ml[0] + Ml[1] * q, ae[Y] = Math.abs(j[Y] - te[Y]), _(P, Y + 1, $);
11082
+ te[Y] = Ml[0] + Ml[1] * q, ae[Y] = Math.abs(j[Y] - te[Y]), P(_, Y + 1, $);
11083
11083
  }
11084
11084
  if (se === y) break;
11085
11085
  var Ft = v(ae);
@@ -11087,7 +11087,7 @@ var bG = (e) => {
11087
11087
  for (var El = 0, kl, sv; El < ne; ++El)
11088
11088
  kl = ae[El] / (6 * Ft), ie[El] = kl >= 1 ? x : (sv = 1 - kl * kl) * sv;
11089
11089
  }
11090
- return A(P, te, X, ee);
11090
+ return A(_, te, X, ee);
11091
11091
  }
11092
11092
  return C.bandwidth = function(E) {
11093
11093
  return arguments.length ? (N = E, C) : N;
@@ -11100,28 +11100,28 @@ var bG = (e) => {
11100
11100
  function S(M) {
11101
11101
  return (M = 1 - M * M * M) * M * M;
11102
11102
  }
11103
- function _(M, L, N) {
11103
+ function P(M, L, N) {
11104
11104
  var C = M[L], E = N[0], k = N[1] + 1;
11105
11105
  if (!(k >= M.length))
11106
11106
  for (; L > E && M[k] - C <= C - M[E]; )
11107
11107
  N[0] = ++E, N[1] = k, ++k;
11108
11108
  }
11109
11109
  function A(M, L, N, C) {
11110
- for (var E = M.length, k = [], P = 0, j = 0, X = [], ee; P < E; ++P)
11111
- ee = M[P] + N, X[0] === ee ? X[1] += (L[P] - X[1]) / ++j : (j = 0, X[1] += C, X = [ee, L[P]], k.push(X));
11110
+ for (var E = M.length, k = [], _ = 0, j = 0, X = [], ee; _ < E; ++_)
11111
+ ee = M[_] + N, X[0] === ee ? X[1] += (L[_] - X[1]) / ++j : (j = 0, X[1] += C, X = [ee, L[_]], k.push(X));
11112
11112
  return X[1] += C, k;
11113
11113
  }
11114
11114
  function D() {
11115
- var M = function(P) {
11116
- return P[0];
11117
- }, L = function(P) {
11118
- return P[1];
11115
+ var M = function(_) {
11116
+ return _[0];
11117
+ }, L = function(_) {
11118
+ return _[1];
11119
11119
  }, N = Math.E, C;
11120
11120
  function E(k) {
11121
- var P = 0, j = 0, X = 0, ee = 0, ne = 0, oe = C ? +C[0] : 1 / 0, te = C ? +C[1] : -1 / 0, ae = Math.log(N);
11121
+ var _ = 0, j = 0, X = 0, ee = 0, ne = 0, oe = C ? +C[0] : 1 / 0, te = C ? +C[1] : -1 / 0, ae = Math.log(N);
11122
11122
  l(k, M, L, function(F, le) {
11123
11123
  var J = Math.log(F) / ae;
11124
- ++P, j += (J - j) / P, X += (le - X) / P, ee += (J * le - ee) / P, ne += (J * J - ne) / P, C || (F < oe && (oe = F), F > te && (te = F));
11124
+ ++_, j += (J - j) / _, X += (le - X) / _, ee += (J * le - ee) / _, ne += (J * J - ne) / _, C || (F < oe && (oe = F), F > te && (te = F));
11125
11125
  });
11126
11126
  var ie = n(f(j, X, ee, ne), 2), se = ie[0], $ = ie[1], Y = function(le) {
11127
11127
  return $ * Math.log(le) / ae + se;
@@ -11145,9 +11145,9 @@ var bG = (e) => {
11145
11145
  return k[1];
11146
11146
  }, N;
11147
11147
  function C(E) {
11148
- var k = n(s(E, M, L), 4), P = k[0], j = k[1], X = k[2], ee = k[3], ne = P.length, oe = 0, te = 0, ae = 0, ie = 0, se = 0, $, Y, q, F;
11148
+ var k = n(s(E, M, L), 4), _ = k[0], j = k[1], X = k[2], ee = k[3], ne = _.length, oe = 0, te = 0, ae = 0, ie = 0, se = 0, $, Y, q, F;
11149
11149
  for ($ = 0; $ < ne; )
11150
- Y = P[$], q = j[$++], F = Y * Y, oe += (F - oe) / $, te += (F * Y - te) / $, ae += (F * F - ae) / $, ie += (Y * q - ie) / $, se += (F * q - se) / $;
11150
+ Y = _[$], q = j[$++], F = Y * Y, oe += (F - oe) / $, te += (F * Y - te) / $, ae += (F * F - ae) / $, ie += (Y * q - ie) / $, se += (F * q - se) / $;
11151
11151
  var le = 0, J = 0, Se = N ? +N[0] : 1 / 0, Te = N ? +N[1] : -1 / 0;
11152
11152
  l(E, M, L, function(Pt, Ut) {
11153
11153
  J++, le += (Ut - le) / J, N || (Pt < Se && (Se = Pt), Pt > Te && (Te = Pt));
@@ -11166,15 +11166,15 @@ var bG = (e) => {
11166
11166
  }, C;
11167
11167
  }
11168
11168
  function T() {
11169
- var M = function(P) {
11170
- return P[0];
11171
- }, L = function(P) {
11172
- return P[1];
11169
+ var M = function(_) {
11170
+ return _[0];
11171
+ }, L = function(_) {
11172
+ return _[1];
11173
11173
  }, N = 3, C;
11174
11174
  function E(k) {
11175
11175
  if (N === 1) {
11176
- var P = p().x(M).y(L).domain(C)(k);
11177
- return P.coefficients = [P.b, P.a], delete P.a, delete P.b, P;
11176
+ var _ = p().x(M).y(L).domain(C)(k);
11177
+ return _.coefficients = [_.b, _.a], delete _.a, delete _.b, _;
11178
11178
  }
11179
11179
  if (N === 2) {
11180
11180
  var j = b().x(M).y(L).domain(C)(k);
@@ -11217,19 +11217,19 @@ var bG = (e) => {
11217
11217
  }, E;
11218
11218
  }
11219
11219
  function R(M, L, N, C) {
11220
- var E = Array(M), k, P, j, X;
11220
+ var E = Array(M), k, _, j, X;
11221
11221
  for (k = 0; k < M; ++k) E[k] = 0;
11222
11222
  for (k = M - 1; k >= 0; --k)
11223
- for (j = L[k], X = 1, E[k] += j, P = 1; P <= k; ++P)
11224
- X *= (k + 1 - P) / P, E[k - P] += j * Math.pow(N, P) * X;
11223
+ for (j = L[k], X = 1, E[k] += j, _ = 1; _ <= k; ++_)
11224
+ X *= (k + 1 - _) / _, E[k - _] += j * Math.pow(N, _) * X;
11225
11225
  return E[0] += C, E;
11226
11226
  }
11227
11227
  function I(M) {
11228
- var L = M.length - 1, N = [], C, E, k, P, j;
11228
+ var L = M.length - 1, N = [], C, E, k, _, j;
11229
11229
  for (C = 0; C < L; ++C) {
11230
- for (P = C, E = C + 1; E < L; ++E) Math.abs(M[C][E]) > Math.abs(M[C][P]) && (P = E);
11230
+ for (_ = C, E = C + 1; E < L; ++E) Math.abs(M[C][E]) > Math.abs(M[C][_]) && (_ = E);
11231
11231
  for (k = C; k < L + 1; ++k)
11232
- j = M[k][C], M[k][C] = M[k][P], M[k][P] = j;
11232
+ j = M[k][C], M[k][C] = M[k][_], M[k][_] = j;
11233
11233
  for (E = C + 1; E < L; ++E) for (k = L; k >= C; k--) M[k][E] -= M[k][C] * M[C][E] / M[C][C];
11234
11234
  }
11235
11235
  for (E = L - 1; E >= 0; --E) {
@@ -11245,12 +11245,12 @@ var bG = (e) => {
11245
11245
  return k[1];
11246
11246
  }, N;
11247
11247
  function C(E) {
11248
- var k = 0, P = 0, j = 0, X = 0, ee = 0, ne = 0, oe = N ? +N[0] : 1 / 0, te = N ? +N[1] : -1 / 0;
11248
+ var k = 0, _ = 0, j = 0, X = 0, ee = 0, ne = 0, oe = N ? +N[0] : 1 / 0, te = N ? +N[1] : -1 / 0;
11249
11249
  l(E, M, L, function(q, F) {
11250
11250
  var le = Math.log(q), J = Math.log(F);
11251
- ++k, P += (le - P) / k, j += (J - j) / k, X += (le * J - X) / k, ee += (le * le - ee) / k, ne += (F - ne) / k, N || (q < oe && (oe = q), q > te && (te = q));
11251
+ ++k, _ += (le - _) / k, j += (J - j) / k, X += (le * J - X) / k, ee += (le * le - ee) / k, ne += (F - ne) / k, N || (q < oe && (oe = q), q > te && (te = q));
11252
11252
  });
11253
- var ae = n(f(P, j, X, ee), 2), ie = ae[0], se = ae[1];
11253
+ var ae = n(f(_, j, X, ee), 2), ie = ae[0], se = ae[1];
11254
11254
  ie = Math.exp(ie);
11255
11255
  var $ = function(F) {
11256
11256
  return ie * Math.pow(F, se);
@@ -12434,7 +12434,7 @@ function tM(e) {
12434
12434
  };
12435
12435
  };
12436
12436
  }
12437
- var npe = tM(R$), ipe = tM(L$);
12437
+ var ope = tM(R$), ape = tM(L$);
12438
12438
  function N$(e, t) {
12439
12439
  t || (t = []);
12440
12440
  var r = e ? Math.min(t.length, e.length) : 0, n = t.slice(), i;
@@ -12515,7 +12515,7 @@ function rM(e) {
12515
12515
  };
12516
12516
  };
12517
12517
  }
12518
- var U$ = rM(eM), ope = rM(Gt);
12518
+ var U$ = rM(eM), spe = rM(Gt);
12519
12519
  function z$(e, t) {
12520
12520
  var r = Gt((e = nf(e)).l, (t = nf(t)).l), n = Gt(e.a, t.a), i = Gt(e.b, t.b), o = Gt(e.opacity, t.opacity);
12521
12521
  return function(a) {
@@ -12530,7 +12530,7 @@ function nM(e) {
12530
12530
  };
12531
12531
  };
12532
12532
  }
12533
- var Y$ = nM(eM), ape = nM(Gt);
12533
+ var Y$ = nM(eM), lpe = nM(Gt);
12534
12534
  function K$(e, t) {
12535
12535
  t === void 0 && (t = e, e = Bu);
12536
12536
  for (var r = 0, n = t.length - 1, i = t[0], o = new Array(n < 0 ? 0 : n); r < n; ) o[r] = e(i, i = t[++r]);
@@ -12728,18 +12728,18 @@ function a4(e) {
12728
12728
  var t = e.grouping === void 0 || e.thousands === void 0 ? l0 : t4(c0.call(e.grouping, Number), e.thousands + ""), r = e.currency === void 0 ? "" : e.currency[0] + "", n = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", o = e.numerals === void 0 ? l0 : r4(c0.call(e.numerals, String)), a = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
12729
12729
  function c(d) {
12730
12730
  d = ks(d);
12731
- var h = d.fill, f = d.align, m = d.sign, p = d.symbol, v = d.zero, y = d.width, x = d.comma, w = d.precision, S = d.trim, _ = d.type;
12732
- _ === "n" ? (x = !0, _ = "g") : s0[_] || (w === void 0 && (w = 12), S = !0, _ = "g"), (v || h === "0" && f === "=") && (v = !0, h = "0", f = "=");
12733
- var A = p === "$" ? r : p === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", D = p === "$" ? n : /[%p]/.test(_) ? a : "", b = s0[_], T = /[defgprs%]/.test(_);
12734
- w = w === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, w)) : Math.max(0, Math.min(20, w));
12731
+ var h = d.fill, f = d.align, m = d.sign, p = d.symbol, v = d.zero, y = d.width, x = d.comma, w = d.precision, S = d.trim, P = d.type;
12732
+ P === "n" ? (x = !0, P = "g") : s0[P] || (w === void 0 && (w = 12), S = !0, P = "g"), (v || h === "0" && f === "=") && (v = !0, h = "0", f = "=");
12733
+ var A = p === "$" ? r : p === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : "", D = p === "$" ? n : /[%p]/.test(P) ? a : "", b = s0[P], T = /[defgprs%]/.test(P);
12734
+ w = w === void 0 ? 6 : /[gprs]/.test(P) ? Math.max(1, Math.min(21, w)) : Math.max(0, Math.min(20, w));
12735
12735
  function R(I) {
12736
12736
  var V = A, M = D, L, N, C;
12737
- if (_ === "c")
12737
+ if (P === "c")
12738
12738
  M = b(I) + M, I = "";
12739
12739
  else {
12740
12740
  I = +I;
12741
12741
  var E = I < 0 || 1 / I < 0;
12742
- if (I = isNaN(I) ? l : b(Math.abs(I), w), S && (I = i4(I)), E && +I == 0 && m !== "+" && (E = !1), V = (E ? m === "(" ? m : s : m === "-" || m === "(" ? "" : m) + V, M = (_ === "s" ? u0[8 + oM / 3] : "") + M + (E && m === "(" ? ")" : ""), T) {
12742
+ if (I = isNaN(I) ? l : b(Math.abs(I), w), S && (I = i4(I)), E && +I == 0 && m !== "+" && (E = !1), V = (E ? m === "(" ? m : s : m === "-" || m === "(" ? "" : m) + V, M = (P === "s" ? u0[8 + oM / 3] : "") + M + (E && m === "(" ? ")" : ""), T) {
12743
12743
  for (L = -1, N = I.length; ++L < N; ) if (C = I.charCodeAt(L), 48 > C || C > 57) {
12744
12744
  M = (C === 46 ? i + I.slice(L + 1) : I.slice(L)) + M, I = I.slice(0, L);
12745
12745
  break;
@@ -12747,19 +12747,19 @@ function a4(e) {
12747
12747
  }
12748
12748
  }
12749
12749
  x && !v && (I = t(I, 1 / 0));
12750
- var k = V.length + I.length + M.length, P = k < y ? new Array(y - k + 1).join(h) : "";
12751
- switch (x && v && (I = t(P + I, P.length ? y - M.length : 1 / 0), P = ""), f) {
12750
+ var k = V.length + I.length + M.length, _ = k < y ? new Array(y - k + 1).join(h) : "";
12751
+ switch (x && v && (I = t(_ + I, _.length ? y - M.length : 1 / 0), _ = ""), f) {
12752
12752
  case "<":
12753
- I = V + I + M + P;
12753
+ I = V + I + M + _;
12754
12754
  break;
12755
12755
  case "=":
12756
- I = V + P + I + M;
12756
+ I = V + _ + I + M;
12757
12757
  break;
12758
12758
  case "^":
12759
- I = P.slice(0, k = P.length >> 1) + V + I + M + P.slice(k);
12759
+ I = _.slice(0, k = _.length >> 1) + V + I + M + _.slice(k);
12760
12760
  break;
12761
12761
  default:
12762
- I = P + V + I + M;
12762
+ I = _ + V + I + M;
12763
12763
  break;
12764
12764
  }
12765
12765
  return o(I);
@@ -12983,7 +12983,7 @@ function A4(e) {
12983
12983
  var t = e.dateTime, r = e.date, n = e.time, i = e.periods, o = e.days, a = e.shortDays, s = e.months, l = e.shortMonths, c = Oa(i), u = Na(i), d = Oa(o), h = Na(o), f = Oa(a), m = Na(a), p = Oa(s), v = Na(s), y = Oa(l), x = Na(l), w = {
12984
12984
  a: E,
12985
12985
  A: k,
12986
- b: P,
12986
+ b: _,
12987
12987
  B: j,
12988
12988
  c: null,
12989
12989
  d: x0,
@@ -13046,7 +13046,7 @@ function A4(e) {
13046
13046
  Y: bW,
13047
13047
  Z: wW,
13048
13048
  "%": A0
13049
- }, _ = {
13049
+ }, P = {
13050
13050
  a: R,
13051
13051
  A: I,
13052
13052
  b: V,
@@ -13105,7 +13105,7 @@ function A4(e) {
13105
13105
  for (var le = 0, J = Y.length, Se = q.length, Te, qe; le < J; ) {
13106
13106
  if (F >= Se) return -1;
13107
13107
  if (Te = Y.charCodeAt(le++), Te === 37) {
13108
- if (Te = Y.charAt(le++), qe = _[Te in p0 ? Y.charAt(le++) : Te], !qe || (F = qe($, q, F)) < 0) return -1;
13108
+ if (Te = Y.charAt(le++), qe = P[Te in p0 ? Y.charAt(le++) : Te], !qe || (F = qe($, q, F)) < 0) return -1;
13109
13109
  } else if (Te != q.charCodeAt(F++)) return -1;
13110
13110
  }
13111
13111
  return F;
@@ -13145,7 +13145,7 @@ function A4(e) {
13145
13145
  function k($) {
13146
13146
  return o[$.getDay()];
13147
13147
  }
13148
- function P($) {
13148
+ function _($) {
13149
13149
  return l[$.getMonth()];
13150
13150
  }
13151
13151
  function j($) {
@@ -13500,7 +13500,7 @@ function kW(e) {
13500
13500
  }
13501
13501
  function gM(e, t, r, n, i, o, a, s, l, c) {
13502
13502
  var u = iM(), d = u.invert, h = u.domain, f = c(".%L"), m = c(":%S"), p = c("%I:%M"), v = c("%I %p"), y = c("%a %d"), x = c("%b %d"), w = c("%B"), S = c("%Y");
13503
- function _(A) {
13503
+ function P(A) {
13504
13504
  return (l(A) < A ? f : s(A) < A ? m : a(A) < A ? p : o(A) < A ? v : n(A) < A ? i(A) < A ? y : x : r(A) < A ? w : S)(A);
13505
13505
  }
13506
13506
  return u.invert = function(A) {
@@ -13511,7 +13511,7 @@ function gM(e, t, r, n, i, o, a, s, l, c) {
13511
13511
  var D = h();
13512
13512
  return e(D[0], D[D.length - 1], A ?? 10);
13513
13513
  }, u.tickFormat = function(A, D) {
13514
- return D == null ? _ : c(D);
13514
+ return D == null ? P : c(D);
13515
13515
  }, u.nice = function(A) {
13516
13516
  var D = h();
13517
13517
  return (!A || typeof A.range != "function") && (A = t(D[0], D[D.length - 1], A ?? 10)), A ? h(lM(D, A)) : u;
@@ -15403,7 +15403,7 @@ function dp(e) {
15403
15403
  declarations: i
15404
15404
  }), t);
15405
15405
  }
15406
- var lr = (e) => Object.keys(e.children ?? {}), yj = lr(Pe.dataLabel), spe = lr(Pe.panelBorder), lpe = lr(Pe.tooltip), cpe = lr(Pe.source), upe = lr(Pe.heading), dpe = lr(Pe.editOutline), hpe = lr(Pe.legendItem), fpe = lr(Pe.annotation), mpe = {
15406
+ var lr = (e) => Object.keys(e.children ?? {}), yj = lr(Pe.dataLabel), cpe = lr(Pe.panelBorder), upe = lr(Pe.tooltip), dpe = lr(Pe.source), hpe = lr(Pe.heading), fpe = lr(Pe.editOutline), mpe = lr(Pe.legendItem), ppe = lr(Pe.annotation), gpe = {
15407
15407
  arrow: lr(Pe.annotation.children.arrow),
15408
15408
  differenceArrow: lr(Pe.annotation.children.differenceArrow),
15409
15409
  pinnedNumber: lr(Pe.annotation.children.pinnedNumber),
@@ -15415,7 +15415,7 @@ var lr = (e) => Object.keys(e.children ?? {}), yj = lr(Pe.dataLabel), spe = lr(P
15415
15415
  for (const s of Object.values(o.children ?? {})) i(s);
15416
15416
  };
15417
15417
  return i(e), r;
15418
- }, bj = hp(Pe.dataLabel, "position"), ppe = hp(Pe.headlineItem, "part"), gpe = hp(Pe.legend, "part");
15418
+ }, bj = hp(Pe.dataLabel, "position"), vpe = hp(Pe.headlineItem, "part"), ype = hp(Pe.legend, "part");
15419
15419
  function xj(e) {
15420
15420
  return new Set(e.options ?? []);
15421
15421
  }
@@ -15529,13 +15529,13 @@ var Sj = class extends eo {
15529
15529
  return;
15530
15530
  }
15531
15531
  if (m.status === "unknown-partition") {
15532
- const { key: S, value: _, node: A } = m, D = df(A, S);
15532
+ const { key: S, value: P, node: A } = m, D = df(A, S);
15533
15533
  i.push({
15534
15534
  code: "INVALID_STYLE_RULE",
15535
- message: `Style ${u} addresses unknown ${S} '${_}'.`,
15535
+ message: `Style ${u} addresses unknown ${S} '${P}'.`,
15536
15536
  context: {
15537
15537
  param: S,
15538
- actual: _,
15538
+ actual: P,
15539
15539
  ...h
15540
15540
  },
15541
15541
  suggestion: D.length === 0 ? `Remove '${S}' — this target has none.` : `Set '${S}' to one of ${D.map((b) => `'${b}'`).join(", ")}, or omit it.`
@@ -15552,7 +15552,7 @@ var Sj = class extends eo {
15552
15552
  actual: String(l.select.part),
15553
15553
  ...h
15554
15554
  },
15555
- suggestion: `Set 'part' to one of ${S.map((_) => `'${_}'`).join(", ")}.`
15555
+ suggestion: `Set 'part' to one of ${S.map((P) => `'${P}'`).join(", ")}.`
15556
15556
  });
15557
15557
  return;
15558
15558
  }
@@ -15654,8 +15654,8 @@ var Sj = class extends eo {
15654
15654
  if (!el(x) || !FM(x.select, a)) return;
15655
15655
  const S = x.select.kind;
15656
15656
  if (S !== void 0 && S !== t.geom || x.select.layer !== void 0 && x.select.layer !== t.id) return;
15657
- const _ = Cs(v, p, w);
15658
- if (HM(x, _, h) !== void 0) return;
15657
+ const P = Cs(v, p, w);
15658
+ if (HM(x, P, h) !== void 0) return;
15659
15659
  const A = x.when?.state;
15660
15660
  if (A !== void 0 && !VM(A)) return;
15661
15661
  const D = x.id === void 0 ? {} : { styleEntryId: x.id }, b = v === "theme" ? hf(x, w) : {
@@ -15669,7 +15669,7 @@ var Sj = class extends eo {
15669
15669
  for (const M of V) u.push({
15670
15670
  ...M,
15671
15671
  code: "INVALID_STYLE_RULE",
15672
- message: `Style ${_}: ${M.message}`,
15672
+ message: `Style ${P}: ${M.message}`,
15673
15673
  context: {
15674
15674
  ...M.context,
15675
15675
  layerIndex: r,
@@ -15685,13 +15685,13 @@ var Sj = class extends eo {
15685
15685
  layerGeom: t.geom,
15686
15686
  styleTarget: o,
15687
15687
  tokens: d,
15688
- location: _,
15688
+ location: P,
15689
15689
  origin: b,
15690
15690
  warnings: u
15691
15691
  });
15692
15692
  if (A === "dimmed" && R.overlay !== void 0 && (u.push({
15693
15693
  code: "INVALID_STYLE_RULE",
15694
- message: `Style ${_}: 'overlay' is not supported in the 'dimmed' state; the declaration is ignored.`,
15694
+ message: `Style ${P}: 'overlay' is not supported in the 'dimmed' state; the declaration is ignored.`,
15695
15695
  context: {
15696
15696
  param: "overlay",
15697
15697
  layerIndex: r,
@@ -15700,7 +15700,7 @@ var Sj = class extends eo {
15700
15700
  suggestion: "Declare 'overlay' without a state or in the 'hovered' state."
15701
15701
  }), delete R.overlay), A === void 0 && T !== void 0 && R.overlay !== void 0 && u.push({
15702
15702
  code: "INVALID_STYLE_RULE",
15703
- message: `Style ${_}: 'overlay' uses the first observation to evaluate 'where' for the whole layer.`,
15703
+ message: `Style ${P}: 'overlay' uses the first observation to evaluate 'where' for the whole layer.`,
15704
15704
  context: {
15705
15705
  param: "overlay",
15706
15706
  layerIndex: r,
@@ -16789,7 +16789,7 @@ function CU(e) {
16789
16789
  options: e
16790
16790
  };
16791
16791
  }
16792
- var vpe = jM().style;
16792
+ var bpe = jM().style;
16793
16793
  function jM(e) {
16794
16794
  const t = e?.plugins ?? [], r = LU(t);
16795
16795
  return {
@@ -17523,8 +17523,8 @@ var Tt = { timeZone: "UTC" }, bt = (e) => (t) => {
17523
17523
  E = "", M = "";
17524
17524
  else if (C) {
17525
17525
  E = "";
17526
- for (var P = 0; P < k.length; P++) {
17527
- var j = k[P];
17526
+ for (var _ = 0; _ < k.length; _++) {
17527
+ var j = k[_];
17528
17528
  j === "." ? E += N : E += C[j];
17529
17529
  }
17530
17530
  } else E = k.replace(".", N);
@@ -17541,9 +17541,9 @@ var Tt = { timeZone: "UTC" }, bt = (e) => (t) => {
17541
17541
  V = I === L.length - 1 ? M / k : Math.floor(M / k), E[R] = V, M -= V * k;
17542
17542
  }
17543
17543
  if (T.round) {
17544
- var P = C;
17544
+ var _ = C;
17545
17545
  for (I = 0; I < L.length; I++)
17546
- if (R = L[I], V = E[R], V !== 0 && (P--, P === 0)) {
17546
+ if (R = L[I], V = E[R], V !== 0 && (_--, _ === 0)) {
17547
17547
  for (var j = I + 1; j < L.length; j++) {
17548
17548
  var X = L[j], ee = E[X];
17549
17549
  E[R] += ee * N[X] / N[R], E[X] = 0;
@@ -17568,7 +17568,7 @@ var Tt = { timeZone: "UTC" }, bt = (e) => (t) => {
17568
17568
  });
17569
17569
  return ie;
17570
17570
  }
17571
- function _(b, T) {
17571
+ function P(b, T) {
17572
17572
  var R = x(T);
17573
17573
  if (!b.length) {
17574
17574
  var I = T.units, V = I[I.length - 1];
@@ -17586,7 +17586,7 @@ var Tt = { timeZone: "UTC" }, bt = (e) => (t) => {
17586
17586
  var T = function(I, V) {
17587
17587
  I = Math.abs(I);
17588
17588
  var M = r({}, T, V || {});
17589
- return _(S(I, M), M);
17589
+ return P(S(I, M), M);
17590
17590
  };
17591
17591
  return r(T, {
17592
17592
  language: "en",
@@ -19478,7 +19478,7 @@ var gf = [
19478
19478
  }
19479
19479
  return t;
19480
19480
  };
19481
- function ype(e) {
19481
+ function xpe(e) {
19482
19482
  return e;
19483
19483
  }
19484
19484
  function Tr(e) {
@@ -20208,7 +20208,7 @@ function Qe(e) {
20208
20208
  };
20209
20209
  }
20210
20210
  var EE = Math.cos, Vc = Math.sin, Rr = Math.sqrt;
20211
- var Is = Math.PI, bpe = Is / 2, Wu = 2 * Is, bf = Math.PI, xf = 2 * bf, yi = 1e-6, F7 = xf - yi;
20211
+ var Is = Math.PI, wpe = Is / 2, Wu = 2 * Is, bf = Math.PI, xf = 2 * bf, yi = 1e-6, F7 = xf - yi;
20212
20212
  function kE(e) {
20213
20213
  this._ += e[0];
20214
20214
  for (let t = 1, r = e.length; t < r; ++t) this._ += arguments[t] + e[t];
@@ -20281,7 +20281,7 @@ function Lp(e) {
20281
20281
  return e;
20282
20282
  }, () => new Rp(t);
20283
20283
  }
20284
- var xpe = Array.prototype.slice;
20284
+ var Ape = Array.prototype.slice;
20285
20285
  function PE(e) {
20286
20286
  return typeof e == "object" && "length" in e ? e : Array.from(e);
20287
20287
  }
@@ -20475,7 +20475,7 @@ Np.prototype = {
20475
20475
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
20476
20476
  }
20477
20477
  };
20478
- var wpe = (function e(t) {
20478
+ var Spe = (function e(t) {
20479
20479
  function r(n) {
20480
20480
  return new Np(n, t);
20481
20481
  }
@@ -20871,7 +20871,7 @@ var eY = (function e(t) {
20871
20871
  const o = er(i) ?? "default", a = n(i);
20872
20872
  return `${r}-${o}${a !== null && a !== "" ? `-${a}` : ""}`;
20873
20873
  };
20874
- }, Ape = (e, t, r) => {
20874
+ }, Tpe = (e, t, r) => {
20875
20875
  const n = zs(e, t);
20876
20876
  return (i) => {
20877
20877
  const o = n(i);
@@ -21343,7 +21343,7 @@ function YY(e, t, r) {
21343
21343
  if (!a || !s) return [];
21344
21344
  const l = t === "y", c = i === "spanned-buckets", u = Bt(o), d = l ? s : a, h = Va(n, l ? O.yBand : O.xBand) ?? d, f = l ? a : s, m = Va(n, l ? O.xMin : O.yMin), p = Va(n, l ? O.xMax : O.yMax), v = n.hasVariable(we.group) ? n.getValues(we.group, { type: "categorical" }) : null, y = c ? null : new XY(qY(e)), x = /* @__PURE__ */ new Map(), w = [];
21345
21345
  let S = -1;
21346
- for (const _ of n) {
21346
+ for (const P of n) {
21347
21347
  S += 1;
21348
21348
  const A = v?.[S] ?? null, D = QY(x, A), b = h[S], T = m?.[S], R = p?.[S], I = KY(f[S], T, R, u);
21349
21349
  if (!H(b) || I === null) {
@@ -21365,7 +21365,7 @@ function YY(e, t, r) {
21365
21365
  ...c && { extent: ZY(I, T, R) },
21366
21366
  previousAt: Mb,
21367
21367
  nextAt: Mb,
21368
- observation: _
21368
+ observation: P
21369
21369
  };
21370
21370
  y?.append(A, {
21371
21371
  entry: M,
@@ -21500,16 +21500,16 @@ function z(e) {
21500
21500
  }
21501
21501
  var n9 = (3 + 16 * Re) * Re, i9 = (2 + 12 * Re) * Re, o9 = (9 + 64 * Re) * Re * Re, vo = z(4), Eb = z(8), kb = z(12), Pb = z(16), _t = z(4);
21502
21502
  function a9(e, t, r, n, i, o, a) {
21503
- let s, l, c, u, d, h, f, m, p, v, y, x, w, S, _, A, D, b;
21503
+ let s, l, c, u, d, h, f, m, p, v, y, x, w, S, P, A, D, b;
21504
21504
  const T = e - i, R = r - i, I = t - o, V = n - o;
21505
- S = T * V, h = xt * T, f = h - (h - T), m = T - f, h = xt * V, p = h - (h - V), v = V - p, _ = m * v - (S - f * p - m * p - f * v), A = I * R, h = xt * I, f = h - (h - I), m = I - f, h = xt * R, p = h - (h - R), v = R - p, D = m * v - (A - f * p - m * p - f * v), y = _ - D, d = _ - y, vo[0] = _ - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, vo[1] = w - (y + d) + (d - A), b = x + y, d = b - x, vo[2] = x - (b - d) + (y - d), vo[3] = b;
21505
+ S = T * V, h = xt * T, f = h - (h - T), m = T - f, h = xt * V, p = h - (h - V), v = V - p, P = m * v - (S - f * p - m * p - f * v), A = I * R, h = xt * I, f = h - (h - I), m = I - f, h = xt * R, p = h - (h - R), v = R - p, D = m * v - (A - f * p - m * p - f * v), y = P - D, d = P - y, vo[0] = P - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, vo[1] = w - (y + d) + (d - A), b = x + y, d = b - x, vo[2] = x - (b - d) + (y - d), vo[3] = b;
21506
21506
  let M = r9(4, vo), L = i9 * a;
21507
21507
  if (M >= L || -M >= L || (d = e - T, s = e - (T + d) + (d - i), d = r - R, c = r - (R + d) + (d - i), d = t - I, l = t - (I + d) + (d - o), d = n - V, u = n - (V + d) + (d - o), s === 0 && l === 0 && c === 0 && u === 0) || (L = o9 * a + t9 * Math.abs(M), M += T * u + V * s - (I * c + R * l), M >= L || -M >= L)) return M;
21508
- S = s * V, h = xt * s, f = h - (h - s), m = s - f, h = xt * V, p = h - (h - V), v = V - p, _ = m * v - (S - f * p - m * p - f * v), A = l * R, h = xt * l, f = h - (h - l), m = l - f, h = xt * R, p = h - (h - R), v = R - p, D = m * v - (A - f * p - m * p - f * v), y = _ - D, d = _ - y, _t[0] = _ - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21508
+ S = s * V, h = xt * s, f = h - (h - s), m = s - f, h = xt * V, p = h - (h - V), v = V - p, P = m * v - (S - f * p - m * p - f * v), A = l * R, h = xt * l, f = h - (h - l), m = l - f, h = xt * R, p = h - (h - R), v = R - p, D = m * v - (A - f * p - m * p - f * v), y = P - D, d = P - y, _t[0] = P - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21509
21509
  const N = th(4, vo, 4, _t, Eb);
21510
- S = T * u, h = xt * T, f = h - (h - T), m = T - f, h = xt * u, p = h - (h - u), v = u - p, _ = m * v - (S - f * p - m * p - f * v), A = I * c, h = xt * I, f = h - (h - I), m = I - f, h = xt * c, p = h - (h - c), v = c - p, D = m * v - (A - f * p - m * p - f * v), y = _ - D, d = _ - y, _t[0] = _ - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21510
+ S = T * u, h = xt * T, f = h - (h - T), m = T - f, h = xt * u, p = h - (h - u), v = u - p, P = m * v - (S - f * p - m * p - f * v), A = I * c, h = xt * I, f = h - (h - I), m = I - f, h = xt * c, p = h - (h - c), v = c - p, D = m * v - (A - f * p - m * p - f * v), y = P - D, d = P - y, _t[0] = P - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21511
21511
  const C = th(N, Eb, 4, _t, kb);
21512
- S = s * u, h = xt * s, f = h - (h - s), m = s - f, h = xt * u, p = h - (h - u), v = u - p, _ = m * v - (S - f * p - m * p - f * v), A = l * c, h = xt * l, f = h - (h - l), m = l - f, h = xt * c, p = h - (h - c), v = c - p, D = m * v - (A - f * p - m * p - f * v), y = _ - D, d = _ - y, _t[0] = _ - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21512
+ S = s * u, h = xt * s, f = h - (h - s), m = s - f, h = xt * u, p = h - (h - u), v = u - p, P = m * v - (S - f * p - m * p - f * v), A = l * c, h = xt * l, f = h - (h - l), m = l - f, h = xt * c, p = h - (h - c), v = c - p, D = m * v - (A - f * p - m * p - f * v), y = P - D, d = P - y, _t[0] = P - (y + d) + (d - D), x = S + y, d = x - S, w = S - (x - d) + (y - d), y = w - A, d = w - y, _t[1] = w - (y + d) + (d - A), b = x + y, d = b - x, _t[2] = x - (b - d) + (y - d), _t[3] = b;
21513
21513
  const E = th(C, kb, 4, _t, Pb);
21514
21514
  return Pb[E - 1];
21515
21515
  }
@@ -21517,7 +21517,7 @@ function Wl(e, t, r, n, i, o) {
21517
21517
  const a = (t - o) * (r - i), s = (e - i) * (n - o), l = a - s, c = Math.abs(a + s);
21518
21518
  return Math.abs(l) >= n9 * c ? l : -a9(e, t, r, n, i, o, c);
21519
21519
  }
21520
- var Spe = (7 + 56 * Re) * Re, Tpe = (3 + 28 * Re) * Re, Mpe = (26 + 288 * Re) * Re * Re, Epe = z(4), kpe = z(4), Ppe = z(4), _pe = z(4), Cpe = z(4), Ipe = z(4), Rpe = z(4), Lpe = z(4), Dpe = z(4), Ope = z(8), Npe = z(8), Bpe = z(8), Vpe = z(4), Fpe = z(8), Hpe = z(8), Gpe = z(16), $pe = z(12), Wpe = z(192), jpe = z(192), Upe = (10 + 96 * Re) * Re, zpe = (4 + 48 * Re) * Re, Ype = (44 + 576 * Re) * Re * Re, Kpe = z(4), Xpe = z(4), qpe = z(4), Qpe = z(4), Jpe = z(4), Zpe = z(4), ege = z(4), tge = z(4), rge = z(8), nge = z(8), ige = z(8), oge = z(8), age = z(8), sge = z(8), lge = z(8), cge = z(8), uge = z(8), dge = z(4), hge = z(4), fge = z(4), mge = z(8), pge = z(16), gge = z(16), vge = z(16), yge = z(32), bge = z(32), xge = z(48), wge = z(64), Age = z(1152), Sge = z(1152), Tge = (16 + 224 * Re) * Re, Mge = (5 + 72 * Re) * Re, Ege = (71 + 1408 * Re) * Re * Re, kge = z(4), Pge = z(4), _ge = z(4), Cge = z(4), Ige = z(4), Rge = z(4), Lge = z(4), Dge = z(4), Oge = z(4), Nge = z(4), Bge = z(24), Vge = z(24), Fge = z(24), Hge = z(24), Gge = z(24), $ge = z(24), Wge = z(24), jge = z(24), Uge = z(24), zge = z(24), Yge = z(1152), Kge = z(1152), Xge = z(1152), qge = z(1152), Qge = z(1152), Jge = z(2304), Zge = z(2304), eve = z(3456), tve = z(5760), rve = z(8), nve = z(8), ive = z(8), ove = z(16), ave = z(24), sve = z(48), lve = z(48), cve = z(96), uve = z(192), dve = z(384), hve = z(384), fve = z(384), mve = z(768), pve = z(96), gve = z(96), vve = z(96), yve = z(1152), _b = Math.pow(2, -52), jl = /* @__PURE__ */ new Uint32Array(512), Cb = class ik {
21520
+ var Mpe = (7 + 56 * Re) * Re, Epe = (3 + 28 * Re) * Re, kpe = (26 + 288 * Re) * Re * Re, Ppe = z(4), _pe = z(4), Cpe = z(4), Ipe = z(4), Rpe = z(4), Lpe = z(4), Dpe = z(4), Ope = z(4), Npe = z(4), Bpe = z(8), Vpe = z(8), Fpe = z(8), Hpe = z(4), Gpe = z(8), $pe = z(8), Wpe = z(16), jpe = z(12), Upe = z(192), zpe = z(192), Ype = (10 + 96 * Re) * Re, Kpe = (4 + 48 * Re) * Re, Xpe = (44 + 576 * Re) * Re * Re, qpe = z(4), Qpe = z(4), Jpe = z(4), Zpe = z(4), ege = z(4), tge = z(4), rge = z(4), nge = z(4), ige = z(8), oge = z(8), age = z(8), sge = z(8), lge = z(8), cge = z(8), uge = z(8), dge = z(8), hge = z(8), fge = z(4), mge = z(4), pge = z(4), gge = z(8), vge = z(16), yge = z(16), bge = z(16), xge = z(32), wge = z(32), Age = z(48), Sge = z(64), Tge = z(1152), Mge = z(1152), Ege = (16 + 224 * Re) * Re, kge = (5 + 72 * Re) * Re, Pge = (71 + 1408 * Re) * Re * Re, _ge = z(4), Cge = z(4), Ige = z(4), Rge = z(4), Lge = z(4), Dge = z(4), Oge = z(4), Nge = z(4), Bge = z(4), Vge = z(4), Fge = z(24), Hge = z(24), Gge = z(24), $ge = z(24), Wge = z(24), jge = z(24), Uge = z(24), zge = z(24), Yge = z(24), Kge = z(24), Xge = z(1152), qge = z(1152), Qge = z(1152), Jge = z(1152), Zge = z(1152), eve = z(2304), tve = z(2304), rve = z(3456), nve = z(5760), ive = z(8), ove = z(8), ave = z(8), sve = z(16), lve = z(24), cve = z(48), uve = z(48), dve = z(96), hve = z(192), fve = z(384), mve = z(384), pve = z(384), gve = z(768), vve = z(96), yve = z(96), bve = z(96), xve = z(1152), _b = Math.pow(2, -52), jl = /* @__PURE__ */ new Uint32Array(512), Cb = class ik {
21521
21521
  static from(t, r = d9, n = h9) {
21522
21522
  const i = t.length, o = new Float64Array(i * 2);
21523
21523
  for (let a = 0; a < i; a++) {
@@ -21558,7 +21558,7 @@ var Spe = (7 + 56 * Re) * Re, Tpe = (3 + 28 * Re) * Re, Mpe = (26 + 288 * Re) *
21558
21558
  const R = c9(v, y, x, w, t[2 * T], t[2 * T + 1]);
21559
21559
  R < S && (p = T, S = R);
21560
21560
  }
21561
- let _ = t[2 * p], A = t[2 * p + 1];
21561
+ let P = t[2 * p], A = t[2 * p + 1];
21562
21562
  if (S === 1 / 0) {
21563
21563
  for (let I = 0; I < a; I++) this._dists[I] = t[2 * I] - t[0] || t[2 * I + 1] - t[1];
21564
21564
  ko(this._ids, this._dists, 0, a - 1);
@@ -21571,16 +21571,16 @@ var Spe = (7 + 56 * Re) * Re, Tpe = (3 + 28 * Re) * Re, Mpe = (26 + 288 * Re) *
21571
21571
  this.hull = T.subarray(0, R), this.triangles = /* @__PURE__ */ new Uint32Array(0), this.halfedges = /* @__PURE__ */ new Int32Array(0);
21572
21572
  return;
21573
21573
  }
21574
- if (Wl(v, y, x, w, _, A) < 0) {
21574
+ if (Wl(v, y, x, w, P, A) < 0) {
21575
21575
  const T = m, R = x, I = w;
21576
- m = p, x = _, w = A, p = T, _ = R, A = I;
21576
+ m = p, x = P, w = A, p = T, P = R, A = I;
21577
21577
  }
21578
- const D = u9(v, y, x, w, _, A);
21578
+ const D = u9(v, y, x, w, P, A);
21579
21579
  this._cx = D.x, this._cy = D.y;
21580
21580
  for (let T = 0; T < a; T++) this._dists[T] = rh(t[2 * T], t[2 * T + 1], D.x, D.y);
21581
21581
  ko(this._ids, this._dists, 0, a - 1), this._hullStart = f;
21582
21582
  let b = 3;
21583
- n[f] = r[p] = m, n[m] = r[f] = p, n[p] = r[m] = f, i[f] = 0, i[m] = 1, i[p] = 2, o.fill(-1), o[this._hashKey(v, y)] = f, o[this._hashKey(x, w)] = m, o[this._hashKey(_, A)] = p, this.trianglesLen = 0, this._addTriangle(f, m, p, -1, -1, -1);
21583
+ n[f] = r[p] = m, n[m] = r[f] = p, n[p] = r[m] = f, i[f] = 0, i[m] = 1, i[p] = 2, o.fill(-1), o[this._hashKey(v, y)] = f, o[this._hashKey(x, w)] = m, o[this._hashKey(P, A)] = p, this.trianglesLen = 0, this._addTriangle(f, m, p, -1, -1, -1);
21584
21584
  for (let T = 0, R = 0, I = 0; T < this._ids.length; T++) {
21585
21585
  const V = this._ids[T], M = t[2 * V], L = t[2 * V + 1];
21586
21586
  if (T > 0 && Math.abs(M - R) <= _b && Math.abs(L - I) <= _b || (R = M, I = L, V === f || V === m || V === p)) continue;
@@ -21597,12 +21597,12 @@ var Spe = (7 + 56 * Re) * Re, Tpe = (3 + 28 * Re) * Re, Mpe = (26 + 288 * Re) *
21597
21597
  if (C === -1) continue;
21598
21598
  let k = this._addTriangle(C, V, n[C], -1, -1, i[C]);
21599
21599
  i[V] = this._legalize(k + 2), i[C] = k, b++;
21600
- let P = n[C];
21601
- for (; E = n[P], Wl(M, L, t[2 * P], t[2 * P + 1], t[2 * E], t[2 * E + 1]) < 0; )
21602
- k = this._addTriangle(P, V, E, i[V], -1, i[P]), i[V] = this._legalize(k + 2), n[P] = P, b--, P = E;
21600
+ let _ = n[C];
21601
+ for (; E = n[_], Wl(M, L, t[2 * _], t[2 * _ + 1], t[2 * E], t[2 * E + 1]) < 0; )
21602
+ k = this._addTriangle(_, V, E, i[V], -1, i[_]), i[V] = this._legalize(k + 2), n[_] = _, b--, _ = E;
21603
21603
  if (C === N) for (; E = r[C], Wl(M, L, t[2 * E], t[2 * E + 1], t[2 * C], t[2 * C + 1]) < 0; )
21604
21604
  k = this._addTriangle(E, V, C, -1, i[C], i[E]), this._legalize(k + 2), i[E] = k, n[C] = C, b--, C = E;
21605
- this._hullStart = r[V] = C, n[C] = r[P] = V, n[V] = P, o[this._hashKey(M, L)] = V, o[this._hashKey(t[2 * C], t[2 * C + 1])] = C;
21605
+ this._hullStart = r[V] = C, n[C] = r[_] = V, n[V] = _, o[this._hashKey(M, L)] = V, o[this._hashKey(t[2 * C], t[2 * C + 1])] = C;
21606
21606
  }
21607
21607
  this.hull = new Uint32Array(b);
21608
21608
  for (let T = 0, R = this._hullStart; T < b; T++)
@@ -21771,7 +21771,7 @@ var Ib = 1e-6, Pi = class {
21771
21771
  let i, o;
21772
21772
  const a = this.circumcenters = this._circumcenters.subarray(0, r.length / 3 * 2);
21773
21773
  for (let m = 0, p = 0, v = r.length, y, x; m < v; m += 3, p += 2) {
21774
- const w = r[m] * 2, S = r[m + 1] * 2, _ = r[m + 2] * 2, A = e[w], D = e[w + 1], b = e[S], T = e[S + 1], R = e[_], I = e[_ + 1], V = b - A, M = T - D, L = R - A, N = I - D, C = (V * N - M * L) * 2;
21774
+ const w = r[m] * 2, S = r[m + 1] * 2, P = r[m + 2] * 2, A = e[w], D = e[w + 1], b = e[S], T = e[S + 1], R = e[P], I = e[P + 1], V = b - A, M = T - D, L = R - A, N = I - D, C = (V * N - M * L) * 2;
21775
21775
  if (Math.abs(C) < 1e-9) {
21776
21776
  if (i === void 0) {
21777
21777
  i = o = 0;
@@ -21781,8 +21781,8 @@ var Ib = 1e-6, Pi = class {
21781
21781
  const E = 1e9 * Math.sign((i - A) * N - (o - D) * L);
21782
21782
  y = (A + R) / 2 - E * N, x = (D + I) / 2 + E * L;
21783
21783
  } else {
21784
- const E = 1 / C, k = V * V + M * M, P = L * L + N * N;
21785
- y = A + (N * k - M * P) * E, x = D + (V * P - L * k) * E;
21784
+ const E = 1 / C, k = V * V + M * M, _ = L * L + N * N;
21785
+ y = A + (N * k - M * _) * E, x = D + (V * _ - L * k) * E;
21786
21786
  }
21787
21787
  a[p] = y, a[p + 1] = x;
21788
21788
  }
@@ -24861,8 +24861,8 @@ function rP(e, t) {
24861
24861
  };
24862
24862
  return {
24863
24863
  schedule: zl.reduce((w, S) => {
24864
- const _ = a[S];
24865
- return w[S] = (A, D = !1, b = !1) => (r || v(), _.schedule(A, D, b)), w;
24864
+ const P = a[S];
24865
+ return w[S] = (A, D = !1, b = !1) => (r || v(), P.schedule(A, D, b)), w;
24866
24866
  }, {}),
24867
24867
  cancel: (w) => {
24868
24868
  for (let S = 0; S < zl.length; S++) a[zl[S]].cancel(w);
@@ -25229,36 +25229,36 @@ function Bs(e = Ue.visualDuration, t = Ue.bounce) {
25229
25229
  n || (n = x ? Ue.restSpeed.granular : Ue.restSpeed.default), i || (i = x ? Ue.restDelta.granular : Ue.restDelta.default);
25230
25230
  let w;
25231
25231
  if (p < 1) {
25232
- const _ = Cf(y, p);
25232
+ const P = Cf(y, p);
25233
25233
  w = (A) => {
25234
25234
  const D = Math.exp(-p * y * A);
25235
- return a - D * ((m + p * y * v) / _ * Math.sin(_ * A) + v * Math.cos(_ * A));
25235
+ return a - D * ((m + p * y * v) / P * Math.sin(P * A) + v * Math.cos(P * A));
25236
25236
  };
25237
- } else if (p === 1) w = (_) => a - Math.exp(-y * _) * (v + (m + y * v) * _);
25237
+ } else if (p === 1) w = (P) => a - Math.exp(-y * P) * (v + (m + y * v) * P);
25238
25238
  else {
25239
- const _ = y * Math.sqrt(p * p - 1);
25239
+ const P = y * Math.sqrt(p * p - 1);
25240
25240
  w = (A) => {
25241
- const D = Math.exp(-p * y * A), b = Math.min(_ * A, 300);
25242
- return a - D * ((m + p * y * v) * Math.sinh(b) + _ * v * Math.cosh(b)) / _;
25241
+ const D = Math.exp(-p * y * A), b = Math.min(P * A, 300);
25242
+ return a - D * ((m + p * y * v) * Math.sinh(b) + P * v * Math.cosh(b)) / P;
25243
25243
  };
25244
25244
  }
25245
25245
  const S = {
25246
25246
  calculatedDuration: f && d || null,
25247
- next: (_) => {
25248
- const A = w(_);
25247
+ next: (P) => {
25248
+ const A = w(P);
25249
25249
  if (f)
25250
- s.done = _ >= d;
25250
+ s.done = P >= d;
25251
25251
  else {
25252
- let D = _ === 0 ? m : 0;
25253
- p < 1 && (D = _ === 0 ? qt(m) : pP(w, _, A));
25252
+ let D = P === 0 ? m : 0;
25253
+ p < 1 && (D = P === 0 ? qt(m) : pP(w, P, A));
25254
25254
  const b = Math.abs(D) <= n, T = Math.abs(a - A) <= i;
25255
25255
  s.done = b && T;
25256
25256
  }
25257
25257
  return s.value = s.done ? a : A, s;
25258
25258
  },
25259
25259
  toString: () => {
25260
- const _ = Math.min(sg(S), fP), A = hP((D) => S.next(_ * D).value, _, 30);
25261
- return _ + "ms " + A;
25260
+ const P = Math.min(sg(S), fP), A = hP((D) => S.next(P * D).value, P, 30);
25261
+ return P + "ms " + A;
25262
25262
  },
25263
25263
  toTransition: () => {
25264
25264
  }
@@ -25281,9 +25281,9 @@ function If({ keyframes: e, velocity: t = 0, power: r = 0.8, timeConstant: n = 3
25281
25281
  const T = x(b), R = w(b);
25282
25282
  h.done = Math.abs(T) <= c, h.value = h.done ? y : R;
25283
25283
  };
25284
- let _, A;
25284
+ let P, A;
25285
25285
  const D = (b) => {
25286
- f(h.value) && (_ = b, A = Bs({
25286
+ f(h.value) && (P = b, A = Bs({
25287
25287
  keyframes: [h.value, m(h.value)],
25288
25288
  velocity: pP(w, b, h.value),
25289
25289
  damping: i,
@@ -25296,7 +25296,7 @@ function If({ keyframes: e, velocity: t = 0, power: r = 0.8, timeConstant: n = 3
25296
25296
  calculatedDuration: null,
25297
25297
  next: (b) => {
25298
25298
  let T = !1;
25299
- return !A && _ === void 0 && (T = !0, S(b), D(b)), _ !== void 0 && b >= _ ? A.next(b - _) : (!T && S(b), h);
25299
+ return !A && P === void 0 && (T = !0, S(b), D(b)), P !== void 0 && b >= P ? A.next(b - P) : (!T && S(b), h);
25300
25300
  }
25301
25301
  };
25302
25302
  }
@@ -25432,9 +25432,9 @@ var cg = class {
25432
25432
  value: c[0]
25433
25433
  } : w.next(x);
25434
25434
  i && (S.value = i(S.value));
25435
- let { done: _ } = S;
25436
- !y && s !== null && (_ = this.playbackSpeed >= 0 ? this.currentTime >= n : this.currentTime <= 0);
25437
- const A = this.holdTime === null && (this.state === "finished" || this.state === "running" && _);
25435
+ let { done: P } = S;
25436
+ !y && s !== null && (P = this.playbackSpeed >= 0 ? this.currentTime >= n : this.currentTime <= 0);
25437
+ const A = this.holdTime === null && (this.state === "finished" || this.state === "running" && P);
25438
25438
  return A && f !== If && (S.value = lg(c, this.options, p, this.speed)), m && m(S.value), A && this.finish(), S;
25439
25439
  }
25440
25440
  then(e, t) {
@@ -26293,8 +26293,8 @@ function vg(e, t, { delay: r = 0, transitionOverride: n, type: i } = {}) {
26293
26293
  if (window.MotionHandoffAnimation) {
26294
26294
  const S = RP(e);
26295
26295
  if (S) {
26296
- const _ = window.MotionHandoffAnimation(S, h, Ne);
26297
- _ !== null && (p.startTime = _, y = !0);
26296
+ const P = window.MotionHandoffAnimation(S, h, Ne);
26297
+ P !== null && (p.startTime = P, y = !0);
26298
26298
  }
26299
26299
  }
26300
26300
  Gf(e, h);
@@ -26582,7 +26582,7 @@ var BP = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
26582
26582
  function iJ(e) {
26583
26583
  return Hk(e) && "offsetHeight" in e;
26584
26584
  }
26585
- var { schedule: xg, cancel: bve } = /* @__PURE__ */ rP(queueMicrotask, !1), yr = {
26585
+ var { schedule: xg, cancel: wve } = /* @__PURE__ */ rP(queueMicrotask, !1), yr = {
26586
26586
  x: !1,
26587
26587
  y: !1
26588
26588
  };
@@ -27425,11 +27425,11 @@ function KJ(e) {
27425
27425
  const { props: c } = e, u = a_(e.parent) || {}, d = [], h = /* @__PURE__ */ new Set();
27426
27426
  let f = {}, m = 1 / 0;
27427
27427
  for (let v = 0; v < zJ; v++) {
27428
- const y = UJ[v], x = r[y], w = c[y] !== void 0 ? c[y] : u[y], S = Fs(w), _ = y === l ? x.isActive : null;
27429
- _ === !1 && (m = v);
27428
+ const y = UJ[v], x = r[y], w = c[y] !== void 0 ? c[y] : u[y], S = Fs(w), P = y === l ? x.isActive : null;
27429
+ P === !1 && (m = v);
27430
27430
  let A = w === u[y] && w !== c[y] && S;
27431
- if (A && n && e.manuallyAnimateOnMount && (A = !1), x.protectedKeys = { ...f }, !x.isActive && _ === null || !w && !x.prevProp || Zu(w) || typeof w == "boolean") continue;
27432
- if (y === "exit" && x.isActive && _ !== !0) {
27431
+ if (A && n && e.manuallyAnimateOnMount && (A = !1), x.protectedKeys = { ...f }, !x.isActive && P === null || !w && !x.prevProp || Zu(w) || typeof w == "boolean") continue;
27432
+ if (y === "exit" && x.isActive && P !== !0) {
27433
27433
  x.prevResolvedValues && (f = {
27434
27434
  ...f,
27435
27435
  ...x.prevResolvedValues
@@ -27440,7 +27440,7 @@ function KJ(e) {
27440
27440
  let b = D || y === l && x.isActive && !A && S || v > m && S, T = !1;
27441
27441
  const R = Array.isArray(w) ? w : [w];
27442
27442
  let I = R.reduce(i(y), {});
27443
- _ === !1 && (I = {});
27443
+ P === !1 && (I = {});
27444
27444
  const { prevResolvedValues: V = {} } = x, M = {
27445
27445
  ...V,
27446
27446
  ...I
@@ -27452,8 +27452,8 @@ function KJ(e) {
27452
27452
  for (const C in M) {
27453
27453
  const E = I[C], k = V[C];
27454
27454
  if (f.hasOwnProperty(C)) continue;
27455
- let P = !1;
27456
- Hf(E) && Hf(k) ? P = !s_(E, k) : P = E !== k, P ? E != null ? L(C) : h.add(C) : E !== void 0 && h.has(C) ? L(C) : x.protectedKeys[C] = !0;
27455
+ let _ = !1;
27456
+ Hf(E) && Hf(k) ? _ = !s_(E, k) : _ = E !== k, _ ? E != null ? L(C) : h.add(C) : E !== void 0 && h.has(C) ? L(C) : x.protectedKeys[C] = !0;
27457
27457
  }
27458
27458
  x.prevProp = w, x.prevResolvedValues = I, x.isActive && (f = {
27459
27459
  ...f,
@@ -27463,9 +27463,9 @@ function KJ(e) {
27463
27463
  b && (!N || T) && d.push(...R.map((C) => {
27464
27464
  const E = { type: y };
27465
27465
  if (typeof C == "string" && n && !N && e.manuallyAnimateOnMount && e.parent) {
27466
- const { parent: k } = e, P = Vo(k, C);
27467
- if (k.enteringChildren && P) {
27468
- const { delayChildren: j } = P.transition || {};
27466
+ const { parent: k } = e, _ = Vo(k, C);
27467
+ if (k.enteringChildren && _) {
27468
+ const { delayChildren: j } = _.transition || {};
27469
27469
  E.delay = kP(k.enteringChildren, e, j);
27470
27470
  }
27471
27471
  }
@@ -29538,10 +29538,10 @@ function ete(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29538
29538
  let [p, v, y = {}] = m;
29539
29539
  y.at !== void 0 && (d = ww(d, y.at, u, c));
29540
29540
  let x = 0;
29541
- const w = (S, _, A, D = 0, b = 0) => {
29542
- const T = tte(S), { delay: R = 0, times: I = yP(T), type: V = t.type || "keyframes", repeat: M, repeatType: L, repeatDelay: N = 0, ...C } = _;
29543
- let { ease: E = t.ease || "easeOut", duration: k } = _;
29544
- const P = typeof R == "function" ? R(D, b) : R, j = T.length, X = hg(V) ? V : i?.[V || "keyframes"];
29541
+ const w = (S, P, A, D = 0, b = 0) => {
29542
+ const T = tte(S), { delay: R = 0, times: I = yP(T), type: V = t.type || "keyframes", repeat: M, repeatType: L, repeatDelay: N = 0, ...C } = P;
29543
+ let { ease: E = t.ease || "easeOut", duration: k } = P;
29544
+ const _ = typeof R == "function" ? R(D, b) : R, j = T.length, X = hg(V) ? V : i?.[V || "keyframes"];
29545
29545
  if (j <= 2 && X) {
29546
29546
  let te = 100;
29547
29547
  if (j === 2 && ite(T)) {
@@ -29557,7 +29557,7 @@ function ete(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29557
29557
  E = ie.ease, k = ie.duration;
29558
29558
  }
29559
29559
  k ?? (k = o);
29560
- const ee = d + P;
29560
+ const ee = d + _;
29561
29561
  I.length === 1 && I[0] === 0 && (I[1] = 1);
29562
29562
  const ne = I.length - T.length;
29563
29563
  if (ne > 0 && vP(I, ne), T.length === 1 && T.unshift(null), M) {
@@ -29573,17 +29573,17 @@ function ete(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29573
29573
  qee(I, M);
29574
29574
  }
29575
29575
  const oe = ee + k;
29576
- Xee(A, T, E, I, ee, oe), x = Math.max(P + k, x), h = Math.max(oe, h);
29576
+ Xee(A, T, E, I, ee, oe), x = Math.max(_ + k, x), h = Math.max(oe, h);
29577
29577
  };
29578
29578
  if (mt(p)) {
29579
29579
  const S = Aw(p, s);
29580
29580
  w(v, y, Sw("default", S));
29581
29581
  } else {
29582
- const S = C_(p, v, n, l), _ = S.length;
29583
- for (let A = 0; A < _; A++) {
29582
+ const S = C_(p, v, n, l), P = S.length;
29583
+ for (let A = 0; A < P; A++) {
29584
29584
  v = v, y = y;
29585
29585
  const D = S[A], b = Aw(D, s);
29586
- for (const T in v) w(v[T], rte(y, T), Sw(T, b), A, _);
29586
+ for (const T in v) w(v[T], rte(y, T), Sw(T, b), A, P);
29587
29587
  }
29588
29588
  }
29589
29589
  u = d, d += x;
@@ -29603,7 +29603,7 @@ function ete(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
29603
29603
  });
29604
29604
  const S = a.get(m);
29605
29605
  S.keyframes[p] = y;
29606
- const { type: _, ...A } = t;
29606
+ const { type: P, ...A } = t;
29607
29607
  S.transition[p] = {
29608
29608
  ...A,
29609
29609
  duration: h,
@@ -29828,19 +29828,19 @@ var Tw = 10 ** 2, It = (e) => Math.round(e * Tw) / Tw, fte = (e, t, r) => {
29828
29828
  if (u <= 0 || d <= 0) return 0;
29829
29829
  const T = b < h ? h - b : b > f ? b - f : 0, R = Math.min(1, T / d);
29830
29830
  return u * (1 - Math.sqrt(1 - R * R));
29831
- }, _ = (b, T) => u > 0 && d > 0 && (Math.max(b, T) <= h || Math.min(b, T) >= f), A = [
29831
+ }, P = (b, T) => u > 0 && d > 0 && (Math.max(b, T) <= h || Math.min(b, T) >= f), A = [
29832
29832
  l,
29833
29833
  ...new Set([h, f].filter((b) => b > l && b < c)),
29834
29834
  c
29835
29835
  ], D = [`M${v(i + S(l), l)}`, `L${v(m - S(l), l)}`];
29836
29836
  for (let b = 1; b < A.length; b++) {
29837
29837
  const T = A[b - 1] ?? l, R = A[b] ?? c;
29838
- D.push(_(T, R) ? w(m - S(R), R) : `L${v(m, R)}`);
29838
+ D.push(P(T, R) ? w(m - S(R), R) : `L${v(m, R)}`);
29839
29839
  }
29840
29840
  D.push(`L${v(i + S(c), c)}`);
29841
29841
  for (let b = A.length - 1; b > 0; b--) {
29842
29842
  const T = A[b] ?? c, R = A[b - 1] ?? l;
29843
- D.push(_(T, R) ? w(i + S(R), R) : `L${v(i, R)}`);
29843
+ D.push(P(T, R) ? w(i + S(R), R) : `L${v(i, R)}`);
29844
29844
  }
29845
29845
  return `${D.join("")}Z`;
29846
29846
  }, R_ = (e, t, r) => {
@@ -30363,7 +30363,7 @@ var Zc = (e, t, r) => {
30363
30363
  if (!m || !p) return;
30364
30364
  const v = f[0];
30365
30365
  if (!v) return;
30366
- const y = Fe(l.get("fill", v)), x = l.get("stroke", v) ?? y, w = l.get("strokeWidth", v), S = fr(l.get("dashArray", v), l.get("strokeWidth", v)), _ = l.get("lineCap", v), A = l.get("lineJoin", v);
30366
+ const y = Fe(l.get("fill", v)), x = l.get("stroke", v) ?? y, w = l.get("strokeWidth", v), S = fr(l.get("dashArray", v), l.get("strokeWidth", v)), P = l.get("lineCap", v), A = l.get("lineJoin", v);
30367
30367
  d.push({
30368
30368
  key: u(v),
30369
30369
  areaPath: m,
@@ -30374,7 +30374,7 @@ var Zc = (e, t, r) => {
30374
30374
  strokeWidth: w,
30375
30375
  strokeOpacity: l.get("strokeAlpha", v) * l.get("alpha", v),
30376
30376
  strokeDasharray: S,
30377
- lineCap: _,
30377
+ lineCap: P,
30378
30378
  lineJoin: A
30379
30379
  });
30380
30380
  }), d;
@@ -31238,7 +31238,7 @@ var bh = 3, bre = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31238
31238
  cornerRadius: x,
31239
31239
  mainAxis: t.mainAxis,
31240
31240
  bounds: p
31241
- }), _ = Vn(m, 0), A = Vn(p, S), D = Vn(Lw(m, bh), 0), b = Vn(Lw(p, bh), S > 0 ? S + bh : 0), T = u(c), R = i.get("alpha", r.observation, "hovered") * i.get("fillAlpha", r.observation, "hovered"), I = i.get("stroke", r.observation, "hovered"), V = ol(y);
31241
+ }), P = Vn(m, 0), A = Vn(p, S), D = Vn(Lw(m, bh), 0), b = Vn(Lw(p, bh), S > 0 ? S + bh : 0), T = u(c), R = i.get("alpha", r.observation, "hovered") * i.get("fillAlpha", r.observation, "hovered"), I = i.get("stroke", r.observation, "hovered"), V = ol(y);
31242
31242
  return /* @__PURE__ */ W("g", {
31243
31243
  "data-testid": "hovered-bar",
31244
31244
  style: kt(Et(i, r.observation, "hovered")),
@@ -31250,7 +31250,7 @@ var bh = 3, bre = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31250
31250
  }),
31251
31251
  /* @__PURE__ */ g("clipPath", {
31252
31252
  id: a,
31253
- children: /* @__PURE__ */ g("path", { d: _ })
31253
+ children: /* @__PURE__ */ g("path", { d: P })
31254
31254
  }),
31255
31255
  /* @__PURE__ */ g("clipPath", {
31256
31256
  id: s,
@@ -31269,12 +31269,12 @@ var bh = 3, bre = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31269
31269
  children: /* @__PURE__ */ W("g", {
31270
31270
  clipPath: `url(#${s})`,
31271
31271
  children: [/* @__PURE__ */ g("path", {
31272
- d: _,
31272
+ d: P,
31273
31273
  fill: T,
31274
31274
  opacity: R,
31275
31275
  "data-testid": "hovered-bar-fill"
31276
31276
  }), v !== void 0 && /* @__PURE__ */ W(he, { children: [/* @__PURE__ */ g("path", {
31277
- d: _,
31277
+ d: P,
31278
31278
  fill: "none",
31279
31279
  stroke: v,
31280
31280
  strokeWidth: V.separatorWidth,
@@ -31357,7 +31357,7 @@ var bh = 3, bre = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31357
31357
  if (!f) return;
31358
31358
  const m = h[0];
31359
31359
  if (!m) return;
31360
- const p = s.get("fillAlpha", m), v = p === void 0 ? void 0 : a(h) ?? void 0, y = s.get("stroke", m), x = s.get("fill", m), w = x === void 0 ? y : Fe(x), S = s.get("strokeWidth", m), _ = fr(s.get("dashArray", m), s.get("strokeWidth", m)), A = s.get("lineCap", m), D = s.get("lineJoin", m);
31360
+ const p = s.get("fillAlpha", m), v = p === void 0 ? void 0 : a(h) ?? void 0, y = s.get("stroke", m), x = s.get("fill", m), w = x === void 0 ? y : Fe(x), S = s.get("strokeWidth", m), P = fr(s.get("dashArray", m), s.get("strokeWidth", m)), A = s.get("lineCap", m), D = s.get("lineJoin", m);
31361
31361
  u.push({
31362
31362
  key: c(m),
31363
31363
  pathData: f,
@@ -31368,7 +31368,7 @@ var bh = 3, bre = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
31368
31368
  opacity: s.get("alpha", m),
31369
31369
  strokeAlpha: s.get("strokeAlpha", m),
31370
31370
  strokeWidth: S,
31371
- strokeDasharray: _,
31371
+ strokeDasharray: P,
31372
31372
  lineCap: A,
31373
31373
  lineJoin: D
31374
31374
  });
@@ -31897,7 +31897,7 @@ var Ga = "var(--graphy-editor-font-family, var(--graphy-font-family))", B = {
31897
31897
  fontEditorControlValue: Ie(B.fontWeightMedium, B.fontSizeSm, B.fontLineHeightSm, Ga),
31898
31898
  fontEditorSectionTitle: Ie(B.fontWeightSemibold, B.fontSizeSm, B.fontLineHeightSm, Ga),
31899
31899
  fontEditorCaption: Ie(B.fontWeightMedium, B.fontSizeXxs, B.fontLineHeightXxs, Ga)
31900
- }, Dre = (e, t) => ({ familyDefault: xh(t) ?? xh(e.fontFamily) ?? xh(od) ?? "" }), xh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, Ore = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, wve = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, Nre = (e) => `${e}px`, Z_ = { editorControlHeight: Nre(32) }, qa = {
31900
+ }, Dre = (e, t) => ({ familyDefault: xh(t) ?? xh(e.fontFamily) ?? xh(od) ?? "" }), xh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, Ore = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, Sve = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, Nre = (e) => `${e}px`, Z_ = { editorControlHeight: Nre(32) }, qa = {
31901
31901
  editOutline: 1,
31902
31902
  panelOverlay: 5,
31903
31903
  textToolbar: 10,
@@ -32652,14 +32652,14 @@ var Bne = pR((() => {
32652
32652
  c,
32653
32653
  n,
32654
32654
  t
32655
- ]), { fonts: y } = ao(), x = ke(), w = ce(Q8, x.geom.rule.label(t), x.graph()), S = G(() => Wt(w, y.familyDefault), [w, y.familyDefault]), _ = G(() => v === null ? null : gp(v, pne(o, f !== null), (M) => a.measureText(M, S).width), [
32655
+ ]), { fonts: y } = ao(), x = ke(), w = ce(Q8, x.geom.rule.label(t), x.graph()), S = G(() => Wt(w, y.familyDefault), [w, y.familyDefault]), P = G(() => v === null ? null : gp(v, pne(o, f !== null), (M) => a.measureText(M, S).width), [
32656
32656
  v,
32657
32657
  o,
32658
32658
  f,
32659
32659
  S,
32660
32660
  a
32661
- ]), A = G(() => _ === null ? 0 : a.measureText(_, S).width, [
32662
- _,
32661
+ ]), A = G(() => P === null ? 0 : a.measureText(P, S).width, [
32662
+ P,
32663
32663
  S,
32664
32664
  a
32665
32665
  ]), D = Be(t), b = t.data.getFirst();
@@ -32678,8 +32678,8 @@ var Bne = pR((() => {
32678
32678
  lineColor: T,
32679
32679
  effects: kt(Et(D, b)),
32680
32680
  shouldAnimateTransitions: i
32681
- }), _ !== null && _ !== "" && /* @__PURE__ */ g($ne, {
32682
- label: _,
32681
+ }), P !== null && P !== "" && /* @__PURE__ */ g($ne, {
32682
+ label: P,
32683
32683
  textStyle: w,
32684
32684
  textWidth: A,
32685
32685
  labelPosition: t.params.labelPosition,
@@ -33133,7 +33133,7 @@ var Bne = pR((() => {
33133
33133
  effects: kt(Et(c, t.data.getFirst() ?? void 0)),
33134
33134
  className: Lr,
33135
33135
  children: [f, m.map((p, v) => {
33136
- const { stroke: y, strokeWidth: x, strokeAlpha: w } = p.style, S = y !== void 0, _ = ol(x), A = y === void 0 ? {} : tu(y, _.separatorWidth), D = y === void 0 ? void 0 : tu(y, _.outlineWidth), b = p.members.map((V) => {
33136
+ const { stroke: y, strokeWidth: x, strokeAlpha: w } = p.style, S = y !== void 0, P = ol(x), A = y === void 0 ? {} : tu(y, P.separatorWidth), D = y === void 0 ? void 0 : tu(y, P.outlineWidth), b = p.members.map((V) => {
33137
33137
  const { key: M, ...L } = V;
33138
33138
  return s.isAnimated ? /* @__PURE__ */ g(lie, {
33139
33139
  ...L,
@@ -33210,9 +33210,9 @@ var Bne = pR((() => {
33210
33210
  t,
33211
33211
  S
33212
33212
  ]);
33213
- const _ = Jf(o, s, c);
33213
+ const P = Jf(o, s, c);
33214
33214
  return be(() => {
33215
- const A = _(), D = [yn(y, r, A), yn(x, n, A)];
33215
+ const A = P(), D = [yn(y, r, A), yn(x, n, A)];
33216
33216
  return () => {
33217
33217
  for (const b of D) b.stop();
33218
33218
  };
@@ -33221,7 +33221,7 @@ var Bne = pR((() => {
33221
33221
  x,
33222
33222
  r,
33223
33223
  n,
33224
- _
33224
+ P
33225
33225
  ]), be(() => {
33226
33226
  const A = () => {
33227
33227
  w.set($i({
@@ -33651,7 +33651,7 @@ function ud(e) {
33651
33651
  function pl(e) {
33652
33652
  return e ? ud(e.render).overlay : !1;
33653
33653
  }
33654
- function Ave(e, t) {
33654
+ function Tve(e, t) {
33655
33655
  return typeof e == "string" ? {
33656
33656
  ...t,
33657
33657
  geom: e
@@ -33934,52 +33934,52 @@ var Uie = (e) => pa((t) => ({
33934
33934
  return t.current = e, t;
33935
33935
  }, zie = ({ spec: e, data: t, colorScheme: r, plugins: n, theme: i, resolveRenderer: o, anchorResolver: a, onSpecChange: s, onError: l, onWarnings: c }) => {
33936
33936
  const u = Ho(s), d = Ho(l), h = Ho(c), [{ session: f, compileBus: m }] = ye(() => {
33937
- const P = lU({
33937
+ const _ = lU({
33938
33938
  plugins: n,
33939
33939
  theme: i
33940
33940
  });
33941
33941
  return {
33942
- session: new CX(P),
33943
- compileBus: Cie(P)
33942
+ session: new CX(_),
33943
+ compileBus: Cie(_)
33944
33944
  };
33945
33945
  }), [p] = ye(() => {
33946
- const P = Kw(n ?? []), j = Kw(i?.plugins ?? []);
33946
+ const _ = Kw(n ?? []), j = Kw(i?.plugins ?? []);
33947
33947
  return {
33948
- errors: [...j.errors, ...P.errors],
33949
- warnings: [...j.warnings, ...P.warnings]
33948
+ errors: [...j.errors, ..._.errors],
33949
+ warnings: [...j.warnings, ..._.warnings]
33950
33950
  };
33951
- }), v = fe(null), [y] = ye(Yie), x = fe(null), w = Le((P) => p.errors.length === 0 ? P : [...p.errors, ...P ?? []], [p]), S = Le((P) => {
33952
- if (!P.ok) return P.errors;
33953
- if (x.current) x.current.getState().setScene(P.scene);
33951
+ }), v = fe(null), [y] = ye(Yie), x = fe(null), w = Le((_) => p.errors.length === 0 ? _ : [...p.errors, ..._ ?? []], [p]), S = Le((_) => {
33952
+ if (!_.ok) return _.errors;
33953
+ if (x.current) x.current.getState().setScene(_.scene);
33954
33954
  else {
33955
- const j = Uie(P.scene);
33955
+ const j = Uie(_.scene);
33956
33956
  j.subscribe(y.notify), x.current = j, y.notify();
33957
33957
  }
33958
33958
  return null;
33959
- }, [y]), [_, A] = ye(() => {
33960
- const P = f.compile({
33959
+ }, [y]), [P, A] = ye(() => {
33960
+ const _ = f.compile({
33961
33961
  spec: e,
33962
33962
  data: t,
33963
33963
  colorScheme: r
33964
33964
  });
33965
- return v.current = P, w(S(P));
33966
- }), D = Le((P) => P.ok ? [
33967
- ...P.warnings,
33968
- ...Nie(P.scene, o),
33969
- ...Bie(P.scene, o),
33970
- ...Vie(P.scene),
33971
- ...Fie(P.scene, o),
33972
- ...Gie(P.scene, o),
33973
- ...Oie(P.scene, o),
33974
- ...Hie(P.scene, a)
33975
- ] : P.warnings, [o, a]), b = Le((P) => {
33976
- P.length !== 0 && (jc(P), d.current?.(P));
33977
- }, [d]), T = Le((P) => {
33978
- P.length !== 0 && (jc(P), h.current?.(P));
33965
+ return v.current = _, w(S(_));
33966
+ }), D = Le((_) => _.ok ? [
33967
+ ..._.warnings,
33968
+ ...Nie(_.scene, o),
33969
+ ...Bie(_.scene, o),
33970
+ ...Vie(_.scene),
33971
+ ...Fie(_.scene, o),
33972
+ ...Gie(_.scene, o),
33973
+ ...Oie(_.scene, o),
33974
+ ...Hie(_.scene, a)
33975
+ ] : _.warnings, [o, a]), b = Le((_) => {
33976
+ _.length !== 0 && (jc(_), d.current?.(_));
33977
+ }, [d]), T = Le((_) => {
33978
+ _.length !== 0 && (jc(_), h.current?.(_));
33979
33979
  }, [h]);
33980
33980
  be(() => {
33981
- const P = v.current;
33982
- P && (b([...p.errors, ...P.ok ? [] : P.errors]), T([...p.warnings, ...D(P)]), P.ok && m.emit({ kind: "init" }));
33981
+ const _ = v.current;
33982
+ _ && (b([...p.errors, ..._.ok ? [] : _.errors]), T([...p.warnings, ...D(_)]), _.ok && m.emit({ kind: "init" }));
33983
33983
  }, [
33984
33984
  m,
33985
33985
  b,
@@ -33987,15 +33987,15 @@ var Uie = (e) => pa((t) => ({
33987
33987
  p,
33988
33988
  D
33989
33989
  ]), be(() => {
33990
- const P = f.update({
33990
+ const _ = f.update({
33991
33991
  spec: e,
33992
33992
  data: t,
33993
33993
  colorScheme: r
33994
33994
  });
33995
- if (!P) return;
33996
- P.committedSpec && u.current?.(P.committedSpec);
33997
- const j = S(P.result);
33998
- A(w(j)), j && b(j), T(D(P.result)), j || m.emit({ kind: P.specChanged ? "spec" : "data" });
33995
+ if (!_) return;
33996
+ _.committedSpec && u.current?.(_.committedSpec);
33997
+ const j = S(_.result);
33998
+ A(w(j)), j && b(j), T(D(_.result)), j || m.emit({ kind: _.specChanged ? "spec" : "data" });
33999
33999
  }, [
34000
34000
  e,
34001
34001
  t,
@@ -34009,27 +34009,27 @@ var Uie = (e) => pa((t) => ({
34009
34009
  D,
34010
34010
  u
34011
34011
  ]);
34012
- const R = Le((P) => {
34013
- A((j) => j === null ? j : w(null)), T(D(P));
34012
+ const R = Le((_) => {
34013
+ A((j) => j === null ? j : w(null)), T(D(_));
34014
34014
  }, [
34015
34015
  w,
34016
34016
  T,
34017
34017
  D
34018
- ]), I = Le((P) => {
34019
- P.scene && x.current?.getState().setScene(P.scene), P.result && R(P.result), P.command && m.emit({
34018
+ ]), I = Le((_) => {
34019
+ _.scene && x.current?.getState().setScene(_.scene), _.result && R(_.result), _.command && m.emit({
34020
34020
  kind: "command",
34021
- command: P.command
34022
- }), P.spec && u.current?.(P.spec), P.errors && b([...P.errors]);
34021
+ command: _.command
34022
+ }), _.spec && u.current?.(_.spec), _.errors && b([..._.errors]);
34023
34023
  }, [
34024
34024
  R,
34025
34025
  m,
34026
34026
  u,
34027
34027
  b
34028
- ]), V = Le((P) => {
34029
- for (const j of P) I(j);
34030
- return P.some((j) => !!j.scene);
34031
- }, [I]), M = Le((P, j) => {
34032
- V(f.applyCommand(P, j));
34028
+ ]), V = Le((_) => {
34029
+ for (const j of _) I(j);
34030
+ return _.some((j) => !!j.scene);
34031
+ }, [I]), M = Le((_, j) => {
34032
+ V(f.applyCommand(_, j));
34033
34033
  }, [f, V]), L = Le(() => {
34034
34034
  V(f.commit());
34035
34035
  }, [f, V]), N = Le(() => V(f.undo()), [f, V]), C = Le(() => V(f.redo()), [f, V]), E = G(() => ({
@@ -34049,7 +34049,7 @@ var Uie = (e) => pa((t) => ({
34049
34049
  subscribe: y.subscribe,
34050
34050
  getScene: k,
34051
34051
  compileBus: m,
34052
- compileErrors: _
34052
+ compileErrors: P
34053
34053
  };
34054
34054
  }, Yie = () => {
34055
34055
  const e = /* @__PURE__ */ new Set();
@@ -34060,7 +34060,7 @@ var Uie = (e) => pa((t) => ({
34060
34060
  notify: () => e.forEach((t) => t())
34061
34061
  };
34062
34062
  }, RC = ({ data: e, spec: t, plugins: r = [], theme: n, formattingLocale: i, handleRef: o, onSpecChange: a, onError: s, onWarnings: l, colorScheme: c = "light", children: u }) => {
34063
- const [d] = ye(() => n), h = d?.colorScheme ?? c, [f] = ye(() => kC([...d?.plugins ?? [], ...r].filter(CC))), m = ut(), [p] = ye(() => kz(r)), [v] = ye(() => Pp(r)), [y] = ye(() => Tie()), [x] = ye(() => kie()), w = G(() => kk({ colorScheme: h }), [h]), { store: S, dispatch: _, commit: A, history: D, subscribe: b, getScene: T, compileBus: R, compileErrors: I } = zie({
34063
+ const [d] = ye(() => n), h = d?.colorScheme ?? c, [f] = ye(() => kC([...d?.plugins ?? [], ...r].filter(CC))), m = ut(), [p] = ye(() => kz(r)), [v] = ye(() => Pp(r)), [y] = ye(() => Tie()), [x] = ye(() => kie()), w = G(() => kk({ colorScheme: h }), [h]), { store: S, dispatch: P, commit: A, history: D, subscribe: b, getScene: T, compileBus: R, compileErrors: I } = zie({
34064
34064
  spec: t,
34065
34065
  data: e,
34066
34066
  colorScheme: h,
@@ -34081,9 +34081,9 @@ var Uie = (e) => pa((t) => ({
34081
34081
  });
34082
34082
  }, [S, y]);
34083
34083
  const V = G(() => ({
34084
- dispatch: _,
34084
+ dispatch: P,
34085
34085
  commit: A
34086
- }), [_, A]);
34086
+ }), [P, A]);
34087
34087
  cR(o, () => ({
34088
34088
  commands: V,
34089
34089
  undo: D.undo,
@@ -34420,16 +34420,16 @@ var coe = ({ render: e, input: t }) => {
34420
34420
  }) : /* @__PURE__ */ g("path", {
34421
34421
  d: t,
34422
34422
  ...n
34423
- }), Sve = (e) => {
34423
+ }), Mve = (e) => {
34424
34424
  const { Circle: t } = dd();
34425
34425
  return t === void 0 ? doe(e) : /* @__PURE__ */ g(gl, { children: /* @__PURE__ */ g(t, { ...e }) });
34426
- }, Tve = (e) => {
34426
+ }, Eve = (e) => {
34427
34427
  const { Line: t } = dd();
34428
34428
  return t === void 0 ? hoe(e) : /* @__PURE__ */ g(gl, { children: /* @__PURE__ */ g(t, { ...e }) });
34429
- }, Mve = (e) => {
34429
+ }, kve = (e) => {
34430
34430
  const { Rect: t } = dd();
34431
34431
  return t === void 0 ? foe(e) : /* @__PURE__ */ g(gl, { children: /* @__PURE__ */ g(t, { ...e }) });
34432
- }, Eve = (e) => {
34432
+ }, Pve = (e) => {
34433
34433
  const { Path: t } = dd();
34434
34434
  return t === void 0 ? moe(e) : /* @__PURE__ */ g(gl, { children: /* @__PURE__ */ g(t, { ...e }) });
34435
34435
  }, poe = ({ d: e, source: t, ...r }) => {
@@ -34438,7 +34438,7 @@ var coe = ({ render: e, input: t }) => {
34438
34438
  d: n,
34439
34439
  ...r
34440
34440
  });
34441
- }, kve = ({ children: e, ...t }) => /* @__PURE__ */ g("svg", {
34441
+ }, _ve = ({ children: e, ...t }) => /* @__PURE__ */ g("svg", {
34442
34442
  viewBox: "0 0 1 1",
34443
34443
  preserveAspectRatio: "none",
34444
34444
  width: "100%",
@@ -34446,7 +34446,7 @@ var coe = ({ render: e, input: t }) => {
34446
34446
  pointerEvents: "none",
34447
34447
  ...t,
34448
34448
  children: e
34449
- }), Pve = ({ box: e, children: t }) => /* @__PURE__ */ g("svg", {
34449
+ }), Cve = ({ box: e, children: t }) => /* @__PURE__ */ g("svg", {
34450
34450
  x: Z(e.x0),
34451
34451
  y: Z(e.y0),
34452
34452
  width: Z(e.x1 - e.x0),
@@ -34480,7 +34480,7 @@ var _oe = "dev-tools-panel_theadRow__58flceh", Coe = "dev-tools-panel_historyHea
34480
34480
  ran: "dev-tools-panel_dot_ran__58flceq dev-tools-panel_dotBase__58flcep",
34481
34481
  cached: "dev-tools-panel_dot_cached__58flcer dev-tools-panel_dotBase__58flcep",
34482
34482
  untouched: "dev-tools-panel_dot_untouched__58flces dev-tools-panel_dotBase__58flcep"
34483
- }, _ve = ({ width: e = 440, style: t, className: r } = {}) => {
34483
+ }, Ive = ({ width: e = 440, style: t, className: r } = {}) => {
34484
34484
  const { compileBus: n } = vt(), [i] = ye(() => Iie()), [o, a] = ye(!1), [s, l] = ye(gV);
34485
34485
  be(() => {
34486
34486
  const { recordCompile: m } = i.getState(), p = n.getLastTrigger(), v = n.getLastCompile();
@@ -37590,12 +37590,12 @@ var nse = /* @__PURE__ */ nn(((e) => {
37590
37590
  }
37591
37591
  }
37592
37592
  }
37593
- function _(A) {
37593
+ function P(A) {
37594
37594
  return S(A) === u;
37595
37595
  }
37596
37596
  e.AsyncMode = c, e.ConcurrentMode = u, e.ContextConsumer = l, e.ContextProvider = s, e.Element = r, e.ForwardRef = d, e.Fragment = i, e.Lazy = p, e.Memo = m, e.Portal = n, e.Profiler = a, e.StrictMode = o, e.Suspense = h, e.isAsyncMode = function(A) {
37597
- return _(A) || S(A) === c;
37598
- }, e.isConcurrentMode = _, e.isContextConsumer = function(A) {
37597
+ return P(A) || S(A) === c;
37598
+ }, e.isConcurrentMode = P, e.isContextConsumer = function(A) {
37599
37599
  return S(A) === l;
37600
37600
  }, e.isContextProvider = function(A) {
37601
37601
  return S(A) === s;
@@ -37670,9 +37670,9 @@ var nse = /* @__PURE__ */ nn(((e) => {
37670
37670
  }
37671
37671
  var S = u(y);
37672
37672
  d && (S = S.concat(d(y)));
37673
- for (var _ = l(v), A = l(y), D = 0; D < S.length; ++D) {
37673
+ for (var P = l(v), A = l(y), D = 0; D < S.length; ++D) {
37674
37674
  var b = S[D];
37675
- if (!i[b] && !(x && x[b]) && !(A && A[b]) && !(_ && _[b])) {
37675
+ if (!i[b] && !(x && x[b]) && !(A && A[b]) && !(P && P[b])) {
37676
37676
  var T = h(y, b);
37677
37677
  try {
37678
37678
  c(v, b, T);
@@ -37684,7 +37684,7 @@ var nse = /* @__PURE__ */ nn(((e) => {
37684
37684
  return v;
37685
37685
  }
37686
37686
  t.exports = p;
37687
- })), cA = /* @__PURE__ */ t1(ose(), 1), Cve = cA.default ?? cA, ase = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: Ive, Provider: sse } = ase, lse = sse;
37687
+ })), cA = /* @__PURE__ */ t1(ose(), 1), Rve = cA.default ?? cA, ase = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: Lve, Provider: sse } = ase, lse = sse;
37688
37688
  function oI(e) {
37689
37689
  return e && Object.keys(e).reduce((t, r) => {
37690
37690
  const n = e[r];
@@ -38170,7 +38170,7 @@ var Lse = 50, Dse = async (e, t, r) => {
38170
38170
  for (let p = 0; p < o.length; p++) {
38171
38171
  const v = o[p];
38172
38172
  if (!v) continue;
38173
- const { name: y, fn: x } = v, { x: w, y: S, data: _, reset: A } = await x({
38173
+ const { name: y, fn: x } = v, { x: w, y: S, data: P, reset: A } = await x({
38174
38174
  x: u,
38175
38175
  y: d,
38176
38176
  initialPlacement: n,
@@ -38186,7 +38186,7 @@ var Lse = 50, Dse = async (e, t, r) => {
38186
38186
  });
38187
38187
  u = w ?? u, d = S ?? d, m[y] = {
38188
38188
  ...m[y],
38189
- ..._
38189
+ ...P
38190
38190
  }, A && f < Lse && (f++, typeof A == "object" && (A.placement && (h = A.placement), A.rects && (c = A.rects === !0 ? await a.getElementRects({
38191
38191
  reference: e,
38192
38192
  floating: t,
@@ -38208,9 +38208,9 @@ var Lse = 50, Dse = async (e, t, r) => {
38208
38208
  var r, n;
38209
38209
  const { placement: i, middlewareData: o, rects: a, initialPlacement: s, platform: l, elements: c } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: h, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: m = "none", flipAlignment: p = !0, ...v } = hd(e, t);
38210
38210
  if ((r = o.arrow) != null && r.alignmentOffset) return {};
38211
- const y = Ui(i), x = Fn(s), w = Ui(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), _ = h || (w || !p ? [ou(s)] : Mse(s)), A = m !== "none";
38212
- !h && A && _.push(..._se(s, p, m, S));
38213
- const D = [s, ..._], b = await l.detectOverflow(t, v), T = [];
38211
+ const y = Ui(i), x = Fn(s), w = Ui(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = h || (w || !p ? [ou(s)] : Mse(s)), A = m !== "none";
38212
+ !h && A && P.push(..._se(s, p, m, S));
38213
+ const D = [s, ...P], b = await l.detectOverflow(t, v), T = [];
38214
38214
  let R = ((n = o.flip) == null ? void 0 : n.overflows) || [];
38215
38215
  if (u && T.push(b[y]), d) {
38216
38216
  const L = Tse(i, a, S);
@@ -38236,11 +38236,11 @@ var Lse = 50, Dse = async (e, t, r) => {
38236
38236
  var M;
38237
38237
  const E = (M = R.filter((k) => {
38238
38238
  if (A) {
38239
- const P = Fn(k.placement);
38240
- return P === x || P === "y";
38239
+ const _ = Fn(k.placement);
38240
+ return _ === x || _ === "y";
38241
38241
  }
38242
38242
  return !0;
38243
- }).map((k) => [k.placement, k.overflows.filter((P) => P > 0).reduce((P, j) => P + j, 0)]).sort((k, P) => k[1] - P[1])[0]) == null ? void 0 : M[0];
38243
+ }).map((k) => [k.placement, k.overflows.filter((_) => _ > 0).reduce((_, j) => _ + j, 0)]).sort((k, _) => k[1] - _[1])[0]) == null ? void 0 : M[0];
38244
38244
  E && (C = E);
38245
38245
  break;
38246
38246
  }
@@ -38754,16 +38754,16 @@ function xI(e) {
38754
38754
  k !== A.current && (A.current = k, p(k));
38755
38755
  }, []), w = We.useCallback((k) => {
38756
38756
  k !== D.current && (D.current = k, y(k));
38757
- }, []), S = o || m, _ = a || v, A = We.useRef(null), D = We.useRef(null), b = We.useRef(u), T = l != null, R = Eh(l), I = Eh(i), V = Eh(c), M = We.useCallback(() => {
38757
+ }, []), S = o || m, P = a || v, A = We.useRef(null), D = We.useRef(null), b = We.useRef(u), T = l != null, R = Eh(l), I = Eh(i), V = Eh(c), M = We.useCallback(() => {
38758
38758
  if (!A.current || !D.current) return;
38759
38759
  const k = {
38760
38760
  placement: t,
38761
38761
  strategy: r,
38762
38762
  middleware: h
38763
38763
  };
38764
- I.current && (k.platform = I.current), sle(A.current, D.current, k).then((P) => {
38764
+ I.current && (k.platform = I.current), sle(A.current, D.current, k).then((_) => {
38765
38765
  const j = {
38766
- ...P,
38766
+ ..._,
38767
38767
  isPositioned: V.current !== !1
38768
38768
  };
38769
38769
  L.current && !su(b.current, j) && (b.current = j, uR.flushSync(() => {
@@ -38787,13 +38787,13 @@ function xI(e) {
38787
38787
  yc(() => (L.current = !0, () => {
38788
38788
  L.current = !1;
38789
38789
  }), []), yc(() => {
38790
- if (S && (A.current = S), _ && (D.current = _), S && _) {
38791
- if (R.current) return R.current(S, _, M);
38790
+ if (S && (A.current = S), P && (D.current = P), S && P) {
38791
+ if (R.current) return R.current(S, P, M);
38792
38792
  M();
38793
38793
  }
38794
38794
  }, [
38795
38795
  S,
38796
- _,
38796
+ P,
38797
38797
  M,
38798
38798
  R,
38799
38799
  T
@@ -38805,22 +38805,22 @@ function xI(e) {
38805
38805
  setFloating: w
38806
38806
  }), [x, w]), C = We.useMemo(() => ({
38807
38807
  reference: S,
38808
- floating: _
38809
- }), [S, _]), E = We.useMemo(() => {
38808
+ floating: P
38809
+ }), [S, P]), E = We.useMemo(() => {
38810
38810
  const k = {
38811
38811
  position: r,
38812
38812
  left: 0,
38813
38813
  top: 0
38814
38814
  };
38815
38815
  if (!C.floating) return k;
38816
- const P = xA(C.floating, u.x), j = xA(C.floating, u.y);
38816
+ const _ = xA(C.floating, u.x), j = xA(C.floating, u.y);
38817
38817
  return s ? {
38818
38818
  ...k,
38819
- transform: "translate(" + P + "px, " + j + "px)",
38819
+ transform: "translate(" + _ + "px, " + j + "px)",
38820
38820
  ...bI(C.floating) >= 1.5 && { willChange: "transform" }
38821
38821
  } : {
38822
38822
  position: r,
38823
- left: P,
38823
+ left: _,
38824
38824
  top: j
38825
38825
  };
38826
38826
  }, [
@@ -39531,26 +39531,26 @@ var lu = {
39531
39531
  legendItemStyle: s,
39532
39532
  directLabelStyle: a
39533
39533
  }), y = sce(f), x = oce(f), w = {
39534
- measureText: (S, _) => e.measureText(S, _),
39534
+ measureText: (S, P) => e.measureText(S, P),
39535
39535
  textScale: h
39536
39536
  };
39537
39537
  return {
39538
39538
  measureAxis: (S) => {
39539
39539
  if (vce(S)) return 0;
39540
- const _ = u.current.measureAxis;
39541
- return _ ? _(S, w) : m(S);
39540
+ const P = u.current.measureAxis;
39541
+ return P ? P(S, w) : m(S);
39542
39542
  },
39543
39543
  measureAxisLabel: (S) => {
39544
- const _ = u.current.measureAxisLabel;
39545
- return _ ? _(S, w) : p(S);
39544
+ const P = u.current.measureAxisLabel;
39545
+ return P ? P(S, w) : p(S);
39546
39546
  },
39547
39547
  measureLegend: (S) => {
39548
39548
  if (yce(S)) return 0;
39549
- const _ = u.current.measureLegend;
39550
- return _ ? _(S, w) : v(S);
39549
+ const P = u.current.measureLegend;
39550
+ return P ? P(S, w) : v(S);
39551
39551
  },
39552
- measureHeadline: (S, _, A) => (u.current.measureHeadline ?? y)(S, _, A),
39553
- measureHeadlineItemWidths: (S, _) => (u.current.measureHeadlineItemWidths ?? x)(S, _),
39552
+ measureHeadline: (S, P, A) => (u.current.measureHeadline ?? y)(S, P, A),
39553
+ measureHeadlineItemWidths: (S, P) => (u.current.measureHeadlineItemWidths ?? x)(S, P),
39554
39554
  measureTickLabel: fce({
39555
39555
  textMeasurer: e,
39556
39556
  tickLabelStyles: l,
@@ -40207,7 +40207,7 @@ var Due = ({ segment: e, itemStyle: t }) => {
40207
40207
  }, Gue = "data-legend-index", $ue = "data-legend-item-index", jI = ({ legendIndex: e, itemIndex: t }) => ({
40208
40208
  [Gue]: String(e),
40209
40209
  [$ue]: String(t)
40210
- }), _a = "data-edit-kind", Wue = "data-edit-id", UI = "data-edit-axis", jue = "data-edit-tick-index", zI = "data-legend-overflow-control", Rve = `[${zI}]`, Uue = "observations", Lve = `[${_a}]`, Al = (e) => ({
40210
+ }), _a = "data-edit-kind", Wue = "data-edit-id", UI = "data-edit-axis", jue = "data-edit-tick-index", zI = "data-legend-overflow-control", Dve = `[${zI}]`, Uue = "observations", Ove = `[${_a}]`, Al = (e) => ({
40211
40211
  [_a]: e.kind,
40212
40212
  [Wue]: e.id
40213
40213
  }), rv = (e, t) => ({
@@ -40433,10 +40433,10 @@ var pde = "pill-content_bubble__1rqnt0m0", kh = "\0", gde = (e, t) => {
40433
40433
  be(() => {
40434
40434
  if (!n) return;
40435
40435
  const x = (S) => {
40436
- const _ = S.target;
40437
- if (!_) return;
40436
+ const P = S.target;
40437
+ if (!P) return;
40438
40438
  const A = m.reference.current, D = m.floating.current;
40439
- A instanceof Element && A.contains(_) || D instanceof Element && D.contains(_) || i(!1);
40439
+ A instanceof Element && A.contains(P) || D instanceof Element && D.contains(P) || i(!1);
40440
40440
  }, w = (S) => {
40441
40441
  S.key === "Escape" && i(!1);
40442
40442
  };
@@ -40556,7 +40556,7 @@ var Cde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40556
40556
  l
40557
40557
  ]), y = Sa([l.item.fill]);
40558
40558
  if (h.length === 0) return null;
40559
- const x = h.slice(0, v.visibleCount), w = h.slice(v.visibleCount), S = v.hasOverflow && w.length > 0, _ = qI(l.item, y(l.item.fill));
40559
+ const x = h.slice(0, v.visibleCount), w = h.slice(v.visibleCount), S = v.hasOverflow && w.length > 0, P = qI(l.item, y(l.item.fill));
40560
40560
  return /* @__PURE__ */ W("div", {
40561
40561
  className: Qt(kde[p], Tde, {
40562
40562
  [Ede]: f,
@@ -40567,7 +40567,7 @@ var Cde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40567
40567
  children: [x.map((A) => /* @__PURE__ */ g("div", {
40568
40568
  className: Qt(_de, d && "pill-legends_hitTestableItem__1unrqh49"),
40569
40569
  style: {
40570
- ..._,
40570
+ ...P,
40571
40571
  gap: l.item.gap
40572
40572
  },
40573
40573
  ...d ? nv(A.address) : void 0,
@@ -41511,7 +41511,7 @@ var Nhe = (e, t, r, n) => t !== "comment" ? r : gp(r, 140, (i) => e.measureText(
41511
41511
  y: t - n / 2,
41512
41512
  width: r,
41513
41513
  height: n
41514
- }, w = yd(m.cornerRadius), S = m.shadow === void 0 ? void 0 : oo(m.shadow), _ = {
41514
+ }, w = yd(m.cornerRadius), S = m.shadow === void 0 ? void 0 : oo(m.shadow), P = {
41515
41515
  className: Xhe,
41516
41516
  fill: m.fill === void 0 ? void 0 : Fe(m.fill),
41517
41517
  style: S === void 0 ? void 0 : { filter: S },
@@ -41525,12 +41525,12 @@ var Nhe = (e, t, r, n) => t !== "comment" ? r : gp(r, 140, (i) => e.measureText(
41525
41525
  opacity: m.alpha,
41526
41526
  children: [v && (w === null ? /* @__PURE__ */ g("path", {
41527
41527
  d: Xg(x, m.cornerRadius),
41528
- ..._
41528
+ ...P
41529
41529
  }) : /* @__PURE__ */ g("rect", {
41530
41530
  ...x,
41531
41531
  rx: w,
41532
41532
  ry: w,
41533
- ..._
41533
+ ...P
41534
41534
  })), /* @__PURE__ */ g("text", {
41535
41535
  className: qhe,
41536
41536
  style: {
@@ -41951,7 +41951,7 @@ var Nhe = (e, t, r, n) => t !== "comment" ? r : gp(r, 140, (i) => e.measureText(
41951
41951
  }), nR = {
41952
41952
  strokeDashoffset: "0",
41953
41953
  strokeLinecap: "round"
41954
- }, uu = (e, t) => e.gridLine[t]().resolve(), bfe = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
41954
+ }, bfe = 1.5, xfe = ({ strokeWidth: e, dashArray: t }) => t[0] === 0 ? Math.max(e, bfe) : e, uu = (e, t) => e.gridLine[t]().resolve(), wfe = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
41955
41955
  const i = ke(), o = di(), a = ce(uu, i, "x"), s = ce(uu, i, "y"), l = n.x - r.x, c = n.y - r.y;
41956
41956
  return /* @__PURE__ */ g("svg", {
41957
41957
  "data-testid": "grid",
@@ -41964,50 +41964,50 @@ var Nhe = (e, t, r, n) => t !== "comment" ? r : gp(r, 140, (i) => e.measureText(
41964
41964
  if (u.geometry !== "linear" || !u.gridVisible) return null;
41965
41965
  const d = Xe(u.scaleAestheticKey) === "x" ? a : s;
41966
41966
  if (d.strokeWidth <= 0) return null;
41967
- const h = u.position === "bottom" || u.position === "top", f = fr(d.dashArray, d.strokeWidth);
41968
- return /* @__PURE__ */ g("g", { children: u.ticks.map((m, p) => {
41969
- const v = xfe(h, m.position);
41970
- if (v !== null && t[v] > 0) return null;
41971
- const y = h ? m.position : 1 - m.position;
41972
- let x;
41967
+ const h = u.position === "bottom" || u.position === "top", f = xfe(d), m = fr(d.dashArray, f);
41968
+ return /* @__PURE__ */ g("g", { children: u.ticks.map((p, v) => {
41969
+ const y = Afe(h, p.position);
41970
+ if (y !== null && t[y] > 0) return null;
41971
+ const x = h ? p.position : 1 - p.position;
41972
+ let w;
41973
41973
  if (h) {
41974
- const S = y * n.width + l;
41975
- x = {
41976
- x1: S,
41974
+ const P = x * n.width + l;
41975
+ w = {
41976
+ x1: P,
41977
41977
  y1: 0,
41978
- x2: S,
41978
+ x2: P,
41979
41979
  y2: "100%"
41980
41980
  };
41981
41981
  } else {
41982
- const S = y * n.height + c;
41983
- x = {
41982
+ const P = x * n.height + c;
41983
+ w = {
41984
41984
  x1: 0,
41985
- y1: S,
41985
+ y1: P,
41986
41986
  x2: "100%",
41987
- y2: S
41987
+ y2: P
41988
41988
  };
41989
41989
  }
41990
- const w = /* @__PURE__ */ g("line", {
41991
- ...x,
41990
+ const S = /* @__PURE__ */ g("line", {
41991
+ ...w,
41992
41992
  ...nR,
41993
- strokeDasharray: f,
41994
- strokeWidth: d.strokeWidth,
41993
+ strokeDasharray: m,
41994
+ strokeWidth: f,
41995
41995
  stroke: d.stroke
41996
41996
  });
41997
41997
  return o ? /* @__PURE__ */ W("g", {
41998
41998
  ...YI(u.scaleAestheticKey),
41999
- children: [w, /* @__PURE__ */ g("line", {
42000
- ...x,
41999
+ children: [S, /* @__PURE__ */ g("line", {
42000
+ ...w,
42001
42001
  stroke: "transparent",
42002
42002
  strokeWidth: 7,
42003
42003
  pointerEvents: "stroke",
42004
42004
  "data-testid": "grid-line-hit-area"
42005
42005
  })]
42006
- }, p) : /* @__PURE__ */ g(sa, { children: w }, p);
42006
+ }, v) : /* @__PURE__ */ g(sa, { children: S }, v);
42007
42007
  }) }, u.scaleAestheticKey);
42008
42008
  })
42009
42009
  });
42010
- }, xfe = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, wfe = ({ sizes: e, panelFrameRect: t }) => {
42010
+ }, Afe = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, Sfe = ({ sizes: e, panelFrameRect: t }) => {
42011
42011
  const r = Ee((o) => o.coordSystem.type === "polar"), n = ce(Ek, ke());
42012
42012
  if (r) return null;
42013
42013
  const i = BK(n, {
@@ -42024,7 +42024,7 @@ var Nhe = (e, t, r, n) => t !== "comment" ? r : gp(r, 140, (i) => e.measureText(
42024
42024
  height: t.height,
42025
42025
  style: { overflow: "visible" },
42026
42026
  children: i.map((o, a) => /* @__PURE__ */ g("path", {
42027
- d: Afe(o.segments),
42027
+ d: Tfe(o.segments),
42028
42028
  fill: "none",
42029
42029
  stroke: o.stroke,
42030
42030
  strokeDasharray: fr(o.dashArray, o.strokeWidth),
@@ -42032,7 +42032,7 @@ var Nhe = (e, t, r, n) => t !== "comment" ? r : gp(r, 140, (i) => e.measureText(
42032
42032
  ...nR
42033
42033
  }, a))
42034
42034
  });
42035
- }, Afe = (e) => e.map((t) => {
42035
+ }, Tfe = (e) => e.map((t) => {
42036
42036
  switch (t.type) {
42037
42037
  case "move":
42038
42038
  return `M ${t.x} ${t.y}`;
@@ -42061,10 +42061,10 @@ var iR = (e, t) => {
42061
42061
  angleFor: (l) => p1(l, o, a),
42062
42062
  radiusNormFor: (l) => i + l * (1 - i)
42063
42063
  };
42064
- }, Sfe = 16, Tfe = ({ formattedAxes: e, panelRect: t }) => {
42064
+ }, Mfe = 16, Efe = ({ formattedAxes: e, panelRect: t }) => {
42065
42065
  const r = ce(Zg, ke()), n = di(), i = iR(t, e);
42066
42066
  if (!i) return null;
42067
- const { circle: o, circularAxis: a, radialAxis: s, startAngle: l, angleFor: c, radiusNormFor: u } = i, d = Mfe(s, u, o.radius), h = (f) => r(Xe(f.scaleAestheticKey));
42067
+ const { circle: o, circularAxis: a, radialAxis: s, startAngle: l, angleFor: c, radiusNormFor: u } = i, d = kfe(s, u, o.radius), h = (f) => r(Xe(f.scaleAestheticKey));
42068
42068
  return /* @__PURE__ */ W("svg", {
42069
42069
  x: t.x,
42070
42070
  y: t.y,
@@ -42085,7 +42085,7 @@ var iR = (e, t) => {
42085
42085
  return /* @__PURE__ */ g($A, {
42086
42086
  scaleAestheticKey: a.scaleAestheticKey,
42087
42087
  tickIndex: m,
42088
- placement: WA(v, Efe(p)),
42088
+ placement: WA(v, Pfe(p)),
42089
42089
  label: f.formattedLabel,
42090
42090
  labelStyle: h(a),
42091
42091
  isHitTestable: n
@@ -42104,7 +42104,7 @@ var iR = (e, t) => {
42104
42104
  cursor: "pointer",
42105
42105
  children: a
42106
42106
  }) : a;
42107
- }, Mfe = (e, t, r) => {
42107
+ }, kfe = (e, t, r) => {
42108
42108
  if (!e) return [];
42109
42109
  const n = [];
42110
42110
  let i = Number.NEGATIVE_INFINITY;
@@ -42112,7 +42112,7 @@ var iR = (e, t) => {
42112
42112
  const s = t(a.position);
42113
42113
  if (s <= 0) continue;
42114
42114
  const l = s * r;
42115
- l - i < Sfe || (n.push({
42115
+ l - i < Mfe || (n.push({
42116
42116
  tick: a,
42117
42117
  tickIndex: o,
42118
42118
  radiusNorm: s
@@ -42125,10 +42125,10 @@ var iR = (e, t) => {
42125
42125
  textAnchor: t,
42126
42126
  dominantBaseline: "central",
42127
42127
  transform: void 0
42128
- }), Efe = (e) => {
42128
+ }), Pfe = (e) => {
42129
42129
  const t = Math.sin(e);
42130
42130
  return Math.abs(t) < 0.01 ? "middle" : t > 0 ? "start" : "end";
42131
- }, kfe = ({ formattedAxes: e, panelRect: t }) => {
42131
+ }, _fe = ({ formattedAxes: e, panelRect: t }) => {
42132
42132
  const r = ke(), n = di(), i = ce(uu, r, "y"), o = ce(uu, r, "x"), a = iR(t, e);
42133
42133
  if (!a) return null;
42134
42134
  const { circle: s, circularAxis: l, radialAxis: c, innerRadius: u, angleFor: d, radiusNormFor: h } = a;
@@ -42200,7 +42200,7 @@ var iR = (e, t) => {
42200
42200
  "data-testid": "grid-line-hit-area"
42201
42201
  })]
42202
42202
  }) : i;
42203
- }, Pfe = ({ layer: e, isDimmed: t, dimStyle: r, ...n }) => {
42203
+ }, Cfe = ({ layer: e, isDimmed: t, dimStyle: r, ...n }) => {
42204
42204
  const i = kI(e.id), o = XX(e, Be(e)), a = t ? r.filter : void 0, s = o && a ? `${o} ${a}` : o || a, l = i?.type === "fade", c = G(() => ({
42205
42205
  layerId: e.id,
42206
42206
  paintsShadow: o !== void 0,
@@ -42216,7 +42216,7 @@ var iR = (e, t) => {
42216
42216
  },
42217
42217
  children: /* @__PURE__ */ g(qu.Provider, {
42218
42218
  value: c,
42219
- children: /* @__PURE__ */ g(_fe, {
42219
+ children: /* @__PURE__ */ g(Ife, {
42220
42220
  layer: e,
42221
42221
  ...n
42222
42222
  })
@@ -42228,7 +42228,7 @@ var iR = (e, t) => {
42228
42228
  transition: B_(i),
42229
42229
  children: u
42230
42230
  }) : u;
42231
- }, _fe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, formattingLocale: n, panelRect: i }) => {
42231
+ }, Ife = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, formattingLocale: n, panelRect: i }) => {
42232
42232
  const o = _n(), a = kI(e.id), { colorScheme: s } = vt(), l = Be(e), c = o(e.geom, t.type);
42233
42233
  if (c === null) return null;
42234
42234
  const u = ud(c.render);
@@ -42243,7 +42243,7 @@ var iR = (e, t) => {
42243
42243
  styleReaders: l
42244
42244
  });
42245
42245
  };
42246
- function Cfe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
42246
+ function Rfe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
42247
42247
  if (e?.getOverlayAnchor === void 0 || n.length === 0) return [];
42248
42248
  const i = [];
42249
42249
  for (const { observation: o, observationIndex: a } of n) {
@@ -42260,8 +42260,8 @@ function Cfe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
42260
42260
  }
42261
42261
  return i;
42262
42262
  }
42263
- var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: o, panelRect: a, formattingLocale: s }) => {
42264
- const l = Ee((w) => w.config.numberFormat), c = G(() => Cfe({
42263
+ var Lfe = 4, Dfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: o, panelRect: a, formattingLocale: s }) => {
42264
+ const l = Ee((w) => w.config.numberFormat), c = G(() => Rfe({
42265
42265
  renderer: e,
42266
42266
  layer: t,
42267
42267
  coordSystem: i,
@@ -42296,9 +42296,9 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42296
42296
  };
42297
42297
  x = e.renderHighlight ? e.renderHighlight(w) : y.fn(w);
42298
42298
  }
42299
- return /* @__PURE__ */ W(iv, { children: [x, c.map(({ observation: w, observationIndex: S, anchor: _ }) => /* @__PURE__ */ g(Lfe, {
42299
+ return /* @__PURE__ */ W(iv, { children: [x, c.map(({ observation: w, observationIndex: S, anchor: P }) => /* @__PURE__ */ g(Ofe, {
42300
42300
  observation: w,
42301
- anchor: _,
42301
+ anchor: P,
42302
42302
  panelRect: a,
42303
42303
  fill: fa(h, t, w) ?? Iu,
42304
42304
  symbol: d.get("symbol", w) ?? "circle",
@@ -42307,8 +42307,8 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42307
42307
  formatYValue: m,
42308
42308
  labelStyle: v.observation.outside,
42309
42309
  familyDefault: p.familyDefault
42310
- }, Dfe(w, S)))] });
42311
- }, Lfe = ({ observation: e, anchor: t, panelRect: r, fill: n, symbol: i, dotRadius: o, readSegmentY: a, formatYValue: s, labelStyle: l, familyDefault: c }) => {
42310
+ }, Nfe(w, S)))] });
42311
+ }, Ofe = ({ observation: e, anchor: t, panelRect: r, fill: n, symbol: i, dotRadius: o, readSegmentY: a, formatYValue: s, labelStyle: l, familyDefault: c }) => {
42312
42312
  const u = si(), d = t.x, h = Tr(t.y), f = a(e) ?? null, m = f !== null ? s(f, e) : null, p = G(() => {
42313
42313
  if (m === null) return null;
42314
42314
  const v = u.measureText(m, Wt(l, c));
@@ -42331,7 +42331,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42331
42331
  "data-testid": "highlight-overlay-dot"
42332
42332
  }), m !== null && p !== null && /* @__PURE__ */ g(rR, {
42333
42333
  x: d * r.width,
42334
- y: h * r.height - o - Ife - p.height / 2,
42334
+ y: h * r.height - o - Lfe - p.height / 2,
42335
42335
  width: p.width,
42336
42336
  height: p.height,
42337
42337
  text: m,
@@ -42340,7 +42340,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42340
42340
  position: "outside",
42341
42341
  coordType: "cartesian"
42342
42342
  })] });
42343
- }, Dfe = (e, t) => {
42343
+ }, Nfe = (e, t) => {
42344
42344
  const r = e[we.group];
42345
42345
  return `${String(r ?? "")}\0${t}`;
42346
42346
  }, jA = 64, fm = ({ overlay: e, panelRect: t, children: r }) => {
@@ -42386,7 +42386,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42386
42386
  t,
42387
42387
  r
42388
42388
  ]);
42389
- }, Ofe = ({ layer: e, coordSystem: t, panelRect: r }) => {
42389
+ }, Bfe = ({ layer: e, coordSystem: t, panelRect: r }) => {
42390
42390
  const { primary: n, group: i, related: o } = hs(pr((m) => ({
42391
42391
  primary: m.hover.primary,
42392
42392
  group: m.hover.group,
@@ -42419,7 +42419,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42419
42419
  styleReaders: l
42420
42420
  })
42421
42421
  });
42422
- }, Nfe = (e) => {
42422
+ }, Vfe = (e) => {
42423
42423
  const t = Be(e);
42424
42424
  return G(() => {
42425
42425
  const [r] = e.data;
@@ -42433,7 +42433,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42433
42433
  filter: D_(yk(n))
42434
42434
  };
42435
42435
  }, [e, t]);
42436
- }, Bfe = "var(--hoverDimOpacity__1rzsuvz0)", Vfe = "var(--hoverDimFilter__1rzsuvz1)", Ffe = "geom-layers.renderer_svg__1rzsuvz2", Hfe = "geom-layers.renderer_geomGroup__1rzsuvz3", Gfe = ({ shouldAnimateTransitions: e, panelRect: t, formattingLocale: r }) => {
42436
+ }, Ffe = "var(--hoverDimOpacity__1rzsuvz0)", Hfe = "var(--hoverDimFilter__1rzsuvz1)", Gfe = "geom-layers.renderer_svg__1rzsuvz2", $fe = "geom-layers.renderer_geomGroup__1rzsuvz3", Wfe = ({ shouldAnimateTransitions: e, panelRect: t, formattingLocale: r }) => {
42437
42437
  const { layers: n, coordSystem: i } = Ee(pr((a) => ({
42438
42438
  layers: a.layers,
42439
42439
  coordSystem: a.coordSystem
@@ -42443,30 +42443,30 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42443
42443
  y: t.y,
42444
42444
  width: t.width,
42445
42445
  height: t.height,
42446
- className: Ffe,
42446
+ className: Gfe,
42447
42447
  "data-testid": "geom-layers",
42448
42448
  ...zue(),
42449
- children: o.map((a) => /* @__PURE__ */ W(sa, { children: [/* @__PURE__ */ g(jfe, {
42449
+ children: o.map((a) => /* @__PURE__ */ W(sa, { children: [/* @__PURE__ */ g(zfe, {
42450
42450
  layer: a,
42451
42451
  coordSystem: i,
42452
42452
  shouldAnimateTransitions: e,
42453
42453
  panelRect: t,
42454
42454
  formattingLocale: r
42455
- }), /* @__PURE__ */ g(Ofe, {
42455
+ }), /* @__PURE__ */ g(Bfe, {
42456
42456
  layer: a,
42457
42457
  coordSystem: i,
42458
42458
  panelRect: t
42459
- })] }, `${a.id}-${$fe(i)}`))
42459
+ })] }, `${a.id}-${jfe(i)}`))
42460
42460
  });
42461
- }, $fe = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, Wfe = (e) => (0, qg.assignInlineVars)({
42462
- ...e.opacity === void 0 ? {} : { [Bfe]: String(e.opacity) },
42463
- ...e.filter === void 0 ? {} : { [Vfe]: e.filter }
42464
- }), jfe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, panelRect: n, formattingLocale: i }) => {
42461
+ }, jfe = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, Ufe = (e) => (0, qg.assignInlineVars)({
42462
+ ...e.opacity === void 0 ? {} : { [Ffe]: String(e.opacity) },
42463
+ ...e.filter === void 0 ? {} : { [Hfe]: e.filter }
42464
+ }), zfe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, panelRect: n, formattingLocale: i }) => {
42465
42465
  const o = _n(), a = G(() => o(e.geom, t.type), [
42466
42466
  o,
42467
42467
  e,
42468
42468
  t
42469
- ]), s = e.highlight, l = Nfe(e), c = oR(e), { colorScheme: u } = vt(), d = {
42469
+ ]), s = e.highlight, l = Vfe(e), c = oR(e), { colorScheme: u } = vt(), d = {
42470
42470
  layer: e,
42471
42471
  coordSystem: t,
42472
42472
  shouldAnimateTransitions: r,
@@ -42476,13 +42476,13 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42476
42476
  styleReaders: Be(e)
42477
42477
  }, h = a ? ud(a.render) : null, f = e.spatialKind === "render-hit-test", m = l.opacity !== void 0 || l.filter !== void 0;
42478
42478
  return /* @__PURE__ */ g("g", {
42479
- className: m ? Hfe : void 0,
42480
- style: m ? Wfe(l) : void 0,
42479
+ className: m ? $fe : void 0,
42480
+ style: m ? Ufe(l) : void 0,
42481
42481
  children: /* @__PURE__ */ W(fm, {
42482
42482
  overlay: h?.overlay ? [] : c,
42483
42483
  panelRect: n,
42484
42484
  children: [
42485
- /* @__PURE__ */ g(Pfe, {
42485
+ /* @__PURE__ */ g(Cfe, {
42486
42486
  layer: e,
42487
42487
  coordSystem: t,
42488
42488
  shouldAnimateTransitions: r,
@@ -42499,7 +42499,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42499
42499
  render: h.fn,
42500
42500
  input: d
42501
42501
  }),
42502
- s !== null && /* @__PURE__ */ g(Rfe, {
42502
+ s !== null && /* @__PURE__ */ g(Dfe, {
42503
42503
  renderer: a,
42504
42504
  layer: e,
42505
42505
  matchedLayer: s.composition.matchedLayer,
@@ -42512,13 +42512,13 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42512
42512
  ]
42513
42513
  })
42514
42514
  });
42515
- }, Ufe = "plot.renderer_root__1ts0j5d0", zfe = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: o, axisLabelRects: a, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: h }) => {
42515
+ }, Yfe = "plot.renderer_root__1ts0j5d0", Kfe = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: o, axisLabelRects: a, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: h }) => {
42516
42516
  const f = fe(null);
42517
42517
  nhe(f);
42518
- const m = Wr("Grid", bfe), p = Wr("AxisTicks", vfe), v = Wr("AxisLabel", yfe), y = G(() => mm(n, t), [n, t]), x = G(() => mm(i, t), [i, t]), w = G(() => zA(o, t), [o, t]), S = G(() => zA(a, t), [a, t]), _ = Pa(), A = h && !_;
42518
+ const m = Wr("Grid", wfe), p = Wr("AxisTicks", vfe), v = Wr("AxisLabel", yfe), y = G(() => mm(n, t), [n, t]), x = G(() => mm(i, t), [i, t]), w = G(() => zA(o, t), [o, t]), S = G(() => zA(a, t), [a, t]), P = Pa(), A = h && !P;
42519
42519
  return /* @__PURE__ */ W("svg", {
42520
42520
  ref: f,
42521
- className: Ufe,
42521
+ className: Yfe,
42522
42522
  width: t.width,
42523
42523
  height: t.height,
42524
42524
  style: { transform: `translate(${t.x}px, ${t.y}px)` },
@@ -42538,7 +42538,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42538
42538
  formattedAxes: e,
42539
42539
  labelRects: S
42540
42540
  }),
42541
- /* @__PURE__ */ g(kfe, {
42541
+ /* @__PURE__ */ g(_fe, {
42542
42542
  formattedAxes: e,
42543
42543
  panelRect: x
42544
42544
  }),
@@ -42550,16 +42550,16 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42550
42550
  panelRect: x,
42551
42551
  zOrder: "background"
42552
42552
  })] }),
42553
- /* @__PURE__ */ g(wfe, {
42553
+ /* @__PURE__ */ g(Sfe, {
42554
42554
  sizes: r,
42555
42555
  panelFrameRect: y
42556
42556
  }),
42557
- /* @__PURE__ */ g(Gfe, {
42557
+ /* @__PURE__ */ g(Wfe, {
42558
42558
  shouldAnimateTransitions: s,
42559
42559
  panelRect: x,
42560
42560
  formattingLocale: l
42561
42561
  }),
42562
- /* @__PURE__ */ g(Tfe, {
42562
+ /* @__PURE__ */ g(Efe, {
42563
42563
  formattedAxes: e,
42564
42564
  panelRect: x
42565
42565
  }),
@@ -42602,7 +42602,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42602
42602
  const r = {};
42603
42603
  for (const [n, i] of Object.entries(e)) r[n] = mm(i, t);
42604
42604
  return r;
42605
- }, Yfe = (e) => {
42605
+ }, Xfe = (e) => {
42606
42606
  let t, r;
42607
42607
  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), {
42608
42608
  width: YA(t, "width"),
@@ -42611,7 +42611,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42611
42611
  }, YA = (e, t) => {
42612
42612
  if (e <= 0 || Number.isNaN(e) || !Number.isFinite(e)) throw new de({ message: `Expected ${t} to be a positive, finite number, but got ${e}.` });
42613
42613
  return e;
42614
- }, Kfe = ({ sizing: e, onResize: t, children: r }) => {
42614
+ }, qfe = ({ sizing: e, onResize: t, children: r }) => {
42615
42615
  const n = OC({ onResize: t }), i = fe(!1);
42616
42616
  if (be(() => {
42617
42617
  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.`)));
@@ -42621,7 +42621,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42621
42621
  n.width,
42622
42622
  n.height
42623
42623
  ]), e.mode === "keepAspectRatio") {
42624
- const { intrinsicSize: a, canRender: s, outerStyles: l, innerStyles: c } = Xfe(e, n.width, !n.isDefault);
42624
+ const { intrinsicSize: a, canRender: s, outerStyles: l, innerStyles: c } = Qfe(e, n.width, !n.isDefault);
42625
42625
  return /* @__PURE__ */ g("div", {
42626
42626
  ref: n.setElement,
42627
42627
  style: l,
@@ -42657,8 +42657,8 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42657
42657
  height: n.height
42658
42658
  })
42659
42659
  });
42660
- }, Xfe = (e, t, r) => {
42661
- const n = Yfe(e), i = t > 0 && n.width > 0 ? t / n.width : 1;
42660
+ }, Qfe = (e, t, r) => {
42661
+ const n = Xfe(e), i = t > 0 && n.width > 0 ? t / n.width : 1;
42662
42662
  return {
42663
42663
  intrinsicSize: n,
42664
42664
  canRender: r,
@@ -42673,7 +42673,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42673
42673
  height: n.height
42674
42674
  }
42675
42675
  };
42676
- }, qfe = { mode: "responsive" }, Ch = {
42676
+ }, Jfe = { mode: "responsive" }, Ch = {
42677
42677
  headerSize: {
42678
42678
  width: 0,
42679
42679
  height: 0
@@ -42682,7 +42682,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42682
42682
  width: 0,
42683
42683
  height: 0
42684
42684
  }
42685
- }, Qfe = () => {
42685
+ }, Zfe = () => {
42686
42686
  const [e, t] = ye(null), [r, n] = ye(null), [i, o] = ye(Ch);
42687
42687
  return pm(() => {
42688
42688
  const a = () => {
@@ -42693,7 +42693,7 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42693
42693
  width: r.offsetWidth,
42694
42694
  height: r.offsetHeight
42695
42695
  } : Ch.footerSize;
42696
- o((u) => Jfe(u, {
42696
+ o((u) => eme(u, {
42697
42697
  headerSize: l,
42698
42698
  footerSize: c
42699
42699
  }) ? {
@@ -42709,9 +42709,9 @@ var Ife = 4, Rfe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42709
42709
  footerRef: n,
42710
42710
  measurements: i
42711
42711
  };
42712
- }, Jfe = (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, Zfe = () => null, eme = "graph-frame_overlay__fzk2ns0", tme = "graph-frame_backgroundScope__fzk2ns1";
42713
- var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, contentRef: i, children: o }) => {
42714
- const { themeClass: a, inlineVarsStyle: s } = Qg(), l = e.strokeWidth, c = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), d = u === 0 ? 0 : u + l, { shadow: h, alpha: f, blendMode: m, fill: p, overlay: v = rme } = e, y = Sa([p, ...v]), x = y(p), w = typeof p != "string", S = G(() => ({
42712
+ }, eme = (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, tme = () => null, rme = "graph-frame_overlay__fzk2ns0", nme = "graph-frame_backgroundScope__fzk2ns1";
42713
+ var ime = [], ome = ({ graphChrome: e, isEditable: t, mode: r, style: n, contentRef: i, children: o }) => {
42714
+ const { themeClass: a, inlineVarsStyle: s } = Qg(), l = e.strokeWidth, c = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), d = u === 0 ? 0 : u + l, { shadow: h, alpha: f, blendMode: m, fill: p, overlay: v = ime } = e, y = Sa([p, ...v]), x = y(p), w = typeof p != "string", S = G(() => ({
42715
42715
  ...n,
42716
42716
  borderRadius: `${d}px`,
42717
42717
  ...s,
@@ -42728,10 +42728,10 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42728
42728
  l,
42729
42729
  c,
42730
42730
  h
42731
- ]), _ = G(() => ({
42731
+ ]), P = G(() => ({
42732
42732
  borderRadius: `${u}px`,
42733
42733
  ...m === "normal" ? {} : { mixBlendMode: m },
42734
- ...ime(w, f)
42734
+ ...ame(w, f)
42735
42735
  }), [
42736
42736
  u,
42737
42737
  m,
@@ -42757,9 +42757,9 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42757
42757
  className: Qt(mle, {
42758
42758
  [ple]: t,
42759
42759
  [gle]: D,
42760
- [tme]: w
42760
+ [nme]: w
42761
42761
  }),
42762
- style: _,
42762
+ style: P,
42763
42763
  children: [
42764
42764
  A && /* @__PURE__ */ g("div", {
42765
42765
  "aria-hidden": !0,
@@ -42771,27 +42771,27 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42771
42771
  [...v].reverse().map((b, T) => /* @__PURE__ */ g("div", {
42772
42772
  "aria-hidden": !0,
42773
42773
  "data-testid": "graph-overlay",
42774
- className: eme,
42774
+ className: rme,
42775
42775
  style: aa(b, y(b))
42776
42776
  }, T))
42777
42777
  ]
42778
42778
  })
42779
42779
  });
42780
- }, ime = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${B.graphBackground} ${t * 100}%, transparent)` }, Dve = (e) => /* @__PURE__ */ g(wse, {
42780
+ }, ame = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${B.graphBackground} ${t * 100}%, transparent)` }, Nve = (e) => /* @__PURE__ */ g(wse, {
42781
42781
  locale: bce(),
42782
- children: /* @__PURE__ */ g(ome, { ...e })
42783
- }), ome = ({ slots: e, sizing: t = qfe, onResize: r, ...n }) => /* @__PURE__ */ g(Jie, { children: /* @__PURE__ */ g(tne, { children: /* @__PURE__ */ g(vne, {
42782
+ children: /* @__PURE__ */ g(sme, { ...e })
42783
+ }), sme = ({ slots: e, sizing: t = Jfe, onResize: r, ...n }) => /* @__PURE__ */ g(Jie, { children: /* @__PURE__ */ g(tne, { children: /* @__PURE__ */ g(vne, {
42784
42784
  slots: e,
42785
- children: /* @__PURE__ */ g(Kfe, {
42785
+ children: /* @__PURE__ */ g(qfe, {
42786
42786
  sizing: t,
42787
42787
  onResize: r,
42788
- children: ({ width: i, height: o }) => /* @__PURE__ */ g(ame, {
42788
+ children: ({ width: i, height: o }) => /* @__PURE__ */ g(lme, {
42789
42789
  width: i,
42790
42790
  height: o,
42791
42791
  ...n
42792
42792
  })
42793
42793
  })
42794
- }) }) }), ame = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: i = wn.readonly }) => {
42794
+ }) }) }), lme = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: i = wn.readonly }) => {
42795
42795
  const o = sI(), a = $g(i), { axes: s, legends: l, layers: c, numberFormat: u, parsingLocale: d, annotations: h, coordSystem: f, headline: m, headlineConfig: p, content: v, overflowStrategy: y } = Ee(pr((Ft) => ({
42796
42796
  axes: Ft.guides.axes,
42797
42797
  legends: Ft.guides.legends.drawn,
@@ -42804,7 +42804,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42804
42804
  headlineConfig: Ft.config.headline,
42805
42805
  content: Ft.config.content,
42806
42806
  overflowStrategy: Ft.config.panel.overflow
42807
- }))), { intro: x, transitions: w } = Foe(r, c), { headerRef: S, footerRef: _, measurements: A } = Qfe(), { formattingLocale: D, colorScheme: b } = vt(), T = li[a], R = T.editorSurface, [I, V] = ye(null), M = Wr("Header", bue), L = Wr("Footer", hue), N = Wr("Legend", Nde), C = Wr("Headline", Hue), E = Wr("EditorSurface", Zfe), k = G(() => _7({
42807
+ }))), { intro: x, transitions: w } = Foe(r, c), { headerRef: S, footerRef: P, measurements: A } = Zfe(), { formattingLocale: D, colorScheme: b } = vt(), T = li[a], R = T.editorSurface, [I, V] = ye(null), M = Wr("Header", bue), L = Wr("Footer", hue), N = Wr("Legend", Nde), C = Wr("Headline", Hue), E = Wr("EditorSurface", tme), k = G(() => _7({
42808
42808
  legends: l,
42809
42809
  numberFormat: u,
42810
42810
  parsingLocale: d,
@@ -42814,7 +42814,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42814
42814
  u,
42815
42815
  d,
42816
42816
  D
42817
- ]), P = G(() => A7({
42817
+ ]), _ = G(() => A7({
42818
42818
  headline: m,
42819
42819
  show: p.show,
42820
42820
  numberFormat: u,
@@ -42828,7 +42828,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42828
42828
  d,
42829
42829
  D,
42830
42830
  o
42831
- ]), j = si(), X = ke(), ee = ce(sme, X), ne = ce(Ek, X), oe = ce(ev, X), te = ce(lme, X), ae = ce(cme, X), ie = ce(ume, X), se = ce(dme, X), { fontFamily: $, textScale: Y, strokeWidth: q, fill: F } = ee, le = G(() => iC(b, {}, $), [b, $]), J = G(() => ({
42831
+ ]), j = si(), X = ke(), ee = ce(cme, X), ne = ce(Ek, X), oe = ce(ev, X), te = ce(ume, X), ae = ce(dme, X), ie = ce(hme, X), se = ce(fme, X), { fontFamily: $, textScale: Y, strokeWidth: q, fill: F } = ee, le = G(() => iC(b, {}, $), [b, $]), J = G(() => ({
42832
42832
  width: Math.max(0, e - 2 * q),
42833
42833
  height: Math.max(0, t - 2 * q)
42834
42834
  }), [
@@ -42839,13 +42839,13 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42839
42839
  v.brandMark.enabled,
42840
42840
  v.brandMark.variant,
42841
42841
  J
42842
- ]), Te = v.brandMark.placement === "footer" ? Se : "hidden", qe = v.brandMark.placement === "header" ? Se : "hidden", at = G(() => P ? {
42843
- formatted: P,
42842
+ ]), Te = v.brandMark.placement === "footer" ? Se : "hidden", qe = v.brandMark.placement === "header" ? Se : "hidden", at = G(() => _ ? {
42843
+ formatted: _,
42844
42844
  size: p.size,
42845
42845
  position: p.position,
42846
42846
  innerRadius: f.type === "polar" ? f.innerRadius : 0
42847
42847
  } : void 0, [
42848
- P,
42848
+ _,
42849
42849
  p.size,
42850
42850
  p.position,
42851
42851
  f
@@ -42897,7 +42897,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42897
42897
  metrics: le,
42898
42898
  children: /* @__PURE__ */ g(xce, { children: /* @__PURE__ */ g(Hce, {
42899
42899
  panelRect: Ce.panel,
42900
- children: /* @__PURE__ */ g(nme, {
42900
+ children: /* @__PURE__ */ g(ome, {
42901
42901
  graphChrome: ee,
42902
42902
  isEditable: R,
42903
42903
  mode: a,
@@ -42922,7 +42922,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42922
42922
  subtitleStyle: ae,
42923
42923
  brandMark: qe
42924
42924
  }),
42925
- /* @__PURE__ */ g(zfe, {
42925
+ /* @__PURE__ */ g(Kfe, {
42926
42926
  formattedAxes: Pt,
42927
42927
  plotRect: Ce.plot,
42928
42928
  panelBorder: rr,
@@ -42938,7 +42938,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42938
42938
  showAnnotations: T.annotations
42939
42939
  }),
42940
42940
  /* @__PURE__ */ g(L, {
42941
- ref: _,
42941
+ ref: P,
42942
42942
  footerRect: Ce.footer,
42943
42943
  mode: a,
42944
42944
  caption: v.caption,
@@ -42953,8 +42953,8 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42953
42953
  formattedLegends: k,
42954
42954
  rects: Ce.legends
42955
42955
  }),
42956
- P && ht && /* @__PURE__ */ g(C, {
42957
- headline: P,
42956
+ _ && ht && /* @__PURE__ */ g(C, {
42957
+ headline: _,
42958
42958
  rect: ht.rect,
42959
42959
  resolvedSize: ht.resolvedSize,
42960
42960
  visibleItemCount: ht.visibleItemCount,
@@ -42974,10 +42974,10 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42974
42974
  })
42975
42975
  })
42976
42976
  });
42977
- }, sme = (e) => e.graph().resolve(), lme = (e) => e.heading.h1().resolve(), cme = (e) => e.heading.h2().resolve(), ume = (e) => e.caption().resolve(), dme = (e) => ({
42977
+ }, cme = (e) => e.graph().resolve(), ume = (e) => e.heading.h1().resolve(), dme = (e) => e.heading.h2().resolve(), hme = (e) => e.caption().resolve(), fme = (e) => ({
42978
42978
  label: e.source().resolve(),
42979
42979
  link: e.source.link().resolve()
42980
- }), Ove = (e) => {
42980
+ }), Bve = (e) => {
42981
42981
  const t = ue(Qp), r = qp();
42982
42982
  return G(() => e || (t ? {
42983
42983
  commands: t.commands,
@@ -42995,10 +42995,10 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42995
42995
  t,
42996
42996
  r
42997
42997
  ]);
42998
- }, Nve = (e) => qA(e.subscribe, e.getScene, e.getScene), Bve = () => {
42998
+ }, Vve = (e) => qA(e.subscribe, e.getScene, e.getScene), Fve = () => {
42999
42999
  const { commands: e } = vt();
43000
43000
  return e;
43001
- }, Vve = () => {
43001
+ }, Hve = () => {
43002
43002
  const { history: e } = vt(), { stack: t, undo: r, redo: n } = e, i = Le((s) => t.subscribe(s), [t]), o = Le(() => t.getSnapshot(), [t]), a = qA(i, o, o);
43003
43003
  return G(() => ({
43004
43004
  ...a,
@@ -43009,11 +43009,11 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43009
43009
  r,
43010
43010
  n
43011
43011
  ]);
43012
- }, hme = (e) => {
43012
+ }, mme = (e) => {
43013
43013
  if (e.altKey || !e.metaKey && !e.ctrlKey) return null;
43014
43014
  const t = e.key.toLowerCase();
43015
43015
  return t === "z" ? e.shiftKey ? "redo" : "undo" : t === "y" && e.ctrlKey && !e.shiftKey ? "redo" : null;
43016
- }, fme = /* @__PURE__ */ new Set([
43016
+ }, pme = /* @__PURE__ */ new Set([
43017
43017
  "button",
43018
43018
  "checkbox",
43019
43019
  "color",
@@ -43024,14 +43024,14 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43024
43024
  "range",
43025
43025
  "reset",
43026
43026
  "submit"
43027
- ]), Fve = (e, t = {}) => {
43027
+ ]), Gve = (e, t = {}) => {
43028
43028
  const { target: r, enabled: n = !0 } = t;
43029
43029
  be(() => {
43030
- const i = mme(r);
43030
+ const i = gme(r);
43031
43031
  if (!n || !i) return;
43032
43032
  const o = (a) => {
43033
- if (!pme(a) || a.defaultPrevented || gme(a.target)) return;
43034
- const s = hme(a);
43033
+ if (!vme(a) || a.defaultPrevented || yme(a.target)) return;
43034
+ const s = mme(a);
43035
43035
  if (!s) return;
43036
43036
  const l = e.current;
43037
43037
  l && (s === "undo" ? l.undo() : l.redo()) && a.preventDefault();
@@ -43042,7 +43042,7 @@ var rme = [], nme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43042
43042
  r,
43043
43043
  n
43044
43044
  ]);
43045
- }, mme = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, pme = (e) => "key" in e, gme = (e) => e instanceof HTMLInputElement ? !fme.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, Hve = () => {
43045
+ }, gme = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, vme = (e) => "key" in e, yme = (e) => e instanceof HTMLInputElement ? !pme.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, $ve = () => {
43046
43046
  const { targetBoundaryStore: e } = vt();
43047
43047
  return Mn(e, (t) => t.boundary);
43048
43048
  };
@@ -43053,14 +43053,14 @@ function aR(e) {
43053
43053
  brandMark: { enabled: !0 }
43054
43054
  } } });
43055
43055
  }
43056
- var Gve = (e) => {
43056
+ var Wve = (e) => {
43057
43057
  const t = G(() => aR(e.spec), [e.spec]);
43058
43058
  return /* @__PURE__ */ g(RC, {
43059
43059
  ...e,
43060
43060
  spec: t
43061
43061
  });
43062
43062
  };
43063
- function $ve(e = {}) {
43063
+ function jve(e = {}) {
43064
43064
  const t = Kie(e), r = t.GraphProvider;
43065
43065
  return {
43066
43066
  ...t,
@@ -43083,22 +43083,22 @@ export {
43083
43083
  hoe as DefaultGeomLine,
43084
43084
  moe as DefaultGeomPath,
43085
43085
  foe as DefaultGeomRect,
43086
- bfe as DefaultGrid,
43086
+ wfe as DefaultGrid,
43087
43087
  bue as DefaultHeader,
43088
43088
  Pne as DefaultSwatch,
43089
43089
  Yle as DefaultTooltip,
43090
- _ve as DevToolsPanel,
43090
+ Ive as DevToolsPanel,
43091
43091
  wn as GRAPH_MODES,
43092
43092
  we as GROUP_VARIABLES,
43093
43093
  an as Geom,
43094
- Sve as GeomCircle,
43095
- Tve as GeomLine,
43096
- Eve as GeomPath,
43097
- Mve as GeomRect,
43094
+ Mve as GeomCircle,
43095
+ Eve as GeomLine,
43096
+ Pve as GeomPath,
43097
+ kve as GeomRect,
43098
43098
  jX as GraphErrorBoundary,
43099
43099
  Zb as GraphErrorPanel,
43100
- Gve as GraphProvider,
43101
- Dve as GraphRenderer,
43100
+ Wve as GraphProvider,
43101
+ Nve as GraphRenderer,
43102
43102
  Jie as HoverProvider,
43103
43103
  Kne as IntroFade,
43104
43104
  V_ as IntroWipeClip,
@@ -43106,8 +43106,8 @@ export {
43106
43106
  no as Stat,
43107
43107
  tne as TextMeasurerProvider,
43108
43108
  yle as ThemeProvider,
43109
- Pve as UnitBoxSvg,
43110
- kve as UnitSpaceSvg,
43109
+ Cve as UnitBoxSvg,
43110
+ _ve as UnitSpaceSvg,
43111
43111
  Ke as UserInputError,
43112
43112
  An as VISUAL_VARIABLES,
43113
43113
  fj as annotation,
@@ -43118,17 +43118,17 @@ export {
43118
43118
  cU as config,
43119
43119
  uU as coord,
43120
43120
  Vp as createAreaPathGenerators,
43121
- $ve as createGraphyKit,
43121
+ jve as createGraphyKit,
43122
43122
  Hp as createLinePathGenerator,
43123
43123
  mU as createSpec,
43124
- Ape as createStableBandKeyGenerator,
43124
+ Tpe as createStableBandKeyGenerator,
43125
43125
  SY as createStableCellKeyGenerator,
43126
43126
  tr as createStableKeyGenerator,
43127
43127
  kk as createStyleResolver,
43128
43128
  dt as createValueFormatter,
43129
43129
  vle as darkTheme,
43130
- Ave as defineGeomRenderer,
43131
- rpe as defineGeomStyleTarget,
43130
+ Tve as defineGeomRenderer,
43131
+ ipe as defineGeomStyleTarget,
43132
43132
  EY as findAttachedHit,
43133
43133
  jB as geom,
43134
43134
  ep as getAlpha,
@@ -43140,7 +43140,7 @@ export {
43140
43140
  _T as getLineType,
43141
43141
  Lu as getPaintedTileRect,
43142
43142
  Ru as getRadiusExtent,
43143
- Mme as getScaledAesthetic,
43143
+ kme as getScaledAesthetic,
43144
43144
  tp as getSize,
43145
43145
  TT as getStackRole,
43146
43146
  yG as getStrokeWidth,
@@ -43156,7 +43156,7 @@ export {
43156
43156
  b1 as getYRaw,
43157
43157
  dU as highlight,
43158
43158
  AI as lightTheme,
43159
- wve as lightenCss,
43159
+ Sve as lightenCss,
43160
43160
  hU as mapping,
43161
43161
  pU as pipe,
43162
43162
  Yr as polarToUnit,
@@ -43176,12 +43176,12 @@ export {
43176
43176
  YI as stampGridEditTarget,
43177
43177
  nv as stampLegendEditTarget,
43178
43178
  yU as stat,
43179
- vpe as style,
43179
+ bpe as style,
43180
43180
  IM as styles,
43181
43181
  Fe as toPaintColor,
43182
43182
  Z as toPercent,
43183
43183
  fr as toStrokeDasharray,
43184
- ype as toViewBoxX,
43184
+ xpe as toViewBoxX,
43185
43185
  Tr as toViewBoxY,
43186
43186
  re as token,
43187
43187
  MU as transform,
@@ -43190,21 +43190,21 @@ export {
43190
43190
  loe as useGeomHover,
43191
43191
  va as useGeomReaderTree,
43192
43192
  Be as useGeomStyleReader,
43193
- Bve as useGraphCommands,
43194
- Ove as useGraphHandle,
43195
- Vve as useGraphHistory,
43196
- Fve as useGraphHistoryShortcuts,
43193
+ Fve as useGraphCommands,
43194
+ Bve as useGraphHandle,
43195
+ Hve as useGraphHistory,
43196
+ Gve as useGraphHistoryShortcuts,
43197
43197
  bce as useGraphLocale,
43198
43198
  hhe as useGraphSelection,
43199
43199
  di as useGuidesTakePress,
43200
- Nve as useHandleScene,
43200
+ Vve as useHandleScene,
43201
43201
  hs as useHoverState,
43202
43202
  mr as usePaintDefs,
43203
43203
  ce as useResolvedStyle,
43204
43204
  Ee as useSceneSelector,
43205
43205
  ke as useStyleReaderTree,
43206
43206
  Lk as useStyleResolver,
43207
- Hve as useTargetBoundary,
43207
+ $ve as useTargetBoundary,
43208
43208
  si as useTextMeasurer,
43209
43209
  B as vars
43210
43210
  };