@sheetxl/utils-react 0.8.0-beta.18 → 0.8.0-beta.19

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,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.18
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -246,7 +246,7 @@ var ae = new class {
246
246
  register(e, n = !1) {
247
247
  const o = e.key.toLowerCase();
248
248
  if (!n && this._items.has(o)) throw new Error(`Command item with key '${o}' is already registered.`);
249
- this._items.set(o, function(e) {
249
+ const r = function(e) {
250
250
  const { getLabel: n, getDescription: o, getIcon: r } = e, i = e.key, s = { ...e };
251
251
  return s.getLabel = (e) => {
252
252
  const o = e && e !== i ? e : void 0, r = ie.findByKey(i)?.def, s = (o ? r?.groupLabels?.[o] : void 0) ?? r?.label;
@@ -258,7 +258,10 @@ var ae = new class {
258
258
  const t = e && e !== i ? e : void 0, n = ie.findByKey(i)?.def, o = (t ? n?.groupIcons?.[t] : void 0) ?? n?.icon;
259
259
  return "string" == typeof o ? o : r ? r(e) : void 0;
260
260
  }, s;
261
- }(e)), this._notify();
261
+ }(e);
262
+ return this._items.set(o, r), this._notify(), () => {
263
+ this._items.get(o) === r && (this._items.delete(o), this._notify());
264
+ };
262
265
  }
263
266
  unregister(e) {
264
267
  if (e = e.toLowerCase(), !this._items.has(e)) throw new Error(`Command item with key '${e}' is not registered.`);
@@ -2566,65 +2569,64 @@ function lr(e = {}) {
2566
2569
  var ar = "data-sxl-theme-mode", cr = "data-sxl-theme-surface", ur = (e, t) => {
2567
2570
  const n = { [cr]: e };
2568
2571
  return t && (n[ar] = t), n;
2569
- }, hr = (e, t) => `sheetxl-${e}-${t.replace(/[^A-Za-z0-9_-]/g, "")}`;
2570
- function dr(e) {
2571
- const { mode: t } = e || {}, [n, o] = A(() => {
2572
+ }, hr = (e, t) => `sheetxl-${e}-${t.replace(/[^A-Za-z0-9_-]/g, "")}`, dr = g("light");
2573
+ function fr(e) {
2574
+ const { mode: t, fallback: n } = e || {}, o = S(dr), r = n ?? o, [i, s] = A(() => {
2572
2575
  if ("light" === t || "dark" === t) return {
2573
2576
  themeMode: t,
2574
2577
  source: "prop"
2575
2578
  };
2576
2579
  if ("undefined" != typeof document) {
2577
- const e = fr();
2580
+ const e = mr();
2578
2581
  if (e) return {
2579
2582
  themeMode: e,
2580
2583
  source: "class"
2581
2584
  };
2582
2585
  }
2583
- return {
2584
- themeMode: pr(),
2585
- source: "media"
2586
- };
2586
+ return pr(r);
2587
2587
  });
2588
2588
  return M(() => {
2589
2589
  const e = () => {
2590
- if (t) return void (t === n.themeMode && "prop" === n.source || o((e) => ({
2590
+ if (t) return void (t === i.themeMode && "prop" === i.source || s((e) => ({
2591
2591
  ...e,
2592
2592
  themeMode: t,
2593
2593
  source: "prop"
2594
2594
  })));
2595
- const e = fr();
2596
- if (e) o({
2595
+ const e = mr();
2596
+ s(e ? {
2597
2597
  themeMode: e,
2598
2598
  source: "class"
2599
- });
2600
- else {
2601
- const e = pr();
2602
- o({
2603
- themeMode: e,
2604
- source: "media"
2605
- });
2606
- }
2607
- }, r = new MutationObserver(e), i = [document.documentElement, document.body].filter(Boolean);
2608
- for (const e of i) r.observe(e, {
2599
+ } : pr(r));
2600
+ }, n = new MutationObserver(e), o = [document.documentElement, document.body].filter(Boolean);
2601
+ for (const e of o) n.observe(e, {
2609
2602
  attributes: !0,
2610
2603
  attributeFilter: ["class"]
2611
2604
  });
2612
- const s = window.matchMedia("(prefers-color-scheme: dark)");
2613
- return s.addEventListener("change", e), e(), () => {
2614
- r.disconnect(), s.removeEventListener("change", e);
2605
+ const l = "system" === r ? window.matchMedia("(prefers-color-scheme: dark)") : null;
2606
+ return l?.addEventListener("change", e), e(), () => {
2607
+ n.disconnect(), l?.removeEventListener("change", e);
2615
2608
  };
2616
- }, [t]), n;
2609
+ }, [t, r]), i;
2610
+ }
2611
+ function pr(e) {
2612
+ return "system" === e ? {
2613
+ themeMode: gr(),
2614
+ source: "media"
2615
+ } : {
2616
+ themeMode: e,
2617
+ source: "fallback"
2618
+ };
2617
2619
  }
2618
- function fr() {
2620
+ function mr() {
2619
2621
  if ("undefined" == typeof document) return null;
2620
2622
  const e = [...Array.from(document.body.classList), ...document.documentElement ? Array.from(document.documentElement.classList) : []];
2621
2623
  return e.includes("dark") ? "dark" : e.includes("light") ? "light" : null;
2622
2624
  }
2623
- function pr() {
2625
+ function gr() {
2624
2626
  return "undefined" == typeof window ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2625
2627
  }
2626
- var mr = g(null), gr = () => S(mr), _r = (e) => {
2627
- const { light: t, dark: n, base: o, surfaces: r, mode: i, surface: s, isolate: l = !1, layer: a = "sxl-overrides", children: c } = e, u = gr(), h = T(() => ({
2628
+ var _r = g(null), vr = () => S(_r), yr = (e) => {
2629
+ const { light: t, dark: n, base: o, surfaces: r, mode: i, surface: s, isolate: l = !1, layer: a = "sxl-overrides", children: c } = e, u = vr(), h = T(() => ({
2628
2630
  ...o?.light ?? {},
2629
2631
  ...u?.light ?? {},
2630
2632
  ...t ?? {}
@@ -2640,7 +2642,7 @@ var mr = g(null), gr = () => S(mr), _r = (e) => {
2640
2642
  o?.dark,
2641
2643
  u?.dark,
2642
2644
  n
2643
- ]), p = hr("token", E()), { themeMode: m } = dr("light" === i || "dark" === i ? { mode: i } : void 0), g = void 0 === i ? void 0 : "auto" === i ? m : i, _ = g ?? u?.mode, v = T(() => lr({
2645
+ ]), p = hr("token", E()), { themeMode: m } = fr("light" === i || "dark" === i ? { mode: i } : { fallback: "system" }), g = void 0 === i ? void 0 : "auto" === i ? m : i, _ = g ?? u?.mode, v = T(() => lr({
2644
2646
  app: {
2645
2647
  light: h,
2646
2648
  dark: d
@@ -2673,31 +2675,31 @@ var mr = g(null), gr = () => S(mr), _r = (e) => {
2673
2675
  const e = f.Children.only(c);
2674
2676
  l && (w.className = [p, e.props?.className].filter(Boolean).join(" ") || void 0), x = f.cloneElement(e, w);
2675
2677
  }
2676
- return $(mr.Provider, {
2678
+ return $(_r.Provider, {
2677
2679
  value: y,
2678
2680
  children: [b, x]
2679
2681
  });
2680
2682
  };
2681
- function vr(e, t) {
2683
+ function br(e, t) {
2682
2684
  if (!e || "undefined" == typeof getComputedStyle) return;
2683
- const n = getComputedStyle(e).getPropertyValue(br(t)).trim();
2685
+ const n = getComputedStyle(e).getPropertyValue(xr(t)).trim();
2684
2686
  return "" === n ? void 0 : n;
2685
2687
  }
2686
- function yr(e, t) {
2688
+ function wr(e, t) {
2687
2689
  const n = {};
2688
2690
  if (!e || "undefined" == typeof getComputedStyle) return n;
2689
2691
  const o = getComputedStyle(e);
2690
2692
  for (const e of t) {
2691
- const t = o.getPropertyValue(br(e)).trim();
2693
+ const t = o.getPropertyValue(xr(e)).trim();
2692
2694
  "" !== t && (n[e] = t);
2693
2695
  }
2694
2696
  return n;
2695
2697
  }
2696
- function br(e) {
2698
+ function xr(e) {
2697
2699
  return e.startsWith("--") ? e : `--sxl-${e}`;
2698
2700
  }
2699
- _r.displayName = "TokenThemeProvider";
2700
- var wr = g(null), xr = () => {
2701
+ yr.displayName = "TokenThemeProvider";
2702
+ var Sr = g(null), Mr = () => {
2701
2703
  const e = (t, n) => {
2702
2704
  if (null === n) return;
2703
2705
  t.add(n);
@@ -2760,13 +2762,13 @@ var wr = g(null), xr = () => {
2760
2762
  })
2761
2763
  };
2762
2764
  return r;
2763
- }, Sr = () => S(wr), Mr = (e) => {
2765
+ }, Er = () => S(Sr), Cr = (e) => {
2764
2766
  const t = {};
2765
2767
  return e ? (e.mode && (t[ar] = e.mode), e.surface && (t[cr] = e.surface), {
2766
2768
  className: e.classes?.length ? e.classes.join(" ") : void 0,
2767
2769
  attrs: t
2768
2770
  }) : { attrs: t };
2769
- }, Er = (e) => {
2771
+ }, Lr = (e) => {
2770
2772
  const t = e?.ownerDocument, n = x((e) => {
2771
2773
  if (!t || "undefined" == typeof MutationObserver) return () => {};
2772
2774
  const n = new MutationObserver(e);
@@ -2777,8 +2779,8 @@ var wr = g(null), xr = () => {
2777
2779
  }), () => n.disconnect();
2778
2780
  }, [t]), o = () => `${e?.closest("[data-sxl-theme-mode]")?.getAttribute("data-sxl-theme-mode") ?? ""}\n${e?.closest("[data-sxl-theme-surface]")?.getAttribute("data-sxl-theme-surface") ?? ""}`, [r, i] = D(n, o, o).split("\n"), s = {};
2779
2781
  return r && (s[ar] = r), i && (s[cr] = i), s;
2780
- }, Cr = () => {
2781
- const e = S(wr), t = gr();
2782
+ }, Tr = () => {
2783
+ const e = S(Sr), t = vr();
2782
2784
  return T(() => {
2783
2785
  const n = e?.themeScope;
2784
2786
  return t?.scopeClass || t?.mode ? {
@@ -2791,16 +2793,16 @@ var wr = g(null), xr = () => {
2791
2793
  t?.scopeClass,
2792
2794
  t?.mode
2793
2795
  ]);
2794
- }, Lr = "_float-popper_1z06c_1", Tr = "_float-popper-grow_1z06c_14", kr = "_entered_1z06c_22", zr = [0, 2], Ar = (e) => {
2796
+ }, kr = "_float-popper_1z06c_1", zr = "_float-popper-grow_1z06c_14", Ar = "_entered_1z06c_22", Dr = [0, 2], Pr = (e) => {
2795
2797
  const t = "function" == typeof e ? e() : e;
2796
2798
  if (!t) return null;
2797
2799
  if (1 === t.nodeType) return t;
2798
2800
  const n = t.contextElement;
2799
2801
  return n && 1 === n.nodeType ? n : null;
2800
- }, Dr = w(v((t, n) => {
2801
- const { open: o, children: r, label: i, offsets: s = zr, anchorEl: l, anchorPosition: a, placement: c = "bottom-start", resizeOnOverflow: u = !0, boundary: h, shift: d = !1, transition: f = !0, container: p, zIndex: m, strategy: g = "absolute", themeFrom: _ = "provider", followAnchor: v = !1, style: y, className: b, onMount: w, onOpening: S, onOpen: E, onClosing: L, onClose: k, ...D } = t;
2802
+ }, Rr = w(v((t, n) => {
2803
+ const { open: o, children: r, label: i, offsets: s = Dr, anchorEl: l, anchorPosition: a, placement: c = "bottom-start", resizeOnOverflow: u = !0, boundary: h, shift: d = !1, transition: f = !0, container: p, zIndex: m, strategy: g = "absolute", themeFrom: _ = "provider", followAnchor: v = !1, style: y, className: b, onMount: w, onOpening: S, onOpen: E, onClosing: L, onClose: k, ...D } = t;
2802
2804
  if (Array.isArray(r)) throw new Error("children can not be an array");
2803
- const P = Yt(w ?? (() => {}), [w]), $ = Yt(S ?? (() => {}), [S]), B = Yt(E ?? (() => {}), [E]), O = Yt(L ?? (() => {}), [L]), I = Yt(k ?? (() => {}), [k]), [N, Z] = A(!1), [q, U] = A(!1), [G, J] = A(!1), [Q, ee] = A(), [te, ne] = A(), oe = z(null), re = z(null), { getPortalContainer: ie } = ln(), se = Cr(), le = Er(a ? null : Ar(l)), ae = z(h);
2805
+ const P = Yt(w ?? (() => {}), [w]), $ = Yt(S ?? (() => {}), [S]), B = Yt(E ?? (() => {}), [E]), O = Yt(L ?? (() => {}), [L]), I = Yt(k ?? (() => {}), [k]), [N, Z] = A(!1), [q, U] = A(!1), [G, J] = A(!1), [Q, ee] = A(), [te, ne] = A(), oe = z(null), re = z(null), { getPortalContainer: ie } = ln(), se = Tr(), le = Lr(a ? null : Pr(l)), ae = z(h);
2804
2806
  ae.current = h;
2805
2807
  const ce = !!h, ue = d ? "object" == typeof d ? d.padding ?? 0 : 0 : null, { mainAxis: he, crossAxis: de, alignmentAxis: fe } = Array.isArray(s) ? {
2806
2808
  mainAxis: s[1] ?? 0,
@@ -2849,7 +2851,7 @@ var wr = g(null), xr = () => {
2849
2851
  return e && (e.width || e.height || e.x || e.y) ? (re.current = e, e) : re.current ?? new DOMRect(0, 0, 0, 0);
2850
2852
  },
2851
2853
  get contextElement() {
2852
- if (!a) return Ar(l) ?? void 0;
2854
+ if (!a) return Pr(l) ?? void 0;
2853
2855
  }
2854
2856
  }), [a, l]), ge = T(() => v ? (e, t, n) => W(e, t, n, { animationFrame: !0 }) : W, [v]), { refs: _e, floatingStyles: ve, isPositioned: ye, placement: be, update: we } = X({
2855
2857
  placement: c,
@@ -2891,7 +2893,7 @@ var wr = g(null), xr = () => {
2891
2893
  e.target === e.currentTarget && o && G && B?.();
2892
2894
  }, [o, G]);
2893
2895
  if (!N) return null;
2894
- const Me = (be ?? c).startsWith("bottom") ? "left top" : "center bottom", { className: Ee, attrs: Ce } = Mr(se);
2896
+ const Me = (be ?? c).startsWith("bottom") ? "left top" : "center bottom", { className: Ee, attrs: Ce } = Cr(se);
2895
2897
  let Le;
2896
2898
  Le = "anchor" === _ ? {
2897
2899
  ...Ce,
@@ -2900,8 +2902,9 @@ var wr = g(null), xr = () => {
2900
2902
  const Te = m ?? Xo("popup"), ke = r || e.EmptyArray;
2901
2903
  return H(R("div", {
2902
2904
  ref: xe,
2903
- className: F(Lr, b, Ee),
2905
+ className: F(kr, b, Ee),
2904
2906
  role: void 0,
2907
+ "data-placement": be ?? c,
2905
2908
  ...Le,
2906
2909
  style: {
2907
2910
  ...ve,
@@ -2913,23 +2916,23 @@ var wr = g(null), xr = () => {
2913
2916
  },
2914
2917
  ...D,
2915
2918
  children: f ? R("div", {
2916
- className: F(Tr, { [kr]: G }),
2919
+ className: F(zr, { [Ar]: G }),
2917
2920
  style: { transformOrigin: Me },
2918
2921
  onTransitionEnd: Se,
2919
2922
  children: ke
2920
2923
  }) : ke
2921
2924
  }), p ?? ie());
2922
2925
  }));
2923
- Dr.displayName = "FloatPopper";
2924
- var Pr = "_float-popup_juap7_1", Rr = (e) => {
2926
+ Rr.displayName = "FloatPopper";
2927
+ var $r = "_float-popup_juap7_1", Br = (e) => {
2925
2928
  const { closeFloat: t, closeFloatAll: n, floatReference: o, popupContainer: r, children: i, className: s, ...l } = e;
2926
2929
  return R("div", {
2927
- className: F("menu", Pr, s),
2930
+ className: F("menu", $r, s),
2928
2931
  ...l,
2929
2932
  children: i
2930
2933
  });
2931
- }, $r = "_float-panel_qj0za_1", Br = w(v((e, t) => {
2932
- const { floatReference: n, popupContainer: o, renderPopupPanel: r = Rr, children: i, className: s, ...l } = e, a = {
2934
+ }, Or = "_float-panel_qj0za_1", Hr = w(v((e, t) => {
2935
+ const { floatReference: n, popupContainer: o, renderPopupPanel: r = Br, children: i, className: s, ...l } = e, a = {
2933
2936
  popupContainer: o,
2934
2937
  floatReference: n,
2935
2938
  children: i,
@@ -2937,7 +2940,7 @@ var Pr = "_float-popup_juap7_1", Rr = (e) => {
2937
2940
  };
2938
2941
  return R("div", {
2939
2942
  ref: t,
2940
- className: F($r, s),
2943
+ className: F(Or, s),
2941
2944
  tabIndex: 0,
2942
2945
  children: R(Po, {
2943
2946
  render: r,
@@ -2945,11 +2948,11 @@ var Pr = "_float-popup_juap7_1", Rr = (e) => {
2945
2948
  })
2946
2949
  });
2947
2950
  }));
2948
- Br.displayName = "FloatPanelSurface";
2949
- var Or = w(v((e, t) => {
2950
- const { open: n, anchorEl: o, anchorPosition: r, label: i, floatReference: s, renderPopupPanel: l = Rr, propsPopper: a, onMount: c, onClosing: u, onClose: h, onOpening: d, onOpen: f, children: p, className: m, ...g } = e, _ = Yt(u ?? (() => {}), [u]), v = Yt(h ?? (() => {}), [h]), y = Yt(d ?? (() => {}), [d]), b = Yt(f ?? (() => {}), [f]), [w, x] = A(), S = z(null), M = Yt((e, t) => {
2951
+ Hr.displayName = "FloatPanelSurface";
2952
+ var Ir = w(v((e, t) => {
2953
+ const { open: n, anchorEl: o, anchorPosition: r, label: i, floatReference: s, renderPopupPanel: l = Br, propsPopper: a, onMount: c, onClosing: u, onClose: h, onOpening: d, onOpen: f, children: p, className: m, ...g } = e, _ = Yt(u ?? (() => {}), [u]), v = Yt(h ?? (() => {}), [h]), y = Yt(d ?? (() => {}), [d]), b = Yt(f ?? (() => {}), [f]), [w, x] = A(), S = z(null), M = Yt((e, t) => {
2951
2954
  x(e), c?.(S.current, t);
2952
- }, [c]), E = T(() => R(Br, {
2955
+ }, [c]), E = T(() => R(Hr, {
2953
2956
  ref: S,
2954
2957
  className: m,
2955
2958
  floatReference: s,
@@ -2963,7 +2966,7 @@ var Or = w(v((e, t) => {
2963
2966
  w,
2964
2967
  s
2965
2968
  ]);
2966
- return R(Dr, {
2969
+ return R(Rr, {
2967
2970
  ref: t,
2968
2971
  anchorEl: o,
2969
2972
  anchorPosition: r,
@@ -2978,9 +2981,9 @@ var Or = w(v((e, t) => {
2978
2981
  children: E
2979
2982
  });
2980
2983
  }));
2981
- Or.displayName = "FloatPanel";
2982
- var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
2983
- const { renderFloatPanel: t, renderPopupPanel: n, propsFloatPanel: o, themeScopeClass: r, themeSurface: i, themeMode: s, isolate: l, rootRef: a, children: c } = e, u = S(wr), h = T(() => {
2984
+ Ir.displayName = "FloatPanel";
2985
+ var Nr = (e) => R(Ir, { ...e }), Fr = (e) => {
2986
+ const { renderFloatPanel: t, renderPopupPanel: n, propsFloatPanel: o, themeScopeClass: r, themeSurface: i, themeMode: s, isolate: l, rootRef: a, children: c } = e, u = S(Sr), h = T(() => {
2984
2987
  const e = u?.themeScope, l = r ? [...e?.classes ?? [], r] : e?.classes, a = i ?? e?.surface, c = s ?? e?.mode, h = l?.length || a || c ? {
2985
2988
  classes: l,
2986
2989
  surface: a,
@@ -3001,12 +3004,12 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3001
3004
  s,
3002
3005
  u
3003
3006
  ]), d = Lt();
3004
- let f = R(wr.Provider, {
3007
+ let f = R(Sr.Provider, {
3005
3008
  value: h,
3006
3009
  children: c
3007
3010
  });
3008
3011
  const p = l || !d, m = z(null);
3009
- p && null === m.current && (m.current = xr());
3012
+ p && null === m.current && (m.current = Mr());
3010
3013
  const g = p ? m.current : null;
3011
3014
  g && (f = R(Ct, {
3012
3015
  value: g,
@@ -3020,8 +3023,8 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3020
3023
  a.current = null;
3021
3024
  });
3022
3025
  }, [a, _]), f;
3023
- }, Nr = (e) => {
3024
- const { anchor: t, autoFocus: n = !0, disableClickAway: o = !1, label: r = null, parentFloat: i = null, onOpen: s, onClose: l, propsPopper: a, renderPopupPanel: c, renderFloatPanel: u } = e ?? {}, h = Yt(s ?? (() => {}), [s]), d = Yt(l ?? (() => {}), [l]), f = Sr(), p = u ?? f?.renderFloatPanel ?? Hr, m = void 0 === c ? f?.renderPopupPanel ?? Rr : c, g = Lt(), [_, v] = A(null), [y, b] = A(!1), [w, S] = A(!1), E = T(() => i ?? g ?? xr(), []), C = T(() => E.getRoot(), []), L = T(() => ({ label: r }), []), D = z(null), P = z(t);
3026
+ }, Wr = (e) => {
3027
+ const { anchor: t, autoFocus: n = !0, disableClickAway: o = !1, label: r = null, parentFloat: i = null, onOpen: s, onClose: l, propsPopper: a, renderPopupPanel: c, renderFloatPanel: u } = e ?? {}, h = Yt(s ?? (() => {}), [s]), d = Yt(l ?? (() => {}), [l]), f = Er(), p = u ?? f?.renderFloatPanel ?? Nr, m = void 0 === c ? f?.renderPopupPanel ?? Br : c, g = Lt(), [_, v] = A(null), [y, b] = A(!1), [w, S] = A(!1), E = T(() => i ?? g ?? Mr(), []), C = T(() => E.getRoot(), []), L = T(() => ({ label: r }), []), D = z(null), P = z(t);
3025
3028
  M(() => {
3026
3029
  P.current = t;
3027
3030
  }, [t]);
@@ -3178,8 +3181,8 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3178
3181
  reference: G,
3179
3182
  isOpen: !0 === _
3180
3183
  };
3181
- }, Fr = {}, Wr = (e) => {
3182
- const { onPointerDown: t, style: n, splitDirection: o, paddingBefore: r = 0, paddingAfter: i = 0, disabled: s, key: l, propsHitArea: a = Fr, ...c } = e, u = "row" === o, { style: h, className: d, ...f } = a;
3184
+ }, Kr = {}, Vr = (e) => {
3185
+ const { onPointerDown: t, style: n, splitDirection: o, paddingBefore: r = 0, paddingAfter: i = 0, disabled: s, key: l, propsHitArea: a = Kr, ...c } = e, u = "row" === o, { style: h, className: d, ...f } = a;
3183
3186
  return R("div", {
3184
3187
  style: {
3185
3188
  ...n,
@@ -3200,7 +3203,7 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3200
3203
  ...f
3201
3204
  })
3202
3205
  }, l);
3203
- }, Kr = {}, Vr = (e, t, n = !0) => null === e ? null : null !== e.pixels ? n ? e.pixels : t - e.pixels : (n ? e.percent : 100 - e.percent) / 100 * t, jr = (e, t = !0) => e?.percent ? `${t ? e.percent : 100 - e.percent}%` : e?.pixels ? `${e.pixels}px` : void 0, Yr = (e, t) => {
3206
+ }, jr = {}, Yr = (e, t, n = !0) => null === e ? null : null !== e.pixels ? n ? e.pixels : t - e.pixels : (n ? e.percent : 100 - e.percent) / 100 * t, Xr = (e, t = !0) => e?.percent ? `${t ? e.percent : 100 - e.percent}%` : e?.pixels ? `${e.pixels}px` : void 0, Zr = (e, t) => {
3204
3207
  if (null == e) return null;
3205
3208
  const n = {
3206
3209
  percent: null,
@@ -3208,8 +3211,8 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3208
3211
  };
3209
3212
  let o = t;
3210
3213
  return "string" == typeof e && ((e = e.trim().toLowerCase()).endsWith("px") ? (e = e.substring(0, e.length - 2), o = !1) : e.endsWith("%") && (e = e.substring(0, e.length - 1), o = !0), e = parseFloat(e)), o ? n.percent = e : n.pixels = e, Object.freeze(n);
3211
- }, Xr = w(v((e, t) => {
3212
- const { elementBefore: n, elementAfter: o, splitDirection: r = "row", fixedPane: i = null, position: s, onPositionChange: l, minBefore: a, maxBefore: c, minAfter: u, maxAfter: h, children: d, className: f, style: p, disabled: m = !1, onDragStart: g, onDragResize: _, onDragFinish: v, propsResizer: b = Kr, propsPane: w = Kr, propsPaneBefore: x = Kr, propsPaneAfter: S = Kr, renderResizer: E = Wr } = e;
3214
+ }, qr = w(v((e, t) => {
3215
+ const { elementBefore: n, elementAfter: o, splitDirection: r = "row", fixedPane: i = null, position: s, onPositionChange: l, minBefore: a, maxBefore: c, minAfter: u, maxAfter: h, children: d, className: f, style: p, disabled: m = !1, onDragStart: g, onDragResize: _, onDragFinish: v, propsResizer: b = jr, propsPane: w = jr, propsPaneBefore: x = jr, propsPaneAfter: S = jr, renderResizer: E = Vr } = e;
3213
3216
  if (d) throw new Error("Use elementBefore and elementAfter instead of children.");
3214
3217
  const C = T(() => y(o) && y(n), [o, n]), L = T(() => {
3215
3218
  let e = null;
@@ -3218,19 +3221,19 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3218
3221
  return {
3219
3222
  fixedPaneOffset: e,
3220
3223
  isPercent: t,
3221
- minBefore: Yr(a, t),
3222
- maxBefore: Yr(c, t),
3223
- minAfter: Yr(u, t),
3224
- maxAfter: Yr(h, t)
3224
+ minBefore: Zr(a, t),
3225
+ maxBefore: Zr(c, t),
3226
+ minAfter: Zr(u, t),
3227
+ maxAfter: Zr(h, t)
3225
3228
  };
3226
3229
  }, [
3227
3230
  a,
3228
3231
  c,
3229
3232
  u,
3230
3233
  h
3231
- ]), k = Yt(l ?? (() => {}), [l]), [D, P] = A(() => Yr(s, null === i));
3234
+ ]), k = Yt(l ?? (() => {}), [l]), [D, P] = A(() => Zr(s, null === i));
3232
3235
  M(() => {
3233
- P(Yr(s, null === i));
3236
+ P(Zr(s, null === i));
3234
3237
  }, [s, i]);
3235
3238
  const [B, { width: O, height: H }] = yo(), [I, { width: W, height: K }] = yo(), V = "row" === r ? W : K, j = "row" === r ? O : H, Y = T(() => ((e, t, n, o) => {
3236
3239
  const r = [null, null], i = [null, null];
@@ -3240,13 +3243,13 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3240
3243
  }), 0 === t) return void 0 !== e.pixels && null !== e.pixels ? 1 !== o.fixedPaneOffset ? (r[0] = e.pixels, i[1] = 100) : (r[1] = e.pixels - n, i[0] = 100) : void 0 !== e.percent && null !== e.percent && (1 !== o.fixedPaneOffset ? (i[0] = e.percent, i[1] = 100 - e.percent) : (i[1] = e.percent, i[0] = 100 - e.percent)), {
3241
3244
  percents: i,
3242
3245
  pixels: r,
3243
- minBefore: jr(o.minBefore, !0),
3244
- maxBefore: jr(o.maxBefore, !0),
3245
- minAfter: jr(o.minAfter),
3246
- maxAfter: jr(o.maxAfter)
3246
+ minBefore: Xr(o.minBefore, !0),
3247
+ maxBefore: Xr(o.maxBefore, !0),
3248
+ minAfter: Xr(o.minAfter),
3249
+ maxAfter: Xr(o.maxAfter)
3247
3250
  };
3248
- let s = Vr(e, t, 1 !== o.fixedPaneOffset) ?? 0, l = t - n, a = Vr(o.minBefore, l, !0) ?? 0, c = Vr(o.maxBefore, l, !0) ?? l, u = 0, h = 0, d = 0, f = l;
3249
- u = (Vr(o.maxAfter, t, !1) ?? n) - n, h = Vr(o.minAfter, t, !1) ?? t, d = Math.max(a, u), f = Math.min(c, h), s = Math.max(d, Math.min(s, f)), h = Math.min(l - s, Vr(o.maxAfter, l - s, !0) ?? l), u = Math.min(l - s, Vr(o.minAfter, l - s, !0) ?? l), r[0] = s, r[1] = l - s;
3251
+ let s = Yr(e, t, 1 !== o.fixedPaneOffset) ?? 0, l = t - n, a = Yr(o.minBefore, l, !0) ?? 0, c = Yr(o.maxBefore, l, !0) ?? l, u = 0, h = 0, d = 0, f = l;
3252
+ u = (Yr(o.maxAfter, t, !1) ?? n) - n, h = Yr(o.minAfter, t, !1) ?? t, d = Math.max(a, u), f = Math.min(c, h), s = Math.max(d, Math.min(s, f)), h = Math.min(l - s, Yr(o.maxAfter, l - s, !0) ?? l), u = Math.min(l - s, Yr(o.minAfter, l - s, !0) ?? l), r[0] = s, r[1] = l - s;
3250
3253
  const p = Math.max(0, Math.min(100, s / l * 100));
3251
3254
  return i[0] = p, i[1] = 100 - p, {
3252
3255
  percents: i,
@@ -3280,7 +3283,7 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3280
3283
  flexDirection: r,
3281
3284
  display: "flex"
3282
3285
  }, { className: de, style: fe, onPointerDown: pe, ...me } = b, ge = Yt((e) => {
3283
- const t = Yr(e, null === i);
3286
+ const t = Zr(e, null === i);
3284
3287
  P(t);
3285
3288
  }, [i]), _e = Yt((e) => {
3286
3289
  if (m || !X) return;
@@ -3299,7 +3302,7 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3299
3302
  j
3300
3303
  ]), ve = Yt((e) => {
3301
3304
  if (document.removeEventListener("pointermove", _e), document.removeEventListener("touchmove", _e), document.removeEventListener("pointerup", ve), X && (Z(!1), D)) {
3302
- if (G(D.pixels ?? 0), !Yr(s, null === i) || D.pixels !== s) {
3305
+ if (G(D.pixels ?? 0), !Zr(s, null === i) || D.pixels !== s) {
3303
3306
  const e = D.pixels ?? 0, t = {
3304
3307
  pixels: e,
3305
3308
  percent: D.percent ?? e / j * 100
@@ -3404,7 +3407,7 @@ var Hr = (e) => R(Or, { ...e }), Ir = (e) => {
3404
3407
  ]
3405
3408
  });
3406
3409
  }));
3407
- function Zr(e) {
3410
+ function Ur(e) {
3408
3411
  if ("function" == typeof e) return e;
3409
3412
  if ("string" == typeof e) {
3410
3413
  const t = e.trim();
@@ -3437,12 +3440,12 @@ function Zr(e) {
3437
3440
  return null;
3438
3441
  }
3439
3442
  }(t);
3440
- if (e) return Gr(e);
3443
+ if (e) return Qr(e);
3441
3444
  }
3442
3445
  if (t.startsWith("<")) {
3443
- if (/^<\s*svg\b/i.test(t)) return Gr(t);
3446
+ if (/^<\s*svg\b/i.test(t)) return Qr(t);
3444
3447
  if (/^<\s*path\b/i.test(t)) {
3445
- const e = qr(t);
3448
+ const e = Gr(t);
3446
3449
  if (e) return { paths: [{ d: e }] };
3447
3450
  }
3448
3451
  return { paths: [{ d: t }] };
@@ -3454,7 +3457,7 @@ function Zr(e) {
3454
3457
  for (const n of e) if ("string" == typeof n) {
3455
3458
  const e = String(n).trim();
3456
3459
  if (e.startsWith("<path")) {
3457
- const n = qr(e);
3460
+ const n = Gr(e);
3458
3461
  n && t.push({ d: n });
3459
3462
  } else t.push({ d: e });
3460
3463
  } else n && "object" == typeof n && "d" in n && "string" == typeof n.d && t.push({ ...n });
@@ -3462,14 +3465,14 @@ function Zr(e) {
3462
3465
  }
3463
3466
  return e;
3464
3467
  }
3465
- function qr(e) {
3468
+ function Gr(e) {
3466
3469
  const t = /\bd\s*=\s*(?:"([^"]+)"|'([^']+)')/i.exec(e);
3467
3470
  return t ? t[1] ?? t[2] ?? null : null;
3468
3471
  }
3469
- function Ur(e) {
3472
+ function Jr(e) {
3470
3473
  if ("svg" in e) return {
3471
3474
  ...e,
3472
- svg: Zr(e.svg)
3475
+ svg: Ur(e.svg)
3473
3476
  };
3474
3477
  if ("url" in e) {
3475
3478
  const t = "string" == typeof e.url ? { src: e.url } : e.url;
@@ -3487,7 +3490,7 @@ function Ur(e) {
3487
3490
  }
3488
3491
  return e;
3489
3492
  }
3490
- function Gr(e) {
3493
+ function Qr(e) {
3491
3494
  try {
3492
3495
  if ("undefined" != typeof DOMParser) {
3493
3496
  const t = new DOMParser().parseFromString(e, "image/svg+xml"), n = t.querySelector("svg")?.getAttribute("viewBox") ?? void 0, o = [];
@@ -3520,9 +3523,9 @@ function Gr(e) {
3520
3523
  paths: o
3521
3524
  };
3522
3525
  }
3523
- function Jr(e) {
3526
+ function ei(e) {
3524
3527
  const t = {};
3525
- for (const [n, o] of Object.entries(e.icons)) t[n] = Ur(o);
3528
+ for (const [n, o] of Object.entries(e.icons)) t[n] = Jr(o);
3526
3529
  const n = {
3527
3530
  label: e.meta?.label ?? "Unnamed",
3528
3531
  version: e.meta?.version ?? "1.0.0",
@@ -3539,14 +3542,14 @@ function Jr(e) {
3539
3542
  const e = {};
3540
3543
  for (const [t, n] of Object.entries(r)) {
3541
3544
  const o = {};
3542
- for (const [e, t] of Object.entries(n)) o[e] = Ur(t);
3545
+ for (const [e, t] of Object.entries(n)) o[e] = Jr(t);
3543
3546
  e[t] = o;
3544
3547
  }
3545
3548
  o.__overrides = e;
3546
3549
  }
3547
3550
  return o;
3548
3551
  }
3549
- function Qr() {
3552
+ function ti() {
3550
3553
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
3551
3554
  let n = "base", o = /* @__PURE__ */ new Map();
3552
3555
  async function r(t) {
@@ -3557,7 +3560,7 @@ function Qr() {
3557
3560
  if (!o.loader) throw new Error(`No loader for icon pack: ${t}`);
3558
3561
  o.loading = o.loader().then((e) => {
3559
3562
  const t = e && "object" == typeof e && "default" in e ? e.default : e;
3560
- o.pack = Jr(t);
3563
+ o.pack = ei(t);
3561
3564
  }).catch((e) => {
3562
3565
  throw o.loading = void 0, e;
3563
3566
  });
@@ -3612,7 +3615,7 @@ function Qr() {
3612
3615
  return {
3613
3616
  register: function(t, o) {
3614
3617
  const r = e.get(t) ?? {};
3615
- "function" == typeof o ? r.loader = o : r.pack = Jr(o), e.set(t, r), n || (n = t);
3618
+ "function" == typeof o ? r.loader = o : r.pack = ei(o), e.set(t, r), n || (n = t);
3616
3619
  },
3617
3620
  prefetch: async function(e = n) {
3618
3621
  const t = Array.isArray(e) ? e : [e];
@@ -3675,25 +3678,25 @@ function Qr() {
3675
3678
  }
3676
3679
  };
3677
3680
  }
3678
- Xr.displayName = "SplitPane";
3679
- var ei = Qr();
3680
- ei.register("base", () => import("./DdJv1hIL0b8Zr_0E.mjs")), ei.register("cf", () => import("./HCxeeufPYi1bA96E.mjs"));
3681
- var ti = (e) => R("svg", {
3681
+ qr.displayName = "SplitPane";
3682
+ var ni = ti();
3683
+ ni.register("base", () => import("./CtpAJ3_rL0eHTsak.mjs")), ni.register("cf", () => import("./CMJ_8SopdnIIgif-.mjs"));
3684
+ var oi = (e) => R("svg", {
3682
3685
  ...e,
3683
3686
  children: R("path", {})
3684
- }), ni = {
3687
+ }), ri = {
3685
3688
  Icon: "_Icon_16f7r_10",
3686
3689
  "sxl-walk": "_sxl-walk_16f7r_1"
3687
- }, oi = w((t) => {
3690
+ }, ii = w((t) => {
3688
3691
  const { iconKey: n, packKey: o, className: r, style: i, role: s, title: l, size: a, ariaHidden: c, propsSource: u, children: h, ...d } = t, [f, p] = A(null);
3689
3692
  M(() => {
3690
3693
  let t = !0, r = o, i = n;
3691
3694
  if (!i) {
3692
- const t = ei.getPack(r);
3695
+ const t = ni.getPack(r);
3693
3696
  p({
3694
3697
  glyph: t ? { svg: e.EmptyArray } : void 0,
3695
3698
  pack: t ?? void 0,
3696
- packKey: r ?? ei.getActive()
3699
+ packKey: r ?? ni.getActive()
3697
3700
  });
3698
3701
  return;
3699
3702
  }
@@ -3701,7 +3704,7 @@ var ti = (e) => R("svg", {
3701
3704
  const [e, t] = i.split(":");
3702
3705
  r = e, i = t;
3703
3706
  }
3704
- return ei.resolve(i, { packKey: r }).then((e) => {
3707
+ return ni.resolve(i, { packKey: r }).then((e) => {
3705
3708
  t && p(e);
3706
3709
  }).catch(() => {}), () => {
3707
3710
  t = !1;
@@ -3710,7 +3713,7 @@ var ti = (e) => R("svg", {
3710
3713
  const m = f?.pack, g = f?.glyph, _ = f?.packKey;
3711
3714
  let v = g ? g.svg : void 0;
3712
3715
  const y = g && !v ? g.url : void 0, b = !g || v || y ? void 0 : g.emoji, w = null != a ? "number" == typeof a ? `${a}px` : a : void 0, x = T(() => [
3713
- ni.Icon,
3716
+ ri.Icon,
3714
3717
  "icon",
3715
3718
  r
3716
3719
  ].filter(Boolean).join(" "), [r]), S = T(() => {
@@ -3746,8 +3749,8 @@ var ti = (e) => R("svg", {
3746
3749
  return L(R(e, { ...t }));
3747
3750
  }
3748
3751
  const k = { viewBox: v?.viewBox ?? m?.meta.defaultViewBox ?? "0 0 24 24" };
3749
- if ("function" == typeof v) return L(v(k) ?? R(ti, { ...k }));
3750
- if (!v) return L(R(ti, { ...k }));
3752
+ if ("function" == typeof v) return L(v(k) ?? R(oi, { ...k }));
3753
+ if (!v) return L(R(oi, { ...k }));
3751
3754
  const z = v.paths;
3752
3755
  return L(R("svg", {
3753
3756
  ...k,
@@ -3762,7 +3765,7 @@ var ti = (e) => R("svg", {
3762
3765
  }, t)) : null
3763
3766
  }));
3764
3767
  });
3765
- function ri(e) {
3768
+ function si(e) {
3766
3769
  const { isWalking: t = !1, themedType: n = "primary", speed: o = 120, dashGap: r = 3, dashLength: i = 5, iconKey: s, packKey: l, style: a, className: c, ...u } = e, h = T(() => {
3767
3770
  if (!t) return;
3768
3771
  const e = {
@@ -3778,7 +3781,7 @@ function ri(e) {
3778
3781
  i,
3779
3782
  n
3780
3783
  ]), d = T(() => t ? c + " walking" : c, [t, c]);
3781
- return R(oi, {
3784
+ return R(ii, {
3782
3785
  iconKey: s,
3783
3786
  packKey: l,
3784
3787
  className: d,
@@ -3789,7 +3792,7 @@ function ri(e) {
3789
3792
  ...u
3790
3793
  });
3791
3794
  }
3792
- var ii = class {
3795
+ var li = class {
3793
3796
  constructor() {
3794
3797
  this.store = /* @__PURE__ */ new Map();
3795
3798
  }
@@ -3802,32 +3805,32 @@ var ii = class {
3802
3805
  removeItem(e) {
3803
3806
  this.store.delete(e);
3804
3807
  }
3805
- }, si = g(null), li = Object.freeze({}), ai = {
3808
+ }, ai = g(null), ci = Object.freeze({}), ui = {
3806
3809
  parse: (e) => e ? JSON.parse(e) : null,
3807
3810
  stringify: JSON.stringify
3808
- }, ci = /* @__PURE__ */ new Map(), ui = {
3809
- store: new ii(),
3811
+ }, hi = /* @__PURE__ */ new Map(), di = {
3812
+ store: new li(),
3810
3813
  namespace: "",
3811
- serializer: ai,
3814
+ serializer: ui,
3812
3815
  onReady: (e) => {
3813
3816
  e();
3814
3817
  },
3815
3818
  debounceMs: 0,
3816
- defaultValues: li,
3819
+ defaultValues: ci,
3817
3820
  notify: (e, t) => {
3818
- const n = ci.get(e);
3821
+ const n = hi.get(e);
3819
3822
  n && n.forEach((e) => e(t));
3820
3823
  },
3821
3824
  subscribeKey: (e, t) => {
3822
- const n = ci.get(e) ?? /* @__PURE__ */ new Set();
3823
- return n.add(t), ci.set(e, n), () => {
3824
- const n = ci.get(e);
3825
- n && (n.delete(t), 0 === n.size && ci.delete(e));
3825
+ const n = hi.get(e) ?? /* @__PURE__ */ new Set();
3826
+ return n.add(t), hi.set(e, n), () => {
3827
+ const n = hi.get(e);
3828
+ n && (n.delete(t), 0 === n.size && hi.delete(e));
3826
3829
  };
3827
3830
  }
3828
3831
  };
3829
- function hi(e, t, n = di) {
3830
- const { store: o, namespace: r, serializer: i, debounceMs: s, subscribeKey: l, notify: a, defaultValues: c } = S(si) || ui, u = n.serializer ?? i ?? ai, h = z(null), d = T(() => null == e ? null : `${r}:${e}`, [r, e]), f = d ? `${d}::v` : null, p = () => {
3832
+ function fi(e, t, n = pi) {
3833
+ const { store: o, namespace: r, serializer: i, debounceMs: s, subscribeKey: l, notify: a, defaultValues: c } = S(ai) || di, u = n.serializer ?? i ?? ui, h = z(null), d = T(() => null == e ? null : `${r}:${e}`, [r, e]), f = d ? `${d}::v` : null, p = () => {
3831
3834
  if (null != e && Object.prototype.hasOwnProperty.call(c, e)) return c[e];
3832
3835
  const n = t;
3833
3836
  return "function" == typeof n ? n() : n;
@@ -3907,11 +3910,11 @@ function hi(e, t, n = di) {
3907
3910
  x(() => C.current(), [])
3908
3911
  ];
3909
3912
  }
3910
- var di = {};
3911
- function fi(e) {
3912
- const { store: t, namespace: n = "", serializer: o = gi, debounceMs: r = 150, defaultValues: i = li, children: s } = e, l = z(i);
3913
- _i(l.current, i) || (l.current = i);
3914
- const a = l.current, c = T(() => "undefined" == typeof window ? new ii() : t ?? new ii(), [t]), u = z(/* @__PURE__ */ new Map()), h = T(() => ({
3913
+ var pi = {};
3914
+ function mi(e) {
3915
+ const { store: t, namespace: n = "", serializer: o = vi, debounceMs: r = 150, defaultValues: i = ci, children: s } = e, l = z(i);
3916
+ yi(l.current, i) || (l.current = i);
3917
+ const a = l.current, c = T(() => "undefined" == typeof window ? new li() : t ?? new li(), [t]), u = z(/* @__PURE__ */ new Map()), h = T(() => ({
3915
3918
  store: c,
3916
3919
  namespace: n,
3917
3920
  serializer: o,
@@ -3944,19 +3947,19 @@ function fi(e) {
3944
3947
  const t = e.slice(h.namespace.length + 1);
3945
3948
  h.notify(t);
3946
3949
  });
3947
- }, [h]), R(si.Provider, {
3950
+ }, [h]), R(ai.Provider, {
3948
3951
  value: h,
3949
3952
  children: s
3950
3953
  });
3951
3954
  }
3952
- var pi, mi, gi = {
3955
+ var gi, _i, vi = {
3953
3956
  parse: (e) => null == e ? null : JSON.parse(e),
3954
3957
  stringify: JSON.stringify
3955
- }, _i = (e, t) => {
3958
+ }, yi = (e, t) => {
3956
3959
  if (e === t) return !0;
3957
3960
  const n = Object.keys(e);
3958
3961
  return n.length === Object.keys(t).length && n.every((n) => Object.prototype.hasOwnProperty.call(t, n) && Object.is(e[n], t[n]));
3959
- }, vi = class {
3962
+ }, bi = class {
3960
3963
  constructor(e = window.localStorage) {
3961
3964
  this.storage = e;
3962
3965
  }
@@ -3983,10 +3986,10 @@ var pi, mi, gi = {
3983
3986
  };
3984
3987
  return window.addEventListener("storage", t), () => window.removeEventListener("storage", t);
3985
3988
  }
3986
- }, yi = /* @__PURE__ */ new WeakMap();
3987
- (mi = pi || (pi = {})).begin = function(e) {
3988
- let t = yi.get(e);
3989
- t || (t = /* @__PURE__ */ new Set(), yi.set(e, t));
3989
+ }, wi = /* @__PURE__ */ new WeakMap();
3990
+ (_i = gi || (gi = {})).begin = function(e) {
3991
+ let t = wi.get(e);
3992
+ t || (t = /* @__PURE__ */ new Set(), wi.set(e, t));
3990
3993
  let n = () => {};
3991
3994
  const o = new Promise((e) => {
3992
3995
  n = e;
@@ -3997,25 +4000,25 @@ var pi, mi, gi = {
3997
4000
  return () => {
3998
4001
  r || (r = !0, i.delete(o), n());
3999
4002
  };
4000
- }, mi.isPending = function(e) {
4001
- return (yi.get(e)?.size ?? 0) > 0;
4003
+ }, _i.isPending = function(e) {
4004
+ return (wi.get(e)?.size ?? 0) > 0;
4002
4005
  };
4003
- var bi = async (e) => {
4004
- const t = yi.get(e);
4006
+ var xi = async (e) => {
4007
+ const t = wi.get(e);
4005
4008
  for (; t && t.size > 0;) await Promise.allSettled([...t]);
4006
- }, wi = g(null), xi = (e) => f.createElement(wi.Provider, { value: e.scope }, e.children), Si = (e, t) => {
4007
- const n = S(wi), o = void 0 === t ? n : t;
4009
+ }, Si = g(null), Mi = (e) => f.createElement(Si.Provider, { value: e.scope }, e.children), Ei = (e, t) => {
4010
+ const n = S(Si), o = void 0 === t ? n : t;
4008
4011
  M(() => {
4009
- if (o && e) return pi.begin(o);
4012
+ if (o && e) return gi.begin(o);
4010
4013
  }, [o, e]);
4011
- }, Mi = {
4014
+ }, Ci = {
4012
4015
  Horizontal: "horizontal",
4013
4016
  Vertical: "vertical"
4014
- }, Ei = "_scrollbar_2chse_24", Ci = "_track_2chse_35", Li = "_thumb_2chse_47", Ti = "_scrollbar-button_2chse_96", ki = "_touch-thumb_2chse_131", zi = "M 5.4951012,0.62494002 7.1746358,3.4734472 8.8557603,6.3226744 c 0.13425,0.2277477 0.18228,0.4945506 0.1356,0.7535218 -0.04665,0.2589712 -0.18504,0.4935661 -0.3908099,0.6625402 C 8.3948254,7.9076371 8.1348905,8.0001761 7.8664506,7.9999997 H 1.1503225 c -0.30278993,0 -0.59312985,-0.117841 -0.80720983,-0.3275159 -0.2140799,-0.2097042 -0.3343649,-0.4941244 -0.3343649,-0.7907107 -4.5e-4,-0.1955399 0.05205,-0.3876855 0.152205,-0.55688 L 1.8390472,3.4734031 3.5178618,0.62488125 C 3.7217717,0.27898385 4.0986166,0.0658413 4.5064365,0.0658413 c 0.4078199,0 0.7846648,0.21314255 0.9885747,0.55903995 z", Ai = "M 0.6632643,3.5136438 3.5117715,1.8341092 6.3609987,0.15298466 c 0.2277477,-0.13425 0.4945506,-0.18228 0.7535218,-0.1356 0.2589712,0.04665 0.4935661,0.18504 0.6625402,0.3908099 0.1689007,0.205725 0.2614397,0.4656599 0.2612633,0.73409984 v 6.7161281 c 0,0.3027899 -0.117841,0.5931298 -0.3275159,0.8072098 -0.2097042,0.2140799 -0.4941244,0.3343649 -0.7907107,0.3343649 -0.1955399,4.5e-4 -0.3876855,-0.05205 -0.55688,-0.152205 L 3.5117274,7.1696978 0.6632056,5.4908832 C 0.31730817,5.2869733 0.10416562,4.9101284 0.10416562,4.5023085 c 0,-0.4078199 0.21314255,-0.7846648 0.55903998,-0.9885747 z", Di = { transform: "rotate(180deg)" }, Pi = (e) => {
4015
- const { style: t, orientation: n = Mi.Vertical, isBefore: o, disabled: r, ...i } = e, s = n === Mi.Vertical ? zi : Ai;
4017
+ }, Li = "_scrollbar_2chse_24", Ti = "_track_2chse_35", ki = "_thumb_2chse_47", zi = "_scrollbar-button_2chse_96", Ai = "_touch-thumb_2chse_131", Di = "M 5.4951012,0.62494002 7.1746358,3.4734472 8.8557603,6.3226744 c 0.13425,0.2277477 0.18228,0.4945506 0.1356,0.7535218 -0.04665,0.2589712 -0.18504,0.4935661 -0.3908099,0.6625402 C 8.3948254,7.9076371 8.1348905,8.0001761 7.8664506,7.9999997 H 1.1503225 c -0.30278993,0 -0.59312985,-0.117841 -0.80720983,-0.3275159 -0.2140799,-0.2097042 -0.3343649,-0.4941244 -0.3343649,-0.7907107 -4.5e-4,-0.1955399 0.05205,-0.3876855 0.152205,-0.55688 L 1.8390472,3.4734031 3.5178618,0.62488125 C 3.7217717,0.27898385 4.0986166,0.0658413 4.5064365,0.0658413 c 0.4078199,0 0.7846648,0.21314255 0.9885747,0.55903995 z", Pi = "M 0.6632643,3.5136438 3.5117715,1.8341092 6.3609987,0.15298466 c 0.2277477,-0.13425 0.4945506,-0.18228 0.7535218,-0.1356 0.2589712,0.04665 0.4935661,0.18504 0.6625402,0.3908099 0.1689007,0.205725 0.2614397,0.4656599 0.2612633,0.73409984 v 6.7161281 c 0,0.3027899 -0.117841,0.5931298 -0.3275159,0.8072098 -0.2097042,0.2140799 -0.4941244,0.3343649 -0.7907107,0.3343649 -0.1955399,4.5e-4 -0.3876855,-0.05205 -0.55688,-0.152205 L 3.5117274,7.1696978 0.6632056,5.4908832 C 0.31730817,5.2869733 0.10416562,4.9101284 0.10416562,4.5023085 c 0,-0.4078199 0.21314255,-0.7846648 0.55903998,-0.9885747 z", Ri = { transform: "rotate(180deg)" }, $i = (e) => {
4018
+ const { style: t, orientation: n = Ci.Vertical, isBefore: o, disabled: r, ...i } = e, s = n === Ci.Vertical ? Di : Pi;
4016
4019
  return R("button", {
4017
4020
  style: t,
4018
- className: F(Ti, n, "scroll-button"),
4021
+ className: F(zi, n, "scroll-button"),
4019
4022
  disabled: r,
4020
4023
  ...i,
4021
4024
  children: R("svg", {
@@ -4025,23 +4028,23 @@ var bi = async (e) => {
4025
4028
  children: R("path", { d: s })
4026
4029
  })
4027
4030
  });
4028
- }, Ri = (e) => {
4029
- const { style: t, orientation: n = Mi.Vertical, isBefore: o, disabled: r, ...i } = e, s = n === Mi.Vertical ? zi : Ai;
4031
+ }, Bi = (e) => {
4032
+ const { style: t, orientation: n = Ci.Vertical, isBefore: o, disabled: r, ...i } = e, s = n === Ci.Vertical ? Di : Pi;
4030
4033
  return R("button", {
4031
4034
  style: t,
4032
- className: F(Ti, n, "scroll-button"),
4035
+ className: F(zi, n, "scroll-button"),
4033
4036
  disabled: r,
4034
4037
  ...i,
4035
4038
  children: R("svg", {
4036
4039
  width: "9",
4037
4040
  height: "9",
4038
4041
  viewBox: "0 0 9 9",
4039
- style: Di,
4042
+ style: Ri,
4040
4043
  children: R("path", { d: s })
4041
4044
  })
4042
4045
  });
4043
- }, $i = (e) => {
4044
- const { style: t, orientation: n = Mi.Vertical, isBefore: o, ...r } = e, i = n === Mi.Vertical;
4046
+ }, Oi = (e) => {
4047
+ const { style: t, orientation: n = Ci.Vertical, isBefore: o, ...r } = e, i = n === Ci.Vertical;
4045
4048
  return R("div", {
4046
4049
  style: {
4047
4050
  display: "flex",
@@ -4055,7 +4058,7 @@ var bi = async (e) => {
4055
4058
  },
4056
4059
  className: `scrollbar-button ${i ? "vertical" : "horizontal"} edge`,
4057
4060
  ...r,
4058
- children: R(oi, {
4061
+ children: R(ii, {
4059
4062
  style: {
4060
4063
  transition: "opacity 240ms ease 0s",
4061
4064
  opacity: e.disabled ? 0 : 1,
@@ -4065,7 +4068,7 @@ var bi = async (e) => {
4065
4068
  iconKey: "MoreHorizontal"
4066
4069
  })
4067
4070
  });
4068
- }, Bi = 60, Oi = 260, Hi = 120, Ii = (e) => {
4071
+ }, Hi = 60, Ii = 260, Ni = 120, Fi = (e) => {
4069
4072
  const { vertical: t, getTrackRect: n, getThumb: o, onStart: r, onDragModeChange: i, edgeHoldIntervalMs: s = 60, pageInitialDelayMs: l = 260, pageRepeatDelayMs: a = 120 } = e;
4070
4073
  let c = null, u = null, h = 0, d = 0, f = 1, p = 0, m = 0, g = 0, _ = null;
4071
4074
  const v = () => {
@@ -4115,10 +4118,10 @@ var bi = async (e) => {
4115
4118
  },
4116
4119
  dispose: () => v()
4117
4120
  };
4118
- }, Ni = (e) => {
4121
+ }, Wi = (e) => {
4119
4122
  const [t, n] = A(null), o = z(e);
4120
4123
  o.current = e;
4121
- const r = T(() => Ii({
4124
+ const r = T(() => Fi({
4122
4125
  vertical: o.current.vertical,
4123
4126
  getTrackRect: () => o.current.getTrackRect(),
4124
4127
  getThumb: () => o.current.getThumb(),
@@ -4134,16 +4137,16 @@ var bi = async (e) => {
4134
4137
  onPointerUp: r.onPointerUp,
4135
4138
  dragMode: t
4136
4139
  };
4137
- }, Fi = 22, Wi = 1.8, Ki = 8, Vi = 4, ji = 8, Yi = -2, Xi = (e = 22) => e / 2 + 8, Zi = (e = 22) => e + 16, qi = g(null), Ui = (e) => {
4140
+ }, Ki = 22, Vi = 1.8, ji = 8, Yi = 4, Xi = 8, Zi = -2, qi = (e = 22) => e / 2 + 8, Ui = (e = 22) => e + 16, Gi = g(null), Ji = (e) => {
4138
4141
  const { value: t, children: n } = e;
4139
- return R(qi.Provider, {
4142
+ return R(Gi.Provider, {
4140
4143
  value: t,
4141
4144
  children: n
4142
4145
  });
4143
- }, Gi = () => S(qi), Ji = Fe().supportsTouchEvents, Qi = (e) => e < 0 ? 0 : e > 1 ? 1 : e, es = w(v((e, t) => {
4144
- const { borderColor: n = "var(--sxl-color-primary, rgb(33, 115, 70))", backgroundColor: o = "var(--sxl-color-base-100, white)", fillColor: r = "var(--sxl-color-neutral, grey)", borderWidth: i = 3, size: s = 22, style: l, className: a, orientation: c = Mi.Vertical, fraction: u = 0, onScrollToFraction: h, onEdgeHold: d, onDraggingChange: f, currentTouchAnchor: p, key: m, ...g } = e;
4145
- if (!Ji) return null;
4146
- const _ = c === Mi.Vertical, v = Gi(), y = Yt(h ?? (() => {}), [h]), b = Yt(d ?? (() => {}), [d]), w = Yt(f ?? (() => {}), [f]), x = z(null), S = N([x, t]), E = Yt((e) => ({
4146
+ }, Qi = () => S(Gi), es = Fe().supportsTouchEvents, ts = (e) => e < 0 ? 0 : e > 1 ? 1 : e, ns = w(v((e, t) => {
4147
+ const { borderColor: n = "var(--sxl-color-primary, rgb(33, 115, 70))", backgroundColor: o = "var(--sxl-color-base-100, white)", fillColor: r = "var(--sxl-color-neutral, grey)", borderWidth: i = 3, size: s = 22, style: l, className: a, orientation: c = Ci.Vertical, fraction: u = 0, onScrollToFraction: h, onEdgeHold: d, onDraggingChange: f, currentTouchAnchor: p, key: m, ...g } = e;
4148
+ if (!es) return null;
4149
+ const _ = c === Ci.Vertical, v = Qi(), y = Yt(h ?? (() => {}), [h]), b = Yt(d ?? (() => {}), [d]), w = Yt(f ?? (() => {}), [f]), x = z(null), S = N([x, t]), E = Yt((e) => ({
4147
4150
  dragging: e,
4148
4151
  element: x.current,
4149
4152
  source: "touch"
@@ -4161,7 +4164,7 @@ var bi = async (e) => {
4161
4164
  count: 0,
4162
4165
  timer: null
4163
4166
  });
4164
- k.current.isVertical = _, k.current.fraction = Qi(u), k.current.hasEdgeHold = !!d;
4167
+ k.current.isVertical = _, k.current.fraction = ts(u), k.current.hasEdgeHold = !!d;
4165
4168
  const D = Yt(() => {
4166
4169
  const e = k.current;
4167
4170
  e.timer && clearTimeout(e.timer), e.timer = null;
@@ -4188,7 +4191,7 @@ var bi = async (e) => {
4188
4191
  },
4189
4192
  onPointerMoveOrWait: (e) => {
4190
4193
  const t = k.current, n = (t.isVertical ? e.clientY : e.clientX) - t.startAlong;
4191
- t.rawFraction = t.startFraction + (t.travel > 0 ? n / t.travel : 0), y?.(Qi(t.rawFraction)), $();
4194
+ t.rawFraction = t.startFraction + (t.travel > 0 ? n / t.travel : 0), y?.(ts(t.rawFraction)), $();
4192
4195
  },
4193
4196
  onPointerUp: (e) => {
4194
4197
  const t = k.current;
@@ -4201,10 +4204,10 @@ var bi = async (e) => {
4201
4204
  }, []), !v?.portalTarget) return null;
4202
4205
  const O = 1.8 * s, I = _ ? s : O, W = _ ? O : s, K = _ ? v.viewportHeight : v.viewportWidth, V = _ ? v.height : v.width, j = Math.max(0, V - K), Y = _ ? v.reserveVertical : v.reserveHorizontal, X = Y > 0 ? -2 : 4, Z = Math.max(0, K - Y - O - 4 - X);
4203
4206
  k.current.travel = Z;
4204
- const q = j + 4 + O / 2 + Qi(u) * Z;
4207
+ const q = j + 4 + O / 2 + ts(u) * Z;
4205
4208
  let U, G;
4206
4209
  return _ ? (U = v.width - v.crossInset - I / 2, G = q - W / 2) : (G = v.height - v.crossInset - W / 2, U = q - I / 2), H(R("div", {
4207
- className: F("touch-thumb", ki, a, { dragging: C }),
4210
+ className: F("touch-thumb", Ai, a, { dragging: C }),
4208
4211
  ref: S,
4209
4212
  style: {
4210
4213
  left: U,
@@ -4229,15 +4232,15 @@ var bi = async (e) => {
4229
4232
  ...g
4230
4233
  }), v.portalTarget, m);
4231
4234
  }));
4232
- es.displayName = "TouchThumbHandle";
4233
- var ts = 24, ns = w(v((e, t) => {
4234
- const { offset: n = 0, totalSize: o = 0, viewportSize: r = 0, style: i, className: s, orientation: l = Mi.Vertical, onScrollOffset: a, onScroll: c, showCustomScrollButtons: u, scrollButtonIncrement: h = 200, scrollButtonInitialRepeatDelay: d = 260, scrollButtonAdditionalRepeatDelay: f = 120, minThumbSize: p = ts, maxThumbSize: m, renderScrollButtonStart: g = Pi, renderScrollButtonEnd: _ = Ri, propsTouchThumb: v, propsThumb: y, onThumbEdgeHold: b, onThumbDrag: w, onMouseDown: S, ...E } = e, C = "touch" === Sn(), L = u ?? !C;
4235
+ ns.displayName = "TouchThumbHandle";
4236
+ var os = 24, rs = w(v((e, t) => {
4237
+ const { offset: n = 0, totalSize: o = 0, viewportSize: r = 0, style: i, className: s, orientation: l = Ci.Vertical, onScrollOffset: a, onScroll: c, showCustomScrollButtons: u, scrollButtonIncrement: h = 200, scrollButtonInitialRepeatDelay: d = 260, scrollButtonAdditionalRepeatDelay: f = 120, minThumbSize: p = os, maxThumbSize: m, renderScrollButtonStart: g = $i, renderScrollButtonEnd: _ = Bi, propsTouchThumb: v, propsThumb: y, onThumbEdgeHold: b, onThumbDrag: w, onMouseDown: S, ...E } = e, C = "touch" === Sn(), L = u ?? !C;
4235
4238
  Yt(c ?? (() => {}), [c]);
4236
4239
  const [k, D] = A({
4237
4240
  offset: 0,
4238
4241
  length: 0,
4239
4242
  disabled: !1
4240
- }), B = z(-1), O = l === Mi.Vertical, [H, { width: I, height: W }] = yo(), K = O ? W : I, V = z(null), j = N([H, V]), Y = Yt((e, t, n) => {
4243
+ }), B = z(-1), O = l === Ci.Vertical, [H, { width: I, height: W }] = yo(), K = O ? W : I, V = z(null), j = N([H, V]), Y = Yt((e, t, n) => {
4241
4244
  if (0 === t || 0 === n) {
4242
4245
  const e = {
4243
4246
  offset: 0,
@@ -4294,7 +4297,7 @@ var ts = 24, ns = w(v((e, t) => {
4294
4297
  r,
4295
4298
  n,
4296
4299
  q
4297
- ]), Q = Ni({
4300
+ ]), Q = Wi({
4298
4301
  vertical: O,
4299
4302
  getTrackRect: () => V.current?.getBoundingClientRect() ?? null,
4300
4303
  getThumb: () => k.disabled ? null : {
@@ -4336,7 +4339,7 @@ var ts = 24, ns = w(v((e, t) => {
4336
4339
  if (e) return null;
4337
4340
  const t = R("div", {
4338
4341
  ...y,
4339
- className: F(Li, { disabled: e }),
4342
+ className: F(ki, { disabled: e }),
4340
4343
  ref: ne,
4341
4344
  role: "slider",
4342
4345
  "aria-label": O ? "Rows" : "Columns",
@@ -4357,9 +4360,9 @@ var ts = 24, ns = w(v((e, t) => {
4357
4360
  });
4358
4361
  if (!C || e) return t;
4359
4362
  const o = Math.max(0, K - k.length);
4360
- return $(P, { children: [t, R(es, {
4363
+ return $(P, { children: [t, R(ns, {
4361
4364
  ...v,
4362
- orientation: O ? Mi.Vertical : Mi.Horizontal,
4365
+ orientation: O ? Ci.Vertical : Ci.Horizontal,
4363
4366
  fraction: o > 0 ? k.offset / o : 0,
4364
4367
  onScrollToFraction: (e) => X(e * o),
4365
4368
  onEdgeHold: b,
@@ -4444,7 +4447,7 @@ var ts = 24, ns = w(v((e, t) => {
4444
4447
  ]), pe = O ? "vertical" : "horizontal", me = N([U, t]);
4445
4448
  return $("div", {
4446
4449
  ref: me,
4447
- className: F(s, Ei, pe, {
4450
+ className: F(s, Li, pe, {
4448
4451
  dragging: ee,
4449
4452
  "has-touch-thumb": C
4450
4453
  }),
@@ -4460,7 +4463,7 @@ var ts = 24, ns = w(v((e, t) => {
4460
4463
  "aria-valuemax": q,
4461
4464
  "aria-valuenow": n,
4462
4465
  tabIndex: 0,
4463
- className: F(Ci, "track", pe),
4466
+ className: F(Ti, "track", pe),
4464
4467
  onMouseDown: S,
4465
4468
  onPointerDown: Q.onPointerDown,
4466
4469
  onPointerMove: Q.onPointerMove,
@@ -4471,24 +4474,24 @@ var ts = 24, ns = w(v((e, t) => {
4471
4474
  fe
4472
4475
  ]
4473
4476
  });
4474
- })), os = Date.now, rs = 1e3, is = {}, ss = 1, ls = (e) => {
4475
- let t = null !== is[e];
4476
- return t && (is[e] = null), t;
4477
- }, as = (e, t, n, o = 0, r) => {
4478
- let i = os(), s = i, l = 0, a = 0, c = 0, u = ss++;
4477
+ })), is = Date.now, ss = 1e3, ls = {}, as = 1, cs = (e) => {
4478
+ let t = null !== ls[e];
4479
+ return t && (ls[e] = null), t;
4480
+ }, us = (e, t, n, o = 0, r) => {
4481
+ let i = is(), s = i, l = 0, a = 0, c = 0, u = as++;
4479
4482
  if (u % 20 == 0) {
4480
4483
  const e = {};
4481
- for (let t in is) e[t] = !0;
4482
- is = e;
4484
+ for (let t in ls) e[t] = !0;
4485
+ ls = e;
4483
4486
  }
4484
4487
  const h = function(d) {
4485
- let f = !0 !== d, p = os(), m = !0;
4488
+ let f = !0 !== d, p = is(), m = !0;
4486
4489
  try {
4487
4490
  m = (!t || t(u)) ?? !0;
4488
4491
  } catch (e) {
4489
4492
  m = !1;
4490
4493
  }
4491
- if (!is[u] || !m) return is[u] = null, void n?.(60 - a / ((p - i) / rs), u, !1);
4494
+ if (!ls[u] || !m) return ls[u] = null, void n?.(60 - a / ((p - i) / ss), u, !1);
4492
4495
  if (f) {
4493
4496
  c = Math.round((p - s) / 16.666666666666668) - 1;
4494
4497
  for (let e = 0; e < Math.min(c, 4); e++) h(!0), a++;
@@ -4500,17 +4503,17 @@ var ts = 24, ns = w(v((e, t) => {
4500
4503
  } catch (e) {
4501
4504
  _ = !1;
4502
4505
  }
4503
- !1 !== _ && 1 !== l || !f ? f && (s = p, requestAnimationFrame(h)) : (is[u] = null, n?.(60 - a / ((p - i) / rs), u, 1 === l || null == o));
4506
+ !1 !== _ && 1 !== l || !f ? f && (s = p, requestAnimationFrame(h)) : (ls[u] = null, n?.(60 - a / ((p - i) / ss), u, 1 === l || null == o));
4504
4507
  };
4505
- return is[u] = !0, requestAnimationFrame(h), u;
4506
- }, cs = function(e) {
4508
+ return ls[u] = !0, requestAnimationFrame(h), u;
4509
+ }, hs = function(e) {
4507
4510
  return Math.pow(e - 1, 3) + 1;
4508
- }, us = function(e) {
4511
+ }, ds = function(e) {
4509
4512
  return (e /= .5) < 1 ? .5 * Math.pow(e, 3) : .5 * (Math.pow(e - 2, 3) + 2);
4510
- }, hs = Math.log(1.15) / 100, ds = (e) => {
4513
+ }, fs = Math.log(1.15) / 100, ps = (e) => {
4511
4514
  const t = e[1].pageX - e[0].pageX, n = e[1].pageY - e[0].pageY;
4512
4515
  return Math.sqrt(t * t + n * n);
4513
- }, fs = class {
4516
+ }, ms = class {
4514
4517
  constructor(e, t) {
4515
4518
  this.__isSingleTouch = !1, this.__isTracking = !1, this.__didDecelerationComplete = !1, this.__isGesturing = !1, this.__isZooming = !1, this.__pinchStartDistance = 0, this.__gestureMoveX = 0, this.__gestureMoveY = 0, this.__isDragging = !1, this.__isDecelerating = 0, this.__isAnimating = 0, this.__interruptedAnimation = !1, this.__lastScale = 1, this.__enableScrollX = !0, this.__enableScrollY = !0, this.__clientLeft = 0, this.__clientTop = 0, this.__clientWidth = 0, this.__clientHeight = 0, this.__contentWidth = 0, this.__contentHeight = 0, this.__snapWidth = 100, this.__snapHeight = 100, this.__zoomLevel = 1, this.__scrollLeft = 0, this.__scrollTop = 0, this.__maxScrollLeft = 0, this.__maxScrollTop = 0, this.__scheduledLeft = 0, this.__scheduledTop = 0, this.__scheduledZoom = 0, this.__lastTouchLeft = 0, this.__lastTouchTop = 0, this.__lastTouchMove = 0, this.__positions = [], this.__initialTouchLeft = 0, this.__initialTouchTop = 0, this.__zoomLevelStart = 1, this.__minDecelerationScrollLeft = 0, this.__minDecelerationScrollTop = 0, this.__maxDecelerationScrollLeft = 0, this.__maxDecelerationScrollTop = 0, this.__decelerationVelocityX = 0, this.__decelerationVelocityY = 0, this.__zoomComplete = null, this.__callback = e, this.options = {
4516
4519
  scrollingX: !0,
@@ -4564,7 +4567,7 @@ var ts = 24, ns = w(v((e, t) => {
4564
4567
  }
4565
4568
  zoomTo(e, t = !1, n, o, r) {
4566
4569
  if (!this.options.zooming) throw new Error("Zooming is not enabled!");
4567
- r && (this.__zoomComplete = r), this.__isDecelerating && (ls(this.__isDecelerating), this.__isDecelerating = 0);
4570
+ r && (this.__zoomComplete = r), this.__isDecelerating && (cs(this.__isDecelerating), this.__isDecelerating = 0);
4568
4571
  const i = this.__zoomLevel;
4569
4572
  void 0 === n && (n = this.__clientWidth / 2), void 0 === o && (o = this.__clientHeight / 2), e = Math.max(Math.min(e, this.options.maxZoom), this.options.minZoom), this.__computeScrollMax(e);
4570
4573
  const s = e / i;
@@ -4583,7 +4586,7 @@ var ts = 24, ns = w(v((e, t) => {
4583
4586
  this.zoomTo(this.__zoomLevel * e, t, n, o, r);
4584
4587
  }
4585
4588
  scrollTo(e, t, n = !1, o) {
4586
- if (this.__isDecelerating && (ls(this.__isDecelerating), this.__isDecelerating = 0), void 0 !== o && o !== this.__zoomLevel) {
4589
+ if (this.__isDecelerating && (cs(this.__isDecelerating), this.__isDecelerating = 0), void 0 !== o && o !== this.__zoomLevel) {
4587
4590
  if (!this.options.zooming) throw new Error("Zooming is not enabled!");
4588
4591
  e *= o, t *= o, this.__computeScrollMax(o);
4589
4592
  } else o = this.__zoomLevel;
@@ -4594,16 +4597,16 @@ var ts = 24, ns = w(v((e, t) => {
4594
4597
  this.scrollTo(o + (e || 0), r + (t || 0), n);
4595
4598
  }
4596
4599
  doMouseZoom(e, t, n, o) {
4597
- const r = Math.exp(-e * hs);
4600
+ const r = Math.exp(-e * fs);
4598
4601
  return this.zoomTo(this.__zoomLevel * r, !1, n - this.__clientLeft, o - this.__clientTop);
4599
4602
  }
4600
4603
  doTouchStart(e, t) {
4601
4604
  if (void 0 === e.length) throw new Error("Invalid touch list: " + e);
4602
4605
  if (t instanceof Date && (t = t.valueOf()), "number" != typeof t) throw new Error("Invalid timestamp value: " + t);
4603
4606
  let n, o;
4604
- this.__interruptedAnimation = !0, this.__isDecelerating && (ls(this.__isDecelerating), this.__isDecelerating = 0, this.__interruptedAnimation = !0), this.__isAnimating && (ls(this.__isAnimating), this.__isAnimating = 0, this.__interruptedAnimation = !0);
4607
+ this.__interruptedAnimation = !0, this.__isDecelerating && (cs(this.__isDecelerating), this.__isDecelerating = 0, this.__interruptedAnimation = !0), this.__isAnimating && (cs(this.__isAnimating), this.__isAnimating = 0, this.__interruptedAnimation = !0);
4605
4608
  let r = 1 === e.length;
4606
- r ? (n = e[0].pageX, o = e[0].pageY) : (n = Math.abs(e[0].pageX + e[1].pageX) / 2, o = Math.abs(e[0].pageY + e[1].pageY) / 2), this.__initialTouchLeft = n, this.__initialTouchTop = o, this.__zoomLevelStart = this.__zoomLevel, this.__pinchStartDistance = r ? 0 : ds(e), this.__isGesturing = !r && !!this.options.zooming, this.__gestureMoveX = 0, this.__gestureMoveY = 0, this.__lastTouchLeft = n, this.__lastTouchTop = o, this.__lastTouchMove = t, this.__lastScale = 1, this.__enableScrollX = !r && !!this.options.scrollingX, this.__enableScrollY = !r && !!this.options.scrollingY, this.__isTracking = !0, this.__didDecelerationComplete = !1, this.__isDragging = !r, this.__isSingleTouch = r, this.__positions = [], this.__enableScrollX, this.__enableScrollY, this.__isDragging, this.__maxScrollLeft, this.__maxScrollTop;
4609
+ r ? (n = e[0].pageX, o = e[0].pageY) : (n = Math.abs(e[0].pageX + e[1].pageX) / 2, o = Math.abs(e[0].pageY + e[1].pageY) / 2), this.__initialTouchLeft = n, this.__initialTouchTop = o, this.__zoomLevelStart = this.__zoomLevel, this.__pinchStartDistance = r ? 0 : ps(e), this.__isGesturing = !r && !!this.options.zooming, this.__gestureMoveX = 0, this.__gestureMoveY = 0, this.__lastTouchLeft = n, this.__lastTouchTop = o, this.__lastTouchMove = t, this.__lastScale = 1, this.__enableScrollX = !r && !!this.options.scrollingX, this.__enableScrollY = !r && !!this.options.scrollingY, this.__isTracking = !0, this.__didDecelerationComplete = !1, this.__isDragging = !r, this.__isSingleTouch = r, this.__positions = [], this.__enableScrollX, this.__enableScrollY, this.__isDragging, this.__maxScrollLeft, this.__maxScrollTop;
4607
4610
  }
4608
4611
  doTouchMove(e, t) {
4609
4612
  if (void 0 === e.length) throw new Error("Invalid touch list: " + e);
@@ -4612,7 +4615,7 @@ var ts = 24, ns = w(v((e, t) => {
4612
4615
  let n, o;
4613
4616
  2 === e.length ? (n = Math.abs(e[0].pageX + e[1].pageX) / 2, o = Math.abs(e[0].pageY + e[1].pageY) / 2) : (n = e[0].pageX, o = e[0].pageY);
4614
4617
  let r = this.__positions;
4615
- const i = 2 === e.length && this.__pinchStartDistance > 0 ? ds(e) / this.__pinchStartDistance : 1;
4618
+ const i = 2 === e.length && this.__pinchStartDistance > 0 ? ps(e) / this.__pinchStartDistance : 1;
4616
4619
  if (this.__isDragging) {
4617
4620
  let e = n - this.__lastTouchLeft, s = o - this.__lastTouchTop;
4618
4621
  this.__gestureMoveX = e, this.__gestureMoveY = s;
@@ -4659,14 +4662,14 @@ var ts = 24, ns = w(v((e, t) => {
4659
4662
  }
4660
4663
  __publish(e, t, n, o = !1) {
4661
4664
  const r = this.__isAnimating;
4662
- if (r && (ls(r), this.__isAnimating = 0), o && this.options.animating) {
4665
+ if (r && (cs(r), this.__isAnimating = 0), o && this.options.animating) {
4663
4666
  this.__scheduledLeft = e, this.__scheduledTop = t, this.__scheduledZoom = n;
4664
4667
  const o = this.__scrollLeft, i = this.__scrollTop, s = this.__zoomLevel, l = e - o, a = t - i, c = n - s, u = (e, t, n = !1) => {
4665
4668
  n && (this.__scrollLeft = o + l * e, this.__scrollTop = i + a * e, this.__zoomLevel = s + c * e, this.__callback && this.__callback(this.__scrollLeft, this.__scrollTop, this.__zoomLevel));
4666
4669
  }, h = (e) => this.__isAnimating === e, d = (e, t, n = !1) => {
4667
4670
  t === this.__isAnimating && (this.__isAnimating = 0), (this.__didDecelerationComplete || n) && this.options.scrollingComplete?.(), this.options.zooming && (this.__computeScrollMax(), this.__zoomComplete && (this.__zoomComplete(), this.__zoomComplete = null));
4668
4671
  };
4669
- this.__isAnimating = as(u, h, d, this.options.animationDuration, r ? cs : us);
4672
+ this.__isAnimating = us(u, h, d, this.options.animationDuration, r ? hs : ds);
4670
4673
  } else this.__scheduledLeft = this.__scrollLeft = e, this.__scheduledTop = this.__scrollTop = t, this.__scheduledZoom = this.__zoomLevel = n, this.__callback && this.__callback(e, t, n), this.options.zooming && (this.__computeScrollMax(), this.__zoomComplete && (this.__zoomComplete(), this.__zoomComplete = null));
4671
4674
  }
4672
4675
  __computeScrollMax(e = this.__zoomLevel) {
@@ -4678,7 +4681,7 @@ var ts = 24, ns = w(v((e, t) => {
4678
4681
  this.__minDecelerationScrollLeft = Math.floor(e / n) * n, this.__minDecelerationScrollTop = Math.floor(t / o) * o, this.__maxDecelerationScrollLeft = Math.ceil(e / n) * n, this.__maxDecelerationScrollTop = Math.ceil(t / o) * o;
4679
4682
  } else this.__minDecelerationScrollLeft = 0, this.__minDecelerationScrollTop = 0, this.__maxDecelerationScrollLeft = this.__maxScrollLeft, this.__maxDecelerationScrollTop = this.__maxScrollTop;
4680
4683
  const t = this.options.snapping ? 4 : .1;
4681
- this.__isDecelerating = as((e, t, n = !1) => {
4684
+ this.__isDecelerating = us((e, t, n = !1) => {
4682
4685
  this.__stepThroughDeceleration(n);
4683
4686
  }, () => {
4684
4687
  const e = Math.abs(this.__decelerationVelocityX) >= t || Math.abs(this.__decelerationVelocityY) >= t;
@@ -4704,11 +4707,11 @@ var ts = 24, ns = w(v((e, t) => {
4704
4707
  t < this.__minDecelerationScrollLeft ? e = this.__minDecelerationScrollLeft - t : t > this.__maxDecelerationScrollLeft && (e = this.__maxDecelerationScrollLeft - t), n < this.__minDecelerationScrollTop ? o = this.__minDecelerationScrollTop - n : n > this.__maxDecelerationScrollTop && (o = this.__maxDecelerationScrollTop - n), 0 !== e && (e * this.__decelerationVelocityX <= 0 ? this.__decelerationVelocityX += e * r : this.__decelerationVelocityX = e * i), 0 !== o && (o * this.__decelerationVelocityY <= 0 ? this.__decelerationVelocityY += o * r : this.__decelerationVelocityY = o * i);
4705
4708
  }
4706
4709
  }
4707
- }, ps = /* @__PURE__ */ new Set([
4710
+ }, gs = /* @__PURE__ */ new Set([
4708
4711
  "auto",
4709
4712
  "scroll",
4710
4713
  "overlay"
4711
- ]), ms = /* @__PURE__ */ new Set(["contain", "none"]), gs = (e, t) => {
4714
+ ]), _s = /* @__PURE__ */ new Set(["contain", "none"]), vs = (e, t) => {
4712
4715
  const { deltaX: n, deltaY: o, shiftKey: r } = e, i = r || Math.abs(n) > Math.abs(o), s = r ? o : i ? n : o;
4713
4716
  if (0 === s) return null;
4714
4717
  let l = e.target instanceof Element ? e.target : null;
@@ -4717,21 +4720,21 @@ var ts = 24, ns = w(v((e, t) => {
4717
4720
  const e = i ? l.scrollWidth - l.clientWidth : l.scrollHeight - l.clientHeight;
4718
4721
  if (e > 0) {
4719
4722
  const t = getComputedStyle(l);
4720
- if (ps.has(i ? t.overflowX : t.overflowY)) {
4723
+ if (gs.has(i ? t.overflowX : t.overflowY)) {
4721
4724
  const n = i ? l.scrollLeft : l.scrollTop;
4722
4725
  if (s < 0 ? n > 0 : n < e - 1) return "native";
4723
- if (ms.has(i ? t.overscrollBehaviorX : t.overscrollBehaviorY)) return "contained";
4726
+ if (_s.has(i ? t.overscrollBehaviorX : t.overscrollBehaviorY)) return "contained";
4724
4727
  }
4725
4728
  }
4726
4729
  l = l.parentElement;
4727
4730
  }
4728
4731
  return null;
4729
- }, _s = 100 / 3, vs = G({
4732
+ }, ys = 100 / 3, bs = G({
4730
4733
  PANE_SCROLLER_ATTRIBUTE: () => "data-sxl-pane-scroller",
4731
- defaultRenderScrollbar: () => bs,
4732
- getScrollTo: () => ys,
4733
- getWheelOwner: () => gs
4734
- }), ys = (e, t, n, o, r = 0) => {
4734
+ defaultRenderScrollbar: () => xs,
4735
+ getScrollTo: () => ws,
4736
+ getWheelOwner: () => vs
4737
+ }), ws = (e, t, n, o, r = 0) => {
4735
4738
  for (let r = 0; r < n.length; r++) {
4736
4739
  const i = n[r].getBoundingClientRect();
4737
4740
  let s = i.left - t, l = s + i.width;
@@ -4740,14 +4743,14 @@ var ts = 24, ns = w(v((e, t) => {
4740
4743
  } else if (Math.ceil(l) > Math.ceil(e) + 2) return l;
4741
4744
  }
4742
4745
  return r;
4743
- }, bs = (e) => R(ns, { ...e }), ws = (e) => {
4746
+ }, xs = (e) => R(rs, { ...e }), Ss = (e) => {
4744
4747
  const t = e.ownerDocument?.defaultView;
4745
4748
  return t ? t.getComputedStyle(e).touchAction : "";
4746
- }, xs = (e) => {
4749
+ }, Ms = (e) => {
4747
4750
  const t = e.trim();
4748
4751
  return "" === t || "auto" === t || "manipulation" === t || t.split(/\s+/).some((e) => e.startsWith("pan-"));
4749
- }, Ss = "_scrollpane_zdrii_2", Ms = "_scrollpane-content_zdrii_20", Es = "_scrollpane-content-cell_zdrii_33", Cs = "_vertical-container_zdrii_42", Ls = "_horizontal-container_zdrii_50", Ts = "_corner-container_zdrii_59", ks = "_touch-thumb-overlay_zdrii_68", zs = w(v((e, t) => {
4750
- const { children: n, viewport: o, disableMouseWheel: r = !1, onWheelScroll: i, zoomable: s = !1, showHorizontalScrollbar: l = !0, showVerticalScrollbar: a = !0, renderScrollCorner: c = As, renderScrollbarHorizontal: u = bs, renderScrollbarVertical: h = bs, style: d, className: f, disableTouch: p, ...m } = e, g = l && u, _ = a && h, v = Gt(o, (e) => e.getMetrics()), y = x((e, t) => {
4752
+ }, Es = "_scrollpane_zdrii_2", Cs = "_scrollpane-content_zdrii_20", Ls = "_scrollpane-content-cell_zdrii_33", Ts = "_vertical-container_zdrii_42", ks = "_horizontal-container_zdrii_50", zs = "_corner-container_zdrii_59", As = "_touch-thumb-overlay_zdrii_68", Ds = w(v((e, t) => {
4753
+ const { children: n, viewport: o, disableMouseWheel: r = !1, onWheelScroll: i, zoomable: s = !1, showHorizontalScrollbar: l = !0, showVerticalScrollbar: a = !0, renderScrollCorner: c = Ps, renderScrollbarHorizontal: u = xs, renderScrollbarVertical: h = xs, style: d, className: f, disableTouch: p, ...m } = e, g = l && u, _ = a && h, v = Gt(o, (e) => e.getMetrics()), y = x((e, t) => {
4751
4754
  if (!o) return;
4752
4755
  const n = o.getTarget();
4753
4756
  o.setTarget(e.left ?? n.left, e.top ?? n.top, t);
@@ -4796,12 +4799,12 @@ var ts = 24, ns = w(v((e, t) => {
4796
4799
  }), f = Yt((t) => {
4797
4800
  const n = t.shiftKey, { deltaX: o, deltaY: r, deltaMode: i } = t, f = c.current && !n && (t.ctrlKey || t.metaKey);
4798
4801
  if (!f && e.current) {
4799
- const n = gs(t, e.current);
4802
+ const n = vs(t, e.current);
4800
4803
  if ("native" === n) return;
4801
4804
  if ("contained" === n) return void t.preventDefault();
4802
4805
  }
4803
4806
  if (t.preventDefault(), f) {
4804
- const e = 1 === i ? _s : 2 === i ? 800 : 1, n = d.current;
4807
+ const e = 1 === i ? ys : 2 === i ? 800 : 1, n = d.current;
4805
4808
  if (n.deltaY += r * e, n.clientX = t.clientX, n.clientY = t.clientY, h.current) return;
4806
4809
  h.current = window.requestAnimationFrame(() => {
4807
4810
  h.current = null;
@@ -4881,10 +4884,10 @@ var ts = 24, ns = w(v((e, t) => {
4881
4884
  top: t
4882
4885
  });
4883
4886
  }, []), B = z(!1), O = x((e) => {
4884
- 1 === e.touches.length && (B.current = ((e, t, n = ws) => {
4887
+ 1 === e.touches.length && (B.current = ((e, t, n = Ss) => {
4885
4888
  let o = e instanceof Element ? e : null;
4886
4889
  for (; o && o !== t;) {
4887
- if (!xs(n(o))) return !0;
4890
+ if (!Ms(n(o))) return !0;
4888
4891
  o = o.parentElement;
4889
4892
  }
4890
4893
  return !1;
@@ -4902,7 +4905,7 @@ var ts = 24, ns = w(v((e, t) => {
4902
4905
  M(() => {
4903
4906
  const e = b.current, t = !p && Fe().supportsTouchEvents;
4904
4907
  if ((t || s) && e && v) {
4905
- w.current || (w.current = new fs(P, {
4908
+ w.current || (w.current = new ms(P, {
4906
4909
  scrollingX: !0,
4907
4910
  scrollingY: !0,
4908
4911
  decelerationRate: .95,
@@ -4935,7 +4938,7 @@ var ts = 24, ns = w(v((e, t) => {
4935
4938
  V(e), j(e);
4936
4939
  }, [j]), q = T(() => {
4937
4940
  if (!K) return null;
4938
- const e = Zi(), t = Math.min(Y, v?.width ?? Y), n = Math.min(X, v?.height ?? X);
4941
+ const e = Ui(), t = Math.min(Y, v?.width ?? Y), n = Math.min(X, v?.height ?? X);
4939
4942
  return {
4940
4943
  portalTarget: K,
4941
4944
  width: Y,
@@ -4944,7 +4947,7 @@ var ts = 24, ns = w(v((e, t) => {
4944
4947
  viewportHeight: n,
4945
4948
  reserveVertical: g ? e : 0,
4946
4949
  reserveHorizontal: _ ? e : 0,
4947
- crossInset: Xi()
4950
+ crossInset: qi()
4948
4951
  };
4949
4952
  }, [
4950
4953
  K,
@@ -4959,7 +4962,7 @@ var ts = 24, ns = w(v((e, t) => {
4959
4962
  const e = R(Po, {
4960
4963
  render: h,
4961
4964
  props: {
4962
- orientation: Mi.Vertical,
4965
+ orientation: Ci.Vertical,
4963
4966
  offset: v?.top ?? 0,
4964
4967
  viewportSize: v?.height ?? 0,
4965
4968
  totalSize: v?.totalHeight ?? 0,
@@ -4969,7 +4972,7 @@ var ts = 24, ns = w(v((e, t) => {
4969
4972
  }
4970
4973
  });
4971
4974
  return R("div", {
4972
- className: F("vertical-container", Cs),
4975
+ className: F("vertical-container", Ts),
4973
4976
  children: e
4974
4977
  });
4975
4978
  }, [
@@ -4982,7 +4985,7 @@ var ts = 24, ns = w(v((e, t) => {
4982
4985
  const e = R(Po, {
4983
4986
  render: u,
4984
4987
  props: {
4985
- orientation: Mi.Horizontal,
4988
+ orientation: Ci.Horizontal,
4986
4989
  offset: v?.left ?? 0,
4987
4990
  viewportSize: v?.width ?? 0,
4988
4991
  totalSize: v?.totalWidth ?? 0,
@@ -4992,7 +4995,7 @@ var ts = 24, ns = w(v((e, t) => {
4992
4995
  }
4993
4996
  });
4994
4997
  return R("div", {
4995
- className: F("horizontal-container", Ls),
4998
+ className: F("horizontal-container", ks),
4996
4999
  children: e
4997
5000
  });
4998
5001
  }, [
@@ -5001,7 +5004,7 @@ var ts = 24, ns = w(v((e, t) => {
5001
5004
  v?.width,
5002
5005
  v?.totalWidth
5003
5006
  ]), J = T(() => _ && g ? R("div", {
5004
- className: F("corner-container", Ts),
5007
+ className: F("corner-container", zs),
5005
5008
  children: R(Po, {
5006
5009
  render: c,
5007
5010
  props: {}
@@ -5012,17 +5015,17 @@ var ts = 24, ns = w(v((e, t) => {
5012
5015
  c
5013
5016
  ]);
5014
5017
  return R("div", {
5015
- className: F(f, "scrollpane", Ss),
5018
+ className: F(f, "scrollpane", Es),
5016
5019
  style: d,
5017
5020
  ...m,
5018
5021
  ref: b,
5019
- children: R(Ui, {
5022
+ children: R(Ji, {
5020
5023
  value: q,
5021
5024
  children: $("div", {
5022
- className: F("scrollpane-content", Ms),
5025
+ className: F("scrollpane-content", Cs),
5023
5026
  children: [
5024
5027
  R("div", {
5025
- className: F("scrollpane-content-cell", Es),
5028
+ className: F("scrollpane-content-cell", Ls),
5026
5029
  children: n
5027
5030
  }),
5028
5031
  _ ? U : null,
@@ -5030,15 +5033,15 @@ var ts = 24, ns = w(v((e, t) => {
5030
5033
  J,
5031
5034
  W ? R("div", {
5032
5035
  ref: Z,
5033
- className: F("touch-thumb-overlay", ks)
5036
+ className: F("touch-thumb-overlay", As)
5034
5037
  }) : null
5035
5038
  ]
5036
5039
  })
5037
5040
  })
5038
5041
  });
5039
5042
  }));
5040
- zs.displayName = "ScrollPane";
5041
- var As = (e) => {
5043
+ Ds.displayName = "ScrollPane";
5044
+ var Ps = (e) => {
5042
5045
  const { size: t, style: n, ...o } = e;
5043
5046
  return R("div", {
5044
5047
  className: "corner",
@@ -5049,7 +5052,7 @@ var As = (e) => {
5049
5052
  },
5050
5053
  ...o
5051
5054
  });
5052
- }, Ds = class {
5055
+ }, Rs = class {
5053
5056
  constructor(e) {
5054
5057
  this._bounds = {
5055
5058
  minLeft: 0,
@@ -5168,7 +5171,7 @@ var As = (e) => {
5168
5171
  }
5169
5172
  _applyBounds(e) {
5170
5173
  this._bounds = e;
5171
- const t = Ns(this._target.left, e.minLeft, e.maxLeft), n = Ns(this._target.top, e.minTop, e.maxTop);
5174
+ const t = Ws(this._target.left, e.minLeft, e.maxLeft), n = Ws(this._target.top, e.minTop, e.maxTop);
5172
5175
  t === this._target.left && n === this._target.top || (this._target = {
5173
5176
  left: t,
5174
5177
  top: n
@@ -5190,12 +5193,12 @@ var As = (e) => {
5190
5193
  return this._observe(e, "both");
5191
5194
  }
5192
5195
  _observe(e, t) {
5193
- if (!e) return Is;
5196
+ if (!e) return Fs;
5194
5197
  const n = (e, n) => {
5195
5198
  const o = this._measuredClient;
5196
5199
  this._setMeasuredClient("height" === t ? o?.width ?? 0 : e, "width" === t ? o?.height ?? 0 : n);
5197
5200
  };
5198
- if (!Hs()) return n(0, 0), Is;
5201
+ if (!Ns()) return n(0, 0), Fs;
5199
5202
  const o = new ResizeObserver((e) => {
5200
5203
  const t = e[0]?.contentRect;
5201
5204
  t && n(t.width, t.height);
@@ -5242,17 +5245,17 @@ var As = (e) => {
5242
5245
  }
5243
5246
  setTarget(e, t, n) {
5244
5247
  const o = this._bounds;
5245
- return e = Ns(e, o.minLeft, o.maxLeft), t = Ns(t, o.minTop, o.maxTop), this._target.left === e && this._target.top === t ? (this._current.left === e && this._current.top === t || this._ensureTicking(), !1) : (this._target = {
5248
+ return e = Ws(e, o.minLeft, o.maxLeft), t = Ws(t, o.minTop, o.maxTop), this._target.left === e && this._target.top === t ? (this._current.left === e && this._current.top === t || this._ensureTicking(), !1) : (this._target = {
5246
5249
  left: e,
5247
5250
  top: t
5248
5251
  }, n ? this._startAnimation() : this._anim = null, this._ensureTicking(), !0);
5249
5252
  }
5250
5253
  _startAnimation() {
5251
- const e = this._current, t = this._target, n = this._effClient(), o = n.width > 0 ? n.width * $s : 1 / 0, r = n.height > 0 ? n.height * $s : 1 / 0, i = Ns(e.left, t.left - o, t.left + o), s = Ns(e.top, t.top - r, t.top + r), l = Math.max(Math.abs(t.left - i), Math.abs(t.top - s)), a = Math.min(200, l * Rs);
5252
- this._anim = a <= Bs ? null : {
5254
+ const e = this._current, t = this._target, n = this._effClient(), o = n.width > 0 ? n.width * Os : 1 / 0, r = n.height > 0 ? n.height * Os : 1 / 0, i = Ws(e.left, t.left - o, t.left + o), s = Ws(e.top, t.top - r, t.top + r), l = Math.max(Math.abs(t.left - i), Math.abs(t.top - s)), a = Math.min(200, l * Bs);
5255
+ this._anim = a <= Hs ? null : {
5253
5256
  fromLeft: i,
5254
5257
  fromTop: s,
5255
- start: Os(),
5258
+ start: Is(),
5256
5259
  duration: a
5257
5260
  };
5258
5261
  }
@@ -5291,7 +5294,7 @@ var As = (e) => {
5291
5294
  const e = this._current, t = this._target, n = this._anim;
5292
5295
  let o, r, i = !1;
5293
5296
  if (n) {
5294
- const e = (Os() - n.start) / n.duration;
5297
+ const e = (Is() - n.start) / n.duration;
5295
5298
  if (e >= 1) o = t.left, r = t.top, this._anim = null;
5296
5299
  else {
5297
5300
  const s = 1 - Math.pow(1 - e, 3);
@@ -5303,7 +5306,7 @@ var As = (e) => {
5303
5306
  top: r
5304
5307
  }, this._viewport = null, this._emit()), i;
5305
5308
  }
5306
- }, Ps = 200, Rs = 2.5, $s = 1.5, Bs = 17, Os = () => "undefined" != typeof performance ? performance.now() : Date.now(), Hs = () => "undefined" != typeof ResizeObserver, Is = () => {}, Ns = (e, t, n) => Math.min(n, Math.max(t, e)), Fs = class {
5309
+ }, $s = 200, Bs = 2.5, Os = 1.5, Hs = 17, Is = () => "undefined" != typeof performance ? performance.now() : Date.now(), Ns = () => "undefined" != typeof ResizeObserver, Fs = () => {}, Ws = (e, t, n) => Math.min(n, Math.max(t, e)), Ks = class {
5307
5310
  constructor(e, t, n, o, r) {
5308
5311
  this._h = e, this._v = t, this._followH = n, this._followV = o, this._zoomCtrl = r, this._combined = null, this._hSnap = null, this._vSnap = null, this._vp = null, this._vpH = null, this._vpV = null;
5309
5312
  }
@@ -5416,8 +5419,8 @@ var As = (e) => {
5416
5419
  setContent(e, t, n = 0, o = 0) {
5417
5420
  this._same ? this._h.setContent(e, t, n, o) : (this._followH || this._h.setContentAxis("width", e, n), this._followV || this._v.setContentAxis("height", t, o));
5418
5421
  }
5419
- }, Ws = 300, Ks = 100, Vs = 1e6, js = 100, Ys = 50, Xs = w(v((e, t) => {
5420
- const { offset: n = 0, viewportSize: o = 0, totalSize: r = 0, minSize: i = 0, endGap: s = Ws, endScrollIncrement: l = Ks, style: a = Oe, onMouseDown: c, onThumbDrag: u, onScrollOffset: h, onScroll: d, scaleLimit: f = Vs, scaleFactor: p = js, precisionFactor: m = Ys, renderScrollbar: g = bs, ..._ } = e;
5422
+ }, Vs = 300, js = 100, Ys = 1e6, Xs = 100, Zs = 50, qs = w(v((e, t) => {
5423
+ const { offset: n = 0, viewportSize: o = 0, totalSize: r = 0, minSize: i = 0, endGap: s = Vs, endScrollIncrement: l = js, style: a = Oe, onMouseDown: c, onThumbDrag: u, onScrollOffset: h, onScroll: d, scaleLimit: f = Ys, scaleFactor: p = Xs, precisionFactor: m = Zs, renderScrollbar: g = xs, ..._ } = e;
5421
5424
  d && console.warn("onScroll not supported for VirtualScrollbar. Use onScrollOffset instead");
5422
5425
  const v = Yt(c ?? (() => {}), [c]), [y, b] = A(!1), w = z(0), S = T(() => {
5423
5426
  let e = 0 === f ? r : Math.min(r ?? 0, Math.max(i ?? 0, (n ?? 0) + (o ?? 0)) + (s ?? 0));
@@ -5474,8 +5477,8 @@ var As = (e) => {
5474
5477
  }
5475
5478
  });
5476
5479
  }));
5477
- Xs.displayName = "VirtualScrollbar";
5478
- var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5480
+ qs.displayName = "VirtualScrollbar";
5481
+ var Us = "_scrollbar-themed_nj3vu_7", Gs = (e) => ({
5479
5482
  "--scrollbar-track-color": e.track,
5480
5483
  "--scrollbar-thumb-color": e.thumb,
5481
5484
  "--scrollbar-button-color": e.button || e.thumb,
@@ -5487,13 +5490,13 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5487
5490
  "--scrollbar-border-radius": "9999px",
5488
5491
  "--scrollbar-border-width": "2px",
5489
5492
  "--scrollbar-min-thumb-size": "24px"
5490
- }), Us = (e) => {
5493
+ }), Js = (e) => {
5491
5494
  if ("undefined" == typeof window) return !1;
5492
5495
  const t = ao();
5493
5496
  if (t?.overlaysContent) return t.boundingRect.height > 150;
5494
5497
  const n = window.visualViewport;
5495
5498
  return !!n && (e ?? window.innerHeight) - n.height * n.scale > 150;
5496
- }, Gs = (e) => {
5499
+ }, Qs = (e) => {
5497
5500
  const t = Object.freeze({ ...e }), n = !(t.disabled ?? "mouseOnly" === Fe().deviceType);
5498
5501
  let o = {
5499
5502
  active: !1,
@@ -5526,8 +5529,8 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5526
5529
  i.delete(e);
5527
5530
  })
5528
5531
  };
5529
- }, Js = null, Qs = g(null), el = (e) => {
5530
- const { store: t, disabled: n, disableScrollIntoView: o, keepOnTap: r, children: i } = e, s = T(() => t ?? Gs({
5532
+ }, el = null, tl = g(null), nl = (e) => {
5533
+ const { store: t, disabled: n, disableScrollIntoView: o, keepOnTap: r, children: i } = e, s = T(() => t ?? Qs({
5531
5534
  disabled: n,
5532
5535
  disableScrollIntoView: o,
5533
5536
  keepOnTap: r
@@ -5537,15 +5540,15 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5537
5540
  o,
5538
5541
  r
5539
5542
  ]);
5540
- return _(Qs.Provider, { value: s }, i);
5541
- }, tl = () => S(Qs) ?? (Js || (Js = Gs()), Js), nl = () => {
5542
- const e = tl();
5543
+ return _(tl.Provider, { value: s }, i);
5544
+ }, ol = () => S(tl) ?? (el || (el = Qs()), el), rl = () => {
5545
+ const e = ol();
5543
5546
  return D(e.subscribe, e.getState, e.getState), e;
5544
- }, ol = null, rl = null, il = /* @__PURE__ */ new Set(), sl = (e, t) => {
5545
- null === t && rl !== e || ol === t && rl === e || (ol = t, rl = null === t ? null : e, il.forEach((e) => e()));
5546
- }, ll = () => ol, al = (e) => (il.add(e), () => {
5547
- il.delete(e);
5548
- }), cl = v((e, t) => {
5547
+ }, il = null, sl = null, ll = /* @__PURE__ */ new Set(), al = (e, t) => {
5548
+ null === t && sl !== e || il === t && sl === e || (il = t, sl = null === t ? null : e, ll.forEach((e) => e()));
5549
+ }, cl = () => il, ul = (e) => (ll.add(e), () => {
5550
+ ll.delete(e);
5551
+ }), hl = v((e, t) => {
5549
5552
  const { floating: n, anchor: o = null, onShownChange: r, onKeyboardClose: i, className: s, style: l, children: a } = e, [c, u] = A(null), h = x((e) => {
5550
5553
  u(e), "function" == typeof t ? t(e) : t && (t.current = e);
5551
5554
  }, [t]), d = z(n);
@@ -5568,7 +5571,7 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5568
5571
  const u = (e) => {
5569
5572
  l && e !== a && (a = e, l.overlaysContent = e);
5570
5573
  }, h = (t) => {
5571
- t !== r && (r = t, c.style.opacity = t ? "1" : "0", c.style.pointerEvents = t ? "auto" : "none", t || sl(e, null), f.current.onShownChange?.(t));
5574
+ t !== r && (r = t, c.style.opacity = t ? "1" : "0", c.style.pointerEvents = t ? "auto" : "none", t || al(e, null), f.current.onShownChange?.(t));
5572
5575
  }, m = () => {
5573
5576
  t = 0;
5574
5577
  const n = window.visualViewport, r = n?.scale ?? 1, i = n?.offsetTop ?? 0, s = n?.height ?? window.innerHeight, u = d.current && !o;
@@ -5577,11 +5580,11 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5577
5580
  const e = l.boundingRect.height;
5578
5581
  c.style.bottom = "auto", c.style.top = i + s - (e + c.offsetHeight) / r + "px", c.style.left = `${n.offsetLeft}px`, c.style.width = n.width * r + "px", c.style.transform = `scale(${1 / r})`;
5579
5582
  } else c.style.top = "auto", c.style.bottom = "env(keyboard-inset-height, 0px)", c.style.left = "0px", c.style.width = "100%", c.style.transform = "";
5580
- c.style.transition = "opacity 150ms ease-out", h(!0), sl(e, c.getBoundingClientRect().top);
5583
+ c.style.transition = "opacity 150ms ease-out", h(!0), al(e, c.getBoundingClientRect().top);
5581
5584
  return;
5582
5585
  }
5583
5586
  const f = u ? i + s - c.offsetHeight / r : i;
5584
- c.style.bottom = "auto", c.style.top = `${f}px`, c.style.left = `${n?.offsetLeft ?? 0}px`, c.style.width = (n?.width ?? window.innerWidth) * r + "px", c.style.transform = 1 !== r ? `scale(${1 / r})` : "", u ? (c.style.transition = "opacity 150ms ease-out", h(!0), sl(e, f)) : (c.style.transition = "none", h(!1));
5587
+ c.style.bottom = "auto", c.style.top = `${f}px`, c.style.left = `${n?.offsetLeft ?? 0}px`, c.style.width = (n?.width ?? window.innerWidth) * r + "px", c.style.transform = 1 !== r ? `scale(${1 / r})` : "", u ? (c.style.transition = "opacity 150ms ease-out", h(!0), al(e, f)) : (c.style.transition = "none", h(!1));
5585
5588
  }, g = () => {
5586
5589
  t || (t = requestAnimationFrame(m));
5587
5590
  }, _ = () => {
@@ -5591,10 +5594,10 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5591
5594
  }, v = () => {
5592
5595
  _(), g();
5593
5596
  }, y = () => {
5594
- v(), d.current && (Us(i) ? s = !0 : s && (s = !1, f.current.onKeyboardClose?.()));
5597
+ v(), d.current && (Js(i) ? s = !0 : s && (s = !1, f.current.onKeyboardClose?.()));
5595
5598
  }, b = () => {
5596
5599
  s = !1, window.setTimeout(() => {
5597
- Us() || (i = window.innerHeight);
5600
+ Js() || (i = window.innerHeight);
5598
5601
  }, 300);
5599
5602
  };
5600
5603
  p.current = () => {
@@ -5608,12 +5611,12 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5608
5611
  c.addEventListener("focusin", x), c.addEventListener("focusout", S), l?.addEventListener("geometrychange", y);
5609
5612
  const M = window.visualViewport;
5610
5613
  return M?.addEventListener("resize", y), M?.addEventListener("scroll", v), window.addEventListener("scroll", v, { passive: !0 }), window.addEventListener("resize", v), window.addEventListener("orientationchange", b), d.current && p.current(), m(), () => {
5611
- cancelAnimationFrame(t), clearTimeout(n), w?.disconnect(), M?.removeEventListener("resize", y), M?.removeEventListener("scroll", v), window.removeEventListener("scroll", v), window.removeEventListener("resize", v), window.removeEventListener("orientationchange", b), c.removeEventListener("focusin", x), c.removeEventListener("focusout", S), l?.removeEventListener("geometrychange", y), u(!1), p.current = null, sl(e, null), r && f.current.onShownChange?.(!1);
5614
+ cancelAnimationFrame(t), clearTimeout(n), w?.disconnect(), M?.removeEventListener("resize", y), M?.removeEventListener("scroll", v), window.removeEventListener("scroll", v), window.removeEventListener("resize", v), window.removeEventListener("orientationchange", b), c.removeEventListener("focusin", x), c.removeEventListener("focusout", S), l?.removeEventListener("geometrychange", y), u(!1), p.current = null, al(e, null), r && f.current.onShownChange?.(!1);
5612
5615
  };
5613
5616
  }, [c]), M(() => {
5614
5617
  p.current?.();
5615
5618
  }, [n]);
5616
- const m = Cr(), g = Er(o), { className: _, attrs: v } = Mr(m), y = _ || Object.keys(v).length > 0 ? v : g, { getPortalContainer: b } = ln(), [, w] = A(0);
5619
+ const m = Tr(), g = Lr(o), { className: _, attrs: v } = Cr(m), y = _ || Object.keys(v).length > 0 ? v : g, { getPortalContainer: b } = ln(), [, w] = A(0);
5617
5620
  return M(() => {
5618
5621
  c && !c.isConnected && w((e) => e + 1);
5619
5622
  }), "undefined" == typeof document ? null : H(R("div", {
@@ -5634,12 +5637,12 @@ var Zs = "_scrollbar-themed_nj3vu_7", qs = (e) => ({
5634
5637
  children: a
5635
5638
  }), b());
5636
5639
  });
5637
- cl.displayName = "KeyboardAccessory";
5638
- var ul = {
5640
+ hl.displayName = "KeyboardAccessory";
5641
+ var dl = {
5639
5642
  inset: 0,
5640
5643
  offsetTop: 0
5641
- }, hl = (e) => {
5642
- const t = go(e), n = !!t && Us(), o = t?.height, r = z(!1);
5644
+ }, fl = (e) => {
5645
+ const t = go(e), n = !!t && Js(), o = t?.height, r = z(!1);
5643
5646
  return M(() => {
5644
5647
  if (void 0 === o) return;
5645
5648
  const e = r.current;
@@ -5647,9 +5650,9 @@ var ul = {
5647
5650
  }, [o, n]), t && n ? {
5648
5651
  inset: Math.max(0, Math.round(window.innerHeight - t.height)),
5649
5652
  offsetTop: Math.round(t.offsetTop)
5650
- } : ul;
5653
+ } : dl;
5651
5654
  };
5652
- var dl = {
5655
+ var pl = {
5653
5656
  axis: q.oneOf([
5654
5657
  "both",
5655
5658
  "x",
@@ -5701,12 +5704,12 @@ var dl = {
5701
5704
  const [t] = e;
5702
5705
  return "both" === t.axis || "x" === t.axis ? q.number.isRequired(...e) : q.number(...e);
5703
5706
  }
5704
- }, fl = class extends d.Component {
5707
+ }, ml = class extends d.Component {
5705
5708
  constructor(...e) {
5706
5709
  super(...e), this.handleRefs = {}, this.lastHandleRect = null, this.slack = null, this.lastSize = null;
5707
5710
  }
5708
5711
  static {
5709
- this.propTypes = dl;
5712
+ this.propTypes = pl;
5710
5713
  }
5711
5714
  static {
5712
5715
  this.defaultProps = {
@@ -5800,7 +5803,7 @@ var dl = {
5800
5803
  }), w.className && b.props.className && (w.className = `${b.props.className} ${w.className}`), f.cloneElement(b, w);
5801
5804
  var b, w;
5802
5805
  }
5803
- }, pl = class extends d.Component {
5806
+ }, gl = class extends d.Component {
5804
5807
  constructor(...e) {
5805
5808
  super(...e), this.state = {
5806
5809
  width: this.props.width,
@@ -5814,7 +5817,7 @@ var dl = {
5814
5817
  }
5815
5818
  static {
5816
5819
  this.propTypes = {
5817
- ...dl,
5820
+ ...pl,
5818
5821
  children: q.element
5819
5822
  };
5820
5823
  }
@@ -5828,7 +5831,7 @@ var dl = {
5828
5831
  }
5829
5832
  render() {
5830
5833
  const { handle: e, handleSize: t, onResize: n, onResizeStart: o, onResizeStop: r, draggableOpts: i, minConstraints: s, maxConstraints: l, lockAspectRatio: a, axis: c, width: u, height: h, resizeHandles: d, style: f, transformScale: p, ...m } = this.props;
5831
- return R(fl, {
5834
+ return R(ml, {
5832
5835
  axis: c,
5833
5836
  draggableOpts: i,
5834
5837
  handle: e,
@@ -5854,4 +5857,4 @@ var dl = {
5854
5857
  });
5855
5858
  }
5856
5859
  };
5857
- export { ne as ACCUMULATE, Bt as AnimationModeProvider, Fs as AxisViewport, Dt as Command, gt as CommandAnchorProvider, fe as CommandButtonEntryLabel, ce as CommandButtonRegistryContext, he as CommandButtonRegistryProvider, te as CommandButtonType, it as CommandChainContext, vt as CommandFallbackContext, wt as CommandFallbackProvider, St as CommandFocusProvider, lt as CommandOrderContext, re as CommandRegistry, Le as CommandRegistryContext, rt as CommandResolver, pt as CommandResolverContext, ke as CommandScope, ct as CommandScopeContext, dt as CommandScopeProvider, De as ConstantActivation, ae as DefaultCommandButtonRegistry, Ce as DefaultCommandCatalogService, ie as DefaultCommandRegistry, ei as DefaultIconService, oi as DynamicIcon, Bi as EDGE_HOLD_INTERVAL_MS, Or as FloatPanel, Br as FloatPanelSurface, Dr as FloatPopper, Ir as FloatProvider, Ct as FloatStackProvider, Pe as FocusActivation, Do as FocusKeyNavigation, nr as INPUT_SELECTION_TINT, tr as INPUT_SELECTION_VAR, ii as InMemoryStore, Qe as KeyBindingDispatcher, Q as KeyCodes, J as KeyModifiers, cl as KeyboardAccessory, Vn as LanguageStateKey, Re as LayerActivation, vi as LocalStorageStore, Ae as ManualActivation, ee as MouseButtonCodes, Ot as NotifierType, Oi as PAGE_INITIAL_DELAY_MS, Hi as PAGE_REPEAT_DELAY_MS, pi as PendingRender, xi as PendingRenderScope, fi as PersistentStateProvider, pe as QUICK_ACTION_TAG, No as ReactErrorBoundary, Vt as ReactNotifierProvider, $e as ReactUtils, Po as RenderSlot, fl as Resizable, pl as ResizableBox, $o as RoundedTab, Ps as SCROLL_ANIMATION_MS, qo as SERIES_COUNT, rr as SXL_THEME_LAYERS, ir as SXL_THEME_LAYER_ORDER, zs as ScrollPane, vs as ScrollUtils, ns as Scrollbar, Mi as ScrollbarOrientation, Xr as SplitPane, Wr as SplitPaneResizer, ar as THEME_MODE_ATTR, cr as THEME_SURFACE_ATTR, Wi as TOUCH_THUMB_ASPECT, Ki as TOUCH_THUMB_MARGIN, ji as TOUCH_THUMB_MARGIN_CROSS, Yi as TOUCH_THUMB_MARGIN_END, Vi as TOUCH_THUMB_MARGIN_START, Fi as TOUCH_THUMB_SIZE, mr as TokenThemeContext, _r as TokenThemeProvider, Ui as TouchThumbFrameProvider, es as TouchThumbHandle, jo as UncaughtErrorBoundary, Ds as Viewport, el as VirtualKeyboardProvider, Xs as VirtualScrollbar, ri as WalkingIcon, Yo as Z_INDEX, we as asCommandCatalog, ht as attachWhenReady, lr as buildThemeCSS, Se as chromeToPartial, Zn as composeCaretRect, Ht as createBusyHandle, Ee as createCommandCatalogService, Qr as createDynamicIconService, It as createNoopBusyHandle, ge as createResolvedCommand, hr as createThemeScopeClass, Ii as createTrackDrag, Gs as createVirtualKeyboardStore, Hr as defaultRenderFloatPanel, Rr as defaultRenderFloatPopupPanel, $i as defaultRenderScrollButtonEdge, Ri as defaultRenderScrollButtonEnd, Pi as defaultRenderScrollButtonStart, As as defaultRenderScrollCorner, Uo as defaultTheme, Fn as exitEditMode, xe as fetchCatalog, Mr as floatThemeScopeProps, Qt as getDevicePixelRatio, yn as getInputModality, ll as getKeyboardAccessoryTop, qs as getScrollbarCssVariables, Un as getTextareaCaretRect, ho as getVisualViewportRect, Je as isCaretKey, Us as isVirtualKeyboardUp, tt as keyEventCanonicals, et as keyStrokeToCanonical, Ho as lazyComponent, fn as measureUIText, Me as mergeChrome, Zo as offsetZIndex, ye as parseShortcutString, oe as reduceDefinitions, ze as resolveAnchorSource, vr as resolveToken, yr as resolveTokens, Zs as scrollbarThemedClassName, be as serializeShortcut, In as setEditMode, Wn as subscribeEditModeExit, wn as subscribeInputModality, al as subscribeKeyboardAccessoryTop, fo as subscribeVisualViewport, ur as themeSurfaceProps, Qo as themeVars, Jo as toVars, Zi as touchThumbCornerReserve, Xi as touchThumbCrossInset, Ao as useAnimatedMeasure, $t as useAnimationMode, qt as useBoundSyncExternalStore, Yt as useCallbackRef, de as useCommandButtonEntry, ue as useCommandButtonRegistry, st as useCommandChain, ft as useCommandElement, _t as useCommandExecute, yt as useCommandFallback, Mt as useCommandFocusRestore, at as useCommandOrder, Te as useCommandRegistry, mt as useCommandResolver, ut as useCommandScope, zt as useCommands, At as useContributeCommands, Jt as useDevicePixelRatio, Kn as useEditMode, Lt as useFloat, kt as useFloatPopupOpen, Nr as useFloatStack, Sr as useFloatSurface, tn as useFullscreen, ln as useFullscreenPortal, Jn as useGlobalClipboard, io as useId, lo as useImperativeElement, Sn as useInputModality, _o as useIsomorphicLayoutEffect, hl as useKeyboardResize, jn as useLanguage, Oo as useLazyRetry, Co as useLocationSearch, yo as useMeasure, mn as useMouseDownAndHoldListener, jt as useNotifier, en as useOnClickOrFocusAway, Gt as useOptionalBoundSyncExternalStore, Zt as useOptionalSyncExternalStore, Si as usePendingRender, hi as usePersistentState, dr as useResolvedThemeMode, pn as useSynchronizedPointerHandler, dn as useTextSelectionDrag, Gn as useTextareaCaretRect, gr as useTokenThemeContext, Gi as useTouchThumbFrame, Qn as useTraceUpdate, Ni as useTrackDrag, Yn as useTranslator, nl as useVirtualKeyboard, tl as useVirtualKeyboardStore, go as useVisualViewportRect, bi as whenRenderSettled, Xo as zIndexVar };
5860
+ export { ne as ACCUMULATE, Bt as AnimationModeProvider, Ks as AxisViewport, Dt as Command, gt as CommandAnchorProvider, fe as CommandButtonEntryLabel, ce as CommandButtonRegistryContext, he as CommandButtonRegistryProvider, te as CommandButtonType, it as CommandChainContext, vt as CommandFallbackContext, wt as CommandFallbackProvider, St as CommandFocusProvider, lt as CommandOrderContext, re as CommandRegistry, Le as CommandRegistryContext, rt as CommandResolver, pt as CommandResolverContext, ke as CommandScope, ct as CommandScopeContext, dt as CommandScopeProvider, De as ConstantActivation, ae as DefaultCommandButtonRegistry, Ce as DefaultCommandCatalogService, ie as DefaultCommandRegistry, ni as DefaultIconService, ii as DynamicIcon, Hi as EDGE_HOLD_INTERVAL_MS, Ir as FloatPanel, Hr as FloatPanelSurface, Rr as FloatPopper, Fr as FloatProvider, Ct as FloatStackProvider, Pe as FocusActivation, Do as FocusKeyNavigation, nr as INPUT_SELECTION_TINT, tr as INPUT_SELECTION_VAR, li as InMemoryStore, Qe as KeyBindingDispatcher, Q as KeyCodes, J as KeyModifiers, hl as KeyboardAccessory, Vn as LanguageStateKey, Re as LayerActivation, bi as LocalStorageStore, Ae as ManualActivation, ee as MouseButtonCodes, Ot as NotifierType, Ii as PAGE_INITIAL_DELAY_MS, Ni as PAGE_REPEAT_DELAY_MS, gi as PendingRender, Mi as PendingRenderScope, mi as PersistentStateProvider, pe as QUICK_ACTION_TAG, No as ReactErrorBoundary, Vt as ReactNotifierProvider, $e as ReactUtils, Po as RenderSlot, ml as Resizable, gl as ResizableBox, $o as RoundedTab, $s as SCROLL_ANIMATION_MS, qo as SERIES_COUNT, rr as SXL_THEME_LAYERS, ir as SXL_THEME_LAYER_ORDER, Ds as ScrollPane, bs as ScrollUtils, rs as Scrollbar, Ci as ScrollbarOrientation, qr as SplitPane, Vr as SplitPaneResizer, ar as THEME_MODE_ATTR, cr as THEME_SURFACE_ATTR, Vi as TOUCH_THUMB_ASPECT, ji as TOUCH_THUMB_MARGIN, Xi as TOUCH_THUMB_MARGIN_CROSS, Zi as TOUCH_THUMB_MARGIN_END, Yi as TOUCH_THUMB_MARGIN_START, Ki as TOUCH_THUMB_SIZE, dr as ThemeModeFallbackContext, _r as TokenThemeContext, yr as TokenThemeProvider, Ji as TouchThumbFrameProvider, ns as TouchThumbHandle, jo as UncaughtErrorBoundary, Rs as Viewport, nl as VirtualKeyboardProvider, qs as VirtualScrollbar, si as WalkingIcon, Yo as Z_INDEX, we as asCommandCatalog, ht as attachWhenReady, lr as buildThemeCSS, Se as chromeToPartial, Zn as composeCaretRect, Ht as createBusyHandle, Ee as createCommandCatalogService, ti as createDynamicIconService, It as createNoopBusyHandle, ge as createResolvedCommand, hr as createThemeScopeClass, Fi as createTrackDrag, Qs as createVirtualKeyboardStore, Nr as defaultRenderFloatPanel, Br as defaultRenderFloatPopupPanel, Oi as defaultRenderScrollButtonEdge, Bi as defaultRenderScrollButtonEnd, $i as defaultRenderScrollButtonStart, Ps as defaultRenderScrollCorner, Uo as defaultTheme, Fn as exitEditMode, xe as fetchCatalog, Cr as floatThemeScopeProps, Qt as getDevicePixelRatio, yn as getInputModality, cl as getKeyboardAccessoryTop, Gs as getScrollbarCssVariables, Un as getTextareaCaretRect, ho as getVisualViewportRect, Je as isCaretKey, Js as isVirtualKeyboardUp, tt as keyEventCanonicals, et as keyStrokeToCanonical, Ho as lazyComponent, fn as measureUIText, Me as mergeChrome, Zo as offsetZIndex, ye as parseShortcutString, oe as reduceDefinitions, ze as resolveAnchorSource, br as resolveToken, wr as resolveTokens, Us as scrollbarThemedClassName, be as serializeShortcut, In as setEditMode, Wn as subscribeEditModeExit, wn as subscribeInputModality, ul as subscribeKeyboardAccessoryTop, fo as subscribeVisualViewport, ur as themeSurfaceProps, Qo as themeVars, Jo as toVars, Ui as touchThumbCornerReserve, qi as touchThumbCrossInset, Ao as useAnimatedMeasure, $t as useAnimationMode, qt as useBoundSyncExternalStore, Yt as useCallbackRef, de as useCommandButtonEntry, ue as useCommandButtonRegistry, st as useCommandChain, ft as useCommandElement, _t as useCommandExecute, yt as useCommandFallback, Mt as useCommandFocusRestore, at as useCommandOrder, Te as useCommandRegistry, mt as useCommandResolver, ut as useCommandScope, zt as useCommands, At as useContributeCommands, Jt as useDevicePixelRatio, Kn as useEditMode, Lt as useFloat, kt as useFloatPopupOpen, Wr as useFloatStack, Er as useFloatSurface, tn as useFullscreen, ln as useFullscreenPortal, Jn as useGlobalClipboard, io as useId, lo as useImperativeElement, Sn as useInputModality, _o as useIsomorphicLayoutEffect, fl as useKeyboardResize, jn as useLanguage, Oo as useLazyRetry, Co as useLocationSearch, yo as useMeasure, mn as useMouseDownAndHoldListener, jt as useNotifier, en as useOnClickOrFocusAway, Gt as useOptionalBoundSyncExternalStore, Zt as useOptionalSyncExternalStore, Ei as usePendingRender, fi as usePersistentState, fr as useResolvedThemeMode, pn as useSynchronizedPointerHandler, dn as useTextSelectionDrag, Gn as useTextareaCaretRect, vr as useTokenThemeContext, Qi as useTouchThumbFrame, Qn as useTraceUpdate, Wi as useTrackDrag, Yn as useTranslator, rl as useVirtualKeyboard, ol as useVirtualKeyboardStore, go as useVisualViewportRect, xi as whenRenderSettled, Xo as zIndexVar };