@mt-gloss/ui 0.1.71 → 0.1.72

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,31 +1,31 @@
1
- import { u as rt, C as Dt } from "./Expandable-CtrmR_gh.js";
2
- import { Q as Vr, V as Hr, T as Ur, U as Zr, a5 as Yr, b8 as qr, aB as Qr, aj as Xr, $ as Jr, ap as es, N as ts, aa as as, bo as ns, P as rs, B as ss, a as is, A as os, K as ls, bj as cs, J as ds, L as us, E as ms, D as gs, H as ps, F as fs, by as hs, b as bs, c as vs, O as ys, q as ws, af as _s, aP as Ns, A as Ds, K as ks, J as Cs, L as Ss, E as xs, D as Rs, H as Ms, F as Ts, b1 as Is, b4 as Es, b3 as Ps, b2 as Fs, b5 as As, aE as Os, a7 as Ls, a6 as $s, as as Bs, m as Ks, o as zs, aH as Ws, ad as Gs, ba as js, ab as Vs, bp as Hs, _ as Us, bI as Zs, bH as Ys, bJ as qs, ar as Qs, aS as Xs, bc as Js, bN as ei, bw as ti, p as ai, ao as ni, bC as ri, bt as si, a2 as ii, at as oi, a4 as li, bB as ci, bS as di, G as ui, f as mi, ac as gi, bK as pi, aV as fi, t as hi, x as bi, I as vi, i as yi, ay as wi, bO as _i, M as Ni, y as Di, W as ki, Z as Ci, X as Si, Y as xi, au as Ri, bi as Mi, bQ as Ti, bM as Ii, aq as Ei, w as Pi, bq as Fi, aU as Ai, al as Oi, aM as Li, ai as $i, an as Bi, aw as Ki, aT as zi, ae as Wi, av as Gi, e as ji, R as Vi, l as Hi, r as Ui, aJ as Zi, bz as Yi, bA as qi, ak as Qi, ag as Xi, j as Ji, z as eo, b9 as to, ah as ao, bP as no, be as ro, bh as so, bf as io, bg as oo, k as lo, bb as co, bn as uo, S as mo, bl as go, bm as po, ax as fo, bd as ho, bR as bo, am as vo, v as yo, bL as wo, n as _o, h as No, s as Do, a0 as ko, a1 as Co, a9 as So, bk as xo, bx as Ro, bE as Mo, aC as To, aD as Io, a8 as Eo, aQ as Po, aR as Fo, aF as Ao, aG as Oo, aI as Lo, aX as $o, aY as Bo, br as Ko, bG as zo, bF as Wo, a_ as Go, a$ as jo, az as Vo, aA as Ho, b7 as Uo, b6 as Zo, b0 as Yo, aN as qo, aO as Qo, aZ as Xo, aK as Jo, aL as el, d as tl, bD as al, bs as nl, bu as rl, bv as sl, aW as il, a3 as ol, bT as ll, g as cl } from "./Expandable-CtrmR_gh.js";
3
- import { jsxs as k, jsx as r, Fragment as ae } from "react/jsx-runtime";
4
- import * as X from "react";
5
- import V, { useRef as E, useEffect as O, useState as $, useCallback as N, useId as kt, forwardRef as Ct, useMemo as Ne, createContext as St, useContext as xt } from "react";
6
- import { motion as De, useMotionValue as Rt, animate as Ue, useDragControls as Mt } from "framer-motion";
7
- import { B as Tt, a as be, b as Pe, U as ze } from "./UIContext-DP6JGCto.js";
8
- import { c as ul, u as ml } from "./UIContext-DP6JGCto.js";
9
- import { createPortal as It } from "react-dom";
10
- import { SPRING_RESIZE_COMMIT as Ze, useMotionProbe as Fe } from "@mt-gloss/motion";
11
- import { DEFAULT_MARKET_PRESETS as pl, DEFAULT_PINNED as fl, PERIOD_OPTIONS as hl, ROLLING_OPTIONS as bl, TODAY_PRESET as vl, findPreset as yl, formatDateRange as wl, formatMarketDates as _l, formatTrend as Nl, formatValue as Dl, generateMarketId as kl, getAllPresets as Cl, getDateRangeForPreset as Sl, getPresetLabel as xl, isInRange as Rl, isMarketActive as Ml, isSameDay as Tl, normalizePresetId as Il, toUppercasePresetId as El } from "@mt-gloss/utils";
12
- import Et from "@mui/icons-material/AccessTime";
13
- import Pt from "@mui/icons-material/Tune";
14
- import Ft from "@mui/icons-material/ViewColumn";
15
- import At from "@mui/icons-material/AspectRatio";
16
- import Ot from "@mui/icons-material/Palette";
17
- import Lt from "@mui/icons-material/PushPin";
18
- function Cn(e = {}) {
19
- const { enabled: t = !0, returnTo: n } = e, a = E(null);
20
- return O(() => {
1
+ import { u as nt, C as Nt } from "./Expandable-CtrmR_gh.js";
2
+ import { Q as jr, V as Vr, T as Hr, U as Ur, a5 as Zr, b8 as Yr, aB as qr, aj as Qr, $ as Xr, ap as Jr, N as es, aa as ts, bo as as, P as ns, B as rs, a as ss, A as is, K as os, bj as ls, J as cs, L as ds, E as us, D as ms, H as gs, F as ps, by as fs, b as hs, c as bs, O as vs, q as ys, af as ws, aP as _s, A as Ns, K as Ds, J as ks, L as Cs, E as Ss, D as xs, H as Rs, F as Ms, b1 as Ts, b4 as Is, b3 as Es, b2 as Ps, b5 as Fs, aE as As, a7 as Os, a6 as Ls, as as $s, m as Bs, o as Ks, aH as zs, ad as Ws, ba as Gs, ab as js, bp as Vs, _ as Hs, bI as Us, bH as Zs, bJ as Ys, ar as qs, aS as Qs, bc as Xs, bN as Js, bw as ei, p as ti, ao as ai, bC as ni, bt as ri, a2 as si, at as ii, a4 as oi, bB as li, bS as ci, G as di, f as ui, ac as mi, bK as gi, aV as pi, t as fi, x as hi, I as bi, i as vi, ay as yi, bO as wi, M as _i, y as Ni, W as Di, Z as ki, X as Ci, Y as Si, au as xi, bi as Ri, bQ as Mi, bM as Ti, aq as Ii, w as Ei, bq as Pi, aU as Fi, al as Ai, aM as Oi, ai as Li, an as $i, aw as Bi, aT as Ki, ae as zi, av as Wi, e as Gi, R as ji, l as Vi, r as Hi, aJ as Ui, bz as Zi, bA as Yi, ak as qi, ag as Qi, j as Xi, z as Ji, b9 as eo, ah as to, bP as ao, be as no, bh as ro, bf as so, bg as io, k as oo, bb as lo, bn as co, S as uo, bl as mo, bm as go, ax as po, bd as fo, bR as ho, am as bo, v as vo, bL as yo, n as wo, h as _o, s as No, a0 as Do, a1 as ko, a9 as Co, bk as So, bx as xo, bE as Ro, aC as Mo, aD as To, a8 as Io, aQ as Eo, aR as Po, aF as Fo, aG as Ao, aI as Oo, aX as Lo, aY as $o, br as Bo, bG as Ko, bF as zo, a_ as Wo, a$ as Go, az as jo, aA as Vo, b7 as Ho, b6 as Uo, b0 as Zo, aN as Yo, aO as qo, aZ as Qo, aK as Xo, aL as Jo, d as el, bD as tl, bs as al, bu as nl, bv as rl, aW as sl, a3 as il, bT as ol, g as ll } from "./Expandable-CtrmR_gh.js";
3
+ import { jsxs as D, jsx as r, Fragment as te } from "react/jsx-runtime";
4
+ import * as Q from "react";
5
+ import H, { useRef as I, useEffect as $, useState as B, useCallback as _, useId as Dt, forwardRef as kt, useMemo as _e, createContext as Ct, useContext as St } from "react";
6
+ import { motion as Ne, useMotionValue as xt, animate as He, useDragControls as Rt } from "framer-motion";
7
+ import { B as Mt, a as he, b as Ee, U as Ke } from "./UIContext-DP6JGCto.js";
8
+ import { c as dl, u as ul } from "./UIContext-DP6JGCto.js";
9
+ import { createPortal as Tt } from "react-dom";
10
+ import { SPRING_RESIZE_COMMIT as Ue, useMotionProbe as Pe } from "@mt-gloss/motion";
11
+ import { DEFAULT_MARKET_PRESETS as gl, DEFAULT_PINNED as pl, PERIOD_OPTIONS as fl, ROLLING_OPTIONS as hl, TODAY_PRESET as bl, findPreset as vl, formatDateRange as yl, formatMarketDates as wl, formatTrend as _l, formatValue as Nl, generateMarketId as Dl, getAllPresets as kl, getDateRangeForPreset as Cl, getPresetLabel as Sl, isInRange as xl, isMarketActive as Rl, isSameDay as Ml, normalizePresetId as Tl, toUppercasePresetId as Il } from "@mt-gloss/utils";
12
+ import It from "@mui/icons-material/AccessTime";
13
+ import Et from "@mui/icons-material/Tune";
14
+ import Pt from "@mui/icons-material/ViewColumn";
15
+ import Ft from "@mui/icons-material/AspectRatio";
16
+ import At from "@mui/icons-material/Palette";
17
+ import Ot from "@mui/icons-material/PushPin";
18
+ function kn(e = {}) {
19
+ const { enabled: t = !0, returnTo: n } = e, a = I(null);
20
+ return $(() => {
21
21
  t && (a.current = n || document.activeElement);
22
- }, [t, n]), O(() => () => {
22
+ }, [t, n]), $(() => () => {
23
23
  t && a.current && setTimeout(() => {
24
24
  a.current?.focus?.();
25
25
  }, 0);
26
26
  }, [t]), a;
27
27
  }
28
- function Sn(e) {
28
+ function Cn(e) {
29
29
  const {
30
30
  items: t,
31
31
  activeIndex: n,
@@ -35,94 +35,94 @@ function Sn(e) {
35
35
  enabled: o = !0,
36
36
  isItemDisabled: l,
37
37
  onSelect: m,
38
- onEscape: d
39
- } = e, [h, f] = $(-1), u = n !== void 0 ? n : h, g = N(
38
+ onEscape: u
39
+ } = e, [h, f] = B(-1), d = n !== void 0 ? n : h, c = _(
40
40
  (p) => {
41
41
  n === void 0 && f(p), a?.(p);
42
42
  },
43
43
  [n, a]
44
- ), w = N(() => t.map((p, b) => ({ item: p, index: b })).filter(({ item: p, index: b }) => !l?.(p, b)).map(({ index: p }) => p), [t, l]), v = N(
45
- (p, b) => {
46
- const _ = w();
47
- if (_.length === 0) return -1;
48
- const C = _.indexOf(p);
49
- if (C === -1)
50
- return b === 1 ? _.find((R) => R > p) ?? (i ? _[0] : -1) : [..._].reverse().find((P) => P < p) ?? (i ? _[_.length - 1] : -1);
51
- let y = C + b;
52
- return i ? y = (y + _.length) % _.length : y = Math.max(0, Math.min(_.length - 1, y)), _[y];
44
+ ), b = _(() => t.map((p, v) => ({ item: p, index: v })).filter(({ item: p, index: v }) => !l?.(p, v)).map(({ index: p }) => p), [t, l]), C = _(
45
+ (p, v) => {
46
+ const w = b();
47
+ if (w.length === 0) return -1;
48
+ const y = w.indexOf(p);
49
+ if (y === -1)
50
+ return v === 1 ? w.find((E) => E > p) ?? (i ? w[0] : -1) : [...w].reverse().find((P) => P < p) ?? (i ? w[w.length - 1] : -1);
51
+ let k = y + v;
52
+ return i ? k = (k + w.length) % w.length : k = Math.max(0, Math.min(w.length - 1, k)), w[k];
53
53
  },
54
- [w, i]
55
- ), c = N(() => {
56
- const p = w();
57
- p.length > 0 && g(p[0]);
58
- }, [w, g]), x = N(() => {
59
- const p = w();
60
- p.length > 0 && g(p[p.length - 1]);
61
- }, [w, g]), I = N(() => {
62
- const p = v(u, 1);
63
- p !== -1 && g(p);
64
- }, [u, v, g]), D = N(() => {
65
- const p = v(u, -1);
66
- p !== -1 && g(p);
67
- }, [u, v, g]), M = N(() => {
68
- g(-1);
69
- }, [g]), T = N(
54
+ [b, i]
55
+ ), g = _(() => {
56
+ const p = b();
57
+ p.length > 0 && c(p[0]);
58
+ }, [b, c]), x = _(() => {
59
+ const p = b();
60
+ p.length > 0 && c(p[p.length - 1]);
61
+ }, [b, c]), T = _(() => {
62
+ const p = C(d, 1);
63
+ p !== -1 && c(p);
64
+ }, [d, C, c]), N = _(() => {
65
+ const p = C(d, -1);
66
+ p !== -1 && c(p);
67
+ }, [d, C, c]), R = _(() => {
68
+ c(-1);
69
+ }, [c]), M = _(
70
70
  (p) => {
71
71
  if (!o) return;
72
- const { key: b } = p, _ = b === "ArrowUp" && (s === "vertical" || s === "both"), C = b === "ArrowDown" && (s === "vertical" || s === "both"), y = b === "ArrowLeft" && (s === "horizontal" || s === "both"), R = b === "ArrowRight" && (s === "horizontal" || s === "both");
73
- if (_ || y) {
74
- p.preventDefault(), u === -1 ? x() : D();
72
+ const { key: v } = p, w = v === "ArrowUp" && (s === "vertical" || s === "both"), y = v === "ArrowDown" && (s === "vertical" || s === "both"), k = v === "ArrowLeft" && (s === "horizontal" || s === "both"), E = v === "ArrowRight" && (s === "horizontal" || s === "both");
73
+ if (w || k) {
74
+ p.preventDefault(), d === -1 ? x() : N();
75
75
  return;
76
76
  }
77
- if (C || R) {
78
- p.preventDefault(), u === -1 ? c() : I();
77
+ if (y || E) {
78
+ p.preventDefault(), d === -1 ? g() : T();
79
79
  return;
80
80
  }
81
- if (b === "Home") {
82
- p.preventDefault(), c();
81
+ if (v === "Home") {
82
+ p.preventDefault(), g();
83
83
  return;
84
84
  }
85
- if (b === "End") {
85
+ if (v === "End") {
86
86
  p.preventDefault(), x();
87
87
  return;
88
88
  }
89
- if ((b === "Enter" || b === " ") && u >= 0 && u < t.length) {
89
+ if ((v === "Enter" || v === " ") && d >= 0 && d < t.length) {
90
90
  p.preventDefault();
91
- const P = t[u];
92
- l?.(P, u) || m?.(P, u);
91
+ const P = t[d];
92
+ l?.(P, d) || m?.(P, d);
93
93
  return;
94
94
  }
95
- if (b === "Escape") {
96
- d?.();
95
+ if (v === "Escape") {
96
+ u?.();
97
97
  return;
98
98
  }
99
99
  },
100
100
  [
101
101
  o,
102
102
  s,
103
- u,
103
+ d,
104
104
  t,
105
- c,
105
+ g,
106
106
  x,
107
- I,
108
- D,
107
+ T,
108
+ N,
109
109
  l,
110
110
  m,
111
- d
111
+ u
112
112
  ]
113
113
  );
114
114
  return {
115
- focusedIndex: u,
116
- setFocusedIndex: g,
117
- handleKeyDown: T,
118
- focusFirst: c,
115
+ focusedIndex: d,
116
+ setFocusedIndex: c,
117
+ handleKeyDown: M,
118
+ focusFirst: g,
119
119
  focusLast: x,
120
- focusNext: I,
121
- focusPrevious: D,
122
- resetFocus: M
120
+ focusNext: T,
121
+ focusPrevious: N,
122
+ resetFocus: R
123
123
  };
124
124
  }
125
- const $t = ({
125
+ const Lt = ({
126
126
  label: e = "Set a target",
127
127
  unit: t,
128
128
  currentValue: n,
@@ -130,15 +130,15 @@ const $t = ({
130
130
  onSkip: i,
131
131
  hint: s
132
132
  }) => {
133
- const [o, l] = $(n != null ? String(n) : ""), m = () => {
134
- const g = parseFloat(o);
135
- Number.isNaN(g) || a(g);
136
- }, d = (g) => {
137
- g.key === "Enter" ? (g.preventDefault(), m()) : g.key === "Escape" && (g.preventDefault(), i?.());
138
- }, h = kt(), f = `gloss-target-input-field-${h}`, u = s ? `gloss-target-input-hint-${h}` : void 0;
139
- return /* @__PURE__ */ k("div", { className: "gloss-target-input", children: [
133
+ const [o, l] = B(n != null ? String(n) : ""), m = () => {
134
+ const c = parseFloat(o);
135
+ Number.isNaN(c) || a(c);
136
+ }, u = (c) => {
137
+ c.key === "Enter" ? (c.preventDefault(), m()) : c.key === "Escape" && (c.preventDefault(), i?.());
138
+ }, h = Dt(), f = `gloss-target-input-field-${h}`, d = s ? `gloss-target-input-hint-${h}` : void 0;
139
+ return /* @__PURE__ */ D("div", { className: "gloss-target-input", children: [
140
140
  /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: f, children: e }),
141
- /* @__PURE__ */ k("div", { className: "gloss-target-input__field-row", children: [
141
+ /* @__PURE__ */ D("div", { className: "gloss-target-input__field-row", children: [
142
142
  /* @__PURE__ */ r(
143
143
  "input",
144
144
  {
@@ -146,16 +146,16 @@ const $t = ({
146
146
  type: "number",
147
147
  className: "gloss-target-input__field",
148
148
  value: o,
149
- onChange: (g) => l(g.target.value),
150
- onKeyDown: d,
151
- "aria-describedby": u,
149
+ onChange: (c) => l(c.target.value),
150
+ onKeyDown: u,
151
+ "aria-describedby": d,
152
152
  autoFocus: !0
153
153
  }
154
154
  ),
155
155
  t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
156
156
  ] }),
157
- s && /* @__PURE__ */ r("p", { id: u, className: "gloss-target-input__hint", children: s }),
158
- /* @__PURE__ */ k("div", { className: "gloss-target-input__actions", children: [
157
+ s && /* @__PURE__ */ r("p", { id: d, className: "gloss-target-input__hint", children: s }),
158
+ /* @__PURE__ */ D("div", { className: "gloss-target-input__actions", children: [
159
159
  /* @__PURE__ */ r(
160
160
  "button",
161
161
  {
@@ -176,43 +176,43 @@ const $t = ({
176
176
  )
177
177
  ] })
178
178
  ] });
179
- }, xe = (e) => {
180
- }, Bt = {
179
+ }, Se = (e) => {
180
+ }, $t = {
181
181
  id: "entity-filter-1",
182
182
  label: "Customer: Acme Corp",
183
183
  field: "customer",
184
184
  value: "acme-corp-123",
185
- onRemove: xe
186
- }, Kt = {
185
+ onRemove: Se
186
+ }, Bt = {
187
187
  id: "status-filter-1",
188
188
  label: "Status: Open",
189
189
  field: "status",
190
190
  value: "open",
191
- onRemove: xe
192
- }, zt = {
191
+ onRemove: Se
192
+ }, Kt = {
193
193
  id: "date-filter-1",
194
194
  label: "Date: Mar 1 - Mar 15",
195
195
  field: "dateRange",
196
196
  value: "2026-03-01..2026-03-15",
197
- onRemove: xe
198
- }, Wt = {
197
+ onRemove: Se
198
+ }, zt = {
199
199
  id: "mfg-filter-1",
200
200
  label: "Manufacturer: Widget Co",
201
201
  field: "manufacturer",
202
202
  value: "widget-co-456",
203
- onRemove: xe
204
- }, xn = [
203
+ onRemove: Se
204
+ }, Sn = [
205
+ $t,
205
206
  Bt,
206
207
  Kt,
207
- zt,
208
- Wt
209
- ], Rn = {
208
+ zt
209
+ ], xn = {
210
210
  id: "metric-toggle",
211
211
  tabs: [
212
212
  { id: "$", label: "$", mono: !0 },
213
213
  { id: "#", label: "#", mono: !0 }
214
214
  ]
215
- }, Mn = {
215
+ }, Rn = {
216
216
  id: "entity-type",
217
217
  tabs: [
218
218
  { id: "orders", label: "Orders" },
@@ -220,7 +220,7 @@ const $t = ({
220
220
  { id: "customers", label: "Customers" },
221
221
  { id: "manufacturers", label: "Manufacturers" }
222
222
  ]
223
- }, Tn = {
223
+ }, Mn = {
224
224
  id: "time-frame",
225
225
  tabs: [
226
226
  { id: "MTD", label: "MTD" },
@@ -228,30 +228,30 @@ const $t = ({
228
228
  { id: "YTD", label: "YTD" },
229
229
  { id: "LYTD", label: "LYTD" }
230
230
  ]
231
- }, In = [
231
+ }, Tn = [
232
232
  { variant: "block", width: "100%", height: 16 },
233
233
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
234
234
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
235
235
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
236
- ], En = [
236
+ ], In = [
237
237
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
238
238
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
239
239
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
240
- ], Pn = [
240
+ ], En = [
241
241
  { variant: "circle", size: 24 },
242
242
  { variant: "circle", size: 40 },
243
243
  { variant: "circle", size: 64 }
244
- ], Fn = [
244
+ ], Pn = [
245
245
  { bars: 10, maxHeight: 120 },
246
246
  { bars: 5, maxHeight: 80 }
247
- ], An = [
247
+ ], Fn = [
248
248
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
249
249
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
250
- ], On = [
250
+ ], An = [
251
251
  { variant: "value", colSpan: 1 },
252
252
  { variant: "trend", colSpan: 2 },
253
253
  { variant: "target", colSpan: 1 }
254
- ], Ye = {
254
+ ], Ze = {
255
255
  position: "fixed",
256
256
  zIndex: 9999,
257
257
  background: "rgba(255,255,255,0.92)",
@@ -263,7 +263,7 @@ const $t = ({
263
263
  minWidth: 148,
264
264
  paddingTop: 4,
265
265
  paddingBottom: 4
266
- }, Ae = (e) => ({
266
+ }, Fe = (e) => ({
267
267
  padding: "6px 12px",
268
268
  fontSize: 12,
269
269
  lineHeight: 1.4,
@@ -277,16 +277,16 @@ const $t = ({
277
277
  width: "100%",
278
278
  textAlign: "left",
279
279
  border: "none"
280
- }), Gt = (e) => ({
281
- ...Ae(e),
280
+ }), Wt = (e) => ({
281
+ ...Fe(e),
282
282
  color: e ? "#4338ca" : "#4f46e5",
283
283
  fontWeight: 600
284
- }), jt = {
284
+ }), Gt = {
285
285
  height: 1,
286
286
  background: "rgba(0,0,0,0.06)",
287
287
  margin: "3px 10px"
288
288
  };
289
- function Vt({
289
+ function jt({
290
290
  open: e,
291
291
  anchorEl: t,
292
292
  statusId: n,
@@ -295,32 +295,32 @@ function Vt({
295
295
  overflowActions: s,
296
296
  onClose: o
297
297
  }) {
298
- const [l, m] = $(null), d = E(null), h = N(() => {
299
- if (!t) return { ...Ye, top: 0, left: 0 };
300
- const g = t.getBoundingClientRect();
298
+ const [l, m] = B(null), u = I(null), h = _(() => {
299
+ if (!t) return { ...Ze, top: 0, left: 0 };
300
+ const c = t.getBoundingClientRect();
301
301
  return {
302
- ...Ye,
303
- top: g.bottom + 4,
304
- left: g.left
302
+ ...Ze,
303
+ top: c.bottom + 4,
304
+ left: c.left
305
305
  };
306
306
  }, [t]);
307
- if (O(() => {
307
+ if ($(() => {
308
308
  if (!e) return;
309
- const g = (w) => {
310
- w.key === "Escape" && o();
309
+ const c = (b) => {
310
+ b.key === "Escape" && o();
311
311
  };
312
- return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
313
- }, [e, o]), O(() => {
312
+ return document.addEventListener("keydown", c), () => document.removeEventListener("keydown", c);
313
+ }, [e, o]), $(() => {
314
314
  if (!e) return;
315
- const g = (w) => {
316
- d.current && !d.current.contains(w.target) && o();
315
+ const c = (b) => {
316
+ u.current && !u.current.contains(b.target) && o();
317
317
  };
318
- return document.addEventListener("pointerdown", g, !0), () => document.removeEventListener("pointerdown", g, !0);
318
+ return document.addEventListener("pointerdown", c, !0), () => document.removeEventListener("pointerdown", c, !0);
319
319
  }, [e, o]), !e) return null;
320
- const f = s && s.length > 0, u = /* @__PURE__ */ k(
320
+ const f = s && s.length > 0, d = /* @__PURE__ */ D(
321
321
  "div",
322
322
  {
323
- ref: d,
323
+ ref: u,
324
324
  "data-status-chip-menu": n,
325
325
  role: "menu",
326
326
  "aria-label": "Status actions",
@@ -330,7 +330,7 @@ function Vt({
330
330
  "button",
331
331
  {
332
332
  role: "menuitem",
333
- style: Gt(l === "__primary"),
333
+ style: Wt(l === "__primary"),
334
334
  onMouseEnter: () => m("__primary"),
335
335
  onMouseLeave: () => m(null),
336
336
  onClick: () => {
@@ -343,7 +343,7 @@ function Vt({
343
343
  "button",
344
344
  {
345
345
  role: "menuitem",
346
- style: Ae(l === "__graph"),
346
+ style: Fe(l === "__graph"),
347
347
  onMouseEnter: () => m("__graph"),
348
348
  onMouseLeave: () => m(null),
349
349
  onClick: () => {
@@ -352,51 +352,51 @@ function Vt({
352
352
  children: "Show on graph"
353
353
  }
354
354
  ),
355
- f && /* @__PURE__ */ r("div", { style: jt }),
356
- f && s?.map((g) => /* @__PURE__ */ r(
355
+ f && /* @__PURE__ */ r("div", { style: Gt }),
356
+ f && s?.map((c) => /* @__PURE__ */ r(
357
357
  "button",
358
358
  {
359
359
  role: "menuitem",
360
- style: Ae(l === g.id),
361
- onMouseEnter: () => m(g.id),
360
+ style: Fe(l === c.id),
361
+ onMouseEnter: () => m(c.id),
362
362
  onMouseLeave: () => m(null),
363
363
  onClick: () => {
364
- g.onSelect(n), o();
364
+ c.onSelect(n), o();
365
365
  },
366
- children: g.label
366
+ children: c.label
367
367
  },
368
- g.id
368
+ c.id
369
369
  ))
370
370
  ]
371
371
  }
372
372
  );
373
- return It(u, document.body);
373
+ return Tt(d, document.body);
374
374
  }
375
- Vt.displayName = "StatusSlotChipMenu";
376
- const ce = {
375
+ jt.displayName = "StatusSlotChipMenu";
376
+ const le = {
377
377
  forwardStaggerMs: 50,
378
378
  reverseStaggerMs: 30,
379
379
  springStiffness: 380,
380
380
  springDamping: 32,
381
381
  reverseVelocityMultiplier: 1.4
382
- }, fe = {
382
+ }, pe = {
383
383
  enterDurationMs: 220,
384
384
  exitDurationMs: 140,
385
385
  enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
386
386
  exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
387
387
  translateOffsetPx: 8
388
- }, Ln = {
388
+ }, On = {
389
389
  shiverCycles: 3,
390
390
  shiverAmplitudePx: 2,
391
391
  shiverDurationMs: 180,
392
392
  validCellOpacity: 0.6
393
- }, $n = {
393
+ }, Ln = {
394
394
  materializeMs: 180,
395
395
  dematerializeMs: 140,
396
396
  easing: "cubic-bezier(0.22, 1, 0.36, 1)",
397
397
  dotStrokePx: 2,
398
398
  dividerDashGapPx: 4
399
- }, Bn = {
399
+ }, $n = {
400
400
  cascadeStaggerMs: 0,
401
401
  cascadeSpringCapMs: 120,
402
402
  swingEnterMs: 100,
@@ -405,7 +405,7 @@ const ce = {
405
405
  provisionalStyle: "opacity",
406
406
  shiverMs: 200,
407
407
  shiverStyle: "color-flash"
408
- }, Kn = !0, zn = {
408
+ }, Bn = !0, Kn = {
409
409
  rejectionFill: "var(--gloss-rejection-fill)",
410
410
  rejectionStroke: "var(--gloss-rejection-stroke)",
411
411
  validFill: "var(--gloss-valid-fill)",
@@ -413,7 +413,7 @@ const ce = {
413
413
  validCellStroke: "var(--gloss-valid-cell-stroke)",
414
414
  provisionalWash: "var(--gloss-provisional-wash)"
415
415
  };
416
- function st() {
416
+ function rt() {
417
417
  if (typeof window > "u") return "full";
418
418
  try {
419
419
  return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
@@ -421,13 +421,13 @@ function st() {
421
421
  return "full";
422
422
  }
423
423
  }
424
- const Oe = ({ visible: e, variant: t, trigger: n, children: a, className: i }) => {
424
+ const Ae = ({ visible: e, variant: t, trigger: n, children: a, className: i }) => {
425
425
  const s = {
426
- "--gloss-swing-enter-ms": `${fe.enterDurationMs}ms`,
427
- "--gloss-swing-exit-ms": `${fe.exitDurationMs}ms`,
428
- "--gloss-swing-offset": `${fe.translateOffsetPx}px`,
429
- "--gloss-swing-enter-easing": fe.enterEasing,
430
- "--gloss-swing-exit-easing": fe.exitEasing
426
+ "--gloss-swing-enter-ms": `${pe.enterDurationMs}ms`,
427
+ "--gloss-swing-exit-ms": `${pe.exitDurationMs}ms`,
428
+ "--gloss-swing-offset": `${pe.translateOffsetPx}px`,
429
+ "--gloss-swing-enter-easing": pe.enterEasing,
430
+ "--gloss-swing-exit-easing": pe.exitEasing
431
431
  }, o = [
432
432
  "gloss-swing-reveal",
433
433
  `gloss-swing-reveal--${t}`,
@@ -445,49 +445,49 @@ const Oe = ({ visible: e, variant: t, trigger: n, children: a, className: i }) =
445
445
  children: a
446
446
  }
447
447
  );
448
- }, Ht = Ct(
449
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: i, onPointerLeave: s, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: d = "Resize card" }, h) {
450
- const { affordancesVisible: f } = rt(), u = t === "dragging" || t === "settling" || t === "handle-visible" && f, g = (c) => {
448
+ }, Vt = kt(
449
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: i, onPointerLeave: s, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: u = "Resize card" }, h) {
450
+ const { affordancesVisible: f } = nt(), d = t === "dragging" || t === "settling" || t === "handle-visible" && f, c = (g) => {
451
451
  try {
452
- c.currentTarget.setPointerCapture(c.pointerId);
452
+ g.currentTarget.setPointerCapture(g.pointerId);
453
453
  } catch {
454
454
  }
455
- n(c);
456
- }, w = (c) => {
455
+ n(g);
456
+ }, b = (g) => {
457
457
  try {
458
- c.currentTarget.hasPointerCapture?.(c.pointerId) && c.currentTarget.releasePointerCapture(c.pointerId);
458
+ g.currentTarget.hasPointerCapture?.(g.pointerId) && g.currentTarget.releasePointerCapture(g.pointerId);
459
459
  } catch {
460
460
  }
461
- a(c);
462
- }, v = (c) => {
463
- !u || !o || (c.key === "ArrowRight" ? (c.preventDefault(), o("grow")) : c.key === "ArrowLeft" && (c.preventDefault(), o("shrink")));
461
+ a(g);
462
+ }, C = (g) => {
463
+ !d || !o || (g.key === "ArrowRight" ? (g.preventDefault(), o("grow")) : g.key === "ArrowLeft" && (g.preventDefault(), o("shrink")));
464
464
  };
465
- return /* @__PURE__ */ r(Oe, { visible: u, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
465
+ return /* @__PURE__ */ r(Ae, { visible: d, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
466
466
  "button",
467
467
  {
468
468
  ref: h,
469
469
  type: "button",
470
- "aria-label": d,
470
+ "aria-label": u,
471
471
  "data-edge": m,
472
472
  "data-resize-state": t,
473
473
  className: [
474
474
  "gloss-edge-handle",
475
475
  `gloss-edge-handle--${m}`,
476
- u ? "gloss-edge-handle--visible" : ""
476
+ d ? "gloss-edge-handle--visible" : ""
477
477
  ].filter(Boolean).join(" "),
478
- onPointerDown: g,
479
- onPointerUp: w,
478
+ onPointerDown: c,
479
+ onPointerUp: b,
480
480
  onPointerEnter: i,
481
481
  onPointerLeave: s,
482
482
  onLostPointerCapture: l,
483
- onKeyDown: v,
484
- tabIndex: u ? 0 : -1
483
+ onKeyDown: C,
484
+ tabIndex: d ? 0 : -1
485
485
  }
486
486
  ) });
487
487
  }
488
488
  );
489
- Ht.displayName = "EdgeHoverHandle";
490
- function Ut({
489
+ Vt.displayName = "EdgeHoverHandle";
490
+ function Ht({
491
491
  visible: e,
492
492
  targetColSpan: t,
493
493
  ghostWidth: n,
@@ -495,7 +495,7 @@ function Ut({
495
495
  exitMs: i = 120
496
496
  }) {
497
497
  return /* @__PURE__ */ r(
498
- De.div,
498
+ Ne.div,
499
499
  {
500
500
  "aria-hidden": "true",
501
501
  "data-ghost-preview": e ? "visible" : "hidden",
@@ -511,8 +511,8 @@ function Ut({
511
511
  }
512
512
  );
513
513
  }
514
- Ut.displayName = "GhostPreview";
515
- class Zt {
514
+ Ht.displayName = "GhostPreview";
515
+ class Ut {
516
516
  constructor() {
517
517
  this.samples = [], this.capacity = 3;
518
518
  }
@@ -550,14 +550,14 @@ class Zt {
550
550
  const t = this.samples.length;
551
551
  if (t < 2) return 0;
552
552
  if (t === 2) {
553
- const [m, d] = this.samples, h = Math.max(1, d.t - m.t);
554
- return (d.x - m.x) / h * 1e3;
553
+ const [m, u] = this.samples, h = Math.max(1, u.t - m.t);
554
+ return (u.x - m.x) / h * 1e3;
555
555
  }
556
556
  const [n, a, i] = this.samples, s = (i.x - a.x) / Math.max(1, i.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
557
557
  return (s * 3 + o * 2 + l * 1) / 6;
558
558
  }
559
559
  }
560
- const it = {
560
+ const st = {
561
561
  // Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
562
562
  // has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
563
563
  // prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
@@ -577,7 +577,7 @@ const it = {
577
577
  // Velocity multiplier (D-03b panel)
578
578
  velocityMultiplier: 1
579
579
  };
580
- function Wn({
580
+ function zn({
581
581
  currentColSpan: e,
582
582
  stackable: t,
583
583
  onResize: n,
@@ -587,226 +587,225 @@ function Wn({
587
587
  tuning: o,
588
588
  dwellMs: l = 60,
589
589
  graceExitMs: m = 150,
590
- enterMs: d = 180,
590
+ enterMs: u = 180,
591
591
  exitMs: h = 120,
592
592
  maxColSpan: f = 3,
593
- containerRef: u,
594
- forceIdle: g
593
+ forceIdle: d
595
594
  }) {
596
- const [w, v] = $("idle"), [c, x] = $(e), I = E(null), D = E(null), M = E(null), T = E(null), p = E(i), b = E(s), _ = E(f), C = E(0), y = E("idle");
597
- O(() => {
598
- y.current = w;
599
- }, [w]);
600
- const R = Rt(0), P = E(null), H = N(() => {
601
- const S = P.current;
595
+ const [c, b] = B("idle"), [C, g] = B(e), x = I(null), T = I(null), N = I(null), R = I(null), M = I(i), p = I(s), v = I(f), w = I(0), y = I("idle");
596
+ $(() => {
597
+ y.current = c;
598
+ }, [c]);
599
+ const k = xt(0), E = I(null), P = _(() => {
600
+ const S = E.current;
602
601
  if (S) {
603
602
  try {
604
603
  S.stop();
605
604
  } catch {
606
605
  }
607
- P.current = null;
606
+ E.current = null;
608
607
  }
609
- }, []), Y = N(
608
+ }, []), U = _(
610
609
  (S) => {
611
- const F = p.current, A = b.current;
612
- return S * F + (S - 1) * A;
610
+ const A = M.current, O = p.current;
611
+ return S * A + (S - 1) * O;
613
612
  },
614
613
  []
615
- ), U = E(new Zt()), G = E(e);
616
- O(() => {
617
- G.current = c;
618
- }, [c]);
619
- const B = Ne(() => ({ ...it, ...o ?? {} }), [o]), Z = N(() => {
620
- I.current && (clearTimeout(I.current), I.current = null);
621
- }, []), L = N(() => {
622
- D.current && (clearTimeout(D.current), D.current = null);
623
- }, []), ee = N(() => {
624
- M.current && (clearTimeout(M.current), M.current = null);
614
+ ), G = I(new Ut()), Z = I(e);
615
+ $(() => {
616
+ Z.current = C;
617
+ }, [C]);
618
+ const F = _e(() => ({ ...st, ...o ?? {} }), [o]), j = _(() => {
619
+ x.current && (clearTimeout(x.current), x.current = null);
620
+ }, []), J = _(() => {
621
+ T.current && (clearTimeout(T.current), T.current = null);
622
+ }, []), L = _(() => {
623
+ N.current && (clearTimeout(N.current), N.current = null);
625
624
  }, []);
626
- O(() => {
627
- g && (y.current === "dragging" || y.current === "settling" || y.current !== "idle" && (Z(), L(), ee(), y.current = "idle", v("idle")));
628
- }, [w, g, Z, L, ee]);
629
- const We = N(() => {
630
- L(), v((S) => S === "settling" || S !== "idle" ? S : (I.current = setTimeout(() => v("handle-visible"), l), "dwelling"));
631
- }, [l, L]), Ge = N(() => {
632
- Z();
625
+ $(() => {
626
+ d && (y.current === "dragging" || y.current === "settling" || y.current !== "idle" && (j(), J(), L(), y.current = "idle", b("idle")));
627
+ }, [c, d, j, J, L]);
628
+ const ze = _(() => {
629
+ J(), b((S) => S === "settling" || S !== "idle" ? S : (x.current = setTimeout(() => b("handle-visible"), l), "dwelling"));
630
+ }, [l, J]), We = _(() => {
631
+ j();
633
632
  const S = y.current;
634
- S !== "dwelling" && S !== "handle-visible" || (D.current = setTimeout(() => {
635
- y.current = "idle", v("idle");
633
+ S !== "dwelling" && S !== "handle-visible" || (T.current = setTimeout(() => {
634
+ y.current = "idle", b("idle");
636
635
  }, m));
637
- }, [Z, m]), de = N(
638
- (S, F, A) => {
639
- const K = p.current, te = K * B.snapInFraction, q = K * B.snapOutFraction, z = F - A, j = Math.max(
640
- A,
641
- _.current ?? f
636
+ }, [j, m]), ce = _(
637
+ (S, A, O) => {
638
+ const K = M.current, ee = K * F.snapInFraction, Y = K * F.snapOutFraction, z = A - O, V = Math.max(
639
+ O,
640
+ v.current ?? f
642
641
  );
643
642
  let W = z;
644
- for (; A + W < j; ) {
645
- const ne = W * K + (W < 0 ? q : te);
646
- if (S >= ne) W += 1;
643
+ for (; O + W < V; ) {
644
+ const ae = W * K + (W < 0 ? Y : ee);
645
+ if (S >= ae) W += 1;
647
646
  else break;
648
647
  }
649
648
  if (W === z)
650
- for (; A + W > 1; ) {
651
- const ne = W * K - (W > 0 ? q : te);
652
- if (S <= ne) W -= 1;
649
+ for (; O + W > 1; ) {
650
+ const ae = W * K - (W > 0 ? Y : ee);
651
+ if (S <= ae) W -= 1;
653
652
  else break;
654
653
  }
655
- return Math.min(j, Math.max(1, A + W));
654
+ return Math.min(V, Math.max(1, O + W));
656
655
  },
657
- [B.snapInFraction, B.snapOutFraction, f]
658
- ), vt = N(
656
+ [F.snapInFraction, F.snapOutFraction, f]
657
+ ), bt = _(
659
658
  (S) => {
660
659
  if (y.current !== "handle-visible") return;
661
- H(), T.current = S.clientX, p.current = i, b.current = s, _.current = f;
662
- const F = e * i + (e - 1) * s;
663
- C.current = F, U.current.clear(), U.current.push({ x: S.clientX, t: performance.now() }), R.jump(F), y.current = "dragging", v("dragging");
660
+ P(), R.current = S.clientX, M.current = i, p.current = s, v.current = f;
661
+ const A = e * i + (e - 1) * s;
662
+ w.current = A, G.current.clear(), G.current.push({ x: S.clientX, t: performance.now() }), k.jump(A), y.current = "dragging", b("dragging");
664
663
  },
665
- [i, s, f, e, R, H]
666
- ), je = N(
667
- (S) => S * p.current + (S - 1) * b.current,
664
+ [i, s, f, e, k, P]
665
+ ), Ge = _(
666
+ (S) => S * M.current + (S - 1) * p.current,
668
667
  []
669
- ), le = N(
670
- (S, F) => {
671
- const A = je(S), K = S !== e;
668
+ ), oe = _(
669
+ (S, A) => {
670
+ const O = Ge(S), K = S !== e;
672
671
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
673
- R.jump(A), K && F ? n({ direction: F, targetColSpan: S, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), R.jump(0), y.current = "idle", v("idle");
672
+ k.jump(O), K && A ? n({ direction: A, targetColSpan: S, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), k.jump(0), y.current = "idle", b("idle");
674
673
  return;
675
674
  }
676
- const q = U.current.getWeightedVelocity() * B.velocityMultiplier;
677
- y.current = "settling", v("settling"), K && F ? n({ direction: F, targetColSpan: S, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), H(), P.current = Ue(R, A, {
678
- ...Ze,
679
- stiffness: B.stiffness,
680
- damping: B.damping,
681
- mass: B.mass,
682
- velocity: q,
675
+ const Y = G.current.getWeightedVelocity() * F.velocityMultiplier;
676
+ y.current = "settling", b("settling"), K && A ? n({ direction: A, targetColSpan: S, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), P(), E.current = He(k, O, {
677
+ ...Ue,
678
+ stiffness: F.stiffness,
679
+ damping: F.damping,
680
+ mass: F.mass,
681
+ velocity: Y,
683
682
  // onComplete now ONLY tears down the spring + idles state. The
684
683
  // commit-side effect already fired synchronously above. This
685
684
  // preserves the spring's perceptual smoothness (ghost retract)
686
685
  // while eliminating the stale-frame window.
687
686
  onComplete: () => {
688
- P.current = null, R.jump(0), y.current = "idle", v("idle");
687
+ E.current = null, k.jump(0), y.current = "idle", b("idle");
689
688
  }
690
689
  });
691
690
  },
692
- [je, e, t, n, a, R, B, H]
693
- ), yt = N(
691
+ [Ge, e, t, n, a, k, F, P]
692
+ ), vt = _(
694
693
  (S) => {
695
694
  if (y.current !== "dragging") return;
696
- const F = S.clientX - (T.current ?? S.clientX), A = p.current, te = ((_.current ?? f) - e) * A, q = (1 - e) * A, z = Math.max(q, Math.min(te, F));
697
- U.current.push({ x: S.clientX, t: performance.now() });
698
- const j = de(z, G.current, e), W = j > e ? "grow" : j < e ? "shrink" : null;
699
- le(j, W);
695
+ const A = S.clientX - (R.current ?? S.clientX), O = M.current, ee = ((v.current ?? f) - e) * O, Y = (1 - e) * O, z = Math.max(Y, Math.min(ee, A));
696
+ G.current.push({ x: S.clientX, t: performance.now() });
697
+ const V = ce(z, Z.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
698
+ oe(V, W);
700
699
  },
701
- [de, e, f, le]
702
- ), ue = N(() => {
703
- if (Z(), y.current === "dragging") {
704
- const S = C.current;
700
+ [ce, e, f, oe]
701
+ ), de = _(() => {
702
+ if (j(), y.current === "dragging") {
703
+ const S = w.current;
705
704
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
706
- R.jump(S), a?.(), R.jump(0), y.current = "idle", v("idle");
705
+ k.jump(S), a?.(), k.jump(0), y.current = "idle", b("idle");
707
706
  return;
708
707
  }
709
- const A = U.current.getWeightedVelocity();
710
- y.current = "settling", v("settling"), H(), P.current = Ue(R, S, {
711
- ...Ze,
712
- stiffness: B.stiffness,
713
- damping: B.damping,
714
- mass: B.mass,
715
- velocity: A,
708
+ const O = G.current.getWeightedVelocity();
709
+ y.current = "settling", b("settling"), P(), E.current = He(k, S, {
710
+ ...Ue,
711
+ stiffness: F.stiffness,
712
+ damping: F.damping,
713
+ mass: F.mass,
714
+ velocity: O,
716
715
  onComplete: () => {
717
- P.current = null, a?.(), R.jump(0), y.current = "idle", v("idle");
716
+ E.current = null, a?.(), k.jump(0), y.current = "idle", b("idle");
718
717
  }
719
718
  });
720
719
  return;
721
720
  }
722
- y.current === "handle-visible" && (a?.(), y.current = "cancelled", v("cancelled"));
723
- }, [Z, R, a, B, H]);
724
- O(() => {
725
- if (w !== "dragging" && w !== "handle-visible") return;
726
- const S = (F) => {
727
- F.key === "Escape" && ue();
721
+ y.current === "handle-visible" && (a?.(), y.current = "cancelled", b("cancelled"));
722
+ }, [j, k, a, F, P]);
723
+ $(() => {
724
+ if (c !== "dragging" && c !== "handle-visible") return;
725
+ const S = (A) => {
726
+ A.key === "Escape" && de();
728
727
  };
729
728
  return window.addEventListener("keydown", S), () => window.removeEventListener("keydown", S);
730
- }, [w, ue]), O(() => {
731
- if (w !== "dragging") {
732
- x(e);
729
+ }, [c, de]), $(() => {
730
+ if (c !== "dragging") {
731
+ g(e);
733
732
  return;
734
733
  }
735
734
  const S = (z) => {
736
- const j = z.clientX - (T.current ?? z.clientX), W = C.current, me = Y(1), ne = Y(f), ke = W + j, He = Math.max(me, Math.min(ne, ke));
737
- R.set(He);
738
- const Ce = p.current, Re = (f - e) * Ce, Me = (1 - e) * Ce, ge = Math.max(Me, Math.min(Re, j));
739
- U.current.push({ x: z.clientX, t: performance.now() });
740
- const pe = de(ge, G.current, e);
741
- pe !== G.current && (G.current = pe, x(pe));
742
- }, F = (z, j) => {
735
+ const V = z.clientX - (R.current ?? z.clientX), W = w.current, ue = U(1), ae = U(f), De = W + V, Ve = Math.max(ue, Math.min(ae, De));
736
+ k.set(Ve);
737
+ const ke = M.current, xe = (f - e) * ke, Re = (1 - e) * ke, me = Math.max(Re, Math.min(xe, V));
738
+ G.current.push({ x: z.clientX, t: performance.now() });
739
+ const ge = ce(me, Z.current, e);
740
+ ge !== Z.current && (Z.current = ge, g(ge));
741
+ }, A = (z, V) => {
743
742
  if (y.current === "dragging")
744
743
  if (z === "pointerup") {
745
- const W = U.current.tail(), me = j?.clientX ?? W?.x ?? T.current ?? 0, ne = me - (T.current ?? me), ke = p.current, Ce = ((_.current ?? f) - e) * ke, Re = (1 - e) * ke, Me = Math.max(Re, Math.min(Ce, ne));
746
- j && U.current.push({ x: j.clientX, t: performance.now() });
747
- const ge = de(Me, G.current, e), pe = ge > e ? "grow" : ge < e ? "shrink" : null;
748
- le(ge, pe);
744
+ const W = G.current.tail(), ue = V?.clientX ?? W?.x ?? R.current ?? 0, ae = ue - (R.current ?? ue), De = M.current, ke = ((v.current ?? f) - e) * De, xe = (1 - e) * De, Re = Math.max(xe, Math.min(ke, ae));
745
+ V && G.current.push({ x: V.clientX, t: performance.now() });
746
+ const me = ce(Re, Z.current, e), ge = me > e ? "grow" : me < e ? "shrink" : null;
747
+ oe(me, ge);
749
748
  } else
750
- ue();
751
- }, A = (z) => F("pointerup", z), K = (z) => F("pointercancel", z), te = () => F("blur"), q = () => {
752
- document.visibilityState === "hidden" && F("visibility-hidden");
749
+ de();
750
+ }, O = (z) => A("pointerup", z), K = (z) => A("pointercancel", z), ee = () => A("blur"), Y = () => {
751
+ document.visibilityState === "hidden" && A("visibility-hidden");
753
752
  };
754
- return window.addEventListener("pointermove", S), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", K), window.addEventListener("blur", te), document.addEventListener("visibilitychange", q), () => {
755
- window.removeEventListener("pointermove", S), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", K), window.removeEventListener("blur", te), document.removeEventListener("visibilitychange", q);
753
+ return window.addEventListener("pointermove", S), window.addEventListener("pointerup", O), window.addEventListener("pointercancel", K), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
754
+ window.removeEventListener("pointermove", S), window.removeEventListener("pointerup", O), window.removeEventListener("pointercancel", K), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
756
755
  };
757
- }, [w, e, R, de, f, Y, ue, le]), O(() => () => {
758
- Z(), L(), ee();
759
- }, [Z, L, ee]), O(() => {
760
- if (w !== "cancelled") return;
761
- const S = setTimeout(() => v("idle"), h);
756
+ }, [c, e, k, ce, f, U, de, oe]), $(() => () => {
757
+ j(), J(), L();
758
+ }, [j, J, L]), $(() => {
759
+ if (c !== "cancelled") return;
760
+ const S = setTimeout(() => b("idle"), h);
762
761
  return () => clearTimeout(S);
763
- }, [w, h]);
764
- const wt = N(
762
+ }, [c, h]);
763
+ const yt = _(
765
764
  (S) => {
766
765
  if (y.current === "settling") return;
767
- const A = Math.min(f, Math.max(1, e + (S === "grow" ? 1 : -1)));
768
- if (A === e) return;
769
- p.current = i, b.current = s, _.current = f, U.current.clear();
766
+ const O = Math.min(f, Math.max(1, e + (S === "grow" ? 1 : -1)));
767
+ if (O === e) return;
768
+ M.current = i, p.current = s, v.current = f, G.current.clear();
770
769
  const K = e * i + (e - 1) * s;
771
- C.current = K, R.jump(K), le(A, S);
770
+ w.current = K, k.jump(K), oe(O, S);
772
771
  },
773
- [e, i, s, f, R, le]
774
- ), Ve = N(() => {
775
- ee(), M.current = setTimeout(() => {
776
- y.current === "handle-visible" && (y.current = "idle", v("idle"));
772
+ [e, i, s, f, k, oe]
773
+ ), je = _(() => {
774
+ L(), N.current = setTimeout(() => {
775
+ y.current === "handle-visible" && (y.current = "idle", b("idle"));
777
776
  }, 5e3);
778
- }, [ee]), _t = N(() => {
779
- y.current === "idle" && (Z(), y.current = "handle-visible", v("handle-visible"), Ve());
780
- }, [Z, Ve]), Nt = N(() => {
781
- ee(), y.current === "handle-visible" && (y.current = "idle", v("idle"));
782
- }, [ee]);
777
+ }, [L]), wt = _(() => {
778
+ y.current === "idle" && (j(), y.current = "handle-visible", b("handle-visible"), je());
779
+ }, [j, je]), _t = _(() => {
780
+ L(), y.current === "handle-visible" && (y.current = "idle", b("idle"));
781
+ }, [L]);
783
782
  return {
784
- state: w,
785
- enterEdgeZone: We,
786
- leaveEdgeZone: Ge,
783
+ state: c,
784
+ enterEdgeZone: ze,
785
+ leaveEdgeZone: We,
787
786
  handleProps: {
788
- onPointerDown: vt,
789
- onPointerUp: yt,
787
+ onPointerDown: bt,
788
+ onPointerUp: vt,
790
789
  // Bug E: handle continues zone presence so pointer crossing sentinel→handle
791
790
  // doesn't collapse state. handle's pointerenter = stay in zone.
792
- onPointerEnter: We,
793
- onPointerLeave: Ge
791
+ onPointerEnter: ze,
792
+ onPointerLeave: We
794
793
  },
795
- previewColSpan: c,
794
+ previewColSpan: C,
796
795
  ghostProps: {
797
- visible: w === "dragging" || w === "settling",
798
- targetColSpan: c,
799
- ghostWidth: R,
800
- enterMs: d,
796
+ visible: c === "dragging" || c === "settling",
797
+ targetColSpan: C,
798
+ ghostWidth: k,
799
+ enterMs: u,
801
800
  exitMs: h
802
801
  },
803
- onKeyboardStep: wt,
804
- onTouchReveal: _t,
805
- onTouchDismiss: Nt,
806
- cancel: ue
802
+ onKeyboardStep: yt,
803
+ onTouchReveal: wt,
804
+ onTouchDismiss: _t,
805
+ cancel: de
807
806
  };
808
807
  }
809
- const oe = {
808
+ const ie = {
810
809
  // Cascade (D-08, D-10)
811
810
  staggerMs: 50,
812
811
  reverseStaggerMs: 30,
@@ -831,14 +830,14 @@ const oe = {
831
830
  sectionDividerFadeOutMs: 80,
832
831
  sectionDividerStaggerMs: 40
833
832
  };
834
- function Gn(e) {
833
+ function Wn(e) {
835
834
  const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: i } = e;
836
835
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
837
836
  return;
838
837
  const s = (a + 0.5) * (t / n);
839
838
  return i != null && Number.isFinite(i) && i > 0 ? s - i / 2 : s;
840
839
  }
841
- const jn = [
840
+ const Gn = [
842
841
  // 1. Standard: Total Revenue
843
842
  {
844
843
  variant: "standard",
@@ -970,24 +969,24 @@ const jn = [
970
969
  subtitle: "Awaiting QA",
971
970
  highlightColor: "neutral"
972
971
  }
973
- ], Yt = {
972
+ ], Zt = {
974
973
  variant: "standard",
975
974
  label: "Total Revenue",
976
975
  isLoading: !0
977
- }, qt = {
976
+ }, Yt = {
978
977
  variant: "standard",
979
978
  label: "Total Revenue",
980
979
  value: 125430,
981
980
  valueFormat: { prefix: "$", abbreviated: !0 },
982
981
  isError: !0
983
- }, Qt = {
982
+ }, qt = {
984
983
  variant: "standard",
985
984
  label: "Total Revenue",
986
985
  value: null,
987
986
  valueFormat: { prefix: "$", abbreviated: !0 },
988
987
  isEmpty: !0,
989
988
  subtitle: "No data"
990
- }, Xt = {
989
+ }, Qt = {
991
990
  variant: "standard",
992
991
  label: "Total Revenue",
993
992
  value: 125430,
@@ -995,7 +994,7 @@ const jn = [
995
994
  trend: { value: 12.5, direction: "up" },
996
995
  subtitle: "MTD",
997
996
  isStale: !0
998
- }, Jt = {
997
+ }, Xt = {
999
998
  variant: "sparkline",
1000
999
  label: "Daily Orders",
1001
1000
  value: 847,
@@ -1004,7 +1003,7 @@ const jn = [
1004
1003
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
1005
1004
  accentColor: "#6366f1",
1006
1005
  isStale: !0
1007
- }, ea = {
1006
+ }, Jt = {
1008
1007
  variant: "donut",
1009
1008
  label: "Order Fill Rate",
1010
1009
  value: 78,
@@ -1015,14 +1014,14 @@ const jn = [
1015
1014
  donutMax: 100,
1016
1015
  accentColor: "#10b981",
1017
1016
  isStale: !0
1018
- }, Vn = [
1017
+ }, jn = [
1018
+ Zt,
1019
1019
  Yt,
1020
1020
  qt,
1021
1021
  Qt,
1022
1022
  Xt,
1023
- Jt,
1024
- ea
1025
- ], Hn = {
1023
+ Jt
1024
+ ], Vn = {
1026
1025
  variant: "sparkline",
1027
1026
  label: "Daily Orders",
1028
1027
  value: 847,
@@ -1045,7 +1044,7 @@ const jn = [
1045
1044
  59
1046
1045
  ],
1047
1046
  accentColor: "#6366f1"
1048
- }, Un = {
1047
+ }, Hn = {
1049
1048
  variant: "sparkline",
1050
1049
  label: "New Customers",
1051
1050
  value: 23,
@@ -1084,21 +1083,21 @@ const jn = [
1084
1083
  19
1085
1084
  ],
1086
1085
  accentColor: "#10b981"
1087
- }, Zn = {
1086
+ }, Un = {
1088
1087
  variant: "standard",
1089
1088
  label: "Total Revenue",
1090
1089
  value: 125430,
1091
1090
  valueFormat: { prefix: "$", abbreviated: !0 },
1092
1091
  trend: { value: 12.5, direction: "up" },
1093
1092
  subtitle: "MTD"
1094
- }, Yn = {
1093
+ }, Zn = {
1095
1094
  variant: "standard",
1096
1095
  label: "Returns",
1097
1096
  value: 3280,
1098
1097
  valueFormat: { prefix: "$", abbreviated: !0 },
1099
1098
  trend: { value: -8.3, direction: "down" },
1100
1099
  subtitle: "MTD"
1101
- }, qn = {
1100
+ }, Yn = {
1102
1101
  variant: "standard",
1103
1102
  label: "Avg Order Value",
1104
1103
  value: 487,
@@ -1106,7 +1105,7 @@ const jn = [
1106
1105
  trend: { value: 0, direction: "flat" },
1107
1106
  subtitle: "QTD"
1108
1107
  };
1109
- function ot({
1108
+ function it({
1110
1109
  open: e,
1111
1110
  onDismiss: t,
1112
1111
  anchorRef: n,
@@ -1116,23 +1115,23 @@ function ot({
1116
1115
  onCreatePage: o,
1117
1116
  onManagePages: l
1118
1117
  }) {
1119
- const m = N(
1120
- (u) => {
1121
- s(u), t();
1118
+ const m = _(
1119
+ (d) => {
1120
+ s(d), t();
1122
1121
  },
1123
1122
  [s, t]
1124
- ), d = N(
1125
- (u, g) => {
1126
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), m(u));
1123
+ ), u = _(
1124
+ (d, c) => {
1125
+ (c.key === "Enter" || c.key === " ") && (c.preventDefault(), m(d));
1127
1126
  },
1128
1127
  [m]
1129
- ), h = N(() => {
1128
+ ), h = _(() => {
1130
1129
  o(), t();
1131
- }, [o, t]), f = N(() => {
1130
+ }, [o, t]), f = _(() => {
1132
1131
  l(), t();
1133
1132
  }, [l, t]);
1134
- return /* @__PURE__ */ k(
1135
- Tt,
1133
+ return /* @__PURE__ */ D(
1134
+ Mt,
1136
1135
  {
1137
1136
  definition: {
1138
1137
  placement: "bottom-end",
@@ -1145,36 +1144,36 @@ function ot({
1145
1144
  anchorRef: n,
1146
1145
  className: "gloss-page-dropdown",
1147
1146
  children: [
1148
- /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
1149
- const g = u.id === i;
1150
- return /* @__PURE__ */ k(
1147
+ /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((d) => {
1148
+ const c = d.id === i;
1149
+ return /* @__PURE__ */ D(
1151
1150
  "li",
1152
1151
  {
1153
1152
  role: "menuitemradio",
1154
- "aria-checked": g,
1155
- "aria-current": g ? "page" : void 0,
1153
+ "aria-checked": c,
1154
+ "aria-current": c ? "page" : void 0,
1156
1155
  tabIndex: 0,
1157
- className: `gloss-page-dropdown__item${g ? " gloss-page-dropdown__item--active" : ""}`,
1158
- onClick: () => m(u.id),
1159
- onKeyDown: (w) => d(u.id, w),
1156
+ className: `gloss-page-dropdown__item${c ? " gloss-page-dropdown__item--active" : ""}`,
1157
+ onClick: () => m(d.id),
1158
+ onKeyDown: (b) => u(d.id, b),
1160
1159
  children: [
1161
1160
  /* @__PURE__ */ r(
1162
1161
  "span",
1163
1162
  {
1164
- className: `gloss-page-dropdown__dot${g ? " gloss-page-dropdown__dot--active" : ""}`
1163
+ className: `gloss-page-dropdown__dot${c ? " gloss-page-dropdown__dot--active" : ""}`
1165
1164
  }
1166
1165
  ),
1167
1166
  /* @__PURE__ */ r(
1168
1167
  "span",
1169
1168
  {
1170
- className: `gloss-page-dropdown__name${u.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1171
- children: u.name
1169
+ className: `gloss-page-dropdown__name${d.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1170
+ children: d.name
1172
1171
  }
1173
1172
  ),
1174
- /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
1173
+ /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: d.cardCount })
1175
1174
  ]
1176
1175
  },
1177
- u.id
1176
+ d.id
1178
1177
  );
1179
1178
  }) }),
1180
1179
  /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
@@ -1201,8 +1200,8 @@ function ot({
1201
1200
  }
1202
1201
  );
1203
1202
  }
1204
- ot.displayName = "PageDropdown";
1205
- const ta = function({
1203
+ it.displayName = "PageDropdown";
1204
+ const ea = function({
1206
1205
  currentIndex: t,
1207
1206
  total: n,
1208
1207
  pages: a,
@@ -1211,14 +1210,14 @@ const ta = function({
1211
1210
  onManagePages: o,
1212
1211
  maskRadius: l = "var(--gloss-radius-md)",
1213
1212
  displayMode: m = "count",
1214
- activePage: d
1213
+ activePage: u
1215
1214
  }) {
1216
- const h = E(null), [f, u] = $(!1), g = N(() => {
1217
- u((x) => !x);
1218
- }, []), w = N(() => {
1219
- u(!1);
1220
- }, []), v = a[t]?.id ?? "";
1221
- return /* @__PURE__ */ k(
1215
+ const h = I(null), [f, d] = B(!1), c = _(() => {
1216
+ d((x) => !x);
1217
+ }, []), b = _(() => {
1218
+ d(!1);
1219
+ }, []), C = a[t]?.id ?? "";
1220
+ return /* @__PURE__ */ D(
1222
1221
  "div",
1223
1222
  {
1224
1223
  className: "gloss-page-chip",
@@ -1239,12 +1238,12 @@ const ta = function({
1239
1238
  className: `gloss-page-chip__trigger${m === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1240
1239
  "aria-haspopup": "menu",
1241
1240
  "aria-expanded": f,
1242
- "aria-label": m === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1243
- onClick: g,
1244
- children: m === "name" ? /* @__PURE__ */ k(ae, { children: [
1245
- /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: d ?? "" }),
1241
+ "aria-label": m === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1242
+ onClick: c,
1243
+ children: m === "name" ? /* @__PURE__ */ D(te, { children: [
1244
+ /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: u ?? "" }),
1246
1245
  /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1247
- ] }) : /* @__PURE__ */ k(ae, { children: [
1246
+ ] }) : /* @__PURE__ */ D(te, { children: [
1248
1247
  t + 1,
1249
1248
  " / ",
1250
1249
  n
@@ -1252,13 +1251,13 @@ const ta = function({
1252
1251
  }
1253
1252
  ),
1254
1253
  /* @__PURE__ */ r(
1255
- ot,
1254
+ it,
1256
1255
  {
1257
1256
  open: f,
1258
- onDismiss: w,
1257
+ onDismiss: b,
1259
1258
  anchorRef: h,
1260
1259
  pages: a,
1261
- activePageId: v,
1260
+ activePageId: C,
1262
1261
  onPageChange: i,
1263
1262
  onCreatePage: s,
1264
1263
  onManagePages: o
@@ -1268,8 +1267,8 @@ const ta = function({
1268
1267
  }
1269
1268
  );
1270
1269
  };
1271
- ta.displayName = "PageChip";
1272
- const Qn = [
1270
+ ea.displayName = "PageChip";
1271
+ const qn = [
1273
1272
  {
1274
1273
  id: "ORD-1001",
1275
1274
  orderNumber: "ORD-1001",
@@ -1402,7 +1401,7 @@ const Qn = [
1402
1401
  date: "2026-03-01",
1403
1402
  skuCount: 9
1404
1403
  }
1405
- ], Xn = [
1404
+ ], Qn = [
1406
1405
  {
1407
1406
  id: "ITEM-001",
1408
1407
  sku: "PB-4520",
@@ -1536,16 +1535,16 @@ const Qn = [
1536
1535
  lastDate: "2026-03-01"
1537
1536
  }
1538
1537
  ];
1539
- function Le(e) {
1538
+ function Oe(e) {
1540
1539
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1541
1540
  }
1542
- function lt(e) {
1541
+ function ot(e) {
1543
1542
  return e.toLocaleString("en-US");
1544
1543
  }
1545
- function ct(e) {
1544
+ function lt(e) {
1546
1545
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1547
1546
  }
1548
- const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Jn = [
1547
+ const be = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Xn = [
1549
1548
  {
1550
1549
  field: "id",
1551
1550
  headerName: "Order",
@@ -1575,7 +1574,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1575
1574
  align: "right",
1576
1575
  headerAlign: "right",
1577
1576
  cellClassName: "gloss-tabular-nums",
1578
- renderCell: ({ row: e }) => e.skuCount ? lt(e.skuCount) : ve
1577
+ renderCell: ({ row: e }) => e.skuCount ? ot(e.skuCount) : be
1579
1578
  },
1580
1579
  {
1581
1580
  field: "total",
@@ -1585,7 +1584,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1585
1584
  align: "right",
1586
1585
  headerAlign: "right",
1587
1586
  cellClassName: "gloss-tabular-nums",
1588
- renderCell: ({ row: e }) => e.total ? Le(e.total) : ve
1587
+ renderCell: ({ row: e }) => e.total ? Oe(e.total) : be
1589
1588
  },
1590
1589
  {
1591
1590
  field: "date",
@@ -1595,9 +1594,9 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1595
1594
  align: "right",
1596
1595
  headerAlign: "right",
1597
1596
  cellClassName: "gloss-tabular-nums",
1598
- renderCell: ({ row: e }) => e.date ? ct(e.date) : ""
1597
+ renderCell: ({ row: e }) => e.date ? lt(e.date) : ""
1599
1598
  }
1600
- ], er = [
1599
+ ], Jn = [
1601
1600
  {
1602
1601
  field: "sku",
1603
1602
  headerName: "Item ID",
@@ -1629,7 +1628,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1629
1628
  align: "right",
1630
1629
  headerAlign: "right",
1631
1630
  cellClassName: "gloss-tabular-nums",
1632
- renderCell: ({ row: e }) => e.price ? Le(e.price) : ve
1631
+ renderCell: ({ row: e }) => e.price ? Oe(e.price) : be
1633
1632
  },
1634
1633
  {
1635
1634
  field: "quantity",
@@ -1639,7 +1638,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1639
1638
  align: "right",
1640
1639
  headerAlign: "right",
1641
1640
  cellClassName: "gloss-tabular-nums gloss-drillable",
1642
- renderCell: ({ row: e }) => e.quantity ? lt(e.quantity) : ve
1641
+ renderCell: ({ row: e }) => e.quantity ? ot(e.quantity) : be
1643
1642
  },
1644
1643
  {
1645
1644
  field: "total",
@@ -1649,7 +1648,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1649
1648
  align: "right",
1650
1649
  headerAlign: "right",
1651
1650
  cellClassName: "gloss-tabular-nums gloss-drillable",
1652
- renderCell: ({ row: e }) => e.total ? Le(e.total) : ve
1651
+ renderCell: ({ row: e }) => e.total ? Oe(e.total) : be
1653
1652
  },
1654
1653
  {
1655
1654
  field: "lastDate",
@@ -1659,24 +1658,24 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1659
1658
  align: "right",
1660
1659
  headerAlign: "right",
1661
1660
  cellClassName: "gloss-tabular-nums",
1662
- renderCell: ({ row: e }) => e.lastDate ? ct(e.lastDate) : ""
1661
+ renderCell: ({ row: e }) => e.lastDate ? lt(e.lastDate) : ""
1663
1662
  }
1664
- ], aa = [
1663
+ ], ta = [
1665
1664
  { id: "c-001", label: "ABC Home Goods" },
1666
1665
  { id: "c-002", label: "Riverside Retail" },
1667
1666
  { id: "c-003", label: "Mountain View Store" },
1668
1667
  { id: "c-004", label: "Downtown Decor" },
1669
1668
  { id: "c-005", label: "Pacific Coast Imports" }
1670
- ], na = [
1669
+ ], aa = [
1671
1670
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1672
1671
  { id: "i-002", label: "Coastal Wave Candle Set" },
1673
1672
  { id: "i-003", label: "Walnut Console Table" },
1674
1673
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1675
1674
  { id: "i-005", label: "Velvet Accent Cushion" }
1676
- ], Te = (e) => {
1677
- }, ra = (e) => {
1678
- }, qe = (e, t) => {
1679
- }, dt = {
1675
+ ], Me = (e) => {
1676
+ }, na = (e) => {
1677
+ }, Ye = (e, t) => {
1678
+ }, ct = {
1680
1679
  vizState: {
1681
1680
  type: "orders",
1682
1681
  quant: "$",
@@ -1684,17 +1683,17 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1684
1683
  byItem: { id: null, name: null },
1685
1684
  timeFrame: "MTD"
1686
1685
  },
1687
- onTypeChange: Te,
1688
- onQuantChange: ra,
1689
- onEntityTypeChange: Te,
1690
- onEntitySelect: qe,
1691
- onItemSelect: qe,
1692
- onTimeFrameChange: Te,
1686
+ onTypeChange: Me,
1687
+ onQuantChange: na,
1688
+ onEntityTypeChange: Me,
1689
+ onEntitySelect: Ye,
1690
+ onItemSelect: Ye,
1691
+ onTimeFrameChange: Me,
1693
1692
  userType: "sales-agency",
1694
- entityFilterOptions: aa,
1695
- itemFilterOptions: na
1696
- }, tr = {
1697
- ...dt,
1693
+ entityFilterOptions: ta,
1694
+ itemFilterOptions: aa
1695
+ }, er = {
1696
+ ...ct,
1698
1697
  vizState: {
1699
1698
  type: "items",
1700
1699
  quant: "$",
@@ -1702,8 +1701,8 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1702
1701
  byItem: { id: "i-003", name: "Walnut Console Table" },
1703
1702
  timeFrame: "YTD"
1704
1703
  }
1705
- }, ar = {
1706
- ...dt,
1704
+ }, tr = {
1705
+ ...ct,
1707
1706
  vizState: {
1708
1707
  type: "orders",
1709
1708
  quant: "#",
@@ -1715,7 +1714,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1715
1714
  entityFilterOptions: [
1716
1715
  { id: "customers", label: "Customers" }
1717
1716
  ]
1718
- }, sa = [
1717
+ }, ra = [
1719
1718
  {
1720
1719
  id: "recent-orders",
1721
1720
  label: "Recent Orders",
@@ -1761,7 +1760,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1761
1760
  routeKey: "customer.profile",
1762
1761
  subtitle: "Opens in RepTime"
1763
1762
  }
1764
- ], ia = [
1763
+ ], sa = [
1765
1764
  {
1766
1765
  id: "order-items",
1767
1766
  label: "Items in Order",
@@ -1790,7 +1789,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1790
1789
  cellKinds: ["orderId"],
1791
1790
  graphType: "timeline"
1792
1791
  }
1793
- ], oa = [
1792
+ ], ia = [
1794
1793
  {
1795
1794
  id: "graph-metric",
1796
1795
  label: "Graph This Metric",
@@ -1818,14 +1817,14 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1818
1817
  cellKinds: ["numeric"],
1819
1818
  tabType: "orders"
1820
1819
  }
1821
- ], nr = {
1822
- entityName: sa,
1823
- orderId: ia,
1824
- numeric: oa
1825
- }, rr = [
1820
+ ], ar = {
1821
+ entityName: ra,
1822
+ orderId: sa,
1823
+ numeric: ia
1824
+ }, nr = [
1826
1825
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1827
1826
  /* @__PURE__ */ new Date()
1828
- ], sr = {
1827
+ ], rr = {
1829
1828
  rangeA: [
1830
1829
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1831
1830
  /* @__PURE__ */ new Date()
@@ -1838,7 +1837,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1838
1837
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1839
1838
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1840
1839
  ]
1841
- }, ir = {
1840
+ }, sr = {
1842
1841
  version: 4,
1843
1842
  lastPreset: "mtd",
1844
1843
  pinnedPreset: "mtd",
@@ -1846,7 +1845,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1846
1845
  rangeCount: 1,
1847
1846
  lastPresetB: null,
1848
1847
  lastPresetC: null
1849
- }, or = [
1848
+ }, ir = [
1850
1849
  {
1851
1850
  id: "atlanta-jan",
1852
1851
  label: "Atlanta Market",
@@ -1868,7 +1867,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1868
1867
  endDate: new Date(2026, 3, 22),
1869
1868
  location: "Chicago, IL"
1870
1869
  }
1871
- ], lr = [
1870
+ ], or = [
1872
1871
  {
1873
1872
  id: "custom-regional-1",
1874
1873
  label: "Southeast Regional Expo",
@@ -1885,7 +1884,7 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1885
1884
  location: "Portland, OR",
1886
1885
  isCustom: !0
1887
1886
  }
1888
- ], cr = [
1887
+ ], lr = [
1889
1888
  {
1890
1889
  id: "atlanta-jan",
1891
1890
  label: "Atlanta Market",
@@ -1902,37 +1901,37 @@ const ve = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1902
1901
  location: "New York, NY",
1903
1902
  active: !0
1904
1903
  }
1905
- ], dr = [
1904
+ ], cr = [
1906
1905
  { id: "7d", label: "7D" },
1907
1906
  { id: "30d", label: "30D" },
1908
1907
  { id: "60d", label: "60D" },
1909
1908
  { id: "90d", label: "90D" }
1910
- ], ur = [
1909
+ ], dr = [
1911
1910
  { id: "mtd", label: "MTD" },
1912
1911
  { id: "qtd", label: "QTD" },
1913
1912
  { id: "ytd", label: "YTD" },
1914
1913
  { id: "lytd", label: "LYTD" }
1915
- ], la = {
1914
+ ], oa = {
1916
1915
  timeframe: "Time Frame",
1917
1916
  threshold: "Thresholds",
1918
1917
  slots: "Slots",
1919
1918
  size: "Size",
1920
1919
  color: "Color",
1921
1920
  pinned: "Pinned"
1922
- }, ca = {
1923
- timeframe: Et,
1924
- threshold: Pt,
1925
- slots: Ft,
1926
- size: At,
1927
- color: Ot,
1928
- pinned: Lt
1921
+ }, la = {
1922
+ timeframe: It,
1923
+ threshold: Et,
1924
+ slots: Pt,
1925
+ size: Ft,
1926
+ color: At,
1927
+ pinned: Ot
1929
1928
  };
1930
- function Qe(...e) {
1929
+ function qe(...e) {
1931
1930
  return e.filter(Boolean).join(" ");
1932
1931
  }
1933
- function da() {
1934
- const [e, t] = $(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1935
- return O(() => {
1932
+ function ca() {
1933
+ const [e, t] = B(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1934
+ return $(() => {
1936
1935
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
1937
1936
  const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (i) => t(i.matches);
1938
1937
  return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
@@ -1940,42 +1939,42 @@ function da() {
1940
1939
  });
1941
1940
  }, []), e;
1942
1941
  }
1943
- const ua = ({
1942
+ const da = ({
1944
1943
  dimensions: e,
1945
1944
  onDimensionSelect: t,
1946
1945
  activeDimension: n,
1947
1946
  ariaCardTypeLabel: a,
1948
1947
  className: i
1949
1948
  }) => {
1950
- const s = E(null), o = E([]), l = da(), m = Ne(() => Array.from(e), [e]);
1949
+ const s = I(null), o = I([]), l = ca(), m = _e(() => Array.from(e), [e]);
1951
1950
  if (m.length === 0) return null;
1952
- const d = a ? `Configure ${a}: choose a dimension` : void 0, h = l ? "10ms" : "200ms", f = (u, g) => {
1953
- const w = m.length - 1, v = (c) => {
1954
- const x = o.current[c];
1951
+ const u = a ? `Configure ${a}: choose a dimension` : void 0, h = l ? "10ms" : "200ms", f = (d, c) => {
1952
+ const b = m.length - 1, C = (g) => {
1953
+ const x = o.current[g];
1955
1954
  x && x.focus();
1956
1955
  };
1957
- switch (u.key) {
1956
+ switch (d.key) {
1958
1957
  case "ArrowRight":
1959
1958
  case "ArrowDown": {
1960
- u.preventDefault(), v(g === w ? 0 : g + 1);
1959
+ d.preventDefault(), C(c === b ? 0 : c + 1);
1961
1960
  break;
1962
1961
  }
1963
1962
  case "ArrowLeft":
1964
1963
  case "ArrowUp": {
1965
- u.preventDefault(), v(g === 0 ? w : g - 1);
1964
+ d.preventDefault(), C(c === 0 ? b : c - 1);
1966
1965
  break;
1967
1966
  }
1968
1967
  case "Home": {
1969
- u.preventDefault(), v(0);
1968
+ d.preventDefault(), C(0);
1970
1969
  break;
1971
1970
  }
1972
1971
  case "End": {
1973
- u.preventDefault(), v(w);
1972
+ d.preventDefault(), C(b);
1974
1973
  break;
1975
1974
  }
1976
1975
  case "Enter":
1977
1976
  case " ": {
1978
- u.preventDefault(), t(m[g]);
1977
+ d.preventDefault(), t(m[c]);
1979
1978
  break;
1980
1979
  }
1981
1980
  }
@@ -1985,54 +1984,54 @@ const ua = ({
1985
1984
  {
1986
1985
  ref: s,
1987
1986
  role: "group",
1988
- "aria-label": d,
1989
- className: Qe("gloss-reconfig-backside-buttons", i),
1987
+ "aria-label": u,
1988
+ className: qe("gloss-reconfig-backside-buttons", i),
1990
1989
  style: {
1991
1990
  // Expose the reduced-motion-resolved duration as a CSS custom prop
1992
1991
  // so the SCSS transition rule can consume it without a nested media
1993
1992
  // query in the JS. Also surfaces the value for the unit test.
1994
1993
  "--gloss-reconfig-backside-buttons-transition-duration": h
1995
1994
  },
1996
- children: m.map((u, g) => {
1997
- const w = ca[u], v = n === u;
1998
- return /* @__PURE__ */ k(
1995
+ children: m.map((d, c) => {
1996
+ const b = la[d], C = n === d;
1997
+ return /* @__PURE__ */ D(
1999
1998
  "button",
2000
1999
  {
2001
- ref: (c) => {
2002
- o.current[g] = c;
2000
+ ref: (g) => {
2001
+ o.current[c] = g;
2003
2002
  },
2004
2003
  type: "button",
2005
- "data-dimension": u,
2006
- className: Qe(
2004
+ "data-dimension": d,
2005
+ className: qe(
2007
2006
  "gloss-reconfig-backside-buttons__button",
2008
- v && "gloss-reconfig-backside-buttons__button--active"
2007
+ C && "gloss-reconfig-backside-buttons__button--active"
2009
2008
  ),
2010
- "aria-current": v ? "true" : void 0,
2011
- onClick: () => t(u),
2012
- onKeyDown: (c) => f(c, g),
2009
+ "aria-current": C ? "true" : void 0,
2010
+ onClick: () => t(d),
2011
+ onKeyDown: (g) => f(g, c),
2013
2012
  children: [
2014
2013
  /* @__PURE__ */ r(
2015
- w,
2014
+ b,
2016
2015
  {
2017
2016
  className: "gloss-reconfig-backside-buttons__button-icon",
2018
2017
  "aria-hidden": "true"
2019
2018
  }
2020
2019
  ),
2021
- /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: la[u] })
2020
+ /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: oa[d] })
2022
2021
  ]
2023
2022
  },
2024
- u
2023
+ d
2025
2024
  );
2026
2025
  })
2027
2026
  }
2028
2027
  );
2029
2028
  };
2030
- ua.displayName = "ReconfigBacksideButtons";
2031
- function Q(e, t) {
2029
+ da.displayName = "ReconfigBacksideButtons";
2030
+ function q(e, t) {
2032
2031
  return {
2033
2032
  id: e,
2034
2033
  colSpan: 1,
2035
- content: V.createElement("div", {
2034
+ content: H.createElement("div", {
2036
2035
  style: {
2037
2036
  width: "100%",
2038
2037
  height: "100%",
@@ -2048,38 +2047,38 @@ function Q(e, t) {
2048
2047
  }, t)
2049
2048
  };
2050
2049
  }
2051
- function Xe(e, t) {
2050
+ function Qe(e, t) {
2052
2051
  return {
2053
- ...Q(e, t),
2052
+ ...q(e, t),
2054
2053
  colSpan: 2
2055
2054
  };
2056
2055
  }
2057
- const mr = [
2058
- Q("total-revenue", "Total Revenue"),
2059
- Q("total-orders", "Total Orders"),
2060
- Xe("revenue-trend", "Revenue Trend (2x)"),
2061
- Q("avg-order", "Avg Order Value"),
2062
- Q("new-customers", "New Customers"),
2063
- Q("top-salesperson", "Top Salesperson"),
2064
- Xe("order-trend", "Order Trend (2x)"),
2065
- Q("repeat-rate", "Repeat Rate"),
2066
- Q("open-orders", "Open Orders"),
2067
- Q("shipped-orders", "Shipped Orders")
2068
- ], gr = {
2056
+ const ur = [
2057
+ q("total-revenue", "Total Revenue"),
2058
+ q("total-orders", "Total Orders"),
2059
+ Qe("revenue-trend", "Revenue Trend (2x)"),
2060
+ q("avg-order", "Avg Order Value"),
2061
+ q("new-customers", "New Customers"),
2062
+ q("top-salesperson", "Top Salesperson"),
2063
+ Qe("order-trend", "Order Trend (2x)"),
2064
+ q("repeat-rate", "Repeat Rate"),
2065
+ q("open-orders", "Open Orders"),
2066
+ q("shipped-orders", "Shipped Orders")
2067
+ ], mr = {
2069
2068
  columns: 6,
2070
2069
  rowHeight: 120,
2071
2070
  gap: 15,
2072
2071
  maxRows: 3,
2073
2072
  currentPage: 0,
2074
2073
  totalPages: 1
2075
- }, pr = {
2074
+ }, gr = {
2076
2075
  columns: 9,
2077
2076
  rowHeight: 120,
2078
2077
  gap: 15,
2079
2078
  maxRows: 3,
2080
2079
  currentPage: 0,
2081
2080
  totalPages: 2
2082
- }, fr = {
2081
+ }, pr = {
2083
2082
  columns: 12,
2084
2083
  rowHeight: 120,
2085
2084
  gap: 15,
@@ -2087,15 +2086,15 @@ const mr = [
2087
2086
  currentPage: 0,
2088
2087
  totalPages: 3
2089
2088
  };
2090
- function Ie(e) {
2091
- return V.createElement("span", { style: { fontSize: 14 } }, e);
2089
+ function Te(e) {
2090
+ return H.createElement("span", { style: { fontSize: 14 } }, e);
2092
2091
  }
2093
- const hr = [
2092
+ const fr = [
2094
2093
  {
2095
2094
  id: "all-orders",
2096
2095
  type: "orders",
2097
2096
  name: "All Orders",
2098
- icon: Ie("📋"),
2097
+ icon: Te("📋"),
2099
2098
  closable: !1,
2100
2099
  autoCreated: !0
2101
2100
  },
@@ -2103,17 +2102,17 @@ const hr = [
2103
2102
  id: "open-orders",
2104
2103
  type: "orders",
2105
2104
  name: "Open Orders",
2106
- icon: Ie("📦"),
2105
+ icon: Te("📦"),
2107
2106
  closable: !0
2108
2107
  },
2109
2108
  {
2110
2109
  id: "shipped-orders",
2111
2110
  type: "orders",
2112
2111
  name: "Shipped Orders",
2113
- icon: Ie("🚚"),
2112
+ icon: Te("🚚"),
2114
2113
  closable: !0
2115
2114
  }
2116
- ], br = [
2115
+ ], hr = [
2117
2116
  {
2118
2117
  id: "orders-main",
2119
2118
  type: "orders",
@@ -2139,7 +2138,7 @@ const hr = [
2139
2138
  name: "Customers",
2140
2139
  closable: !0
2141
2140
  }
2142
- ], vr = [
2141
+ ], br = [
2143
2142
  {
2144
2143
  id: "only-tab",
2145
2144
  type: "orders",
@@ -2147,7 +2146,7 @@ const hr = [
2147
2146
  closable: !1,
2148
2147
  autoCreated: !0
2149
2148
  }
2150
- ], yr = [
2149
+ ], vr = [
2151
2150
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
2152
2151
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
2153
2152
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -2159,7 +2158,7 @@ const hr = [
2159
2158
  { id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
2160
2159
  { id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
2161
2160
  ];
2162
- function $e(e) {
2161
+ function Le(e) {
2163
2162
  switch (e) {
2164
2163
  case "wide":
2165
2164
  return { cols: 2, rows: 1 };
@@ -2170,15 +2169,15 @@ function $e(e) {
2170
2169
  return { cols: 1, rows: 1 };
2171
2170
  }
2172
2171
  }
2173
- function ma(e) {
2172
+ function ua(e) {
2174
2173
  let t = 0;
2175
2174
  for (const a of e) {
2176
- const i = $e(a.size), s = a.gridPosition.col + i.cols - 1;
2175
+ const i = Le(a.size), s = a.gridPosition.col + i.cols - 1;
2177
2176
  s > t && (t = s);
2178
2177
  }
2179
2178
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
2180
2179
  }
2181
- const ga = function(t) {
2180
+ const ma = function(t) {
2182
2181
  if (t.renderMode === "discrete")
2183
2182
  return /* @__PURE__ */ r(
2184
2183
  "div",
@@ -2186,7 +2185,7 @@ const ga = function(t) {
2186
2185
  className: "gloss-metric-group gloss-metric-group--discrete",
2187
2186
  style: { display: "contents" },
2188
2187
  children: t.cards.map((i) => {
2189
- const s = $e(i.size);
2188
+ const s = Le(i.size);
2190
2189
  return /* @__PURE__ */ r(
2191
2190
  "div",
2192
2191
  {
@@ -2203,7 +2202,7 @@ const ga = function(t) {
2203
2202
  }
2204
2203
  );
2205
2204
  const { cards: n, composite: a } = t;
2206
- return /* @__PURE__ */ k(
2205
+ return /* @__PURE__ */ D(
2207
2206
  "div",
2208
2207
  {
2209
2208
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -2229,7 +2228,7 @@ const ga = function(t) {
2229
2228
  style: { background: a.accentColor }
2230
2229
  }
2231
2230
  ),
2232
- a?.label && /* @__PURE__ */ k("div", { className: "gloss-metric-group__label", children: [
2231
+ a?.label && /* @__PURE__ */ D("div", { className: "gloss-metric-group__label", children: [
2233
2232
  /* @__PURE__ */ r("span", { children: a.label }),
2234
2233
  a?.trend && /* @__PURE__ */ r(
2235
2234
  "span",
@@ -2247,10 +2246,10 @@ const ga = function(t) {
2247
2246
  style: {
2248
2247
  display: "grid",
2249
2248
  gap: "var(--gloss-spacing-2, 8px)",
2250
- gridTemplateColumns: ma(n)
2249
+ gridTemplateColumns: ua(n)
2251
2250
  },
2252
2251
  children: n.map((i) => {
2253
- const s = $e(i.size);
2252
+ const s = Le(i.size);
2254
2253
  return /* @__PURE__ */ r(
2255
2254
  "div",
2256
2255
  {
@@ -2270,48 +2269,48 @@ const ga = function(t) {
2270
2269
  }
2271
2270
  );
2272
2271
  };
2273
- ga.displayName = "MetricGroupContainer";
2274
- const ut = "resize.tuning.dev", pa = {
2275
- ...it,
2272
+ ma.displayName = "MetricGroupContainer";
2273
+ const dt = "resize.tuning.dev", ga = {
2274
+ ...st,
2276
2275
  snapInPx: 60,
2277
2276
  snapOutPx: 90
2278
- }, se = pa;
2279
- function fa() {
2280
- if (typeof window > "u") return { ...se };
2277
+ }, re = ga;
2278
+ function pa() {
2279
+ if (typeof window > "u") return { ...re };
2281
2280
  try {
2282
- const e = window.localStorage.getItem(ut);
2283
- if (!e) return { ...se };
2281
+ const e = window.localStorage.getItem(dt);
2282
+ if (!e) return { ...re };
2284
2283
  const t = JSON.parse(e);
2285
- return !t || typeof t != "object" || Array.isArray(t) ? { ...se } : { ...se, ...t };
2284
+ return !t || typeof t != "object" || Array.isArray(t) ? { ...re } : { ...re, ...t };
2286
2285
  } catch {
2287
- return { ...se };
2286
+ return { ...re };
2288
2287
  }
2289
2288
  }
2290
- function ha() {
2291
- const [e, t] = $(() => fa());
2292
- O(() => {
2289
+ function fa() {
2290
+ const [e, t] = B(() => pa());
2291
+ $(() => {
2293
2292
  if (!(typeof window > "u"))
2294
2293
  try {
2295
- window.localStorage.setItem(ut, JSON.stringify(e));
2294
+ window.localStorage.setItem(dt, JSON.stringify(e));
2296
2295
  } catch {
2297
2296
  }
2298
2297
  }, [e]);
2299
- const n = N(
2298
+ const n = _(
2300
2299
  (s, o) => {
2301
2300
  t((l) => ({ ...l, [s]: o }));
2302
2301
  },
2303
2302
  []
2304
- ), a = N(
2303
+ ), a = _(
2305
2304
  (s) => {
2306
- t((o) => ({ ...o, [s]: se[s] }));
2305
+ t((o) => ({ ...o, [s]: re[s] }));
2307
2306
  },
2308
2307
  []
2309
- ), i = N(() => {
2310
- t({ ...se });
2308
+ ), i = _(() => {
2309
+ t({ ...re });
2311
2310
  }, []);
2312
2311
  return { values: e, setValue: n, resetRow: a, resetAll: i };
2313
2312
  }
2314
- const ba = [
2313
+ const ha = [
2315
2314
  { key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
2316
2315
  { key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
2317
2316
  { key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
@@ -2322,11 +2321,11 @@ const ba = [
2322
2321
  { key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
2323
2322
  { key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
2324
2323
  ];
2325
- function va(e, t) {
2324
+ function ba(e, t) {
2326
2325
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2327
2326
  }
2328
- function ya() {
2329
- return /* @__PURE__ */ k(
2327
+ function va() {
2328
+ return /* @__PURE__ */ D(
2330
2329
  "svg",
2331
2330
  {
2332
2331
  width: "14",
@@ -2345,14 +2344,14 @@ function ya() {
2345
2344
  }
2346
2345
  );
2347
2346
  }
2348
- function wa({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2349
- const s = N(
2347
+ function ya({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2348
+ const s = _(
2350
2349
  (o) => {
2351
2350
  (o.key === "r" || o.key === "R") && (o.preventDefault(), a());
2352
2351
  },
2353
2352
  [a]
2354
2353
  );
2355
- return /* @__PURE__ */ k(
2354
+ return /* @__PURE__ */ D(
2356
2355
  "div",
2357
2356
  {
2358
2357
  className: `gloss-dev-tuning-panel__row${i ? " gloss-dev-tuning-panel__row--flash" : ""}`,
@@ -2360,8 +2359,8 @@ function wa({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2360
2359
  onKeyDown: s,
2361
2360
  children: [
2362
2361
  /* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2363
- /* @__PURE__ */ k("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2364
- va(t, e.step),
2362
+ /* @__PURE__ */ D("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2363
+ ba(t, e.step),
2365
2364
  e.unit ? ` ${e.unit}` : ""
2366
2365
  ] }),
2367
2366
  /* @__PURE__ */ r(
@@ -2385,14 +2384,14 @@ function wa({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2385
2384
  className: "gloss-dev-tuning-panel__reset",
2386
2385
  "aria-label": `Reset ${e.label}`,
2387
2386
  onClick: a,
2388
- children: /* @__PURE__ */ r(ya, {})
2387
+ children: /* @__PURE__ */ r(va, {})
2389
2388
  }
2390
2389
  )
2391
2390
  ]
2392
2391
  }
2393
2392
  );
2394
2393
  }
2395
- function _a() {
2394
+ function wa() {
2396
2395
  if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
2397
2396
  try {
2398
2397
  return new URLSearchParams(window.location.search).has("devtune");
@@ -2400,23 +2399,23 @@ function _a() {
2400
2399
  return !1;
2401
2400
  }
2402
2401
  }
2403
- function Na(e = {}) {
2404
- return _a() ? /* @__PURE__ */ r(Da, {}) : null;
2402
+ function _a(e = {}) {
2403
+ return wa() ? /* @__PURE__ */ r(Na, {}) : null;
2405
2404
  }
2406
- Na.displayName = "DevTuningPanel";
2407
- function Da() {
2408
- const e = ha(), { values: t, setValue: n, resetRow: a, resetAll: i } = e, [s, o] = $(null), l = E(null), m = N((u) => {
2409
- l.current && clearTimeout(l.current), o(u), l.current = setTimeout(() => {
2405
+ _a.displayName = "DevTuningPanel";
2406
+ function Na() {
2407
+ const e = fa(), { values: t, setValue: n, resetRow: a, resetAll: i } = e, [s, o] = B(null), l = I(null), m = _((d) => {
2408
+ l.current && clearTimeout(l.current), o(d), l.current = setTimeout(() => {
2410
2409
  o(null), l.current = null;
2411
2410
  }, 200);
2412
- }, []), d = N(
2413
- (u, g) => {
2414
- n(u, g), u === "snapInPx" && g > t.snapOutPx && (n("snapOutPx", g), m("snapOutPx"));
2411
+ }, []), u = _(
2412
+ (d, c) => {
2413
+ n(d, c), d === "snapInPx" && c > t.snapOutPx && (n("snapOutPx", c), m("snapOutPx"));
2415
2414
  },
2416
2415
  [n, t.snapOutPx, m]
2417
- ), h = Ne(() => ba, []), f = Mt();
2418
- return /* @__PURE__ */ k(
2419
- De.div,
2416
+ ), h = _e(() => ha, []), f = Rt();
2417
+ return /* @__PURE__ */ D(
2418
+ Ne.div,
2420
2419
  {
2421
2420
  className: "gloss-dev-tuning-panel",
2422
2421
  role: "region",
@@ -2427,27 +2426,27 @@ function Da() {
2427
2426
  dragControls: f,
2428
2427
  dragMomentum: !1,
2429
2428
  children: [
2430
- /* @__PURE__ */ k(
2429
+ /* @__PURE__ */ D(
2431
2430
  "div",
2432
2431
  {
2433
2432
  className: "gloss-dev-tuning-panel__header",
2434
- onPointerDown: (u) => f.start(u),
2433
+ onPointerDown: (d) => f.start(d),
2435
2434
  children: [
2436
2435
  /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2437
2436
  /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2438
2437
  ]
2439
2438
  }
2440
2439
  ),
2441
- /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: h.map((u) => /* @__PURE__ */ r(
2442
- wa,
2440
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: h.map((d) => /* @__PURE__ */ r(
2441
+ ya,
2443
2442
  {
2444
- spec: u,
2445
- value: t[u.key],
2446
- onChange: (g) => d(u.key, g),
2447
- onReset: () => a(u.key),
2448
- flashing: s === u.key
2443
+ spec: d,
2444
+ value: t[d.key],
2445
+ onChange: (c) => u(d.key, c),
2446
+ onReset: () => a(d.key),
2447
+ flashing: s === d.key
2449
2448
  },
2450
- u.key
2449
+ d.key
2451
2450
  )) }),
2452
2451
  /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ r(
2453
2452
  "button",
@@ -2462,7 +2461,7 @@ function Da() {
2462
2461
  }
2463
2462
  );
2464
2463
  }
2465
- function wr({
2464
+ function yr({
2466
2465
  state: e,
2467
2466
  originX: t,
2468
2467
  originY: n,
@@ -2472,30 +2471,30 @@ function wr({
2472
2471
  snapBoundariesX: o,
2473
2472
  topY: l,
2474
2473
  bottomY: m,
2475
- enterMs: d = oe.envelopeEnterMs,
2476
- exitMs: h = oe.envelopeExitMs,
2474
+ enterMs: u = ie.envelopeEnterMs,
2475
+ exitMs: h = ie.envelopeExitMs,
2477
2476
  className: f,
2478
- style: u
2477
+ style: d
2479
2478
  }) {
2480
2479
  if (e === "hidden") return null;
2481
- const g = Math.max(0, i - a), w = Math.max(0, m - l), v = {
2482
- "--gloss-resize-envelope-enter-ms": `${d}ms`,
2480
+ const c = Math.max(0, i - a), b = Math.max(0, m - l), C = {
2481
+ "--gloss-resize-envelope-enter-ms": `${u}ms`,
2483
2482
  "--gloss-resize-envelope-exit-ms": `${h}ms`,
2484
2483
  "--gloss-resize-envelope-origin-x": `${t - a}px`,
2485
2484
  "--gloss-resize-envelope-origin-y": `${n - l}px`,
2486
2485
  left: a,
2487
2486
  top: l,
2488
- width: g,
2489
- height: w,
2490
- ...u
2487
+ width: c,
2488
+ height: b,
2489
+ ...d
2491
2490
  };
2492
- return /* @__PURE__ */ k(
2491
+ return /* @__PURE__ */ D(
2493
2492
  "div",
2494
2493
  {
2495
2494
  className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, f].filter(Boolean).join(" "),
2496
2495
  "data-state": e,
2497
2496
  "data-testid": "gloss-resize-envelope",
2498
- style: v,
2497
+ style: C,
2499
2498
  "aria-hidden": "true",
2500
2499
  children: [
2501
2500
  /* @__PURE__ */ r(
@@ -2519,23 +2518,23 @@ function wr({
2519
2518
  {
2520
2519
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--right",
2521
2520
  "data-edge": "right",
2522
- style: { left: g - 1 }
2521
+ style: { left: c - 1 }
2523
2522
  }
2524
2523
  ),
2525
- o.filter((c) => c > s && c < i).map((c) => /* @__PURE__ */ r(
2524
+ o.filter((g) => g > s && g < i).map((g) => /* @__PURE__ */ r(
2526
2525
  "div",
2527
2526
  {
2528
2527
  className: "gloss-resize-envelope__snap-line",
2529
2528
  "data-snap-line": !0,
2530
- style: { left: c - a }
2529
+ style: { left: g - a }
2531
2530
  },
2532
- c
2531
+ g
2533
2532
  ))
2534
2533
  ]
2535
2534
  }
2536
2535
  );
2537
2536
  }
2538
- function _r({
2537
+ function wr({
2539
2538
  density: e,
2540
2539
  canAccept: t,
2541
2540
  blocked: n = !1,
@@ -2546,12 +2545,12 @@ function _r({
2546
2545
  children: l,
2547
2546
  ...m
2548
2547
  }) {
2549
- const d = a != null ? { ...m.style, "--_proximity-opacity": String(a) } : m.style;
2548
+ const u = a != null ? { ...m.style, "--_proximity-opacity": String(a) } : m.style;
2550
2549
  return /* @__PURE__ */ r(
2551
2550
  "div",
2552
2551
  {
2553
2552
  ...m,
2554
- style: d,
2553
+ style: u,
2555
2554
  "data-density": e,
2556
2555
  "data-can-accept": t ? "true" : "false",
2557
2556
  "data-blocked": n ? "true" : void 0,
@@ -2568,14 +2567,14 @@ function _r({
2568
2567
  }
2569
2568
  );
2570
2569
  }
2571
- function ka(e, t, n, a) {
2570
+ function Da(e, t, n, a) {
2572
2571
  const i = (e + n) / 2, s = Math.min(t, a) - 40;
2573
2572
  return `M${e},${t} Q${i},${s} ${n},${a}`;
2574
2573
  }
2575
- function Nr({
2574
+ function _r({
2576
2575
  segments: e,
2577
- durationMs: t = oe.spilloverArcDurationMs,
2578
- staggerMs: n = oe.spilloverStaggerMs,
2576
+ durationMs: t = ie.spilloverArcDurationMs,
2577
+ staggerMs: n = ie.spilloverStaggerMs,
2579
2578
  className: a,
2580
2579
  style: i
2581
2580
  }) {
@@ -2592,7 +2591,7 @@ function Nr({
2592
2591
  {
2593
2592
  "data-arc-id": s.id,
2594
2593
  className: "gloss-spillover-arc__path",
2595
- d: ka(s.fromX, s.fromY, s.toX, s.toY),
2594
+ d: Da(s.fromX, s.fromY, s.toX, s.toY),
2596
2595
  style: {
2597
2596
  animationDelay: `${o * n}ms`,
2598
2597
  animationDuration: `${t}ms`
@@ -2603,18 +2602,18 @@ function Nr({
2603
2602
  }
2604
2603
  );
2605
2604
  }
2606
- function Dr({
2605
+ function Nr({
2607
2606
  state: e,
2608
2607
  staggerIndex: t = 0,
2609
- fadeInMs: n = oe.sectionDividerFadeInMs,
2610
- fadeOutMs: a = oe.sectionDividerFadeOutMs,
2611
- staggerMs: i = oe.sectionDividerStaggerMs,
2608
+ fadeInMs: n = ie.sectionDividerFadeInMs,
2609
+ fadeOutMs: a = ie.sectionDividerFadeOutMs,
2610
+ staggerMs: i = ie.sectionDividerStaggerMs,
2612
2611
  variant: s = "dashed",
2613
2612
  className: o,
2614
2613
  style: l,
2615
2614
  ...m
2616
2615
  }) {
2617
- const d = {
2616
+ const u = {
2618
2617
  "--gloss-section-divider-fade-in-ms": `${n}ms`,
2619
2618
  "--gloss-section-divider-fade-out-ms": `${a}ms`,
2620
2619
  "--gloss-section-divider-stagger-delay": `${t * i}ms`,
@@ -2633,11 +2632,11 @@ function Dr({
2633
2632
  s === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
2634
2633
  o
2635
2634
  ].filter(Boolean).join(" "),
2636
- style: d
2635
+ style: u
2637
2636
  }
2638
2637
  );
2639
2638
  }
2640
- function kr({
2639
+ function Dr({
2641
2640
  enabled: e,
2642
2641
  onCollapse: t,
2643
2642
  onAdd: n,
@@ -2648,27 +2647,27 @@ function kr({
2648
2647
  onPack: l,
2649
2648
  ariaLabel: m
2650
2649
  }) {
2651
- const d = a ?? "Add card to this cell", h = i ?? m ?? "Pack row — shift cards left", f = t ?? l, { affordancesVisible: u } = rt();
2652
- return /* @__PURE__ */ k(X.Fragment, { children: [
2653
- /* @__PURE__ */ r(Oe, { visible: u, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2650
+ const u = a ?? "Add card to this cell", h = i ?? m ?? "Pack row — shift cards left", f = t ?? l, { affordancesVisible: d } = nt();
2651
+ return /* @__PURE__ */ D(Q.Fragment, { children: [
2652
+ /* @__PURE__ */ r(Ae, { visible: d, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2654
2653
  "button",
2655
2654
  {
2656
2655
  type: "button",
2657
2656
  "data-testid": "gloss-empty-cell-add",
2658
- "aria-label": d,
2657
+ "aria-label": u,
2659
2658
  className: [
2660
2659
  "gloss-empty-cell-pack-affordance",
2661
2660
  "gloss-empty-cell-pack-affordance--add",
2662
2661
  s
2663
2662
  ].filter(Boolean).join(" "),
2664
2663
  style: o,
2665
- onClick: (g) => {
2666
- g.stopPropagation(), n?.();
2664
+ onClick: (c) => {
2665
+ c.stopPropagation(), n?.();
2667
2666
  },
2668
2667
  children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "+" })
2669
2668
  }
2670
2669
  ) }),
2671
- /* @__PURE__ */ r(Oe, { visible: e && u, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2670
+ /* @__PURE__ */ r(Ae, { visible: e && d, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2672
2671
  "button",
2673
2672
  {
2674
2673
  type: "button",
@@ -2676,15 +2675,15 @@ function kr({
2676
2675
  "aria-label": h,
2677
2676
  className: ["gloss-empty-cell-pack-affordance", s].filter(Boolean).join(" "),
2678
2677
  style: o,
2679
- onClick: (g) => {
2680
- g.stopPropagation(), f?.();
2678
+ onClick: (c) => {
2679
+ c.stopPropagation(), f?.();
2681
2680
  },
2682
2681
  children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2683
2682
  }
2684
2683
  ) })
2685
2684
  ] });
2686
2685
  }
2687
- function Cr({
2686
+ function kr({
2688
2687
  tint: e,
2689
2688
  colSpan: t,
2690
2689
  colWidth: n,
@@ -2695,8 +2694,8 @@ function Cr({
2695
2694
  children: l,
2696
2695
  className: m
2697
2696
  }) {
2698
- const d = t * n + (t - 1) * i, h = X.useRef(null);
2699
- return Fe("drag-ghost", () => {
2697
+ const u = t * n + (t - 1) * i, h = Q.useRef(null);
2698
+ return Pe("drag-ghost", () => {
2700
2699
  if (process.env.NODE_ENV === "production")
2701
2700
  return { values: {}, spec: null, state: "idle", t: performance.now() };
2702
2701
  const f = h.current?.getBoundingClientRect() ?? null;
@@ -2713,41 +2712,41 @@ function Cr({
2713
2712
  spec: {
2714
2713
  tint: e,
2715
2714
  colSpan: t,
2716
- springStiffness: ce.springStiffness,
2717
- springDamping: ce.springDamping
2715
+ springStiffness: le.springStiffness,
2716
+ springDamping: le.springDamping
2718
2717
  },
2719
2718
  state: "active",
2720
2719
  t: performance.now()
2721
2720
  };
2722
- }), Fe("commit-ghost-singleton", () => {
2721
+ }), Pe("commit-ghost-singleton", () => {
2723
2722
  if (process.env.NODE_ENV === "production")
2724
2723
  return { values: {}, spec: null, state: "idle", t: performance.now() };
2725
2724
  const f = h.current;
2726
- let u = 0, g = "", w = "", v = "";
2725
+ let d = 0, c = "", b = "", C = "";
2727
2726
  if (f)
2728
2727
  try {
2729
- const I = window.getComputedStyle(f), D = I.outline || "", M = I.border || "", T = I.boxShadow || "", p = !!D && D !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(D), b = !!M && M !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(M), _ = !!T && T !== "none";
2730
- u = p || b || _ ? 1 : 0, g = p ? D : "", w = b ? M : "", v = _ ? T : "";
2728
+ const T = window.getComputedStyle(f), N = T.outline || "", R = T.border || "", M = T.boxShadow || "", p = !!N && N !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(N), v = !!R && R !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(R), w = !!M && M !== "none";
2729
+ d = p || v || w ? 1 : 0, c = p ? N : "", b = v ? R : "", C = w ? M : "";
2731
2730
  } catch {
2732
2731
  }
2733
- const c = f?.getBoundingClientRect() ?? null, x = f ? "drag-clone" : "subsumed-by-tracking-outline";
2732
+ const g = f?.getBoundingClientRect() ?? null, x = f ? "drag-clone" : "subsumed-by-tracking-outline";
2734
2733
  return {
2735
2734
  values: {
2736
2735
  x: s.get(),
2737
2736
  y: o.get(),
2738
- bounds_x: c?.x ?? 0,
2739
- bounds_y: c?.y ?? 0,
2740
- bounds_w: c?.width ?? 0,
2741
- bounds_h: c?.height ?? 0,
2737
+ bounds_x: g?.x ?? 0,
2738
+ bounds_y: g?.y ?? 0,
2739
+ bounds_w: g?.width ?? 0,
2740
+ bounds_h: g?.height ?? 0,
2742
2741
  visible: f ? 1 : 0,
2743
- outlineOnClone: u
2742
+ outlineOnClone: d
2744
2743
  },
2745
2744
  spec: {
2746
2745
  mode: x,
2747
2746
  tint: e,
2748
- outlineSrc: g,
2749
- borderSrc: w,
2750
- boxShadowSrc: v
2747
+ outlineSrc: c,
2748
+ borderSrc: b,
2749
+ boxShadowSrc: C
2751
2750
  // D-01 contract: Frame 1 (current/buggy) shows outline-on-clone=true;
2752
2751
  // Frame 2 (decided): outline-on-clone=false (subsumed by tracking
2753
2752
  // outline). Wave 2 audit-D-01 reads this field across drag mid-flight
@@ -2757,7 +2756,7 @@ function Cr({
2757
2756
  t: performance.now()
2758
2757
  };
2759
2758
  }), /* @__PURE__ */ r(
2760
- De.div,
2759
+ Ne.div,
2761
2760
  {
2762
2761
  ref: h,
2763
2762
  "data-testid": "gloss-drag-ghost",
@@ -2768,13 +2767,13 @@ function Cr({
2768
2767
  `gloss-drag-ghost--tint-${e}`,
2769
2768
  m
2770
2769
  ].filter(Boolean).join(" "),
2771
- style: { x: s, y: o, width: d, height: a },
2770
+ style: { x: s, y: o, width: u, height: a },
2772
2771
  children: l
2773
2772
  }
2774
2773
  );
2775
2774
  }
2776
- const Ca = 3;
2777
- function mt({
2775
+ const ka = 3;
2776
+ function ut({
2778
2777
  gesture: e,
2779
2778
  cell: t,
2780
2779
  colSpan: n,
@@ -2784,9 +2783,9 @@ function mt({
2784
2783
  pattern: o = "solid",
2785
2784
  transitionMs: l = 120,
2786
2785
  className: m,
2787
- motionWidth: d
2786
+ motionWidth: u
2788
2787
  }) {
2789
- const h = n * a + (n - 1) * i, u = (t.section * Ca + t.col) * (a + i), g = t.row * (s + i), w = e === "resize" ? 2.5 : 2, v = o === "dashed-retreated" ? "dashed" : "solid", c = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", x = {
2788
+ const h = n * a + (n - 1) * i, d = (t.section * ka + t.col) * (a + i), c = t.row * (s + i), b = e === "resize" ? 2.5 : 2, C = o === "dashed-retreated" ? "dashed" : "solid", g = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", x = {
2790
2789
  className: [
2791
2790
  "gloss-tracking-outline",
2792
2791
  `gloss-tracking-outline--${e}`,
@@ -2796,22 +2795,22 @@ function mt({
2796
2795
  e === "drag" ? "gloss-drag-feedback-snap-outline" : null,
2797
2796
  m
2798
2797
  ].filter(Boolean).join(" "),
2799
- "data-testid": c,
2798
+ "data-testid": g,
2800
2799
  "data-tracking-outline": "",
2801
2800
  "data-gesture": e,
2802
2801
  "data-pattern": o,
2803
2802
  "aria-hidden": "true"
2804
2803
  };
2805
- return d ? /* @__PURE__ */ r(
2806
- De.div,
2804
+ return u ? /* @__PURE__ */ r(
2805
+ Ne.div,
2807
2806
  {
2808
2807
  ...x,
2809
2808
  style: {
2810
- transform: `translate(${u}px, ${g}px)`,
2811
- width: d,
2809
+ transform: `translate(${d}px, ${c}px)`,
2810
+ width: u,
2812
2811
  height: s,
2813
- borderWidth: w,
2814
- borderStyle: v
2812
+ borderWidth: b,
2813
+ borderStyle: C
2815
2814
  }
2816
2815
  }
2817
2816
  ) : /* @__PURE__ */ r(
@@ -2819,34 +2818,34 @@ function mt({
2819
2818
  {
2820
2819
  ...x,
2821
2820
  style: {
2822
- transform: `translate(${u}px, ${g}px)`,
2821
+ transform: `translate(${d}px, ${c}px)`,
2823
2822
  width: h,
2824
2823
  height: s,
2825
- borderWidth: w,
2826
- borderStyle: v,
2824
+ borderWidth: b,
2825
+ borderStyle: C,
2827
2826
  transition: `transform ${l}ms cubic-bezier(0.4, 0, 0.2, 1)`
2828
2827
  }
2829
2828
  }
2830
2829
  );
2831
2830
  }
2832
- function Sr(e) {
2833
- return /* @__PURE__ */ r(mt, { gesture: "drag", pattern: "solid", ...e });
2831
+ function Cr(e) {
2832
+ return /* @__PURE__ */ r(ut, { gesture: "drag", pattern: "solid", ...e });
2834
2833
  }
2835
- function xr({
2834
+ function Sr({
2836
2835
  items: e,
2837
2836
  children: t,
2838
2837
  className: n,
2839
2838
  debugMagenta: a
2840
2839
  }) {
2841
- const i = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), s = X.useRef(e);
2842
- return s.current = e, Fe("cascade-preview", () => {
2840
+ const i = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), s = Q.useRef(e);
2841
+ return s.current = e, Pe("cascade-preview", () => {
2843
2842
  if (process.env.NODE_ENV === "production")
2844
2843
  return { values: {}, spec: null, state: "idle", t: performance.now() };
2845
2844
  const o = s.current;
2846
- let l = 0, m = 0, d = 0, h = 0;
2845
+ let l = 0, m = 0, u = 0, h = 0;
2847
2846
  for (const f of o) {
2848
- const u = f.x.get(), g = f.y.get();
2849
- Math.abs(u) > Math.abs(d) && (d = u, l = u), Math.abs(g) > Math.abs(h) && (h = g, m = g);
2847
+ const d = f.x.get(), c = f.y.get();
2848
+ Math.abs(d) > Math.abs(u) && (u = d, l = d), Math.abs(c) > Math.abs(h) && (h = c, m = c);
2850
2849
  }
2851
2850
  return {
2852
2851
  values: {
@@ -2856,16 +2855,16 @@ function xr({
2856
2855
  visible: o.length > 0 ? 1 : 0
2857
2856
  },
2858
2857
  spec: {
2859
- forwardStaggerMs: ce.forwardStaggerMs,
2860
- reverseStaggerMs: ce.reverseStaggerMs,
2861
- springStiffness: ce.springStiffness,
2862
- springDamping: ce.springDamping
2858
+ forwardStaggerMs: le.forwardStaggerMs,
2859
+ reverseStaggerMs: le.reverseStaggerMs,
2860
+ springStiffness: le.springStiffness,
2861
+ springDamping: le.springDamping
2863
2862
  },
2864
2863
  state: o.length > 0 ? "active" : "idle",
2865
2864
  t: performance.now()
2866
2865
  };
2867
- }), e.length === 0 ? null : /* @__PURE__ */ r(ae, { children: e.map((o) => /* @__PURE__ */ r(
2868
- De.div,
2866
+ }), e.length === 0 ? null : /* @__PURE__ */ r(te, { children: e.map((o) => /* @__PURE__ */ r(
2867
+ Ne.div,
2869
2868
  {
2870
2869
  "data-card-id": o.cardId,
2871
2870
  "data-testid": "gloss-cascade-preview-item",
@@ -2886,27 +2885,27 @@ function xr({
2886
2885
  o.cardId
2887
2886
  )) });
2888
2887
  }
2889
- const Sa = ({
2888
+ const Ca = ({
2890
2889
  consumed: e,
2891
2890
  elapsed: t,
2892
2891
  severity: n = "neutral"
2893
2892
  }) => {
2894
- const a = E(null), i = E(null);
2895
- O(() => {
2896
- const l = Math.min(100, Math.max(0, e.value)), m = Math.min(100, Math.max(0, t.value)), d = requestAnimationFrame(() => {
2893
+ const a = I(null), i = I(null);
2894
+ $(() => {
2895
+ const l = Math.min(100, Math.max(0, e.value)), m = Math.min(100, Math.max(0, t.value)), u = requestAnimationFrame(() => {
2897
2896
  a.current && (a.current.style.width = `${l}%`), i.current && (i.current.style.width = `${m}%`);
2898
2897
  });
2899
- return () => cancelAnimationFrame(d);
2898
+ return () => cancelAnimationFrame(u);
2900
2899
  }, [e.value, t.value]);
2901
2900
  const s = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
2902
- return /* @__PURE__ */ k(
2901
+ return /* @__PURE__ */ D(
2903
2902
  "div",
2904
2903
  {
2905
2904
  className: "gloss-dual-pace-bars",
2906
2905
  role: "img",
2907
2906
  "aria-label": `${s}: ${e.value}%, ${o}: ${t.value}%`,
2908
2907
  children: [
2909
- /* @__PURE__ */ k("div", { className: "gloss-dual-pace-bars__row", children: [
2908
+ /* @__PURE__ */ D("div", { className: "gloss-dual-pace-bars__row", children: [
2910
2909
  /* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: s }),
2911
2910
  /* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
2912
2911
  "div",
@@ -2921,12 +2920,12 @@ const Sa = ({
2921
2920
  "aria-label": `${s}: ${e.value}%`
2922
2921
  }
2923
2922
  ) }),
2924
- /* @__PURE__ */ k("span", { className: "gloss-dual-pace-bars__track-value", children: [
2923
+ /* @__PURE__ */ D("span", { className: "gloss-dual-pace-bars__track-value", children: [
2925
2924
  e.value,
2926
2925
  "%"
2927
2926
  ] })
2928
2927
  ] }),
2929
- /* @__PURE__ */ k("div", { className: "gloss-dual-pace-bars__row", children: [
2928
+ /* @__PURE__ */ D("div", { className: "gloss-dual-pace-bars__row", children: [
2930
2929
  /* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: o }),
2931
2930
  /* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
2932
2931
  "div",
@@ -2941,7 +2940,7 @@ const Sa = ({
2941
2940
  "aria-label": `${o}: ${t.value}%`
2942
2941
  }
2943
2942
  ) }),
2944
- /* @__PURE__ */ k("span", { className: "gloss-dual-pace-bars__track-value", children: [
2943
+ /* @__PURE__ */ D("span", { className: "gloss-dual-pace-bars__track-value", children: [
2945
2944
  t.value,
2946
2945
  "%"
2947
2946
  ] })
@@ -2949,22 +2948,22 @@ const Sa = ({
2949
2948
  ]
2950
2949
  }
2951
2950
  );
2952
- }, xa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ k(
2951
+ }, Sa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ D(
2953
2952
  "div",
2954
2953
  {
2955
2954
  className: `gloss-gap-readout gloss-gap-readout--${n}`,
2956
2955
  "aria-label": `${e}: ${t}`,
2957
2956
  children: [
2958
2957
  /* @__PURE__ */ r("hr", { className: "gloss-gap-readout__separator" }),
2959
- /* @__PURE__ */ k("div", { className: "gloss-gap-readout__strip", children: [
2958
+ /* @__PURE__ */ D("div", { className: "gloss-gap-readout__strip", children: [
2960
2959
  /* @__PURE__ */ r("span", { className: "gloss-gap-readout__label", children: e }),
2961
2960
  /* @__PURE__ */ r("span", { className: "gloss-gap-readout__value", children: t })
2962
2961
  ] })
2963
2962
  ]
2964
2963
  }
2965
- ), Ra = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ k("div", { className: "gloss-pace-placeholder", children: [
2964
+ ), xa = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2966
2965
  /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2967
- /* @__PURE__ */ k("p", { className: "gloss-pace-placeholder__context", children: [
2966
+ /* @__PURE__ */ D("p", { className: "gloss-pace-placeholder__context", children: [
2968
2967
  "for ",
2969
2968
  e
2970
2969
  ] }),
@@ -2978,9 +2977,9 @@ const Sa = ({
2978
2977
  children: "Set target"
2979
2978
  }
2980
2979
  )
2981
- ] }), Rr = (e) => {
2982
- const [t, n] = $(!1), a = e.target?.value, i = a !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
2983
- $t,
2980
+ ] }), xr = (e) => {
2981
+ const [t, n] = B(!1), a = e.target?.value, i = a !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
2982
+ Lt,
2984
2983
  {
2985
2984
  label: `Set a target for ${e.label}`,
2986
2985
  unit: s,
@@ -2994,7 +2993,7 @@ const Sa = ({
2994
2993
  }
2995
2994
  );
2996
2995
  return /* @__PURE__ */ r(
2997
- Dt,
2996
+ Nt,
2998
2997
  {
2999
2998
  colSpan: 2,
3000
2999
  enableQuickSettings: !0,
@@ -3002,21 +3001,21 @@ const Sa = ({
3002
3001
  onFlipChange: n,
3003
3002
  quickConfigSlot: o,
3004
3003
  onRemove: e.onRemove,
3005
- children: /* @__PURE__ */ k("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
3004
+ children: /* @__PURE__ */ D("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
3006
3005
  /* @__PURE__ */ r("div", { className: "gloss-pace-card__label", children: e.label }),
3007
3006
  e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
3008
- /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: i ? /* @__PURE__ */ k(ae, { children: [
3007
+ /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: i ? /* @__PURE__ */ D(te, { children: [
3009
3008
  /* @__PURE__ */ r(
3010
- Sa,
3009
+ Ca,
3011
3010
  {
3012
3011
  consumed: e.consumed,
3013
3012
  elapsed: e.elapsed,
3014
3013
  severity: e.severity
3015
3014
  }
3016
3015
  ),
3017
- /* @__PURE__ */ r(xa, { label: "Gap", value: e.gapLabel, severity: e.severity })
3016
+ /* @__PURE__ */ r(Sa, { label: "Gap", value: e.gapLabel, severity: e.severity })
3018
3017
  ] }) : /* @__PURE__ */ r(
3019
- Ra,
3018
+ xa,
3020
3019
  {
3021
3020
  label: e.label,
3022
3021
  onSetTarget: () => n(!0)
@@ -3025,7 +3024,7 @@ const Sa = ({
3025
3024
  ] })
3026
3025
  }
3027
3026
  );
3028
- }, Mr = () => /* @__PURE__ */ k("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
3027
+ }, Rr = () => /* @__PURE__ */ D("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
3029
3028
  /* @__PURE__ */ r(
3030
3029
  "div",
3031
3030
  {
@@ -3042,7 +3041,7 @@ const Sa = ({
3042
3041
  ),
3043
3042
  /* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
3044
3043
  ] });
3045
- function Ma({ id: e, label: t, selected: n, focused: a, disabled: i, badge: s, onClick: o }) {
3044
+ function Ra({ id: e, label: t, selected: n, focused: a, disabled: i, badge: s, onClick: o }) {
3046
3045
  return /* @__PURE__ */ r(
3047
3046
  "span",
3048
3047
  {
@@ -3056,23 +3055,23 @@ function Ma({ id: e, label: t, selected: n, focused: a, disabled: i, badge: s, o
3056
3055
  onClick: () => {
3057
3056
  i || o(e);
3058
3057
  },
3059
- children: /* @__PURE__ */ k("span", { className: "gloss-lens-chip__inner", children: [
3058
+ children: /* @__PURE__ */ D("span", { className: "gloss-lens-chip__inner", children: [
3060
3059
  /* @__PURE__ */ r("span", { className: "gloss-lens-chip__label", children: t }),
3061
3060
  s && /* @__PURE__ */ r("span", { className: "gloss-lens-chip__badge", children: s })
3062
3061
  ] })
3063
3062
  }
3064
3063
  );
3065
3064
  }
3066
- function Ta({
3065
+ function Ma({
3067
3066
  lenses: e,
3068
3067
  value: t,
3069
3068
  onChange: n,
3070
3069
  "aria-label": a = "Lens"
3071
3070
  }) {
3072
- const [i, s] = $(
3071
+ const [i, s] = B(
3073
3072
  () => Math.max(0, e.findIndex((l) => l.id === t))
3074
3073
  );
3075
- return O(() => {
3074
+ return $(() => {
3076
3075
  const l = e.findIndex((m) => m.id === t);
3077
3076
  s(l >= 0 ? l : 0);
3078
3077
  }, [t, e]), e.length === 0 ? null : /* @__PURE__ */ r(
@@ -3107,7 +3106,7 @@ function Ta({
3107
3106
  },
3108
3107
  className: "gloss-lens-chip-group",
3109
3108
  children: e.map((l, m) => /* @__PURE__ */ r(
3110
- Ma,
3109
+ Ra,
3111
3110
  {
3112
3111
  id: l.id,
3113
3112
  label: l.label,
@@ -3122,26 +3121,26 @@ function Ta({
3122
3121
  }
3123
3122
  );
3124
3123
  }
3125
- Ta.displayName = "LensChipGroup";
3126
- function Ia({ heading: e, children: t }) {
3127
- return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ k("section", { className: "gloss-starter-rail", "aria-label": e, children: [
3124
+ Ma.displayName = "LensChipGroup";
3125
+ function Ta({ heading: e, children: t }) {
3126
+ return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ D("section", { className: "gloss-starter-rail", "aria-label": e, children: [
3128
3127
  /* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
3129
3128
  /* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
3130
3129
  ] });
3131
3130
  }
3132
- Ia.displayName = "StarterRail";
3133
- function Ea({ heading: e, children: t, emptyStateLabel: n }) {
3131
+ Ta.displayName = "StarterRail";
3132
+ function Ia({ heading: e, children: t, emptyStateLabel: n }) {
3134
3133
  const a = !t || Array.isArray(t) && t.length === 0;
3135
- return /* @__PURE__ */ k("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
3134
+ return /* @__PURE__ */ D("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
3136
3135
  /* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
3137
- /* @__PURE__ */ k("div", { className: "gloss-more-in-lens-rail__tiles", children: [
3136
+ /* @__PURE__ */ D("div", { className: "gloss-more-in-lens-rail__tiles", children: [
3138
3137
  t,
3139
3138
  a && n && /* @__PURE__ */ r("p", { className: "gloss-more-in-lens-rail__empty", children: n })
3140
3139
  ] })
3141
3140
  ] });
3142
3141
  }
3143
- Ea.displayName = "MoreInLensRail";
3144
- function J({
3142
+ Ia.displayName = "MoreInLensRail";
3143
+ function X({
3145
3144
  lead: e,
3146
3145
  name: t,
3147
3146
  secondary: n,
@@ -3152,19 +3151,19 @@ function J({
3152
3151
  className: l,
3153
3152
  style: m
3154
3153
  }) {
3155
- const d = [
3154
+ const u = [
3156
3155
  "gloss-entity-row",
3157
3156
  `gloss-entity-row--${s}`,
3158
3157
  o ? "gloss-entity-row--clickable" : "",
3159
3158
  l ?? ""
3160
- ].filter(Boolean).join(" "), h = /* @__PURE__ */ k(ae, { children: [
3159
+ ].filter(Boolean).join(" "), h = /* @__PURE__ */ D(te, { children: [
3161
3160
  e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
3162
3161
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
3163
3162
  n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
3164
3163
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
3165
3164
  i !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: i })
3166
3165
  ] });
3167
- return o ? /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: /* @__PURE__ */ r(
3166
+ return o ? /* @__PURE__ */ r("div", { role: "listitem", className: u, style: m, children: /* @__PURE__ */ r(
3168
3167
  "button",
3169
3168
  {
3170
3169
  type: "button",
@@ -3181,10 +3180,10 @@ function J({
3181
3180
  },
3182
3181
  children: h
3183
3182
  }
3184
- ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: h });
3183
+ ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: u, style: m, children: h });
3185
3184
  }
3186
- J.displayName = "EntityRow";
3187
- const ye = ({ rank: e }) => {
3185
+ X.displayName = "EntityRow";
3186
+ const ve = ({ rank: e }) => {
3188
3187
  const t = e === 1 ? "first" : "other";
3189
3188
  return /* @__PURE__ */ r(
3190
3189
  "span",
@@ -3196,8 +3195,8 @@ const ye = ({ rank: e }) => {
3196
3195
  }
3197
3196
  );
3198
3197
  };
3199
- ye.displayName = "RankBadge";
3200
- function we({ severity: e, "aria-label": t }) {
3198
+ ve.displayName = "RankBadge";
3199
+ function ye({ severity: e, "aria-label": t }) {
3201
3200
  return /* @__PURE__ */ r(
3202
3201
  "span",
3203
3202
  {
@@ -3207,8 +3206,8 @@ function we({ severity: e, "aria-label": t }) {
3207
3206
  }
3208
3207
  );
3209
3208
  }
3210
- we.displayName = "SeverityDot";
3211
- function gt({
3209
+ ye.displayName = "SeverityDot";
3210
+ function mt({
3212
3211
  delta: e,
3213
3212
  direction: t = "flat",
3214
3213
  "aria-label": n
@@ -3224,7 +3223,7 @@ function gt({
3224
3223
  }
3225
3224
  );
3226
3225
  const a = t === "up" ? "▲" : t === "down" ? "▼" : "—";
3227
- return /* @__PURE__ */ k(
3226
+ return /* @__PURE__ */ D(
3228
3227
  "span",
3229
3228
  {
3230
3229
  role: "img",
@@ -3237,8 +3236,8 @@ function gt({
3237
3236
  }
3238
3237
  );
3239
3238
  }
3240
- gt.displayName = "RankDelta";
3241
- function _e({ fill: e, variant: t = "default", className: n }) {
3239
+ mt.displayName = "RankDelta";
3240
+ function we({ fill: e, variant: t = "default", className: n }) {
3242
3241
  const a = Math.max(0, Math.min(100, e));
3243
3242
  return /* @__PURE__ */ r(
3244
3243
  "div",
@@ -3254,9 +3253,9 @@ function _e({ fill: e, variant: t = "default", className: n }) {
3254
3253
  }
3255
3254
  );
3256
3255
  }
3257
- _e.displayName = "MagnitudeBar";
3258
- const Pa = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3259
- function Fa({
3256
+ we.displayName = "MagnitudeBar";
3257
+ const Ea = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3258
+ function Pa({
3260
3259
  label: e,
3261
3260
  rows: t,
3262
3261
  rowCount: n,
@@ -3264,27 +3263,27 @@ function Fa({
3264
3263
  isStale: i
3265
3264
  }) {
3266
3265
  const s = n ?? 3;
3267
- return /* @__PURE__ */ k(ae, { children: [
3266
+ return /* @__PURE__ */ D(te, { children: [
3268
3267
  /* @__PURE__ */ r(
3269
- be,
3268
+ he,
3270
3269
  {
3271
3270
  className: "gloss-metric-card__zone-a",
3272
3271
  style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3273
- children: /* @__PURE__ */ r(Pe, { className: "gloss-metric-card__label", children: e })
3272
+ children: /* @__PURE__ */ r(Ee, { className: "gloss-metric-card__label", children: e })
3274
3273
  }
3275
3274
  ),
3276
3275
  /* @__PURE__ */ r(
3277
- be,
3276
+ he,
3278
3277
  {
3279
3278
  className: `gloss-metric-card__zone-b gloss-leaderboard ${i ? "gloss-metric-data-stale" : ""}`,
3280
3279
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3281
3280
  children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, s).map((o, l) => /* @__PURE__ */ r(
3282
- J,
3281
+ X,
3283
3282
  {
3284
- lead: /* @__PURE__ */ r(ye, { rank: l + 1 }),
3283
+ lead: /* @__PURE__ */ r(ve, { rank: l + 1 }),
3285
3284
  name: o.name,
3286
3285
  secondary: /* @__PURE__ */ r(
3287
- _e,
3286
+ we,
3288
3287
  {
3289
3288
  fill: o.magnitude,
3290
3289
  variant: o.isBottom ? "bottom" : "default"
@@ -3292,11 +3291,11 @@ function Fa({
3292
3291
  ),
3293
3292
  value: o.value,
3294
3293
  trail: /* @__PURE__ */ r(
3295
- gt,
3294
+ mt,
3296
3295
  {
3297
3296
  delta: o.rankDelta,
3298
3297
  direction: o.direction,
3299
- "aria-label": Pa(o)
3298
+ "aria-label": Ea(o)
3300
3299
  }
3301
3300
  ),
3302
3301
  variant: "leaderboard",
@@ -3306,28 +3305,28 @@ function Fa({
3306
3305
  )) })
3307
3306
  }
3308
3307
  ),
3309
- /* @__PURE__ */ k("div", { className: "gloss-leaderboard__zone-c", children: [
3308
+ /* @__PURE__ */ D("div", { className: "gloss-leaderboard__zone-c", children: [
3310
3309
  a ?? "WoW",
3311
3310
  " rank change"
3312
3311
  ] })
3313
3312
  ] });
3314
3313
  }
3315
- Fa.displayName = "LeaderboardCard";
3316
- const Aa = () => /* @__PURE__ */ k(
3314
+ Pa.displayName = "LeaderboardCard";
3315
+ const Fa = () => /* @__PURE__ */ D(
3317
3316
  "div",
3318
3317
  {
3319
3318
  className: "leaderboard-tile-preview",
3320
3319
  "aria-hidden": "true",
3321
3320
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3322
3321
  children: [
3323
- /* @__PURE__ */ r(J, { lead: /* @__PURE__ */ r(ye, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(_e, { fill: 96 }), value: "98%" }),
3324
- /* @__PURE__ */ r(J, { lead: /* @__PURE__ */ r(ye, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(_e, { fill: 72 }), value: "85%" }),
3325
- /* @__PURE__ */ r(J, { lead: /* @__PURE__ */ r(ye, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(_e, { fill: 48 }), value: "71%" })
3322
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(ve, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(we, { fill: 96 }), value: "98%" }),
3323
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(ve, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(we, { fill: 72 }), value: "85%" }),
3324
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(ve, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(we, { fill: 48 }), value: "71%" })
3326
3325
  ]
3327
3326
  }
3328
3327
  );
3329
- Aa.displayName = "LeaderboardTilePreview";
3330
- const Oa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", La = (e, t) => {
3328
+ Fa.displayName = "LeaderboardTilePreview";
3329
+ const Aa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", Oa = (e, t) => {
3331
3330
  const n = e.sourceValue;
3332
3331
  if (typeof n != "number") return !1;
3333
3332
  switch (t.condition) {
@@ -3345,7 +3344,7 @@ const Oa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warni
3345
3344
  return !1;
3346
3345
  }
3347
3346
  };
3348
- function $a({
3347
+ function La({
3349
3348
  label: e,
3350
3349
  rows: t,
3351
3350
  rule: n,
@@ -3354,50 +3353,50 @@ function $a({
3354
3353
  ruleSubtitle: s,
3355
3354
  isStale: o
3356
3355
  }) {
3357
- const l = t.filter((d) => La(d, n)), m = l.slice(0, a ?? 3);
3358
- return l.length === 0 ? /* @__PURE__ */ k(ae, { children: [
3356
+ const l = t.filter((u) => Oa(u, n)), m = l.slice(0, a ?? 3);
3357
+ return l.length === 0 ? /* @__PURE__ */ D(te, { children: [
3359
3358
  /* @__PURE__ */ r(
3360
- be,
3359
+ he,
3361
3360
  {
3362
3361
  className: "gloss-metric-card__zone-a",
3363
3362
  style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3364
- children: /* @__PURE__ */ r(Pe, { className: "gloss-metric-card__label", children: e })
3363
+ children: /* @__PURE__ */ r(Ee, { className: "gloss-metric-card__label", children: e })
3365
3364
  }
3366
3365
  ),
3367
3366
  /* @__PURE__ */ r("div", { className: "gloss-exception-list__empty", role: "status", children: i ?? "No exceptions" }),
3368
3367
  s && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: s })
3369
- ] }) : /* @__PURE__ */ k(ae, { children: [
3368
+ ] }) : /* @__PURE__ */ D(te, { children: [
3370
3369
  /* @__PURE__ */ r(
3371
- be,
3370
+ he,
3372
3371
  {
3373
3372
  className: "gloss-metric-card__zone-a",
3374
3373
  style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3375
- children: /* @__PURE__ */ r(Pe, { className: "gloss-metric-card__label", children: e })
3374
+ children: /* @__PURE__ */ r(Ee, { className: "gloss-metric-card__label", children: e })
3376
3375
  }
3377
3376
  ),
3378
3377
  /* @__PURE__ */ r(
3379
- be,
3378
+ he,
3380
3379
  {
3381
3380
  className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
3382
3381
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3383
- children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((d, h) => /* @__PURE__ */ r(
3384
- J,
3382
+ children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((u, h) => /* @__PURE__ */ r(
3383
+ X,
3385
3384
  {
3386
- lead: /* @__PURE__ */ r(we, { severity: d.severity, "aria-label": Oa(d.severity) }),
3387
- name: d.name,
3388
- value: d.value,
3385
+ lead: /* @__PURE__ */ r(ye, { severity: u.severity, "aria-label": Aa(u.severity) }),
3386
+ name: u.name,
3387
+ value: u.value,
3389
3388
  variant: "exception",
3390
3389
  style: { "--i": h }
3391
3390
  },
3392
- d.id
3391
+ u.id
3393
3392
  )) })
3394
3393
  }
3395
3394
  ),
3396
3395
  s && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: s })
3397
3396
  ] });
3398
3397
  }
3399
- $a.displayName = "ExceptionListCard";
3400
- const Ba = () => /* @__PURE__ */ k(
3398
+ La.displayName = "ExceptionListCard";
3399
+ const $a = () => /* @__PURE__ */ D(
3401
3400
  "div",
3402
3401
  {
3403
3402
  className: "exception-list-tile-preview",
@@ -3405,25 +3404,25 @@ const Ba = () => /* @__PURE__ */ k(
3405
3404
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3406
3405
  children: [
3407
3406
  /* @__PURE__ */ r(
3408
- J,
3407
+ X,
3409
3408
  {
3410
- lead: /* @__PURE__ */ r(we, { severity: "critical", "aria-label": "Critical severity" }),
3409
+ lead: /* @__PURE__ */ r(ye, { severity: "critical", "aria-label": "Critical severity" }),
3411
3410
  name: "SKU A",
3412
3411
  value: "0 on hand"
3413
3412
  }
3414
3413
  ),
3415
3414
  /* @__PURE__ */ r(
3416
- J,
3415
+ X,
3417
3416
  {
3418
- lead: /* @__PURE__ */ r(we, { severity: "warn", "aria-label": "Warning severity" }),
3417
+ lead: /* @__PURE__ */ r(ye, { severity: "warn", "aria-label": "Warning severity" }),
3419
3418
  name: "SKU B",
3420
3419
  value: "3 units"
3421
3420
  }
3422
3421
  ),
3423
3422
  /* @__PURE__ */ r(
3424
- J,
3423
+ X,
3425
3424
  {
3426
- lead: /* @__PURE__ */ r(we, { severity: "info", "aria-label": "Info severity" }),
3425
+ lead: /* @__PURE__ */ r(ye, { severity: "info", "aria-label": "Info severity" }),
3427
3426
  name: "SKU C",
3428
3427
  value: "12 days"
3429
3428
  }
@@ -3431,29 +3430,29 @@ const Ba = () => /* @__PURE__ */ k(
3431
3430
  ]
3432
3431
  }
3433
3432
  );
3434
- Ba.displayName = "ExceptionListTilePreview";
3435
- const Je = ["MTD", "QTD", "YTD", "LYTD", "7D"], et = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], tt = [
3433
+ $a.displayName = "ExceptionListTilePreview";
3434
+ const Xe = ["MTD", "QTD", "YTD", "LYTD", "7D"], Je = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], et = [
3436
3435
  "M0,7 L10,5 L20,6 L30,3 L40,2",
3437
3436
  "M0,6 L10,4 L20,5 L30,2 L40,1",
3438
3437
  "M0,8 L10,7 L20,5 L30,4 L40,2",
3439
3438
  "M0,5 L10,6 L20,3 L30,4 L40,1",
3440
3439
  "M0,7 L10,4 L20,5 L30,3 L40,2"
3441
- ], Ka = ({
3440
+ ], Ba = ({
3442
3441
  slotCount: e = 3,
3443
- labels: t = Je,
3444
- sampleValues: n = et
3442
+ labels: t = Xe,
3443
+ sampleValues: n = Je
3445
3444
  }) => {
3446
3445
  const a = Array.from({ length: e }, (i, s) => ({
3447
- label: t[s] ?? Je[s] ?? "",
3448
- value: n[s] ?? et[s] ?? "",
3449
- sparkPath: tt[s % tt.length]
3446
+ label: t[s] ?? Xe[s] ?? "",
3447
+ value: n[s] ?? Je[s] ?? "",
3448
+ sparkPath: et[s % et.length]
3450
3449
  }));
3451
3450
  return e === 1 ? /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--single", "aria-hidden": "true", children: /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview__single-value", children: a[0].value }) }) : /* @__PURE__ */ r(
3452
3451
  "div",
3453
3452
  {
3454
3453
  className: `gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--slots-${e}`,
3455
3454
  "aria-hidden": "true",
3456
- children: a.map((i, s) => /* @__PURE__ */ k("div", { className: "gloss-stacked-group-tile-preview__row", children: [
3455
+ children: a.map((i, s) => /* @__PURE__ */ D("div", { className: "gloss-stacked-group-tile-preview__row", children: [
3457
3456
  /* @__PURE__ */ r("span", { className: "gloss-stacked-group-tile-preview__row-label", children: i.label }),
3458
3457
  /* @__PURE__ */ r("span", { className: "gloss-stacked-group-tile-preview__row-value", children: i.value }),
3459
3458
  /* @__PURE__ */ r(
@@ -3472,8 +3471,8 @@ const Je = ["MTD", "QTD", "YTD", "LYTD", "7D"], et = ["$248K", "$612K", "$1.24M"
3472
3471
  }
3473
3472
  );
3474
3473
  };
3475
- Ka.displayName = "StackedGroupTilePreview";
3476
- const Tr = {
3474
+ Ba.displayName = "StackedGroupTilePreview";
3475
+ const Mr = {
3477
3476
  /** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
3478
3477
  eligibilityTint: { applicableStates: ["arming", "active"] },
3479
3478
  /** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
@@ -3492,7 +3491,7 @@ const Tr = {
3492
3491
  hideOnActive: { applicableStates: ["active"] },
3493
3492
  /** GEV-01 — Refuse pulse. Discrete moment of crossing into rejection. Fires ONCE per transition (Principle 2). No strobing. */
3494
3493
  refusePulse: { applicableStates: ["active"] }
3495
- }, at = {
3494
+ }, tt = {
3496
3495
  baseCellTint: "#F1F4F8",
3497
3496
  // Grey · Neutral −2
3498
3497
  eligibilityFill: "#6F87D2",
@@ -3507,7 +3506,7 @@ const Tr = {
3507
3506
  // Rejection +2 stroke (sparse-dash)
3508
3507
  trackingOutline: "#2541A1"
3509
3508
  // Action +3 — same hex as commitStroke per D-01
3510
- }, ie = {
3509
+ }, se = {
3511
3510
  baseCellTint: "var(--gloss-g02-base-cell-tint)",
3512
3511
  eligibilityFill: "var(--gloss-g02-eligibility-fill)",
3513
3512
  commitFill: "var(--gloss-g02-commit-fill)",
@@ -3515,8 +3514,8 @@ const Tr = {
3515
3514
  rejectionFill: "var(--gloss-g02-rejection-fill)",
3516
3515
  rejectionStroke: "var(--gloss-g02-rejection-stroke)",
3517
3516
  trackingOutline: "var(--gloss-g02-tracking-outline)"
3518
- }, Ir = "dashed", Er = "solid", Pr = "sparse-dash", Fr = "2px no-fill", Ar = "6 4", Or = "10 6", za = 3;
3519
- function Lr({
3517
+ }, Tr = "dashed", Ir = "solid", Er = "sparse-dash", Pr = "2px no-fill", Fr = "6 4", Ar = "10 6", Ka = 3;
3518
+ function Or({
3520
3519
  cell: e,
3521
3520
  variant: t,
3522
3521
  rampColor: n,
@@ -3525,10 +3524,10 @@ function Lr({
3525
3524
  gap: s,
3526
3525
  className: o
3527
3526
  }) {
3528
- const m = (e.section * za + e.col) * (a + s), d = e.row * (i + s), h = t === "eligibility" ? ie.eligibilityFill : t === "commit" ? ie.commitFill : t === "rejection" ? ie.rejectionFill : (
3527
+ const m = (e.section * Ka + e.col) * (a + s), u = e.row * (i + s), h = t === "eligibility" ? se.eligibilityFill : t === "commit" ? se.commitFill : t === "rejection" ? se.rejectionFill : (
3529
3528
  /* ramp */
3530
- n ?? ie.eligibilityFill
3531
- ), f = t === "rejection", u = f ? ie.rejectionStroke : "transparent", g = f ? "dashed" : "solid";
3529
+ n ?? se.eligibilityFill
3530
+ ), f = t === "rejection", d = f ? se.rejectionStroke : "transparent", c = f ? "dashed" : "solid";
3532
3531
  return /* @__PURE__ */ r(
3533
3532
  "div",
3534
3533
  {
@@ -3541,25 +3540,25 @@ function Lr({
3541
3540
  "data-variant": t,
3542
3541
  "aria-hidden": "true",
3543
3542
  style: {
3544
- transform: `translate(${m}px, ${d}px)`,
3543
+ transform: `translate(${m}px, ${u}px)`,
3545
3544
  width: a,
3546
3545
  height: i,
3547
3546
  // Use background-color longhand (NOT background shorthand) so jsdom + DOM
3548
3547
  // both preserve `var(...)` in inline cssText. The shorthand getter strips
3549
3548
  // unknown values and breaks both unit-test introspection and styling.
3550
3549
  backgroundColor: h,
3551
- borderColor: u,
3552
- borderStyle: g
3550
+ borderColor: d,
3551
+ borderStyle: c
3553
3552
  }
3554
3553
  }
3555
3554
  );
3556
3555
  }
3557
- const Wa = 3, Ga = [
3556
+ const za = 3, Wa = [
3558
3557
  { idx: 0, peakR: 22, peakOpacity: 0.45, strokeW: 1.5 },
3559
3558
  { idx: 1, peakR: 34, peakOpacity: 0.22, strokeW: 1 },
3560
3559
  { idx: 2, peakR: 46, peakOpacity: 0.1, strokeW: 0.8 }
3561
3560
  ];
3562
- function $r({
3561
+ function Lr({
3563
3562
  cell: e,
3564
3563
  fireKey: t,
3565
3564
  colWidth: n,
@@ -3567,8 +3566,8 @@ function $r({
3567
3566
  gap: i,
3568
3567
  className: s
3569
3568
  }) {
3570
- const l = (e.section * Wa + e.col) * (n + i) + n / 2, m = e.row * (a + i) + a / 2;
3571
- return st() === "reduced" ? /* @__PURE__ */ r(
3569
+ const l = (e.section * za + e.col) * (n + i) + n / 2, m = e.row * (a + i) + a / 2;
3570
+ return rt() === "reduced" ? /* @__PURE__ */ r(
3572
3571
  "div",
3573
3572
  {
3574
3573
  className: ["gloss-refuse-pulse-flash", s].filter(Boolean).join(" "),
@@ -3582,7 +3581,7 @@ function $r({
3582
3581
  width: 48,
3583
3582
  height: 48,
3584
3583
  borderRadius: "50%",
3585
- background: ie.rejectionStroke,
3584
+ background: se.rejectionStroke,
3586
3585
  opacity: 0.45,
3587
3586
  pointerEvents: "none",
3588
3587
  animation: "gloss-refuse-pulse-instant-flash 80ms linear forwards"
@@ -3604,7 +3603,7 @@ function $r({
3604
3603
  top: 0,
3605
3604
  pointerEvents: "none"
3606
3605
  },
3607
- children: Ga.map((h) => {
3606
+ children: Wa.map((h) => {
3608
3607
  const f = h.peakR * 2;
3609
3608
  return /* @__PURE__ */ r(
3610
3609
  "div",
@@ -3622,7 +3621,7 @@ function $r({
3622
3621
  borderRadius: "50%",
3623
3622
  borderStyle: "solid",
3624
3623
  borderWidth: h.strokeW,
3625
- borderColor: ie.rejectionStroke,
3624
+ borderColor: se.rejectionStroke,
3626
3625
  background: "transparent",
3627
3626
  opacity: 0,
3628
3627
  transform: "scale(0)",
@@ -3638,98 +3637,98 @@ function $r({
3638
3637
  t
3639
3638
  );
3640
3639
  }
3641
- function Br(e) {
3642
- return /* @__PURE__ */ r(mt, { gesture: "resize", ...e });
3640
+ function $r(e) {
3641
+ return /* @__PURE__ */ r(ut, { gesture: "resize", ...e });
3643
3642
  }
3644
- function ja(e, t, n) {
3643
+ function Ga(e, t, n) {
3645
3644
  const a = Math.max(0, Math.min(1, n)), i = (f) => [
3646
3645
  parseInt(f.slice(1, 3), 16),
3647
3646
  parseInt(f.slice(3, 5), 16),
3648
3647
  parseInt(f.slice(5, 7), 16)
3649
- ], [s, o, l] = i(e), [m, d, h] = i(t);
3650
- return `rgb(${Math.round(s + (m - s) * a)}, ${Math.round(o + (d - o) * a)}, ${Math.round(
3648
+ ], [s, o, l] = i(e), [m, u, h] = i(t);
3649
+ return `rgb(${Math.round(s + (m - s) * a)}, ${Math.round(o + (u - o) * a)}, ${Math.round(
3651
3650
  l + (h - l) * a
3652
3651
  )})`;
3653
3652
  }
3654
- function Va(e) {
3653
+ function ja(e) {
3655
3654
  return e <= 1 ? 1 : e >= 3 ? 3 : 2;
3656
3655
  }
3657
- function Ha(e) {
3656
+ function Va(e) {
3658
3657
  return e === "dragging";
3659
3658
  }
3660
- function Kr(e) {
3661
- const { edgeHover: t, sourceCell: n, cascadeResult: a, colWidth: i, rowHeight: s, gap: o } = e, m = st() === "reduced", d = X.useRef(t.currentColSpan), h = X.useRef({ armed: !0, fireKey: 0, lastResult: null }), f = X.useRef(t.currentColSpan), u = X.useRef("idle"), g = X.useRef(t.currentColSpan), w = Ha(t.state);
3662
- if (m ? (u.current = "settled", g.current = t.currentColSpan, f.current = t.currentColSpan) : w ? u.current = t.currentColSpan !== f.current ? "incoming" : "outgoing" : (t.currentColSpan !== f.current && (g.current = t.currentColSpan, f.current = t.currentColSpan), u.current !== "idle" && (u.current = "settled")), !w)
3663
- return h.current.armed = !0, h.current.lastResult = null, {
3659
+ function Br(e) {
3660
+ const { edgeHover: t, sourceCell: n, cascadeResult: a } = e, s = rt() === "reduced", o = Q.useRef(t.currentColSpan), l = Q.useRef({ armed: !0, fireKey: 0, lastResult: null }), m = Q.useRef(t.currentColSpan), u = Q.useRef("idle"), h = Q.useRef(t.currentColSpan), f = Va(t.state);
3661
+ if (s ? (u.current = "settled", h.current = t.currentColSpan, m.current = t.currentColSpan) : f ? u.current = t.currentColSpan !== m.current ? "incoming" : "outgoing" : (t.currentColSpan !== m.current && (h.current = t.currentColSpan, m.current = t.currentColSpan), u.current !== "idle" && (u.current = "settled")), !f)
3662
+ return l.current.armed = !0, l.current.lastResult = null, {
3664
3663
  trackingOutline: null,
3665
3664
  cellTints: [],
3666
3665
  refusePulse: null,
3667
3666
  shrinkFreedCells: [],
3668
3667
  phase: u.current,
3669
- displayColSpan: g.current
3668
+ displayColSpan: h.current
3670
3669
  };
3671
- const v = t.hysteresisTargetColSpan, c = t.previewColSpan, x = a?.result === "rejected";
3672
- x || (d.current = v), x && h.current.armed && h.current.lastResult !== "rejected" && (h.current.fireKey += 1, h.current.armed = !1), h.current.lastResult = x ? "rejected" : "ok";
3673
- const I = x ? d.current : v, D = {
3670
+ const d = t.hysteresisTargetColSpan, c = t.previewColSpan, b = a?.result === "rejected";
3671
+ b || (o.current = d), b && l.current.armed && l.current.lastResult !== "rejected" && (l.current.fireKey += 1, l.current.armed = !1), l.current.lastResult = b ? "rejected" : "ok";
3672
+ const C = b ? o.current : d, g = {
3674
3673
  cell: { section: 0, col: 0, row: 0 },
3675
- colSpan: I,
3676
- pattern: x ? "dashed-retreated" : "solid"
3677
- }, M = [];
3678
- if (x) {
3679
- const b = n.col + d.current, _ = n.col + v - 1;
3680
- for (let C = b; C <= _ && C <= 2; C++)
3681
- M.push({
3674
+ colSpan: C,
3675
+ pattern: b ? "dashed-retreated" : "solid"
3676
+ }, x = [];
3677
+ if (b) {
3678
+ const R = n.col + o.current, M = n.col + d - 1;
3679
+ for (let p = R; p <= M && p <= 2; p++)
3680
+ x.push({
3682
3681
  cell: {
3683
3682
  section: 0,
3684
- col: C - n.col,
3683
+ col: p - n.col,
3685
3684
  row: 0
3686
3685
  },
3687
3686
  variant: "rejection"
3688
3687
  });
3689
3688
  } else {
3690
- const b = Math.abs(c - v), _ = Math.max(0, Math.min(1, 1 - b));
3691
- for (let C = n.col; C < n.col + v && C <= 2; C++) {
3692
- if (C === n.col) continue;
3693
- const y = C === n.col + v - 1, R = {
3689
+ const R = Math.abs(c - d), M = Math.max(0, Math.min(1, 1 - R));
3690
+ for (let p = n.col; p < n.col + d && p <= 2; p++) {
3691
+ if (p === n.col) continue;
3692
+ const v = p === n.col + d - 1, w = {
3694
3693
  section: 0,
3695
- col: C - n.col,
3694
+ col: p - n.col,
3696
3695
  row: 0
3697
3696
  };
3698
- y && t.direction.startsWith("grow") && v > 1 && !m && b > 0 && b < 1 ? M.push({
3699
- cell: R,
3697
+ v && t.direction.startsWith("grow") && d > 1 && !s && R > 0 && R < 1 ? x.push({
3698
+ cell: w,
3700
3699
  variant: "ramp",
3701
- rampColor: ja(at.eligibilityFill, at.commitFill, _)
3702
- }) : y ? M.push({ cell: R, variant: "commit" }) : M.push({ cell: R, variant: "eligibility" });
3700
+ rampColor: Ga(tt.eligibilityFill, tt.commitFill, M)
3701
+ }) : v ? x.push({ cell: w, variant: "commit" }) : x.push({ cell: w, variant: "eligibility" });
3703
3702
  }
3704
3703
  }
3705
3704
  const T = [];
3706
- if (t.currentColSpan > v)
3707
- for (let b = n.col + v; b < n.col + t.currentColSpan && b <= 2; b++)
3705
+ if (t.currentColSpan > d)
3706
+ for (let R = n.col + d; R < n.col + t.currentColSpan && R <= 2; R++)
3708
3707
  T.push({
3709
3708
  section: 0,
3710
- col: b - n.col,
3709
+ col: R - n.col,
3711
3710
  row: 0
3712
3711
  });
3713
- const p = h.current.fireKey > 0 ? {
3712
+ const N = l.current.fireKey > 0 ? {
3714
3713
  cell: {
3715
3714
  section: 0,
3716
- col: Va(
3717
- Math.min(d.current, 2)
3715
+ col: ja(
3716
+ Math.min(o.current, 2)
3718
3717
  ),
3719
3718
  row: 0
3720
3719
  },
3721
- fireKey: h.current.fireKey
3720
+ fireKey: l.current.fireKey
3722
3721
  } : null;
3723
3722
  return {
3724
- trackingOutline: D,
3725
- cellTints: M,
3726
- refusePulse: p,
3723
+ trackingOutline: g,
3724
+ cellTints: x,
3725
+ refusePulse: N,
3727
3726
  shrinkFreedCells: T,
3728
3727
  phase: u.current,
3729
- displayColSpan: g.current
3728
+ displayColSpan: h.current
3730
3729
  };
3731
3730
  }
3732
- const re = {
3731
+ const ne = {
3733
3732
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
3734
3733
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
3735
3734
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -3737,25 +3736,25 @@ const re = {
3737
3736
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
3738
3737
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
3739
3738
  };
3740
- function Ua({
3739
+ function Ha({
3741
3740
  message: e,
3742
3741
  primaryAction: t,
3743
3742
  onDismiss: n,
3744
3743
  anchorEl: a,
3745
3744
  anchorSelector: i
3746
3745
  }) {
3747
- const [s, o] = V.useState(null), l = V.useMemo(
3746
+ const [s, o] = H.useState(null), l = H.useMemo(
3748
3747
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
3749
3748
  []
3750
3749
  );
3751
- V.useEffect(() => {
3750
+ H.useEffect(() => {
3752
3751
  !a && !i && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
3753
3752
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
3754
3753
  );
3755
- }, [a, i]), V.useLayoutEffect(() => {
3756
- let d = null;
3757
- if (a ? d = a : i && (d = document.querySelector(i)), d) {
3758
- const h = d.getBoundingClientRect();
3754
+ }, [a, i]), H.useLayoutEffect(() => {
3755
+ let u = null;
3756
+ if (a ? u = a : i && (u = document.querySelector(i)), u) {
3757
+ const h = u.getBoundingClientRect();
3759
3758
  o({
3760
3759
  top: h.bottom + window.scrollY + 6,
3761
3760
  left: h.left + window.scrollX
@@ -3763,22 +3762,22 @@ function Ua({
3763
3762
  }
3764
3763
  }, [a, i]);
3765
3764
  const m = s ? { top: s.top, left: s.left } : {};
3766
- return /* @__PURE__ */ k(
3765
+ return /* @__PURE__ */ D(
3767
3766
  "div",
3768
3767
  {
3769
- className: re["gloss-inline-nudge"],
3768
+ className: ne["gloss-inline-nudge"],
3770
3769
  style: m,
3771
3770
  role: "status",
3772
3771
  "aria-live": "polite",
3773
3772
  "data-reduced-motion": l ? "true" : void 0,
3774
3773
  children: [
3775
- /* @__PURE__ */ r("span", { className: re["gloss-inline-nudge__message"], children: e }),
3776
- /* @__PURE__ */ k("div", { className: re["gloss-inline-nudge__actions"], children: [
3774
+ /* @__PURE__ */ r("span", { className: ne["gloss-inline-nudge__message"], children: e }),
3775
+ /* @__PURE__ */ D("div", { className: ne["gloss-inline-nudge__actions"], children: [
3777
3776
  /* @__PURE__ */ r(
3778
3777
  "button",
3779
3778
  {
3780
3779
  type: "button",
3781
- className: `${re["gloss-inline-nudge__btn"]} ${re["gloss-inline-nudge__btn--action"]}`,
3780
+ className: `${ne["gloss-inline-nudge__btn"]} ${ne["gloss-inline-nudge__btn--action"]}`,
3782
3781
  onClick: t.onClick,
3783
3782
  children: t.label
3784
3783
  }
@@ -3787,7 +3786,7 @@ function Ua({
3787
3786
  "button",
3788
3787
  {
3789
3788
  type: "button",
3790
- className: `${re["gloss-inline-nudge__btn"]} ${re["gloss-inline-nudge__btn--dismiss"]}`,
3789
+ className: `${ne["gloss-inline-nudge__btn"]} ${ne["gloss-inline-nudge__btn--dismiss"]}`,
3791
3790
  onClick: n,
3792
3791
  "aria-label": "Dismiss",
3793
3792
  children: "Dismiss"
@@ -3798,25 +3797,25 @@ function Ua({
3798
3797
  }
3799
3798
  );
3800
3799
  }
3801
- Ua.displayName = "InlineNudge";
3802
- function Be(e) {
3800
+ Ha.displayName = "InlineNudge";
3801
+ function $e(e) {
3803
3802
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
3804
3803
  }
3805
- function Za(e, t, n) {
3804
+ function Ua(e, t, n) {
3806
3805
  if (n <= t) {
3807
- const o = e[0], l = o ? Be(o) : "#888";
3806
+ const o = e[0], l = o ? $e(o) : "#888";
3808
3807
  return `linear-gradient(to right, ${l}, ${l})`;
3809
3808
  }
3810
3809
  const a = n - t, s = [...e].sort((o, l) => o.value - l.value).map((o) => {
3811
3810
  const l = (o.value - t) / a * 100;
3812
- return `${Be(o)} ${l.toFixed(2)}%`;
3811
+ return `${$e(o)} ${l.toFixed(2)}%`;
3813
3812
  });
3814
3813
  return s.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : s.length === 1 ? `linear-gradient(to right, ${s[0]}, ${s[0]})` : `linear-gradient(to right, ${s.join(", ")})`;
3815
3814
  }
3816
- function Ya(e) {
3815
+ function Za(e) {
3817
3816
  return e.map((t) => `${t.id}:${t.value}`).join("|");
3818
3817
  }
3819
- function qa({
3818
+ function Ya({
3820
3819
  stops: e,
3821
3820
  onChange: t,
3822
3821
  min: n = 0,
@@ -3826,84 +3825,84 @@ function qa({
3826
3825
  }) {
3827
3826
  const o = i === void 0 ? 0.01 : !Number.isFinite(i) || i <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
3828
3827
  `ThresholdRamp: step (${i}) must be a positive finite number; falling back to 0.01.`
3829
- ), 0.01) : i, l = N(
3828
+ ), 0.01) : i, l = _(
3830
3829
  (p) => Math.round(p / o) * o,
3831
3830
  [o]
3832
- ), m = E(null), [d, h] = $(null), [f, u] = $(e), g = Ya(e), w = E(g);
3833
- O(() => {
3834
- w.current !== g && (w.current = g, !d && u(e));
3835
- }, [g, e, d]);
3836
- const v = Ne(() => Za(f, n, a), [f, n, a]), c = N(
3831
+ ), m = I(null), [u, h] = B(null), [f, d] = B(e), c = Za(e), b = I(c);
3832
+ $(() => {
3833
+ b.current !== c && (b.current = c, !u && d(e));
3834
+ }, [c, e, u]);
3835
+ const C = _e(() => Ua(f, n, a), [f, n, a]), g = _(
3837
3836
  (p) => {
3838
3837
  if (!m.current) return n;
3839
- const b = m.current.getBoundingClientRect(), _ = b.width || 1, C = Math.max(0, Math.min(1, (p - b.left) / _)), y = n + C * (a - n);
3840
- return l(y);
3838
+ const v = m.current.getBoundingClientRect(), w = v.width || 1, y = Math.max(0, Math.min(1, (p - v.left) / w)), k = n + y * (a - n);
3839
+ return l(k);
3841
3840
  },
3842
3841
  [n, a, l]
3843
3842
  );
3844
- O(() => {
3843
+ $(() => {
3845
3844
  a <= n && process.env.NODE_ENV !== "production" && console.warn(
3846
3845
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
3847
3846
  );
3848
3847
  }, [n, a]);
3849
- const x = N(
3850
- (p, b) => {
3851
- const _ = f.find((C) => C.id === b);
3852
- s || _?.disabled || (p.preventDefault(), h(b));
3848
+ const x = _(
3849
+ (p, v) => {
3850
+ const w = f.find((y) => y.id === v);
3851
+ s || w?.disabled || (p.preventDefault(), h(v));
3853
3852
  },
3854
3853
  [s, f]
3855
- ), I = E(f);
3856
- I.current = f;
3857
- const D = E(t);
3858
- D.current = t, O(() => {
3859
- if (!d) return;
3860
- const p = (_) => {
3861
- const C = c(_.clientX);
3862
- u(
3863
- (y) => y.map((R) => R.id === d ? { ...R, value: C } : R)
3854
+ ), T = I(f);
3855
+ T.current = f;
3856
+ const N = I(t);
3857
+ N.current = t, $(() => {
3858
+ if (!u) return;
3859
+ const p = (w) => {
3860
+ const y = g(w.clientX);
3861
+ d(
3862
+ (k) => k.map((E) => E.id === u ? { ...E, value: y } : E)
3864
3863
  );
3865
- }, b = (_) => {
3866
- const C = c(_.clientX), y = I.current.map(
3867
- (R) => R.id === d ? { ...R, value: C } : R
3864
+ }, v = (w) => {
3865
+ const y = g(w.clientX), k = T.current.map(
3866
+ (E) => E.id === u ? { ...E, value: y } : E
3868
3867
  );
3869
- u(y), h(null), D.current(y);
3868
+ d(k), h(null), N.current(k);
3870
3869
  };
3871
- return window.addEventListener("pointermove", p), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
3872
- window.removeEventListener("pointermove", p), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
3870
+ return window.addEventListener("pointermove", p), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
3871
+ window.removeEventListener("pointermove", p), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
3873
3872
  };
3874
- }, [d, c]);
3875
- const M = a - n > 0 ? a - n : 1, T = N(
3876
- (p, b) => {
3877
- if (s || b.disabled) return;
3878
- const _ = a - n;
3879
- if (_ <= 0) return;
3880
- const C = p.shiftKey ? _ / 20 : _ / 100;
3881
- let y = b.value;
3873
+ }, [u, g]);
3874
+ const R = a - n > 0 ? a - n : 1, M = _(
3875
+ (p, v) => {
3876
+ if (s || v.disabled) return;
3877
+ const w = a - n;
3878
+ if (w <= 0) return;
3879
+ const y = p.shiftKey ? w / 20 : w / 100;
3880
+ let k = v.value;
3882
3881
  switch (p.key) {
3883
3882
  case "ArrowRight":
3884
3883
  case "ArrowUp":
3885
- y = b.value + C;
3884
+ k = v.value + y;
3886
3885
  break;
3887
3886
  case "ArrowLeft":
3888
3887
  case "ArrowDown":
3889
- y = b.value - C;
3888
+ k = v.value - y;
3890
3889
  break;
3891
3890
  case "Home":
3892
- y = n;
3891
+ k = n;
3893
3892
  break;
3894
3893
  case "End":
3895
- y = a;
3894
+ k = a;
3896
3895
  break;
3897
3896
  default:
3898
3897
  return;
3899
3898
  }
3900
3899
  p.preventDefault();
3901
- const R = Math.max(n, Math.min(a, y)), P = l(R);
3902
- if (P === b.value) return;
3903
- const H = f.map(
3904
- (Y) => Y.id === b.id ? { ...Y, value: P } : Y
3900
+ const E = Math.max(n, Math.min(a, k)), P = l(E);
3901
+ if (P === v.value) return;
3902
+ const U = f.map(
3903
+ (G) => G.id === v.id ? { ...G, value: P } : G
3905
3904
  );
3906
- u(H), t(H);
3905
+ d(U), t(U);
3907
3906
  },
3908
3907
  [s, n, a, f, t, l]
3909
3908
  );
@@ -3912,21 +3911,21 @@ function qa({
3912
3911
  {
3913
3912
  ref: m,
3914
3913
  className: "gloss-threshold-ramp__track",
3915
- style: { background: v },
3914
+ style: { background: C },
3916
3915
  children: f.map((p) => {
3917
- const b = (p.value - n) / M * 100;
3916
+ const v = (p.value - n) / R * 100;
3918
3917
  return /* @__PURE__ */ r(
3919
3918
  "span",
3920
3919
  {
3921
3920
  className: "gloss-threshold-ramp__stop",
3922
3921
  style: {
3923
- left: `${b}%`,
3924
- color: Be(p)
3922
+ left: `${v}%`,
3923
+ color: $e(p)
3925
3924
  },
3926
3925
  "data-disabled": p.disabled || void 0,
3927
- "data-dragging": d === p.id || void 0,
3928
- onPointerDown: (_) => x(_, p.id),
3929
- onKeyDown: (_) => T(_, p),
3926
+ "data-dragging": u === p.id || void 0,
3927
+ onPointerDown: (w) => x(w, p.id),
3928
+ onKeyDown: (w) => M(w, p),
3930
3929
  "aria-label": p.label ?? `Stop at ${p.value}`,
3931
3930
  role: "slider",
3932
3931
  "aria-valuenow": p.value,
@@ -3941,24 +3940,24 @@ function qa({
3941
3940
  }
3942
3941
  ) });
3943
3942
  }
3944
- qa.displayName = "ThresholdRamp";
3945
- const pt = St(null);
3946
- function Qa() {
3947
- return xt(pt);
3943
+ Ya.displayName = "ThresholdRamp";
3944
+ const gt = Ct(null);
3945
+ function qa() {
3946
+ return St(gt);
3948
3947
  }
3949
- function Xa({ option: e }) {
3950
- const t = Qa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, i = N(() => {
3948
+ function Qa({ option: e }) {
3949
+ const t = qa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, i = _(() => {
3951
3950
  a || t?.select(e.value);
3952
- }, [a, t, e.value]), s = N(
3953
- (d) => {
3954
- a || t?.onKeyNav(d, e.value);
3951
+ }, [a, t, e.value]), s = _(
3952
+ (u) => {
3953
+ a || t?.onKeyNav(u, e.value);
3955
3954
  },
3956
3955
  [a, t, e.value]
3957
3956
  ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, m = a ? -1 : l ? 0 : -1;
3958
3957
  return /* @__PURE__ */ r(
3959
3958
  "button",
3960
3959
  {
3961
- ref: (d) => t?.registerRef(e.value, d),
3960
+ ref: (u) => t?.registerRef(e.value, u),
3962
3961
  type: "button",
3963
3962
  role: "radio",
3964
3963
  "aria-checked": n,
@@ -3976,7 +3975,7 @@ function Xa({ option: e }) {
3976
3975
  }
3977
3976
  );
3978
3977
  }
3979
- function Ja({
3978
+ function Xa({
3980
3979
  swatches: e,
3981
3980
  value: t,
3982
3981
  defaultValue: n,
@@ -3984,65 +3983,65 @@ function Ja({
3984
3983
  disabled: i = !1,
3985
3984
  name: s
3986
3985
  }) {
3987
- const o = t !== void 0, [l, m] = $(n), d = o ? t : l, h = N(
3988
- (D) => {
3989
- o || m(D), a?.(D);
3986
+ const o = t !== void 0, [l, m] = B(n), u = o ? t : l, h = _(
3987
+ (N) => {
3988
+ o || m(N), a?.(N);
3990
3989
  },
3991
3990
  [o, a]
3992
- ), f = N(
3993
- (D) => d === D,
3994
- [d]
3995
- ), u = E(/* @__PURE__ */ new Map()), g = N((D, M) => {
3996
- M ? u.current.set(D, M) : u.current.delete(D);
3997
- }, []), w = e.filter((D) => !D.disabled && !i), v = w.find((D) => D.value === d)?.value ?? w[0]?.value, c = N((D) => {
3998
- const M = u.current.get(D);
3999
- M && M.focus();
4000
- }, []), x = N(
4001
- (D, M) => {
3991
+ ), f = _(
3992
+ (N) => u === N,
3993
+ [u]
3994
+ ), d = I(/* @__PURE__ */ new Map()), c = _((N, R) => {
3995
+ R ? d.current.set(N, R) : d.current.delete(N);
3996
+ }, []), b = e.filter((N) => !N.disabled && !i), C = b.find((N) => N.value === u)?.value ?? b[0]?.value, g = _((N) => {
3997
+ const R = d.current.get(N);
3998
+ R && R.focus();
3999
+ }, []), x = _(
4000
+ (N, R) => {
4002
4001
  if (i) return;
4003
- const T = e.filter((C) => !C.disabled);
4004
- if (T.length === 0) return;
4005
- const p = T.findIndex((C) => C.value === M);
4002
+ const M = e.filter((y) => !y.disabled);
4003
+ if (M.length === 0) return;
4004
+ const p = M.findIndex((y) => y.value === R);
4006
4005
  if (p === -1) return;
4007
- let b = p;
4008
- switch (D.key) {
4006
+ let v = p;
4007
+ switch (N.key) {
4009
4008
  case "ArrowRight":
4010
4009
  case "ArrowDown":
4011
- b = (p + 1) % T.length;
4010
+ v = (p + 1) % M.length;
4012
4011
  break;
4013
4012
  case "ArrowLeft":
4014
4013
  case "ArrowUp":
4015
- b = (p - 1 + T.length) % T.length;
4014
+ v = (p - 1 + M.length) % M.length;
4016
4015
  break;
4017
4016
  case "Home":
4018
- b = 0;
4017
+ v = 0;
4019
4018
  break;
4020
4019
  case "End":
4021
- b = T.length - 1;
4020
+ v = M.length - 1;
4022
4021
  break;
4023
4022
  case " ":
4024
4023
  case "Enter":
4025
- D.preventDefault(), h(M);
4024
+ N.preventDefault(), h(R);
4026
4025
  return;
4027
4026
  default:
4028
4027
  return;
4029
4028
  }
4030
- D.preventDefault();
4031
- const _ = T[b].value;
4032
- c(_), h(_);
4029
+ N.preventDefault();
4030
+ const w = M[v].value;
4031
+ g(w), h(w);
4033
4032
  },
4034
- [i, e, h, c]
4035
- ), I = {
4036
- selectedValue: d,
4033
+ [i, e, h, g]
4034
+ ), T = {
4035
+ selectedValue: u,
4037
4036
  select: h,
4038
4037
  isSelected: f,
4039
4038
  groupDisabled: i,
4040
4039
  name: s,
4041
- registerRef: g,
4042
- firstFocusableValue: v,
4040
+ registerRef: c,
4041
+ firstFocusableValue: C,
4043
4042
  onKeyNav: x
4044
4043
  };
4045
- return /* @__PURE__ */ r(pt.Provider, { value: I, children: /* @__PURE__ */ r(
4044
+ return /* @__PURE__ */ r(gt.Provider, { value: T, children: /* @__PURE__ */ r(
4046
4045
  "div",
4047
4046
  {
4048
4047
  className: "gloss-preset-swatch-row",
@@ -4050,125 +4049,125 @@ function Ja({
4050
4049
  "aria-label": s,
4051
4050
  "aria-disabled": i,
4052
4051
  "data-disabled": i || void 0,
4053
- children: e.map((D) => /* @__PURE__ */ r(Xa, { option: D }, D.value))
4052
+ children: e.map((N) => /* @__PURE__ */ r(Qa, { option: N }, N.value))
4054
4053
  }
4055
4054
  ) });
4056
4055
  }
4057
- Ja.displayName = "PresetSwatchRow";
4058
- function Ke(e, t) {
4056
+ Xa.displayName = "PresetSwatchRow";
4057
+ function Be(e, t) {
4059
4058
  for (const n of e)
4060
4059
  if (n.items.some((a) => a.id === t))
4061
4060
  return n.zoneKey;
4062
4061
  return null;
4063
4062
  }
4064
- function nt(e, t) {
4063
+ function at(e, t) {
4065
4064
  const n = e.find((a) => a.zoneKey === t);
4066
- return n ? n.zoneKey : Ke(e, t);
4065
+ return n ? n.zoneKey : Be(e, t);
4067
4066
  }
4068
- function en(e, t, n) {
4067
+ function Ja(e, t, n) {
4069
4068
  const a = [...e], [i] = a.splice(t, 1);
4070
4069
  return a.splice(n, 0, i), a;
4071
4070
  }
4072
- function tn(e) {
4071
+ function en(e) {
4073
4072
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
4074
4073
  }
4075
- function an(e) {
4076
- const [t, n] = $(
4077
- () => e.zones.map((c) => c.maxItems !== void 0 && c.items.length > c.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
4078
- `useSortableZones: zone "${c.zoneKey}" exceeds maxItems (${c.items.length} > ${c.maxItems}); trimming to cap.`
4079
- ), { ...c, items: c.items.slice(0, c.maxItems) }) : c)
4080
- ), [a, i] = $(null), [s, o] = $(null), l = E(null), m = E(e.onZoneChange);
4074
+ function tn(e) {
4075
+ const [t, n] = B(
4076
+ () => e.zones.map((g) => g.maxItems !== void 0 && g.items.length > g.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
4077
+ `useSortableZones: zone "${g.zoneKey}" exceeds maxItems (${g.items.length} > ${g.maxItems}); trimming to cap.`
4078
+ ), { ...g, items: g.items.slice(0, g.maxItems) }) : g)
4079
+ ), [a, i] = B(null), [s, o] = B(null), l = I(null), m = I(e.onZoneChange);
4081
4080
  m.current = e.onZoneChange;
4082
- const d = Ne(
4083
- () => tn(e.zones),
4081
+ const u = _e(
4082
+ () => en(e.zones),
4084
4083
  [e.zones]
4085
- ), h = E(d);
4086
- O(() => {
4087
- h.current !== d && (h.current = d, !a && n(
4088
- e.zones.map((c) => c.maxItems !== void 0 && c.items.length > c.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
4089
- `useSortableZones: zone "${c.zoneKey}" exceeds maxItems (${c.items.length} > ${c.maxItems}); trimming to cap.`
4090
- ), { ...c, items: c.items.slice(0, c.maxItems) }) : c)
4084
+ ), h = I(u);
4085
+ $(() => {
4086
+ h.current !== u && (h.current = u, !a && n(
4087
+ e.zones.map((g) => g.maxItems !== void 0 && g.items.length > g.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
4088
+ `useSortableZones: zone "${g.zoneKey}" exceeds maxItems (${g.items.length} > ${g.maxItems}); trimming to cap.`
4089
+ ), { ...g, items: g.items.slice(0, g.maxItems) }) : g)
4091
4090
  ));
4092
- }, [d, e.zones, a]);
4093
- const f = N(
4094
- (c) => {
4095
- const x = c.active.id;
4096
- let I = null, D = null;
4097
- for (const M of t) {
4098
- const T = M.items.find((p) => p.id === x);
4099
- if (T) {
4100
- I = T, D = M.zoneKey;
4091
+ }, [u, e.zones, a]);
4092
+ const f = _(
4093
+ (g) => {
4094
+ const x = g.active.id;
4095
+ let T = null, N = null;
4096
+ for (const R of t) {
4097
+ const M = R.items.find((p) => p.id === x);
4098
+ if (M) {
4099
+ T = M, N = R.zoneKey;
4101
4100
  break;
4102
4101
  }
4103
4102
  }
4104
- l.current = D, i(I), o(D);
4103
+ l.current = N, i(T), o(N);
4105
4104
  },
4106
4105
  [t]
4107
- ), u = N(
4108
- (c) => {
4109
- if (!c.over) {
4106
+ ), d = _(
4107
+ (g) => {
4108
+ if (!g.over) {
4110
4109
  o(l.current);
4111
4110
  return;
4112
4111
  }
4113
- const x = nt(t, c.over.id);
4112
+ const x = at(t, g.over.id);
4114
4113
  o(x);
4115
4114
  },
4116
4115
  [t]
4117
- ), g = N(
4118
- (c) => {
4119
- const { active: x, over: I } = c, D = () => {
4116
+ ), c = _(
4117
+ (g) => {
4118
+ const { active: x, over: T } = g, N = () => {
4120
4119
  l.current = null, i(null), o(null);
4121
4120
  };
4122
- if (!I) {
4123
- D();
4121
+ if (!T) {
4122
+ N();
4124
4123
  return;
4125
4124
  }
4126
- const M = Ke(t, x.id), T = nt(t, I.id);
4127
- if (!M || !T) {
4128
- D();
4125
+ const R = Be(t, x.id), M = at(t, T.id);
4126
+ if (!R || !M) {
4127
+ N();
4129
4128
  return;
4130
4129
  }
4131
- let p = t.map((b) => ({ ...b, items: [...b.items] }));
4132
- if (M === T) {
4133
- const b = p.findIndex((P) => P.zoneKey === M), _ = p[b], C = _.items.findIndex((P) => P.id === x.id), y = _.items.findIndex((P) => P.id === I.id), R = y >= 0 ? y : Math.max(0, _.items.length - 1);
4134
- p[b] = {
4135
- ..._,
4136
- items: en(_.items, C, R)
4130
+ let p = t.map((v) => ({ ...v, items: [...v.items] }));
4131
+ if (R === M) {
4132
+ const v = p.findIndex((P) => P.zoneKey === R), w = p[v], y = w.items.findIndex((P) => P.id === x.id), k = w.items.findIndex((P) => P.id === T.id), E = k >= 0 ? k : Math.max(0, w.items.length - 1);
4133
+ p[v] = {
4134
+ ...w,
4135
+ items: Ja(w.items, y, E)
4137
4136
  };
4138
4137
  } else {
4139
- const b = p.findIndex((L) => L.zoneKey === M), _ = p.findIndex((L) => L.zoneKey === T), C = p[b], y = p[_], R = C.items.find((L) => L.id === x.id);
4140
- if (!R) {
4141
- D();
4138
+ const v = p.findIndex((L) => L.zoneKey === R), w = p.findIndex((L) => L.zoneKey === M), y = p[v], k = p[w], E = y.items.find((L) => L.id === x.id);
4139
+ if (!E) {
4140
+ N();
4142
4141
  return;
4143
4142
  }
4144
- const P = C.items.filter((L) => L.id !== x.id), H = y.items.findIndex((L) => L.id === I.id), Y = H >= 0 ? H : y.items.length;
4145
- let U = P, G = [...y.items];
4146
- if (y.maxItems !== void 0 && G.length >= y.maxItems) {
4147
- const L = G[G.length - 1];
4148
- G = G.slice(0, y.maxItems - 1), U = [...P, L];
4143
+ const P = y.items.filter((L) => L.id !== x.id), U = k.items.findIndex((L) => L.id === T.id), G = U >= 0 ? U : k.items.length;
4144
+ let Z = P, F = [...k.items];
4145
+ if (k.maxItems !== void 0 && F.length >= k.maxItems) {
4146
+ const L = F[F.length - 1];
4147
+ F = F.slice(0, k.maxItems - 1), Z = [...P, L];
4149
4148
  }
4150
- const B = Math.min(Y, G.length), Z = [
4151
- ...G.slice(0, B),
4152
- R,
4153
- ...G.slice(B)
4149
+ const j = Math.min(G, F.length), J = [
4150
+ ...F.slice(0, j),
4151
+ E,
4152
+ ...F.slice(j)
4154
4153
  ];
4155
- p[b] = { ...C, items: U }, p[_] = { ...y, items: Z };
4154
+ p[v] = { ...y, items: Z }, p[w] = { ...k, items: J };
4156
4155
  }
4157
- n(p), m.current?.(p), D();
4156
+ n(p), m.current?.(p), N();
4158
4157
  },
4159
4158
  [t]
4160
- ), w = N(
4161
- (c) => ({
4162
- id: c,
4163
- "data-zone-key": c
4159
+ ), b = _(
4160
+ (g) => ({
4161
+ id: g,
4162
+ "data-zone-key": g
4164
4163
  }),
4165
4164
  []
4166
- ), v = N(
4167
- (c) => {
4168
- const x = Ke(t, c.id) ?? "";
4165
+ ), C = _(
4166
+ (g) => {
4167
+ const x = Be(t, g.id) ?? "";
4169
4168
  return {
4170
- id: c.id,
4171
- "data-item-id": c.id,
4169
+ id: g.id,
4170
+ "data-item-id": g.id,
4172
4171
  "data-zone-key": x
4173
4172
  };
4174
4173
  },
@@ -4178,15 +4177,15 @@ function an(e) {
4178
4177
  zones: t,
4179
4178
  activeZone: s,
4180
4179
  activeItem: a,
4181
- getZoneProps: w,
4182
- getItemProps: v,
4180
+ getZoneProps: b,
4181
+ getItemProps: C,
4183
4182
  handleDragStart: f,
4184
- handleDragOver: u,
4185
- handleDragEnd: g
4183
+ handleDragOver: d,
4184
+ handleDragEnd: c
4186
4185
  };
4187
4186
  }
4188
- let he = null, Se = null, Ee = !1;
4189
- const nn = [
4187
+ let fe = null, Ce = null, Ie = !1;
4188
+ const an = [
4190
4189
  "DndContext",
4191
4190
  "DragOverlay",
4192
4191
  "useSensors",
@@ -4195,22 +4194,22 @@ const nn = [
4195
4194
  "PointerSensor",
4196
4195
  "KeyboardSensor",
4197
4196
  "closestCenter"
4198
- ], rn = [
4197
+ ], nn = [
4199
4198
  "SortableContext",
4200
4199
  "useSortable",
4201
4200
  "verticalListSortingStrategy"
4202
4201
  ];
4203
- function sn(e, t) {
4202
+ function rn(e, t) {
4204
4203
  const n = [], a = e ?? {};
4205
- for (const s of nn)
4204
+ for (const s of an)
4206
4205
  a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
4207
4206
  const i = t ?? {};
4208
- for (const s of rn)
4207
+ for (const s of nn)
4209
4208
  i[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
4210
4209
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
4211
4210
  }
4212
- function on() {
4213
- return he ? Promise.resolve(he) : Ee ? Promise.resolve(null) : Se || (Se = (async () => {
4211
+ function sn() {
4212
+ return fe ? Promise.resolve(fe) : Ie ? Promise.resolve(null) : Ce || (Ce = (async () => {
4214
4213
  try {
4215
4214
  const [e, t, n] = await Promise.all([
4216
4215
  import("@dnd-kit/core"),
@@ -4218,31 +4217,31 @@ function on() {
4218
4217
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
4219
4218
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
4220
4219
  ), {}))
4221
- ]), a = sn(e, t);
4222
- return a.ok ? (he = {
4220
+ ]), a = rn(e, t);
4221
+ return a.ok ? (fe = {
4223
4222
  core: e,
4224
4223
  sortable: t,
4225
4224
  utilities: n
4226
- }, he) : (Ee = !0, process.env.NODE_ENV !== "production" && console.error(
4225
+ }, fe) : (Ie = !0, process.env.NODE_ENV !== "production" && console.error(
4227
4226
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
4228
4227
  ), null);
4229
4228
  } catch {
4230
- return Ee = !0, null;
4229
+ return Ie = !0, null;
4231
4230
  }
4232
- })(), Se);
4231
+ })(), Ce);
4233
4232
  }
4234
- function ln(e) {
4235
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = an({ zones: t, onZoneChange: n }), [l, m] = V.useState(he);
4236
- return V.useEffect(() => {
4233
+ function on(e) {
4234
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = tn({ zones: t, onZoneChange: n }), [l, m] = H.useState(fe);
4235
+ return H.useEffect(() => {
4237
4236
  if (l) return;
4238
- let d = !0;
4239
- return on().then((h) => {
4240
- d && m(h);
4237
+ let u = !0;
4238
+ return sn().then((h) => {
4239
+ u && m(h);
4241
4240
  }), () => {
4242
- d = !1;
4241
+ u = !1;
4243
4242
  };
4244
4243
  }, [l]), l ? /* @__PURE__ */ r(
4245
- ft,
4244
+ pt,
4246
4245
  {
4247
4246
  state: o,
4248
4247
  modules: l,
@@ -4250,70 +4249,70 @@ function ln(e) {
4250
4249
  renderItem: i,
4251
4250
  renderDragOverlay: s
4252
4251
  }
4253
- ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((d) => {
4254
- const h = d.items.map((f) => /* @__PURE__ */ r(V.Fragment, { children: i(f) }, f.id));
4255
- return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, h) }, d.zoneKey);
4252
+ ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((u) => {
4253
+ const h = u.items.map((f) => /* @__PURE__ */ r(H.Fragment, { children: i(f) }, f.id));
4254
+ return /* @__PURE__ */ r("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, h) }, u.zoneKey);
4256
4255
  }) });
4257
4256
  }
4258
- ln.displayName = "SortableZones";
4259
- function ft({
4257
+ on.displayName = "SortableZones";
4258
+ function pt({
4260
4259
  state: e,
4261
4260
  modules: t,
4262
4261
  renderZone: n,
4263
4262
  renderItem: a,
4264
4263
  renderDragOverlay: i
4265
4264
  }) {
4266
- const { core: s, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: d, useSensors: h, useSensor: f, useDroppable: u, PointerSensor: g, KeyboardSensor: w, closestCenter: v } = s, { SortableContext: c, verticalListSortingStrategy: x } = o, I = h(
4267
- f(g, { activationConstraint: { distance: 5 } }),
4268
- f(w)
4269
- ), D = m, M = d, T = c;
4270
- return /* @__PURE__ */ k(
4271
- D,
4265
+ const { core: s, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: u, useSensors: h, useSensor: f, useDroppable: d, PointerSensor: c, KeyboardSensor: b, closestCenter: C } = s, { SortableContext: g, verticalListSortingStrategy: x } = o, T = h(
4266
+ f(c, { activationConstraint: { distance: 5 } }),
4267
+ f(b)
4268
+ ), N = m, R = u, M = g;
4269
+ return /* @__PURE__ */ D(
4270
+ N,
4272
4271
  {
4273
- sensors: I,
4274
- collisionDetection: v,
4272
+ sensors: T,
4273
+ collisionDetection: C,
4275
4274
  onDragStart: e.handleDragStart,
4276
4275
  onDragOver: e.handleDragOver,
4277
4276
  onDragEnd: e.handleDragEnd,
4278
4277
  children: [
4279
4278
  e.zones.map((p) => {
4280
- const b = p.items.map((C) => C.id), _ = p.items.map((C) => /* @__PURE__ */ r(
4281
- ht,
4279
+ const v = p.items.map((y) => y.id), w = p.items.map((y) => /* @__PURE__ */ r(
4280
+ ft,
4282
4281
  {
4283
- id: C.id,
4282
+ id: y.id,
4284
4283
  useSortable: o.useSortable,
4285
4284
  cssHelper: l.CSS,
4286
- children: a(C)
4285
+ children: a(y)
4287
4286
  },
4288
- C.id
4287
+ y.id
4289
4288
  ));
4290
4289
  return /* @__PURE__ */ r(
4291
- bt,
4290
+ ht,
4292
4291
  {
4293
4292
  zoneKey: p.zoneKey,
4294
4293
  zoneProps: e.getZoneProps(p.zoneKey),
4295
- useDroppable: u,
4296
- children: /* @__PURE__ */ r(T, { items: b, strategy: x, children: n(p.zoneKey, p.items, _) })
4294
+ useDroppable: d,
4295
+ children: /* @__PURE__ */ r(M, { items: v, strategy: x, children: n(p.zoneKey, p.items, w) })
4297
4296
  },
4298
4297
  p.zoneKey
4299
4298
  );
4300
4299
  }),
4301
- /* @__PURE__ */ r(M, { children: e.activeItem ? i?.(e.activeItem) ?? a(e.activeItem) : null })
4300
+ /* @__PURE__ */ r(R, { children: e.activeItem ? i?.(e.activeItem) ?? a(e.activeItem) : null })
4302
4301
  ]
4303
4302
  }
4304
4303
  );
4305
4304
  }
4306
- ft.displayName = "SortableZonesInner";
4307
- function ht({ id: e, useSortable: t, cssHelper: n, children: a }) {
4308
- const { attributes: i, listeners: s, setNodeRef: o, transform: l, transition: m, isDragging: d } = t({ id: e }), h = {
4305
+ pt.displayName = "SortableZonesInner";
4306
+ function ft({ id: e, useSortable: t, cssHelper: n, children: a }) {
4307
+ const { attributes: i, listeners: s, setNodeRef: o, transform: l, transition: m, isDragging: u } = t({ id: e }), h = {
4309
4308
  transform: n?.Transform?.toString(l) ?? void 0,
4310
4309
  transition: m,
4311
- opacity: d ? 0.5 : 1
4310
+ opacity: u ? 0.5 : 1
4312
4311
  };
4313
4312
  return /* @__PURE__ */ r("div", { ref: o, style: h, "data-sortable-item-id": e, ...i, ...s, children: a });
4314
4313
  }
4315
- ht.displayName = "SortableItem";
4316
- function bt({
4314
+ ft.displayName = "SortableItem";
4315
+ function ht({
4317
4316
  zoneKey: e,
4318
4317
  zoneProps: t,
4319
4318
  useDroppable: n,
@@ -4322,8 +4321,8 @@ function bt({
4322
4321
  const { setNodeRef: i, isOver: s } = n({ id: e });
4323
4322
  return /* @__PURE__ */ r("div", { ref: i, "data-zone-is-over": s || void 0, ...t, children: a });
4324
4323
  }
4325
- bt.displayName = "ZoneDroppable";
4326
- function zr({
4324
+ ht.displayName = "ZoneDroppable";
4325
+ function Kr({
4327
4326
  slotLeft: e,
4328
4327
  slotCenter: t,
4329
4328
  slotRight: n,
@@ -4336,7 +4335,7 @@ function zr({
4336
4335
  "--gloss-bottom-toolbar-height": `${a}px`,
4337
4336
  ...s
4338
4337
  };
4339
- return /* @__PURE__ */ k(
4338
+ return /* @__PURE__ */ D(
4340
4339
  "div",
4341
4340
  {
4342
4341
  role: "toolbar",
@@ -4373,7 +4372,7 @@ function zr({
4373
4372
  }
4374
4373
  );
4375
4374
  }
4376
- function Wr({
4375
+ function zr({
4377
4376
  count: e,
4378
4377
  currentIndex: t,
4379
4378
  onSelect: n,
@@ -4385,24 +4384,24 @@ function Wr({
4385
4384
  sectionsPerView: m = 1
4386
4385
  // D-09 default
4387
4386
  }) {
4388
- const d = l ?? t ?? 0, h = Math.max(0, Math.min(e - 1, d)), f = Math.min(e - 1, h + Math.max(0, m - 1)), u = [h, f], g = X.useRef([]);
4389
- return g.current.length = e, e <= 1 || u[0] === 0 && u[1] === e - 1 ? null : /* @__PURE__ */ k(
4387
+ const u = l ?? t ?? 0, h = Math.max(0, Math.min(e - 1, u)), f = Math.min(e - 1, h + Math.max(0, m - 1)), d = [h, f], c = Q.useRef([]);
4388
+ return c.current.length = e, e <= 1 || d[0] === 0 && d[1] === e - 1 ? null : /* @__PURE__ */ D(
4390
4389
  "div",
4391
4390
  {
4392
4391
  role: "tablist",
4393
4392
  "aria-label": a,
4394
4393
  "data-testid": "gloss-section-dots",
4395
4394
  className: "gloss-section-dots",
4396
- onKeyDown: (v) => {
4395
+ onKeyDown: (C) => {
4397
4396
  if (e !== 0) {
4398
- if (v.key === "ArrowRight") {
4399
- v.preventDefault();
4400
- const c = (d + 1) % e;
4401
- n(c), requestAnimationFrame(() => g.current[c]?.focus());
4402
- } else if (v.key === "ArrowLeft") {
4403
- v.preventDefault();
4404
- const c = (d - 1 + e) % e;
4405
- n(c), requestAnimationFrame(() => g.current[c]?.focus());
4397
+ if (C.key === "ArrowRight") {
4398
+ C.preventDefault();
4399
+ const g = (u + 1) % e;
4400
+ n(g), requestAnimationFrame(() => c.current[g]?.focus());
4401
+ } else if (C.key === "ArrowLeft") {
4402
+ C.preventDefault();
4403
+ const g = (u - 1 + e) % e;
4404
+ n(g), requestAnimationFrame(() => c.current[g]?.focus());
4406
4405
  }
4407
4406
  }
4408
4407
  },
@@ -4413,389 +4412,389 @@ function Wr({
4413
4412
  className: "gloss-section-dots__blob",
4414
4413
  "aria-hidden": "true",
4415
4414
  style: {
4416
- "--blob-start": u[0],
4417
- "--blob-end": u[1]
4415
+ "--blob-start": d[0],
4416
+ "--blob-end": d[1]
4418
4417
  }
4419
4418
  }
4420
4419
  ),
4421
- Array.from({ length: e }, (v, c) => /* @__PURE__ */ r(
4420
+ Array.from({ length: e }, (C, g) => /* @__PURE__ */ r(
4422
4421
  "button",
4423
4422
  {
4424
4423
  ref: (x) => {
4425
- g.current[c] = x;
4424
+ c.current[g] = x;
4426
4425
  },
4427
4426
  type: "button",
4428
4427
  role: "tab",
4429
- "aria-selected": c === d,
4430
- "aria-label": c === i ? "Unconfirmed section" : `Section ${c + 1}`,
4431
- "data-state": c === i ? "provisional-hollow" : c === s ? "pulse" : c === d ? "current" : "hollow",
4432
- "data-section-index": c,
4428
+ "aria-selected": g === u,
4429
+ "aria-label": g === i ? "Unconfirmed section" : `Section ${g + 1}`,
4430
+ "data-state": g === i ? "provisional-hollow" : g === s ? "pulse" : g === u ? "current" : "hollow",
4431
+ "data-section-index": g,
4433
4432
  className: [
4434
4433
  "gloss-section-dots__dot",
4435
- c === d && "gloss-section-dots__dot--current"
4434
+ g === u && "gloss-section-dots__dot--current"
4436
4435
  ].filter(Boolean).join(" "),
4437
- onClick: () => n(c)
4436
+ onClick: () => n(g)
4438
4437
  },
4439
- c === s ? `${c}-${o ?? 0}` : c
4438
+ g === s ? `${g}-${o ?? 0}` : g
4440
4439
  ))
4441
4440
  ]
4442
4441
  }
4443
4442
  );
4444
4443
  }
4445
- const cn = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4444
+ const ln = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4446
4445
  const i = { ...n };
4447
- return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ r(ze, { region: "toolbar", density: e, children: t }) });
4446
+ return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ r(Ke, { region: "toolbar", density: e, children: t }) });
4448
4447
  });
4449
- cn.displayName = "ContainerToolbar";
4450
- const dn = V.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...i }, s) => {
4448
+ ln.displayName = "ContainerToolbar";
4449
+ const cn = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...i }, s) => {
4451
4450
  const o = { ...i };
4452
- return delete o.className, delete o.style, /* @__PURE__ */ k("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
4451
+ return delete o.className, delete o.style, /* @__PURE__ */ D("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
4453
4452
  e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
4454
4453
  t && /* @__PURE__ */ r("p", { className: "gloss-container-form-section__description", children: t }),
4455
- /* @__PURE__ */ r(ze, { region: "form-section", density: n, children: a })
4454
+ /* @__PURE__ */ r(Ke, { region: "form-section", density: n, children: a })
4456
4455
  ] });
4457
4456
  });
4458
- dn.displayName = "ContainerFormSection";
4459
- const un = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4457
+ cn.displayName = "ContainerFormSection";
4458
+ const dn = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4460
4459
  const i = { ...n };
4461
- return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...i, children: /* @__PURE__ */ r(ze, { region: "table", density: e, children: t }) });
4460
+ return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...i, children: /* @__PURE__ */ r(Ke, { region: "table", density: e, children: t }) });
4462
4461
  });
4463
- un.displayName = "ContainerTable";
4462
+ dn.displayName = "ContainerTable";
4464
4463
  export {
4465
- Vr as Accordion,
4466
- Hr as AccordionContent,
4467
- Ur as AccordionItem,
4468
- Zr as AccordionTrigger,
4469
- Yr as ActionStrip,
4470
- qr as Actionable,
4471
- Qr as AddressGroup,
4472
- Xr as AddressSelect,
4473
- Jr as AsyncLoader,
4474
- es as Autocomplete,
4475
- ts as Badge,
4476
- as as BarChartCard,
4477
- ns as BarsBg,
4478
- zr as BottomToolbar,
4479
- rs as Button,
4480
- ss as ButtonGroup,
4481
- is as ButtonGroupContext,
4482
- os as Card,
4483
- ls as CardActions,
4484
- cs as CardBack,
4485
- ds as CardBody,
4486
- us as CardFooter,
4487
- ms as CardHeader,
4488
- gs as CardMedia,
4489
- Dt as CardShell,
4490
- ps as CardSubtitle,
4491
- fs as CardTitle,
4492
- xr as CascadePreview,
4493
- Lr as CellTintOverlay,
4494
- hs as ChartControlBar,
4495
- bs as Checkbox,
4496
- vs as CheckboxGroup,
4497
- ys as Chip,
4498
- ws as ColorPicker,
4499
- _s as ComparisonCard,
4500
- Ns as ContactForm,
4501
- Ds as ContainerCard,
4502
- ks as ContainerCardActions,
4503
- Cs as ContainerCardBody,
4504
- Ss as ContainerCardFooter,
4505
- xs as ContainerCardHeader,
4506
- Rs as ContainerCardMedia,
4507
- Ms as ContainerCardSubtitle,
4508
- Ts as ContainerCardTitle,
4509
- Is as ContainerDialog,
4510
- Es as ContainerDialogActions,
4511
- Ps as ContainerDialogBody,
4512
- Fs as ContainerDialogHeader,
4513
- dn as ContainerFormSection,
4514
- As as ContainerPanel,
4515
- un as ContainerTable,
4516
- cn as ContainerToolbar,
4517
- Os as CreditCardForm,
4518
- Ls as DEFAULT_FOOTER_IDS,
4519
- oe as DEFAULT_GRID_INTERACTION_PHYSICS,
4520
- pl as DEFAULT_MARKET_PRESETS,
4521
- $s as DEFAULT_OVERFLOW_IDS,
4522
- fl as DEFAULT_PINNED,
4523
- it as DEFAULT_RESIZE_PHYSICS,
4524
- Bs as DataTable,
4525
- Ks as DatePicker,
4526
- zs as DateRangePicker,
4527
- Ws as DestructiveModal,
4528
- Na as DevTuningPanel,
4529
- Gs as DirectionCard,
4530
- js as Dismissible,
4531
- Vs as DistributionCard,
4532
- Hs as DonutChart,
4533
- Cr as DragGhost,
4534
- _r as DropAnchorCell,
4535
- Us as Dropdown,
4536
- Sa as DualPaceBars,
4537
- Zs as ENTITY_FILTER_KEYS,
4538
- Ys as ENTITY_PROFILE_ROUTES,
4539
- qs as ENTITY_TYPE_PLURAL,
4540
- Ht as EdgeHoverHandle,
4541
- kr as EmptyCellPackAffordance,
4542
- Qs as EntityPicker,
4543
- J as EntityRow,
4544
- Xs as EntitySearchPanel,
4545
- $a as ExceptionListCard,
4546
- Ba as ExceptionListTilePreview,
4547
- Js as Expandable,
4548
- ei as ExpandableChip,
4549
- ti as FLIP_AND_STAGE_TIMINGS,
4550
- ai as FileUpload,
4551
- ni as FilterChip,
4552
- ri as FilterInput,
4553
- si as FlipAndStageProvider,
4554
- ii as Form,
4555
- oi as FormDialog,
4556
- li as FormField,
4557
- ci as FusedShape,
4558
- xa as GapReadout,
4559
- di as GestureStateProvider,
4560
- Ut as GhostPreview,
4561
- ui as GroupCheckbox,
4562
- mi as GroupRadio,
4563
- Kn as HARD_CLIP,
4564
- gi as HighlightCard,
4565
- pi as HybridDatePicker,
4566
- fi as ImportWizard,
4567
- Ua as InlineNudge,
4568
- hi as Input,
4569
- bi as InputAddon,
4570
- vi as InputGroup,
4571
- Fa as LeaderboardCard,
4572
- Aa as LeaderboardTilePreview,
4573
- Ta as LensChipGroup,
4574
- yi as Link,
4575
- wi as LoginForm,
4576
- _e as MagnitudeBar,
4577
- _i as MarketPresetRow,
4578
- Ni as MaskPresets,
4579
- Di as MaskedInput,
4580
- ki as Menu,
4581
- Ci as MenuDivider,
4582
- Si as MenuGroup,
4583
- xi as MenuItem,
4584
- Ri as MergePrompt,
4585
- Mi as MetricCard,
4586
- Ti as MetricCardGrid,
4587
- ga as MetricGroupContainer,
4588
- Ii as MiniCalendar,
4589
- Ea as MoreInLensRail,
4590
- Ei as MultiSelect,
4591
- Pi as NumberInput,
4592
- Fi as ObjectArrow,
4593
- Ai as OrderFilterBar,
4594
- hl as PERIOD_OPTIONS,
4595
- Rr as PaceCard,
4596
- Mr as PaceTilePreview,
4597
- ta as PageChip,
4598
- ot as PageDropdown,
4599
- Oi as PasswordInput,
4600
- Li as PaymentForm,
4601
- $i as PaymentMethodSelect,
4602
- Bi as PhoneInput,
4603
- Ki as PinToMetric,
4604
- Ja as PresetSwatchRow,
4605
- zi as ProfileCard,
4606
- Wi as ProgressCard,
4607
- Gi as QuickConfigPanel,
4608
- la as RECONFIG_BACKSIDE_LABELS,
4609
- bl as ROLLING_OPTIONS,
4610
- ji as Radio,
4611
- Vi as RadioGroup,
4612
- Hi as RangeSlider,
4613
- ye as RankBadge,
4614
- gt as RankDelta,
4615
- Ui as Rating,
4616
- ua as ReconfigBacksideButtons,
4617
- $r as RefusePulse,
4618
- Zi as RegistrationForm,
4619
- wr as ResizeEnvelope,
4620
- Br as ResizeTrackingOutline,
4621
- Yi as Row1Controls,
4622
- qi as Row2FilterTray,
4623
- Ir as STROKE_DASHED,
4624
- Ar as STROKE_DASHED_DASHARRAY,
4625
- Fr as STROKE_OUTLINE,
4626
- Er as STROKE_SOLID,
4627
- Pr as STROKE_SPARSE_DASH,
4628
- Or as STROKE_SPARSE_DASH_DASHARRAY,
4629
- Qi as SearchInput,
4630
- Dr as SectionDivider,
4631
- Wr as SectionDots,
4632
- Xi as SegmentCard,
4633
- Ji as SegmentedControl,
4634
- eo as Select,
4635
- to as Selectable,
4636
- we as SeverityDot,
4637
- ao as SimpleMetricCard,
4638
- no as SimpleSelector,
4639
- ro as Skeleton,
4640
- so as SkeletonCard,
4641
- io as SkeletonChart,
4642
- oo as SkeletonTable,
4643
- lo as Slider,
4644
- Sr as SnapOutline,
4645
- co as Sortable,
4646
- ln as SortableZones,
4647
- uo as SparklineBg,
4648
- Nr as SpilloverArc,
4649
- mo as SplitButton,
4650
- go as StackedGroupCard,
4651
- Ka as StackedGroupTilePreview,
4652
- Ia as StarterRail,
4653
- po as StatusModeCard,
4654
- Vt as StatusSlotChipMenu,
4655
- fo as Stepper,
4656
- Oe as SwingReveal,
4657
- vl as TODAY_PRESET,
4658
- se as TUNING_DEFAULTS,
4659
- ut as TUNING_STORAGE_KEY,
4660
- ho as TabGroup,
4661
- bo as TabbedDataView,
4662
- vo as TagInput,
4663
- $t as TargetInput,
4664
- yo as Textarea,
4665
- qa as ThresholdRamp,
4666
- wo as TimeFrame,
4667
- _o as TimePicker,
4668
- No as Toggle,
4669
- Do as Tooltip,
4670
- mt as TrackingOutline,
4671
- ko as Transition,
4672
- Co as TransitionGroup,
4673
- So as TrendCard,
4674
- xo as TrendIndicator,
4675
- ul as UIContext,
4676
- ze as UIContextProvider,
4677
- Ro as UnifiedBreakdownTable,
4678
- Mo as UnifiedContextMenu,
4679
- Zt as VelocityBuffer,
4680
- To as addressGroupMetadata,
4681
- Io as addressSchema,
4682
- xn as allChips,
4683
- Vn as allStateFixtures,
4684
- jn as allVariantFixtures,
4685
- In as blockSamples,
4686
- Eo as buildDefaultOverflow,
4687
- On as cardSamples,
4688
- ce as cascadePhysics,
4689
- Fn as chartSamples,
4690
- Pn as circleSamples,
4691
- zn as colorTokens,
4692
- gr as compactLayout,
4693
- ar as compactState,
4694
- Gn as computeGutterAnchorX,
4695
- Po as contactFormMetadata,
4696
- Fo as contactSchema,
4697
- nr as contextMenuFixtures,
4698
- Ao as creditCardFormMetadata,
4699
- Oo as creditCardSchema,
4700
- zt as dateChip,
4701
- dt as defaultControlBarState,
4702
- Lo as destructiveModalMetadata,
4703
- $o as durations,
4704
- Bo as easings,
4705
- Qt as emptyFixture,
4706
- Bt as entityChip,
4707
- sa as entityNameActions,
4708
- Mn as entityTabGroup,
4709
- qt as errorFixture,
4710
- Ko as evaluateTintCondition,
4711
- tr as filteredState,
4712
- yl as findPreset,
4713
- wl as formatDateRange,
4714
- _l as formatMarketDates,
4715
- Nl as formatTrend,
4716
- Dl as formatValue,
4717
- fr as fullLayout,
4718
- kl as generateMarketId,
4719
- zo as generateTabId,
4720
- Cl as getAllPresets,
4721
- Sl as getDateRangeForPreset,
4722
- Wo as getMenuActions,
4723
- st as getMotionMode,
4724
- xl as getPresetLabel,
4725
- Go as getTransitionStyle,
4726
- mr as gridCards,
4727
- Tr as gridChannels,
4728
- jo as interpolate,
4729
- Rl as isInRange,
4730
- Ml as isMarketActive,
4731
- Tl as isSameDay,
4732
- er as itemColumns,
4733
- Xn as itemRows,
4734
- Yt as loadingFixture,
4735
- Vo as loginFormMetadata,
4736
- Ho as loginSchema,
4737
- Wt as manufacturerChip,
4738
- yr as manyTabs,
4739
- Uo as mergeHandlers,
4740
- Zo as mergeRefs,
4741
- Rn as metricTabGroup,
4742
- br as mixedTabs,
4743
- Il as normalizePresetId,
4744
- oa as numericActions,
4745
- Jn as orderColumns,
4746
- ia as orderIdActions,
4747
- Qn as orderRows,
4748
- hr as ordersTabs,
4749
- at as paletteHex,
4750
- ie as paletteVars,
4751
- Yo as parseNumericValue,
4752
- qo as paymentFormMetadata,
4753
- Qo as paymentSchema,
4754
- Xo as presets,
4755
- $n as provisional,
4756
- Bn as reducedMotion,
4757
- Jo as registrationFormMetadata,
4758
- el as registrationSchema,
4759
- Ln as rejectionFeedback,
4760
- sr as sampleCompareRanges,
4761
- lr as sampleCustomMarkets,
4762
- rr as sampleDateRange,
4763
- cr as sampleMarketPresetData,
4764
- or as sampleMarkets,
4765
- ur as samplePeriodPresets,
4766
- ir as samplePreferences,
4767
- dr as samplePresets,
4768
- vr as singleTab,
4769
- Hn as sparklineFixture,
4770
- Un as sparklineUpFixture,
4771
- ea as staleDonutFixture,
4772
- Xt as staleFixture,
4773
- Jt as staleSparklineFixture,
4774
- Zn as standardFixture,
4775
- qn as standardFlatFixture,
4776
- pr as standardLayout,
4777
- Yn as standardNegativeFixture,
4778
- Kt as statusChip,
4779
- fe as swingReveal,
4780
- An as tableSamples,
4781
- En as textSamples,
4782
- Tn as timeFrameTabGroup,
4783
- El as toUppercasePresetId,
4784
- rt as useAffordanceVisibility,
4785
- Sn as useArrowNavigation,
4786
- tl as useCheckboxGroupContext,
4787
- Wn as useEdgeHoverResize,
4788
- al as useFilterLayout,
4789
- nl as useFlipAndStage,
4790
- rl as useFlipAndStageContext,
4791
- sl as useFlipAndStageContextOptional,
4792
- Cn as useFocusReturn,
4793
- il as useFocusTrap,
4794
- ol as useFormContext,
4795
- ll as useGestureState,
4796
- cl as useRadioGroupContext,
4797
- Kr as useResizeChoreography,
4798
- ha as useResizeTuning,
4799
- an as useSortableZones,
4800
- ml as useUIContext
4464
+ jr as Accordion,
4465
+ Vr as AccordionContent,
4466
+ Hr as AccordionItem,
4467
+ Ur as AccordionTrigger,
4468
+ Zr as ActionStrip,
4469
+ Yr as Actionable,
4470
+ qr as AddressGroup,
4471
+ Qr as AddressSelect,
4472
+ Xr as AsyncLoader,
4473
+ Jr as Autocomplete,
4474
+ es as Badge,
4475
+ ts as BarChartCard,
4476
+ as as BarsBg,
4477
+ Kr as BottomToolbar,
4478
+ ns as Button,
4479
+ rs as ButtonGroup,
4480
+ ss as ButtonGroupContext,
4481
+ is as Card,
4482
+ os as CardActions,
4483
+ ls as CardBack,
4484
+ cs as CardBody,
4485
+ ds as CardFooter,
4486
+ us as CardHeader,
4487
+ ms as CardMedia,
4488
+ Nt as CardShell,
4489
+ gs as CardSubtitle,
4490
+ ps as CardTitle,
4491
+ Sr as CascadePreview,
4492
+ Or as CellTintOverlay,
4493
+ fs as ChartControlBar,
4494
+ hs as Checkbox,
4495
+ bs as CheckboxGroup,
4496
+ vs as Chip,
4497
+ ys as ColorPicker,
4498
+ ws as ComparisonCard,
4499
+ _s as ContactForm,
4500
+ Ns as ContainerCard,
4501
+ Ds as ContainerCardActions,
4502
+ ks as ContainerCardBody,
4503
+ Cs as ContainerCardFooter,
4504
+ Ss as ContainerCardHeader,
4505
+ xs as ContainerCardMedia,
4506
+ Rs as ContainerCardSubtitle,
4507
+ Ms as ContainerCardTitle,
4508
+ Ts as ContainerDialog,
4509
+ Is as ContainerDialogActions,
4510
+ Es as ContainerDialogBody,
4511
+ Ps as ContainerDialogHeader,
4512
+ cn as ContainerFormSection,
4513
+ Fs as ContainerPanel,
4514
+ dn as ContainerTable,
4515
+ ln as ContainerToolbar,
4516
+ As as CreditCardForm,
4517
+ Os as DEFAULT_FOOTER_IDS,
4518
+ ie as DEFAULT_GRID_INTERACTION_PHYSICS,
4519
+ gl as DEFAULT_MARKET_PRESETS,
4520
+ Ls as DEFAULT_OVERFLOW_IDS,
4521
+ pl as DEFAULT_PINNED,
4522
+ st as DEFAULT_RESIZE_PHYSICS,
4523
+ $s as DataTable,
4524
+ Bs as DatePicker,
4525
+ Ks as DateRangePicker,
4526
+ zs as DestructiveModal,
4527
+ _a as DevTuningPanel,
4528
+ Ws as DirectionCard,
4529
+ Gs as Dismissible,
4530
+ js as DistributionCard,
4531
+ Vs as DonutChart,
4532
+ kr as DragGhost,
4533
+ wr as DropAnchorCell,
4534
+ Hs as Dropdown,
4535
+ Ca as DualPaceBars,
4536
+ Us as ENTITY_FILTER_KEYS,
4537
+ Zs as ENTITY_PROFILE_ROUTES,
4538
+ Ys as ENTITY_TYPE_PLURAL,
4539
+ Vt as EdgeHoverHandle,
4540
+ Dr as EmptyCellPackAffordance,
4541
+ qs as EntityPicker,
4542
+ X as EntityRow,
4543
+ Qs as EntitySearchPanel,
4544
+ La as ExceptionListCard,
4545
+ $a as ExceptionListTilePreview,
4546
+ Xs as Expandable,
4547
+ Js as ExpandableChip,
4548
+ ei as FLIP_AND_STAGE_TIMINGS,
4549
+ ti as FileUpload,
4550
+ ai as FilterChip,
4551
+ ni as FilterInput,
4552
+ ri as FlipAndStageProvider,
4553
+ si as Form,
4554
+ ii as FormDialog,
4555
+ oi as FormField,
4556
+ li as FusedShape,
4557
+ Sa as GapReadout,
4558
+ ci as GestureStateProvider,
4559
+ Ht as GhostPreview,
4560
+ di as GroupCheckbox,
4561
+ ui as GroupRadio,
4562
+ Bn as HARD_CLIP,
4563
+ mi as HighlightCard,
4564
+ gi as HybridDatePicker,
4565
+ pi as ImportWizard,
4566
+ Ha as InlineNudge,
4567
+ fi as Input,
4568
+ hi as InputAddon,
4569
+ bi as InputGroup,
4570
+ Pa as LeaderboardCard,
4571
+ Fa as LeaderboardTilePreview,
4572
+ Ma as LensChipGroup,
4573
+ vi as Link,
4574
+ yi as LoginForm,
4575
+ we as MagnitudeBar,
4576
+ wi as MarketPresetRow,
4577
+ _i as MaskPresets,
4578
+ Ni as MaskedInput,
4579
+ Di as Menu,
4580
+ ki as MenuDivider,
4581
+ Ci as MenuGroup,
4582
+ Si as MenuItem,
4583
+ xi as MergePrompt,
4584
+ Ri as MetricCard,
4585
+ Mi as MetricCardGrid,
4586
+ ma as MetricGroupContainer,
4587
+ Ti as MiniCalendar,
4588
+ Ia as MoreInLensRail,
4589
+ Ii as MultiSelect,
4590
+ Ei as NumberInput,
4591
+ Pi as ObjectArrow,
4592
+ Fi as OrderFilterBar,
4593
+ fl as PERIOD_OPTIONS,
4594
+ xr as PaceCard,
4595
+ Rr as PaceTilePreview,
4596
+ ea as PageChip,
4597
+ it as PageDropdown,
4598
+ Ai as PasswordInput,
4599
+ Oi as PaymentForm,
4600
+ Li as PaymentMethodSelect,
4601
+ $i as PhoneInput,
4602
+ Bi as PinToMetric,
4603
+ Xa as PresetSwatchRow,
4604
+ Ki as ProfileCard,
4605
+ zi as ProgressCard,
4606
+ Wi as QuickConfigPanel,
4607
+ oa as RECONFIG_BACKSIDE_LABELS,
4608
+ hl as ROLLING_OPTIONS,
4609
+ Gi as Radio,
4610
+ ji as RadioGroup,
4611
+ Vi as RangeSlider,
4612
+ ve as RankBadge,
4613
+ mt as RankDelta,
4614
+ Hi as Rating,
4615
+ da as ReconfigBacksideButtons,
4616
+ Lr as RefusePulse,
4617
+ Ui as RegistrationForm,
4618
+ yr as ResizeEnvelope,
4619
+ $r as ResizeTrackingOutline,
4620
+ Zi as Row1Controls,
4621
+ Yi as Row2FilterTray,
4622
+ Tr as STROKE_DASHED,
4623
+ Fr as STROKE_DASHED_DASHARRAY,
4624
+ Pr as STROKE_OUTLINE,
4625
+ Ir as STROKE_SOLID,
4626
+ Er as STROKE_SPARSE_DASH,
4627
+ Ar as STROKE_SPARSE_DASH_DASHARRAY,
4628
+ qi as SearchInput,
4629
+ Nr as SectionDivider,
4630
+ zr as SectionDots,
4631
+ Qi as SegmentCard,
4632
+ Xi as SegmentedControl,
4633
+ Ji as Select,
4634
+ eo as Selectable,
4635
+ ye as SeverityDot,
4636
+ to as SimpleMetricCard,
4637
+ ao as SimpleSelector,
4638
+ no as Skeleton,
4639
+ ro as SkeletonCard,
4640
+ so as SkeletonChart,
4641
+ io as SkeletonTable,
4642
+ oo as Slider,
4643
+ Cr as SnapOutline,
4644
+ lo as Sortable,
4645
+ on as SortableZones,
4646
+ co as SparklineBg,
4647
+ _r as SpilloverArc,
4648
+ uo as SplitButton,
4649
+ mo as StackedGroupCard,
4650
+ Ba as StackedGroupTilePreview,
4651
+ Ta as StarterRail,
4652
+ go as StatusModeCard,
4653
+ jt as StatusSlotChipMenu,
4654
+ po as Stepper,
4655
+ Ae as SwingReveal,
4656
+ bl as TODAY_PRESET,
4657
+ re as TUNING_DEFAULTS,
4658
+ dt as TUNING_STORAGE_KEY,
4659
+ fo as TabGroup,
4660
+ ho as TabbedDataView,
4661
+ bo as TagInput,
4662
+ Lt as TargetInput,
4663
+ vo as Textarea,
4664
+ Ya as ThresholdRamp,
4665
+ yo as TimeFrame,
4666
+ wo as TimePicker,
4667
+ _o as Toggle,
4668
+ No as Tooltip,
4669
+ ut as TrackingOutline,
4670
+ Do as Transition,
4671
+ ko as TransitionGroup,
4672
+ Co as TrendCard,
4673
+ So as TrendIndicator,
4674
+ dl as UIContext,
4675
+ Ke as UIContextProvider,
4676
+ xo as UnifiedBreakdownTable,
4677
+ Ro as UnifiedContextMenu,
4678
+ Ut as VelocityBuffer,
4679
+ Mo as addressGroupMetadata,
4680
+ To as addressSchema,
4681
+ Sn as allChips,
4682
+ jn as allStateFixtures,
4683
+ Gn as allVariantFixtures,
4684
+ Tn as blockSamples,
4685
+ Io as buildDefaultOverflow,
4686
+ An as cardSamples,
4687
+ le as cascadePhysics,
4688
+ Pn as chartSamples,
4689
+ En as circleSamples,
4690
+ Kn as colorTokens,
4691
+ mr as compactLayout,
4692
+ tr as compactState,
4693
+ Wn as computeGutterAnchorX,
4694
+ Eo as contactFormMetadata,
4695
+ Po as contactSchema,
4696
+ ar as contextMenuFixtures,
4697
+ Fo as creditCardFormMetadata,
4698
+ Ao as creditCardSchema,
4699
+ Kt as dateChip,
4700
+ ct as defaultControlBarState,
4701
+ Oo as destructiveModalMetadata,
4702
+ Lo as durations,
4703
+ $o as easings,
4704
+ qt as emptyFixture,
4705
+ $t as entityChip,
4706
+ ra as entityNameActions,
4707
+ Rn as entityTabGroup,
4708
+ Yt as errorFixture,
4709
+ Bo as evaluateTintCondition,
4710
+ er as filteredState,
4711
+ vl as findPreset,
4712
+ yl as formatDateRange,
4713
+ wl as formatMarketDates,
4714
+ _l as formatTrend,
4715
+ Nl as formatValue,
4716
+ pr as fullLayout,
4717
+ Dl as generateMarketId,
4718
+ Ko as generateTabId,
4719
+ kl as getAllPresets,
4720
+ Cl as getDateRangeForPreset,
4721
+ zo as getMenuActions,
4722
+ rt as getMotionMode,
4723
+ Sl as getPresetLabel,
4724
+ Wo as getTransitionStyle,
4725
+ ur as gridCards,
4726
+ Mr as gridChannels,
4727
+ Go as interpolate,
4728
+ xl as isInRange,
4729
+ Rl as isMarketActive,
4730
+ Ml as isSameDay,
4731
+ Jn as itemColumns,
4732
+ Qn as itemRows,
4733
+ Zt as loadingFixture,
4734
+ jo as loginFormMetadata,
4735
+ Vo as loginSchema,
4736
+ zt as manufacturerChip,
4737
+ vr as manyTabs,
4738
+ Ho as mergeHandlers,
4739
+ Uo as mergeRefs,
4740
+ xn as metricTabGroup,
4741
+ hr as mixedTabs,
4742
+ Tl as normalizePresetId,
4743
+ ia as numericActions,
4744
+ Xn as orderColumns,
4745
+ sa as orderIdActions,
4746
+ qn as orderRows,
4747
+ fr as ordersTabs,
4748
+ tt as paletteHex,
4749
+ se as paletteVars,
4750
+ Zo as parseNumericValue,
4751
+ Yo as paymentFormMetadata,
4752
+ qo as paymentSchema,
4753
+ Qo as presets,
4754
+ Ln as provisional,
4755
+ $n as reducedMotion,
4756
+ Xo as registrationFormMetadata,
4757
+ Jo as registrationSchema,
4758
+ On as rejectionFeedback,
4759
+ rr as sampleCompareRanges,
4760
+ or as sampleCustomMarkets,
4761
+ nr as sampleDateRange,
4762
+ lr as sampleMarketPresetData,
4763
+ ir as sampleMarkets,
4764
+ dr as samplePeriodPresets,
4765
+ sr as samplePreferences,
4766
+ cr as samplePresets,
4767
+ br as singleTab,
4768
+ Vn as sparklineFixture,
4769
+ Hn as sparklineUpFixture,
4770
+ Jt as staleDonutFixture,
4771
+ Qt as staleFixture,
4772
+ Xt as staleSparklineFixture,
4773
+ Un as standardFixture,
4774
+ Yn as standardFlatFixture,
4775
+ gr as standardLayout,
4776
+ Zn as standardNegativeFixture,
4777
+ Bt as statusChip,
4778
+ pe as swingReveal,
4779
+ Fn as tableSamples,
4780
+ In as textSamples,
4781
+ Mn as timeFrameTabGroup,
4782
+ Il as toUppercasePresetId,
4783
+ nt as useAffordanceVisibility,
4784
+ Cn as useArrowNavigation,
4785
+ el as useCheckboxGroupContext,
4786
+ zn as useEdgeHoverResize,
4787
+ tl as useFilterLayout,
4788
+ al as useFlipAndStage,
4789
+ nl as useFlipAndStageContext,
4790
+ rl as useFlipAndStageContextOptional,
4791
+ kn as useFocusReturn,
4792
+ sl as useFocusTrap,
4793
+ il as useFormContext,
4794
+ ol as useGestureState,
4795
+ ll as useRadioGroupContext,
4796
+ Br as useResizeChoreography,
4797
+ fa as useResizeTuning,
4798
+ tn as useSortableZones,
4799
+ ul as useUIContext
4801
4800
  };