@synnaxlabs/pluto 0.45.0 → 0.45.1

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.
Files changed (71) hide show
  1. package/dist/{Animated-EQN_Zecr.cjs → Animated-BT-w0cPF.cjs} +1 -1
  2. package/dist/{Animated-B9bcEALW.js → Animated-B_xTpw9g.js} +1 -1
  3. package/dist/{LinePlot-Do2q5AyX.cjs → LinePlot-De-VLJHL.cjs} +3 -3
  4. package/dist/{LinePlot-82qQ7-BC.js → LinePlot-mRCOU5PM.js} +98 -98
  5. package/dist/{Toggle-BNABJ5M2.js → Toggle-CzRMXK-K.js} +1 -1
  6. package/dist/{Toggle-BKrbt8lh.cjs → Toggle-DY4PmA0_.cjs} +1 -1
  7. package/dist/button.cjs +1 -1
  8. package/dist/button.js +1 -1
  9. package/dist/color.cjs +1 -1
  10. package/dist/color.js +1 -1
  11. package/dist/dialog.cjs +1 -1
  12. package/dist/dialog.js +1 -1
  13. package/dist/{eraser-DXDDmPgV.js → eraser-BcLVtorx.js} +2910 -2812
  14. package/dist/eraser-h8NIswGM.cjs +63 -0
  15. package/dist/ether.cjs +1 -1
  16. package/dist/ether.js +5 -5
  17. package/dist/{external-65blLb4-.js → external-BA4cUJmi.js} +1 -1
  18. package/dist/{external-BIykXq97.cjs → external-BBGCooyz.cjs} +1 -1
  19. package/dist/{external-SQa3Pr0s.js → external-BF3OTViJ.js} +2 -2
  20. package/dist/{external-Gh_0tAJ0.js → external-BNitHfU5.js} +2 -2
  21. package/dist/{external-_ninRYLQ.js → external-BY99QanC.js} +3 -3
  22. package/dist/{external-W69NXl-R.js → external-ByxpHVEA.js} +2 -2
  23. package/dist/{external-BKOEKFd7.js → external-C-0pnmB4.js} +2 -2
  24. package/dist/{external-BOvnkwzO.js → external-CBLyUVI_.js} +3 -3
  25. package/dist/{external-5DC2xiKR.cjs → external-CGbANgXa.cjs} +1 -1
  26. package/dist/{external-CGX7u75x.js → external-CJrxLSWV.js} +2 -2
  27. package/dist/{external-DWfn7Yhk.cjs → external-CMtT44YA.cjs} +1 -1
  28. package/dist/{external-CFsDBQGs.cjs → external-CNbPkF53.cjs} +1 -1
  29. package/dist/{external-J1Ji-Eku.js → external-CbHzHgtw.js} +2 -2
  30. package/dist/external-CiJ7RsGt.cjs +1 -0
  31. package/dist/{external-DCQ725nK.cjs → external-D2VXaXzu.cjs} +1 -1
  32. package/dist/{external-CPW2TrSs.js → external-DNwQ_1PT.js} +2 -2
  33. package/dist/{external-Bqmws2bv.cjs → external-DYC1EK6G.cjs} +1 -1
  34. package/dist/{external-DLo-151g.js → external-D_PgcvDj.js} +2 -2
  35. package/dist/{external-mOr1FzAd.cjs → external-Dl5JyJaH.cjs} +1 -1
  36. package/dist/{external-DTLy0px_.js → external-Du8Z1FRh.js} +2 -2
  37. package/dist/{external-kaUzEm1U.cjs → external-DynvKrxv.cjs} +1 -1
  38. package/dist/{external-BSeWLcfY.js → external-DzuRmcYi.js} +3 -3
  39. package/dist/{external-CijGOPm7.cjs → external-ETemCKjS.cjs} +1 -1
  40. package/dist/{external-BEkAplsH.cjs → external-S6GiiOBy.cjs} +1 -1
  41. package/dist/{external-CJKfUQ-9.cjs → external-aXmXhGMj.cjs} +1 -1
  42. package/dist/{external-B8KPEzPt.cjs → external-zzhrikgD.cjs} +1 -1
  43. package/dist/flex.cjs +1 -1
  44. package/dist/flex.js +1 -1
  45. package/dist/{fontString-D_jEa-uI.js → fontString-B3WuZ-o6.js} +1 -1
  46. package/dist/{fontString-4EFXWlQp.cjs → fontString-C4QgiFXy.cjs} +1 -1
  47. package/dist/header.cjs +1 -1
  48. package/dist/header.js +1 -1
  49. package/dist/index.cjs +5 -5
  50. package/dist/index.js +30 -30
  51. package/dist/input.cjs +1 -1
  52. package/dist/input.js +1 -1
  53. package/dist/list.cjs +1 -1
  54. package/dist/list.js +1 -1
  55. package/dist/{main-2qH2bggR.cjs → main-DCvw0wt3.cjs} +3 -3
  56. package/dist/{main-jKCzbrWn.js → main-mGfIFfsW.js} +1 -1
  57. package/dist/menu.cjs +1 -1
  58. package/dist/menu.js +1 -1
  59. package/dist/tabs.cjs +1 -1
  60. package/dist/tabs.js +1 -1
  61. package/dist/text.cjs +1 -1
  62. package/dist/text.js +2 -2
  63. package/dist/theming.cjs +1 -1
  64. package/dist/theming.js +2 -2
  65. package/dist/tree.cjs +1 -1
  66. package/dist/tree.js +1 -1
  67. package/dist/triggers.cjs +1 -1
  68. package/dist/triggers.js +1 -1
  69. package/package.json +6 -6
  70. package/dist/eraser-C1jjA5cv.cjs +0 -63
  71. package/dist/external-DcNW5o-8.cjs +0 -1
@@ -1,7 +1,7 @@
1
1
  import { r as A, f as y, d as C, W as U, O as G, i as T, e as oa, x as Ve, g as $, h as la, j as ca, A as pt, w as Jn, a as Q, G as Er, l as Cr, k as es, m as ua, o as Mt, q as se, K as f, p as re, H as p, _ as Ms, R as kr, s as sn, c as Pr, S as ha, $ as da } from "./css-BUXMI9PB.js";
2
2
  import we, { z as h } from "zod";
