@synnaxlabs/pluto 0.33.2 → 0.34.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 (215) hide show
  1. package/dist/{Animated-C7iWxEah.cjs → Animated-Ck87AGOu.cjs} +1 -1
  2. package/dist/{Animated-VpxahF8t.js → Animated-CnvOerW9.js} +2 -2
  3. package/dist/{Item-Dpra-3n6.js → Item--wCat2DH.js} +5 -5
  4. package/dist/{Item-C1_OE8IF.cjs → Item-DuNQFmgk.cjs} +1 -1
  5. package/dist/{Keyboard-BBOcinRN.cjs → Keyboard-DPs95Etp.cjs} +1 -1
  6. package/dist/{Keyboard-CpJQuX-J.js → Keyboard-Dh_Fhwg4.js} +2 -2
  7. package/dist/LinePlot-44K5K51b.cjs +34 -0
  8. package/dist/{LinePlot-DHy70Cb7.js → LinePlot-DN8KOMtR.js} +814 -801
  9. package/dist/Link-BHtl4aby.cjs +1 -0
  10. package/dist/{Link-Ctlz9WUQ.js → Link-CDG2-g6A.js} +2 -2
  11. package/dist/{List-DF0kzXpr.js → List-BjimX8fM.js} +5 -5
  12. package/dist/List-C8vXIE2j.cjs +1 -0
  13. package/dist/{Pack-BAJwD-n2.js → Pack-D6eMgf33.js} +9 -9
  14. package/dist/{Pack-DBtBeGnj.cjs → Pack-DijAGcm_.cjs} +1 -1
  15. package/dist/{Text-GGA7QNwA.cjs → Text-Cg0q7seY.cjs} +1 -1
  16. package/dist/{Text-D5o4o3OI.js → Text-CzgVM_22.js} +5 -5
  17. package/dist/Toggle-CP9KtybX.cjs +143 -0
  18. package/dist/{Toggle-CTjPdq8o.js → Toggle-Cdu7WaiC.js} +7038 -7049
  19. package/dist/{Video-B3geSdOZ.cjs → Video-BgDjKMJx.cjs} +1 -1
  20. package/dist/{Video-CXccd2Jl.js → Video-DYSz9XOF.js} +1 -1
  21. package/dist/aggregator-C0Ab25_o.cjs +67 -0
  22. package/dist/{aggregator-QFq5XDjf.js → aggregator-DzdAnRwI.js} +546 -552
  23. package/dist/align.cjs +1 -1
  24. package/dist/align.js +1 -1
  25. package/dist/button.cjs +1 -1
  26. package/dist/button.js +1 -1
  27. package/dist/color.cjs +1 -1
  28. package/dist/color.js +1 -1
  29. package/dist/{css-DqBChhqm.js → css-B4FcyECk.js} +25 -20
  30. package/dist/css-Dh7n0EGs.cjs +1 -0
  31. package/dist/css.cjs +1 -1
  32. package/dist/css.js +2 -2
  33. package/dist/dropdown.cjs +1 -1
  34. package/dist/dropdown.js +1 -1
  35. package/dist/ether.cjs +1 -1
  36. package/dist/ether.js +5 -5
  37. package/dist/{external-CfOulkkd.js → external-B72rRj4o.js} +5 -5
  38. package/dist/{external-DT1bMgJw.js → external-BOIjtEGO.js} +2 -2
  39. package/dist/{external-mRJloDDi.js → external-B_-ZrYaG.js} +112 -102
  40. package/dist/{external-CUwDGrme.cjs → external-BbS4QDTb.cjs} +1 -1
  41. package/dist/{external-BPnNv3RZ.cjs → external-CAIE4G3V.cjs} +1 -1
  42. package/dist/{external-ClRKAhnQ.cjs → external-CYsmC4uZ.cjs} +1 -1
  43. package/dist/{external-BZpriFW_.cjs → external-Cc9o20Al.cjs} +1 -1
  44. package/dist/{external-aTGyndBd.cjs → external-CjmMj11F.cjs} +1 -1
  45. package/dist/{external-Bm3VKQxs.js → external-CoQwrjWl.js} +15 -15
  46. package/dist/{external-CK8msIo3.js → external-CsqyDUsJ.js} +4 -4
  47. package/dist/{external-CKp_fJJC.js → external-D9Q5Xjko.js} +2 -2
  48. package/dist/{external-C2YHV6Dz.cjs → external-DRHWURjA.cjs} +1 -1
  49. package/dist/external-DVlGiTKE.cjs +1 -0
  50. package/dist/{external-X9NMQ2Zh.cjs → external-Dm2-owlq.cjs} +1 -1
  51. package/dist/{external-CKuO-iHz.cjs → external-DsKRFJxV.cjs} +1 -1
  52. package/dist/{external-Ct326ec4.js → external-DvRQ7lJU.js} +2 -2
  53. package/dist/{external-DyAGPLil.js → external-FVIwMFDr.js} +5 -5
  54. package/dist/{external-CI2s6wrc.js → external-Yf8Lv9AU.js} +69 -82
  55. package/dist/{external-Bksh4jhY.cjs → external-eI1p10Vf.cjs} +1 -1
  56. package/dist/{external-Dhg4bEfF.cjs → external-gz4sf3pG.cjs} +1 -1
  57. package/dist/{external-BNMsCMKL.js → external-k3Jbrj0m.js} +5 -5
  58. package/dist/{external-DmLFwKtu.js → external-lgZ2Gmbx.js} +4 -4
  59. package/dist/{external-EHlrAzYc.js → external-mE-a2ecU.js} +1 -1
  60. package/dist/{external-DYc6fMZC.cjs → external-mtlL4Z3a.cjs} +1 -1
  61. package/dist/header.cjs +1 -1
  62. package/dist/header.js +1 -1
  63. package/dist/index.cjs +11 -5
  64. package/dist/index.js +10618 -8629
  65. package/dist/input.cjs +1 -1
  66. package/dist/input.js +1 -1
  67. package/dist/list.cjs +1 -1
  68. package/dist/list.js +1 -1
  69. package/dist/menu.cjs +1 -1
  70. package/dist/menu.js +1 -1
  71. package/dist/src/aether/aether/aether.d.ts.map +1 -1
  72. package/dist/src/aether/main.d.ts.map +1 -1
  73. package/dist/src/align/Space.d.ts.map +1 -1
  74. package/dist/src/button/Button.d.ts.map +1 -1
  75. package/dist/src/caret/Animated.d.ts.map +1 -1
  76. package/dist/src/channel/AliasProvider.d.ts.map +1 -1
  77. package/dist/src/channel/LinePlot.d.ts.map +1 -1
  78. package/dist/src/color/core/color.d.ts.map +1 -1
  79. package/dist/src/divider/Divider.d.ts.map +1 -1
  80. package/dist/src/dropdown/Dropdown.d.ts.map +1 -1
  81. package/dist/src/form/Field.d.ts.map +1 -1
  82. package/dist/src/form/Form.d.ts.map +1 -1
  83. package/dist/src/form/synced.d.ts.map +1 -1
  84. package/dist/src/hardware/device/Select.d.ts.map +1 -1
  85. package/dist/src/haul/Haul.d.ts.map +1 -1
  86. package/dist/src/hooks/useClickOutside.d.ts.map +1 -1
  87. package/dist/src/hooks/useRequiredContext.d.ts.map +1 -1
  88. package/dist/src/icon/Icon.d.ts.map +1 -1
  89. package/dist/src/input/Item.d.ts.map +1 -1
  90. package/dist/src/input/Label.d.ts.map +1 -1
  91. package/dist/src/input/Numeric.d.ts.map +1 -1
  92. package/dist/src/input/Text.d.ts.map +1 -1
  93. package/dist/src/input/types.d.ts.map +1 -1
  94. package/dist/src/label/Select.d.ts.map +1 -1
  95. package/dist/src/list/Item.d.ts.map +1 -1
  96. package/dist/src/memo/useMemoCompare.d.ts.map +1 -1
  97. package/dist/src/menu/ContextMenu.d.ts.map +1 -1
  98. package/dist/src/menu/Item.d.ts.map +1 -1
  99. package/dist/src/modal/Modal.d.ts.map +1 -1
  100. package/dist/src/mosaic/Mosaic.d.ts.map +1 -1
  101. package/dist/src/notation/SelectNotation.d.ts +12 -0
  102. package/dist/src/notation/SelectNotation.d.ts.map +1 -0
  103. package/dist/src/notation/notation.d.ts +33 -0
  104. package/dist/src/notation/notation.d.ts.map +1 -0
  105. package/dist/src/notation/notation.spec.d.ts +2 -0
  106. package/dist/src/notation/notation.spec.d.ts.map +1 -0
  107. package/dist/src/note/Note.d.ts.map +1 -1
  108. package/dist/src/observe/use.d.ts.map +1 -1
  109. package/dist/src/pluto/Pluto.d.ts.map +1 -1
  110. package/dist/src/progress/Progress.d.ts.map +1 -1
  111. package/dist/src/ranger/Select.d.ts.map +1 -1
  112. package/dist/src/select/Alignment.d.ts.map +1 -1
  113. package/dist/src/select/List.d.ts.map +1 -1
  114. package/dist/src/select/Multiple.d.ts.map +1 -1
  115. package/dist/src/select/Single.d.ts.map +1 -1
  116. package/dist/src/status/Circle.d.ts.map +1 -1
  117. package/dist/src/status/Notification.d.ts.map +1 -1
  118. package/dist/src/synnax/Provider.d.ts.map +1 -1
  119. package/dist/src/synnax/aether/provider.d.ts.map +1 -1
  120. package/dist/src/tabs/Selector.d.ts.map +1 -1
  121. package/dist/src/tabs/Tabs.d.ts.map +1 -1
  122. package/dist/src/tabs/types.d.ts.map +1 -1
  123. package/dist/src/tag/Tag.d.ts.map +1 -1
  124. package/dist/src/telem/Pipeline.d.ts.map +1 -1
  125. package/dist/src/telem/aether/noop.d.ts.map +1 -1
  126. package/dist/src/telem/aether/pipeline.d.ts.map +1 -1
  127. package/dist/src/telem/aether/telem.d.ts.map +1 -1
  128. package/dist/src/telem/aether/transformers.d.ts +9 -0
  129. package/dist/src/telem/aether/transformers.d.ts.map +1 -1
  130. package/dist/src/telem/client/cache/cache.d.ts.map +1 -1
  131. package/dist/src/telem/client/cache/dynamic.d.ts.map +1 -1
  132. package/dist/src/telem/client/reader.d.ts.map +1 -1
  133. package/dist/src/telem/control/Controller.d.ts.map +1 -1
  134. package/dist/src/telem/control/Legend.d.ts.map +1 -1
  135. package/dist/src/telem/control/aether/chip.d.ts.map +1 -1
  136. package/dist/src/telem/control/aether/controller.d.ts.map +1 -1
  137. package/dist/src/telem/control/aether/state.d.ts.map +1 -1
  138. package/dist/src/text/DateTime.d.ts.map +1 -1
  139. package/dist/src/text/Editable.d.ts.map +1 -1
  140. package/dist/src/text/SelectLevel.d.ts.map +1 -1
  141. package/dist/src/text/dimensions.d.ts.map +1 -1
  142. package/dist/src/tooltip/Dialog.d.ts.map +1 -1
  143. package/dist/src/tree/Tree.d.ts.map +1 -1
  144. package/dist/src/tree/core.d.ts +3 -1
  145. package/dist/src/tree/core.d.ts.map +1 -1
  146. package/dist/src/triggers/Provider.d.ts.map +1 -1
  147. package/dist/src/triggers/hooks.d.ts.map +1 -1
  148. package/dist/src/util/zod.d.ts.map +1 -1
  149. package/dist/src/vis/button/aether/button.d.ts.map +1 -1
  150. package/dist/src/vis/canvas/Canvas.d.ts.map +1 -1
  151. package/dist/src/vis/canvas/aether/canvas.d.ts.map +1 -1
  152. package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
  153. package/dist/src/vis/diagram/aether/types.d.ts +23 -14
  154. package/dist/src/vis/diagram/aether/types.d.ts.map +1 -1
  155. package/dist/src/vis/diagram/edge/Edge.d.ts +1 -1
  156. package/dist/src/vis/diagram/edge/Edge.d.ts.map +1 -1
  157. package/dist/src/vis/diagram/edge/connector/connector.d.ts.map +1 -1
  158. package/dist/src/vis/diagram/util.d.ts +1 -1
  159. package/dist/src/vis/diagram/util.d.ts.map +1 -1
  160. package/dist/src/vis/draw2d/canvas.d.ts.map +1 -1
  161. package/dist/src/vis/draw2d/index.d.ts.map +1 -1
  162. package/dist/src/vis/legend/Container.d.ts.map +1 -1
  163. package/dist/src/vis/legend/Simple.d.ts.map +1 -1
  164. package/dist/src/vis/line/aether/line.d.ts.map +1 -1
  165. package/dist/src/vis/lineplot/LinePlot.d.ts.map +1 -1
  166. package/dist/src/vis/lineplot/aether/YAxis.d.ts.map +1 -1
  167. package/dist/src/vis/lineplot/aether/axis.d.ts.map +1 -1
  168. package/dist/src/vis/lineplot/range/Annotation.d.ts.map +1 -1
  169. package/dist/src/vis/lineplot/range/Provider.d.ts.map +1 -1
  170. package/dist/src/vis/lineplot/range/aether/external.d.ts.map +1 -1
  171. package/dist/src/vis/lineplot/range/aether/provider.d.ts.map +1 -1
  172. package/dist/src/vis/log/Log.d.ts.map +1 -1
  173. package/dist/src/vis/log/aether/Log.d.ts.map +1 -1
  174. package/dist/src/vis/measure/Measure.d.ts.map +1 -1
  175. package/dist/src/vis/render/loop.d.ts.map +1 -1
  176. package/dist/src/vis/render/performance.d.ts.map +1 -1
  177. package/dist/src/vis/render/util.d.ts.map +1 -1
  178. package/dist/src/vis/schematic/Forms.d.ts +1 -0
  179. package/dist/src/vis/schematic/Forms.d.ts.map +1 -1
  180. package/dist/src/vis/schematic/Labeled.d.ts.map +1 -1
  181. package/dist/src/vis/schematic/SelectOrientation.d.ts.map +1 -1
  182. package/dist/src/vis/schematic/Symbols.d.ts +45 -0
  183. package/dist/src/vis/schematic/Symbols.d.ts.map +1 -1
  184. package/dist/src/vis/schematic/primitives/Primitives.d.ts +35 -0
  185. package/dist/src/vis/schematic/primitives/Primitives.d.ts.map +1 -1
  186. package/dist/src/vis/schematic/registry.d.ts +1 -1
  187. package/dist/src/vis/schematic/registry.d.ts.map +1 -1
  188. package/dist/src/vis/value/aether/value.d.ts +9 -0
  189. package/dist/src/vis/value/aether/value.d.ts.map +1 -1
  190. package/dist/src/vis/value/use.d.ts +4 -1
  191. package/dist/src/vis/value/use.d.ts.map +1 -1
  192. package/dist/src/worker/Context.d.ts.map +1 -1
  193. package/dist/style.css +1 -1
  194. package/dist/tabs.cjs +1 -1
  195. package/dist/tabs.js +1 -1
  196. package/dist/text.cjs +1 -1
  197. package/dist/text.js +2 -2
  198. package/dist/theming.cjs +1 -1
  199. package/dist/theming.js +2 -2
  200. package/dist/tree.cjs +1 -1
  201. package/dist/tree.js +1 -1
  202. package/dist/triggers.cjs +1 -1
  203. package/dist/triggers.js +1 -1
  204. package/dist/{units-6W_8ukD-.cjs → units-CR-P9eLW.cjs} +1 -1
  205. package/dist/{units-BHSMvrYX.js → units-rb5QAWjs.js} +1 -1
  206. package/dist/video.cjs +1 -1
  207. package/dist/video.js +1 -1
  208. package/package.json +18 -18
  209. package/dist/LinePlot-Bwz2fEc0.cjs +0 -34
  210. package/dist/Link-Cxj-3A6p.cjs +0 -1
  211. package/dist/List-CcTL6wlO.cjs +0 -1
  212. package/dist/Toggle-Dim0E2D2.cjs +0 -143
  213. package/dist/aggregator-D6Mmsfj4.cjs +0 -67
  214. package/dist/css-CvXvQo39.cjs +0 -1
  215. package/dist/external-e143l3cy.cjs +0 -1
@@ -1,11 +1,11 @@
1
- var ii = Object.defineProperty;
2
- var oi = (n, e, t) => e in n ? ii(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var c = (n, e, t) => oi(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { Z as li, q as He, v as wt, _ as ps, o as F, B as ft, E as ut, y as $, x as ci, z as nt, D as ui, G as Pr, V as gs, H as hi, I as it, J as Rr, K as Mr, M as pt, N as $s, O as ms, Q as di, F as We, T as Gn, U as Or, W as fi, i as Xe, u as xt, c as re, X as pi, Y as Z, A as gi, $ as Dr, a0 as mi, a1 as ys, n as yi, a2 as Yr, a3 as ws, a4 as xs, a5 as Ar, w as wi, a6 as bs, k as Lr, a7 as Bn, a8 as xi } from "./aggregator-QFq5XDjf.js";
1
+ var li = Object.defineProperty;
2
+ var ci = (n, e, t) => e in n ? li(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var c = (n, e, t) => ci(n, typeof e != "symbol" ? e + "" : e, t);
4
+ import { Z as ui, q as He, v as wt, _ as ps, o as F, B as ft, E as ut, y as $, x as hi, z as nt, D as di, G as Rr, V as gs, H as fi, I as it, J as Mr, K as Or, M as pt, N as $s, O as ms, Q as pi, F as We, T as Gn, U as Dr, W as gi, i as Xe, u as xt, c as re, X as mi, Y as Z, A as yi, $ as Yr, a0 as wi, a1 as ys, n as xi, a2 as Ar, a3 as ws, a4 as xs, a5 as Lr, w as bi, a6 as bs, k as _r, a7 as In, a8 as vi } from "./aggregator-DzdAnRwI.js";
5
5
  import { z as d } from "zod";
6
- import { Z as V, G as R, W as bi, J as Tt, E as f, q as g, g as at, a as Y, _ as Ge, j as B, C as vi, l as _r } from "./css-DqBChhqm.js";
7
- var Ti = Object.defineProperty, Si = (n, e, t) => e in n ? Ti(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, ze = (n, e, t) => Si(n, typeof e != "symbol" ? e + "" : e, t);
8
- class Ei {
6
+ import { Z as V, G as R, W as Ti, J as Tt, E as f, q as g, g as at, a as Y, _ as Ge, l as I, C as Si, m as Nr } from "./css-B4FcyECk.js";
7
+ var Ei = Object.defineProperty, Ci = (n, e, t) => e in n ? Ei(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, ze = (n, e, t) => Ci(n, typeof e != "symbol" ? e + "" : e, t);
8
+ class ki {
9
9
  constructor(e, t) {
10
10
  ze(this, "handlers"), ze(this, "transform"), ze(this, "closer"), this.transform = e, this.handlers = t ?? /* @__PURE__ */ new Map();
11
11
  }
@@ -31,7 +31,7 @@ class Ei {
31
31
  return await ((e = this.closer) == null ? void 0 : e.call(this));
32
32
  }
33
33
  }
34
- class Ci {
34
+ class Pi {
35
35
  constructor(e) {
36
36
  ze(this, "handlers"), this.handlers = e ?? /* @__PURE__ */ new Map();
37
37
  }
@@ -44,12 +44,12 @@ class Ci {
44
44
  }
45
45
  const vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46
46
  __proto__: null,
47
- BaseObserver: Ci,
48
- Observer: Ei
49
- }, Symbol.toStringTag, { value: "Module" })), ki = d.object({
50
- props: li.nullable(),
47
+ BaseObserver: Pi,
48
+ Observer: ki
49
+ }, Symbol.toStringTag, { value: "Module" })), Ri = d.object({
50
+ props: ui.nullable(),
51
51
  state: He.connectivity.connectionStateZ.nullable()
52
- }), Nr = {
52
+ }), Ir = {
53
53
  synnax: null,
54
54
  state: He.connectivity.DEFAULT
55
55
  };
@@ -61,24 +61,24 @@ let Vn = (vt = class extends wt {
61
61
  }
62
62
  async afterUpdate() {
63
63
  var t;
64
- if (this.ctx.has(Ts) || In(this.ctx, Nr), this.state.props == null) {
65
- this.internal.synnax != null && (this.setState((s) => ({ ...s, state: He.connectivity.DEFAULT })), (t = this.internal.synnax) == null || t.close(), this.internal.synnax = null), In(this.ctx, this.internal);
64
+ if (this.ctx.has(Ts) || Bn(this.ctx, Ir), this.state.props == null) {
65
+ this.internal.synnax != null && (this.setState((s) => ({ ...s, state: He.connectivity.DEFAULT })), (t = this.internal.synnax) == null || t.close(), this.internal.synnax = null), Bn(this.ctx, this.internal);
66
66
  return;
67
67
  }
68
68
  this.prevState.props != null && ps.equal(this.state.props, this.prevState.props) && this.internal.synnax != null || (this.internal.synnax = new He(this.state.props), this.internal.synnax.connectivity.onChange(
69
69
  (s) => this.setState((r) => ({ ...r, state: s }))
70
- ), In(this.ctx, this.internal));
70
+ ), Bn(this.ctx, this.internal));
71
71
  }
72
- }, c(vt, "TYPE", "SynnaxProvider"), c(vt, "stateZ", ki), vt);
73
- const Ts = "pluto-client-context", In = (n, e) => n.set(Ts, e), Oe = (n) => n.get(Ts).synnax, Pi = {
72
+ }, c(vt, "TYPE", "SynnaxProvider"), c(vt, "stateZ", Ri), vt);
73
+ const Ts = "pluto-client-context", Bn = (n, e) => n.set(Ts, e), Oe = (n) => n.get(Ts).synnax, Mi = {
74
74
  [Vn.TYPE]: Vn
75
- }, Vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75
+ }, eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76
76
  __proto__: null,
77
77
  Provider: Vn,
78
- REGISTRY: Pi,
79
- ZERO_CONTEXT_VALUE: Nr,
78
+ REGISTRY: Mi,
79
+ ZERO_CONTEXT_VALUE: Ir,
80
80
  use: Oe
