@mt-gloss/ui 0.1.34 → 0.1.35

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.
package/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { C as ut } from "./Expandable-BKqvjtRQ.js";
2
- import { O as br, U as vr, Q as yr, T as wr, a4 as _r, b7 as Nr, aA as Dr, ai as Cr, _ as kr, ao as xr, L as Sr, a9 as Mr, bn as Rr, P as Tr, B as Ir, a as Pr, z as Fr, J as Er, bi as Ar, H as Or, K as Lr, D as $r, A as Br, F as zr, E as Kr, bx as Wr, b as Gr, c as Vr, N as Hr, p as Ur, ae as jr, aO as Zr, z as qr, J as Yr, H as Qr, K as Xr, D as Jr, A as es, F as ts, E as as, b0 as ns, b3 as rs, b2 as ss, b1 as is, b4 as os, aD as ls, a6 as cs, a5 as ds, ar as us, l as ms, n as gs, aG as ps, ac as hs, b9 as fs, aa as bs, bo as vs, Z as ys, bH as ws, bG as _s, bI as Ns, aq as Ds, aR as Cs, bb as ks, bM as xs, bv as Ss, o as Ms, an as Rs, bB as Ts, bs as Is, a1 as Ps, as as Fs, a3 as Es, bA as As, G as Os, e as Ls, ab as $s, bJ as Bs, aU as zs, s as Ks, w as Ws, I as Gs, h as Vs, ax as Hs, bN as Us, M as js, x as Zs, V as qs, Y as Ys, W as Qs, X as Xs, at as Js, bh as ei, bP as ti, bL as ai, ap as ni, v as ri, bp as si, aT as ii, ak as oi, aL as li, ah as ci, am as di, av as ui, aS as mi, ad as gi, au as pi, d as hi, R as fi, k as bi, q as vi, aI as yi, by as wi, bz as _i, aj as Ni, af as Di, i as Ci, y as ki, b8 as xi, ag as Si, bO as Mi, bd as Ri, bg as Ti, be as Ii, bf as Pi, j as Fi, ba as Ei, bm as Ai, S as Oi, bk as Li, bl as $i, aw as Bi, bc as zi, bQ as Ki, al as Wi, t as Gi, bK as Vi, m as Hi, g as Ui, r as ji, $ as Zi, a0 as qi, a8 as Yi, bj as Qi, bw as Xi, bD as Ji, aB as eo, aC as to, a7 as ao, aP as no, aQ as ro, aE as so, aF as io, aH as oo, aW as lo, aX as co, bq as uo, bF as mo, bE as go, aZ as po, a_ as ho, ay as fo, az as bo, b6 as vo, b5 as yo, a$ as wo, aM as _o, aN as No, aY as Do, aJ as Co, aK as ko, u as xo, bC as So, br as Mo, bt as Ro, bu as To, aV as Io, a2 as Po, f as Fo } from "./Expandable-BKqvjtRQ.js";
2
+ import { O as fr, U as vr, Q as br, T as yr, a4 as wr, b7 as _r, aA as Nr, ai as Dr, _ as kr, ao as Cr, L as xr, a9 as Sr, bn as Mr, P as Rr, B as Tr, a as Ir, z as Pr, J as Fr, bi as Er, H as Ar, K as Or, D as Lr, A as $r, F as Br, E as zr, bx as Kr, b as Wr, c as Gr, N as Vr, p as Hr, ae as Ur, aO as jr, z as Zr, J as qr, H as Yr, K as Qr, D as Xr, A as Jr, F as es, E as ts, b0 as as, b3 as ns, b2 as rs, b1 as ss, b4 as is, aD as os, a6 as ls, a5 as cs, ar as ds, l as us, n as ms, aG as gs, ac as ps, b9 as hs, aa as fs, bo as vs, Z as bs, bH as ys, bG as ws, bI as _s, aq as Ns, aR as Ds, bb as ks, bM as Cs, bv as xs, o as Ss, an as Ms, bB as Rs, bs as Ts, a1 as Is, as as Ps, a3 as Fs, bA as Es, G as As, e as Os, ab as Ls, bJ as $s, aU as Bs, s as zs, w as Ks, I as Ws, h as Gs, ax as Vs, bN as Hs, M as Us, x as js, V as Zs, Y as qs, W as Ys, X as Qs, at as Xs, bh as Js, bP as ei, bL as ti, ap as ai, v as ni, bp as ri, aT as si, ak as ii, aL as oi, ah as li, am as ci, av as di, aS as ui, ad as mi, au as gi, d as pi, R as hi, k as fi, q as vi, aI as bi, by as yi, bz as wi, aj as _i, af as Ni, i as Di, y as ki, b8 as Ci, ag as xi, bO as Si, bd as Mi, bg as Ri, be as Ti, bf as Ii, j as Pi, ba as Fi, bm as Ei, S as Ai, bk as Oi, bl as Li, aw as $i, bc as Bi, bQ as zi, al as Ki, t as Wi, bK as Gi, m as Vi, g as Hi, r as Ui, $ as ji, a0 as Zi, a8 as qi, bj as Yi, bw as Qi, bD as Xi, aB as Ji, aC as eo, a7 as to, aP as ao, aQ as no, aE as ro, aF as so, aH as io, aW as oo, aX as lo, bq as co, bF as uo, bE as mo, aZ as go, a_ as po, ay as ho, az as fo, b6 as vo, b5 as bo, a$ as yo, aM as wo, aN as _o, aY as No, aJ as Do, aK as ko, u as Co, bC as xo, br as So, bt as Mo, bu as Ro, aV as To, a2 as Io, f as Po } from "./Expandable-BKqvjtRQ.js";
3
3
  import { jsxs as D, jsx as r, Fragment as te } from "react/jsx-runtime";
4
4
  import * as mt from "react";
