climb-onyx-gui 0.15.5-dev.2 → 0.15.5-dev.3

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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as Se, jsxs as cr, Fragment as hs } from "react/jsx-runtime";
2
2
  import * as ir from "react";
3
- import Fr, { useContext as Dn, useRef as vr, useState as ur, useCallback as Zr, useEffect as kn, useMemo as Tr, cloneElement as ib, useReducer as VG, createContext as wy, useLayoutEffect as yu, forwardRef as sp, useImperativeHandle as ab, Component as _P, Fragment as b2, memo as ks, createElement as zG } from "react";
3
+ import Fr, { useContext as Dn, useRef as vr, useState as ur, useCallback as Zr, useEffect as On, useMemo as Tr, cloneElement as ib, useReducer as VG, createContext as wy, useLayoutEffect as yu, forwardRef as sp, useImperativeHandle as ab, Component as _P, Fragment as b2, memo as ks, createElement as zG } from "react";
4
4
  class Jv {
5
5
  constructor() {
6
6
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -3156,7 +3156,7 @@ function uH() {
3156
3156
  function Pn(b) {
3157
3157
  return b & -b;
3158
3158
  }
3159
- function On(b) {
3159
+ function kn(b) {
3160
3160
  for (var I = [], H = 0; 31 > H; H++) I.push(b);
3161
3161
  return I;
3162
3162
  }
@@ -6489,7 +6489,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
6489
6489
  return I = ws(4, b.children !== null ? b.children : [], b.key, I), I.lanes = H, I.stateNode = { containerInfo: b.containerInfo, pendingChildren: null, implementation: b.implementation }, I;
6490
6490
  }
6491
6491
  function qb(b, I, H) {
6492
- this.tag = I, this.containerInfo = b, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.pendingContext = this.context = null, this.hydrate = H, this.callbackNode = null, this.callbackPriority = 0, this.eventTimes = On(0), this.expirationTimes = On(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = On(0), this.mutableSourceEagerHydrationData = null;
6492
+ this.tag = I, this.containerInfo = b, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.pendingContext = this.context = null, this.hydrate = H, this.callbackNode = null, this.callbackPriority = 0, this.eventTimes = kn(0), this.expirationTimes = kn(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = kn(0), this.mutableSourceEagerHydrationData = null;
6493
6493
  }
6494
6494
  function jp(b, I, H) {
6495
6495
  var me = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
@@ -7957,7 +7957,7 @@ Error generating stack: ` + G.message + `
7957
7957
  // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
7958
7958
  (f !== "number" || zr(l.ownerDocument) !== l) && (F == null ? l.defaultValue = Gt(l._wrapperState.initialValue) : l.defaultValue !== Gt(F) && (l.defaultValue = Gt(F)));
7959
7959
  }
7960
- var On = !1, Wn = !1;
7960
+ var kn = !1, Wn = !1;
7961
7961
  function Ln(l) {
7962
7962
  var f = "";
7963
7963
  return e.Children.forEach(l, function(F) {
@@ -7967,7 +7967,7 @@ Error generating stack: ` + G.message + `
7967
7967
  function di(l, f) {
7968
7968
  typeof f.children == "object" && f.children !== null && e.Children.forEach(f.children, function(F) {
7969
7969
  F != null && (typeof F == "string" || typeof F == "number" || typeof F.type == "string" && (Wn || (Wn = !0, o("Only strings and numbers are supported as <option> children."))));
7970
- }), f.selected != null && !On && (o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), On = !0);
7970
+ }), f.selected != null && !kn && (o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), kn = !0);
7971
7971
  }
7972
7972
  function Vn(l, f) {
7973
7973
  f.value != null && l.setAttribute("value", Gt(kt(f.value)));
@@ -19550,7 +19550,7 @@ function BH() {
19550
19550
  const qv = /* @__PURE__ */ ir.createContext(null), hc = /* @__PURE__ */ ir.createContext(null), tp = (e, t = null) => e != null ? String(e) : t || null;
19551
19551
  function VH(e) {
19552
19552
  const t = vr(e);
19553
- return kn(() => {
19553
+ return On(() => {
19554
19554
  t.current = e;
19555
19555
  }, [e]), t;
19556
19556
  }
@@ -19599,7 +19599,7 @@ function DT({
19599
19599
  unmountOnExit: a
19600
19600
  }) {
19601
19601
  const u = vr(null), o = vr(t), c = Qo(r);
19602
- kn(() => {
19602
+ On(() => {
19603
19603
  t ? o.current = !0 : c(u.current);
19604
19604
  }, [t, c]);
19605
19605
  const i = cb(u, eg(e)), s = /* @__PURE__ */ ib(e, {
@@ -21217,7 +21217,7 @@ function qc(e, t) {
21217
21217
  }
21218
21218
  function $I(e) {
21219
21219
  const t = vr(null);
21220
- return kn(() => {
21220
+ return On(() => {
21221
21221
  t.current = e;
21222
21222
  }), t.current;
21223
21223
  }
@@ -21227,7 +21227,7 @@ function XI() {
21227
21227
  }
21228
21228
  function cB(e, t, r, n = !1) {
21229
21229
  const a = Qo(r);
21230
- kn(() => {
21230
+ On(() => {
21231
21231
  const u = typeof e == "function" ? e() : e;
21232
21232
  return u.addEventListener(t, a, n), () => u.removeEventListener(t, a, n);
21233
21233
  }, [e]);
@@ -21290,7 +21290,7 @@ function Km(e, t) {
21290
21290
  }
21291
21291
  function ZI() {
21292
21292
  const e = vr(!0), t = vr(() => e.current);
21293
- return kn(() => (e.current = !0, () => {
21293
+ return On(() => (e.current = !0, () => {
21294
21294
  e.current = !1;
21295
21295
  }), []), t.current;
21296
21296
  }
@@ -22252,13 +22252,13 @@ function bV(e, t, r = {}) {
22252
22252
  });
22253
22253
  }
22254
22254
  }), [p, d, v]), C = Tr(() => (Km(i.current, o) || (i.current = o), i.current), [o]);
22255
- return kn(() => {
22255
+ return On(() => {
22256
22256
  !s.current || !n || s.current.setOptions({
22257
22257
  placement: a,
22258
22258
  strategy: u,
22259
22259
  modifiers: [...C, m, mV]
22260
22260
  });
22261
- }, [u, a, m, n, C]), kn(() => {
22261
+ }, [u, a, m, n, C]), On(() => {
22262
22262
  if (!(!n || e == null || t == null))
22263
22263
  return s.current = pV(e, t, Object.assign({}, c, {
22264
22264
  placement: a,
@@ -22304,7 +22304,7 @@ function xV(e, t = q3, {
22304
22304
  }), i = Qo((s) => {
22305
22305
  a.current || t(s);
22306
22306
  });
22307
- kn(() => {
22307
+ On(() => {
22308
22308
  var s, p;
22309
22309
  if (r || e == null) return;
22310
22310
  const d = Sy(Bx(e)), h = d.defaultView || window;
@@ -22664,9 +22664,9 @@ function My({
22664
22664
  const O = qc(d.current, a)[0];
22665
22665
  O && O.focus && O.focus();
22666
22666
  });
22667
- kn(() => {
22667
+ On(() => {
22668
22668
  s ? k() : S.current && (S.current = !1, D());
22669
- }, [s, S, D, k]), kn(() => {
22669
+ }, [s, S, D, k]), On(() => {
22670
22670
  w.current = null;
22671
22671
  });
22672
22672
  const M = (L, R) => {
@@ -22788,7 +22788,7 @@ function ng(e, t) {
22788
22788
  }
22789
22789
  function WV(e) {
22790
22790
  const t = vr(e);
22791
- return kn(() => {
22791
+ return On(() => {
22792
22792
  t.current = e;
22793
22793
  }, [e]), t;
22794
22794
  }
@@ -22828,7 +22828,7 @@ const hL = /* @__PURE__ */ ir.forwardRef(({
22828
22828
  hL.displayName = "DropdownHeader";
22829
22829
  const UV = typeof global < "u" && // @ts-ignore
22830
22830
  global.navigator && // @ts-ignore
22831
- global.navigator.product === "ReactNative", jV = typeof document < "u", aF = jV || UV ? yu : kn, YV = ["onKeyDown"];
22831
+ global.navigator.product === "ReactNative", jV = typeof document < "u", aF = jV || UV ? yu : On, YV = ["onKeyDown"];
22832
22832
  function $V(e, t) {
22833
22833
  if (e == null) return {};
22834
22834
  var r = {};
@@ -22899,7 +22899,7 @@ const vL = /* @__PURE__ */ ir.forwardRef(({
22899
22899
  vL.displayName = "DropdownItemText";
22900
22900
  const ZV = typeof global < "u" && // @ts-ignore
22901
22901
  global.navigator && // @ts-ignore
22902
- global.navigator.product === "ReactNative", KV = typeof document < "u", gL = KV || ZV ? yu : kn, yb = /* @__PURE__ */ ir.createContext(null);
22902
+ global.navigator.product === "ReactNative", KV = typeof document < "u", gL = KV || ZV ? yu : On, yb = /* @__PURE__ */ ir.createContext(null);
22903
22903
  yb.displayName = "InputGroupContext";
22904
22904
  const up = /* @__PURE__ */ ir.createContext(null);
22905
22905
  up.displayName = "NavbarContext";
@@ -23192,7 +23192,7 @@ const oF = () => {
23192
23192
  }
23193
23193
  E && (S.preventDefault(), y(E.dataset[OV("EventKey")] || null, S), s.current = !0, i());
23194
23194
  };
23195
- kn(() => {
23195
+ On(() => {
23196
23196
  if (m.current && s.current) {
23197
23197
  const S = m.current.querySelector(`[${sF}][aria-selected=true]`);
23198
23198
  S == null || S.focus();
@@ -23508,7 +23508,7 @@ function uz(e) {
23508
23508
  }
23509
23509
  function cz(e) {
23510
23510
  const t = uz(e);
23511
- kn(() => () => t.current(), []);
23511
+ On(() => () => t.current(), []);
23512
23512
  }
23513
23513
  function dz(e = document) {
23514
23514
  const t = e.defaultView;
@@ -23571,8 +23571,8 @@ function fz(e, t) {
23571
23571
  const u = zx(e);
23572
23572
  u && a(u);
23573
23573
  }
23574
- return kn(() => {
23575
- }, [t, n]), kn(() => {
23574
+ return On(() => {
23575
+ }, [t, n]), On(() => {
23576
23576
  const u = zx(e);
23577
23577
  u !== n && a(u);
23578
23578
  }, [e, n]), n;
@@ -23786,14 +23786,14 @@ const EL = /* @__PURE__ */ sp((e, t) => {
23786
23786
  (we = ie.current) == null || we.focus == null || we.focus(w), ie.current = null;
23787
23787
  }
23788
23788
  });
23789
- kn(() => {
23789
+ On(() => {
23790
23790
  !r || !ee || ce();
23791
23791
  }, [
23792
23792
  r,
23793
23793
  ee,
23794
23794
  /* should never change: */
23795
23795
  ce
23796
- ]), kn(() => {
23796
+ ]), On(() => {
23797
23797
  _ && $();
23798
23798
  }, [_, $]), cz(() => {
23799
23799
  $();
@@ -24072,7 +24072,7 @@ const OL = /* @__PURE__ */ ir.forwardRef(({
24072
24072
  const O = vr();
24073
24073
  e = mn(e, "offcanvas");
24074
24074
  const [N, Y] = ur(!1), W = yf(h), ee = lz(u || "xs", "up");
24075
- kn(() => {
24075
+ On(() => {
24076
24076
  Y(u ? o && !ee : o);
24077
24077
  }, [o, u, ee]);
24078
24078
  const re = Tr(() => ({
@@ -24368,14 +24368,14 @@ const V2 = Object.assign(WL, {
24368
24368
  UL.displayName = "Spinner";
24369
24369
  function bb(e, t) {
24370
24370
  const [r, n] = ur(e);
24371
- return kn(() => {
24371
+ return On(() => {
24372
24372
  const a = setTimeout(() => n(e), t);
24373
24373
  return () => clearTimeout(a);
24374
24374
  }, [e, t]), r;
24375
24375
  }
24376
24376
  const jL = (e) => {
24377
24377
  const [t, r] = ur(!1);
24378
- return kn(() => {
24378
+ return On(() => {
24379
24379
  const n = setTimeout(
24380
24380
  () => r(!0),
24381
24381
  e === void 0 ? 500 : e
@@ -24384,16 +24384,16 @@ const jL = (e) => {
24384
24384
  }), t;
24385
24385
  }, Oz = (e, t, r) => {
24386
24386
  const [n, a] = ur(e);
24387
- return kn(() => {
24387
+ return On(() => {
24388
24388
  const u = setInterval(() => {
24389
24389
  a((o) => (o + 1) % (t + 1));
24390
24390
  }, 200);
24391
24391
  return () => clearInterval(u);
24392
24392
  }), n;
24393
24393
  }, YL = (e, t, r, n, a) => {
24394
- kn(() => {
24394
+ On(() => {
24395
24395
  e !== null && n();
24396
- }, [n, e]), kn(() => {
24396
+ }, [n, e]), On(() => {
24397
24397
  a(
24398
24398
  r ? new Date(r).toLocaleString() : t ? new Date(t).toLocaleString() : null
24399
24399
  );
@@ -24401,9 +24401,9 @@ const jL = (e) => {
24401
24401
  };
24402
24402
  function lc(e, t, r) {
24403
24403
  const { getItem: n, setItem: a } = e, [u, o] = ur(() => (n && n(t)) ?? r), c = bb(u, 500);
24404
- return kn(() => {
24404
+ return On(() => {
24405
24405
  a && a(t, c);
24406
- }, [a, t, c]), kn(() => () => {
24406
+ }, [a, t, c]), On(() => () => {
24407
24407
  a && a(t, null);
24408
24408
  }, [a, t]), [u, o];
24409
24409
  }
@@ -24902,7 +24902,7 @@ function ak(e) {
24902
24902
  r(!1);
24903
24903
  }, 2e3);
24904
24904
  };
24905
- return kn(() => () => {
24905
+ return On(() => () => {
24906
24906
  r(!1);
24907
24907
  }, []), /* @__PURE__ */ cr(
24908
24908
  oi,
@@ -27866,7 +27866,7 @@ function Cj(e) {
27866
27866
  }, [v, h, d]), C = Zr(function(y) {
27867
27867
  y && (y.removeEventListener("wheel", d, !1), y.removeEventListener("touchstart", h, !1), y.removeEventListener("touchmove", v, !1));
27868
27868
  }, [v, h, d]);
27869
- return kn(function() {
27869
+ return On(function() {
27870
27870
  if (t) {
27871
27871
  var y = s.current;
27872
27872
  return m(y), function() {
@@ -27926,7 +27926,7 @@ function bj(e) {
27926
27926
  }), s && UF() && (s.removeEventListener("touchmove", zF, Av), i && (i.removeEventListener("touchstart", WF, Av), i.removeEventListener("touchmove", _F, Av)));
27927
27927
  }
27928
27928
  }, [n]);
27929
- return kn(function() {
27929
+ return On(function() {
27930
27930
  if (t) {
27931
27931
  var i = u.current;
27932
27932
  return o(i), function() {
@@ -29636,7 +29636,7 @@ function nY(e) {
29636
29636
  }
29637
29637
  function iY(e) {
29638
29638
  const t = nY(e);
29639
- kn(() => () => t.current(), []);
29639
+ On(() => () => t.current(), []);
29640
29640
  }
29641
29641
  const s4 = /* @__PURE__ */ ir.forwardRef(({
29642
29642
  className: e,
@@ -30259,11 +30259,11 @@ const p4 = (e) => {
30259
30259
  };
30260
30260
  p4.displayName = "Tabs";
30261
30261
  function Fb({ children: e, ...t }) {
30262
- const [r, n] = ur(null);
30263
- return kn(() => {
30264
- const a = document.querySelector(".Onyx");
30265
- a instanceof HTMLElement && n(a);
30266
- }, []), /* @__PURE__ */ Se(ko, { ...t, container: r || void 0, centered: !0, children: e });
30262
+ const r = Zr(() => {
30263
+ const n = document.querySelector(".onyx");
30264
+ return n instanceof HTMLElement ? n : void 0;
30265
+ }, []);
30266
+ return /* @__PURE__ */ Se(ko, { ...t, container: r(), centered: !0, children: e });
30267
30267
  }
30268
30268
  function v4(e) {
30269
30269
  return /* @__PURE__ */ cr(qn, { children: [
@@ -30641,7 +30641,7 @@ const y4 = ({ className: e, name: t, value: r, setValue: n, handleKeyPress: a, s
30641
30641
  }, autoFocus: !0 }) : Se("span", { onDoubleClick: () => a(!0), className: "jer-value-boolean", style: s("boolean", o), children: String(e) });
30642
30642
  }, GY = ({ value: e, isEditing: t, setIsEditing: r, handleEdit: n, nodeData: a, handleKeyboard: u, keyboardCommon: o }) => {
30643
30643
  const { getStyles: c } = mc(), i = vr();
30644
- kn(() => {
30644
+ On(() => {
30645
30645
  if (t) return i.current = window.setTimeout(() => window.addEventListener("keydown", s), 100), () => window.removeEventListener("keydown", s);
30646
30646
  window.clearTimeout(i.current);
30647
30647
  }, [t]);
@@ -30775,7 +30775,7 @@ const y4 = ({ className: e, name: t, value: r, setValue: n, handleKeyPress: a, s
30775
30775
  const Ge = u({ currentData: Y.fullData, newValue: Re, currentValue: R, name: ee, path: W });
30776
30776
  O(Ge);
30777
30777
  }, [u]);
30778
- kn(() => {
30778
+ On(() => {
30779
30779
  O(typeof t == "function" ? K2 : t), ve(d1(t, oe));
30780
30780
  }, [t, _]);
30781
30781
  const { CustomNode: Me, customNodeProps: He, hideKey: we, showEditTools: Ee = !0, showOnEdit: De, showOnView: K } = oe, te = [...$Y, ...g.filter(({ showInTypesSelector: Re = !1, name: Ge }) => Re && !!Ge).map(({ name: Re }) => Re)], se = Tr(() => {
@@ -30895,12 +30895,12 @@ const y4 = ({ className: e, name: t, value: r, setValue: n, handleKeyPress: a, s
30895
30895
  }
30896
30896
  }, maxHeight: Ft, collapsed: lr, cssTransitionValue: br };
30897
30897
  })(s, w, _, i), { pathString: le, nodeData: oe, path: ue, name: ve, size: be, canEdit: Me, canDelete: He, canAdd: we, canDrag: Ee, error: De, setError: K, onError: te, handleEditKey: se, derivedValues: U } = A4({ props: e, collapsed: $ }), { dragSourceProps: V, getDropTargetProps: de, BottomDropTarget: X, DropTargetPadding: he } = E4({ canDrag: Ee, canDragOnto: y, path: ue, nodeData: oe, onMove: S, onError: te, translate: L }), ge = vr(!_);
30898
- kn(() => {
30898
+ On(() => {
30899
30899
  Z(N(s)), Ct && o(null);
30900
- }, [s]), kn(() => {
30900
+ }, [s]), On(() => {
30901
30901
  const St = g(oe) && !U.isEditing;
30902
30902
  ge.current = !St, j(St);
30903
- }, [g]), kn(() => {
30903
+ }, [g]), On(() => {
30904
30904
  r !== null && a(ue) && (ge.current = !0, j(r.collapsed));
30905
30905
  }, [r]);
30906
30906
  const xe = vr(null), Fe = Tr(() => (St, wt) => typeof M != "function" ? M : M(St, wt), [M]), { CustomNode: Be, customNodeProps: Ve, CustomWrapper: Ze, wrapperProps: Qe = {}, hideKey: qe, showEditTools: Re = !0, showOnEdit: Ge, showOnView: Le, showCollectionWrapper: _e = !0 } = Tr(() => R4(R, oe), [s]), ot = c(le);
@@ -30997,11 +30997,11 @@ const qY = ({ data: e, setData: t, rootName: r = "root", onUpdate: n = () => {
30997
30997
  const [Ve, Ze] = ur(Fe ? void 0 : Be), Qe = Zr((qe) => {
30998
30998
  Fe ? Fe(qe) : Ze(qe);
30999
30999
  }, [Fe]);
31000
- return kn(() => {
31000
+ return On(() => {
31001
31001
  Fe || Ze(Be);
31002
31002
  }, [Be]), [Fe ? Be : Ve, Qe];
31003
31003
  })({ setData: t, data: e }), we = vr(null);
31004
- kn(() => {
31004
+ On(() => {
31005
31005
  le(null);
31006
31006
  const Fe = setTimeout(() => be(x), T);
31007
31007
  return () => clearTimeout(Fe);
@@ -31056,7 +31056,7 @@ const qY = ({ data: e, setData: t, rootName: r = "root", onUpdate: n = () => {
31056
31056
  }, e$ = (e) => {
31057
31057
  var t;
31058
31058
  const [r, n] = ur();
31059
- return kn(() => {
31059
+ return On(() => {
31060
31060
  const a = document.documentElement;
31061
31061
  n(a);
31062
31062
  }, []), r ? Se(DY, { theme: (t = e.theme) !== null && t !== void 0 ? t : kR, icons: e.icons, docRoot: r, children: Se(LY, { children: Se(qY, Object.assign({}, e)) }) }) : null;
@@ -61636,7 +61636,7 @@ var x5 = sp((e, t) => {
61636
61636
  }
61637
61637
  }), kne = (e) => {
61638
61638
  const { initialProps: t, addUpdateCallback: r, CustomComponentClass: n, setMethods: a } = e, [{ key: u, ...o }, c] = ur(t);
61639
- return kn(() => {
61639
+ return On(() => {
61640
61640
  r((i) => c(i));
61641
61641
  }, []), /* @__PURE__ */ Fr.createElement(bA.Provider, { value: { setMethods: a } }, /* @__PURE__ */ Fr.createElement(n, { key: u, ...o }));
61642
61642
  }, One = ks(kne), Nne = 0;
@@ -62067,7 +62067,7 @@ var Xne = 1e3, Zne = class {
62067
62067
  yu(
62068
62068
  () => Vy(a, r, s.current, p),
62069
62069
  [a]
62070
- ), kn(() => {
62070
+ ), On(() => {
62071
62071
  e.setDragSource(c.current);
62072
62072
  }, [a]);
62073
62073
  const v = Tr(() => !!((a == null ? void 0 : a.componentFromFramework) && fg(a.componentClass)), [a]), m = a && a.componentFromFramework, C = a && a.componentClass;
@@ -62162,7 +62162,7 @@ var Xne = 1e3, Zne = class {
62162
62162
  };
62163
62163
  e.setComp(k, D, C.current, y.current, v.current);
62164
62164
  }, []);
62165
- yu(() => Vy(p, t, y.current), [p]), kn(() => {
62165
+ yu(() => Vy(p, t, y.current), [p]), On(() => {
62166
62166
  m.current && e.setDragSource(m.current);
62167
62167
  }, [p]);
62168
62168
  const S = Tr(() => !!((p == null ? void 0 : p.componentFromFramework) && fg(p.componentClass)), [p]), E = Tr(() => "ag-header-group-cell " + r.toString(), [r]), x = Tr(
@@ -62262,7 +62262,7 @@ var Xne = 1e3, Zne = class {
62262
62262
  );
62263
62263
  return /* @__PURE__ */ Fr.createElement("div", { ref: c, className: i, style: s, role: "presentation" }, /* @__PURE__ */ Fr.createElement(C2, { pinned: "left" }), /* @__PURE__ */ Fr.createElement(C2, { pinned: null }), /* @__PURE__ */ Fr.createElement(C2, { pinned: "right" }));
62264
62264
  }, oie = ks(aie), sie = (e, t) => {
62265
- kn(() => {
62265
+ On(() => {
62266
62266
  const r = t.current;
62267
62267
  if (r) {
62268
62268
  const n = r.parentElement;
@@ -62312,7 +62312,7 @@ var Xne = 1e3, Zne = class {
62312
62312
  }
62313
62313
  }, uie = (e) => {
62314
62314
  const t = vr(e), r = vr(), n = vr(!1), a = vr(!1), [, u] = ur(0);
62315
- n.current && (a.current = !0), kn(() => (n.current || (r.current = t.current(), n.current = !0), u((o) => o + 1), () => {
62315
+ n.current && (a.current = !0), On(() => (n.current || (r.current = t.current(), n.current = !0), u((o) => o + 1), () => {
62316
62316
  var o;
62317
62317
  a.current && ((o = r.current) == null || o.call(r));
62318
62318
  }), []);
@@ -62356,7 +62356,7 @@ var Xne = 1e3, Zne = class {
62356
62356
  const s = i.getGui();
62357
62357
  s && s.parentElement && s.parentElement.removeChild(s), o.destroyBean(i), a.current = void 0;
62358
62358
  }, []);
62359
- kn(() => {
62359
+ On(() => {
62360
62360
  const i = e != null, s = (e == null ? void 0 : e.compDetails) && !e.compDetails.componentFromFramework, p = t && r == null;
62361
62361
  if (!(i && s && !p)) {
62362
62362
  c();
@@ -62378,7 +62378,7 @@ var Xne = 1e3, Zne = class {
62378
62378
  return;
62379
62379
  (t ? r : u.current).appendChild(C), a.current = m;
62380
62380
  });
62381
- }, [e, t, n]), kn(() => c, []);
62381
+ }, [e, t, n]), On(() => c, []);
62382
62382
  }, fie = die, hie = (e, t, r) => {
62383
62383
  const { compProxy: n } = e;
62384
62384
  r(n);
@@ -62554,7 +62554,7 @@ var Xne = 1e3, Zne = class {
62554
62554
  ), [D, k] = ur(
62555
62555
  () => c ? e.getInitialTransform(t) : void 0
62556
62556
  ), M = vr(null), L = vr(), R = vr(!1), [O, N] = ur(0);
62557
- kn(() => {
62557
+ On(() => {
62558
62558
  var $;
62559
62559
  if (R.current || !E || O > 10)
62560
62560
  return;
@@ -62607,7 +62607,7 @@ var Xne = 1e3, Zne = class {
62607
62607
  const ce = { top: T, transform: D };
62608
62608
  return Object.assign(ce, m), ce;
62609
62609
  }, [T, D, m]), re = o && (E == null ? void 0 : E.componentFromFramework), z = !o && w != null, Z = Tr(() => !!((E == null ? void 0 : E.componentFromFramework) && fg(E.componentClass)), [E]), _ = vr(!1);
62610
- kn(() => {
62610
+ On(() => {
62611
62611
  _.current = Z && !!E && !!n.get("reactiveCustomComponents");
62612
62612
  }, [Z, E]);
62613
62613
  const J = () => w == null ? void 0 : w.map((ce) => /* @__PURE__ */ Fr.createElement(
@@ -62913,7 +62913,7 @@ var Xne = 1e3, Zne = class {
62913
62913
  };
62914
62914
  Y.setComp(W, N, N), h(!0);
62915
62915
  }, []);
62916
- kn(() => {
62916
+ On(() => {
62917
62917
  const N = C.current, Y = y.current;
62918
62918
  if (!v || !D || !N || !w || !Y)
62919
62919
  return;
@@ -63069,7 +63069,7 @@ var Xne = 1e3, Zne = class {
63069
63069
  var w;
63070
63070
  s.current && !((w = c.current) != null && w.shouldQueueUpdates()) ? g() : u.current.push(g);
63071
63071
  }, []);
63072
- return kn(() => {
63072
+ return On(() => {
63073
63073
  const g = Fie(o.current, e);
63074
63074
  o.current = e, C(() => {
63075
63075
  t.current && J$(g, t.current);
@@ -63673,7 +63673,7 @@ function I5(e) {
63673
63673
  return ((g = e.fields.get(y)) == null ? void 0 : g.type) === "structure";
63674
63674
  }
63675
63675
  ), [s, e.fields]);
63676
- kn(() => {
63676
+ On(() => {
63677
63677
  (s == null ? void 0 : s.status) === "success" && s.data.is_published === !1 && e.setUnpublished();
63678
63678
  }, [s, e]);
63679
63679
  const m = Tr(
@@ -69307,8 +69307,8 @@ var _5 = { exports: {} };
69307
69307
  gd: U
69308
69308
  });
69309
69309
  if (Pn)
69310
- for (var On, Wn = 0; Wn < Pn.length; Wn++)
69311
- On = Pn[Wn], p(On.x0) && p(On.y0) && rt.push(ve(On, qe));
69310
+ for (var kn, Wn = 0; Wn < Pn.length; Wn++)
69311
+ kn = Pn[Wn], p(kn.x0) && p(kn.y0) && rt.push(ve(kn, qe));
69312
69312
  } else
69313
69313
  h.log("Unrecognized trace type in hover:", Ye);
69314
69314
  if (qe === "closest" && rt.length > ut && (rt.splice(0, ut), br = rt[0].distance), Qe && Wt !== 0 && rt.length === 0) {
@@ -69339,8 +69339,8 @@ var _5 = { exports: {} };
69339
69339
  }
69340
69340
  wr();
69341
69341
  function Ur(pn, bi, yn) {
69342
- for (var Pn = null, On = 1 / 0, Wn, Ln = 0; Ln < pn.length; Ln++)
69343
- Le && Le._id !== pn[Ln].xa._id || _e && _e._id !== pn[Ln].ya._id || (Wn = pn[Ln].spikeDistance, yn && Ln === 0 && (Wn = -1 / 0), Wn <= On && Wn <= bi && (Pn = pn[Ln], On = Wn));
69342
+ for (var Pn = null, kn = 1 / 0, Wn, Ln = 0; Ln < pn.length; Ln++)
69343
+ Le && Le._id !== pn[Ln].xa._id || _e && _e._id !== pn[Ln].ya._id || (Wn = pn[Ln].spikeDistance, yn && Ln === 0 && (Wn = -1 / 0), Wn <= kn && Wn <= bi && (Pn = pn[Ln], kn = Wn));
69344
69344
  return Pn;
69345
69345
  }
69346
69346
  function Ar(pn) {
@@ -84339,12 +84339,12 @@ var _5 = { exports: {} };
84339
84339
  for (var bi = Ut.map(function(ua) {
84340
84340
  return ua.value;
84341
84341
  }), yn = [], Pn = 0; Pn < _t.length; Pn++) {
84342
- var On = _t[Pn], Wn = On.value;
84342
+ var kn = _t[Pn], Wn = kn.value;
84343
84343
  if (bi.indexOf(Wn) === -1) {
84344
84344
  for (var Ln = !1, di = 0; !Ln && di < Ut.length; di++)
84345
84345
  // add 10e6 to eliminate problematic digits
84346
84346
  1e7 + Ut[di].value === 1e7 + Wn && (Ln = !0);
84347
- Ln || yn.push(On);
84347
+ Ln || yn.push(kn);
84348
84348
  }
84349
84349
  }
84350
84350
  _t = yn;
@@ -84886,7 +84886,7 @@ var _5 = { exports: {} };
84886
84886
  }
84887
84887
  }
84888
84888
  }
84889
- var On, Wn = we.getTickSigns(ae), Ln = we.getTickSigns(ae, "minor");
84889
+ var kn, Wn = we.getTickSigns(ae), Ln = we.getTickSigns(ae, "minor");
84890
84890
  if (ae.ticks || ae.minor && ae.minor.ticks) {
84891
84891
  var di = we.makeTickPath(ae, rr, Wn[2]), Vn = we.makeTickPath(ae, rr, Ln[2], {
84892
84892
  minor: !0
@@ -84897,18 +84897,18 @@ var _5 = { exports: {} };
84897
84897
  var ma = {};
84898
84898
  for (xt = 0; xt < Oi.length; xt++)
84899
84899
  ma[Oi[xt].x] = 1;
84900
- On = function(Ki) {
84900
+ kn = function(Ki) {
84901
84901
  return ma[Ki.x] ? hi : wi;
84902
84902
  };
84903
84903
  } else
84904
- On = function(Ki) {
84904
+ kn = function(Ki) {
84905
84905
  return Ki.minor ? ri : wi;
84906
84906
  };
84907
84907
  }
84908
84908
  if (we.drawTicks(Te, ae, {
84909
84909
  vals: an,
84910
84910
  layer: Ut,
84911
- path: On,
84911
+ path: kn,
84912
84912
  transFn: zr
84913
84913
  }), ae.mirror === "allticks") {
84914
84914
  var Wi = Object.keys(ae._linepositions || {});
@@ -85249,7 +85249,7 @@ var _5 = { exports: {} };
85249
85249
  return yn.text;
85250
85250
  }), vt = ft.labelFns, dt = ft.secondary ? 0 : ae.tickangle, Tt = (ae._prevTickAngles || {})[xt], It = ft.layer.selectAll("g." + xt).data(ae.showticklabels ? bt : [], ht), Gt = [];
85251
85251
  It.enter().append("g").classed(xt, 1).append("text").attr("text-anchor", "middle").each(function(yn) {
85252
- var Pn = s.select(this), On = Te._promises.length;
85252
+ var Pn = s.select(this), kn = Te._promises.length;
85253
85253
  Pn.call(C.positionText, vt.xFn(yn), vt.yFn(yn)).call(w.font, {
85254
85254
  family: yn.font,
85255
85255
  size: yn.fontSize,
@@ -85260,15 +85260,15 @@ var _5 = { exports: {} };
85260
85260
  textcase: yn.fontTextcase,
85261
85261
  lineposition: yn.fontLineposition,
85262
85262
  shadow: yn.fontShadow
85263
- }).text(yn.text).call(C.convertToTspans, Te), Te._promises[On] ? Gt.push(Te._promises.pop().then(function() {
85263
+ }).text(yn.text).call(C.convertToTspans, Te), Te._promises[kn] ? Gt.push(Te._promises.pop().then(function() {
85264
85264
  kt(Pn, dt);
85265
85265
  })) : kt(Pn, dt);
85266
85266
  }), nn(ae, [ne]), It.exit().remove(), ft.repositionOnUpdate && It.each(function(yn) {
85267
85267
  s.select(this).select("text").call(C.positionText, vt.xFn(yn), vt.yFn(yn));
85268
85268
  });
85269
85269
  function kt(yn, Pn) {
85270
- yn.each(function(On) {
85271
- var Wn = s.select(this), Ln = Wn.select(".text-math-group"), di = vt.anchorFn(On, Pn), Vn = ft.transFn.call(Wn.node(), On) + (p(Pn) && +Pn != 0 ? " rotate(" + Pn + "," + vt.xFn(On) + "," + (vt.yFn(On) - On.fontSize / 2) + ")" : ""), hi = C.lineCount(Wn), _i = be * On.fontSize, wi = vt.heightFn(On, p(Pn) ? +Pn : 0, (hi - 1) * _i);
85270
+ yn.each(function(kn) {
85271
+ var Wn = s.select(this), Ln = Wn.select(".text-math-group"), di = vt.anchorFn(kn, Pn), Vn = ft.transFn.call(Wn.node(), kn) + (p(Pn) && +Pn != 0 ? " rotate(" + Pn + "," + vt.xFn(kn) + "," + (vt.yFn(kn) - kn.fontSize / 2) + ")" : ""), hi = C.lineCount(Wn), _i = be * kn.fontSize, wi = vt.heightFn(kn, p(Pn) ? +Pn : 0, (hi - 1) * _i);
85272
85272
  if (wi && (Vn += m(0, wi)), Ln.empty()) {
85273
85273
  var ri = Wn.select("text");
85274
85274
  ri.attr({
@@ -85287,7 +85287,7 @@ var _5 = { exports: {} };
85287
85287
  ae._adjustTickLabelsOverflow = function() {
85288
85288
  var yn = ae.ticklabeloverflow;
85289
85289
  if (!(!yn || yn === "allow")) {
85290
- var Pn = yn.indexOf("hide") !== -1, On = ae._id.charAt(0) === "x", Wn = 0, Ln = On ? Te._fullLayout.width : Te._fullLayout.height;
85290
+ var Pn = yn.indexOf("hide") !== -1, kn = ae._id.charAt(0) === "x", Wn = 0, Ln = kn ? Te._fullLayout.width : Te._fullLayout.height;
85291
85291
  if (yn.indexOf("domain") !== -1) {
85292
85292
  var di = v.simpleMap(ae.range, ae.r2l);
85293
85293
  Wn = ae.l2p(di[0]) + ae._offset, Ln = ae.l2p(di[1]) + ae._offset;
@@ -85297,26 +85297,26 @@ var _5 = { exports: {} };
85297
85297
  var ha = s.select(this), $a = ha.select(".text-math-group");
85298
85298
  if ($a.empty()) {
85299
85299
  var ua = w.bBox(ha.node()), ca = 0;
85300
- On ? (ua.right > hi || ua.left < Vn) && (ca = 1) : (ua.bottom > hi || ua.top + (ae.tickangle ? 0 : Zi.fontSize / 4) < Vn) && (ca = 1);
85300
+ kn ? (ua.right > hi || ua.left < Vn) && (ca = 1) : (ua.bottom > hi || ua.top + (ae.tickangle ? 0 : Zi.fontSize / 4) < Vn) && (ca = 1);
85301
85301
  var co = ha.select("text");
85302
- ca ? Pn && co.style("opacity", 0) : (co.style("opacity", 1), _i === "bottom" || _i === "right" ? wi = Math.min(wi, On ? ua.top : ua.left) : wi = -1 / 0, _i === "top" || _i === "left" ? ri = Math.max(ri, On ? ua.bottom : ua.right) : ri = 1 / 0);
85302
+ ca ? Pn && co.style("opacity", 0) : (co.style("opacity", 1), _i === "bottom" || _i === "right" ? wi = Math.min(wi, kn ? ua.top : ua.left) : wi = -1 / 0, _i === "top" || _i === "left" ? ri = Math.max(ri, kn ? ua.bottom : ua.right) : ri = 1 / 0);
85303
85303
  }
85304
85304
  });
85305
85305
  for (var ma in it._plots) {
85306
85306
  var Wi = it._plots[ma];
85307
85307
  if (!(ae._id !== Wi.xaxis._id && ae._id !== Wi.yaxis._id)) {
85308
- var Fi = On ? Wi.yaxis : Wi.xaxis;
85308
+ var Fi = kn ? Wi.yaxis : Wi.xaxis;
85309
85309
  Fi && (Fi["_visibleLabelMin_" + ae._id] = wi, Fi["_visibleLabelMax_" + ae._id] = ri);
85310
85310
  }
85311
85311
  }
85312
85312
  }
85313
85313
  }, ae._hideCounterAxisInsideTickLabels = function(yn) {
85314
- var Pn = ae._id.charAt(0) === "x", On = [];
85314
+ var Pn = ae._id.charAt(0) === "x", kn = [];
85315
85315
  for (var Wn in it._plots) {
85316
85316
  var Ln = it._plots[Wn];
85317
- ae._id !== Ln.xaxis._id && ae._id !== Ln.yaxis._id || On.push(Pn ? Ln.yaxis : Ln.xaxis);
85317
+ ae._id !== Ln.xaxis._id && ae._id !== Ln.yaxis._id || kn.push(Pn ? Ln.yaxis : Ln.xaxis);
85318
85318
  }
85319
- On.forEach(function(di, Vn) {
85319
+ kn.forEach(function(di, Vn) {
85320
85320
  di && Br(di) && (yn || [ie, $, ce, j, ne]).forEach(function(hi) {
85321
85321
  var _i = hi.K === "tick" && hi.L === "text" && ae.ticklabelmode === "period", wi = it._plots[ae._mainSubplot], ri;
85322
85322
  hi.K === ie.K ? ri = wi.zerolinelayer.selectAll("." + ae._id + "zl") : hi.K === $.K ? ri = wi.minorGridlayer.selectAll("." + ae._id) : hi.K === ce.K ? ri = wi.gridlayer.selectAll("." + ae._id) : ri = wi[ae._id.charAt(0) + "axislayer"], ri.each(function() {
@@ -85336,7 +85336,7 @@ var _5 = { exports: {} };
85336
85336
  function _t() {
85337
85337
  if (kt(It, dt), bt.length && ae.autotickangles && (ae.type !== "log" || String(ae.dtick).charAt(0) !== "D")) {
85338
85338
  Ut = ae.autotickangles[0];
85339
- var yn = 0, Pn = [], On, Wn = 1;
85339
+ var yn = 0, Pn = [], kn, Wn = 1;
85340
85340
  It.each(function(ui) {
85341
85341
  yn = Math.max(yn, ui.fontSize);
85342
85342
  var Gi = ae.l2p(ui.x), no = Mr(this), So = w.bBox(no.node());
@@ -85362,8 +85362,8 @@ var _5 = { exports: {} };
85362
85362
  var Fi = Wi * (180 / Math.PI);
85363
85363
  if (Ln) {
85364
85364
  var Zi = 2;
85365
- for (ae.ticks && (Zi += ae.tickwidth / 2), On = 0; On < Pn.length; On++) {
85366
- var ha = bt[On].xbnd, $a = Pn[On];
85365
+ for (ae.ticks && (Zi += ae.tickwidth / 2), kn = 0; kn < Pn.length; kn++) {
85366
+ var ha = bt[kn].xbnd, $a = Pn[kn];
85367
85367
  if (ha[0] !== null && $a.left - ae.l2p(ha[0]) < Zi || ha[1] !== null && ae.l2p(ha[1]) - $a.right < Zi) {
85368
85368
  Ut = Fi;
85369
85369
  break;
@@ -85373,8 +85373,8 @@ var _5 = { exports: {} };
85373
85373
  var ua = ae.ticklabelposition || "", ca = function(ui) {
85374
85374
  return ua.indexOf(ui) !== -1;
85375
85375
  }, co = ca("top"), qo = ca("left"), Ki = ca("right"), Ui = ca("bottom"), ya = Ui || qo || co || Ki, Ca = ya ? (ae.tickwidth || 0) + 2 * He : 0;
85376
- for (On = 0; On < Pn.length - 1; On++)
85377
- if (v.bBoxIntersect(Pn[On], Pn[On + 1], Ca)) {
85376
+ for (kn = 0; kn < Pn.length - 1; kn++)
85377
+ if (v.bBoxIntersect(Pn[kn], Pn[kn + 1], Ca)) {
85378
85378
  Ut = Fi;
85379
85379
  break;
85380
85380
  }
@@ -85391,7 +85391,7 @@ var _5 = { exports: {} };
85391
85391
  });
85392
85392
  var nr = function() {
85393
85393
  var yn = 0, Pn = 0;
85394
- return It.each(function(On, Wn) {
85394
+ return It.each(function(kn, Wn) {
85395
85395
  var Ln = Mr(this), di = Ln.select(".text-math-group");
85396
85396
  if (di.empty()) {
85397
85397
  var Vn;
@@ -97275,12 +97275,12 @@ var _5 = { exports: {} };
97275
97275
  }, Pn.clip = function(A) {
97276
97276
  for (var B, Q = Ln(A), fe = -1, pe = this.length - Ln(this), ye, Oe, Pe = this[pe - 1], ze, Je, et; ++fe < pe; ) {
97277
97277
  for (B = A.slice(), A.length = 0, ze = this[fe], Je = B[(Oe = B.length - Q) - 1], ye = -1; ++ye < Oe; )
97278
- et = B[ye], On(et, Pe, ze) ? (On(Je, Pe, ze) || A.push(Wn(Je, et, Pe, ze)), A.push(et)) : On(Je, Pe, ze) && A.push(Wn(Je, et, Pe, ze)), Je = et;
97278
+ et = B[ye], kn(et, Pe, ze) ? (kn(Je, Pe, ze) || A.push(Wn(Je, et, Pe, ze)), A.push(et)) : kn(Je, Pe, ze) && A.push(Wn(Je, et, Pe, ze)), Je = et;
97279
97279
  Q && A.push(A[0]), Pe = ze;
97280
97280
  }
97281
97281
  return A;
97282
97282
  };
97283
- function On(A, B, Q) {
97283
+ function kn(A, B, Q) {
97284
97284
  return (Q[0] - B[0]) * (A[1] - B[1]) < (Q[1] - B[1]) * (A[0] - B[0]);
97285
97285
  }
97286
97286
  function Wn(A, B, Q, fe) {
@@ -112648,7 +112648,7 @@ function Hae(e) {
112648
112648
  ),
112649
112649
  [e.columns, c]
112650
112650
  ), s = Tr(() => `${n.size} column${n.size !== 1 ? "s" : ""} selected. ${n.size ? "" : "All columns will be displayed."}`, [n]);
112651
- kn(() => {
112651
+ On(() => {
112652
112652
  a(new Set(e.activeColumns));
112653
112653
  }, [e.activeColumns]);
112654
112654
  const p = (m) => {
@@ -112739,7 +112739,7 @@ function Bae(e) {
112739
112739
  },
112740
112740
  [t, e]
112741
112741
  ), c = () => e.setWidth(e.defaultWidth);
112742
- return kn(() => (t ? (document.addEventListener("mousemove", o), document.addEventListener("mouseup", u), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none") : (document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", u), document.body.style.cursor = "", document.body.style.userSelect = ""), () => {
112742
+ return On(() => (t ? (document.addEventListener("mousemove", o), document.addEventListener("mouseup", u), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none") : (document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", u), document.body.style.cursor = "", document.body.style.userSelect = ""), () => {
112743
112743
  document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", u), document.body.style.cursor = "", document.body.style.userSelect = "";
112744
112744
  }), [t, o]), /* @__PURE__ */ Se(
112745
112745
  "div",
@@ -113130,7 +113130,7 @@ function Xae(e) {
113130
113130
  const [t, r] = ur(
113131
113131
  localStorage.getItem("onyx-theme") === Mv.DARK
113132
113132
  );
113133
- kn(() => {
113133
+ On(() => {
113134
113134
  const D = document.querySelector("html");
113135
113135
  D == null || D.setAttribute(
113136
113136
  "data-bs-theme",
@@ -113164,7 +113164,7 @@ function Xae(e) {
113164
113164
  ), [s, p] = lc(e, "recentlyViewed", []), d = (D) => {
113165
113165
  D !== u && (o(D), i(a), p([]));
113166
113166
  }, { setTitle: h } = e;
113167
- kn(() => {
113167
+ On(() => {
113168
113168
  if (!(!h || !u))
113169
113169
  switch (!0) {
113170
113170
  case c.tabKey === ta.USER:
@@ -113206,7 +113206,7 @@ function Xae(e) {
113206
113206
  );
113207
113207
  return [...new Map(D.map((k) => [k.code, k])).values()];
113208
113208
  }, [C]);
113209
- kn(() => {
113209
+ On(() => {
113210
113210
  !u && w.length > 0 && o(w[0]);
113211
113211
  }, [u, w, o]);
113212
113212
  const S = Zr(
@@ -113258,7 +113258,7 @@ function Xae(e) {
113258
113258
  analysisTabKey: id.LIST
113259
113259
  }));
113260
113260
  }, [i]);
113261
- return /* @__PURE__ */ cr("div", { className: "Onyx h-100", children: [
113261
+ return /* @__PURE__ */ cr("div", { className: "onyx h-100", children: [
113262
113262
  /* @__PURE__ */ Se(
113263
113263
  Bz,
113264
113264
  {