81
- }, Symbol.toStringTag, { value: "Module" })), Br = "pluto-telem-context", Rn = (n) => n.get(Br), Ir = (n, e) => n.set(Br, e), Ur = (n, e) => Rn(n).registerFactory(e);
81
+ }, Symbol.toStringTag, { value: "Module" })), Br = "pluto-telem-context", Rn = (n) => n.get(Br), Ur = (n, e) => n.set(Br, e), $r = (n, e) => Rn(n).registerFactory(e);
82
82
  class Zs {
83
83
  constructor(e, t, s) {
84
84
  c(this, "spec");
@@ -158,7 +158,7 @@ class Ke extends Et {
158
158
  }
159
159
  }
160
160
  c(Ke, "TYPE", "noop-numeric-sink");
161
- const $r = {
161
+ const Zr = {
162
162
  type: Ke.TYPE,
163
163
  props: {},
164
164
  variant: "sink",
@@ -182,7 +182,7 @@ class Je extends Et {
182
182
  }
183
183
  }
184
184
  c(Je, "TYPE", "noop-numeric-source");
185
- const Zr = {
185
+ const Fr = {
186
186
  type: Je.TYPE,
187
187
  props: {},
188
188
  variant: "source",
@@ -194,7 +194,7 @@ class tn extends Et {
194
194
  }
195
195
  }
196
196
  c(tn, "TYPE", "noop-string-source");
197
- const Fr = {
197
+ const zr = {
198
198
  type: tn.TYPE,
199
199
  props: {},
200
200
  variant: "source",
@@ -223,7 +223,7 @@ class nn extends Et {
223
223
  }
224
224
  }
225
225
  c(nn, "TYPE", "noop-color-source");
226
- const zr = {
226
+ const qr = {
227
227
  type: nn.TYPE,
228
228
  props: {},
229
229
  variant: "source",
@@ -235,12 +235,12 @@ class sn extends Et {
235
235
  }
236
236
  }
237
237
  c(sn, "TYPE", "noop-series");
238
- const qr = {
238
+ const jr = {
239
239
  type: sn.TYPE,
240
240
  props: {},
241
241
  variant: "source",
242
242
  valueType: "series"
243
- }, Ri = {
243
+ }, Oi = {
244
244
  [Ve.TYPE]: Ve,
245
245
  [Ke.TYPE]: Ke,
246
246
  [Qe.TYPE]: Qe,
@@ -250,32 +250,32 @@ const qr = {
250
250
  [tn.TYPE]: tn,
251
251
  [sn.TYPE]: sn
252
252
  };
253
- class jr {
253
+ class Hr {
254
254
  constructor() {
255
255
  c(this, "type", "noop");
256
256
  }
257
257
  create(e) {
258
- const t = Ri[e.type];
258
+ const t = Oi[e.type];
259
259
  return t == null ? null : new t();
260
260
  }
261
261
  }
262
- const Mi = d.instanceof(ArrayBuffer), Ye = d.object({
262
+ const Di = d.instanceof(ArrayBuffer), Ye = d.object({
263
263
  type: d.string(),
264
264
  variant: d.enum(["source", "sink", "source-transformer", "sink-transformer"]),
265
265
  valueType: d.string(),
266
266
  props: d.any(),
267
- transfer: d.array(Mi).optional()
268
- }), Ct = Ye.extend({ variant: d.literal("source") }), On = Ye.extend({ variant: d.literal("sink") }), Hr = Ye.extend({
267
+ transfer: d.array(Di).optional()
268
+ }), Ct = Ye.extend({ variant: d.literal("source") }), On = Ye.extend({ variant: d.literal("sink") }), Wr = Ye.extend({
269
269
  variant: d.literal("source-transformer")
270
- }), Wr = Ye.extend({
270
+ }), Xr = Ye.extend({
271
271
  variant: d.literal("sink-transformer")
272
272
  }), rn = Ct.extend({ valueType: d.literal("series") }), Cs = Ct.extend({
273
273
  valueType: d.literal("boolean")
274
- }), Dn = On.extend({ valueType: d.literal("boolean") }), Oi = Wr.extend({
274
+ }), Dn = On.extend({ valueType: d.literal("boolean") }), Yi = Xr.extend({
275
275
  valueType: d.literal("boolean")
276
- }), Di = Hr.extend({
276
+ }), Ai = Wr.extend({
277
277
  valueType: d.literal("boolean")
278
- }), Xr = Ct.extend({ valueType: d.literal("number") }), Gr = On.extend({ valueType: d.literal("number") }), Vr = Ct.extend({ valueType: d.literal("color") }), ks = Ct.extend({ valueType: d.literal("status") }), Kr = Ct.extend({ valueType: d.literal("string") });
278
+ }), Gr = Ct.extend({ valueType: d.literal("number") }), Vr = On.extend({ valueType: d.literal("number") }), Kr = Ct.extend({ valueType: d.literal("color") }), ks = Ct.extend({ valueType: d.literal("status") }), Qr = Ct.extend({ valueType: d.literal("string") });
279
279
  class Yn extends vs.BaseObserver {
280
280
  constructor(t) {
281
281
  super();
@@ -347,7 +347,7 @@ class Ae extends Q {
347
347
  );
348
348
  }
349
349
  }
350
- class Qr extends Q {
350
+ class Jr extends Q {
351
351
  constructor() {
352
352
  super(...arguments);
353
353
  c(this, "sources", {});
@@ -373,7 +373,7 @@ class Qr extends Q {
373
373
  );
374
374
  }
375
375
  }
376
- class Jr extends Yn {
376
+ class ta extends Yn {
377
377
  constructor() {
378
378
  super(...arguments);
379
379
  c(this, "sinks", {});
@@ -399,15 +399,15 @@ class Jr extends Yn {
399
399
  );
400
400
  }
401
401
  }
402
- const ta = d.object({
402
+ const ea = d.object({
403
403
  from: d.string(),
404
404
  to: d.string()
405
- }), ea = d.object({
406
- connections: d.array(ta),
405
+ }), na = d.object({
406
+ connections: d.array(ea),
407
407
  outlet: d.string(),
408
408
  segments: d.record(Ct)
409
409
  });
410
- class na {
410
+ class sa {
411
411
  constructor(e) {
412
412
  c(this, "type", "pipeline");
413
413
  c(this, "factory");
@@ -427,7 +427,7 @@ class na {
427
427
  class de extends Q {
428
428
  constructor(t, s) {
429
429
  super(t);
430
- c(this, "schema", ea);
430
+ c(this, "schema", na);
431
431
  c(this, "sources", {});
432
432
  const { connections: r, segments: a } = this.props;
433
433
  Object.entries(a).forEach(([i, o]) => {
@@ -462,20 +462,20 @@ class de extends Q {
462
462
  }
463
463
  }
464
464
  c(de, "TYPE", "source-pipeline");
465
- const Yi = (n, e) => ({
465
+ const Li = (n, e) => ({
466
466
  variant: "source",
467
467
  props: e,
468
468
  type: de.TYPE,
469
469
  valueType: n
470
- }), sa = d.object({
471
- connections: d.array(ta),
470
+ }), ra = d.object({
471
+ connections: d.array(ea),
472
472
  inlet: d.string(),
473
473
  segments: d.record(On)
474
474
  });
475
475
  class fe extends An {
476
476
  constructor(t, s) {
477
477
  super(t);
478
- c(this, "schema", sa);
478
+ c(this, "schema", ra);
479
479
  c(this, "sinks", {});
480
480
  const { connections: r, segments: a } = this.props;
481
481
  Object.entries(a).forEach(([i, o]) => {
@@ -507,12 +507,12 @@ class fe extends An {
507
507
  }
508
508
  }
509
509
  c(fe, "TYPE", "sink-pipeline");
510
- const Ai = (n, e) => ({
510
+ const _i = (n, e) => ({
511
511
  variant: "sink",
512
512
  props: e,
513
513
  type: fe.TYPE,
514
514
  valueType: n
515
- }), ra = d.object({
515
+ }), aa = d.object({
516
516
  channel: d.number().or(d.string())
517
517
  });
518
518
  class pe extends Q {
@@ -522,7 +522,7 @@ class pe extends Q {
522
522
  // Disconnects the current streaming handler.
523
523
  c(this, "removeStreamHandler", null);
524
524
  c(this, "channelKey", 0);
525
- c(this, "schema", ra);
525
+ c(this, "schema", aa);
526
526
  c(this, "leadingBuffer", null);
527
527
  c(this, "valid", !1);
528
528
  this.client = t;
@@ -540,7 +540,7 @@ class pe extends Q {
540
540
  await ((t = this.removeStreamHandler) == null ? void 0 : t.call(this)), this.valid = !1, (s = this.leadingBuffer) == null || s.release(), this.leadingBuffer = null, this.removeStreamHandler = null;
541
541
  }
542
542
  async value() {
543
- return ci(this.props.channel) || (this.channelKey === 0 && (this.channelKey = (await Ps(this.client, this.props.channel, !1)).key), this.valid || await this.read(), this.leadingBuffer == null || this.leadingBuffer.length === 0) ? 0 : this.leadingBuffer.at(-1, !0);
543
+ return hi(this.props.channel) || (this.channelKey === 0 && (this.channelKey = (await Ps(this.client, this.props.channel, !1)).key), this.valid || await this.read(), this.leadingBuffer == null || this.leadingBuffer.length === 0) ? 0 : this.leadingBuffer.at(-1, !0);
544
544
  }
545
545
  async read() {
546
546
  this.valid = !0, await this.updateStreamHandler();
@@ -564,7 +564,7 @@ c(pe, "TYPE", "stream-channel-value");
564
564
  const Ps = async (n, e, t) => {
565
565
  const s = await n.retrieveChannel(e);
566
566
  return !t || s.isIndex ? { key: s.key, dataType: s.dataType, virtual: s.virtual } : { key: s.index, dataType: nt.TIMESTAMP, virtual: !1 };
567
- }, Li = d.object({
567
+ }, Ni = d.object({
568
568
  timeRange: ut.z,
569
569
  channel: d.number().or(d.string()),
570
570
  useIndexOfChannel: d.boolean().optional().default(!1)
@@ -575,7 +575,7 @@ class ge extends Q {
575
575
  c(this, "client");
576
576
  c(this, "data", []);
577
577
  c(this, "valid", !1);
578
- c(this, "schema", Li);
578
+ c(this, "schema", Ni);
579
579
  this.client = t;
580
580
  }
581
581
  async cleanup() {
@@ -598,7 +598,7 @@ class ge extends Q {
598
598
  }
599
599
  }
600
600
  c(ge, "TYPE", "series-source");
601
- const _i = d.object({
601
+ const Ii = d.object({
602
602
  channel: d.number().or(d.string()),
603
603
  useIndexOfChannel: d.boolean().optional().default(!1),
604
604
  timeSpan: $.z,
@@ -611,7 +611,7 @@ class me extends Q {
611
611
  c(this, "data", []);
612
612
  c(this, "stopStreaming");
613
613
  c(this, "valid", !1);
614
- c(this, "schema", _i);
614
+ c(this, "schema", Ii);
615
615
  this.client = t;
616
616
  }
617
617
  async value() {
@@ -653,39 +653,39 @@ class me extends Q {
653
653
  }
654
654
  }
655
655
  c(me, "TYPE", "dynamic-series-source");
656
- const Ni = {
656
+ const Bi = {
657
657
  [ge.TYPE]: ge,
658
658
  [me.TYPE]: me,
659
659
  [pe.TYPE]: pe
660
660
  };
661
- class aa {
661
+ class ia {
662
662
  constructor(e) {
663
663
  c(this, "type", "remote");
664
664
  c(this, "client");
665
665
  this.client = e;
666
666
  }
667
667
  create(e) {
668
- const t = Ni[e.type];
668
+ const t = Bi[e.type];
669
669
  return t == null ? null : new t(this.client, e.props);
670
670
  }
671
671
  }
672
- const Bi = (n) => ({
672
+ const Ui = (n) => ({
673
673
  type: ge.TYPE,
674
674
  props: n,
675
675
  variant: "source",
676
676
  valueType: "series"
677
- }), Ii = (n) => ({
677
+ }), $i = (n) => ({
678
678
  type: me.TYPE,
679
679
  props: n,
680
680
  variant: "source",
681
681
  valueType: "series"
682
- }), Ui = (n) => ({
682
+ }), Zi = (n) => ({
683
683
  type: pe.TYPE,
684
684
  props: n,
685
685
  variant: "source",
686
686
  valueType: "number"
687
687
  });
688
- class ia {
688
+ class oa {
689
689
  constructor() {
690
690
  c(this, "type", "static");
691
691
  }
@@ -705,7 +705,7 @@ class ia {
705
705
  }
706
706
  }
707
707
  const Rs = d.object({
708
- data: d.array(ui),
708
+ data: d.array(di),
709
709
  offsets: d.array(d.number()).optional().default([])
710
710
  });
711
711
  class an extends Q {
@@ -727,8 +727,8 @@ class an extends Q {
727
727
  }
728
728
  }
729
729
  c(an, "TYPE", "static-series");
730
- const oa = Rs.extend({
731
- rate: Pr.z,
730
+ const la = Rs.extend({
731
+ rate: Rr.z,
732
732
  yOffset: d.number().optional().default(0),
733
733
  scroll: d.number().optional().default(0),
734
734
  startPosition: d.number().optional().default(0),
@@ -737,7 +737,7 @@ const oa = Rs.extend({
737
737
  class ye extends Q {
738
738
  constructor(t) {
739
739
  super(t);
740
- c(this, "schema", oa);
740
+ c(this, "schema", la);
741
741
  c(this, "position");
742
742
  c(this, "interval");
743
743
  c(this, "data");
@@ -772,50 +772,59 @@ class ye extends Q {
772
772
  }
773
773
  }
774
774
  c(ye, "TYPE", "iterative-series");
775
- const la = d.number();
775
+ const ca = d.number();
776
776
  class we extends Q {
777
777
  constructor() {
778
778
  super(...arguments);
779
- c(this, "schema", la);
779
+ c(this, "schema", ca);
780
780
  }
781
781
  async value() {
782
782
  return this.props;
783
783
  }
784
784
  }
785
785
  c(we, "TYPE", "static-numeric");
786
- const ca = d.string();
786
+ const ua = d.string();
787
787
  class xe extends Q {
788
788
  constructor() {
789
789
  super(...arguments);
790
- c(this, "schema", ca);
790
+ c(this, "schema", ua);
791
791
  }
792
792
  async value() {
793
793
  return this.props;
794
794
  }
795
795
  }
796
796
  c(xe, "TYPE", "static-string");
797
- const $i = (n) => ({
797
+ const Fi = (n) => ({
798
798
  type: an.TYPE,
799
799
  props: n,
800
800
  variant: "source",
801
801
  valueType: "series"
802
- }), Zi = (n) => ({
802
+ }), zi = (n) => ({
803
803
  type: ye.TYPE,
804
804
  props: n,
805
805
  variant: "source",
806
806
  valueType: "series"
807
- }), Fi = (n) => ({
807
+ }), qi = (n) => ({
808
808
  type: we.TYPE,
809
809
  props: n,
810
810
  variant: "source",
811
811
  valueType: "number"
812
- }), zi = (n) => ({
812
+ }), ji = (n) => ({
813
813
  type: xe.TYPE,
814
814
  props: n,
815
815
  variant: "source",
816
816
  valueType: "string"
817
- });
818
- class ua {
817
+ }), Hi = ["standard", "scientific", "engineering"], ha = d.enum(Hi), Wi = (n, e, t) => {
818
+ if (Number.isNaN(n)) return "NaN";
819
+ if (n === 1 / 0) return "∞";
820
+ if (n === -1 / 0) return "-∞";
821
+ if (t === "standard") return n.toFixed(e);
822
+ if (n === 0)
823
+ return e === 0 ? "0ᴇ0" : `0.${"0".repeat(e)}ᴇ0`;
824
+ let s;
825
+ return t === "scientific" ? s = Math.floor(Math.log10(Math.abs(n))) : s = Math.floor(Math.log10(Math.abs(n)) / 3) * 3, `${(n / 10 ** s).toFixed(e)}ᴇ${s}`;
826
+ };
827
+ class da {
819
828
  constructor() {
820
829
  c(this, "type", "transformer");
821
830
  }
@@ -837,15 +846,15 @@ class ua {
837
846
  return null;
838
847
  }
839
848
  }
840
- const qi = d.object({
849
+ const Xi = d.object({
841
850
  truthy: d.number().optional().default(1),
842
851
  falsy: d.number().optional().default(0)
843
- }), ji = (n) => ({
852
+ }), Gi = (n) => ({
844
853
  props: n,
845
854
  type: qt.TYPE,
846
855
  variant: "sink",
847
856
  valueType: "boolean"
848
- }), ae = class ae extends Jr {
857
+ }), ae = class ae extends ta {
849
858
  constructor() {
850
859
  super(...arguments);
851
860
  c(this, "schema", ae.propsZ);
@@ -854,9 +863,9 @@ const qi = d.object({
854
863
  return t ? this.props.truthy : this.props.falsy;
855
864
  }
856
865
  };
857
- c(ae, "TYPE", "boolean-numeric-converter-sink"), c(ae, "propsZ", qi);
866
+ c(ae, "TYPE", "boolean-numeric-converter-sink"), c(ae, "propsZ", Xi);
858
867
  let qt = ae;
859
- const Hi = d.object({ trueBound: R.bounds }), Wi = (n) => ({
868
+ const Vi = d.object({ trueBound: R.bounds }), Ki = (n) => ({
860
869
  props: n,
861
870
  type: jt.TYPE,
862
871
  variant: "source",
@@ -875,9 +884,9 @@ const Hi = d.object({ trueBound: R.bounds }), Wi = (n) => ({
875
884
  return this.curr = R.contains(this.props.trueBound, t), this.curr;
876
885
  }
877
886
  };
878
- c(ie, "TYPE", "boolean-source"), c(ie, "propsZ", Hi);
887
+ c(ie, "TYPE", "boolean-source"), c(ie, "propsZ", Vi);
879
888
  let jt = ie;
880
- const ha = d.object({}), oe = class oe extends Qr {
889
+ const fa = d.object({}), oe = class oe extends Jr {
881
890
  constructor() {
882
891
  super(...arguments);
883
892
  c(this, "schema", oe.propsZ);
@@ -886,15 +895,15 @@ const ha = d.object({}), oe = class oe extends Qr {
886
895
  return Object.values(t).reduce((s, r) => s + r, 0) / Object.keys(t).length;
887
896
  }
888
897
  };
889
- c(oe, "TYPE", "mean"), c(oe, "propsZ", ha);
898
+ c(oe, "TYPE", "mean"), c(oe, "propsZ", fa);
890
899
  let Ht = oe;
891
- const Xi = (n) => ({
900
+ const Qi = (n) => ({
892
901
  props: n,
893
902
  type: Ht.TYPE,
894
903
  variant: "source",
895
904
  valueType: "boolean"
896
- }), da = d.object({
897
- trueVariant: hi.optional().default("success")
905
+ }), pa = d.object({
906
+ trueVariant: fi.optional().default("success")
898
907
  }), le = class le extends Ae {
899
908
  constructor() {
900
909
  super(...arguments);
@@ -904,40 +913,41 @@ const Xi = (n) => ({
904
913
  return t.variant === this.props.trueVariant;
905
914
  }
906
915
  };
907
- c(le, "TYPE", "boolean-status"), c(le, "propsZ", da);
916
+ c(le, "TYPE", "boolean-status"), c(le, "propsZ", pa);
908
917
  let Wt = le;
909
- const Gi = (n) => ({
918
+ const Ji = (n) => ({
910
919
  props: n,
911
920
  type: Wt.TYPE,
912
921
  variant: "source",
913
922
  valueType: "boolean"
914
- }), fa = d.object({
923
+ }), ga = d.object({
915
924
  precision: d.number().optional().default(2),
916
925
  prefix: d.string().optional().default(""),
917
- suffix: d.string().optional().default("")
926
+ suffix: d.string().optional().default(""),
927
+ notation: ha.optional().default("standard")
918
928
  }), ce = class ce extends Ae {
919
929
  constructor() {
920
930
  super(...arguments);
921
931
  c(this, "schema", ce.propsZ);
922
932
  }
923
933
  transform(t) {
924
- return `${this.props.prefix}${t.toFixed(this.props.precision)}${this.props.suffix}`;
934
+ return `${this.props.prefix}${Wi(t, this.props.precision, this.props.notation)}${this.props.suffix}`;
925
935
  }
926
936
  };
927
- c(ce, "TYPE", "stringify-number"), c(ce, "propsZ", fa);
937
+ c(ce, "TYPE", "stringify-number"), c(ce, "propsZ", ga);
928
938
  let Xt = ce;
929
- const Vi = (n) => ({
939
+ const to = (n) => ({
930
940
  props: n,
931
941
  type: Xt.TYPE,
932
942
  variant: "source",
933
943
  valueType: "string"
934
- }), pa = d.object({
944
+ }), ma = d.object({
935
945
  windowSize: d.number().optional().default(5)
936
946
  });
937
947
  class Gt extends Ae {
938
948
  constructor() {
939
949
  super(...arguments);
940
- c(this, "schema", pa);
950
+ c(this, "schema", ma);
941
951
  c(this, "values", []);
942
952
  }
943
953
  transform(t) {
@@ -947,14 +957,14 @@ class Gt extends Ae {
947
957
  return this.props.windowSize < 2 ? !0 : (this.values.length > this.props.windowSize && (this.values = []), this.values.push(t), this.values.length === this.props.windowSize);
948
958
  }
949
959
  }
950
- c(Gt, "TYPE", "rolling-average"), c(Gt, "propsZ", ha);
951
- const Ki = (n) => ({
960
+ c(Gt, "TYPE", "rolling-average"), c(Gt, "propsZ", fa);
961
+ const eo = (n) => ({
952
962
  props: n,
953
963
  type: Gt.TYPE,
954
964
  variant: "source",
955
965
  valueType: "number"
956
966
  });
957
- class ga {
967
+ class ya {
958
968
  constructor(e) {
959
969
  c(this, "factories");
960
970
  c(this, "type", "compound");
@@ -974,10 +984,10 @@ class ga {
974
984
  return null;
975
985
  }
976
986
  }
977
- const ma = (n) => {
978
- const e = [new ua(), new ia(), new jr()], t = new ga(e);
979
- return n != null && t.add(new aa(n)), t.add(new na(t)), t;
980
- }, Qi = d.object({
987
+ const wa = (n) => {
988
+ const e = [new da(), new oa(), new Hr()], t = new ya(e);
989
+ return n != null && t.add(new ia(n)), t.add(new sa(t)), t;
990
+ }, no = d.object({
981
991
  include: d.string().array().optional(),
982
992
  exclude: d.string().array().optional(),
983
993
  level: d.enum(it.LOG_LEVELS).optional().default("info")
@@ -986,7 +996,7 @@ var Xn;
986
996
  let zs = (Xn = class extends wt {
987
997
  constructor() {
988
998
  super(...arguments);
989
- c(this, "schema", Qi);
999
+ c(this, "schema", no);
990
1000
  }
991
1001
  async afterUpdate() {
992
1002
  if (this.ctx.getOptional(Kn) != null) return;
@@ -1001,27 +1011,27 @@ const Le = (n, e) => {
1001
1011
  const t = n.get(Kn);
1002
1012
  if (t == null) throw new Error("No instrumentation provider");
1003
1013
  return e == null ? t : t.child(e);
1004
- }, Qu = {
1014
+ }, sh = {
1005
1015
  [zs.TYPE]: zs
1006
- }, ya = (n, e) => n.dataType.isVariable ? n : (e == null && n.dataType.equals(nt.TIMESTAMP) && (e = BigInt(n.data[0])), n.convert(nt.FLOAT32, e)), wa = () => ({
1016
+ }, xa = (n, e) => n.dataType.isVariable ? n : (e == null && n.dataType.equals(nt.TIMESTAMP) && (e = BigInt(n.data[0])), n.convert(nt.FLOAT32, e)), ba = () => ({
1007
1017
  purgedSeries: 0,
1008
- purgedBytes: Rr.bytes(0)
1009
- }), xa = {
1018
+ purgedBytes: Mr.bytes(0)
1019
+ }), va = {
1010
1020
  instrumentation: it.NOOP,
1011
1021
  staleEntryThreshold: $.seconds(20)
1012
1022
  };
1013
- class Ji {
1023
+ class so {
1014
1024
  constructor(e) {
1015
1025
  c(this, "data", []);
1016
1026
  c(this, "props");
1017
- this.props = { ...xa, ...e };
1027
+ this.props = { ...va, ...e };
1018
1028
  }
1019
1029
  /**
1020
1030
  * Writes the given series to the cache, merging written series with any
1021
1031
  * existing series in the cache.
1022
1032
  */
1023
1033
  write(e) {
1024
- e.length !== 0 && (e.forEach((t) => this.writeOne(ya(t))), this.checkIntegrity(e));
1034
+ e.length !== 0 && (e.forEach((t) => this.writeOne(xa(t))), this.checkIntegrity(e));
1025
1035
  }
1026
1036
  /**
1027
1037
  * Executes a 'dirty' read of the cache, retrieving any series in the cache that overlap
@@ -1045,7 +1055,7 @@ class Ji {
1045
1055
  * @returns metrics about the garbage collection.
1046
1056
  */
1047
1057
  gc() {
1048
- const { staleEntryThreshold: e } = this.props, t = wa(), s = this.data.filter((r) => {
1058
+ const { staleEntryThreshold: e } = this.props, t = ba(), s = this.data.filter((r) => {
1049
1059
  const a = r.data.refCount > 0 || F.since(r.addedAt).lessThan(e);
1050
1060
  return a || (t.purgedBytes = t.purgedBytes.add(r.data.byteCapacity)), a;
1051
1061
  });
@@ -1081,15 +1091,17 @@ class Ji {
1081
1091
  const {
1082
1092
  instrumentation: { L: t }
1083
1093
  } = this.props, s = this.data.map((a) => a.data.alignmentBounds);
1084
- if (s.some((a, i) => s.some((o, l) => i === l ? !1 : R.overlapsWith(a, o))))
1094
+ if (s.some(
1095
+ (a, i) => s.some((o, l) => i === l ? !1 : R.overlapsWith(a, o))
1096
+ ))
1085
1097
  throw t.debug("Cache is in an invalid state - bounds overlap!", () => ({
1086
1098
  write: e.map((a) => a.digest),
1087
1099
  cacheContents: this.data.map((a) => a.data.digest)
1088
1100
  })), new Error("Invalid state");
1089
1101
  }
1090
1102
  }
1091
- const to = 100, eo = 1e6, no = 1e4, so = 100, ro = 40;
1092
- class ao {
1103
+ const ro = 100, ao = 1e6, io = 1e4, oo = 100, lo = 40;
1104
+ class co {
1093
1105
  /**
1094
1106
  * @constructor
1095
1107
  *
@@ -1136,7 +1148,7 @@ class ao {
1136
1148
  this.counter++;
1137
1149
  const r = this.props.dataType.isVariable, a = this.props.dataType.equals(nt.TIMESTAMP);
1138
1150
  return gs.alloc({
1139
- capacity: r ? e * ro : e,
1151
+ capacity: r ? e * lo : e,
1140
1152
  dataType: r ? this.props.dataType : nt.FLOAT32,
1141
1153
  timeRange: s.range(F.MAX),
1142
1154
  sampleOffset: a ? BigInt(s.valueOf()) : 0,
@@ -1155,7 +1167,7 @@ class ao {
1155
1167
  const l = this.now();
1156
1168
  this.curr.timeRange.end = l, s.flushed.push(this.curr), this.curr = this.allocate(t, e.alignment, l), s.allocated.push(this.curr);
1157
1169
  }
1158
- const r = ya(e, this.curr.sampleOffset), a = this.curr.write(r);
1170
+ const r = xa(e, this.curr.sampleOffset), a = this.curr.write(r);
1159
1171
  if (a === e.length)
1160
1172
  return this.updateAvgRate(e), s;
1161
1173
  const i = this.now();
@@ -1171,9 +1183,9 @@ class ao {
1171
1183
  nextBufferSize() {
1172
1184
  const { dynamicBufferSize: e } = this.props;
1173
1185
  if (typeof e == "number") return e;
1174
- if (this.totalWrites < so) return no;
1175
- const t = bi.roundToNearestMagnitude(this.avgRate * e.seconds);
1176
- return Math.round(Math.max(Math.min(t, eo), to));
1186
+ if (this.totalWrites < oo) return io;
1187
+ const t = Ti.roundToNearestMagnitude(this.avgRate * e.seconds);
1188
+ return Math.round(Math.max(Math.min(t, ao), ro));
1177
1189
  }
1178
1190
  /**
1179
1191
  * Closes the cache and releases all resources associated with it. After close()
@@ -1183,14 +1195,14 @@ class ao {
1183
1195
  this.curr = null;
1184
1196
  }
1185
1197
  }
1186
- class io {
1198
+ class uo {
1187
1199
  constructor(e) {
1188
1200
  c(this, "channel");
1189
1201
  c(this, "closed", !1);
1190
1202
  c(this, "ins");
1191
1203
  c(this, "static");
1192
1204
  c(this, "dynamic");
1193
- this.channel = e.channel, this.ins = e.instrumentation ?? it.NOOP, this.static = new Ji(e), this.dynamic = new ao({
1205
+ this.channel = e.channel, this.ins = e.instrumentation ?? it.NOOP, this.static = new so(e), this.dynamic = new co({
1194
1206
  dynamicBufferSize: e.dynamicBufferSize,
1195
1207
  dataType: this.channel.dataType
1196
1208
  });
@@ -1221,22 +1233,22 @@ class io {
1221
1233
  gc() {
1222
1234
  return this.closed ? (this.ins.L.warn(
1223
1235
  `Ignoring attempted garbage collection on a closed cache for channel ${this.channel.name}`
1224
- ), { purgedSeries: 0, purgedBytes: Rr.bytes(0) }) : this.static.gc();
1236
+ ), { purgedSeries: 0, purgedBytes: Mr.bytes(0) }) : this.static.gc();
1225
1237
  }
1226
1238
  close() {
1227
1239
  this.closed = !0, this.dynamic.close(), this.static.close();
1228
1240
  }
1229
1241
  }
1230
- const oo = Mr.seconds(60);
1231
- class lo {
1242
+ const ho = Or.seconds(60);
1243
+ class fo {
1232
1244
  constructor(e) {
1233
1245
  c(this, "props");
1234
1246
  c(this, "cache", /* @__PURE__ */ new Map());
1235
1247
  c(this, "gcInterval");
1236
1248
  this.props = {
1237
- dynamicBufferSize: oo,
1238
- gcInterval: Mr.seconds(30),
1239
- ...xa,
1249
+ dynamicBufferSize: ho,
1250
+ gcInterval: Or.seconds(30),
1251
+ ...va,
1240
1252
  ...e
1241
1253
  }, this.gcInterval = setInterval(() => this.gc(), this.props.gcInterval.milliseconds);
1242
1254
  }
@@ -1251,7 +1263,7 @@ class lo {
1251
1263
  if (a.length === 0) return;
1252
1264
  const i = await s.retrieve(a);
1253
1265
  for (const o of i) {
1254
- const l = new io({
1266
+ const l = new uo({
1255
1267
  channel: o,
1256
1268
  dynamicBufferSize: r,
1257
1269
  instrumentation: t.child(`cache-${o.name}-${o.key}`)
@@ -1276,7 +1288,7 @@ class lo {
1276
1288
  instrumentation: { L: e }
1277
1289
  } = this.props;
1278
1290
  e.info("starting garbage collection");
1279
- const t = wa();
1291
+ const t = ba();
1280
1292
  this.cache.forEach((s) => {
1281
1293
  const r = s.gc();
1282
1294
  t.purgedSeries += r.purgedSeries, t.purgedBytes = t.purgedBytes.add(r.purgedBytes);
@@ -1317,7 +1329,7 @@ class on {
1317
1329
  }
1318
1330
  }
1319
1331
  const Un = (n) => n.map((e) => e.digest);
1320
- class co {
1332
+ class po {
1321
1333
  constructor(e) {
1322
1334
  c(this, "props");
1323
1335
  c(this, "debouncedRead");
@@ -1330,7 +1342,7 @@ class co {
1330
1342
  instrumentation: it.NOOP,
1331
1343
  batchDebounce: $.milliseconds(50),
1332
1344
  ...e
1333
- }, this.debouncedRead = di(() => {
1345
+ }, this.debouncedRead = pi(() => {
1334
1346
  this.batchRead();
1335
1347
  }, this.props.batchDebounce.milliseconds);
1336
1348
  }
@@ -1424,7 +1436,7 @@ class co {
1424
1436
  });
1425
1437
  }
1426
1438
  }
1427
- class uo {
1439
+ class go {
1428
1440
  constructor(e) {
1429
1441
  c(this, "props");
1430
1442
  c(this, "mu", new ms());
@@ -1519,7 +1531,7 @@ class uo {
1519
1531
  (e = this.streamer) == null || e.close(), this.streamerRunLoop != null && await this.streamerRunLoop, this.closed = !0;
1520
1532
  }
1521
1533
  }
1522
- class ho {
1534
+ class mo {
1523
1535
  constructor() {
1524
1536
  c(this, "key", Gn.id());
1525
1537
  c(this, "_client", null);
@@ -1545,11 +1557,11 @@ class ho {
1545
1557
  await this.client.close();
1546
1558
  }
1547
1559
  get client() {
1548
- if (this._client == null) throw new Or("No cluster has been connected");
1560
+ if (this._client == null) throw new Dr("No cluster has been connected");
1549
1561
  return this._client;
1550
1562
  }
1551
1563
  }
1552
- class fo {
1564
+ class yo {
1553
1565
  constructor({ instrumentation: e, core: t }) {
1554
1566
  c(this, "key", Gn.id());
1555
1567
  c(this, "ins");
@@ -1557,14 +1569,14 @@ class fo {
1557
1569
  c(this, "reader");
1558
1570
  c(this, "streamer");
1559
1571
  c(this, "channelRetriever");
1560
- this.ins = e ?? it.NOOP, this.channelRetriever = t.channels.createDebouncedBatchRetriever(10), this.cache = new lo({
1572
+ this.ins = e ?? it.NOOP, this.channelRetriever = t.channels.createDebouncedBatchRetriever(10), this.cache = new fo({
1561
1573
  channelRetriever: this.channelRetriever,
1562
1574
  instrumentation: this.ins.child("cache")
1563
- }), this.reader = new co({
1575
+ }), this.reader = new po({
1564
1576
  cache: this.cache,
1565
1577
  readRemote: async (s, r) => await t.read(s, r),
1566
1578
  instrumentation: this.ins.child("reader")
1567
- }), this.streamer = new uo({
1579
+ }), this.streamer = new go({
1568
1580
  cache: this.cache,
1569
1581
  core: t,
1570
1582
  instrumentation: this.ins.child("streamer")
@@ -1573,7 +1585,7 @@ class fo {
1573
1585
  /** Implements ChannelClient. */
1574
1586
  async retrieveChannel(e) {
1575
1587
  const t = await this.channelRetriever.retrieve([e]);
1576
- if (t.length === 0) throw new Or(`channel ${e} not found`);
1588
+ if (t.length === 0) throw new Dr(`channel ${e} not found`);
1577
1589
  return t[0];
1578
1590
  }
1579
1591
  /** Implements ChannelClient */
@@ -1588,11 +1600,11 @@ class fo {
1588
1600
  this.ins.L.info("closing client", { key: this.key }), await this.streamer.close(), this.cache.close();
1589
1601
  }
1590
1602
  }
1591
- const ba = d.object({}), $t = class $t extends wt {
1603
+ const Ta = d.object({}), $t = class $t extends wt {
1592
1604
  constructor() {
1593
1605
  super(...arguments);
1594
- c(this, "client", new ho());
1595
- c(this, "factory", ma(this.client));
1606
+ c(this, "client", new mo());
1607
+ c(this, "factory", wa(this.client));
1596
1608
  c(this, "schema", $t.stateZ);
1597
1609
  c(this, "prevClient", null);
1598
1610
  }
@@ -1617,14 +1629,14 @@ const ba = d.object({}), $t = class $t extends wt {
1617
1629
  }
1618
1630
  async afterUpdate() {
1619
1631
  const t = Oe(this.ctx), s = Le(this.ctx, "telem");
1620
- this.internal.instrumentation = s.child("provider"), t !== this.prevClient && (s.L.info("swapping client", { client: t }), t == null ? await this.client.swap(null) : await this.client.swap(new fo({ core: t, instrumentation: s })), this.prevClient = t, Ir(this.ctx, this));
1632
+ this.internal.instrumentation = s.child("provider"), t !== this.prevClient && (s.L.info("swapping client", { client: t }), t == null ? await this.client.swap(null) : await this.client.swap(new yo({ core: t, instrumentation: s })), this.prevClient = t, Ur(this.ctx, this));
1621
1633
  }
1622
1634
  };
1623
- c($t, "TYPE", "TelemProvider"), c($t, "stateZ", ba);
1635
+ c($t, "TYPE", "TelemProvider"), c($t, "stateZ", Ta);
1624
1636
  let be = $t;
1625
- const po = {
1637
+ const wo = {
1626
1638
  [be.TYPE]: be
1627
- }, Ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1639
+ }, rh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1628
1640
  __proto__: null,
1629
1641
  AbstractSink: An,
1630
1642
  AbstractSource: Q,
@@ -1632,94 +1644,94 @@ const po = {
1632
1644
  BaseProvider: be,
1633
1645
  BooleanStatus: Wt,
1634
1646
  ChannelData: ge,
1635
- CompoundTelemFactory: ga,
1647
+ CompoundTelemFactory: ya,
1636
1648
  FixedNumber: we,
1637
1649
  FixedString: xe,
1638
1650
  IterativeSeries: ye,
1639
1651
  Mean: Ht,
1640
- MultiSourceTransformer: Qr,
1641
- NoopFactory: jr,
1642
- PipelineFactory: na,
1643
- REGISTRY: po,
1644
- RemoteFactory: aa,
1652
+ MultiSourceTransformer: Jr,
1653
+ NoopFactory: Hr,
1654
+ PipelineFactory: sa,
1655
+ REGISTRY: wo,
1656
+ RemoteFactory: ia,
1645
1657
  RollingAverage: Gt,
1646
1658
  SetPoint: qt,
1647
1659
  SinkPipeline: fe,
1648
1660
  SourcePipeline: de,
1649
- StaticFactory: ia,
1661
+ StaticFactory: oa,
1650
1662
  StreamChannelData: me,
1651
1663
  StreamChannelValue: pe,
1652
1664
  StringifyNumber: Xt,
1653
- TransformerFactory: ua,
1654
- UnarySinkTransformer: Jr,
1665
+ TransformerFactory: da,
1666
+ UnarySinkTransformer: ta,
1655
1667
  UnarySourceTransformer: Ae,
1656
1668
  WithinBounds: jt,
1657
1669
  booleanSinkSpecZ: Dn,
1658
- booleanSinkTransformerSpecZ: Oi,
1670
+ booleanSinkTransformerSpecZ: Yi,
1659
1671
  booleanSourceSpecZ: Cs,
1660
- booleanSourceTransformerSpecZ: Di,
1661
- booleanStatus: Gi,
1662
- booleanStatusProps: da,
1663
- channelData: Bi,
1664
- colorSourceSpecZ: Vr,
1665
- factory: ma,
1666
- fixedArray: $i,
1667
- fixedNumber: Fi,
1668
- fixedNumberPropsZ: la,
1672
+ booleanSourceTransformerSpecZ: Ai,
1673
+ booleanStatus: Ji,
1674
+ booleanStatusProps: pa,
1675
+ channelData: Ui,
1676
+ colorSourceSpecZ: Kr,
1677
+ factory: wa,
1678
+ fixedArray: Fi,
1679
+ fixedNumber: qi,
1680
+ fixedNumberPropsZ: ca,
1669
1681
  fixedSeriesPropsZ: Rs,
1670
- fixedString: zi,
1671
- fixedStringPropsZ: ca,
1672
- iterativeArray: Zi,
1673
- iterativeSeriesPropsZ: oa,
1674
- mean: Xi,
1682
+ fixedString: ji,
1683
+ fixedStringPropsZ: ua,
1684
+ iterativeArray: zi,
1685
+ iterativeSeriesPropsZ: la,
1686
+ mean: Qi,
1675
1687
  noopBooleanSinkSpec: Mn,
1676
1688
  noopBooleanSourceSpec: Ss,
1677
- noopColorSourceSpec: zr,
1678
- noopNumericSinkSpec: $r,
1679
- noopNumericSourceSpec: Zr,
1680
- noopSeriesSourceSpec: qr,
1689
+ noopColorSourceSpec: qr,
1690
+ noopNumericSinkSpec: Zr,
1691
+ noopNumericSourceSpec: Fr,
1692
+ noopSeriesSourceSpec: jr,
1681
1693
  noopStatusSourceSpec: Es,
1682
- noopStringSourceSpec: Fr,
1683
- numberSinkSpecZ: Gr,
1684
- numberSourceSpecZ: Xr,
1685
- providerStateZ: ba,
1686
- registerFactory: Ur,
1687
- rollingAverage: Ki,
1688
- rollingAverageProps: pa,
1694
+ noopStringSourceSpec: zr,
1695
+ numberSinkSpecZ: Vr,
1696
+ numberSourceSpecZ: Gr,
1697
+ providerStateZ: Ta,
1698
+ registerFactory: $r,
1699
+ rollingAverage: eo,
1700
+ rollingAverageProps: ma,
1689
1701
  seriesSourceSpecZ: rn,
1690
- setProvider: Ir,
1691
- setpoint: ji,
1692
- sinkPipeline: Ai,
1693
- sinkPipelinePropsZ: sa,
1702
+ setProvider: Ur,
1703
+ setpoint: Gi,
1704
+ sinkPipeline: _i,
1705
+ sinkPipelinePropsZ: ra,
1694
1706
  sinkSpecZ: On,
1695
- sinkTransformerSpecZ: Wr,
1696
- sourcePipeline: Yi,
1697
- sourcePipelinePropsZ: ea,
1707
+ sinkTransformerSpecZ: Xr,
1708
+ sourcePipeline: Li,
1709
+ sourcePipelinePropsZ: na,
1698
1710
  sourceSpecZ: Ct,
1699
- sourceTransformerSpecZ: Hr,
1711
+ sourceTransformerSpecZ: Wr,
1700
1712
  specZ: Ye,
1701
1713
  statusSourceSpecZ: ks,
1702
- streamChannelData: Ii,
1703
- streamChannelValue: Ui,
1704
- streamChannelValuePropsZ: ra,
1705
- stringSourceSpecZ: Kr,
1706
- stringifyNumber: Vi,
1707
- stringifyNumberProps: fa,
1714
+ streamChannelData: $i,
1715
+ streamChannelValue: Zi,
1716
+ streamChannelValuePropsZ: aa,
1717
+ stringSourceSpecZ: Qr,
1718
+ stringifyNumber: to,
1719
+ stringifyNumberProps: ga,
1708
1720
  useProvider: Rn,
1709
1721
  useSink: De,
1710
1722
  useSource: st,
1711
- withinBounds: Wi
1712
- }, Symbol.toStringTag, { value: "Module" })), va = d.object({
1723
+ withinBounds: Ki
1724
+ }, Symbol.toStringTag, { value: "Module" })), Sa = d.object({
1713
1725
  key: d.string(),
1714
1726
  size: d.number(),
1715
1727
  order: d.number(),
1716
1728
  loc: Tt.outer
1717
1729
  });
1718
- d.record(va);
1719
- const Bt = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s) => s.order - t.order), go = (n, e, t) => {
1730
+ d.record(Sa);
1731
+ const It = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s) => s.order - t.order), xo = (n, e, t) => {
1720
1732
  const s = e[n];
1721
1733
  if (s == null) return g.ZERO;
1722
- const r = Tt.construct(s.loc), a = Bt(r, e), i = Tt.construct(at.swap(Tt.direction(r))), o = Bt(i, e), l = a.findIndex(({ key: p }) => p === n), u = a.slice(0, l).reduce((p, { size: m }) => p + m, 0), h = o.reduce((p, { size: m }) => p + m, 0);
1734
+ const r = Tt.construct(s.loc), a = It(r, e), i = Tt.construct(at.swap(Tt.direction(r))), o = It(i, e), l = a.findIndex(({ key: p }) => p === n), u = a.slice(0, l).reduce((p, { size: m }) => p + m, 0), h = o.reduce((p, { size: m }) => p + m, 0);
1723
1735
  switch (r) {
1724
1736
  case "left":
1725
1737
  return g.translate(f.topLeft(t), [u, h]);
@@ -1733,8 +1745,8 @@ const Bt = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s
1733
1745
  -u - s.size
1734
1746
  ]);
1735
1747
  }
1736
- }, mo = (n, e) => {
1737
- const t = Bt("left", n), s = Bt("right", n), r = Bt("top", n), a = Bt("bottom", n), i = t.reduce((h, { size: p }) => h + p, 0), o = s.reduce((h, { size: p }) => h + p, 0), l = r.reduce((h, { size: p }) => h + p, 0), u = a.reduce((h, { size: p }) => h + p, 0);
1748
+ }, bo = (n, e) => {
1749
+ const t = It("left", n), s = It("right", n), r = It("top", n), a = It("bottom", n), i = t.reduce((h, { size: p }) => h + p, 0), o = s.reduce((h, { size: p }) => h + p, 0), l = r.reduce((h, { size: p }) => h + p, 0), u = a.reduce((h, { size: p }) => h + p, 0);
1738
1750
  return f.construct(
1739
1751
  g.translate(f.topLeft(e), { x: i, y: l }),
1740
1752
  f.width(e) - i - o,
@@ -1744,12 +1756,12 @@ const Bt = (n, e) => Object.values(e).filter(({ loc: t }) => t === n).sort((t, s
1744
1756
  function qe(n, e) {
1745
1757
  return n == null || e == null ? NaN : n < e ? -1 : n > e ? 1 : n >= e ? 0 : NaN;
1746
1758
  }
1747
- function yo(n, e) {
1759
+ function vo(n, e) {
1748
1760
  return n == null || e == null ? NaN : e < n ? -1 : e > n ? 1 : e >= n ? 0 : NaN;
1749
1761
  }
1750
1762
  function Ms(n) {
1751
1763
  let e, t, s;
1752
- n.length !== 2 ? (e = qe, t = (o, l) => qe(n(o), l), s = (o, l) => n(o) - l) : (e = n === qe || n === yo ? n : wo, t = n, s = n);
1764
+ n.length !== 2 ? (e = qe, t = (o, l) => qe(n(o), l), s = (o, l) => n(o) - l) : (e = n === qe || n === vo ? n : To, t = n, s = n);
1753
1765
  function r(o, l, u = 0, h = o.length) {
1754
1766
  if (u < h) {
1755
1767
  if (e(l, l) !== 0) return h;
@@ -1776,21 +1788,21 @@ function Ms(n) {
1776
1788
  }
1777
1789
  return { left: r, center: i, right: a };
1778
1790
  }
1779
- function wo() {
1791
+ function To() {
1780
1792
  return 0;
1781
1793
  }
1782
- function xo(n) {
1794
+ function So(n) {
1783
1795
  return n === null ? NaN : +n;
1784
1796
  }
1785
- const bo = Ms(qe), vo = bo.right;
1786
- Ms(xo).center;
1787
- const To = Math.sqrt(50), So = Math.sqrt(10), Eo = Math.sqrt(2);
1797
+ const Eo = Ms(qe), Co = Eo.right;
1798
+ Ms(So).center;
1799
+ const ko = Math.sqrt(50), Po = Math.sqrt(10), Ro = Math.sqrt(2);
1788
1800
  function ln(n, e, t) {
1789
- const s = (e - n) / Math.max(0, t), r = Math.floor(Math.log10(s)), a = s / Math.pow(10, r), i = a >= To ? 10 : a >= So ? 5 : a >= Eo ? 2 : 1;
1801
+ const s = (e - n) / Math.max(0, t), r = Math.floor(Math.log10(s)), a = s / Math.pow(10, r), i = a >= ko ? 10 : a >= Po ? 5 : a >= Ro ? 2 : 1;
1790
1802
  let o, l, u;
1791
1803
  return r < 0 ? (u = Math.pow(10, -r) / i, o = Math.round(n * u), l = Math.round(e * u), o / u < n && ++o, l / u > e && --l, u = -u) : (u = Math.pow(10, r) * i, o = Math.round(n / u), l = Math.round(e / u), o * u < n && ++o, l * u > e && --l), l < o && 0.5 <= t && t < 2 ? ln(n, e, t * 2) : [o, l, u];
1792
1804
  }
1793
- function Co(n, e, t) {
1805
+ function Mo(n, e, t) {
1794
1806
  if (e = +e, n = +n, t = +t, !(t > 0)) return [];
1795
1807
  if (n === e) return [n];
1796
1808
  const s = e < n, [r, a, i] = s ? ln(e, n, t) : ln(n, e, t);
@@ -1811,7 +1823,7 @@ function Jn(n, e, t) {
1811
1823
  const s = e < n, r = s ? Qn(e, n, t) : Qn(n, e, t);
1812
1824
  return (s ? -1 : 1) * (r < 0 ? 1 / -r : r);
1813
1825
  }
1814
- function Ta(n, e) {
1826
+ function Ea(n, e) {
1815
1827
  switch (arguments.length) {
1816
1828
  case 0:
1817
1829
  break;
@@ -1827,14 +1839,14 @@ function Ta(n, e) {
1827
1839
  function Os(n, e, t) {
1828
1840
  n.prototype = e.prototype = t, t.constructor = n;
1829
1841
  }
1830
- function Sa(n, e) {
1842
+ function Ca(n, e) {
1831
1843
  var t = Object.create(n.prototype);
1832
1844
  for (var s in e) t[s] = e[s];
1833
1845
  return t;
1834
1846
  }
1835
1847
  function _e() {
1836
1848
  }
1837
- var ve = 0.7, cn = 1 / ve, zt = "\\s*([+-]?\\d+)\\s*", Te = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", lt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", ko = /^#([0-9a-f]{3,8})$/, Po = new RegExp(`^rgb\\(${zt},${zt},${zt}\\)$`), Ro = new RegExp(`^rgb\\(${lt},${lt},${lt}\\)$`), Mo = new RegExp(`^rgba\\(${zt},${zt},${zt},${Te}\\)$`), Oo = new RegExp(`^rgba\\(${lt},${lt},${lt},${Te}\\)$`), Do = new RegExp(`^hsl\\(${Te},${lt},${lt}\\)$`), Yo = new RegExp(`^hsla\\(${Te},${lt},${lt},${Te}\\)$`), qs = {
1849
+ var ve = 0.7, cn = 1 / ve, zt = "\\s*([+-]?\\d+)\\s*", Te = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", lt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Oo = /^#([0-9a-f]{3,8})$/, Do = new RegExp(`^rgb\\(${zt},${zt},${zt}\\)$`), Yo = new RegExp(`^rgb\\(${lt},${lt},${lt}\\)$`), Ao = new RegExp(`^rgba\\(${zt},${zt},${zt},${Te}\\)$`), Lo = new RegExp(`^rgba\\(${lt},${lt},${lt},${Te}\\)$`), _o = new RegExp(`^hsl\\(${Te},${lt},${lt}\\)$`), No = new RegExp(`^hsla\\(${Te},${lt},${lt},${Te}\\)$`), qs = {
1838
1850
  aliceblue: 15792383,
1839
1851
  antiquewhite: 16444375,
1840
1852
  aqua: 65535,
@@ -1994,26 +2006,26 @@ Os(_e, Se, {
1994
2006
  hex: js,
1995
2007
  // Deprecated! Use color.formatHex.
1996
2008
  formatHex: js,
1997
- formatHex8: Ao,
1998
- formatHsl: Lo,
2009
+ formatHex8: Io,
2010
+ formatHsl: Bo,
1999
2011
  formatRgb: Hs,
2000
2012
  toString: Hs
2001
2013
  });
2002
2014
  function js() {
2003
2015
  return this.rgb().formatHex();
2004
2016
  }
2005
- function Ao() {
2017
+ function Io() {
2006
2018
  return this.rgb().formatHex8();
2007
2019
  }
2008
- function Lo() {
2009
- return Ea(this).formatHsl();
2020
+ function Bo() {
2021
+ return ka(this).formatHsl();
2010
2022
  }
2011
2023
  function Hs() {
2012
2024
  return this.rgb().formatRgb();
2013
2025
  }
2014
2026
  function Se(n) {
2015
2027
  var e, t;
2016
- return n = (n + "").trim().toLowerCase(), (e = ko.exec(n)) ? (t = e[1].length, e = parseInt(e[1], 16), t === 6 ? Ws(e) : t === 3 ? new H(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : t === 8 ? Ue(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : t === 4 ? Ue(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 = Po.exec(n)) ? new H(e[1], e[2], e[3], 1) : (e = Ro.exec(n)) ? new H(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Mo.exec(n)) ? Ue(e[1], e[2], e[3], e[4]) : (e = Oo.exec(n)) ? Ue(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Do.exec(n)) ? Vs(e[1], e[2] / 100, e[3] / 100, 1) : (e = Yo.exec(n)) ? Vs(e[1], e[2] / 100, e[3] / 100, e[4]) : qs.hasOwnProperty(n) ? Ws(qs[n]) : n === "transparent" ? new H(NaN, NaN, NaN, 0) : null;
2028
+ return n = (n + "").trim().toLowerCase(), (e = Oo.exec(n)) ? (t = e[1].length, e = parseInt(e[1], 16), t === 6 ? Ws(e) : t === 3 ? new H(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : t === 8 ? Ue(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : t === 4 ? Ue(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 = Do.exec(n)) ? new H(e[1], e[2], e[3], 1) : (e = Yo.exec(n)) ? new H(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Ao.exec(n)) ? Ue(e[1], e[2], e[3], e[4]) : (e = Lo.exec(n)) ? Ue(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = _o.exec(n)) ? Vs(e[1], e[2] / 100, e[3] / 100, 1) : (e = No.exec(n)) ? Vs(e[1], e[2] / 100, e[3] / 100, e[4]) : qs.hasOwnProperty(n) ? Ws(qs[n]) : n === "transparent" ? new H(NaN, NaN, NaN, 0) : null;
2017
2029
  }
2018
2030
  function Ws(n) {
2019
2031
  return new H(n >> 16 & 255, n >> 8 & 255, n & 255, 1);
@@ -2021,16 +2033,16 @@ function Ws(n) {
2021
2033
  function Ue(n, e, t, s) {
2022
2034
  return s <= 0 && (n = e = t = NaN), new H(n, e, t, s);
2023
2035
  }
2024
- function _o(n) {
2036
+ function Uo(n) {
2025
2037
  return n instanceof _e || (n = Se(n)), n ? (n = n.rgb(), new H(n.r, n.g, n.b, n.opacity)) : new H();
2026
2038
  }
2027
2039
  function ts(n, e, t, s) {
2028
- return arguments.length === 1 ? _o(n) : new H(n, e, t, s ?? 1);
2040
+ return arguments.length === 1 ? Uo(n) : new H(n, e, t, s ?? 1);
2029
2041
  }
2030
2042
  function H(n, e, t, s) {
2031
2043
  this.r = +n, this.g = +e, this.b = +t, this.opacity = +s;
2032
2044
  }
2033
- Os(H, ts, Sa(_e, {
2045
+ Os(H, ts, Ca(_e, {
2034
2046
  brighter(n) {
2035
2047
  return n = n == null ? cn : Math.pow(cn, n), new H(this.r * n, this.g * n, this.b * n, this.opacity);
2036
2048
  },
@@ -2049,14 +2061,14 @@ Os(H, ts, Sa(_e, {
2049
2061
  hex: Xs,
2050
2062
  // Deprecated! Use color.formatHex.
2051
2063
  formatHex: Xs,
2052
- formatHex8: No,
2064
+ formatHex8: $o,
2053
2065
  formatRgb: Gs,
2054
2066
  toString: Gs
2055
2067
  }));
2056
2068
  function Xs() {
2057
2069
  return `#${Rt(this.r)}${Rt(this.g)}${Rt(this.b)}`;
2058
2070
  }
2059
- function No() {
2071
+ function $o() {
2060
2072
  return `#${Rt(this.r)}${Rt(this.g)}${Rt(this.b)}${Rt((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2061
2073
  }
2062
2074
  function Gs() {
@@ -2075,7 +2087,7 @@ function Rt(n) {
2075
2087
  function Vs(n, e, t, s) {
2076
2088
  return s <= 0 ? n = e = t = NaN : t <= 0 || t >= 1 ? n = e = NaN : e <= 0 && (n = NaN), new tt(n, e, t, s);
2077
2089
  }
2078
- function Ea(n) {
2090
+ function ka(n) {
2079
2091
  if (n instanceof tt) return new tt(n.h, n.s, n.l, n.opacity);
2080
2092
  if (n instanceof _e || (n = Se(n)), !n) return new tt();
2081
2093
  if (n instanceof tt) return n;
@@ -2083,13 +2095,13 @@ function Ea(n) {
2083
2095
  var e = n.r / 255, t = n.g / 255, s = n.b / 255, r = Math.min(e, t, s), a = Math.max(e, t, s), i = NaN, o = a - r, l = (a + r) / 2;
2084
2096
  return o ? (e === a ? i = (t - s) / o + (t < s) * 6 : t === a ? i = (s - e) / o + 2 : i = (e - t) / o + 4, o /= l < 0.5 ? a + r : 2 - a - r, i *= 60) : o = l > 0 && l < 1 ? 0 : i, new tt(i, o, l, n.opacity);
2085
2097
  }
2086
- function Bo(n, e, t, s) {
2087
- return arguments.length === 1 ? Ea(n) : new tt(n, e, t, s ?? 1);
2098
+ function Zo(n, e, t, s) {
2099
+ return arguments.length === 1 ? ka(n) : new tt(n, e, t, s ?? 1);
2088
2100
  }
2089
2101
  function tt(n, e, t, s) {
2090
2102
  this.h = +n, this.s = +e, this.l = +t, this.opacity = +s;
2091
2103
  }
2092
- Os(tt, Bo, Sa(_e, {
2104
+ Os(tt, Zo, Ca(_e, {
2093
2105
  brighter(n) {
2094
2106
  return n = n == null ? cn : Math.pow(cn, n), new tt(this.h, this.s, this.l * n, this.opacity);
2095
2107
  },
@@ -2126,36 +2138,36 @@ function $n(n, e, t) {
2126
2138
  return (n < 60 ? e + (t - e) * n / 60 : n < 180 ? t : n < 240 ? e + (t - e) * (240 - n) / 60 : e) * 255;
2127
2139
  }
2128
2140
  const Ds = (n) => () => n;
2129
- function Io(n, e) {
2141
+ function Fo(n, e) {
2130
2142
  return function(t) {
2131
2143
  return n + t * e;
2132
2144
  };
2133
2145
  }
2134
- function Uo(n, e, t) {
2146
+ function zo(n, e, t) {
2135
2147
  return n = Math.pow(n, t), e = Math.pow(e, t) - n, t = 1 / t, function(s) {
2136
2148
  return Math.pow(n + s * e, t);
2137
2149
  };
2138
2150
  }
2139
- function $o(n) {
2140
- return (n = +n) == 1 ? Ca : function(e, t) {
2141
- return t - e ? Uo(e, t, n) : Ds(isNaN(e) ? t : e);
2151
+ function qo(n) {
2152
+ return (n = +n) == 1 ? Pa : function(e, t) {
2153
+ return t - e ? zo(e, t, n) : Ds(isNaN(e) ? t : e);
2142
2154
  };
2143
2155
  }
2144
- function Ca(n, e) {
2156
+ function Pa(n, e) {
2145
2157
  var t = e - n;
2146
- return t ? Io(n, t) : Ds(isNaN(n) ? e : n);
2158
+ return t ? Fo(n, t) : Ds(isNaN(n) ? e : n);
2147
2159
  }
2148
2160
  const Qs = function n(e) {
2149
- var t = $o(e);
2161
+ var t = qo(e);
2150
2162
  function s(r, a) {
2151
- var i = t((r = ts(r)).r, (a = ts(a)).r), o = t(r.g, a.g), l = t(r.b, a.b), u = Ca(r.opacity, a.opacity);
2163
+ var i = t((r = ts(r)).r, (a = ts(a)).r), o = t(r.g, a.g), l = t(r.b, a.b), u = Pa(r.opacity, a.opacity);
2152
2164
  return function(h) {
2153
2165
  return r.r = i(h), r.g = o(h), r.b = l(h), r.opacity = u(h), r + "";
2154
2166
  };
2155
2167
  }
2156
2168
  return s.gamma = n, s;
2157
2169
  }(1);
2158
- function Zo(n, e) {
2170
+ function jo(n, e) {
2159
2171
  e || (e = []);
2160
2172
  var t = n ? Math.min(e.length, n.length) : 0, s = e.slice(), r;
2161
2173
  return function(a) {
@@ -2163,10 +2175,10 @@ function Zo(n, e) {
2163
2175
  return s;
2164
2176
  };
2165
2177
  }
2166
- function Fo(n) {
2178
+ function Ho(n) {
2167
2179
  return ArrayBuffer.isView(n) && !(n instanceof DataView);
2168
2180
  }
2169
- function zo(n, e) {
2181
+ function Wo(n, e) {
2170
2182
  var t = e ? e.length : 0, s = n ? Math.min(t, n.length) : 0, r = new Array(s), a = new Array(t), i;
2171
2183
  for (i = 0; i < s; ++i) r[i] = Ys(n[i], e[i]);
2172
2184
  for (; i < t; ++i) a[i] = e[i];
@@ -2175,7 +2187,7 @@ function zo(n, e) {
2175
2187
  return a;
2176
2188
  };
2177
2189
  }
2178
- function qo(n, e) {
2190
+ function Xo(n, e) {
2179
2191
  var t = /* @__PURE__ */ new Date();
2180
2192
  return n = +n, e = +e, function(s) {
2181
2193
  return t.setTime(n * (1 - s) + e * s), t;
@@ -2186,7 +2198,7 @@ function hn(n, e) {
2186
2198
  return n * (1 - t) + e * t;
2187
2199
  };
2188
2200
  }
2189
- function jo(n, e) {
2201
+ function Go(n, e) {
2190
2202
  var t = {}, s = {}, r;
2191
2203
  (n === null || typeof n != "object") && (n = {}), (e === null || typeof e != "object") && (e = {});
2192
2204
  for (r in e)
@@ -2197,80 +2209,80 @@ function jo(n, e) {
2197
2209
  };
2198
2210
  }
2199
2211
  var es = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Zn = new RegExp(es.source, "g");
2200
- function Ho(n) {
2212
+ function Vo(n) {
2201
2213
  return function() {
2202
2214
  return n;
2203
2215
  };
2204
2216
  }
2205
- function Wo(n) {
2217
+ function Ko(n) {
2206
2218
  return function(e) {
2207
2219
  return n(e) + "";
2208
2220
  };
2209
2221
  }
2210
- function Xo(n, e) {
2222
+ function Qo(n, e) {
2211
2223
  var t = es.lastIndex = Zn.lastIndex = 0, s, r, a, i = -1, o = [], l = [];
2212
2224
  for (n = n + "", e = e + ""; (s = es.exec(n)) && (r = Zn.exec(e)); )
2213
2225
  (a = r.index) > t && (a = e.slice(t, a), o[i] ? o[i] += a : o[++i] = a), (s = s[0]) === (r = r[0]) ? o[i] ? o[i] += r : o[++i] = r : (o[++i] = null, l.push({ i, x: hn(s, r) })), t = Zn.lastIndex;
2214
- return t < e.length && (a = e.slice(t), o[i] ? o[i] += a : o[++i] = a), o.length < 2 ? l[0] ? Wo(l[0].x) : Ho(e) : (e = l.length, function(u) {
2226
+ return t < e.length && (a = e.slice(t), o[i] ? o[i] += a : o[++i] = a), o.length < 2 ? l[0] ? Ko(l[0].x) : Vo(e) : (e = l.length, function(u) {
2215
2227
  for (var h = 0, p; h < e; ++h) o[(p = l[h]).i] = p.x(u);
2216
2228
  return o.join("");
2217
2229
  });
2218
2230
  }
2219
2231
  function Ys(n, e) {
2220
2232
  var t = typeof e, s;
2221
- return e == null || t === "boolean" ? Ds(e) : (t === "number" ? hn : t === "string" ? (s = Se(e)) ? (e = s, Qs) : Xo : e instanceof Se ? Qs : e instanceof Date ? qo : Fo(e) ? Zo : Array.isArray(e) ? zo : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? jo : hn)(n, e);
2233
+ return e == null || t === "boolean" ? Ds(e) : (t === "number" ? hn : t === "string" ? (s = Se(e)) ? (e = s, Qs) : Qo : e instanceof Se ? Qs : e instanceof Date ? Xo : Ho(e) ? jo : Array.isArray(e) ? Wo : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? Go : hn)(n, e);
2222
2234
  }
2223
- function Go(n, e) {
2235
+ function Jo(n, e) {
2224
2236
  return n = +n, e = +e, function(t) {
2225
2237
  return Math.round(n * (1 - t) + e * t);
2226
2238
  };
2227
2239
  }
2228
- function Vo(n) {
2240
+ function tl(n) {
2229
2241
  return function() {
2230
2242
  return n;
2231
2243
  };
2232
2244
  }
2233
- function Ko(n) {
2245
+ function el(n) {
2234
2246
  return +n;
2235
2247
  }
2236
2248
  var Js = [0, 1];
2237
- function It(n) {
2249
+ function Bt(n) {
2238
2250
  return n;
2239
2251
  }
2240
2252
  function ns(n, e) {
2241
2253
  return (e -= n = +n) ? function(t) {
2242
2254
  return (t - n) / e;
2243
- } : Vo(isNaN(e) ? NaN : 0.5);
2255
+ } : tl(isNaN(e) ? NaN : 0.5);
2244
2256
  }
2245
- function Qo(n, e) {
2257
+ function nl(n, e) {
2246
2258
  var t;
2247
2259
  return n > e && (t = n, n = e, e = t), function(s) {
2248
2260
  return Math.max(n, Math.min(e, s));
2249
2261
  };
2250
2262
  }
2251
- function Jo(n, e, t) {
2263
+ function sl(n, e, t) {
2252
2264
  var s = n[0], r = n[1], a = e[0], i = e[1];
2253
2265
  return r < s ? (s = ns(r, s), a = t(i, a)) : (s = ns(s, r), a = t(a, i)), function(o) {
2254
2266
  return a(s(o));
2255
2267
  };
2256
2268
  }
2257
- function tl(n, e, t) {
2269
+ function rl(n, e, t) {
2258
2270
  var s = Math.min(n.length, e.length) - 1, r = new Array(s), a = new Array(s), i = -1;
2259
2271
  for (n[s] < n[0] && (n = n.slice().reverse(), e = e.slice().reverse()); ++i < s; )
2260
2272
  r[i] = ns(n[i], n[i + 1]), a[i] = t(e[i], e[i + 1]);
2261
2273
  return function(o) {
2262
- var l = vo(n, o, 1, s) - 1;
2274
+ var l = Co(n, o, 1, s) - 1;
2263
2275
  return a[l](r[l](o));
2264
2276
  };
2265
2277
  }
2266
- function ka(n, e) {
2278
+ function Ra(n, e) {
2267
2279
  return e.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown());
2268
2280
  }
2269
- function el() {
2270
- var n = Js, e = Js, t = Ys, s, r, a, i = It, o, l, u;
2281
+ function al() {
2282
+ var n = Js, e = Js, t = Ys, s, r, a, i = Bt, o, l, u;
2271
2283
  function h() {
2272
2284
  var m = Math.min(n.length, e.length);
2273
- return i !== It && (i = Qo(n[0], n[m - 1])), o = m > 2 ? tl : Jo, l = u = null, p;
2285
+ return i !== Bt && (i = nl(n[0], n[m - 1])), o = m > 2 ? rl : sl, l = u = null, p;
2274
2286
  }
2275
2287
  function p(m) {
2276
2288
  return m == null || isNaN(m = +m) ? a : (l || (l = o(n.map(s), e, t)))(s(i(m)));
@@ -2278,13 +2290,13 @@ function el() {
2278
2290
  return p.invert = function(m) {
2279
2291
  return i(r((u || (u = o(e, n.map(s), hn)))(m)));
2280
2292
  }, p.domain = function(m) {
2281
- return arguments.length ? (n = Array.from(m, Ko), h()) : n.slice();
2293
+ return arguments.length ? (n = Array.from(m, el), h()) : n.slice();
2282
2294
  }, p.range = function(m) {
2283
2295
  return arguments.length ? (e = Array.from(m), h()) : e.slice();
2284
2296
  }, p.rangeRound = function(m) {
2285
- return e = Array.from(m), t = Go, h();
2297
+ return e = Array.from(m), t = Jo, h();
2286
2298
  }, p.clamp = function(m) {
2287
- return arguments.length ? (i = m ? !0 : It, h()) : i !== It;
2299
+ return arguments.length ? (i = m ? !0 : Bt, h()) : i !== Bt;
2288
2300
  }, p.interpolate = function(m) {
2289
2301
  return arguments.length ? (t = m, h()) : t;
2290
2302
  }, p.unknown = function(m) {
@@ -2293,10 +2305,10 @@ function el() {
2293
2305
  return s = m, r = x, h();
2294
2306
  };
2295
2307
  }
2296
- function Pa() {
2297
- return el()(It, It);
2308
+ function Ma() {
2309
+ return al()(Bt, Bt);
2298
2310
  }
2299
- function nl(n) {
2311
+ function il(n) {
2300
2312
  return Math.abs(n = Math.round(n)) >= 1e21 ? n.toLocaleString("en").replace(/,/g, "") : n.toString(10);
2301
2313
  }
2302
2314
  function dn(n, e) {
@@ -2310,23 +2322,23 @@ function dn(n, e) {
2310
2322
  function Vt(n) {
2311
2323
  return n = dn(Math.abs(n)), n ? n[1] : NaN;
2312
2324
  }
2313
- function sl(n, e) {
2325
+ function ol(n, e) {
2314
2326
  return function(t, s) {
2315
2327
  for (var r = t.length, a = [], i = 0, o = n[0], l = 0; r > 0 && o > 0 && (l + o + 1 > s && (o = Math.max(1, s - l)), a.push(t.substring(r -= o, r + o)), !((l += o + 1) > s)); )
2316
2328
  o = n[i = (i + 1) % n.length];
2317
2329
  return a.reverse().join(e);
2318
2330
  };
2319
2331
  }
2320
- function rl(n) {
2332
+ function ll(n) {
2321
2333
  return function(e) {
2322
2334
  return e.replace(/[0-9]/g, function(t) {
2323
2335
  return n[+t];
2324
2336
  });
2325
2337
  };
2326
2338
  }
2327
- var al = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
2339
+ var cl = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
2328
2340
  function fn(n) {
2329
- if (!(e = al.exec(n))) throw new Error("invalid format: " + n);
2341
+ if (!(e = cl.exec(n))) throw new Error("invalid format: " + n);
2330
2342
  var e;
2331
2343
  return new As({
2332
2344
  fill: e[1],
@@ -2348,7 +2360,7 @@ function As(n) {
2348
2360
  As.prototype.toString = function() {
2349
2361
  return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
2350
2362
  };
2351
- function il(n) {
2363
+ function ul(n) {
2352
2364
  t: for (var e = n.length, t = 1, s = -1, r; t < e; ++t)
2353
2365
  switch (n[t]) {
2354
2366
  case ".":
@@ -2364,11 +2376,11 @@ function il(n) {
2364
2376
  }
2365
2377
  return s > 0 ? n.slice(0, s) + n.slice(r + 1) : n;
2366
2378
  }
2367
- var Ra;
2368
- function ol(n, e) {
2379
+ var Oa;
2380
+ function hl(n, e) {
2369
2381
  var t = dn(n, e);
2370
2382
  if (!t) return n + "";
2371
- var s = t[0], r = t[1], a = r - (Ra = Math.max(-8, Math.min(8, Math.floor(r / 3))) * 3) + 1, i = s.length;
2383
+ var s = t[0], r = t[1], a = r - (Oa = Math.max(-8, Math.min(8, Math.floor(r / 3))) * 3) + 1, i = s.length;
2372
2384
  return a === i ? s : a > i ? s + new Array(a - i + 1).join("0") : a > 0 ? s.slice(0, a) + "." + s.slice(a) : "0." + new Array(1 - a).join("0") + dn(n, Math.max(0, e + a - 1))[0];
2373
2385
  }
2374
2386
  function tr(n, e) {
@@ -2381,14 +2393,14 @@ const er = {
2381
2393
  "%": (n, e) => (n * 100).toFixed(e),
2382
2394
  b: (n) => Math.round(n).toString(2),
2383
2395
  c: (n) => n + "",
2384
- d: nl,
2396
+ d: il,
2385
2397
  e: (n, e) => n.toExponential(e),
2386
2398
  f: (n, e) => n.toFixed(e),
2387
2399
  g: (n, e) => n.toPrecision(e),
2388
2400
  o: (n) => Math.round(n).toString(8),
2389
2401
  p: (n, e) => tr(n * 100, e),
2390
2402
  r: tr,
2391
- s: ol,
2403
+ s: hl,
2392
2404
  X: (n) => Math.round(n).toString(16).toUpperCase(),
2393
2405
  x: (n) => Math.round(n).toString(16)
2394
2406
  };
@@ -2396,23 +2408,23 @@ function nr(n) {
2396
2408
  return n;
2397
2409
  }
2398
2410
  var sr = Array.prototype.map, rr = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
2399
- function ll(n) {
2400
- var e = n.grouping === void 0 || n.thousands === void 0 ? nr : sl(sr.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 + "", a = n.numerals === void 0 ? nr : rl(sr.call(n.numerals, String)), i = n.percent === void 0 ? "%" : n.percent + "", o = n.minus === void 0 ? "−" : n.minus + "", l = n.nan === void 0 ? "NaN" : n.nan + "";
2411
+ function dl(n) {
2412
+ var e = n.grouping === void 0 || n.thousands === void 0 ? nr : ol(sr.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 + "", a = n.numerals === void 0 ? nr : ll(sr.call(n.numerals, String)), i = n.percent === void 0 ? "%" : n.percent + "", o = n.minus === void 0 ? "−" : n.minus + "", l = n.nan === void 0 ? "NaN" : n.nan + "";
2401
2413
  function u(p) {
2402
2414
  p = fn(p);
2403
- var m = p.fill, x = p.align, b = p.sign, T = p.symbol, C = p.zero, O = p.width, N = p.comma, M = p.precision, L = p.trim, I = p.type;
2404
- I === "n" ? (N = !0, I = "g") : er[I] || (M === void 0 && (M = 12), L = !0, I = "g"), (C || m === "0" && x === "=") && (C = !0, m = "0", x = "=");
2405
- var v = T === "$" ? t : T === "#" && /[boxX]/.test(I) ? "0" + I.toLowerCase() : "", U = T === "$" ? s : /[%p]/.test(I) ? i : "", kt = er[I], Nn = /[defgprs%]/.test(I);
2406
- M = M === void 0 ? 6 : /[gprs]/.test(I) ? Math.max(1, Math.min(21, M)) : Math.max(0, Math.min(20, M));
2407
- function Be(E) {
2408
- var ct = v, q = U, bt, Ie, At;
2409
- if (I === "c")
2415
+ var m = p.fill, x = p.align, b = p.sign, T = p.symbol, C = p.zero, O = p.width, N = p.comma, M = p.precision, L = p.trim, B = p.type;
2416
+ B === "n" ? (N = !0, B = "g") : er[B] || (M === void 0 && (M = 12), L = !0, B = "g"), (C || m === "0" && x === "=") && (C = !0, m = "0", x = "=");
2417
+ var v = T === "$" ? t : T === "#" && /[boxX]/.test(B) ? "0" + B.toLowerCase() : "", U = T === "$" ? s : /[%p]/.test(B) ? i : "", kt = er[B], Nn = /[defgprs%]/.test(B);
2418
+ M = M === void 0 ? 6 : /[gprs]/.test(B) ? Math.max(1, Math.min(21, M)) : Math.max(0, Math.min(20, M));
2419
+ function Ie(E) {
2420
+ var ct = v, q = U, bt, Be, At;
2421
+ if (B === "c")
2410
2422
  q = kt(E) + q, E = "";
2411
2423
  else {
2412
2424
  E = +E;
2413
2425
  var Lt = E < 0 || 1 / E < 0;
2414
- if (E = isNaN(E) ? l : kt(Math.abs(E), M), L && (E = il(E)), Lt && +E == 0 && b !== "+" && (Lt = !1), ct = (Lt ? b === "(" ? b : o : b === "-" || b === "(" ? "" : b) + ct, q = (I === "s" ? rr[8 + Ra / 3] : "") + q + (Lt && b === "(" ? ")" : ""), Nn) {
2415
- for (bt = -1, Ie = E.length; ++bt < Ie; )
2426
+ if (E = isNaN(E) ? l : kt(Math.abs(E), M), L && (E = ul(E)), Lt && +E == 0 && b !== "+" && (Lt = !1), ct = (Lt ? b === "(" ? b : o : b === "-" || b === "(" ? "" : b) + ct, q = (B === "s" ? rr[8 + Oa / 3] : "") + q + (Lt && b === "(" ? ")" : ""), Nn) {
2427
+ for (bt = -1, Be = E.length; ++bt < Be; )
2416
2428
  if (At = E.charCodeAt(bt), 48 > At || At > 57) {
2417
2429
  q = (At === 46 ? r + E.slice(bt + 1) : E.slice(bt)) + q, E = E.slice(0, bt);
2418
2430
  break;
@@ -2437,9 +2449,9 @@ function ll(n) {
2437
2449
  }
2438
2450
  return a(E);
2439
2451
  }
2440
- return Be.toString = function() {
2452
+ return Ie.toString = function() {
2441
2453
  return p + "";
2442
- }, Be;
2454
+ }, Ie;
2443
2455
  }
2444
2456
  function h(p, m) {
2445
2457
  var x = u((p = fn(p), p.type = "f", p)), b = Math.max(-8, Math.min(8, Math.floor(Vt(m) / 3))) * 3, T = Math.pow(10, -b), C = rr[8 + b / 3];
@@ -2452,55 +2464,55 @@ function ll(n) {
2452
2464
  formatPrefix: h
2453
2465
  };
2454
2466
  }
2455
- var Ze, Ma, Oa;
2456
- cl({
2467
+ var Ze, Da, Ya;
2468
+ fl({
2457
2469
  thousands: ",",
2458
2470
  grouping: [3],
2459
2471
  currency: ["$", ""]
2460
2472
  });
2461
- function cl(n) {
2462
- return Ze = ll(n), Ma = Ze.format, Oa = Ze.formatPrefix, Ze;
2473
+ function fl(n) {
2474
+ return Ze = dl(n), Da = Ze.format, Ya = Ze.formatPrefix, Ze;
2463
2475
  }
2464
- function ul(n) {
2476
+ function pl(n) {
2465
2477
  return Math.max(0, -Vt(Math.abs(n)));
2466
2478
  }
2467
- function hl(n, e) {
2479
+ function gl(n, e) {
2468
2480
  return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Vt(e) / 3))) * 3 - Vt(Math.abs(n)));
2469
2481
  }
2470
- function dl(n, e) {
2482
+ function ml(n, e) {
2471
2483
  return n = Math.abs(n), e = Math.abs(e) - n, Math.max(0, Vt(e) - Vt(n)) + 1;
2472
2484
  }
2473
- function fl(n, e, t, s) {
2485
+ function yl(n, e, t, s) {
2474
2486
  var r = Jn(n, e, t), a;
2475
2487
  switch (s = fn(s ?? ",f"), s.type) {
2476
2488
  case "s": {
2477
2489
  var i = Math.max(Math.abs(n), Math.abs(e));
2478
- return s.precision == null && !isNaN(a = hl(r, i)) && (s.precision = a), Oa(s, i);
2490
+ return s.precision == null && !isNaN(a = gl(r, i)) && (s.precision = a), Ya(s, i);
2479
2491
  }
2480
2492
  case "":
2481
2493
  case "e":
2482
2494
  case "g":
2483
2495
  case "p":
2484
2496
  case "r": {
2485
- s.precision == null && !isNaN(a = dl(r, Math.max(Math.abs(n), Math.abs(e)))) && (s.precision = a - (s.type === "e"));
2497
+ s.precision == null && !isNaN(a = ml(r, Math.max(Math.abs(n), Math.abs(e)))) && (s.precision = a - (s.type === "e"));
2486
2498
  break;
2487
2499
  }
2488
2500
  case "f":
2489
2501
  case "%": {
2490
- s.precision == null && !isNaN(a = ul(r)) && (s.precision = a - (s.type === "%") * 2);
2502
+ s.precision == null && !isNaN(a = pl(r)) && (s.precision = a - (s.type === "%") * 2);
2491
2503
  break;
2492
2504
  }
2493
2505
  }
2494
- return Ma(s);
2506
+ return Da(s);
2495
2507
  }
2496
- function pl(n) {
2508
+ function wl(n) {
2497
2509
  var e = n.domain;
2498
2510
  return n.ticks = function(t) {
2499
2511
  var s = e();
2500
- return Co(s[0], s[s.length - 1], t ?? 10);
2512
+ return Mo(s[0], s[s.length - 1], t ?? 10);
2501
2513
  }, n.tickFormat = function(t, s) {
2502
2514
  var r = e();
2503
- return fl(r[0], r[r.length - 1], t ?? 10, s);
2515
+ return yl(r[0], r[r.length - 1], t ?? 10, s);
2504
2516
  }, n.nice = function(t) {
2505
2517
  t == null && (t = 10);
2506
2518
  var s = e(), r = 0, a = s.length - 1, i = s[r], o = s[a], l, u, h = 10;
@@ -2518,13 +2530,13 @@ function pl(n) {
2518
2530
  return n;
2519
2531
  }, n;
2520
2532
  }
2521
- function Da() {
2522
- var n = Pa();
2533
+ function Aa() {
2534
+ var n = Ma();
2523
2535
  return n.copy = function() {
2524
- return ka(n, Da());
2525
- }, Ta.apply(n, arguments), pl(n);
2536
+ return Ra(n, Aa());
2537
+ }, Ea.apply(n, arguments), wl(n);
2526
2538
  }
2527
- function gl(n, e) {
2539
+ function xl(n, e) {
2528
2540
  n = n.slice();
2529
2541
  var t = 0, s = n.length - 1, r = n[t], a = n[s], i;
2530
2542
  return a < r && (i = t, t = s, s = i, i = r, r = a, a = i), n[t] = e.floor(r), n[s] = e.ceil(a), n;
@@ -2579,24 +2591,24 @@ const _s = A((n) => {
2579
2591
  n.setTime(+n + e * K);
2580
2592
  }, (n, e) => (e - n) / K, (n) => n.getMinutes());
2581
2593
  _s.range;
2582
- const ml = A((n) => {
2594
+ const bl = A((n) => {
2583
2595
  n.setUTCSeconds(0, 0);
2584
2596
  }, (n, e) => {
2585
2597
  n.setTime(+n + e * K);
2586
2598
  }, (n, e) => (e - n) / K, (n) => n.getUTCMinutes());
2587
- ml.range;
2599
+ bl.range;
2588
2600
  const Ns = A((n) => {
2589
2601
  n.setTime(n - n.getMilliseconds() - n.getSeconds() * ht - n.getMinutes() * K);
2590
2602
  }, (n, e) => {
2591
2603
  n.setTime(+n + e * dt);
2592
2604
  }, (n, e) => (e - n) / dt, (n) => n.getHours());
2593
2605
  Ns.range;
2594
- const yl = A((n) => {
2606
+ const vl = A((n) => {
2595
2607
  n.setUTCMinutes(0, 0, 0);
2596
2608
  }, (n, e) => {
2597
2609
  n.setTime(+n + e * dt);
2598
2610
  }, (n, e) => (e - n) / dt, (n) => n.getUTCHours());
2599
- yl.range;
2611
+ vl.range;
2600
2612
  const Ne = A(
2601
2613
  (n) => n.setHours(0, 0, 0, 0),
2602
2614
  (n, e) => n.setDate(n.getDate() + e),
@@ -2604,18 +2616,18 @@ const Ne = A(
2604
2616
  (n) => n.getDate() - 1
2605
2617
  );
2606
2618
  Ne.range;
2607
- const Bs = A((n) => {
2619
+ const Is = A((n) => {
2608
2620
  n.setUTCHours(0, 0, 0, 0);
2609
2621
  }, (n, e) => {
2610
2622
  n.setUTCDate(n.getUTCDate() + e);
2611
2623
  }, (n, e) => (e - n) / gt, (n) => n.getUTCDate() - 1);
2612
- Bs.range;
2613
- const wl = A((n) => {
2624
+ Is.range;
2625
+ const Tl = A((n) => {
2614
2626
  n.setUTCHours(0, 0, 0, 0);
2615
2627
  }, (n, e) => {
2616
2628
  n.setUTCDate(n.getUTCDate() + e);
2617
2629
  }, (n, e) => (e - n) / gt, (n) => Math.floor(n / gt));
2618
- wl.range;
2630
+ Tl.range;
2619
2631
  function Dt(n) {
2620
2632
  return A((e) => {
2621
2633
  e.setDate(e.getDate() - (e.getDay() + 7 - n) % 7), e.setHours(0, 0, 0, 0);
@@ -2623,14 +2635,14 @@ function Dt(n) {
2623
2635
  e.setDate(e.getDate() + t * 7);
2624
2636
  }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * K) / Ls);
2625
2637
  }
2626
- const Ln = Dt(0), gn = Dt(1), xl = Dt(2), bl = Dt(3), Kt = Dt(4), vl = Dt(5), Tl = Dt(6);
2638
+ const Ln = Dt(0), gn = Dt(1), Sl = Dt(2), El = Dt(3), Kt = Dt(4), Cl = Dt(5), kl = Dt(6);
2627
2639
  Ln.range;
2628
2640
  gn.range;
2629
- xl.range;
2630
- bl.range;
2641
+ Sl.range;
2642
+ El.range;
2631
2643
  Kt.range;
2632
- vl.range;
2633
- Tl.range;
2644
+ Cl.range;
2645
+ kl.range;
2634
2646
  function Yt(n) {
2635
2647
  return A((e) => {
2636
2648
  e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - n) % 7), e.setUTCHours(0, 0, 0, 0);
@@ -2638,26 +2650,26 @@ function Yt(n) {
2638
2650
  e.setUTCDate(e.getUTCDate() + t * 7);
2639
2651
  }, (e, t) => (t - e) / Ls);
2640
2652
  }
2641
- const Ya = Yt(0), mn = Yt(1), Sl = Yt(2), El = Yt(3), Qt = Yt(4), Cl = Yt(5), kl = Yt(6);
2642
- Ya.range;
2653
+ const La = Yt(0), mn = Yt(1), Pl = Yt(2), Rl = Yt(3), Qt = Yt(4), Ml = Yt(5), Ol = Yt(6);
2654
+ La.range;
2643
2655
  mn.range;
2644
- Sl.range;
2645
- El.range;
2656
+ Pl.range;
2657
+ Rl.range;
2646
2658
  Qt.range;
2647
- Cl.range;
2648
- kl.range;
2649
- const Is = A((n) => {
2659
+ Ml.range;
2660
+ Ol.range;
2661
+ const Bs = A((n) => {
2650
2662
  n.setDate(1), n.setHours(0, 0, 0, 0);
2651
2663
  }, (n, e) => {
2652
2664
  n.setMonth(n.getMonth() + e);
2653
2665
  }, (n, e) => e.getMonth() - n.getMonth() + (e.getFullYear() - n.getFullYear()) * 12, (n) => n.getMonth());
2654
- Is.range;
2655
- const Pl = A((n) => {
2666
+ Bs.range;
2667
+ const Dl = A((n) => {
2656
2668
  n.setUTCDate(1), n.setUTCHours(0, 0, 0, 0);
2657
2669
  }, (n, e) => {
2658
2670
  n.setUTCMonth(n.getUTCMonth() + e);
2659
2671
  }, (n, e) => e.getUTCMonth() - n.getUTCMonth() + (e.getUTCFullYear() - n.getUTCFullYear()) * 12, (n) => n.getUTCMonth());
2660
- Pl.range;
2672
+ Dl.range;
2661
2673
  const mt = A((n) => {
2662
2674
  n.setMonth(0, 1), n.setHours(0, 0, 0, 0);
2663
2675
  }, (n, e) => {
@@ -2680,7 +2692,7 @@ Ot.every = (n) => !isFinite(n = Math.floor(n)) || !(n > 0) ? null : A((e) => {
2680
2692
  e.setUTCFullYear(e.getUTCFullYear() + t * n);
2681
2693
  });
2682
2694
  Ot.range;
2683
- function Rl(n, e, t, s, r, a) {
2695
+ function Yl(n, e, t, s, r, a) {
2684
2696
  const i = [
2685
2697
  [Ut, 1, ht],
2686
2698
  [Ut, 5, 5 * ht],
@@ -2716,7 +2728,7 @@ function Rl(n, e, t, s, r, a) {
2716
2728
  }
2717
2729
  return [o, l];
2718
2730
  }
2719
- const [Ml, Ol] = Rl(mt, Is, Ln, Ne, Ns, _s);
2731
+ const [Al, Ll] = Yl(mt, Bs, Ln, Ne, Ns, _s);
2720
2732
  function jn(n) {
2721
2733
  if (0 <= n.y && n.y < 100) {
2722
2734
  var e = new Date(-1, n.m, n.d, n.H, n.M, n.S, n.L);
@@ -2734,106 +2746,106 @@ function Hn(n) {
2734
2746
  function te(n, e, t) {
2735
2747
  return { y: n, m: e, d: t, H: 0, M: 0, S: 0, L: 0 };
2736
2748
  }
2737
- function Dl(n) {
2749
+ function _l(n) {
2738
2750
  var e = n.dateTime, t = n.date, s = n.time, r = n.periods, a = n.days, i = n.shortDays, o = n.months, l = n.shortMonths, u = ee(r), h = ne(r), p = ee(a), m = ne(a), x = ee(i), b = ne(i), T = ee(o), C = ne(o), O = ee(l), N = ne(l), M = {
2739
2751
  a: Lt,
2740
2752
  A: _t,
2741
2753
  b: J,
2742
- B: Ka,
2754
+ B: Ja,
2743
2755
  c: null,
2744
2756
  d: hr,
2745
2757
  e: hr,
2746
- f: tc,
2747
- g: uc,
2748
- G: dc,
2749
- H: Kl,
2750
- I: Ql,
2751
- j: Jl,
2752
- L: Aa,
2753
- m: ec,
2754
- M: nc,
2755
- p: Qa,
2756
- q: Ja,
2758
+ f: rc,
2759
+ g: pc,
2760
+ G: mc,
2761
+ H: ec,
2762
+ I: nc,
2763
+ j: sc,
2764
+ L: _a,
2765
+ m: ac,
2766
+ M: ic,
2767
+ p: ti,
2768
+ q: ei,
2757
2769
  Q: pr,
2758
2770
  s: gr,
2759
- S: sc,
2760
- u: rc,
2761
- U: ac,
2762
- V: ic,
2763
- w: oc,
2764
- W: lc,
2771
+ S: oc,
2772
+ u: lc,
2773
+ U: cc,
2774
+ V: uc,
2775
+ w: hc,
2776
+ W: dc,
2765
2777
  x: null,
2766
2778
  X: null,
2767
- y: cc,
2768
- Y: hc,
2769
- Z: fc,
2779
+ y: fc,
2780
+ Y: gc,
2781
+ Z: yc,
2770
2782
  "%": fr
2771
2783
  }, L = {
2772
- a: ti,
2773
- A: ei,
2774
- b: ni,
2775
- B: si,
2784
+ a: ni,
2785
+ A: si,
2786
+ b: ri,
2787
+ B: ai,
2776
2788
  c: null,
2777
2789
  d: dr,
2778
2790
  e: dr,
2779
- f: yc,
2780
- g: Pc,
2781
- G: Mc,
2782
- H: pc,
2783
- I: gc,
2784
- j: mc,
2785
- L: _a,
2786
- m: wc,
2787
- M: xc,
2788
- p: ri,
2789
- q: ai,
2791
+ f: vc,
2792
+ g: Dc,
2793
+ G: Ac,
2794
+ H: wc,
2795
+ I: xc,
2796
+ j: bc,
2797
+ L: Ia,
2798
+ m: Tc,
2799
+ M: Sc,
2800
+ p: ii,
2801
+ q: oi,
2790
2802
  Q: pr,
2791
2803
  s: gr,
2792
- S: bc,
2793
- u: vc,
2794
- U: Tc,
2795
- V: Sc,
2796
- w: Ec,
2797
- W: Cc,
2804
+ S: Ec,
2805
+ u: Cc,
2806
+ U: kc,
2807
+ V: Pc,
2808
+ w: Rc,
2809
+ W: Mc,
2798
2810
  x: null,
2799
2811
  X: null,
2800
- y: kc,
2801
- Y: Rc,
2802
- Z: Oc,
2812
+ y: Oc,
2813
+ Y: Yc,
2814
+ Z: Lc,
2803
2815
  "%": fr
2804
- }, I = {
2805
- a: Be,
2816
+ }, B = {
2817
+ a: Ie,
2806
2818
  A: E,
2807
2819
  b: ct,
2808
2820
  B: q,
2809
2821
  c: bt,
2810
2822
  d: cr,
2811
2823
  e: cr,
2812
- f: Wl,
2824
+ f: Kl,
2813
2825
  g: lr,
2814
2826
  G: or,
2815
2827
  H: ur,
2816
2828
  I: ur,
2817
- j: zl,
2818
- L: Hl,
2819
- m: Fl,
2820
- M: ql,
2829
+ j: Wl,
2830
+ L: Vl,
2831
+ m: Hl,
2832
+ M: Xl,
2821
2833
  p: Nn,
2822
- q: Zl,
2823
- Q: Gl,
2824
- s: Vl,
2825
- S: jl,
2826
- u: Nl,
2827
- U: Bl,
2828
- V: Il,
2829
- w: _l,
2830
- W: Ul,
2831
- x: Ie,
2834
+ q: jl,
2835
+ Q: Jl,
2836
+ s: tc,
2837
+ S: Gl,
2838
+ u: $l,
2839
+ U: Zl,
2840
+ V: Fl,
2841
+ w: Ul,
2842
+ W: zl,
2843
+ x: Be,
2832
2844
  X: At,
2833
2845
  y: lr,
2834
2846
  Y: or,
2835
- Z: $l,
2836
- "%": Xl
2847
+ Z: ql,
2848
+ "%": Ql
2837
2849
  };
2838
2850
  M.x = v(t, M), M.X = v(s, M), M.c = v(e, M), L.x = v(t, L), L.X = v(s, L), L.c = v(e, L);
2839
2851
  function v(w, S) {
@@ -2852,7 +2864,7 @@ function Dl(n) {
2852
2864
  if ("s" in y) return new Date(y.s * 1e3 + ("L" in y ? y.L : 0));
2853
2865
  if (S && !("Z" in y) && (y.Z = 0), "p" in y && (y.H = y.H % 12 + y.p * 12), y.m === void 0 && (y.m = "q" in y ? y.q : 0), "V" in y) {
2854
2866
  if (y.V < 1 || y.V > 53) return null;
2855
- "w" in y || (y.w = 1), "Z" in y ? (D = Hn(te(y.y, 0, 1)), X = D.getUTCDay(), D = X > 4 || X === 0 ? mn.ceil(D) : mn(D), D = Bs.offset(D, (y.V - 1) * 7), y.y = D.getUTCFullYear(), y.m = D.getUTCMonth(), y.d = D.getUTCDate() + (y.w + 6) % 7) : (D = jn(te(y.y, 0, 1)), X = D.getDay(), D = X > 4 || X === 0 ? gn.ceil(D) : gn(D), D = Ne.offset(D, (y.V - 1) * 7), y.y = D.getFullYear(), y.m = D.getMonth(), y.d = D.getDate() + (y.w + 6) % 7);
2867
+ "w" in y || (y.w = 1), "Z" in y ? (D = Hn(te(y.y, 0, 1)), X = D.getUTCDay(), D = X > 4 || X === 0 ? mn.ceil(D) : mn(D), D = Is.offset(D, (y.V - 1) * 7), y.y = D.getUTCFullYear(), y.m = D.getUTCMonth(), y.d = D.getUTCDate() + (y.w + 6) % 7) : (D = jn(te(y.y, 0, 1)), X = D.getDay(), D = X > 4 || X === 0 ? gn.ceil(D) : gn(D), D = Ne.offset(D, (y.V - 1) * 7), y.y = D.getFullYear(), y.m = D.getMonth(), y.d = D.getDate() + (y.w + 6) % 7);
2856
2868
  } else ("W" in y || "U" in y) && ("w" in y || (y.w = "u" in y ? y.u % 7 : "W" in y ? 1 : 0), X = "Z" in y ? Hn(te(y.y, 0, 1)).getUTCDay() : jn(te(y.y, 0, 1)).getDay(), y.m = 0, y.d = "W" in y ? (y.w + 6) % 7 + y.W * 7 - (X + 5) % 7 : y.w + y.U * 7 - (X + 6) % 7);
2857
2869
  return "Z" in y ? (y.H += y.Z / 100 | 0, y.M += y.Z % 100, Hn(y)) : jn(y);
2858
2870
  };
@@ -2861,7 +2873,7 @@ function Dl(n) {
2861
2873
  for (var j = 0, D = S.length, X = k.length, G, Pt; j < D; ) {
2862
2874
  if (y >= X) return -1;
2863
2875
  if (G = S.charCodeAt(j++), G === 37) {
2864
- if (G = S.charAt(j++), Pt = I[G in ir ? S.charAt(j++) : G], !Pt || (y = Pt(w, k, y)) < 0) return -1;
2876
+ if (G = S.charAt(j++), Pt = B[G in ir ? S.charAt(j++) : G], !Pt || (y = Pt(w, k, y)) < 0) return -1;
2865
2877
  } else if (G != k.charCodeAt(y++))
2866
2878
  return -1;
2867
2879
  }
@@ -2871,7 +2883,7 @@ function Dl(n) {
2871
2883
  var y = u.exec(S.slice(k));
2872
2884
  return y ? (w.p = h.get(y[0].toLowerCase()), k + y[0].length) : -1;
2873
2885
  }
2874
- function Be(w, S, k) {
2886
+ function Ie(w, S, k) {
2875
2887
  var y = x.exec(S.slice(k));
2876
2888
  return y ? (w.w = b.get(y[0].toLowerCase()), k + y[0].length) : -1;
2877
2889
  }
@@ -2890,7 +2902,7 @@ function Dl(n) {
2890
2902
  function bt(w, S, k) {
2891
2903
  return kt(w, e, S, k);
2892
2904
  }
2893
- function Ie(w, S, k) {
2905
+ function Be(w, S, k) {
2894
2906
  return kt(w, t, S, k);
2895
2907
  }
2896
2908
  function At(w, S, k) {
@@ -2905,31 +2917,31 @@ function Dl(n) {
2905
2917
  function J(w) {
2906
2918
  return l[w.getMonth()];
2907
2919
  }
2908
- function Ka(w) {
2920
+ function Ja(w) {
2909
2921
  return o[w.getMonth()];
2910
2922
  }
2911
- function Qa(w) {
2923
+ function ti(w) {
2912
2924
  return r[+(w.getHours() >= 12)];
2913
2925
  }
2914
- function Ja(w) {
2926
+ function ei(w) {
2915
2927
  return 1 + ~~(w.getMonth() / 3);
2916
2928
  }
2917
- function ti(w) {
2929
+ function ni(w) {
2918
2930
  return i[w.getUTCDay()];
2919
2931
  }
2920
- function ei(w) {
2932
+ function si(w) {
2921
2933
  return a[w.getUTCDay()];
2922
2934
  }
2923
- function ni(w) {
2935
+ function ri(w) {
2924
2936
  return l[w.getUTCMonth()];
2925
2937
  }
2926
- function si(w) {
2938
+ function ai(w) {
2927
2939
  return o[w.getUTCMonth()];
2928
2940
  }
2929
- function ri(w) {
2941
+ function ii(w) {
2930
2942
  return r[+(w.getUTCHours() >= 12)];
2931
2943
  }
2932
- function ai(w) {
2944
+ function oi(w) {
2933
2945
  return 1 + ~~(w.getUTCMonth() / 3);
2934
2946
  }
2935
2947
  return {
@@ -2959,37 +2971,37 @@ function Dl(n) {
2959
2971
  }
2960
2972
  };
2961
2973
  }
2962
- var ir = { "-": "", _: " ", 0: "0" }, _ = /^\s*\d+/, Yl = /^%/, Al = /[\\^$*+?|[\]().{}]/g;
2974
+ var ir = { "-": "", _: " ", 0: "0" }, _ = /^\s*\d+/, Nl = /^%/, Il = /[\\^$*+?|[\]().{}]/g;
2963
2975
  function P(n, e, t) {
2964
2976
  var s = n < 0 ? "-" : "", r = (s ? -n : n) + "", a = r.length;
2965
2977
  return s + (a < t ? new Array(t - a + 1).join(e) + r : r);
2966
2978
  }
2967
- function Ll(n) {
2968
- return n.replace(Al, "\\$&");
2979
+ function Bl(n) {
2980
+ return n.replace(Il, "\\$&");
2969
2981
  }
2970
2982
  function ee(n) {
2971
- return new RegExp("^(?:" + n.map(Ll).join("|") + ")", "i");
2983
+ return new RegExp("^(?:" + n.map(Bl).join("|") + ")", "i");
2972
2984
  }
2973
2985
  function ne(n) {
2974
2986
  return new Map(n.map((e, t) => [e.toLowerCase(), t]));
2975
2987
  }
2976
- function _l(n, e, t) {
2988
+ function Ul(n, e, t) {
2977
2989
  var s = _.exec(e.slice(t, t + 1));
2978
2990
  return s ? (n.w = +s[0], t + s[0].length) : -1;
2979
2991
  }
2980
- function Nl(n, e, t) {
2992
+ function $l(n, e, t) {
2981
2993
  var s = _.exec(e.slice(t, t + 1));
2982
2994
  return s ? (n.u = +s[0], t + s[0].length) : -1;
2983
2995
  }
2984
- function Bl(n, e, t) {
2996
+ function Zl(n, e, t) {
2985
2997
  var s = _.exec(e.slice(t, t + 2));
2986
2998
  return s ? (n.U = +s[0], t + s[0].length) : -1;
2987
2999
  }
2988
- function Il(n, e, t) {
3000
+ function Fl(n, e, t) {
2989
3001
  var s = _.exec(e.slice(t, t + 2));
2990
3002
  return s ? (n.V = +s[0], t + s[0].length) : -1;
2991
3003
  }
2992
- function Ul(n, e, t) {
3004
+ function zl(n, e, t) {
2993
3005
  var s = _.exec(e.slice(t, t + 2));
2994
3006
  return s ? (n.W = +s[0], t + s[0].length) : -1;
2995
3007
  }
@@ -3001,15 +3013,15 @@ function lr(n, e, t) {
3001
3013
  var s = _.exec(e.slice(t, t + 2));
3002
3014
  return s ? (n.y = +s[0] + (+s[0] > 68 ? 1900 : 2e3), t + s[0].length) : -1;
3003
3015
  }
3004
- function $l(n, e, t) {
3016
+ function ql(n, e, t) {
3005
3017
  var s = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(t, t + 6));
3006
3018
  return s ? (n.Z = s[1] ? 0 : -(s[2] + (s[3] || "00")), t + s[0].length) : -1;
3007
3019
  }
3008
- function Zl(n, e, t) {
3020
+ function jl(n, e, t) {
3009
3021
  var s = _.exec(e.slice(t, t + 1));
3010
3022
  return s ? (n.q = s[0] * 3 - 3, t + s[0].length) : -1;
3011
3023
  }
3012
- function Fl(n, e, t) {
3024
+ function Hl(n, e, t) {
3013
3025
  var s = _.exec(e.slice(t, t + 2));
3014
3026
  return s ? (n.m = s[0] - 1, t + s[0].length) : -1;
3015
3027
  }
@@ -3017,7 +3029,7 @@ function cr(n, e, t) {
3017
3029
  var s = _.exec(e.slice(t, t + 2));
3018
3030
  return s ? (n.d = +s[0], t + s[0].length) : -1;
3019
3031
  }
3020
- function zl(n, e, t) {
3032
+ function Wl(n, e, t) {
3021
3033
  var s = _.exec(e.slice(t, t + 3));
3022
3034
  return s ? (n.m = 0, n.d = +s[0], t + s[0].length) : -1;
3023
3035
  }
@@ -3025,159 +3037,159 @@ function ur(n, e, t) {
3025
3037
  var s = _.exec(e.slice(t, t + 2));
3026
3038
  return s ? (n.H = +s[0], t + s[0].length) : -1;
3027
3039
  }
3028
- function ql(n, e, t) {
3040
+ function Xl(n, e, t) {
3029
3041
  var s = _.exec(e.slice(t, t + 2));
3030
3042
  return s ? (n.M = +s[0], t + s[0].length) : -1;
3031
3043
  }
3032
- function jl(n, e, t) {
3044
+ function Gl(n, e, t) {
3033
3045
  var s = _.exec(e.slice(t, t + 2));
3034
3046
  return s ? (n.S = +s[0], t + s[0].length) : -1;
3035
3047
  }
3036
- function Hl(n, e, t) {
3048
+ function Vl(n, e, t) {
3037
3049
  var s = _.exec(e.slice(t, t + 3));
3038
3050
  return s ? (n.L = +s[0], t + s[0].length) : -1;
3039
3051
  }
3040
- function Wl(n, e, t) {
3052
+ function Kl(n, e, t) {
3041
3053
  var s = _.exec(e.slice(t, t + 6));
3042
3054
  return s ? (n.L = Math.floor(s[0] / 1e3), t + s[0].length) : -1;
3043
3055
  }
3044
- function Xl(n, e, t) {
3045
- var s = Yl.exec(e.slice(t, t + 1));
3056
+ function Ql(n, e, t) {
3057
+ var s = Nl.exec(e.slice(t, t + 1));
3046
3058
  return s ? t + s[0].length : -1;
3047
3059
  }
3048
- function Gl(n, e, t) {
3060
+ function Jl(n, e, t) {
3049
3061
  var s = _.exec(e.slice(t));
3050
3062
  return s ? (n.Q = +s[0], t + s[0].length) : -1;
3051
3063
  }
3052
- function Vl(n, e, t) {
3064
+ function tc(n, e, t) {
3053
3065
  var s = _.exec(e.slice(t));
3054
3066
  return s ? (n.s = +s[0], t + s[0].length) : -1;
3055
3067
  }
3056
3068
  function hr(n, e) {
3057
3069
  return P(n.getDate(), e, 2);
3058
3070
  }
3059
- function Kl(n, e) {
3071
+ function ec(n, e) {
3060
3072
  return P(n.getHours(), e, 2);
3061
3073
  }
3062
- function Ql(n, e) {
3074
+ function nc(n, e) {
3063
3075
  return P(n.getHours() % 12 || 12, e, 2);
3064
3076
  }
3065
- function Jl(n, e) {
3077
+ function sc(n, e) {
3066
3078
  return P(1 + Ne.count(mt(n), n), e, 3);
3067
3079
  }
3068
- function Aa(n, e) {
3080
+ function _a(n, e) {
3069
3081
  return P(n.getMilliseconds(), e, 3);
3070
3082
  }
3071
- function tc(n, e) {
3072
- return Aa(n, e) + "000";
3083
+ function rc(n, e) {
3084
+ return _a(n, e) + "000";
3073
3085
  }
3074
- function ec(n, e) {
3086
+ function ac(n, e) {
3075
3087
  return P(n.getMonth() + 1, e, 2);
3076
3088
  }
3077
- function nc(n, e) {
3089
+ function ic(n, e) {
3078
3090
  return P(n.getMinutes(), e, 2);
3079
3091
  }
3080
- function sc(n, e) {
3092
+ function oc(n, e) {
3081
3093
  return P(n.getSeconds(), e, 2);
3082
3094
  }
3083
- function rc(n) {
3095
+ function lc(n) {
3084
3096
  var e = n.getDay();
3085
3097
  return e === 0 ? 7 : e;
3086
3098
  }
3087
- function ac(n, e) {
3099
+ function cc(n, e) {
3088
3100
  return P(Ln.count(mt(n) - 1, n), e, 2);
3089
3101
  }
3090
- function La(n) {
3102
+ function Na(n) {
3091
3103
  var e = n.getDay();
3092
3104
  return e >= 4 || e === 0 ? Kt(n) : Kt.ceil(n);
3093
3105
  }
3094
- function ic(n, e) {
3095
- return n = La(n), P(Kt.count(mt(n), n) + (mt(n).getDay() === 4), e, 2);
3106
+ function uc(n, e) {
3107
+ return n = Na(n), P(Kt.count(mt(n), n) + (mt(n).getDay() === 4), e, 2);
3096
3108
  }
3097
- function oc(n) {
3109
+ function hc(n) {
3098
3110
  return n.getDay();
3099
3111
  }
3100
- function lc(n, e) {
3112
+ function dc(n, e) {
3101
3113
  return P(gn.count(mt(n) - 1, n), e, 2);
3102
3114
  }
3103
- function cc(n, e) {
3115
+ function fc(n, e) {
3104
3116
  return P(n.getFullYear() % 100, e, 2);
3105
3117
  }
3106
- function uc(n, e) {
3107
- return n = La(n), P(n.getFullYear() % 100, e, 2);
3118
+ function pc(n, e) {
3119
+ return n = Na(n), P(n.getFullYear() % 100, e, 2);
3108
3120
  }
3109
- function hc(n, e) {
3121
+ function gc(n, e) {
3110
3122
  return P(n.getFullYear() % 1e4, e, 4);
3111
3123
  }
3112
- function dc(n, e) {
3124
+ function mc(n, e) {
3113
3125
  var t = n.getDay();
3114
3126
  return n = t >= 4 || t === 0 ? Kt(n) : Kt.ceil(n), P(n.getFullYear() % 1e4, e, 4);
3115
3127
  }
3116
- function fc(n) {
3128
+ function yc(n) {
3117
3129
  var e = n.getTimezoneOffset();
3118
3130
  return (e > 0 ? "-" : (e *= -1, "+")) + P(e / 60 | 0, "0", 2) + P(e % 60, "0", 2);
3119
3131
  }
3120
3132
  function dr(n, e) {
3121
3133
  return P(n.getUTCDate(), e, 2);
3122
3134
  }
3123
- function pc(n, e) {
3135
+ function wc(n, e) {
3124
3136
  return P(n.getUTCHours(), e, 2);
3125
3137
  }
3126
- function gc(n, e) {
3138
+ function xc(n, e) {
3127
3139
  return P(n.getUTCHours() % 12 || 12, e, 2);
3128
3140
  }
3129
- function mc(n, e) {
3130
- return P(1 + Bs.count(Ot(n), n), e, 3);
3141
+ function bc(n, e) {
3142
+ return P(1 + Is.count(Ot(n), n), e, 3);
3131
3143
  }
3132
- function _a(n, e) {
3144
+ function Ia(n, e) {
3133
3145
  return P(n.getUTCMilliseconds(), e, 3);
3134
3146
  }
3135
- function yc(n, e) {
3136
- return _a(n, e) + "000";
3147
+ function vc(n, e) {
3148
+ return Ia(n, e) + "000";
3137
3149
  }
3138
- function wc(n, e) {
3150
+ function Tc(n, e) {
3139
3151
  return P(n.getUTCMonth() + 1, e, 2);
3140
3152
  }
3141
- function xc(n, e) {
3153
+ function Sc(n, e) {
3142
3154
  return P(n.getUTCMinutes(), e, 2);
3143
3155
  }
3144
- function bc(n, e) {
3156
+ function Ec(n, e) {
3145
3157
  return P(n.getUTCSeconds(), e, 2);
3146
3158
  }
3147
- function vc(n) {
3159
+ function Cc(n) {
3148
3160
  var e = n.getUTCDay();
3149
3161
  return e === 0 ? 7 : e;
3150
3162
  }
3151
- function Tc(n, e) {
3152
- return P(Ya.count(Ot(n) - 1, n), e, 2);
3163
+ function kc(n, e) {
3164
+ return P(La.count(Ot(n) - 1, n), e, 2);
3153
3165
  }
3154
- function Na(n) {
3166
+ function Ba(n) {
3155
3167
  var e = n.getUTCDay();
3156
3168
  return e >= 4 || e === 0 ? Qt(n) : Qt.ceil(n);
3157
3169
  }
3158
- function Sc(n, e) {
3159
- return n = Na(n), P(Qt.count(Ot(n), n) + (Ot(n).getUTCDay() === 4), e, 2);
3170
+ function Pc(n, e) {
3171
+ return n = Ba(n), P(Qt.count(Ot(n), n) + (Ot(n).getUTCDay() === 4), e, 2);
3160
3172
  }
3161
- function Ec(n) {
3173
+ function Rc(n) {
3162
3174
  return n.getUTCDay();
3163
3175
  }
3164
- function Cc(n, e) {
3176
+ function Mc(n, e) {
3165
3177
  return P(mn.count(Ot(n) - 1, n), e, 2);
3166
3178
  }
3167
- function kc(n, e) {
3179
+ function Oc(n, e) {
3168
3180
  return P(n.getUTCFullYear() % 100, e, 2);
3169
3181
  }
3170
- function Pc(n, e) {
3171
- return n = Na(n), P(n.getUTCFullYear() % 100, e, 2);
3182
+ function Dc(n, e) {
3183
+ return n = Ba(n), P(n.getUTCFullYear() % 100, e, 2);
3172
3184
  }
3173
- function Rc(n, e) {
3185
+ function Yc(n, e) {
3174
3186
  return P(n.getUTCFullYear() % 1e4, e, 4);
3175
3187
  }
3176
- function Mc(n, e) {
3188
+ function Ac(n, e) {
3177
3189
  var t = n.getUTCDay();
3178
3190
  return n = t >= 4 || t === 0 ? Qt(n) : Qt.ceil(n), P(n.getUTCFullYear() % 1e4, e, 4);
3179
3191
  }
3180
- function Oc() {
3192
+ function Lc() {
3181
3193
  return "+0000";
3182
3194
  }
3183
3195
  function fr() {
@@ -3189,8 +3201,8 @@ function pr(n) {
3189
3201
  function gr(n) {
3190
3202
  return Math.floor(+n / 1e3);
3191
3203
  }
3192
- var Nt, Ba;
3193
- Dc({
3204
+ var Nt, Ua;
3205
+ _c({
3194
3206
  dateTime: "%x, %X",
3195
3207
  date: "%-m/%-d/%Y",
3196
3208
  time: "%-I:%M:%S %p",
@@ -3200,47 +3212,47 @@ Dc({
3200
3212
  months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3201
3213
  shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
3202
3214
  });
3203
- function Dc(n) {
3204
- return Nt = Dl(n), Ba = Nt.format, Nt.parse, Nt.utcFormat, Nt.utcParse, Nt;
3215
+ function _c(n) {
3216
+ return Nt = _l(n), Ua = Nt.format, Nt.parse, Nt.utcFormat, Nt.utcParse, Nt;
3205
3217
  }
3206
- function Yc(n) {
3218
+ function Nc(n) {
3207
3219
  return new Date(n);
3208
3220
  }
3209
- function Ac(n) {
3221
+ function Ic(n) {
3210
3222
  return n instanceof Date ? +n : +/* @__PURE__ */ new Date(+n);
3211
3223
  }
3212
- function Ia(n, e, t, s, r, a, i, o, l, u) {
3213
- var h = Pa(), p = h.invert, m = h.domain, x = u(".%L"), b = u(":%S"), T = u("%I:%M"), C = u("%I %p"), O = u("%a %d"), N = u("%b %d"), M = u("%B"), L = u("%Y");
3214
- function I(v) {
3224
+ function $a(n, e, t, s, r, a, i, o, l, u) {
3225
+ var h = Ma(), p = h.invert, m = h.domain, x = u(".%L"), b = u(":%S"), T = u("%I:%M"), C = u("%I %p"), O = u("%a %d"), N = u("%b %d"), M = u("%B"), L = u("%Y");
3226
+ function B(v) {
3215
3227
  return (l(v) < v ? x : o(v) < v ? b : i(v) < v ? T : a(v) < v ? C : s(v) < v ? r(v) < v ? O : N : t(v) < v ? M : L)(v);
3216
3228
  }
3217
3229
  return h.invert = function(v) {
3218
3230
  return new Date(p(v));
3219
3231
  }, h.domain = function(v) {
3220
- return arguments.length ? m(Array.from(v, Ac)) : m().map(Yc);
3232
+ return arguments.length ? m(Array.from(v, Ic)) : m().map(Nc);
3221
3233
  }, h.ticks = function(v) {
3222
3234
  var U = m();
3223
3235
  return n(U[0], U[U.length - 1], v ?? 10);
3224
3236
  }, h.tickFormat = function(v, U) {
3225
- return U == null ? I : u(U);
3237
+ return U == null ? B : u(U);
3226
3238
  }, h.nice = function(v) {
3227
3239
  var U = m();
3228
- return (!v || typeof v.range != "function") && (v = e(U[0], U[U.length - 1], v ?? 10)), v ? m(gl(U, v)) : h;
3240
+ return (!v || typeof v.range != "function") && (v = e(U[0], U[U.length - 1], v ?? 10)), v ? m(xl(U, v)) : h;
3229
3241
  }, h.copy = function() {
3230
- return ka(h, Ia(n, e, t, s, r, a, i, o, l, u));
3242
+ return Ra(h, $a(n, e, t, s, r, a, i, o, l, u));
3231
3243
  }, h;
3232
3244
  }
3233
- function Lc() {
3234
- return Ta.apply(Ia(Ml, Ol, mt, Is, Ln, Ne, Ns, _s, Ut, Ba).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
3245
+ function Bc() {
3246
+ return Ea.apply($a(Al, Ll, mt, Bs, Ln, Ne, Ns, _s, Ut, Ua).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
3235
3247
  }
3236
- const Ua = d.enum(["linear", "time"]), $a = d.object({
3248
+ const Za = d.enum(["linear", "time"]), Fa = d.object({
3237
3249
  tickSpacing: d.number().default(75),
3238
- type: Ua.optional().default("linear")
3250
+ type: Za.optional().default("linear")
3239
3251
  }), mr = (n) => {
3240
- const e = $a.parse(n);
3241
- return Bc[e.type](e);
3252
+ const e = Fa.parse(n);
3253
+ return Zc[e.type](e);
3242
3254
  };
3243
- class _c {
3255
+ class Uc {
3244
3256
  constructor(e) {
3245
3257
  c(this, "props");
3246
3258
  this.props = e;
@@ -3249,8 +3261,8 @@ class _c {
3249
3261
  const s = [0, t], r = [
3250
3262
  new F(e.pos(0)).date(),
3251
3263
  new F(e.pos(1)).date()
3252
- ], a = Lc().domain(r).range(s);
3253
- return a.ticks(Za(t, this.props.tickSpacing)).map((o) => ({
3264
+ ], a = Bc().domain(r).range(s);
3265
+ return a.ticks(za(t, this.props.tickSpacing)).map((o) => ({
3254
3266
  label: this.tickLabel(o),
3255
3267
  position: a(o)
3256
3268
  }));
@@ -3265,13 +3277,13 @@ class _c {
3265
3277
  return t.getSeconds() === 0 && t.getMilliseconds() === 0 && (s = `${t.getHours()}:${t.getMinutes().toString().padStart(2, "0")}`), s;
3266
3278
  }
3267
3279
  }
3268
- class Nc {
3280
+ class $c {
3269
3281
  constructor(e) {
3270
3282
  c(this, "props");
3271
3283
  this.props = e;
3272
3284
  }
3273
3285
  generate({ decimalToDataScale: e, size: t }) {
3274
- const s = [0, t], r = [e.pos(0), e.pos(1)], a = Da().domain(r).range(s), i = Za(t, this.props.tickSpacing);
3286
+ const s = [0, t], r = [e.pos(0), e.pos(1)], a = Aa().domain(r).range(s), i = za(t, this.props.tickSpacing);
3275
3287
  return a.ticks(i).map((l) => ({
3276
3288
  label: this.tickLabel(l),
3277
3289
  position: a(l)
@@ -3281,21 +3293,21 @@ class Nc {
3281
3293
  return e.toString();
3282
3294
  }
3283
3295
  }
3284
- const Za = (n, e) => {
3296
+ const za = (n, e) => {
3285
3297
  const t = Math.floor(n / e);
3286
3298
  return t > 0 ? t : 1;
3287
- }, Bc = {
3288
- linear: (n) => new Nc(n),
3289
- time: (n) => new _c(n)
3290
- }, Fa = $a.extend({
3299
+ }, Zc = {
3300
+ linear: (n) => new $c(n),
3301
+ time: (n) => new Uc(n)
3302
+ }, qa = Fa.extend({
3291
3303
  color: Y.z,
3292
- type: Ua.optional().default("linear"),
3304
+ type: Za.optional().default("linear"),
3293
3305
  font: d.string(),
3294
3306
  showGrid: d.boolean().optional().default(!0),
3295
3307
  location: Tt.outer,
3296
3308
  gridColor: Y.z
3297
3309
  }), rt = 4;
3298
- let Ic = class {
3310
+ let Fc = class {
3299
3311
  constructor(e, t) {
3300
3312
  c(this, "ctx");
3301
3313
  c(this, "state");
@@ -3303,7 +3315,7 @@ let Ic = class {
3303
3315
  this.ctx = e, this.state = t, this.tickFactory = mr(this.state);
3304
3316
  }
3305
3317
  setState(e) {
3306
- this.state = fi(Fa, e), this.tickFactory = mr(e);
3318
+ this.state = gi(qa, e), this.tickFactory = mr(e);
3307
3319
  }
3308
3320
  render(e) {
3309
3321
  const { lower2d: t } = this.ctx;
@@ -3398,7 +3410,7 @@ const je = (n, e) => f.construct(
3398
3410
  f.height(n) + e.y * 2
3399
3411
  );
3400
3412
  class yn {
3401
- constructor(e, t = B.XY.IDENTITY) {
3413
+ constructor(e, t = I.XY.IDENTITY) {
3402
3414
  c(this, "scale_");
3403
3415
  c(this, "wrapped");
3404
3416
  this.wrapped = e, this.scale_ = t;
@@ -3781,18 +3793,18 @@ const yr = /(\d+(\.\d+)?)px/, Wn = (n, e) => {
3781
3793
  if (t == null) return n;
3782
3794
  const s = e.dim(t);
3783
3795
  return n.replace(yr, `${s}px`);
3784
- }, Uc = `precision mediump float;
3796
+ }, zc = `precision mediump float;
3785
3797
 
3786
3798
  void main(void) {
3787
3799
  gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
3788
3800
  }
3789
- `, $c = `attribute vec4 a_position;
3801
+ `, qc = `attribute vec4 a_position;
3790
3802
 
3791
3803
  void main(void) {
3792
3804
  gl_Position = a_position;
3793
3805
  }
3794
- `, wr = (n) => new Error(`failed to compile webgl program: ${n}`), Zc = new Error("null shader encountered");
3795
- class za {
3806
+ `, wr = (n) => new Error(`failed to compile webgl program: ${n}`), jc = new Error("null shader encountered");
3807
+ class ja {
3796
3808
  /**
3797
3809
  * @constructor compiles the given vertex and fragment shaders under the given
3798
3810
  * render context into a program.
@@ -3851,7 +3863,7 @@ class za {
3851
3863
  }
3852
3864
  compileShader(e, t) {
3853
3865
  const s = this.ctx.gl, r = s.createShader(t);
3854
- if (r == null) throw Zc;
3866
+ if (r == null) throw jc;
3855
3867
  if (s.shaderSource(r, e), s.compileShader(r), !s.getShaderParameter(r, s.COMPILE_STATUS)) {
3856
3868
  const i = s.getShaderInfoLog(r);
3857
3869
  throw s.deleteShader(r), wr(i ?? "unknown");
@@ -3859,14 +3871,14 @@ class za {
3859
3871
  s.attachShader(this.prog, r);
3860
3872
  }
3861
3873
  }
3862
- const Fc = new Float32Array([0, 0, 0, 0, 0, 0]);
3863
- class zc extends za {
3874
+ const Hc = new Float32Array([0, 0, 0, 0, 0, 0]);
3875
+ class Wc extends ja {
3864
3876
  constructor(t) {
3865
- super(t, $c, Uc);
3877
+ super(t, qc, zc);
3866
3878
  c(this, "positionBuffer");
3867
3879
  const s = t.gl.createBuffer();
3868
3880
  if (s == null) throw new pt("webgl: failed to create buffer");
3869
- this.positionBuffer = s, t.gl.bindBuffer(t.gl.ARRAY_BUFFER, this.positionBuffer), t.gl.bufferData(t.gl.ARRAY_BUFFER, Fc, t.gl.STATIC_DRAW);
3881
+ this.positionBuffer = s, t.gl.bindBuffer(t.gl.ARRAY_BUFFER, this.positionBuffer), t.gl.bufferData(t.gl.ARRAY_BUFFER, Hc, t.gl.STATIC_DRAW);
3870
3882
  }
3871
3883
  exec() {
3872
3884
  const { gl: t } = this.ctx, s = t.getAttribLocation(this.prog, "a_position");
@@ -3875,8 +3887,8 @@ class zc extends za {
3875
3887
  t.bindVertexArray(r), t.enableVertexAttribArray(s), t.vertexAttribPointer(s, 2, t.FLOAT, !1, 0, 0), this.setAsActive(), t.drawArrays(t.TRIANGLES, 0, 3);
3876
3888
  }
3877
3889
  }
3878
- const xr = { high: 1, low: 0 }, br = Pr.hz(45);
3879
- class qc {
3890
+ const xr = { high: 1, low: 0 }, br = Rr.hz(45);
3891
+ class Xc {
3880
3892
  constructor(e) {
3881
3893
  /** To lock things so renders don't collide */
3882
3894
  c(this, "mutex", new ms());
@@ -3901,8 +3913,7 @@ class qc {
3901
3913
  let t;
3902
3914
  e.priority === "high" && (t = await this.mutex.acquire());
3903
3915
  const s = this.requests.get(e.key);
3904
- if (s == null)
3905
- this.requests.set(e.key, e);
3916
+ if (s == null) this.requests.set(e.key, e);
3906
3917
  else {
3907
3918
  const r = xr[e.priority] >= xr[s.priority], a = e.canvases.length >= s.canvases.length;
3908
3919
  r && a && this.requests.set(e.key, e);
@@ -3996,7 +4007,7 @@ let z = (et = class {
3996
4007
  const u = () => {
3997
4008
  this.gl.flush(), this.gl.finish();
3998
4009
  };
3999
- this.loop = new qc(u), this.region = f.ZERO, this.dpr = 1, this.os === "Windows" && (this.clearProgram = new zc(this));
4010
+ this.loop = new Xc(u), this.region = f.ZERO, this.dpr = 1, this.os === "Windows" && (this.clearProgram = new Wc(this));
4000
4011
  }
4001
4012
  static create(e, t, s, r, a) {
4002
4013
  const i = new et(t, s, r, a);
@@ -4031,11 +4042,11 @@ let z = (et = class {
4031
4042
  * in the canvas.
4032
4043
  */
4033
4044
  scaleRegion(e) {
4034
- return new B.XY(
4045
+ return new I.XY(
4035
4046
  // Accept a value in decimal.
4036
- B.Scale.scale(0, 1).scale(f.width(e)).translate(f.left(e)).reBound(f.width(this.region)).scale(-1, 1),
4047
+ I.Scale.scale(0, 1).scale(f.width(e)).translate(f.left(e)).reBound(f.width(this.region)).scale(-1, 1),
4037
4048
  // Accept a value in decimal.
4038
- B.Scale.scale(0, 1).scale(f.height(e)).invert().translate(f.top(e)).reBound(f.height(this.region)).scale(-1, 1).invert()
4049
+ I.Scale.scale(0, 1).scale(f.height(e)).invert().translate(f.top(e)).reBound(f.height(this.region)).scale(-1, 1).invert()
4039
4050
  );
4040
4051
  }
4041
4052
  scissor(e, t = g.ZERO, s) {
@@ -4062,7 +4073,7 @@ let z = (et = class {
4062
4073
  const r = je(t, s);
4063
4074
  e.clearRect(...g.couple(f.topLeft(r)), ...Ge.couple(f.dims(r)));
4064
4075
  }
4065
- }, c(et, "CONTEXT_KEY", vi.B("render-context")), et);
4076
+ }, c(et, "CONTEXT_KEY", Si.B("render-context")), et);
4066
4077
  const yt = "layout", vr = "data", St = "tool";
4067
4078
  var ot;
4068
4079
  let W = (ot = class {
@@ -4083,7 +4094,7 @@ let W = (ot = class {
4083
4094
  static requestRender(e, t) {
4084
4095
  this.useRequest(e)(t);
4085
4096
  }
4086
- }, c(ot, "CONTEXT_KEY", "pluto-vis-renderer"), ot), jc = class {
4097
+ }, c(ot, "CONTEXT_KEY", "pluto-vis-renderer"), ot), Gc = class {
4087
4098
  constructor() {
4088
4099
  c(this, "prevErase", f.ZERO);
4089
4100
  }
@@ -4091,7 +4102,7 @@ let W = (ot = class {
4091
4102
  !f.equals(s, t) && !f.equals(this.prevErase, s) ? (e.erase(s, r, ...a), this.prevErase = s) : e.erase(t, r, ...a);
4092
4103
  }
4093
4104
  };
4094
- const _n = Fa.extend({
4105
+ const _n = qa.extend({
4095
4106
  bounds: R.bounds.optional(),
4096
4107
  autoBounds: d.object({
4097
4108
  lower: d.boolean().optional().default(!0),
@@ -4102,35 +4113,35 @@ const _n = Fa.extend({
4102
4113
  size: d.number().optional().default(0),
4103
4114
  label: d.string().optional().default(""),
4104
4115
  labelSize: d.number().optional().default(0)
4105
- }).partial({ color: !0, font: !0, gridColor: !0 }), Hc = 2, Wc = 7, Xc = (n, e) => R.contains(
4116
+ }).partial({ color: !0, font: !0, gridColor: !0 }), Vc = 2, Kc = 7, Qc = (n, e) => R.contains(
4106
4117
  {
4107
- lower: n - Wc,
4108
- upper: n + Hc
4118
+ lower: n - Kc,
4119
+ upper: n + Vc
4109
4120
  },
4110
4121
  e
4111
- ), Gc = R.DECIMAL, Tr = F.now(), Vc = {
4122
+ ), Jc = R.DECIMAL, Tr = F.now(), tu = {
4112
4123
  lower: Number(Tr.valueOf()),
4113
4124
  upper: Number(Tr.add($.HOUR).valueOf())
4114
- }, qa = (n) => n === "linear" ? Gc : Vc, Kc = (n, e = 0.1, t) => {
4125
+ }, Ha = (n) => n === "linear" ? Jc : tu, eu = (n, e = 0.1, t) => {
4115
4126
  const s = R.max(n.filter(R.isFinite));
4116
- if (!R.isFinite(s)) return qa(t);
4127
+ if (!R.isFinite(s)) return Ha(t);
4117
4128
  const { lower: r, upper: a } = s;
4118
4129
  if (a === r) return { lower: r - 1, upper: a + 1 };
4119
4130
  const i = (a - r) * e;
4120
4131
  return { lower: r - i, upper: a + i };
4121
- }, Qc = 0.01, Jc = 0.1;
4122
- class ja extends wt {
4132
+ }, nu = 0.01, su = 0.1;
4133
+ class Wa extends wt {
4123
4134
  async afterUpdate() {
4124
- var t;
4135
+ var t, s;
4125
4136
  this.internal.render = z.use(this.ctx);
4126
4137
  const e = xt(this.ctx);
4127
- (t = this.state).autoBoundPadding ?? (t.autoBoundPadding = at.construct(this.state.location) === "x" ? Jc : Qc), this.internal.core = new Ic(this.internal.render, {
4138
+ (t = this.state).autoBoundPadding ?? (t.autoBoundPadding = at.construct(this.state.location) === "x" ? su : nu), this.internal.core = new Fc(this.internal.render, {
4128
4139
  color: e.colors.gray.l8,
4129
4140
  font: re(e, { level: "small" }),
4130
4141
  gridColor: e.colors.gray.l1,
4131
4142
  ...this.state
4132
- }), W.requestRender(this.ctx, yt), this.internal.updateBounds == null && (this.internal.updateBounds = pi(
4133
- (s) => this.setState((r) => ({ ...r, bounds: s })),
4143
+ }), W.requestRender(this.ctx, yt), (s = this.internal).updateBounds ?? (s.updateBounds = mi(
4144
+ (r) => this.setState((a) => ({ ...a, bounds: r })),
4134
4145
  this.state.autoBoundUpdateInterval.milliseconds
4135
4146
  ));
4136
4147
  }
@@ -4139,19 +4150,19 @@ class ja extends wt {
4139
4150
  }
4140
4151
  renderAxis(e, t) {
4141
4152
  if (!e.canvases.includes("lower2d")) return;
4142
- const { core: s } = this.internal, { grid: r, container: a } = e, i = go(`${this.type}-${this.key}`, r, a), o = {
4153
+ const { core: s } = this.internal, { grid: r, container: a } = e, i = xo(`${this.type}-${this.key}`, r, a), o = {
4143
4154
  ...e,
4144
4155
  position: i,
4145
4156
  decimalToDataScale: t,
4146
4157
  size: this.state.size + this.state.labelSize
4147
4158
  }, { size: l } = s.render(o);
4148
- Xc(this.state.size, l) || this.setState((u) => ({ ...u, size: l }));
4159
+ Qc(this.state.size, l) || this.setState((u) => ({ ...u, size: l }));
4149
4160
  }
4150
4161
  async bounds(e, t) {
4151
4162
  var u, h;
4152
4163
  if (e && this.internal.boundSnapshot != null)
4153
4164
  return [this.internal.boundSnapshot, null];
4154
- const { lower: s, upper: r } = tu(this.state.autoBounds);
4165
+ const { lower: s, upper: r } = ru(this.state.autoBounds);
4155
4166
  if (!s && !r && this.state.bounds != null)
4156
4167
  return this.internal.boundSnapshot = this.state.bounds, [this.state.bounds, null];
4157
4168
  const a = (p) => ({
@@ -4161,9 +4172,9 @@ class ja extends wt {
4161
4172
  let i, o = null;
4162
4173
  try {
4163
4174
  const p = await t();
4164
- i = Kc(p, this.state.autoBoundPadding, this.state.type);
4175
+ i = eu(p, this.state.autoBoundPadding, this.state.type);
4165
4176
  } catch (p) {
4166
- i = qa(this.state.type), o = p;
4177
+ i = Ha(this.state.type), o = p;
4167
4178
  }
4168
4179
  const l = a(i);
4169
4180
  return this.internal.boundSnapshot = l, (this.state.bounds == null || s && this.state.bounds.lower !== l.lower || r && this.state.bounds.upper !== l.upper) && ((h = (u = this.internal).updateBounds) == null || h.call(u, l)), [l, o];
@@ -4171,21 +4182,21 @@ class ja extends wt {
4171
4182
  async dataToDecimalScale(e, t, s) {
4172
4183
  const [r, a] = await this.bounds(e, t), i = at.swap(at.construct(this.state.location));
4173
4184
  return [
4174
- B.Scale.scale(r).scale(1).translate(-f.root(s)[i]).magnify(1 / f.dim(s, i)),
4185
+ I.Scale.scale(r).scale(1).translate(-f.root(s)[i]).magnify(1 / f.dim(s, i)),
4175
4186
  a
4176
4187
  ];
4177
4188
  }
4178
4189
  }
4179
- const tu = (n) => typeof n == "boolean" ? { lower: n, upper: n } : {
4190
+ const ru = (n) => typeof n == "boolean" ? { lower: n, upper: n } : {
4180
4191
  lower: (n == null ? void 0 : n.lower) ?? !0,
4181
4192
  upper: (n == null ? void 0 : n.upper) ?? !0
4182
- }, eu = `precision lowp float;
4193
+ }, au = `precision lowp float;
4183
4194
  uniform lowp vec4 u_color;
4184
4195
 
4185
4196
  void main(void) {
4186
4197
  gl_FragColor = u_color;
4187
4198
  }
4188
- `, nu = `attribute float a_x;
4199
+ `, iu = `attribute float a_x;
4189
4200
  attribute float a_y;
4190
4201
  attribute lowp vec2 a_translate;
4191
4202
 
@@ -4197,18 +4208,18 @@ void main(void) {
4197
4208
  transformed = transformed + a_translate;
4198
4209
  gl_Position = vec4(transformed, 0.0, 1.0);
4199
4210
  }
4200
- `, Sr = nt.FLOAT32.density.valueOf(), su = d.object({
4211
+ `, Sr = nt.FLOAT32.density.valueOf(), ou = d.object({
4201
4212
  x: rn,
4202
4213
  y: rn,
4203
4214
  label: d.string().optional(),
4204
4215
  color: Y.z,
4205
4216
  strokeWidth: d.number().default(1),
4206
4217
  downsample: d.number().min(1).max(50).optional().default(1)
4207
- }), ru = (n, e, t) => n === -1 || e === -1 || n >= t.length ? NaN : Number(t[n].at(e)), au = $.milliseconds(2);
4218
+ }), lu = (n, e, t) => n === -1 || e === -1 || n >= t.length ? NaN : Number(t[n].at(e)), cu = $.milliseconds(2);
4208
4219
  g.NAN, g.NAN, V;
4209
- const Zt = class Zt extends za {
4220
+ const Zt = class Zt extends ja {
4210
4221
  constructor(t) {
4211
- super(t, nu, eu);
4222
+ super(t, iu, au);
4212
4223
  c(this, "translationBufferCache", /* @__PURE__ */ new Map());
4213
4224
  this.translationBufferCache = /* @__PURE__ */ new Map();
4214
4225
  }
@@ -4253,7 +4264,7 @@ const Zt = class Zt extends za {
4253
4264
  const i = s.createBuffer();
4254
4265
  if (i == null)
4255
4266
  throw new pt("Failed to create buffer from WebGL context");
4256
- const o = ou(this.ctx.aspect, t);
4267
+ const o = hu(this.ctx.aspect, t);
4257
4268
  s.bindBuffer(s.ARRAY_BUFFER, i), s.bufferData(s.ARRAY_BUFFER, o, s.DYNAMIC_DRAW);
4258
4269
  const l = { glBuffer: i, jsBuffer: o };
4259
4270
  return this.translationBufferCache.set(r, l), l;
@@ -4276,7 +4287,7 @@ let wn = Zt;
4276
4287
  class xn extends Z {
4277
4288
  constructor() {
4278
4289
  super(...arguments);
4279
- c(this, "schema", su);
4290
+ c(this, "schema", ou);
4280
4291
  }
4281
4292
  async afterUpdate() {
4282
4293
  var s, r;
@@ -4315,7 +4326,7 @@ class xn extends Z {
4315
4326
  };
4316
4327
  if (o === -1 || l === -1) return m;
4317
4328
  const x = i[l];
4318
- m.value.x = ru(l, o, i);
4329
+ m.value.x = lu(l, o, i);
4319
4330
  const [, b] = await a.value(), T = b.find(
4320
4331
  (O) => R.contains(O.alignmentBounds, x.alignment + BigInt(o))
4321
4332
  );
@@ -4330,35 +4341,35 @@ class xn extends Z {
4330
4341
  if (this.deleted) return;
4331
4342
  const { downsample: s } = this.state, { xTelem: r, yTelem: a, prog: i } = this.internal, { dataToDecimalScale: o, exposure: l } = t, [[, u], [, h]] = await Promise.all([r.value(), a.value()]);
4332
4343
  u.forEach((T) => T.updateGLBuffer(i.ctx.gl)), h.forEach((T) => T.updateGLBuffer(i.ctx.gl));
4333
- const p = du(
4344
+ const p = mu(
4334
4345
  u,
4335
4346
  h,
4336
4347
  l,
4337
4348
  s,
4338
- au
4349
+ cu
4339
4350
  );
4340
4351
  this.internal.instrumentation.L.debug("render", () => ({
4341
4352
  key: this.key,
4342
4353
  downsample: s,
4343
- scale: B.xyScaleToTransform(o),
4354
+ scale: I.xyScaleToTransform(o),
4344
4355
  props: t.region,
4345
- ops: fu(p)
4356
+ ops: yu(p)
4346
4357
  }));
4347
- const m = i.setAsActive(), x = i.bindState(this.state), b = B.xyScaleToTransform(
4358
+ const m = i.setAsActive(), x = i.bindState(this.state), b = I.xyScaleToTransform(
4348
4359
  i.ctx.scaleRegion(t.region)
4349
4360
  );
4350
4361
  p.forEach((T) => {
4351
- const C = B.xyScaleToTransform(
4352
- hu(o, T)
4362
+ const C = I.xyScaleToTransform(
4363
+ gu(o, T)
4353
4364
  );
4354
4365
  i.bindScale(C, b), i.draw(T, x);
4355
4366
  }), m();
4356
4367
  }
4357
4368
  }
4358
4369
  c(xn, "TYPE", "line");
4359
- const iu = 5e3, ou = (n, e) => uu(cu(n), e).map(
4360
- (t, s) => Math.floor(s / lu) * (1 / (iu * n)) * t
4361
- ), lu = 5, cu = (n) => (
4370
+ const uu = 5e3, hu = (n, e) => pu(fu(n), e).map(
4371
+ (t, s) => Math.floor(s / du) * (1 / (uu * n)) * t
4372
+ ), du = 5, fu = (n) => (
4362
4373
  // prettier-ignore
4363
4374
  new Float32Array([
4364
4375
  0,
@@ -4377,24 +4388,24 @@ const iu = 5e3, ou = (n, e) => uu(cu(n), e).map(
4377
4388
  0
4378
4389
  // left
4379
4390
  ])
4380
- ), uu = (n, e) => {
4391
+ ), pu = (n, e) => {
4381
4392
  const t = new Float32Array(n.length * e);
4382
4393
  for (let s = 0; s < e; s++) t.set(n, s * n.length);
4383
4394
  return t;
4384
- }, hu = (n, e) => n.translate(
4395
+ }, gu = (n, e) => n.translate(
4385
4396
  n.x.dim(Number(e.x.sampleOffset)),
4386
4397
  n.y.dim(Number(e.y.sampleOffset))
4387
- ), nh = { [xn.TYPE]: xn }, du = (n, e, t, s, r) => {
4398
+ ), oh = { [xn.TYPE]: xn }, mu = (n, e, t, s, r) => {
4388
4399
  if (n.length === 0 || e.length === 0) return [];
4389
4400
  const a = [];
4390
4401
  return n.forEach(
4391
4402
  (i) => e.forEach((o) => {
4392
- if (!pu(i, o, r)) return;
4403
+ if (!wu(i, o, r)) return;
4393
4404
  let l = 0, u = 0;
4394
4405
  i.alignment < o.alignment ? l = Number(o.alignment - i.alignment) : o.alignment < i.alignment && (u = Number(i.alignment - o.alignment));
4395
4406
  const h = Math.min(i.length - l, o.length - u);
4396
4407
  if (h === 0) return;
4397
- const p = _r(
4408
+ const p = Nr(
4398
4409
  Math.round(t * 4 * h),
4399
4410
  s,
4400
4411
  51
@@ -4402,7 +4413,7 @@ const iu = 5e3, ou = (n, e) => uu(cu(n), e).map(
4402
4413
  a.push({ x: i, y: o, xOffset: l, yOffset: u, count: h, downsample: p });
4403
4414
  })
4404
4415
  ), a;
4405
- }, fu = (n) => n.map((e) => ({ ...e, x: e.x.digest, y: e.y.digest })), pu = (n, e, t) => {
4416
+ }, yu = (n) => n.map((e) => ({ ...e, x: e.x.digest, y: e.y.digest })), wu = (n, e, t) => {
4406
4417
  if (!(n._timeRange != null && e._timeRange != null))
4407
4418
  throw new pt(
4408
4419
  `Encountered series without time range in buildDrawOperations. X series present: ${n._timeRange != null}, Y series present: ${e._timeRange != null}`
@@ -4444,7 +4455,7 @@ class Jt {
4444
4455
  ...g.couple(f.topLeft(e)),
4445
4456
  ...g.couple(f.dims(e)),
4446
4457
  r
4447
- ), i.stroke()) : (i.rect(...g.couple(f.topLeft(e)), ...g.couple(f.dims(e))), i.stroke()) : gi(a).forEach((o) => {
4458
+ ), i.stroke()) : (i.rect(...g.couple(f.topLeft(e)), ...g.couple(f.dims(e))), i.stroke()) : yi(a).forEach((o) => {
4448
4459
  const [l, u] = f.edgePoints(e, o);
4449
4460
  i.beginPath(), i.moveTo(...g.couple(l)), i.lineTo(...g.couple(u)), i.stroke();
4450
4461
  });
@@ -4458,7 +4469,7 @@ class Jt {
4458
4469
  borderWidth: i,
4459
4470
  backgroundColor: o
4460
4471
  }) {
4461
- a == null && (a = this.theme.sizes.border.radius), i == null && (i = 1);
4472
+ a ?? (a = this.theme.sizes.border.radius), i ?? (i = 1);
4462
4473
  const l = this.canvas;
4463
4474
  l.fillStyle = this.resolveColor(o, this.theme.colors.gray.l1).hex, l.strokeStyle = this.resolveColor(r, this.theme.colors.border).hex, l.setLineDash([]), l.lineWidth = 1, l.beginPath(), s ? l.roundRect(
4464
4475
  ...g.couple(f.topLeft(e)),
@@ -4521,7 +4532,7 @@ class Jt {
4521
4532
  i != null && (l = this.canvas.scissor(f.construct(t, i, 1e3))), this.canvas.fillText(e, t.x, t.y), l == null || l();
4522
4533
  }
4523
4534
  }
4524
- const Ha = d.object({
4535
+ const Xa = d.object({
4525
4536
  position: d.number().optional(),
4526
4537
  pixelPosition: d.number().optional(),
4527
4538
  dragging: d.boolean(),
@@ -4532,7 +4543,7 @@ const Ha = d.object({
4532
4543
  class Ee extends Z {
4533
4544
  constructor() {
4534
4545
  super(...arguments);
4535
- c(this, "schema", Ha);
4546
+ c(this, "schema", Xa);
4536
4547
  }
4537
4548
  async afterUpdate() {
4538
4549
  this.internal.renderCtx = z.use(this.ctx);
@@ -4571,17 +4582,17 @@ class Ee extends Z {
4571
4582
  }
4572
4583
  }
4573
4584
  c(Ee, "TYPE", "Rule");
4574
- const gu = {
4585
+ const xu = {
4575
4586
  [Ee.TYPE]: Ee
4576
- }, sh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4587
+ }, lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4577
4588
  __proto__: null,
4578
- REGISTRY: gu,
4589
+ REGISTRY: xu,
4579
4590
  Rule: Ee,
4580
- ruleStateZ: Ha
4581
- }, Symbol.toStringTag, { value: "Module" })), rh = _n.extend({
4591
+ ruleStateZ: Xa
4592
+ }, Symbol.toStringTag, { value: "Module" })), ch = _n.extend({
4582
4593
  location: Tt.x.optional().default("left")
4583
- });
4584
- class bn extends ja {
4594
+ }), Er = 2, bu = (n) => f.signedWidth(n) < Er || f.signedHeight(n) < Er;
4595
+ class bn extends Wa {
4585
4596
  constructor() {
4586
4597
  super(...arguments);
4587
4598
  c(this, "schema", _n);
@@ -4601,10 +4612,10 @@ class bn extends ja {
4601
4612
  if (this.renderAxis(t, a), await this.renderLines(t, s), await this.renderRules(t, a), r != null) throw r;
4602
4613
  }
4603
4614
  async renderLines({ xDataToDecimalScale: t, plot: s, canvases: r, exposure: a }, i) {
4604
- if (!r.includes("gl")) return;
4615
+ if (!r.includes("gl") || bu(s)) return;
4605
4616
  const o = {
4606
4617
  region: s,
4607
- dataToDecimalScale: new B.XY(t, i),
4618
+ dataToDecimalScale: new I.XY(t, i),
4608
4619
  exposure: a
4609
4620
  };
4610
4621
  await Promise.all(this.lines.map(async (l) => await l.render(o)));
@@ -4632,7 +4643,7 @@ class bn extends ja {
4632
4643
  r
4633
4644
  );
4634
4645
  if (u != null) throw u;
4635
- const h = new B.XY(t, l), p = { region: s, dataToDecimalScale: h, exposure: i };
4646
+ const h = new I.XY(t, l), p = { region: s, dataToDecimalScale: h, exposure: i };
4636
4647
  return (await Promise.all(
4637
4648
  this.lines.map(async (m) => await m.findByXValue(p, o))
4638
4649
  )).map((m) => ({ ...m, units: this.state.label }));
@@ -4648,14 +4659,14 @@ class bn extends ja {
4648
4659
  }
4649
4660
  }
4650
4661
  c(bn, "TYPE", "YAxis");
4651
- const mu = d.object({
4662
+ const vu = d.object({
4652
4663
  start: F.z,
4653
4664
  end: F.z
4654
4665
  });
4655
4666
  class ss extends Z {
4656
4667
  constructor() {
4657
4668
  super(...arguments);
4658
- c(this, "schema", mu);
4669
+ c(this, "schema", vu);
4659
4670
  }
4660
4671
  async afterUpdate() {
4661
4672
  this.internal.render = z.use(this.ctx), this.internal.draw = new Jt(
@@ -4667,16 +4678,16 @@ class ss extends Z {
4667
4678
  }
4668
4679
  }
4669
4680
  c(ss, "TYPE", "range-annotation");
4670
- const yu = d.object({
4681
+ const Tu = d.object({
4671
4682
  triggered: d.boolean(),
4672
- status: Dr,
4683
+ status: Yr,
4673
4684
  sink: Dn.optional().default(Mn),
4674
4685
  source: ks.optional().default(Es)
4675
4686
  });
4676
4687
  class rs extends Z {
4677
4688
  constructor() {
4678
4689
  super(...arguments);
4679
- c(this, "schema", yu);
4690
+ c(this, "schema", Tu);
4680
4691
  }
4681
4692
  async afterUpdate() {
4682
4693
  var r, a, i;
@@ -4685,7 +4696,7 @@ class rs extends Z {
4685
4696
  this.ctx,
4686
4697
  s,
4687
4698
  this.internal.source
4688
- ), this.internal.sink = await De(this.ctx, t, this.internal.sink), this.state.triggered && !this.prevState.triggered && this.internal.sink.set(((r = this.state.status.data) == null ? void 0 : r.authority) !== mi.Absolute.valueOf()).catch(console.error), await this.updateEnabledState(), (i = (a = this.internal).stopListening) == null || i.call(a), this.internal.stopListening = this.internal.source.onChange(() => {
4699
+ ), this.internal.sink = await De(this.ctx, t, this.internal.sink), this.state.triggered && !this.prevState.triggered && this.internal.sink.set(((r = this.state.status.data) == null ? void 0 : r.authority) !== wi.Absolute.valueOf()).catch(console.error), await this.updateEnabledState(), (i = (a = this.internal).stopListening) == null || i.call(a), this.internal.stopListening = this.internal.source.onChange(() => {
4689
4700
  this.updateEnabledState();
4690
4701
  });
4691
4702
  }
@@ -4704,13 +4715,13 @@ class rs extends Z {
4704
4715
  }
4705
4716
  }
4706
4717
  c(rs, "TYPE", "Chip");
4707
- const wu = d.object({}), Er = "control-state-provider", xu = ys.stateZ.extend({
4718
+ const Su = d.object({}), Cr = "control-state-provider", Eu = ys.stateZ.extend({
4708
4719
  subjectColor: Y.z
4709
4720
  });
4710
4721
  class Ce extends wt {
4711
4722
  constructor() {
4712
4723
  super(...arguments);
4713
- c(this, "schema", wu);
4724
+ c(this, "schema", Su);
4714
4725
  /** Tracks the colors we assign to a particular control subject. */
4715
4726
  c(this, "colors", /* @__PURE__ */ new Map());
4716
4727
  /** Tracks the current control state for each channel and allows us to access it */
@@ -4727,7 +4738,7 @@ class Ce extends wt {
4727
4738
  * @throws {Error} if the state provider is not in the context.
4728
4739
  */
4729
4740
  static use(t) {
4730
- return t.get(Er);
4741
+ return t.get(Cr);
4731
4742
  }
4732
4743
  async afterUpdate() {
4733
4744
  const { internal: t } = this;
@@ -4735,7 +4746,7 @@ class Ce extends wt {
4735
4746
  const s = xt(this.ctx);
4736
4747
  t.palette = s.colors.visualization.palettes.default, t.defaultColor = s.colors.gray.l6;
4737
4748
  const r = Oe(this.ctx);
4738
- t.client != null && r === t.client || (t.client = r, this.ctx.set(Er, this), await this.maybeCloseTracker(), t.client != null && (this.internal.instrumentation.L.debug("starting state tracker"), await this.openTracker(t.client)));
4749
+ t.client != null && r === t.client || (t.client = r, this.ctx.set(Cr, this), await this.maybeCloseTracker(), t.client != null && (this.internal.instrumentation.L.debug("starting state tracker"), await this.openTracker(t.client)));
4739
4750
  }
4740
4751
  async maybeCloseTracker() {
4741
4752
  var t;
@@ -4748,7 +4759,7 @@ class Ce extends wt {
4748
4759
  return this.obs.onChange(t);
4749
4760
  }
4750
4761
  get(t) {
4751
- return Array.isArray(t) ? yi(t).map((s) => this.getOne(s)).filter((s) => s != null) : this.getOne(t);
4762
+ return Array.isArray(t) ? xi(t).map((s) => this.getOne(s)).filter((s) => s != null) : this.getOne(t);
4752
4763
  }
4753
4764
  getOne(t) {
4754
4765
  if (this.tracker == null) return;
@@ -4786,24 +4797,24 @@ class Ce extends wt {
4786
4797
  }
4787
4798
  }
4788
4799
  c(Ce, "TYPE", "StateProvider");
4789
- const bu = ["acquired", "released", "overridden", "failed"], vu = d.enum(bu), Tu = d.object({
4800
+ const Cu = ["acquired", "released", "overridden", "failed"], ku = d.enum(Cu), Pu = d.object({
4790
4801
  name: d.string(),
4791
4802
  authority: d.number().default(0),
4792
4803
  acquireTrigger: d.number(),
4793
- status: vu.optional(),
4794
- needsControlOf: Yr.keyZ.array().optional().default([])
4804
+ status: ku.optional(),
4805
+ needsControlOf: Ar.keyZ.array().optional().default([])
4795
4806
  });
4796
4807
  class as extends wt {
4797
4808
  constructor() {
4798
4809
  super(...arguments);
4799
- c(this, "schema", Tu);
4810
+ c(this, "schema", Pu);
4800
4811
  c(this, "registry", /* @__PURE__ */ new Map());
4801
4812
  c(this, "writer");
4802
4813
  }
4803
4814
  async afterUpdate() {
4804
4815
  this.internal.instrumentation = Le(this.ctx), (this.internal.prevTrigger == null || Math.abs(this.state.acquireTrigger - this.internal.prevTrigger) > 1) && (this.internal.prevTrigger = this.state.acquireTrigger);
4805
4816
  const t = Oe(this.ctx), s = Ce.use(this.ctx);
4806
- this.internal.client = t, this.internal.client == null && await this.release(), this.internal.stateProv = s, Ur(this.ctx, this), this.internal.addStatus = ws(this.ctx), this.state.acquireTrigger > this.internal.prevTrigger ? (this.acquire(), this.internal.prevTrigger = this.state.acquireTrigger) : this.state.acquireTrigger < this.internal.prevTrigger && (this.release(), this.internal.prevTrigger = this.state.acquireTrigger);
4817
+ this.internal.client = t, this.internal.client == null && await this.release(), this.internal.stateProv = s, $r(this.ctx, this), this.internal.addStatus = ws(this.ctx), this.state.acquireTrigger > this.internal.prevTrigger ? (this.acquire(), this.internal.prevTrigger = this.state.acquireTrigger) : this.state.acquireTrigger < this.internal.prevTrigger && (this.release(), this.internal.prevTrigger = this.state.acquireTrigger);
4807
4818
  }
4808
4819
  async afterDelete() {
4809
4820
  await this.release();
@@ -4899,14 +4910,14 @@ class as extends wt {
4899
4910
  }
4900
4911
  }
4901
4912
  c(as, "TYPE", "Controller");
4902
- const Su = d.object({
4913
+ const Ru = d.object({
4903
4914
  channel: d.number()
4904
4915
  });
4905
4916
  class vn extends An {
4906
4917
  constructor(t, s) {
4907
4918
  super(s);
4908
4919
  c(this, "controller");
4909
- c(this, "schema", Su);
4920
+ c(this, "schema", Ru);
4910
4921
  this.controller = t;
4911
4922
  }
4912
4923
  invalidate() {
@@ -4931,12 +4942,12 @@ class vn extends An {
4931
4942
  }
4932
4943
  }
4933
4944
  c(vn, "TYPE", "controlled-numeric-telem-sink");
4934
- const ah = (n) => ({
4945
+ const uh = (n) => ({
4935
4946
  type: vn.TYPE,
4936
4947
  props: n,
4937
4948
  variant: "sink",
4938
4949
  valueType: "number"
4939
- }), Eu = d.object({
4950
+ }), Mu = d.object({
4940
4951
  authority: d.number().default(ys.Authority.Absolute.valueOf()),
4941
4952
  channel: d.number()
4942
4953
  });
@@ -4944,7 +4955,7 @@ class Tn extends An {
4944
4955
  constructor(t, s) {
4945
4956
  super(s);
4946
4957
  c(this, "controller");
4947
- c(this, "schema", Eu);
4958
+ c(this, "schema", Mu);
4948
4959
  this.controller = t;
4949
4960
  }
4950
4961
  async cleanup() {
@@ -4962,12 +4973,12 @@ class Tn extends An {
4962
4973
  }
4963
4974
  }
4964
4975
  c(Tn, "TYPE", "acquire-channel-control");
4965
- const ih = (n) => ({
4976
+ const hh = (n) => ({
4966
4977
  type: Tn.TYPE,
4967
4978
  props: n,
4968
4979
  variant: "sink",
4969
4980
  valueType: "boolean"
4970
- }), Cu = d.object({
4981
+ }), Ou = d.object({
4971
4982
  channel: d.number()
4972
4983
  });
4973
4984
  class Sn extends Q {
@@ -4977,7 +4988,7 @@ class Sn extends Q {
4977
4988
  c(this, "valid", !1);
4978
4989
  c(this, "stopListening");
4979
4990
  c(this, "controller");
4980
- c(this, "schema", Cu);
4991
+ c(this, "schema", Ou);
4981
4992
  this.prov = s, this.controller = t;
4982
4993
  }
4983
4994
  async needsControlOf() {
@@ -4988,7 +4999,7 @@ class Sn extends Q {
4988
4999
  if (this.valid) return;
4989
5000
  const { channel: t } = this.props;
4990
5001
  (r = this.stopListening) == null || r.call(this);
4991
- const s = Ar.filterTransfersByChannelKey(t);
5002
+ const s = Lr.filterTransfersByChannelKey(t);
4992
5003
  this.stopListening = this.prov.onChange((a) => {
4993
5004
  var i;
4994
5005
  s(a).length !== 0 && ((i = this.notify) == null || i.call(this));
@@ -5026,21 +5037,21 @@ class Sn extends Q {
5026
5037
  }
5027
5038
  }
5028
5039
  c(Sn, "TYPE", "controlled-status-source");
5029
- const oh = (n) => ({
5040
+ const dh = (n) => ({
5030
5041
  type: Sn.TYPE,
5031
5042
  props: n,
5032
5043
  variant: "source",
5033
5044
  valueType: "status"
5034
- }), ku = d.object({
5045
+ }), Du = d.object({
5035
5046
  statusSource: ks.optional().default(Es),
5036
- colorSource: Vr.optional().default(zr),
5037
- status: Dr,
5047
+ colorSource: Kr.optional().default(qr),
5048
+ status: Yr,
5038
5049
  color: Y.z.optional()
5039
5050
  });
5040
5051
  class is extends Z {
5041
5052
  constructor() {
5042
5053
  super(...arguments);
5043
- c(this, "schema", ku);
5054
+ c(this, "schema", Du);
5044
5055
  c(this, "stopListeningStatus");
5045
5056
  c(this, "stopListeningColor");
5046
5057
  }
@@ -5076,14 +5087,14 @@ class is extends Z {
5076
5087
  }
5077
5088
  }
5078
5089
  c(is, "TYPE", "Indicator");
5079
- const Pu = d.object({
5080
- needsControlOf: Yr.keyZ.array(),
5081
- states: xu.array()
5090
+ const Yu = d.object({
5091
+ needsControlOf: Ar.keyZ.array(),
5092
+ states: Eu.array()
5082
5093
  });
5083
5094
  class os extends Z {
5084
5095
  constructor() {
5085
5096
  super(...arguments);
5086
- c(this, "schema", Pu);
5097
+ c(this, "schema", Yu);
5087
5098
  }
5088
5099
  async afterUpdate() {
5089
5100
  var i;
@@ -5091,7 +5102,7 @@ class os extends Z {
5091
5102
  t.stateProv = Ce.use(this.ctx);
5092
5103
  const s = this.state.needsControlOf;
5093
5104
  (i = t.disconnectStateProv) == null || i.call(t);
5094
- const r = Ar.filterTransfersByChannelKey(...s), a = t.stateProv.get(s);
5105
+ const r = Lr.filterTransfersByChannelKey(...s), a = t.stateProv.get(s);
5095
5106
  this.setState((o) => ({ ...o, states: a })), t.disconnectStateProv = t.stateProv.onChange((o) => {
5096
5107
  if (r(o).length === 0) return;
5097
5108
  const l = t.stateProv.get(s);
@@ -5107,24 +5118,25 @@ class os extends Z {
5107
5118
  }
5108
5119
  }
5109
5120
  c(os, "TYPE", "Legend");
5110
- const lh = {
5121
+ const fh = {
5111
5122
  [as.TYPE]: as,
5112
5123
  [Ce.TYPE]: Ce,
5113
5124
  [is.TYPE]: is,
5114
5125
  [rs.TYPE]: rs,
5115
5126
  [os.TYPE]: os
5116
- }, Ru = d.object({
5127
+ }, Au = d.object({
5117
5128
  trigger: d.number(),
5118
5129
  sink: Dn.optional().default(Mn)
5119
5130
  });
5120
5131
  class ls extends Z {
5121
5132
  constructor() {
5122
5133
  super(...arguments);
5123
- c(this, "schema", Ru);
5134
+ c(this, "schema", Au);
5124
5135
  }
5125
5136
  async afterUpdate() {
5137
+ var r;
5126
5138
  const { sink: t } = this.state;
5127
- this.internal.prevTrigger == null && (this.internal.prevTrigger = this.state.trigger), this.internal.sink = await De(this.ctx, t, this.internal.sink);
5139
+ (r = this.internal).prevTrigger ?? (r.prevTrigger = this.state.trigger), this.internal.sink = await De(this.ctx, t, this.internal.sink);
5128
5140
  const s = this.internal.prevTrigger;
5129
5141
  this.internal.prevTrigger = this.state.trigger, !(this.state.trigger <= s) && this.internal.sink.set(!0).catch(console.error);
5130
5142
  }
@@ -5140,9 +5152,9 @@ class ls extends Z {
5140
5152
  }
5141
5153
  }
5142
5154
  c(ls, "TYPE", "Button");
5143
- const ch = {
5155
+ const ph = {
5144
5156
  [ls.TYPE]: ls
5145
- }, Wa = d.object({
5157
+ }, Ga = d.object({
5146
5158
  dpr: d.number(),
5147
5159
  region: f.box,
5148
5160
  bootstrap: d.boolean().optional().default(!1),
@@ -5152,12 +5164,12 @@ const ch = {
5152
5164
  glCanvas: d.any().optional(),
5153
5165
  upper2dCanvas: d.any().optional(),
5154
5166
  lower2dCanvas: d.any().optional(),
5155
- os: wi.osZ
5167
+ os: bi.osZ
5156
5168
  });
5157
5169
  class En extends wt {
5158
5170
  constructor() {
5159
5171
  super(...arguments);
5160
- c(this, "schema", Wa);
5172
+ c(this, "schema", Ga);
5161
5173
  c(this, "renderContextSet", !1);
5162
5174
  }
5163
5175
  async afterUpdate() {
@@ -5192,14 +5204,14 @@ class En extends wt {
5192
5204
  }
5193
5205
  }
5194
5206
  c(En, "TYPE", "Canvas");
5195
- const Mu = {
5207
+ const Lu = {
5196
5208
  [En.TYPE]: En
5197
- }, uh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5209
+ }, gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5198
5210
  __proto__: null,
5199
5211
  Canvas: En,
5200
- REGISTRY: Mu,
5201
- canvasStateZ: Wa
5202
- }, Symbol.toStringTag, { value: "Module" })), Xa = d.object({
5212
+ REGISTRY: Lu,
5213
+ canvasStateZ: Ga
5214
+ }, Symbol.toStringTag, { value: "Module" })), Va = d.object({
5203
5215
  position: g.xy,
5204
5216
  zoom: d.number(),
5205
5217
  region: f.box,
@@ -5221,7 +5233,7 @@ const Mu = {
5221
5233
  const { renderCtx: t, addStatus: s } = this.internal, { zoom: r, position: a } = this.state, i = f.construct(this.state.region);
5222
5234
  if (!this.state.visible)
5223
5235
  return async () => t.erase(i, this.state.clearOverScan, ...Fe);
5224
- const o = t.scissor(i, g.ZERO, Fe), l = B.XY.magnify(g.construct(r)).translate(f.topLeft(i)).translate(a);
5236
+ const o = t.scissor(i, g.ZERO, Fe), l = I.XY.magnify(g.construct(r)).translate(f.topLeft(i)).translate(a);
5225
5237
  try {
5226
5238
  await Promise.all(
5227
5239
  this.children.map(async (h) => await h.render({ viewportScale: l }))
@@ -5246,24 +5258,24 @@ const Mu = {
5246
5258
  });
5247
5259
  }
5248
5260
  };
5249
- c(Ft, "TYPE", "Diagram"), c(Ft, "stateZ", Xa);
5261
+ c(Ft, "TYPE", "Diagram"), c(Ft, "stateZ", Va);
5250
5262
  let ke = Ft;
5251
- const Ou = {
5263
+ const _u = {
5252
5264
  [ke.TYPE]: ke
5253
- }, hh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5265
+ }, mh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5254
5266
  __proto__: null,
5255
5267
  Diagram: ke,
5256
- REGISTRY: Ou,
5257
- diagramStateZ: Xa
5258
- }, Symbol.toStringTag, { value: "Module" })), Du = d.object({
5268
+ REGISTRY: _u,
5269
+ diagramStateZ: Va
5270
+ }, Symbol.toStringTag, { value: "Module" })), Nu = d.object({
5259
5271
  region: f.box,
5260
5272
  enabled: d.boolean().optional().default(!1)
5261
5273
  });
5262
5274
  class cs extends Z {
5263
5275
  constructor() {
5264
5276
  super(...arguments);
5265
- c(this, "schema", Du);
5266
- c(this, "eraser", new jc());
5277
+ c(this, "schema", Nu);
5278
+ c(this, "eraser", new Gc());
5267
5279
  }
5268
5280
  async afterUpdate() {
5269
5281
  this.deleted || (this.internal.render = z.use(this.ctx), await this.internal.render.loop.set({
@@ -5292,16 +5304,16 @@ class cs extends Z {
5292
5304
  }
5293
5305
  }
5294
5306
  c(cs, "TYPE", "eraser");
5295
- const dh = {
5307
+ const yh = {
5296
5308
  [cs.TYPE]: cs
5297
- }, Yu = d.object({
5309
+ }, Iu = d.object({
5298
5310
  enabled: d.boolean(),
5299
5311
  source: Cs.optional().default(Ss)
5300
5312
  });
5301
5313
  class us extends Z {
5302
5314
  constructor() {
5303
5315
  super(...arguments);
5304
- c(this, "schema", Yu);
5316
+ c(this, "schema", Iu);
5305
5317
  }
5306
5318
  async afterUpdate() {
5307
5319
  var r;
@@ -5337,7 +5349,7 @@ class us extends Z {
5337
5349
  }
5338
5350
  }
5339
5351
  c(us, "TYPE", "Light");
5340
- const fh = { [us.TYPE]: us }, Ga = d.object({
5352
+ const wh = { [us.TYPE]: us }, Ka = d.object({
5341
5353
  position: g.xy.or(d.null()),
5342
5354
  textColor: Y.z.optional().default(V),
5343
5355
  backgroundColor: Y.z.optional().default(V),
@@ -5349,7 +5361,7 @@ const fh = { [us.TYPE]: us }, Ga = d.object({
5349
5361
  class Pe extends Z {
5350
5362
  constructor() {
5351
5363
  super(...arguments);
5352
- c(this, "schema", Ga);
5364
+ c(this, "schema", Ka);
5353
5365
  }
5354
5366
  async afterUpdate() {
5355
5367
  const t = xt(this.ctx);
@@ -5360,7 +5372,7 @@ class Pe extends Z {
5360
5372
  }
5361
5373
  async render(t) {
5362
5374
  if (this.deleted || this.state.position == null) return;
5363
- const { region: s } = t, r = B.XY.scale(f.DECIMAL).scale(s), a = B.XY.scale(s).scale(f.DECIMAL), i = await t.findByXDecimal(
5375
+ const { region: s } = t, r = I.XY.scale(f.DECIMAL).scale(s), a = I.XY.scale(s).scale(f.DECIMAL), i = await t.findByXDecimal(
5364
5376
  a.x.pos(this.state.position.x)
5365
5377
  ), o = i.filter((b) => g.isFinite(b.value)), { draw: l } = this.internal, u = o.reduce((b, T) => b + T.position.x, 0) / o.length, h = new F(
5366
5378
  o.reduce((b, T) => b + T.value.x, 0) / o.length
@@ -5404,24 +5416,24 @@ class Pe extends Z {
5404
5416
  }
5405
5417
  }
5406
5418
  c(Pe, "TYPE", "tooltip");
5407
- const Au = {
5419
+ const Bu = {
5408
5420
  [Pe.TYPE]: Pe
5409
- }, ph = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5421
+ }, xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5410
5422
  __proto__: null,
5411
- REGISTRY: Au,
5423
+ REGISTRY: Bu,
5412
5424
  Tooltip: Pe,
5413
- tooltipStateZ: Ga
5414
- }, Symbol.toStringTag, { value: "Module" })), Lu = d.object({
5425
+ tooltipStateZ: Ka
5426
+ }, Symbol.toStringTag, { value: "Module" })), Uu = d.object({
5415
5427
  region: f.box,
5416
5428
  wheelPos: d.number(),
5417
5429
  scrolling: d.boolean(),
5418
5430
  empty: d.boolean(),
5419
5431
  visible: d.boolean(),
5420
- telem: rn.optional().default(qr),
5421
- font: Lr.optional().default("p"),
5432
+ telem: rn.optional().default(jr),
5433
+ font: _r.optional().default("p"),
5422
5434
  color: Y.z.optional().default(V),
5423
5435
  overshoot: g.xy.optional().default({ x: 0, y: 0 })
5424
- }), _u = 0.98, se = "lower2d", Nu = {
5436
+ }), $u = 0.98, se = "lower2d", Zu = {
5425
5437
  offset: 0n,
5426
5438
  offsetRef: 0n,
5427
5439
  scrollRef: 0
@@ -5429,8 +5441,8 @@ const Au = {
5429
5441
  constructor() {
5430
5442
  super(...arguments);
5431
5443
  c(this, "schema", ue.z);
5432
- c(this, "values", new Bn([]));
5433
- c(this, "scrollState", Nu);
5444
+ c(this, "values", new In([]));
5445
+ c(this, "scrollState", Zu);
5434
5446
  }
5435
5447
  async afterUpdate() {
5436
5448
  var l;
@@ -5452,9 +5464,9 @@ const Au = {
5452
5464
  ), u.offset < h.alignmentBounds.lower + BigInt(this.visibleLineCount) && (u.offset = h.alignmentBounds.lower, this.setState((m) => ({ ...m, wheelPos: this.prevState.wheelPos }))), u.offset >= h.alignmentBounds.upper && this.setState((m) => ({ ...m, scrolling: !1 }));
5453
5465
  }
5454
5466
  const [i, o] = await this.internal.telem.value();
5455
- this.values = new Bn(o), this.checkEmpty(), (l = t.stopListeningTelem) == null || l.call(t), t.stopListeningTelem = t.telem.onChange(
5467
+ this.values = new In(o), this.checkEmpty(), (l = t.stopListeningTelem) == null || l.call(t), t.stopListeningTelem = t.telem.onChange(
5456
5468
  () => this.internal.telem.value().then(([u, h]) => {
5457
- this.checkEmpty(), this.values = new Bn(h), this.requestRender();
5469
+ this.checkEmpty(), this.values = new In(h), this.requestRender();
5458
5470
  })
5459
5471
  ), this.requestRender();
5460
5472
  }
@@ -5513,7 +5525,7 @@ const Au = {
5513
5525
  }
5514
5526
  renderScrollbar(t) {
5515
5527
  const s = this.state.region, r = f.height(s) / this.totalHeight * f.height(s);
5516
- if (r >= f.height(s) * _u) return;
5528
+ if (r >= f.height(s) * $u) return;
5517
5529
  let a = f.bottom(s) - r;
5518
5530
  this.state.scrolling && (a -= Number(
5519
5531
  this.values.distance(
@@ -5544,9 +5556,9 @@ const Au = {
5544
5556
  }
5545
5557
  }
5546
5558
  };
5547
- c(ue, "TYPE", "log"), c(ue, "z", Lu);
5559
+ c(ue, "TYPE", "log"), c(ue, "z", Uu);
5548
5560
  let Cn = ue;
5549
- const gh = { [Cn.TYPE]: Cn }, Va = d.object({
5561
+ const bh = { [Cn.TYPE]: Cn }, Qa = d.object({
5550
5562
  one: g.xy.nullable(),
5551
5563
  two: g.xy.nullable(),
5552
5564
  hover: g.xy.nullable(),
@@ -5564,7 +5576,7 @@ const gh = { [Cn.TYPE]: Cn }, Va = d.object({
5564
5576
  class Re extends Z {
5565
5577
  constructor() {
5566
5578
  super(...arguments);
5567
- c(this, "schema", Va);
5579
+ c(this, "schema", Qa);
5568
5580
  }
5569
5581
  async afterUpdate() {
5570
5582
  const t = z.use(this.ctx);
@@ -5600,7 +5612,7 @@ class Re extends Z {
5600
5612
  )[0]
5601
5613
  ];
5602
5614
  }
5603
- const u = B.XY.scale(t.region).scale(f.DECIMAL), [h, p] = [u.pos(s), u.pos(r)], [m, x] = [
5615
+ const u = I.XY.scale(t.region).scale(f.DECIMAL), [h, p] = [u.pos(s), u.pos(r)], [m, x] = [
5604
5616
  await t.findByXDecimal(h.x),
5605
5617
  await t.findByXDecimal(p.x)
5606
5618
  ];
@@ -5617,7 +5629,7 @@ class Re extends Z {
5617
5629
  }
5618
5630
  async renderHover(t) {
5619
5631
  if (this.state.hover == null) return;
5620
- const s = this.state.hover, r = B.XY.scale(t.region).scale(f.DECIMAL), a = r.pos(s), i = await t.findByXDecimal(r.pos(s).x);
5632
+ const s = this.state.hover, r = I.XY.scale(t.region).scale(f.DECIMAL), a = r.pos(s), i = await t.findByXDecimal(r.pos(s).x);
5621
5633
  if (i.length === 0) return;
5622
5634
  const o = i.sort(
5623
5635
  (u, h) => g.distance(a, u.position) - g.distance(a, h.position)
@@ -5633,7 +5645,7 @@ class Re extends Z {
5633
5645
  await this.renderHover(t);
5634
5646
  const s = await this.find(t);
5635
5647
  if (s == null) return;
5636
- const [r, a] = s, { draw: i } = this.internal, { strokeDash: o, strokeWidth: l } = this.state, u = B.XY.scale(f.DECIMAL).scale(t.region), h = u.pos(r.position), p = u.pos(a.position), m = new $(Math.abs(r.value.x - a.value.x)), x = Math.abs(r.value.y - a.value.y), b = x / m.seconds;
5648
+ const [r, a] = s, { draw: i } = this.internal, { strokeDash: o, strokeWidth: l } = this.state, u = I.XY.scale(f.DECIMAL).scale(t.region), h = u.pos(r.position), p = u.pos(a.position), m = new $(Math.abs(r.value.x - a.value.x)), x = Math.abs(r.value.y - a.value.y), b = x / m.seconds;
5637
5649
  i.line({
5638
5650
  start: g.construct(h.x, h.y),
5639
5651
  end: g.construct(h.x, p.y),
@@ -5671,24 +5683,24 @@ class Re extends Z {
5671
5683
  }
5672
5684
  }
5673
5685
  c(Re, "TYPE", "measure");
5674
- const Bu = {
5686
+ const Fu = {
5675
5687
  [Re.TYPE]: Re
5676
- }, mh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5688
+ }, vh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5677
5689
  __proto__: null,
5678
5690
  Measure: Re,
5679
- REGISTRY: Bu,
5680
- measureStateZ: Va
5681
- }, Symbol.toStringTag, { value: "Module" })), Iu = d.object({
5691
+ REGISTRY: Fu,
5692
+ measureStateZ: Qa
5693
+ }, Symbol.toStringTag, { value: "Module" })), zu = d.object({
5682
5694
  trigger: d.number(),
5683
5695
  command: d.number().optional(),
5684
5696
  value: d.number(),
5685
- sink: Gr.optional().default($r),
5686
- source: Xr.optional().default(Zr)
5697
+ sink: Vr.optional().default(Zr),
5698
+ source: Gr.optional().default(Fr)
5687
5699
  });
5688
5700
  class hs extends Z {
5689
5701
  constructor() {
5690
5702
  super(...arguments);
5691
- c(this, "schema", Iu);
5703
+ c(this, "schema", zu);
5692
5704
  }
5693
5705
  async afterUpdate() {
5694
5706
  var l;
@@ -5724,7 +5736,7 @@ class hs extends Z {
5724
5736
  }
5725
5737
  }
5726
5738
  c(hs, "TYPE", "Setpoint");
5727
- const yh = { [hs.TYPE]: hs }, Uu = d.object({
5739
+ const Th = { [hs.TYPE]: hs }, qu = d.object({
5728
5740
  triggered: d.boolean(),
5729
5741
  enabled: d.boolean(),
5730
5742
  sink: Dn.optional().default(Mn),
@@ -5733,7 +5745,7 @@ const yh = { [hs.TYPE]: hs }, Uu = d.object({
5733
5745
  class ds extends Z {
5734
5746
  constructor() {
5735
5747
  super(...arguments);
5736
- c(this, "schema", Uu);
5748
+ c(this, "schema", qu);
5737
5749
  }
5738
5750
  async afterUpdate() {
5739
5751
  var l;
@@ -5769,15 +5781,16 @@ class ds extends Z {
5769
5781
  }
5770
5782
  }
5771
5783
  c(ds, "TYPE", "Toggle");
5772
- const wh = { [ds.TYPE]: ds }, $u = d.object({
5784
+ const Sh = { [ds.TYPE]: ds }, ju = d.object({
5773
5785
  box: f.box,
5774
- telem: Kr.optional().default(Fr),
5775
- level: Lr.optional().default("p"),
5786
+ telem: Qr.optional().default(zr),
5787
+ level: _r.optional().default("p"),
5776
5788
  color: Y.z.optional().default(V),
5777
5789
  precision: d.number().optional().default(2),
5778
5790
  minWidth: d.number().optional().default(60),
5779
- width: d.number().optional()
5780
- }), Cr = "upper2d", he = class he extends Z {
5791
+ width: d.number().optional(),
5792
+ notation: ha.optional().default("standard")
5793
+ }), kr = "upper2d", he = class he extends Z {
5781
5794
  constructor() {
5782
5795
  super(...arguments);
5783
5796
  c(this, "schema", he.z);
@@ -5790,7 +5803,7 @@ const wh = { [ds.TYPE]: ds }, $u = d.object({
5790
5803
  async afterDelete() {
5791
5804
  var a;
5792
5805
  const { requestRender: t, telem: s, render: r } = this.internal;
5793
- await ((a = s.cleanup) == null ? void 0 : a.call(s)), t == null ? r.erase(f.construct(this.state.box), g.ZERO, Cr) : t(yt);
5806
+ await ((a = s.cleanup) == null ? void 0 : a.call(s)), t == null ? r.erase(f.construct(this.state.box), g.ZERO, kr) : t(yt);
5794
5807
  }
5795
5808
  requestRender() {
5796
5809
  const { requestRender: t } = this.internal;
@@ -5804,10 +5817,10 @@ const wh = { [ds.TYPE]: ds }, $u = d.object({
5804
5817
  const { theme: s } = this.internal, r = t + s.sizes.base + this.fontHeight;
5805
5818
  this.state.width == null || this.state.width + this.fontHeight * 0.5 < r || this.state.minWidth > r && this.state.width !== this.state.minWidth ? this.setState((a) => ({ ...a, width: Math.max(r, a.minWidth) })) : this.state.width - this.fontHeight > r && this.setState((a) => ({ ...a, width: Math.max(r, a.minWidth) }));
5806
5819
  }
5807
- async render({ viewportScale: t = B.XY.IDENTITY }) {
5820
+ async render({ viewportScale: t = I.XY.IDENTITY }) {
5808
5821
  const { render: s, telem: r } = this.internal, a = f.construct(this.state.box);
5809
5822
  if (f.areaIsZero(a)) return;
5810
- const i = s[Cr].applyScale(t);
5823
+ const i = s[kr].applyScale(t);
5811
5824
  let o = await r.value();
5812
5825
  const l = re(this.internal.theme, {
5813
5826
  level: this.state.level,
@@ -5828,34 +5841,34 @@ const wh = { [ds.TYPE]: ds }, $u = d.object({
5828
5841
  ), i.fillText(o, ...g.couple(x));
5829
5842
  }
5830
5843
  };
5831
- c(he, "TYPE", "value"), c(he, "z", $u);
5844
+ c(he, "TYPE", "value"), c(he, "z", ju);
5832
5845
  let Me = he;
5833
- const Zu = {
5846
+ const Hu = {
5834
5847
  [Me.TYPE]: Me
5835
- }, xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5848
+ }, Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5836
5849
  __proto__: null,
5837
- REGISTRY: Zu,
5850
+ REGISTRY: Hu,
5838
5851
  Value: Me
5839
- }, Symbol.toStringTag, { value: "Module" })), Fu = xi.payloadZ.extend({
5852
+ }, Symbol.toStringTag, { value: "Module" })), Wu = vi.payloadZ.extend({
5840
5853
  viewport: R.bounds
5841
- }), kr = (n) => Y.z.safeParse(n).success, zu = d.object({
5854
+ }), Pr = (n) => Y.z.safeParse(n).success, Xu = d.object({
5842
5855
  cursor: g.xy.or(d.null()),
5843
- hovered: Fu.or(d.null()),
5856
+ hovered: Wu.or(d.null()),
5844
5857
  count: d.number()
5845
5858
  });
5846
5859
  class kn extends Z {
5847
5860
  constructor() {
5848
5861
  super(...arguments);
5849
- c(this, "schema", zu);
5862
+ c(this, "schema", Xu);
5850
5863
  c(this, "fetchedInitial", ut.ZERO);
5851
5864
  }
5852
5865
  async afterUpdate() {
5853
5866
  const { internal: t } = this;
5854
- t.render = z.use(this.ctx), t.draw = new Jt(t.render.upper2d, xt(this.ctx)), t.ranges == null && (t.ranges = /* @__PURE__ */ new Map());
5867
+ t.render = z.use(this.ctx), t.draw = new Jt(t.render.upper2d, xt(this.ctx)), t.ranges ?? (t.ranges = /* @__PURE__ */ new Map());
5855
5868
  const s = Oe(this.ctx);
5856
5869
  s != null && (t.client = s, t.tracker == null && (t.tracker = await t.client.ranges.openTracker(), t.tracker.onChange(async (r) => {
5857
5870
  r.forEach(async (a) => {
5858
- a.variant === "delete" ? t.ranges.delete(a.key) : kr(a.value.color) && t.ranges.set(a.key, a.value);
5871
+ a.variant === "delete" ? t.ranges.delete(a.key) : Pr(a.value.color) && t.ranges.set(a.key, a.value);
5859
5872
  }), W.requestRender(this.ctx, St), this.setState((a) => ({ ...a, count: t.ranges.size }));
5860
5873
  }), W.requestRender(this.ctx, St)));
5861
5874
  }
@@ -5864,7 +5877,7 @@ class kn extends Z {
5864
5877
  if (s.client == null || this.fetchedInitial.roughlyEquals(t, $.minutes(1)))
5865
5878
  return;
5866
5879
  this.fetchedInitial = t, (await s.client.ranges.retrieve(t)).forEach((a) => {
5867
- kr(a.color) && s.ranges.set(a.key, a);
5880
+ Pr(a.color) && s.ranges.set(a.key, a);
5868
5881
  }), this.setState((a) => ({ ...a, count: s.ranges.size }));
5869
5882
  }
5870
5883
  async render(t) {
@@ -5885,7 +5898,7 @@ class kn extends Z {
5885
5898
  let C = u.pos(Number(x.timeRange.start.valueOf()));
5886
5899
  const O = u.pos(Number(x.timeRange.end.valueOf()));
5887
5900
  if (O < f.left(r) || C > f.right(r)) return;
5888
- C = _r(C, f.left(r) - 2, f.right(r) - 1);
5901
+ C = Nr(C, f.left(r) - 2, f.right(r) - 1);
5889
5902
  let N = !1;
5890
5903
  h != null && (N = R.contains({ lower: C, upper: O }, h)), N && (p = {
5891
5904
  key: x.key,
@@ -5927,11 +5940,11 @@ class kn extends Z {
5927
5940
  }
5928
5941
  }
5929
5942
  c(kn, "TYPE", "range-provider");
5930
- const bh = {
5943
+ const Ch = {
5931
5944
  [ss.TYPE]: ss,
5932
5945
  [kn.TYPE]: kn
5933
- }, vh = _n;
5934
- class Pn extends ja {
5946
+ }, kh = _n;
5947
+ class Pn extends Wa {
5935
5948
  constructor() {
5936
5949
  super(...arguments);
5937
5950
  c(this, "schema", _n);
@@ -5993,21 +6006,21 @@ class Pn extends ja {
5993
6006
  }
5994
6007
  }
5995
6008
  c(Pn, "TYPE", "XAxis");
5996
- const qu = d.object({
6009
+ const Gu = d.object({
5997
6010
  container: f.box,
5998
6011
  viewport: f.box,
5999
6012
  hold: d.boolean().optional().default(!1),
6000
- grid: d.record(va),
6013
+ grid: d.record(Sa),
6001
6014
  visible: d.boolean().optional().default(!0),
6002
6015
  clearOverScan: g.crudeZ.optional().default(g.ZERO)
6003
- }), ju = (n, e) => {
6016
+ }), Vu = (n, e) => {
6004
6017
  const t = f.width(n) * Math.sqrt(f.height(n)), s = f.width(e) * Math.sqrt(f.height(e));
6005
6018
  return t / s;
6006
6019
  };
6007
6020
  class fs extends wt {
6008
6021
  constructor() {
6009
6022
  super(...arguments);
6010
- c(this, "schema", qu);
6023
+ c(this, "schema", Gu);
6011
6024
  }
6012
6025
  async afterUpdate() {
6013
6026
  this.internal.instrumentation = Le(this.ctx, "lineplot"), this.internal.aggregate = ws(this.ctx), this.internal.renderCtx = z.use(this.ctx), W.control(this.ctx, (t) => this.requestRender("low", t)), this.requestRender("high", yt);
@@ -6041,7 +6054,7 @@ class fs extends wt {
6041
6054
  return this.childrenOfType(Re.TYPE);
6042
6055
  }
6043
6056
  get exposure() {
6044
- return ju(this.state.viewport, this.state.container);
6057
+ return Vu(this.state.viewport, this.state.container);
6045
6058
  }
6046
6059
  async renderAxes(t, s) {
6047
6060
  const r = {
@@ -6066,7 +6079,7 @@ class fs extends wt {
6066
6079
  await Promise.all(this.measures.map(async (a) => await a.render(r)));
6067
6080
  }
6068
6081
  calculatePlot() {
6069
- return mo(this.state.grid, this.state.container);
6082
+ return bo(this.state.grid, this.state.container);
6070
6083
  }
6071
6084
  async render(t) {
6072
6085
  const { renderCtx: s } = this.internal, { instrumentation: r } = this.internal;
@@ -6122,135 +6135,135 @@ class fs extends wt {
6122
6135
  }
6123
6136
  }
6124
6137
  c(fs, "TYPE", "LinePlot");
6125
- const Th = {
6138
+ const Ph = {
6126
6139
  [fs.TYPE]: fs,
6127
6140
  [Pn.TYPE]: Pn,
6128
6141
  [bn.TYPE]: bn
6129
6142
  };
6130
6143
  export {
6131
6144
  is as $,
6132
- mh as A,
6133
- sh as B,
6145
+ vh as A,
6146
+ lh as B,
6134
6147
  z as C,
6135
- hh as D,
6136
- jc as E,
6137
- xh as F,
6138
- za as G,
6148
+ mh as D,
6149
+ Gc as E,
6150
+ Eh as F,
6151
+ ja as G,
6139
6152
  fs as H,
6140
- qu as I,
6141
- vh as J,
6142
- rh as K,
6143
- qc as L,
6153
+ Gu as I,
6154
+ kh as J,
6155
+ ch as K,
6156
+ Xc as L,
6144
6157
  hn as M,
6145
- Ic as N,
6146
- Fa as O,
6158
+ Fc as N,
6159
+ qa as O,
6147
6160
  Vn as P,
6148
6161
  mr as Q,
6149
6162
  vr as R,
6150
- $a as S,
6151
- Ua as T,
6163
+ Fa as S,
6164
+ Za as T,
6152
6165
  Tn as U,
6153
6166
  Sn as V,
6154
6167
  rs as W,
6155
6168
  Pn as X,
6156
6169
  bn as Y,
6157
- Nr as Z,
6170
+ Ir as Z,
6158
6171
  as as _,
6159
6172
  W as a,
6160
- Ru as a$,
6173
+ Au as a$,
6161
6174
  os as a0,
6162
- bu as a1,
6175
+ Cu as a1,
6163
6176
  vn as a2,
6164
6177
  Ce as a3,
6165
- ih as a4,
6166
- Eu as a5,
6167
- oh as a6,
6168
- Cu as a7,
6169
- yu as a8,
6170
- Tu as a9,
6171
- Bi as aA,
6178
+ hh as a4,
6179
+ Mu as a5,
6180
+ dh as a6,
6181
+ Ou as a7,
6182
+ Tu as a8,
6183
+ Pu as a9,
6184
+ Ui as aA,
6172
6185
  cs as aB,
6173
- Du as aC,
6186
+ Nu as aC,
6174
6187
  zs as aD,
6175
- Qi as aE,
6188
+ no as aE,
6176
6189
  be as aF,
6177
- ba as aG,
6190
+ Ta as aG,
6178
6191
  Se as aH,
6179
6192
  Qs as aI,
6180
- Xo as aJ,
6193
+ Qo as aJ,
6181
6194
  ke as aK,
6182
- Xa as aL,
6195
+ Va as aL,
6183
6196
  Cn as aM,
6184
- Lu as aN,
6185
- ea as aO,
6186
- sa as aP,
6187
- ra as aQ,
6188
- fa as aR,
6189
- pa as aS,
6190
- Yi as aT,
6191
- Ui as aU,
6192
- Wi as aV,
6193
- Ai as aW,
6194
- ji as aX,
6195
- Vi as aY,
6196
- Ki as aZ,
6197
+ Uu as aN,
6198
+ na as aO,
6199
+ ra as aP,
6200
+ aa as aQ,
6201
+ ga as aR,
6202
+ ma as aS,
6203
+ Li as aT,
6204
+ Zi as aU,
6205
+ Ki as aV,
6206
+ _i as aW,
6207
+ Gi as aX,
6208
+ to as aY,
6209
+ eo as aZ,
6197
6210
  ls as a_,
6198
- ku as aa,
6199
- Pu as ab,
6200
- ah as ac,
6201
- Su as ad,
6202
- wu as ae,
6203
- vu as af,
6204
- xu as ag,
6211
+ Du as aa,
6212
+ Yu as ab,
6213
+ uh as ac,
6214
+ Ru as ad,
6215
+ Su as ae,
6216
+ ku as af,
6217
+ Eu as ag,
6205
6218
  En as ah,
6206
- Wa as ai,
6207
- Bt as aj,
6219
+ Ga as ai,
6220
+ It as aj,
6208
6221
  _n as ak,
6209
- tu as al,
6210
- Xc as am,
6222
+ ru as al,
6223
+ Qc as am,
6211
6224
  xn as an,
6212
- su as ao,
6225
+ ou as ao,
6213
6226
  Pe as ap,
6214
- Ga as aq,
6227
+ Ka as aq,
6215
6228
  ss as ar,
6216
- mu as as,
6229
+ vu as as,
6217
6230
  kn as at,
6218
- zu as au,
6231
+ Xu as au,
6219
6232
  Re as av,
6220
- Va as aw,
6233
+ Qa as aw,
6221
6234
  Ee as ax,
6222
- Ha as ay,
6223
- Ii as az,
6235
+ Xa as ay,
6236
+ $i as az,
6224
6237
  yt as b,
6225
6238
  us as b0,
6226
- Yu as b1,
6239
+ Iu as b1,
6227
6240
  hs as b2,
6228
- Iu as b3,
6241
+ zu as b3,
6229
6242
  ds as b4,
6230
- Uu as b5,
6243
+ qu as b5,
6231
6244
  Me as b6,
6232
6245
  St as c,
6233
- Qu as d,
6234
- ch as e,
6235
- Mu as f,
6236
- lh as g,
6237
- Ou as h,
6238
- dh as i,
6239
- fh as j,
6240
- nh as k,
6241
- Th as l,
6242
- Bu as m,
6243
- bh as n,
6244
- gu as o,
6245
- yh as p,
6246
- Pi as q,
6247
- po as r,
6248
- wh as s,
6249
- Au as t,
6250
- Zu as u,
6251
- gh as v,
6252
- Vu as w,
6253
- Ju as x,
6254
- uh as y,
6255
- ph as z
6246
+ sh as d,
6247
+ ph as e,
6248
+ Lu as f,
6249
+ fh as g,
6250
+ _u as h,
6251
+ yh as i,
6252
+ wh as j,
6253
+ oh as k,
6254
+ Ph as l,
6255
+ Fu as m,
6256
+ Ch as n,
6257
+ xu as o,
6258
+ Th as p,
6259
+ Mi as q,
6260
+ wo as r,
6261
+ Sh as s,
6262
+ Bu as t,
6263
+ Hu as u,
6264
+ bh as v,
6265
+ eh as w,
6266
+ rh as x,
6267
+ gh as y,
6268
+ xh as z
6256
6269
  };