@graphysdk/react-renderer 1.9.0-beta.1795606078423 → 1.9.0-beta.1795681189498

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.
@@ -23,7 +23,7 @@ import './history-chords.css';var pa = Object.defineProperty, Sh = (e, t) => {
23
23
  });
24
24
  return t || pa(r, Symbol.toStringTag, { value: "Module" }), r;
25
25
  };
26
- typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.9.0-beta.1795606078423");
26
+ typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.9.0-beta.1795681189498");
27
27
  var os = q(null), J = () => {
28
28
  const e = H(os);
29
29
  if (!e) throw new Error("useGraph* hooks must be used inside a <GraphProvider>");
@@ -31,7 +31,7 @@ var os = q(null), J = () => {
31
31
  }, ke = () => {
32
32
  const { mode: e } = J();
33
33
  return e;
34
- }, Fk = "compile", Gk = "formatting-locale", zk = (e, t) => {
34
+ }, Dk = "compile", Fk = "formatting-locale", Gk = (e, t) => {
35
35
  const r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = () => {
36
36
  const a = [];
37
37
  for (const i of r.values()) a.push(...i);
@@ -57,7 +57,7 @@ var os = q(null), J = () => {
57
57
  e,
58
58
  t
59
59
  ]), O(() => () => r(e, []), [r, e]);
60
- }, is = q(null), Wk = is.Provider, wh = null, Jr = () => H(is) ?? (wh ??= tu()), Se = Ou, kh = {
60
+ }, is = q(null), zk = is.Provider, wh = null, Jr = () => H(is) ?? (wh ??= tu()), Se = Ou, kh = {
61
61
  centerX: 0,
62
62
  centerY: 0,
63
63
  radius: 1
@@ -307,10 +307,10 @@ var Gh = ({ style: e, ...t }, r, n) => {
307
307
  for (const o of n) o();
308
308
  };
309
309
  }, jh = process.env.NODE_ENV !== "production";
310
- var fs = q(/* @__PURE__ */ new Map()), Vt = /* @__PURE__ */ new Map(), Kt = [], Vk = (e, t) => (jh && tt(e) && console.warn(`[graphy] "${e}" is a built-in point shape. The chart draws that shape, and the shape menu hides this glyph.`), {
310
+ var fs = q(/* @__PURE__ */ new Map()), Vt = /* @__PURE__ */ new Map(), Kt = [], Wk = (e, t) => (jh && tt(e) && console.warn(`[graphy] "${e}" is a built-in point shape. The chart draws that shape, and the shape menu hides this glyph.`), {
311
311
  name: e,
312
312
  definition: t
313
- }), jk = (e, t) => [...e ?? [], ...t ?? []], Uk = ({ glyphs: e, children: t }) => {
313
+ }), Vk = (e, t) => [...e ?? [], ...t ?? []], jk = ({ glyphs: e, children: t }) => {
314
314
  const r = b(() => ev(e), [e]);
315
315
  return /* @__PURE__ */ c(fs.Provider, {
316
316
  value: r,
@@ -319,7 +319,7 @@ var fs = q(/* @__PURE__ */ new Map()), Vt = /* @__PURE__ */ new Map(), Kt = [],
319
319
  }, Qr = () => H(fs), Uh = (e, t) => {
320
320
  const r = Zh(e, t);
321
321
  return r !== void 0 ? r : Jh(e, t, Kh(e, t));
322
- }, Xk = (e) => ps(e) !== void 0, yo = ({ symbol: e, glyphs: t, size: r, fill: n, fillOpacity: o, stroke: a, strokeOpacity: i, strokeWidth: s }) => {
322
+ }, Uk = (e) => ps(e) !== void 0, yo = ({ symbol: e, glyphs: t, size: r, fill: n, fillOpacity: o, stroke: a, strokeOpacity: i, strokeWidth: s }) => {
323
323
  if (Eu(e)) return /* @__PURE__ */ c(Sa, {
324
324
  image: e.image,
325
325
  size: r,
@@ -597,7 +597,7 @@ var fs = q(/* @__PURE__ */ new Map()), Vt = /* @__PURE__ */ new Map(), Kt = [],
597
597
  "data-testid": "companion-point"
598
598
  });
599
599
  };
600
- var wa = 10 ** 2, j = (e) => Math.round(e * wa) / wa, dv = 32, Yk = (e, t) => {
600
+ var wa = 10 ** 2, j = (e) => Math.round(e * wa) / wa, dv = 32, Xk = (e, t) => {
601
601
  const r = j(t), n = j(2 * t), o = `a${r},${r} 0 1,0 ${n},0a${r},${r} 0 1,0 ${-n},0Z`;
602
602
  return e.map(({ x: a, y: i }) => `M${j(a - t)},${j(i)}${o}`).join("");
603
603
  }, uv = (e, t, r) => {
@@ -1011,7 +1011,7 @@ var Rs = () => Kr()((e, t) => {
1011
1011
  }, Iv = () => {
1012
1012
  const { begin: e } = H(bo).getState();
1013
1013
  return e;
1014
- }, qk = (e) => it(H(bo), (t) => e ? t.settledCount : 0), Fr = {
1014
+ }, Yk = (e) => it(H(bo), (t) => e ? t.settledCount : 0), Fr = {
1015
1015
  enabled: !0,
1016
1016
  trigger: "mount",
1017
1017
  durationScale: 1,
@@ -1210,10 +1210,10 @@ var Rs = () => Kr()((e, t) => {
1210
1210
  }, Os = {}, Ms = q(Os), Wv = {
1211
1211
  x: 1,
1212
1212
  y: 1
1213
- }, nr = q(null), Kk = ({ shapes: e = Os, children: t }) => /* @__PURE__ */ c(Ms.Provider, {
1213
+ }, nr = q(null), qk = ({ shapes: e = Os, children: t }) => /* @__PURE__ */ c(Ms.Provider, {
1214
1214
  value: e,
1215
1215
  children: t
1216
- }), Zk = () => H(Ms), Bs = ({ size: e, children: t }) => {
1216
+ }), Kk = () => H(Ms), Bs = ({ size: e, children: t }) => {
1217
1217
  const r = b(() => ({
1218
1218
  panel: { size: e },
1219
1219
  viewport: {
@@ -1248,7 +1248,7 @@ var Rs = () => Kr()((e, t) => {
1248
1248
  const e = H(nr);
1249
1249
  if (e === null) throw new Error("useGeomPanelSize ran outside a geom layer.");
1250
1250
  return e.panel.size;
1251
- }, Jk = () => {
1251
+ }, Zk = () => {
1252
1252
  const e = So();
1253
1253
  return e?.space !== "unit" ? Wv : {
1254
1254
  x: e.size.width,
@@ -3050,7 +3050,7 @@ var hg = 9999, vg = tn(Vu), Us = (e) => e === "full", Xs = (e, t, r) => {
3050
3050
  fontEditorControlValue: D(x.fontWeightMedium, x.fontSizeSm, x.fontLineHeightSm, Dt),
3051
3051
  fontEditorSectionTitle: D(x.fontWeightSemibold, x.fontSizeSm, x.fontLineHeightSm, Dt),
3052
3052
  fontEditorCaption: D(x.fontWeightMedium, x.fontSizeXxs, x.fontLineHeightXxs, Dt)
3053
- }, gf = (e, t) => ({ familyDefault: Sn(t) ?? Sn(e.fontFamily) ?? Sn(sn) ?? "" }), Sn = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), ce = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, ff = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, Qk = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, pf = (e, t, r) => `color-mix(in srgb, ${e}, ${t} ${Math.round(r * 1e4) / 100}%)`, e1 = (e) => /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e), t1 = (e) => e.length === 0 ? !1 : typeof CSS < "u" && typeof CSS.supports == "function" ? CSS.supports("color", e) : /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e), mf = (e) => `${e}px`, Sl = { editorControlHeight: mf(32) }, Cr = {
3053
+ }, gf = (e, t) => ({ familyDefault: Sn(t) ?? Sn(e.fontFamily) ?? Sn(sn) ?? "" }), Sn = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), ce = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, ff = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, Jk = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, pf = (e, t, r) => `color-mix(in srgb, ${e}, ${t} ${Math.round(r * 1e4) / 100}%)`, Qk = (e) => /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e), e1 = (e) => e.length === 0 ? !1 : typeof CSS < "u" && typeof CSS.supports == "function" ? CSS.supports("color", e) : /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e), mf = (e) => `${e}px`, Sl = { editorControlHeight: mf(32) }, Cr = {
3054
3054
  editOutline: 1,
3055
3055
  textToolbar: 10,
3056
3056
  textToolbarTooltip: 20,
@@ -3372,7 +3372,7 @@ var hg = 9999, vg = tn(Vu), Us = (e) => e === "full", Xs = (e, t, r) => {
3372
3372
  } catch {
3373
3373
  return new sa(new Td());
3374
3374
  }
3375
- }, Il = q(null), r1 = Il.Provider, Df = null, se = () => H(Il) ?? (Df ??= Xl()), Ff = 11.7, Gf = 0.75, Ha = 21.6, zf = "0 0 10 18", Wf = "M2.48935 16.9323L9.07098 9.82964C9.51595 9.34944 9.51504 8.60728 9.0689 8.12818L2.48866 1.06172C1.85811 0.384586 0.974477 0 0.049217 0H0V18H0.0443689C0.972463 18 1.85854 17.6131 2.48935 16.9323Z", Vf = "_16vokpr0", jf = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), Uf = (e, t) => {
3375
+ }, Il = q(null), t1 = Il.Provider, Df = null, se = () => H(Il) ?? (Df ??= Xl()), Ff = 11.7, Gf = 0.75, Ha = 21.6, zf = "0 0 10 18", Wf = "M2.48935 16.9323L9.07098 9.82964C9.51595 9.34944 9.51504 8.60728 9.0689 8.12818L2.48866 1.06172C1.85811 0.384586 0.974477 0 0.049217 0H0V18H0.0443689C0.972463 18 1.85854 17.6131 2.48935 16.9323Z", Vf = "_16vokpr0", jf = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), Uf = (e, t) => {
3376
3376
  const r = $(t);
3377
3377
  return e ? {
3378
3378
  x1: "0%",
@@ -4856,7 +4856,7 @@ function hn(e) {
4856
4856
  function Ul(e) {
4857
4857
  return e ? hn(e.render).live : !1;
4858
4858
  }
4859
- function n1(e, t) {
4859
+ function r1(e, t) {
4860
4860
  return typeof e == "string" ? {
4861
4861
  ...t,
4862
4862
  geom: e
@@ -4866,7 +4866,7 @@ function n1(e, t) {
4866
4866
  geom: e.type
4867
4867
  };
4868
4868
  }
4869
- var o1 = (e, t, r) => Xl()(e, t)?.getEditOutlineShapes?.(r) ?? [];
4869
+ var n1 = (e, t, r) => Xl()(e, t)?.getEditOutlineShapes?.(r) ?? [];
4870
4870
  function Xl(e = []) {
4871
4871
  const t = {};
4872
4872
  for (const [r, n] of Object.entries(em)) t[r] = { ...n };
@@ -4982,7 +4982,7 @@ var tm = {
4982
4982
  "right",
4983
4983
  "bottom",
4984
4984
  "left"
4985
- ], a1 = () => Kr((e) => ({
4985
+ ], o1 = () => Kr((e) => ({
4986
4986
  boundary: null,
4987
4987
  setBoundary: (t) => e((r) => im(r.boundary, t) ? r : { boundary: t })
4988
4988
  })), Gn = (e, t) => e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, zn = (e, t) => am.every((r) => e[r].from === t[r].from && e[r].to === t[r].to), im = (e, t) => e === t ? !0 : e === null || t === null ? !1 : Gn(e.frame, t.frame) && Gn(e.client, t.client) && zn(e.frameSpans, t.frameSpans) && zn(e.clientSpans, t.clientSpans), Vr = (e, t, r) => ja(e, t, 0) ? "panel" : ja(e, t, r) ? "gutter" : "outside", sm = (e) => {
@@ -5180,7 +5180,7 @@ var ym = (e, t) => {
5180
5180
  setElement: l
5181
5181
  };
5182
5182
  };
5183
- function i1() {
5183
+ function a1() {
5184
5184
  const [e, t] = V(null), r = _(null), n = _(null), o = _(null), a = Ce(() => {
5185
5185
  o.current = null;
5186
5186
  const d = n.current;
@@ -5398,7 +5398,7 @@ var bm = {
5398
5398
  }, Zl = (e = la) => {
5399
5399
  const { language: t, region: r } = new Intl.Locale(Vd(e));
5400
5400
  return [`${t}-${r}`, t].find(Cm) ?? la;
5401
- }, Cm = (e) => e in Ho, No = q(null), Im = [Ho], Jl = () => ec().translator, s1 = () => ec().dir, $m = (e) => {
5401
+ }, Cm = (e) => e in Ho, No = q(null), Im = [Ho], Jl = () => ec().translator, i1 = () => ec().dir, $m = (e) => {
5402
5402
  const t = H(No)?.requested;
5403
5403
  return {
5404
5404
  locale: t?.locale ?? e,
@@ -5434,7 +5434,7 @@ var bm = {
5434
5434
  children: t
5435
5435
  })
5436
5436
  });
5437
- }, l1 = Ql, ec = () => {
5437
+ }, s1 = Ql, ec = () => {
5438
5438
  const e = H(No);
5439
5439
  if (!e) throw new Error("useI18n must be used within IntlProvider");
5440
5440
  return e;
@@ -5531,7 +5531,7 @@ var bm = {
5531
5531
  themeClass: rc,
5532
5532
  inlineVarsStyle: {},
5533
5533
  themeValues: Co("light", {})
5534
- }, Fo = q(null), gn = () => H(Fo) ?? Wm, c1 = () => H(Fo) !== null, Vm = ({ colorScheme: e, textScale: t = 1, graphBackground: r, graphFontFamily: n, headingFontFamily: o, children: a }) => {
5534
+ }, Fo = q(null), gn = () => H(Fo) ?? Wm, l1 = () => H(Fo) !== null, Vm = ({ colorScheme: e, textScale: t = 1, graphBackground: r, graphFontFamily: n, headingFontFamily: o, children: a }) => {
5535
5535
  const i = b(() => Co(e), [e]), s = b(() => {
5536
5536
  const d = { [x.textScale]: String(t) };
5537
5537
  return r !== void 0 && (d[x.graphBackground] = r), n !== void 0 && (d[x.fontFamily] = n), o !== void 0 && (d[x.fontFamilyHeading] = o), Zr(d);
@@ -6222,7 +6222,7 @@ var pr = (e, t) => {
6222
6222
  }, G0 = (e) => !e.visible || e.ticks.length === 0, z0 = (e) => e.items.length === 0 && (e.fallbackItems?.length ?? 0) === 0, hc = () => {
6223
6223
  const { formattingLocale: e } = J(), t = B((r) => r.config.parsingLocale);
6224
6224
  return e ?? t;
6225
- }, d1 = () => Zl(hc()), ti = 0.5, vc = q(/* @__PURE__ */ new Map()), gc = q(() => {
6225
+ }, c1 = () => Zl(hc()), ti = 0.5, vc = q(/* @__PURE__ */ new Map()), gc = q(() => {
6226
6226
  }), W0 = ({ children: e }) => {
6227
6227
  const [t, r] = V(() => /* @__PURE__ */ new Map()), n = _(/* @__PURE__ */ new Map()), o = Ce((a, i, s) => {
6228
6228
  const l = n.current.get(a) ?? /* @__PURE__ */ new Set();
@@ -6268,7 +6268,7 @@ var pr = (e, t) => {
6268
6268
  if (!e.has(t)) return e;
6269
6269
  const r = new Map(e);
6270
6270
  return r.delete(t), r;
6271
- }, u1 = (e, t) => e?.annotationId === t ? e : null, Y0 = (e) => e.placement !== void 0 && "rect" in e.placement ? e.placement.rect : null, q0 = (e, t) => e.annotationId === t.annotationId && e.translation.x === t.translation.x && e.translation.y === t.translation.y && rt(e.placement, t.placement) && rt(e.ends, t.ends), h1 = (e, t, r) => e !== null && e.annotationId === t && e.endpoint === r ? e : null, K0 = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && rt(e.placement, t.placement), v1 = (e, t, r) => e !== null && e.annotationId === t && e.endpoint === r ? e : null, Z0 = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && Cd(e.point.anchor, t.point.anchor), pc = 3, J0 = (e, t) => e.heads === t.heads && e.start === t.start && e.startObservationIndex === t.startObservationIndex && Vn(e.pointer, t.pointer) && Vn(e.startPoint, t.startPoint) && e.placement === t.placement, Q0 = (e, t) => e.start.x === t.start.x && e.start.y === t.start.y && Vn(e.pointer, t.pointer) && rt(e.placement, t.placement), g1 = (e) => e === "both" ? {
6271
+ }, d1 = (e, t) => e?.annotationId === t ? e : null, Y0 = (e) => e.placement !== void 0 && "rect" in e.placement ? e.placement.rect : null, q0 = (e, t) => e.annotationId === t.annotationId && e.translation.x === t.translation.x && e.translation.y === t.translation.y && rt(e.placement, t.placement) && rt(e.ends, t.ends), u1 = (e, t, r) => e !== null && e.annotationId === t && e.endpoint === r ? e : null, K0 = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && rt(e.placement, t.placement), h1 = (e, t, r) => e !== null && e.annotationId === t && e.endpoint === r ? e : null, Z0 = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && Cd(e.point.anchor, t.point.anchor), pc = 3, J0 = (e, t) => e.heads === t.heads && e.start === t.start && e.startObservationIndex === t.startObservationIndex && Vn(e.pointer, t.pointer) && Vn(e.startPoint, t.startPoint) && e.placement === t.placement, Q0 = (e, t) => e.start.x === t.start.x && e.start.y === t.start.y && Vn(e.pointer, t.pointer) && rt(e.placement, t.placement), v1 = (e) => e === "both" ? {
6272
6272
  startArrowheadStyle: "lineArrow",
6273
6273
  endArrowheadStyle: "lineArrow"
6274
6274
  } : e === "none" ? {
@@ -6277,17 +6277,17 @@ var pr = (e, t) => {
6277
6277
  } : {
6278
6278
  startArrowheadStyle: "none",
6279
6279
  endArrowheadStyle: "lineArrow"
6280
- }, f1 = (e, t, r) => {
6280
+ }, g1 = (e, t, r) => {
6281
6281
  if (t === null || t.width <= 0 || t.height <= 0) return null;
6282
6282
  const n = (e.x - t.left) / t.width, o = (e.y - t.top) / t.height;
6283
6283
  return !Number.isFinite(n) || !Number.isFinite(o) ? null : {
6284
6284
  x: ri(n, r.minX, r.maxX),
6285
6285
  y: ri(o, r.minY, r.maxY)
6286
6286
  };
6287
- }, p1 = (e, t, r) => {
6287
+ }, f1 = (e, t, r) => {
6288
6288
  const n = (t.x - e.x) * r.width, o = (t.y - e.y) * r.height;
6289
6289
  return Math.hypot(n, o) < pc;
6290
- }, m1 = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) < pc, y1 = (e) => e.start.anchorType !== "panel", x1 = (e) => {
6290
+ }, p1 = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) < pc, m1 = (e) => e.start.anchorType !== "panel", y1 = (e) => {
6291
6291
  if (typeof e != "object" || e === null || "detail" in e && e.detail === 0 || !("clientX" in e) || !("clientY" in e)) return;
6292
6292
  const { clientX: t, clientY: r } = e;
6293
6293
  if (!(typeof t != "number" || typeof r != "number"))
@@ -6295,7 +6295,7 @@ var pr = (e, t) => {
6295
6295
  x: t,
6296
6296
  y: r
6297
6297
  };
6298
- }, Vn = (e, t) => e?.x === t?.x && e?.y === t?.y, ri = (e, t, r) => Math.min(Math.max(e, t), r), b1 = (e, t) => e !== null && e.annotationId === t ? e : null, ey = (e, t) => e.annotationId === t.annotationId && e.region.x === t.region.x && e.region.y === t.region.y && e.region.width === t.region.width && e.region.height === t.region.height && rt(e.placement?.region, t.placement?.region), S1 = (e, t) => e !== null && e.annotationId === t ? e : null, ty = (e, t) => e.annotationId === t.annotationId && rt(e.at, t.at) && rt(e.point, t.point) && e.width === t.width && e.shift === t.shift, je = ({ standingInteraction: e }, t) => e !== null && He(e, t) ? e : null, ry = (e, t) => {
6298
+ }, Vn = (e, t) => e?.x === t?.x && e?.y === t?.y, ri = (e, t, r) => Math.min(Math.max(e, t), r), x1 = (e, t) => e !== null && e.annotationId === t ? e : null, ey = (e, t) => e.annotationId === t.annotationId && e.region.x === t.region.x && e.region.y === t.region.y && e.region.width === t.region.width && e.region.height === t.region.height && rt(e.placement?.region, t.placement?.region), b1 = (e, t) => e !== null && e.annotationId === t ? e : null, ty = (e, t) => e.annotationId === t.annotationId && rt(e.at, t.at) && rt(e.point, t.point) && e.width === t.width && e.shift === t.shift, je = ({ standingInteraction: e }, t) => e !== null && He(e, t) ? e : null, ry = (e, t) => {
6299
6299
  if (e === null) return !1;
6300
6300
  switch (t.kind) {
6301
6301
  case "arrow-draw":
@@ -6315,14 +6315,14 @@ var pr = (e, t) => {
6315
6315
  case "chrome-popup":
6316
6316
  return He(e, t.kind);
6317
6317
  }
6318
- }, He = (e, t) => e.kind === t, w1 = (e, t, r, n) => {
6318
+ }, He = (e, t) => e.kind === t, S1 = (e, t, r, n) => {
6319
6319
  const o = mc(r.layerId, e, t, n);
6320
6320
  return o === null ? null : {
6321
6321
  observationIndex: e,
6322
6322
  predicate: o.predicate,
6323
6323
  selectedFor: r
6324
6324
  };
6325
- }, k1 = ({ observationIndex: e, predicate: t, selectedFor: r }, n, o) => {
6325
+ }, w1 = ({ observationIndex: e, predicate: t, selectedFor: r }, n, o) => {
6326
6326
  const a = mc(r.layerId, e, n, o);
6327
6327
  return a !== null && Li(a.predicate, t) ? a.standing : null;
6328
6328
  }, ny = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.observationIndex === t.observationIndex && Li(e.predicate, t.predicate) && qt(e.selectedFor, t.selectedFor), mc = (e, t, r, n) => {
@@ -6341,7 +6341,7 @@ var pr = (e, t) => {
6341
6341
  },
6342
6342
  predicate: i.predicate
6343
6343
  };
6344
- }, T1 = ({ stamped: e, observations: t }) => e !== null && e.kind !== "grid" ? e : t !== null ? {
6344
+ }, k1 = ({ stamped: e, observations: t }) => e !== null && e.kind !== "grid" ? e : t !== null ? {
6345
6345
  kind: "observations",
6346
6346
  observations: t
6347
6347
  } : e, oy = (e, t) => {
@@ -6385,13 +6385,13 @@ var pr = (e, t) => {
6385
6385
  setPressedObservation: (t) => e((r) => ny(r.pressedObservation, t) ? r : { pressedObservation: t }),
6386
6386
  setPlotMenu: (t) => e((r) => sy(r.plotMenu, t) ? r : { plotMenu: t }),
6387
6387
  setAnnotatePress: (t) => e((r) => iy(r.annotatePress, t) ? r : { annotatePress: t })
6388
- })), iy = (e, t) => e === t || e !== null && t !== null && e.key === t.key && e.x === t.x && e.y === t.y, sy = (e, t) => e === t || e !== null && t !== null && e.x === t.x && e.y === t.y && e.arrowId === t.arrowId, ly = (e, t) => e === t ? !0 : e === null || t === null ? !1 : qt(e.target, t.target) && e.frameScale === t.frameScale && Gn(e.frame, t.frame) && zn(e.frameSpans, t.frameSpans), Xo = q(null), cy = xc(), A1 = ({ children: e }) => {
6388
+ })), iy = (e, t) => e === t || e !== null && t !== null && e.key === t.key && e.x === t.x && e.y === t.y, sy = (e, t) => e === t || e !== null && t !== null && e.x === t.x && e.y === t.y && e.arrowId === t.arrowId, ly = (e, t) => e === t ? !0 : e === null || t === null ? !1 : qt(e.target, t.target) && e.frameScale === t.frameScale && Gn(e.frame, t.frame) && zn(e.frameSpans, t.frameSpans), Xo = q(null), cy = xc(), T1 = ({ children: e }) => {
6389
6389
  const [t] = V(() => xc());
6390
6390
  return /* @__PURE__ */ c(Xo.Provider, {
6391
6391
  value: t,
6392
6392
  children: e
6393
6393
  });
6394
- }, P1 = () => {
6394
+ }, A1 = () => {
6395
6395
  const e = H(Xo);
6396
6396
  if (e === null) throw new Error("useEditorStore must be used inside an <EditorProvider>.");
6397
6397
  return e;
@@ -6547,7 +6547,7 @@ var bc = q(null), dy = ({ panelRect: e, children: t }) => {
6547
6547
  Title: null,
6548
6548
  Caption: null,
6549
6549
  TextAnnotation: null
6550
- }), L1 = ({ editors: e, children: t }) => /* @__PURE__ */ c(Sc.Provider, {
6550
+ }), P1 = ({ editors: e, children: t }) => /* @__PURE__ */ c(Sc.Provider, {
6551
6551
  value: e,
6552
6552
  children: t
6553
6553
  }), Yo = () => H(Sc), ai = "_4dlrid0", fy = "xfz7dq0";
@@ -6690,13 +6690,13 @@ var ky = "_15xngrw2", Ty = "_15xngrw3", Ay = "_15xngrw4", Py = "_15xngrw5", Ly =
6690
6690
  var qo = 1, Ko = 2, kc = "body", ii = (e, t) => {
6691
6691
  const r = t === "title" ? qo : Ko;
6692
6692
  return Vy(e).map((n) => Zo(n, r));
6693
- }, E1 = ({ title: e, showTitle: t, subtitle: r, showSubtitle: n }) => {
6693
+ }, L1 = ({ title: e, showTitle: t, subtitle: r, showSubtitle: n }) => {
6694
6694
  const o = [];
6695
6695
  return t && o.push(Gy(e)), n && o.push(...zy(r)), {
6696
6696
  type: "doc",
6697
6697
  content: o
6698
6698
  };
6699
- }, R1 = (e, t) => {
6699
+ }, E1 = (e, t) => {
6700
6700
  const r = e.content ?? [], n = t ? r[0] : void 0, o = t ? r.slice(1) : r;
6701
6701
  return {
6702
6702
  title: n === void 0 ? null : Wy(jn(n)),
@@ -6792,7 +6792,7 @@ var qo = 1, Ko = 2, kc = "body", ii = (e, t) => {
6792
6792
  type: "doc",
6793
6793
  content: t
6794
6794
  };
6795
- }, Yy = "zhdn4s0", C1 = "zhdn4s1", zt = {
6795
+ }, Yy = "zhdn4s0", R1 = "zhdn4s1", zt = {
6796
6796
  h1: {
6797
6797
  fontFamily: "var(--zhdn4s2)",
6798
6798
  fontSize: "var(--zhdn4s3)",
@@ -7109,7 +7109,7 @@ var ux = ({ segment: e, itemStyle: t }) => {
7109
7109
  if (r === null || !/^(0|[1-9]\d*)$/.test(r)) return null;
7110
7110
  const n = Number(r);
7111
7111
  return Number.isSafeInteger(n) ? n : null;
7112
- }, ut = "data-edit-kind", xx = "data-chart-label", $c = "data-edit-id", jr = "data-edit-axis", _c = "data-edit-tick-index", Oc = "data-legend-overflow-control", I1 = `[${Oc}]`, bx = "observations", Mc = "data-live-geom", Sx = `[${ut}]`, fn = (e) => ({ [xx]: e }), It = (e) => ({
7112
+ }, ut = "data-edit-kind", xx = "data-chart-label", $c = "data-edit-id", jr = "data-edit-axis", _c = "data-edit-tick-index", Oc = "data-legend-overflow-control", C1 = `[${Oc}]`, bx = "observations", Mc = "data-live-geom", Sx = `[${ut}]`, fn = (e) => ({ [xx]: e }), It = (e) => ({
7113
7113
  [ut]: e.kind,
7114
7114
  [$c]: e.id
7115
7115
  }), Qo = (e, t) => ({
@@ -7122,7 +7122,7 @@ var ux = ({ segment: e, itemStyle: t }) => {
7122
7122
  }), Bc = (e) => ({
7123
7123
  [ut]: "grid",
7124
7124
  [jr]: e
7125
- }), $1 = (e, t) => {
7125
+ }), I1 = (e, t) => {
7126
7126
  for (const r of e) {
7127
7127
  const n = r.closest(Sx);
7128
7128
  if (n === null || !t.contains(n)) continue;
@@ -7134,7 +7134,7 @@ var ux = ({ segment: e, itemStyle: t }) => {
7134
7134
  }, Hc = ({ live: e = !1 } = {}) => ({
7135
7135
  [ut]: bx,
7136
7136
  ...e ? { [Mc]: "" } : {}
7137
- }), _1 = (e, t) => {
7137
+ }), $1 = (e, t) => {
7138
7138
  if (!(e instanceof Element)) return !1;
7139
7139
  const r = e.closest(`[${Mc}]`);
7140
7140
  return r !== null && r !== e && t.contains(r);
@@ -7883,7 +7883,7 @@ var wn = "\0", hb = (e, t) => {
7883
7883
  width: o,
7884
7884
  height: a
7885
7885
  };
7886
- }, O1 = (e, t, r) => {
7886
+ }, _1 = (e, t, r) => {
7887
7887
  for (const n of Object.values(Xc)) {
7888
7888
  const o = n(e, t, r);
7889
7889
  if (o !== null) return o;
@@ -8669,7 +8669,7 @@ var wn = "\0", hb = (e, t) => {
8669
8669
  })
8670
8670
  }, s.id))
8671
8671
  });
8672
- }, bS = "_1aj6s5s0", M1 = "_1aj6s5s1", SS = Object.fromEntries(hf.map((e) => [x[e], e])), pi = (e, t) => {
8672
+ }, bS = "_1aj6s5s0", O1 = "_1aj6s5s1", SS = Object.fromEntries(hf.map((e) => [x[e], e])), pi = (e, t) => {
8673
8673
  const r = SS[e];
8674
8674
  return r === void 0 ? e : t[r];
8675
8675
  }, wS = (e) => {
@@ -8679,17 +8679,17 @@ var wn = "\0", hb = (e, t) => {
8679
8679
  if (e.hasAuthoredTextColor || e.fill === "transparent") return e.textColor;
8680
8680
  const n = Qi(pi(X(e.fill), t), e.fillAlpha), o = r === void 0 ? void 0 : pi(r, t), a = (o === void 0 ? void 0 : Je(n, o)) ?? ho(n);
8681
8681
  return a === void 0 ? e.textColor : wt(e.textColor, a);
8682
- }, TS = 0.1, B1 = ({ annotation: e, panel: t, style: r, blockRef: n }) => /* @__PURE__ */ c(Zc, {
8682
+ }, TS = 0.1, M1 = ({ annotation: e, panel: t, style: r, blockRef: n }) => /* @__PURE__ */ c(Zc, {
8683
8683
  annotation: e,
8684
8684
  panel: t,
8685
8685
  style: r,
8686
8686
  blockRef: n,
8687
8687
  children: /* @__PURE__ */ c(bt, { content: e.content })
8688
8688
  }), Zc = ({ annotation: e, panel: t, style: r, blockRef: n, children: o }) => {
8689
- const a = wS(r), i = Qt(e.at, t);
8689
+ const a = wS(r), i = Qt(e.at, t), s = Pi(e.align), l = s.y * t.height;
8690
8690
  return /* @__PURE__ */ c("foreignObject", {
8691
- x: i.x,
8692
- y: i.y,
8691
+ x: i.x - s.x * e.width * t.width,
8692
+ y: i.y - l,
8693
8693
  width: $(e.width),
8694
8694
  height: t.height,
8695
8695
  overflow: "visible",
@@ -8698,17 +8698,16 @@ var wn = "\0", hb = (e, t) => {
8698
8698
  ref: n,
8699
8699
  className: bS,
8700
8700
  style: {
8701
- ...PS(r, a),
8702
- transform: AS(e.align)
8701
+ ...AS(r, a),
8702
+ position: "relative",
8703
+ top: l,
8704
+ transform: `translateY(${-s.y * 100}%)`
8703
8705
  },
8704
8706
  children: o
8705
8707
  })
8706
8708
  });
8707
- }, AS = (e) => {
8708
- const t = Pi(e);
8709
- return `translate(${-t.x * 100}%, ${-t.y * 100}%)`;
8710
- }, PS = (e, t) => {
8711
- const { backgroundColor: r, borderShadow: n } = LS(e), o = [n, e.shadow === void 0 || e.shadow === "none" ? void 0 : At(e.shadow)].filter((a) => a !== void 0);
8709
+ }, AS = (e, t) => {
8710
+ const { backgroundColor: r, borderShadow: n } = PS(e), o = [n, e.shadow === void 0 || e.shadow === "none" ? void 0 : At(e.shadow)].filter((a) => a !== void 0);
8712
8711
  return {
8713
8712
  ...me(e),
8714
8713
  color: t,
@@ -8718,7 +8717,7 @@ var wn = "\0", hb = (e, t) => {
8718
8717
  ...r === void 0 ? {} : { backgroundColor: r },
8719
8718
  ...o.length === 0 ? {} : { boxShadow: o.join(", ") }
8720
8719
  };
8721
- }, LS = (e) => {
8720
+ }, PS = (e) => {
8722
8721
  if (e.fill === "transparent") return {};
8723
8722
  const t = X(e.fill), r = e.fillAlpha < 1 ? ce(t, e.fillAlpha) : t;
8724
8723
  if (e.strokeWidth <= 0) return { backgroundColor: r };
@@ -8727,18 +8726,18 @@ var wn = "\0", hb = (e, t) => {
8727
8726
  backgroundColor: r,
8728
8727
  borderShadow: `0 0 0 ${e.strokeWidth}px ${n}`
8729
8728
  };
8730
- }, ES = (e) => {
8729
+ }, LS = (e) => {
8731
8730
  const t = xr(e).textAnnotations, r = Ie((n) => je(n, "text-resize-drag"));
8732
- return b(() => t.map((n) => RS(n, r)), [t, r]);
8733
- }, RS = (e, t) => t === null || t.annotationId !== e.id ? e : {
8731
+ return b(() => t.map((n) => ES(n, r)), [t, r]);
8732
+ }, ES = (e, t) => t === null || t.annotationId !== e.id ? e : {
8734
8733
  ...e,
8735
8734
  at: t.point ?? {
8736
8735
  ...e.at,
8737
8736
  x: e.at.x + t.shift
8738
8737
  },
8739
8738
  width: t.width
8740
- }, CS = ({ panelRect: e }) => {
8741
- const t = ES(e), r = N(), n = yr(), o = mr(), a = t.filter((i) => i.id !== n);
8739
+ }, RS = ({ panelRect: e }) => {
8740
+ const t = LS(e), r = N(), n = yr(), o = mr(), a = t.filter((i) => i.id !== n);
8742
8741
  return a.length === 0 ? null : /* @__PURE__ */ c("svg", {
8743
8742
  x: e.x,
8744
8743
  y: e.y,
@@ -8746,14 +8745,14 @@ var wn = "\0", hb = (e, t) => {
8746
8745
  height: e.height,
8747
8746
  overflow: "visible",
8748
8747
  "data-testid": "text-annotations",
8749
- children: a.map((i) => /* @__PURE__ */ c(IS, {
8748
+ children: a.map((i) => /* @__PURE__ */ c(CS, {
8750
8749
  annotation: i,
8751
8750
  panel: e,
8752
8751
  style: Qu(r, i.id),
8753
8752
  movable: o === i.id
8754
8753
  }, i.id))
8755
8754
  });
8756
- }, IS = ({ annotation: e, panel: t, style: r, movable: n }) => {
8755
+ }, CS = ({ annotation: e, panel: t, style: r, movable: n }) => {
8757
8756
  const o = j0(e.id), a = Ie((s) => s.caret?.annotationId === e.id), { TextAnnotation: i } = Yo();
8758
8757
  return /* @__PURE__ */ c("g", {
8759
8758
  ...It({
@@ -8769,11 +8768,11 @@ var wn = "\0", hb = (e, t) => {
8769
8768
  children: a && i ? /* @__PURE__ */ c(i, { annotation: e }) : /* @__PURE__ */ c(bt, { content: e.content })
8770
8769
  })
8771
8770
  });
8772
- }, $S = "ph8bdc0";
8773
- var _S = "ph8bdc2", mi = {
8771
+ }, IS = "ph8bdc0";
8772
+ var $S = "ph8bdc2", mi = {
8774
8773
  hittable: "ph8bdc4 ph8bdc3",
8775
8774
  inert: "ph8bdc5 ph8bdc3"
8776
- }, OS = ({ cx: e, cy: t, color: r, style: n }) => {
8775
+ }, _S = ({ cx: e, cy: t, color: r, style: n }) => {
8777
8776
  const o = st(n.shadow);
8778
8777
  return /* @__PURE__ */ c("circle", {
8779
8778
  cx: e,
@@ -8787,7 +8786,7 @@ var _S = "ph8bdc2", mi = {
8787
8786
  }
8788
8787
  });
8789
8788
  };
8790
- function MS(e) {
8789
+ function OS(e) {
8791
8790
  const t = Ge(), { formattingLocale: r } = J(), n = N(), o = B(ve((l) => ({
8792
8791
  pinnedNumbers: l.annotations.pinnedNumbers,
8793
8792
  comments: l.annotations.comments,
@@ -8798,7 +8797,7 @@ function MS(e) {
8798
8797
  numberFormat: o.numberFormat,
8799
8798
  locale: a
8800
8799
  }), [o.numberFormat, a]), s = b(() => (l, d, u) => {
8801
- const h = Cn(n, l === "pinnedNumber" ? "pinnedNumber" : "comment", d).label, v = oe(h, sn), f = BS(t, l, u, v), g = t.measureText(f, v), p = l === "pinnedNumber" ? 15 : 0;
8800
+ const h = Cn(n, l === "pinnedNumber" ? "pinnedNumber" : "comment", d).label, v = oe(h, sn), f = MS(t, l, u, v), g = t.measureText(f, v), p = l === "pinnedNumber" ? 15 : 0;
8802
8801
  return {
8803
8802
  width: g.width + p + (h.paddingInline + h.strokeWidth) * 2,
8804
8803
  height: Math.max(g.height, 10) + (h.paddingBlock + h.strokeWidth) * 2,
@@ -8821,11 +8820,11 @@ function MS(e) {
8821
8820
  i
8822
8821
  ]);
8823
8822
  }
8824
- var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o, n).width), yi = "callouts", HS = ({ panelRect: e }) => {
8823
+ var MS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o, n).width), yi = "callouts", BS = ({ panelRect: e }) => {
8825
8824
  const { pinnedNumbers: t, comments: r } = B(ve((g) => ({
8826
8825
  pinnedNumbers: g.annotations.pinnedNumbers,
8827
8826
  comments: g.annotations.comments
8828
- }))), n = B((g) => g.coordSystem), o = se(), a = Ih(10), i = N(), s = MS(e), { store: l } = dt(), d = b(() => {
8827
+ }))), n = B((g) => g.coordSystem), o = se(), a = Ih(10), i = N(), s = OS(e), { store: l } = dt(), d = b(() => {
8829
8828
  const g = /* @__PURE__ */ new Map();
8830
8829
  for (const p of t) g.set(p.id, p.at);
8831
8830
  for (const p of r) g.set(p.id, p.at);
@@ -8855,7 +8854,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
8855
8854
  width: e.width,
8856
8855
  height: e.height,
8857
8856
  overflow: "visible",
8858
- className: $S,
8857
+ className: IS,
8859
8858
  "data-testid": "callouts",
8860
8859
  children: s.map((g) => {
8861
8860
  if (!g.inView) return null;
@@ -8873,7 +8872,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
8873
8872
  overflow: "visible",
8874
8873
  children: /* @__PURE__ */ T("div", {
8875
8874
  className: k ? mi.hittable : mi.inert,
8876
- style: FS(m.label, f(m.label.fill)),
8875
+ style: DS(m.label, f(m.label.fill)),
8877
8876
  children: [g.kind === "pinnedNumber" && /* @__PURE__ */ c("span", {
8878
8877
  className: "ph8bdc1",
8879
8878
  children: /* @__PURE__ */ c(hr, {
@@ -8889,44 +8888,44 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
8889
8888
  mainAxis: sr(n)
8890
8889
  })
8891
8890
  }), /* @__PURE__ */ c("span", {
8892
- className: _S,
8893
- style: GS(m.label),
8891
+ className: $S,
8892
+ style: FS(m.label),
8894
8893
  children: g.text
8895
8894
  })]
8896
8895
  })
8897
- }), /* @__PURE__ */ c(OS, {
8896
+ }), /* @__PURE__ */ c(_S, {
8898
8897
  cx: g.anchorPx.x,
8899
8898
  cy: g.anchorPx.y,
8900
- color: NS(m.marker, S),
8899
+ color: HS(m.marker, S),
8901
8900
  style: m.marker
8902
8901
  })]
8903
8902
  }, g.id);
8904
8903
  })
8905
8904
  });
8906
- }, NS = (e, t) => e.hasAuthoredFill ? X(e.fill) : t ?? X(e.fill), DS = (e) => e.hasAuthoredTextColor ? e.textColor : wt(e.textColor, X(e.fill)), FS = (e, t) => ({
8905
+ }, HS = (e, t) => e.hasAuthoredFill ? X(e.fill) : t ?? X(e.fill), NS = (e) => e.hasAuthoredTextColor ? e.textColor : wt(e.textColor, X(e.fill)), DS = (e, t) => ({
8907
8906
  ...xt(e.fill, t),
8908
8907
  borderRadius: vr(e.cornerRadius),
8909
8908
  padding: `${e.paddingBlock}px ${e.paddingInline}px`,
8910
8909
  boxShadow: At(e.shadow),
8911
8910
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
8912
8911
  ...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
8913
- }), GS = (e) => ({
8912
+ }), FS = (e) => ({
8914
8913
  ...me(e),
8915
- color: DS(e)
8916
- }), Xt = null, Pn = null, zS = () => {
8914
+ color: NS(e)
8915
+ }), Xt = null, Pn = null, GS = () => {
8917
8916
  const [e, t] = V(Xt);
8918
8917
  return O(() => {
8919
8918
  let r = !1;
8920
- return WS().then((n) => {
8919
+ return zS().then((n) => {
8921
8920
  r || t(n);
8922
8921
  }, () => {
8923
8922
  }), () => {
8924
8923
  r = !0;
8925
8924
  };
8926
8925
  }, []), e;
8927
- }, WS = () => Xt !== null ? Promise.resolve(Xt) : (Pn ??= import("./sticker-images-BtSaTWUg.js").then((e) => (Xt = e.STICKER_IMAGES, Xt)).catch((e) => {
8926
+ }, zS = () => Xt !== null ? Promise.resolve(Xt) : (Pn ??= import("./sticker-images-BtSaTWUg.js").then((e) => (Xt = e.STICKER_IMAGES, Xt)).catch((e) => {
8928
8927
  throw Pn = null, e;
8929
- }), Pn), VS = ({ panelRect: e }) => {
8928
+ }), Pn), WS = ({ panelRect: e }) => {
8930
8929
  const t = xr(e).stickers, r = N().graph().get("textScale"), n = yr(), o = t.filter((a) => a.id !== n);
8931
8930
  return o.length === 0 ? null : /* @__PURE__ */ c("svg", {
8932
8931
  x: e.x,
@@ -8940,15 +8939,15 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
8940
8939
  kind: "annotation",
8941
8940
  id: a.id
8942
8941
  }),
8943
- children: /* @__PURE__ */ c(jS, {
8942
+ children: /* @__PURE__ */ c(VS, {
8944
8943
  sticker: a,
8945
8944
  panel: e,
8946
8945
  textScale: r
8947
8946
  })
8948
8947
  }, a.id))
8949
8948
  });
8950
- }, jS = ({ sticker: e, panel: t, textScale: r }) => {
8951
- const n = zS()?.[e.sticker], o = jc(e, t, r), a = fc(), i = ae(), { id: s } = e, l = o?.width ?? null, d = o?.height ?? null;
8949
+ }, VS = ({ sticker: e, panel: t, textScale: r }) => {
8950
+ const n = GS()?.[e.sticker], o = jc(e, t, r), a = fc(), i = ae(), { id: s } = e, l = o?.width ?? null, d = o?.height ?? null;
8952
8951
  return O(() => {
8953
8952
  if (!(l === null || d === null))
8954
8953
  return a(s, i, {
@@ -8968,14 +8967,14 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
8968
8967
  width: o.width,
8969
8968
  height: o.height
8970
8969
  });
8971
- }, US = "_1agclyl0", XS = "_1agclyl1", YS = "_1agclyl2", Jc = ({ x: e, y: t, width: r, height: n, text: o, rotated: a, labelRole: i, position: s, coordType: l, backdropColor: d }) => {
8972
- const u = N(), h = I(gr, u), v = I(sc, u), f = a ? `rotate(-90 ${e} ${t})` : void 0, g = h[i][s], p = QS(i, s, l, g), m = JS(g, p, d, v), y = m.stroke !== void 0 && (m.strokeWidth ?? 0) > 0, S = ZS(m, p, d, v), k = {
8970
+ }, jS = "_1agclyl0", US = "_1agclyl1", XS = "_1agclyl2", Jc = ({ x: e, y: t, width: r, height: n, text: o, rotated: a, labelRole: i, position: s, coordType: l, backdropColor: d }) => {
8971
+ const u = N(), h = I(gr, u), v = I(sc, u), f = a ? `rotate(-90 ${e} ${t})` : void 0, g = h[i][s], p = JS(i, s, l, g), m = ZS(g, p, d, v), y = m.stroke !== void 0 && (m.strokeWidth ?? 0) > 0, S = KS(m, p, d, v), k = {
8973
8972
  x: e - r / 2,
8974
8973
  y: t - n / 2,
8975
8974
  width: r,
8976
8975
  height: n
8977
8976
  }, A = vn(m.cornerRadius), L = m.shadow === void 0 ? void 0 : st(m.shadow), R = {
8978
- className: XS,
8977
+ className: US,
8979
8978
  fill: m.fill === void 0 ? void 0 : X(m.fill),
8980
8979
  style: L === void 0 ? void 0 : { filter: L },
8981
8980
  ...y ? {
@@ -8995,11 +8994,11 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
8995
8994
  ry: A,
8996
8995
  ...R
8997
8996
  })), /* @__PURE__ */ c("text", {
8998
- className: YS,
8997
+ className: XS,
8999
8998
  style: {
9000
8999
  ...Ct(m),
9001
9000
  ...un(m),
9002
- fill: d === void 0 ? KS(m) : qS(m, S)
9001
+ fill: d === void 0 ? qS(m) : YS(m, S)
9003
9002
  },
9004
9003
  ...dn(m),
9005
9004
  x: e,
@@ -9009,13 +9008,13 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9009
9008
  children: ar(o, m.textTransform)
9010
9009
  })]
9011
9010
  });
9012
- }, qS = (e, t) => e.hasAuthoredTextColor || t === void 0 ? e.textColor : e.hasThemedTextColor ? wt(e.textColor, t) : so(t), KS = (e) => {
9011
+ }, YS = (e, t) => e.hasAuthoredTextColor || t === void 0 ? e.textColor : e.hasThemedTextColor ? wt(e.textColor, t) : so(t), qS = (e) => {
9013
9012
  const t = ed(e);
9014
9013
  return e.hasAuthoredTextColor || t === void 0 ? e.textColor : wt(e.textColor, t);
9015
- }, ZS = (e, t, r, n) => {
9014
+ }, KS = (e, t, r, n) => {
9016
9015
  if (r !== void 0)
9017
9016
  return ed(e) ?? Qc(e, t, r, n);
9018
- }, JS = (e, t, r, n) => {
9017
+ }, ZS = (e, t, r, n) => {
9019
9018
  if (e.textOutlineColor !== qn) return e;
9020
9019
  const o = Qc(e, t, r, n);
9021
9020
  return {
@@ -9031,7 +9030,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9031
9030
  }, ed = (e) => {
9032
9031
  if (!(e.textOutlineColor === void 0 || (e.textOutlineWidth ?? 0) <= 0))
9033
9032
  return Je(void 0, e.textOutlineColor);
9034
- }, QS = (e, t, r, n) => n.fill === void 0 ? !1 : e === "aggregate" || r === "cartesian" || t === "inside", ew = ({ panelRect: e, formattingLocale: t, plotBottomY: r, hasReservedFooterSpace: n, hidePinnedCellLabels: o }) => {
9033
+ }, JS = (e, t, r, n) => n.fill === void 0 ? !1 : e === "aggregate" || r === "cartesian" || t === "inside", QS = ({ panelRect: e, formattingLocale: t, plotBottomY: r, hasReservedFooterSpace: n, hidePinnedCellLabels: o }) => {
9035
9034
  const a = Ge(), i = ct(), s = B(ve((g) => ({
9036
9035
  layers: g.layers,
9037
9036
  coordSystem: g.coordSystem,
@@ -9082,13 +9081,13 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9082
9081
  backdropColor: g.backdropColor
9083
9082
  }, `${g.layerId}:${p}`));
9084
9083
  return /* @__PURE__ */ c(ta, {
9085
- className: US,
9084
+ className: jS,
9086
9085
  transform: `translate(${e.x}, ${e.y})`,
9087
9086
  "data-testid": "data-labels",
9088
9087
  children: f
9089
9088
  });
9090
- }, tw = 0.5, rw = 2, td = (e) => {
9091
- const { ticks: t, along: r, scaleType: n, transform: o } = e, { animateTransitions: a } = ne(), [i, s] = V(null), l = b(() => rd(t), [t]), d = _(null), u = iw();
9089
+ }, ew = 0.5, tw = 2, td = (e) => {
9090
+ const { ticks: t, along: r, scaleType: n, transform: o } = e, { animateTransitions: a } = ne(), [i, s] = V(null), l = b(() => rd(t), [t]), d = _(null), u = aw();
9092
9091
  return mt(() => {
9093
9092
  const h = d.current;
9094
9093
  d.current = {
@@ -9097,7 +9096,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9097
9096
  along: r,
9098
9097
  scaleType: n,
9099
9098
  transform: o
9100
- }, !(i !== null || h === null || !a || u.current) && h.along === r && sw(h.keyed, l) && s({
9099
+ }, !(i !== null || h === null || !a || u.current) && h.along === r && iw(h.keyed, l) && s({
9101
9100
  ticks: h.ticks,
9102
9101
  scaleType: h.scaleType,
9103
9102
  transform: h.transform
@@ -9111,14 +9110,14 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9111
9110
  a,
9112
9111
  i,
9113
9112
  u
9114
- ]), i !== null ? /* @__PURE__ */ c(ow, {
9113
+ ]), i !== null ? /* @__PURE__ */ c(nw, {
9115
9114
  ...e,
9116
9115
  rested: i
9117
- }) : /* @__PURE__ */ c(nw, {
9116
+ }) : /* @__PURE__ */ c(rw, {
9118
9117
  ...e,
9119
9118
  keyed: l
9120
9119
  });
9121
- }, nw = ({ keyed: e, along: t, length: r, renderTick: n, hideAtRest: o }) => e.map(({ tick: a, key: i }, s) => {
9120
+ }, rw = ({ keyed: e, along: t, length: r, renderTick: n, hideAtRest: o }) => e.map(({ tick: a, key: i }, s) => {
9122
9121
  if (o?.(a)) return null;
9123
9122
  const l = a.position * r;
9124
9123
  return /* @__PURE__ */ c("g", {
@@ -9129,7 +9128,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9129
9128
  leaving: !1
9130
9129
  })
9131
9130
  }, i);
9132
- }), ow = ({ ticks: e, rested: t, along: r, length: n, scaleType: o, transform: a, renderTick: i, hideAtRest: s }) => {
9131
+ }), nw = ({ ticks: e, rested: t, along: r, length: n, scaleType: o, transform: a, renderTick: i, hideAtRest: s }) => {
9133
9132
  const { animateTransitions: l } = ne(), [d, u] = V(!1);
9134
9133
  mt(() => u(!0), []);
9135
9134
  const h = d ? {
@@ -9163,7 +9162,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9163
9162
  custom: y,
9164
9163
  children: g.map(({ tick: S, key: k }, A) => {
9165
9164
  const L = m !== null && !m.keys.has(k) ? m.project(S.value) ?? S.position : void 0;
9166
- return /* @__PURE__ */ c(aw, {
9165
+ return /* @__PURE__ */ c(ow, {
9167
9166
  tick: S,
9168
9167
  index: A,
9169
9168
  enterFrom: L,
@@ -9173,7 +9172,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9173
9172
  }, k);
9174
9173
  })
9175
9174
  }, r);
9176
- }, aw = ({ tick: e, index: t, enterFrom: r, along: n, animateTransitions: o, axis: a }) => {
9175
+ }, ow = ({ tick: e, index: t, enterFrom: r, along: n, animateTransitions: o, axis: a }) => {
9177
9176
  const { value: i, position: s } = e, l = hh(), d = vh(), u = l ? void 0 : d, { length: h, renderTick: v, hideAtRest: f } = u ?? a, g = u?.project(i) ?? null, p = pe(r ?? s), m = pe(r === void 0 ? 1 : 0), y = ze(p, (w) => w * h), S = Iv(), k = _(h);
9178
9177
  O(() => {
9179
9178
  k.current = h;
@@ -9230,7 +9229,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9230
9229
  leaving: !l
9231
9230
  })
9232
9231
  });
9233
- }, iw = () => {
9232
+ }, aw = () => {
9234
9233
  const e = _(!0);
9235
9234
  return mt(() => {
9236
9235
  queueMicrotask(() => {
@@ -9239,9 +9238,9 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9239
9238
  }, []), e;
9240
9239
  }, xi = (e) => e <= 0 ? _e : {
9241
9240
  ..._e,
9242
- restDelta: tw / e,
9243
- restSpeed: rw / e
9244
- }, sw = (e, t) => t.length !== e.length || t.some(({ tick: r, key: n }, o) => {
9241
+ restDelta: ew / e,
9242
+ restSpeed: tw / e
9243
+ }, iw = (e, t) => t.length !== e.length || t.some(({ tick: r, key: n }, o) => {
9245
9244
  const a = e[o];
9246
9245
  return n !== a?.key || r.position !== a.tick.position;
9247
9246
  }), rd = (e) => {
@@ -9253,7 +9252,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9253
9252
  key: o === 0 ? n : `${n}#${o}`
9254
9253
  };
9255
9254
  });
9256
- }, lw = ({ edge: e, labelRotation: t, offset: r, axisSize: n }) => {
9255
+ }, sw = ({ edge: e, labelRotation: t, offset: r, axisSize: n }) => {
9257
9256
  if (t !== 0 && (e === "top" || e === "bottom")) {
9258
9257
  const o = e === "top", a = o ? n.height - r : r;
9259
9258
  return {
@@ -9298,7 +9297,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9298
9297
  transform: void 0
9299
9298
  };
9300
9299
  }
9301
- }, cw = (e, t) => {
9300
+ }, lw = (e, t) => {
9302
9301
  const r = t.height / 2;
9303
9302
  switch (e) {
9304
9303
  case "left":
@@ -9327,8 +9326,8 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9327
9326
  transform: void 0
9328
9327
  };
9329
9328
  }
9330
- }, dw = (e, t, r, n) => {
9331
- const { width: o, ascent: a, descent: i } = t, s = a + i, l = fw(e, o), d = pw(e, a, s), u = hw(r, e, n, {
9329
+ }, cw = (e, t, r, n) => {
9330
+ const { width: o, ascent: a, descent: i } = t, s = a + i, l = gw(e, o), d = fw(e, a, s), u = uw(r, e, n, {
9332
9331
  x: l,
9333
9332
  y: d,
9334
9333
  width: o,
@@ -9341,7 +9340,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9341
9340
  height: s + u.top + u.bottom,
9342
9341
  transform: e.transform
9343
9342
  };
9344
- }, uw = (e, t) => {
9343
+ }, dw = (e, t) => {
9345
9344
  const r = e.map((o, a) => ({
9346
9345
  position: o,
9347
9346
  index: a
@@ -9350,12 +9349,12 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9350
9349
  const i = r[a - 1], s = r[a + 1], l = i === void 0 ? 1 / 0 : o.position - i.position, d = s === void 0 ? 1 / 0 : s.position - o.position, u = Math.min(l, d);
9351
9350
  n[o.index] = Number.isFinite(u) ? u * t : 1 / 0;
9352
9351
  }), n;
9353
- }, hw = (e, t, r, n) => r === void 0 ? {
9352
+ }, uw = (e, t, r, n) => r === void 0 ? {
9354
9353
  left: e,
9355
9354
  right: e,
9356
9355
  top: e,
9357
9356
  bottom: e
9358
- } : t.transform !== void 0 ? vw(e, t, r) : gw(e, r, n), vw = (e, { y: t, textAnchor: r }, { edge: n, axisSize: o }) => {
9357
+ } : t.transform !== void 0 ? hw(e, t, r) : vw(e, r, n), hw = (e, { y: t, textAnchor: r }, { edge: n, axisSize: o }) => {
9359
9358
  const a = n === "top" ? o.height - t : t, i = Yt(e, a);
9360
9359
  return r === "end" ? {
9361
9360
  left: e,
@@ -9368,7 +9367,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9368
9367
  top: e,
9369
9368
  bottom: e
9370
9369
  };
9371
- }, gw = (e, { edge: t, stepPx: r, axisSize: n }, o) => {
9370
+ }, vw = (e, { edge: t, stepPx: r, axisSize: n }, o) => {
9372
9371
  const a = bi(e, r, o.width), i = bi(e, r, o.height);
9373
9372
  switch (t) {
9374
9373
  case "bottom":
@@ -9400,7 +9399,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9400
9399
  bottom: i
9401
9400
  };
9402
9401
  }
9403
- }, Yt = (e, t) => Math.max(0, Math.min(e, t)), bi = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), fw = ({ x: e, textAnchor: t }, r) => {
9402
+ }, Yt = (e, t) => Math.max(0, Math.min(e, t)), bi = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), gw = ({ x: e, textAnchor: t }, r) => {
9404
9403
  switch (t) {
9405
9404
  case "start":
9406
9405
  return e;
@@ -9409,7 +9408,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9409
9408
  case "end":
9410
9409
  return e - r;
9411
9410
  }
9412
- }, pw = ({ y: e, dominantBaseline: t }, r, n) => {
9411
+ }, fw = ({ y: e, dominantBaseline: t }, r, n) => {
9413
9412
  switch (t) {
9414
9413
  case "hanging":
9415
9414
  return e;
@@ -9419,10 +9418,10 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9419
9418
  case "auto":
9420
9419
  return e - r;
9421
9420
  }
9422
- }, mw = {
9421
+ }, pw = {
9423
9422
  fill: "transparent",
9424
9423
  pointerEvents: "all"
9425
- }, na = ({ placement: e, text: t, style: r, hitTestable: n, bounds: o }) => /* @__PURE__ */ T(M, { children: [n && /* @__PURE__ */ c(yw, {
9424
+ }, na = ({ placement: e, text: t, style: r, hitTestable: n, bounds: o }) => /* @__PURE__ */ T(M, { children: [n && /* @__PURE__ */ c(mw, {
9426
9425
  placement: e,
9427
9426
  text: t,
9428
9427
  style: r,
@@ -9436,10 +9435,10 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9436
9435
  ...dn(r),
9437
9436
  fill: r.textColor,
9438
9437
  children: ar(t, r.textTransform)
9439
- })] }), yw = ({ placement: e, text: t, style: r, bounds: n }) => {
9438
+ })] }), mw = ({ placement: e, text: t, style: r, bounds: n }) => {
9440
9439
  const o = Ge(), { fonts: a } = ct();
9441
9440
  return /* @__PURE__ */ c("rect", {
9442
- ...b(() => dw(e, o.measureText(t, oe(r, a.familyDefault)), 3, n), [
9441
+ ...b(() => cw(e, o.measureText(t, oe(r, a.familyDefault)), 3, n), [
9443
9442
  e,
9444
9443
  o,
9445
9444
  t,
@@ -9447,12 +9446,12 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9447
9446
  a.familyDefault,
9448
9447
  n
9449
9448
  ]),
9450
- ...mw
9449
+ ...pw
9451
9450
  });
9452
- }, xw = ({ edge: e, labelRotation: t, label: r, tickLabelStyle: n, axisSize: o, stepPx: a = 1 / 0, hitTestable: i = !1 }) => {
9451
+ }, yw = ({ edge: e, labelRotation: t, label: r, tickLabelStyle: n, axisSize: o, stepPx: a = 1 / 0, hitTestable: i = !1 }) => {
9453
9452
  const { offset: s } = n;
9454
9453
  return /* @__PURE__ */ c(na, {
9455
- placement: b(() => lw({
9454
+ placement: b(() => sw({
9456
9455
  edge: e,
9457
9456
  labelRotation: t,
9458
9457
  offset: s,
@@ -9476,15 +9475,15 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9476
9475
  o
9477
9476
  ])
9478
9477
  });
9479
- }, bw = ({ formattedAxis: e, rect: t }) => {
9478
+ }, xw = ({ formattedAxis: e, rect: t }) => {
9480
9479
  const r = e.position === "bottom" || e.position === "top", n = Re(e.scaledAesthetic), o = N(), a = I(zo, o)(n, e.position), i = I(ic, o)[n], s = qe(), l = b(() => ({
9481
9480
  width: t.width,
9482
9481
  height: t.height
9483
- }), [t.width, t.height]), d = r ? t.width : t.height, u = b(() => s ? uw(e.ticks.map((v) => v.position), d) : void 0, [
9482
+ }), [t.width, t.height]), d = r ? t.width : t.height, u = b(() => s ? dw(e.ticks.map((v) => v.position), d) : void 0, [
9484
9483
  s,
9485
9484
  e.ticks,
9486
9485
  d
9487
- ]), h = Sw({
9486
+ ]), h = bw({
9488
9487
  edge: e.position,
9489
9488
  rect: t,
9490
9489
  length: i.length
@@ -9513,7 +9512,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9513
9512
  strokeWidth: i.strokeWidth,
9514
9513
  strokeDasharray: at(i.dashArray, i.strokeWidth),
9515
9514
  pointerEvents: s ? "none" : void 0
9516
- }), /* @__PURE__ */ c(xw, {
9515
+ }), /* @__PURE__ */ c(yw, {
9517
9516
  edge: e.position,
9518
9517
  labelRotation: e.labelRotation,
9519
9518
  label: p,
@@ -9526,7 +9525,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9526
9525
  }
9527
9526
  })]
9528
9527
  });
9529
- }, Sw = ({ edge: e, rect: t, length: r }) => {
9528
+ }, bw = ({ edge: e, rect: t, length: r }) => {
9530
9529
  switch (e) {
9531
9530
  case "bottom":
9532
9531
  return {
@@ -9557,19 +9556,19 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9557
9556
  y2: 0
9558
9557
  };
9559
9558
  }
9560
- }, ww = ({ axes: e, rects: t }) => {
9559
+ }, Sw = ({ axes: e, rects: t }) => {
9561
9560
  const r = I(ac, N()), n = qe();
9562
9561
  return /* @__PURE__ */ c(M, { children: e.map((o) => {
9563
9562
  const a = t[o.position];
9564
- return !a || !o.visible ? null : /* @__PURE__ */ c(kw, {
9563
+ return !a || !o.visible ? null : /* @__PURE__ */ c(ww, {
9565
9564
  axis: o,
9566
9565
  rect: a,
9567
9566
  labelStyle: r[Re(o.scaledAesthetic)],
9568
9567
  hitTestable: n
9569
9568
  }, `axis-label-${o.position}`);
9570
9569
  }) });
9571
- }, kw = ({ axis: e, rect: t, labelStyle: r, hitTestable: n }) => {
9572
- const o = b(() => cw(e.position, t), [e.position, t]), a = n && e.label !== null && e.label !== "", i = a ? Qo(e.scaledAesthetic) : void 0;
9570
+ }, ww = ({ axis: e, rect: t, labelStyle: r, hitTestable: n }) => {
9571
+ const o = b(() => lw(e.position, t), [e.position, t]), a = n && e.label !== null && e.label !== "", i = a ? Qo(e.scaledAesthetic) : void 0;
9573
9572
  return /* @__PURE__ */ T("g", {
9574
9573
  transform: `translate(${t.x}, ${t.y})`,
9575
9574
  ...i,
@@ -9582,20 +9581,20 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9582
9581
  hitTestable: a
9583
9582
  })]
9584
9583
  });
9585
- }, Tw = ({ formattedAxes: e, tickRects: t }) => /* @__PURE__ */ c(M, { children: e.map((r) => {
9584
+ }, kw = ({ formattedAxes: e, tickRects: t }) => /* @__PURE__ */ c(M, { children: e.map((r) => {
9586
9585
  if (r.geometry !== "linear") return null;
9587
9586
  const n = t[r.position];
9588
- return !n || !r.visible ? null : /* @__PURE__ */ c(bw, {
9587
+ return !n || !r.visible ? null : /* @__PURE__ */ c(xw, {
9589
9588
  formattedAxis: r,
9590
9589
  rect: n
9591
9590
  }, r.scaledAesthetic);
9592
- }) }), Aw = ({ formattedAxes: e, labelRects: t }) => /* @__PURE__ */ c(ww, {
9591
+ }) }), Tw = ({ formattedAxes: e, labelRects: t }) => /* @__PURE__ */ c(Sw, {
9593
9592
  axes: e.filter((r) => r.geometry === "linear"),
9594
9593
  rects: t
9595
9594
  }), nd = {
9596
9595
  strokeDashoffset: "0",
9597
9596
  strokeLinecap: "round"
9598
- }, Ur = (e, t) => e.gridLine[t]().resolve(), Pw = ({ sizes: e, panelFrameRect: t }) => {
9597
+ }, Ur = (e, t) => e.gridLine[t]().resolve(), Aw = ({ sizes: e, panelFrameRect: t }) => {
9599
9598
  const r = B((a) => a.coordSystem.type === "polar"), n = I(Xi, N());
9600
9599
  if (r) return null;
9601
9600
  const o = Ii(rh(n), {
@@ -9637,7 +9636,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9637
9636
  stroke: "none",
9638
9637
  strokeWidth: 0,
9639
9638
  dashArray: []
9640
- }, Lw = ({ axisLines: e, cornerRadius: t, panelFrameRect: r }) => {
9639
+ }, Pw = ({ axisLines: e, cornerRadius: t, panelFrameRect: r }) => {
9641
9640
  const n = b(() => {
9642
9641
  if (e.length === 0) return [];
9643
9642
  const o = {
@@ -9680,7 +9679,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9680
9679
  strokeLinecap: o.lineCap
9681
9680
  }, o.edges.join(" ")))
9682
9681
  });
9683
- }, Ew = ({ axes: e, panelEdgeSizes: t, panelFrameRect: r, panelRect: n }) => {
9682
+ }, Lw = ({ axes: e, panelEdgeSizes: t, panelFrameRect: r, panelRect: n }) => {
9684
9683
  const o = N(), a = qe(), i = I(Ur, o, "x"), s = I(Ur, o, "y"), l = n.x - r.x, d = n.y - r.y;
9685
9684
  return /* @__PURE__ */ c("svg", {
9686
9685
  "data-testid": "grid",
@@ -9701,7 +9700,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9701
9700
  scaleType: u.scaleType,
9702
9701
  transform: u.transform,
9703
9702
  hideAtRest: (p) => {
9704
- const m = Rw(v, p.position);
9703
+ const m = Ew(v, p.position);
9705
9704
  return m !== null && t[m] > 0;
9706
9705
  },
9707
9706
  renderTick: ({ leaving: p }) => {
@@ -9738,7 +9737,7 @@ var BS = (e, t, r, n) => t !== "comment" ? r : Ji(r, 140, (o) => e.measureText(o
9738
9737
  }) }, u.scaledAesthetic);
9739
9738
  })
9740
9739
  });
9741
- }, Rw = (e, t) => t <= 0 ? e ? "left" : "top" : t >= 1 ? e ? "right" : "bottom" : null;
9740
+ }, Ew = (e, t) => t <= 0 ? e ? "left" : "top" : t >= 1 ? e ? "right" : "bottom" : null;
9742
9741
  var ad = (e, t) => {
9743
9742
  const r = B((l) => l.coordSystem);
9744
9743
  if (r.type !== "polar") return null;
@@ -9754,10 +9753,10 @@ var ad = (e, t) => {
9754
9753
  angleFor: (l) => Bu(l, a, i),
9755
9754
  radiusNormFor: (l) => o + l * (1 - o)
9756
9755
  };
9757
- }, Cw = 16, Iw = ({ formattedAxes: e, panelRect: t }) => {
9756
+ }, Rw = 16, Cw = ({ formattedAxes: e, panelRect: t }) => {
9758
9757
  const r = I(zo, N()), n = qe(), o = ea(), a = ad(t, e);
9759
9758
  if (!a) return null;
9760
- const { circle: i, circularAxis: s, radialAxis: l, startAngle: d, angleFor: u, radiusNormFor: h } = a, v = $w(l, h, i.radius), f = (g) => r(Re(g.scaledAesthetic));
9759
+ const { circle: i, circularAxis: s, radialAxis: l, startAngle: d, angleFor: u, radiusNormFor: h } = a, v = Iw(l, h, i.radius), f = (g) => r(Re(g.scaledAesthetic));
9761
9760
  return /* @__PURE__ */ T("svg", {
9762
9761
  x: t.x,
9763
9762
  y: t.y,
@@ -9779,7 +9778,7 @@ var ad = (e, t) => {
9779
9778
  return /* @__PURE__ */ c(Si, {
9780
9779
  scaledAesthetic: s.scaledAesthetic,
9781
9780
  tickIndex: p,
9782
- placement: wi(y, _w(m)),
9781
+ placement: wi(y, $w(m)),
9783
9782
  label: g.formattedLabel,
9784
9783
  labelStyle: f(s),
9785
9784
  guidesTakePress: n,
@@ -9800,7 +9799,7 @@ var ad = (e, t) => {
9800
9799
  cursor: a ? "pointer" : void 0,
9801
9800
  children: s
9802
9801
  });
9803
- }, $w = (e, t, r) => {
9802
+ }, Iw = (e, t, r) => {
9804
9803
  if (!e) return [];
9805
9804
  const n = [];
9806
9805
  let o = Number.NEGATIVE_INFINITY;
@@ -9808,7 +9807,7 @@ var ad = (e, t) => {
9808
9807
  const s = t(i.position);
9809
9808
  if (s <= 0) continue;
9810
9809
  const l = s * r;
9811
- l - o < Cw || (n.push({
9810
+ l - o < Rw || (n.push({
9812
9811
  tick: i,
9813
9812
  tickIndex: a,
9814
9813
  radiusNorm: s
@@ -9821,10 +9820,10 @@ var ad = (e, t) => {
9821
9820
  textAnchor: t,
9822
9821
  dominantBaseline: "central",
9823
9822
  transform: void 0
9824
- }), _w = (e) => {
9823
+ }), $w = (e) => {
9825
9824
  const t = Math.sin(e);
9826
9825
  return Math.abs(t) < 0.01 ? "middle" : t > 0 ? "start" : "end";
9827
- }, Ow = ({ formattedAxes: e, panelRect: t }) => {
9826
+ }, _w = ({ formattedAxes: e, panelRect: t }) => {
9828
9827
  const r = N(), n = qe(), o = I(Ur, r, "y"), a = I(Ur, r, "x"), i = ad(t, e);
9829
9828
  if (!i) return null;
9830
9829
  const { circle: s, circularAxis: l, radialAxis: d, innerRadius: u, angleFor: h, radiusNormFor: v } = i;
@@ -9899,7 +9898,7 @@ var ad = (e, t) => {
9899
9898
  }, Xr = ({ renderer: e, children: t, ...r }) => e.overpaintPlacement === "manual" ? t : /* @__PURE__ */ c(pm, {
9900
9899
  ...r,
9901
9900
  children: t
9902
- }), Mw = ({ layer: e, dimmed: t, dimStyle: r, ...n }) => {
9901
+ }), Ow = ({ layer: e, dimmed: t, dimStyle: r, ...n }) => {
9903
9902
  const o = Is(e.id), a = ss(e, F(e)), i = t ? r.filter : void 0, s = a && i ? `${a} ${i}` : a || i, l = o?.type === "fade", d = b(() => ({
9904
9903
  layerId: e.id,
9905
9904
  paintsShadow: a !== void 0,
@@ -9915,7 +9914,7 @@ var ad = (e, t) => {
9915
9914
  },
9916
9915
  children: /* @__PURE__ */ c(dr.Provider, {
9917
9916
  value: d,
9918
- children: /* @__PURE__ */ c(Bw, {
9917
+ children: /* @__PURE__ */ c(Mw, {
9919
9918
  layer: e,
9920
9919
  ...n
9921
9920
  })
@@ -9927,7 +9926,7 @@ var ad = (e, t) => {
9927
9926
  transition: Es(o),
9928
9927
  children: u
9929
9928
  }) : u;
9930
- }, Bw = ({ layer: e, coordSystem: t, formattingLocale: r, live: n }) => {
9929
+ }, Mw = ({ layer: e, coordSystem: t, formattingLocale: r, live: n }) => {
9931
9930
  const o = se(), a = Is(e.id), { colorScheme: i } = J(), s = F(e), l = o(e.geom, t.type);
9932
9931
  if (l === null) return null;
9933
9932
  const d = hn(l.render), u = {
@@ -9963,7 +9962,7 @@ var ad = (e, t) => {
9963
9962
  children: r
9964
9963
  });
9965
9964
  };
9966
- function Hw({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
9965
+ function Bw({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
9967
9966
  if (e?.getOverlayAnchor === void 0 || n.length === 0) return [];
9968
9967
  const o = [];
9969
9968
  for (const { observation: a, observationIndex: i } of n) {
@@ -9980,8 +9979,8 @@ function Hw({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
9980
9979
  }
9981
9980
  return o;
9982
9981
  }
9983
- var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: o, formattingLocale: a }) => {
9984
- const i = B((y) => y.config.numberFormat), s = b(() => Hw({
9982
+ var Hw = 4, Nw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: o, formattingLocale: a }) => {
9983
+ const i = B((y) => y.config.numberFormat), s = b(() => Bw({
9985
9984
  renderer: e,
9986
9985
  layer: t,
9987
9986
  coordSystem: o,
@@ -10004,7 +10003,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10004
10003
  const p = hn(e.render);
10005
10004
  let m = null;
10006
10005
  if (r && !p.live) {
10007
- const y = /* @__PURE__ */ c(Fw, {
10006
+ const y = /* @__PURE__ */ c(Dw, {
10008
10007
  renderer: e,
10009
10008
  paint: e.renderHighlight ?? p.fn,
10010
10009
  layer: t,
@@ -10015,7 +10014,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10015
10014
  });
10016
10015
  m = e.renderHighlight === void 0 ? y : /* @__PURE__ */ c(Mn, { children: y });
10017
10016
  }
10018
- return /* @__PURE__ */ T(ta, { children: [m, s.map(({ observation: y, observationIndex: S, anchor: k }) => /* @__PURE__ */ c(zw, {
10017
+ return /* @__PURE__ */ T(ta, { children: [m, s.map(({ observation: y, observationIndex: S, anchor: k }) => /* @__PURE__ */ c(Gw, {
10019
10018
  observation: y,
10020
10019
  anchor: k,
10021
10020
  fill: qr(u, t, y) ?? Kn,
@@ -10025,8 +10024,8 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10025
10024
  formatYValue: v,
10026
10025
  labelStyle: g.observation.outside,
10027
10026
  familyDefault: f.familyDefault
10028
- }, Ww(y, S)))] });
10029
- }, Fw = ({ layer: e, ...t }) => {
10027
+ }, zw(y, S)))] });
10028
+ }, Dw = ({ layer: e, ...t }) => {
10030
10029
  const r = ss(e, F(e)), n = b(() => ({
10031
10030
  layerId: e.id,
10032
10031
  paintsShadow: r !== void 0,
@@ -10036,13 +10035,13 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10036
10035
  style: { filter: r },
10037
10036
  children: /* @__PURE__ */ c(dr.Provider, {
10038
10037
  value: n,
10039
- children: /* @__PURE__ */ c(Gw, {
10038
+ children: /* @__PURE__ */ c(Fw, {
10040
10039
  layer: e,
10041
10040
  ...t
10042
10041
  })
10043
10042
  })
10044
10043
  });
10045
- }, Gw = ({ renderer: e, paint: t, layer: r, matchedLayer: n, ...o }) => {
10044
+ }, Fw = ({ renderer: e, paint: t, layer: r, matchedLayer: n, ...o }) => {
10046
10045
  const a = F(r);
10047
10046
  return /* @__PURE__ */ c(Xr, {
10048
10047
  renderer: e,
@@ -10054,7 +10053,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10054
10053
  styleReaders: a
10055
10054
  })
10056
10055
  });
10057
- }, zw = ({ observation: e, anchor: t, fill: r, symbol: n, dotRadius: o, readSegmentY: a, formatYValue: i, labelStyle: s, familyDefault: l }) => {
10056
+ }, Gw = ({ observation: e, anchor: t, fill: r, symbol: n, dotRadius: o, readSegmentY: a, formatYValue: i, labelStyle: s, familyDefault: l }) => {
10058
10057
  const d = Ge(), u = ye(), h = a(e) ?? null, v = h !== null ? i(h, e) : null, f = b(() => {
10059
10058
  if (v === null) return null;
10060
10059
  const g = d.measureText(v, oe(s, l));
@@ -10077,7 +10076,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10077
10076
  "data-testid": "highlight-overlay-dot"
10078
10077
  }), v !== null && f !== null && /* @__PURE__ */ c(Jc, {
10079
10078
  x: t.x * u.width,
10080
- y: t.y * u.height - o - Nw - f.height / 2,
10079
+ y: t.y * u.height - o - Hw - f.height / 2,
10081
10080
  width: f.width,
10082
10081
  height: f.height,
10083
10082
  text: v,
@@ -10086,10 +10085,10 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10086
10085
  position: "outside",
10087
10086
  coordType: "cartesian"
10088
10087
  })] });
10089
- }, Ww = (e, t) => {
10088
+ }, zw = (e, t) => {
10090
10089
  const r = e[ue.group];
10091
10090
  return `${String(r ?? "")}\0${t}`;
10092
- }, Vw = he(function({ layer: t, coordSystem: r }) {
10091
+ }, Ww = he(function({ layer: t, coordSystem: r }) {
10093
10092
  const { primary: n, group: o, related: a } = pt(ve((f) => ({
10094
10093
  primary: f.hover.primary,
10095
10094
  group: f.hover.group,
@@ -10122,7 +10121,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10122
10121
  styleReaders: l
10123
10122
  })
10124
10123
  }) });
10125
- }), jw = (e) => {
10124
+ }), Vw = (e) => {
10126
10125
  const t = F(e);
10127
10126
  return b(() => {
10128
10127
  const [r] = e.data;
@@ -10136,16 +10135,16 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10136
10135
  filter: Ts(Iu(n))
10137
10136
  };
10138
10137
  }, [e, t]);
10139
- }, Uw = "var(--to1jkx0)", Xw = "var(--to1jkx1)", sd = "to1jkx2", Yw = "to1jkx3", qw = ({ layer: e, coordSystem: t, panelSize: r, children: n }) => {
10138
+ }, jw = "var(--to1jkx0)", Uw = "var(--to1jkx1)", sd = "to1jkx2", Xw = "to1jkx3", Yw = ({ layer: e, coordSystem: t, panelSize: r, children: n }) => {
10140
10139
  const o = ae(), a = du(e, t), i = a.length > 0;
10141
10140
  return /* @__PURE__ */ T("g", {
10142
10141
  clipPath: i ? `url(#${o})` : void 0,
10143
10142
  children: [n, i && /* @__PURE__ */ c("clipPath", {
10144
10143
  id: o,
10145
- children: /* @__PURE__ */ c("rect", { ...Kw(a, r) })
10144
+ children: /* @__PURE__ */ c("rect", { ...qw(a, r) })
10146
10145
  })]
10147
10146
  });
10148
- }, Kw = (e, { width: t, height: r }) => {
10147
+ }, qw = (e, { width: t, height: r }) => {
10149
10148
  const n = e.includes("left") ? 0 : t, o = e.includes("right") ? 0 : t, a = e.includes("top") ? 0 : r, i = e.includes("bottom") ? 0 : r;
10150
10149
  return {
10151
10150
  x: -n,
@@ -10153,11 +10152,11 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10153
10152
  width: t + n + o,
10154
10153
  height: r + a + i
10155
10154
  };
10156
- }, Zw = ({ panelRect: e, formattingLocale: t }) => {
10155
+ }, Kw = ({ panelRect: e, formattingLocale: t }) => {
10157
10156
  const { layers: r, coordSystem: n } = B(ve((i) => ({
10158
10157
  layers: i.layers,
10159
10158
  coordSystem: i.coordSystem
10160
- }))), o = Jw(r, n), a = b(() => ({
10159
+ }))), o = Zw(r, n), a = b(() => ({
10161
10160
  width: e.width,
10162
10161
  height: e.height
10163
10162
  }), [e.width, e.height]);
@@ -10174,7 +10173,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10174
10173
  children: o.map((i) => /* @__PURE__ */ c(id, {
10175
10174
  layer: i,
10176
10175
  coordSystem: n,
10177
- children: /* @__PURE__ */ T(qw, {
10176
+ children: /* @__PURE__ */ T(Yw, {
10178
10177
  layer: i,
10179
10178
  coordSystem: n,
10180
10179
  panelSize: a,
@@ -10182,7 +10181,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10182
10181
  layer: i,
10183
10182
  coordSystem: n,
10184
10183
  formattingLocale: t
10185
- }), /* @__PURE__ */ c(Vw, {
10184
+ }), /* @__PURE__ */ c(Ww, {
10186
10185
  layer: i,
10187
10186
  coordSystem: n
10188
10187
  })]
@@ -10195,7 +10194,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10195
10194
  i,
10196
10195
  t,
10197
10196
  r
10198
- ]), l = t.highlight, d = jw(t), { colorScheme: u } = J(), h = {
10197
+ ]), l = t.highlight, d = Vw(t), { colorScheme: u } = J(), h = {
10199
10198
  layer: t,
10200
10199
  coordSystem: r,
10201
10200
  formattingLocale: n,
@@ -10203,10 +10202,10 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10203
10202
  styleReaders: F(t)
10204
10203
  }, v = s ? hn(s.render) : null, f = t.spatialKind === "renderHitTest", g = a && (d.opacity !== void 0 || d.filter !== void 0);
10205
10204
  return /* @__PURE__ */ T("g", {
10206
- className: g ? Yw : void 0,
10207
- style: g ? Qw(d) : void 0,
10205
+ className: g ? Xw : void 0,
10206
+ style: g ? Jw(d) : void 0,
10208
10207
  children: [
10209
- /* @__PURE__ */ c(Mw, {
10208
+ /* @__PURE__ */ c(Ow, {
10210
10209
  layer: t,
10211
10210
  coordSystem: r,
10212
10211
  dimmed: l?.composition.dimmed ?? !1,
@@ -10218,7 +10217,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10218
10217
  hitTest: s.hitTest,
10219
10218
  input: h
10220
10219
  }),
10221
- l !== null && /* @__PURE__ */ c(Dw, {
10220
+ l !== null && /* @__PURE__ */ c(Nw, {
10222
10221
  renderer: s,
10223
10222
  layer: t,
10224
10223
  matchedLayer: l.composition.matchedLayer,
@@ -10228,13 +10227,13 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10228
10227
  })
10229
10228
  ]
10230
10229
  });
10231
- }), Jw = (e, t) => {
10230
+ }), Zw = (e, t) => {
10232
10231
  const r = se(), { waitingForView: n } = ne();
10233
10232
  return n ? [] : e.filter((o) => !Ul(r(o.geom, t.type)));
10234
- }, Qw = (e) => Zr({
10235
- ...e.opacity === void 0 ? {} : { [Uw]: String(e.opacity) },
10236
- ...e.filter === void 0 ? {} : { [Xw]: e.filter }
10237
- }), ek = ({ panelRect: e, formattingLocale: t }) => {
10233
+ }, Jw = (e) => Zr({
10234
+ ...e.opacity === void 0 ? {} : { [jw]: String(e.opacity) },
10235
+ ...e.filter === void 0 ? {} : { [Uw]: e.filter }
10236
+ }), Qw = ({ panelRect: e, formattingLocale: t }) => {
10238
10237
  const { layers: r, coordSystem: n } = B(ve((l) => ({
10239
10238
  layers: l.layers,
10240
10239
  coordSystem: l.coordSystem
@@ -10249,7 +10248,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10249
10248
  }, []), i = b(() => ({
10250
10249
  width: e.width,
10251
10250
  height: e.height
10252
- }), [e.width, e.height]), s = rk(r, n);
10251
+ }), [e.width, e.height]), s = tk(r, n);
10253
10252
  return s.length === 0 ? null : /* @__PURE__ */ c("svg", {
10254
10253
  ref: o,
10255
10254
  x: e.x,
@@ -10261,7 +10260,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10261
10260
  ...Hc({ live: !0 }),
10262
10261
  children: /* @__PURE__ */ c(Bs, {
10263
10262
  size: i,
10264
- children: s.map((l) => /* @__PURE__ */ c(tk, {
10263
+ children: s.map((l) => /* @__PURE__ */ c(ek, {
10265
10264
  layer: l,
10266
10265
  coordSystem: n,
10267
10266
  readPixelPoint: a,
@@ -10269,7 +10268,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10269
10268
  }, `${l.id}-${ld(n)}`))
10270
10269
  })
10271
10270
  });
10272
- }, tk = ({ layer: e, coordSystem: t, readPixelPoint: r, formattingLocale: n }) => {
10271
+ }, ek = ({ layer: e, coordSystem: t, readPixelPoint: r, formattingLocale: n }) => {
10273
10272
  const o = mm(e.id), a = b(() => ({
10274
10273
  pushHover: o,
10275
10274
  readPixelPoint: r
@@ -10285,16 +10284,16 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10285
10284
  dimOnHover: !i
10286
10285
  })
10287
10286
  });
10288
- }, rk = (e, t) => {
10287
+ }, tk = (e, t) => {
10289
10288
  const r = se(), { waitingForView: n } = ne();
10290
10289
  return n ? [] : e.filter((o) => Ul(r(o.geom, t.type)));
10291
- }, nk = "_17uhij30", ok = ({ formattedAxes: e, plotRect: t, panelBorder: r, axisLines: n, axisLineCornerRadius: o, panelEdges: a, panelFrameRect: i, panelRect: s, axisRects: l, axisLabelRects: d, formattingLocale: u, plotBottomY: h, hasReservedFooterSpace: v, editable: f, showAnnotations: g }) => {
10290
+ }, rk = "_17uhij30", nk = ({ formattedAxes: e, plotRect: t, panelBorder: r, axisLines: n, axisLineCornerRadius: o, panelEdges: a, panelFrameRect: i, panelRect: s, axisRects: l, axisLabelRects: d, formattingLocale: u, plotBottomY: h, hasReservedFooterSpace: v, editable: f, showAnnotations: g }) => {
10292
10291
  const p = _(null);
10293
10292
  Xb(p);
10294
- const m = Le("Grid", Ew), y = Le("AxisTicks", Tw), S = Le("AxisLabel", Aw), k = b(() => Yn(i, t), [i, t]), A = b(() => Yn(s, t), [s, t]), L = b(() => ki(l, t), [l, t]), R = b(() => ki(d, t), [d, t]), { waitingForView: E } = ne(), w = g && !E;
10293
+ const m = Le("Grid", Lw), y = Le("AxisTicks", kw), S = Le("AxisLabel", Tw), k = b(() => Yn(i, t), [i, t]), A = b(() => Yn(s, t), [s, t]), L = b(() => ki(l, t), [l, t]), R = b(() => ki(d, t), [d, t]), { waitingForView: E } = ne(), w = g && !E;
10295
10294
  return /* @__PURE__ */ T("svg", {
10296
10295
  ref: p,
10297
- className: nk,
10296
+ className: rk,
10298
10297
  width: t.width,
10299
10298
  height: t.height,
10300
10299
  style: { transform: `translate(${t.x}px, ${t.y}px)` },
@@ -10314,7 +10313,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10314
10313
  formattedAxes: e,
10315
10314
  labelRects: R
10316
10315
  }),
10317
- /* @__PURE__ */ c(Ow, {
10316
+ /* @__PURE__ */ c(_w, {
10318
10317
  formattedAxes: e,
10319
10318
  panelRect: A
10320
10319
  }),
@@ -10326,24 +10325,24 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10326
10325
  panelRect: A,
10327
10326
  zOrder: "background"
10328
10327
  })] }),
10329
- /* @__PURE__ */ c(Pw, {
10328
+ /* @__PURE__ */ c(Aw, {
10330
10329
  sizes: r,
10331
10330
  panelFrameRect: k
10332
10331
  }),
10333
- /* @__PURE__ */ c(Lw, {
10332
+ /* @__PURE__ */ c(Pw, {
10334
10333
  axisLines: n,
10335
10334
  cornerRadius: o,
10336
10335
  panelFrameRect: k
10337
10336
  }),
10338
- /* @__PURE__ */ c(Zw, {
10337
+ /* @__PURE__ */ c(Kw, {
10339
10338
  panelRect: A,
10340
10339
  formattingLocale: u
10341
10340
  }),
10342
- /* @__PURE__ */ c(Iw, {
10341
+ /* @__PURE__ */ c(Cw, {
10343
10342
  formattedAxes: e,
10344
10343
  panelRect: A
10345
10344
  }),
10346
- /* @__PURE__ */ c(ew, {
10345
+ /* @__PURE__ */ c(QS, {
10347
10346
  panelRect: A,
10348
10347
  formattingLocale: u,
10349
10348
  plotBottomY: h,
@@ -10367,12 +10366,12 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10367
10366
  panelRect: A,
10368
10367
  editable: f
10369
10368
  }),
10370
- /* @__PURE__ */ c(CS, { panelRect: A }),
10371
- /* @__PURE__ */ c(VS, { panelRect: A }),
10372
- /* @__PURE__ */ c(HS, { panelRect: A })
10369
+ /* @__PURE__ */ c(RS, { panelRect: A }),
10370
+ /* @__PURE__ */ c(WS, { panelRect: A }),
10371
+ /* @__PURE__ */ c(BS, { panelRect: A })
10373
10372
  ] }),
10374
10373
  /* @__PURE__ */ c(jb, { panelRect: A }),
10375
- /* @__PURE__ */ c(ek, {
10374
+ /* @__PURE__ */ c(Qw, {
10376
10375
  panelRect: A,
10377
10376
  formattingLocale: u
10378
10377
  })
@@ -10387,7 +10386,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10387
10386
  const r = {};
10388
10387
  for (const [n, o] of Object.entries(e)) r[n] = Yn(o, t);
10389
10388
  return r;
10390
- }, ak = (e) => {
10389
+ }, ok = (e) => {
10391
10390
  let t, r;
10392
10391
  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), {
10393
10392
  width: Ti(t, "width"),
@@ -10396,7 +10395,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10396
10395
  }, Ti = (e, t) => {
10397
10396
  if (e <= 0 || Number.isNaN(e) || !Number.isFinite(e)) throw new Pd({ message: `Expected ${t} to be a positive, finite number, but got ${e}.` });
10398
10397
  return e;
10399
- }, ik = ({ sizing: e, onResize: t, children: r }) => {
10398
+ }, ak = ({ sizing: e, onResize: t, children: r }) => {
10400
10399
  const n = Kl({ onResize: t }), o = _(!1);
10401
10400
  if (O(() => {
10402
10401
  e.mode === "responsive" && (n.unmeasured || n.width > 0 && n.height > 0 || o.current || (o.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.`)));
@@ -10406,7 +10405,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10406
10405
  n.width,
10407
10406
  n.height
10408
10407
  ]), e.mode === "keepAspectRatio") {
10409
- const { intrinsicSize: i, canRender: s, outerStyles: l, innerStyles: d } = sk(e, n.width, !n.unmeasured);
10408
+ const { intrinsicSize: i, canRender: s, outerStyles: l, innerStyles: d } = ik(e, n.width, !n.unmeasured);
10410
10409
  return /* @__PURE__ */ c("div", {
10411
10410
  ref: n.setElement,
10412
10411
  style: l,
@@ -10442,8 +10441,8 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10442
10441
  height: n.height
10443
10442
  })
10444
10443
  });
10445
- }, sk = (e, t, r) => {
10446
- const n = ak(e), o = t > 0 && n.width > 0 ? t / n.width : 1;
10444
+ }, ik = (e, t, r) => {
10445
+ const n = ok(e), o = t > 0 && n.width > 0 ? t / n.width : 1;
10447
10446
  return {
10448
10447
  intrinsicSize: n,
10449
10448
  canRender: r,
@@ -10458,7 +10457,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10458
10457
  height: n.height
10459
10458
  }
10460
10459
  };
10461
- }, lk = { mode: "responsive" }, En = {
10460
+ }, sk = { mode: "responsive" }, En = {
10462
10461
  headerSize: {
10463
10462
  width: 0,
10464
10463
  height: 0
@@ -10467,7 +10466,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10467
10466
  width: 0,
10468
10467
  height: 0
10469
10468
  }
10470
- }, ck = () => {
10469
+ }, lk = () => {
10471
10470
  const [e, t] = V(null), [r, n] = V(null), [o, a] = V(En);
10472
10471
  return mt(() => {
10473
10472
  const i = () => {
@@ -10478,7 +10477,7 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10478
10477
  width: r.offsetWidth,
10479
10478
  height: r.offsetHeight
10480
10479
  } : En.footerSize;
10481
- a((u) => dk(u, {
10480
+ a((u) => ck(u, {
10482
10481
  headerSize: l,
10483
10482
  footerSize: d
10484
10483
  }) ? {
@@ -10494,9 +10493,9 @@ var Nw = 4, Dw = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
10494
10493
  footerRef: n,
10495
10494
  measurements: o
10496
10495
  };
10497
- }, dk = (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, uk = () => null, hk = "_1vl0pke0", vk = "_1vl0pke1";
10498
- var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef: o, children: a }) => {
10499
- const { themeClass: i, inlineVarsStyle: s } = gn(), l = e.strokeWidth, d = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), h = u === 0 ? 0 : u + l, { shadow: v, alpha: f, blendMode: g, fill: p, overpaint: m = gk } = e, y = Lt([p, ...m]), S = y(p), k = typeof p != "string", A = b(() => ({
10496
+ }, ck = (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, dk = () => null, uk = "_1vl0pke0", hk = "_1vl0pke1";
10497
+ var vk = [], gk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef: o, children: a }) => {
10498
+ const { themeClass: i, inlineVarsStyle: s } = gn(), l = e.strokeWidth, d = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), h = u === 0 ? 0 : u + l, { shadow: v, alpha: f, blendMode: g, fill: p, overpaint: m = vk } = e, y = Lt([p, ...m]), S = y(p), k = typeof p != "string", A = b(() => ({
10500
10499
  ...n,
10501
10500
  borderRadius: `${h}px`,
10502
10501
  ...s,
@@ -10516,7 +10515,7 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10516
10515
  ]), L = b(() => ({
10517
10516
  borderRadius: `${u}px`,
10518
10517
  ...g === "normal" ? {} : { mixBlendMode: g },
10519
- ...pk(k, f)
10518
+ ...fk(k, f)
10520
10519
  }), [
10521
10520
  u,
10522
10521
  g,
@@ -10542,7 +10541,7 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10542
10541
  className: tr(Dm, {
10543
10542
  [Fm]: t,
10544
10543
  [Gm]: E,
10545
- [vk]: k
10544
+ [hk]: k
10546
10545
  }),
10547
10546
  style: L,
10548
10547
  children: [
@@ -10556,27 +10555,27 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10556
10555
  [...m].reverse().map((w, P) => /* @__PURE__ */ c("div", {
10557
10556
  "aria-hidden": !0,
10558
10557
  "data-testid": "graph-overpaint",
10559
- className: hk,
10558
+ className: uk,
10560
10559
  style: xt(w, y(w))
10561
10560
  }, P))
10562
10561
  ]
10563
10562
  })
10564
10563
  });
10565
- }, pk = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${x.graphBackground} ${t * 100}%, transparent)` }, H1 = (e) => /* @__PURE__ */ c(Ql, {
10564
+ }, fk = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${x.graphBackground} ${t * 100}%, transparent)` }, B1 = (e) => /* @__PURE__ */ c(Ql, {
10566
10565
  ...$m(hc()),
10567
- children: /* @__PURE__ */ c(mk, { ...e })
10568
- }), mk = ({ slots: e, sizing: t = lk, onResize: r, ...n }) => /* @__PURE__ */ c(um, { children: /* @__PURE__ */ c(Bf, { children: /* @__PURE__ */ c(Jf, {
10566
+ children: /* @__PURE__ */ c(pk, { ...e })
10567
+ }), pk = ({ slots: e, sizing: t = sk, onResize: r, ...n }) => /* @__PURE__ */ c(um, { children: /* @__PURE__ */ c(Bf, { children: /* @__PURE__ */ c(Jf, {
10569
10568
  slots: e,
10570
- children: /* @__PURE__ */ c(ik, {
10569
+ children: /* @__PURE__ */ c(ak, {
10571
10570
  sizing: t,
10572
10571
  onResize: r,
10573
- children: ({ width: o, height: a }) => /* @__PURE__ */ c(yk, {
10572
+ children: ({ width: o, height: a }) => /* @__PURE__ */ c(mk, {
10574
10573
  width: o,
10575
10574
  height: a,
10576
10575
  ...n
10577
10576
  })
10578
10577
  })
10579
- }) }) }), yk = ({ width: e, height: t, animation: r }) => {
10578
+ }) }) }), mk = ({ width: e, height: t, animation: r }) => {
10580
10579
  const n = Jl(), o = ke(), { axes: a, legends: i, layers: s, numberFormat: l, parsingLocale: d, annotations: u, coordSystem: h, headline: v, headlineConfig: f, content: g, overflowStrategy: p } = B(ve((le) => ({
10581
10580
  axes: le.guides.axes,
10582
10581
  legends: le.guides.legends.drawn,
@@ -10589,7 +10588,7 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10589
10588
  headlineConfig: le.config.headline,
10590
10589
  content: le.config.content,
10591
10590
  overflowStrategy: le.config.panel.overflow
10592
- }))), m = ge[o], y = m.mountEditor, { headerRef: S, footerRef: k, measurements: A } = ck(), { formattingLocale: L, colorScheme: R } = J(), [E, w] = V(null), P = Le("Header", Ky), C = Le("Footer", My), G = Le("Legend", kb), z = Le("Headline", mx), Y = Le("EditorSurface", uk), U = b(() => vu({
10591
+ }))), m = ge[o], y = m.mountEditor, { headerRef: S, footerRef: k, measurements: A } = lk(), { formattingLocale: L, colorScheme: R } = J(), [E, w] = V(null), P = Le("Header", Ky), C = Le("Footer", My), G = Le("Legend", kb), z = Le("Headline", mx), Y = Le("EditorSurface", dk), U = b(() => vu({
10593
10592
  legends: i,
10594
10593
  numberFormat: l,
10595
10594
  parsingLocale: d,
@@ -10613,7 +10612,7 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10613
10612
  d,
10614
10613
  L,
10615
10614
  n
10616
- ]), K = Ge(), Ke = Hf(), Z = N(), br = I(xk, Z), Sr = I(Xi, Z), $t = I(S0, Z), te = I(Vo, Z), xe = I(Wo, Z), _t = I(ot, Z), Ot = I(bk, Z), wr = I(Sk, Z), kr = I(wk, Z), dd = kr.caption, ud = I(kk, Z), { fontFamily: mn, textScale: hd, strokeWidth: yn, fill: vd } = br, Tr = b(() => Pl(R, {}, mn), [R, mn]), Mt = b(() => ({
10615
+ ]), K = Ge(), Ke = Hf(), Z = N(), br = I(yk, Z), Sr = I(Xi, Z), $t = I(S0, Z), te = I(Vo, Z), xe = I(Wo, Z), _t = I(ot, Z), Ot = I(xk, Z), wr = I(bk, Z), kr = I(Sk, Z), dd = kr.caption, ud = I(wk, Z), { fontFamily: mn, textScale: hd, strokeWidth: yn, fill: vd } = br, Tr = b(() => Pl(R, {}, mn), [R, mn]), Mt = b(() => ({
10617
10616
  width: Math.max(0, e - 2 * yn),
10618
10617
  height: Math.max(0, t - 2 * yn)
10619
10618
  }), [
@@ -10699,7 +10698,7 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10699
10698
  metrics: Tr,
10700
10699
  children: /* @__PURE__ */ c(W0, { children: /* @__PURE__ */ c(dy, {
10701
10700
  panelRect: fe.panel,
10702
- children: /* @__PURE__ */ c(fk, {
10701
+ children: /* @__PURE__ */ c(gk, {
10703
10702
  graphChrome: br,
10704
10703
  editable: y,
10705
10704
  mode: o,
@@ -10727,7 +10726,7 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10727
10726
  textStyles: kr,
10728
10727
  graphyBadge: fd
10729
10728
  }),
10730
- /* @__PURE__ */ c(ok, {
10729
+ /* @__PURE__ */ c(nk, {
10731
10730
  formattedAxes: ia,
10732
10731
  plotRect: fe.plot,
10733
10732
  panelBorder: xn,
@@ -10779,14 +10778,14 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10779
10778
  }) })
10780
10779
  })
10781
10780
  });
10782
- }, xk = (e) => e.graph().resolve(), bk = (e) => e.heading.h1().resolve(), Sk = (e) => e.heading.h2().resolve(), wk = (e) => ({
10781
+ }, yk = (e) => e.graph().resolve(), xk = (e) => e.heading.h1().resolve(), bk = (e) => e.heading.h2().resolve(), Sk = (e) => ({
10783
10782
  h3: e.heading.h3().resolve(),
10784
10783
  body: e.heading.body().resolve(),
10785
10784
  caption: e.caption().resolve()
10786
- }), kk = (e) => ({
10785
+ }), wk = (e) => ({
10787
10786
  label: e.source().resolve(),
10788
10787
  link: e.source.link().resolve()
10789
- }), N1 = (e) => {
10788
+ }), H1 = (e) => {
10790
10789
  const t = H(os), r = Jr(), n = Qr(), o = se();
10791
10790
  return b(() => e || (t ? {
10792
10791
  commands: t.commands,
@@ -10812,33 +10811,33 @@ var gk = [], fk = ({ graphChrome: e, editable: t, mode: r, style: n, contentRef:
10812
10811
  n,
10813
10812
  o
10814
10813
  ]);
10815
- }, D1 = (e) => ah(e.subscribe, e.getScene, e.getScene), F1 = () => {
10814
+ }, N1 = (e) => ah(e.subscribe, e.getScene, e.getScene), D1 = () => {
10816
10815
  const { commands: e } = J();
10817
10816
  return e;
10818
- }, G1 = (e) => {
10817
+ }, F1 = (e) => {
10819
10818
  if (e.altKey || !e.metaKey && !e.ctrlKey) return null;
10820
10819
  const t = e.key.toLowerCase();
10821
10820
  return t === "z" ? e.shiftKey ? "redo" : "undo" : t === "y" && e.ctrlKey && !e.shiftKey ? "redo" : null;
10822
10821
  };
10823
10822
  export {
10824
- R1 as $,
10823
+ E1 as $,
10825
10824
  Dr as $n,
10826
10825
  pm as $t,
10827
10826
  jc as A,
10828
10827
  Ae as An,
10829
10828
  f0 as At,
10830
- _1 as B,
10829
+ $1 as B,
10831
10830
  ye as Bn,
10832
10831
  zm as Bt,
10833
10832
  qb as C,
10834
10833
  I as Cn,
10835
- zk as Cr,
10836
- h1 as Ct,
10834
+ Gk as Cr,
10835
+ u1 as Ct,
10837
10836
  Bb as D,
10838
- Qk as Dn,
10837
+ Jk as Dn,
10839
10838
  V0 as Dt,
10840
10839
  Hb as E,
10841
- t1 as En,
10840
+ e1 as En,
10842
10841
  ke as Er,
10843
10842
  j0 as Et,
10844
10843
  xx as F,
@@ -10848,7 +10847,7 @@ export {
10848
10847
  Bn as Gn,
10849
10848
  $m as Gt,
10850
10849
  Qo as H,
10851
- Zk as Hn,
10850
+ Kk as Hn,
10852
10851
  vr as Ht,
10853
10852
  jr as I,
10854
10853
  Hs as In,
@@ -10874,25 +10873,25 @@ export {
10874
10873
  qe as P,
10875
10874
  fg as Pn,
10876
10875
  Za as Pt,
10877
- E1 as Q,
10876
+ L1 as Q,
10878
10877
  hv as Qn,
10879
10878
  mm as Qt,
10880
10879
  ut as R,
10881
- Kk as Rn,
10882
- c1 as Rt,
10880
+ qk as Rn,
10881
+ l1 as Rt,
10883
10882
  xr as S,
10884
10883
  $f as Sn,
10885
- Gk as Sr,
10886
- v1 as St,
10884
+ Fk as Sr,
10885
+ h1 as St,
10887
10886
  Db as T,
10888
- e1 as Tn,
10887
+ Qk as Tn,
10889
10888
  J as Tr,
10890
10889
  Y0 as Tt,
10891
10890
  Bc as U,
10892
10891
  So as Un,
10893
- l1 as Ut,
10894
- $1 as V,
10895
- Jk as Vn,
10892
+ s1 as Ut,
10893
+ I1 as V,
10894
+ Zk as Vn,
10896
10895
  rc as Vt,
10897
10896
  pn as W,
10898
10897
  Et as Wn,
@@ -10902,111 +10901,111 @@ export {
10902
10901
  Kl as Xt,
10903
10902
  ox as Y,
10904
10903
  ee as Yn,
10905
- i1 as Yt,
10906
- C1 as Z,
10907
- Yk as Zn,
10904
+ a1 as Yt,
10905
+ R1 as Z,
10906
+ Xk as Zn,
10908
10907
  ym as Zt,
10909
- M1 as _,
10908
+ O1 as _,
10910
10909
  cp as _n,
10911
10910
  ls as _r,
10912
- m1 as _t,
10913
- H1 as a,
10914
- a1 as an,
10915
- Xk as ar,
10916
- A1 as at,
10911
+ p1 as _t,
10912
+ B1 as a,
10913
+ o1 as an,
10914
+ Uk as ar,
10915
+ T1 as at,
10917
10916
  lS as b,
10918
10917
  Bf as bn,
10919
10918
  Jr as br,
10920
- f1 as bt,
10921
- Kw as c,
10919
+ g1 as bt,
10920
+ qw as c,
10922
10921
  ge as cn,
10923
10922
  Dh as cr,
10924
10923
  yc as ct,
10925
- jS as d,
10926
- n1 as dn,
10924
+ VS as d,
10925
+ r1 as dn,
10927
10926
  rr as dr,
10928
- w1 as dt,
10927
+ S1 as dt,
10929
10928
  hm as en,
10930
10929
  en as er,
10931
10930
  My as et,
10932
- zS as f,
10933
- o1 as fn,
10931
+ GS as f,
10932
+ n1 as fn,
10934
10933
  Nr as fr,
10935
10934
  je as ft,
10936
10935
  pi as g,
10937
10936
  me as gn,
10938
10937
  N as gr,
10939
- g1 as gt,
10938
+ v1 as gt,
10940
10939
  wS as h,
10941
10940
  kp as hn,
10942
10941
  F as hr,
10943
- b1 as ht,
10944
- N1 as i,
10942
+ x1 as ht,
10943
+ H1 as i,
10945
10944
  Gn as in,
10946
- jk as ir,
10945
+ Vk as ir,
10947
10946
  uy as it,
10948
10947
  Ob as j,
10949
10948
  Ft as jn,
10950
10949
  pt as jt,
10951
- O1 as k,
10950
+ _1 as k,
10952
10951
  sn as kn,
10953
- d1 as kt,
10954
- Ew as l,
10952
+ c1 as kt,
10953
+ Lw as l,
10955
10954
  Yl as ln,
10956
10955
  vs as lr,
10957
- T1 as lt,
10958
- B1 as m,
10956
+ k1 as lt,
10957
+ M1 as m,
10959
10958
  em as mn,
10960
10959
  lt as mr,
10961
10960
  ey as mt,
10962
- F1 as n,
10961
+ D1 as n,
10963
10962
  dt as nn,
10964
- Uk as nr,
10963
+ jk as nr,
10965
10964
  Oy as nt,
10966
- mk as o,
10965
+ pk as o,
10967
10966
  tm as on,
10968
10967
  Qr as or,
10969
10968
  Ie as ot,
10970
- RS as p,
10969
+ ES as p,
10971
10970
  Ul as pn,
10972
10971
  _e as pr,
10973
- S1 as pt,
10972
+ b1 as pt,
10974
10973
  ix as q,
10975
- qk as qn,
10976
- s1 as qt,
10977
- D1 as r,
10974
+ Yk as qn,
10975
+ i1 as qt,
10976
+ N1 as r,
10978
10977
  am as rn,
10979
- Vk as rr,
10980
- L1 as rt,
10981
- qw as s,
10978
+ Wk as rr,
10979
+ P1 as rt,
10980
+ Yw as s,
10982
10981
  Ve as sn,
10983
10982
  jh as sr,
10984
- P1 as st,
10985
- G1 as t,
10983
+ A1 as st,
10984
+ F1 as t,
10986
10985
  um as tn,
10987
10986
  yo as tr,
10988
10987
  wc as tt,
10989
10988
  Ur as u,
10990
10989
  Xl as un,
10991
10990
  Ue as ur,
10992
- k1 as ut,
10991
+ w1 as ut,
10993
10992
  xS as v,
10994
- r1 as vn,
10993
+ t1 as vn,
10995
10994
  B as vr,
10996
- p1 as vt,
10995
+ f1 as vt,
10997
10996
  Yc as w,
10998
10997
  Cr as wn,
10999
10998
  os as wr,
11000
- u1 as wt,
10999
+ d1 as wt,
11001
11000
  oS as x,
11002
11001
  Ge as xn,
11003
- Fk as xr,
11004
- y1 as xt,
11002
+ Dk as xr,
11003
+ m1 as xt,
11005
11004
  yS as y,
11006
11005
  se as yn,
11007
- Wk as yr,
11008
- x1 as yt,
11009
- I1 as z,
11006
+ zk as yr,
11007
+ y1 as yt,
11008
+ C1 as z,
11010
11009
  Vv as zn,
11011
11010
  gn as zt
11012
11011
  };