@graphysdk/react 1.9.0-beta.1788853316769 → 1.9.0-beta.1788867107838

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.
@@ -56,7 +56,7 @@ function U3(e) {
56
56
  let t;
57
57
  return () => (t === void 0 && (t = e()), t);
58
58
  }
59
- var ho = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Zj = (e, t) => (n) => t(e(n)), Ch = (...e) => e.reduce(Zj), tu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
59
+ var po = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Zj = (e, t) => (n) => t(e(n)), Ch = (...e) => e.reduce(Zj), tu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
60
60
  const r = t - e;
61
61
  return r === 0 ? 1 : (n - e) / r;
62
62
  }, eT = class {
@@ -81,7 +81,7 @@ var ho = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Zj = (e, t) => (n) => t(e(n)), Ch
81
81
  clear() {
82
82
  this.subscriptions.length = 0;
83
83
  }
84
- }, Kr = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, co = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
84
+ }, Kr = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, uo = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
85
85
  function G3(e, t) {
86
86
  return t ? e * (1e3 / t) : 0;
87
87
  }
@@ -97,7 +97,7 @@ function rK(e, t, n, r, o) {
97
97
  return a;
98
98
  }
99
99
  function Ah(e, t, n, r) {
100
- if (e === t && n === r) return ho;
100
+ if (e === t && n === r) return po;
101
101
  const o = (i) => rK(i, 0, 1, e, n);
102
102
  return (i) => i === 0 || i === 1 ? i : j3(o(i), t, r);
103
103
  }
@@ -106,7 +106,7 @@ function n_(e, t) {
106
106
  return t_(e) ? e[eK(0, e.length, t)] : e;
107
107
  }
108
108
  var r_ = (e) => Array.isArray(e) && typeof e[0] == "number", Ok = {
109
- linear: ho,
109
+ linear: po,
110
110
  easeIn: oK,
111
111
  easeInOut: e_,
112
112
  easeOut: iK,
@@ -192,7 +192,7 @@ function o_(e, t) {
192
192
  steps: a
193
193
  };
194
194
  }
195
- var { schedule: Ht, cancel: ca, state: Kn, steps: cb } = /* @__PURE__ */ o_(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ho, !0), Im;
195
+ var { schedule: Ht, cancel: ca, state: Kn, steps: cb } = /* @__PURE__ */ o_(typeof requestAnimationFrame < "u" ? requestAnimationFrame : po, !0), Im;
196
196
  function cK() {
197
197
  Im = void 0;
198
198
  }
@@ -434,7 +434,7 @@ function g_(e, t = 100, n) {
434
434
  return {
435
435
  type: "keyframes",
436
436
  ease: (i) => r.next(o * i).value / t,
437
- duration: co(o)
437
+ duration: uo(o)
438
438
  };
439
439
  }
440
440
  var _K = 5;