5
- import H, { useRef as R, useEffect as O, useState as $, useCallback as w, useId as gt, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
6
- import { motion as De, useMotionValue as bt, animate as We, useDragControls as vt } from "framer-motion";
5
+ import H, { useRef as M, useEffect as O, useState as $, useCallback as w, useId as gt, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
6
+ import { motion as De, useMotionValue as vt, animate as We, useDragControls as bt } from "framer-motion";
7
7
  import { B as yt, a as pe, b as Te, U as Oe } from "./UIContext-CDdyubSF.js";
8
- import { c as Ao, u as Oo } from "./UIContext-CDdyubSF.js";
8
+ import { c as Eo, u as Ao } from "./UIContext-CDdyubSF.js";
9
9
  import { createPortal as wt } from "react-dom";
10
- import { DEFAULT_MARKET_PRESETS as $o, DEFAULT_PINNED as Bo, PERIOD_OPTIONS as zo, ROLLING_OPTIONS as Ko, TODAY_PRESET as Wo, findPreset as Go, formatDateRange as Vo, formatMarketDates as Ho, formatTrend as Uo, formatValue as jo, generateMarketId as Zo, getAllPresets as qo, getDateRangeForPreset as Yo, getPresetLabel as Qo, isInRange as Xo, isMarketActive as Jo, isSameDay as el, normalizePresetId as tl, toUppercasePresetId as al } from "@mt-gloss/utils";
10
+ import { DEFAULT_MARKET_PRESETS as Lo, DEFAULT_PINNED as $o, PERIOD_OPTIONS as Bo, ROLLING_OPTIONS as zo, TODAY_PRESET as Ko, findPreset as Wo, formatDateRange as Go, formatMarketDates as Vo, formatTrend as Ho, formatValue as Uo, generateMarketId as jo, getAllPresets as Zo, getDateRangeForPreset as qo, getPresetLabel as Yo, isInRange as Qo, isMarketActive as Xo, isSameDay as Jo, normalizePresetId as el, toUppercasePresetId as tl } from "@mt-gloss/utils";
11
11
  import _t from "@mui/icons-material/AccessTime";
12
12
  import Nt from "@mui/icons-material/Tune";
13
13
  import Dt from "@mui/icons-material/ViewColumn";
14
- import Ct from "@mui/icons-material/AspectRatio";
15
- import kt from "@mui/icons-material/Palette";
14
+ import kt from "@mui/icons-material/AspectRatio";
15
+ import Ct from "@mui/icons-material/Palette";
16
16
  import xt from "@mui/icons-material/PushPin";
17
- function sn(e = {}) {
18
- const { enabled: t = !0, returnTo: n } = e, a = R(null);
17
+ function rn(e = {}) {
18
+ const { enabled: t = !0, returnTo: n } = e, a = M(null);
19
19
  return O(() => {
20
20
  t && (a.current = n || document.activeElement);
21
21
  }, [t, n]), O(() => () => {
@@ -24,7 +24,7 @@ function sn(e = {}) {
24
24
  }, 0);
25
25
  }, [t]), a;
26
26
  }
27
- function on(e) {
27
+ function sn(e) {
28
28
  const {
29
29
  items: t,
30
30
  activeIndex: n,
@@ -40,27 +40,27 @@ function on(e) {
40
40
  n === void 0 && f(c), a?.(c);
41
41
  },
42
42
  [n, a]
43
- ), N = w(() => t.map((c, b) => ({ item: c, index: b })).filter(({ item: c, index: b }) => !l?.(c, b)).map(({ index: c }) => c), [t, l]), y = w(
44
- (c, b) => {
43
+ ), N = w(() => t.map((c, v) => ({ item: c, index: v })).filter(({ item: c, index: v }) => !l?.(c, v)).map(({ index: c }) => c), [t, l]), y = w(
44
+ (c, v) => {
45
45
  const _ = N();
46
46
  if (_.length === 0) return -1;
47
47
  const S = _.indexOf(c);
48
48
  if (S === -1)
49
- return b === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
50
- let v = S + b;
51
- return s ? v = (v + _.length) % _.length : v = Math.max(0, Math.min(_.length - 1, v)), _[v];
49
+ return v === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
50
+ let b = S + v;
51
+ return s ? b = (b + _.length) % _.length : b = Math.max(0, Math.min(_.length - 1, b)), _[b];
52
52
  },
53
53
  [N, s]
54
54
  ), h = w(() => {
55
55
  const c = N();
56
56
  c.length > 0 && m(c[0]);
57
- }, [N, m]), M = w(() => {
57
+ }, [N, m]), R = w(() => {
58
58
  const c = N();
59
59
  c.length > 0 && m(c[c.length - 1]);
60
60
  }, [N, m]), P = w(() => {
61
61
  const c = y(g, 1);
62
62
  c !== -1 && m(c);
63
- }, [g, y, m]), k = w(() => {
63
+ }, [g, y, m]), C = w(() => {
64
64
  const c = y(g, -1);
65
65
  c !== -1 && m(c);
66
66
  }, [g, y, m]), T = w(() => {
@@ -68,30 +68,30 @@ function on(e) {
68
68
  }, [m]), I = w(
69
69
  (c) => {
70
70
  if (!o) return;
71
- const { key: b } = c, _ = b === "ArrowUp" && (i === "vertical" || i === "both"), S = b === "ArrowDown" && (i === "vertical" || i === "both"), v = b === "ArrowLeft" && (i === "horizontal" || i === "both"), x = b === "ArrowRight" && (i === "horizontal" || i === "both");
72
- if (_ || v) {
73
- c.preventDefault(), g === -1 ? M() : k();
71
+ const { key: v } = c, _ = v === "ArrowUp" && (i === "vertical" || i === "both"), S = v === "ArrowDown" && (i === "vertical" || i === "both"), b = v === "ArrowLeft" && (i === "horizontal" || i === "both"), x = v === "ArrowRight" && (i === "horizontal" || i === "both");
72
+ if (_ || b) {
73
+ c.preventDefault(), g === -1 ? R() : C();
74
74
  return;
75
75
  }
76
76
  if (S || x) {
77
77
  c.preventDefault(), g === -1 ? h() : P();
78
78
  return;
79
79
  }
80
- if (b === "Home") {
80
+ if (v === "Home") {
81
81
  c.preventDefault(), h();
82
82
  return;
83
83
  }
84
- if (b === "End") {
85
- c.preventDefault(), M();
84
+ if (v === "End") {
85
+ c.preventDefault(), R();
86
86
  return;
87
87
  }
88
- if ((b === "Enter" || b === " ") && g >= 0 && g < t.length) {
88
+ if ((v === "Enter" || v === " ") && g >= 0 && g < t.length) {
89
89
  c.preventDefault();
90
90
  const F = t[g];
91
91
  l?.(F, g) || u?.(F, g);
92
92
  return;
93
93
  }
94
- if (b === "Escape") {
94
+ if (v === "Escape") {
95
95
  d?.();
96
96
  return;
97
97
  }
@@ -102,9 +102,9 @@ function on(e) {
102
102
  g,
103
103
  t,
104
104
  h,
105
- M,
105
+ R,
106
106
  P,
107
- k,
107
+ C,
108
108
  l,
109
109
  u,
110
110
  d
@@ -115,9 +115,9 @@ function on(e) {
115
115
  setFocusedIndex: m,
116
116
  handleKeyDown: I,
117
117
  focusFirst: h,
118
- focusLast: M,
118
+ focusLast: R,
119
119
  focusNext: P,
120
- focusPrevious: k,
120
+ focusPrevious: C,
121
121
  resetFocus: T
122
122
  };
123
123
  }
@@ -175,43 +175,43 @@ const St = ({
175
175
  )
176
176
  ] })
177
177
  ] });
178
- }, Ce = (e) => {
178
+ }, ke = (e) => {
179
179
  }, Mt = {
180
180
  id: "entity-filter-1",
181
181
  label: "Customer: Acme Corp",
182
182
  field: "customer",
183
183
  value: "acme-corp-123",
184
- onRemove: Ce
184
+ onRemove: ke
185
185
  }, Rt = {
186
186
  id: "status-filter-1",
187
187
  label: "Status: Open",
188
188
  field: "status",
189
189
  value: "open",
190
- onRemove: Ce
190
+ onRemove: ke
191
191
  }, Tt = {
192
192
  id: "date-filter-1",
193
193
  label: "Date: Mar 1 - Mar 15",
194
194
  field: "dateRange",
195
195
  value: "2026-03-01..2026-03-15",
196
- onRemove: Ce
196
+ onRemove: ke
197
197
  }, It = {
198
198
  id: "mfg-filter-1",
199
199
  label: "Manufacturer: Widget Co",
200
200
  field: "manufacturer",
201
201
  value: "widget-co-456",
202
- onRemove: Ce
203
- }, ln = [
202
+ onRemove: ke
203
+ }, on = [
204
204
  Mt,
205
205
  Rt,
206
206
  Tt,
207
207
  It
208
- ], cn = {
208
+ ], ln = {
209
209
  id: "metric-toggle",
210
210
  tabs: [
211
211
  { id: "$", label: "$", mono: !0 },
212
212
  { id: "#", label: "#", mono: !0 }
213
213
  ]
214
- }, dn = {
214
+ }, cn = {
215
215
  id: "entity-type",
216
216
  tabs: [
217
217
  { id: "orders", label: "Orders" },
@@ -219,7 +219,7 @@ const St = ({
219
219
  { id: "customers", label: "Customers" },
220
220
  { id: "manufacturers", label: "Manufacturers" }
221
221
  ]
222
- }, un = {
222
+ }, dn = {
223
223
  id: "time-frame",
224
224
  tabs: [
225
225
  { id: "MTD", label: "MTD" },
@@ -227,26 +227,26 @@ const St = ({
227
227
  { id: "YTD", label: "YTD" },
228
228
  { id: "LYTD", label: "LYTD" }
229
229
  ]
230
- }, mn = [
230
+ }, un = [
231
231
  { variant: "block", width: "100%", height: 16 },
232
232
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
233
233
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
234
234
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
235
- ], gn = [
235
+ ], mn = [
236
236
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
237
237
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
238
238
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
239
- ], pn = [
239
+ ], gn = [
240
240
  { variant: "circle", size: 24 },
241
241
  { variant: "circle", size: 40 },
242
242
  { variant: "circle", size: 64 }
243
- ], hn = [
243
+ ], pn = [
244
244
  { bars: 10, maxHeight: 120 },
245
245
  { bars: 5, maxHeight: 80 }
246
- ], fn = [
246
+ ], hn = [
247
247
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
248
248
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
249
- ], bn = [
249
+ ], fn = [
250
250
  { variant: "value", colSpan: 1 },
251
251
  { variant: "trend", colSpan: 2 },
252
252
  { variant: "target", colSpan: 1 }
@@ -294,7 +294,7 @@ function Et({
294
294
  overflowActions: i,
295
295
  onClose: o
296
296
  }) {
297
- const [l, u] = $(null), d = R(null), p = w(() => {
297
+ const [l, u] = $(null), d = M(null), p = w(() => {
298
298
  if (!t) return { ...Ge, top: 0, left: 0 };
299
299
  const m = t.getBoundingClientRect();
300
300
  return {
@@ -383,19 +383,19 @@ const vn = {
383
383
  exitDurationMs: 140,
384
384
  enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
385
385
  exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
386
- translateOffsetPx: 8
387
- }, yn = {
386
+ translateOffsetPx: 4
387
+ }, bn = {
388
388
  shiverCycles: 3,
389
389
  shiverAmplitudePx: 2,
390
390
  shiverDurationMs: 180,
391
391
  validCellOpacity: 0.6
392
- }, wn = {
392
+ }, yn = {
393
393
  materializeMs: 180,
394
394
  dematerializeMs: 140,
395
395
  easing: "cubic-bezier(0.22, 1, 0.36, 1)",
396
396
  dotStrokePx: 2,
397
397
  dividerDashGapPx: 4
398
- }, _n = {
398
+ }, wn = {
399
399
  cascadeStaggerMs: 0,
400
400
  cascadeSpringCapMs: 120,
401
401
  swingEnterMs: 100,
@@ -404,7 +404,7 @@ const vn = {
404
404
  provisionalStyle: "opacity",
405
405
  shiverMs: 200,
406
406
  shiverStyle: "color-flash"
407
- }, Nn = !0, Dn = {
407
+ }, _n = !0, Nn = {
408
408
  rejectionFill: "var(--gloss-rejection-fill)",
409
409
  rejectionStroke: "var(--gloss-rejection-stroke)",
410
410
  validFill: "var(--gloss-valid-fill)",
@@ -412,7 +412,7 @@ const vn = {
412
412
  validCellStroke: "var(--gloss-valid-cell-stroke)",
413
413
  provisionalWash: "var(--gloss-provisional-wash)"
414
414
  };
415
- function Cn() {
415
+ function Dn() {
416
416
  if (typeof window > "u") return "full";
417
417
  try {
418
418
  return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
@@ -592,49 +592,49 @@ function kn({
592
592
  containerRef: g,
593
593
  forceIdle: m
594
594
  }) {
595
- const [N, y] = $("idle"), [h, M] = $(e), P = R(null), k = R(null), T = R(null), I = R(null), c = R(s), b = R(i), _ = R(f), S = R(0), v = R("idle");
595
+ const [N, y] = $("idle"), [h, R] = $(e), P = M(null), C = M(null), T = M(null), I = M(null), c = M(s), v = M(i), _ = M(f), S = M(0), b = M("idle");
596
596
  O(() => {
597
- v.current = N;
597
+ b.current = N;
598
598
  }, [N]);
599
- const x = bt(0), F = R(null), U = w(() => {
600
- const C = F.current;
601
- if (C) {
599
+ const x = vt(0), F = M(null), U = w(() => {
600
+ const k = F.current;
601
+ if (k) {
602
602
  try {
603
- C.stop();
603
+ k.stop();
604
604
  } catch {
605
605
  }
606
606
  F.current = null;
607
607
  }
608
608
  }, []), q = w(
609
- (C) => {
610
- const E = c.current, A = b.current;
611
- return C * E + (C - 1) * A;
609
+ (k) => {
610
+ const E = c.current, A = v.current;
611
+ return k * E + (k - 1) * A;
612
612
  },
613
613
  []
614
- ), j = R(new Lt()), G = R(e);
614
+ ), j = M(new Lt()), G = M(e);
615
615
  O(() => {
616
616
  G.current = h;
617
617
  }, [h]);
618
618
  const B = ye(() => ({ ...qe, ...o ?? {} }), [o]), Z = w(() => {
619
619
  P.current && (clearTimeout(P.current), P.current = null);
620
620
  }, []), L = w(() => {
621
- k.current && (clearTimeout(k.current), k.current = null);
621
+ C.current && (clearTimeout(C.current), C.current = null);
622
622
  }, []), J = w(() => {
623
623
  T.current && (clearTimeout(T.current), T.current = null);
624
624
  }, []);
625
625
  O(() => {
626
- m && (v.current === "dragging" || v.current === "settling" || (Z(), L(), J(), v.current = "idle", y("idle")));
626
+ m && (b.current === "dragging" || b.current === "settling" || (Z(), L(), J(), b.current = "idle", y("idle")));
627
627
  }, [m, Z, L, J]);
628
628
  const Le = w(() => {
629
- L(), y((C) => C === "settling" || C !== "idle" ? C : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
629
+ L(), y((k) => k === "settling" || k !== "idle" ? k : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
630
  }, [l, L]), $e = w(() => {
631
631
  Z();
632
- const C = v.current;
633
- C !== "dwelling" && C !== "handle-visible" || (k.current = setTimeout(() => {
634
- v.current = "idle", y("idle");
632
+ const k = b.current;
633
+ k !== "dwelling" && k !== "handle-visible" || (C.current = setTimeout(() => {
634
+ b.current = "idle", y("idle");
635
635
  }, u));
636
636
  }, [Z, u]), oe = w(
637
- (C, E, A) => {
637
+ (k, E, A) => {
638
638
  const z = c.current, ee = z * B.snapInFraction, Y = z * B.snapOutFraction, K = E - A, V = Math.max(
639
639
  A,
640
640
  _.current ?? f
@@ -642,102 +642,102 @@ function kn({
642
642
  let W = K;
643
643
  for (; A + W < V; ) {
644
644
  const ae = W * z + (W < 0 ? Y : ee);
645
- if (C >= ae) W += 1;
645
+ if (k >= ae) W += 1;
646
646
  else break;
647
647
  }
648
648
  if (W === K)
649
649
  for (; A + W > 1; ) {
650
650
  const ae = W * z - (W > 0 ? Y : ee);
651
- if (C <= ae) W -= 1;
651
+ if (k <= ae) W -= 1;
652
652
  else break;
653
653
  }
654
654
  return Math.min(V, Math.max(1, A + W));
655
655
  },
656
656
  [B.snapInFraction, B.snapOutFraction, f]
657
657
  ), it = w(
658
- (C) => {
659
- if (v.current !== "handle-visible") return;
660
- U(), I.current = C.clientX, c.current = s, b.current = i, _.current = f;
658
+ (k) => {
659
+ if (b.current !== "handle-visible") return;
660
+ U(), I.current = k.clientX, c.current = s, v.current = i, _.current = f;
661
661
  const E = e * s + (e - 1) * i;
662
- S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E), v.current = "dragging", y("dragging");
662
+ S.current = E, j.current.clear(), j.current.push({ x: k.clientX, t: performance.now() }), x.jump(E), b.current = "dragging", y("dragging");
663
663
  },
664
664
  [s, i, f, e, x, U]
665
665
  ), Be = w(
666
- (C) => C * c.current + (C - 1) * b.current,
666
+ (k) => k * c.current + (k - 1) * v.current,
667
667
  []
668
668
  ), ie = w(
669
- (C, E) => {
670
- const A = Be(C), z = C !== e;
669
+ (k, E) => {
670
+ const A = Be(k), z = k !== e;
671
671
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
672
- x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), v.current = "idle", y("idle");
672
+ x.jump(A), z && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
673
673
  return;
674
674
  }
675
675
  const Y = j.current.getWeightedVelocity() * B.velocityMultiplier;
676
- v.current = "settling", y("settling"), U(), F.current = We(x, A, {
676
+ b.current = "settling", y("settling"), U(), F.current = We(x, A, {
677
677
  type: "spring",
678
678
  stiffness: B.stiffness,
679
679
  damping: B.damping,
680
680
  mass: B.mass,
681
681
  velocity: Y,
682
682
  onComplete: () => {
683
- F.current = null, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), v.current = "idle", y("idle");
683
+ F.current = null, z && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
684
684
  }
685
685
  });
686
686
  },
687
687
  [Be, e, t, n, a, x, B, U]
688
688
  ), ot = w(
689
- (C) => {
690
- if (v.current !== "dragging") return;
691
- const E = C.clientX - (I.current ?? C.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
692
- j.current.push({ x: C.clientX, t: performance.now() });
689
+ (k) => {
690
+ if (b.current !== "dragging") return;
691
+ const E = k.clientX - (I.current ?? k.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
692
+ j.current.push({ x: k.clientX, t: performance.now() });
693
693
  const V = oe(K, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
694
694
  ie(V, W);
695
695
  },
696
696
  [oe, e, f, ie]
697
697
  ), le = w(() => {
698
- if (Z(), v.current === "dragging") {
699
- const C = S.current;
698
+ if (Z(), b.current === "dragging") {
699
+ const k = S.current;
700
700
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
701
- x.jump(C), a?.(), x.jump(0), v.current = "idle", y("idle");
701
+ x.jump(k), a?.(), x.jump(0), b.current = "idle", y("idle");
702
702
  return;
703
703
  }
704
704
  const A = j.current.getWeightedVelocity();
705
- v.current = "settling", y("settling"), U(), F.current = We(x, C, {
705
+ b.current = "settling", y("settling"), U(), F.current = We(x, k, {
706
706
  type: "spring",
707
707
  stiffness: B.stiffness,
708
708
  damping: B.damping,
709
709
  mass: B.mass,
710
710
  velocity: A,
711
711
  onComplete: () => {
712
- F.current = null, a?.(), x.jump(0), v.current = "idle", y("idle");
712
+ F.current = null, a?.(), x.jump(0), b.current = "idle", y("idle");
713
713
  }
714
714
  });
715
715
  return;
716
716
  }
717
- v.current === "handle-visible" && (a?.(), v.current = "cancelled", y("cancelled"));
717
+ b.current === "handle-visible" && (a?.(), b.current = "cancelled", y("cancelled"));
718
718
  }, [Z, x, a, B, U]);
719
719
  O(() => {
720
720
  if (N !== "dragging" && N !== "handle-visible") return;
721
- const C = (E) => {
721
+ const k = (E) => {
722
722
  E.key === "Escape" && le();
723
723
  };
724
- return window.addEventListener("keydown", C), () => window.removeEventListener("keydown", C);
724
+ return window.addEventListener("keydown", k), () => window.removeEventListener("keydown", k);
725
725
  }, [N, le]), O(() => {
726
726
  if (N !== "dragging") {
727
- M(e);
727
+ R(e);
728
728
  return;
729
729
  }
730
- const C = (K) => {
730
+ const k = (K) => {
731
731
  const V = K.clientX - (I.current ?? K.clientX), W = S.current, ce = q(1), ae = q(f), we = W + V, Ke = Math.max(ce, Math.min(ae, we));
732
732
  x.set(Ke);
733
- const _e = c.current, ke = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(ke, V));
733
+ const _e = c.current, Ce = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(Ce, V));
734
734
  j.current.push({ x: K.clientX, t: performance.now() });
735
735
  const ue = oe(de, G.current, e);
736
- ue !== G.current && (G.current = ue, M(ue));
736
+ ue !== G.current && (G.current = ue, R(ue));
737
737
  }, E = (K, V) => {
738
- if (v.current === "dragging")
738
+ if (b.current === "dragging")
739
739
  if (K === "pointerup") {
740
- const W = j.current.tail(), ce = V?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, ke = (1 - e) * we, xe = Math.max(ke, Math.min(_e, ae));
740
+ const W = j.current.tail(), ce = V?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, Ce = (1 - e) * we, xe = Math.max(Ce, Math.min(_e, ae));
741
741
  V && j.current.push({ x: V.clientX, t: performance.now() });
742
742
  const de = oe(xe, G.current, e), ue = de > e ? "grow" : de < e ? "shrink" : null;
743
743
  ie(de, ue);
@@ -746,34 +746,34 @@ function kn({
746
746
  }, A = (K) => E("pointerup", K), z = (K) => E("pointercancel", K), ee = () => E("blur"), Y = () => {
747
747
  document.visibilityState === "hidden" && E("visibility-hidden");
748
748
  };
749
- return window.addEventListener("pointermove", C), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
- window.removeEventListener("pointermove", C), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
749
+ return window.addEventListener("pointermove", k), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
+ window.removeEventListener("pointermove", k), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
751
751
  };
752
752
  }, [N, e, x, oe, f, q, le, ie]), O(() => () => {
753
753
  Z(), L(), J();
754
754
  }, [Z, L, J]), O(() => {
755
755
  if (N !== "cancelled") return;
756
- const C = setTimeout(() => y("idle"), p);
757
- return () => clearTimeout(C);
756
+ const k = setTimeout(() => y("idle"), p);
757
+ return () => clearTimeout(k);
758
758
  }, [N, p]);
759
759
  const lt = w(
760
- (C) => {
761
- if (v.current === "settling") return;
762
- const A = Math.min(f, Math.max(1, e + (C === "grow" ? 1 : -1)));
760
+ (k) => {
761
+ if (b.current === "settling") return;
762
+ const A = Math.min(f, Math.max(1, e + (k === "grow" ? 1 : -1)));
763
763
  if (A === e) return;
764
- c.current = s, b.current = i, _.current = f, j.current.clear();
764
+ c.current = s, v.current = i, _.current = f, j.current.clear();
765
765
  const z = e * s + (e - 1) * i;
766
- S.current = z, x.jump(z), ie(A, C);
766
+ S.current = z, x.jump(z), ie(A, k);
767
767
  },
768
768
  [e, s, i, f, x, ie]
769
769
  ), ze = w(() => {
770
770
  J(), T.current = setTimeout(() => {
771
- v.current === "handle-visible" && (v.current = "idle", y("idle"));
771
+ b.current === "handle-visible" && (b.current = "idle", y("idle"));
772
772
  }, 5e3);
773
773
  }, [J]), ct = w(() => {
774
- v.current === "idle" && (Z(), v.current = "handle-visible", y("handle-visible"), ze());
774
+ b.current === "idle" && (Z(), b.current = "handle-visible", y("handle-visible"), ze());
775
775
  }, [Z, ze]), dt = w(() => {
776
- J(), v.current === "handle-visible" && (v.current = "idle", y("idle"));
776
+ J(), b.current === "handle-visible" && (b.current = "idle", y("idle"));
777
777
  }, [J]);
778
778
  return {
779
779
  state: N,
@@ -826,14 +826,14 @@ const se = {
826
826
  sectionDividerFadeOutMs: 80,
827
827
  sectionDividerStaggerMs: 40
828
828
  };
829
- function xn(e) {
829
+ function Cn(e) {
830
830
  const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: s } = e;
831
831
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
832
832
  return;
833
833
  const i = (a + 0.5) * (t / n);
834
834
  return s != null && Number.isFinite(s) && s > 0 ? i - s / 2 : i;
835
835
  }
836
- const Sn = [
836
+ const xn = [
837
837
  // 1. Standard: Total Revenue
838
838
  {
839
839
  variant: "standard",
@@ -1010,14 +1010,14 @@ const Sn = [
1010
1010
  donutMax: 100,
1011
1011
  accentColor: "#10b981",
1012
1012
  isStale: !0
1013
- }, Mn = [
1013
+ }, Sn = [
1014
1014
  $t,
1015
1015
  Bt,
1016
1016
  zt,
1017
1017
  Kt,
1018
1018
  Wt,
1019
1019
  Gt
1020
- ], Rn = {
1020
+ ], Mn = {
1021
1021
  variant: "sparkline",
1022
1022
  label: "Daily Orders",
1023
1023
  value: 847,
@@ -1040,7 +1040,7 @@ const Sn = [
1040
1040
  59
1041
1041
  ],
1042
1042
  accentColor: "#6366f1"
1043
- }, Tn = {
1043
+ }, Rn = {
1044
1044
  variant: "sparkline",
1045
1045
  label: "New Customers",
1046
1046
  value: 23,
@@ -1079,21 +1079,21 @@ const Sn = [
1079
1079
  19
1080
1080
  ],
1081
1081
  accentColor: "#10b981"
1082
- }, In = {
1082
+ }, Tn = {
1083
1083
  variant: "standard",
1084
1084
  label: "Total Revenue",
1085
1085
  value: 125430,
1086
1086
  valueFormat: { prefix: "$", abbreviated: !0 },
1087
1087
  trend: { value: 12.5, direction: "up" },
1088
1088
  subtitle: "MTD"
1089
- }, Pn = {
1089
+ }, In = {
1090
1090
  variant: "standard",
1091
1091
  label: "Returns",
1092
1092
  value: 3280,
1093
1093
  valueFormat: { prefix: "$", abbreviated: !0 },
1094
1094
  trend: { value: -8.3, direction: "down" },
1095
1095
  subtitle: "MTD"
1096
- }, Fn = {
1096
+ }, Pn = {
1097
1097
  variant: "standard",
1098
1098
  label: "Avg Order Value",
1099
1099
  value: 487,
@@ -1208,8 +1208,8 @@ const Vt = function({
1208
1208
  displayMode: u = "count",
1209
1209
  activePage: d
1210
1210
  }) {
1211
- const p = R(null), [f, g] = $(!1), m = w(() => {
1212
- g((M) => !M);
1211
+ const p = M(null), [f, g] = $(!1), m = w(() => {
1212
+ g((h) => !h);
1213
1213
  }, []), N = w(() => {
1214
1214
  g(!1);
1215
1215
  }, []), y = a[t]?.id ?? "";
@@ -1218,10 +1218,10 @@ const Vt = function({
1218
1218
  {
1219
1219
  className: "gloss-page-chip",
1220
1220
  ref: p,
1221
- style: u === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1221
+ style: { position: "absolute", top: 0, right: 0 },
1222
1222
  "data-page-chip": !0,
1223
1223
  children: [
1224
- u !== "name" && /* @__PURE__ */ r(
1224
+ /* @__PURE__ */ r(
1225
1225
  "div",
1226
1226
  {
1227
1227
  className: "gloss-page-chip__nuzzle",
@@ -1231,7 +1231,7 @@ const Vt = function({
1231
1231
  /* @__PURE__ */ r(
1232
1232
  "button",
1233
1233
  {
1234
- className: `gloss-page-chip__trigger${u === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1234
+ className: "gloss-page-chip__trigger",
1235
1235
  "aria-haspopup": "menu",
1236
1236
  "aria-expanded": f,
1237
1237
  "aria-label": u === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
@@ -1264,7 +1264,7 @@ const Vt = function({
1264
1264
  );
1265
1265
  };
1266
1266
  Vt.displayName = "PageChip";
1267
- const En = [
1267
+ const Fn = [
1268
1268
  {
1269
1269
  id: "ORD-1001",
1270
1270
  orderNumber: "ORD-1001",
@@ -1397,7 +1397,7 @@ const En = [
1397
1397
  date: "2026-03-01",
1398
1398
  skuCount: 9
1399
1399
  }
1400
- ], An = [
1400
+ ], En = [
1401
1401
  {
1402
1402
  id: "ITEM-001",
1403
1403
  sku: "PB-4520",
@@ -1540,7 +1540,7 @@ function Qe(e) {
1540
1540
  function Xe(e) {
1541
1541
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1542
1542
  }
1543
- const he = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), On = [
1543
+ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), An = [
1544
1544
  {
1545
1545
  field: "id",
1546
1546
  headerName: "Order",
@@ -1592,7 +1592,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1592
1592
  cellClassName: "gloss-tabular-nums",
1593
1593
  renderCell: ({ row: e }) => e.date ? Xe(e.date) : ""
1594
1594
  }
1595
- ], Ln = [
1595
+ ], On = [
1596
1596
  {
1597
1597
  field: "sku",
1598
1598
  headerName: "Item ID",
@@ -1688,7 +1688,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1688
1688
  userType: "sales-agency",
1689
1689
  entityFilterOptions: Ht,
1690
1690
  itemFilterOptions: Ut
1691
- }, $n = {
1691
+ }, Ln = {
1692
1692
  ...Je,
1693
1693
  vizState: {
1694
1694
  type: "items",
@@ -1697,7 +1697,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1697
1697
  byItem: { id: "i-003", name: "Walnut Console Table" },
1698
1698
  timeFrame: "YTD"
1699
1699
  }
1700
- }, Bn = {
1700
+ }, $n = {
1701
1701
  ...Je,
1702
1702
  vizState: {
1703
1703
  type: "orders",
@@ -1813,14 +1813,14 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1813
1813
  cellKinds: ["numeric"],
1814
1814
  tabType: "orders"
1815
1815
  }
1816
- ], zn = {
1816
+ ], Bn = {
1817
1817
  entityName: Zt,
1818
1818
  orderId: qt,
1819
1819
  numeric: Yt
1820
- }, Kn = [
1820
+ }, zn = [
1821
1821
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1822
1822
  /* @__PURE__ */ new Date()
1823
- ], Wn = {
1823
+ ], Kn = {
1824
1824
  rangeA: [
1825
1825
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1826
1826
  /* @__PURE__ */ new Date()
@@ -1833,7 +1833,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1833
1833
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1834
1834
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1835
1835
  ]
1836
- }, Gn = {
1836
+ }, Wn = {
1837
1837
  version: 4,
1838
1838
  lastPreset: "mtd",
1839
1839
  pinnedPreset: "mtd",
@@ -1841,7 +1841,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1841
1841
  rangeCount: 1,
1842
1842
  lastPresetB: null,
1843
1843
  lastPresetC: null
1844
- }, Vn = [
1844
+ }, Gn = [
1845
1845
  {
1846
1846
  id: "atlanta-jan",
1847
1847
  label: "Atlanta Market",
@@ -1863,7 +1863,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1863
1863
  endDate: new Date(2026, 3, 22),
1864
1864
  location: "Chicago, IL"
1865
1865
  }
1866
- ], Hn = [
1866
+ ], Vn = [
1867
1867
  {
1868
1868
  id: "custom-regional-1",
1869
1869
  label: "Southeast Regional Expo",
@@ -1880,7 +1880,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1880
1880
  location: "Portland, OR",
1881
1881
  isCustom: !0
1882
1882
  }
1883
- ], Un = [
1883
+ ], Hn = [
1884
1884
  {
1885
1885
  id: "atlanta-jan",
1886
1886
  label: "Atlanta Market",
@@ -1897,12 +1897,12 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1897
1897
  location: "New York, NY",
1898
1898
  active: !0
1899
1899
  }
1900
- ], jn = [
1900
+ ], Un = [
1901
1901
  { id: "7d", label: "7D" },
1902
1902
  { id: "30d", label: "30D" },
1903
1903
  { id: "60d", label: "60D" },
1904
1904
  { id: "90d", label: "90D" }
1905
- ], Zn = [
1905
+ ], jn = [
1906
1906
  { id: "mtd", label: "MTD" },
1907
1907
  { id: "qtd", label: "QTD" },
1908
1908
  { id: "ytd", label: "YTD" },
@@ -1918,8 +1918,8 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1918
1918
  timeframe: _t,
1919
1919
  threshold: Nt,
1920
1920
  slots: Dt,
1921
- size: Ct,
1922
- color: kt,
1921
+ size: kt,
1922
+ color: Ct,
1923
1923
  pinned: xt
1924
1924
  };
1925
1925
  function He(...e) {
@@ -1942,12 +1942,12 @@ const ea = ({
1942
1942
  ariaCardTypeLabel: a,
1943
1943
  className: s
1944
1944
  }) => {
1945
- const i = R(null), o = R([]), l = Jt(), u = ye(() => Array.from(e), [e]);
1945
+ const i = M(null), o = M([]), l = Jt(), u = ye(() => Array.from(e), [e]);
1946
1946
  if (u.length === 0) return null;
1947
1947
  const d = a ? `Configure ${a}: choose a dimension` : void 0, p = l ? "10ms" : "200ms", f = (g, m) => {
1948
1948
  const N = u.length - 1, y = (h) => {
1949
- const M = o.current[h];
1950
- M && M.focus();
1949
+ const R = o.current[h];
1950
+ R && R.focus();
1951
1951
  };
1952
1952
  switch (g.key) {
1953
1953
  case "ArrowRight":
@@ -2049,7 +2049,7 @@ function Ue(e, t) {
2049
2049
  colSpan: 2
2050
2050
  };
2051
2051
  }
2052
- const qn = [
2052
+ const Zn = [
2053
2053
  Q("total-revenue", "Total Revenue"),
2054
2054
  Q("total-orders", "Total Orders"),
2055
2055
  Ue("revenue-trend", "Revenue Trend (2x)"),
@@ -2060,21 +2060,21 @@ const qn = [
2060
2060
  Q("repeat-rate", "Repeat Rate"),
2061
2061
  Q("open-orders", "Open Orders"),
2062
2062
  Q("shipped-orders", "Shipped Orders")
2063
- ], Yn = {
2063
+ ], qn = {
2064
2064
  columns: 6,
2065
2065
  rowHeight: 120,
2066
2066
  gap: 15,
2067
2067
  maxRows: 3,
2068
2068
  currentPage: 0,
2069
2069
  totalPages: 1
2070
- }, Qn = {
2070
+ }, Yn = {
2071
2071
  columns: 9,
2072
2072
  rowHeight: 120,
2073
2073
  gap: 15,
2074
2074
  maxRows: 3,
2075
2075
  currentPage: 0,
2076
2076
  totalPages: 2
2077
- }, Xn = {
2077
+ }, Qn = {
2078
2078
  columns: 12,
2079
2079
  rowHeight: 120,
2080
2080
  gap: 15,
@@ -2085,7 +2085,7 @@ const qn = [
2085
2085
  function Me(e) {
2086
2086
  return H.createElement("span", { style: { fontSize: 14 } }, e);
2087
2087
  }
2088
- const Jn = [
2088
+ const Xn = [
2089
2089
  {
2090
2090
  id: "all-orders",
2091
2091
  type: "orders",
@@ -2108,7 +2108,7 @@ const Jn = [
2108
2108
  icon: Me("🚚"),
2109
2109
  closable: !0
2110
2110
  }
2111
- ], er = [
2111
+ ], Jn = [
2112
2112
  {
2113
2113
  id: "orders-main",
2114
2114
  type: "orders",
@@ -2134,7 +2134,7 @@ const Jn = [
2134
2134
  name: "Customers",
2135
2135
  closable: !0
2136
2136
  }
2137
- ], tr = [
2137
+ ], er = [
2138
2138
  {
2139
2139
  id: "only-tab",
2140
2140
  type: "orders",
@@ -2142,7 +2142,7 @@ const Jn = [
2142
2142
  closable: !1,
2143
2143
  autoCreated: !0
2144
2144
  }
2145
- ], ar = [
2145
+ ], tr = [
2146
2146
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
2147
2147
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
2148
2148
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -2400,7 +2400,7 @@ function ua(e = {}) {
2400
2400
  }
2401
2401
  ua.displayName = "DevTuningPanel";
2402
2402
  function ma() {
2403
- const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = R(null), u = w((g) => {
2403
+ const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = M(null), u = w((g) => {
2404
2404
  l.current && clearTimeout(l.current), o(g), l.current = setTimeout(() => {
2405
2405
  o(null), l.current = null;
2406
2406
  }, 200);
@@ -2409,7 +2409,7 @@ function ma() {
2409
2409
  n(g, m), g === "snapInPx" && m > t.snapOutPx && (n("snapOutPx", m), u("snapOutPx"));
2410
2410
  },
2411
2411
  [n, t.snapOutPx, u]
2412
- ), p = ye(() => ia, []), f = vt();
2412
+ ), p = ye(() => ia, []), f = bt();
2413
2413
  return /* @__PURE__ */ D(
2414
2414
  De.div,
2415
2415
  {
@@ -2457,7 +2457,7 @@ function ma() {
2457
2457
  }
2458
2458
  );
2459
2459
  }
2460
- function nr({
2460
+ function ar({
2461
2461
  state: e,
2462
2462
  originX: t,
2463
2463
  originY: n,
@@ -2530,7 +2530,7 @@ function nr({
2530
2530
  }
2531
2531
  );
2532
2532
  }
2533
- function rr({
2533
+ function nr({
2534
2534
  density: e,
2535
2535
  canAccept: t,
2536
2536
  blocked: n = !1,
@@ -2563,7 +2563,7 @@ function ga(e, t, n, a) {
2563
2563
  const s = (e + n) / 2, i = Math.min(t, a) - 40;
2564
2564
  return `M${e},${t} Q${s},${i} ${n},${a}`;
2565
2565
  }
2566
- function sr({
2566
+ function rr({
2567
2567
  segments: e,
2568
2568
  durationMs: t = se.spilloverArcDurationMs,
2569
2569
  staggerMs: n = se.spilloverStaggerMs,
@@ -2594,7 +2594,7 @@ function sr({
2594
2594
  }
2595
2595
  );
2596
2596
  }
2597
- function ir({
2597
+ function sr({
2598
2598
  state: e,
2599
2599
  staggerIndex: t = 0,
2600
2600
  fadeInMs: n = se.sectionDividerFadeInMs,
@@ -2628,7 +2628,7 @@ function ir({
2628
2628
  }
2629
2629
  );
2630
2630
  }
2631
- function or({
2631
+ function ir({
2632
2632
  enabled: e,
2633
2633
  onPack: t,
2634
2634
  ariaLabel: n = "Pack row (shift cards left)",
@@ -2650,7 +2650,7 @@ function or({
2650
2650
  }
2651
2651
  ) });
2652
2652
  }
2653
- function lr({
2653
+ function or({
2654
2654
  tint: e,
2655
2655
  colSpan: t,
2656
2656
  colWidth: n,
@@ -2678,8 +2678,7 @@ function lr({
2678
2678
  }
2679
2679
  );
2680
2680
  }
2681
- const pa = 3;
2682
- function cr({
2681
+ function lr({
2683
2682
  cell: e,
2684
2683
  colSpan: t,
2685
2684
  colWidth: n,
@@ -2688,7 +2687,7 @@ function cr({
2688
2687
  transitionMs: i = 120,
2689
2688
  className: o
2690
2689
  }) {
2691
- const l = t * n + (t - 1) * a, d = (e.section * pa + e.col) * (n + a), p = e.row * (s + a);
2690
+ const l = t * n + (t - 1) * a, u = e.col * (n + a), d = e.row * (s + a);
2692
2691
  return /* @__PURE__ */ r(
2693
2692
  "div",
2694
2693
  {
@@ -2696,7 +2695,7 @@ function cr({
2696
2695
  "data-testid": "gloss-snap-outline",
2697
2696
  "aria-hidden": "true",
2698
2697
  style: {
2699
- transform: `translate(${d}px, ${p}px)`,
2698
+ transform: `translate(${u}px, ${d}px)`,
2700
2699
  width: l,
2701
2700
  height: s,
2702
2701
  transition: `transform ${i}ms cubic-bezier(0.4, 0, 0.2, 1)`
@@ -2704,7 +2703,7 @@ function cr({
2704
2703
  }
2705
2704
  );
2706
2705
  }
2707
- function dr({
2706
+ function cr({
2708
2707
  items: e,
2709
2708
  children: t,
2710
2709
  className: n
@@ -2722,12 +2721,12 @@ function dr({
2722
2721
  a.cardId
2723
2722
  )) });
2724
2723
  }
2725
- const ha = ({
2724
+ const pa = ({
2726
2725
  consumed: e,
2727
2726
  elapsed: t,
2728
2727
  severity: n = "neutral"
2729
2728
  }) => {
2730
- const a = R(null), s = R(null);
2729
+ const a = M(null), s = M(null);
2731
2730
  O(() => {
2732
2731
  const l = Math.min(100, Math.max(0, e.value)), u = Math.min(100, Math.max(0, t.value)), d = requestAnimationFrame(() => {
2733
2732
  a.current && (a.current.style.width = `${l}%`), s.current && (s.current.style.width = `${u}%`);
@@ -2785,7 +2784,7 @@ const ha = ({
2785
2784
  ]
2786
2785
  }
2787
2786
  );
2788
- }, fa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ D(
2787
+ }, ha = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ D(
2789
2788
  "div",
2790
2789
  {
2791
2790
  className: `gloss-gap-readout gloss-gap-readout--${n}`,
@@ -2798,7 +2797,7 @@ const ha = ({
2798
2797
  ] })
2799
2798
  ]
2800
2799
  }
2801
- ), ba = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2800
+ ), fa = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2802
2801
  /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2803
2802
  /* @__PURE__ */ D("p", { className: "gloss-pace-placeholder__context", children: [
2804
2803
  "for ",
@@ -2814,7 +2813,7 @@ const ha = ({
2814
2813
  children: "Set target"
2815
2814
  }
2816
2815
  )
2817
- ] }), ur = (e) => {
2816
+ ] }), dr = (e) => {
2818
2817
  const [t, n] = $(!1), a = e.target?.value, s = a !== void 0, i = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
2819
2818
  St,
2820
2819
  {
@@ -2843,16 +2842,16 @@ const ha = ({
2843
2842
  e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
2844
2843
  /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ D(te, { children: [
2845
2844
  /* @__PURE__ */ r(
2846
- ha,
2845
+ pa,
2847
2846
  {
2848
2847
  consumed: e.consumed,
2849
2848
  elapsed: e.elapsed,
2850
2849
  severity: e.severity
2851
2850
  }
2852
2851
  ),
2853
- /* @__PURE__ */ r(fa, { label: "Gap", value: e.gapLabel, severity: e.severity })
2852
+ /* @__PURE__ */ r(ha, { label: "Gap", value: e.gapLabel, severity: e.severity })
2854
2853
  ] }) : /* @__PURE__ */ r(
2855
- ba,
2854
+ fa,
2856
2855
  {
2857
2856
  label: e.label,
2858
2857
  onSetTarget: () => n(!0)
@@ -2861,7 +2860,7 @@ const ha = ({
2861
2860
  ] })
2862
2861
  }
2863
2862
  );
2864
- }, mr = () => /* @__PURE__ */ D("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2863
+ }, ur = () => /* @__PURE__ */ D("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2865
2864
  /* @__PURE__ */ r(
2866
2865
  "div",
2867
2866
  {
@@ -2899,7 +2898,7 @@ function va({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, o
2899
2898
  }
2900
2899
  );
2901
2900
  }
2902
- function ya({
2901
+ function ba({
2903
2902
  lenses: e,
2904
2903
  value: t,
2905
2904
  onChange: n,
@@ -2958,15 +2957,15 @@ function ya({
2958
2957
  }
2959
2958
  );
2960
2959
  }
2961
- ya.displayName = "LensChipGroup";
2962
- function wa({ heading: e, children: t }) {
2960
+ ba.displayName = "LensChipGroup";
2961
+ function ya({ heading: e, children: t }) {
2963
2962
  return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ D("section", { className: "gloss-starter-rail", "aria-label": e, children: [
2964
2963
  /* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
2965
2964
  /* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
2966
2965
  ] });
2967
2966
  }
2968
- wa.displayName = "StarterRail";
2969
- function _a({ heading: e, children: t, emptyStateLabel: n }) {
2967
+ ya.displayName = "StarterRail";
2968
+ function wa({ heading: e, children: t, emptyStateLabel: n }) {
2970
2969
  const a = !t || Array.isArray(t) && t.length === 0;
2971
2970
  return /* @__PURE__ */ D("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
2972
2971
  /* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
@@ -2976,7 +2975,7 @@ function _a({ heading: e, children: t, emptyStateLabel: n }) {
2976
2975
  ] })
2977
2976
  ] });
2978
2977
  }
2979
- _a.displayName = "MoreInLensRail";
2978
+ wa.displayName = "MoreInLensRail";
2980
2979
  function X({
2981
2980
  lead: e,
2982
2981
  name: t,
@@ -3033,7 +3032,7 @@ const fe = ({ rank: e }) => {
3033
3032
  );
3034
3033
  };
3035
3034
  fe.displayName = "RankBadge";
3036
- function be({ severity: e, "aria-label": t }) {
3035
+ function ve({ severity: e, "aria-label": t }) {
3037
3036
  return /* @__PURE__ */ r(
3038
3037
  "span",
3039
3038
  {
@@ -3043,7 +3042,7 @@ function be({ severity: e, "aria-label": t }) {
3043
3042
  }
3044
3043
  );
3045
3044
  }
3046
- be.displayName = "SeverityDot";
3045
+ ve.displayName = "SeverityDot";
3047
3046
  function tt({
3048
3047
  delta: e,
3049
3048
  direction: t = "flat",
@@ -3074,7 +3073,7 @@ function tt({
3074
3073
  );
3075
3074
  }
3076
3075
  tt.displayName = "RankDelta";
3077
- function ve({ fill: e, variant: t = "default", className: n }) {
3076
+ function be({ fill: e, variant: t = "default", className: n }) {
3078
3077
  const a = Math.max(0, Math.min(100, e));
3079
3078
  return /* @__PURE__ */ r(
3080
3079
  "div",
@@ -3090,9 +3089,9 @@ function ve({ fill: e, variant: t = "default", className: n }) {
3090
3089
  }
3091
3090
  );
3092
3091
  }
3093
- ve.displayName = "MagnitudeBar";
3094
- const Na = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3095
- function Da({
3092
+ be.displayName = "MagnitudeBar";
3093
+ const _a = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3094
+ function Na({
3096
3095
  label: e,
3097
3096
  rows: t,
3098
3097
  rowCount: n,
@@ -3120,7 +3119,7 @@ function Da({
3120
3119
  lead: /* @__PURE__ */ r(fe, { rank: l + 1 }),
3121
3120
  name: o.name,
3122
3121
  secondary: /* @__PURE__ */ r(
3123
- ve,
3122
+ be,
3124
3123
  {
3125
3124
  fill: o.magnitude,
3126
3125
  variant: o.isBottom ? "bottom" : "default"
@@ -3132,7 +3131,7 @@ function Da({
3132
3131
  {
3133
3132
  delta: o.rankDelta,
3134
3133
  direction: o.direction,
3135
- "aria-label": Na(o)
3134
+ "aria-label": _a(o)
3136
3135
  }
3137
3136
  ),
3138
3137
  variant: "leaderboard",
@@ -3148,22 +3147,22 @@ function Da({
3148
3147
  ] })
3149
3148
  ] });
3150
3149
  }
3151
- Da.displayName = "LeaderboardCard";
3152
- const Ca = () => /* @__PURE__ */ D(
3150
+ Na.displayName = "LeaderboardCard";
3151
+ const Da = () => /* @__PURE__ */ D(
3153
3152
  "div",
3154
3153
  {
3155
3154
  className: "leaderboard-tile-preview",
3156
3155
  "aria-hidden": "true",
3157
3156
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3158
3157
  children: [
3159
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ve, { fill: 96 }), value: "98%" }),
3160
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ve, { fill: 72 }), value: "85%" }),
3161
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ve, { fill: 48 }), value: "71%" })
3158
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(be, { fill: 96 }), value: "98%" }),
3159
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(be, { fill: 72 }), value: "85%" }),
3160
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(be, { fill: 48 }), value: "71%" })
3162
3161
  ]
3163
3162
  }
3164
3163
  );
3165
- Ca.displayName = "LeaderboardTilePreview";
3166
- const ka = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", xa = (e, t) => {
3164
+ Da.displayName = "LeaderboardTilePreview";
3165
+ const ka = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", Ca = (e, t) => {
3167
3166
  const n = e.sourceValue;
3168
3167
  if (typeof n != "number") return !1;
3169
3168
  switch (t.condition) {
@@ -3181,7 +3180,7 @@ const ka = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warni
3181
3180
  return !1;
3182
3181
  }
3183
3182
  };
3184
- function Sa({
3183
+ function xa({
3185
3184
  label: e,
3186
3185
  rows: t,
3187
3186
  rule: n,
@@ -3190,7 +3189,7 @@ function Sa({
3190
3189
  ruleSubtitle: i,
3191
3190
  isStale: o
3192
3191
  }) {
3193
- const l = t.filter((d) => xa(d, n)), u = l.slice(0, a ?? 3);
3192
+ const l = t.filter((d) => Ca(d, n)), u = l.slice(0, a ?? 3);
3194
3193
  return l.length === 0 ? /* @__PURE__ */ D(te, { children: [
3195
3194
  /* @__PURE__ */ r(
3196
3195
  pe,
@@ -3219,7 +3218,7 @@ function Sa({
3219
3218
  children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((d, p) => /* @__PURE__ */ r(
3220
3219
  X,
3221
3220
  {
3222
- lead: /* @__PURE__ */ r(be, { severity: d.severity, "aria-label": ka(d.severity) }),
3221
+ lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label": ka(d.severity) }),
3223
3222
  name: d.name,
3224
3223
  value: d.value,
3225
3224
  variant: "exception",
@@ -3232,8 +3231,8 @@ function Sa({
3232
3231
  i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
3233
3232
  ] });
3234
3233
  }
3235
- Sa.displayName = "ExceptionListCard";
3236
- const Ma = () => /* @__PURE__ */ D(
3234
+ xa.displayName = "ExceptionListCard";
3235
+ const Sa = () => /* @__PURE__ */ D(
3237
3236
  "div",
3238
3237
  {
3239
3238
  className: "exception-list-tile-preview",
@@ -3243,7 +3242,7 @@ const Ma = () => /* @__PURE__ */ D(
3243
3242
  /* @__PURE__ */ r(
3244
3243
  X,
3245
3244
  {
3246
- lead: /* @__PURE__ */ r(be, { severity: "critical", "aria-label": "Critical severity" }),
3245
+ lead: /* @__PURE__ */ r(ve, { severity: "critical", "aria-label": "Critical severity" }),
3247
3246
  name: "SKU A",
3248
3247
  value: "0 on hand"
3249
3248
  }
@@ -3251,7 +3250,7 @@ const Ma = () => /* @__PURE__ */ D(
3251
3250
  /* @__PURE__ */ r(
3252
3251
  X,
3253
3252
  {
3254
- lead: /* @__PURE__ */ r(be, { severity: "warn", "aria-label": "Warning severity" }),
3253
+ lead: /* @__PURE__ */ r(ve, { severity: "warn", "aria-label": "Warning severity" }),
3255
3254
  name: "SKU B",
3256
3255
  value: "3 units"
3257
3256
  }
@@ -3259,7 +3258,7 @@ const Ma = () => /* @__PURE__ */ D(
3259
3258
  /* @__PURE__ */ r(
3260
3259
  X,
3261
3260
  {
3262
- lead: /* @__PURE__ */ r(be, { severity: "info", "aria-label": "Info severity" }),
3261
+ lead: /* @__PURE__ */ r(ve, { severity: "info", "aria-label": "Info severity" }),
3263
3262
  name: "SKU C",
3264
3263
  value: "12 days"
3265
3264
  }
@@ -3267,7 +3266,7 @@ const Ma = () => /* @__PURE__ */ D(
3267
3266
  ]
3268
3267
  }
3269
3268
  );
3270
- Ma.displayName = "ExceptionListTilePreview";
3269
+ Sa.displayName = "ExceptionListTilePreview";
3271
3270
  const ne = {
3272
3271
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
3273
3272
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
@@ -3276,7 +3275,7 @@ const ne = {
3276
3275
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
3277
3276
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
3278
3277
  };
3279
- function Ra({
3278
+ function Ma({
3280
3279
  message: e,
3281
3280
  primaryAction: t,
3282
3281
  onDismiss: n,
@@ -3337,11 +3336,11 @@ function Ra({
3337
3336
  }
3338
3337
  );
3339
3338
  }
3340
- Ra.displayName = "InlineNudge";
3339
+ Ma.displayName = "InlineNudge";
3341
3340
  function Ee(e) {
3342
3341
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
3343
3342
  }
3344
- function Ta(e, t, n) {
3343
+ function Ra(e, t, n) {
3345
3344
  if (n <= t) {
3346
3345
  const o = e[0], l = o ? Ee(o) : "#888";
3347
3346
  return `linear-gradient(to right, ${l}, ${l})`;
@@ -3352,10 +3351,10 @@ function Ta(e, t, n) {
3352
3351
  });
3353
3352
  return i.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : i.length === 1 ? `linear-gradient(to right, ${i[0]}, ${i[0]})` : `linear-gradient(to right, ${i.join(", ")})`;
3354
3353
  }
3355
- function Ia(e) {
3354
+ function Ta(e) {
3356
3355
  return e.map((t) => `${t.id}:${t.value}`).join("|");
3357
3356
  }
3358
- function Pa({
3357
+ function Ia({
3359
3358
  stops: e,
3360
3359
  onChange: t,
3361
3360
  min: n = 0,
@@ -3368,15 +3367,15 @@ function Pa({
3368
3367
  ), 0.01) : s, l = w(
3369
3368
  (c) => Math.round(c / o) * o,
3370
3369
  [o]
3371
- ), u = R(null), [d, p] = $(null), [f, g] = $(e), m = Ia(e), N = R(m);
3370
+ ), u = M(null), [d, p] = $(null), [f, g] = $(e), m = Ta(e), N = M(m);
3372
3371
  O(() => {
3373
3372
  N.current !== m && (N.current = m, !d && g(e));
3374
3373
  }, [m, e, d]);
3375
- const y = ye(() => Ta(f, n, a), [f, n, a]), h = w(
3374
+ const y = ye(() => Ra(f, n, a), [f, n, a]), h = w(
3376
3375
  (c) => {
3377
3376
  if (!u.current) return n;
3378
- const b = u.current.getBoundingClientRect(), _ = b.width || 1, S = Math.max(0, Math.min(1, (c - b.left) / _)), v = n + S * (a - n);
3379
- return l(v);
3377
+ const v = u.current.getBoundingClientRect(), _ = v.width || 1, S = Math.max(0, Math.min(1, (c - v.left) / _)), b = n + S * (a - n);
3378
+ return l(b);
3380
3379
  },
3381
3380
  [n, a, l]
3382
3381
  );
@@ -3385,62 +3384,62 @@ function Pa({
3385
3384
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
3386
3385
  );
3387
3386
  }, [n, a]);
3388
- const M = w(
3389
- (c, b) => {
3390
- const _ = f.find((S) => S.id === b);
3391
- i || _?.disabled || (c.preventDefault(), p(b));
3387
+ const R = w(
3388
+ (c, v) => {
3389
+ const _ = f.find((S) => S.id === v);
3390
+ i || _?.disabled || (c.preventDefault(), p(v));
3392
3391
  },
3393
3392
  [i, f]
3394
- ), P = R(f);
3393
+ ), P = M(f);
3395
3394
  P.current = f;
3396
- const k = R(t);
3397
- k.current = t, O(() => {
3395
+ const C = M(t);
3396
+ C.current = t, O(() => {
3398
3397
  if (!d) return;
3399
3398
  const c = (_) => {
3400
3399
  const S = h(_.clientX);
3401
3400
  g(
3402
- (v) => v.map((x) => x.id === d ? { ...x, value: S } : x)
3401
+ (b) => b.map((x) => x.id === d ? { ...x, value: S } : x)
3403
3402
  );
3404
- }, b = (_) => {
3405
- const S = h(_.clientX), v = P.current.map(
3403
+ }, v = (_) => {
3404
+ const S = h(_.clientX), b = P.current.map(
3406
3405
  (x) => x.id === d ? { ...x, value: S } : x
3407
3406
  );
3408
- g(v), p(null), k.current(v);
3407
+ g(b), p(null), C.current(b);
3409
3408
  };
3410
- return window.addEventListener("pointermove", c), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
3411
- window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
3409
+ return window.addEventListener("pointermove", c), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
3410
+ window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
3412
3411
  };
3413
3412
  }, [d, h]);
3414
3413
  const T = a - n > 0 ? a - n : 1, I = w(
3415
- (c, b) => {
3416
- if (i || b.disabled) return;
3414
+ (c, v) => {
3415
+ if (i || v.disabled) return;
3417
3416
  const _ = a - n;
3418
3417
  if (_ <= 0) return;
3419
3418
  const S = c.shiftKey ? _ / 20 : _ / 100;
3420
- let v = b.value;
3419
+ let b = v.value;
3421
3420
  switch (c.key) {
3422
3421
  case "ArrowRight":
3423
3422
  case "ArrowUp":
3424
- v = b.value + S;
3423
+ b = v.value + S;
3425
3424
  break;
3426
3425
  case "ArrowLeft":
3427
3426
  case "ArrowDown":
3428
- v = b.value - S;
3427
+ b = v.value - S;
3429
3428
  break;
3430
3429
  case "Home":
3431
- v = n;
3430
+ b = n;
3432
3431
  break;
3433
3432
  case "End":
3434
- v = a;
3433
+ b = a;
3435
3434
  break;
3436
3435
  default:
3437
3436
  return;
3438
3437
  }
3439
3438
  c.preventDefault();
3440
- const x = Math.max(n, Math.min(a, v)), F = l(x);
3441
- if (F === b.value) return;
3439
+ const x = Math.max(n, Math.min(a, b)), F = l(x);
3440
+ if (F === v.value) return;
3442
3441
  const U = f.map(
3443
- (q) => q.id === b.id ? { ...q, value: F } : q
3442
+ (q) => q.id === v.id ? { ...q, value: F } : q
3444
3443
  );
3445
3444
  g(U), t(U);
3446
3445
  },
@@ -3453,18 +3452,18 @@ function Pa({
3453
3452
  className: "gloss-threshold-ramp__track",
3454
3453
  style: { background: y },
3455
3454
  children: f.map((c) => {
3456
- const b = (c.value - n) / T * 100;
3455
+ const v = (c.value - n) / T * 100;
3457
3456
  return /* @__PURE__ */ r(
3458
3457
  "span",
3459
3458
  {
3460
3459
  className: "gloss-threshold-ramp__stop",
3461
3460
  style: {
3462
- left: `${b}%`,
3461
+ left: `${v}%`,
3463
3462
  color: Ee(c)
3464
3463
  },
3465
3464
  "data-disabled": c.disabled || void 0,
3466
3465
  "data-dragging": d === c.id || void 0,
3467
- onPointerDown: (_) => M(_, c.id),
3466
+ onPointerDown: (_) => R(_, c.id),
3468
3467
  onKeyDown: (_) => I(_, c),
3469
3468
  "aria-label": c.label ?? `Stop at ${c.value}`,
3470
3469
  role: "slider",
@@ -3480,13 +3479,13 @@ function Pa({
3480
3479
  }
3481
3480
  ) });
3482
3481
  }
3483
- Pa.displayName = "ThresholdRamp";
3482
+ Ia.displayName = "ThresholdRamp";
3484
3483
  const at = ht(null);
3485
- function Fa() {
3484
+ function Pa() {
3486
3485
  return ft(at);
3487
3486
  }
3488
- function Ea({ option: e }) {
3489
- const t = Fa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = w(() => {
3487
+ function Fa({ option: e }) {
3488
+ const t = Pa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = w(() => {
3490
3489
  a || t?.select(e.value);
3491
3490
  }, [a, t, e.value]), i = w(
3492
3491
  (d) => {
@@ -3515,7 +3514,7 @@ function Ea({ option: e }) {
3515
3514
  }
3516
3515
  );
3517
3516
  }
3518
- function Aa({
3517
+ function Ea({
3519
3518
  swatches: e,
3520
3519
  value: t,
3521
3520
  defaultValue: n,
@@ -3524,50 +3523,50 @@ function Aa({
3524
3523
  name: i
3525
3524
  }) {
3526
3525
  const o = t !== void 0, [l, u] = $(n), d = o ? t : l, p = w(
3527
- (k) => {
3528
- o || u(k), a?.(k);
3526
+ (C) => {
3527
+ o || u(C), a?.(C);
3529
3528
  },
3530
3529
  [o, a]
3531
3530
  ), f = w(
3532
- (k) => d === k,
3531
+ (C) => d === C,
3533
3532
  [d]
3534
- ), g = R(/* @__PURE__ */ new Map()), m = w((k, T) => {
3535
- T ? g.current.set(k, T) : g.current.delete(k);
3536
- }, []), N = e.filter((k) => !k.disabled && !s), y = N.find((k) => k.value === d)?.value ?? N[0]?.value, h = w((k) => {
3537
- const T = g.current.get(k);
3533
+ ), g = M(/* @__PURE__ */ new Map()), m = w((C, T) => {
3534
+ T ? g.current.set(C, T) : g.current.delete(C);
3535
+ }, []), N = e.filter((C) => !C.disabled && !s), y = N.find((C) => C.value === d)?.value ?? N[0]?.value, h = w((C) => {
3536
+ const T = g.current.get(C);
3538
3537
  T && T.focus();
3539
- }, []), M = w(
3540
- (k, T) => {
3538
+ }, []), R = w(
3539
+ (C, T) => {
3541
3540
  if (s) return;
3542
3541
  const I = e.filter((S) => !S.disabled);
3543
3542
  if (I.length === 0) return;
3544
3543
  const c = I.findIndex((S) => S.value === T);
3545
3544
  if (c === -1) return;
3546
- let b = c;
3547
- switch (k.key) {
3545
+ let v = c;
3546
+ switch (C.key) {
3548
3547
  case "ArrowRight":
3549
3548
  case "ArrowDown":
3550
- b = (c + 1) % I.length;
3549
+ v = (c + 1) % I.length;
3551
3550
  break;
3552
3551
  case "ArrowLeft":
3553
3552
  case "ArrowUp":
3554
- b = (c - 1 + I.length) % I.length;
3553
+ v = (c - 1 + I.length) % I.length;
3555
3554
  break;
3556
3555
  case "Home":
3557
- b = 0;
3556
+ v = 0;
3558
3557
  break;
3559
3558
  case "End":
3560
- b = I.length - 1;
3559
+ v = I.length - 1;
3561
3560
  break;
3562
3561
  case " ":
3563
3562
  case "Enter":
3564
- k.preventDefault(), p(T);
3563
+ C.preventDefault(), p(T);
3565
3564
  return;
3566
3565
  default:
3567
3566
  return;
3568
3567
  }
3569
- k.preventDefault();
3570
- const _ = I[b].value;
3568
+ C.preventDefault();
3569
+ const _ = I[v].value;
3571
3570
  h(_), p(_);
3572
3571
  },
3573
3572
  [s, e, p, h]
@@ -3579,7 +3578,7 @@ function Aa({
3579
3578
  name: i,
3580
3579
  registerRef: m,
3581
3580
  firstFocusableValue: y,
3582
- onKeyNav: M
3581
+ onKeyNav: R
3583
3582
  };
3584
3583
  return /* @__PURE__ */ r(at.Provider, { value: P, children: /* @__PURE__ */ r(
3585
3584
  "div",
@@ -3589,11 +3588,11 @@ function Aa({
3589
3588
  "aria-label": i,
3590
3589
  "aria-disabled": s,
3591
3590
  "data-disabled": s || void 0,
3592
- children: e.map((k) => /* @__PURE__ */ r(Ea, { option: k }, k.value))
3591
+ children: e.map((C) => /* @__PURE__ */ r(Fa, { option: C }, C.value))
3593
3592
  }
3594
3593
  ) });
3595
3594
  }
3596
- Aa.displayName = "PresetSwatchRow";
3595
+ Ea.displayName = "PresetSwatchRow";
3597
3596
  function Ae(e, t) {
3598
3597
  for (const n of e)
3599
3598
  if (n.items.some((a) => a.id === t))
@@ -3604,24 +3603,24 @@ function je(e, t) {
3604
3603
  const n = e.find((a) => a.zoneKey === t);
3605
3604
  return n ? n.zoneKey : Ae(e, t);
3606
3605
  }
3607
- function Oa(e, t, n) {
3606
+ function Aa(e, t, n) {
3608
3607
  const a = [...e], [s] = a.splice(t, 1);
3609
3608
  return a.splice(n, 0, s), a;
3610
3609
  }
3611
- function La(e) {
3610
+ function Oa(e) {
3612
3611
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
3613
3612
  }
3614
- function $a(e) {
3613
+ function La(e) {
3615
3614
  const [t, n] = $(
3616
3615
  () => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3617
3616
  `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3618
3617
  ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3619
- ), [a, s] = $(null), [i, o] = $(null), l = R(null), u = R(e.onZoneChange);
3618
+ ), [a, s] = $(null), [i, o] = $(null), l = M(null), u = M(e.onZoneChange);
3620
3619
  u.current = e.onZoneChange;
3621
3620
  const d = ye(
3622
- () => La(e.zones),
3621
+ () => Oa(e.zones),
3623
3622
  [e.zones]
3624
- ), p = R(d);
3623
+ ), p = M(d);
3625
3624
  O(() => {
3626
3625
  p.current !== d && (p.current = d, !a && n(
3627
3626
  e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
@@ -3631,16 +3630,16 @@ function $a(e) {
3631
3630
  }, [d, e.zones, a]);
3632
3631
  const f = w(
3633
3632
  (h) => {
3634
- const M = h.active.id;
3635
- let P = null, k = null;
3633
+ const R = h.active.id;
3634
+ let P = null, C = null;
3636
3635
  for (const T of t) {
3637
- const I = T.items.find((c) => c.id === M);
3636
+ const I = T.items.find((c) => c.id === R);
3638
3637
  if (I) {
3639
- P = I, k = T.zoneKey;
3638
+ P = I, C = T.zoneKey;
3640
3639
  break;
3641
3640
  }
3642
3641
  }
3643
- l.current = k, s(P), o(k);
3642
+ l.current = C, s(P), o(C);
3644
3643
  },
3645
3644
  [t]
3646
3645
  ), g = w(
@@ -3649,51 +3648,51 @@ function $a(e) {
3649
3648
  o(l.current);
3650
3649
  return;
3651
3650
  }
3652
- const M = je(t, h.over.id);
3653
- o(M);
3651
+ const R = je(t, h.over.id);
3652
+ o(R);
3654
3653
  },
3655
3654
  [t]
3656
3655
  ), m = w(
3657
3656
  (h) => {
3658
- const { active: M, over: P } = h, k = () => {
3657
+ const { active: R, over: P } = h, C = () => {
3659
3658
  l.current = null, s(null), o(null);
3660
3659
  };
3661
3660
  if (!P) {
3662
- k();
3661
+ C();
3663
3662
  return;
3664
3663
  }
3665
- const T = Ae(t, M.id), I = je(t, P.id);
3664
+ const T = Ae(t, R.id), I = je(t, P.id);
3666
3665
  if (!T || !I) {
3667
- k();
3666
+ C();
3668
3667
  return;
3669
3668
  }
3670
- let c = t.map((b) => ({ ...b, items: [...b.items] }));
3669
+ let c = t.map((v) => ({ ...v, items: [...v.items] }));
3671
3670
  if (T === I) {
3672
- const b = c.findIndex((F) => F.zoneKey === T), _ = c[b], S = _.items.findIndex((F) => F.id === M.id), v = _.items.findIndex((F) => F.id === P.id), x = v >= 0 ? v : Math.max(0, _.items.length - 1);
3673
- c[b] = {
3671
+ const v = c.findIndex((F) => F.zoneKey === T), _ = c[v], S = _.items.findIndex((F) => F.id === R.id), b = _.items.findIndex((F) => F.id === P.id), x = b >= 0 ? b : Math.max(0, _.items.length - 1);
3672
+ c[v] = {
3674
3673
  ..._,
3675
- items: Oa(_.items, S, x)
3674
+ items: Aa(_.items, S, x)
3676
3675
  };
3677
3676
  } else {
3678
- const b = c.findIndex((L) => L.zoneKey === T), _ = c.findIndex((L) => L.zoneKey === I), S = c[b], v = c[_], x = S.items.find((L) => L.id === M.id);
3677
+ const v = c.findIndex((L) => L.zoneKey === T), _ = c.findIndex((L) => L.zoneKey === I), S = c[v], b = c[_], x = S.items.find((L) => L.id === R.id);
3679
3678
  if (!x) {
3680
- k();
3679
+ C();
3681
3680
  return;
3682
3681
  }
3683
- const F = S.items.filter((L) => L.id !== M.id), U = v.items.findIndex((L) => L.id === P.id), q = U >= 0 ? U : v.items.length;
3684
- let j = F, G = [...v.items];
3685
- if (v.maxItems !== void 0 && G.length >= v.maxItems) {
3682
+ const F = S.items.filter((L) => L.id !== R.id), U = b.items.findIndex((L) => L.id === P.id), q = U >= 0 ? U : b.items.length;
3683
+ let j = F, G = [...b.items];
3684
+ if (b.maxItems !== void 0 && G.length >= b.maxItems) {
3686
3685
  const L = G[G.length - 1];
3687
- G = G.slice(0, v.maxItems - 1), j = [...F, L];
3686
+ G = G.slice(0, b.maxItems - 1), j = [...F, L];
3688
3687
  }
3689
3688
  const B = Math.min(q, G.length), Z = [
3690
3689
  ...G.slice(0, B),
3691
3690
  x,
3692
3691
  ...G.slice(B)
3693
3692
  ];
3694
- c[b] = { ...S, items: j }, c[_] = { ...v, items: Z };
3693
+ c[v] = { ...S, items: j }, c[_] = { ...b, items: Z };
3695
3694
  }
3696
- n(c), u.current?.(c), k();
3695
+ n(c), u.current?.(c), C();
3697
3696
  },
3698
3697
  [t]
3699
3698
  ), N = w(
@@ -3704,11 +3703,11 @@ function $a(e) {
3704
3703
  []
3705
3704
  ), y = w(
3706
3705
  (h) => {
3707
- const M = Ae(t, h.id) ?? "";
3706
+ const R = Ae(t, h.id) ?? "";
3708
3707
  return {
3709
3708
  id: h.id,
3710
3709
  "data-item-id": h.id,
3711
- "data-zone-key": M
3710
+ "data-zone-key": R
3712
3711
  };
3713
3712
  },
3714
3713
  [t]
@@ -3725,7 +3724,7 @@ function $a(e) {
3725
3724
  };
3726
3725
  }
3727
3726
  let ge = null, Ne = null, Re = !1;
3728
- const Ba = [
3727
+ const $a = [
3729
3728
  "DndContext",
3730
3729
  "DragOverlay",
3731
3730
  "useSensors",
@@ -3734,21 +3733,21 @@ const Ba = [
3734
3733
  "PointerSensor",
3735
3734
  "KeyboardSensor",
3736
3735
  "closestCenter"
3737
- ], za = [
3736
+ ], Ba = [
3738
3737
  "SortableContext",
3739
3738
  "useSortable",
3740
3739
  "verticalListSortingStrategy"
3741
3740
  ];
3742
- function Ka(e, t) {
3741
+ function za(e, t) {
3743
3742
  const n = [], a = e ?? {};
3744
- for (const i of Ba)
3743
+ for (const i of $a)
3745
3744
  a[i] === void 0 && n.push(`@dnd-kit/core:${i}`);
3746
3745
  const s = t ?? {};
3747
- for (const i of za)
3746
+ for (const i of Ba)
3748
3747
  s[i] === void 0 && n.push(`@dnd-kit/sortable:${i}`);
3749
3748
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
3750
3749
  }
3751
- function Wa() {
3750
+ function Ka() {
3752
3751
  return ge ? Promise.resolve(ge) : Re ? Promise.resolve(null) : Ne || (Ne = (async () => {
3753
3752
  try {
3754
3753
  const [e, t, n] = await Promise.all([
@@ -3757,7 +3756,7 @@ function Wa() {
3757
3756
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
3758
3757
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
3759
3758
  ), {}))
3760
- ]), a = Ka(e, t);
3759
+ ]), a = za(e, t);
3761
3760
  return a.ok ? (ge = {
3762
3761
  core: e,
3763
3762
  sortable: t,
@@ -3770,12 +3769,12 @@ function Wa() {
3770
3769
  }
3771
3770
  })(), Ne);
3772
3771
  }
3773
- function Ga(e) {
3774
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = $a({ zones: t, onZoneChange: n }), [l, u] = H.useState(ge);
3772
+ function Wa(e) {
3773
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = La({ zones: t, onZoneChange: n }), [l, u] = H.useState(ge);
3775
3774
  return H.useEffect(() => {
3776
3775
  if (l) return;
3777
3776
  let d = !0;
3778
- return Wa().then((p) => {
3777
+ return Ka().then((p) => {
3779
3778
  d && u(p);
3780
3779
  }), () => {
3781
3780
  d = !1;
@@ -3794,7 +3793,7 @@ function Ga(e) {
3794
3793
  return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, p) }, d.zoneKey);
3795
3794
  }) });
3796
3795
  }
3797
- Ga.displayName = "SortableZones";
3796
+ Wa.displayName = "SortableZones";
3798
3797
  function nt({
3799
3798
  state: e,
3800
3799
  modules: t,
@@ -3802,12 +3801,12 @@ function nt({
3802
3801
  renderItem: a,
3803
3802
  renderDragOverlay: s
3804
3803
  }) {
3805
- const { core: i, sortable: o, utilities: l } = t, { DndContext: u, DragOverlay: d, useSensors: p, useSensor: f, useDroppable: g, PointerSensor: m, KeyboardSensor: N, closestCenter: y } = i, { SortableContext: h, verticalListSortingStrategy: M } = o, P = p(
3804
+ const { core: i, sortable: o, utilities: l } = t, { DndContext: u, DragOverlay: d, useSensors: p, useSensor: f, useDroppable: g, PointerSensor: m, KeyboardSensor: N, closestCenter: y } = i, { SortableContext: h, verticalListSortingStrategy: R } = o, P = p(
3806
3805
  f(m, { activationConstraint: { distance: 5 } }),
3807
3806
  f(N)
3808
- ), k = u, T = d, I = h;
3807
+ ), C = u, T = d, I = h;
3809
3808
  return /* @__PURE__ */ D(
3810
- k,
3809
+ C,
3811
3810
  {
3812
3811
  sensors: P,
3813
3812
  collisionDetection: y,
@@ -3816,7 +3815,7 @@ function nt({
3816
3815
  onDragEnd: e.handleDragEnd,
3817
3816
  children: [
3818
3817
  e.zones.map((c) => {
3819
- const b = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
3818
+ const v = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
3820
3819
  rt,
3821
3820
  {
3822
3821
  id: S.id,
@@ -3832,7 +3831,7 @@ function nt({
3832
3831
  zoneKey: c.zoneKey,
3833
3832
  zoneProps: e.getZoneProps(c.zoneKey),
3834
3833
  useDroppable: g,
3835
- children: /* @__PURE__ */ r(I, { items: b, strategy: M, children: n(c.zoneKey, c.items, _) })
3834
+ children: /* @__PURE__ */ r(I, { items: v, strategy: R, children: n(c.zoneKey, c.items, _) })
3836
3835
  },
3837
3836
  c.zoneKey
3838
3837
  );
@@ -3862,7 +3861,7 @@ function st({
3862
3861
  return /* @__PURE__ */ r("div", { ref: s, "data-zone-is-over": i || void 0, ...t, children: a });
3863
3862
  }
3864
3863
  st.displayName = "ZoneDroppable";
3865
- function gr({
3864
+ function mr({
3866
3865
  slotLeft: e,
3867
3866
  slotCenter: t,
3868
3867
  slotRight: n,
@@ -3912,7 +3911,7 @@ function gr({
3912
3911
  }
3913
3912
  );
3914
3913
  }
3915
- function pr({
3914
+ function gr({
3916
3915
  count: e,
3917
3916
  currentIndex: t,
3918
3917
  onSelect: n,
@@ -3965,12 +3964,12 @@ function pr({
3965
3964
  }
3966
3965
  );
3967
3966
  }
3968
- const Va = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3967
+ const Ga = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3969
3968
  const s = { ...n };
3970
3969
  return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...s, children: /* @__PURE__ */ r(Oe, { region: "toolbar", density: e, children: t }) });
3971
3970
  });
3972
- Va.displayName = "ContainerToolbar";
3973
- const Ha = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
3971
+ Ga.displayName = "ContainerToolbar";
3972
+ const Va = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
3974
3973
  const o = { ...s };
3975
3974
  return delete o.className, delete o.style, /* @__PURE__ */ D("fieldset", { ref: i, className: "gloss-container-form-section", ...o, children: [
3976
3975
  e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
@@ -3978,329 +3977,329 @@ const Ha = H.forwardRef(({ legend: e, description: t, density: n = "default", ch
3978
3977
  /* @__PURE__ */ r(Oe, { region: "form-section", density: n, children: a })
3979
3978
  ] });
3980
3979
  });
3981
- Ha.displayName = "ContainerFormSection";
3982
- const Ua = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3980
+ Va.displayName = "ContainerFormSection";
3981
+ const Ha = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3983
3982
  const s = { ...n };
3984
3983
  return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...s, children: /* @__PURE__ */ r(Oe, { region: "table", density: e, children: t }) });
3985
3984
  });
3986
- Ua.displayName = "ContainerTable";
3985
+ Ha.displayName = "ContainerTable";
3987
3986
  export {
3988
- br as Accordion,
3987
+ fr as Accordion,
3989
3988
  vr as AccordionContent,
3990
- yr as AccordionItem,
3991
- wr as AccordionTrigger,
3992
- _r as ActionStrip,
3993
- Nr as Actionable,
3994
- Dr as AddressGroup,
3995
- Cr as AddressSelect,
3989
+ br as AccordionItem,
3990
+ yr as AccordionTrigger,
3991
+ wr as ActionStrip,
3992
+ _r as Actionable,
3993
+ Nr as AddressGroup,
3994
+ Dr as AddressSelect,
3996
3995
  kr as AsyncLoader,
3997
- xr as Autocomplete,
3998
- Sr as Badge,
3999
- Mr as BarChartCard,
4000
- Rr as BarsBg,
4001
- gr as BottomToolbar,
4002
- Tr as Button,
4003
- Ir as ButtonGroup,
4004
- Pr as ButtonGroupContext,
4005
- Fr as Card,
4006
- Er as CardActions,
4007
- Ar as CardBack,
4008
- Or as CardBody,
4009
- Lr as CardFooter,
4010
- $r as CardHeader,
4011
- Br as CardMedia,
3996
+ Cr as Autocomplete,
3997
+ xr as Badge,
3998
+ Sr as BarChartCard,
3999
+ Mr as BarsBg,
4000
+ mr as BottomToolbar,
4001
+ Rr as Button,
4002
+ Tr as ButtonGroup,
4003
+ Ir as ButtonGroupContext,
4004
+ Pr as Card,
4005
+ Fr as CardActions,
4006
+ Er as CardBack,
4007
+ Ar as CardBody,
4008
+ Or as CardFooter,
4009
+ Lr as CardHeader,
4010
+ $r as CardMedia,
4012
4011
  ut as CardShell,
4013
- zr as CardSubtitle,
4014
- Kr as CardTitle,
4015
- dr as CascadePreview,
4016
- Wr as ChartControlBar,
4017
- Gr as Checkbox,
4018
- Vr as CheckboxGroup,
4019
- Hr as Chip,
4020
- Ur as ColorPicker,
4021
- jr as ComparisonCard,
4022
- Zr as ContactForm,
4023
- qr as ContainerCard,
4024
- Yr as ContainerCardActions,
4025
- Qr as ContainerCardBody,
4026
- Xr as ContainerCardFooter,
4027
- Jr as ContainerCardHeader,
4028
- es as ContainerCardMedia,
4029
- ts as ContainerCardSubtitle,
4030
- as as ContainerCardTitle,
4031
- ns as ContainerDialog,
4032
- rs as ContainerDialogActions,
4033
- ss as ContainerDialogBody,
4034
- is as ContainerDialogHeader,
4035
- Ha as ContainerFormSection,
4036
- os as ContainerPanel,
4037
- Ua as ContainerTable,
4038
- Va as ContainerToolbar,
4039
- ls as CreditCardForm,
4040
- cs as DEFAULT_FOOTER_IDS,
4012
+ Br as CardSubtitle,
4013
+ zr as CardTitle,
4014
+ cr as CascadePreview,
4015
+ Kr as ChartControlBar,
4016
+ Wr as Checkbox,
4017
+ Gr as CheckboxGroup,
4018
+ Vr as Chip,
4019
+ Hr as ColorPicker,
4020
+ Ur as ComparisonCard,
4021
+ jr as ContactForm,
4022
+ Zr as ContainerCard,
4023
+ qr as ContainerCardActions,
4024
+ Yr as ContainerCardBody,
4025
+ Qr as ContainerCardFooter,
4026
+ Xr as ContainerCardHeader,
4027
+ Jr as ContainerCardMedia,
4028
+ es as ContainerCardSubtitle,
4029
+ ts as ContainerCardTitle,
4030
+ as as ContainerDialog,
4031
+ ns as ContainerDialogActions,
4032
+ rs as ContainerDialogBody,
4033
+ ss as ContainerDialogHeader,
4034
+ Va as ContainerFormSection,
4035
+ is as ContainerPanel,
4036
+ Ha as ContainerTable,
4037
+ Ga as ContainerToolbar,
4038
+ os as CreditCardForm,
4039
+ ls as DEFAULT_FOOTER_IDS,
4041
4040
  se as DEFAULT_GRID_INTERACTION_PHYSICS,
4042
- $o as DEFAULT_MARKET_PRESETS,
4043
- ds as DEFAULT_OVERFLOW_IDS,
4044
- Bo as DEFAULT_PINNED,
4041
+ Lo as DEFAULT_MARKET_PRESETS,
4042
+ cs as DEFAULT_OVERFLOW_IDS,
4043
+ $o as DEFAULT_PINNED,
4045
4044
  qe as DEFAULT_RESIZE_PHYSICS,
4046
- us as DataTable,
4047
- ms as DatePicker,
4048
- gs as DateRangePicker,
4049
- ps as DestructiveModal,
4045
+ ds as DataTable,
4046
+ us as DatePicker,
4047
+ ms as DateRangePicker,
4048
+ gs as DestructiveModal,
4050
4049
  ua as DevTuningPanel,
4051
- hs as DirectionCard,
4052
- fs as Dismissible,
4053
- bs as DistributionCard,
4050
+ ps as DirectionCard,
4051
+ hs as Dismissible,
4052
+ fs as DistributionCard,
4054
4053
  vs as DonutChart,
4055
- lr as DragGhost,
4056
- rr as DropAnchorCell,
4057
- ys as Dropdown,
4058
- ha as DualPaceBars,
4059
- ws as ENTITY_FILTER_KEYS,
4060
- _s as ENTITY_PROFILE_ROUTES,
4061
- Ns as ENTITY_TYPE_PLURAL,
4054
+ or as DragGhost,
4055
+ nr as DropAnchorCell,
4056
+ bs as Dropdown,
4057
+ pa as DualPaceBars,
4058
+ ys as ENTITY_FILTER_KEYS,
4059
+ ws as ENTITY_PROFILE_ROUTES,
4060
+ _s as ENTITY_TYPE_PLURAL,
4062
4061
  At as EdgeHoverHandle,
4063
- or as EmptyCellPackAffordance,
4064
- Ds as EntityPicker,
4062
+ ir as EmptyCellPackAffordance,
4063
+ Ns as EntityPicker,
4065
4064
  X as EntityRow,
4066
- Cs as EntitySearchPanel,
4067
- Sa as ExceptionListCard,
4068
- Ma as ExceptionListTilePreview,
4065
+ Ds as EntitySearchPanel,
4066
+ xa as ExceptionListCard,
4067
+ Sa as ExceptionListTilePreview,
4069
4068
  ks as Expandable,
4070
- xs as ExpandableChip,
4071
- Ss as FLIP_AND_STAGE_TIMINGS,
4072
- Ms as FileUpload,
4073
- Rs as FilterChip,
4074
- Ts as FilterInput,
4075
- Is as FlipAndStageProvider,
4076
- Ps as Form,
4077
- Fs as FormDialog,
4078
- Es as FormField,
4079
- As as FusedShape,
4080
- fa as GapReadout,
4069
+ Cs as ExpandableChip,
4070
+ xs as FLIP_AND_STAGE_TIMINGS,
4071
+ Ss as FileUpload,
4072
+ Ms as FilterChip,
4073
+ Rs as FilterInput,
4074
+ Ts as FlipAndStageProvider,
4075
+ Is as Form,
4076
+ Ps as FormDialog,
4077
+ Fs as FormField,
4078
+ Es as FusedShape,
4079
+ ha as GapReadout,
4081
4080
  Ot as GhostPreview,
4082
- Os as GroupCheckbox,
4083
- Ls as GroupRadio,
4084
- Nn as HARD_CLIP,
4085
- $s as HighlightCard,
4086
- Bs as HybridDatePicker,
4087
- zs as ImportWizard,
4088
- Ra as InlineNudge,
4089
- Ks as Input,
4090
- Ws as InputAddon,
4091
- Gs as InputGroup,
4092
- Da as LeaderboardCard,
4093
- Ca as LeaderboardTilePreview,
4094
- ya as LensChipGroup,
4095
- Vs as Link,
4096
- Hs as LoginForm,
4097
- ve as MagnitudeBar,
4098
- Us as MarketPresetRow,
4099
- js as MaskPresets,
4100
- Zs as MaskedInput,
4101
- qs as Menu,
4102
- Ys as MenuDivider,
4103
- Qs as MenuGroup,
4104
- Xs as MenuItem,
4105
- Js as MergePrompt,
4106
- ei as MetricCard,
4107
- ti as MetricCardGrid,
4081
+ As as GroupCheckbox,
4082
+ Os as GroupRadio,
4083
+ _n as HARD_CLIP,
4084
+ Ls as HighlightCard,
4085
+ $s as HybridDatePicker,
4086
+ Bs as ImportWizard,
4087
+ Ma as InlineNudge,
4088
+ zs as Input,
4089
+ Ks as InputAddon,
4090
+ Ws as InputGroup,
4091
+ Na as LeaderboardCard,
4092
+ Da as LeaderboardTilePreview,
4093
+ ba as LensChipGroup,
4094
+ Gs as Link,
4095
+ Vs as LoginForm,
4096
+ be as MagnitudeBar,
4097
+ Hs as MarketPresetRow,
4098
+ Us as MaskPresets,
4099
+ js as MaskedInput,
4100
+ Zs as Menu,
4101
+ qs as MenuDivider,
4102
+ Ys as MenuGroup,
4103
+ Qs as MenuItem,
4104
+ Xs as MergePrompt,
4105
+ Js as MetricCard,
4106
+ ei as MetricCardGrid,
4108
4107
  aa as MetricGroupContainer,
4109
- ai as MiniCalendar,
4110
- _a as MoreInLensRail,
4111
- ni as MultiSelect,
4112
- ri as NumberInput,
4113
- si as ObjectArrow,
4114
- ii as OrderFilterBar,
4115
- zo as PERIOD_OPTIONS,
4116
- ur as PaceCard,
4117
- mr as PaceTilePreview,
4108
+ ti as MiniCalendar,
4109
+ wa as MoreInLensRail,
4110
+ ai as MultiSelect,
4111
+ ni as NumberInput,
4112
+ ri as ObjectArrow,
4113
+ si as OrderFilterBar,
4114
+ Bo as PERIOD_OPTIONS,
4115
+ dr as PaceCard,
4116
+ ur as PaceTilePreview,
4118
4117
  Vt as PageChip,
4119
4118
  Ye as PageDropdown,
4120
- oi as PasswordInput,
4121
- li as PaymentForm,
4122
- ci as PaymentMethodSelect,
4123
- di as PhoneInput,
4124
- ui as PinToMetric,
4125
- Aa as PresetSwatchRow,
4126
- mi as ProfileCard,
4127
- gi as ProgressCard,
4128
- pi as QuickConfigPanel,
4119
+ ii as PasswordInput,
4120
+ oi as PaymentForm,
4121
+ li as PaymentMethodSelect,
4122
+ ci as PhoneInput,
4123
+ di as PinToMetric,
4124
+ Ea as PresetSwatchRow,
4125
+ ui as ProfileCard,
4126
+ mi as ProgressCard,
4127
+ gi as QuickConfigPanel,
4129
4128
  Qt as RECONFIG_BACKSIDE_LABELS,
4130
- Ko as ROLLING_OPTIONS,
4131
- hi as Radio,
4132
- fi as RadioGroup,
4133
- bi as RangeSlider,
4129
+ zo as ROLLING_OPTIONS,
4130
+ pi as Radio,
4131
+ hi as RadioGroup,
4132
+ fi as RangeSlider,
4134
4133
  fe as RankBadge,
4135
4134
  tt as RankDelta,
4136
4135
  vi as Rating,
4137
4136
  ea as ReconfigBacksideButtons,
4138
- yi as RegistrationForm,
4139
- nr as ResizeEnvelope,
4140
- wi as Row1Controls,
4141
- _i as Row2FilterTray,
4142
- Ni as SearchInput,
4143
- ir as SectionDivider,
4144
- pr as SectionDots,
4145
- Di as SegmentCard,
4146
- Ci as SegmentedControl,
4137
+ bi as RegistrationForm,
4138
+ ar as ResizeEnvelope,
4139
+ yi as Row1Controls,
4140
+ wi as Row2FilterTray,
4141
+ _i as SearchInput,
4142
+ sr as SectionDivider,
4143
+ gr as SectionDots,
4144
+ Ni as SegmentCard,
4145
+ Di as SegmentedControl,
4147
4146
  ki as Select,
4148
- xi as Selectable,
4149
- be as SeverityDot,
4150
- Si as SimpleMetricCard,
4151
- Mi as SimpleSelector,
4152
- Ri as Skeleton,
4153
- Ti as SkeletonCard,
4154
- Ii as SkeletonChart,
4155
- Pi as SkeletonTable,
4156
- Fi as Slider,
4157
- cr as SnapOutline,
4158
- Ei as Sortable,
4159
- Ga as SortableZones,
4160
- Ai as SparklineBg,
4161
- sr as SpilloverArc,
4162
- Oi as SplitButton,
4163
- Li as StackedGroupCard,
4164
- wa as StarterRail,
4165
- $i as StatusModeCard,
4147
+ Ci as Selectable,
4148
+ ve as SeverityDot,
4149
+ xi as SimpleMetricCard,
4150
+ Si as SimpleSelector,
4151
+ Mi as Skeleton,
4152
+ Ri as SkeletonCard,
4153
+ Ti as SkeletonChart,
4154
+ Ii as SkeletonTable,
4155
+ Pi as Slider,
4156
+ lr as SnapOutline,
4157
+ Fi as Sortable,
4158
+ Wa as SortableZones,
4159
+ Ei as SparklineBg,
4160
+ rr as SpilloverArc,
4161
+ Ai as SplitButton,
4162
+ Oi as StackedGroupCard,
4163
+ ya as StarterRail,
4164
+ Li as StatusModeCard,
4166
4165
  Et as StatusSlotChipMenu,
4167
- Bi as Stepper,
4166
+ $i as Stepper,
4168
4167
  Ze as SwingReveal,
4169
- Wo as TODAY_PRESET,
4168
+ Ko as TODAY_PRESET,
4170
4169
  re as TUNING_DEFAULTS,
4171
4170
  et as TUNING_STORAGE_KEY,
4172
- zi as TabGroup,
4173
- Ki as TabbedDataView,
4174
- Wi as TagInput,
4171
+ Bi as TabGroup,
4172
+ zi as TabbedDataView,
4173
+ Ki as TagInput,
4175
4174
  St as TargetInput,
4176
- Gi as Textarea,
4177
- Pa as ThresholdRamp,
4178
- Vi as TimeFrame,
4179
- Hi as TimePicker,
4180
- Ui as Toggle,
4181
- ji as Tooltip,
4182
- Zi as Transition,
4183
- qi as TransitionGroup,
4184
- Yi as TrendCard,
4185
- Qi as TrendIndicator,
4186
- Ao as UIContext,
4175
+ Wi as Textarea,
4176
+ Ia as ThresholdRamp,
4177
+ Gi as TimeFrame,
4178
+ Vi as TimePicker,
4179
+ Hi as Toggle,
4180
+ Ui as Tooltip,
4181
+ ji as Transition,
4182
+ Zi as TransitionGroup,
4183
+ qi as TrendCard,
4184
+ Yi as TrendIndicator,
4185
+ Eo as UIContext,
4187
4186
  Oe as UIContextProvider,
4188
- Xi as UnifiedBreakdownTable,
4189
- Ji as UnifiedContextMenu,
4187
+ Qi as UnifiedBreakdownTable,
4188
+ Xi as UnifiedContextMenu,
4190
4189
  Lt as VelocityBuffer,
4191
- eo as addressGroupMetadata,
4192
- to as addressSchema,
4193
- ln as allChips,
4194
- Mn as allStateFixtures,
4195
- Sn as allVariantFixtures,
4196
- mn as blockSamples,
4197
- ao as buildDefaultOverflow,
4198
- bn as cardSamples,
4190
+ Ji as addressGroupMetadata,
4191
+ eo as addressSchema,
4192
+ on as allChips,
4193
+ Sn as allStateFixtures,
4194
+ xn as allVariantFixtures,
4195
+ un as blockSamples,
4196
+ to as buildDefaultOverflow,
4197
+ fn as cardSamples,
4199
4198
  vn as cascadePhysics,
4200
- hn as chartSamples,
4201
- pn as circleSamples,
4202
- Dn as colorTokens,
4203
- Yn as compactLayout,
4204
- Bn as compactState,
4205
- xn as computeGutterAnchorX,
4206
- no as contactFormMetadata,
4207
- ro as contactSchema,
4208
- zn as contextMenuFixtures,
4209
- so as creditCardFormMetadata,
4210
- io as creditCardSchema,
4199
+ pn as chartSamples,
4200
+ gn as circleSamples,
4201
+ Nn as colorTokens,
4202
+ qn as compactLayout,
4203
+ $n as compactState,
4204
+ Cn as computeGutterAnchorX,
4205
+ ao as contactFormMetadata,
4206
+ no as contactSchema,
4207
+ Bn as contextMenuFixtures,
4208
+ ro as creditCardFormMetadata,
4209
+ so as creditCardSchema,
4211
4210
  Tt as dateChip,
4212
4211
  Je as defaultControlBarState,
4213
- oo as destructiveModalMetadata,
4214
- lo as durations,
4215
- co as easings,
4212
+ io as destructiveModalMetadata,
4213
+ oo as durations,
4214
+ lo as easings,
4216
4215
  zt as emptyFixture,
4217
4216
  Mt as entityChip,
4218
4217
  Zt as entityNameActions,
4219
- dn as entityTabGroup,
4218
+ cn as entityTabGroup,
4220
4219
  Bt as errorFixture,
4221
- uo as evaluateTintCondition,
4222
- $n as filteredState,
4223
- Go as findPreset,
4224
- Vo as formatDateRange,
4225
- Ho as formatMarketDates,
4226
- Uo as formatTrend,
4227
- jo as formatValue,
4228
- Xn as fullLayout,
4229
- Zo as generateMarketId,
4230
- mo as generateTabId,
4231
- qo as getAllPresets,
4232
- Yo as getDateRangeForPreset,
4233
- go as getMenuActions,
4234
- Cn as getMotionMode,
4235
- Qo as getPresetLabel,
4236
- po as getTransitionStyle,
4237
- qn as gridCards,
4238
- ho as interpolate,
4239
- Xo as isInRange,
4240
- Jo as isMarketActive,
4241
- el as isSameDay,
4242
- Ln as itemColumns,
4243
- An as itemRows,
4220
+ co as evaluateTintCondition,
4221
+ Ln as filteredState,
4222
+ Wo as findPreset,
4223
+ Go as formatDateRange,
4224
+ Vo as formatMarketDates,
4225
+ Ho as formatTrend,
4226
+ Uo as formatValue,
4227
+ Qn as fullLayout,
4228
+ jo as generateMarketId,
4229
+ uo as generateTabId,
4230
+ Zo as getAllPresets,
4231
+ qo as getDateRangeForPreset,
4232
+ mo as getMenuActions,
4233
+ Dn as getMotionMode,
4234
+ Yo as getPresetLabel,
4235
+ go as getTransitionStyle,
4236
+ Zn as gridCards,
4237
+ po as interpolate,
4238
+ Qo as isInRange,
4239
+ Xo as isMarketActive,
4240
+ Jo as isSameDay,
4241
+ On as itemColumns,
4242
+ En as itemRows,
4244
4243
  $t as loadingFixture,
4245
- fo as loginFormMetadata,
4246
- bo as loginSchema,
4244
+ ho as loginFormMetadata,
4245
+ fo as loginSchema,
4247
4246
  It as manufacturerChip,
4248
- ar as manyTabs,
4247
+ tr as manyTabs,
4249
4248
  vo as mergeHandlers,
4250
- yo as mergeRefs,
4251
- cn as metricTabGroup,
4252
- er as mixedTabs,
4253
- tl as normalizePresetId,
4249
+ bo as mergeRefs,
4250
+ ln as metricTabGroup,
4251
+ Jn as mixedTabs,
4252
+ el as normalizePresetId,
4254
4253
  Yt as numericActions,
4255
- On as orderColumns,
4254
+ An as orderColumns,
4256
4255
  qt as orderIdActions,
4257
- En as orderRows,
4258
- Jn as ordersTabs,
4259
- wo as parseNumericValue,
4260
- _o as paymentFormMetadata,
4261
- No as paymentSchema,
4262
- Do as presets,
4263
- wn as provisional,
4264
- _n as reducedMotion,
4265
- Co as registrationFormMetadata,
4256
+ Fn as orderRows,
4257
+ Xn as ordersTabs,
4258
+ yo as parseNumericValue,
4259
+ wo as paymentFormMetadata,
4260
+ _o as paymentSchema,
4261
+ No as presets,
4262
+ yn as provisional,
4263
+ wn as reducedMotion,
4264
+ Do as registrationFormMetadata,
4266
4265
  ko as registrationSchema,
4267
- yn as rejectionFeedback,
4268
- Wn as sampleCompareRanges,
4269
- Hn as sampleCustomMarkets,
4270
- Kn as sampleDateRange,
4271
- Un as sampleMarketPresetData,
4272
- Vn as sampleMarkets,
4273
- Zn as samplePeriodPresets,
4274
- Gn as samplePreferences,
4275
- jn as samplePresets,
4276
- tr as singleTab,
4277
- Rn as sparklineFixture,
4278
- Tn as sparklineUpFixture,
4266
+ bn as rejectionFeedback,
4267
+ Kn as sampleCompareRanges,
4268
+ Vn as sampleCustomMarkets,
4269
+ zn as sampleDateRange,
4270
+ Hn as sampleMarketPresetData,
4271
+ Gn as sampleMarkets,
4272
+ jn as samplePeriodPresets,
4273
+ Wn as samplePreferences,
4274
+ Un as samplePresets,
4275
+ er as singleTab,
4276
+ Mn as sparklineFixture,
4277
+ Rn as sparklineUpFixture,
4279
4278
  Gt as staleDonutFixture,
4280
4279
  Kt as staleFixture,
4281
4280
  Wt as staleSparklineFixture,
4282
- In as standardFixture,
4283
- Fn as standardFlatFixture,
4284
- Qn as standardLayout,
4285
- Pn as standardNegativeFixture,
4281
+ Tn as standardFixture,
4282
+ Pn as standardFlatFixture,
4283
+ Yn as standardLayout,
4284
+ In as standardNegativeFixture,
4286
4285
  Rt as statusChip,
4287
4286
  me as swingReveal,
4288
- fn as tableSamples,
4289
- gn as textSamples,
4290
- un as timeFrameTabGroup,
4291
- al as toUppercasePresetId,
4292
- on as useArrowNavigation,
4293
- xo as useCheckboxGroupContext,
4287
+ hn as tableSamples,
4288
+ mn as textSamples,
4289
+ dn as timeFrameTabGroup,
4290
+ tl as toUppercasePresetId,
4291
+ sn as useArrowNavigation,
4292
+ Co as useCheckboxGroupContext,
4294
4293
  kn as useEdgeHoverResize,
4295
- So as useFilterLayout,
4296
- Mo as useFlipAndStage,
4297
- Ro as useFlipAndStageContext,
4298
- To as useFlipAndStageContextOptional,
4299
- sn as useFocusReturn,
4300
- Io as useFocusTrap,
4301
- Po as useFormContext,
4302
- Fo as useRadioGroupContext,
4294
+ xo as useFilterLayout,
4295
+ So as useFlipAndStage,
4296
+ Mo as useFlipAndStageContext,
4297
+ Ro as useFlipAndStageContextOptional,
4298
+ rn as useFocusReturn,
4299
+ To as useFocusTrap,
4300
+ Io as useFormContext,
4301
+ Po as useRadioGroupContext,
4303
4302
  sa as useResizeTuning,
4304
- $a as useSortableZones,
4305
- Oo as useUIContext
4303
+ La as useSortableZones,
4304
+ Ao as useUIContext
4306
4305
  };