3
- import { z as Xe, B as Ot, A as Dt, T as Ee, N as rn, v as an, D as Rr, E as fa, F as ae, H as on, I as Mr, J as pa, V as kn, K as ma, M as ue, Q as mt, U as q, W as ga, h as V, u as fe, X as ya, Y as Or, G as va, d as Os, Z as it, $ as ts, a0 as ns, a1 as ba, l as Dr, a2 as wa, a3 as xa, a4 as Sa } from "./eraser-DXDDmPgV.js";
4
- import { f as rt } from "./fontString-D_jEa-uI.js";
3
+ import { z as Xe, A as Ot, B as Dt, T as Ee, D as rn, v as an, E as Rr, F as fa, H as ae, I as on, J as Mr, K as pa, M as kn, N as ma, Q as ue, U as mt, V as q, W as ga, h as V, u as fe, X as ya, Y as Or, G as va, d as Os, Z as it, $ as ts, a0 as ns, a1 as ba, l as Dr, a2 as wa, a3 as xa, a4 as Sa } from "./eraser-BcLVtorx.js";
4
+ import { f as rt } from "./fontString-B3WuZ-o6.js";
5
5
  import "react";
6
6
  class Ta {
7
7
  handlers;
@@ -70,7 +70,7 @@ class Rn extends ye {
70
70
  set() {
71
71
  }
72
72
  }
73
- const Lr = {
73
+ const _r = {
74
74
  type: Rn.TYPE,
75
75
  props: {},
76
76
  variant: "sink",
@@ -94,7 +94,7 @@ class On extends ye {
94
94
  return 0;
95
95
  }
96
96
  }
97
- const _r = {
97
+ const Lr = {
98
98
  type: On.TYPE,
99
99
  props: {},
100
100
  variant: "source",
@@ -112,7 +112,7 @@ const Yr = {
112
112
  variant: "source",
113
113
  valueType: "string"
114
114
  };
115
- class Ln extends ye {
115
+ class _n extends ye {
116
116
  static TYPE = "noop-status-source";
117
117
  value() {
118
118
  return {
@@ -124,19 +124,19 @@ class Ln extends ye {
124
124
  }
125
125
  }
126
126
  const ls = {
127
- type: Ln.TYPE,
127
+ type: _n.TYPE,
128
128
  props: {},
129
129
  variant: "source",
130
130
  valueType: "status"
131
131
  };
132
- class _n extends ye {
132
+ class Ln extends ye {
133
133
  static TYPE = "noop-color-source";
134
134
  value() {
135
135
  return y.ZERO;
136
136
  }
137
137
  }
138
138
  const cn = {
139
- type: _n.TYPE,
139
+ type: Ln.TYPE,
140
140
  props: {},
141
141
  variant: "source",
142
142
  valueType: "color"
@@ -157,8 +157,8 @@ const Ar = {
157
157
  [Rn.TYPE]: Rn,
158
158
  [Mn.TYPE]: Mn,
159
159
  [On.TYPE]: On,
160
- [Ln.TYPE]: Ln,
161
160
  [_n.TYPE]: _n,
161
+ [Ln.TYPE]: Ln,
162
162
  [Dn.TYPE]: Dn,
163
163
  [Yn.TYPE]: Yn
164
164
  };
@@ -179,7 +179,7 @@ const Pa = h.instanceof(ArrayBuffer), gt = h.object({
179
179
  variant: h.literal("source-transformer")
180
180
  }), Br = gt.extend({
181
181
  variant: h.literal("sink-transformer")
182
- }), Lt = ve.extend({ valueType: h.literal("series") }), cs = ve.extend({
182
+ }), _t = ve.extend({ valueType: h.literal("series") }), cs = ve.extend({
183
183
  valueType: h.literal("boolean")
184
184
  }), hn = un.extend({ valueType: h.literal("boolean") }), Ra = Br.extend({
185
185
  valueType: h.literal("boolean")
@@ -280,8 +280,8 @@ class fs {
280
280
  }
281
281
  create(e) {
282
282
  switch (e.type) {
283
- case _t.TYPE:
284
- return new _t(e.props, this.factory);
283
+ case Lt.TYPE:
284
+ return new Lt(e.props, this.factory);
285
285
  case Yt.TYPE:
286
286
  return new Yt(e.props, this.factory);
287
287
  default:
@@ -289,7 +289,7 @@ class fs {
289
289
  }
290
290
  }
291
291
  }
292
- class _t extends X {
292
+ class Lt extends X {
293
293
  static TYPE = "source-pipeline";
294
294
  schema = Hr;
295
295
  sources = {};
@@ -325,7 +325,7 @@ class _t extends X {
325
325
  const Oa = (n, e) => ({
326
326
  variant: "source",
327
327
  props: e,
328
- type: _t.TYPE,
328
+ type: Lt.TYPE,
329
329
  valueType: n
330
330
  }), jr = h.object({
331
331
  connections: h.array(ds),
@@ -430,7 +430,7 @@ const Wr = async (n, e, t) => {
430
430
  if (s.virtual)
431
431
  throw new Dt("cannot use virtual channels as a data source");
432
432
  return { key: s.index, dataType: $.TIMESTAMP, virtual: !1, isCalculated: r };
433
- }, La = h.object({
433
+ }, _a = h.object({
434
434
  timeRange: G.z,
435
435
  channel: h.number().or(h.string()),
436
436
  useIndexOfChannel: h.boolean().optional().default(!1)
@@ -438,7 +438,7 @@ const Wr = async (n, e, t) => {
438
438
  class Nt extends X {
439
439
  static TYPE = "series-source";
440
440
  client;
441
- schema = La;
441
+ schema = _a;
442
442
  data = new U();
443
443
  valid = !1;
444
444
  channel = null;
@@ -474,7 +474,7 @@ class Nt extends X {
474
474
  }
475
475
  }
476
476
  }
477
- const _a = h.object({
477
+ const La = h.object({
478
478
  channel: h.number().or(h.string()),
479
479
  useIndexOfChannel: h.boolean().optional().default(!1),
480
480
  timeSpan: T.z,
@@ -489,7 +489,7 @@ class It extends X {
489
489
  channel = null;
490
490
  stopStreaming;
491
491
  valid = !1;
492
- schema = _a;
492
+ schema = La;
493
493
  constructor(e, t, s, r = () => A.now()) {
494
494
  super(t), this.client = e, this.now = r, this.onStatusChange = s?.onStatusChange;
495
495
  }
@@ -1018,7 +1018,7 @@ class Ds extends pi {
1018
1018
  return this.wrapped.onChange(e);
1019
1019
  }
1020
1020
  }
1021
- class Ls extends pi {
1021
+ class _s extends pi {
1022
1022
  set(...e) {
1023
1023
  this.wrapped.set(...e);
1024
1024
  }
@@ -1035,11 +1035,11 @@ const ee = (n, e, t, s) => {
1035
1035
  return new Ds(r.create(e, s), r, e);
1036
1036
  }, vt = (n, e, t, s) => {
1037
1037
  const r = pn(n);
1038
- if (t instanceof Ls) {
1038
+ if (t instanceof _s) {
1039
1039
  if (!t.shouldUpdate(r, e)) return t;
1040
1040
  t.cleanup?.();
1041
1041
  }
1042
- return new Ls(r.create(e, s), r, e);
1042
+ return new _s(r.create(e, s), r, e);
1043
1043
  }, so = h.object({
1044
1044
  props: fa.nullable(),
1045
1045
  state: Rr.connectivity.connectionStateZ.nullable()
@@ -1796,7 +1796,7 @@ const Po = {
1796
1796
  SeriesDownsampler: at,
1797
1797
  SetPoint: Ie,
1798
1798
  SinkPipeline: Yt,
1799
- SourcePipeline: _t,
1799
+ SourcePipeline: Lt,
1800
1800
  StaticFactory: Xr,
1801
1801
  StreamChannelData: It,
1802
1802
  StreamChannelValue: At,
@@ -1834,8 +1834,8 @@ const Po = {
1834
1834
  noopBooleanSinkSpec: ln,
1835
1835
  noopBooleanSourceSpec: os,
1836
1836
  noopColorSourceSpec: cn,
1837
- noopNumericSinkSpec: Lr,
1838
- noopNumericSourceSpec: _r,
1837
+ noopNumericSinkSpec: _r,
1838
+ noopNumericSourceSpec: Lr,
1839
1839
  noopSeriesSourceSpec: Ar,
1840
1840
  noopStatusSourceSpec: ls,
1841
1841
  noopStringSourceSpec: Yr,
@@ -1847,7 +1847,7 @@ const Po = {
1847
1847
  scaleNumber: Ka,
1848
1848
  scaleNumberProps: oi,
1849
1849
  seriesDownsampler: no,
1850
- seriesSourceSpecZ: Lt,
1850
+ seriesSourceSpecZ: _t,
1851
1851
  setContext: di,
1852
1852
  setpoint: Ha,
1853
1853
  sinkPipeline: Da,
@@ -1902,10 +1902,10 @@ const Si = h.object({
1902
1902
  loc: se.outer
1903
1903
  });
1904
1904
  h.record(h.string(), Si);
1905
- const Le = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s) => s.order - t.order), Oo = (n, e, t) => {
1905
+ const _e = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s) => s.order - t.order), Oo = (n, e, t) => {
1906
1906
  const s = e[n];
1907
1907
  if (s == null) return f.ZERO;
1908
- const r = se.construct(s.loc), i = Le(r, e), a = se.construct(re.swap(se.direction(r))), o = Le(a, e), c = i.findIndex(({ key: d }) => d === n), l = i.slice(0, c).reduce((d, { size: m }) => d + m, 0), u = o.reduce((d, { size: m }) => d + m, 0);
1908
+ const r = se.construct(s.loc), i = _e(r, e), a = se.construct(re.swap(se.direction(r))), o = _e(a, e), c = i.findIndex(({ key: d }) => d === n), l = i.slice(0, c).reduce((d, { size: m }) => d + m, 0), u = o.reduce((d, { size: m }) => d + m, 0);
1909
1909
  switch (r) {
1910
1910
  case "left":
1911
1911
  return f.translate(p.topLeft(t), [l, u]);
@@ -1920,7 +1920,7 @@ const Le = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s
1920
1920
  ]);
1921
1921
  }
1922
1922
  }, Do = (n, e) => {
1923
- const t = Le("left", n), s = Le("right", n), r = Le("top", n), i = Le("bottom", n), a = t.reduce((u, { size: d }) => u + d, 0), o = s.reduce((u, { size: d }) => u + d, 0), c = r.reduce((u, { size: d }) => u + d, 0), l = i.reduce((u, { size: d }) => u + d, 0);
1923
+ const t = _e("left", n), s = _e("right", n), r = _e("top", n), i = _e("bottom", n), a = t.reduce((u, { size: d }) => u + d, 0), o = s.reduce((u, { size: d }) => u + d, 0), c = r.reduce((u, { size: d }) => u + d, 0), l = i.reduce((u, { size: d }) => u + d, 0);
1924
1924
  return p.construct(
1925
1925
  f.translate(p.topLeft(e), { x: a, y: c }),
1926
1926
  p.width(e) - a - o,
@@ -1930,12 +1930,12 @@ const Le = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s
1930
1930
  function Rt(n, e) {
1931
1931
  return n == null || e == null ? NaN : n < e ? -1 : n > e ? 1 : n >= e ? 0 : NaN;
1932
1932
  }
1933
- function Lo(n, e) {
1933
+ function _o(n, e) {
1934
1934
  return n == null || e == null ? NaN : e < n ? -1 : e > n ? 1 : e >= n ? 0 : NaN;
1935
1935
  }
1936
1936
  function vs(n) {
1937
1937
  let e, t, s;
1938
- n.length !== 2 ? (e = Rt, t = (o, c) => Rt(n(o), c), s = (o, c) => n(o) - c) : (e = n === Rt || n === Lo ? n : _o, t = n, s = n);
1938
+ n.length !== 2 ? (e = Rt, t = (o, c) => Rt(n(o), c), s = (o, c) => n(o) - c) : (e = n === Rt || n === _o ? n : Lo, t = n, s = n);
1939
1939
  function r(o, c, l = 0, u = o.length) {
1940
1940
  if (l < u) {
1941
1941
  if (e(c, c) !== 0) return u;
@@ -1962,7 +1962,7 @@ function vs(n) {
1962
1962
  }
1963
1963
  return { left: r, center: a, right: i };
1964
1964
  }
1965
- function _o() {
1965
+ function Lo() {
1966
1966
  return 0;
1967
1967
  }
1968
1968
  function Yo(n) {
@@ -2020,7 +2020,7 @@ function Ei(n, e) {
2020
2020
  }
2021
2021
  function bt() {
2022
2022
  }
2023
- var lt = 0.7, Ht = 1 / lt, Ae = "\\s*([+-]?\\d+)\\s*", ct = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ie = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", $o = /^#([0-9a-f]{3,8})$/, qo = new RegExp(`^rgb\\(${Ae},${Ae},${Ae}\\)$`), Fo = new RegExp(`^rgb\\(${ie},${ie},${ie}\\)$`), Ho = new RegExp(`^rgba\\(${Ae},${Ae},${Ae},${ct}\\)$`), jo = new RegExp(`^rgba\\(${ie},${ie},${ie},${ct}\\)$`), zo = new RegExp(`^hsl\\(${ct},${ie},${ie}\\)$`), Wo = new RegExp(`^hsla\\(${ct},${ie},${ie},${ct}\\)$`), _s = {
2023
+ var lt = 0.7, Ht = 1 / lt, Ae = "\\s*([+-]?\\d+)\\s*", ct = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ie = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", $o = /^#([0-9a-f]{3,8})$/, qo = new RegExp(`^rgb\\(${Ae},${Ae},${Ae}\\)$`), Fo = new RegExp(`^rgb\\(${ie},${ie},${ie}\\)$`), Ho = new RegExp(`^rgba\\(${Ae},${Ae},${Ae},${ct}\\)$`), jo = new RegExp(`^rgba\\(${ie},${ie},${ie},${ct}\\)$`), zo = new RegExp(`^hsl\\(${ct},${ie},${ie}\\)$`), Wo = new RegExp(`^hsla\\(${ct},${ie},${ie},${ct}\\)$`), Ls = {
2024
2024
  aliceblue: 15792383,
2025
2025
  antiquewhite: 16444375,
2026
2026
  aqua: 65535,
@@ -2199,7 +2199,7 @@ function As() {
2199
2199
  }
2200
2200
  function ut(n) {
2201
2201
  var e, t;
2202
- return n = (n + "").trim().toLowerCase(), (e = $o.exec(n)) ? (t = e[1].length, e = parseInt(e[1], 16), t === 6 ? Ns(e) : t === 3 ? new j(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : t === 8 ? Et(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : t === 4 ? Et(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = qo.exec(n)) ? new j(e[1], e[2], e[3], 1) : (e = Fo.exec(n)) ? new j(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Ho.exec(n)) ? Et(e[1], e[2], e[3], e[4]) : (e = jo.exec(n)) ? Et(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = zo.exec(n)) ? Zs(e[1], e[2] / 100, e[3] / 100, 1) : (e = Wo.exec(n)) ? Zs(e[1], e[2] / 100, e[3] / 100, e[4]) : _s.hasOwnProperty(n) ? Ns(_s[n]) : n === "transparent" ? new j(NaN, NaN, NaN, 0) : null;
2202
+ return n = (n + "").trim().toLowerCase(), (e = $o.exec(n)) ? (t = e[1].length, e = parseInt(e[1], 16), t === 6 ? Ns(e) : t === 3 ? new j(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : t === 8 ? Et(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : t === 4 ? Et(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = qo.exec(n)) ? new j(e[1], e[2], e[3], 1) : (e = Fo.exec(n)) ? new j(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Ho.exec(n)) ? Et(e[1], e[2], e[3], e[4]) : (e = jo.exec(n)) ? Et(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = zo.exec(n)) ? Zs(e[1], e[2] / 100, e[3] / 100, 1) : (e = Wo.exec(n)) ? Zs(e[1], e[2] / 100, e[3] / 100, e[4]) : Ls.hasOwnProperty(n) ? Ns(Ls[n]) : n === "transparent" ? new j(NaN, NaN, NaN, 0) : null;
2203
2203
  }
2204
2204
  function Ns(n) {
2205
2205
  return new j(n >> 16 & 255, n >> 8 & 255, n & 255, 1);
@@ -2420,7 +2420,7 @@ function dl(n) {
2420
2420
  return +n;
2421
2421
  }
2422
2422
  var qs = [0, 1];
2423
- function _e(n) {
2423
+ function Le(n) {
2424
2424
  return n;
2425
2425
  }
2426
2426
  function qn(n, e) {
@@ -2453,10 +2453,10 @@ function Pi(n, e) {
2453
2453
  return e.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown());
2454
2454
  }
2455
2455
  function gl() {
2456
- var n = qs, e = qs, t = xs, s, r, i, a = _e, o, c, l;
2456
+ var n = qs, e = qs, t = xs, s, r, i, a = Le, o, c, l;
2457
2457
  function u() {
2458
2458
  var m = Math.min(n.length, e.length);
2459
- return a !== _e && (a = fl(n[0], n[m - 1])), o = m > 2 ? ml : pl, c = l = null, d;
2459
+ return a !== Le && (a = fl(n[0], n[m - 1])), o = m > 2 ? ml : pl, c = l = null, d;
2460
2460
  }
2461
2461
  function d(m) {
2462
2462
  return m == null || isNaN(m = +m) ? i : (c || (c = o(n.map(s), e, t)))(s(a(m)));
@@ -2470,7 +2470,7 @@ function gl() {
2470
2470
  }, d.rangeRound = function(m) {
2471
2471
  return e = Array.from(m), t = ul, u();
2472
2472
  }, d.clamp = function(m) {
2473
- return arguments.length ? (a = m ? !0 : _e, u()) : a !== _e;
2473
+ return arguments.length ? (a = m ? !0 : Le, u()) : a !== Le;
2474
2474
  }, d.interpolate = function(m) {
2475
2475
  return arguments.length ? (t = m, u()) : t;
2476
2476
  }, d.unknown = function(m) {
@@ -2480,7 +2480,7 @@ function gl() {
2480
2480
  };
2481
2481
  }
2482
2482
  function Ri() {
2483
- return gl()(_e, _e);
2483
+ return gl()(Le, Le);
2484
2484
  }
2485
2485
  function yl(n) {
2486
2486
  return Math.abs(n = Math.round(n)) >= 1e21 ? n.toLocaleString("en").replace(/,/g, "") : n.toString(10);
@@ -2586,8 +2586,8 @@ function Tl(n) {
2586
2586
  var e = n.grouping === void 0 || n.thousands === void 0 ? js : vl(zs.call(n.grouping, Number), n.thousands + ""), t = n.currency === void 0 ? "" : n.currency[0] + "", s = n.currency === void 0 ? "" : n.currency[1] + "", r = n.decimal === void 0 ? "." : n.decimal + "", i = n.numerals === void 0 ? js : bl(zs.call(n.numerals, String)), a = n.percent === void 0 ? "%" : n.percent + "", o = n.minus === void 0 ? "−" : n.minus + "", c = n.nan === void 0 ? "NaN" : n.nan + "";
2587
2587
  function l(d) {
2588
2588
  d = Vt(d);
2589
- var m = d.fill, v = d.align, S = d.sign, w = d.symbol, x = d.zero, R = d.width, L = d.comma, M = d.precision, Y = d.trim, N = d.type;
2590
- N === "n" ? (L = !0, N = "g") : Hs[N] || (M === void 0 && (M = 12), Y = !0, N = "g"), (x || m === "0" && v === "=") && (x = !0, m = "0", v = "=");
2589
+ var m = d.fill, v = d.align, S = d.sign, w = d.symbol, x = d.zero, R = d.width, _ = d.comma, M = d.precision, Y = d.trim, N = d.type;
2590
+ N === "n" ? (_ = !0, N = "g") : Hs[N] || (M === void 0 && (M = 12), Y = !0, N = "g"), (x || m === "0" && v === "=") && (x = !0, m = "0", v = "=");
2591
2591
  var E = w === "$" ? t : w === "#" && /[boxX]/.test(N) ? "0" + N.toLowerCase() : "", I = w === "$" ? s : /[%p]/.test(N) ? a : "", pe = Hs[N], Je = /[defgprs%]/.test(N);
2592
2592
  M = M === void 0 ? 6 : /[gprs]/.test(N) ? Math.max(1, Math.min(21, M)) : Math.max(0, Math.min(20, M));
2593
2593
  function St(P) {
@@ -2605,9 +2605,9 @@ function Tl(n) {
2605
2605
  }
2606
2606
  }
2607
2607
  }
2608
- L && !x && (P = e(P, 1 / 0));
2608
+ _ && !x && (P = e(P, 1 / 0));
2609
2609
  var Oe = oe.length + P.length + F.length, te = Oe < R ? new Array(R - Oe + 1).join(m) : "";
2610
- switch (L && x && (P = e(te + P, te.length ? R - F.length : 1 / 0), te = ""), v) {
2610
+ switch (_ && x && (P = e(te + P, te.length ? R - F.length : 1 / 0), te = ""), v) {
2611
2611
  case "<":
2612
2612
  P = oe + P + F + te;
2613
2613
  break;
@@ -2704,10 +2704,10 @@ function Ml(n) {
2704
2704
  return n;
2705
2705
  }, n;
2706
2706
  }
2707
- function Li() {
2707
+ function _i() {
2708
2708
  var n = Ri();
2709
2709
  return n.copy = function() {
2710
- return Pi(n, Li());
2710
+ return Pi(n, _i());
2711
2711
  }, Ti.apply(n, arguments), Ml(n);
2712
2712
  }
2713
2713
  function Ol(n, e) {
@@ -2777,12 +2777,12 @@ const Cs = B((n) => {
2777
2777
  n.setTime(+n + e * ce);
2778
2778
  }, (n, e) => (e - n) / ce, (n) => n.getHours());
2779
2779
  Cs.range;
2780
- const Ll = B((n) => {
2780
+ const _l = B((n) => {
2781
2781
  n.setUTCMinutes(0, 0, 0);
2782
2782
  }, (n, e) => {
2783
2783
  n.setTime(+n + e * ce);
2784
2784
  }, (n, e) => (e - n) / ce, (n) => n.getUTCHours());
2785
- Ll.range;
2785
+ _l.range;
2786
2786
  const wt = B(
2787
2787
  (n) => n.setHours(0, 0, 0, 0),
2788
2788
  (n, e) => n.setDate(n.getDate() + e),
@@ -2796,12 +2796,12 @@ const ks = B((n) => {
2796
2796
  n.setUTCDate(n.getUTCDate() + e);
2797
2797
  }, (n, e) => (e - n) / he, (n) => n.getUTCDate() - 1);
2798
2798
  ks.range;
2799
- const _l = B((n) => {
2799
+ const Ll = B((n) => {
2800
2800
  n.setUTCHours(0, 0, 0, 0);
2801
2801
  }, (n, e) => {
2802
2802
  n.setUTCDate(n.getUTCDate() + e);
2803
2803
  }, (n, e) => (e - n) / he, (n) => Math.floor(n / he));
2804
- _l.range;
2804
+ Ll.range;
2805
2805
  function ke(n) {
2806
2806
  return B((e) => {
2807
2807
  e.setDate(e.getDate() - (e.getDay() + 7 - n) % 7), e.setHours(0, 0, 0, 0);
@@ -2824,8 +2824,8 @@ function Pe(n) {
2824
2824
  e.setUTCDate(e.getUTCDate() + t * 7);
2825
2825
  }, (e, t) => (t - e) / Ts);
2826
2826
  }
2827
- const _i = Pe(0), Kt = Pe(1), Bl = Pe(2), Zl = Pe(3), ze = Pe(4), Ul = Pe(5), $l = Pe(6);
2828
- _i.range;
2827
+ const Li = Pe(0), Kt = Pe(1), Bl = Pe(2), Zl = Pe(3), ze = Pe(4), Ul = Pe(5), $l = Pe(6);
2828
+ Li.range;
2829
2829
  Kt.range;
2830
2830
  Bl.range;
2831
2831
  Zl.range;
@@ -2921,7 +2921,7 @@ function et(n, e, t) {
2921
2921
  return { y: n, m: e, d: t, H: 0, M: 0, S: 0, L: 0 };
2922
2922
  }
2923
2923
  function zl(n) {
2924
- var e = n.dateTime, t = n.date, s = n.time, r = n.periods, i = n.days, a = n.shortDays, o = n.months, c = n.shortMonths, l = tt(r), u = nt(r), d = tt(i), m = nt(i), v = tt(a), S = nt(a), w = tt(o), x = nt(o), R = tt(c), L = nt(c), M = {
2924
+ var e = n.dateTime, t = n.date, s = n.time, r = n.periods, i = n.days, a = n.shortDays, o = n.months, c = n.shortMonths, l = tt(r), u = nt(r), d = tt(i), m = nt(i), v = tt(a), S = nt(a), w = tt(o), x = nt(o), R = tt(c), _ = nt(c), M = {
2925
2925
  a: Me,
2926
2926
  A: Oe,
2927
2927
  b: te,
@@ -2962,14 +2962,14 @@ function zl(n) {
2962
2962
  c: null,
2963
2963
  d: tr,
2964
2964
  e: tr,
2965
- f: Lc,
2965
+ f: _c,
2966
2966
  g: qc,
2967
2967
  G: Hc,
2968
2968
  H: Mc,
2969
2969
  I: Oc,
2970
2970
  j: Dc,
2971
2971
  L: Ni,
2972
- m: _c,
2972
+ m: Lc,
2973
2973
  M: Yc,
2974
2974
  p: ia,
2975
2975
  q: aa,
@@ -3024,27 +3024,27 @@ function zl(n) {
3024
3024
  M.x = E(t, M), M.X = E(s, M), M.c = E(e, M), Y.x = E(t, Y), Y.X = E(s, Y), Y.c = E(e, Y);
3025
3025
  function E(b, k) {
3026
3026
  return function(O) {
3027
- var g = [], H = -1, _ = 0, z = b.length, W, be, Rs;
3027
+ var g = [], H = -1, L = 0, z = b.length, W, be, Rs;
3028
3028
  for (O instanceof Date || (O = /* @__PURE__ */ new Date(+O)); ++H < z; )
3029
- b.charCodeAt(H) === 37 && (g.push(b.slice(_, H)), (be = Xs[W = b.charAt(++H)]) != null ? W = b.charAt(++H) : be = W === "e" ? " " : "0", (Rs = k[W]) && (W = Rs(O, be)), g.push(W), _ = H + 1);
3030
- return g.push(b.slice(_, H)), g.join("");
3029
+ b.charCodeAt(H) === 37 && (g.push(b.slice(L, H)), (be = Xs[W = b.charAt(++H)]) != null ? W = b.charAt(++H) : be = W === "e" ? " " : "0", (Rs = k[W]) && (W = Rs(O, be)), g.push(W), L = H + 1);
3030
+ return g.push(b.slice(L, H)), g.join("");
3031
3031
  };
3032
3032
  }
3033
3033
  function I(b, k) {
3034
3034
  return function(O) {
3035
- var g = et(1900, void 0, 1), H = pe(g, b, O += "", 0), _, z;
3035
+ var g = et(1900, void 0, 1), H = pe(g, b, O += "", 0), L, z;
3036
3036
  if (H != O.length) return null;
3037
3037
  if ("Q" in g) return new Date(g.Q);
3038
3038
  if ("s" in g) return new Date(g.s * 1e3 + ("L" in g ? g.L : 0));
3039
3039
  if (k && !("Z" in g) && (g.Z = 0), "p" in g && (g.H = g.H % 12 + g.p * 12), g.m === void 0 && (g.m = "q" in g ? g.q : 0), "V" in g) {
3040
3040
  if (g.V < 1 || g.V > 53) return null;
3041
- "w" in g || (g.w = 1), "Z" in g ? (_ = En(et(g.y, 0, 1)), z = _.getUTCDay(), _ = z > 4 || z === 0 ? Kt.ceil(_) : Kt(_), _ = ks.offset(_, (g.V - 1) * 7), g.y = _.getUTCFullYear(), g.m = _.getUTCMonth(), g.d = _.getUTCDate() + (g.w + 6) % 7) : (_ = Tn(et(g.y, 0, 1)), z = _.getDay(), _ = z > 4 || z === 0 ? Gt.ceil(_) : Gt(_), _ = wt.offset(_, (g.V - 1) * 7), g.y = _.getFullYear(), g.m = _.getMonth(), g.d = _.getDate() + (g.w + 6) % 7);
3041
+ "w" in g || (g.w = 1), "Z" in g ? (L = En(et(g.y, 0, 1)), z = L.getUTCDay(), L = z > 4 || z === 0 ? Kt.ceil(L) : Kt(L), L = ks.offset(L, (g.V - 1) * 7), g.y = L.getUTCFullYear(), g.m = L.getUTCMonth(), g.d = L.getUTCDate() + (g.w + 6) % 7) : (L = Tn(et(g.y, 0, 1)), z = L.getDay(), L = z > 4 || z === 0 ? Gt.ceil(L) : Gt(L), L = wt.offset(L, (g.V - 1) * 7), g.y = L.getFullYear(), g.m = L.getMonth(), g.d = L.getDate() + (g.w + 6) % 7);
3042
3042
  } else ("W" in g || "U" in g) && ("w" in g || (g.w = "u" in g ? g.u % 7 : "W" in g ? 1 : 0), z = "Z" in g ? En(et(g.y, 0, 1)).getUTCDay() : Tn(et(g.y, 0, 1)).getDay(), g.m = 0, g.d = "W" in g ? (g.w + 6) % 7 + g.W * 7 - (z + 5) % 7 : g.w + g.U * 7 - (z + 6) % 7);
3043
3043
  return "Z" in g ? (g.H += g.Z / 100 | 0, g.M += g.Z % 100, En(g)) : Tn(g);
3044
3044
  };
3045
3045
  }
3046
3046
  function pe(b, k, O, g) {
3047
- for (var H = 0, _ = k.length, z = O.length, W, be; H < _; ) {
3047
+ for (var H = 0, L = k.length, z = O.length, W, be; H < L; ) {
3048
3048
  if (g >= z) return -1;
3049
3049
  if (W = k.charCodeAt(H++), W === 37) {
3050
3050
  if (W = k.charAt(H++), be = N[W in Xs ? k.charAt(H++) : W], !be || (g = be(b, O, g)) < 0) return -1;
@@ -3067,7 +3067,7 @@ function zl(n) {
3067
3067
  }
3068
3068
  function oe(b, k, O) {
3069
3069
  var g = R.exec(k.slice(O));
3070
- return g ? (b.m = L.get(g[0].toLowerCase()), O + g[0].length) : -1;
3070
+ return g ? (b.m = _.get(g[0].toLowerCase()), O + g[0].length) : -1;
3071
3071
  }
3072
3072
  function F(b, k, O) {
3073
3073
  var g = w.exec(k.slice(O));
@@ -3318,10 +3318,10 @@ function Dc(n, e) {
3318
3318
  function Ni(n, e) {
3319
3319
  return D(n.getUTCMilliseconds(), e, 3);
3320
3320
  }
3321
- function Lc(n, e) {
3321
+ function _c(n, e) {
3322
3322
  return Ni(n, e) + "000";
3323
3323
  }
3324
- function _c(n, e) {
3324
+ function Lc(n, e) {
3325
3325
  return D(n.getUTCMonth() + 1, e, 2);
3326
3326
  }
3327
3327
  function Yc(n, e) {
@@ -3335,7 +3335,7 @@ function Nc(n) {
3335
3335
  return e === 0 ? 7 : e;
3336
3336
  }
3337
3337
  function Ic(n, e) {
3338
- return D(_i.count(Te(n) - 1, n), e, 2);
3338
+ return D(Li.count(Te(n) - 1, n), e, 2);
3339
3339
  }
3340
3340
  function Ii(n) {
3341
3341
  var e = n.getUTCDay();
@@ -3396,9 +3396,9 @@ function Vc(n) {
3396
3396
  return n instanceof Date ? +n : +/* @__PURE__ */ new Date(+n);
3397
3397
  }
3398
3398
  function Zi(n, e, t, s, r, i, a, o, c, l) {
3399
- var u = Ri(), d = u.invert, m = u.domain, v = l(".%L"), S = l(":%S"), w = l("%I:%M"), x = l("%I %p"), R = l("%a %d"), L = l("%b %d"), M = l("%B"), Y = l("%Y");
3399
+ var u = Ri(), d = u.invert, m = u.domain, v = l(".%L"), S = l(":%S"), w = l("%I:%M"), x = l("%I %p"), R = l("%a %d"), _ = l("%b %d"), M = l("%B"), Y = l("%Y");
3400
3400
  function N(E) {
3401
- return (c(E) < E ? v : o(E) < E ? S : a(E) < E ? w : i(E) < E ? x : s(E) < E ? r(E) < E ? R : L : t(E) < E ? M : Y)(E);
3401
+ return (c(E) < E ? v : o(E) < E ? S : a(E) < E ? w : i(E) < E ? x : s(E) < E ? r(E) < E ? R : _ : t(E) < E ? M : Y)(E);
3402
3402
  }
3403
3403
  return u.invert = function(E) {
3404
3404
  return new Date(d(E));
@@ -3608,7 +3608,7 @@ class Jc {
3608
3608
  currTicks;
3609
3609
  d3Scale;
3610
3610
  constructor(e) {
3611
- this.props = e, this.prevDomain = C.construct(0, 0), this.prevScaleSize = 0, this.currTicks = [], this.d3Scale = Li();
3611
+ this.props = e, this.prevDomain = C.construct(0, 0), this.prevScaleSize = 0, this.currTicks = [], this.d3Scale = _i();
3612
3612
  }
3613
3613
  create({ decimalToDataScale: e, size: t }) {
3614
3614
  const s = { lower: e.pos(0), upper: e.pos(1) };
@@ -3905,8 +3905,8 @@ void main(void) {
3905
3905
  gl_Position = vec4((u_scale_aggregate * vec2(a_x, float(a_y)) + u_offset_aggregate) + a_translate, 0.0, 1.0);
3906
3906
  }
3907
3907
  `, vu = h.object({
3908
- x: Lt,
3909
- y: Lt,
3908
+ x: _t,
3909
+ y: _t,
3910
3910
  label: h.string().optional(),
3911
3911
  color: y.colorZ,
3912
3912
  strokeWidth: h.number().default(1),
@@ -4039,8 +4039,8 @@ class Hn extends q {
4039
4039
  i = this.internal.xDownsampler.transform(i);
4040
4040
  let [a, o] = [-1, -1];
4041
4041
  i.series.find((x, R) => {
4042
- const L = x.binarySearch(t), M = L >= 0 && L < x.length;
4043
- return M && ([a, o] = [L, R]), M;
4042
+ const _ = x.binarySearch(t), M = _ >= 0 && _ < x.length;
4043
+ return M && ([a, o] = [_, R]), M;
4044
4044
  });
4045
4045
  const { key: c } = this, { color: l, label: u } = this.state, d = {
4046
4046
  key: c,
@@ -4087,8 +4087,8 @@ class Hn extends q {
4087
4087
  }));
4088
4088
  const S = m.setAsActive(), w = m.bindState(this.state), x = m.renderCtx.scaleRegion(e.region).transform;
4089
4089
  v.forEach((R) => {
4090
- const L = Pu(c, R).transform;
4091
- m.bindScale(L, x), m.draw(R, w, u.dataType, d.dataType);
4090
+ const _ = Pu(c, R).transform;
4091
+ m.bindScale(_, x), m.draw(R, w, u.dataType, d.dataType);
4092
4092
  }), S();
4093
4093
  }
4094
4094
  }
@@ -4364,16 +4364,16 @@ class Qt extends q {
4364
4364
  a.closePath(), a.stroke();
4365
4365
  }
4366
4366
  }
4367
- const Lu = {
4367
+ const _u = {
4368
4368
  [Qt.TYPE]: Qt
4369
4369
  }, qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4370
4370
  __proto__: null,
4371
- REGISTRY: Lu,
4371
+ REGISTRY: _u,
4372
4372
  Rule: Qt,
4373
4373
  ruleStateZ: ji
4374
4374
  }, Symbol.toStringTag, { value: "Module" })), Fh = gn.extend({
4375
4375
  location: se.x.optional().default("left")
4376
- }), ur = 2, _u = (n) => p.signedWidth(n) < ur || p.signedHeight(n) < ur;
4376
+ }), ur = 2, Lu = (n) => p.signedWidth(n) < ur || p.signedHeight(n) < ur;
4377
4377
  class jn extends Hi {
4378
4378
  static TYPE = "YAxis";
4379
4379
  schema = gn;
@@ -4397,7 +4397,7 @@ class jn extends Hi {
4397
4397
  if (this.renderAxis(e, r), this.renderLines(e, t), this.renderRules(e, r), s != null) throw s;
4398
4398
  }
4399
4399
  renderLines({ xDataToDecimalScale: e, plot: t, canvases: s, exposure: r }, i) {
4400
- if (!s.includes("gl") || _u(t)) return;
4400
+ if (!s.includes("gl") || Lu(t)) return;
4401
4401
  const a = {
4402
4402
  region: t,
4403
4403
  dataToDecimalScale: new Q.XY(e, i),
@@ -5158,12 +5158,12 @@ class en extends q {
5158
5158
  width: v * 7 + 48,
5159
5159
  position: this.state.position,
5160
5160
  draw: (w, x) => {
5161
- let R = "", L = "", M = this.state.textColor;
5161
+ let R = "", _ = "", M = this.state.textColor;
5162
5162
  if (w === 0)
5163
- R = "Time", L = l.fString("preciseDate", "local");
5163
+ R = "Time", _ = l.fString("preciseDate", "local");
5164
5164
  else {
5165
5165
  const Y = a[w - 1];
5166
- R = Y.label ?? "", L = es.roundBySpan(Y.value.y, Y.bounds).toString(), M = Y.color;
5166
+ R = Y.label ?? "", _ = es.roundBySpan(Y.value.y, Y.bounds).toString(), M = Y.color;
5167
5167
  }
5168
5168
  o.text({
5169
5169
  position: p.topLeft(x),
@@ -5173,7 +5173,7 @@ class en extends q {
5173
5173
  color: M
5174
5174
  }), o.text({
5175
5175
  position: f.translateY(p.topRight(x), -1),
5176
- text: L,
5176
+ text: _,
5177
5177
  level: "small",
5178
5178
  justify: "right",
5179
5179
  code: !0,
@@ -5196,7 +5196,7 @@ const ch = {
5196
5196
  scrolling: h.boolean(),
5197
5197
  empty: h.boolean(),
5198
5198
  visible: h.boolean(),
5199
- telem: Lt.optional().default(Ar),
5199
+ telem: _t.optional().default(Ar),
5200
5200
  font: Dr.optional().default("p"),
5201
5201
  color: y.colorZ.optional().default(y.ZERO),
5202
5202
  overshoot: f.xy.optional().default({ x: 0, y: 0 })
@@ -5361,10 +5361,10 @@ class nn extends q {
5361
5361
  const [w, x] = [e.findByXValue(a.x), e.findByXValue(o.x)];
5362
5362
  return w.length === 0 || x.length === 0 ? null : [
5363
5363
  w.sort(
5364
- (R, L) => f.distance(a, R.value) - f.distance(a, L.value)
5364
+ (R, _) => f.distance(a, R.value) - f.distance(a, _.value)
5365
5365
  )[0],
5366
5366
  x.sort(
5367
- (R, L) => f.distance(o, R.value) - f.distance(o, L.value)
5367
+ (R, _) => f.distance(o, R.value) - f.distance(o, _.value)
5368
5368
  )[0]
5369
5369
  ];
5370
5370
  }
@@ -5465,8 +5465,8 @@ const fh = {
5465
5465
  trigger: h.number(),
5466
5466
  command: h.number().optional(),
5467
5467
  value: h.number(),
5468
- sink: Ur.optional().default(Lr),
5469
- source: Zr.optional().default(_r)
5468
+ sink: Ur.optional().default(_r),
5469
+ source: Zr.optional().default(Lr)
5470
5470
  });
5471
5471
  class wr extends q {
5472
5472
  static TYPE = "Setpoint";
@@ -5575,10 +5575,10 @@ class ft extends q {
5575
5575
  m.font = i;
5576
5576
  const S = this.fontHeight, w = v[0] == "-";
5577
5577
  w && (v = v.slice(1));
5578
- const { theme: x } = this.internal, R = m.textDimensions(v, Cn), L = R.width + x.sizes.base, M = R.height;
5579
- a == null && t.erase(p.construct(this.prevState.box)), this.maybeUpdateWidth(L);
5578
+ const { theme: x } = this.internal, R = m.textDimensions(v, Cn), _ = R.width + x.sizes.base, M = R.height;
5579
+ a == null && t.erase(p.construct(this.prevState.box)), this.maybeUpdateWidth(_);
5580
5580
  const Y = { ...f.ZERO };
5581
- o.x === "left" ? Y.x = 6 + S * 0.75 : o.x === "center" && (Y.x = u / 2 - L / 2), o.y === "center" && (Y.y = d / 2 + M / 2);
5581
+ o.x === "left" ? Y.x = 6 + S * 0.75 : o.x === "center" && (Y.x = u / 2 - _ / 2), o.y === "center" && (Y.y = d / 2 + M / 2);
5582
5582
  const N = f.translate(l, Y);
5583
5583
  if (this.state.backgroundTelem.type != cn.type) {
5584
5584
  const I = r.value();
@@ -5745,9 +5745,9 @@ const wh = (n, e) => Object.fromEntries(
5745
5745
  if (w != null)
5746
5746
  for (const { onChange: x, schema: R } of w)
5747
5747
  await t(async () => {
5748
- let L;
5749
- S.dataType.equals($.JSON) ? L = S.parseJSON(R) : L = Array.from(S).map((M) => R.parse(M));
5750
- for (const M of L)
5748
+ let _;
5749
+ S.dataType.equals($.JSON) ? _ = S.parseJSON(R) : _ = Array.from(S).map((M) => R.parse(M));
5750
+ for (const M of _)
5751
5751
  await t(
5752
5752
  () => x({ changed: M, client: s, store: r }),
5753
5753
  `Failed to handle streamer change for ${v}`,
@@ -5886,13 +5886,13 @@ class Kn extends q {
5886
5886
  backgroundColor: y.setAlpha(S, 0.2),
5887
5887
  bordered: !1
5888
5888
  });
5889
- const L = p.construct(
5889
+ const _ = p.construct(
5890
5890
  { x: w + 1, y: p.top(s) - 34 },
5891
5891
  { x: x - 1, y: p.top(s) - 12 }
5892
5892
  );
5893
5893
  a.container({
5894
- region: L,
5895
- backgroundColor: p.width(L) < 20 ? y.setAlpha(S, 0.4) : (M) => R ? M.colors.gray.l2 : M.colors.gray.l0,
5894
+ region: _,
5895
+ backgroundColor: p.width(_) < 20 ? y.setAlpha(S, 0.4) : (M) => R ? M.colors.gray.l2 : M.colors.gray.l0,
5896
5896
  bordered: !0,
5897
5897
  borderWidth: 1,
5898
5898
  borderRadius: 2,
@@ -5983,7 +5983,7 @@ const Mh = h.object({
5983
5983
  }), Oh = (n, e) => {
5984
5984
  const t = p.width(n) * Math.sqrt(p.height(n)), s = p.width(e) * Math.sqrt(p.height(e));
5985
5985
  return t / s;
5986
- }, Dh = ["upper2d", "lower2d", "gl"], Lh = ["upper2d"];
5986
+ }, Dh = ["upper2d", "lower2d", "gl"], _h = ["upper2d"];
5987
5987
  class Tr extends ae {
5988
5988
  static TYPE = "LinePlot";
5989
5989
  schema = Mh;
@@ -6101,7 +6101,7 @@ class Tr extends ae {
6101
6101
  requestRender(e, t) {
6102
6102
  const { renderCtx: s } = this.internal;
6103
6103
  let r = Dh;
6104
- t === "tool" && (r = Lh), s.loop.set({
6104
+ t === "tool" && (r = _h), s.loop.set({
6105
6105
  key: `${this.type}-${this.key}`,
6106
6106
  render: () => this.render(r),
6107
6107
  priority: e,
@@ -6197,7 +6197,7 @@ export {
6197
6197
  $u as al,
6198
6198
  zi as am,
6199
6199
  Xn as an,
6200
- Le as ao,
6200
+ _e as ao,
6201
6201
  mu as ap,
6202
6202
  cu as aq,
6203
6203
  gn as ar,
@@ -6243,7 +6243,7 @@ export {
6243
6243
  Po as g,
6244
6244
  ro as h,
6245
6245
  id as i,
6246
- Lu as j,
6246
+ _u as j,
6247
6247
  cd as k,
6248
6248
  fh as l,
6249
6249
  hd as m,