@@ -467,7 +467,7 @@ function DK({ duration: e = rn.duration, bounce: t = rn.bounce, velocity: n = rn
467
467
  let o, i;
468
468
  ly(e <= Kr(rn.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
469
469
  let a = 1 - t;
470
- a = vi(rn.minDamping, rn.maxDamping, a), e = vi(rn.minDuration, rn.maxDuration, co(e)), a < 1 ? (o = (c) => {
470
+ a = vi(rn.minDamping, rn.maxDamping, a), e = vi(rn.minDuration, rn.maxDuration, uo(e)), a < 1 ? (o = (c) => {
471
471
  const u = c * a, d = u * e, f = u - n, h = dx(c, a), p = Math.exp(-d);
472
472
  return Hk - f / h * p;
473
473
  }, i = (c) => {
@@ -545,8 +545,8 @@ function Df(e = rn.visualDuration, t = rn.bounce) {
545
545
  value: i
546
546
  }, { stiffness: l, damping: c, mass: u, duration: d, velocity: f, isResolvedFromDuration: h } = HK({
547
547
  ...n,
548
- velocity: -co(n.velocity || 0)
549
- }), p = f || 0, g = c / (2 * Math.sqrt(l * u)), v = a - i, y = co(Math.sqrt(l / u)), b = Math.abs(v) < 5;
548
+ velocity: -uo(n.velocity || 0)
549
+ }), p = f || 0, g = c / (2 * Math.sqrt(l * u)), v = a - i, y = uo(Math.sqrt(l / u)), b = Math.abs(v) < 5;
550
550
  r || (r = b ? rn.restSpeed.granular : rn.restSpeed.default), o || (o = b ? rn.restDelta.granular : rn.restDelta.default);
551
551
  let w;
552
552
  if (g < 1) {
@@ -625,7 +625,7 @@ function zK(e, t, n) {
625
625
  const r = [], o = n || la.mix || h_, i = e.length - 1;
626
626
  for (let a = 0; a < i; a++) {
627
627
  let s = o(e[a], e[a + 1]);
628
- t && (s = Ch(Array.isArray(t) ? t[a] || ho : t, s)), r.push(s);
628
+ t && (s = Ch(Array.isArray(t) ? t[a] || po : t, s)), r.push(s);
629
629
  }
630
630
  return r;
631
631
  }
@@ -762,14 +762,14 @@ var cT = class {
762
762
  return this.finished.then(e, t);
763
763
  }
764
764
  get duration() {
765
- return co(this.calculatedDuration);
765
+ return uo(this.calculatedDuration);
766
766
  }
767
767
  get iterationDuration() {
768
768
  const { delay: e = 0 } = this.options || {};
769
- return this.duration + co(e);
769
+ return this.duration + uo(e);
770
770
  }
771
771
  get time() {
772
- return co(this.currentTime);
772
+ return uo(this.currentTime);
773
773
  }
774
774
  set time(e) {
775
775
  e = Kr(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver?.start(!1);
@@ -780,7 +780,7 @@ var cT = class {
780
780
  set speed(e) {
781
781
  this.updateTime(hr.now());
782
782
  const t = this.playbackSpeed !== e;
783
- this.playbackSpeed = e, t && (this.time = co(this.currentTime));
783
+ this.playbackSpeed = e, t && (this.time = uo(this.currentTime));
784
784
  }
785
785
  play() {
786
786
  if (this.isStopped) return;
@@ -1097,14 +1097,14 @@ var E_ = class extends cT {
1097
1097
  }
1098
1098
  get duration() {
1099
1099
  const e = this.animation.effect?.getComputedTiming?.().duration || 0;
1100
- return co(Number(e));
1100
+ return uo(Number(e));
1101
1101
  }
1102
1102
  get iterationDuration() {
1103
1103
  const { delay: e = 0 } = this.options || {};
1104
- return this.duration + co(e);
1104
+ return this.duration + uo(e);
1105
1105
  }
1106
1106
  get time() {
1107
- return co(Number(this.animation.currentTime) || 0);
1107
+ return uo(Number(this.animation.currentTime) || 0);
1108
1108
  }
1109
1109
  set time(e) {
1110
1110
  this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = Kr(e);
@@ -1125,7 +1125,7 @@ var E_ = class extends cT {
1125
1125
  this.manualStartTime = this.animation.startTime = e;
1126
1126
  }
1127
1127
  attachTimeline({ timeline: e, observe: t }) {
1128
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && iY() ? (this.animation.timeline = e, ho) : t(this);
1128
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && iY() ? (this.animation.timeline = e, po) : t(this);
1129
1129
  }
1130
1130
  }, M_ = {
1131
1131
  anticipate: Q3,
@@ -1217,7 +1217,7 @@ var gY = 40, vY = class extends cT {
1217
1217
  }) : new uT(u);
1218
1218
  h.finished.then(() => {
1219
1219
  this.notifyFinished();
1220
- }).catch(ho), this.pendingTimeline && (this.stopTimeline = h.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = h;
1220
+ }).catch(po), this.pendingTimeline && (this.stopTimeline = h.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = h;
1221
1221
  }
1222
1222
  get finished() {
1223
1223
  return this._animation ? this.animation.finished : this._finished;
@@ -1903,18 +1903,18 @@ var V_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
1903
1903
  function ZY(e) {
1904
1904
  return $3(e) && "offsetHeight" in e;
1905
1905
  }
1906
- var { schedule: xT, cancel: sYe } = /* @__PURE__ */ o_(queueMicrotask, !1), Eo = {
1906
+ var { schedule: xT, cancel: sYe } = /* @__PURE__ */ o_(queueMicrotask, !1), Mo = {
1907
1907
  x: !1,
1908
1908
  y: !1
1909
1909
  };
1910
1910
  function H_() {
1911
- return Eo.x || Eo.y;
1911
+ return Mo.x || Mo.y;
1912
1912
  }
1913
1913
  function eq(e) {
1914
- return e === "x" || e === "y" ? Eo[e] ? null : (Eo[e] = !0, () => {
1915
- Eo[e] = !1;
1916
- }) : Eo.x || Eo.y ? null : (Eo.x = Eo.y = !0, () => {
1917
- Eo.x = Eo.y = !1;
1914
+ return e === "x" || e === "y" ? Mo[e] ? null : (Mo[e] = !0, () => {
1915
+ Mo[e] = !1;
1916
+ }) : Mo.x || Mo.y ? null : (Mo.x = Mo.y = !0, () => {
1917
+ Mo.x = Mo.y = !1;
1918
1918
  });
1919
1919
  }
1920
1920
  function z_(e, t) {
@@ -2852,7 +2852,7 @@ function fE() {
2852
2852
  function hE(e, t) {
2853
2853
  e.min = t.min, e.max = t.max;
2854
2854
  }
2855
- function Co(e, t) {
2855
+ function Ao(e, t) {
2856
2856
  hE(e.x, t.x), hE(e.y, t.y);
2857
2857
  }
2858
2858
  function pE(e, t) {
@@ -2961,7 +2961,7 @@ function rX(e, t, n, r, o, i) {
2961
2961
  function ME(e, t) {
2962
2962
  return e[t] !== void 0 ? e[t] : e.borderRadius;
2963
2963
  }
2964
- var oX = /* @__PURE__ */ hD(0, 0.5, J3), iX = /* @__PURE__ */ hD(0.5, 0.95, ho);
2964
+ var oX = /* @__PURE__ */ hD(0, 0.5, J3), iX = /* @__PURE__ */ hD(0.5, 0.95, po);
2965
2965
  function hD(e, t, n) {
2966
2966
  return (r) => r < e ? 0 : r > t ? 1 : n(tu(e, t, r));
2967
2967
  }
@@ -3261,16 +3261,16 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3261
3261
  }
3262
3262
  removeElementScroll(a) {
3263
3263
  const s = En();
3264
- if (Co(s, a), this.scroll?.wasRoot) return s;
3264
+ if (Ao(s, a), this.scroll?.wasRoot) return s;
3265
3265
  for (let l = 0; l < this.path.length; l++) {
3266
3266
  const c = this.path[l], { scroll: u, options: d } = c;
3267
- c !== this.root && u && d.layoutScroll && (u.wasRoot && Co(s, a), Oc(s.x, u.offset.x), Oc(s.y, u.offset.y));
3267
+ c !== this.root && u && d.layoutScroll && (u.wasRoot && Ao(s, a), Oc(s.x, u.offset.x), Oc(s.y, u.offset.y));
3268
3268
  }
3269
3269
  return s;
3270
3270
  }
3271
3271
  applyTransform(a, s = !1) {
3272
3272
  const l = En();
3273
- Co(l, a);
3273
+ Ao(l, a);
3274
3274
  for (let c = 0; c < this.path.length; c++) {
3275
3275
  const u = this.path[c];
3276
3276
  !s && u.options.layoutScroll && u.scroll && u !== u.root && _c(l, {
@@ -3282,13 +3282,13 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3282
3282
  }
3283
3283
  removeTransform(a) {
3284
3284
  const s = En();
3285
- Co(s, a);
3285
+ Ao(s, a);
3286
3286
  for (let l = 0; l < this.path.length; l++) {
3287
3287
  const c = this.path[l];
3288
3288
  if (!c.instance || !As(c.latestValues)) continue;
3289
3289
  kx(c.latestValues) && c.updateSnapshot();
3290
3290
  const u = En();
3291
- Co(u, c.measurePageBox()), xE(s, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
3291
+ Ao(u, c.measurePageBox()), xE(s, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
3292
3292
  }
3293
3293
  return As(this.latestValues) && xE(s, this.latestValues), s;
3294
3294
  }
@@ -3317,7 +3317,7 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3317
3317
  if (!this.layout || !(c || u)) return;
3318
3318
  this.resolvedRelativeTargetAt = Kn.timestamp;
3319
3319
  const d = this.getClosestProjectingParent();
3320
- d && this.linkedParentVersion !== d.layoutVersion && !d.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (d && d.layout ? this.createRelativeTarget(d, this.layout.layoutBox, d.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = En(), this.targetWithTransforms = En()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Xq(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Co(this.target, this.layout.layoutBox), J_(this.target, this.targetDelta)) : Co(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? this.createRelativeTarget(d, this.target, d.target) : this.relativeParent = this.relativeTarget = void 0), ti.value && ks.calculatedTargetDeltas++);
3320
+ d && this.linkedParentVersion !== d.layoutVersion && !d.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (d && d.layout ? this.createRelativeTarget(d, this.layout.layoutBox, d.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = En(), this.targetWithTransforms = En()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Xq(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Ao(this.target, this.layout.layoutBox), J_(this.target, this.targetDelta)) : Ao(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? this.createRelativeTarget(d, this.target, d.target) : this.relativeParent = this.relativeTarget = void 0), ti.value && ks.calculatedTargetDeltas++);
3321
3321
  }
3322
3322
  getClosestProjectingParent() {
3323
3323
  if (!(!this.parent || kx(this.parent.latestValues) || Q_(this.parent.latestValues)))
@@ -3327,7 +3327,7 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3327
3327
  return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
3328
3328
  }
3329
3329
  createRelativeTarget(a, s, l) {
3330
- this.relativeParent = a, this.linkedParentVersion = a.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = En(), this.relativeTargetOrigin = En(), fg(this.relativeTargetOrigin, s, l), Co(this.relativeTarget, this.relativeTargetOrigin);
3330
+ this.relativeParent = a, this.linkedParentVersion = a.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = En(), this.relativeTargetOrigin = En(), fg(this.relativeTargetOrigin, s, l), Ao(this.relativeTarget, this.relativeTargetOrigin);
3331
3331
  }
3332
3332
  removeRelativeTarget() {
3333
3333
  this.relativeParent = this.relativeTarget = void 0;
@@ -3338,7 +3338,7 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3338
3338
  if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === Kn.timestamp && (l = !1), l) return;
3339
3339
  const { layout: c, layoutId: u } = this.options;
3340
3340
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(c || u)) return;
3341
- Co(this.layoutCorrected, this.layout.layoutBox);
3341
+ Ao(this.layoutCorrected, this.layout.layoutBox);
3342
3342
  const d = this.treeScale.x, f = this.treeScale.y;
3343
3343
  Aq(this.layoutCorrected, this.treeScale, this.path, s), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = En());
3344
3344
  const { target: h } = a;
@@ -3372,7 +3372,7 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3372
3372
  let y;
3373
3373
  this.mixTargetDelta = (b) => {
3374
3374
  const w = b / 1e3;
3375
- LE(d.x, a.x, w), LE(d.y, a.y, w), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (fg(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), SX(this.relativeTarget, this.relativeTargetOrigin, f, w), y && eX(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = En()), Co(y, this.relativeTarget)), h && (this.animationValues = u, rX(u, c, this.latestValues, w, v, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = w;
3375
+ LE(d.x, a.x, w), LE(d.y, a.y, w), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (fg(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), SX(this.relativeTarget, this.relativeTargetOrigin, f, w), y && eX(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = En()), Ao(y, this.relativeTarget)), h && (this.animationValues = u, rX(u, c, this.latestValues, w, v, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = w;
3376
3376
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
3377
3377
  }
3378
3378
  startAnimation(a) {
@@ -3412,7 +3412,7 @@ function gD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
3412
3412
  const f = pr(this.layout.layoutBox.y);
3413
3413
  l.y.min = a.target.y.min, l.y.max = l.y.min + f;
3414
3414
  }
3415
- Co(s, l), _c(s, u), Jd(this.projectionDeltaWithTransform, this.layoutCorrected, s, u);
3415
+ Ao(s, l), _c(s, u), Jd(this.projectionDeltaWithTransform, this.layoutCorrected, s, u);
3416
3416
  }
3417
3417
  }
3418
3418
  registerSharedNode(a, s) {
@@ -3603,7 +3603,7 @@ var CX = {
3603
3603
  0.1,
3604
3604
  1
3605
3605
  ]
3606
- }, _E = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), DE = _E("applewebkit/") && !_E("chrome/") ? Math.round : ho;
3606
+ }, _E = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), DE = _E("applewebkit/") && !_E("chrome/") ? Math.round : po;
3607
3607
  function NE(e) {
3608
3608
  e.min = DE(e.min), e.max = DE(e.max);
3609
3609
  }
@@ -4223,7 +4223,7 @@ function dQ(e, t) {
4223
4223
  y: 0
4224
4224
  };
4225
4225
  r === e[0] && e.length > 2 && o.timestamp - r.timestamp > Kr(t) * 2 && (r = e[1]);
4226
- const i = co(o.timestamp - r.timestamp);
4226
+ const i = uo(o.timestamp - r.timestamp);
4227
4227
  if (i === 0) return {
4228
4228
  x: 0,
4229
4229
  y: 0
@@ -4527,11 +4527,11 @@ function wQ(e, t = 10) {
4527
4527
  }
4528
4528
  var SQ = class extends Ya {
4529
4529
  constructor(e) {
4530
- super(e), this.removeGroupControls = ho, this.removeListeners = ho, this.controls = new bQ(e);
4530
+ super(e), this.removeGroupControls = po, this.removeListeners = po, this.controls = new bQ(e);
4531
4531
  }
4532
4532
  mount() {
4533
4533
  const { dragControls: e } = this.node.getProps();
4534
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || ho;
4534
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || po;
4535
4535
  }
4536
4536
  update() {
4537
4537
  const { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -4544,7 +4544,7 @@ var SQ = class extends Ya {
4544
4544
  e && Ht.update(() => e(t, n), !1, !0);
4545
4545
  }, TQ = class extends Ya {
4546
4546
  constructor() {
4547
- super(...arguments), this.removePointerDownListener = ho;
4547
+ super(...arguments), this.removePointerDownListener = po;
4548
4548
  }
4549
4549
  onPointerDown(e) {
4550
4550
  this.session = new MD(e, this.createPanHandlers(), {
@@ -4758,7 +4758,7 @@ var NQ = {
4758
4758
  ...AQ,
4759
4759
  ...FQ
4760
4760
  }, Vn = /* @__PURE__ */ nQ(BQ, rQ);
4761
- function Po(e) {
4761
+ function Io(e) {
4762
4762
  const t = Lf(() => Va(e)), { isStatic: n } = it(ET);
4763
4763
  if (n) {
4764
4764
  const [, r] = et(e);
@@ -4767,7 +4767,7 @@ function Po(e) {
4767
4767
  return t;
4768
4768
  }
4769
4769
  function ID(e, t) {
4770
- const n = Po(t()), r = () => n.set(t());
4770
+ const n = Io(t()), r = () => n.set(t());
4771
4771
  return r(), H3(() => {
4772
4772
  const o = () => Ht.preRender(r, !1, !0), i = e.map((a) => a.on("change", o));
4773
4773
  return () => {
@@ -10650,7 +10650,7 @@ Cg.every = function(e) {
10650
10650
  return (n - t) / e;
10651
10651
  }) : Cg;
10652
10652
  };
10653
- var pYe = Cg.range, Xi = 1e3, uo = Xi * 60, Qi = uo * 60, fl = Qi * 24, eC = fl * 7, JM = fl * 30, Nb = fl * 365, Nc = Un(function(e) {
10653
+ var pYe = Cg.range, Xi = 1e3, fo = Xi * 60, Qi = fo * 60, fl = Qi * 24, eC = fl * 7, JM = fl * 30, Nb = fl * 365, Nc = Un(function(e) {
10654
10654
  e.setTime(e - e.getMilliseconds());
10655
10655
  }, function(e, t) {
10656
10656
  e.setTime(+e + t * Xi);
@@ -10661,27 +10661,27 @@ var pYe = Cg.range, Xi = 1e3, uo = Xi * 60, Qi = uo * 60, fl = Qi * 24, eC = fl
10661
10661
  }), mYe = Nc.range, m6 = Un(function(e) {
10662
10662
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * Xi);
10663
10663
  }, function(e, t) {
10664
- e.setTime(+e + t * uo);
10664
+ e.setTime(+e + t * fo);
10665
10665
  }, function(e, t) {
10666
- return (t - e) / uo;
10666
+ return (t - e) / fo;
10667
10667
  }, function(e) {
10668
10668
  return e.getMinutes();
10669
10669
  }), gYe = m6.range, g6 = Un(function(e) {
10670
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * Xi - e.getMinutes() * uo);
10670
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * Xi - e.getMinutes() * fo);
10671
10671
  }, function(e, t) {
10672
10672
  e.setTime(+e + t * Qi);
10673
10673
  }, function(e, t) {
10674
10674
  return (t - e) / Qi;
10675
10675
  }, function(e) {
10676
10676
  return e.getHours();
10677
- }), vYe = g6.range, Py = Un((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * uo) / fl, (e) => e.getDate() - 1), yYe = Py.range;
10677
+ }), vYe = g6.range, Py = Un((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * fo) / fl, (e) => e.getDate() - 1), yYe = Py.range;
10678
10678
  function _l(e) {
10679
10679
  return Un(function(t) {
10680
10680
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
10681
10681
  }, function(t, n) {
10682
10682
  t.setDate(t.getDate() + n * 7);
10683
10683
  }, function(t, n) {
10684
- return (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * uo) / eC;
10684
+ return (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * fo) / eC;
10685
10685
  });
10686
10686
  }
10687
10687
  var tC = _l(0), Ag = _l(1), aae = _l(2), sae = _l(3), lu = _l(4), lae = _l(5), cae = _l(6), bYe = tC.range, xYe = Ag.range, wYe = aae.range, SYe = sae.range, TYe = lu.range, CYe = lae.range, AYe = cae.range, v6 = Un(function(e) {
@@ -10711,9 +10711,9 @@ Ua.every = function(e) {
10711
10711
  var EYe = Ua.range, nC = Un(function(e) {
10712
10712
  e.setUTCSeconds(0, 0);
10713
10713
  }, function(e, t) {
10714
- e.setTime(+e + t * uo);
10714
+ e.setTime(+e + t * fo);
10715
10715
  }, function(e, t) {
10716
- return (t - e) / uo;
10716
+ return (t - e) / fo;
10717
10717
  }, function(e) {
10718
10718
  return e.getUTCMinutes();
10719
10719
  }), MYe = nC.range, Iy = Un(function(e) {
@@ -10892,22 +10892,22 @@ function w6(e, t, n, r, o, i) {
10892
10892
  [
10893
10893
  i,
10894
10894
  1,
10895
- uo
10895
+ fo
10896
10896
  ],
10897
10897
  [
10898
10898
  i,
10899
10899
  5,
10900
- 5 * uo
10900
+ 5 * fo
10901
10901
  ],
10902
10902
  [
10903
10903
  i,
10904
10904
  15,
10905
- 15 * uo
10905
+ 15 * fo
10906
10906
  ],
10907
10907
  [
10908
10908
  i,
10909
10909
  30,
10910
- 30 * uo
10910
+ 30 * fo
10911
10911
  ],
10912
10912
  [
10913
10913
  o,
@@ -11598,7 +11598,7 @@ var rc = (e) => {
11598
11598
  ...e?.id === void 0 ? {} : { id: e.id },
11599
11599
  ...Object.keys(t).length === 0 ? {} : { when: t }
11600
11600
  };
11601
- }, bs = (e) => e?.layer === void 0 ? {} : { layer: e.layer }, Ie = (e) => e?.id === void 0 ? {} : { id: e.id }, Ao = (e) => e?.annotation === void 0 ? {} : { annotation: e.annotation }, Be = {
11601
+ }, bs = (e) => e?.layer === void 0 ? {} : { layer: e.layer }, Ie = (e) => e?.id === void 0 ? {} : { id: e.id }, ko = (e) => e?.annotation === void 0 ? {} : { annotation: e.annotation }, Be = {
11602
11602
  geom: Object.assign((e, t) => ({
11603
11603
  ...rc(t),
11604
11604
  select: {
@@ -12012,7 +12012,7 @@ var rc = (e) => {
12012
12012
  ...Ie(t),
12013
12013
  select: {
12014
12014
  target: "annotation",
12015
- ...Ao(t)
12015
+ ...ko(t)
12016
12016
  },
12017
12017
  declarations: e
12018
12018
  }), {
@@ -12021,7 +12021,7 @@ var rc = (e) => {
12021
12021
  select: {
12022
12022
  target: "annotation",
12023
12023
  kind: "shape",
12024
- ...Ao(t)
12024
+ ...ko(t)
12025
12025
  },
12026
12026
  declarations: e
12027
12027
  }),
@@ -12030,7 +12030,7 @@ var rc = (e) => {
12030
12030
  select: {
12031
12031
  target: "annotation",
12032
12032
  kind: "arrow",
12033
- ...Ao(t)
12033
+ ...ko(t)
12034
12034
  },
12035
12035
  declarations: e
12036
12036
  }),
@@ -12039,7 +12039,7 @@ var rc = (e) => {
12039
12039
  select: {
12040
12040
  target: "annotation",
12041
12041
  kind: "differenceArrow",
12042
- ...Ao(t)
12042
+ ...ko(t)
12043
12043
  },
12044
12044
  declarations: e
12045
12045
  }), { label: (e, t) => ({
@@ -12048,7 +12048,7 @@ var rc = (e) => {
12048
12048
  target: "annotation",
12049
12049
  kind: "differenceArrow",
12050
12050
  part: "label",
12051
- ...Ao(t)
12051
+ ...ko(t)
12052
12052
  },
12053
12053
  declarations: e
12054
12054
  }) }),
@@ -12057,7 +12057,7 @@ var rc = (e) => {
12057
12057
  select: {
12058
12058
  target: "annotation",
12059
12059
  kind: "text",
12060
- ...Ao(t)
12060
+ ...ko(t)
12061
12061
  },
12062
12062
  declarations: e
12063
12063
  }),
@@ -12066,7 +12066,7 @@ var rc = (e) => {
12066
12066
  select: {
12067
12067
  target: "annotation",
12068
12068
  kind: "image",
12069
- ...Ao(t)
12069
+ ...ko(t)
12070
12070
  },
12071
12071
  declarations: e
12072
12072
  }),
@@ -12075,7 +12075,7 @@ var rc = (e) => {
12075
12075
  select: {
12076
12076
  target: "annotation",
12077
12077
  kind: "pinnedNumber",
12078
- ...Ao(t)
12078
+ ...ko(t)
12079
12079
  },
12080
12080
  declarations: e
12081
12081
  }), { label: (e, t) => ({
@@ -12084,7 +12084,7 @@ var rc = (e) => {
12084
12084
  target: "annotation",
12085
12085
  kind: "pinnedNumber",
12086
12086
  part: "label",
12087
- ...Ao(t)
12087
+ ...ko(t)
12088
12088
  },
12089
12089
  declarations: e
12090
12090
  }) }),
@@ -12093,7 +12093,7 @@ var rc = (e) => {
12093
12093
  select: {
12094
12094
  target: "annotation",
12095
12095
  kind: "comment",
12096
- ...Ao(t)
12096
+ ...ko(t)
12097
12097
  },
12098
12098
  declarations: e
12099
12099
  }), { label: (e, t) => ({
@@ -12102,7 +12102,7 @@ var rc = (e) => {
12102
12102
  target: "annotation",
12103
12103
  kind: "comment",
12104
12104
  part: "label",
12105
- ...Ao(t)
12105
+ ...ko(t)
12106
12106
  },
12107
12107
  declarations: e
12108
12108
  }) })
@@ -14780,35 +14780,35 @@ function Ns(e) {
14780
14780
  return e = Xs(e), (e < 16 ? "0" : "") + e.toString(16);
14781
14781
  }
14782
14782
  function AR(e, t, n, r) {
14783
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Io(e, t, n, r);
14783
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Lo(e, t, n, r);
14784
14784
  }
14785
14785
  function Z6(e) {
14786
- if (e instanceof Io) return new Io(e.h, e.s, e.l, e.opacity);
14787
- if (e instanceof Nl || (e = Xf(e)), !e) return new Io();
14788
- if (e instanceof Io) return e;
14786
+ if (e instanceof Lo) return new Lo(e.h, e.s, e.l, e.opacity);
14787
+ if (e instanceof Nl || (e = Xf(e)), !e) return new Lo();
14788
+ if (e instanceof Lo) return e;
14789
14789
  e = e.rgb();
14790
14790
  var t = e.r / 255, n = e.g / 255, r = e.b / 255, o = Math.min(t, n, r), i = Math.max(t, n, r), a = NaN, s = i - o, l = (i + o) / 2;
14791
- return s ? (t === i ? a = (n - r) / s + (n < r) * 6 : n === i ? a = (r - t) / s + 2 : a = (t - n) / s + 4, s /= l < 0.5 ? i + o : 2 - i - o, a *= 60) : s = l > 0 && l < 1 ? 0 : a, new Io(a, s, l, e.opacity);
14791
+ return s ? (t === i ? a = (n - r) / s + (n < r) * 6 : n === i ? a = (r - t) / s + 2 : a = (t - n) / s + 4, s /= l < 0.5 ? i + o : 2 - i - o, a *= 60) : s = l > 0 && l < 1 ? 0 : a, new Lo(a, s, l, e.opacity);
14792
14792
  }
14793
14793
  function Jx(e, t, n, r) {
14794
- return arguments.length === 1 ? Z6(e) : new Io(e, t, n, r ?? 1);
14794
+ return arguments.length === 1 ? Z6(e) : new Lo(e, t, n, r ?? 1);
14795
14795
  }
14796
- function Io(e, t, n, r) {
14796
+ function Lo(e, t, n, r) {
14797
14797
  this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
14798
14798
  }
14799
- _h(Io, Jx, Fy(Nl, {
14799
+ _h(Lo, Jx, Fy(Nl, {
14800
14800
  brighter(e) {
14801
- return e = e == null ? Mg : Math.pow(Mg, e), new Io(this.h, this.s, this.l * e, this.opacity);
14801
+ return e = e == null ? Mg : Math.pow(Mg, e), new Lo(this.h, this.s, this.l * e, this.opacity);
14802
14802
  },
14803
14803
  darker(e) {
14804
- return e = e == null ? Yf : Math.pow(Yf, e), new Io(this.h, this.s, this.l * e, this.opacity);
14804
+ return e = e == null ? Yf : Math.pow(Yf, e), new Lo(this.h, this.s, this.l * e, this.opacity);
14805
14805
  },
14806
14806
  rgb() {
14807
14807
  var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * t, o = 2 * n - r;
14808
14808
  return new or(Bb(e >= 240 ? e - 240 : e + 120, o, r), Bb(e, o, r), Bb(e < 120 ? e + 240 : e - 120, o, r), this.opacity);
14809
14809
  },
14810
14810
  clamp() {
14811
- return new Io(kR(this.h), kp(this.s), kp(this.l), Pg(this.opacity));
14811
+ return new Lo(kR(this.h), kp(this.s), kp(this.l), Pg(this.opacity));
14812
14812
  },
14813
14813
  displayable() {
14814
14814
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
@@ -16495,7 +16495,7 @@ var I4 = [
16495
16495
  Uo.plum,
16496
16496
  Uo.green,
16497
16497
  Uo.dark_purple
16498
- ], Mo = {
16498
+ ], Ro = {
16499
16499
  green: "#B2DDC9",
16500
16500
  cyan: "#A2D5E2",
16501
16501
  blue: "#AAC4FF",
@@ -16506,15 +16506,15 @@ var I4 = [
16506
16506
  orange: "#FFDEB4",
16507
16507
  yellow: "#FDF7C3"
16508
16508
  }, Kde = [
16509
- Mo.green,
16510
- Mo.purple,
16511
- Mo.red,
16512
- Mo.cyan,
16513
- Mo.pink,
16514
- Mo.blue,
16515
- Mo.orange,
16516
- Mo.plum,
16517
- Mo.yellow
16509
+ Ro.green,
16510
+ Ro.purple,
16511
+ Ro.red,
16512
+ Ro.cyan,
16513
+ Ro.pink,
16514
+ Ro.blue,
16515
+ Ro.orange,
16516
+ Ro.plum,
16517
+ Ro.yellow
16518
16518
  ], Jf = {
16519
16519
  brick900: "#6E0500",
16520
16520
  brick800: "#881D11",
@@ -16618,8 +16618,8 @@ var I4 = [
16618
16618
  pink50: "#FFF4FC"
16619
16619
  }, Yde = [Jf.brick100, Jf.brick900], qde = [
16620
16620
  Jf.grey200,
16621
- Mo.green,
16622
- Mo.red,
16621
+ Ro.green,
16622
+ Ro.red,
16623
16623
  Jf.grey200
16624
16624
  ], qR = {
16625
16625
  dark: {
@@ -18281,14 +18281,14 @@ var ghe = class extends Il {
18281
18281
  color: "color",
18282
18282
  strokeWidth: "pixels",
18283
18283
  lineType: "lineType"
18284
- }, Lo = {
18284
+ }, lo = {
18285
18285
  fontFamily: "fontFamily",
18286
18286
  fontSize: "pixels",
18287
18287
  fontWeight: "fontWeight",
18288
18288
  lineHeight: "multiplier",
18289
18289
  textColor: "color"
18290
18290
  }, Lp = {
18291
- ...Lo,
18291
+ ...lo,
18292
18292
  paddingInline: "pixels",
18293
18293
  paddingBlock: "pixels",
18294
18294
  background: "color",
@@ -18306,17 +18306,12 @@ var ghe = class extends Il {
18306
18306
  ...Ip,
18307
18307
  length: "pixels"
18308
18308
  },
18309
- axisLabel: Lo,
18309
+ axisLabel: lo,
18310
18310
  tickLabel: {
18311
- ...Lo,
18311
+ ...lo,
18312
18312
  offset: "pixels"
18313
18313
  },
18314
- ruleLabel: {
18315
- fontFamily: "fontFamily",
18316
- fontSize: "pixels",
18317
- fontWeight: "fontWeight",
18318
- lineHeight: "multiplier"
18319
- },
18314
+ ruleLabel: lo,
18320
18315
  dataLabel: Lp,
18321
18316
  graph: {
18322
18317
  background: "color",
@@ -18339,12 +18334,12 @@ var ghe = class extends Il {
18339
18334
  paddingBlock: "pixels",
18340
18335
  shadow: "shadow"
18341
18336
  },
18342
- tooltipText: Lo,
18337
+ tooltipText: lo,
18343
18338
  tooltipPrimaryRow: { background: "color" },
18344
18339
  headline: { gap: "pixels" },
18345
18340
  legend: { gap: "pixels" },
18346
18341
  legendItem: {
18347
- ...Lo,
18342
+ ...lo,
18348
18343
  paddingInline: "pixels",
18349
18344
  paddingBlock: "pixels",
18350
18345
  background: "color",
@@ -18357,7 +18352,7 @@ var ghe = class extends Il {
18357
18352
  strokeWidth: "pixels"
18358
18353
  },
18359
18354
  directLabel: {
18360
- ...Lo,
18355
+ ...lo,
18361
18356
  strokeWidth: "pixels",
18362
18357
  lineType: "lineType"
18363
18358
  },
@@ -18404,12 +18399,12 @@ var ghe = class extends Il {
18404
18399
  shadow: "shadow"
18405
18400
  }
18406
18401
  }, V4 = {
18407
- number: Lo,
18408
- numberCenter: Lo,
18409
- caption: Lo,
18410
- label: Lo,
18402
+ number: lo,
18403
+ numberCenter: lo,
18404
+ caption: lo,
18405
+ label: lo,
18411
18406
  swatch: { size: "pixels" },
18412
- trend: Lo,
18407
+ trend: lo,
18413
18408
  trendUp: { textColor: "color" },
18414
18409
  trendDown: { textColor: "color" },
18415
18410
  trendFlat: { textColor: "color" }
@@ -22253,7 +22248,7 @@ var qb = {
22253
22248
  "fontWeight",
22254
22249
  "lineHeight",
22255
22250
  "textColor"
22256
- ], Ga = (e) => e.fontSize * e.lineHeight, go = (e, t) => ({
22251
+ ], Ga = (e) => e.fontSize * e.lineHeight, vo = (e, t) => ({
22257
22252
  family: e.fontFamily ?? t,
22258
22253
  size: e.fontSize,
22259
22254
  weight: e.fontWeight
@@ -22282,13 +22277,11 @@ var qb = {
22282
22277
  ...s === void 0 ? {} : { borderWidth: s }
22283
22278
  };
22284
22279
  }, uge = (e, t, n) => {
22285
- const r = qr(e.ruleLabel(t), n, e.graph.get("fontFamily"));
22286
- return {
22287
- fontFamily: r.fontFamily,
22288
- fontSize: r.fontSize,
22289
- fontWeight: r.fontWeight,
22290
- lineHeight: r.lineHeight
22291
- };
22280
+ const r = e.ruleLabel(t), { textColor: o, ...i } = qr(r, n, e.graph.get("fontFamily"));
22281
+ return r.getSource("textColor") === "authored" ? {
22282
+ ...i,
22283
+ textColor: o
22284
+ } : i;
22292
22285
  }, dge = (e, t) => {
22293
22286
  const n = e.tooltip.box, r = e.graph.get("fontFamily");
22294
22287
  return {
@@ -23143,7 +23136,7 @@ function qYe(e) {
23143
23136
  function Do(e) {
23144
23137
  return 1 - e;
23145
23138
  }
23146
- var De = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, vo = (e, t) => {
23139
+ var De = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, yo = (e, t) => {
23147
23140
  const n = Ay(e.frame, t);
23148
23141
  return {
23149
23142
  x: n.x + e.x * n.width,
@@ -23411,8 +23404,8 @@ var De = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, vo = (e, t) => {
23411
23404
  width: n,
23412
23405
  height: r
23413
23406
  }, i = {
23414
- start: vo(e.start, o),
23415
- end: vo(e.end, o)
23407
+ start: yo(e.start, o),
23408
+ end: yo(e.end, o)
23416
23409
  };
23417
23410
  if (i.start.x === i.end.x && i.start.y === i.end.y) return null;
23418
23411
  const { strokeWidth: a, arrowheadLength: s } = Zge(t.strokeWidth, n), l = Math.hypot(i.end.x - i.start.x, i.end.y - i.start.y), c = ive(s, l), u = e.startArrowheadStyle === "line-arrow", d = e.endArrowheadStyle === "line-arrow", f = u || d ? c * Math.sin(Math.PI / 4) : 0;
@@ -23568,7 +23561,7 @@ function mve(e) {
23568
23561
  return l;
23569
23562
  }
23570
23563
  function IP(e, t, n, r, o, i) {
23571
- const a = vo(n, i);
23564
+ const a = yo(n, i);
23572
23565
  return {
23573
23566
  id: e,
23574
23567
  kind: t,
@@ -27081,7 +27074,7 @@ var Hl = class {
27081
27074
  const n = {};
27082
27075
  for (const r of Object.keys(t)) n[r] = e[r];
27083
27076
  return n;
27084
- }, i1e = (e, t) => Object.entries(t).some(([n, r]) => !Object.is(e[n], r)), yo = class g7 {
27077
+ }, i1e = (e, t) => Object.entries(t).some(([n, r]) => !Object.is(e[n], r)), bo = class g7 {
27085
27078
  constructor(t, n = {}) {
27086
27079
  this.type = "update-annotation", this.params = t, this.metadata = Ne({
27087
27080
  ...n,
@@ -27134,14 +27127,14 @@ var Hl = class {
27134
27127
  const r = m7(e, t, n);
27135
27128
  return r === null ? null : {
27136
27129
  spec: r.spec,
27137
- revert: new yo({
27130
+ revert: new bo({
27138
27131
  kind: t.kind,
27139
27132
  id: t.annotation.id,
27140
27133
  patch: r.inverse
27141
27134
  }, this.metadata)
27142
27135
  };
27143
27136
  }
27144
- }, bo = class jm {
27137
+ }, xo = class jm {
27145
27138
  constructor(t, n = {}) {
27146
27139
  this.type = "set-style-rule", this.params = t, this.metadata = Ne({
27147
27140
  ...n,
@@ -27232,7 +27225,7 @@ var Hl = class {
27232
27225
  };
27233
27226
  let s = t;
27234
27227
  const l = { annotationId: n }, c = (u) => {
27235
- const d = bi(s.styles.overrides, u), f = new bo({
27228
+ const d = bi(s.styles.overrides, u), f = new xo({
27236
27229
  list: "overrides",
27237
27230
  rule: u
27238
27231
  }).apply(s);
@@ -28064,7 +28057,7 @@ var pxe = class Q7 {
28064
28057
  y: o1(e, "y", n)
28065
28058
  }, o1 = (e, t, n) => cF(e.styles.overrides, t)?.[n] ?? null, Cxe = (e, t) => t === null || e === "lineType" && t === bxe || e === "strokeWidth" && t === xxe ? null : t, Axe = (e, t, n, r) => {
28066
28059
  const o = cF(e.styles.overrides, t);
28067
- return (o?.[n] ?? null) === r ? null : new bo({
28060
+ return (o?.[n] ?? null) === r ? null : new xo({
28068
28061
  list: "overrides",
28069
28062
  rule: Mxe(t, Exe(o, n, r))
28070
28063
  }).apply(e)?.spec ?? null;
@@ -28241,7 +28234,7 @@ var pxe = class Q7 {
28241
28234
  }
28242
28235
  apply(e) {
28243
28236
  if (vF(e) === this.params.dimStyle) return null;
28244
- const t = new bo({
28237
+ const t = new xo({
28245
28238
  list: "overrides",
28246
28239
  rule: Hxe(this.params.dimStyle)
28247
28240
  }, this.metadata).apply(e);
@@ -28516,7 +28509,7 @@ var Yxe = class MF {
28516
28509
  if (!Ei(Cr(t.layers, n), "bar")) return null;
28517
28510
  const o = Js("bar", n), i = Gh(t.styles.overrides, o), a = i?.borderRadius ?? null;
28518
28511
  if (a === r) return null;
28519
- const s = new bo({
28512
+ const s = new xo({
28520
28513
  list: "overrides",
28521
28514
  rule: {
28522
28515
  ...o,
@@ -28694,7 +28687,7 @@ var Xxe = class PF {
28694
28687
  if (!Ei(o, "line", "area")) return null;
28695
28688
  const i = Gh(t.styles.overrides, Js(o.geom, n)), a = i?.strokeWidth ?? null;
28696
28689
  if (a === r) return null;
28697
- const s = twe(i, r), l = new bo({
28690
+ const s = twe(i, r), l = new xo({
28698
28691
  list: "overrides",
28699
28692
  rule: o.geom === "area" ? {
28700
28693
  ...Js("area", n),
@@ -28736,7 +28729,7 @@ var Xxe = class PF {
28736
28729
  if (!Ei(Cr(t.layers, n), "point")) return null;
28737
28730
  const o = Js("point", n), i = Gh(t.styles.overrides, o), a = i?.size ?? null;
28738
28731
  if (a === r) return null;
28739
- const s = new bo({
28732
+ const s = new xo({
28740
28733
  list: "overrides",
28741
28734
  rule: {
28742
28735
  ...o,
@@ -29025,7 +29018,7 @@ var Xxe = class PF {
29025
29018
  if (!Ei(Cr(t.layers, n), "line")) return null;
29026
29019
  const i = Js("line", n), a = Gh(t.styles.overrides, i), s = a?.fillAlpha, l = s !== void 0;
29027
29020
  if (l === r) return null;
29028
- const c = new bo({
29021
+ const c = new xo({
29029
29022
  list: "overrides",
29030
29023
  rule: {
29031
29024
  ...i,
@@ -32149,13 +32142,13 @@ ${o.stack}` : ""}`), de(this, "code", void 0), this.code = t, typeof Error.captu
32149
32142
  constructor(e, t) {
32150
32143
  super(Kh.MISSING_DATA, e, t);
32151
32144
  }
32152
- }, xo = class extends Yh {
32145
+ }, wo = class extends Yh {
32153
32146
  constructor(e, t, n) {
32154
32147
  super(Kh.FORMAT_ERROR, `${e}
32155
32148
  Locale: ${t}
32156
32149
  `, n), de(this, "descriptor", void 0), de(this, "locale", void 0), this.locale = t;
32157
32150
  }
32158
- }, l1 = class extends xo {
32151
+ }, l1 = class extends wo {
32159
32152
  constructor(e, t, n, r) {
32160
32153
  super(`${e}
32161
32154
  MessageID: ${n?.id}
@@ -32348,7 +32341,7 @@ function VSe(e, t, n, r = {}) {
32348
32341
  try {
32349
32342
  return qh(e, "date", t, r).format(o);
32350
32343
  } catch (i) {
32351
- e.onError(new xo("Error formatting date.", e.locale, i));
32344
+ e.onError(new wo("Error formatting date.", e.locale, i));
32352
32345
  }
32353
32346
  return String(o);
32354
32347
  }
@@ -32357,7 +32350,7 @@ function HSe(e, t, n, r = {}) {
32357
32350
  try {
32358
32351
  return qh(e, "time", t, r).format(o);
32359
32352
  } catch (i) {
32360
- e.onError(new xo("Error formatting time.", e.locale, i));
32353
+ e.onError(new wo("Error formatting time.", e.locale, i));
32361
32354
  }
32362
32355
  return String(o);
32363
32356
  }
@@ -32366,7 +32359,7 @@ function zSe(e, t, n, r, o = {}) {
32366
32359
  try {
32367
32360
  return qh(e, "dateTimeRange", t, o).formatRange(i, a);
32368
32361
  } catch (s) {
32369
- e.onError(new xo("Error formatting date time range.", e.locale, s));
32362
+ e.onError(new wo("Error formatting date time range.", e.locale, s));
32370
32363
  }
32371
32364
  return String(i);
32372
32365
  }
@@ -32375,7 +32368,7 @@ function $Se(e, t, n, r = {}) {
32375
32368
  try {
32376
32369
  return qh(e, "date", t, r).formatToParts(o);
32377
32370
  } catch (i) {
32378
- e.onError(new xo("Error formatting date.", e.locale, i));
32371
+ e.onError(new wo("Error formatting date.", e.locale, i));
32379
32372
  }
32380
32373
  return [];
32381
32374
  }
@@ -32384,7 +32377,7 @@ function WSe(e, t, n, r = {}) {
32384
32377
  try {
32385
32378
  return qh(e, "time", t, r).formatToParts(o);
32386
32379
  } catch (i) {
32387
- e.onError(new xo("Error formatting time.", e.locale, i));
32380
+ e.onError(new wo("Error formatting time.", e.locale, i));
32388
32381
  }
32389
32382
  return [];
32390
32383
  }
@@ -32402,7 +32395,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
32402
32395
  try {
32403
32396
  return n(e, i).of(r);
32404
32397
  } catch (a) {
32405
- t(new xo("Error formatting display name.", e, a));
32398
+ t(new wo("Error formatting display name.", e, a));
32406
32399
  }
32407
32400
  }
32408
32401
  var jSe = ["type", "style"], wI = Date.now();
@@ -32434,7 +32427,7 @@ Try polyfilling it using "@formatjs/intl-listformat"
32434
32427
  value: a[l.value] || l.value
32435
32428
  });
32436
32429
  } catch (a) {
32437
- t(new xo("Error formatting list.", e, a));
32430
+ t(new wo("Error formatting list.", e, a));
32438
32431
  }
32439
32432
  return r;
32440
32433
  }
@@ -32447,7 +32440,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
32447
32440
  try {
32448
32441
  return n(e, i).select(r);
32449
32442
  } catch (a) {
32450
- t(new xo("Error formatting plural.", e, a));
32443
+ t(new wo("Error formatting plural.", e, a));
32451
32444
  }
32452
32445
  return "other";
32453
32446
  }
@@ -32463,7 +32456,7 @@ Try polyfilling it using "@formatjs/intl-relativetimeformat"
32463
32456
  try {
32464
32457
  return JSe(e, t, o).format(n, r);
32465
32458
  } catch (i) {
32466
- e.onError(new xo("Error formatting relative time.", e.locale, i));
32459
+ e.onError(new wo("Error formatting relative time.", e.locale, i));
32467
32460
  }
32468
32461
  return String(n);
32469
32462
  }
@@ -32499,7 +32492,7 @@ function tTe(e, t, n, r = {}) {
32499
32492
  try {
32500
32493
  return p9(e, t, r).format(n);
32501
32494
  } catch (o) {
32502
- e.onError(new xo("Error formatting number.", e.locale, o));
32495
+ e.onError(new wo("Error formatting number.", e.locale, o));
32503
32496
  }
32504
32497
  return String(n);
32505
32498
  }
@@ -32507,7 +32500,7 @@ function nTe(e, t, n, r = {}) {
32507
32500
  try {
32508
32501
  return p9(e, t, r).formatToParts(n);
32509
32502
  } catch (o) {
32510
- e.onError(new xo("Error formatting number.", e.locale, o));
32503
+ e.onError(new wo("Error formatting number.", e.locale, o));
32511
32504
  }
32512
32505
  return [];
32513
32506
  }
@@ -33093,12 +33086,12 @@ function xA(e) {
33093
33086
  function wA(e) {
33094
33087
  return e === "y" ? "height" : "width";
33095
33088
  }
33096
- function fo(e) {
33089
+ function ho(e) {
33097
33090
  const t = e[0];
33098
33091
  return t === "t" || t === "b" ? "y" : "x";
33099
33092
  }
33100
33093
  function SA(e) {
33101
- return xA(fo(e));
33094
+ return xA(ho(e));
33102
33095
  }
33103
33096
  function NTe(e, t, n) {
33104
33097
  n === void 0 && (n = !1);
@@ -33171,7 +33164,7 @@ function nh(e) {
33171
33164
  }
33172
33165
  function MI(e, t, n) {
33173
33166
  let { reference: r, floating: o } = e;
33174
- const i = fo(t), a = SA(t), s = wA(a), l = Ir(t), c = i === "y", u = r.x + r.width / 2 - o.width / 2, d = r.y + r.height / 2 - o.height / 2, f = r[s] / 2 - o[s] / 2;
33167
+ const i = ho(t), a = SA(t), s = wA(a), l = Ir(t), c = i === "y", u = r.x + r.width / 2 - o.width / 2, d = r.y + r.height / 2 - o.height / 2, f = r[s] / 2 - o[s] / 2;
33175
33168
  let h;
33176
33169
  switch (l) {
33177
33170
  case "top":
@@ -33298,7 +33291,7 @@ var UTe = 50, GTe = async (e, t, n) => {
33298
33291
  var n, r;
33299
33292
  const { placement: o, middlewareData: i, rects: a, initialPlacement: s, platform: l, elements: c } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: f, fallbackStrategy: h = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: g = !0, ...v } = fa(e, t);
33300
33293
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
33301
- const y = Ir(o), b = fo(s), w = Ir(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), A = f || (w || !g ? [jg(s)] : FTe(s)), T = p !== "none";
33294
+ const y = Ir(o), b = ho(s), w = Ir(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), A = f || (w || !g ? [jg(s)] : FTe(s)), T = p !== "none";
33302
33295
  !f && T && A.push(...zTe(s, g, p, S));
33303
33296
  const R = [s, ...A], x = await l.detectOverflow(t, v), k = [];
33304
33297
  let O = ((r = i.flip) == null ? void 0 : r.overflows) || [];
@@ -33312,7 +33305,7 @@ var UTe = 50, GTe = async (e, t, n) => {
33312
33305
  }], !k.every((L) => L <= 0)) {
33313
33306
  var E, F;
33314
33307
  const L = (((E = i.flip) == null ? void 0 : E.index) || 0) + 1, D = R[L];
33315
- if (D && (!(d === "alignment" && b !== fo(D)) || O.every((I) => fo(I.placement) === b ? I.overflows[0] > 0 : !0)))
33308
+ if (D && (!(d === "alignment" && b !== ho(D)) || O.every((I) => ho(I.placement) === b ? I.overflows[0] > 0 : !0)))
33316
33309
  return {
33317
33310
  data: {
33318
33311
  index: L,
@@ -33326,7 +33319,7 @@ var UTe = 50, GTe = async (e, t, n) => {
33326
33319
  var M;
33327
33320
  const I = (M = O.filter((N) => {
33328
33321
  if (T) {
33329
- const _ = fo(N.placement);
33322
+ const _ = ho(N.placement);
33330
33323
  return _ === b || _ === "y";
33331
33324
  }
33332
33325
  return !0;
@@ -33389,7 +33382,7 @@ var KTe = function(e) {
33389
33382
  };
33390
33383
  }, S9 = /* @__PURE__ */ new Set(["left", "top"]);
33391
33384
  async function YTe(e, t) {
33392
- const { placement: n, platform: r, elements: o } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Ir(n), s = ts(n), l = fo(n) === "y", c = S9.has(a) ? -1 : 1, u = i && l ? -1 : 1, d = fa(t, e);
33385
+ const { placement: n, platform: r, elements: o } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Ir(n), s = ts(n), l = ho(n) === "y", c = S9.has(a) ? -1 : 1, u = i && l ? -1 : 1, d = fa(t, e);
33393
33386
  let { mainAxis: f, crossAxis: h, alignmentAxis: p } = typeof d == "number" ? {
33394
33387
  mainAxis: d,
33395
33388
  crossAxis: 0,
@@ -33438,7 +33431,7 @@ var qTe = function(e) {
33438
33431
  } }, ...c } = fa(e, t), u = {
33439
33432
  x: n,
33440
33433
  y: r
33441
- }, d = await i.detectOverflow(t, c), f = fo(Ir(o)), h = xA(f);
33434
+ }, d = await i.detectOverflow(t, c), f = ho(Ir(o)), h = xA(f);
33442
33435
  let p = u[h], g = u[f];
33443
33436
  if (a) {
33444
33437
  const y = h === "y" ? "top" : "left", b = h === "y" ? "bottom" : "right", w = p + d[y], S = p - d[b];
@@ -33473,7 +33466,7 @@ var qTe = function(e) {
33473
33466
  const { x: n, y: r, placement: o, rects: i, middlewareData: a } = t, { offset: s = 0, mainAxis: l = !0, crossAxis: c = !0 } = fa(e, t), u = {
33474
33467
  x: n,
33475
33468
  y: r
33476
- }, d = fo(o), f = xA(d);
33469
+ }, d = ho(o), f = xA(d);
33477
33470
  let h = u[f], p = u[d];
33478
33471
  const g = fa(s, t), v = typeof g == "number" ? {
33479
33472
  mainAxis: g,
@@ -33505,7 +33498,7 @@ var qTe = function(e) {
33505
33498
  async fn(t) {
33506
33499
  var n, r;
33507
33500
  const { placement: o, rects: i, platform: a, elements: s } = t, { apply: l = () => {
33508
- }, ...c } = fa(e, t), u = await a.detectOverflow(t, c), d = Ir(o), f = ts(o), h = fo(o) === "y", { width: p, height: g } = i.floating;
33501
+ }, ...c } = fa(e, t), u = await a.detectOverflow(t, c), d = Ir(o), f = ts(o), h = ho(o) === "y", { width: p, height: g } = i.floating;
33509
33502
  let v, y;
33510
33503
  d === "top" || d === "bottom" ? (v = d, y = f === (await (a.isRTL == null ? void 0 : a.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (y = d, v = f === "end" ? "top" : "bottom");
33511
33504
  const b = g - u.top - u.bottom, w = p - u.left - u.right, S = hu(g - u[v], b), A = hu(p - u[y], w), T = !t.middlewareData.shift;
@@ -34521,7 +34514,7 @@ function WCe(e, t, n) {
34521
34514
  };
34522
34515
  }
34523
34516
  var _w = (e, t) => {
34524
- const n = Po(e);
34517
+ const n = Io(e);
34525
34518
  return Ce(() => {
34526
34519
  const r = WCe(n.get(), e);
34527
34520
  qi(0, 1, {
@@ -35028,7 +35021,7 @@ var _w = (e, t) => {
35028
35021
  strokeWidth: o,
35029
35022
  opacity: i
35030
35023
  }), fAe = (e, t, n) => {
35031
- const r = t.activeIntro ? V9(e, t.activeIntro) : e, o = Po(r.x), i = Po(r.y), a = Po(r.width), s = Po(r.height), l = Dw(t, n);
35024
+ const r = t.activeIntro ? V9(e, t.activeIntro) : e, o = Io(r.x), i = Io(r.y), a = Io(r.width), s = Io(r.height), l = Dw(t, n);
35032
35025
  return Ce(() => {
35033
35026
  const c = l(), u = [
35034
35027
  qi(o, e.x, c),
@@ -35698,7 +35691,7 @@ var pAe = "cartesian-bar.hover_border__9720w50", H9 = (e, t, n) => {
35698
35691
  headingSm: 1.8,
35699
35692
  headingMd: 2.2,
35700
35693
  headingLg: 2.8
35701
- }, Ro = {
35694
+ }, Po = {
35702
35695
  xxs: 1,
35703
35696
  xs: 1,
35704
35697
  sm: 1.3,
@@ -35731,21 +35724,21 @@ var pAe = "cartesian-bar.hover_border__9720w50", H9 = (e, t, n) => {
35731
35724
  fontSizeMd: Zo(Jo.md),
35732
35725
  fontSizeLg: Zo(Jo.lg),
35733
35726
  fontSizeXl: Zo(Jo.xl),
35734
- fontLineHeightXxs: Ro.xxs.toString(),
35735
- fontLineHeightXs: Ro.xs.toString(),
35736
- fontLineHeightSm: Ro.sm.toString(),
35737
- fontLineHeightMd: Ro.md.toString(),
35738
- fontLineHeightLg: Ro.lg.toString(),
35739
- fontLineHeightXl: Ro.xl.toString()
35727
+ fontLineHeightXxs: Po.xxs.toString(),
35728
+ fontLineHeightXs: Po.xs.toString(),
35729
+ fontLineHeightSm: Po.sm.toString(),
35730
+ fontLineHeightMd: Po.md.toString(),
35731
+ fontLineHeightLg: Po.lg.toString(),
35732
+ fontLineHeightXl: Po.xl.toString()
35740
35733
  }, G9 = {
35741
35734
  fontSizeEditorBody: Zo(Jo.editorBody),
35742
35735
  fontSizeHeadingSm: Zo(Jo.headingSm),
35743
35736
  fontSizeHeadingMd: Zo(Jo.headingMd),
35744
35737
  fontSizeHeadingLg: Zo(Jo.headingLg),
35745
- fontLineHeightEditorBody: Ro.editorBody.toString(),
35746
- fontLineHeightHeadingSm: Ro.headingSm.toString(),
35747
- fontLineHeightHeadingMd: Ro.headingMd.toString(),
35748
- fontLineHeightHeadingLg: Ro.headingLg.toString()
35738
+ fontLineHeightEditorBody: Po.editorBody.toString(),
35739
+ fontLineHeightHeadingSm: Po.headingSm.toString(),
35740
+ fontLineHeightHeadingMd: Po.headingMd.toString(),
35741
+ fontLineHeightHeadingLg: Po.headingLg.toString()
35749
35742
  }, At = (e, t, n, r = Z.fontFamily) => `${e} ${t}/${n} ${r}`, PAe = ({ weight: e, size: t, lineHeight: n }) => At(Z[e], Z[t], Z[n]), j9 = {
35750
35743
  fontLegendLabel: PAe(p0.fontLegendLabel),
35751
35744
  fontUITooltip: At(Z.fontWeightMedium, Z.fontSizeMd, Z.fontLineHeightMd),
@@ -35778,7 +35771,7 @@ var pAe = "cartesian-bar.hover_border__9720w50", H9 = (e, t, n) => {
35778
35771
  fontEditorControlValue: At(Z.fontWeightMedium, Z.fontSizeSm, Z.fontLineHeightSm),
35779
35772
  fontEditorSectionTitle: At(Z.fontWeightSemibold, Z.fontSizeSm, Z.fontLineHeightSm),
35780
35773
  fontEditorCaption: At(Z.fontWeightMedium, Z.fontSizeXxs, Z.fontLineHeightXxs)
35781
- }, IAe = Ro.sm, LAe = /^(\d*\.?\d+)(px|em)$/, K9 = /^\d*\.?\d+$/, OAe = 1, _Ae = 1e3, DAe = {
35774
+ }, IAe = Po.sm, LAe = /^(\d*\.?\d+)(px|em)$/, K9 = /^\d*\.?\d+$/, OAe = 1, _Ae = 1e3, DAe = {
35782
35775
  normal: 400,
35783
35776
  bold: 700
35784
35777
  }, NAe = (e) => {
@@ -36464,7 +36457,7 @@ var A2e = "swatch_root__1uv26hu0", k2e = 2, E2e = 12, M2e = 12, GI = 1, jI = 2,
36464
36457
  c,
36465
36458
  r,
36466
36459
  t
36467
- ]), { fonts: g } = Uu(), v = n2e(t.id), y = ie(() => go(v, g.familyDefault), [v, g.familyDefault]), b = ie(() => p === null ? null : EC(p, x2e(i, h !== null), (O) => a.measureText(O, y).width), [
36460
+ ]), { fonts: g } = Uu(), v = n2e(t.id), y = ie(() => vo(v, g.familyDefault), [v, g.familyDefault]), b = ie(() => p === null ? null : EC(p, x2e(i, h !== null), (O) => a.measureText(O, y).width), [
36468
36461
  p,
36469
36462
  i,
36470
36463
  h,
@@ -36476,7 +36469,7 @@ var A2e = "swatch_root__1uv26hu0", k2e = 2, E2e = 12, M2e = 12, GI = 1, jI = 2,
36476
36469
  a
36477
36470
  ]), S = tn(t), A = t.data.getFirst();
36478
36471
  if (!A) return null;
36479
- const T = S.get("color", A), R = IT(T), x = m2e(t, n), k = x ? Rt(A) : It(A);
36472
+ const T = S.get("color", A), R = v.textColor ?? IT(T), x = m2e(t, n), k = x ? Rt(A) : It(A);
36480
36473
  return k === null ? null : /* @__PURE__ */ V("g", {
36481
36474
  "data-geom": "rule",
36482
36475
  className: u2e,
@@ -36845,7 +36838,7 @@ var A2e = "swatch_root__1uv26hu0", k2e = 2, E2e = 12, M2e = 12, GI = 1, jI = 2,
36845
36838
  })
36846
36839
  });
36847
36840
  }), hB = ({ startAngle: e, endAngle: t, innerRadius: n, outerRadius: r, cornerRadius: o, animation: i, sweepsInOnLateMount: a, introKey: s }) => {
36848
- const l = i.activeIntro?.growAxis === "angle" ? i.activeIntro : null, c = i.activeIntro?.growAxis === "radius" ? i.activeIntro : null, u = a && !i.isLayerEntrance, d = l?.baseline ?? (u ? na : e), f = l?.baseline ?? (u ? na : t), h = c ? c.baseline : n, p = c ? c.baseline : r, g = Po(d), v = Po(f), y = Po(h), b = Po(p), w = Po(pl({
36841
+ const l = i.activeIntro?.growAxis === "angle" ? i.activeIntro : null, c = i.activeIntro?.growAxis === "radius" ? i.activeIntro : null, u = a && !i.isLayerEntrance, d = l?.baseline ?? (u ? na : e), f = l?.baseline ?? (u ? na : t), h = c ? c.baseline : n, p = c ? c.baseline : r, g = Io(d), v = Io(f), y = Io(h), b = Io(p), w = Io(pl({
36849
36842
  startAngle: d,
36850
36843
  endAngle: f,
36851
36844
  innerRadius: h,
@@ -37439,7 +37432,7 @@ var gke = "theme-provider_root__74ffgy0", vke = "theme-provider_portalRoot__74ff
37439
37432
  },
37440
37433
  children: e
37441
37434
  });
37442
- }, Tke = "graphy_root", wo = () => typeof document > "u" ? null : document.getElementById(Tke) ?? document.body, EB = {
37435
+ }, Tke = "graphy_root", So = () => typeof document > "u" ? null : document.getElementById(Tke) ?? document.body, EB = {
37443
37436
  modern: "'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",
37444
37437
  timeless: "'Noto Serif', Georgia, 'Times New Roman', serif",
37445
37438
  fresh: "'Aeonik', 'Aeonik Fallback', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif",
@@ -37636,7 +37629,7 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37636
37629
  style: p,
37637
37630
  "data-testid": "chart-tooltip",
37638
37631
  children: /* @__PURE__ */ m(a, { content: u })
37639
- }), y = wo();
37632
+ }), y = So();
37640
37633
  return y ? sy(/* @__PURE__ */ m(no, { children: v }), y) : v;
37641
37634
  }, Uke = ({ content: e }) => {
37642
37635
  const t = ba(), n = Re((l) => l.coordSystem), r = cke(), o = p1(r.heading), i = p1(r.label), a = p1(r.value), s = { paddingInline: r.box.paddingInline };
@@ -37844,7 +37837,7 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37844
37837
  return t;
37845
37838
  }, [e]);
37846
37839
  }, tEe = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: n, familyDefault: r }) => (o) => {
37847
- const i = o.position === "top" || o.position === "bottom", a = An(o.scaleAestheticKey), { offset: s, ...l } = t[a], c = o.ticksVisible ? Math.max(s, n[a].length) : s, u = go(l, r), d = o.ticks.map((h) => e.measureText(h.formattedLabel, u)), f = o.labelMaxWidthPx ?? Number.POSITIVE_INFINITY;
37840
+ const i = o.position === "top" || o.position === "bottom", a = An(o.scaleAestheticKey), { offset: s, ...l } = t[a], c = o.ticksVisible ? Math.max(s, n[a].length) : s, u = vo(l, r), d = o.ticks.map((h) => e.measureText(h.formattedLabel, u)), f = o.labelMaxWidthPx ?? Number.POSITIVE_INFINITY;
37848
37841
  if (i) {
37849
37842
  if (o.labelRotation !== 0) {
37850
37843
  const h = d.map((p) => p.width);
@@ -37854,13 +37847,13 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37854
37847
  }
37855
37848
  return QI(d.map((h) => h.width), f) + c;
37856
37849
  }, QI = (e, t) => Math.min(Math.max(...e), t), nEe = ({ axisLabelStyles: e }) => (t) => Ga(e[An(t.scaleAestheticKey)]), _B = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: n }) => (r, o, i) => {
37857
- const a = t[r][o], s = e.measureText(i, go(a, n));
37850
+ const a = t[r][o], s = e.measureText(i, vo(a, n));
37858
37851
  return {
37859
37852
  ...s,
37860
37853
  width: s.width + a.paddingInline * 2,
37861
37854
  height: s.height + a.paddingBlock * 2
37862
37855
  };
37863
- }, rEe = ({ textMeasurer: e, familyDefault: t }) => (n, r) => e.measureText(n, go(r, t)), oEe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: n, itemGap: r, headlineItemStyles: o }) => (i, a) => {
37856
+ }, rEe = ({ textMeasurer: e, familyDefault: t }) => (n, r) => e.measureText(n, vo(r, t)), oEe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: n, itemGap: r, headlineItemStyles: o }) => (i, a) => {
37864
37857
  const s = DB(i, o[a], e, t, n);
37865
37858
  return {
37866
37859
  width: NB(s.map((l) => l.width)) + Math.max(0, s.length - 1) * r,
@@ -37869,7 +37862,7 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37869
37862
  }, iEe = ({ textMeasurer: e, familyDefault: t, headlineRowGap: n, headlineItemStyles: r }) => (o, i) => DB(o, r[i], e, t, n).map((a) => a.width), aEe = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: n }) => (r, o, i = !1) => {
37870
37863
  const a = p8(n[o], i);
37871
37864
  return {
37872
- width: e.measureText(r, go(a, t)).width,
37865
+ width: e.measureText(r, vo(a, t)).width,
37873
37866
  height: Ga(a)
37874
37867
  };
37875
37868
  }, sEe = (e) => {
@@ -37888,7 +37881,7 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37888
37881
  let o = 0, i = 0;
37889
37882
  for (const a of e.segments) if (a.kind === "text") {
37890
37883
  const s = cEe(t, a.textRole);
37891
- o += n.measureText(a.text, go(s, r)).width, i = Math.max(i, uEe(s));
37884
+ o += n.measureText(a.text, vo(s, r)).width, i = Math.max(i, uEe(s));
37892
37885
  } else
37893
37886
  o += a.size, i = Math.max(i, a.size);
37894
37887
  return {
@@ -37920,10 +37913,10 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37920
37913
  if (i.display === "direct") {
37921
37914
  const g = Ga(r);
37922
37915
  if (a) return g;
37923
- const v = go(r, t), y = i.items.map((b) => e.measureText(b.formattedLabel, v).width);
37916
+ const v = vo(r, t), y = i.items.map((b) => e.measureText(b.formattedLabel, v).width);
37924
37917
  return Math.max(...y);
37925
37918
  }
37926
- const { item: s, swatch: l } = n, c = Ga(s), u = go(s, t), d = 2 * (s.paddingBlock + s.borderWidth), f = 2 * (s.paddingInline + s.borderWidth), h = i.aesthetics.includes("size");
37919
+ const { item: s, swatch: l } = n, c = Ga(s), u = vo(s, t), d = 2 * (s.paddingBlock + s.borderWidth), f = 2 * (s.paddingInline + s.borderWidth), h = i.aesthetics.includes("size");
37927
37920
  if (a) {
37928
37921
  const g = h ? Math.max(0, ...i.items.map((v) => Jg(v.visual, l.size, !0))) : l.size;
37929
37922
  return Math.max(c, g) + d;
@@ -37933,7 +37926,7 @@ var Oke = "tooltip_rows__1aumv52", _ke = "tooltip_row__1aumv53", Dke = "tooltip_
37933
37926
  return y + (y > 0 ? o : 0) + v;
37934
37927
  });
37935
37928
  return Math.max(...p) + f;
37936
- }, pEe = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: n }) => (r, o) => e.measureText(r, go(t[o], n)), mEe = Object.freeze({}), gEe = ({ textMeasurer: e, textScale: t, metrics: n, overrides: r = mEe }) => {
37929
+ }, pEe = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: n }) => (r, o) => e.measureText(r, vo(t[o], n)), mEe = Object.freeze({}), gEe = ({ textMeasurer: e, textScale: t, metrics: n, overrides: r = mEe }) => {
37937
37930
  const o = IB(), i = y0(), a = LB(), s = OA(), l = _A(), c = OB(), u = Gt(), d = We(r);
37938
37931
  return d.current = r, ie(() => {
37939
37932
  if (!e) return null;
@@ -38236,7 +38229,7 @@ var GB = _t(null), BEe = ({ panelRect: e, children: t }) => {
38236
38229
  }, HEe = (e, t) => {
38237
38230
  const n = /* @__PURE__ */ new Map();
38238
38231
  return (r, o) => {
38239
- const i = go(o, t), a = `${i.family}|${i.size}|${i.weight}|${r}`, s = n.get(a);
38232
+ const i = vo(o, t), a = `${i.family}|${i.size}|${i.weight}|${r}`, s = n.get(a);
38240
38233
  if (s !== void 0) return s;
38241
38234
  const { width: l } = e.measureText(r, i);
38242
38235
  return n.set(a, l), l;
@@ -38783,7 +38776,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
38783
38776
  visibleCount: d.length,
38784
38777
  hasOverflow: !1
38785
38778
  };
38786
- const S = go(l.item, a.fonts.familyDefault), A = Ga(l.item), T = 2 * (l.item.paddingInline + l.item.borderWidth), R = 2 * (l.item.paddingBlock + l.item.borderWidth), x = (M) => f ? xRe(M, A, l.swatch.size, R) : t5({
38779
+ const S = vo(l.item, a.fonts.familyDefault), A = Ga(l.item), T = 2 * (l.item.paddingInline + l.item.borderWidth), R = 2 * (l.item.paddingBlock + l.item.borderWidth), x = (M) => f ? xRe(M, A, l.swatch.size, R) : t5({
38787
38780
  label: M.formattedLabel,
38788
38781
  swatchInlineSize: wRe(M, l.swatch.size),
38789
38782
  textMeasurer: i,
@@ -39030,7 +39023,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39030
39023
  }
39031
39024
  return null;
39032
39025
  }, _Re = (e) => iV[e] !== void 0, zA = (e, t, n) => oV(e, n, t / 2), nV = (e, t) => {
39033
- const n = vo(e.start, t), r = vo(e.end, t);
39026
+ const n = yo(e.start, t), r = yo(e.end, t);
39034
39027
  return n.x === r.x && n.y === r.y ? null : {
39035
39028
  shape: "segment",
39036
39029
  start: n,
@@ -39039,7 +39032,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39039
39032
  }, rV = (e, { panel: t, measuredBoxes: n }) => {
39040
39033
  const r = n.get(e.id);
39041
39034
  if (r === void 0) return null;
39042
- const o = gy(e.align), i = vo(e.at, t);
39035
+ const o = gy(e.align), i = yo(e.at, t);
39043
39036
  return {
39044
39037
  shape: "rect",
39045
39038
  rect: {
@@ -39190,7 +39183,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39190
39183
  }, S0 = () => {
39191
39184
  const e = Gt();
39192
39185
  return ie(() => (t) => Tbe(e, t), [e]);
39193
- }, T0 = () => Xt((e) => Pt(e, "move-drag")?.annotationId ?? Pt(e, "shape-resize-drag")?.annotationId ?? Pt(e, "arrow-endpoint-drag")?.annotationId ?? null), So = (e) => {
39186
+ }, T0 = () => Xt((e) => Pt(e, "move-drag")?.annotationId ?? Pt(e, "shape-resize-drag")?.annotationId ?? Pt(e, "arrow-endpoint-drag")?.annotationId ?? null), To = (e) => {
39194
39187
  const t = Re((a) => a.annotations), n = DA(), r = SEe(), o = ot((a) => n5(r, "cycle", a, `Annotation reference cycle detected; dropping annotation(s): ${a.join(", ")}`), [r]), i = ot((a) => n5(r, "missing-ref", a, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${a.join(", ")}`), [r]);
39195
39188
  return ie(() => jge({
39196
39189
  annotations: t,
@@ -39301,7 +39294,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39301
39294
  return n;
39302
39295
  }
39303
39296
  }, qRe = ({ panelRect: e, isEditable: t }) => {
39304
- const { arrows: n } = So(e), r = T0(), o = S0(), i = ie(() => n.filter((a) => a.id !== r).flatMap((a) => {
39297
+ const { arrows: n } = To(e), r = T0(), o = S0(), i = ie(() => n.filter((a) => a.id !== r).flatMap((a) => {
39305
39298
  const s = o(a.id), l = KC({
39306
39299
  arrow: a,
39307
39300
  style: s,
@@ -39447,7 +39440,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39447
39440
  clipPath: l ? `url(#${r})` : void 0
39448
39441
  })] });
39449
39442
  }, r5 = ({ panelRect: e, zOrder: t }) => {
39450
- const n = So(e).images, r = lV(), o = T0(), i = n.filter((a) => a.zOrder === t && a.id !== o);
39443
+ const n = To(e).images, r = lV(), o = T0(), i = n.filter((a) => a.zOrder === t && a.id !== o);
39451
39444
  return i.length === 0 ? null : /* @__PURE__ */ m("svg", {
39452
39445
  x: e.x,
39453
39446
  y: e.y,
@@ -39483,7 +39476,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39483
39476
  strokeWidth: t.borderWidth
39484
39477
  });
39485
39478
  }, o5 = ({ panelRect: e, zOrder: t }) => {
39486
- const n = So(e).shapes, r = Zh(), o = T0(), i = n.filter((a) => a.zOrder === t && a.id !== o);
39479
+ const n = To(e).shapes, r = Zh(), o = T0(), i = n.filter((a) => a.zOrder === t && a.id !== o);
39487
39480
  return i.length === 0 ? null : /* @__PURE__ */ m("svg", {
39488
39481
  x: e.x,
39489
39482
  y: e.y,
@@ -39513,7 +39506,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39513
39506
  blockRef: r,
39514
39507
  children: /* @__PURE__ */ m(pu, { content: e.content })
39515
39508
  }), uV = ({ annotation: e, panel: t, style: n, blockRef: r, children: o }) => {
39516
- const i = vo(e.at, t);
39509
+ const i = yo(e.at, t);
39517
39510
  return /* @__PURE__ */ m("foreignObject", {
39518
39511
  x: i.x,
39519
39512
  y: i.y,
@@ -39553,7 +39546,7 @@ var aRe = "pill-content_bubble__1rqnt0m0", m1 = "\0", sRe = (e, t) => {
39553
39546
  boxShadow: `0 0 0 ${e.borderWidth}px ${n}`
39554
39547
  };
39555
39548
  }, uPe = (e) => {
39556
- const t = So(e).textAnnotations, n = Xt((r) => Pt(r, "text-resize-drag"));
39549
+ const t = To(e).textAnnotations, n = Xt((r) => Pt(r, "text-resize-drag"));
39557
39550
  return ie(() => t.map((r) => dV(r, n)), [t, n]);
39558
39551
  }, dV = (e, t) => t === null || t.annotationId !== e.id ? e : {
39559
39552
  ...e,
@@ -39761,7 +39754,7 @@ var vPe = (e, t, n, r) => t !== "comment" ? n : EC(n, 140, (o) => e.measureText(
39761
39754
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABECAYAAAAx+DPIAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABSHSURBVHgB7VwLcFzVef7PfezefWklZEl+BQQSGGQsMMa0vFXStCRAaQsaEpoyZTINTMkwHaAloWlRTcNQZkImSTNTmoG4YEoTOhkTkjF1gYgE6leEjQ0yorIs23pYLySttK/7Ov3/c+5Ku3uv1qJIUGfyjw93d+8595z/P//zO1cA/IZ+Qx8nMc45A+hQ8LMG0KZt2rRJpyvd89rHuyD4+IjmUpqbP6v94hdPtcXj8YvC4XCr4zjTuVzuYF/fwOuXXtrah30cbC42Dr8u1NHRobS0tISGhoauR4aP8QUom81u6+rqugBgk05j4BPQiCUnqfKb9HQ6/Q2+SKK+zc3NYRyuwOlMyAtdtEOHDl/BPyRls/ltjY2NBpzOQpC732hUUvvKQshuI9OB09UUyI7J7gO5Sx3kfPBJzoeeQU6HFxRCKpV6UEaK05Bo96amph7zcZUb4fytGzh/53PY8PrW73N+fGugAFzXndq+fftqL3QuOS2rfeHuqbquX+S7MfqinJmpwBUdeDgCMPFDgMPf8HVljCWvueaaO9rbO5bFDJZVAPl8lcqYkvTdyPQJq+aKhi0KoBrAdTT1yVcBhn7m6445w427dq0NSZ+ytLScAsCsb5TYrLBoFf9FgKtxXAkKIIaacOyHvl6oRVdu2bJlBWrD6SWAine4vHImtYCuoKBAzKMAM+/7hlx33WeubW9vP30EQA6surqamaZ1wnczVE8dMOF1gbl5VBUTWKES0FAQ0z2+IYYRPquvr2/J16vBMpHU1jo32G6Z0ADGLcz8sygLG4VhS61QUQsyQ0HPq8lmu04rEwBScKQFihoSgiM1wMngFYXBsQZSgnnEcMhSqbUq50tbIy2bBhC1tqquqqr+KEBMCEbIDEj9cR/cwnf3VI8teJAloWUTAPFXW5tA/pUq301zdJ4NIQxnPlhYqAmRVb4hqdTs4MCAMIUlVYHlMgF26aWbtKee+vY5kUjkt313CwIogUA8vkwUQHS1b0g2a001NjYvOUawHAIgltSHHnpoxY03/t6zvrv5EdmU8iGF+yZAcp1v2PHjxwf6+ztPaR8flpbaBKj217q6/qX54osvfllRlDN9PWYOgdhthRdZsveBmI/g7msJ37DPf/5rh2AZUKKl1ACGxY8+NvbyLRs3btwVyDzt/PDzIgEMRAAtDIVV/t1PpzN7Gcu7WBUCJkOqt25RTVDFSaH2/xodliquCub37t3bEYvFvrZgryOPAEztAQgXaUBxm04DnP0AwNqbSoaNjk5s379///fWrTtfxzyJDw4OHte0qHvs2ND0/fffPalpGu/t7XVRGM7DDz/MvYx5URJZCgEg0NmsHzhw4OEFmbeRsb5/QPU/iFkgflddKCRDc42+j08BXPoDgMR5sFjCnZ9GwOUgtRMnTmy7+eab3+ru7l40sLpYE5jz2RKs5B68TeNbtLfffvvvFmSe1P69e1GPkXkD16Odwo99CObFwrBcRg24GhHme3Ajdh069M6+o0ePbiaNhEXwxxZxX1jsiy++csbZZ9fXtLZ+7hhywRsbcWNtm/X09Hw9Go0+FDh6ajdA/7fwwyyqvevNxrykJ0gDpgGu3hHoBD8sZTKZR2+99aItO3b0YlwFtxKDC5E4vEBI63fq6ur+hqRcuEFqR010CnJ2RMP/hrX9c1jLInehIk2cY5qVfcc2g6ay5i6EEW+HpaBcznxuw4b1X0L/YMIC5qAG/CZUHdWJcPwnsKL7DjJ5VkkHxgxSPWpBDxXMUyN7D/HgGYJkr6PW9v0XFki4YRpiBEYdfkah2JPSlHKYCpojsi/9Ts8gHGEB0jS19c4775zZuXPn3uHh4UAtCNIAwTzZ9YKqXYnGEdU59oRkXA9gvqDu5RFA3GNw8v0pDBIWVK82gMUNiREU+rhlY0i5dSytE4i6nfUnKLAG/3SoqTt27Dh/374bRjs6/KYQoAHt6ptvfn/zqlWrtsKHZv4VZP5bcuf1Sg6Y+b/nGYwdyUMULS+xIgIsEgamEWKE9zQmtEPAZiHM3UL4e1jBPsQB+pf8EYCj26WAalpLn4zaWl9fP/7YY7t39/f3+wRQngmyxsZ9elNT8z9CEFmofrpfyjCNHv7kT9CGd/t3nmJycZIiiiDPCWLeQ4yDxaCvNw0rNQXC5P9cBkzxHDgKgCuoCSyMClJw7AikIIbAOZbSWg77YNSjWye2IUcxgE/9UcnyDCN6U29v/jsgzx15BQF0sG3bfrdJ17WroJzG0aGNYsuR3cXlRBYtfkbGedIl2pFymydmi4VAF4fJ55AKo9q7tgupUQvWrNVgLnJR0ad4Nk7MK4gdMhKEJgQAbk46UowojGdxfuyP+Coc3+4TgKYpZw4MfKBhCKcwXrLAkjjZ1tapNDU1XQvlRDs/vk1mb1GcPJzCH0/iAqh5zMfJ2y8QbQrMk/yJ8SyTn5HsvAuO6QphKKzIIXjAiPzmpRw0ESOB6AJSlxPj78xjI4TCzIz4psea/FOoakEOv1QD+vtxX2PxVl+vmV2l3wV256WzriI/a7Bw3iUclqfyrhSIiwJw81xAAfTATM5G5x9CdryHeA6PUUfVkuousIO8nJ+AFHSWbE6r8Vk5mqYOwmXTI5qEOxZV3n33XVZJACyf71F0PbTBx8DsLliQ3ALzZXYPMG/rJi9JRVwLBWAVDk8lMpKs0mB00oHVVYq0GDQLhj4Bsy3skkWFQJsnQy+gp+gDBKaIgCpHLbImOZjjNujnf8a3RMuyBltaAF544QVeSQAQiazWQyHtQj+TaViQyA4pvS2x86JdtIrKXrw6uNjCrhdTXX0YjuxPYUEYhvpzFIigOpOWi8KGQBKGWoC+QygBpjUu5gpuzgU7y8HOcSFU4/xbIHzhHb4lMqZWfeELdyYPHtw7jUJYWAATEybmPAEQVu4IBBKFKLWM6YIgiHm7wKjEAB3TE1hBIkx6dOrj4I6TRR3vy8KJkzloPNcQVquG0Cg8Zye6uoSdcoyGCjYmcVRMmlZe8yVgVU2By8RNXXPPPX9+9xln/PvXYc77+ATQrmzd+mdn+UY7lXafQh7z775bmKbAPHjMQ5GpFNRfmsLRw2mIrVJg8yUJEfeVGKp7mM1njXPj2Hwq7XjzEJA68H0UON5QMTHa9LgvKaqurrqrocHaMjIitmXOFOaiQFvbGPqAnL96cmehIoV5qf0XMrbCF5KHL/oWbkshTI9YoGOxdGELxlELfQBlf7pGh4eSUeF0mfiNGyHgmCRxA88TDXR3YRSUoUlhRan/GEDXX/umorR9z56f0elSCY9zXzo7AVaubPDn9pU0IIiKi5zCbjl8HgafM/15HzA5loc1a3Q5lvqFy0IKaVjhJJnRWWISuEYNj9S0sEyXyZyon6HIumHyoG9piFCfU1NTEyyAtjbEIpNVfvtHDeBB0MJC55Su5/Q8sxD2W/gODPzIFYOJKQuSCW3uuay4WCqMEx4RhYRZIVcSQgB0sCoEU2CeF61tyi8ARKjPfOONSRYogM7OGeY4/uKImHdxB12Xe4svDnFBxEuujLnzm41jmG8KDhFdgVzemevDXV76HE6prwR5ROx38SSJNNPJizMFRovkxUvD9bKYf2UYRjKZfcEagHgjHD7cPegbFWqQcdsuCMKFykATm2dYqK7iyarg+edjf4HOqA3BwKAl79FGWh5kVhjGZH86RgPB/DRGxUlgmIIzOy+dDPf8TdqB/CwKpf4K38oGBycOY0EUnAp3dVHObPhZ4x7jlLmhlxXnmG4FBWDz46TN48IVL3lBRnjx2bhHdY2oyo4KI0M27hzOYeI1a4mdFPPQhI5YADKPGaGdwyvm/2Ye+1pgZ2wwUxZkRkxIj5oIUv4psKi/aNuzZ/+7WOqX/DYXBtvaEtx1zUC2aPdJzQQjZIqkygrFX+Z3BZRxU6BhbM4fkPlyp5TpYiGoaNrnbU7CWzsnYGjIhGRdCLQwMoPJDiVCySoVZtOOGBJCczFNaSZVUVVuPMrHiFaBtvpKSGz+LGj1AW/lILJ8//1/2zc727tQHgDw5S8/OHD77e0lA1m4Qey+0E4PyhY+Rzhema35SAiBzzlK0ZeSFrMolpfYEYPRY1lIrlbg3A0xyFtShjHbg6foc70GqibTZIXmpQ3A/zAv72AYIfSL24ElgpOhp59+4duaFvfhg3MCQNyPp9M9iC47M1g9laCSHOtMbs8iI2xuR0W1SgJRA6IB855s8/niTpMRgJRsvsKTT6fPR3pScO11VShwBfRqTIRqdO/og3lLVr0wCfOh1ZVNRKl8DjjGf3bVM7JUL6Kenr5/3rLle0ey2dlcuQDmfAAVCqtWJdDUeMrHkN4w5wOEP7ClU3TsCt6Q+NPBw5w8J0YZHsZpViI0Bjl0WrG46smES61SvHGceS9TGeDivrgY/lxMfbmG2ICme2ETm4HPhgzA2H/7lpLJZPt1PYFho98uv6eUdsw5CCcfhiABeC9xFJgXgjA96btMghy8VAKE4HAd43aE3gKjhEWRODvm94peMANyi1jQlGSLRQIS9YIuARGtCnhoBV4xD1DDMjcg5KiQNyjBzjkcDjmRSBrDBfgEUOwDuKqGHAxz0+WdlNBKoAjE5vAHz7NTtYqfdcNbMAlCvNPpOQpQxcKBkBwyATsLzKRmoUmAeDGCqjndUCGKWB85wDXnRYSDk9HSFRrAmCPqf8Gkk/NivyVzg0IO4MoNofeP/EbpToyMZHzMA5RpgK5HncnJqW5fJ6yyXIzNVH67ojHvyiGPNTx3vd2nax68jXUFWEHYndAGyt70Gszf4zKHVxUhRI20AYXTtDGBKTHA+z1ZWfFlXfk8wSAlP2lQbIz/CJErVgqvWcQBTMG0mXEgg+EvV3MTKCv8EeCNN/YjT72B9lqiASMjH7jDw6OHmpoaSzrptRcJtRf4m/D8MgwKlcPf0yctiDfo8+koAZ0EjykYtyErEhWGcA1HOIvUHXRV9k3LTVbRJxgxDc5pTUD3rinYPTINsVr06nGGpawq0KIYVodkdhT65k0Ry+LEaoECnbHuGoi23OpjMJ/PH77vvof629vBKYMCfAKAlpYq5/nnX3rnqqsuK+mkxlaCEl4JPHPSA2Wl+rte0pcds8TP0XrvkIK8NRWWZDI6CkEhA5fvAnFQpBBIxyMyAqgIqznoBMZG8xBbqUDjOkQ3I4pglMCO2kQIY7+D2IoroDXLcrAIVMCIqGCcezWEN/wFLEQ9Pf0/0HWeR+YDNaDMXNoQExyvHR7e/VIiEdtcfGf2wFaY3b8VSrM4D6FxpB0mm1ZDLDnjn4UwQ4LKVW9scblADUFSgrQO7pmAjZfH8EBEBTzy9BIODU1NEWiQODFClVGoJhApKgkahdv6TwjK+uP/yMj4i42N1967YkVybGBgVw4CkvgSDejoaHOfeOI/rcnJ6V3lAiD1yh7fjw4xjrE6AaEVzQjQxkHHK/2mJVbKjlSKDj2P8NIr87KymWzCL/J5QLUgSMzAHcWFCDlTzStpBYuadKDhKGpPSAKhlAJTEWRbkh8yJdtfsk9Pp7ruu++RR2pqIpnm5rA1MLAoDQC2du3lRlvb5ec9++w3D8BHIXoV5iieEuVHg2ciUjx8APnNpRw4smsSLrgcBVytY+WrCp8BFP7wHIIzFIKLEcSZFS9XMhIAwmhAznI9nuNUl4LZ27e/fOcXv3j/yzU1yemFdh/Af37OBwbG3B//eMfo4ODJZ+GjUALB5danAc7+S/T6Z4lagPP59FhQIX9A7aBoYhCyQ9HOLpTAljgAYU4K/emoqALFd6/6E5klQWDVfiTfNPOj6bSZQeYLcSmQAjL5e3k8/pYyPDz9/vXXX3sTnrB+tMP66DnAGm5Am27FiIGeOzeDOYUEWRxTormZCQuyk7bI7afGLSoMBegpEi3MGdwcQt8mhrwcRpIcVn9pG6yUjVVgBNTz78WDqk+VMW8PXnHFDX9vWX3kkOxKywt4S6yDT05C7kc/2jHY2Ljyjgcf/MozmEmtho9KqBFKQh45cLRZPnNEugEMrVSEG67UDhZpQPUmNR8RfVwrg/F+RqK/eE+8Wq/HILzi4sCSl2h2dnZ3bW0in05XZp5oAVwLlLq6lqjrJpOc55I//elTt6xff94fqCpU2bY7k05nhlKp2aGJiQ+GZmezqVdfffP99947mv7qV+9uu+SS9XcZRngVfEJkmubQd7+77bann/7mge7ubvKOvFL/hQQAmDioP//5ldFs1ozZdi4aj+vhfN6RJQqTBbJpauJqGOKtJ8wk8zpWk8ZLL239w02bLrz7kxDEa6/tvve2277yH+Pj2QmAbvNU/Vnl2+3q2rUDoYGBbDged0PIqJbJkAAshzHdVRQDr7NYQ0QFyGBZdsi2LUPXlYjj5IydO5/940su2fCxaASV8fv2vfP49dff8ZyqZiY+/emNaaxwnVONY6d+NLC2tjYVsTStv38V9h9GlboA26hLKFJnZ6enYgSkvKs2NGh6JmOiEBLRdDodjkY148knH/2tyy7beF1tbdXmeDx+Liwhob3/z+Dg6GsPPPD4v/7yl10jnOtTqZSJzq/LWsz4xQigvH9FmyK0bP16ekWtPnTixIxh23YYj6YM153VNC2sY0qrPvroX62rr1+RoJMPjv/QpOglcPHcX/2qexi1ZtUFFzSuQ81JGEYoiS1Gf1xCfoc6ou8Z3rfv0Huvv757sLNz95SqGmY6zTKhkJ6uq0tkent3VHwzrJyh5SDvuZsoylCBrJMJIRN6OKxorququZzL8HAHMLJhve4q+TxBwfJgW353WSiEJ6SQxRPrqGJZGdeDlKmmcNEfoflpDsIBFh54mOHwmvz4+E9y9LYotkW/VL1cAph7PiU/TPxFRAv6k6RqWWnFNHWNi+Se/iQuoszMzHqMUZ5cjVo0wVwXqyHMkriotYkcFo8nEbbLoMZkUYQRR9OyzthYEu18Gtt6bC/8//6z+/m3S0H1XnrW0L+QlhSaWtS8/7kCaVBLSP4NMTXxmxi/FH9i/7+rT2twf4PgbQAAAABJRU5ErkJggg=="
39762
39755
  }
39763
39756
  }, TPe = 3.2, CPe = ({ panelRect: e }) => {
39764
- const t = So(e).stickers, n = Re((o) => o.config.appearance.textScale);
39757
+ const t = To(e).stickers, n = Re((o) => o.config.appearance.textScale);
39765
39758
  if (t.length === 0) return null;
39766
39759
  const r = tB(TPe, n);
39767
39760
  return /* @__PURE__ */ m("svg", {
@@ -39772,7 +39765,7 @@ var vPe = (e, t, n, r) => t !== "comment" ? n : EC(n, 140, (o) => e.measureText(
39772
39765
  overflow: "visible",
39773
39766
  "data-testid": "stickers",
39774
39767
  children: t.map((o) => {
39775
- const i = vo(o.at, e);
39768
+ const i = yo(o.at, e);
39776
39769
  return /* @__PURE__ */ m(APe, {
39777
39770
  sticker: o,
39778
39771
  sizePx: r,
@@ -40313,7 +40306,7 @@ var eIe = ({ hitTest: e, input: t }) => {
40313
40306
  },
40314
40307
  children: o
40315
40308
  }), n), rIe = ({ rect: e, children: t }) => {
40316
- const [n] = et(wo);
40309
+ const [n] = et(So);
40317
40310
  return /* @__PURE__ */ m(yV, {
40318
40311
  rect: e,
40319
40312
  zIndex: $c.panelOverlay,
@@ -40512,7 +40505,7 @@ var cIe = 4, uIe = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
40512
40505
  }, dIe = ({ observation: e, anchor: t, panelRect: n, fill: r, dotRadius: o, readSegmentY: i, formatYValue: a, labelStyle: s, familyDefault: l }) => {
40513
40506
  const c = zl(), u = t.x, d = Do(t.y), f = i(e), h = he(f) ? a(f, e) : null, p = ie(() => {
40514
40507
  if (h === null) return null;
40515
- const g = c.measureText(h, go(s, l));
40508
+ const g = c.measureText(h, vo(s, l));
40516
40509
  return {
40517
40510
  width: g.width + s.paddingInline * 2,
40518
40511
  height: g.height + s.paddingBlock * 2
@@ -47385,7 +47378,7 @@ var Yn = function(e) {
47385
47378
  function N5(e, t, n, r, o) {
47386
47379
  for (var i; ; ) {
47387
47380
  if (e == n && t == r) return !0;
47388
- if (t == (o < 0 ? 0 : lo(e))) {
47381
+ if (t == (o < 0 ? 0 : co(e))) {
47389
47382
  let a = e.parentNode;
47390
47383
  if (!a || a.nodeType != 1 || tp(e) || vLe.test(e.nodeName) || e.contentEditable == "false") return !1;
47391
47384
  t = Yn(e) + (o < 0 ? 0 : 1), e = a;
@@ -47394,11 +47387,11 @@ function N5(e, t, n, r, o) {
47394
47387
  if (a.nodeType == 1 && a.contentEditable == "false") if (!((i = a.pmViewDesc) === null || i === void 0) && i.ignoreForSelection) t += o;
47395
47388
  else return !1;
47396
47389
  else
47397
- e = a, t = o < 0 ? lo(e) : 0;
47390
+ e = a, t = o < 0 ? co(e) : 0;
47398
47391
  } else return !1;
47399
47392
  }
47400
47393
  }
47401
- function lo(e) {
47394
+ function co(e) {
47402
47395
  return e.nodeType == 3 ? e.nodeValue.length : e.childNodes.length;
47403
47396
  }
47404
47397
  function yLe(e, t) {
@@ -47406,7 +47399,7 @@ function yLe(e, t) {
47406
47399
  if (e.nodeType == 3 && t) return e;
47407
47400
  if (e.nodeType == 1 && t > 0) {
47408
47401
  if (e.contentEditable == "false") return null;
47409
- e = e.childNodes[t - 1], t = lo(e);
47402
+ e = e.childNodes[t - 1], t = co(e);
47410
47403
  } else if (e.parentNode && !tp(e))
47411
47404
  t = Yn(e), e = e.parentNode;
47412
47405
  else return null;
@@ -47424,11 +47417,11 @@ function bLe(e, t) {
47424
47417
  }
47425
47418
  }
47426
47419
  function xLe(e, t, n) {
47427
- for (let r = t == 0, o = t == lo(e); r || o; ) {
47420
+ for (let r = t == 0, o = t == co(e); r || o; ) {
47428
47421
  if (e == n) return !0;
47429
47422
  let i = Yn(e);
47430
47423
  if (e = e.parentNode, !e) return !1;
47431
- r = r && i == 0, o = o && i == lo(e);
47424
+ r = r && i == 0, o = o && i == co(e);
47432
47425
  }
47433
47426
  }
47434
47427
  function tp(e) {
@@ -47453,7 +47446,7 @@ function SLe(e, t, n) {
47453
47446
  let r = e.caretPositionFromPoint(t, n);
47454
47447
  if (r) return {
47455
47448
  node: r.offsetNode,
47456
- offset: Math.min(lo(r.offsetNode), r.offset)
47449
+ offset: Math.min(co(r.offsetNode), r.offset)
47457
47450
  };
47458
47451
  } catch {
47459
47452
  }
@@ -47461,12 +47454,12 @@ function SLe(e, t, n) {
47461
47454
  let r = e.caretRangeFromPoint(t, n);
47462
47455
  if (r) return {
47463
47456
  node: r.startContainer,
47464
- offset: Math.min(lo(r.startContainer), r.startOffset)
47457
+ offset: Math.min(co(r.startContainer), r.startOffset)
47465
47458
  };
47466
47459
  }
47467
47460
  }
47468
- var Ti = typeof navigator < "u" ? navigator : null, F5 = typeof document < "u" ? document : null, as = Ti && Ti.userAgent || "", Jw = /Edge\/(\d+)/.exec(as), OH = /MSIE \d/.exec(as), Zw = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(as), Lr = !!(OH || Zw || Jw), Fa = OH ? document.documentMode : Zw ? +Zw[1] : Jw ? +Jw[1] : 0, po = !Lr && /gecko\/(\d+)/i.test(as);
47469
- po && +(/Firefox\/(\d+)/.exec(as) || [0, 0])[1];
47461
+ var Ti = typeof navigator < "u" ? navigator : null, F5 = typeof document < "u" ? document : null, as = Ti && Ti.userAgent || "", Jw = /Edge\/(\d+)/.exec(as), OH = /MSIE \d/.exec(as), Zw = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(as), Lr = !!(OH || Zw || Jw), Fa = OH ? document.documentMode : Zw ? +Zw[1] : Jw ? +Jw[1] : 0, mo = !Lr && /gecko\/(\d+)/i.test(as);
47462
+ mo && +(/Firefox\/(\d+)/.exec(as) || [0, 0])[1];
47470
47463
  var eS = !Lr && /Chrome\/(\d+)/.exec(as), Xn = !!eS, _H = eS ? +eS[1] : 0, ir = !Lr && !!Ti && /Apple Computer/.test(Ti.vendor), yu = ir && (/Mobile\/\w+/.test(as) || !!Ti && Ti.maxTouchPoints > 2), so = yu || (Ti ? /Mac/.test(Ti.platform) : !1), DH = Ti ? /Win/.test(Ti.platform) : !1, ea = /Android \d/.test(as), np = !!F5 && "webkitFontSmoothing" in F5.documentElement.style, TLe = np ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
47471
47464
  function CLe(e) {
47472
47465
  let t = e.defaultView && e.defaultView.visualViewport;
@@ -47667,7 +47660,7 @@ function OLe(e, t) {
47667
47660
  if (ir)
47668
47661
  for (let c = a; r && c; c = vu(c)) c.draggable && (r = void 0);
47669
47662
  if (a = PLe(a, t), r) {
47670
- if (po && r.nodeType == 1 && (o = Math.min(o, r.childNodes.length), o < r.childNodes.length)) {
47663
+ if (mo && r.nodeType == 1 && (o = Math.min(o, r.childNodes.length), o < r.childNodes.length)) {
47671
47664
  let u = r.childNodes[o], d;
47672
47665
  u.nodeName == "IMG" && (d = u.getBoundingClientRect()).right <= t.left && d.bottom > t.top && o++;
47673
47666
  }
@@ -47694,10 +47687,10 @@ function Ea(e, t) {
47694
47687
  }
47695
47688
  var _Le = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
47696
47689
  function HH(e, t, n) {
47697
- let { node: r, offset: o, atom: i } = e.docView.domFromPos(t, n < 0 ? -1 : 1), a = np || po;
47690
+ let { node: r, offset: o, atom: i } = e.docView.domFromPos(t, n < 0 ? -1 : 1), a = np || mo;
47698
47691
  if (r.nodeType == 3) if (a && (_Le.test(r.nodeValue) || (n < 0 ? !o : o == r.nodeValue.length))) {
47699
47692
  let s = Ea(ji(r, o, o), n);
47700
- if (po && o && /\s/.test(r.nodeValue[o - 1]) && o < r.nodeValue.length) {
47693
+ if (mo && o && /\s/.test(r.nodeValue[o - 1]) && o < r.nodeValue.length) {
47701
47694
  let l = Ea(ji(r, o - 1, o - 1), -1);
47702
47695
  if (l.top == s.top) {
47703
47696
  let c = Ea(ji(r, o, o + 1), -1);
@@ -47710,21 +47703,21 @@ function HH(e, t, n) {
47710
47703
  return n < 0 && !o ? (l++, c = -1) : n >= 0 && o == r.nodeValue.length ? (s--, c = 1) : n < 0 ? s-- : l++, bd(Ea(ji(r, s, l), c), c < 0);
47711
47704
  }
47712
47705
  if (!e.state.doc.resolve(t - (i || 0)).parent.inlineContent) {
47713
- if (i == null && o && (n < 0 || o == lo(r))) {
47706
+ if (i == null && o && (n < 0 || o == co(r))) {
47714
47707
  let s = r.childNodes[o - 1];
47715
47708
  if (s.nodeType == 1) return A1(s.getBoundingClientRect(), !1);
47716
47709
  }
47717
- if (i == null && o < lo(r)) {
47710
+ if (i == null && o < co(r)) {
47718
47711
  let s = r.childNodes[o];
47719
47712
  if (s.nodeType == 1) return A1(s.getBoundingClientRect(), !0);
47720
47713
  }
47721
47714
  return A1(r.getBoundingClientRect(), n >= 0);
47722
47715
  }
47723
- if (i == null && o && (n < 0 || o == lo(r))) {
47724
- let s = r.childNodes[o - 1], l = s.nodeType == 3 ? ji(s, lo(s) - (a ? 0 : 1)) : s.nodeType == 1 && (s.nodeName != "BR" || !s.nextSibling) ? s : null;
47716
+ if (i == null && o && (n < 0 || o == co(r))) {
47717
+ let s = r.childNodes[o - 1], l = s.nodeType == 3 ? ji(s, co(s) - (a ? 0 : 1)) : s.nodeType == 1 && (s.nodeName != "BR" || !s.nextSibling) ? s : null;
47725
47718
  if (l) return bd(Ea(l, 1), !1);
47726
47719
  }
47727
- if (i == null && o < lo(r)) {
47720
+ if (i == null && o < co(r)) {
47728
47721
  let s = r.childNodes[o];
47729
47722
  for (; s.pmViewDesc && s.pmViewDesc.ignoreForCoords; ) s = s.nextSibling;
47730
47723
  let l = s ? s.nodeType == 3 ? ji(s, 0, a ? 0 : 1) : s.nodeType == 1 ? s : null : null;
@@ -47808,9 +47801,9 @@ var V5 = null, H5 = null, z5 = !1;
47808
47801
  function BLe(e, t, n) {
47809
47802
  return V5 == t && H5 == n ? z5 : (V5 = t, H5 = n, z5 = n == "up" || n == "down" ? DLe(e, t, n) : FLe(e, t, n));
47810
47803
  }
47811
- var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
47804
+ var go = 0, $5 = 1, Vs = 2, No = 3, rp = class {
47812
47805
  constructor(e, t, n, r) {
47813
- this.parent = e, this.children = t, this.dom = n, this.contentDOM = r, this.dirty = mo, n.pmViewDesc = this;
47806
+ this.parent = e, this.children = t, this.dom = n, this.contentDOM = r, this.dirty = go, n.pmViewDesc = this;
47814
47807
  }
47815
47808
  matchesWidget(e) {
47816
47809
  return !1;
@@ -48038,7 +48031,7 @@ var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
48038
48031
  h = g;
48039
48032
  }
48040
48033
  let a = this.domFromPos(e, e ? -1 : 1), s = t == e ? a : this.domFromPos(t, t ? -1 : 1), l = n.root.getSelection(), c = n.domSelectionRange(), u = !1;
48041
- if ((po || ir) && e == t) {
48034
+ if ((mo || ir) && e == t) {
48042
48035
  let { node: f, offset: h } = a;
48043
48036
  if (f.nodeType == 3) {
48044
48037
  if (u = !!(h && f.nodeValue[h - 1] == `
@@ -48058,13 +48051,13 @@ var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
48058
48051
  u = p && (p.nodeName == "BR" || p.contentEditable == "false");
48059
48052
  }
48060
48053
  }
48061
- if (po && c.focusNode && c.focusNode != s.node && c.focusNode.nodeType == 1) {
48054
+ if (mo && c.focusNode && c.focusNode != s.node && c.focusNode.nodeType == 1) {
48062
48055
  let f = c.focusNode.childNodes[c.focusOffset];
48063
48056
  f && f.contentEditable == "false" && (r = !0);
48064
48057
  }
48065
48058
  if (!(r || u && ir) && yl(a.node, a.offset, c.anchorNode, c.anchorOffset) && yl(s.node, s.offset, c.focusNode, c.focusOffset)) return;
48066
48059
  let d = !1;
48067
- if ((l.extend || e == t) && !(u && po)) {
48060
+ if ((l.extend || e == t) && !(u && mo)) {
48068
48061
  l.collapse(a.node, a.offset);
48069
48062
  try {
48070
48063
  e != t && l.extend(s.node, s.offset), d = !0;
@@ -48135,7 +48128,7 @@ var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
48135
48128
  super(e, [], i, null), this.widget = t, this.widget = t, o = this;
48136
48129
  }
48137
48130
  matchesWidget(e) {
48138
- return this.dirty == mo && e.type.eq(this.widget.type);
48131
+ return this.dirty == go && e.type.eq(this.widget.type);
48139
48132
  }
48140
48133
  parseRule() {
48141
48134
  return { ignore: !0 };
@@ -48197,10 +48190,10 @@ var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
48197
48190
  return this.dirty != No && this.mark.eq(t);
48198
48191
  }
48199
48192
  markDirty(t, n) {
48200
- if (super.markDirty(t, n), this.dirty != mo) {
48193
+ if (super.markDirty(t, n), this.dirty != go) {
48201
48194
  let r = this.parent;
48202
48195
  for (; !r.node; ) r = r.parent;
48203
- r.dirty < this.dirty && (r.dirty = this.dirty), this.dirty = mo;
48196
+ r.dirty < this.dirty && (r.dirty = this.dirty), this.dirty = go;
48204
48197
  }
48205
48198
  }
48206
48199
  slice(t, n, r) {
@@ -48256,7 +48249,7 @@ var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
48256
48249
  return n;
48257
48250
  }
48258
48251
  matchesNode(t, n, r) {
48259
- return this.dirty == mo && t.eq(this.node) && iv(n, this.outerDeco) && r.eq(this.innerDeco);
48252
+ return this.dirty == go && t.eq(this.node) && iv(n, this.outerDeco) && r.eq(this.innerDeco);
48260
48253
  }
48261
48254
  get size() {
48262
48255
  return this.node.nodeSize;
@@ -48307,7 +48300,7 @@ var mo = 0, $5 = 1, Vs = 2, No = 3, rp = class {
48307
48300
  return this.dirty == No || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, r, o), !0);
48308
48301
  }
48309
48302
  updateInner(t, n, r, o) {
48310
- this.updateOuterDeco(n), this.node = t, this.innerDeco = r, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = mo;
48303
+ this.updateOuterDeco(n), this.node = t, this.innerDeco = r, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = go;
48311
48304
  }
48312
48305
  updateOuterDeco(t) {
48313
48306
  if (iv(t, this.outerDeco)) return;
@@ -48339,7 +48332,7 @@ var UH = class GH extends Xc {
48339
48332
  return { skip: t || !0 };
48340
48333
  }
48341
48334
  update(t, n, r, o) {
48342
- return this.dirty == No || this.dirty != mo && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != mo || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = mo, !0);
48335
+ return this.dirty == No || this.dirty != go && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != go || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = go, !0);
48343
48336
  }
48344
48337
  inParent() {
48345
48338
  let t = this.parent.contentDOM;
@@ -48376,7 +48369,7 @@ var UH = class GH extends Xc {
48376
48369
  return { ignore: !0 };
48377
48370
  }
48378
48371
  matchesHack(e) {
48379
- return this.dirty == mo && this.dom.nodeName == e;
48372
+ return this.dirty == go && this.dom.nodeName == e;
48380
48373
  }
48381
48374
  get domAtom() {
48382
48375
  return !0;
@@ -48512,7 +48505,7 @@ var $Le = class {
48512
48505
  let o = 0, i = this.stack.length >> 1, a = Math.min(i, e.length);
48513
48506
  for (; o < a && (o == i - 1 ? this.top : this.stack[o + 1 << 1]).matchesMark(e[o]) && e[o].type.spec.spanning !== !1; ) o++;
48514
48507
  for (; o < i; )
48515
- this.destroyRest(), this.top.dirty = mo, this.index = this.stack.pop(), this.top = this.stack.pop(), i--;
48508
+ this.destroyRest(), this.top.dirty = go, this.index = this.stack.pop(), this.top = this.stack.pop(), i--;
48516
48509
  for (; i < e.length; ) {
48517
48510
  this.stack.push(this.top, this.index + 1);
48518
48511
  let s = -1, l = this.top.children.length;
@@ -48577,7 +48570,7 @@ var $Le = class {
48577
48570
  if (!d && s.update(e, t, n, r))
48578
48571
  return this.destroyBetween(this.index, a), s.dom != c && (this.changed = !0), this.index++, !0;
48579
48572
  if (!d && (u = this.recreateWrapper(s, e, t, n, r, i)))
48580
- return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty = Vs, u.updateChildren(r, i + 1), u.dirty = mo), this.changed = !0, this.index++, !0;
48573
+ return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty = Vs, u.updateChildren(r, i + 1), u.dirty = go), this.changed = !0, this.index++, !0;
48581
48574
  break;
48582
48575
  }
48583
48576
  }
@@ -48886,7 +48879,7 @@ function QLe(e) {
48886
48879
  let t = e.domSelectionRange(), n = t.focusNode, r = t.focusOffset;
48887
48880
  if (!n) return;
48888
48881
  let o, i, a = !1;
48889
- for (po && n.nodeType == 1 && r < av(n) && hf(n.childNodes[r], -1) && (a = !0); ; ) if (r > 0) {
48882
+ for (mo && n.nodeType == 1 && r < av(n) && hf(n.childNodes[r], -1) && (a = !0); ; ) if (r > 0) {
48890
48883
  if (n.nodeType != 1) break;
48891
48884
  {
48892
48885
  let s = n.childNodes[r - 1];
@@ -49448,7 +49441,7 @@ var lz = class {
49448
49441
  node: o,
49449
49442
  pos: i,
49450
49443
  addAttr: !!(this.target && !this.target.draggable),
49451
- setUneditable: !!(this.target && po && !this.target.hasAttribute("contentEditable"))
49444
+ setUneditable: !!(this.target && mo && !this.target.hasAttribute("contentEditable"))
49452
49445
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
49453
49446
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
49454
49447
  }, 20), this.view.domObserver.start()), ta(e, "pointer");
@@ -49505,7 +49498,7 @@ wr.compositionstart = wr.compositionupdate = (e) => {
49505
49498
  let { state: t } = e, n = t.selection.$to;
49506
49499
  if (t.selection instanceof ht && (t.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || Xn && DH && kOe(e)))
49507
49500
  e.markCursor = e.state.storedMarks || n.marks(), sv(e, !0), e.markCursor = null;
49508
- else if (sv(e, !t.selection.empty), po && t.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
49501
+ else if (sv(e, !t.selection.empty), mo && t.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
49509
49502
  let r = e.domSelectionRange();
49510
49503
  for (let o = r.focusNode, i = r.focusOffset; o && o.nodeType == 1 && i != 0; ) {
49511
49504
  let a = i < 0 ? o.lastChild : o.childNodes[i - 1];
@@ -50190,7 +50183,7 @@ var NOe = {
50190
50183
  u = u.firstChild;
50191
50184
  }
50192
50185
  }
50193
- } else if (po && s.length) {
50186
+ } else if (mo && s.length) {
50194
50187
  let c = s.filter((u) => u.nodeName == "BR");
50195
50188
  if (c.length == 2) {
50196
50189
  let [u, d] = c;
@@ -50245,7 +50238,7 @@ function HOe(e) {
50245
50238
  "nowrap",
50246
50239
  "pre-line"
50247
50240
  ].indexOf(getComputedStyle(e.dom).whiteSpace) !== -1)) {
50248
- if (e.requiresGeckoHackNode = po, iL) return;
50241
+ if (e.requiresGeckoHackNode = mo, iL) return;
50249
50242
  console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), iL = !0;
50250
50243
  }
50251
50244
  }
@@ -57794,7 +57787,7 @@ function Wv(e, t) {
57794
57787
  function Mr(e) {
57795
57788
  return "composedPath" in e ? e.composedPath()[0] : e.target;
57796
57789
  }
57797
- function ko(e, t) {
57790
+ function Eo(e, t) {
57798
57791
  if (t == null) return !1;
57799
57792
  if ("composedPath" in e) return e.composedPath().includes(t);
57800
57793
  const n = e;
@@ -59778,8 +59771,8 @@ function W0(e, t = {}) {
59778
59771
  return le === "intentional" && Q.type !== "click" || le === "sloppy" && Q.type === "click";
59779
59772
  }
59780
59773
  function W(Q) {
59781
- const le = i.current.floatingContext?.nodeId, ce = p && aa(p.nodesRef.current, le).some((we) => ko(Q, we.context?.elements.floating));
59782
- return ko(Q, n.select("floatingElement")) || ko(Q, n.select("domReferenceElement")) || ce;
59774
+ const le = i.current.floatingContext?.nodeId, ce = p && aa(p.nodesRef.current, le).some((we) => Eo(Q, we.context?.elements.floating));
59775
+ return Eo(Q, n.select("floatingElement")) || Eo(Q, n.select("domReferenceElement")) || ce;
59783
59776
  }
59784
59777
  function Y(Q) {
59785
59778
  if (ee(Q)) {
@@ -59823,10 +59816,10 @@ function W0(e, t = {}) {
59823
59816
  n.setOpen(!1, Ae(D8e, Q)), E();
59824
59817
  }
59825
59818
  function J(Q) {
59826
- X() !== "sloppy" || Q.pointerType === "touch" || !n.select("open") || !a || ko(Q, n.select("floatingElement")) || ko(Q, n.select("domReferenceElement")) || Y(Q);
59819
+ X() !== "sloppy" || Q.pointerType === "touch" || !n.select("open") || !a || Eo(Q, n.select("floatingElement")) || Eo(Q, n.select("domReferenceElement")) || Y(Q);
59827
59820
  }
59828
59821
  function B(Q) {
59829
- if (X() !== "sloppy" || !n.select("open") || !a || ko(Q, n.select("floatingElement")) || ko(Q, n.select("domReferenceElement"))) return;
59822
+ if (X() !== "sloppy" || !n.select("open") || !a || Eo(Q, n.select("floatingElement")) || Eo(Q, n.select("domReferenceElement"))) return;
59830
59823
  const le = Q.touches[0];
59831
59824
  le && (x.current = {
59832
59825
  startTime: Date.now(),
@@ -59872,7 +59865,7 @@ function W0(e, t = {}) {
59872
59865
  }
59873
59866
  }
59874
59867
  function ne(Q) {
59875
- if (X() !== "sloppy" || !x.current || ko(Q, n.select("floatingElement")) || ko(Q, n.select("domReferenceElement"))) return;
59868
+ if (X() !== "sloppy" || !x.current || Eo(Q, n.select("floatingElement")) || Eo(Q, n.select("domReferenceElement"))) return;
59876
59869
  const le = Q.touches[0];
59877
59870
  if (!le) return;
59878
59871
  const ce = Math.abs(le.clientX - x.current.startX), we = Math.abs(le.clientY - x.current.startY), Ve = Math.sqrt(ce * ce + we * we);
@@ -59886,7 +59879,7 @@ function W0(e, t = {}) {
59886
59879
  le?.addEventListener(Q.type, ce);
59887
59880
  }
59888
59881
  function re(Q) {
59889
- X() !== "sloppy" || !x.current || ko(Q, n.select("floatingElement")) || ko(Q, n.select("domReferenceElement")) || (x.current.dismissOnTouchEnd && Y(Q), k.clear(), x.current = null);
59882
+ X() !== "sloppy" || !x.current || Eo(Q, n.select("floatingElement")) || Eo(Q, n.select("domReferenceElement")) || (x.current.dismissOnTouchEnd && Y(Q), k.clear(), x.current = null);
59890
59883
  }
59891
59884
  function se(Q) {
59892
59885
  const le = Mr(Q);
@@ -62069,7 +62062,7 @@ function Q0(e) {
62069
62062
  crossAxis: W,
62070
62063
  limiter: c || v ? void 0 : CCe((vt) => {
62071
62064
  if (!j.current) return {};
62072
- const { width: St, height: Ge } = j.current.getBoundingClientRect(), bt = fo(Ir(vt.placement)), $e = bt === "y" ? St : Ge, be = bt === "y" ? I.left + I.right : I.top + I.bottom;
62065
+ const { width: St, height: Ge } = j.current.getBoundingClientRect(), bt = ho(Ir(vt.placement)), $e = bt === "y" ? St : Ge, be = bt === "y" ? I.left + I.right : I.top + I.bottom;
62073
62066
  return { offset: $e / 2 + be / 2 };
62074
62067
  })
62075
62068
  };
@@ -62095,7 +62088,7 @@ function Q0(e) {
62095
62088
  }), [u]), {
62096
62089
  name: "transformOrigin",
62097
62090
  fn(Pe) {
62098
- const { elements: st, middlewareData: vt, placement: St, rects: Ge, y: bt } = Pe, $e = Ir(St), be = fo($e), He = j.current, je = vt.arrow?.x || 0, dt = vt.arrow?.y || 0, jt = He?.clientWidth || 0, Ke = He?.clientHeight || 0, rt = je + jt / 2, fn = dt + Ke / 2, ro = Math.abs(vt.shift?.y || 0), zr = Ge.reference.height / 2, Dn = typeof o == "function" ? o(gO(Pe, r, L)) : o, Jl = ro > Dn, od = {
62091
+ const { elements: st, middlewareData: vt, placement: St, rects: Ge, y: bt } = Pe, $e = Ir(St), be = ho($e), He = j.current, je = vt.arrow?.x || 0, dt = vt.arrow?.y || 0, jt = He?.clientWidth || 0, Ke = He?.clientHeight || 0, rt = je + jt / 2, fn = dt + Ke / 2, ro = Math.abs(vt.shift?.y || 0), zr = Ge.reference.height / 2, Dn = typeof o == "function" ? o(gO(Pe, r, L)) : o, Jl = ro > Dn, od = {
62099
62092
  top: `${rt}px calc(100% + ${Dn}px)`,
62100
62093
  bottom: `${rt}px ${-Dn}px`,
62101
62094
  left: `calc(100% + ${Dn}px) ${fn}px`,
@@ -63413,13 +63406,13 @@ var kO = /* @__PURE__ */ (function(e) {
63413
63406
  }
63414
63407
  }
63415
63408
  });
63416
- function To(e = !0) {
63409
+ function Co(e = !0) {
63417
63410
  const t = C.useContext(l9e);
63418
63411
  if (t.setValidityData === Fn && !e) throw new Error(Ct(28));
63419
63412
  return t;
63420
63413
  }
63421
63414
  function rd(e) {
63422
- const { enabled: t = !0, value: n, id: r, name: o, controlRef: i, commit: a } = e, { formRef: s } = nd(), { invalid: l, markedDirtyRef: c, validityData: u, setValidityData: d } = To(), f = me(e.getValue);
63415
+ const { enabled: t = !0, value: n, id: r, name: o, controlRef: i, commit: a } = e, { formRef: s } = nd(), { invalid: l, markedDirtyRef: c, validityData: u, setValidityData: d } = Co(), f = me(e.getValue);
63423
63416
  ve(() => {
63424
63417
  if (!t) return;
63425
63418
  let h = n;
@@ -63518,7 +63511,7 @@ function h9e(e, t) {
63518
63511
  return typeof e == "number" && typeof t == "number" ? e === t : Array.isArray(e) && Array.isArray(t) ? xU(e, t) : !1;
63519
63512
  }
63520
63513
  var kU = /* @__PURE__ */ C.forwardRef(function(t, n) {
63521
- const { "aria-labelledby": r, className: o, defaultValue: i, disabled: a = !1, id: s, format: l, largeStep: c = 10, locale: u, render: d, max: f = 100, min: h = 0, minStepsBetweenValues: p = 0, name: g, onValueChange: v, onValueCommitted: y, orientation: b = "horizontal", step: w = 1, thumbCollisionBehavior: S = "push", thumbAlignment: A = "center", value: T, ...R } = t, x = Jn(s), k = u9e(x), O = me(v), E = me(y), { clearErrors: F } = nd(), { state: M, disabled: L, name: D, setTouched: P, setDirty: I, validityData: N, shouldValidateOnChange: _, validation: z } = To(), { labelId: U } = ms(), [K, oe] = C.useState(), j = r ?? wU(U, K), q = L || a, G = D ?? g, [X, ee] = Ai({
63514
+ const { "aria-labelledby": r, className: o, defaultValue: i, disabled: a = !1, id: s, format: l, largeStep: c = 10, locale: u, render: d, max: f = 100, min: h = 0, minStepsBetweenValues: p = 0, name: g, onValueChange: v, onValueCommitted: y, orientation: b = "horizontal", step: w = 1, thumbCollisionBehavior: S = "push", thumbAlignment: A = "center", value: T, ...R } = t, x = Jn(s), k = u9e(x), O = me(v), E = me(y), { clearErrors: F } = nd(), { state: M, disabled: L, name: D, setTouched: P, setDirty: I, validityData: N, shouldValidateOnChange: _, validation: z } = Co(), { labelId: U } = ms(), [K, oe] = C.useState(), j = r ?? wU(U, K), q = L || a, G = D ?? g, [X, ee] = Ai({
63522
63515
  controlled: T,
63523
63516
  default: i ?? h,
63524
63517
  name: "Slider"
@@ -64071,7 +64064,7 @@ function mc(e, t, n, r, o) {
64071
64064
  return n === 1 ? Math.min(e + t, o) : Math.max(e - t, r);
64072
64065
  }
64073
64066
  var DU = /* @__PURE__ */ C.forwardRef(function(t, n) {
64074
- const { render: r, children: o, className: i, "aria-describedby": a, "aria-label": s, "aria-labelledby": l, disabled: c = !1, getAriaLabel: u, getAriaValueText: d, id: f, index: h, inputRef: p, onBlur: g, onFocus: v, onKeyDown: y, tabIndex: b, ...w } = t, { nonce: S } = LU(), A = Jn(f), { active: T, lastUsedThumbIndex: R, controlRef: x, disabled: k, validation: O, formatOptionsRef: E, handleInputChange: F, inset: M, labelId: L, largeStep: D, locale: P, max: I, min: N, minStepsBetweenValues: _, name: z, orientation: U, pressedInputRef: K, pressedThumbCenterOffsetRef: oe, pressedThumbIndexRef: j, renderBeforeHydration: q, setActive: G, setIndicatorPosition: X, state: ee, step: W, values: Y } = Z0(), J = Xu(), B = c || k, H = Y.length > 1, $ = U === "vertical", ae = J === "rtl", { setTouched: ne, setFocused: ue, validationMode: re } = To(), se = C.useRef(null), te = C.useRef(null), Q = Jn(), le = ql(), ce = H ? Q : le, { ref: we, index: Ve } = Qu({ metadata: C.useMemo(() => ({ inputId: ce }), [ce]) }), Fe = H ? h ?? Ve : 0, ze = Fe === Y.length - 1, Ye = Y[Fe], ke = VS(Ye, N, I), [qe, ut] = C.useState(!1), [Te, Qe] = C.useState();
64067
+ const { render: r, children: o, className: i, "aria-describedby": a, "aria-label": s, "aria-labelledby": l, disabled: c = !1, getAriaLabel: u, getAriaValueText: d, id: f, index: h, inputRef: p, onBlur: g, onFocus: v, onKeyDown: y, tabIndex: b, ...w } = t, { nonce: S } = LU(), A = Jn(f), { active: T, lastUsedThumbIndex: R, controlRef: x, disabled: k, validation: O, formatOptionsRef: E, handleInputChange: F, inset: M, labelId: L, largeStep: D, locale: P, max: I, min: N, minStepsBetweenValues: _, name: z, orientation: U, pressedInputRef: K, pressedThumbCenterOffsetRef: oe, pressedThumbIndexRef: j, renderBeforeHydration: q, setActive: G, setIndicatorPosition: X, state: ee, step: W, values: Y } = Z0(), J = Xu(), B = c || k, H = Y.length > 1, $ = U === "vertical", ae = J === "rtl", { setTouched: ne, setFocused: ue, validationMode: re } = Co(), se = C.useRef(null), te = C.useRef(null), Q = Jn(), le = ql(), ce = H ? Q : le, { ref: we, index: Ve } = Qu({ metadata: C.useMemo(() => ({ inputId: ce }), [ce]) }), Fe = H ? h ?? Ve : 0, ze = Fe === Y.length - 1, Ye = Y[Fe], ke = VS(Ye, N, I), [qe, ut] = C.useState(!1), [Te, Qe] = C.useState();
64075
64068
  cs(() => ut(!0));
64076
64069
  const Pe = R >= 0 && R < Y.length ? R : -1, st = me(() => {
64077
64070
  const be = x.current, He = se.current;
@@ -64292,7 +64285,7 @@ var NU = /* @__PURE__ */ C.forwardRef(function(t, n) {
64292
64285
  style: { background: e ?? "transparent" }
64293
64286
  })
64294
64287
  }), /* @__PURE__ */ m(ak, {
64295
- container: wo(),
64288
+ container: So(),
64296
64289
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(lk, {
64297
64290
  sideOffset: 6,
64298
64291
  align: "start",
@@ -64381,7 +64374,7 @@ var NU = /* @__PURE__ */ C.forwardRef(function(t, n) {
64381
64374
  })]
64382
64375
  })]
64383
64376
  }), /* @__PURE__ */ m(ak, {
64384
- container: wo(),
64377
+ container: So(),
64385
64378
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(lk, {
64386
64379
  side: "right",
64387
64380
  align: "start",
@@ -65391,7 +65384,7 @@ var eBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
65391
65384
  ]
65392
65385
  });
65393
65386
  }), tBe = "menu-popup_positioner__1i4btib0", nBe = "menu-popup_popup__1i4btib1", rBe = "menu-popup_item__1i4btib2", oBe = ({ children: e, popupAttributes: t }) => /* @__PURE__ */ m(mp, {
65394
- container: wo(),
65387
+ container: So(),
65395
65388
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(gp, {
65396
65389
  side: "bottom",
65397
65390
  align: "start",
@@ -65420,7 +65413,7 @@ var eBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
65420
65413
  ...t,
65421
65414
  className: Pn(H9e, e)
65422
65415
  }), cBe = ({ children: e }) => {
65423
- const t = wo();
65416
+ const t = So();
65424
65417
  return t === null ? null : sy(/* @__PURE__ */ m(no, { children: e }), t);
65425
65418
  }, xn = {
65426
65419
  Portal: cBe,
@@ -65489,7 +65482,7 @@ var eBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
65489
65482
  children: i?.preview
65490
65483
  }), /* @__PURE__ */ m(yp, { size: "sm" })]
65491
65484
  }), /* @__PURE__ */ m(mp, {
65492
- container: wo(),
65485
+ container: So(),
65493
65486
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(gp, {
65494
65487
  side: "bottom",
65495
65488
  align: "start",
@@ -65552,7 +65545,7 @@ var eBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
65552
65545
  children: o(i.translationKey)
65553
65546
  }), /* @__PURE__ */ m(yp, { size: "sm" })]
65554
65547
  }), /* @__PURE__ */ m(mp, {
65555
- container: wo(),
65548
+ container: So(),
65556
65549
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(gp, {
65557
65550
  side: "bottom",
65558
65551
  align: "start",
@@ -65659,7 +65652,7 @@ var eBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
65659
65652
  onMouseDown: (h) => h.preventDefault(),
65660
65653
  children: /* @__PURE__ */ m(bBe, {})
65661
65654
  }), /* @__PURE__ */ m(ak, {
65662
- container: wo(),
65655
+ container: So(),
65663
65656
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(lk, {
65664
65657
  sideOffset: 6,
65665
65658
  align: "end",
@@ -65809,7 +65802,7 @@ var IBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
65809
65802
  onMouseDown: (i) => i.preventDefault(),
65810
65803
  children: r
65811
65804
  }), /* @__PURE__ */ m(oFe, {
65812
- container: wo(),
65805
+ container: So(),
65813
65806
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(cFe, {
65814
65807
  sideOffset: _Be,
65815
65808
  children: /* @__PURE__ */ m(dFe, {
@@ -66017,7 +66010,7 @@ var IBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
66017
66010
  extensions: o,
66018
66011
  isEditable: !0,
66019
66012
  onUpdate: (a) => {
66020
- n(new yo({
66013
+ n(new bo({
66021
66014
  kind: "text",
66022
66015
  id: e.id,
66023
66016
  patch: { content: a }
@@ -66149,7 +66142,7 @@ var IBe = /* @__PURE__ */ C.forwardRef(function(t, n) {
66149
66142
  x: e.clientX - t.x,
66150
66143
  y: e.clientY - t.y
66151
66144
  }, n), Mf = (e, t, n) => e instanceof Node && (t.contains(e) || sg(e, n)), cVe = "chart-chrome-portal_chromeRoot__kb5ue50", cG = _t(null), uVe = ({ children: e }) => {
66152
- const { chartId: t } = at(), [n] = et(wo), [r, o] = et(null);
66145
+ const { chartId: t } = at(), [n] = et(So), [r, o] = et(null);
66153
66146
  return n === null ? null : /* @__PURE__ */ V(Ze, { children: [sy(/* @__PURE__ */ m("div", {
66154
66147
  ref: o,
66155
66148
  className: cVe,
@@ -66859,7 +66852,7 @@ function VVe(e = !1) {
66859
66852
  return t;
66860
66853
  }
66861
66854
  var HVe = /* @__PURE__ */ C.forwardRef(function(t, n) {
66862
- const { render: r, className: o, id: i, name: a, value: s, disabled: l = !1, onValueChange: c, defaultValue: u, autoFocus: d = !1, ...f } = t, { state: h, name: p, disabled: g, setTouched: v, setDirty: y, validityData: b, setFocused: w, setFilled: S, validationMode: A, validation: T } = To(), R = g || l, x = p ?? a, k = {
66855
+ const { render: r, className: o, id: i, name: a, value: s, disabled: l = !1, onValueChange: c, defaultValue: u, autoFocus: d = !1, ...f } = t, { state: h, name: p, disabled: g, setTouched: v, setDirty: y, validityData: b, setFocused: w, setFilled: S, validationMode: A, validation: T } = Co(), R = g || l, x = p ?? a, k = {
66863
66856
  ...h,
66864
66857
  disabled: R
66865
66858
  }, { labelId: O } = ms(), E = ql({ id: i });
@@ -67144,7 +67137,7 @@ function sHe(e, { step: t, minWithDefault: n, maxWithDefault: r, minWithZeroDefa
67144
67137
  return rx(c, i);
67145
67138
  }
67146
67139
  var lHe = /* @__PURE__ */ C.forwardRef(function(t, n) {
67147
- const { id: r, min: o, max: i, smallStep: a = 0.1, step: s = 1, largeStep: l = 10, required: c = !1, disabled: u = !1, readOnly: d = !1, name: f, defaultValue: h, value: p, onValueChange: g, onValueCommitted: v, allowWheelScrub: y = !1, snapOnStep: b = !1, allowOutOfRange: w = !1, format: S, locale: A, render: T, className: R, inputRef: x, ...k } = t, { setDirty: O, validityData: E, disabled: F, setFilled: M, invalid: L, name: D, state: P, validation: I, shouldValidateOnChange: N } = To(), _ = F || u, z = D ?? f, U = s === "any" ? 1 : s, [K, oe] = C.useState(!1), j = o ?? Number.MIN_SAFE_INTEGER, q = i ?? Number.MAX_SAFE_INTEGER, G = o ?? 0, X = S?.style, ee = C.useRef(null), W = Sr(x, I.inputRef), Y = ql({ id: r }), [J, B] = Ai({
67140
+ const { id: r, min: o, max: i, smallStep: a = 0.1, step: s = 1, largeStep: l = 10, required: c = !1, disabled: u = !1, readOnly: d = !1, name: f, defaultValue: h, value: p, onValueChange: g, onValueCommitted: v, allowWheelScrub: y = !1, snapOnStep: b = !1, allowOutOfRange: w = !1, format: S, locale: A, render: T, className: R, inputRef: x, ...k } = t, { setDirty: O, validityData: E, disabled: F, setFilled: M, invalid: L, name: D, state: P, validation: I, shouldValidateOnChange: N } = Co(), _ = F || u, z = D ?? f, U = s === "any" ? 1 : s, [K, oe] = C.useState(!1), j = o ?? Number.MIN_SAFE_INTEGER, q = i ?? Number.MAX_SAFE_INTEGER, G = o ?? 0, X = S?.style, ee = C.useRef(null), W = Sr(x, I.inputRef), Y = ql({ id: r }), [J, B] = Ai({
67148
67141
  controlled: p,
67149
67142
  default: h,
67150
67143
  name: "NumberField",
@@ -67375,7 +67368,7 @@ var cHe = {
67375
67368
  "Enter",
67376
67369
  "Escape"
67377
67370
  ]), dHe = /* @__PURE__ */ C.forwardRef(function(t, n) {
67378
- const { render: r, className: o, ...i } = t, { allowInputSyncRef: a, disabled: s, formatOptionsRef: l, getAllowedNonNumericKeys: c, getStepAmount: u, id: d, incrementValue: f, inputMode: h, inputValue: p, max: g, min: v, name: y, readOnly: b, required: w, setValue: S, state: A, setInputValue: T, locale: R, inputRef: x, value: k, onValueCommitted: O, lastChangedValueRef: E, hasPendingCommitRef: F, valueRef: M } = UVe(), { clearErrors: L } = nd(), { validationMode: D, setTouched: P, setFocused: I, invalid: N, shouldValidateOnChange: _, validation: z } = To(), { labelId: U } = ms(), K = C.useRef(!1), oe = C.useRef(!1);
67371
+ const { render: r, className: o, ...i } = t, { allowInputSyncRef: a, disabled: s, formatOptionsRef: l, getAllowedNonNumericKeys: c, getStepAmount: u, id: d, incrementValue: f, inputMode: h, inputValue: p, max: g, min: v, name: y, readOnly: b, required: w, setValue: S, state: A, setInputValue: T, locale: R, inputRef: x, value: k, onValueCommitted: O, lastChangedValueRef: E, hasPendingCommitRef: F, valueRef: M } = UVe(), { clearErrors: L } = nd(), { validationMode: D, setTouched: P, setFocused: I, invalid: N, shouldValidateOnChange: _, validation: z } = Co(), { labelId: U } = ms(), K = C.useRef(!1), oe = C.useRef(!1);
67379
67372
  return rd({
67380
67373
  id: d,
67381
67374
  commit: z.commit,
@@ -67515,7 +67508,7 @@ function fHe() {
67515
67508
  return C.useContext(OG);
67516
67509
  }
67517
67510
  var hHe = /* @__PURE__ */ C.createContext(void 0), _G = /* @__PURE__ */ C.forwardRef(function(t, n) {
67518
- const { render: r, className: o, disabled: i = !1, readOnly: a = !1, required: s = !1, "aria-labelledby": l, value: c, inputRef: u, nativeButton: d = !1, id: f, ...h } = t, p = fHe(), { disabled: g, readOnly: v, required: y, checkedValue: b, touched: w = !1, validation: S, name: A } = p ?? {}, T = p?.setCheckedValue ?? Fn, R = p?.setTouched ?? Fn, x = p?.registerControlRef ?? Fn, k = p?.registerInputRef ?? Fn, { setDirty: O, validityData: E, setTouched: F, setFilled: M, state: L, disabled: D } = To(), P = DVe(), { labelId: I, getDescriptionProps: N } = ms(), _ = D || P.disabled || g || i, z = v || a, U = y || s, K = p ? b === c : c === "", oe = C.useMemo(() => Jv(c), [c]), j = C.useRef(null), q = C.useRef(null), G = me((le) => {
67511
+ const { render: r, className: o, disabled: i = !1, readOnly: a = !1, required: s = !1, "aria-labelledby": l, value: c, inputRef: u, nativeButton: d = !1, id: f, ...h } = t, p = fHe(), { disabled: g, readOnly: v, required: y, checkedValue: b, touched: w = !1, validation: S, name: A } = p ?? {}, T = p?.setCheckedValue ?? Fn, R = p?.setTouched ?? Fn, x = p?.registerControlRef ?? Fn, k = p?.registerInputRef ?? Fn, { setDirty: O, validityData: E, setTouched: F, setFilled: M, state: L, disabled: D } = Co(), P = DVe(), { labelId: I, getDescriptionProps: N } = ms(), _ = D || P.disabled || g || i, z = v || a, U = y || s, K = p ? b === c : c === "", oe = C.useMemo(() => Jv(c), [c]), j = C.useRef(null), q = C.useRef(null), G = me((le) => {
67519
67512
  le && x(le, _);
67520
67513
  }), X = Sr(u, q, k);
67521
67514
  ve(() => {
@@ -67628,7 +67621,7 @@ var hHe = /* @__PURE__ */ C.createContext(void 0), _G = /* @__PURE__ */ C.forwar
67628
67621
  }) : Q, /* @__PURE__ */ m("input", { ...ae })]
67629
67622
  });
67630
67623
  }), pHe = [CW], DG = /* @__PURE__ */ C.forwardRef(function(t, n) {
67631
- const { render: r, className: o, disabled: i, readOnly: a, required: s, onValueChange: l, value: c, defaultValue: u, name: d, inputRef: f, id: h, ...p } = t, { setTouched: g, setFocused: v, shouldValidateOnChange: y, validationMode: b, name: w, disabled: S, state: A, validation: T, setDirty: R, setFilled: x, validityData: k } = To(), { labelId: O } = ms(), { clearErrors: E } = nd(), F = VVe(!0), M = S || i, L = w ?? d, D = Jn(h), [P, I] = Ai({
67624
+ const { render: r, className: o, disabled: i, readOnly: a, required: s, onValueChange: l, value: c, defaultValue: u, name: d, inputRef: f, id: h, ...p } = t, { setTouched: g, setFocused: v, shouldValidateOnChange: y, validationMode: b, name: w, disabled: S, state: A, validation: T, setDirty: R, setFilled: x, validityData: k } = Co(), { labelId: O } = ms(), { clearErrors: E } = nd(), F = VVe(!0), M = S || i, L = w ?? d, D = Jn(h), [P, I] = Ai({
67632
67625
  controlled: c,
67633
67626
  default: u,
67634
67627
  name: "RadioGroup",
@@ -67791,7 +67784,7 @@ var tt = {
67791
67784
  hasScrollArrows: ye((e) => e.hasScrollArrows)
67792
67785
  };
67793
67786
  function mHe(e) {
67794
- const { id: t, value: n, defaultValue: r = null, onValueChange: o, open: i, defaultOpen: a = !1, onOpenChange: s, name: l, autoComplete: c, disabled: u = !1, readOnly: d = !1, required: f = !1, modal: h = !0, actionsRef: p, inputRef: g, onOpenChangeComplete: v, items: y, multiple: b = !1, itemToStringLabel: w, itemToStringValue: S, isItemEqualToValue: A = MVe, highlightItemOnHover: T = !0, children: R } = e, { clearErrors: x } = nd(), { setDirty: k, setTouched: O, setFocused: E, shouldValidateOnChange: F, validityData: M, setFilled: L, name: D, disabled: P, validation: I, validationMode: N } = To(), _ = ql({ id: t }), z = P || u, U = D ?? l, [K, oe] = Ai({
67787
+ const { id: t, value: n, defaultValue: r = null, onValueChange: o, open: i, defaultOpen: a = !1, onOpenChange: s, name: l, autoComplete: c, disabled: u = !1, readOnly: d = !1, required: f = !1, modal: h = !0, actionsRef: p, inputRef: g, onOpenChangeComplete: v, items: y, multiple: b = !1, itemToStringLabel: w, itemToStringValue: S, isItemEqualToValue: A = MVe, highlightItemOnHover: T = !0, children: R } = e, { clearErrors: x } = nd(), { setDirty: k, setTouched: O, setFocused: E, shouldValidateOnChange: F, validityData: M, setFilled: L, name: D, disabled: P, validation: I, validationMode: N } = Co(), _ = ql({ id: t }), z = P || u, U = D ?? l, [K, oe] = Ai({
67795
67788
  controlled: n,
67796
67789
  default: b ? r ?? bl : r,
67797
67790
  name: "Select",
@@ -68089,7 +68082,7 @@ var Cm = 2, gHe = 400, UO = 200, vHe = {
68089
68082
  ...ps,
68090
68083
  value: () => null
68091
68084
  }, yHe = /* @__PURE__ */ C.forwardRef(function(t, n) {
68092
- const { render: r, className: o, id: i, disabled: a = !1, nativeButton: s = !0, ...l } = t, { setTouched: c, setFocused: u, validationMode: d, state: f, disabled: h } = To(), { labelId: p } = ms(), { store: g, setOpen: v, selectionRef: y, validation: b, readOnly: w, required: S, alignItemWithTriggerActiveRef: A, disabled: T, keyboardActiveRef: R } = gs(), x = h || T || a, k = nt(g, tt.open), O = nt(g, tt.value), E = nt(g, tt.triggerProps), F = nt(g, tt.positionerElement), M = nt(g, tt.listElement), L = nt(g, tt.id), D = nt(g, tt.labelId), P = nt(g, tt.hasSelectedValue), I = !P && k, N = nt(g, tt.hasNullItemLabel, I), _ = i ?? L, z = wU(p, D);
68085
+ const { render: r, className: o, id: i, disabled: a = !1, nativeButton: s = !0, ...l } = t, { setTouched: c, setFocused: u, validationMode: d, state: f, disabled: h } = Co(), { labelId: p } = ms(), { store: g, setOpen: v, selectionRef: y, validation: b, readOnly: w, required: S, alignItemWithTriggerActiveRef: A, disabled: T, keyboardActiveRef: R } = gs(), x = h || T || a, k = nt(g, tt.open), O = nt(g, tt.value), E = nt(g, tt.triggerProps), F = nt(g, tt.positionerElement), M = nt(g, tt.listElement), L = nt(g, tt.id), D = nt(g, tt.labelId), P = nt(g, tt.hasSelectedValue), I = !P && k, N = nt(g, tt.hasNullItemLabel, I), _ = i ?? L, z = wU(p, D);
68093
68086
  ql({ id: _ });
68094
68087
  const U = mn(F), K = C.useRef(null), { getButtonProps: oe, buttonRef: j } = _i({
68095
68088
  disabled: x,
@@ -68747,7 +68740,7 @@ var KO = /* @__PURE__ */ (function(e) {
68747
68740
  return e ? { [KO.checked]: "" } : { [KO.unchecked]: "" };
68748
68741
  }
68749
68742
  }, FHe = /* @__PURE__ */ C.forwardRef(function(t, n) {
68750
- const { checked: r, className: o, defaultChecked: i, "aria-labelledby": a, id: s, inputRef: l, name: c, nativeButton: u = !1, onCheckedChange: d, readOnly: f = !1, required: h = !1, disabled: p = !1, render: g, uncheckedValue: v, value: y, ...b } = t, { clearErrors: w } = nd(), { state: S, setTouched: A, setDirty: T, validityData: R, setFilled: x, setFocused: k, shouldValidateOnChange: O, validationMode: E, disabled: F, name: M, validation: L } = To(), { labelId: D } = ms(), P = F || p, I = M ?? c, N = me(d), _ = C.useRef(null), z = Sr(_, l, L.inputRef), U = C.useRef(null), K = Jn(), oe = ql({
68743
+ const { checked: r, className: o, defaultChecked: i, "aria-labelledby": a, id: s, inputRef: l, name: c, nativeButton: u = !1, onCheckedChange: d, readOnly: f = !1, required: h = !1, disabled: p = !1, render: g, uncheckedValue: v, value: y, ...b } = t, { clearErrors: w } = nd(), { state: S, setTouched: A, setDirty: T, validityData: R, setFilled: x, setFocused: k, shouldValidateOnChange: O, validationMode: E, disabled: F, name: M, validation: L } = Co(), { labelId: D } = ms(), P = F || p, I = M ?? c, N = me(d), _ = C.useRef(null), z = Sr(_, l, L.inputRef), U = C.useRef(null), K = Jn(), oe = ql({
68751
68744
  id: s,
68752
68745
  implicit: !1,
68753
68746
  controlRef: U
@@ -68865,7 +68858,7 @@ var KO = /* @__PURE__ */ (function(e) {
68865
68858
  ]
68866
68859
  });
68867
68860
  }), BHe = /* @__PURE__ */ C.forwardRef(function(t, n) {
68868
- const { render: r, className: o, ...i } = t, { state: a } = To(), s = NHe();
68861
+ const { render: r, className: o, ...i } = t, { state: a } = Co(), s = NHe();
68869
68862
  return ct("span", t, {
68870
68863
  state: {
68871
68864
  ...a,
@@ -69755,13 +69748,13 @@ var JHe = (e) => {
69755
69748
  ...t.point
69756
69749
  }
69757
69750
  }), ej = (e, t) => e.x === t.x && e.y === t.y, Eze = (e, t) => {
69758
- const n = vo(e, t);
69751
+ const n = yo(e, t);
69759
69752
  return {
69760
69753
  x: t.x + n.x,
69761
69754
  y: t.y + n.y
69762
69755
  };
69763
69756
  }, Mze = (e, t, n) => {
69764
- const r = vo(e, n), o = vo(t, n);
69757
+ const r = yo(e, n), o = yo(t, n);
69765
69758
  return {
69766
69759
  x: Math.min(r.x, o.x),
69767
69760
  y: Math.min(r.y, o.y),
@@ -69769,7 +69762,7 @@ var JHe = (e) => {
69769
69762
  height: Math.abs(o.y - r.y)
69770
69763
  };
69771
69764
  }, YO = (e, t) => !Number.isFinite(t) || !Number.isFinite(e) ? 0 : da(t, Math.min(-e, 0), Math.max(1 - e, 0)), Rze = ({ panelRect: e }) => {
69772
- const t = Xt((s) => Pt(s, "arrow-endpoint-drag")), n = So(e).arrows, r = S0();
69765
+ const t = Xt((s) => Pt(s, "arrow-endpoint-drag")), n = To(e).arrows, r = S0();
69773
69766
  if (t === null) return null;
69774
69767
  const o = n.find((s) => s.id === t.annotationId);
69775
69768
  if (o === void 0) return null;
@@ -70052,7 +70045,7 @@ var Zze = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: o,
70052
70045
  annotation: e.id
70053
70046
  }), [e.id]), p = (x, k) => {
70054
70047
  const O = bi(l, { select: h })?.declarations ?? {};
70055
- s.dispatch(new bo({
70048
+ s.dispatch(new xo({
70056
70049
  list: "overrides",
70057
70050
  rule: {
70058
70051
  select: h,
@@ -70065,7 +70058,7 @@ var Zze = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: o,
70065
70058
  }, g = (x) => {
70066
70059
  p(x), c.close();
70067
70060
  }, v = (x) => {
70068
- s.dispatch(new yo({
70061
+ s.dispatch(new bo({
70069
70062
  kind: "arrow",
70070
70063
  id: e.id,
70071
70064
  patch: x
@@ -70257,7 +70250,7 @@ var n$e = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, xp = class {
70257
70250
  }
70258
70251
  commit({ anchor: e }) {
70259
70252
  const { annotationId: t, endpoint: n, dispatch: r, readInputs: o } = this.params, i = ey(o().annotations, t, n);
70260
- i === null || ej(i, e) || r(new yo({
70253
+ i === null || ej(i, e) || r(new bo({
70261
70254
  kind: "arrow",
70262
70255
  id: t,
70263
70256
  patch: oj(n, e)
@@ -70365,7 +70358,7 @@ var n$e = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, xp = class {
70365
70358
  if (a === null) return;
70366
70359
  i.releaseInteraction("arrow-endpoint-drag");
70367
70360
  const s = ey(r, t, n);
70368
- s === null || ej(s, a.anchor) || o(new yo({
70361
+ s === null || ej(s, a.anchor) || o(new bo({
70369
70362
  kind: "arrow",
70370
70363
  id: t,
70371
70364
  patch: oj(n, a.anchor)
@@ -70453,7 +70446,7 @@ var n$e = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, xp = class {
70453
70446
  const t = Re((n) => n.spec.annotations.arrows);
70454
70447
  return e === null ? null : t.find((n) => n.id === e) ?? null;
70455
70448
  }, f$e = (e, t) => {
70456
- const n = So(e).arrows;
70449
+ const n = To(e).arrows;
70457
70450
  return t === null ? null : n.find((r) => r.id === t) ?? null;
70458
70451
  }, h$e = (e) => Xt(Wn((t) => {
70459
70452
  if (e === null) return {
@@ -70523,7 +70516,7 @@ var y$e = [
70523
70516
  ...h,
70524
70517
  part: "label"
70525
70518
  }), [h]), g = d.find((E) => E.kind === e.label), v = d.some((E) => E.isPickable && E.kind !== e.label), y = e3.find((E) => eP[E.id].arrow.strokeWidth === f.strokeWidth), b = (E, F) => {
70526
- l.dispatch(new yo({
70519
+ l.dispatch(new bo({
70527
70520
  kind: "differenceArrow",
70528
70521
  id: e.id,
70529
70522
  patch: E
@@ -70538,7 +70531,7 @@ var y$e = [
70538
70531
  b(E), u.close();
70539
70532
  }, T = () => {
70540
70533
  l.dispatch(new Hl({ id: e.id })), a.focus({ preventScroll: !0 });
70541
- }, R = (E) => l.dispatch(new bo({
70534
+ }, R = (E) => l.dispatch(new xo({
70542
70535
  list: "overrides",
70543
70536
  rule: {
70544
70537
  select: h,
@@ -70659,7 +70652,7 @@ var C$e = "difference-arrow-selection_handleHitArea__78bwz0", A$e = "difference-
70659
70652
  x: Math.max(0, Math.min(e.x, t.width)),
70660
70653
  y: Math.max(0, Math.min(e.y, t.height))
70661
70654
  }), ij = (e) => e === "start" ? "end" : "start", aj = ({ dispatch: e, arrow: t, endpoint: n, anchor: r }) => {
70662
- Da(r, t[n].anchor) || e(new yo({
70655
+ Da(r, t[n].anchor) || e(new bo({
70663
70656
  kind: "differenceArrow",
70664
70657
  id: t.id,
70665
70658
  patch: { [n]: r }
@@ -70977,7 +70970,7 @@ var H$e = {
70977
70970
  hovered: "annotation-chrome_endpoint_hovered__8yg0ya4 annotation-chrome_endpointBase__8yg0ya3",
70978
70971
  selected: "annotation-chrome_endpoint_selected__8yg0ya5 annotation-chrome_endpointBase__8yg0ya3"
70979
70972
  }, $$e = ({ panelRect: e }) => {
70980
- const t = So(e), n = DA(), r = Gt(), o = bp(), i = Xt((g) => Pt(g, "move-drag")), a = Xt((g) => Pt(g, "shape-resize-drag")), s = Xt((g) => Pt(g, "arrow-endpoint-drag")), l = Xt((g) => Pt(g, "text-resize-drag")), c = Xt((g) => {
70973
+ const t = To(e), n = DA(), r = Gt(), o = bp(), i = Xt((g) => Pt(g, "move-drag")), a = Xt((g) => Pt(g, "shape-resize-drag")), s = Xt((g) => Pt(g, "arrow-endpoint-drag")), l = Xt((g) => Pt(g, "text-resize-drag")), c = Xt((g) => {
70981
70974
  const v = g.editTargetUnderPointer;
70982
70975
  return v?.kind === "annotation" ? v.id : null;
70983
70976
  }), u = ie(() => ({
@@ -71061,7 +71054,7 @@ var H$e = {
71061
71054
  top: n.y + e.y
71062
71055
  }
71063
71056
  }), W$e = ({ panelRect: e }) => {
71064
- const t = Xt((o) => Pt(o, "move-drag")), n = So(e);
71057
+ const t = Xt((o) => Pt(o, "move-drag")), n = To(e);
71065
71058
  if (t === null) return null;
71066
71059
  const r = rj(t.translation, e);
71067
71060
  return /* @__PURE__ */ m("svg", {
@@ -71132,7 +71125,7 @@ var H$e = {
71132
71125
  panel: t,
71133
71126
  style: lV()(e.id)
71134
71127
  }), X$e = ({ panelRect: e }) => {
71135
- const t = Xt((i) => Pt(i, "shape-resize-drag")), n = So(e).shapes, r = Zh();
71128
+ const t = Xt((i) => Pt(i, "shape-resize-drag")), n = To(e).shapes, r = Zh();
71136
71129
  if (t === null) return null;
71137
71130
  const o = n.find((i) => i.id === t.annotationId);
71138
71131
  return o === void 0 ? null : /* @__PURE__ */ m("svg", {
@@ -71202,7 +71195,7 @@ var H$e = {
71202
71195
  annotation: e.id
71203
71196
  }), [e.id]), h = (b, w) => {
71204
71197
  const S = bi(l, { select: f })?.declarations ?? {};
71205
- s.dispatch(new bo({
71198
+ s.dispatch(new xo({
71206
71199
  list: "overrides",
71207
71200
  rule: {
71208
71201
  select: f,
@@ -71309,7 +71302,7 @@ var H$e = {
71309
71302
  }
71310
71303
  commit({ region: e }) {
71311
71304
  const { annotationId: t, dispatch: n, readInputs: r } = this.params, o = ty(r().annotations, t);
71312
- o === null || cj(o, e) || n(new yo({
71305
+ o === null || cj(o, e) || n(new bo({
71313
71306
  kind: "shape",
71314
71307
  id: t,
71315
71308
  patch: { region: e }
@@ -71378,7 +71371,7 @@ var H$e = {
71378
71371
  },
71379
71372
  commit: ({ region: i }) => {
71380
71373
  const a = ty(o, e);
71381
- a === null || cj(a, i) || n.dispatch(new yo({
71374
+ a === null || cj(a, i) || n.dispatch(new bo({
71382
71375
  kind: "shape",
71383
71376
  id: e,
71384
71377
  patch: { region: i }
@@ -71587,7 +71580,7 @@ var bj = [
71587
71580
  annotation: e.id
71588
71581
  }), [e.id]), y = (E, F) => {
71589
71582
  const M = bi(l, { select: v })?.declarations ?? {};
71590
- s.dispatch(new bo({
71583
+ s.dispatch(new xo({
71591
71584
  list: "overrides",
71592
71585
  rule: {
71593
71586
  select: v,
@@ -71598,7 +71591,7 @@ var bj = [
71598
71591
  }
71599
71592
  }), F);
71600
71593
  }, b = (E, F) => {
71601
- s.dispatch(new yo({
71594
+ s.dispatch(new bo({
71602
71595
  kind: "text",
71603
71596
  id: e.id,
71604
71597
  patch: E
@@ -71761,7 +71754,7 @@ var xj = ({ width: e }) => Vo(60, e), PWe = (e, t) => ({
71761
71754
  }
71762
71755
  commit(e) {
71763
71756
  const { annotationId: t, dispatch: n, readInputs: r } = this.params, o = ry(r().annotations, t);
71764
- o === null || Sj(o, e) || n(new yo({
71757
+ o === null || Sj(o, e) || n(new bo({
71765
71758
  kind: "text",
71766
71759
  id: t,
71767
71760
  patch: {
@@ -71808,7 +71801,7 @@ var xj = ({ width: e }) => Vo(60, e), PWe = (e, t) => ({
71808
71801
  },
71809
71802
  commit: (a) => {
71810
71803
  const s = ry(o, e);
71811
- s === null || Sj(s, a) || n.dispatch(new yo({
71804
+ s === null || Sj(s, a) || n.dispatch(new bo({
71812
71805
  kind: "text",
71813
71806
  id: e,
71814
71807
  patch: {
@@ -71886,7 +71879,7 @@ var xj = ({ width: e }) => Vo(60, e), PWe = (e, t) => ({
71886
71879
  resized: BA(Pt(t, "text-resize-drag"), e),
71887
71880
  isMoved: x0(Pt(t, "move-drag"), e) !== null
71888
71881
  })), zWe = (e, t, n) => {
71889
- const r = So(e), o = DA(), i = Gt(), a = ie(() => ({
71882
+ const r = To(e), o = DA(), i = Gt(), a = ie(() => ({
71890
71883
  panel: {
71891
71884
  width: e.width,
71892
71885
  height: e.height
@@ -71924,7 +71917,7 @@ var GWe = "observation-menu-trigger_trigger__7alwr61", jWe = {
71924
71917
  }, qWe = ({ interaction: e, panelRect: t }) => {
71925
71918
  const n = yn(), r = e.kind === "trigger" || e.kind === "menu" ? e.anchor : null, o = XWe(e), i = ie(() => {
71926
71919
  if (r === null) return null;
71927
- const a = vo(r.position, t);
71920
+ const a = yo(r.position, t);
71928
71921
  return {
71929
71922
  center: a,
71930
71923
  radius: 19 * UWe[o],
@@ -72321,7 +72314,7 @@ var GWe = "observation-menu-trigger_trigger__7alwr61", jWe = {
72321
72314
  panelRect: t
72322
72315
  })] });
72323
72316
  }, mUe = ({ annotationId: e, panelRect: t }) => {
72324
- const n = yn(), { textAnnotations: r } = So(t);
72317
+ const n = yn(), { textAnnotations: r } = To(t);
72325
72318
  return Ce(() => {
72326
72319
  r.some(({ id: o }) => o === e) || n.getState().setCaret(null);
72327
72320
  }, [
@@ -72623,7 +72616,7 @@ var FUe = ({ options: e, value: t, onChange: n, placeholder: r, isDisabled: o, h
72623
72616
  children: /* @__PURE__ */ m(yp, { size: "sm" })
72624
72617
  })]
72625
72618
  }), /* @__PURE__ */ m(THe, {
72626
- container: wo(),
72619
+ container: So(),
72627
72620
  children: /* @__PURE__ */ m(no, { children: /* @__PURE__ */ m(EHe, {
72628
72621
  className: OUe,
72629
72622
  sideOffset: 4,
@@ -73373,7 +73366,7 @@ var bGe = "section_chevron__141oj688", bn = ({ title: e, layout: t = "fixed", pr
73373
73366
  label: i(h === "dim" ? "editor.highlighting.highlightStyle.tint" : "editor.highlighting.highlightStyle.grey")
73374
73367
  })), d = (h) => {
73375
73368
  const p = bi(o.spec.styles.overrides, FGe)?.declarations ?? {};
73376
- r.commands.dispatch(new bo({
73369
+ r.commands.dispatch(new xo({
73377
73370
  list: "overrides",
73378
73371
  rule: {
73379
73372
  select: { target: "graph" },