@mt-gloss/ui 0.1.27 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,21 +1,21 @@
1
- import { C as rt, P as st } from "./Expandable-D7_L8KoV.js";
2
- import { O as nr, U as rr, Q as sr, T as ir, a4 as or, b7 as lr, aA as cr, ai as dr, _ as ur, ao as mr, N as gr, a9 as pr, bn as fr, a as hr, B as br, b as vr, A as yr, K as wr, bi as Dr, J as _r, L as Nr, E as Cr, D as kr, H as xr, F as Sr, bx as Mr, c as Tr, d as Rr, q as Ir, ae as Pr, aO as Fr, A as Er, K as Ar, J as Or, L as Lr, E as $r, D as Br, H as Kr, F as zr, b0 as Gr, b3 as Wr, b2 as Hr, b1 as Vr, b4 as Ur, aD as jr, a6 as Zr, a5 as qr, ar as Yr, m as Qr, o as Xr, aG as Jr, ac as es, b9 as ts, aa as as, bo as ns, Z as rs, bH as ss, bG as is, bI as os, aq as ls, aR as cs, bb as ds, bM as us, bv as ms, p as gs, an as ps, bB as fs, bs as hs, a1 as bs, as as vs, a3 as ys, bA as ws, G as Ds, f as _s, ab as Ns, bJ as Cs, aU as ks, t as xs, x as Ss, I as Ms, i as Ts, ax as Rs, bN as Is, M as Ps, y as Fs, V as Es, Y as As, W as Os, X as Ls, at as $s, bh as Bs, bP as Ks, bL as zs, ap as Gs, w as Ws, bp as Hs, aT as Vs, ak as Us, aL as js, ah as Zs, am as qs, av as Ys, aS as Qs, ad as Xs, au as Js, e as ei, R as ti, l as ai, r as ni, aI as ri, by as si, bz as ii, aj as oi, af as li, j as ci, z as di, b8 as ui, ag as mi, bO as gi, bd as pi, bg as fi, be as hi, bf as bi, k as vi, ba as yi, bm as wi, S as Di, bk as _i, bl as Ni, aw as Ci, bc as ki, bQ as xi, al as Si, v as Mi, bK as Ti, n as Ri, h as Ii, s as Pi, $ as Fi, a0 as Ei, a8 as Ai, bj as Oi, bw as Li, bD as $i, aB as Bi, aC as Ki, a7 as zi, aP as Gi, aQ as Wi, aE as Hi, aF as Vi, aH as Ui, aW as ji, aX as Zi, bq as qi, bF as Yi, bE as Qi, aZ as Xi, a_ as Ji, ay as eo, az as to, b6 as ao, b5 as no, a$ as ro, aM as so, aN as io, aY as oo, aJ as lo, aK as co, u as uo, bC as mo, br as go, bt as po, bu as fo, aV as ho, a2 as bo, g as vo } from "./Expandable-D7_L8KoV.js";
3
- import { jsxs as k, jsx as i, Fragment as be } from "react/jsx-runtime";
4
- import * as it from "react";
5
- import V, { useRef as T, useEffect as L, useState as $, useCallback as w, forwardRef as ot, useMemo as ge, createContext as lt, useContext as ct } from "react";
6
- import { motion as ve, useMotionValue as dt, animate as Oe, useDragControls as ut } from "framer-motion";
7
- import { B as mt, U as Re } from "./UIContext-C3E-k7HI.js";
8
- import { a as wo, u as Do } from "./UIContext-C3E-k7HI.js";
9
- import { createPortal as gt } from "react-dom";
10
- import { DEFAULT_MARKET_PRESETS as No, DEFAULT_PINNED as Co, PERIOD_OPTIONS as ko, ROLLING_OPTIONS as xo, TODAY_PRESET as So, findPreset as Mo, formatDateRange as To, formatMarketDates as Ro, formatTrend as Io, formatValue as Po, generateMarketId as Fo, getAllPresets as Eo, getDateRangeForPreset as Ao, getPresetLabel as Oo, isInRange as Lo, isMarketActive as $o, isSameDay as Bo, normalizePresetId as Ko, toUppercasePresetId as zo } from "@mt-gloss/utils";
11
- import pt from "@mui/icons-material/AccessTime";
12
- import ft from "@mui/icons-material/Tune";
13
- import ht from "@mui/icons-material/ViewColumn";
14
- import bt from "@mui/icons-material/AspectRatio";
15
- import vt from "@mui/icons-material/Palette";
16
- import yt from "@mui/icons-material/PushPin";
17
- function Va(e = {}) {
18
- const { enabled: t = !0, returnTo: n } = e, a = T(null);
1
+ import { C as ut, P as mt } from "./Expandable-alOxKG0x.js";
2
+ import { O as vr, U as br, Q as yr, T as wr, a4 as _r, b7 as Nr, aA as Dr, ai as Cr, _ as kr, ao as xr, N as Sr, a9 as Rr, bn as Mr, a as Tr, B as Ir, b as Pr, A as Fr, K as Er, bi as Ar, J as Or, L as Lr, E as $r, D as Br, H as zr, F as Kr, bx as Wr, c as Gr, d as Vr, q as Hr, ae as Ur, aO as jr, A as Zr, K as qr, J as Yr, L as Qr, E as Xr, D as Jr, H as es, F as ts, b0 as as, b3 as ns, b2 as rs, b1 as ss, b4 as is, aD as os, a6 as ls, a5 as cs, ar as ds, m as us, o as ms, aG as gs, ac as ps, b9 as hs, aa as fs, bo as vs, Z as bs, bH as ys, bG as ws, bI as _s, aq as Ns, aR as Ds, bb as Cs, bM as ks, bv as xs, p as Ss, an as Rs, bB as Ms, bs as Ts, a1 as Is, as as Ps, a3 as Fs, bA as Es, G as As, f as Os, ab as Ls, bJ as $s, aU as Bs, t as zs, x as Ks, I as Ws, i as Gs, ax as Vs, bN as Hs, M as Us, y as js, V as Zs, Y as qs, W as Ys, X as Qs, at as Xs, bh as Js, bP as ei, bL as ti, ap as ai, w as ni, bp as ri, aT as si, ak as ii, aL as oi, ah as li, am as ci, av as di, aS as ui, ad as mi, au as gi, e as pi, R as hi, l as fi, r as vi, aI as bi, by as yi, bz as wi, aj as _i, af as Ni, j as Di, z as Ci, b8 as ki, ag as xi, bO as Si, bd as Ri, bg as Mi, be as Ti, bf as Ii, k as Pi, ba as Fi, bm as Ei, S as Ai, bk as Oi, bl as Li, aw as $i, bc as Bi, bQ as zi, al as Ki, v as Wi, bK as Gi, n as Vi, h as Hi, s as Ui, $ as ji, a0 as Zi, a8 as qi, bj as Yi, bw as Qi, bD as Xi, aB as Ji, aC as eo, a7 as to, aP as ao, aQ as no, aE as ro, aF as so, aH as io, aW as oo, aX as lo, bq as co, bF as uo, bE as mo, aZ as go, a_ as po, ay as ho, az as fo, b6 as vo, b5 as bo, a$ as yo, aM as wo, aN as _o, aY as No, aJ as Do, aK as Co, u as ko, bC as xo, br as So, bt as Ro, bu as Mo, aV as To, a2 as Io, g as Po } from "./Expandable-alOxKG0x.js";
3
+ import { jsxs as D, jsx as r, Fragment as te } from "react/jsx-runtime";
4
+ import * as gt from "react";
5
+ import H, { useRef as M, useEffect as L, useState as $, useCallback as w, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
6
+ import { motion as De, useMotionValue as vt, animate as We, useDragControls as bt } from "framer-motion";
7
+ import { B as yt, a as pe, b as Te, U as Oe } from "./UIContext-CDdyubSF.js";
8
+ import { c as Eo, u as Ao } from "./UIContext-CDdyubSF.js";
9
+ import { createPortal as wt } from "react-dom";
10
+ import { DEFAULT_MARKET_PRESETS as Lo, DEFAULT_PINNED as $o, PERIOD_OPTIONS as Bo, ROLLING_OPTIONS as zo, TODAY_PRESET as Ko, findPreset as Wo, formatDateRange as Go, formatMarketDates as Vo, formatTrend as Ho, formatValue as Uo, generateMarketId as jo, getAllPresets as Zo, getDateRangeForPreset as qo, getPresetLabel as Yo, isInRange as Qo, isMarketActive as Xo, isSameDay as Jo, normalizePresetId as el, toUppercasePresetId as tl } from "@mt-gloss/utils";
11
+ import _t from "@mui/icons-material/AccessTime";
12
+ import Nt from "@mui/icons-material/Tune";
13
+ import Dt from "@mui/icons-material/ViewColumn";
14
+ import Ct from "@mui/icons-material/AspectRatio";
15
+ import kt from "@mui/icons-material/Palette";
16
+ import xt from "@mui/icons-material/PushPin";
17
+ function sn(e = {}) {
18
+ const { enabled: t = !0, returnTo: n } = e, a = M(null);
19
19
  return L(() => {
20
20
  t && (a.current = n || document.activeElement);
21
21
  }, [t, n]), L(() => () => {
@@ -24,138 +24,138 @@ function Va(e = {}) {
24
24
  }, 0);
25
25
  }, [t]), a;
26
26
  }
27
- function Ua(e) {
27
+ function on(e) {
28
28
  const {
29
29
  items: t,
30
30
  activeIndex: n,
31
31
  onActiveIndexChange: a,
32
- loop: r = !0,
33
- orientation: s = "vertical",
32
+ loop: s = !0,
33
+ orientation: i = "vertical",
34
34
  enabled: o = !0,
35
35
  isItemDisabled: l,
36
36
  onSelect: m,
37
- onEscape: u
38
- } = e, [p, h] = $(-1), d = n !== void 0 ? n : p, g = w(
37
+ onEscape: d
38
+ } = e, [g, f] = $(-1), u = n !== void 0 ? n : g, p = w(
39
39
  (c) => {
40
- n === void 0 && h(c), a?.(c);
40
+ n === void 0 && f(c), a?.(c);
41
41
  },
42
42
  [n, a]
43
- ), _ = w(() => t.map((c, b) => ({ item: c, index: b })).filter(({ item: c, index: b }) => !l?.(c, b)).map(({ index: c }) => c), [t, l]), y = w(
44
- (c, b) => {
45
- const D = _();
46
- if (D.length === 0) return -1;
47
- const S = D.indexOf(c);
43
+ ), N = w(() => t.map((c, v) => ({ item: c, index: v })).filter(({ item: c, index: v }) => !l?.(c, v)).map(({ index: c }) => c), [t, l]), y = w(
44
+ (c, v) => {
45
+ const _ = N();
46
+ if (_.length === 0) return -1;
47
+ const S = _.indexOf(c);
48
48
  if (S === -1)
49
- return b === 1 ? D.find((x) => x > c) ?? (r ? D[0] : -1) : [...D].reverse().find((F) => F < c) ?? (r ? D[D.length - 1] : -1);
50
- let v = S + b;
51
- return r ? v = (v + D.length) % D.length : v = Math.max(0, Math.min(D.length - 1, v)), D[v];
49
+ return v === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
50
+ let b = S + v;
51
+ return s ? b = (b + _.length) % _.length : b = Math.max(0, Math.min(_.length - 1, b)), _[b];
52
52
  },
53
- [_, r]
54
- ), f = w(() => {
55
- const c = _();
56
- c.length > 0 && g(c[0]);
57
- }, [_, g]), M = w(() => {
58
- const c = _();
59
- c.length > 0 && g(c[c.length - 1]);
60
- }, [_, g]), P = w(() => {
61
- const c = y(d, 1);
62
- c !== -1 && g(c);
63
- }, [d, y, g]), C = w(() => {
64
- const c = y(d, -1);
65
- c !== -1 && g(c);
66
- }, [d, y, g]), R = w(() => {
67
- g(-1);
68
- }, [g]), I = w(
53
+ [N, s]
54
+ ), h = w(() => {
55
+ const c = N();
56
+ c.length > 0 && p(c[0]);
57
+ }, [N, p]), R = w(() => {
58
+ const c = N();
59
+ c.length > 0 && p(c[c.length - 1]);
60
+ }, [N, p]), P = w(() => {
61
+ const c = y(u, 1);
62
+ c !== -1 && p(c);
63
+ }, [u, y, p]), k = w(() => {
64
+ const c = y(u, -1);
65
+ c !== -1 && p(c);
66
+ }, [u, y, p]), T = w(() => {
67
+ p(-1);
68
+ }, [p]), I = w(
69
69
  (c) => {
70
70
  if (!o) return;
71
- const { key: b } = c, D = b === "ArrowUp" && (s === "vertical" || s === "both"), S = b === "ArrowDown" && (s === "vertical" || s === "both"), v = b === "ArrowLeft" && (s === "horizontal" || s === "both"), x = b === "ArrowRight" && (s === "horizontal" || s === "both");
72
- if (D || v) {
73
- c.preventDefault(), d === -1 ? M() : C();
71
+ const { key: v } = c, _ = v === "ArrowUp" && (i === "vertical" || i === "both"), S = v === "ArrowDown" && (i === "vertical" || i === "both"), b = v === "ArrowLeft" && (i === "horizontal" || i === "both"), x = v === "ArrowRight" && (i === "horizontal" || i === "both");
72
+ if (_ || b) {
73
+ c.preventDefault(), u === -1 ? R() : k();
74
74
  return;
75
75
  }
76
76
  if (S || x) {
77
- c.preventDefault(), d === -1 ? f() : P();
77
+ c.preventDefault(), u === -1 ? h() : P();
78
78
  return;
79
79
  }
80
- if (b === "Home") {
81
- c.preventDefault(), f();
80
+ if (v === "Home") {
81
+ c.preventDefault(), h();
82
82
  return;
83
83
  }
84
- if (b === "End") {
85
- c.preventDefault(), M();
84
+ if (v === "End") {
85
+ c.preventDefault(), R();
86
86
  return;
87
87
  }
88
- if ((b === "Enter" || b === " ") && d >= 0 && d < t.length) {
88
+ if ((v === "Enter" || v === " ") && u >= 0 && u < t.length) {
89
89
  c.preventDefault();
90
- const F = t[d];
91
- l?.(F, d) || m?.(F, d);
90
+ const F = t[u];
91
+ l?.(F, u) || m?.(F, u);
92
92
  return;
93
93
  }
94
- if (b === "Escape") {
95
- u?.();
94
+ if (v === "Escape") {
95
+ d?.();
96
96
  return;
97
97
  }
98
98
  },
99
99
  [
100
100
  o,
101
- s,
102
- d,
101
+ i,
102
+ u,
103
103
  t,
104
- f,
105
- M,
104
+ h,
105
+ R,
106
106
  P,
107
- C,
107
+ k,
108
108
  l,
109
109
  m,
110
- u
110
+ d
111
111
  ]
112
112
  );
113
113
  return {
114
- focusedIndex: d,
115
- setFocusedIndex: g,
114
+ focusedIndex: u,
115
+ setFocusedIndex: p,
116
116
  handleKeyDown: I,
117
- focusFirst: f,
118
- focusLast: M,
117
+ focusFirst: h,
118
+ focusLast: R,
119
119
  focusNext: P,
120
- focusPrevious: C,
121
- resetFocus: R
120
+ focusPrevious: k,
121
+ resetFocus: T
122
122
  };
123
123
  }
124
- const wt = ({
124
+ const St = ({
125
125
  label: e = "Set a target",
126
126
  unit: t,
127
127
  currentValue: n,
128
128
  onConfirm: a,
129
- onSkip: r,
130
- hint: s
129
+ onSkip: s,
130
+ hint: i
131
131
  }) => {
132
132
  const [o, l] = $(n != null ? String(n) : ""), m = () => {
133
- const d = parseFloat(o);
134
- Number.isNaN(d) || a(d);
135
- }, u = (d) => {
136
- d.key === "Enter" ? (d.preventDefault(), m()) : d.key === "Escape" && (d.preventDefault(), r?.());
137
- }, p = "gloss-target-input-field", h = s ? "gloss-target-input-hint" : void 0;
138
- return /* @__PURE__ */ k("div", { className: "gloss-target-input", children: [
139
- /* @__PURE__ */ i("label", { className: "gloss-target-input__label", htmlFor: p, children: e }),
140
- /* @__PURE__ */ k("div", { className: "gloss-target-input__field-row", children: [
141
- /* @__PURE__ */ i(
133
+ const u = parseFloat(o);
134
+ Number.isNaN(u) || a(u);
135
+ }, d = (u) => {
136
+ u.key === "Enter" ? (u.preventDefault(), m()) : u.key === "Escape" && (u.preventDefault(), s?.());
137
+ }, g = "gloss-target-input-field", f = i ? "gloss-target-input-hint" : void 0;
138
+ return /* @__PURE__ */ D("div", { className: "gloss-target-input", children: [
139
+ /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: g, children: e }),
140
+ /* @__PURE__ */ D("div", { className: "gloss-target-input__field-row", children: [
141
+ /* @__PURE__ */ r(
142
142
  "input",
143
143
  {
144
- id: p,
144
+ id: g,
145
145
  type: "number",
146
146
  className: "gloss-target-input__field",
147
147
  value: o,
148
- onChange: (d) => l(d.target.value),
149
- onKeyDown: u,
150
- "aria-describedby": h,
148
+ onChange: (u) => l(u.target.value),
149
+ onKeyDown: d,
150
+ "aria-describedby": f,
151
151
  autoFocus: !0
152
152
  }
153
153
  ),
154
- t && /* @__PURE__ */ i("span", { className: "gloss-target-input__unit", children: t })
154
+ t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
155
155
  ] }),
156
- s && /* @__PURE__ */ i("p", { id: h, className: "gloss-target-input__hint", children: s }),
157
- /* @__PURE__ */ k("div", { className: "gloss-target-input__actions", children: [
158
- /* @__PURE__ */ i(
156
+ i && /* @__PURE__ */ r("p", { id: f, className: "gloss-target-input__hint", children: i }),
157
+ /* @__PURE__ */ D("div", { className: "gloss-target-input__actions", children: [
158
+ /* @__PURE__ */ r(
159
159
  "button",
160
160
  {
161
161
  type: "button",
@@ -164,54 +164,54 @@ const wt = ({
164
164
  children: "Confirm"
165
165
  }
166
166
  ),
167
- r && /* @__PURE__ */ i(
167
+ s && /* @__PURE__ */ r(
168
168
  "button",
169
169
  {
170
170
  type: "button",
171
171
  className: "gloss-target-input__skip",
172
- onClick: r,
172
+ onClick: s,
173
173
  children: "Skip"
174
174
  }
175
175
  )
176
176
  ] })
177
177
  ] });
178
- }, ye = (e) => {
179
- }, Dt = {
178
+ }, Ce = (e) => {
179
+ }, Rt = {
180
180
  id: "entity-filter-1",
181
181
  label: "Customer: Acme Corp",
182
182
  field: "customer",
183
183
  value: "acme-corp-123",
184
- onRemove: ye
185
- }, _t = {
184
+ onRemove: Ce
185
+ }, Mt = {
186
186
  id: "status-filter-1",
187
187
  label: "Status: Open",
188
188
  field: "status",
189
189
  value: "open",
190
- onRemove: ye
191
- }, Nt = {
190
+ onRemove: Ce
191
+ }, Tt = {
192
192
  id: "date-filter-1",
193
193
  label: "Date: Mar 1 - Mar 15",
194
194
  field: "dateRange",
195
195
  value: "2026-03-01..2026-03-15",
196
- onRemove: ye
197
- }, Ct = {
196
+ onRemove: Ce
197
+ }, It = {
198
198
  id: "mfg-filter-1",
199
199
  label: "Manufacturer: Widget Co",
200
200
  field: "manufacturer",
201
201
  value: "widget-co-456",
202
- onRemove: ye
203
- }, ja = [
204
- Dt,
205
- _t,
206
- Nt,
207
- Ct
208
- ], Za = {
202
+ onRemove: Ce
203
+ }, ln = [
204
+ Rt,
205
+ Mt,
206
+ Tt,
207
+ It
208
+ ], cn = {
209
209
  id: "metric-toggle",
210
210
  tabs: [
211
211
  { id: "$", label: "$", mono: !0 },
212
212
  { id: "#", label: "#", mono: !0 }
213
213
  ]
214
- }, qa = {
214
+ }, dn = {
215
215
  id: "entity-type",
216
216
  tabs: [
217
217
  { id: "orders", label: "Orders" },
@@ -219,7 +219,7 @@ const wt = ({
219
219
  { id: "customers", label: "Customers" },
220
220
  { id: "manufacturers", label: "Manufacturers" }
221
221
  ]
222
- }, Ya = {
222
+ }, un = {
223
223
  id: "time-frame",
224
224
  tabs: [
225
225
  { id: "MTD", label: "MTD" },
@@ -227,30 +227,30 @@ const wt = ({
227
227
  { id: "YTD", label: "YTD" },
228
228
  { id: "LYTD", label: "LYTD" }
229
229
  ]
230
- }, Qa = [
230
+ }, mn = [
231
231
  { variant: "block", width: "100%", height: 16 },
232
232
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
233
233
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
234
234
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
235
- ], Xa = [
235
+ ], gn = [
236
236
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
237
237
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
238
238
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
239
- ], Ja = [
239
+ ], pn = [
240
240
  { variant: "circle", size: 24 },
241
241
  { variant: "circle", size: 40 },
242
242
  { variant: "circle", size: 64 }
243
- ], en = [
243
+ ], hn = [
244
244
  { bars: 10, maxHeight: 120 },
245
245
  { bars: 5, maxHeight: 80 }
246
- ], tn = [
246
+ ], fn = [
247
247
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
248
248
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
249
- ], an = [
249
+ ], vn = [
250
250
  { variant: "value", colSpan: 1 },
251
251
  { variant: "trend", colSpan: 2 },
252
252
  { variant: "target", colSpan: 1 }
253
- ], Le = {
253
+ ], Ge = {
254
254
  position: "fixed",
255
255
  zIndex: 9999,
256
256
  background: "rgba(255,255,255,0.92)",
@@ -262,7 +262,7 @@ const wt = ({
262
262
  minWidth: 148,
263
263
  paddingTop: 4,
264
264
  paddingBottom: 4
265
- }, ke = (e) => ({
265
+ }, Ie = (e) => ({
266
266
  padding: "6px 12px",
267
267
  fontSize: 12,
268
268
  lineHeight: 1.4,
@@ -276,60 +276,60 @@ const wt = ({
276
276
  width: "100%",
277
277
  textAlign: "left",
278
278
  border: "none"
279
- }), kt = (e) => ({
280
- ...ke(e),
279
+ }), Pt = (e) => ({
280
+ ...Ie(e),
281
281
  color: e ? "#4338ca" : "#4f46e5",
282
282
  fontWeight: 600
283
- }), xt = {
283
+ }), Ft = {
284
284
  height: 1,
285
285
  background: "rgba(0,0,0,0.06)",
286
286
  margin: "3px 10px"
287
287
  };
288
- function St({
288
+ function Et({
289
289
  open: e,
290
290
  anchorEl: t,
291
291
  statusId: n,
292
292
  onOpenInTable: a,
293
- onShowOnGraph: r,
294
- overflowActions: s,
293
+ onShowOnGraph: s,
294
+ overflowActions: i,
295
295
  onClose: o
296
296
  }) {
297
- const [l, m] = $(null), u = T(null), p = w(() => {
298
- if (!t) return { ...Le, top: 0, left: 0 };
299
- const g = t.getBoundingClientRect();
297
+ const [l, m] = $(null), d = M(null), g = w(() => {
298
+ if (!t) return { ...Ge, top: 0, left: 0 };
299
+ const p = t.getBoundingClientRect();
300
300
  return {
301
- ...Le,
302
- top: g.bottom + 4,
303
- left: g.left
301
+ ...Ge,
302
+ top: p.bottom + 4,
303
+ left: p.left
304
304
  };
305
305
  }, [t]);
306
306
  if (L(() => {
307
307
  if (!e) return;
308
- const g = (_) => {
309
- _.key === "Escape" && o();
308
+ const p = (N) => {
309
+ N.key === "Escape" && o();
310
310
  };
311
- return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
311
+ return document.addEventListener("keydown", p), () => document.removeEventListener("keydown", p);
312
312
  }, [e, o]), L(() => {
313
313
  if (!e) return;
314
- const g = (_) => {
315
- u.current && !u.current.contains(_.target) && o();
314
+ const p = (N) => {
315
+ d.current && !d.current.contains(N.target) && o();
316
316
  };
317
- return document.addEventListener("pointerdown", g, !0), () => document.removeEventListener("pointerdown", g, !0);
317
+ return document.addEventListener("pointerdown", p, !0), () => document.removeEventListener("pointerdown", p, !0);
318
318
  }, [e, o]), !e) return null;
319
- const h = s && s.length > 0, d = /* @__PURE__ */ k(
319
+ const f = i && i.length > 0, u = /* @__PURE__ */ D(
320
320
  "div",
321
321
  {
322
- ref: u,
322
+ ref: d,
323
323
  "data-status-chip-menu": n,
324
324
  role: "menu",
325
325
  "aria-label": "Status actions",
326
- style: p(),
326
+ style: g(),
327
327
  children: [
328
- /* @__PURE__ */ i(
328
+ /* @__PURE__ */ r(
329
329
  "button",
330
330
  {
331
331
  role: "menuitem",
332
- style: kt(l === "__primary"),
332
+ style: Pt(l === "__primary"),
333
333
  onMouseEnter: () => m("__primary"),
334
334
  onMouseLeave: () => m(null),
335
335
  onClick: () => {
@@ -338,64 +338,64 @@ function St({
338
338
  children: "Open in table"
339
339
  }
340
340
  ),
341
- /* @__PURE__ */ i(
341
+ /* @__PURE__ */ r(
342
342
  "button",
343
343
  {
344
344
  role: "menuitem",
345
- style: ke(l === "__graph"),
345
+ style: Ie(l === "__graph"),
346
346
  onMouseEnter: () => m("__graph"),
347
347
  onMouseLeave: () => m(null),
348
348
  onClick: () => {
349
- r(n), o();
349
+ s(n), o();
350
350
  },
351
351
  children: "Show on graph"
352
352
  }
353
353
  ),
354
- h && /* @__PURE__ */ i("div", { style: xt }),
355
- h && s?.map((g) => /* @__PURE__ */ i(
354
+ f && /* @__PURE__ */ r("div", { style: Ft }),
355
+ f && i?.map((p) => /* @__PURE__ */ r(
356
356
  "button",
357
357
  {
358
358
  role: "menuitem",
359
- style: ke(l === g.id),
360
- onMouseEnter: () => m(g.id),
359
+ style: Ie(l === p.id),
360
+ onMouseEnter: () => m(p.id),
361
361
  onMouseLeave: () => m(null),
362
362
  onClick: () => {
363
- g.onSelect(n), o();
363
+ p.onSelect(n), o();
364
364
  },
365
- children: g.label
365
+ children: p.label
366
366
  },
367
- g.id
367
+ p.id
368
368
  ))
369
369
  ]
370
370
  }
371
371
  );
372
- return gt(d, document.body);
372
+ return wt(u, document.body);
373
373
  }
374
- St.displayName = "StatusSlotChipMenu";
375
- const nn = {
374
+ Et.displayName = "StatusSlotChipMenu";
375
+ const bn = {
376
376
  forwardStaggerMs: 50,
377
377
  reverseStaggerMs: 30,
378
378
  springStiffness: 380,
379
379
  springDamping: 32,
380
380
  reverseVelocityMultiplier: 1.4
381
- }, de = {
381
+ }, me = {
382
382
  enterDurationMs: 220,
383
383
  exitDurationMs: 140,
384
384
  enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
385
385
  exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
386
386
  translateOffsetPx: 8
387
- }, rn = {
387
+ }, yn = {
388
388
  shiverCycles: 3,
389
389
  shiverAmplitudePx: 2,
390
390
  shiverDurationMs: 180,
391
391
  validCellOpacity: 0.6
392
- }, sn = {
392
+ }, wn = {
393
393
  materializeMs: 180,
394
394
  dematerializeMs: 140,
395
395
  easing: "cubic-bezier(0.22, 1, 0.36, 1)",
396
396
  dotStrokePx: 2,
397
397
  dividerDashGapPx: 4
398
- }, on = {
398
+ }, _n = {
399
399
  cascadeStaggerMs: 0,
400
400
  cascadeSpringCapMs: 120,
401
401
  swingEnterMs: 100,
@@ -404,7 +404,7 @@ const nn = {
404
404
  provisionalStyle: "opacity",
405
405
  shiverMs: 200,
406
406
  shiverStyle: "color-flash"
407
- }, ln = !0, cn = {
407
+ }, Nn = !0, Dn = {
408
408
  rejectionFill: "var(--gloss-rejection-fill)",
409
409
  rejectionStroke: "var(--gloss-rejection-stroke)",
410
410
  validFill: "var(--gloss-valid-fill)",
@@ -412,7 +412,7 @@ const nn = {
412
412
  validCellStroke: "var(--gloss-valid-cell-stroke)",
413
413
  provisionalWash: "var(--gloss-provisional-wash)"
414
414
  };
415
- function dn() {
415
+ function Cn() {
416
416
  if (typeof window > "u") return "full";
417
417
  try {
418
418
  return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
@@ -420,81 +420,81 @@ function dn() {
420
420
  return "full";
421
421
  }
422
422
  }
423
- const Ge = ({ visible: e, variant: t, trigger: n, children: a, className: r }) => {
424
- const s = {
425
- "--gloss-swing-enter-ms": `${de.enterDurationMs}ms`,
426
- "--gloss-swing-exit-ms": `${de.exitDurationMs}ms`,
427
- "--gloss-swing-offset": `${de.translateOffsetPx}px`,
428
- "--gloss-swing-enter-easing": de.enterEasing,
429
- "--gloss-swing-exit-easing": de.exitEasing
423
+ const Ze = ({ visible: e, variant: t, trigger: n, children: a, className: s }) => {
424
+ const i = {
425
+ "--gloss-swing-enter-ms": `${me.enterDurationMs}ms`,
426
+ "--gloss-swing-exit-ms": `${me.exitDurationMs}ms`,
427
+ "--gloss-swing-offset": `${me.translateOffsetPx}px`,
428
+ "--gloss-swing-enter-easing": me.enterEasing,
429
+ "--gloss-swing-exit-easing": me.exitEasing
430
430
  }, o = [
431
431
  "gloss-swing-reveal",
432
432
  `gloss-swing-reveal--${t}`,
433
433
  n === "hover+focus" ? "gloss-swing-reveal--hover-focus" : "",
434
- r ?? ""
434
+ s ?? ""
435
435
  ].filter(Boolean).join(" ");
436
- return /* @__PURE__ */ i(
436
+ return /* @__PURE__ */ r(
437
437
  "span",
438
438
  {
439
439
  "data-testid": "gloss-swing-reveal",
440
440
  "data-variant": t,
441
441
  "data-visible": e ? "true" : "false",
442
442
  className: o,
443
- style: s,
443
+ style: i,
444
444
  children: a
445
445
  }
446
446
  );
447
- }, Mt = ot(
448
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: r, onPointerLeave: s, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: u = "Resize card" }, p) {
449
- const h = t === "handle-visible" || t === "dragging" || t === "settling", d = (y) => {
447
+ }, At = pt(
448
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: s, onPointerLeave: i, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: d = "Resize card" }, g) {
449
+ const f = t === "handle-visible" || t === "dragging" || t === "settling", u = (y) => {
450
450
  try {
451
451
  y.currentTarget.setPointerCapture(y.pointerId);
452
452
  } catch {
453
453
  }
454
454
  n(y);
455
- }, g = (y) => {
455
+ }, p = (y) => {
456
456
  try {
457
457
  y.currentTarget.hasPointerCapture?.(y.pointerId) && y.currentTarget.releasePointerCapture(y.pointerId);
458
458
  } catch {
459
459
  }
460
460
  a(y);
461
- }, _ = (y) => {
462
- !h || !o || (y.key === "ArrowRight" ? (y.preventDefault(), o("grow")) : y.key === "ArrowLeft" && (y.preventDefault(), o("shrink")));
461
+ }, N = (y) => {
462
+ !f || !o || (y.key === "ArrowRight" ? (y.preventDefault(), o("grow")) : y.key === "ArrowLeft" && (y.preventDefault(), o("shrink")));
463
463
  };
464
- return /* @__PURE__ */ i(Ge, { visible: h, variant: "handle", trigger: "hover", children: /* @__PURE__ */ i(
464
+ return /* @__PURE__ */ r(Ze, { visible: f, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
465
465
  "button",
466
466
  {
467
- ref: p,
467
+ ref: g,
468
468
  type: "button",
469
- "aria-label": u,
469
+ "aria-label": d,
470
470
  "data-edge": m,
471
471
  "data-resize-state": t,
472
472
  className: [
473
473
  "gloss-edge-handle",
474
474
  `gloss-edge-handle--${m}`,
475
- h ? "gloss-edge-handle--visible" : ""
475
+ f ? "gloss-edge-handle--visible" : ""
476
476
  ].filter(Boolean).join(" "),
477
- onPointerDown: d,
478
- onPointerUp: g,
479
- onPointerEnter: r,
480
- onPointerLeave: s,
477
+ onPointerDown: u,
478
+ onPointerUp: p,
479
+ onPointerEnter: s,
480
+ onPointerLeave: i,
481
481
  onLostPointerCapture: l,
482
- onKeyDown: _,
483
- tabIndex: h ? 0 : -1
482
+ onKeyDown: N,
483
+ tabIndex: f ? 0 : -1
484
484
  }
485
485
  ) });
486
486
  }
487
487
  );
488
- Mt.displayName = "EdgeHoverHandle";
489
- function Tt({
488
+ At.displayName = "EdgeHoverHandle";
489
+ function Ot({
490
490
  visible: e,
491
491
  targetColSpan: t,
492
492
  ghostWidth: n,
493
493
  enterMs: a = 180,
494
- exitMs: r = 120
494
+ exitMs: s = 120
495
495
  }) {
496
- return /* @__PURE__ */ i(
497
- ve.div,
496
+ return /* @__PURE__ */ r(
497
+ De.div,
498
498
  {
499
499
  "aria-hidden": "true",
500
500
  "data-ghost-preview": e ? "visible" : "hidden",
@@ -505,13 +505,13 @@ function Tt({
505
505
  ].filter(Boolean).join(" "),
506
506
  style: {
507
507
  width: n,
508
- transitionDuration: `${e ? a : r}ms`
508
+ transitionDuration: `${e ? a : s}ms`
509
509
  }
510
510
  }
511
511
  );
512
512
  }
513
- Tt.displayName = "GhostPreview";
514
- class Rt {
513
+ Ot.displayName = "GhostPreview";
514
+ class Lt {
515
515
  constructor() {
516
516
  this.samples = [], this.capacity = 3;
517
517
  }
@@ -549,14 +549,14 @@ class Rt {
549
549
  const t = this.samples.length;
550
550
  if (t < 2) return 0;
551
551
  if (t === 2) {
552
- const [m, u] = this.samples, p = Math.max(1, u.t - m.t);
553
- return (u.x - m.x) / p * 1e3;
552
+ const [m, d] = this.samples, g = Math.max(1, d.t - m.t);
553
+ return (d.x - m.x) / g * 1e3;
554
554
  }
555
- const [n, a, r] = this.samples, s = (r.x - a.x) / Math.max(1, r.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
556
- return (s * 3 + o * 2 + l * 1) / 6;
555
+ const [n, a, s] = this.samples, i = (s.x - a.x) / Math.max(1, s.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
556
+ return (i * 3 + o * 2 + l * 1) / 6;
557
557
  }
558
558
  }
559
- const We = {
559
+ const qe = {
560
560
  // Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
561
561
  // has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
562
562
  // prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
@@ -576,232 +576,232 @@ const We = {
576
576
  // Velocity multiplier (D-03b panel)
577
577
  velocityMultiplier: 1
578
578
  };
579
- function un({
579
+ function kn({
580
580
  currentColSpan: e,
581
581
  stackable: t,
582
582
  onResize: n,
583
583
  onCancel: a,
584
- step: r = 180,
585
- gap: s = 0,
584
+ step: s = 180,
585
+ gap: i = 0,
586
586
  tuning: o,
587
587
  dwellMs: l = 60,
588
588
  graceExitMs: m = 150,
589
- enterMs: u = 180,
590
- exitMs: p = 120,
591
- maxColSpan: h = 3,
592
- containerRef: d,
593
- forceIdle: g
589
+ enterMs: d = 180,
590
+ exitMs: g = 120,
591
+ maxColSpan: f = 3,
592
+ containerRef: u,
593
+ forceIdle: p
594
594
  }) {
595
- const [_, y] = $("idle"), [f, M] = $(e), P = T(null), C = T(null), R = T(null), I = T(null), c = T(r), b = T(s), D = T(h), S = T(0), v = T("idle");
595
+ const [N, y] = $("idle"), [h, R] = $(e), P = M(null), k = M(null), T = M(null), I = M(null), c = M(s), v = M(i), _ = M(f), S = M(0), b = M("idle");
596
596
  L(() => {
597
- v.current = _;
598
- }, [_]);
599
- const x = dt(0), F = T(null), U = w(() => {
600
- const N = F.current;
601
- if (N) {
597
+ b.current = N;
598
+ }, [N]);
599
+ const x = vt(0), F = M(null), U = w(() => {
600
+ const C = F.current;
601
+ if (C) {
602
602
  try {
603
- N.stop();
603
+ C.stop();
604
604
  } catch {
605
605
  }
606
606
  F.current = null;
607
607
  }
608
608
  }, []), q = w(
609
- (N) => {
610
- const E = c.current, A = b.current;
611
- return N * E + (N - 1) * A;
609
+ (C) => {
610
+ const E = c.current, A = v.current;
611
+ return C * E + (C - 1) * A;
612
612
  },
613
613
  []
614
- ), j = T(new Rt()), W = T(e);
614
+ ), j = M(new Lt()), G = M(e);
615
615
  L(() => {
616
- W.current = f;
617
- }, [f]);
618
- const B = ge(() => ({ ...We, ...o ?? {} }), [o]), Z = w(() => {
616
+ G.current = h;
617
+ }, [h]);
618
+ const B = ye(() => ({ ...qe, ...o ?? {} }), [o]), Z = w(() => {
619
619
  P.current && (clearTimeout(P.current), P.current = null);
620
620
  }, []), O = w(() => {
621
- C.current && (clearTimeout(C.current), C.current = null);
622
- }, []), X = w(() => {
623
- R.current && (clearTimeout(R.current), R.current = null);
621
+ k.current && (clearTimeout(k.current), k.current = null);
622
+ }, []), J = w(() => {
623
+ T.current && (clearTimeout(T.current), T.current = null);
624
624
  }, []);
625
625
  L(() => {
626
- g && (v.current === "dragging" || v.current === "settling" || (Z(), O(), X(), v.current = "idle", y("idle")));
627
- }, [g, Z, O, X]);
628
- const Ie = w(() => {
629
- O(), y((N) => N === "settling" || N !== "idle" ? N : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
- }, [l, O]), Pe = w(() => {
626
+ p && (b.current === "dragging" || b.current === "settling" || (Z(), O(), J(), b.current = "idle", y("idle")));
627
+ }, [p, Z, O, J]);
628
+ const Le = w(() => {
629
+ O(), y((C) => C === "settling" || C !== "idle" ? C : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
+ }, [l, O]), $e = w(() => {
631
631
  Z();
632
- const N = v.current;
633
- N !== "dwelling" && N !== "handle-visible" || (C.current = setTimeout(() => {
634
- v.current = "idle", y("idle");
632
+ const C = b.current;
633
+ C !== "dwelling" && C !== "handle-visible" || (k.current = setTimeout(() => {
634
+ b.current = "idle", y("idle");
635
635
  }, m));
636
- }, [Z, m]), se = w(
637
- (N, E, A) => {
638
- const K = c.current, J = K * B.snapInFraction, Y = K * B.snapOutFraction, z = E - A, H = Math.max(
636
+ }, [Z, m]), oe = w(
637
+ (C, E, A) => {
638
+ const z = c.current, ee = z * B.snapInFraction, Y = z * B.snapOutFraction, K = E - A, V = Math.max(
639
639
  A,
640
- D.current ?? h
640
+ _.current ?? f
641
641
  );
642
- let G = z;
643
- for (; A + G < H; ) {
644
- const ee = G * K + (G < 0 ? Y : J);
645
- if (N >= ee) G += 1;
642
+ let W = K;
643
+ for (; A + W < V; ) {
644
+ const ae = W * z + (W < 0 ? Y : ee);
645
+ if (C >= ae) W += 1;
646
646
  else break;
647
647
  }
648
- if (G === z)
649
- for (; A + G > 1; ) {
650
- const ee = G * K - (G > 0 ? Y : J);
651
- if (N <= ee) G -= 1;
648
+ if (W === K)
649
+ for (; A + W > 1; ) {
650
+ const ae = W * z - (W > 0 ? Y : ee);
651
+ if (C <= ae) W -= 1;
652
652
  else break;
653
653
  }
654
- return Math.min(H, Math.max(1, A + G));
654
+ return Math.min(V, Math.max(1, A + W));
655
655
  },
656
- [B.snapInFraction, B.snapOutFraction, h]
657
- ), Je = w(
658
- (N) => {
659
- if (v.current !== "handle-visible") return;
660
- U(), I.current = N.clientX, c.current = r, b.current = s, D.current = h;
661
- const E = e * r + (e - 1) * s;
662
- S.current = E, j.current.clear(), j.current.push({ x: N.clientX, t: performance.now() }), x.jump(E), v.current = "dragging", y("dragging");
656
+ [B.snapInFraction, B.snapOutFraction, f]
657
+ ), it = w(
658
+ (C) => {
659
+ if (b.current !== "handle-visible") return;
660
+ U(), I.current = C.clientX, c.current = s, v.current = i, _.current = f;
661
+ const E = e * s + (e - 1) * i;
662
+ S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E), b.current = "dragging", y("dragging");
663
663
  },
664
- [r, s, h, e, x, U]
665
- ), Fe = w(
666
- (N) => N * c.current + (N - 1) * b.current,
664
+ [s, i, f, e, x, U]
665
+ ), Be = w(
666
+ (C) => C * c.current + (C - 1) * v.current,
667
667
  []
668
- ), re = w(
669
- (N, E) => {
670
- const A = Fe(N), K = N !== e;
668
+ ), ie = w(
669
+ (C, E) => {
670
+ const A = Be(C), z = C !== e;
671
671
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
672
- x.jump(A), K && E ? n({ direction: E, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), v.current = "idle", y("idle");
672
+ x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
673
673
  return;
674
674
  }
675
675
  const Y = j.current.getWeightedVelocity() * B.velocityMultiplier;
676
- v.current = "settling", y("settling"), U(), F.current = Oe(x, A, {
676
+ b.current = "settling", y("settling"), U(), F.current = We(x, A, {
677
677
  type: "spring",
678
678
  stiffness: B.stiffness,
679
679
  damping: B.damping,
680
680
  mass: B.mass,
681
681
  velocity: Y,
682
682
  onComplete: () => {
683
- F.current = null, K && E ? n({ direction: E, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), v.current = "idle", y("idle");
683
+ F.current = null, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
684
684
  }
685
685
  });
686
686
  },
687
- [Fe, e, t, n, a, x, B, U]
688
- ), et = w(
689
- (N) => {
690
- if (v.current !== "dragging") return;
691
- const E = N.clientX - (I.current ?? N.clientX), A = c.current, J = ((D.current ?? h) - e) * A, Y = (1 - e) * A, z = Math.max(Y, Math.min(J, E));
692
- j.current.push({ x: N.clientX, t: performance.now() });
693
- const H = se(z, W.current, e), G = H > e ? "grow" : H < e ? "shrink" : null;
694
- re(H, G);
687
+ [Be, e, t, n, a, x, B, U]
688
+ ), ot = w(
689
+ (C) => {
690
+ if (b.current !== "dragging") return;
691
+ const E = C.clientX - (I.current ?? C.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
692
+ j.current.push({ x: C.clientX, t: performance.now() });
693
+ const V = oe(K, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
694
+ ie(V, W);
695
695
  },
696
- [se, e, h, re]
697
- ), ie = w(() => {
698
- if (Z(), v.current === "dragging") {
699
- const N = S.current;
696
+ [oe, e, f, ie]
697
+ ), le = w(() => {
698
+ if (Z(), b.current === "dragging") {
699
+ const C = S.current;
700
700
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
701
- x.jump(N), a?.(), x.jump(0), v.current = "idle", y("idle");
701
+ x.jump(C), a?.(), x.jump(0), b.current = "idle", y("idle");
702
702
  return;
703
703
  }
704
704
  const A = j.current.getWeightedVelocity();
705
- v.current = "settling", y("settling"), U(), F.current = Oe(x, N, {
705
+ b.current = "settling", y("settling"), U(), F.current = We(x, C, {
706
706
  type: "spring",
707
707
  stiffness: B.stiffness,
708
708
  damping: B.damping,
709
709
  mass: B.mass,
710
710
  velocity: A,
711
711
  onComplete: () => {
712
- F.current = null, a?.(), x.jump(0), v.current = "idle", y("idle");
712
+ F.current = null, a?.(), x.jump(0), b.current = "idle", y("idle");
713
713
  }
714
714
  });
715
715
  return;
716
716
  }
717
- v.current === "handle-visible" && (a?.(), v.current = "cancelled", y("cancelled"));
717
+ b.current === "handle-visible" && (a?.(), b.current = "cancelled", y("cancelled"));
718
718
  }, [Z, x, a, B, U]);
719
719
  L(() => {
720
- if (_ !== "dragging" && _ !== "handle-visible") return;
721
- const N = (E) => {
722
- E.key === "Escape" && ie();
720
+ if (N !== "dragging" && N !== "handle-visible") return;
721
+ const C = (E) => {
722
+ E.key === "Escape" && le();
723
723
  };
724
- return window.addEventListener("keydown", N), () => window.removeEventListener("keydown", N);
725
- }, [_, ie]), L(() => {
726
- if (_ !== "dragging") {
727
- M(e);
724
+ return window.addEventListener("keydown", C), () => window.removeEventListener("keydown", C);
725
+ }, [N, le]), L(() => {
726
+ if (N !== "dragging") {
727
+ R(e);
728
728
  return;
729
729
  }
730
- const N = (z) => {
731
- const H = z.clientX - (I.current ?? z.clientX), G = S.current, oe = q(1), ee = q(h), pe = G + H, Ae = Math.max(oe, Math.min(ee, pe));
732
- x.set(Ae);
733
- const fe = c.current, we = (h - e) * fe, De = (1 - e) * fe, le = Math.max(De, Math.min(we, H));
734
- j.current.push({ x: z.clientX, t: performance.now() });
735
- const ce = se(le, W.current, e);
736
- ce !== W.current && (W.current = ce, M(ce));
737
- }, E = (z, H) => {
738
- if (v.current === "dragging")
739
- if (z === "pointerup") {
740
- const G = j.current.tail(), oe = H?.clientX ?? G?.x ?? I.current ?? 0, ee = oe - (I.current ?? oe), pe = c.current, fe = ((D.current ?? h) - e) * pe, we = (1 - e) * pe, De = Math.max(we, Math.min(fe, ee));
741
- H && j.current.push({ x: H.clientX, t: performance.now() });
742
- const le = se(De, W.current, e), ce = le > e ? "grow" : le < e ? "shrink" : null;
743
- re(le, ce);
730
+ const C = (K) => {
731
+ const V = K.clientX - (I.current ?? K.clientX), W = S.current, ce = q(1), ae = q(f), we = W + V, Ke = Math.max(ce, Math.min(ae, we));
732
+ x.set(Ke);
733
+ const _e = c.current, ke = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(ke, V));
734
+ j.current.push({ x: K.clientX, t: performance.now() });
735
+ const ue = oe(de, G.current, e);
736
+ ue !== G.current && (G.current = ue, R(ue));
737
+ }, E = (K, V) => {
738
+ if (b.current === "dragging")
739
+ if (K === "pointerup") {
740
+ const W = j.current.tail(), ce = V?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, ke = (1 - e) * we, xe = Math.max(ke, Math.min(_e, ae));
741
+ V && j.current.push({ x: V.clientX, t: performance.now() });
742
+ const de = oe(xe, G.current, e), ue = de > e ? "grow" : de < e ? "shrink" : null;
743
+ ie(de, ue);
744
744
  } else
745
- ie();
746
- }, A = (z) => E("pointerup", z), K = (z) => E("pointercancel", z), J = () => E("blur"), Y = () => {
745
+ le();
746
+ }, A = (K) => E("pointerup", K), z = (K) => E("pointercancel", K), ee = () => E("blur"), Y = () => {
747
747
  document.visibilityState === "hidden" && E("visibility-hidden");
748
748
  };
749
- return window.addEventListener("pointermove", N), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", K), window.addEventListener("blur", J), document.addEventListener("visibilitychange", Y), () => {
750
- window.removeEventListener("pointermove", N), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", K), window.removeEventListener("blur", J), document.removeEventListener("visibilitychange", Y);
749
+ return window.addEventListener("pointermove", C), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
+ window.removeEventListener("pointermove", C), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
751
751
  };
752
- }, [_, e, x, se, h, q, ie, re]), L(() => () => {
753
- Z(), O(), X();
754
- }, [Z, O, X]), L(() => {
755
- if (_ !== "cancelled") return;
756
- const N = setTimeout(() => y("idle"), p);
757
- return () => clearTimeout(N);
758
- }, [_, p]);
759
- const tt = w(
760
- (N) => {
761
- if (v.current === "settling") return;
762
- const A = Math.min(h, Math.max(1, e + (N === "grow" ? 1 : -1)));
752
+ }, [N, e, x, oe, f, q, le, ie]), L(() => () => {
753
+ Z(), O(), J();
754
+ }, [Z, O, J]), L(() => {
755
+ if (N !== "cancelled") return;
756
+ const C = setTimeout(() => y("idle"), g);
757
+ return () => clearTimeout(C);
758
+ }, [N, g]);
759
+ const lt = w(
760
+ (C) => {
761
+ if (b.current === "settling") return;
762
+ const A = Math.min(f, Math.max(1, e + (C === "grow" ? 1 : -1)));
763
763
  if (A === e) return;
764
- c.current = r, b.current = s, D.current = h, j.current.clear();
765
- const K = e * r + (e - 1) * s;
766
- S.current = K, x.jump(K), re(A, N);
764
+ c.current = s, v.current = i, _.current = f, j.current.clear();
765
+ const z = e * s + (e - 1) * i;
766
+ S.current = z, x.jump(z), ie(A, C);
767
767
  },
768
- [e, r, s, h, x, re]
769
- ), Ee = w(() => {
770
- X(), R.current = setTimeout(() => {
771
- v.current === "handle-visible" && (v.current = "idle", y("idle"));
768
+ [e, s, i, f, x, ie]
769
+ ), ze = w(() => {
770
+ J(), T.current = setTimeout(() => {
771
+ b.current === "handle-visible" && (b.current = "idle", y("idle"));
772
772
  }, 5e3);
773
- }, [X]), at = w(() => {
774
- v.current === "idle" && (Z(), v.current = "handle-visible", y("handle-visible"), Ee());
775
- }, [Z, Ee]), nt = w(() => {
776
- X(), v.current === "handle-visible" && (v.current = "idle", y("idle"));
777
- }, [X]);
773
+ }, [J]), ct = w(() => {
774
+ b.current === "idle" && (Z(), b.current = "handle-visible", y("handle-visible"), ze());
775
+ }, [Z, ze]), dt = w(() => {
776
+ J(), b.current === "handle-visible" && (b.current = "idle", y("idle"));
777
+ }, [J]);
778
778
  return {
779
- state: _,
780
- enterEdgeZone: Ie,
781
- leaveEdgeZone: Pe,
779
+ state: N,
780
+ enterEdgeZone: Le,
781
+ leaveEdgeZone: $e,
782
782
  handleProps: {
783
- onPointerDown: Je,
784
- onPointerUp: et,
783
+ onPointerDown: it,
784
+ onPointerUp: ot,
785
785
  // Bug E: handle continues zone presence so pointer crossing sentinel→handle
786
786
  // doesn't collapse state. handle's pointerenter = stay in zone.
787
- onPointerEnter: Ie,
788
- onPointerLeave: Pe
787
+ onPointerEnter: Le,
788
+ onPointerLeave: $e
789
789
  },
790
- previewColSpan: f,
790
+ previewColSpan: h,
791
791
  ghostProps: {
792
- visible: _ === "dragging" || _ === "settling",
793
- targetColSpan: f,
792
+ visible: N === "dragging" || N === "settling",
793
+ targetColSpan: h,
794
794
  ghostWidth: x,
795
- enterMs: u,
796
- exitMs: p
795
+ enterMs: d,
796
+ exitMs: g
797
797
  },
798
- onKeyboardStep: tt,
799
- onTouchReveal: at,
800
- onTouchDismiss: nt,
801
- cancel: ie
798
+ onKeyboardStep: lt,
799
+ onTouchReveal: ct,
800
+ onTouchDismiss: dt,
801
+ cancel: le
802
802
  };
803
803
  }
804
- const ne = {
804
+ const se = {
805
805
  // Cascade (D-08, D-10)
806
806
  staggerMs: 50,
807
807
  reverseStaggerMs: 30,
@@ -826,14 +826,14 @@ const ne = {
826
826
  sectionDividerFadeOutMs: 80,
827
827
  sectionDividerStaggerMs: 40
828
828
  };
829
- function mn(e) {
830
- const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: r } = e;
829
+ function xn(e) {
830
+ const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: s } = e;
831
831
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
832
832
  return;
833
- const s = (a + 0.5) * (t / n);
834
- return r != null && Number.isFinite(r) && r > 0 ? s - r / 2 : s;
833
+ const i = (a + 0.5) * (t / n);
834
+ return s != null && Number.isFinite(s) && s > 0 ? i - s / 2 : i;
835
835
  }
836
- const gn = [
836
+ const Sn = [
837
837
  // 1. Standard: Total Revenue
838
838
  {
839
839
  variant: "standard",
@@ -965,24 +965,24 @@ const gn = [
965
965
  subtitle: "Awaiting QA",
966
966
  highlightColor: "neutral"
967
967
  }
968
- ], It = {
968
+ ], $t = {
969
969
  variant: "standard",
970
970
  label: "Total Revenue",
971
971
  isLoading: !0
972
- }, Pt = {
972
+ }, Bt = {
973
973
  variant: "standard",
974
974
  label: "Total Revenue",
975
975
  value: 125430,
976
976
  valueFormat: { prefix: "$", abbreviated: !0 },
977
977
  isError: !0
978
- }, Ft = {
978
+ }, zt = {
979
979
  variant: "standard",
980
980
  label: "Total Revenue",
981
981
  value: null,
982
982
  valueFormat: { prefix: "$", abbreviated: !0 },
983
983
  isEmpty: !0,
984
984
  subtitle: "No data"
985
- }, Et = {
985
+ }, Kt = {
986
986
  variant: "standard",
987
987
  label: "Total Revenue",
988
988
  value: 125430,
@@ -990,7 +990,7 @@ const gn = [
990
990
  trend: { value: 12.5, direction: "up" },
991
991
  subtitle: "MTD",
992
992
  isStale: !0
993
- }, At = {
993
+ }, Wt = {
994
994
  variant: "sparkline",
995
995
  label: "Daily Orders",
996
996
  value: 847,
@@ -999,7 +999,7 @@ const gn = [
999
999
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
1000
1000
  accentColor: "#6366f1",
1001
1001
  isStale: !0
1002
- }, Ot = {
1002
+ }, Gt = {
1003
1003
  variant: "donut",
1004
1004
  label: "Order Fill Rate",
1005
1005
  value: 78,
@@ -1010,14 +1010,14 @@ const gn = [
1010
1010
  donutMax: 100,
1011
1011
  accentColor: "#10b981",
1012
1012
  isStale: !0
1013
- }, pn = [
1014
- It,
1015
- Pt,
1016
- Ft,
1017
- Et,
1018
- At,
1019
- Ot
1020
- ], fn = {
1013
+ }, Rn = [
1014
+ $t,
1015
+ Bt,
1016
+ zt,
1017
+ Kt,
1018
+ Wt,
1019
+ Gt
1020
+ ], Mn = {
1021
1021
  variant: "sparkline",
1022
1022
  label: "Daily Orders",
1023
1023
  value: 847,
@@ -1040,7 +1040,7 @@ const gn = [
1040
1040
  59
1041
1041
  ],
1042
1042
  accentColor: "#6366f1"
1043
- }, hn = {
1043
+ }, Tn = {
1044
1044
  variant: "sparkline",
1045
1045
  label: "New Customers",
1046
1046
  value: 23,
@@ -1079,21 +1079,21 @@ const gn = [
1079
1079
  19
1080
1080
  ],
1081
1081
  accentColor: "#10b981"
1082
- }, bn = {
1082
+ }, In = {
1083
1083
  variant: "standard",
1084
1084
  label: "Total Revenue",
1085
1085
  value: 125430,
1086
1086
  valueFormat: { prefix: "$", abbreviated: !0 },
1087
1087
  trend: { value: 12.5, direction: "up" },
1088
1088
  subtitle: "MTD"
1089
- }, vn = {
1089
+ }, Pn = {
1090
1090
  variant: "standard",
1091
1091
  label: "Returns",
1092
1092
  value: 3280,
1093
1093
  valueFormat: { prefix: "$", abbreviated: !0 },
1094
1094
  trend: { value: -8.3, direction: "down" },
1095
1095
  subtitle: "MTD"
1096
- }, yn = {
1096
+ }, Fn = {
1097
1097
  variant: "standard",
1098
1098
  label: "Avg Order Value",
1099
1099
  value: 487,
@@ -1101,33 +1101,33 @@ const gn = [
1101
1101
  trend: { value: 0, direction: "flat" },
1102
1102
  subtitle: "QTD"
1103
1103
  };
1104
- function He({
1104
+ function Ye({
1105
1105
  open: e,
1106
1106
  onDismiss: t,
1107
1107
  anchorRef: n,
1108
1108
  pages: a,
1109
- activePageId: r,
1110
- onPageChange: s,
1109
+ activePageId: s,
1110
+ onPageChange: i,
1111
1111
  onCreatePage: o,
1112
1112
  onManagePages: l
1113
1113
  }) {
1114
1114
  const m = w(
1115
- (d) => {
1116
- s(d), t();
1115
+ (u) => {
1116
+ i(u), t();
1117
1117
  },
1118
- [s, t]
1119
- ), u = w(
1120
- (d, g) => {
1121
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), m(d));
1118
+ [i, t]
1119
+ ), d = w(
1120
+ (u, p) => {
1121
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(u));
1122
1122
  },
1123
1123
  [m]
1124
- ), p = w(() => {
1124
+ ), g = w(() => {
1125
1125
  o(), t();
1126
- }, [o, t]), h = w(() => {
1126
+ }, [o, t]), f = w(() => {
1127
1127
  l(), t();
1128
1128
  }, [l, t]);
1129
- return /* @__PURE__ */ k(
1130
- mt,
1129
+ return /* @__PURE__ */ D(
1130
+ yt,
1131
1131
  {
1132
1132
  definition: {
1133
1133
  placement: "bottom-end",
@@ -1140,55 +1140,55 @@ function He({
1140
1140
  anchorRef: n,
1141
1141
  className: "gloss-page-dropdown",
1142
1142
  children: [
1143
- /* @__PURE__ */ i("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((d) => {
1144
- const g = d.id === r;
1145
- return /* @__PURE__ */ k(
1143
+ /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
1144
+ const p = u.id === s;
1145
+ return /* @__PURE__ */ D(
1146
1146
  "li",
1147
1147
  {
1148
1148
  role: "menuitemradio",
1149
- "aria-checked": g,
1150
- "aria-current": g ? "page" : void 0,
1149
+ "aria-checked": p,
1150
+ "aria-current": p ? "page" : void 0,
1151
1151
  tabIndex: 0,
1152
- className: `gloss-page-dropdown__item${g ? " gloss-page-dropdown__item--active" : ""}`,
1153
- onClick: () => m(d.id),
1154
- onKeyDown: (_) => u(d.id, _),
1152
+ className: `gloss-page-dropdown__item${p ? " gloss-page-dropdown__item--active" : ""}`,
1153
+ onClick: () => m(u.id),
1154
+ onKeyDown: (N) => d(u.id, N),
1155
1155
  children: [
1156
- /* @__PURE__ */ i(
1156
+ /* @__PURE__ */ r(
1157
1157
  "span",
1158
1158
  {
1159
- className: `gloss-page-dropdown__dot${g ? " gloss-page-dropdown__dot--active" : ""}`
1159
+ className: `gloss-page-dropdown__dot${p ? " gloss-page-dropdown__dot--active" : ""}`
1160
1160
  }
1161
1161
  ),
1162
- /* @__PURE__ */ i(
1162
+ /* @__PURE__ */ r(
1163
1163
  "span",
1164
1164
  {
1165
- className: `gloss-page-dropdown__name${d.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1166
- children: d.name
1165
+ className: `gloss-page-dropdown__name${u.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1166
+ children: u.name
1167
1167
  }
1168
1168
  ),
1169
- /* @__PURE__ */ i("span", { className: "gloss-page-dropdown__count", children: d.cardCount })
1169
+ /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
1170
1170
  ]
1171
1171
  },
1172
- d.id
1172
+ u.id
1173
1173
  );
1174
1174
  }) }),
1175
- /* @__PURE__ */ i("hr", { className: "gloss-page-dropdown__separator" }),
1176
- /* @__PURE__ */ i(
1175
+ /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
1176
+ /* @__PURE__ */ r(
1177
1177
  "button",
1178
1178
  {
1179
1179
  role: "menuitem",
1180
1180
  className: "gloss-page-dropdown__action",
1181
- onClick: p,
1181
+ onClick: g,
1182
1182
  children: "+ New page"
1183
1183
  }
1184
1184
  ),
1185
- /* @__PURE__ */ i("hr", { className: "gloss-page-dropdown__separator" }),
1186
- /* @__PURE__ */ i(
1185
+ /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
1186
+ /* @__PURE__ */ r(
1187
1187
  "button",
1188
1188
  {
1189
1189
  role: "menuitem",
1190
1190
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
1191
- onClick: h,
1191
+ onClick: f,
1192
1192
  children: "Manage pages"
1193
1193
  }
1194
1194
  )
@@ -1196,66 +1196,66 @@ function He({
1196
1196
  }
1197
1197
  );
1198
1198
  }
1199
- He.displayName = "PageDropdown";
1200
- const Lt = function({
1199
+ Ye.displayName = "PageDropdown";
1200
+ const Vt = function({
1201
1201
  currentIndex: t,
1202
1202
  total: n,
1203
1203
  pages: a,
1204
- onPageChange: r,
1205
- onCreatePage: s,
1204
+ onPageChange: s,
1205
+ onCreatePage: i,
1206
1206
  onManagePages: o,
1207
1207
  maskRadius: l = "var(--gloss-radius-md)",
1208
1208
  displayMode: m = "count",
1209
- activePage: u
1209
+ activePage: d
1210
1210
  }) {
1211
- const p = T(null), [h, d] = $(!1), g = w(() => {
1212
- d((M) => !M);
1213
- }, []), _ = w(() => {
1214
- d(!1);
1211
+ const g = M(null), [f, u] = $(!1), p = w(() => {
1212
+ u((R) => !R);
1213
+ }, []), N = w(() => {
1214
+ u(!1);
1215
1215
  }, []), y = a[t]?.id ?? "";
1216
- return /* @__PURE__ */ k(
1216
+ return /* @__PURE__ */ D(
1217
1217
  "div",
1218
1218
  {
1219
1219
  className: "gloss-page-chip",
1220
- ref: p,
1220
+ ref: g,
1221
1221
  style: m === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1222
1222
  "data-page-chip": !0,
1223
1223
  children: [
1224
- m !== "name" && /* @__PURE__ */ i(
1224
+ m !== "name" && /* @__PURE__ */ r(
1225
1225
  "div",
1226
1226
  {
1227
1227
  className: "gloss-page-chip__nuzzle",
1228
1228
  style: { "--_nuzzle-r": l }
1229
1229
  }
1230
1230
  ),
1231
- /* @__PURE__ */ i(
1231
+ /* @__PURE__ */ r(
1232
1232
  "button",
1233
1233
  {
1234
1234
  className: `gloss-page-chip__trigger${m === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1235
1235
  "aria-haspopup": "menu",
1236
- "aria-expanded": h,
1237
- "aria-label": m === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
- onClick: g,
1239
- children: m === "name" ? /* @__PURE__ */ k(be, { children: [
1240
- /* @__PURE__ */ i("span", { className: "gloss-page-chip__trigger-name", children: u ?? "" }),
1241
- /* @__PURE__ */ i("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1242
- ] }) : /* @__PURE__ */ k(be, { children: [
1236
+ "aria-expanded": f,
1237
+ "aria-label": m === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
+ onClick: p,
1239
+ children: m === "name" ? /* @__PURE__ */ D(te, { children: [
1240
+ /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: d ?? "" }),
1241
+ /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1242
+ ] }) : /* @__PURE__ */ D(te, { children: [
1243
1243
  t + 1,
1244
1244
  " / ",
1245
1245
  n
1246
1246
  ] })
1247
1247
  }
1248
1248
  ),
1249
- /* @__PURE__ */ i(
1250
- He,
1249
+ /* @__PURE__ */ r(
1250
+ Ye,
1251
1251
  {
1252
- open: h,
1253
- onDismiss: _,
1254
- anchorRef: p,
1252
+ open: f,
1253
+ onDismiss: N,
1254
+ anchorRef: g,
1255
1255
  pages: a,
1256
1256
  activePageId: y,
1257
- onPageChange: r,
1258
- onCreatePage: s,
1257
+ onPageChange: s,
1258
+ onCreatePage: i,
1259
1259
  onManagePages: o
1260
1260
  }
1261
1261
  )
@@ -1263,8 +1263,8 @@ const Lt = function({
1263
1263
  }
1264
1264
  );
1265
1265
  };
1266
- Lt.displayName = "PageChip";
1267
- const wn = [
1266
+ Vt.displayName = "PageChip";
1267
+ const En = [
1268
1268
  {
1269
1269
  id: "ORD-1001",
1270
1270
  orderNumber: "ORD-1001",
@@ -1397,7 +1397,7 @@ const wn = [
1397
1397
  date: "2026-03-01",
1398
1398
  skuCount: 9
1399
1399
  }
1400
- ], Dn = [
1400
+ ], An = [
1401
1401
  {
1402
1402
  id: "ITEM-001",
1403
1403
  sku: "PB-4520",
@@ -1531,16 +1531,16 @@ const wn = [
1531
1531
  lastDate: "2026-03-01"
1532
1532
  }
1533
1533
  ];
1534
- function xe(e) {
1534
+ function Pe(e) {
1535
1535
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1536
1536
  }
1537
- function Ve(e) {
1537
+ function Qe(e) {
1538
1538
  return e.toLocaleString("en-US");
1539
1539
  }
1540
- function Ue(e) {
1540
+ function Xe(e) {
1541
1541
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1542
1542
  }
1543
- const me = V.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), _n = [
1543
+ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), On = [
1544
1544
  {
1545
1545
  field: "id",
1546
1546
  headerName: "Order",
@@ -1570,7 +1570,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1570
1570
  align: "right",
1571
1571
  headerAlign: "right",
1572
1572
  cellClassName: "gloss-tabular-nums",
1573
- renderCell: ({ row: e }) => e.skuCount ? Ve(e.skuCount) : me
1573
+ renderCell: ({ row: e }) => e.skuCount ? Qe(e.skuCount) : he
1574
1574
  },
1575
1575
  {
1576
1576
  field: "total",
@@ -1580,7 +1580,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1580
1580
  align: "right",
1581
1581
  headerAlign: "right",
1582
1582
  cellClassName: "gloss-tabular-nums",
1583
- renderCell: ({ row: e }) => e.total ? xe(e.total) : me
1583
+ renderCell: ({ row: e }) => e.total ? Pe(e.total) : he
1584
1584
  },
1585
1585
  {
1586
1586
  field: "date",
@@ -1590,9 +1590,9 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1590
1590
  align: "right",
1591
1591
  headerAlign: "right",
1592
1592
  cellClassName: "gloss-tabular-nums",
1593
- renderCell: ({ row: e }) => e.date ? Ue(e.date) : ""
1593
+ renderCell: ({ row: e }) => e.date ? Xe(e.date) : ""
1594
1594
  }
1595
- ], Nn = [
1595
+ ], Ln = [
1596
1596
  {
1597
1597
  field: "sku",
1598
1598
  headerName: "Item ID",
@@ -1624,7 +1624,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1624
1624
  align: "right",
1625
1625
  headerAlign: "right",
1626
1626
  cellClassName: "gloss-tabular-nums",
1627
- renderCell: ({ row: e }) => e.price ? xe(e.price) : me
1627
+ renderCell: ({ row: e }) => e.price ? Pe(e.price) : he
1628
1628
  },
1629
1629
  {
1630
1630
  field: "quantity",
@@ -1634,7 +1634,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1634
1634
  align: "right",
1635
1635
  headerAlign: "right",
1636
1636
  cellClassName: "gloss-tabular-nums gloss-drillable",
1637
- renderCell: ({ row: e }) => e.quantity ? Ve(e.quantity) : me
1637
+ renderCell: ({ row: e }) => e.quantity ? Qe(e.quantity) : he
1638
1638
  },
1639
1639
  {
1640
1640
  field: "total",
@@ -1644,7 +1644,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1644
1644
  align: "right",
1645
1645
  headerAlign: "right",
1646
1646
  cellClassName: "gloss-tabular-nums gloss-drillable",
1647
- renderCell: ({ row: e }) => e.total ? xe(e.total) : me
1647
+ renderCell: ({ row: e }) => e.total ? Pe(e.total) : he
1648
1648
  },
1649
1649
  {
1650
1650
  field: "lastDate",
@@ -1654,24 +1654,24 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1654
1654
  align: "right",
1655
1655
  headerAlign: "right",
1656
1656
  cellClassName: "gloss-tabular-nums",
1657
- renderCell: ({ row: e }) => e.lastDate ? Ue(e.lastDate) : ""
1657
+ renderCell: ({ row: e }) => e.lastDate ? Xe(e.lastDate) : ""
1658
1658
  }
1659
- ], $t = [
1659
+ ], Ht = [
1660
1660
  { id: "c-001", label: "ABC Home Goods" },
1661
1661
  { id: "c-002", label: "Riverside Retail" },
1662
1662
  { id: "c-003", label: "Mountain View Store" },
1663
1663
  { id: "c-004", label: "Downtown Decor" },
1664
1664
  { id: "c-005", label: "Pacific Coast Imports" }
1665
- ], Bt = [
1665
+ ], Ut = [
1666
1666
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1667
1667
  { id: "i-002", label: "Coastal Wave Candle Set" },
1668
1668
  { id: "i-003", label: "Walnut Console Table" },
1669
1669
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1670
1670
  { id: "i-005", label: "Velvet Accent Cushion" }
1671
- ], _e = (e) => {
1672
- }, Kt = (e) => {
1673
- }, $e = (e, t) => {
1674
- }, je = {
1671
+ ], Se = (e) => {
1672
+ }, jt = (e) => {
1673
+ }, Ve = (e, t) => {
1674
+ }, Je = {
1675
1675
  vizState: {
1676
1676
  type: "orders",
1677
1677
  quant: "$",
@@ -1679,17 +1679,17 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1679
1679
  byItem: { id: null, name: null },
1680
1680
  timeFrame: "MTD"
1681
1681
  },
1682
- onTypeChange: _e,
1683
- onQuantChange: Kt,
1684
- onEntityTypeChange: _e,
1685
- onEntitySelect: $e,
1686
- onItemSelect: $e,
1687
- onTimeFrameChange: _e,
1682
+ onTypeChange: Se,
1683
+ onQuantChange: jt,
1684
+ onEntityTypeChange: Se,
1685
+ onEntitySelect: Ve,
1686
+ onItemSelect: Ve,
1687
+ onTimeFrameChange: Se,
1688
1688
  userType: "sales-agency",
1689
- entityFilterOptions: $t,
1690
- itemFilterOptions: Bt
1691
- }, Cn = {
1692
- ...je,
1689
+ entityFilterOptions: Ht,
1690
+ itemFilterOptions: Ut
1691
+ }, $n = {
1692
+ ...Je,
1693
1693
  vizState: {
1694
1694
  type: "items",
1695
1695
  quant: "$",
@@ -1697,8 +1697,8 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1697
1697
  byItem: { id: "i-003", name: "Walnut Console Table" },
1698
1698
  timeFrame: "YTD"
1699
1699
  }
1700
- }, kn = {
1701
- ...je,
1700
+ }, Bn = {
1701
+ ...Je,
1702
1702
  vizState: {
1703
1703
  type: "orders",
1704
1704
  quant: "#",
@@ -1710,7 +1710,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1710
1710
  entityFilterOptions: [
1711
1711
  { id: "customers", label: "Customers" }
1712
1712
  ]
1713
- }, zt = [
1713
+ }, Zt = [
1714
1714
  {
1715
1715
  id: "recent-orders",
1716
1716
  label: "Recent Orders",
@@ -1756,7 +1756,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1756
1756
  routeKey: "customer.profile",
1757
1757
  subtitle: "Opens in RepTime"
1758
1758
  }
1759
- ], Gt = [
1759
+ ], qt = [
1760
1760
  {
1761
1761
  id: "order-items",
1762
1762
  label: "Items in Order",
@@ -1785,7 +1785,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1785
1785
  cellKinds: ["orderId"],
1786
1786
  graphType: "timeline"
1787
1787
  }
1788
- ], Wt = [
1788
+ ], Yt = [
1789
1789
  {
1790
1790
  id: "graph-metric",
1791
1791
  label: "Graph This Metric",
@@ -1813,14 +1813,14 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1813
1813
  cellKinds: ["numeric"],
1814
1814
  tabType: "orders"
1815
1815
  }
1816
- ], xn = {
1817
- entityName: zt,
1818
- orderId: Gt,
1819
- numeric: Wt
1820
- }, Sn = [
1816
+ ], zn = {
1817
+ entityName: Zt,
1818
+ orderId: qt,
1819
+ numeric: Yt
1820
+ }, Kn = [
1821
1821
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1822
1822
  /* @__PURE__ */ new Date()
1823
- ], Mn = {
1823
+ ], Wn = {
1824
1824
  rangeA: [
1825
1825
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1826
1826
  /* @__PURE__ */ new Date()
@@ -1833,7 +1833,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1833
1833
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1834
1834
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1835
1835
  ]
1836
- }, Tn = {
1836
+ }, Gn = {
1837
1837
  version: 4,
1838
1838
  lastPreset: "mtd",
1839
1839
  pinnedPreset: "mtd",
@@ -1841,7 +1841,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1841
1841
  rangeCount: 1,
1842
1842
  lastPresetB: null,
1843
1843
  lastPresetC: null
1844
- }, Rn = [
1844
+ }, Vn = [
1845
1845
  {
1846
1846
  id: "atlanta-jan",
1847
1847
  label: "Atlanta Market",
@@ -1863,7 +1863,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1863
1863
  endDate: new Date(2026, 3, 22),
1864
1864
  location: "Chicago, IL"
1865
1865
  }
1866
- ], In = [
1866
+ ], Hn = [
1867
1867
  {
1868
1868
  id: "custom-regional-1",
1869
1869
  label: "Southeast Regional Expo",
@@ -1880,7 +1880,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1880
1880
  location: "Portland, OR",
1881
1881
  isCustom: !0
1882
1882
  }
1883
- ], Pn = [
1883
+ ], Un = [
1884
1884
  {
1885
1885
  id: "atlanta-jan",
1886
1886
  label: "Atlanta Market",
@@ -1897,137 +1897,137 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1897
1897
  location: "New York, NY",
1898
1898
  active: !0
1899
1899
  }
1900
- ], Fn = [
1900
+ ], jn = [
1901
1901
  { id: "7d", label: "7D" },
1902
1902
  { id: "30d", label: "30D" },
1903
1903
  { id: "60d", label: "60D" },
1904
1904
  { id: "90d", label: "90D" }
1905
- ], En = [
1905
+ ], Zn = [
1906
1906
  { id: "mtd", label: "MTD" },
1907
1907
  { id: "qtd", label: "QTD" },
1908
1908
  { id: "ytd", label: "YTD" },
1909
1909
  { id: "lytd", label: "LYTD" }
1910
- ], Ht = {
1910
+ ], Qt = {
1911
1911
  timeframe: "Time Frame",
1912
1912
  threshold: "Thresholds",
1913
1913
  slots: "Slots",
1914
1914
  size: "Size",
1915
1915
  color: "Color",
1916
1916
  pinned: "Pinned"
1917
- }, Vt = {
1918
- timeframe: pt,
1919
- threshold: ft,
1920
- slots: ht,
1921
- size: bt,
1922
- color: vt,
1923
- pinned: yt
1917
+ }, Xt = {
1918
+ timeframe: _t,
1919
+ threshold: Nt,
1920
+ slots: Dt,
1921
+ size: Ct,
1922
+ color: kt,
1923
+ pinned: xt
1924
1924
  };
1925
- function Be(...e) {
1925
+ function He(...e) {
1926
1926
  return e.filter(Boolean).join(" ");
1927
1927
  }
1928
- function Ut() {
1928
+ function Jt() {
1929
1929
  const [e, t] = $(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1930
1930
  return L(() => {
1931
1931
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
1932
- const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (r) => t(r.matches);
1932
+ const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (s) => t(s.matches);
1933
1933
  return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
1934
1934
  n.removeListener?.(a);
1935
1935
  });
1936
1936
  }, []), e;
1937
1937
  }
1938
- const jt = ({
1938
+ const ea = ({
1939
1939
  dimensions: e,
1940
1940
  onDimensionSelect: t,
1941
1941
  activeDimension: n,
1942
1942
  ariaCardTypeLabel: a,
1943
- className: r
1943
+ className: s
1944
1944
  }) => {
1945
- const s = T(null), o = T([]), l = Ut(), m = ge(() => Array.from(e), [e]);
1945
+ const i = M(null), o = M([]), l = Jt(), m = ye(() => Array.from(e), [e]);
1946
1946
  if (m.length === 0) return null;
1947
- const u = a ? `Configure ${a}: choose a dimension` : void 0, p = l ? "10ms" : "200ms", h = (d, g) => {
1948
- const _ = m.length - 1, y = (f) => {
1949
- const M = o.current[f];
1950
- M && M.focus();
1947
+ const d = a ? `Configure ${a}: choose a dimension` : void 0, g = l ? "10ms" : "200ms", f = (u, p) => {
1948
+ const N = m.length - 1, y = (h) => {
1949
+ const R = o.current[h];
1950
+ R && R.focus();
1951
1951
  };
1952
- switch (d.key) {
1952
+ switch (u.key) {
1953
1953
  case "ArrowRight":
1954
1954
  case "ArrowDown": {
1955
- d.preventDefault(), y(g === _ ? 0 : g + 1);
1955
+ u.preventDefault(), y(p === N ? 0 : p + 1);
1956
1956
  break;
1957
1957
  }
1958
1958
  case "ArrowLeft":
1959
1959
  case "ArrowUp": {
1960
- d.preventDefault(), y(g === 0 ? _ : g - 1);
1960
+ u.preventDefault(), y(p === 0 ? N : p - 1);
1961
1961
  break;
1962
1962
  }
1963
1963
  case "Home": {
1964
- d.preventDefault(), y(0);
1964
+ u.preventDefault(), y(0);
1965
1965
  break;
1966
1966
  }
1967
1967
  case "End": {
1968
- d.preventDefault(), y(_);
1968
+ u.preventDefault(), y(N);
1969
1969
  break;
1970
1970
  }
1971
1971
  case "Enter":
1972
1972
  case " ": {
1973
- d.preventDefault(), t(m[g]);
1973
+ u.preventDefault(), t(m[p]);
1974
1974
  break;
1975
1975
  }
1976
1976
  }
1977
1977
  };
1978
- return /* @__PURE__ */ i(
1978
+ return /* @__PURE__ */ r(
1979
1979
  "div",
1980
1980
  {
1981
- ref: s,
1981
+ ref: i,
1982
1982
  role: "group",
1983
- "aria-label": u,
1984
- className: Be("gloss-reconfig-backside-buttons", r),
1983
+ "aria-label": d,
1984
+ className: He("gloss-reconfig-backside-buttons", s),
1985
1985
  style: {
1986
1986
  // Expose the reduced-motion-resolved duration as a CSS custom prop
1987
1987
  // so the SCSS transition rule can consume it without a nested media
1988
1988
  // query in the JS. Also surfaces the value for the unit test.
1989
- "--gloss-reconfig-backside-buttons-transition-duration": p
1989
+ "--gloss-reconfig-backside-buttons-transition-duration": g
1990
1990
  },
1991
- children: m.map((d, g) => {
1992
- const _ = Vt[d], y = n === d;
1993
- return /* @__PURE__ */ k(
1991
+ children: m.map((u, p) => {
1992
+ const N = Xt[u], y = n === u;
1993
+ return /* @__PURE__ */ D(
1994
1994
  "button",
1995
1995
  {
1996
- ref: (f) => {
1997
- o.current[g] = f;
1996
+ ref: (h) => {
1997
+ o.current[p] = h;
1998
1998
  },
1999
1999
  type: "button",
2000
- "data-dimension": d,
2001
- className: Be(
2000
+ "data-dimension": u,
2001
+ className: He(
2002
2002
  "gloss-reconfig-backside-buttons__button",
2003
2003
  y && "gloss-reconfig-backside-buttons__button--active"
2004
2004
  ),
2005
2005
  "aria-current": y ? "true" : void 0,
2006
- onClick: () => t(d),
2007
- onKeyDown: (f) => h(f, g),
2006
+ onClick: () => t(u),
2007
+ onKeyDown: (h) => f(h, p),
2008
2008
  children: [
2009
- /* @__PURE__ */ i(
2010
- _,
2009
+ /* @__PURE__ */ r(
2010
+ N,
2011
2011
  {
2012
2012
  className: "gloss-reconfig-backside-buttons__button-icon",
2013
2013
  "aria-hidden": "true"
2014
2014
  }
2015
2015
  ),
2016
- /* @__PURE__ */ i("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Ht[d] })
2016
+ /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Qt[u] })
2017
2017
  ]
2018
2018
  },
2019
- d
2019
+ u
2020
2020
  );
2021
2021
  })
2022
2022
  }
2023
2023
  );
2024
2024
  };
2025
- jt.displayName = "ReconfigBacksideButtons";
2025
+ ea.displayName = "ReconfigBacksideButtons";
2026
2026
  function Q(e, t) {
2027
2027
  return {
2028
2028
  id: e,
2029
2029
  colSpan: 1,
2030
- content: V.createElement("div", {
2030
+ content: H.createElement("div", {
2031
2031
  style: {
2032
2032
  width: "100%",
2033
2033
  height: "100%",
@@ -2043,38 +2043,38 @@ function Q(e, t) {
2043
2043
  }, t)
2044
2044
  };
2045
2045
  }
2046
- function Ke(e, t) {
2046
+ function Ue(e, t) {
2047
2047
  return {
2048
2048
  ...Q(e, t),
2049
2049
  colSpan: 2
2050
2050
  };
2051
2051
  }
2052
- const An = [
2052
+ const qn = [
2053
2053
  Q("total-revenue", "Total Revenue"),
2054
2054
  Q("total-orders", "Total Orders"),
2055
- Ke("revenue-trend", "Revenue Trend (2x)"),
2055
+ Ue("revenue-trend", "Revenue Trend (2x)"),
2056
2056
  Q("avg-order", "Avg Order Value"),
2057
2057
  Q("new-customers", "New Customers"),
2058
2058
  Q("top-salesperson", "Top Salesperson"),
2059
- Ke("order-trend", "Order Trend (2x)"),
2059
+ Ue("order-trend", "Order Trend (2x)"),
2060
2060
  Q("repeat-rate", "Repeat Rate"),
2061
2061
  Q("open-orders", "Open Orders"),
2062
2062
  Q("shipped-orders", "Shipped Orders")
2063
- ], On = {
2063
+ ], Yn = {
2064
2064
  columns: 6,
2065
2065
  rowHeight: 120,
2066
2066
  gap: 15,
2067
2067
  maxRows: 3,
2068
2068
  currentPage: 0,
2069
2069
  totalPages: 1
2070
- }, Ln = {
2070
+ }, Qn = {
2071
2071
  columns: 9,
2072
2072
  rowHeight: 120,
2073
2073
  gap: 15,
2074
2074
  maxRows: 3,
2075
2075
  currentPage: 0,
2076
2076
  totalPages: 2
2077
- }, $n = {
2077
+ }, Xn = {
2078
2078
  columns: 12,
2079
2079
  rowHeight: 120,
2080
2080
  gap: 15,
@@ -2082,15 +2082,15 @@ const An = [
2082
2082
  currentPage: 0,
2083
2083
  totalPages: 3
2084
2084
  };
2085
- function Ne(e) {
2086
- return V.createElement("span", { style: { fontSize: 14 } }, e);
2085
+ function Re(e) {
2086
+ return H.createElement("span", { style: { fontSize: 14 } }, e);
2087
2087
  }
2088
- const Bn = [
2088
+ const Jn = [
2089
2089
  {
2090
2090
  id: "all-orders",
2091
2091
  type: "orders",
2092
2092
  name: "All Orders",
2093
- icon: Ne("📋"),
2093
+ icon: Re("📋"),
2094
2094
  closable: !1,
2095
2095
  autoCreated: !0
2096
2096
  },
@@ -2098,17 +2098,17 @@ const Bn = [
2098
2098
  id: "open-orders",
2099
2099
  type: "orders",
2100
2100
  name: "Open Orders",
2101
- icon: Ne("📦"),
2101
+ icon: Re("📦"),
2102
2102
  closable: !0
2103
2103
  },
2104
2104
  {
2105
2105
  id: "shipped-orders",
2106
2106
  type: "orders",
2107
2107
  name: "Shipped Orders",
2108
- icon: Ne("🚚"),
2108
+ icon: Re("🚚"),
2109
2109
  closable: !0
2110
2110
  }
2111
- ], Kn = [
2111
+ ], er = [
2112
2112
  {
2113
2113
  id: "orders-main",
2114
2114
  type: "orders",
@@ -2134,7 +2134,7 @@ const Bn = [
2134
2134
  name: "Customers",
2135
2135
  closable: !0
2136
2136
  }
2137
- ], zn = [
2137
+ ], tr = [
2138
2138
  {
2139
2139
  id: "only-tab",
2140
2140
  type: "orders",
@@ -2142,7 +2142,7 @@ const Bn = [
2142
2142
  closable: !1,
2143
2143
  autoCreated: !0
2144
2144
  }
2145
- ], Gn = [
2145
+ ], ar = [
2146
2146
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
2147
2147
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
2148
2148
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -2154,7 +2154,7 @@ const Bn = [
2154
2154
  { id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
2155
2155
  { id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
2156
2156
  ];
2157
- function Se(e) {
2157
+ function Fe(e) {
2158
2158
  switch (e) {
2159
2159
  case "wide":
2160
2160
  return { cols: 2, rows: 1 };
@@ -2165,40 +2165,40 @@ function Se(e) {
2165
2165
  return { cols: 1, rows: 1 };
2166
2166
  }
2167
2167
  }
2168
- function Zt(e) {
2168
+ function ta(e) {
2169
2169
  let t = 0;
2170
2170
  for (const a of e) {
2171
- const r = Se(a.size), s = a.gridPosition.col + r.cols - 1;
2172
- s > t && (t = s);
2171
+ const s = Fe(a.size), i = a.gridPosition.col + s.cols - 1;
2172
+ i > t && (t = i);
2173
2173
  }
2174
2174
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
2175
2175
  }
2176
- const qt = function(t) {
2176
+ const aa = function(t) {
2177
2177
  if (t.renderMode === "discrete")
2178
- return /* @__PURE__ */ i(
2178
+ return /* @__PURE__ */ r(
2179
2179
  "div",
2180
2180
  {
2181
2181
  className: "gloss-metric-group gloss-metric-group--discrete",
2182
2182
  style: { display: "contents" },
2183
- children: t.cards.map((r) => {
2184
- const s = Se(r.size);
2185
- return /* @__PURE__ */ i(
2183
+ children: t.cards.map((s) => {
2184
+ const i = Fe(s.size);
2185
+ return /* @__PURE__ */ r(
2186
2186
  "div",
2187
2187
  {
2188
2188
  className: "gloss-metric-group__slot",
2189
2189
  style: {
2190
- gridColumn: `${r.gridPosition.col} / span ${s.cols}`,
2191
- gridRow: `${r.gridPosition.row} / span ${s.rows}`
2190
+ gridColumn: `${s.gridPosition.col} / span ${i.cols}`,
2191
+ gridRow: `${s.gridPosition.row} / span ${i.rows}`
2192
2192
  },
2193
- children: r.children
2193
+ children: s.children
2194
2194
  },
2195
- r.key
2195
+ s.key
2196
2196
  );
2197
2197
  })
2198
2198
  }
2199
2199
  );
2200
2200
  const { cards: n, composite: a } = t;
2201
- return /* @__PURE__ */ k(
2201
+ return /* @__PURE__ */ D(
2202
2202
  "div",
2203
2203
  {
2204
2204
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -2217,16 +2217,16 @@ const qt = function(t) {
2217
2217
  "aria-label": a?.label,
2218
2218
  tabIndex: void 0,
2219
2219
  children: [
2220
- a?.accentColor && /* @__PURE__ */ i(
2220
+ a?.accentColor && /* @__PURE__ */ r(
2221
2221
  "div",
2222
2222
  {
2223
2223
  className: "gloss-metric-group__accent",
2224
2224
  style: { background: a.accentColor }
2225
2225
  }
2226
2226
  ),
2227
- a?.label && /* @__PURE__ */ k("div", { className: "gloss-metric-group__label", children: [
2228
- /* @__PURE__ */ i("span", { children: a.label }),
2229
- a?.trend && /* @__PURE__ */ i(
2227
+ a?.label && /* @__PURE__ */ D("div", { className: "gloss-metric-group__label", children: [
2228
+ /* @__PURE__ */ r("span", { children: a.label }),
2229
+ a?.trend && /* @__PURE__ */ r(
2230
2230
  "span",
2231
2231
  {
2232
2232
  className: "gloss-metric-group__trend",
@@ -2235,28 +2235,28 @@ const qt = function(t) {
2235
2235
  }
2236
2236
  )
2237
2237
  ] }),
2238
- /* @__PURE__ */ i(
2238
+ /* @__PURE__ */ r(
2239
2239
  "div",
2240
2240
  {
2241
2241
  className: "gloss-metric-group__slots",
2242
2242
  style: {
2243
2243
  display: "grid",
2244
2244
  gap: "var(--gloss-spacing-2, 8px)",
2245
- gridTemplateColumns: Zt(n)
2245
+ gridTemplateColumns: ta(n)
2246
2246
  },
2247
- children: n.map((r) => {
2248
- const s = Se(r.size);
2249
- return /* @__PURE__ */ i(
2247
+ children: n.map((s) => {
2248
+ const i = Fe(s.size);
2249
+ return /* @__PURE__ */ r(
2250
2250
  "div",
2251
2251
  {
2252
2252
  className: "gloss-metric-group__slot--composite",
2253
2253
  style: {
2254
- gridColumn: `${r.gridPosition.col} / span ${s.cols}`,
2255
- gridRow: `${r.gridPosition.row} / span ${s.rows}`
2254
+ gridColumn: `${s.gridPosition.col} / span ${i.cols}`,
2255
+ gridRow: `${s.gridPosition.row} / span ${i.rows}`
2256
2256
  },
2257
- children: r.children
2257
+ children: s.children
2258
2258
  },
2259
- r.key
2259
+ s.key
2260
2260
  );
2261
2261
  })
2262
2262
  }
@@ -2265,48 +2265,48 @@ const qt = function(t) {
2265
2265
  }
2266
2266
  );
2267
2267
  };
2268
- qt.displayName = "MetricGroupContainer";
2269
- const Ze = "resize.tuning.dev", Yt = {
2270
- ...We,
2268
+ aa.displayName = "MetricGroupContainer";
2269
+ const et = "resize.tuning.dev", na = {
2270
+ ...qe,
2271
2271
  snapInPx: 60,
2272
2272
  snapOutPx: 90
2273
- }, ae = Yt;
2274
- function Qt() {
2275
- if (typeof window > "u") return { ...ae };
2273
+ }, re = na;
2274
+ function ra() {
2275
+ if (typeof window > "u") return { ...re };
2276
2276
  try {
2277
- const e = window.localStorage.getItem(Ze);
2278
- if (!e) return { ...ae };
2277
+ const e = window.localStorage.getItem(et);
2278
+ if (!e) return { ...re };
2279
2279
  const t = JSON.parse(e);
2280
- return !t || typeof t != "object" || Array.isArray(t) ? { ...ae } : { ...ae, ...t };
2280
+ return !t || typeof t != "object" || Array.isArray(t) ? { ...re } : { ...re, ...t };
2281
2281
  } catch {
2282
- return { ...ae };
2282
+ return { ...re };
2283
2283
  }
2284
2284
  }
2285
- function Xt() {
2286
- const [e, t] = $(() => Qt());
2285
+ function sa() {
2286
+ const [e, t] = $(() => ra());
2287
2287
  L(() => {
2288
2288
  if (!(typeof window > "u"))
2289
2289
  try {
2290
- window.localStorage.setItem(Ze, JSON.stringify(e));
2290
+ window.localStorage.setItem(et, JSON.stringify(e));
2291
2291
  } catch {
2292
2292
  }
2293
2293
  }, [e]);
2294
2294
  const n = w(
2295
- (s, o) => {
2296
- t((l) => ({ ...l, [s]: o }));
2295
+ (i, o) => {
2296
+ t((l) => ({ ...l, [i]: o }));
2297
2297
  },
2298
2298
  []
2299
2299
  ), a = w(
2300
- (s) => {
2301
- t((o) => ({ ...o, [s]: ae[s] }));
2300
+ (i) => {
2301
+ t((o) => ({ ...o, [i]: re[i] }));
2302
2302
  },
2303
2303
  []
2304
- ), r = w(() => {
2305
- t({ ...ae });
2304
+ ), s = w(() => {
2305
+ t({ ...re });
2306
2306
  }, []);
2307
- return { values: e, setValue: n, resetRow: a, resetAll: r };
2307
+ return { values: e, setValue: n, resetRow: a, resetAll: s };
2308
2308
  }
2309
- const Jt = [
2309
+ const ia = [
2310
2310
  { key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
2311
2311
  { key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
2312
2312
  { key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
@@ -2317,11 +2317,11 @@ const Jt = [
2317
2317
  { key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
2318
2318
  { key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
2319
2319
  ];
2320
- function ea(e, t) {
2320
+ function oa(e, t) {
2321
2321
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2322
2322
  }
2323
- function ta() {
2324
- return /* @__PURE__ */ k(
2323
+ function la() {
2324
+ return /* @__PURE__ */ D(
2325
2325
  "svg",
2326
2326
  {
2327
2327
  width: "14",
@@ -2334,32 +2334,32 @@ function ta() {
2334
2334
  strokeLinejoin: "round",
2335
2335
  "aria-hidden": "true",
2336
2336
  children: [
2337
- /* @__PURE__ */ i("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2338
- /* @__PURE__ */ i("polyline", { points: "3 3 3 8 8 8" })
2337
+ /* @__PURE__ */ r("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2338
+ /* @__PURE__ */ r("polyline", { points: "3 3 3 8 8 8" })
2339
2339
  ]
2340
2340
  }
2341
2341
  );
2342
2342
  }
2343
- function aa({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2344
- const s = w(
2343
+ function ca({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
2344
+ const i = w(
2345
2345
  (o) => {
2346
2346
  (o.key === "r" || o.key === "R") && (o.preventDefault(), a());
2347
2347
  },
2348
2348
  [a]
2349
2349
  );
2350
- return /* @__PURE__ */ k(
2350
+ return /* @__PURE__ */ D(
2351
2351
  "div",
2352
2352
  {
2353
- className: `gloss-dev-tuning-panel__row${r ? " gloss-dev-tuning-panel__row--flash" : ""}`,
2353
+ className: `gloss-dev-tuning-panel__row${s ? " gloss-dev-tuning-panel__row--flash" : ""}`,
2354
2354
  "data-tuning-row": e.key,
2355
- onKeyDown: s,
2355
+ onKeyDown: i,
2356
2356
  children: [
2357
- /* @__PURE__ */ i("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2358
- /* @__PURE__ */ k("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2359
- ea(t, e.step),
2357
+ /* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2358
+ /* @__PURE__ */ D("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2359
+ oa(t, e.step),
2360
2360
  e.unit ? ` ${e.unit}` : ""
2361
2361
  ] }),
2362
- /* @__PURE__ */ i(
2362
+ /* @__PURE__ */ r(
2363
2363
  "input",
2364
2364
  {
2365
2365
  id: `gloss-dtp-${e.key}`,
@@ -2373,21 +2373,21 @@ function aa({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2373
2373
  onChange: (o) => n(Number(o.target.value))
2374
2374
  }
2375
2375
  ),
2376
- /* @__PURE__ */ i(
2376
+ /* @__PURE__ */ r(
2377
2377
  "button",
2378
2378
  {
2379
2379
  type: "button",
2380
2380
  className: "gloss-dev-tuning-panel__reset",
2381
2381
  "aria-label": `Reset ${e.label}`,
2382
2382
  onClick: a,
2383
- children: /* @__PURE__ */ i(ta, {})
2383
+ children: /* @__PURE__ */ r(la, {})
2384
2384
  }
2385
2385
  )
2386
2386
  ]
2387
2387
  }
2388
2388
  );
2389
2389
  }
2390
- function na() {
2390
+ function da() {
2391
2391
  if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
2392
2392
  try {
2393
2393
  return new URLSearchParams(window.location.search).has("devtune");
@@ -2395,23 +2395,23 @@ function na() {
2395
2395
  return !1;
2396
2396
  }
2397
2397
  }
2398
- function ra(e = {}) {
2399
- return na() ? /* @__PURE__ */ i(sa, {}) : null;
2398
+ function ua(e = {}) {
2399
+ return da() ? /* @__PURE__ */ r(ma, {}) : null;
2400
2400
  }
2401
- ra.displayName = "DevTuningPanel";
2402
- function sa() {
2403
- const e = Xt(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [s, o] = $(null), l = T(null), m = w((d) => {
2404
- l.current && clearTimeout(l.current), o(d), l.current = setTimeout(() => {
2401
+ ua.displayName = "DevTuningPanel";
2402
+ function ma() {
2403
+ const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = M(null), m = w((u) => {
2404
+ l.current && clearTimeout(l.current), o(u), l.current = setTimeout(() => {
2405
2405
  o(null), l.current = null;
2406
2406
  }, 200);
2407
- }, []), u = w(
2408
- (d, g) => {
2409
- n(d, g), d === "snapInPx" && g > t.snapOutPx && (n("snapOutPx", g), m("snapOutPx"));
2407
+ }, []), d = w(
2408
+ (u, p) => {
2409
+ n(u, p), u === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), m("snapOutPx"));
2410
2410
  },
2411
2411
  [n, t.snapOutPx, m]
2412
- ), p = ge(() => Jt, []), h = ut();
2413
- return /* @__PURE__ */ k(
2414
- ve.div,
2412
+ ), g = ye(() => ia, []), f = bt();
2413
+ return /* @__PURE__ */ D(
2414
+ De.div,
2415
2415
  {
2416
2416
  className: "gloss-dev-tuning-panel",
2417
2417
  role: "region",
@@ -2419,37 +2419,37 @@ function sa() {
2419
2419
  "data-testid": "gloss-dev-tuning-panel",
2420
2420
  drag: !0,
2421
2421
  dragListener: !1,
2422
- dragControls: h,
2422
+ dragControls: f,
2423
2423
  dragMomentum: !1,
2424
2424
  children: [
2425
- /* @__PURE__ */ k(
2425
+ /* @__PURE__ */ D(
2426
2426
  "div",
2427
2427
  {
2428
2428
  className: "gloss-dev-tuning-panel__header",
2429
- onPointerDown: (d) => h.start(d),
2429
+ onPointerDown: (u) => f.start(u),
2430
2430
  children: [
2431
- /* @__PURE__ */ i("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2432
- /* @__PURE__ */ i("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2431
+ /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2432
+ /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2433
2433
  ]
2434
2434
  }
2435
2435
  ),
2436
- /* @__PURE__ */ i("div", { className: "gloss-dev-tuning-panel__body", children: p.map((d) => /* @__PURE__ */ i(
2437
- aa,
2436
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: g.map((u) => /* @__PURE__ */ r(
2437
+ ca,
2438
2438
  {
2439
- spec: d,
2440
- value: t[d.key],
2441
- onChange: (g) => u(d.key, g),
2442
- onReset: () => a(d.key),
2443
- flashing: s === d.key
2439
+ spec: u,
2440
+ value: t[u.key],
2441
+ onChange: (p) => d(u.key, p),
2442
+ onReset: () => a(u.key),
2443
+ flashing: i === u.key
2444
2444
  },
2445
- d.key
2445
+ u.key
2446
2446
  )) }),
2447
- /* @__PURE__ */ i("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ i(
2447
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ r(
2448
2448
  "button",
2449
2449
  {
2450
2450
  type: "button",
2451
2451
  className: "gloss-dev-tuning-panel__reset-all",
2452
- onClick: r,
2452
+ onClick: s,
2453
2453
  children: "Reset all"
2454
2454
  }
2455
2455
  ) })
@@ -2457,43 +2457,43 @@ function sa() {
2457
2457
  }
2458
2458
  );
2459
2459
  }
2460
- function Wn({
2460
+ function nr({
2461
2461
  state: e,
2462
2462
  originX: t,
2463
2463
  originY: n,
2464
2464
  leftEdgeX: a,
2465
- rightEdgeX: r,
2466
- minBoundaryX: s,
2465
+ rightEdgeX: s,
2466
+ minBoundaryX: i,
2467
2467
  snapBoundariesX: o,
2468
2468
  topY: l,
2469
2469
  bottomY: m,
2470
- enterMs: u = ne.envelopeEnterMs,
2471
- exitMs: p = ne.envelopeExitMs,
2472
- className: h,
2473
- style: d
2470
+ enterMs: d = se.envelopeEnterMs,
2471
+ exitMs: g = se.envelopeExitMs,
2472
+ className: f,
2473
+ style: u
2474
2474
  }) {
2475
2475
  if (e === "hidden") return null;
2476
- const g = Math.max(0, r - a), _ = Math.max(0, m - l), y = {
2477
- "--gloss-resize-envelope-enter-ms": `${u}ms`,
2478
- "--gloss-resize-envelope-exit-ms": `${p}ms`,
2476
+ const p = Math.max(0, s - a), N = Math.max(0, m - l), y = {
2477
+ "--gloss-resize-envelope-enter-ms": `${d}ms`,
2478
+ "--gloss-resize-envelope-exit-ms": `${g}ms`,
2479
2479
  "--gloss-resize-envelope-origin-x": `${t - a}px`,
2480
2480
  "--gloss-resize-envelope-origin-y": `${n - l}px`,
2481
2481
  left: a,
2482
2482
  top: l,
2483
- width: g,
2484
- height: _,
2485
- ...d
2483
+ width: p,
2484
+ height: N,
2485
+ ...u
2486
2486
  };
2487
- return /* @__PURE__ */ k(
2487
+ return /* @__PURE__ */ D(
2488
2488
  "div",
2489
2489
  {
2490
- className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, h].filter(Boolean).join(" "),
2490
+ className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, f].filter(Boolean).join(" "),
2491
2491
  "data-state": e,
2492
2492
  "data-testid": "gloss-resize-envelope",
2493
2493
  style: y,
2494
2494
  "aria-hidden": "true",
2495
2495
  children: [
2496
- /* @__PURE__ */ i(
2496
+ /* @__PURE__ */ r(
2497
2497
  "div",
2498
2498
  {
2499
2499
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--left",
@@ -2501,46 +2501,46 @@ function Wn({
2501
2501
  style: { left: 0 }
2502
2502
  }
2503
2503
  ),
2504
- /* @__PURE__ */ i(
2504
+ /* @__PURE__ */ r(
2505
2505
  "div",
2506
2506
  {
2507
2507
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--min-boundary",
2508
2508
  "data-edge": "min-boundary",
2509
- style: { left: s - a }
2509
+ style: { left: i - a }
2510
2510
  }
2511
2511
  ),
2512
- /* @__PURE__ */ i(
2512
+ /* @__PURE__ */ r(
2513
2513
  "div",
2514
2514
  {
2515
2515
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--right",
2516
2516
  "data-edge": "right",
2517
- style: { left: g - 1 }
2517
+ style: { left: p - 1 }
2518
2518
  }
2519
2519
  ),
2520
- o.filter((f) => f > s && f < r).map((f) => /* @__PURE__ */ i(
2520
+ o.filter((h) => h > i && h < s).map((h) => /* @__PURE__ */ r(
2521
2521
  "div",
2522
2522
  {
2523
2523
  className: "gloss-resize-envelope__snap-line",
2524
2524
  "data-snap-line": !0,
2525
- style: { left: f - a }
2525
+ style: { left: h - a }
2526
2526
  },
2527
- f
2527
+ h
2528
2528
  ))
2529
2529
  ]
2530
2530
  }
2531
2531
  );
2532
2532
  }
2533
- function Hn({
2533
+ function rr({
2534
2534
  density: e,
2535
2535
  canAccept: t,
2536
2536
  blocked: n = !1,
2537
2537
  proximityOpacity: a,
2538
- className: r,
2539
- children: s,
2538
+ className: s,
2539
+ children: i,
2540
2540
  ...o
2541
2541
  }) {
2542
2542
  const l = a != null ? { ...o.style, "--_proximity-opacity": String(a) } : o.style;
2543
- return /* @__PURE__ */ i(
2543
+ return /* @__PURE__ */ r(
2544
2544
  "div",
2545
2545
  {
2546
2546
  ...o,
@@ -2553,65 +2553,65 @@ function Hn({
2553
2553
  className: [
2554
2554
  "gloss-drop-anchor-cell",
2555
2555
  n && "gloss-drop-anchor-cell--blocked-pulse",
2556
- r
2556
+ s
2557
2557
  ].filter(Boolean).join(" "),
2558
- children: s
2558
+ children: i
2559
2559
  }
2560
2560
  );
2561
2561
  }
2562
- function ia(e, t, n, a) {
2563
- const r = (e + n) / 2, s = Math.min(t, a) - 40;
2564
- return `M${e},${t} Q${r},${s} ${n},${a}`;
2562
+ function ga(e, t, n, a) {
2563
+ const s = (e + n) / 2, i = Math.min(t, a) - 40;
2564
+ return `M${e},${t} Q${s},${i} ${n},${a}`;
2565
2565
  }
2566
- function Vn({
2566
+ function sr({
2567
2567
  segments: e,
2568
- durationMs: t = ne.spilloverArcDurationMs,
2569
- staggerMs: n = ne.spilloverStaggerMs,
2568
+ durationMs: t = se.spilloverArcDurationMs,
2569
+ staggerMs: n = se.spilloverStaggerMs,
2570
2570
  className: a,
2571
- style: r
2571
+ style: s
2572
2572
  }) {
2573
- return e.length === 0 ? null : /* @__PURE__ */ i(
2573
+ return e.length === 0 ? null : /* @__PURE__ */ r(
2574
2574
  "svg",
2575
2575
  {
2576
2576
  className: ["gloss-spillover-arc", a].filter(Boolean).join(" "),
2577
2577
  "data-testid": "gloss-spillover-arc",
2578
2578
  "aria-hidden": "true",
2579
2579
  overflow: "visible",
2580
- style: { position: "absolute", inset: 0, pointerEvents: "none", ...r },
2581
- children: e.map((s, o) => /* @__PURE__ */ i(
2580
+ style: { position: "absolute", inset: 0, pointerEvents: "none", ...s },
2581
+ children: e.map((i, o) => /* @__PURE__ */ r(
2582
2582
  "path",
2583
2583
  {
2584
- "data-arc-id": s.id,
2584
+ "data-arc-id": i.id,
2585
2585
  className: "gloss-spillover-arc__path",
2586
- d: ia(s.fromX, s.fromY, s.toX, s.toY),
2586
+ d: ga(i.fromX, i.fromY, i.toX, i.toY),
2587
2587
  style: {
2588
2588
  animationDelay: `${o * n}ms`,
2589
2589
  animationDuration: `${t}ms`
2590
2590
  }
2591
2591
  },
2592
- s.id
2592
+ i.id
2593
2593
  ))
2594
2594
  }
2595
2595
  );
2596
2596
  }
2597
- function Un({
2597
+ function ir({
2598
2598
  state: e,
2599
2599
  staggerIndex: t = 0,
2600
- fadeInMs: n = ne.sectionDividerFadeInMs,
2601
- fadeOutMs: a = ne.sectionDividerFadeOutMs,
2602
- staggerMs: r = ne.sectionDividerStaggerMs,
2603
- variant: s = "dashed",
2600
+ fadeInMs: n = se.sectionDividerFadeInMs,
2601
+ fadeOutMs: a = se.sectionDividerFadeOutMs,
2602
+ staggerMs: s = se.sectionDividerStaggerMs,
2603
+ variant: i = "dashed",
2604
2604
  className: o,
2605
2605
  style: l,
2606
2606
  ...m
2607
2607
  }) {
2608
- const u = {
2608
+ const d = {
2609
2609
  "--gloss-section-divider-fade-in-ms": `${n}ms`,
2610
2610
  "--gloss-section-divider-fade-out-ms": `${a}ms`,
2611
- "--gloss-section-divider-stagger-delay": `${t * r}ms`,
2611
+ "--gloss-section-divider-stagger-delay": `${t * s}ms`,
2612
2612
  ...l
2613
2613
  };
2614
- return /* @__PURE__ */ i(
2614
+ return /* @__PURE__ */ r(
2615
2615
  "div",
2616
2616
  {
2617
2617
  ...m,
@@ -2621,49 +2621,49 @@ function Un({
2621
2621
  className: [
2622
2622
  "gloss-section-divider",
2623
2623
  `gloss-section-divider--state-${e}`,
2624
- s === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
2624
+ i === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
2625
2625
  o
2626
2626
  ].filter(Boolean).join(" "),
2627
- style: u
2627
+ style: d
2628
2628
  }
2629
2629
  );
2630
2630
  }
2631
- function jn({
2631
+ function or({
2632
2632
  enabled: e,
2633
2633
  onPack: t,
2634
2634
  ariaLabel: n = "Pack row (shift cards left)",
2635
2635
  className: a,
2636
- style: r
2636
+ style: s
2637
2637
  }) {
2638
- return /* @__PURE__ */ i(Ge, { visible: e, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ i(
2638
+ return /* @__PURE__ */ r(Ze, { visible: e, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2639
2639
  "button",
2640
2640
  {
2641
2641
  type: "button",
2642
2642
  "data-testid": "gloss-empty-cell-pack",
2643
2643
  "aria-label": n,
2644
2644
  className: ["gloss-empty-cell-pack-affordance", a].filter(Boolean).join(" "),
2645
- style: r,
2646
- onClick: (s) => {
2647
- s.stopPropagation(), t();
2645
+ style: s,
2646
+ onClick: (i) => {
2647
+ i.stopPropagation(), t();
2648
2648
  },
2649
- children: /* @__PURE__ */ i("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2649
+ children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2650
2650
  }
2651
2651
  ) });
2652
2652
  }
2653
- function Zn({
2653
+ function lr({
2654
2654
  tint: e,
2655
2655
  colSpan: t,
2656
2656
  colWidth: n,
2657
2657
  rowHeight: a,
2658
- gap: r,
2659
- x: s,
2658
+ gap: s,
2659
+ x: i,
2660
2660
  y: o,
2661
2661
  children: l,
2662
2662
  className: m
2663
2663
  }) {
2664
- const u = t * n + (t - 1) * r;
2665
- return /* @__PURE__ */ i(
2666
- ve.div,
2664
+ const d = t * n + (t - 1) * s;
2665
+ return /* @__PURE__ */ r(
2666
+ De.div,
2667
2667
  {
2668
2668
  "data-testid": "gloss-drag-ghost",
2669
2669
  "data-tint": e,
@@ -2673,44 +2673,44 @@ function Zn({
2673
2673
  `gloss-drag-ghost--tint-${e}`,
2674
2674
  m
2675
2675
  ].filter(Boolean).join(" "),
2676
- style: { x: s, y: o, width: u, height: a },
2676
+ style: { x: i, y: o, width: d, height: a },
2677
2677
  children: l
2678
2678
  }
2679
2679
  );
2680
2680
  }
2681
- const oa = 3;
2682
- function qn({
2681
+ const pa = 3;
2682
+ function cr({
2683
2683
  cell: e,
2684
2684
  colSpan: t,
2685
2685
  colWidth: n,
2686
2686
  gap: a,
2687
- rowHeight: r,
2688
- transitionMs: s = 120,
2687
+ rowHeight: s,
2688
+ transitionMs: i = 120,
2689
2689
  className: o
2690
2690
  }) {
2691
- const l = t * n + (t - 1) * a, u = (e.section * oa + e.col) * (n + a), p = e.row * (r + a);
2692
- return /* @__PURE__ */ i(
2691
+ const l = t * n + (t - 1) * a, d = (e.section * pa + e.col) * (n + a), g = e.row * (s + a);
2692
+ return /* @__PURE__ */ r(
2693
2693
  "div",
2694
2694
  {
2695
2695
  className: ["gloss-drag-feedback-snap-outline", o].filter(Boolean).join(" "),
2696
2696
  "data-testid": "gloss-snap-outline",
2697
2697
  "aria-hidden": "true",
2698
2698
  style: {
2699
- transform: `translate(${u}px, ${p}px)`,
2699
+ transform: `translate(${d}px, ${g}px)`,
2700
2700
  width: l,
2701
- height: r,
2702
- transition: `transform ${s}ms cubic-bezier(0.4, 0, 0.2, 1)`
2701
+ height: s,
2702
+ transition: `transform ${i}ms cubic-bezier(0.4, 0, 0.2, 1)`
2703
2703
  }
2704
2704
  }
2705
2705
  );
2706
2706
  }
2707
- function Yn({
2707
+ function dr({
2708
2708
  items: e,
2709
2709
  children: t,
2710
2710
  className: n
2711
2711
  }) {
2712
- return e.length === 0 ? null : /* @__PURE__ */ i(be, { children: e.map((a) => /* @__PURE__ */ i(
2713
- ve.div,
2712
+ return e.length === 0 ? null : /* @__PURE__ */ r(te, { children: e.map((a) => /* @__PURE__ */ r(
2713
+ De.div,
2714
2714
  {
2715
2715
  "data-card-id": a.cardId,
2716
2716
  "data-testid": "gloss-cascade-preview-item",
@@ -2722,29 +2722,29 @@ function Yn({
2722
2722
  a.cardId
2723
2723
  )) });
2724
2724
  }
2725
- const la = ({
2725
+ const ha = ({
2726
2726
  consumed: e,
2727
2727
  elapsed: t,
2728
2728
  severity: n = "neutral"
2729
2729
  }) => {
2730
- const a = T(null), r = T(null);
2730
+ const a = M(null), s = M(null);
2731
2731
  L(() => {
2732
2732
  const l = requestAnimationFrame(() => {
2733
- a.current && (a.current.style.width = `${e.value}%`), r.current && (r.current.style.width = `${t.value}%`);
2733
+ a.current && (a.current.style.width = `${e.value}%`), s.current && (s.current.style.width = `${t.value}%`);
2734
2734
  });
2735
2735
  return () => cancelAnimationFrame(l);
2736
2736
  }, [e.value, t.value]);
2737
- const s = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
2738
- return /* @__PURE__ */ k(
2737
+ const i = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
2738
+ return /* @__PURE__ */ D(
2739
2739
  "div",
2740
2740
  {
2741
2741
  className: "gloss-dual-pace-bars",
2742
2742
  role: "img",
2743
- "aria-label": `${s}: ${e.value}%, ${o}: ${t.value}%`,
2743
+ "aria-label": `${i}: ${e.value}%, ${o}: ${t.value}%`,
2744
2744
  children: [
2745
- /* @__PURE__ */ k("div", { className: "gloss-dual-pace-bars__row", children: [
2746
- /* @__PURE__ */ i("span", { className: "gloss-dual-pace-bars__track-label", children: s }),
2747
- /* @__PURE__ */ i("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ i(
2745
+ /* @__PURE__ */ D("div", { className: "gloss-dual-pace-bars__row", children: [
2746
+ /* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: i }),
2747
+ /* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
2748
2748
  "div",
2749
2749
  {
2750
2750
  ref: a,
@@ -2754,20 +2754,20 @@ const la = ({
2754
2754
  "aria-valuenow": e.value,
2755
2755
  "aria-valuemin": 0,
2756
2756
  "aria-valuemax": 100,
2757
- "aria-label": `${s}: ${e.value}%`
2757
+ "aria-label": `${i}: ${e.value}%`
2758
2758
  }
2759
2759
  ) }),
2760
- /* @__PURE__ */ k("span", { className: "gloss-dual-pace-bars__track-value", children: [
2760
+ /* @__PURE__ */ D("span", { className: "gloss-dual-pace-bars__track-value", children: [
2761
2761
  e.value,
2762
2762
  "%"
2763
2763
  ] })
2764
2764
  ] }),
2765
- /* @__PURE__ */ k("div", { className: "gloss-dual-pace-bars__row", children: [
2766
- /* @__PURE__ */ i("span", { className: "gloss-dual-pace-bars__track-label", children: o }),
2767
- /* @__PURE__ */ i("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ i(
2765
+ /* @__PURE__ */ D("div", { className: "gloss-dual-pace-bars__row", children: [
2766
+ /* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: o }),
2767
+ /* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
2768
2768
  "div",
2769
2769
  {
2770
- ref: r,
2770
+ ref: s,
2771
2771
  className: "gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--elapsed",
2772
2772
  style: { width: "0%" },
2773
2773
  role: "meter",
@@ -2777,7 +2777,7 @@ const la = ({
2777
2777
  "aria-label": `${o}: ${t.value}%`
2778
2778
  }
2779
2779
  ) }),
2780
- /* @__PURE__ */ k("span", { className: "gloss-dual-pace-bars__track-value", children: [
2780
+ /* @__PURE__ */ D("span", { className: "gloss-dual-pace-bars__track-value", children: [
2781
2781
  t.value,
2782
2782
  "%"
2783
2783
  ] })
@@ -2785,26 +2785,26 @@ const la = ({
2785
2785
  ]
2786
2786
  }
2787
2787
  );
2788
- }, ca = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ k(
2788
+ }, fa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ D(
2789
2789
  "div",
2790
2790
  {
2791
2791
  className: `gloss-gap-readout gloss-gap-readout--${n}`,
2792
2792
  "aria-label": `${e}: ${t}`,
2793
2793
  children: [
2794
- /* @__PURE__ */ i("hr", { className: "gloss-gap-readout__separator" }),
2795
- /* @__PURE__ */ k("div", { className: "gloss-gap-readout__strip", children: [
2796
- /* @__PURE__ */ i("span", { className: "gloss-gap-readout__label", children: e }),
2797
- /* @__PURE__ */ i("span", { className: "gloss-gap-readout__value", children: t })
2794
+ /* @__PURE__ */ r("hr", { className: "gloss-gap-readout__separator" }),
2795
+ /* @__PURE__ */ D("div", { className: "gloss-gap-readout__strip", children: [
2796
+ /* @__PURE__ */ r("span", { className: "gloss-gap-readout__label", children: e }),
2797
+ /* @__PURE__ */ r("span", { className: "gloss-gap-readout__value", children: t })
2798
2798
  ] })
2799
2799
  ]
2800
2800
  }
2801
- ), da = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ k("div", { className: "gloss-pace-placeholder", children: [
2802
- /* @__PURE__ */ i("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2803
- /* @__PURE__ */ k("p", { className: "gloss-pace-placeholder__context", children: [
2801
+ ), va = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2802
+ /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2803
+ /* @__PURE__ */ D("p", { className: "gloss-pace-placeholder__context", children: [
2804
2804
  "for ",
2805
2805
  e
2806
2806
  ] }),
2807
- /* @__PURE__ */ i(
2807
+ /* @__PURE__ */ r(
2808
2808
  "button",
2809
2809
  {
2810
2810
  type: "button",
@@ -2814,12 +2814,12 @@ const la = ({
2814
2814
  children: "Set target"
2815
2815
  }
2816
2816
  )
2817
- ] }), Qn = (e) => {
2818
- const [t, n] = $(!1), a = e.target?.value, r = a !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ i(
2819
- wt,
2817
+ ] }), ur = (e) => {
2818
+ const [t, n] = $(!1), a = e.target?.value, s = a !== void 0, i = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
2819
+ St,
2820
2820
  {
2821
2821
  label: `Set a target for ${e.label}`,
2822
- unit: s,
2822
+ unit: i,
2823
2823
  currentValue: a,
2824
2824
  onConfirm: (l) => {
2825
2825
  e.onTargetChange(l), n(!1);
@@ -2829,28 +2829,28 @@ const la = ({
2829
2829
  }
2830
2830
  }
2831
2831
  );
2832
- return /* @__PURE__ */ i(
2833
- rt,
2832
+ return /* @__PURE__ */ r(
2833
+ ut,
2834
2834
  {
2835
2835
  colSpan: 2,
2836
2836
  enableQuickSettings: !0,
2837
2837
  isFlipped: t,
2838
2838
  onFlipChange: n,
2839
2839
  quickConfigSlot: o,
2840
- children: /* @__PURE__ */ k("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
2841
- /* @__PURE__ */ i("div", { className: "gloss-pace-card__label", children: e.label }),
2842
- /* @__PURE__ */ i("div", { className: "gloss-pace-card__body", children: r ? /* @__PURE__ */ k(be, { children: [
2843
- /* @__PURE__ */ i(
2844
- la,
2840
+ children: /* @__PURE__ */ D("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
2841
+ /* @__PURE__ */ r("div", { className: "gloss-pace-card__label", children: e.label }),
2842
+ /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ D(te, { children: [
2843
+ /* @__PURE__ */ r(
2844
+ ha,
2845
2845
  {
2846
2846
  consumed: e.consumed,
2847
2847
  elapsed: e.elapsed,
2848
2848
  severity: e.severity
2849
2849
  }
2850
2850
  ),
2851
- /* @__PURE__ */ i(ca, { label: "Gap", value: e.gapLabel, severity: e.severity })
2852
- ] }) : /* @__PURE__ */ i(
2853
- da,
2851
+ /* @__PURE__ */ r(fa, { label: "Gap", value: e.gapLabel, severity: e.severity })
2852
+ ] }) : /* @__PURE__ */ r(
2853
+ va,
2854
2854
  {
2855
2855
  label: e.label,
2856
2856
  onSetTarget: () => n(!0)
@@ -2859,55 +2859,55 @@ const la = ({
2859
2859
  ] })
2860
2860
  }
2861
2861
  );
2862
- }, Xn = () => /* @__PURE__ */ k("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2863
- /* @__PURE__ */ i(
2862
+ }, mr = () => /* @__PURE__ */ D("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2863
+ /* @__PURE__ */ r(
2864
2864
  "div",
2865
2865
  {
2866
2866
  className: "gloss-pace-tile-preview__bar gloss-pace-tile-preview__bar--consumed",
2867
2867
  style: { width: "78%" }
2868
2868
  }
2869
2869
  ),
2870
- /* @__PURE__ */ i(
2870
+ /* @__PURE__ */ r(
2871
2871
  "div",
2872
2872
  {
2873
2873
  className: "gloss-pace-tile-preview__bar gloss-pace-tile-preview__bar--elapsed",
2874
2874
  style: { width: "60%" }
2875
2875
  }
2876
2876
  ),
2877
- /* @__PURE__ */ i("div", { className: "gloss-pace-tile-preview__gap-strip" })
2877
+ /* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
2878
2878
  ] });
2879
- function ua({ id: e, label: t, selected: n, focused: a, disabled: r, badge: s, onClick: o }) {
2880
- return /* @__PURE__ */ i(
2879
+ function ba({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
2880
+ return /* @__PURE__ */ r(
2881
2881
  "span",
2882
2882
  {
2883
2883
  role: "radio",
2884
2884
  "aria-checked": n,
2885
- "aria-disabled": r || void 0,
2885
+ "aria-disabled": s || void 0,
2886
2886
  tabIndex: a ? 0 : -1,
2887
2887
  className: "gloss-lens-chip",
2888
2888
  "data-selected": n || void 0,
2889
- "data-disabled": r || void 0,
2889
+ "data-disabled": s || void 0,
2890
2890
  onClick: () => {
2891
- r || o(e);
2891
+ s || o(e);
2892
2892
  },
2893
- children: /* @__PURE__ */ k(st, { selected: n, disabled: r, variant: "soft", size: "sm", children: [
2894
- /* @__PURE__ */ i("span", { className: "gloss-lens-chip__label", children: t }),
2895
- s && /* @__PURE__ */ i("span", { className: "gloss-lens-chip__badge", children: s })
2893
+ children: /* @__PURE__ */ D(mt, { selected: n, disabled: s, variant: "soft", size: "sm", children: [
2894
+ /* @__PURE__ */ r("span", { className: "gloss-lens-chip__label", children: t }),
2895
+ i && /* @__PURE__ */ r("span", { className: "gloss-lens-chip__badge", children: i })
2896
2896
  ] })
2897
2897
  }
2898
2898
  );
2899
2899
  }
2900
- function ma({
2900
+ function ya({
2901
2901
  lenses: e,
2902
2902
  value: t,
2903
2903
  onChange: n,
2904
2904
  "aria-label": a = "Lens"
2905
2905
  }) {
2906
2906
  if (e.length === 0) return null;
2907
- const [r, s] = $(
2907
+ const [s, i] = $(
2908
2908
  () => Math.max(0, e.findIndex((l) => l.id === t))
2909
2909
  );
2910
- return /* @__PURE__ */ i(
2910
+ return /* @__PURE__ */ r(
2911
2911
  "div",
2912
2912
  {
2913
2913
  role: "radiogroup",
@@ -2916,35 +2916,35 @@ function ma({
2916
2916
  switch (l.key) {
2917
2917
  case "ArrowRight":
2918
2918
  case "ArrowDown":
2919
- l.preventDefault(), s((m) => (m + 1) % e.length);
2919
+ l.preventDefault(), i((m) => (m + 1) % e.length);
2920
2920
  break;
2921
2921
  case "ArrowLeft":
2922
2922
  case "ArrowUp":
2923
- l.preventDefault(), s((m) => (m - 1 + e.length) % e.length);
2923
+ l.preventDefault(), i((m) => (m - 1 + e.length) % e.length);
2924
2924
  break;
2925
2925
  case "Home":
2926
- l.preventDefault(), s(0);
2926
+ l.preventDefault(), i(0);
2927
2927
  break;
2928
2928
  case "End":
2929
- l.preventDefault(), s(e.length - 1);
2929
+ l.preventDefault(), i(e.length - 1);
2930
2930
  break;
2931
2931
  case "Enter":
2932
2932
  case " ": {
2933
2933
  l.preventDefault();
2934
- const m = e[r];
2934
+ const m = e[s];
2935
2935
  m && !m.disabled && n(m.id);
2936
2936
  break;
2937
2937
  }
2938
2938
  }
2939
2939
  },
2940
2940
  className: "gloss-lens-chip-group",
2941
- children: e.map((l, m) => /* @__PURE__ */ i(
2942
- ua,
2941
+ children: e.map((l, m) => /* @__PURE__ */ r(
2942
+ ba,
2943
2943
  {
2944
2944
  id: l.id,
2945
2945
  label: l.label,
2946
2946
  selected: l.id === t,
2947
- focused: m === r,
2947
+ focused: m === s,
2948
2948
  disabled: l.disabled,
2949
2949
  badge: l.badge,
2950
2950
  onClick: n
@@ -2954,26 +2954,317 @@ function ma({
2954
2954
  }
2955
2955
  );
2956
2956
  }
2957
- ma.displayName = "LensChipGroup";
2958
- function ga({ heading: e, children: t }) {
2959
- return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ k("section", { className: "gloss-starter-rail", "aria-label": e, children: [
2960
- /* @__PURE__ */ i("header", { className: "gloss-starter-rail__heading", children: e }),
2961
- /* @__PURE__ */ i("div", { className: "gloss-starter-rail__tiles", children: t })
2957
+ ya.displayName = "LensChipGroup";
2958
+ function wa({ heading: e, children: t }) {
2959
+ return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ D("section", { className: "gloss-starter-rail", "aria-label": e, children: [
2960
+ /* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
2961
+ /* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
2962
2962
  ] });
2963
2963
  }
2964
- ga.displayName = "StarterRail";
2965
- function pa({ heading: e, children: t, emptyStateLabel: n }) {
2964
+ wa.displayName = "StarterRail";
2965
+ function _a({ heading: e, children: t, emptyStateLabel: n }) {
2966
2966
  const a = !t || Array.isArray(t) && t.length === 0;
2967
- return /* @__PURE__ */ k("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
2968
- /* @__PURE__ */ i("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
2969
- /* @__PURE__ */ k("div", { className: "gloss-more-in-lens-rail__tiles", children: [
2967
+ return /* @__PURE__ */ D("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
2968
+ /* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
2969
+ /* @__PURE__ */ D("div", { className: "gloss-more-in-lens-rail__tiles", children: [
2970
2970
  t,
2971
- a && n && /* @__PURE__ */ i("p", { className: "gloss-more-in-lens-rail__empty", children: n })
2971
+ a && n && /* @__PURE__ */ r("p", { className: "gloss-more-in-lens-rail__empty", children: n })
2972
+ ] })
2973
+ ] });
2974
+ }
2975
+ _a.displayName = "MoreInLensRail";
2976
+ function X({
2977
+ lead: e,
2978
+ name: t,
2979
+ secondary: n,
2980
+ value: a,
2981
+ trail: s,
2982
+ variant: i = "default",
2983
+ onClick: o,
2984
+ className: l,
2985
+ style: m
2986
+ }) {
2987
+ const d = [
2988
+ "gloss-entity-row",
2989
+ `gloss-entity-row--${i}`,
2990
+ o ? "gloss-entity-row--clickable" : "",
2991
+ l ?? ""
2992
+ ].filter(Boolean).join(" "), g = /* @__PURE__ */ D(te, { children: [
2993
+ e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
2994
+ /* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
2995
+ n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
2996
+ /* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
2997
+ s !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: s })
2998
+ ] });
2999
+ return o ? /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: /* @__PURE__ */ r(
3000
+ "button",
3001
+ {
3002
+ type: "button",
3003
+ style: {
3004
+ all: "unset",
3005
+ display: "flex",
3006
+ width: "100%",
3007
+ alignItems: "center",
3008
+ gap: 4,
3009
+ cursor: "pointer"
3010
+ },
3011
+ onClick: (f) => {
3012
+ f.stopPropagation(), o();
3013
+ },
3014
+ children: g
3015
+ }
3016
+ ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: g });
3017
+ }
3018
+ X.displayName = "EntityRow";
3019
+ const fe = ({ rank: e }) => {
3020
+ const t = e === 1 ? "first" : "other";
3021
+ return /* @__PURE__ */ r(
3022
+ "span",
3023
+ {
3024
+ role: "img",
3025
+ "aria-label": `Rank ${e}`,
3026
+ className: `gloss-rank-badge gloss-rank-badge--${t}`,
3027
+ children: e
3028
+ }
3029
+ );
3030
+ };
3031
+ fe.displayName = "RankBadge";
3032
+ function ve({ severity: e, "aria-label": t }) {
3033
+ return /* @__PURE__ */ r(
3034
+ "span",
3035
+ {
3036
+ role: "img",
3037
+ "aria-label": t,
3038
+ className: `gloss-severity-dot gloss-severity-dot--${e}`
3039
+ }
3040
+ );
3041
+ }
3042
+ ve.displayName = "SeverityDot";
3043
+ function tt({
3044
+ delta: e,
3045
+ direction: t = "flat",
3046
+ "aria-label": n
3047
+ }) {
3048
+ if (e === "new")
3049
+ return /* @__PURE__ */ r(
3050
+ "span",
3051
+ {
3052
+ role: "img",
3053
+ "aria-label": n,
3054
+ className: "gloss-rank-delta gloss-rank-delta--new",
3055
+ children: "NEW"
3056
+ }
3057
+ );
3058
+ const a = t === "up" ? "▲" : t === "down" ? "▼" : "—";
3059
+ return /* @__PURE__ */ D(
3060
+ "span",
3061
+ {
3062
+ role: "img",
3063
+ "aria-label": n,
3064
+ className: `gloss-rank-delta gloss-rank-delta--${t}`,
3065
+ children: [
3066
+ a,
3067
+ e
3068
+ ]
3069
+ }
3070
+ );
3071
+ }
3072
+ tt.displayName = "RankDelta";
3073
+ function be({ fill: e, variant: t = "default", className: n }) {
3074
+ const a = Math.max(0, Math.min(100, e));
3075
+ return /* @__PURE__ */ r(
3076
+ "div",
3077
+ {
3078
+ "aria-hidden": "true",
3079
+ className: [
3080
+ "gloss-magnitude-bar",
3081
+ `gloss-magnitude-bar--${t}`,
3082
+ n ?? ""
3083
+ ].filter(Boolean).join(" "),
3084
+ style: { "--_fill": `${a}%` },
3085
+ children: /* @__PURE__ */ r("div", { className: "gloss-magnitude-bar__fill" })
3086
+ }
3087
+ );
3088
+ }
3089
+ be.displayName = "MagnitudeBar";
3090
+ const Na = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3091
+ function Da({
3092
+ label: e,
3093
+ rows: t,
3094
+ rowCount: n,
3095
+ rankDeltaPeriod: a,
3096
+ isStale: s
3097
+ }) {
3098
+ const i = n ?? 3;
3099
+ return /* @__PURE__ */ D(te, { children: [
3100
+ /* @__PURE__ */ r(
3101
+ pe,
3102
+ {
3103
+ className: "gloss-metric-card__zone-a",
3104
+ style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3105
+ children: /* @__PURE__ */ r(Te, { className: "gloss-metric-card__label", children: e })
3106
+ }
3107
+ ),
3108
+ /* @__PURE__ */ r(
3109
+ pe,
3110
+ {
3111
+ className: `gloss-metric-card__zone-b gloss-leaderboard ${s ? "gloss-metric-data-stale" : ""}`,
3112
+ style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3113
+ children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, i).map((o, l) => /* @__PURE__ */ r(
3114
+ X,
3115
+ {
3116
+ lead: /* @__PURE__ */ r(fe, { rank: l + 1 }),
3117
+ name: o.name,
3118
+ secondary: /* @__PURE__ */ r(
3119
+ be,
3120
+ {
3121
+ fill: o.magnitude,
3122
+ variant: o.isBottom ? "bottom" : "default"
3123
+ }
3124
+ ),
3125
+ value: o.value,
3126
+ trail: /* @__PURE__ */ r(
3127
+ tt,
3128
+ {
3129
+ delta: o.rankDelta,
3130
+ direction: o.direction,
3131
+ "aria-label": Na(o)
3132
+ }
3133
+ ),
3134
+ variant: "leaderboard",
3135
+ style: { "--i": l }
3136
+ },
3137
+ o.id
3138
+ )) })
3139
+ }
3140
+ ),
3141
+ /* @__PURE__ */ D("div", { className: "gloss-leaderboard__zone-c", children: [
3142
+ a ?? "WoW",
3143
+ " rank change"
2972
3144
  ] })
2973
3145
  ] });
2974
3146
  }
2975
- pa.displayName = "MoreInLensRail";
2976
- const te = {
3147
+ Da.displayName = "LeaderboardCard";
3148
+ const Ca = () => /* @__PURE__ */ D(
3149
+ "div",
3150
+ {
3151
+ className: "leaderboard-tile-preview",
3152
+ "aria-hidden": "true",
3153
+ style: { transform: "scale(0.6)", transformOrigin: "top left" },
3154
+ children: [
3155
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(be, { fill: 96 }), value: "98%" }),
3156
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(be, { fill: 72 }), value: "85%" }),
3157
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(be, { fill: 48 }), value: "71%" })
3158
+ ]
3159
+ }
3160
+ );
3161
+ Ca.displayName = "LeaderboardTilePreview";
3162
+ const ka = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", xa = (e, t) => {
3163
+ const n = e.sourceValue;
3164
+ if (typeof n != "number") return !1;
3165
+ switch (t.condition) {
3166
+ case "lt":
3167
+ return n < t.threshold;
3168
+ case "gt":
3169
+ return n > t.threshold;
3170
+ case "eq":
3171
+ return n === t.threshold;
3172
+ case "gte":
3173
+ return n >= t.threshold;
3174
+ case "lte":
3175
+ return n <= t.threshold;
3176
+ default:
3177
+ return !1;
3178
+ }
3179
+ };
3180
+ function Sa({
3181
+ label: e,
3182
+ rows: t,
3183
+ rule: n,
3184
+ rowCount: a,
3185
+ emptyStateLabel: s,
3186
+ ruleSubtitle: i,
3187
+ isStale: o
3188
+ }) {
3189
+ const l = t.filter((d) => xa(d, n)), m = l.slice(0, a ?? 3);
3190
+ return l.length === 0 ? /* @__PURE__ */ D(te, { children: [
3191
+ /* @__PURE__ */ r(
3192
+ pe,
3193
+ {
3194
+ className: "gloss-metric-card__zone-a",
3195
+ style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3196
+ children: /* @__PURE__ */ r(Te, { className: "gloss-metric-card__label", children: e })
3197
+ }
3198
+ ),
3199
+ /* @__PURE__ */ r("div", { className: "gloss-exception-list__empty", role: "status", children: s ?? "No exceptions" }),
3200
+ i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
3201
+ ] }) : /* @__PURE__ */ D(te, { children: [
3202
+ /* @__PURE__ */ r(
3203
+ pe,
3204
+ {
3205
+ className: "gloss-metric-card__zone-a",
3206
+ style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3207
+ children: /* @__PURE__ */ r(Te, { className: "gloss-metric-card__label", children: e })
3208
+ }
3209
+ ),
3210
+ /* @__PURE__ */ r(
3211
+ pe,
3212
+ {
3213
+ className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
3214
+ style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3215
+ children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((d, g) => /* @__PURE__ */ r(
3216
+ X,
3217
+ {
3218
+ lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label": ka(d.severity) }),
3219
+ name: d.name,
3220
+ value: d.value,
3221
+ variant: "exception",
3222
+ style: { "--i": g }
3223
+ },
3224
+ d.id
3225
+ )) })
3226
+ }
3227
+ ),
3228
+ i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
3229
+ ] });
3230
+ }
3231
+ Sa.displayName = "ExceptionListCard";
3232
+ const Ra = () => /* @__PURE__ */ D(
3233
+ "div",
3234
+ {
3235
+ className: "exception-list-tile-preview",
3236
+ "aria-hidden": "true",
3237
+ style: { transform: "scale(0.6)", transformOrigin: "top left" },
3238
+ children: [
3239
+ /* @__PURE__ */ r(
3240
+ X,
3241
+ {
3242
+ lead: /* @__PURE__ */ r(ve, { severity: "critical", "aria-label": "Critical severity" }),
3243
+ name: "SKU A",
3244
+ value: "0 on hand"
3245
+ }
3246
+ ),
3247
+ /* @__PURE__ */ r(
3248
+ X,
3249
+ {
3250
+ lead: /* @__PURE__ */ r(ve, { severity: "warn", "aria-label": "Warning severity" }),
3251
+ name: "SKU B",
3252
+ value: "3 units"
3253
+ }
3254
+ ),
3255
+ /* @__PURE__ */ r(
3256
+ X,
3257
+ {
3258
+ lead: /* @__PURE__ */ r(ve, { severity: "info", "aria-label": "Info severity" }),
3259
+ name: "SKU C",
3260
+ value: "12 days"
3261
+ }
3262
+ )
3263
+ ]
3264
+ }
3265
+ );
3266
+ Ra.displayName = "ExceptionListTilePreview";
3267
+ const ne = {
2977
3268
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
2978
3269
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
2979
3270
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -2981,57 +3272,57 @@ const te = {
2981
3272
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
2982
3273
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
2983
3274
  };
2984
- function fa({
3275
+ function Ma({
2985
3276
  message: e,
2986
3277
  primaryAction: t,
2987
3278
  onDismiss: n,
2988
3279
  anchorEl: a,
2989
- anchorSelector: r
3280
+ anchorSelector: s
2990
3281
  }) {
2991
- const [s, o] = V.useState(null), l = V.useMemo(
3282
+ const [i, o] = H.useState(null), l = H.useMemo(
2992
3283
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
2993
3284
  []
2994
3285
  );
2995
- V.useEffect(() => {
2996
- !a && !r && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
3286
+ H.useEffect(() => {
3287
+ !a && !s && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
2997
3288
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
2998
3289
  );
2999
- }, [a, r]), V.useLayoutEffect(() => {
3000
- let u = null;
3001
- if (a ? u = a : r && (u = document.querySelector(r)), u) {
3002
- const p = u.getBoundingClientRect();
3290
+ }, [a, s]), H.useLayoutEffect(() => {
3291
+ let d = null;
3292
+ if (a ? d = a : s && (d = document.querySelector(s)), d) {
3293
+ const g = d.getBoundingClientRect();
3003
3294
  o({
3004
- top: p.bottom + window.scrollY + 6,
3005
- left: p.left + window.scrollX
3295
+ top: g.bottom + window.scrollY + 6,
3296
+ left: g.left + window.scrollX
3006
3297
  });
3007
3298
  }
3008
- }, [a, r]);
3009
- const m = s ? { top: s.top, left: s.left } : {};
3010
- return /* @__PURE__ */ k(
3299
+ }, [a, s]);
3300
+ const m = i ? { top: i.top, left: i.left } : {};
3301
+ return /* @__PURE__ */ D(
3011
3302
  "div",
3012
3303
  {
3013
- className: te["gloss-inline-nudge"],
3304
+ className: ne["gloss-inline-nudge"],
3014
3305
  style: m,
3015
3306
  role: "status",
3016
3307
  "aria-live": "polite",
3017
3308
  "data-reduced-motion": l ? "true" : void 0,
3018
3309
  children: [
3019
- /* @__PURE__ */ i("span", { className: te["gloss-inline-nudge__message"], children: e }),
3020
- /* @__PURE__ */ k("div", { className: te["gloss-inline-nudge__actions"], children: [
3021
- /* @__PURE__ */ i(
3310
+ /* @__PURE__ */ r("span", { className: ne["gloss-inline-nudge__message"], children: e }),
3311
+ /* @__PURE__ */ D("div", { className: ne["gloss-inline-nudge__actions"], children: [
3312
+ /* @__PURE__ */ r(
3022
3313
  "button",
3023
3314
  {
3024
3315
  type: "button",
3025
- className: `${te["gloss-inline-nudge__btn"]} ${te["gloss-inline-nudge__btn--action"]}`,
3316
+ className: `${ne["gloss-inline-nudge__btn"]} ${ne["gloss-inline-nudge__btn--action"]}`,
3026
3317
  onClick: t.onClick,
3027
3318
  children: t.label
3028
3319
  }
3029
3320
  ),
3030
- /* @__PURE__ */ i(
3321
+ /* @__PURE__ */ r(
3031
3322
  "button",
3032
3323
  {
3033
3324
  type: "button",
3034
- className: `${te["gloss-inline-nudge__btn"]} ${te["gloss-inline-nudge__btn--dismiss"]}`,
3325
+ className: `${ne["gloss-inline-nudge__btn"]} ${ne["gloss-inline-nudge__btn--dismiss"]}`,
3035
3326
  onClick: n,
3036
3327
  "aria-label": "Dismiss",
3037
3328
  children: "Dismiss"
@@ -3042,46 +3333,46 @@ function fa({
3042
3333
  }
3043
3334
  );
3044
3335
  }
3045
- fa.displayName = "InlineNudge";
3046
- function Me(e) {
3336
+ Ma.displayName = "InlineNudge";
3337
+ function Ee(e) {
3047
3338
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
3048
3339
  }
3049
- function ha(e, t, n) {
3340
+ function Ta(e, t, n) {
3050
3341
  if (n <= t) {
3051
- const o = e[0], l = o ? Me(o) : "#888";
3342
+ const o = e[0], l = o ? Ee(o) : "#888";
3052
3343
  return `linear-gradient(to right, ${l}, ${l})`;
3053
3344
  }
3054
- const a = n - t, s = [...e].sort((o, l) => o.value - l.value).map((o) => {
3345
+ const a = n - t, i = [...e].sort((o, l) => o.value - l.value).map((o) => {
3055
3346
  const l = (o.value - t) / a * 100;
3056
- return `${Me(o)} ${l.toFixed(2)}%`;
3347
+ return `${Ee(o)} ${l.toFixed(2)}%`;
3057
3348
  });
3058
- 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(", ")})`;
3349
+ return i.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : i.length === 1 ? `linear-gradient(to right, ${i[0]}, ${i[0]})` : `linear-gradient(to right, ${i.join(", ")})`;
3059
3350
  }
3060
- function ba(e) {
3351
+ function Ia(e) {
3061
3352
  return e.map((t) => `${t.id}:${t.value}`).join("|");
3062
3353
  }
3063
- function va({
3354
+ function Pa({
3064
3355
  stops: e,
3065
3356
  onChange: t,
3066
3357
  min: n = 0,
3067
3358
  max: a = 100,
3068
- step: r,
3069
- disabled: s = !1
3359
+ step: s,
3360
+ disabled: i = !1
3070
3361
  }) {
3071
- const o = r === void 0 ? 0.01 : !Number.isFinite(r) || r <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
3072
- `ThresholdRamp: step (${r}) must be a positive finite number; falling back to 0.01.`
3073
- ), 0.01) : r, l = w(
3362
+ const o = s === void 0 ? 0.01 : !Number.isFinite(s) || s <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
3363
+ `ThresholdRamp: step (${s}) must be a positive finite number; falling back to 0.01.`
3364
+ ), 0.01) : s, l = w(
3074
3365
  (c) => Math.round(c / o) * o,
3075
3366
  [o]
3076
- ), m = T(null), [u, p] = $(null), [h, d] = $(e), g = ba(e), _ = T(g);
3367
+ ), m = M(null), [d, g] = $(null), [f, u] = $(e), p = Ia(e), N = M(p);
3077
3368
  L(() => {
3078
- _.current !== g && (_.current = g, !u && d(e));
3079
- }, [g, e, u]);
3080
- const y = ge(() => ha(h, n, a), [h, n, a]), f = w(
3369
+ N.current !== p && (N.current = p, !d && u(e));
3370
+ }, [p, e, d]);
3371
+ const y = ye(() => Ta(f, n, a), [f, n, a]), h = w(
3081
3372
  (c) => {
3082
3373
  if (!m.current) return n;
3083
- const b = m.current.getBoundingClientRect(), D = b.width || 1, S = Math.max(0, Math.min(1, (c - b.left) / D)), v = n + S * (a - n);
3084
- return l(v);
3374
+ const v = m.current.getBoundingClientRect(), _ = v.width || 1, S = Math.max(0, Math.min(1, (c - v.left) / _)), b = n + S * (a - n);
3375
+ return l(b);
3085
3376
  },
3086
3377
  [n, a, l]
3087
3378
  );
@@ -3090,94 +3381,94 @@ function va({
3090
3381
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
3091
3382
  );
3092
3383
  }, [n, a]);
3093
- const M = w(
3094
- (c, b) => {
3095
- const D = h.find((S) => S.id === b);
3096
- s || D?.disabled || (c.preventDefault(), p(b));
3384
+ const R = w(
3385
+ (c, v) => {
3386
+ const _ = f.find((S) => S.id === v);
3387
+ i || _?.disabled || (c.preventDefault(), g(v));
3097
3388
  },
3098
- [s, h]
3099
- ), P = T(h);
3100
- P.current = h;
3101
- const C = T(t);
3102
- C.current = t, L(() => {
3103
- if (!u) return;
3104
- const c = (D) => {
3105
- const S = f(D.clientX);
3106
- d(
3107
- (v) => v.map((x) => x.id === u ? { ...x, value: S } : x)
3389
+ [i, f]
3390
+ ), P = M(f);
3391
+ P.current = f;
3392
+ const k = M(t);
3393
+ k.current = t, L(() => {
3394
+ if (!d) return;
3395
+ const c = (_) => {
3396
+ const S = h(_.clientX);
3397
+ u(
3398
+ (b) => b.map((x) => x.id === d ? { ...x, value: S } : x)
3108
3399
  );
3109
- }, b = (D) => {
3110
- const S = f(D.clientX), v = P.current.map(
3111
- (x) => x.id === u ? { ...x, value: S } : x
3400
+ }, v = (_) => {
3401
+ const S = h(_.clientX), b = P.current.map(
3402
+ (x) => x.id === d ? { ...x, value: S } : x
3112
3403
  );
3113
- d(v), p(null), C.current(v);
3404
+ u(b), g(null), k.current(b);
3114
3405
  };
3115
- return window.addEventListener("pointermove", c), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
3116
- window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
3406
+ return window.addEventListener("pointermove", c), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
3407
+ window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
3117
3408
  };
3118
- }, [u, f]);
3119
- const R = a - n > 0 ? a - n : 1, I = w(
3120
- (c, b) => {
3121
- if (s || b.disabled) return;
3122
- const D = a - n;
3123
- if (D <= 0) return;
3124
- const S = c.shiftKey ? D / 20 : D / 100;
3125
- let v = b.value;
3409
+ }, [d, h]);
3410
+ const T = a - n > 0 ? a - n : 1, I = w(
3411
+ (c, v) => {
3412
+ if (i || v.disabled) return;
3413
+ const _ = a - n;
3414
+ if (_ <= 0) return;
3415
+ const S = c.shiftKey ? _ / 20 : _ / 100;
3416
+ let b = v.value;
3126
3417
  switch (c.key) {
3127
3418
  case "ArrowRight":
3128
3419
  case "ArrowUp":
3129
- v = b.value + S;
3420
+ b = v.value + S;
3130
3421
  break;
3131
3422
  case "ArrowLeft":
3132
3423
  case "ArrowDown":
3133
- v = b.value - S;
3424
+ b = v.value - S;
3134
3425
  break;
3135
3426
  case "Home":
3136
- v = n;
3427
+ b = n;
3137
3428
  break;
3138
3429
  case "End":
3139
- v = a;
3430
+ b = a;
3140
3431
  break;
3141
3432
  default:
3142
3433
  return;
3143
3434
  }
3144
3435
  c.preventDefault();
3145
- const x = Math.max(n, Math.min(a, v)), F = l(x);
3146
- if (F === b.value) return;
3147
- const U = h.map(
3148
- (q) => q.id === b.id ? { ...q, value: F } : q
3436
+ const x = Math.max(n, Math.min(a, b)), F = l(x);
3437
+ if (F === v.value) return;
3438
+ const U = f.map(
3439
+ (q) => q.id === v.id ? { ...q, value: F } : q
3149
3440
  );
3150
- d(U), t(U);
3441
+ u(U), t(U);
3151
3442
  },
3152
- [s, n, a, h, t, l]
3443
+ [i, n, a, f, t, l]
3153
3444
  );
3154
- return /* @__PURE__ */ i("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ i(
3445
+ return /* @__PURE__ */ r("div", { className: "gloss-threshold-ramp", "data-disabled": i || void 0, children: /* @__PURE__ */ r(
3155
3446
  "div",
3156
3447
  {
3157
3448
  ref: m,
3158
3449
  className: "gloss-threshold-ramp__track",
3159
3450
  style: { background: y },
3160
- children: h.map((c) => {
3161
- const b = (c.value - n) / R * 100;
3162
- return /* @__PURE__ */ i(
3451
+ children: f.map((c) => {
3452
+ const v = (c.value - n) / T * 100;
3453
+ return /* @__PURE__ */ r(
3163
3454
  "span",
3164
3455
  {
3165
3456
  className: "gloss-threshold-ramp__stop",
3166
3457
  style: {
3167
- left: `${b}%`,
3168
- color: Me(c)
3458
+ left: `${v}%`,
3459
+ color: Ee(c)
3169
3460
  },
3170
3461
  "data-disabled": c.disabled || void 0,
3171
- "data-dragging": u === c.id || void 0,
3172
- onPointerDown: (D) => M(D, c.id),
3173
- onKeyDown: (D) => I(D, c),
3462
+ "data-dragging": d === c.id || void 0,
3463
+ onPointerDown: (_) => R(_, c.id),
3464
+ onKeyDown: (_) => I(_, c),
3174
3465
  "aria-label": c.label ?? `Stop at ${c.value}`,
3175
3466
  role: "slider",
3176
3467
  "aria-valuenow": c.value,
3177
3468
  "aria-valuemin": n,
3178
3469
  "aria-valuemax": a,
3179
- "aria-disabled": c.disabled || s || void 0,
3180
- tabIndex: c.disabled || s ? -1 : 0
3470
+ "aria-disabled": c.disabled || i || void 0,
3471
+ tabIndex: c.disabled || i ? -1 : 0
3181
3472
  },
3182
3473
  c.id
3183
3474
  );
@@ -3185,24 +3476,24 @@ function va({
3185
3476
  }
3186
3477
  ) });
3187
3478
  }
3188
- va.displayName = "ThresholdRamp";
3189
- const qe = lt(null);
3190
- function ya() {
3191
- return ct(qe);
3479
+ Pa.displayName = "ThresholdRamp";
3480
+ const at = ht(null);
3481
+ function Fa() {
3482
+ return ft(at);
3192
3483
  }
3193
- function wa({ option: e }) {
3194
- const t = ya(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = w(() => {
3484
+ function Ea({ option: e }) {
3485
+ const t = Fa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = w(() => {
3195
3486
  a || t?.select(e.value);
3196
- }, [a, t, e.value]), s = w(
3197
- (u) => {
3198
- a || t?.onKeyNav(u, e.value);
3487
+ }, [a, t, e.value]), i = w(
3488
+ (d) => {
3489
+ a || t?.onKeyNav(d, e.value);
3199
3490
  },
3200
3491
  [a, t, e.value]
3201
3492
  ), 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;
3202
- return /* @__PURE__ */ i(
3493
+ return /* @__PURE__ */ r(
3203
3494
  "button",
3204
3495
  {
3205
- ref: (u) => t?.registerRef(e.value, u),
3496
+ ref: (d) => t?.registerRef(e.value, d),
3206
3497
  type: "button",
3207
3498
  role: "radio",
3208
3499
  "aria-checked": n,
@@ -3215,222 +3506,222 @@ function wa({ option: e }) {
3215
3506
  "aria-disabled": a,
3216
3507
  disabled: a,
3217
3508
  tabIndex: m,
3218
- onClick: r,
3219
- onKeyDown: s
3509
+ onClick: s,
3510
+ onKeyDown: i
3220
3511
  }
3221
3512
  );
3222
3513
  }
3223
- function Da({
3514
+ function Aa({
3224
3515
  swatches: e,
3225
3516
  value: t,
3226
3517
  defaultValue: n,
3227
3518
  onChange: a,
3228
- disabled: r = !1,
3229
- name: s
3519
+ disabled: s = !1,
3520
+ name: i
3230
3521
  }) {
3231
- const o = t !== void 0, [l, m] = $(n), u = o ? t : l, p = w(
3232
- (C) => {
3233
- o || m(C), a?.(C);
3522
+ const o = t !== void 0, [l, m] = $(n), d = o ? t : l, g = w(
3523
+ (k) => {
3524
+ o || m(k), a?.(k);
3234
3525
  },
3235
3526
  [o, a]
3236
- ), h = w(
3237
- (C) => u === C,
3238
- [u]
3239
- ), d = T(/* @__PURE__ */ new Map()), g = w((C, R) => {
3240
- R ? d.current.set(C, R) : d.current.delete(C);
3241
- }, []), _ = e.filter((C) => !C.disabled && !r), y = _.find((C) => C.value === u)?.value ?? _[0]?.value, f = w((C) => {
3242
- const R = d.current.get(C);
3243
- R && R.focus();
3244
- }, []), M = w(
3245
- (C, R) => {
3246
- if (r) return;
3527
+ ), f = w(
3528
+ (k) => d === k,
3529
+ [d]
3530
+ ), u = M(/* @__PURE__ */ new Map()), p = w((k, T) => {
3531
+ T ? u.current.set(k, T) : u.current.delete(k);
3532
+ }, []), N = e.filter((k) => !k.disabled && !s), y = N.find((k) => k.value === d)?.value ?? N[0]?.value, h = w((k) => {
3533
+ const T = u.current.get(k);
3534
+ T && T.focus();
3535
+ }, []), R = w(
3536
+ (k, T) => {
3537
+ if (s) return;
3247
3538
  const I = e.filter((S) => !S.disabled);
3248
3539
  if (I.length === 0) return;
3249
- const c = I.findIndex((S) => S.value === R);
3540
+ const c = I.findIndex((S) => S.value === T);
3250
3541
  if (c === -1) return;
3251
- let b = c;
3252
- switch (C.key) {
3542
+ let v = c;
3543
+ switch (k.key) {
3253
3544
  case "ArrowRight":
3254
3545
  case "ArrowDown":
3255
- b = (c + 1) % I.length;
3546
+ v = (c + 1) % I.length;
3256
3547
  break;
3257
3548
  case "ArrowLeft":
3258
3549
  case "ArrowUp":
3259
- b = (c - 1 + I.length) % I.length;
3550
+ v = (c - 1 + I.length) % I.length;
3260
3551
  break;
3261
3552
  case "Home":
3262
- b = 0;
3553
+ v = 0;
3263
3554
  break;
3264
3555
  case "End":
3265
- b = I.length - 1;
3556
+ v = I.length - 1;
3266
3557
  break;
3267
3558
  case " ":
3268
3559
  case "Enter":
3269
- C.preventDefault(), p(R);
3560
+ k.preventDefault(), g(T);
3270
3561
  return;
3271
3562
  default:
3272
3563
  return;
3273
3564
  }
3274
- C.preventDefault();
3275
- const D = I[b].value;
3276
- f(D), p(D);
3565
+ k.preventDefault();
3566
+ const _ = I[v].value;
3567
+ h(_), g(_);
3277
3568
  },
3278
- [r, e, p, f]
3569
+ [s, e, g, h]
3279
3570
  ), P = {
3280
- selectedValue: u,
3281
- select: p,
3282
- isSelected: h,
3283
- groupDisabled: r,
3284
- name: s,
3285
- registerRef: g,
3571
+ selectedValue: d,
3572
+ select: g,
3573
+ isSelected: f,
3574
+ groupDisabled: s,
3575
+ name: i,
3576
+ registerRef: p,
3286
3577
  firstFocusableValue: y,
3287
- onKeyNav: M
3578
+ onKeyNav: R
3288
3579
  };
3289
- return /* @__PURE__ */ i(qe.Provider, { value: P, children: /* @__PURE__ */ i(
3580
+ return /* @__PURE__ */ r(at.Provider, { value: P, children: /* @__PURE__ */ r(
3290
3581
  "div",
3291
3582
  {
3292
3583
  className: "gloss-preset-swatch-row",
3293
3584
  role: "radiogroup",
3294
- "aria-label": s,
3295
- "aria-disabled": r,
3296
- "data-disabled": r || void 0,
3297
- children: e.map((C) => /* @__PURE__ */ i(wa, { option: C }, C.value))
3585
+ "aria-label": i,
3586
+ "aria-disabled": s,
3587
+ "data-disabled": s || void 0,
3588
+ children: e.map((k) => /* @__PURE__ */ r(Ea, { option: k }, k.value))
3298
3589
  }
3299
3590
  ) });
3300
3591
  }
3301
- Da.displayName = "PresetSwatchRow";
3302
- function Te(e, t) {
3592
+ Aa.displayName = "PresetSwatchRow";
3593
+ function Ae(e, t) {
3303
3594
  for (const n of e)
3304
3595
  if (n.items.some((a) => a.id === t))
3305
3596
  return n.zoneKey;
3306
3597
  return null;
3307
3598
  }
3308
- function ze(e, t) {
3599
+ function je(e, t) {
3309
3600
  const n = e.find((a) => a.zoneKey === t);
3310
- return n ? n.zoneKey : Te(e, t);
3601
+ return n ? n.zoneKey : Ae(e, t);
3311
3602
  }
3312
- function _a(e, t, n) {
3313
- const a = [...e], [r] = a.splice(t, 1);
3314
- return a.splice(n, 0, r), a;
3603
+ function Oa(e, t, n) {
3604
+ const a = [...e], [s] = a.splice(t, 1);
3605
+ return a.splice(n, 0, s), a;
3315
3606
  }
3316
- function Na(e) {
3607
+ function La(e) {
3317
3608
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
3318
3609
  }
3319
- function Ca(e) {
3610
+ function $a(e) {
3320
3611
  const [t, n] = $(
3321
- () => e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3322
- `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
3323
- ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
3324
- ), [a, r] = $(null), [s, o] = $(null), l = T(null), m = T(e.onZoneChange);
3612
+ () => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3613
+ `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3614
+ ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3615
+ ), [a, s] = $(null), [i, o] = $(null), l = M(null), m = M(e.onZoneChange);
3325
3616
  m.current = e.onZoneChange;
3326
- const u = ge(
3327
- () => Na(e.zones),
3617
+ const d = ye(
3618
+ () => La(e.zones),
3328
3619
  [e.zones]
3329
- ), p = T(u);
3620
+ ), g = M(d);
3330
3621
  L(() => {
3331
- p.current !== u && (p.current = u, !a && n(
3332
- e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3333
- `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
3334
- ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
3622
+ g.current !== d && (g.current = d, !a && n(
3623
+ e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3624
+ `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3625
+ ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3335
3626
  ));
3336
- }, [u, e.zones, a]);
3337
- const h = w(
3338
- (f) => {
3339
- const M = f.active.id;
3340
- let P = null, C = null;
3341
- for (const R of t) {
3342
- const I = R.items.find((c) => c.id === M);
3627
+ }, [d, e.zones, a]);
3628
+ const f = w(
3629
+ (h) => {
3630
+ const R = h.active.id;
3631
+ let P = null, k = null;
3632
+ for (const T of t) {
3633
+ const I = T.items.find((c) => c.id === R);
3343
3634
  if (I) {
3344
- P = I, C = R.zoneKey;
3635
+ P = I, k = T.zoneKey;
3345
3636
  break;
3346
3637
  }
3347
3638
  }
3348
- l.current = C, r(P), o(C);
3639
+ l.current = k, s(P), o(k);
3349
3640
  },
3350
3641
  [t]
3351
- ), d = w(
3352
- (f) => {
3353
- if (!f.over) {
3642
+ ), u = w(
3643
+ (h) => {
3644
+ if (!h.over) {
3354
3645
  o(l.current);
3355
3646
  return;
3356
3647
  }
3357
- const M = ze(t, f.over.id);
3358
- o(M);
3648
+ const R = je(t, h.over.id);
3649
+ o(R);
3359
3650
  },
3360
3651
  [t]
3361
- ), g = w(
3362
- (f) => {
3363
- const { active: M, over: P } = f, C = () => {
3364
- l.current = null, r(null), o(null);
3652
+ ), p = w(
3653
+ (h) => {
3654
+ const { active: R, over: P } = h, k = () => {
3655
+ l.current = null, s(null), o(null);
3365
3656
  };
3366
3657
  if (!P) {
3367
- C();
3658
+ k();
3368
3659
  return;
3369
3660
  }
3370
- const R = Te(t, M.id), I = ze(t, P.id);
3371
- if (!R || !I) {
3372
- C();
3661
+ const T = Ae(t, R.id), I = je(t, P.id);
3662
+ if (!T || !I) {
3663
+ k();
3373
3664
  return;
3374
3665
  }
3375
- let c = t.map((b) => ({ ...b, items: [...b.items] }));
3376
- if (R === I) {
3377
- const b = c.findIndex((F) => F.zoneKey === R), D = c[b], S = D.items.findIndex((F) => F.id === M.id), v = D.items.findIndex((F) => F.id === P.id), x = v >= 0 ? v : Math.max(0, D.items.length - 1);
3378
- c[b] = {
3379
- ...D,
3380
- items: _a(D.items, S, x)
3666
+ let c = t.map((v) => ({ ...v, items: [...v.items] }));
3667
+ if (T === I) {
3668
+ const v = c.findIndex((F) => F.zoneKey === T), _ = c[v], S = _.items.findIndex((F) => F.id === R.id), b = _.items.findIndex((F) => F.id === P.id), x = b >= 0 ? b : Math.max(0, _.items.length - 1);
3669
+ c[v] = {
3670
+ ..._,
3671
+ items: Oa(_.items, S, x)
3381
3672
  };
3382
3673
  } else {
3383
- const b = c.findIndex((O) => O.zoneKey === R), D = c.findIndex((O) => O.zoneKey === I), S = c[b], v = c[D], x = S.items.find((O) => O.id === M.id);
3674
+ const v = c.findIndex((O) => O.zoneKey === T), _ = c.findIndex((O) => O.zoneKey === I), S = c[v], b = c[_], x = S.items.find((O) => O.id === R.id);
3384
3675
  if (!x) {
3385
- C();
3676
+ k();
3386
3677
  return;
3387
3678
  }
3388
- const F = S.items.filter((O) => O.id !== M.id), U = v.items.findIndex((O) => O.id === P.id), q = U >= 0 ? U : v.items.length;
3389
- let j = F, W = [...v.items];
3390
- if (v.maxItems !== void 0 && W.length >= v.maxItems) {
3391
- const O = W[W.length - 1];
3392
- W = W.slice(0, v.maxItems - 1), j = [...F, O];
3679
+ const F = S.items.filter((O) => O.id !== R.id), U = b.items.findIndex((O) => O.id === P.id), q = U >= 0 ? U : b.items.length;
3680
+ let j = F, G = [...b.items];
3681
+ if (b.maxItems !== void 0 && G.length >= b.maxItems) {
3682
+ const O = G[G.length - 1];
3683
+ G = G.slice(0, b.maxItems - 1), j = [...F, O];
3393
3684
  }
3394
- const B = Math.min(q, W.length), Z = [
3395
- ...W.slice(0, B),
3685
+ const B = Math.min(q, G.length), Z = [
3686
+ ...G.slice(0, B),
3396
3687
  x,
3397
- ...W.slice(B)
3688
+ ...G.slice(B)
3398
3689
  ];
3399
- c[b] = { ...S, items: j }, c[D] = { ...v, items: Z };
3690
+ c[v] = { ...S, items: j }, c[_] = { ...b, items: Z };
3400
3691
  }
3401
- n(c), m.current?.(c), C();
3692
+ n(c), m.current?.(c), k();
3402
3693
  },
3403
3694
  [t]
3404
- ), _ = w(
3405
- (f) => ({
3406
- id: f,
3407
- "data-zone-key": f
3695
+ ), N = w(
3696
+ (h) => ({
3697
+ id: h,
3698
+ "data-zone-key": h
3408
3699
  }),
3409
3700
  []
3410
3701
  ), y = w(
3411
- (f) => {
3412
- const M = Te(t, f.id) ?? "";
3702
+ (h) => {
3703
+ const R = Ae(t, h.id) ?? "";
3413
3704
  return {
3414
- id: f.id,
3415
- "data-item-id": f.id,
3416
- "data-zone-key": M
3705
+ id: h.id,
3706
+ "data-item-id": h.id,
3707
+ "data-zone-key": R
3417
3708
  };
3418
3709
  },
3419
3710
  [t]
3420
3711
  );
3421
3712
  return {
3422
3713
  zones: t,
3423
- activeZone: s,
3714
+ activeZone: i,
3424
3715
  activeItem: a,
3425
- getZoneProps: _,
3716
+ getZoneProps: N,
3426
3717
  getItemProps: y,
3427
- handleDragStart: h,
3428
- handleDragOver: d,
3429
- handleDragEnd: g
3718
+ handleDragStart: f,
3719
+ handleDragOver: u,
3720
+ handleDragEnd: p
3430
3721
  };
3431
3722
  }
3432
- let ue = null, he = null, Ce = !1;
3433
- const ka = [
3723
+ let ge = null, Ne = null, Me = !1;
3724
+ const Ba = [
3434
3725
  "DndContext",
3435
3726
  "DragOverlay",
3436
3727
  "useSensors",
@@ -3439,22 +3730,22 @@ const ka = [
3439
3730
  "PointerSensor",
3440
3731
  "KeyboardSensor",
3441
3732
  "closestCenter"
3442
- ], xa = [
3733
+ ], za = [
3443
3734
  "SortableContext",
3444
3735
  "useSortable",
3445
3736
  "verticalListSortingStrategy"
3446
3737
  ];
3447
- function Sa(e, t) {
3738
+ function Ka(e, t) {
3448
3739
  const n = [], a = e ?? {};
3449
- for (const s of ka)
3450
- a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
3451
- const r = t ?? {};
3452
- for (const s of xa)
3453
- r[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
3740
+ for (const i of Ba)
3741
+ a[i] === void 0 && n.push(`@dnd-kit/core:${i}`);
3742
+ const s = t ?? {};
3743
+ for (const i of za)
3744
+ s[i] === void 0 && n.push(`@dnd-kit/sortable:${i}`);
3454
3745
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
3455
3746
  }
3456
- function Ma() {
3457
- return ue ? Promise.resolve(ue) : Ce ? Promise.resolve(null) : he || (he = (async () => {
3747
+ function Wa() {
3748
+ return ge ? Promise.resolve(ge) : Me ? Promise.resolve(null) : Ne || (Ne = (async () => {
3458
3749
  try {
3459
3750
  const [e, t, n] = await Promise.all([
3460
3751
  import("@dnd-kit/core"),
@@ -3462,57 +3753,57 @@ function Ma() {
3462
3753
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
3463
3754
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
3464
3755
  ), {}))
3465
- ]), a = Sa(e, t);
3466
- return a.ok ? (ue = {
3756
+ ]), a = Ka(e, t);
3757
+ return a.ok ? (ge = {
3467
3758
  core: e,
3468
3759
  sortable: t,
3469
3760
  utilities: n
3470
- }, ue) : (Ce = !0, process.env.NODE_ENV !== "production" && console.error(
3761
+ }, ge) : (Me = !0, process.env.NODE_ENV !== "production" && console.error(
3471
3762
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
3472
3763
  ), null);
3473
3764
  } catch {
3474
- return Ce = !0, null;
3765
+ return Me = !0, null;
3475
3766
  }
3476
- })(), he);
3767
+ })(), Ne);
3477
3768
  }
3478
- function Ta(e) {
3479
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o = Ca({ zones: t, onZoneChange: n }), [l, m] = V.useState(ue);
3480
- return V.useEffect(() => {
3769
+ function Ga(e) {
3770
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = $a({ zones: t, onZoneChange: n }), [l, m] = H.useState(ge);
3771
+ return H.useEffect(() => {
3481
3772
  if (l) return;
3482
- let u = !0;
3483
- return Ma().then((p) => {
3484
- u && m(p);
3773
+ let d = !0;
3774
+ return Wa().then((g) => {
3775
+ d && m(g);
3485
3776
  }), () => {
3486
- u = !1;
3777
+ d = !1;
3487
3778
  };
3488
- }, [l]), l ? /* @__PURE__ */ i(
3489
- Ye,
3779
+ }, [l]), l ? /* @__PURE__ */ r(
3780
+ nt,
3490
3781
  {
3491
3782
  state: o,
3492
3783
  modules: l,
3493
3784
  renderZone: a,
3494
- renderItem: r,
3495
- renderDragOverlay: s
3785
+ renderItem: s,
3786
+ renderDragOverlay: i
3496
3787
  }
3497
- ) : /* @__PURE__ */ i("div", { "data-sortable-zones-passive": "true", children: o.zones.map((u) => {
3498
- const p = u.items.map((h) => /* @__PURE__ */ i(V.Fragment, { children: r(h) }, h.id));
3499
- return /* @__PURE__ */ i("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, p) }, u.zoneKey);
3788
+ ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((d) => {
3789
+ const g = d.items.map((f) => /* @__PURE__ */ r(H.Fragment, { children: s(f) }, f.id));
3790
+ return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, g) }, d.zoneKey);
3500
3791
  }) });
3501
3792
  }
3502
- Ta.displayName = "SortableZones";
3503
- function Ye({
3793
+ Ga.displayName = "SortableZones";
3794
+ function nt({
3504
3795
  state: e,
3505
3796
  modules: t,
3506
3797
  renderZone: n,
3507
3798
  renderItem: a,
3508
- renderDragOverlay: r
3799
+ renderDragOverlay: s
3509
3800
  }) {
3510
- const { core: s, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: u, useSensors: p, useSensor: h, useDroppable: d, PointerSensor: g, KeyboardSensor: _, closestCenter: y } = s, { SortableContext: f, verticalListSortingStrategy: M } = o, P = p(
3511
- h(g, { activationConstraint: { distance: 5 } }),
3512
- h(_)
3513
- ), C = m, R = u, I = f;
3514
- return /* @__PURE__ */ k(
3515
- C,
3801
+ const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: d, useSensors: g, useSensor: f, useDroppable: u, PointerSensor: p, KeyboardSensor: N, closestCenter: y } = i, { SortableContext: h, verticalListSortingStrategy: R } = o, P = g(
3802
+ f(p, { activationConstraint: { distance: 5 } }),
3803
+ f(N)
3804
+ ), k = m, T = d, I = h;
3805
+ return /* @__PURE__ */ D(
3806
+ k,
3516
3807
  {
3517
3808
  sensors: P,
3518
3809
  collisionDetection: y,
@@ -3521,8 +3812,8 @@ function Ye({
3521
3812
  onDragEnd: e.handleDragEnd,
3522
3813
  children: [
3523
3814
  e.zones.map((c) => {
3524
- const b = c.items.map((S) => S.id), D = c.items.map((S) => /* @__PURE__ */ i(
3525
- Qe,
3815
+ const v = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
3816
+ rt,
3526
3817
  {
3527
3818
  id: S.id,
3528
3819
  useSortable: o.useSortable,
@@ -3531,65 +3822,65 @@ function Ye({
3531
3822
  },
3532
3823
  S.id
3533
3824
  ));
3534
- return /* @__PURE__ */ i(
3535
- Xe,
3825
+ return /* @__PURE__ */ r(
3826
+ st,
3536
3827
  {
3537
3828
  zoneKey: c.zoneKey,
3538
3829
  zoneProps: e.getZoneProps(c.zoneKey),
3539
- useDroppable: d,
3540
- children: /* @__PURE__ */ i(I, { items: b, strategy: M, children: n(c.zoneKey, c.items, D) })
3830
+ useDroppable: u,
3831
+ children: /* @__PURE__ */ r(I, { items: v, strategy: R, children: n(c.zoneKey, c.items, _) })
3541
3832
  },
3542
3833
  c.zoneKey
3543
3834
  );
3544
3835
  }),
3545
- /* @__PURE__ */ i(R, { children: e.activeItem ? r?.(e.activeItem) ?? a(e.activeItem) : null })
3836
+ /* @__PURE__ */ r(T, { children: e.activeItem ? s?.(e.activeItem) ?? a(e.activeItem) : null })
3546
3837
  ]
3547
3838
  }
3548
3839
  );
3549
3840
  }
3550
- Ye.displayName = "SortableZonesInner";
3551
- function Qe({ id: e, useSortable: t, cssHelper: n, children: a }) {
3552
- const { attributes: r, listeners: s, setNodeRef: o, transform: l, transition: m, isDragging: u } = t({ id: e }), p = {
3841
+ nt.displayName = "SortableZonesInner";
3842
+ function rt({ id: e, useSortable: t, cssHelper: n, children: a }) {
3843
+ const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging: d } = t({ id: e }), g = {
3553
3844
  transform: n?.Transform?.toString(l) ?? void 0,
3554
3845
  transition: m,
3555
- opacity: u ? 0.5 : 1
3846
+ opacity: d ? 0.5 : 1
3556
3847
  };
3557
- return /* @__PURE__ */ i("div", { ref: o, style: p, "data-sortable-item-id": e, ...r, ...s, children: a });
3848
+ return /* @__PURE__ */ r("div", { ref: o, style: g, "data-sortable-item-id": e, ...s, ...i, children: a });
3558
3849
  }
3559
- Qe.displayName = "SortableItem";
3560
- function Xe({
3850
+ rt.displayName = "SortableItem";
3851
+ function st({
3561
3852
  zoneKey: e,
3562
3853
  zoneProps: t,
3563
3854
  useDroppable: n,
3564
3855
  children: a
3565
3856
  }) {
3566
- const { setNodeRef: r, isOver: s } = n({ id: e });
3567
- return /* @__PURE__ */ i("div", { ref: r, "data-zone-is-over": s || void 0, ...t, children: a });
3857
+ const { setNodeRef: s, isOver: i } = n({ id: e });
3858
+ return /* @__PURE__ */ r("div", { ref: s, "data-zone-is-over": i || void 0, ...t, children: a });
3568
3859
  }
3569
- Xe.displayName = "ZoneDroppable";
3570
- function Jn({
3860
+ st.displayName = "ZoneDroppable";
3861
+ function gr({
3571
3862
  slotLeft: e,
3572
3863
  slotCenter: t,
3573
3864
  slotRight: n,
3574
3865
  height: a = 36,
3575
- className: r,
3576
- style: s,
3866
+ className: s,
3867
+ style: i,
3577
3868
  "aria-label": o = "Dashboard navigation"
3578
3869
  }) {
3579
3870
  const l = {
3580
3871
  "--gloss-bottom-toolbar-height": `${a}px`,
3581
- ...s
3872
+ ...i
3582
3873
  };
3583
- return /* @__PURE__ */ k(
3874
+ return /* @__PURE__ */ D(
3584
3875
  "div",
3585
3876
  {
3586
3877
  role: "toolbar",
3587
3878
  "aria-label": o,
3588
3879
  "data-testid": "gloss-bottom-toolbar",
3589
- className: ["gloss-bottom-toolbar", r].filter(Boolean).join(" "),
3880
+ className: ["gloss-bottom-toolbar", s].filter(Boolean).join(" "),
3590
3881
  style: l,
3591
3882
  children: [
3592
- /* @__PURE__ */ i(
3883
+ /* @__PURE__ */ r(
3593
3884
  "div",
3594
3885
  {
3595
3886
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--left",
@@ -3597,7 +3888,7 @@ function Jn({
3597
3888
  children: e
3598
3889
  }
3599
3890
  ),
3600
- /* @__PURE__ */ i(
3891
+ /* @__PURE__ */ r(
3601
3892
  "div",
3602
3893
  {
3603
3894
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--center",
@@ -3605,7 +3896,7 @@ function Jn({
3605
3896
  children: t
3606
3897
  }
3607
3898
  ),
3608
- /* @__PURE__ */ i(
3899
+ /* @__PURE__ */ r(
3609
3900
  "div",
3610
3901
  {
3611
3902
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--right",
@@ -3617,386 +3908,395 @@ function Jn({
3617
3908
  }
3618
3909
  );
3619
3910
  }
3620
- function er({
3911
+ function pr({
3621
3912
  count: e,
3622
3913
  currentIndex: t,
3623
3914
  onSelect: n,
3624
3915
  "aria-label": a = "Sections",
3625
- provisionalIndex: r,
3626
- pulseIndex: s,
3916
+ provisionalIndex: s,
3917
+ pulseIndex: i,
3627
3918
  pulseNonce: o
3628
3919
  }) {
3629
- const l = it.useRef([]);
3630
- return l.current.length = e, /* @__PURE__ */ i(
3920
+ const l = gt.useRef([]);
3921
+ return l.current.length = e, /* @__PURE__ */ r(
3631
3922
  "div",
3632
3923
  {
3633
3924
  role: "tablist",
3634
3925
  "aria-label": a,
3635
3926
  "data-testid": "gloss-section-dots",
3636
3927
  className: "gloss-section-dots",
3637
- onKeyDown: (u) => {
3928
+ onKeyDown: (d) => {
3638
3929
  if (e !== 0) {
3639
- if (u.key === "ArrowRight") {
3640
- u.preventDefault();
3641
- const p = (t + 1) % e;
3642
- n(p), requestAnimationFrame(() => l.current[p]?.focus());
3643
- } else if (u.key === "ArrowLeft") {
3644
- u.preventDefault();
3645
- const p = (t - 1 + e) % e;
3646
- n(p), requestAnimationFrame(() => l.current[p]?.focus());
3930
+ if (d.key === "ArrowRight") {
3931
+ d.preventDefault();
3932
+ const g = (t + 1) % e;
3933
+ n(g), requestAnimationFrame(() => l.current[g]?.focus());
3934
+ } else if (d.key === "ArrowLeft") {
3935
+ d.preventDefault();
3936
+ const g = (t - 1 + e) % e;
3937
+ n(g), requestAnimationFrame(() => l.current[g]?.focus());
3647
3938
  }
3648
3939
  }
3649
3940
  },
3650
- children: Array.from({ length: e }, (u, p) => /* @__PURE__ */ i(
3941
+ children: Array.from({ length: e }, (d, g) => /* @__PURE__ */ r(
3651
3942
  "button",
3652
3943
  {
3653
- ref: (h) => {
3654
- l.current[p] = h;
3944
+ ref: (f) => {
3945
+ l.current[g] = f;
3655
3946
  },
3656
3947
  type: "button",
3657
3948
  role: "tab",
3658
- "aria-selected": p === t,
3659
- "aria-label": p === r ? "Unconfirmed section" : `Section ${p + 1}`,
3660
- "data-state": p === r ? "provisional-hollow" : p === s ? "pulse" : p === t ? "current" : "hollow",
3661
- "data-section-index": p,
3949
+ "aria-selected": g === t,
3950
+ "aria-label": g === s ? "Unconfirmed section" : `Section ${g + 1}`,
3951
+ "data-state": g === s ? "provisional-hollow" : g === i ? "pulse" : g === t ? "current" : "hollow",
3952
+ "data-section-index": g,
3662
3953
  className: [
3663
3954
  "gloss-section-dots__dot",
3664
- p === t && "gloss-section-dots__dot--current"
3955
+ g === t && "gloss-section-dots__dot--current"
3665
3956
  ].filter(Boolean).join(" "),
3666
- onClick: () => n(p)
3957
+ onClick: () => n(g)
3667
3958
  },
3668
- p === s ? `${p}-${o ?? 0}` : p
3959
+ g === i ? `${g}-${o ?? 0}` : g
3669
3960
  ))
3670
3961
  }
3671
3962
  );
3672
3963
  }
3673
- const Ra = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3674
- const r = { ...n };
3675
- return delete r.className, delete r.style, /* @__PURE__ */ i("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ i(Re, { region: "toolbar", density: e, children: t }) });
3964
+ const Va = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3965
+ const s = { ...n };
3966
+ return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...s, children: /* @__PURE__ */ r(Oe, { region: "toolbar", density: e, children: t }) });
3676
3967
  });
3677
- Ra.displayName = "ContainerToolbar";
3678
- const Ia = V.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, s) => {
3679
- const o = { ...r };
3680
- return delete o.className, delete o.style, /* @__PURE__ */ k("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
3681
- e && /* @__PURE__ */ i("legend", { className: "gloss-container-form-section__legend", children: e }),
3682
- t && /* @__PURE__ */ i("p", { className: "gloss-container-form-section__description", children: t }),
3683
- /* @__PURE__ */ i(Re, { region: "form-section", density: n, children: a })
3968
+ Va.displayName = "ContainerToolbar";
3969
+ const Ha = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
3970
+ const o = { ...s };
3971
+ return delete o.className, delete o.style, /* @__PURE__ */ D("fieldset", { ref: i, className: "gloss-container-form-section", ...o, children: [
3972
+ e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
3973
+ t && /* @__PURE__ */ r("p", { className: "gloss-container-form-section__description", children: t }),
3974
+ /* @__PURE__ */ r(Oe, { region: "form-section", density: n, children: a })
3684
3975
  ] });
3685
3976
  });
3686
- Ia.displayName = "ContainerFormSection";
3687
- const Pa = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3688
- const r = { ...n };
3689
- return delete r.className, delete r.style, /* @__PURE__ */ i("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ i(Re, { region: "table", density: e, children: t }) });
3977
+ Ha.displayName = "ContainerFormSection";
3978
+ const Ua = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3979
+ const s = { ...n };
3980
+ return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...s, children: /* @__PURE__ */ r(Oe, { region: "table", density: e, children: t }) });
3690
3981
  });
3691
- Pa.displayName = "ContainerTable";
3982
+ Ua.displayName = "ContainerTable";
3692
3983
  export {
3693
- nr as Accordion,
3694
- rr as AccordionContent,
3695
- sr as AccordionItem,
3696
- ir as AccordionTrigger,
3697
- or as ActionStrip,
3698
- lr as Actionable,
3699
- cr as AddressGroup,
3700
- dr as AddressSelect,
3701
- ur as AsyncLoader,
3702
- mr as Autocomplete,
3703
- gr as Badge,
3704
- pr as BarChartCard,
3705
- fr as BarsBg,
3706
- Jn as BottomToolbar,
3707
- hr as Button,
3708
- br as ButtonGroup,
3709
- vr as ButtonGroupContext,
3710
- yr as Card,
3711
- wr as CardActions,
3712
- Dr as CardBack,
3713
- _r as CardBody,
3714
- Nr as CardFooter,
3715
- Cr as CardHeader,
3716
- kr as CardMedia,
3717
- rt as CardShell,
3718
- xr as CardSubtitle,
3719
- Sr as CardTitle,
3720
- Yn as CascadePreview,
3721
- Mr as ChartControlBar,
3722
- Tr as Checkbox,
3723
- Rr as CheckboxGroup,
3724
- st as Chip,
3725
- Ir as ColorPicker,
3726
- Pr as ComparisonCard,
3727
- Fr as ContactForm,
3728
- Er as ContainerCard,
3729
- Ar as ContainerCardActions,
3730
- Or as ContainerCardBody,
3731
- Lr as ContainerCardFooter,
3732
- $r as ContainerCardHeader,
3733
- Br as ContainerCardMedia,
3734
- Kr as ContainerCardSubtitle,
3735
- zr as ContainerCardTitle,
3736
- Gr as ContainerDialog,
3737
- Wr as ContainerDialogActions,
3738
- Hr as ContainerDialogBody,
3739
- Vr as ContainerDialogHeader,
3740
- Ia as ContainerFormSection,
3741
- Ur as ContainerPanel,
3742
- Pa as ContainerTable,
3743
- Ra as ContainerToolbar,
3744
- jr as CreditCardForm,
3745
- Zr as DEFAULT_FOOTER_IDS,
3746
- ne as DEFAULT_GRID_INTERACTION_PHYSICS,
3747
- No as DEFAULT_MARKET_PRESETS,
3748
- qr as DEFAULT_OVERFLOW_IDS,
3749
- Co as DEFAULT_PINNED,
3750
- We as DEFAULT_RESIZE_PHYSICS,
3751
- Yr as DataTable,
3752
- Qr as DatePicker,
3753
- Xr as DateRangePicker,
3754
- Jr as DestructiveModal,
3755
- ra as DevTuningPanel,
3756
- es as DirectionCard,
3757
- ts as Dismissible,
3758
- as as DistributionCard,
3759
- ns as DonutChart,
3760
- Zn as DragGhost,
3761
- Hn as DropAnchorCell,
3762
- rs as Dropdown,
3763
- la as DualPaceBars,
3764
- ss as ENTITY_FILTER_KEYS,
3765
- is as ENTITY_PROFILE_ROUTES,
3766
- os as ENTITY_TYPE_PLURAL,
3767
- Mt as EdgeHoverHandle,
3768
- jn as EmptyCellPackAffordance,
3769
- ls as EntityPicker,
3770
- cs as EntitySearchPanel,
3771
- ds as Expandable,
3772
- us as ExpandableChip,
3773
- ms as FLIP_AND_STAGE_TIMINGS,
3774
- gs as FileUpload,
3775
- ps as FilterChip,
3776
- fs as FilterInput,
3777
- hs as FlipAndStageProvider,
3778
- bs as Form,
3779
- vs as FormDialog,
3780
- ys as FormField,
3781
- ws as FusedShape,
3782
- ca as GapReadout,
3783
- Tt as GhostPreview,
3784
- Ds as GroupCheckbox,
3785
- _s as GroupRadio,
3786
- ln as HARD_CLIP,
3787
- Ns as HighlightCard,
3788
- Cs as HybridDatePicker,
3789
- ks as ImportWizard,
3790
- fa as InlineNudge,
3791
- xs as Input,
3792
- Ss as InputAddon,
3793
- Ms as InputGroup,
3794
- ma as LensChipGroup,
3795
- Ts as Link,
3796
- Rs as LoginForm,
3797
- Is as MarketPresetRow,
3798
- Ps as MaskPresets,
3799
- Fs as MaskedInput,
3800
- Es as Menu,
3801
- As as MenuDivider,
3802
- Os as MenuGroup,
3803
- Ls as MenuItem,
3804
- $s as MergePrompt,
3805
- Bs as MetricCard,
3806
- Ks as MetricCardGrid,
3807
- qt as MetricGroupContainer,
3808
- zs as MiniCalendar,
3809
- pa as MoreInLensRail,
3810
- Gs as MultiSelect,
3811
- Ws as NumberInput,
3812
- Hs as ObjectArrow,
3813
- Vs as OrderFilterBar,
3814
- ko as PERIOD_OPTIONS,
3815
- Qn as PaceCard,
3816
- Xn as PaceTilePreview,
3817
- Lt as PageChip,
3818
- He as PageDropdown,
3819
- Us as PasswordInput,
3820
- js as PaymentForm,
3821
- Zs as PaymentMethodSelect,
3822
- qs as PhoneInput,
3823
- Ys as PinToMetric,
3824
- Da as PresetSwatchRow,
3825
- Qs as ProfileCard,
3826
- Xs as ProgressCard,
3827
- Js as QuickConfigPanel,
3828
- Ht as RECONFIG_BACKSIDE_LABELS,
3829
- xo as ROLLING_OPTIONS,
3830
- ei as Radio,
3831
- ti as RadioGroup,
3832
- ai as RangeSlider,
3833
- ni as Rating,
3834
- jt as ReconfigBacksideButtons,
3835
- ri as RegistrationForm,
3836
- Wn as ResizeEnvelope,
3837
- si as Row1Controls,
3838
- ii as Row2FilterTray,
3839
- oi as SearchInput,
3840
- Un as SectionDivider,
3841
- er as SectionDots,
3842
- li as SegmentCard,
3843
- ci as SegmentedControl,
3844
- di as Select,
3845
- ui as Selectable,
3846
- mi as SimpleMetricCard,
3847
- gi as SimpleSelector,
3848
- pi as Skeleton,
3849
- fi as SkeletonCard,
3850
- hi as SkeletonChart,
3851
- bi as SkeletonTable,
3852
- vi as Slider,
3853
- qn as SnapOutline,
3854
- yi as Sortable,
3855
- Ta as SortableZones,
3856
- wi as SparklineBg,
3857
- Vn as SpilloverArc,
3858
- Di as SplitButton,
3859
- _i as StackedGroupCard,
3860
- ga as StarterRail,
3861
- Ni as StatusModeCard,
3862
- St as StatusSlotChipMenu,
3863
- Ci as Stepper,
3864
- Ge as SwingReveal,
3865
- So as TODAY_PRESET,
3866
- ae as TUNING_DEFAULTS,
3867
- Ze as TUNING_STORAGE_KEY,
3868
- ki as TabGroup,
3869
- xi as TabbedDataView,
3870
- Si as TagInput,
3871
- wt as TargetInput,
3872
- Mi as Textarea,
3873
- va as ThresholdRamp,
3874
- Ti as TimeFrame,
3875
- Ri as TimePicker,
3876
- Ii as Toggle,
3877
- Pi as Tooltip,
3878
- Fi as Transition,
3879
- Ei as TransitionGroup,
3880
- Ai as TrendCard,
3881
- Oi as TrendIndicator,
3882
- wo as UIContext,
3883
- Re as UIContextProvider,
3884
- Li as UnifiedBreakdownTable,
3885
- $i as UnifiedContextMenu,
3886
- Rt as VelocityBuffer,
3887
- Bi as addressGroupMetadata,
3888
- Ki as addressSchema,
3889
- ja as allChips,
3890
- pn as allStateFixtures,
3891
- gn as allVariantFixtures,
3892
- Qa as blockSamples,
3893
- zi as buildDefaultOverflow,
3894
- an as cardSamples,
3895
- nn as cascadePhysics,
3896
- en as chartSamples,
3897
- Ja as circleSamples,
3898
- cn as colorTokens,
3899
- On as compactLayout,
3900
- kn as compactState,
3901
- mn as computeGutterAnchorX,
3902
- Gi as contactFormMetadata,
3903
- Wi as contactSchema,
3904
- xn as contextMenuFixtures,
3905
- Hi as creditCardFormMetadata,
3906
- Vi as creditCardSchema,
3907
- Nt as dateChip,
3908
- je as defaultControlBarState,
3909
- Ui as destructiveModalMetadata,
3910
- ji as durations,
3911
- Zi as easings,
3912
- Ft as emptyFixture,
3913
- Dt as entityChip,
3914
- zt as entityNameActions,
3915
- qa as entityTabGroup,
3916
- Pt as errorFixture,
3917
- qi as evaluateTintCondition,
3918
- Cn as filteredState,
3919
- Mo as findPreset,
3920
- To as formatDateRange,
3921
- Ro as formatMarketDates,
3922
- Io as formatTrend,
3923
- Po as formatValue,
3924
- $n as fullLayout,
3925
- Fo as generateMarketId,
3926
- Yi as generateTabId,
3927
- Eo as getAllPresets,
3928
- Ao as getDateRangeForPreset,
3929
- Qi as getMenuActions,
3930
- dn as getMotionMode,
3931
- Oo as getPresetLabel,
3932
- Xi as getTransitionStyle,
3933
- An as gridCards,
3934
- Ji as interpolate,
3935
- Lo as isInRange,
3936
- $o as isMarketActive,
3937
- Bo as isSameDay,
3938
- Nn as itemColumns,
3939
- Dn as itemRows,
3940
- It as loadingFixture,
3941
- eo as loginFormMetadata,
3942
- to as loginSchema,
3943
- Ct as manufacturerChip,
3944
- Gn as manyTabs,
3945
- ao as mergeHandlers,
3946
- no as mergeRefs,
3947
- Za as metricTabGroup,
3948
- Kn as mixedTabs,
3949
- Ko as normalizePresetId,
3950
- Wt as numericActions,
3951
- _n as orderColumns,
3952
- Gt as orderIdActions,
3953
- wn as orderRows,
3954
- Bn as ordersTabs,
3955
- ro as parseNumericValue,
3956
- so as paymentFormMetadata,
3957
- io as paymentSchema,
3958
- oo as presets,
3959
- sn as provisional,
3960
- on as reducedMotion,
3961
- lo as registrationFormMetadata,
3962
- co as registrationSchema,
3963
- rn as rejectionFeedback,
3964
- Mn as sampleCompareRanges,
3965
- In as sampleCustomMarkets,
3966
- Sn as sampleDateRange,
3967
- Pn as sampleMarketPresetData,
3968
- Rn as sampleMarkets,
3969
- En as samplePeriodPresets,
3970
- Tn as samplePreferences,
3971
- Fn as samplePresets,
3972
- zn as singleTab,
3973
- fn as sparklineFixture,
3974
- hn as sparklineUpFixture,
3975
- Ot as staleDonutFixture,
3976
- Et as staleFixture,
3977
- At as staleSparklineFixture,
3978
- bn as standardFixture,
3979
- yn as standardFlatFixture,
3980
- Ln as standardLayout,
3981
- vn as standardNegativeFixture,
3982
- _t as statusChip,
3983
- de as swingReveal,
3984
- tn as tableSamples,
3985
- Xa as textSamples,
3986
- Ya as timeFrameTabGroup,
3987
- zo as toUppercasePresetId,
3988
- Ua as useArrowNavigation,
3989
- uo as useCheckboxGroupContext,
3990
- un as useEdgeHoverResize,
3991
- mo as useFilterLayout,
3992
- go as useFlipAndStage,
3993
- po as useFlipAndStageContext,
3994
- fo as useFlipAndStageContextOptional,
3995
- Va as useFocusReturn,
3996
- ho as useFocusTrap,
3997
- bo as useFormContext,
3998
- vo as useRadioGroupContext,
3999
- Xt as useResizeTuning,
4000
- Ca as useSortableZones,
4001
- Do as useUIContext
3984
+ vr as Accordion,
3985
+ br as AccordionContent,
3986
+ yr as AccordionItem,
3987
+ wr as AccordionTrigger,
3988
+ _r as ActionStrip,
3989
+ Nr as Actionable,
3990
+ Dr as AddressGroup,
3991
+ Cr as AddressSelect,
3992
+ kr as AsyncLoader,
3993
+ xr as Autocomplete,
3994
+ Sr as Badge,
3995
+ Rr as BarChartCard,
3996
+ Mr as BarsBg,
3997
+ gr as BottomToolbar,
3998
+ Tr as Button,
3999
+ Ir as ButtonGroup,
4000
+ Pr as ButtonGroupContext,
4001
+ Fr as Card,
4002
+ Er as CardActions,
4003
+ Ar as CardBack,
4004
+ Or as CardBody,
4005
+ Lr as CardFooter,
4006
+ $r as CardHeader,
4007
+ Br as CardMedia,
4008
+ ut as CardShell,
4009
+ zr as CardSubtitle,
4010
+ Kr as CardTitle,
4011
+ dr as CascadePreview,
4012
+ Wr as ChartControlBar,
4013
+ Gr as Checkbox,
4014
+ Vr as CheckboxGroup,
4015
+ mt as Chip,
4016
+ Hr as ColorPicker,
4017
+ Ur as ComparisonCard,
4018
+ jr as ContactForm,
4019
+ Zr as ContainerCard,
4020
+ qr as ContainerCardActions,
4021
+ Yr as ContainerCardBody,
4022
+ Qr as ContainerCardFooter,
4023
+ Xr as ContainerCardHeader,
4024
+ Jr as ContainerCardMedia,
4025
+ es as ContainerCardSubtitle,
4026
+ ts as ContainerCardTitle,
4027
+ as as ContainerDialog,
4028
+ ns as ContainerDialogActions,
4029
+ rs as ContainerDialogBody,
4030
+ ss as ContainerDialogHeader,
4031
+ Ha as ContainerFormSection,
4032
+ is as ContainerPanel,
4033
+ Ua as ContainerTable,
4034
+ Va as ContainerToolbar,
4035
+ os as CreditCardForm,
4036
+ ls as DEFAULT_FOOTER_IDS,
4037
+ se as DEFAULT_GRID_INTERACTION_PHYSICS,
4038
+ Lo as DEFAULT_MARKET_PRESETS,
4039
+ cs as DEFAULT_OVERFLOW_IDS,
4040
+ $o as DEFAULT_PINNED,
4041
+ qe as DEFAULT_RESIZE_PHYSICS,
4042
+ ds as DataTable,
4043
+ us as DatePicker,
4044
+ ms as DateRangePicker,
4045
+ gs as DestructiveModal,
4046
+ ua as DevTuningPanel,
4047
+ ps as DirectionCard,
4048
+ hs as Dismissible,
4049
+ fs as DistributionCard,
4050
+ vs as DonutChart,
4051
+ lr as DragGhost,
4052
+ rr as DropAnchorCell,
4053
+ bs as Dropdown,
4054
+ ha as DualPaceBars,
4055
+ ys as ENTITY_FILTER_KEYS,
4056
+ ws as ENTITY_PROFILE_ROUTES,
4057
+ _s as ENTITY_TYPE_PLURAL,
4058
+ At as EdgeHoverHandle,
4059
+ or as EmptyCellPackAffordance,
4060
+ Ns as EntityPicker,
4061
+ X as EntityRow,
4062
+ Ds as EntitySearchPanel,
4063
+ Sa as ExceptionListCard,
4064
+ Ra as ExceptionListTilePreview,
4065
+ Cs as Expandable,
4066
+ ks as ExpandableChip,
4067
+ xs as FLIP_AND_STAGE_TIMINGS,
4068
+ Ss as FileUpload,
4069
+ Rs as FilterChip,
4070
+ Ms as FilterInput,
4071
+ Ts as FlipAndStageProvider,
4072
+ Is as Form,
4073
+ Ps as FormDialog,
4074
+ Fs as FormField,
4075
+ Es as FusedShape,
4076
+ fa as GapReadout,
4077
+ Ot as GhostPreview,
4078
+ As as GroupCheckbox,
4079
+ Os as GroupRadio,
4080
+ Nn as HARD_CLIP,
4081
+ Ls as HighlightCard,
4082
+ $s as HybridDatePicker,
4083
+ Bs as ImportWizard,
4084
+ Ma as InlineNudge,
4085
+ zs as Input,
4086
+ Ks as InputAddon,
4087
+ Ws as InputGroup,
4088
+ Da as LeaderboardCard,
4089
+ Ca as LeaderboardTilePreview,
4090
+ ya as LensChipGroup,
4091
+ Gs as Link,
4092
+ Vs as LoginForm,
4093
+ be as MagnitudeBar,
4094
+ Hs as MarketPresetRow,
4095
+ Us as MaskPresets,
4096
+ js as MaskedInput,
4097
+ Zs as Menu,
4098
+ qs as MenuDivider,
4099
+ Ys as MenuGroup,
4100
+ Qs as MenuItem,
4101
+ Xs as MergePrompt,
4102
+ Js as MetricCard,
4103
+ ei as MetricCardGrid,
4104
+ aa as MetricGroupContainer,
4105
+ ti as MiniCalendar,
4106
+ _a as MoreInLensRail,
4107
+ ai as MultiSelect,
4108
+ ni as NumberInput,
4109
+ ri as ObjectArrow,
4110
+ si as OrderFilterBar,
4111
+ Bo as PERIOD_OPTIONS,
4112
+ ur as PaceCard,
4113
+ mr as PaceTilePreview,
4114
+ Vt as PageChip,
4115
+ Ye as PageDropdown,
4116
+ ii as PasswordInput,
4117
+ oi as PaymentForm,
4118
+ li as PaymentMethodSelect,
4119
+ ci as PhoneInput,
4120
+ di as PinToMetric,
4121
+ Aa as PresetSwatchRow,
4122
+ ui as ProfileCard,
4123
+ mi as ProgressCard,
4124
+ gi as QuickConfigPanel,
4125
+ Qt as RECONFIG_BACKSIDE_LABELS,
4126
+ zo as ROLLING_OPTIONS,
4127
+ pi as Radio,
4128
+ hi as RadioGroup,
4129
+ fi as RangeSlider,
4130
+ fe as RankBadge,
4131
+ tt as RankDelta,
4132
+ vi as Rating,
4133
+ ea as ReconfigBacksideButtons,
4134
+ bi as RegistrationForm,
4135
+ nr as ResizeEnvelope,
4136
+ yi as Row1Controls,
4137
+ wi as Row2FilterTray,
4138
+ _i as SearchInput,
4139
+ ir as SectionDivider,
4140
+ pr as SectionDots,
4141
+ Ni as SegmentCard,
4142
+ Di as SegmentedControl,
4143
+ Ci as Select,
4144
+ ki as Selectable,
4145
+ ve as SeverityDot,
4146
+ xi as SimpleMetricCard,
4147
+ Si as SimpleSelector,
4148
+ Ri as Skeleton,
4149
+ Mi as SkeletonCard,
4150
+ Ti as SkeletonChart,
4151
+ Ii as SkeletonTable,
4152
+ Pi as Slider,
4153
+ cr as SnapOutline,
4154
+ Fi as Sortable,
4155
+ Ga as SortableZones,
4156
+ Ei as SparklineBg,
4157
+ sr as SpilloverArc,
4158
+ Ai as SplitButton,
4159
+ Oi as StackedGroupCard,
4160
+ wa as StarterRail,
4161
+ Li as StatusModeCard,
4162
+ Et as StatusSlotChipMenu,
4163
+ $i as Stepper,
4164
+ Ze as SwingReveal,
4165
+ Ko as TODAY_PRESET,
4166
+ re as TUNING_DEFAULTS,
4167
+ et as TUNING_STORAGE_KEY,
4168
+ Bi as TabGroup,
4169
+ zi as TabbedDataView,
4170
+ Ki as TagInput,
4171
+ St as TargetInput,
4172
+ Wi as Textarea,
4173
+ Pa as ThresholdRamp,
4174
+ Gi as TimeFrame,
4175
+ Vi as TimePicker,
4176
+ Hi as Toggle,
4177
+ Ui as Tooltip,
4178
+ ji as Transition,
4179
+ Zi as TransitionGroup,
4180
+ qi as TrendCard,
4181
+ Yi as TrendIndicator,
4182
+ Eo as UIContext,
4183
+ Oe as UIContextProvider,
4184
+ Qi as UnifiedBreakdownTable,
4185
+ Xi as UnifiedContextMenu,
4186
+ Lt as VelocityBuffer,
4187
+ Ji as addressGroupMetadata,
4188
+ eo as addressSchema,
4189
+ ln as allChips,
4190
+ Rn as allStateFixtures,
4191
+ Sn as allVariantFixtures,
4192
+ mn as blockSamples,
4193
+ to as buildDefaultOverflow,
4194
+ vn as cardSamples,
4195
+ bn as cascadePhysics,
4196
+ hn as chartSamples,
4197
+ pn as circleSamples,
4198
+ Dn as colorTokens,
4199
+ Yn as compactLayout,
4200
+ Bn as compactState,
4201
+ xn as computeGutterAnchorX,
4202
+ ao as contactFormMetadata,
4203
+ no as contactSchema,
4204
+ zn as contextMenuFixtures,
4205
+ ro as creditCardFormMetadata,
4206
+ so as creditCardSchema,
4207
+ Tt as dateChip,
4208
+ Je as defaultControlBarState,
4209
+ io as destructiveModalMetadata,
4210
+ oo as durations,
4211
+ lo as easings,
4212
+ zt as emptyFixture,
4213
+ Rt as entityChip,
4214
+ Zt as entityNameActions,
4215
+ dn as entityTabGroup,
4216
+ Bt as errorFixture,
4217
+ co as evaluateTintCondition,
4218
+ $n as filteredState,
4219
+ Wo as findPreset,
4220
+ Go as formatDateRange,
4221
+ Vo as formatMarketDates,
4222
+ Ho as formatTrend,
4223
+ Uo as formatValue,
4224
+ Xn as fullLayout,
4225
+ jo as generateMarketId,
4226
+ uo as generateTabId,
4227
+ Zo as getAllPresets,
4228
+ qo as getDateRangeForPreset,
4229
+ mo as getMenuActions,
4230
+ Cn as getMotionMode,
4231
+ Yo as getPresetLabel,
4232
+ go as getTransitionStyle,
4233
+ qn as gridCards,
4234
+ po as interpolate,
4235
+ Qo as isInRange,
4236
+ Xo as isMarketActive,
4237
+ Jo as isSameDay,
4238
+ Ln as itemColumns,
4239
+ An as itemRows,
4240
+ $t as loadingFixture,
4241
+ ho as loginFormMetadata,
4242
+ fo as loginSchema,
4243
+ It as manufacturerChip,
4244
+ ar as manyTabs,
4245
+ vo as mergeHandlers,
4246
+ bo as mergeRefs,
4247
+ cn as metricTabGroup,
4248
+ er as mixedTabs,
4249
+ el as normalizePresetId,
4250
+ Yt as numericActions,
4251
+ On as orderColumns,
4252
+ qt as orderIdActions,
4253
+ En as orderRows,
4254
+ Jn as ordersTabs,
4255
+ yo as parseNumericValue,
4256
+ wo as paymentFormMetadata,
4257
+ _o as paymentSchema,
4258
+ No as presets,
4259
+ wn as provisional,
4260
+ _n as reducedMotion,
4261
+ Do as registrationFormMetadata,
4262
+ Co as registrationSchema,
4263
+ yn as rejectionFeedback,
4264
+ Wn as sampleCompareRanges,
4265
+ Hn as sampleCustomMarkets,
4266
+ Kn as sampleDateRange,
4267
+ Un as sampleMarketPresetData,
4268
+ Vn as sampleMarkets,
4269
+ Zn as samplePeriodPresets,
4270
+ Gn as samplePreferences,
4271
+ jn as samplePresets,
4272
+ tr as singleTab,
4273
+ Mn as sparklineFixture,
4274
+ Tn as sparklineUpFixture,
4275
+ Gt as staleDonutFixture,
4276
+ Kt as staleFixture,
4277
+ Wt as staleSparklineFixture,
4278
+ In as standardFixture,
4279
+ Fn as standardFlatFixture,
4280
+ Qn as standardLayout,
4281
+ Pn as standardNegativeFixture,
4282
+ Mt as statusChip,
4283
+ me as swingReveal,
4284
+ fn as tableSamples,
4285
+ gn as textSamples,
4286
+ un as timeFrameTabGroup,
4287
+ tl as toUppercasePresetId,
4288
+ on as useArrowNavigation,
4289
+ ko as useCheckboxGroupContext,
4290
+ kn as useEdgeHoverResize,
4291
+ xo as useFilterLayout,
4292
+ So as useFlipAndStage,
4293
+ Ro as useFlipAndStageContext,
4294
+ Mo as useFlipAndStageContextOptional,
4295
+ sn as useFocusReturn,
4296
+ To as useFocusTrap,
4297
+ Io as useFormContext,
4298
+ Po as useRadioGroupContext,
4299
+ sa as useResizeTuning,
4300
+ $a as useSortableZones,
4301
+ Ao as useUIContext
4002
4302
  };