@mt-gloss/ui 0.1.104 → 0.1.106

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,23 +1,23 @@
1
1
  import { u as Qe, C as Xe } from "./Expandable-BcmIxWR8.js";
2
- import { Q as Lr, V as Or, T as $r, U as zr, a5 as Br, b8 as Kr, aB as Gr, aj as Hr, $ as Wr, ap as Vr, N as jr, aa as Ur, bo as Yr, P as Zr, B as qr, a as Qr, A as Xr, K as Jr, bj as es, J as ts, L as as, E as ns, D as rs, H as ss, F as is, by as os, b as ls, c as cs, O as ds, q as us, af as ms, aP as ps, A as gs, K as hs, J as fs, L as bs, E as vs, D as ys, H as ws, F as _s, b1 as Cs, b4 as Ns, b3 as Ss, b2 as ks, b5 as Ds, aE as xs, a7 as Rs, a6 as Ts, as as Ms, m as Ps, o as Is, aH as Es, ad as As, ba as Fs, ab as Ls, bp as Os, _ as $s, bI as zs, bH as Bs, bJ as Ks, ar as Gs, aS as Hs, bc as Ws, bN as Vs, bw as js, p as Us, ao as Ys, bC as Zs, bt as qs, a2 as Qs, at as Xs, a4 as Js, bB as ei, bS as ti, G as ai, f as ni, ac as ri, bK as si, aV as ii, t as oi, x as li, I as ci, i as di, ay as ui, bO as mi, M as pi, y as gi, W as hi, Z as fi, X as bi, Y as vi, au as yi, bi as wi, bQ as _i, bM as Ci, aq as Ni, w as Si, bq as ki, aU as Di, al as xi, aM as Ri, ai as Ti, an as Mi, aw as Pi, aT as Ii, ae as Ei, av as Ai, e as Fi, R as Li, l as Oi, r as $i, aJ as zi, bz as Bi, bA as Ki, ak as Gi, ag as Hi, j as Wi, z as Vi, b9 as ji, ah as Ui, bP as Yi, be as Zi, bh as qi, bf as Qi, bg as Xi, k as Ji, bb as eo, bn as to, S as ao, bl as no, bm as ro, ax as so, bd as io, bR as oo, am as lo, v as co, bL as uo, n as mo, h as po, s as go, a0 as ho, a1 as fo, a9 as bo, bk as vo, bx as yo, bE as wo, aC as _o, aD as Co, a8 as No, aQ as So, aR as ko, aF as Do, aG as xo, aI as Ro, aX as To, aY as Mo, br as Po, bG as Io, bF as Eo, a_ as Ao, a$ as Fo, az as Lo, aA as Oo, b7 as $o, b6 as zo, b0 as Bo, aN as Ko, aO as Go, aZ as Ho, aK as Wo, aL as Vo, d as jo, bD as Uo, bs as Yo, bu as Zo, bv as qo, aW as Qo, a3 as Xo, bT as Jo, g as el } from "./Expandable-BcmIxWR8.js";
2
+ import { Q as Er, V as Ar, T as Fr, U as Or, a5 as Lr, b8 as $r, aB as zr, aj as Br, $ as Kr, ap as Gr, N as Hr, aa as Wr, bo as Vr, P as jr, B as Ur, a as Yr, A as Zr, K as qr, bj as Qr, J as Xr, L as Jr, E as es, D as ts, H as as, F as ns, by as rs, b as ss, c as is, O as os, q as ls, af as cs, aP as ds, A as us, K as ms, J as ps, L as gs, E as hs, D as fs, H as bs, F as vs, b1 as ys, b4 as ws, b3 as _s, b2 as Cs, b5 as Ns, aE as Ss, a7 as ks, a6 as Ds, as as xs, m as Rs, o as Ts, aH as Ms, ad as Ps, ba as Is, ab as Es, bp as As, _ as Fs, bI as Os, bH as Ls, bJ as $s, ar as zs, aS as Bs, bc as Ks, bN as Gs, bw as Hs, p as Ws, ao as Vs, bC as js, bt as Us, a2 as Ys, at as Zs, a4 as qs, bB as Qs, bS as Xs, G as Js, f as ei, ac as ti, bK as ai, aV as ni, t as ri, x as si, I as ii, i as oi, ay as li, bO as ci, M as di, y as ui, W as mi, Z as pi, X as gi, Y as hi, au as fi, bi, bQ as vi, bM as yi, aq as wi, w as _i, bq as Ci, aU as Ni, al as Si, aM as ki, ai as Di, an as xi, aw as Ri, aT as Ti, ae as Mi, av as Pi, e as Ii, R as Ei, l as Ai, r as Fi, aJ as Oi, bz as Li, bA as $i, ak as zi, ag as Bi, j as Ki, z as Gi, b9 as Hi, ah as Wi, bP as Vi, be as ji, bh as Ui, bf as Yi, bg as Zi, k as qi, bb as Qi, bn as Xi, S as Ji, bl as eo, bm as to, ax as ao, bd as no, bR as ro, am as so, v as io, bL as oo, n as lo, h as co, s as uo, a0 as mo, a1 as po, a9 as go, bk as ho, bx as fo, bE as bo, aC as vo, aD as yo, a8 as wo, aQ as _o, aR as Co, aF as No, aG as So, aI as ko, aX as Do, aY as xo, br as Ro, bG as To, bF as Mo, a_ as Po, a$ as Io, az as Eo, aA as Ao, b7 as Fo, b6 as Oo, b0 as Lo, aN as $o, aO as zo, aZ as Bo, aK as Ko, aL as Go, d as Ho, bD as Wo, bs as Vo, bu as jo, bv as Uo, aW as Yo, a3 as Zo, bT as qo, g as Qo } from "./Expandable-BcmIxWR8.js";
3
3
  import { jsxs as y, jsx as r, Fragment as $ } from "react/jsx-runtime";
4
- import * as K from "react";
4
+ import * as B from "react";
5
5
  import F, { useRef as P, useEffect as A, useState as I, useCallback as N, useId as Je, forwardRef as et, useMemo as re, useLayoutEffect as Ie, createContext as tt, useContext as at } from "react";
6
- import { motion as z, useMotionValue as nt, AnimatePresence as rt, useDragControls as st } from "framer-motion";
6
+ import { motion as G, useMotionValue as nt, AnimatePresence as rt, useDragControls as st } from "framer-motion";
7
7
  import { createPortal as Ee } from "react-dom";
8
- import { u as it, a as ot } from "./COMMITS-BEa-B4Oc.js";
9
- import { C as al, d as nl, c as rl, P as sl, f as il, i as ol, r as ll, b as cl, e as dl } from "./COMMITS-BEa-B4Oc.js";
10
- import { B as lt, a as X, b as ce, U as fe } from "./UIContext-DP6JGCto.js";
11
- import { c as ml, u as pl } from "./UIContext-DP6JGCto.js";
12
- import { DEFAULT_MARKET_PRESETS as hl, DEFAULT_PINNED as fl, PERIOD_OPTIONS as bl, ROLLING_OPTIONS as vl, TODAY_PRESET as yl, findPreset as wl, formatDateRange as _l, formatMarketDates as Cl, formatTrend as Nl, formatValue as Sl, generateMarketId as kl, getAllPresets as Dl, getDateRangeForPreset as xl, getPresetLabel as Rl, isInRange as Tl, isMarketActive as Ml, isSameDay as Pl, normalizePresetId as Il, toUppercasePresetId as El } from "@mt-gloss/utils";
13
- import ct from "@mui/icons-material/AccessTime";
14
- import dt from "@mui/icons-material/Tune";
15
- import ut from "@mui/icons-material/ViewColumn";
16
- import mt from "@mui/icons-material/AspectRatio";
17
- import pt from "@mui/icons-material/Palette";
18
- import gt from "@mui/icons-material/PushPin";
8
+ import { u as it } from "./COMMITS-kaUvc5jL.js";
9
+ import { C as Jo, c as el, b as tl, P as al, S as nl, e as rl, i as sl, r as il, a as ol, d as ll } from "./COMMITS-kaUvc5jL.js";
10
+ import { B as ot, a as X, b as ce, U as fe } from "./UIContext-DP6JGCto.js";
11
+ import { c as dl, u as ul } from "./UIContext-DP6JGCto.js";
12
+ import { DEFAULT_MARKET_PRESETS as pl, DEFAULT_PINNED as gl, PERIOD_OPTIONS as hl, ROLLING_OPTIONS as fl, TODAY_PRESET as bl, findPreset as vl, formatDateRange as yl, formatMarketDates as wl, formatTrend as _l, formatValue as Cl, generateMarketId as Nl, getAllPresets as Sl, getDateRangeForPreset as kl, getPresetLabel as Dl, isInRange as xl, isMarketActive as Rl, isSameDay as Tl, normalizePresetId as Ml, toUppercasePresetId as Pl } from "@mt-gloss/utils";
13
+ import lt from "@mui/icons-material/AccessTime";
14
+ import ct from "@mui/icons-material/Tune";
15
+ import dt from "@mui/icons-material/ViewColumn";
16
+ import ut from "@mui/icons-material/AspectRatio";
17
+ import mt from "@mui/icons-material/Palette";
18
+ import pt from "@mui/icons-material/PushPin";
19
19
  import { useMotionProbe as de } from "@mt-gloss/motion";
20
- function pn(e = {}) {
20
+ function dn(e = {}) {
21
21
  const { enabled: t = !0, returnTo: n } = e, a = P(null);
22
22
  return A(() => {
23
23
  t && (a.current = n || document.activeElement);
@@ -27,7 +27,7 @@ function pn(e = {}) {
27
27
  }, 0);
28
28
  }, [t]), a;
29
29
  }
30
- function gn(e) {
30
+ function un(e) {
31
31
  const {
32
32
  items: t,
33
33
  activeIndex: n,
@@ -37,8 +37,8 @@ function gn(e) {
37
37
  enabled: o = !0,
38
38
  isItemDisabled: l,
39
39
  onSelect: m,
40
- onEscape: u
41
- } = e, [c, h] = I(-1), d = n !== void 0 ? n : c, p = N(
40
+ onEscape: d
41
+ } = e, [u, h] = I(-1), c = n !== void 0 ? n : u, p = N(
42
42
  (g) => {
43
43
  n === void 0 && h(g), a?.(g);
44
44
  },
@@ -61,23 +61,23 @@ function gn(e) {
61
61
  const g = w();
62
62
  g.length > 0 && p(g[g.length - 1]);
63
63
  }, [w, p]), x = N(() => {
64
- const g = k(d, 1);
64
+ const g = k(c, 1);
65
65
  g !== -1 && p(g);
66
- }, [d, k, p]), C = N(() => {
67
- const g = k(d, -1);
66
+ }, [c, k, p]), C = N(() => {
67
+ const g = k(c, -1);
68
68
  g !== -1 && p(g);
69
- }, [d, k, p]), S = N(() => {
69
+ }, [c, k, p]), S = N(() => {
70
70
  p(-1);
71
71
  }, [p]), T = N(
72
72
  (g) => {
73
73
  if (!o) return;
74
74
  const { key: v } = g, _ = v === "ArrowUp" && (i === "vertical" || i === "both"), D = v === "ArrowDown" && (i === "vertical" || i === "both"), M = v === "ArrowLeft" && (i === "horizontal" || i === "both"), R = v === "ArrowRight" && (i === "horizontal" || i === "both");
75
75
  if (_ || M) {
76
- g.preventDefault(), d === -1 ? b() : C();
76
+ g.preventDefault(), c === -1 ? b() : C();
77
77
  return;
78
78
  }
79
79
  if (D || R) {
80
- g.preventDefault(), d === -1 ? f() : x();
80
+ g.preventDefault(), c === -1 ? f() : x();
81
81
  return;
82
82
  }
83
83
  if (v === "Home") {
@@ -88,21 +88,21 @@ function gn(e) {
88
88
  g.preventDefault(), b();
89
89
  return;
90
90
  }
91
- if ((v === "Enter" || v === " ") && d >= 0 && d < t.length) {
91
+ if ((v === "Enter" || v === " ") && c >= 0 && c < t.length) {
92
92
  g.preventDefault();
93
- const E = t[d];
94
- l?.(E, d) || m?.(E, d);
93
+ const E = t[c];
94
+ l?.(E, c) || m?.(E, c);
95
95
  return;
96
96
  }
97
97
  if (v === "Escape") {
98
- u?.();
98
+ d?.();
99
99
  return;
100
100
  }
101
101
  },
102
102
  [
103
103
  o,
104
104
  i,
105
- d,
105
+ c,
106
106
  t,
107
107
  f,
108
108
  b,
@@ -110,11 +110,11 @@ function gn(e) {
110
110
  C,
111
111
  l,
112
112
  m,
113
- u
113
+ d
114
114
  ]
115
115
  );
116
116
  return {
117
- focusedIndex: d,
117
+ focusedIndex: c,
118
118
  setFocusedIndex: p,
119
119
  handleKeyDown: T,
120
120
  focusFirst: f,
@@ -124,7 +124,7 @@ function gn(e) {
124
124
  resetFocus: S
125
125
  };
126
126
  }
127
- const ht = ({
127
+ const gt = ({
128
128
  label: e = "Set a target",
129
129
  unit: t,
130
130
  currentValue: n,
@@ -135,9 +135,9 @@ const ht = ({
135
135
  const [o, l] = I(n != null ? String(n) : ""), m = () => {
136
136
  const p = parseFloat(o);
137
137
  Number.isNaN(p) || a(p);
138
- }, u = (p) => {
138
+ }, d = (p) => {
139
139
  p.key === "Enter" ? (p.preventDefault(), m()) : p.key === "Escape" && (p.preventDefault(), s?.());
140
- }, c = Je(), h = `gloss-target-input-field-${c}`, d = i ? `gloss-target-input-hint-${c}` : void 0;
140
+ }, u = Je(), h = `gloss-target-input-field-${u}`, c = i ? `gloss-target-input-hint-${u}` : void 0;
141
141
  return /* @__PURE__ */ y("div", { className: "gloss-target-input", children: [
142
142
  /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: h, children: e }),
143
143
  /* @__PURE__ */ y("div", { className: "gloss-target-input__field-row", children: [
@@ -149,14 +149,14 @@ const ht = ({
149
149
  className: "gloss-target-input__field",
150
150
  value: o,
151
151
  onChange: (p) => l(p.target.value),
152
- onKeyDown: u,
153
- "aria-describedby": d,
152
+ onKeyDown: d,
153
+ "aria-describedby": c,
154
154
  autoFocus: !0
155
155
  }
156
156
  ),
157
157
  t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
158
158
  ] }),
159
- i && /* @__PURE__ */ r("p", { id: d, className: "gloss-target-input__hint", children: i }),
159
+ i && /* @__PURE__ */ r("p", { id: c, className: "gloss-target-input__hint", children: i }),
160
160
  /* @__PURE__ */ y("div", { className: "gloss-target-input__actions", children: [
161
161
  /* @__PURE__ */ r(
162
162
  "button",
@@ -179,42 +179,42 @@ const ht = ({
179
179
  ] })
180
180
  ] });
181
181
  }, se = (e) => {
182
- }, ft = {
182
+ }, ht = {
183
183
  id: "entity-filter-1",
184
184
  label: "Customer: Acme Corp",
185
185
  field: "customer",
186
186
  value: "acme-corp-123",
187
187
  onRemove: se
188
- }, bt = {
188
+ }, ft = {
189
189
  id: "status-filter-1",
190
190
  label: "Status: Open",
191
191
  field: "status",
192
192
  value: "open",
193
193
  onRemove: se
194
- }, vt = {
194
+ }, bt = {
195
195
  id: "date-filter-1",
196
196
  label: "Date: Mar 1 - Mar 15",
197
197
  field: "dateRange",
198
198
  value: "2026-03-01..2026-03-15",
199
199
  onRemove: se
200
- }, yt = {
200
+ }, vt = {
201
201
  id: "mfg-filter-1",
202
202
  label: "Manufacturer: Widget Co",
203
203
  field: "manufacturer",
204
204
  value: "widget-co-456",
205
205
  onRemove: se
206
- }, hn = [
206
+ }, mn = [
207
+ ht,
207
208
  ft,
208
209
  bt,
209
- vt,
210
- yt
211
- ], fn = {
210
+ vt
211
+ ], pn = {
212
212
  id: "metric-toggle",
213
213
  tabs: [
214
214
  { id: "$", label: "$", mono: !0 },
215
215
  { id: "#", label: "#", mono: !0 }
216
216
  ]
217
- }, bn = {
217
+ }, gn = {
218
218
  id: "entity-type",
219
219
  tabs: [
220
220
  { id: "orders", label: "Orders" },
@@ -222,7 +222,7 @@ const ht = ({
222
222
  { id: "customers", label: "Customers" },
223
223
  { id: "manufacturers", label: "Manufacturers" }
224
224
  ]
225
- }, vn = {
225
+ }, hn = {
226
226
  id: "time-frame",
227
227
  tabs: [
228
228
  { id: "MTD", label: "MTD" },
@@ -230,26 +230,26 @@ const ht = ({
230
230
  { id: "YTD", label: "YTD" },
231
231
  { id: "LYTD", label: "LYTD" }
232
232
  ]
233
- }, yn = [
233
+ }, fn = [
234
234
  { variant: "block", width: "100%", height: 16 },
235
235
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
236
236
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
237
237
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
238
- ], wn = [
238
+ ], bn = [
239
239
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
240
240
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
241
241
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
242
- ], _n = [
242
+ ], vn = [
243
243
  { variant: "circle", size: 24 },
244
244
  { variant: "circle", size: 40 },
245
245
  { variant: "circle", size: 64 }
246
- ], Cn = [
246
+ ], yn = [
247
247
  { bars: 10, maxHeight: 120 },
248
248
  { bars: 5, maxHeight: 80 }
249
- ], Nn = [
249
+ ], wn = [
250
250
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
251
251
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
252
- ], Sn = [
252
+ ], _n = [
253
253
  { variant: "value", colSpan: 1 },
254
254
  { variant: "trend", colSpan: 2 },
255
255
  { variant: "target", colSpan: 1 }
@@ -279,16 +279,16 @@ const ht = ({
279
279
  width: "100%",
280
280
  textAlign: "left",
281
281
  border: "none"
282
- }), wt = (e) => ({
282
+ }), yt = (e) => ({
283
283
  ...ue(e),
284
284
  color: e ? "#4338ca" : "#4f46e5",
285
285
  fontWeight: 600
286
- }), _t = {
286
+ }), wt = {
287
287
  height: 1,
288
288
  background: "rgba(0,0,0,0.06)",
289
289
  margin: "3px 10px"
290
290
  };
291
- function Ct({
291
+ function _t({
292
292
  open: e,
293
293
  anchorEl: t,
294
294
  statusId: n,
@@ -297,7 +297,7 @@ function Ct({
297
297
  overflowActions: i,
298
298
  onClose: o
299
299
  }) {
300
- const [l, m] = I(null), u = P(null), c = N(() => {
300
+ const [l, m] = I(null), d = P(null), u = N(() => {
301
301
  if (!t) return { ...ye, top: 0, left: 0 };
302
302
  const p = t.getBoundingClientRect();
303
303
  return {
@@ -315,24 +315,24 @@ function Ct({
315
315
  }, [e, o]), A(() => {
316
316
  if (!e) return;
317
317
  const p = (w) => {
318
- u.current && !u.current.contains(w.target) && o();
318
+ d.current && !d.current.contains(w.target) && o();
319
319
  };
320
320
  return document.addEventListener("pointerdown", p, !0), () => document.removeEventListener("pointerdown", p, !0);
321
321
  }, [e, o]), !e) return null;
322
- const h = i && i.length > 0, d = /* @__PURE__ */ y(
322
+ const h = i && i.length > 0, c = /* @__PURE__ */ y(
323
323
  "div",
324
324
  {
325
- ref: u,
325
+ ref: d,
326
326
  "data-status-chip-menu": n,
327
327
  role: "menu",
328
328
  "aria-label": "Status actions",
329
- style: c(),
329
+ style: u(),
330
330
  children: [
331
331
  /* @__PURE__ */ r(
332
332
  "button",
333
333
  {
334
334
  role: "menuitem",
335
- style: wt(l === "__primary"),
335
+ style: yt(l === "__primary"),
336
336
  onMouseEnter: () => m("__primary"),
337
337
  onMouseLeave: () => m(null),
338
338
  onClick: () => {
@@ -354,7 +354,7 @@ function Ct({
354
354
  children: "Show on graph"
355
355
  }
356
356
  ),
357
- h && /* @__PURE__ */ r("div", { style: _t }),
357
+ h && /* @__PURE__ */ r("div", { style: wt }),
358
358
  h && i?.map((p) => /* @__PURE__ */ r(
359
359
  "button",
360
360
  {
@@ -372,10 +372,10 @@ function Ct({
372
372
  ]
373
373
  }
374
374
  );
375
- return Ee(d, document.body);
375
+ return Ee(c, document.body);
376
376
  }
377
- Ct.displayName = "StatusSlotChipMenu";
378
- function Nt({
377
+ _t.displayName = "StatusSlotChipMenu";
378
+ function Ct({
379
379
  visible: e,
380
380
  targetColSpan: t,
381
381
  ghostWidth: n,
@@ -383,7 +383,7 @@ function Nt({
383
383
  exitMs: s = 120
384
384
  }) {
385
385
  return /* @__PURE__ */ r(
386
- z.div,
386
+ G.div,
387
387
  {
388
388
  "aria-hidden": "true",
389
389
  "data-ghost-preview": e ? "visible" : "hidden",
@@ -399,8 +399,8 @@ function Nt({
399
399
  }
400
400
  );
401
401
  }
402
- Nt.displayName = "GhostPreview";
403
- const St = {
402
+ Ct.displayName = "GhostPreview";
403
+ const Nt = {
404
404
  // Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
405
405
  // has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
406
406
  // prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
@@ -420,7 +420,7 @@ const St = {
420
420
  // Velocity multiplier (D-03b panel)
421
421
  velocityMultiplier: 1
422
422
  };
423
- class kn {
423
+ class Cn {
424
424
  constructor() {
425
425
  this.samples = [], this.capacity = 3;
426
426
  }
@@ -458,8 +458,8 @@ class kn {
458
458
  const t = this.samples.length;
459
459
  if (t < 2) return 0;
460
460
  if (t === 2) {
461
- const [m, u] = this.samples, c = Math.max(1, u.t - m.t);
462
- return (u.x - m.x) / c * 1e3;
461
+ const [m, d] = this.samples, u = Math.max(1, d.t - m.t);
462
+ return (d.x - m.x) / u * 1e3;
463
463
  }
464
464
  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;
465
465
  return (i * 3 + o * 2 + l * 1) / 6;
@@ -513,7 +513,7 @@ function Fe(e) {
513
513
  return A(() => {
514
514
  o.set(s);
515
515
  }, [s, o]), !t || a === n ? null : /* @__PURE__ */ r(
516
- z.div,
516
+ G.div,
517
517
  {
518
518
  "aria-hidden": "true",
519
519
  "data-resize-pill-ghost": "visible",
@@ -547,7 +547,7 @@ function Fe(e) {
547
547
  );
548
548
  }
549
549
  Fe.displayName = "ResizePillGhost";
550
- function Le(e) {
550
+ function Oe(e) {
551
551
  const {
552
552
  visible: t,
553
553
  direction: n,
@@ -559,7 +559,7 @@ function Le(e) {
559
559
  staggerMs: m
560
560
  } = e;
561
561
  if (!t) return null;
562
- const u = n === "grow", c = u ? i + a : i + s, h = u ? o - s : o - a, d = Math.max(0, h - c);
562
+ const d = n === "grow", u = d ? i + a : i + s, h = d ? o - s : o - a, c = Math.max(0, h - u);
563
563
  return /* @__PURE__ */ r(
564
564
  "div",
565
565
  {
@@ -576,11 +576,11 @@ function Le(e) {
576
576
  top: 0,
577
577
  height: "100%",
578
578
  alignItems: "center",
579
- left: c,
580
- width: d
579
+ left: u,
580
+ width: c
581
581
  },
582
582
  children: (n === "grow" ? [0, 1, 2, 3, 4] : [4, 3, 2, 1, 0]).map((w, k) => /* @__PURE__ */ r(
583
- z.span,
583
+ G.span,
584
584
  {
585
585
  className: [
586
586
  "gloss-resize-pill-chain__chevron",
@@ -603,7 +603,7 @@ function Le(e) {
603
603
  }
604
604
  );
605
605
  }
606
- Le.displayName = "ResizePillArrowChain";
606
+ Oe.displayName = "ResizePillArrowChain";
607
607
  const we = 3;
608
608
  function _e({ filled: e, total: t }) {
609
609
  const n = [];
@@ -625,10 +625,10 @@ function _e({ filled: e, total: t }) {
625
625
  function Ce(e) {
626
626
  return e === "compact" ? "Compact" : e === "medium" ? "Medium" : e === "full" ? "Full" : String(e);
627
627
  }
628
- function Oe(e) {
628
+ function Le(e) {
629
629
  const { visible: t, currentTarget: n, previewTarget: a, mode: s, showSizeTooltip: i = !0 } = e;
630
630
  return !t || i === !1 ? null : /* @__PURE__ */ y(
631
- z.div,
631
+ G.div,
632
632
  {
633
633
  "aria-hidden": "true",
634
634
  "data-resize-pill-tooltip": "visible",
@@ -665,8 +665,8 @@ function Oe(e) {
665
665
  }
666
666
  );
667
667
  }
668
- Oe.displayName = "ResizePillSizeTooltip";
669
- function kt({ direction: e }) {
668
+ Le.displayName = "ResizePillSizeTooltip";
669
+ function St({ direction: e }) {
670
670
  return /* @__PURE__ */ r(
671
671
  "svg",
672
672
  {
@@ -683,7 +683,7 @@ function kt({ direction: e }) {
683
683
  }
684
684
  );
685
685
  }
686
- function Dt() {
686
+ function kt() {
687
687
  return /* @__PURE__ */ r(
688
688
  "svg",
689
689
  {
@@ -700,7 +700,7 @@ function Dt() {
700
700
  }
701
701
  );
702
702
  }
703
- function xt({ target: e }) {
703
+ function Dt({ target: e }) {
704
704
  const t = e === "compact" ? 5 : e === "medium" ? 9 : 13;
705
705
  return /* @__PURE__ */ r(
706
706
  "svg",
@@ -714,7 +714,7 @@ function xt({ target: e }) {
714
714
  }
715
715
  );
716
716
  }
717
- function Rt(e) {
717
+ function xt(e) {
718
718
  const {
719
719
  target: t,
720
720
  currentTarget: n,
@@ -724,15 +724,15 @@ function Rt(e) {
724
724
  onCommit: o,
725
725
  onEnter: l,
726
726
  onLeave: m,
727
- buttonHeight: u,
728
- buttonWidth: c
727
+ buttonHeight: d,
728
+ buttonWidth: u
729
729
  } = e;
730
730
  let h = null;
731
731
  if (a === "directional") {
732
- const d = typeof t == "number" && typeof n == "number" && t < n ? "left" : "right";
733
- h = /* @__PURE__ */ r(kt, { direction: d });
732
+ const c = typeof t == "number" && typeof n == "number" && t < n ? "left" : "right";
733
+ h = /* @__PURE__ */ r(St, { direction: c });
734
734
  } else
735
- h = /* @__PURE__ */ r(xt, { target: t });
735
+ h = /* @__PURE__ */ r(Dt, { target: t });
736
736
  return /* @__PURE__ */ y(
737
737
  "button",
738
738
  {
@@ -746,27 +746,27 @@ function Rt(e) {
746
746
  "data-mode": a,
747
747
  "data-active": s ? "true" : "false",
748
748
  "data-button-hover-state": i ? "check" : "chevron",
749
- style: { width: c, height: u },
749
+ style: { width: u, height: d },
750
750
  onClick: () => o(t),
751
751
  onPointerEnter: () => l?.(t),
752
752
  onPointerLeave: () => m?.(),
753
753
  "aria-label": `Resize to ${String(t)}`,
754
754
  children: [
755
755
  /* @__PURE__ */ r("span", { className: "gloss-resize-pill__glyph", children: h }),
756
- /* @__PURE__ */ r("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ r(Dt, {}) })
756
+ /* @__PURE__ */ r("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ r(kt, {}) })
757
757
  ]
758
758
  }
759
759
  );
760
760
  }
761
- const Tt = et(
761
+ const Rt = et(
762
762
  function(t, n) {
763
763
  const a = {
764
764
  ...Ae,
765
765
  ...t.physics
766
- }, s = t.pillVisible && !t.forceIdle && t.resizePillEnabled !== !1, i = t.availableTargets, o = t.orientation ?? "vertical", l = t.buttonHover !== null && t.previewTarget !== void 0 && t.previewTarget !== null && t.previewTarget !== t.currentTarget && !t.forceIdle && t.resizePillEnabled !== !1, m = l && t.previewTarget != null ? t.resolveTargetWidth(t.previewTarget) : t.hostWidth, u = t.chainStartX ?? 0, c = t.chainEndX ?? t.hostWidth, h = t.chainDirection ?? "grow";
766
+ }, s = t.pillVisible && !t.forceIdle && t.resizePillEnabled !== !1, i = t.availableTargets, o = t.orientation ?? "vertical", l = t.buttonHover !== null && t.previewTarget !== void 0 && t.previewTarget !== null && t.previewTarget !== t.currentTarget && !t.forceIdle && t.resizePillEnabled !== !1, m = l && t.previewTarget != null ? t.resolveTargetWidth(t.previewTarget) : t.hostWidth, d = t.chainStartX ?? 0, u = t.chainEndX ?? t.hostWidth, h = t.chainDirection ?? "grow";
767
767
  return /* @__PURE__ */ y(rt, { children: [
768
768
  s && /* @__PURE__ */ r(
769
- z.div,
769
+ G.div,
770
770
  {
771
771
  ref: n,
772
772
  "data-resize-pill-state": t.phase,
@@ -791,16 +791,16 @@ const Tt = et(
791
791
  transition: { duration: a.pillRevealMs / 1e3 },
792
792
  onPointerEnter: t.onPillEnter,
793
793
  onPointerLeave: t.onPillLeave,
794
- children: i.map((d) => /* @__PURE__ */ r(
795
- Rt,
794
+ children: i.map((c) => /* @__PURE__ */ r(
795
+ xt,
796
796
  {
797
- target: d,
797
+ target: c,
798
798
  currentTarget: t.currentTarget,
799
799
  mode: t.mode,
800
- isActive: d === t.currentTarget,
800
+ isActive: c === t.currentTarget,
801
801
  isHovered: (
802
802
  // Hover-state mapping for chevron→✓ morph CSS.
803
- t.buttonHover !== null && (typeof d == "number" && typeof t.currentTarget == "number" && (t.buttonHover === "grow" && d > t.currentTarget || t.buttonHover === "shrink" && d < t.currentTarget) || t.buttonHover === d)
803
+ t.buttonHover !== null && (typeof c == "number" && typeof t.currentTarget == "number" && (t.buttonHover === "grow" && c > t.currentTarget || t.buttonHover === "shrink" && c < t.currentTarget) || t.buttonHover === c)
804
804
  ),
805
805
  onCommit: t.onCommit,
806
806
  onEnter: t.onButtonEnter,
@@ -808,7 +808,7 @@ const Tt = et(
808
808
  buttonHeight: a.pillButtonHeight,
809
809
  buttonWidth: a.pillButtonWidth
810
810
  },
811
- String(d)
811
+ String(c)
812
812
  ))
813
813
  },
814
814
  "pill"
@@ -827,21 +827,21 @@ const Tt = et(
827
827
  "ghost"
828
828
  ),
829
829
  s && l && /* @__PURE__ */ r(
830
- Le,
830
+ Oe,
831
831
  {
832
832
  visible: !0,
833
833
  direction: h,
834
834
  pillClearancePx: a.pillClearancePx,
835
835
  ghostClearancePx: a.ghostClearancePx,
836
- startX: u,
837
- endX: c,
836
+ startX: d,
837
+ endX: u,
838
838
  pulseMs: a.chainPulseMs,
839
839
  staggerMs: a.chainStaggerMs
840
840
  },
841
841
  "chain"
842
842
  ),
843
843
  s && l && t.showSizeTooltip && t.previewTarget != null && /* @__PURE__ */ r(
844
- Oe,
844
+ Le,
845
845
  {
846
846
  visible: !0,
847
847
  currentTarget: t.currentTarget,
@@ -854,24 +854,24 @@ const Tt = et(
854
854
  ] });
855
855
  }
856
856
  );
857
- Tt.displayName = "ResizePill";
858
- function Dn(e) {
857
+ Rt.displayName = "ResizePill";
858
+ function Nn(e) {
859
859
  const t = {
860
860
  ...Ae,
861
861
  ...e.physics
862
- }, [n, a] = I("idle"), [s, i] = I(e.currentTarget), [o, l] = I(null), m = P(!1), u = P(null), c = P(null), h = P(e.currentTarget);
862
+ }, [n, a] = I("idle"), [s, i] = I(e.currentTarget), [o, l] = I(null), m = P(!1), d = P(null), u = P(null), h = P(e.currentTarget);
863
863
  h.current = e.currentTarget;
864
- const d = P(e.onCommit);
865
- d.current = e.onCommit;
864
+ const c = P(e.onCommit);
865
+ c.current = e.onCommit;
866
866
  const p = P(e.forceIdle);
867
867
  p.current = e.forceIdle;
868
868
  const w = P(e.onPhaseChange);
869
869
  w.current = e.onPhaseChange, A(() => {
870
870
  w.current?.(n);
871
871
  }, [n]), A(() => {
872
- e.forceIdle && (c.current && (clearTimeout(c.current), c.current = null), a("idle"), l(null));
872
+ e.forceIdle && (u.current && (clearTimeout(u.current), u.current = null), a("idle"), l(null));
873
873
  }, [e.forceIdle]), A(() => () => {
874
- u.current && clearTimeout(u.current), c.current && clearTimeout(c.current);
874
+ d.current && clearTimeout(d.current), u.current && clearTimeout(u.current);
875
875
  }, []);
876
876
  const k = N(() => {
877
877
  m.current || p.current || (i(h.current), a("pill-visible"));
@@ -879,27 +879,27 @@ function Dn(e) {
879
879
  a("idle"), l(null);
880
880
  }, []), b = N(
881
881
  (R) => {
882
- m.current = !0, u.current && clearTimeout(u.current), u.current = setTimeout(() => {
883
- m.current = !1, u.current = null;
884
- }, t.fadeGraceMs), l(null), a("fading"), d.current(R);
882
+ m.current = !0, d.current && clearTimeout(d.current), d.current = setTimeout(() => {
883
+ m.current = !1, d.current = null;
884
+ }, t.fadeGraceMs), l(null), a("fading"), c.current(R);
885
885
  },
886
886
  [t.fadeGraceMs]
887
887
  ), x = N(() => {
888
- c.current && (clearTimeout(c.current), c.current = null), k();
888
+ u.current && (clearTimeout(u.current), u.current = null), k();
889
889
  }, [k]), C = N(() => {
890
- c.current && clearTimeout(c.current), c.current = setTimeout(() => {
891
- f(), c.current = null;
890
+ u.current && clearTimeout(u.current), u.current = setTimeout(() => {
891
+ f(), u.current = null;
892
892
  }, t.hoverHideGraceMs);
893
893
  }, [f, t.hoverHideGraceMs]), S = N(() => {
894
- c.current && (clearTimeout(c.current), c.current = null);
894
+ u.current && (clearTimeout(u.current), u.current = null);
895
895
  }, []), T = N(() => {
896
- c.current && clearTimeout(c.current), c.current = setTimeout(() => {
897
- f(), c.current = null;
896
+ u.current && clearTimeout(u.current), u.current = setTimeout(() => {
897
+ f(), u.current = null;
898
898
  }, t.hoverHideGraceMs);
899
899
  }, [f, t.hoverHideGraceMs]), g = N((R) => {
900
900
  const E = h.current;
901
- let O;
902
- R === "compact" || R === "medium" || R === "full" ? O = R : typeof E == "number" && typeof R == "number" ? O = R > E ? "grow" : "shrink" : O = "grow", l(O), a("pre-commit");
901
+ let L;
902
+ R === "compact" || R === "medium" || R === "full" ? L = R : typeof E == "number" && typeof R == "number" ? L = R > E ? "grow" : "shrink" : L = "grow", l(L), a("pre-commit");
903
903
  }, []), v = N(() => {
904
904
  l(null), a((R) => R === "pre-commit" ? "pill-visible" : R);
905
905
  }, []), _ = N(
@@ -927,14 +927,14 @@ function Dn(e) {
927
927
  commit: b
928
928
  };
929
929
  }
930
- function xn(e) {
930
+ function Sn(e) {
931
931
  const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: s } = e;
932
932
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
933
933
  return;
934
934
  const i = (a + 0.5) * (t / n);
935
935
  return s != null && Number.isFinite(s) && s > 0 ? i - s / 2 : i;
936
936
  }
937
- const Rn = [
937
+ const kn = [
938
938
  // 1. Standard: Total Revenue
939
939
  {
940
940
  variant: "standard",
@@ -1066,24 +1066,24 @@ const Rn = [
1066
1066
  subtitle: "Awaiting QA",
1067
1067
  highlightColor: "neutral"
1068
1068
  }
1069
- ], Mt = {
1069
+ ], Tt = {
1070
1070
  variant: "standard",
1071
1071
  label: "Total Revenue",
1072
1072
  isLoading: !0
1073
- }, Pt = {
1073
+ }, Mt = {
1074
1074
  variant: "standard",
1075
1075
  label: "Total Revenue",
1076
1076
  value: 125430,
1077
1077
  valueFormat: { prefix: "$", abbreviated: !0 },
1078
1078
  isError: !0
1079
- }, It = {
1079
+ }, Pt = {
1080
1080
  variant: "standard",
1081
1081
  label: "Total Revenue",
1082
1082
  value: null,
1083
1083
  valueFormat: { prefix: "$", abbreviated: !0 },
1084
1084
  isEmpty: !0,
1085
1085
  subtitle: "No data"
1086
- }, Et = {
1086
+ }, It = {
1087
1087
  variant: "standard",
1088
1088
  label: "Total Revenue",
1089
1089
  value: 125430,
@@ -1091,7 +1091,7 @@ const Rn = [
1091
1091
  trend: { value: 12.5, direction: "up" },
1092
1092
  subtitle: "MTD",
1093
1093
  isStale: !0
1094
- }, At = {
1094
+ }, Et = {
1095
1095
  variant: "sparkline",
1096
1096
  label: "Daily Orders",
1097
1097
  value: 847,
@@ -1100,7 +1100,7 @@ const Rn = [
1100
1100
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
1101
1101
  accentColor: "#6366f1",
1102
1102
  isStale: !0
1103
- }, Ft = {
1103
+ }, At = {
1104
1104
  variant: "donut",
1105
1105
  label: "Order Fill Rate",
1106
1106
  value: 78,
@@ -1111,14 +1111,14 @@ const Rn = [
1111
1111
  donutMax: 100,
1112
1112
  accentColor: "#10b981",
1113
1113
  isStale: !0
1114
- }, Tn = [
1114
+ }, Dn = [
1115
+ Tt,
1115
1116
  Mt,
1116
1117
  Pt,
1117
1118
  It,
1118
1119
  Et,
1119
- At,
1120
- Ft
1121
- ], Mn = {
1120
+ At
1121
+ ], xn = {
1122
1122
  variant: "sparkline",
1123
1123
  label: "Daily Orders",
1124
1124
  value: 847,
@@ -1141,7 +1141,7 @@ const Rn = [
1141
1141
  59
1142
1142
  ],
1143
1143
  accentColor: "#6366f1"
1144
- }, Pn = {
1144
+ }, Rn = {
1145
1145
  variant: "sparkline",
1146
1146
  label: "New Customers",
1147
1147
  value: 23,
@@ -1180,21 +1180,21 @@ const Rn = [
1180
1180
  19
1181
1181
  ],
1182
1182
  accentColor: "#10b981"
1183
- }, In = {
1183
+ }, Tn = {
1184
1184
  variant: "standard",
1185
1185
  label: "Total Revenue",
1186
1186
  value: 125430,
1187
1187
  valueFormat: { prefix: "$", abbreviated: !0 },
1188
1188
  trend: { value: 12.5, direction: "up" },
1189
1189
  subtitle: "MTD"
1190
- }, En = {
1190
+ }, Mn = {
1191
1191
  variant: "standard",
1192
1192
  label: "Returns",
1193
1193
  value: 3280,
1194
1194
  valueFormat: { prefix: "$", abbreviated: !0 },
1195
1195
  trend: { value: -8.3, direction: "down" },
1196
1196
  subtitle: "MTD"
1197
- }, An = {
1197
+ }, Pn = {
1198
1198
  variant: "standard",
1199
1199
  label: "Avg Order Value",
1200
1200
  value: 487,
@@ -1213,22 +1213,22 @@ function $e({
1213
1213
  onManagePages: l
1214
1214
  }) {
1215
1215
  const m = N(
1216
- (d) => {
1217
- i(d), t();
1216
+ (c) => {
1217
+ i(c), t();
1218
1218
  },
1219
1219
  [i, t]
1220
- ), u = N(
1221
- (d, p) => {
1222
- (p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(d));
1220
+ ), d = N(
1221
+ (c, p) => {
1222
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(c));
1223
1223
  },
1224
1224
  [m]
1225
- ), c = N(() => {
1225
+ ), u = N(() => {
1226
1226
  o(), t();
1227
1227
  }, [o, t]), h = N(() => {
1228
1228
  l(), t();
1229
1229
  }, [l, t]);
1230
1230
  return /* @__PURE__ */ y(
1231
- lt,
1231
+ ot,
1232
1232
  {
1233
1233
  definition: {
1234
1234
  placement: "bottom-end",
@@ -1241,8 +1241,8 @@ function $e({
1241
1241
  anchorRef: n,
1242
1242
  className: "gloss-page-dropdown",
1243
1243
  children: [
1244
- /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((d) => {
1245
- const p = d.id === s;
1244
+ /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((c) => {
1245
+ const p = c.id === s;
1246
1246
  return /* @__PURE__ */ y(
1247
1247
  "li",
1248
1248
  {
@@ -1251,8 +1251,8 @@ function $e({
1251
1251
  "aria-current": p ? "page" : void 0,
1252
1252
  tabIndex: 0,
1253
1253
  className: `gloss-page-dropdown__item${p ? " gloss-page-dropdown__item--active" : ""}`,
1254
- onClick: () => m(d.id),
1255
- onKeyDown: (w) => u(d.id, w),
1254
+ onClick: () => m(c.id),
1255
+ onKeyDown: (w) => d(c.id, w),
1256
1256
  children: [
1257
1257
  /* @__PURE__ */ r(
1258
1258
  "span",
@@ -1263,15 +1263,15 @@ function $e({
1263
1263
  /* @__PURE__ */ r(
1264
1264
  "span",
1265
1265
  {
1266
- className: `gloss-page-dropdown__name${d.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1267
- children: d.name
1266
+ className: `gloss-page-dropdown__name${c.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1267
+ children: c.name
1268
1268
  }
1269
1269
  ),
1270
- d.icon && /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__icon", children: d.icon }),
1271
- /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: d.cardCount })
1270
+ c.icon && /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__icon", children: c.icon }),
1271
+ /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: c.cardCount })
1272
1272
  ]
1273
1273
  },
1274
- d.id
1274
+ c.id
1275
1275
  );
1276
1276
  }) }),
1277
1277
  /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
@@ -1280,7 +1280,7 @@ function $e({
1280
1280
  {
1281
1281
  role: "menuitem",
1282
1282
  className: "gloss-page-dropdown__action",
1283
- onClick: c,
1283
+ onClick: u,
1284
1284
  children: "+ New page"
1285
1285
  }
1286
1286
  ),
@@ -1299,7 +1299,7 @@ function $e({
1299
1299
  );
1300
1300
  }
1301
1301
  $e.displayName = "PageDropdown";
1302
- const Lt = function({
1302
+ const Ft = function({
1303
1303
  currentIndex: t,
1304
1304
  total: n,
1305
1305
  pages: a,
@@ -1308,18 +1308,18 @@ const Lt = function({
1308
1308
  onManagePages: o,
1309
1309
  maskRadius: l = "var(--gloss-radius-md)",
1310
1310
  displayMode: m = "count",
1311
- activePage: u
1311
+ activePage: d
1312
1312
  }) {
1313
- const c = P(null), [h, d] = I(!1), p = N(() => {
1314
- d((b) => !b);
1313
+ const u = P(null), [h, c] = I(!1), p = N(() => {
1314
+ c((b) => !b);
1315
1315
  }, []), w = N(() => {
1316
- d(!1);
1316
+ c(!1);
1317
1317
  }, []), k = a[t]?.id ?? "";
1318
1318
  return /* @__PURE__ */ y(
1319
1319
  "div",
1320
1320
  {
1321
1321
  className: "gloss-page-chip",
1322
- ref: c,
1322
+ ref: u,
1323
1323
  style: m === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1324
1324
  "data-page-chip": !0,
1325
1325
  children: [
@@ -1336,10 +1336,10 @@ const Lt = function({
1336
1336
  className: `gloss-page-chip__trigger${m === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1337
1337
  "aria-haspopup": "menu",
1338
1338
  "aria-expanded": h,
1339
- "aria-label": m === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1339
+ "aria-label": m === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1340
1340
  onClick: p,
1341
1341
  children: m === "name" ? /* @__PURE__ */ y($, { children: [
1342
- /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: u ?? "" }),
1342
+ /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: d ?? "" }),
1343
1343
  /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1344
1344
  ] }) : /* @__PURE__ */ y($, { children: [
1345
1345
  t + 1,
@@ -1353,7 +1353,7 @@ const Lt = function({
1353
1353
  {
1354
1354
  open: h,
1355
1355
  onDismiss: w,
1356
- anchorRef: c,
1356
+ anchorRef: u,
1357
1357
  pages: a,
1358
1358
  activePageId: k,
1359
1359
  onPageChange: s,
@@ -1365,8 +1365,8 @@ const Lt = function({
1365
1365
  }
1366
1366
  );
1367
1367
  };
1368
- Lt.displayName = "PageChip";
1369
- const Fn = [
1368
+ Ft.displayName = "PageChip";
1369
+ const In = [
1370
1370
  {
1371
1371
  id: "ORD-1001",
1372
1372
  orderNumber: "ORD-1001",
@@ -1499,7 +1499,7 @@ const Fn = [
1499
1499
  date: "2026-03-01",
1500
1500
  skuCount: 9
1501
1501
  }
1502
- ], Ln = [
1502
+ ], En = [
1503
1503
  {
1504
1504
  id: "ITEM-001",
1505
1505
  sku: "PB-4520",
@@ -1642,7 +1642,7 @@ function ze(e) {
1642
1642
  function Be(e) {
1643
1643
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1644
1644
  }
1645
- const J = F.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), On = [
1645
+ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), An = [
1646
1646
  {
1647
1647
  field: "id",
1648
1648
  headerName: "Order",
@@ -1694,7 +1694,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1694
1694
  cellClassName: "gloss-tabular-nums",
1695
1695
  renderCell: ({ row: e }) => e.date ? Be(e.date) : ""
1696
1696
  }
1697
- ], $n = [
1697
+ ], Fn = [
1698
1698
  {
1699
1699
  field: "sku",
1700
1700
  headerName: "Item ID",
@@ -1764,14 +1764,14 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1764
1764
  { id: "c-003", label: "Mountain View Store" },
1765
1765
  { id: "c-004", label: "Downtown Decor" },
1766
1766
  { id: "c-005", label: "Pacific Coast Imports" }
1767
- ], $t = [
1767
+ ], Lt = [
1768
1768
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1769
1769
  { id: "i-002", label: "Coastal Wave Candle Set" },
1770
1770
  { id: "i-003", label: "Walnut Console Table" },
1771
1771
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1772
1772
  { id: "i-005", label: "Velvet Accent Cushion" }
1773
1773
  ], ie = (e) => {
1774
- }, zt = (e) => {
1774
+ }, $t = (e) => {
1775
1775
  }, Ne = (e, t) => {
1776
1776
  }, Ke = {
1777
1777
  vizState: {
@@ -1782,15 +1782,15 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1782
1782
  timeFrame: "MTD"
1783
1783
  },
1784
1784
  onTypeChange: ie,
1785
- onQuantChange: zt,
1785
+ onQuantChange: $t,
1786
1786
  onEntityTypeChange: ie,
1787
1787
  onEntitySelect: Ne,
1788
1788
  onItemSelect: Ne,
1789
1789
  onTimeFrameChange: ie,
1790
1790
  userType: "sales-agency",
1791
1791
  entityFilterOptions: Ot,
1792
- itemFilterOptions: $t
1793
- }, zn = {
1792
+ itemFilterOptions: Lt
1793
+ }, On = {
1794
1794
  ...Ke,
1795
1795
  vizState: {
1796
1796
  type: "items",
@@ -1799,7 +1799,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1799
1799
  byItem: { id: "i-003", name: "Walnut Console Table" },
1800
1800
  timeFrame: "YTD"
1801
1801
  }
1802
- }, Bn = {
1802
+ }, Ln = {
1803
1803
  ...Ke,
1804
1804
  vizState: {
1805
1805
  type: "orders",
@@ -1812,7 +1812,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1812
1812
  entityFilterOptions: [
1813
1813
  { id: "customers", label: "Customers" }
1814
1814
  ]
1815
- }, Bt = [
1815
+ }, zt = [
1816
1816
  {
1817
1817
  id: "recent-orders",
1818
1818
  label: "Recent Orders",
@@ -1858,7 +1858,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1858
1858
  routeKey: "customer.profile",
1859
1859
  subtitle: "Opens in RepTime"
1860
1860
  }
1861
- ], Kt = [
1861
+ ], Bt = [
1862
1862
  {
1863
1863
  id: "order-items",
1864
1864
  label: "Items in Order",
@@ -1887,7 +1887,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1887
1887
  cellKinds: ["orderId"],
1888
1888
  graphType: "timeline"
1889
1889
  }
1890
- ], Gt = [
1890
+ ], Kt = [
1891
1891
  {
1892
1892
  id: "graph-metric",
1893
1893
  label: "Graph This Metric",
@@ -1915,14 +1915,14 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1915
1915
  cellKinds: ["numeric"],
1916
1916
  tabType: "orders"
1917
1917
  }
1918
- ], Kn = {
1919
- entityName: Bt,
1920
- orderId: Kt,
1921
- numeric: Gt
1922
- }, Gn = [
1918
+ ], $n = {
1919
+ entityName: zt,
1920
+ orderId: Bt,
1921
+ numeric: Kt
1922
+ }, zn = [
1923
1923
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1924
1924
  /* @__PURE__ */ new Date()
1925
- ], Hn = {
1925
+ ], Bn = {
1926
1926
  rangeA: [
1927
1927
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1928
1928
  /* @__PURE__ */ new Date()
@@ -1935,7 +1935,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1935
1935
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1936
1936
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1937
1937
  ]
1938
- }, Wn = {
1938
+ }, Kn = {
1939
1939
  version: 4,
1940
1940
  lastPreset: "mtd",
1941
1941
  pinnedPreset: "mtd",
@@ -1943,7 +1943,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1943
1943
  rangeCount: 1,
1944
1944
  lastPresetB: null,
1945
1945
  lastPresetC: null
1946
- }, Vn = [
1946
+ }, Gn = [
1947
1947
  {
1948
1948
  id: "atlanta-jan",
1949
1949
  label: "Atlanta Market",
@@ -1965,7 +1965,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1965
1965
  endDate: new Date(2026, 3, 22),
1966
1966
  location: "Chicago, IL"
1967
1967
  }
1968
- ], jn = [
1968
+ ], Hn = [
1969
1969
  {
1970
1970
  id: "custom-regional-1",
1971
1971
  label: "Southeast Regional Expo",
@@ -1982,7 +1982,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1982
1982
  location: "Portland, OR",
1983
1983
  isCustom: !0
1984
1984
  }
1985
- ], Un = [
1985
+ ], Wn = [
1986
1986
  {
1987
1987
  id: "atlanta-jan",
1988
1988
  label: "Atlanta Market",
@@ -1999,35 +1999,35 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1999
1999
  location: "New York, NY",
2000
2000
  active: !0
2001
2001
  }
2002
- ], Yn = [
2002
+ ], Vn = [
2003
2003
  { id: "7d", label: "7D" },
2004
2004
  { id: "30d", label: "30D" },
2005
2005
  { id: "60d", label: "60D" },
2006
2006
  { id: "90d", label: "90D" }
2007
- ], Zn = [
2007
+ ], jn = [
2008
2008
  { id: "mtd", label: "MTD" },
2009
2009
  { id: "qtd", label: "QTD" },
2010
2010
  { id: "ytd", label: "YTD" },
2011
2011
  { id: "lytd", label: "LYTD" }
2012
- ], Ht = {
2012
+ ], Gt = {
2013
2013
  timeframe: "Time Frame",
2014
2014
  threshold: "Thresholds",
2015
2015
  slots: "Slots",
2016
2016
  size: "Size",
2017
2017
  color: "Color",
2018
2018
  pinned: "Pinned"
2019
- }, Wt = {
2020
- timeframe: ct,
2021
- threshold: dt,
2022
- slots: ut,
2023
- size: mt,
2024
- color: pt,
2025
- pinned: gt
2019
+ }, Ht = {
2020
+ timeframe: lt,
2021
+ threshold: ct,
2022
+ slots: dt,
2023
+ size: ut,
2024
+ color: mt,
2025
+ pinned: pt
2026
2026
  };
2027
2027
  function Se(...e) {
2028
2028
  return e.filter(Boolean).join(" ");
2029
2029
  }
2030
- function Vt() {
2030
+ function Wt() {
2031
2031
  const [e, t] = I(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
2032
2032
  return A(() => {
2033
2033
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
@@ -2037,42 +2037,42 @@ function Vt() {
2037
2037
  });
2038
2038
  }, []), e;
2039
2039
  }
2040
- const jt = ({
2040
+ const Vt = ({
2041
2041
  dimensions: e,
2042
2042
  onDimensionSelect: t,
2043
2043
  activeDimension: n,
2044
2044
  ariaCardTypeLabel: a,
2045
2045
  className: s
2046
2046
  }) => {
2047
- const i = P(null), o = P([]), l = Vt(), m = re(() => Array.from(e), [e]);
2047
+ const i = P(null), o = P([]), l = Wt(), m = re(() => Array.from(e), [e]);
2048
2048
  if (m.length === 0) return null;
2049
- const u = a ? `Configure ${a}: choose a dimension` : void 0, c = l ? "10ms" : "200ms", h = (d, p) => {
2049
+ const d = a ? `Configure ${a}: choose a dimension` : void 0, u = l ? "10ms" : "200ms", h = (c, p) => {
2050
2050
  const w = m.length - 1, k = (f) => {
2051
2051
  const b = o.current[f];
2052
2052
  b && b.focus();
2053
2053
  };
2054
- switch (d.key) {
2054
+ switch (c.key) {
2055
2055
  case "ArrowRight":
2056
2056
  case "ArrowDown": {
2057
- d.preventDefault(), k(p === w ? 0 : p + 1);
2057
+ c.preventDefault(), k(p === w ? 0 : p + 1);
2058
2058
  break;
2059
2059
  }
2060
2060
  case "ArrowLeft":
2061
2061
  case "ArrowUp": {
2062
- d.preventDefault(), k(p === 0 ? w : p - 1);
2062
+ c.preventDefault(), k(p === 0 ? w : p - 1);
2063
2063
  break;
2064
2064
  }
2065
2065
  case "Home": {
2066
- d.preventDefault(), k(0);
2066
+ c.preventDefault(), k(0);
2067
2067
  break;
2068
2068
  }
2069
2069
  case "End": {
2070
- d.preventDefault(), k(w);
2070
+ c.preventDefault(), k(w);
2071
2071
  break;
2072
2072
  }
2073
2073
  case "Enter":
2074
2074
  case " ": {
2075
- d.preventDefault(), t(m[p]);
2075
+ c.preventDefault(), t(m[p]);
2076
2076
  break;
2077
2077
  }
2078
2078
  }
@@ -2082,16 +2082,16 @@ const jt = ({
2082
2082
  {
2083
2083
  ref: i,
2084
2084
  role: "group",
2085
- "aria-label": u,
2085
+ "aria-label": d,
2086
2086
  className: Se("gloss-reconfig-backside-buttons", s),
2087
2087
  style: {
2088
2088
  // Expose the reduced-motion-resolved duration as a CSS custom prop
2089
2089
  // so the SCSS transition rule can consume it without a nested media
2090
2090
  // query in the JS. Also surfaces the value for the unit test.
2091
- "--gloss-reconfig-backside-buttons-transition-duration": c
2091
+ "--gloss-reconfig-backside-buttons-transition-duration": u
2092
2092
  },
2093
- children: m.map((d, p) => {
2094
- const w = Wt[d], k = n === d;
2093
+ children: m.map((c, p) => {
2094
+ const w = Ht[c], k = n === c;
2095
2095
  return /* @__PURE__ */ y(
2096
2096
  "button",
2097
2097
  {
@@ -2099,13 +2099,13 @@ const jt = ({
2099
2099
  o.current[p] = f;
2100
2100
  },
2101
2101
  type: "button",
2102
- "data-dimension": d,
2102
+ "data-dimension": c,
2103
2103
  className: Se(
2104
2104
  "gloss-reconfig-backside-buttons__button",
2105
2105
  k && "gloss-reconfig-backside-buttons__button--active"
2106
2106
  ),
2107
2107
  "aria-current": k ? "true" : void 0,
2108
- onClick: () => t(d),
2108
+ onClick: () => t(c),
2109
2109
  onKeyDown: (f) => h(f, p),
2110
2110
  children: [
2111
2111
  /* @__PURE__ */ r(
@@ -2115,17 +2115,17 @@ const jt = ({
2115
2115
  "aria-hidden": "true"
2116
2116
  }
2117
2117
  ),
2118
- /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Ht[d] })
2118
+ /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Gt[c] })
2119
2119
  ]
2120
2120
  },
2121
- d
2121
+ c
2122
2122
  );
2123
2123
  })
2124
2124
  }
2125
2125
  );
2126
2126
  };
2127
- jt.displayName = "ReconfigBacksideButtons";
2128
- function B(e, t) {
2127
+ Vt.displayName = "ReconfigBacksideButtons";
2128
+ function z(e, t) {
2129
2129
  return {
2130
2130
  id: e,
2131
2131
  colSpan: 1,
@@ -2147,36 +2147,36 @@ function B(e, t) {
2147
2147
  }
2148
2148
  function ke(e, t) {
2149
2149
  return {
2150
- ...B(e, t),
2150
+ ...z(e, t),
2151
2151
  colSpan: 2
2152
2152
  };
2153
2153
  }
2154
- const qn = [
2155
- B("total-revenue", "Total Revenue"),
2156
- B("total-orders", "Total Orders"),
2154
+ const Un = [
2155
+ z("total-revenue", "Total Revenue"),
2156
+ z("total-orders", "Total Orders"),
2157
2157
  ke("revenue-trend", "Revenue Trend (2x)"),
2158
- B("avg-order", "Avg Order Value"),
2159
- B("new-customers", "New Customers"),
2160
- B("top-salesperson", "Top Salesperson"),
2158
+ z("avg-order", "Avg Order Value"),
2159
+ z("new-customers", "New Customers"),
2160
+ z("top-salesperson", "Top Salesperson"),
2161
2161
  ke("order-trend", "Order Trend (2x)"),
2162
- B("repeat-rate", "Repeat Rate"),
2163
- B("open-orders", "Open Orders"),
2164
- B("shipped-orders", "Shipped Orders")
2165
- ], Qn = {
2162
+ z("repeat-rate", "Repeat Rate"),
2163
+ z("open-orders", "Open Orders"),
2164
+ z("shipped-orders", "Shipped Orders")
2165
+ ], Yn = {
2166
2166
  columns: 6,
2167
2167
  rowHeight: 120,
2168
2168
  gap: 15,
2169
2169
  maxRows: 3,
2170
2170
  currentPage: 0,
2171
2171
  totalPages: 1
2172
- }, Xn = {
2172
+ }, Zn = {
2173
2173
  columns: 9,
2174
2174
  rowHeight: 120,
2175
2175
  gap: 15,
2176
2176
  maxRows: 3,
2177
2177
  currentPage: 0,
2178
2178
  totalPages: 2
2179
- }, Jn = {
2179
+ }, qn = {
2180
2180
  columns: 12,
2181
2181
  rowHeight: 120,
2182
2182
  gap: 15,
@@ -2187,7 +2187,7 @@ const qn = [
2187
2187
  function oe(e) {
2188
2188
  return F.createElement("span", { style: { fontSize: 14 } }, e);
2189
2189
  }
2190
- const er = [
2190
+ const Qn = [
2191
2191
  {
2192
2192
  id: "all-orders",
2193
2193
  type: "orders",
@@ -2210,7 +2210,7 @@ const er = [
2210
2210
  icon: oe("🚚"),
2211
2211
  closable: !0
2212
2212
  }
2213
- ], tr = [
2213
+ ], Xn = [
2214
2214
  {
2215
2215
  id: "orders-main",
2216
2216
  type: "orders",
@@ -2236,7 +2236,7 @@ const er = [
2236
2236
  name: "Customers",
2237
2237
  closable: !0
2238
2238
  }
2239
- ], ar = [
2239
+ ], Jn = [
2240
2240
  {
2241
2241
  id: "only-tab",
2242
2242
  type: "orders",
@@ -2244,7 +2244,7 @@ const er = [
2244
2244
  closable: !1,
2245
2245
  autoCreated: !0
2246
2246
  }
2247
- ], nr = [
2247
+ ], er = [
2248
2248
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
2249
2249
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
2250
2250
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -2267,7 +2267,7 @@ function pe(e) {
2267
2267
  return { cols: 1, rows: 1 };
2268
2268
  }
2269
2269
  }
2270
- function Ut(e) {
2270
+ function jt(e) {
2271
2271
  let t = 0;
2272
2272
  for (const a of e) {
2273
2273
  const s = pe(a.size), i = a.gridPosition.col + s.cols - 1;
@@ -2275,7 +2275,7 @@ function Ut(e) {
2275
2275
  }
2276
2276
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
2277
2277
  }
2278
- const Yt = function(t) {
2278
+ const Ut = function(t) {
2279
2279
  if (t.renderMode === "discrete")
2280
2280
  return /* @__PURE__ */ r(
2281
2281
  "div",
@@ -2344,7 +2344,7 @@ const Yt = function(t) {
2344
2344
  style: {
2345
2345
  display: "grid",
2346
2346
  gap: "var(--gloss-spacing-2, 8px)",
2347
- gridTemplateColumns: Ut(n)
2347
+ gridTemplateColumns: jt(n)
2348
2348
  },
2349
2349
  children: n.map((s) => {
2350
2350
  const i = pe(s.size);
@@ -2367,13 +2367,13 @@ const Yt = function(t) {
2367
2367
  }
2368
2368
  );
2369
2369
  };
2370
- Yt.displayName = "MetricGroupContainer";
2371
- const Ge = "resize.tuning.dev", Zt = {
2372
- ...St,
2370
+ Ut.displayName = "MetricGroupContainer";
2371
+ const Ge = "resize.tuning.dev", Yt = {
2372
+ ...Nt,
2373
2373
  snapInPx: 60,
2374
2374
  snapOutPx: 90
2375
- }, V = Zt;
2376
- function qt() {
2375
+ }, V = Yt;
2376
+ function Zt() {
2377
2377
  if (typeof window > "u") return { ...V };
2378
2378
  try {
2379
2379
  const e = window.localStorage.getItem(Ge);
@@ -2384,8 +2384,8 @@ function qt() {
2384
2384
  return { ...V };
2385
2385
  }
2386
2386
  }
2387
- function Qt() {
2388
- const [e, t] = I(() => qt());
2387
+ function qt() {
2388
+ const [e, t] = I(() => Zt());
2389
2389
  A(() => {
2390
2390
  if (!(typeof window > "u"))
2391
2391
  try {
@@ -2408,7 +2408,7 @@ function Qt() {
2408
2408
  }, []);
2409
2409
  return { values: e, setValue: n, resetRow: a, resetAll: s };
2410
2410
  }
2411
- const Xt = [
2411
+ const Qt = [
2412
2412
  { key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
2413
2413
  { key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
2414
2414
  { key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
@@ -2419,10 +2419,10 @@ const Xt = [
2419
2419
  { key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
2420
2420
  { key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
2421
2421
  ];
2422
- function Jt(e, t) {
2422
+ function Xt(e, t) {
2423
2423
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2424
2424
  }
2425
- function ea() {
2425
+ function Jt() {
2426
2426
  return /* @__PURE__ */ y(
2427
2427
  "svg",
2428
2428
  {
@@ -2442,7 +2442,7 @@ function ea() {
2442
2442
  }
2443
2443
  );
2444
2444
  }
2445
- function ta({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
2445
+ function ea({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
2446
2446
  const i = N(
2447
2447
  (o) => {
2448
2448
  (o.key === "r" || o.key === "R") && (o.preventDefault(), a());
@@ -2458,7 +2458,7 @@ function ta({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
2458
2458
  children: [
2459
2459
  /* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2460
2460
  /* @__PURE__ */ y("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2461
- Jt(t, e.step),
2461
+ Xt(t, e.step),
2462
2462
  e.unit ? ` ${e.unit}` : ""
2463
2463
  ] }),
2464
2464
  /* @__PURE__ */ r(
@@ -2482,14 +2482,14 @@ function ta({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
2482
2482
  className: "gloss-dev-tuning-panel__reset",
2483
2483
  "aria-label": `Reset ${e.label}`,
2484
2484
  onClick: a,
2485
- children: /* @__PURE__ */ r(ea, {})
2485
+ children: /* @__PURE__ */ r(Jt, {})
2486
2486
  }
2487
2487
  )
2488
2488
  ]
2489
2489
  }
2490
2490
  );
2491
2491
  }
2492
- function aa() {
2492
+ function ta() {
2493
2493
  if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
2494
2494
  try {
2495
2495
  return new URLSearchParams(window.location.search).has("devtune");
@@ -2497,23 +2497,23 @@ function aa() {
2497
2497
  return !1;
2498
2498
  }
2499
2499
  }
2500
- function na(e = {}) {
2501
- return aa() ? /* @__PURE__ */ r(ra, {}) : null;
2500
+ function aa(e = {}) {
2501
+ return ta() ? /* @__PURE__ */ r(na, {}) : null;
2502
2502
  }
2503
- na.displayName = "DevTuningPanel";
2504
- function ra() {
2505
- const e = Qt(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = I(null), l = P(null), m = N((d) => {
2506
- l.current && clearTimeout(l.current), o(d), l.current = setTimeout(() => {
2503
+ aa.displayName = "DevTuningPanel";
2504
+ function na() {
2505
+ const e = qt(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = I(null), l = P(null), m = N((c) => {
2506
+ l.current && clearTimeout(l.current), o(c), l.current = setTimeout(() => {
2507
2507
  o(null), l.current = null;
2508
2508
  }, 200);
2509
- }, []), u = N(
2510
- (d, p) => {
2511
- n(d, p), d === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), m("snapOutPx"));
2509
+ }, []), d = N(
2510
+ (c, p) => {
2511
+ n(c, p), c === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), m("snapOutPx"));
2512
2512
  },
2513
2513
  [n, t.snapOutPx, m]
2514
- ), c = re(() => Xt, []), h = st();
2514
+ ), u = re(() => Qt, []), h = st();
2515
2515
  return /* @__PURE__ */ y(
2516
- z.div,
2516
+ G.div,
2517
2517
  {
2518
2518
  className: "gloss-dev-tuning-panel",
2519
2519
  role: "region",
@@ -2528,23 +2528,23 @@ function ra() {
2528
2528
  "div",
2529
2529
  {
2530
2530
  className: "gloss-dev-tuning-panel__header",
2531
- onPointerDown: (d) => h.start(d),
2531
+ onPointerDown: (c) => h.start(c),
2532
2532
  children: [
2533
2533
  /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2534
2534
  /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2535
2535
  ]
2536
2536
  }
2537
2537
  ),
2538
- /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: c.map((d) => /* @__PURE__ */ r(
2539
- ta,
2538
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: u.map((c) => /* @__PURE__ */ r(
2539
+ ea,
2540
2540
  {
2541
- spec: d,
2542
- value: t[d.key],
2543
- onChange: (p) => u(d.key, p),
2544
- onReset: () => a(d.key),
2545
- flashing: i === d.key
2541
+ spec: c,
2542
+ value: t[c.key],
2543
+ onChange: (p) => d(c.key, p),
2544
+ onReset: () => a(c.key),
2545
+ flashing: i === c.key
2546
2546
  },
2547
- d.key
2547
+ c.key
2548
2548
  )) }),
2549
2549
  /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ r(
2550
2550
  "button",
@@ -2559,7 +2559,7 @@ function ra() {
2559
2559
  }
2560
2560
  );
2561
2561
  }
2562
- function rr({
2562
+ function tr({
2563
2563
  state: e,
2564
2564
  originX: t,
2565
2565
  originY: n,
@@ -2569,22 +2569,22 @@ function rr({
2569
2569
  snapBoundariesX: o,
2570
2570
  topY: l,
2571
2571
  bottomY: m,
2572
- enterMs: u = U.envelopeEnterMs,
2573
- exitMs: c = U.envelopeExitMs,
2572
+ enterMs: d = U.envelopeEnterMs,
2573
+ exitMs: u = U.envelopeExitMs,
2574
2574
  className: h,
2575
- style: d
2575
+ style: c
2576
2576
  }) {
2577
2577
  if (e === "hidden") return null;
2578
2578
  const p = Math.max(0, s - a), w = Math.max(0, m - l), k = {
2579
- "--gloss-resize-envelope-enter-ms": `${u}ms`,
2580
- "--gloss-resize-envelope-exit-ms": `${c}ms`,
2579
+ "--gloss-resize-envelope-enter-ms": `${d}ms`,
2580
+ "--gloss-resize-envelope-exit-ms": `${u}ms`,
2581
2581
  "--gloss-resize-envelope-origin-x": `${t - a}px`,
2582
2582
  "--gloss-resize-envelope-origin-y": `${n - l}px`,
2583
2583
  left: a,
2584
2584
  top: l,
2585
2585
  width: p,
2586
2586
  height: w,
2587
- ...d
2587
+ ...c
2588
2588
  };
2589
2589
  return /* @__PURE__ */ y(
2590
2590
  "div",
@@ -2632,7 +2632,7 @@ function rr({
2632
2632
  }
2633
2633
  );
2634
2634
  }
2635
- function sr({
2635
+ function ar({
2636
2636
  density: e,
2637
2637
  canAccept: t,
2638
2638
  blocked: n = !1,
@@ -2643,12 +2643,12 @@ function sr({
2643
2643
  children: l,
2644
2644
  ...m
2645
2645
  }) {
2646
- const u = a != null ? { ...m.style, "--_proximity-opacity": String(a) } : m.style;
2646
+ const d = a != null ? { ...m.style, "--_proximity-opacity": String(a) } : m.style;
2647
2647
  return /* @__PURE__ */ r(
2648
2648
  "div",
2649
2649
  {
2650
2650
  ...m,
2651
- style: u,
2651
+ style: d,
2652
2652
  "data-density": e,
2653
2653
  "data-can-accept": t ? "true" : "false",
2654
2654
  "data-blocked": n ? "true" : void 0,
@@ -2665,11 +2665,11 @@ function sr({
2665
2665
  }
2666
2666
  );
2667
2667
  }
2668
- function sa(e, t, n, a) {
2668
+ function ra(e, t, n, a) {
2669
2669
  const s = (e + n) / 2, i = Math.min(t, a) - 40;
2670
2670
  return `M${e},${t} Q${s},${i} ${n},${a}`;
2671
2671
  }
2672
- function ir({
2672
+ function nr({
2673
2673
  segments: e,
2674
2674
  durationMs: t = U.spilloverArcDurationMs,
2675
2675
  staggerMs: n = U.spilloverStaggerMs,
@@ -2689,7 +2689,7 @@ function ir({
2689
2689
  {
2690
2690
  "data-arc-id": i.id,
2691
2691
  className: "gloss-spillover-arc__path",
2692
- d: sa(i.fromX, i.fromY, i.toX, i.toY),
2692
+ d: ra(i.fromX, i.fromY, i.toX, i.toY),
2693
2693
  style: {
2694
2694
  animationDelay: `${o * n}ms`,
2695
2695
  animationDuration: `${t}ms`
@@ -2700,7 +2700,7 @@ function ir({
2700
2700
  }
2701
2701
  );
2702
2702
  }
2703
- function or({
2703
+ function rr({
2704
2704
  state: e,
2705
2705
  staggerIndex: t = 0,
2706
2706
  fadeInMs: n = U.sectionDividerFadeInMs,
@@ -2711,7 +2711,7 @@ function or({
2711
2711
  style: l,
2712
2712
  ...m
2713
2713
  }) {
2714
- const u = {
2714
+ const d = {
2715
2715
  "--gloss-section-divider-fade-in-ms": `${n}ms`,
2716
2716
  "--gloss-section-divider-fade-out-ms": `${a}ms`,
2717
2717
  "--gloss-section-divider-stagger-delay": `${t * s}ms`,
@@ -2730,7 +2730,7 @@ function or({
2730
2730
  i === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
2731
2731
  o
2732
2732
  ].filter(Boolean).join(" "),
2733
- style: u
2733
+ style: d
2734
2734
  }
2735
2735
  );
2736
2736
  }
@@ -2746,18 +2746,18 @@ const Y = {
2746
2746
  enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
2747
2747
  exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
2748
2748
  translateOffsetPx: 8
2749
- }, lr = {
2749
+ }, sr = {
2750
2750
  shiverCycles: 3,
2751
2751
  shiverAmplitudePx: 2,
2752
2752
  shiverDurationMs: 180,
2753
2753
  validCellOpacity: 0.6
2754
- }, cr = {
2754
+ }, ir = {
2755
2755
  materializeMs: 180,
2756
2756
  dematerializeMs: 140,
2757
2757
  easing: "cubic-bezier(0.22, 1, 0.36, 1)",
2758
2758
  dotStrokePx: 2,
2759
2759
  dividerDashGapPx: 4
2760
- }, dr = {
2760
+ }, or = {
2761
2761
  cascadeStaggerMs: 0,
2762
2762
  cascadeSpringCapMs: 120,
2763
2763
  swingEnterMs: 100,
@@ -2766,7 +2766,7 @@ const Y = {
2766
2766
  provisionalStyle: "opacity",
2767
2767
  shiverMs: 200,
2768
2768
  shiverStyle: "color-flash"
2769
- }, ur = !0, mr = {
2769
+ }, lr = !0, cr = {
2770
2770
  rejectionFill: "var(--gloss-rejection-fill)",
2771
2771
  rejectionStroke: "var(--gloss-rejection-stroke)",
2772
2772
  validFill: "var(--gloss-valid-fill)",
@@ -2807,7 +2807,7 @@ const De = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
2807
2807
  }
2808
2808
  );
2809
2809
  };
2810
- function pr({
2810
+ function dr({
2811
2811
  enabled: e,
2812
2812
  onCollapse: t,
2813
2813
  onAdd: n,
@@ -2818,14 +2818,14 @@ function pr({
2818
2818
  onPack: l,
2819
2819
  ariaLabel: m
2820
2820
  }) {
2821
- const u = a ?? "Add card to this cell", c = s ?? m ?? "Pack row — shift cards left", h = t ?? l, { affordancesVisible: d } = Qe();
2822
- return /* @__PURE__ */ y(K.Fragment, { children: [
2823
- /* @__PURE__ */ r(De, { visible: d, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2821
+ const d = a ?? "Add card to this cell", u = s ?? m ?? "Pack row — shift cards left", h = t ?? l, { affordancesVisible: c } = Qe();
2822
+ return /* @__PURE__ */ y(B.Fragment, { children: [
2823
+ /* @__PURE__ */ r(De, { visible: c, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2824
2824
  "button",
2825
2825
  {
2826
2826
  type: "button",
2827
2827
  "data-testid": "gloss-empty-cell-add",
2828
- "aria-label": u,
2828
+ "aria-label": d,
2829
2829
  className: [
2830
2830
  "gloss-empty-cell-pack-affordance",
2831
2831
  "gloss-empty-cell-pack-affordance--add",
@@ -2838,12 +2838,12 @@ function pr({
2838
2838
  children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "+" })
2839
2839
  }
2840
2840
  ) }),
2841
- /* @__PURE__ */ r(De, { visible: e && d, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2841
+ /* @__PURE__ */ r(De, { visible: e && c, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2842
2842
  "button",
2843
2843
  {
2844
2844
  type: "button",
2845
2845
  "data-testid": "gloss-empty-cell-pack",
2846
- "aria-label": c,
2846
+ "aria-label": u,
2847
2847
  className: ["gloss-empty-cell-pack-affordance", i].filter(Boolean).join(" "),
2848
2848
  style: o,
2849
2849
  onClick: (p) => {
@@ -2854,7 +2854,7 @@ function pr({
2854
2854
  ) })
2855
2855
  ] });
2856
2856
  }
2857
- function gr({
2857
+ function ur({
2858
2858
  tint: e,
2859
2859
  colSpan: t,
2860
2860
  colWidth: n,
@@ -2865,11 +2865,11 @@ function gr({
2865
2865
  children: l,
2866
2866
  className: m
2867
2867
  }) {
2868
- const u = t * n + (t - 1) * s, c = K.useRef(null);
2868
+ const d = t * n + (t - 1) * s, u = B.useRef(null);
2869
2869
  return de("drag-ghost", () => {
2870
2870
  if (process.env.NODE_ENV === "production")
2871
2871
  return { values: {}, spec: null, state: "idle", t: performance.now() };
2872
- const h = c.current?.getBoundingClientRect() ?? null;
2872
+ const h = u.current?.getBoundingClientRect() ?? null;
2873
2873
  return {
2874
2874
  values: {
2875
2875
  x: i.get(),
@@ -2892,12 +2892,12 @@ function gr({
2892
2892
  }), de("commit-ghost-singleton", () => {
2893
2893
  if (process.env.NODE_ENV === "production")
2894
2894
  return { values: {}, spec: null, state: "idle", t: performance.now() };
2895
- const h = c.current;
2896
- let d = 0, p = "", w = "", k = "";
2895
+ const h = u.current;
2896
+ let c = 0, p = "", w = "", k = "";
2897
2897
  if (h)
2898
2898
  try {
2899
2899
  const x = window.getComputedStyle(h), C = x.outline || "", S = x.border || "", T = x.boxShadow || "", g = !!C && C !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(C), v = !!S && S !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(S), _ = !!T && T !== "none";
2900
- d = g || v || _ ? 1 : 0, p = g ? C : "", w = v ? S : "", k = _ ? T : "";
2900
+ c = g || v || _ ? 1 : 0, p = g ? C : "", w = v ? S : "", k = _ ? T : "";
2901
2901
  } catch {
2902
2902
  }
2903
2903
  const f = h?.getBoundingClientRect() ?? null, b = h ? "drag-clone" : "subsumed-by-tracking-outline";
@@ -2910,7 +2910,7 @@ function gr({
2910
2910
  bounds_w: f?.width ?? 0,
2911
2911
  bounds_h: f?.height ?? 0,
2912
2912
  visible: h ? 1 : 0,
2913
- outlineOnClone: d
2913
+ outlineOnClone: c
2914
2914
  },
2915
2915
  spec: {
2916
2916
  mode: b,
@@ -2927,9 +2927,9 @@ function gr({
2927
2927
  t: performance.now()
2928
2928
  };
2929
2929
  }), /* @__PURE__ */ r(
2930
- z.div,
2930
+ G.div,
2931
2931
  {
2932
- ref: c,
2932
+ ref: u,
2933
2933
  "data-testid": "gloss-drag-ghost",
2934
2934
  "data-tint": e,
2935
2935
  "aria-hidden": "true",
@@ -2938,12 +2938,12 @@ function gr({
2938
2938
  `gloss-drag-ghost--tint-${e}`,
2939
2939
  m
2940
2940
  ].filter(Boolean).join(" "),
2941
- style: { x: i, y: o, width: u, height: a },
2941
+ style: { x: i, y: o, width: d, height: a },
2942
2942
  children: l
2943
2943
  }
2944
2944
  );
2945
2945
  }
2946
- const ia = 3;
2946
+ const sa = 3;
2947
2947
  function We({
2948
2948
  gesture: e,
2949
2949
  cell: t,
@@ -2954,9 +2954,9 @@ function We({
2954
2954
  pattern: o = "solid",
2955
2955
  transitionMs: l = 120,
2956
2956
  className: m,
2957
- motionWidth: u
2957
+ motionWidth: d
2958
2958
  }) {
2959
- const c = n * a + (n - 1) * s, d = (t.section * ia + t.col) * (a + s), p = t.row * (i + s), w = e === "resize" ? 2.5 : 2, k = o === "dashed-retreated" ? "dashed" : "solid", f = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", b = {
2959
+ const u = n * a + (n - 1) * s, c = (t.section * sa + t.col) * (a + s), p = t.row * (i + s), w = e === "resize" ? 2.5 : 2, k = o === "dashed-retreated" ? "dashed" : "solid", f = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", b = {
2960
2960
  className: [
2961
2961
  "gloss-tracking-outline",
2962
2962
  `gloss-tracking-outline--${e}`,
@@ -2972,13 +2972,13 @@ function We({
2972
2972
  "data-pattern": o,
2973
2973
  "aria-hidden": "true"
2974
2974
  };
2975
- return u ? /* @__PURE__ */ r(
2976
- z.div,
2975
+ return d ? /* @__PURE__ */ r(
2976
+ G.div,
2977
2977
  {
2978
2978
  ...b,
2979
2979
  style: {
2980
- transform: `translate(${d}px, ${p}px)`,
2981
- width: u,
2980
+ transform: `translate(${c}px, ${p}px)`,
2981
+ width: d,
2982
2982
  height: i,
2983
2983
  borderWidth: w,
2984
2984
  borderStyle: k
@@ -2989,8 +2989,8 @@ function We({
2989
2989
  {
2990
2990
  ...b,
2991
2991
  style: {
2992
- transform: `translate(${d}px, ${p}px)`,
2993
- width: c,
2992
+ transform: `translate(${c}px, ${p}px)`,
2993
+ width: u,
2994
2994
  height: i,
2995
2995
  borderWidth: w,
2996
2996
  borderStyle: k,
@@ -2999,24 +2999,24 @@ function We({
2999
2999
  }
3000
3000
  );
3001
3001
  }
3002
- function hr(e) {
3002
+ function mr(e) {
3003
3003
  return /* @__PURE__ */ r(We, { gesture: "drag", pattern: "solid", ...e });
3004
3004
  }
3005
- function fr({
3005
+ function pr({
3006
3006
  items: e,
3007
3007
  children: t,
3008
3008
  className: n,
3009
3009
  debugMagenta: a
3010
3010
  }) {
3011
- const s = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), i = K.useRef(e);
3011
+ const s = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), i = B.useRef(e);
3012
3012
  return i.current = e, de("cascade-preview", () => {
3013
3013
  if (process.env.NODE_ENV === "production")
3014
3014
  return { values: {}, spec: null, state: "idle", t: performance.now() };
3015
3015
  const o = i.current;
3016
- let l = 0, m = 0, u = 0, c = 0;
3016
+ let l = 0, m = 0, d = 0, u = 0;
3017
3017
  for (const h of o) {
3018
- const d = h.x.get(), p = h.y.get();
3019
- Math.abs(d) > Math.abs(u) && (u = d, l = d), Math.abs(p) > Math.abs(c) && (c = p, m = p);
3018
+ const c = h.x.get(), p = h.y.get();
3019
+ Math.abs(c) > Math.abs(d) && (d = c, l = c), Math.abs(p) > Math.abs(u) && (u = p, m = p);
3020
3020
  }
3021
3021
  return {
3022
3022
  values: {
@@ -3035,7 +3035,7 @@ function fr({
3035
3035
  t: performance.now()
3036
3036
  };
3037
3037
  }), e.length === 0 ? null : /* @__PURE__ */ r($, { children: e.map((o) => /* @__PURE__ */ r(
3038
- z.div,
3038
+ G.div,
3039
3039
  {
3040
3040
  "data-card-id": o.cardId,
3041
3041
  "data-testid": "gloss-cascade-preview-item",
@@ -3056,17 +3056,17 @@ function fr({
3056
3056
  o.cardId
3057
3057
  )) });
3058
3058
  }
3059
- const oa = ({
3059
+ const ia = ({
3060
3060
  consumed: e,
3061
3061
  elapsed: t,
3062
3062
  severity: n = "neutral"
3063
3063
  }) => {
3064
3064
  const a = P(null), s = P(null);
3065
3065
  A(() => {
3066
- const l = Math.min(100, Math.max(0, e.value)), m = Math.min(100, Math.max(0, t.value)), u = requestAnimationFrame(() => {
3066
+ const l = Math.min(100, Math.max(0, e.value)), m = Math.min(100, Math.max(0, t.value)), d = requestAnimationFrame(() => {
3067
3067
  a.current && (a.current.style.width = `${l}%`), s.current && (s.current.style.width = `${m}%`);
3068
3068
  });
3069
- return () => cancelAnimationFrame(u);
3069
+ return () => cancelAnimationFrame(d);
3070
3070
  }, [e.value, t.value]);
3071
3071
  const i = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
3072
3072
  return /* @__PURE__ */ y(
@@ -3119,7 +3119,7 @@ const oa = ({
3119
3119
  ]
3120
3120
  }
3121
3121
  );
3122
- }, la = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ y(
3122
+ }, oa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ y(
3123
3123
  "div",
3124
3124
  {
3125
3125
  className: `gloss-gap-readout gloss-gap-readout--${n}`,
@@ -3132,7 +3132,7 @@ const oa = ({
3132
3132
  ] })
3133
3133
  ]
3134
3134
  }
3135
- ), ca = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ y("div", { className: "gloss-pace-placeholder", children: [
3135
+ ), la = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ y("div", { className: "gloss-pace-placeholder", children: [
3136
3136
  /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
3137
3137
  /* @__PURE__ */ y("p", { className: "gloss-pace-placeholder__context", children: [
3138
3138
  "for ",
@@ -3148,9 +3148,9 @@ const oa = ({
3148
3148
  children: "Set target"
3149
3149
  }
3150
3150
  )
3151
- ] }), br = (e) => {
3151
+ ] }), gr = (e) => {
3152
3152
  const [t, n] = I(!1), a = e.target?.value, s = a !== void 0, i = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
3153
- ht,
3153
+ gt,
3154
3154
  {
3155
3155
  label: `Set a target for ${e.label}`,
3156
3156
  unit: i,
@@ -3177,16 +3177,16 @@ const oa = ({
3177
3177
  e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
3178
3178
  /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ y($, { children: [
3179
3179
  /* @__PURE__ */ r(
3180
- oa,
3180
+ ia,
3181
3181
  {
3182
3182
  consumed: e.consumed,
3183
3183
  elapsed: e.elapsed,
3184
3184
  severity: e.severity
3185
3185
  }
3186
3186
  ),
3187
- /* @__PURE__ */ r(la, { label: "Gap", value: e.gapLabel, severity: e.severity })
3187
+ /* @__PURE__ */ r(oa, { label: "Gap", value: e.gapLabel, severity: e.severity })
3188
3188
  ] }) : /* @__PURE__ */ r(
3189
- ca,
3189
+ la,
3190
3190
  {
3191
3191
  label: e.label,
3192
3192
  onSetTarget: () => n(!0)
@@ -3195,7 +3195,7 @@ const oa = ({
3195
3195
  ] })
3196
3196
  }
3197
3197
  );
3198
- }, vr = () => /* @__PURE__ */ y("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
3198
+ }, hr = () => /* @__PURE__ */ y("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
3199
3199
  /* @__PURE__ */ r(
3200
3200
  "div",
3201
3201
  {
@@ -3212,7 +3212,7 @@ const oa = ({
3212
3212
  ),
3213
3213
  /* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
3214
3214
  ] });
3215
- function da({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
3215
+ function ca({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
3216
3216
  return /* @__PURE__ */ r(
3217
3217
  "span",
3218
3218
  {
@@ -3233,7 +3233,7 @@ function da({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, o
3233
3233
  }
3234
3234
  );
3235
3235
  }
3236
- function ua({
3236
+ function da({
3237
3237
  lenses: e,
3238
3238
  value: t,
3239
3239
  onChange: n,
@@ -3277,7 +3277,7 @@ function ua({
3277
3277
  },
3278
3278
  className: "gloss-lens-chip-group",
3279
3279
  children: e.map((l, m) => /* @__PURE__ */ r(
3280
- da,
3280
+ ca,
3281
3281
  {
3282
3282
  id: l.id,
3283
3283
  label: l.label,
@@ -3292,15 +3292,15 @@ function ua({
3292
3292
  }
3293
3293
  );
3294
3294
  }
3295
- ua.displayName = "LensChipGroup";
3296
- function ma({ heading: e, children: t }) {
3295
+ da.displayName = "LensChipGroup";
3296
+ function ua({ heading: e, children: t }) {
3297
3297
  return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ y("section", { className: "gloss-starter-rail", "aria-label": e, children: [
3298
3298
  /* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
3299
3299
  /* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
3300
3300
  ] });
3301
3301
  }
3302
- ma.displayName = "StarterRail";
3303
- function pa({ heading: e, children: t, emptyStateLabel: n }) {
3302
+ ua.displayName = "StarterRail";
3303
+ function ma({ heading: e, children: t, emptyStateLabel: n }) {
3304
3304
  const a = !t || Array.isArray(t) && t.length === 0;
3305
3305
  return /* @__PURE__ */ y("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
3306
3306
  /* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
@@ -3310,8 +3310,8 @@ function pa({ heading: e, children: t, emptyStateLabel: n }) {
3310
3310
  ] })
3311
3311
  ] });
3312
3312
  }
3313
- pa.displayName = "MoreInLensRail";
3314
- function G({
3313
+ ma.displayName = "MoreInLensRail";
3314
+ function K({
3315
3315
  lead: e,
3316
3316
  name: t,
3317
3317
  secondary: n,
@@ -3322,19 +3322,19 @@ function G({
3322
3322
  className: l,
3323
3323
  style: m
3324
3324
  }) {
3325
- const u = [
3325
+ const d = [
3326
3326
  "gloss-entity-row",
3327
3327
  `gloss-entity-row--${i}`,
3328
3328
  o ? "gloss-entity-row--clickable" : "",
3329
3329
  l ?? ""
3330
- ].filter(Boolean).join(" "), c = /* @__PURE__ */ y($, { children: [
3330
+ ].filter(Boolean).join(" "), u = /* @__PURE__ */ y($, { children: [
3331
3331
  e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
3332
3332
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
3333
3333
  n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
3334
3334
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
3335
3335
  s !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: s })
3336
3336
  ] });
3337
- return o ? /* @__PURE__ */ r("div", { role: "listitem", className: u, style: m, children: /* @__PURE__ */ r(
3337
+ return o ? /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: /* @__PURE__ */ r(
3338
3338
  "button",
3339
3339
  {
3340
3340
  type: "button",
@@ -3349,11 +3349,11 @@ function G({
3349
3349
  onClick: (h) => {
3350
3350
  h.stopPropagation(), o();
3351
3351
  },
3352
- children: c
3352
+ children: u
3353
3353
  }
3354
- ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: u, style: m, children: c });
3354
+ ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: u });
3355
3355
  }
3356
- G.displayName = "EntityRow";
3356
+ K.displayName = "EntityRow";
3357
3357
  const ee = ({ rank: e }) => {
3358
3358
  const t = e === 1 ? "first" : "other";
3359
3359
  return /* @__PURE__ */ r(
@@ -3425,8 +3425,8 @@ function ae({ fill: e, variant: t = "default", className: n }) {
3425
3425
  );
3426
3426
  }
3427
3427
  ae.displayName = "MagnitudeBar";
3428
- const ga = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3429
- function ha({
3428
+ const pa = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3429
+ function ga({
3430
3430
  label: e,
3431
3431
  rows: t,
3432
3432
  rowCount: n,
@@ -3449,7 +3449,7 @@ function ha({
3449
3449
  className: `gloss-metric-card__zone-b gloss-leaderboard ${s ? "gloss-metric-data-stale" : ""}`,
3450
3450
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3451
3451
  children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, i).map((o, l) => /* @__PURE__ */ r(
3452
- G,
3452
+ K,
3453
3453
  {
3454
3454
  lead: /* @__PURE__ */ r(ee, { rank: l + 1 }),
3455
3455
  name: o.name,
@@ -3466,7 +3466,7 @@ function ha({
3466
3466
  {
3467
3467
  delta: o.rankDelta,
3468
3468
  direction: o.direction,
3469
- "aria-label": ga(o)
3469
+ "aria-label": pa(o)
3470
3470
  }
3471
3471
  ),
3472
3472
  variant: "leaderboard",
@@ -3482,22 +3482,22 @@ function ha({
3482
3482
  ] })
3483
3483
  ] });
3484
3484
  }
3485
- ha.displayName = "LeaderboardCard";
3486
- const fa = () => /* @__PURE__ */ y(
3485
+ ga.displayName = "LeaderboardCard";
3486
+ const ha = () => /* @__PURE__ */ y(
3487
3487
  "div",
3488
3488
  {
3489
3489
  className: "leaderboard-tile-preview",
3490
3490
  "aria-hidden": "true",
3491
3491
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3492
3492
  children: [
3493
- /* @__PURE__ */ r(G, { lead: /* @__PURE__ */ r(ee, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ae, { fill: 96 }), value: "98%" }),
3494
- /* @__PURE__ */ r(G, { lead: /* @__PURE__ */ r(ee, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ae, { fill: 72 }), value: "85%" }),
3495
- /* @__PURE__ */ r(G, { lead: /* @__PURE__ */ r(ee, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ae, { fill: 48 }), value: "71%" })
3493
+ /* @__PURE__ */ r(K, { lead: /* @__PURE__ */ r(ee, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ae, { fill: 96 }), value: "98%" }),
3494
+ /* @__PURE__ */ r(K, { lead: /* @__PURE__ */ r(ee, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ae, { fill: 72 }), value: "85%" }),
3495
+ /* @__PURE__ */ r(K, { lead: /* @__PURE__ */ r(ee, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ae, { fill: 48 }), value: "71%" })
3496
3496
  ]
3497
3497
  }
3498
3498
  );
3499
- fa.displayName = "LeaderboardTilePreview";
3500
- const ba = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", va = (e, t) => {
3499
+ ha.displayName = "LeaderboardTilePreview";
3500
+ const fa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", ba = (e, t) => {
3501
3501
  const n = e.sourceValue;
3502
3502
  if (typeof n != "number") return !1;
3503
3503
  switch (t.condition) {
@@ -3515,7 +3515,7 @@ const ba = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warni
3515
3515
  return !1;
3516
3516
  }
3517
3517
  };
3518
- function ya({
3518
+ function va({
3519
3519
  label: e,
3520
3520
  rows: t,
3521
3521
  rule: n,
@@ -3524,7 +3524,7 @@ function ya({
3524
3524
  ruleSubtitle: i,
3525
3525
  isStale: o
3526
3526
  }) {
3527
- const l = t.filter((u) => va(u, n)), m = l.slice(0, a ?? 3);
3527
+ const l = t.filter((d) => ba(d, n)), m = l.slice(0, a ?? 3);
3528
3528
  return l.length === 0 ? /* @__PURE__ */ y($, { children: [
3529
3529
  /* @__PURE__ */ r(
3530
3530
  X,
@@ -3550,24 +3550,24 @@ function ya({
3550
3550
  {
3551
3551
  className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
3552
3552
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3553
- children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((u, c) => /* @__PURE__ */ r(
3554
- G,
3553
+ children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((d, u) => /* @__PURE__ */ r(
3554
+ K,
3555
3555
  {
3556
- lead: /* @__PURE__ */ r(te, { severity: u.severity, "aria-label": ba(u.severity) }),
3557
- name: u.name,
3558
- value: u.value,
3556
+ lead: /* @__PURE__ */ r(te, { severity: d.severity, "aria-label": fa(d.severity) }),
3557
+ name: d.name,
3558
+ value: d.value,
3559
3559
  variant: "exception",
3560
- style: { "--i": c }
3560
+ style: { "--i": u }
3561
3561
  },
3562
- u.id
3562
+ d.id
3563
3563
  )) })
3564
3564
  }
3565
3565
  ),
3566
3566
  i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
3567
3567
  ] });
3568
3568
  }
3569
- ya.displayName = "ExceptionListCard";
3570
- const wa = () => /* @__PURE__ */ y(
3569
+ va.displayName = "ExceptionListCard";
3570
+ const ya = () => /* @__PURE__ */ y(
3571
3571
  "div",
3572
3572
  {
3573
3573
  className: "exception-list-tile-preview",
@@ -3575,7 +3575,7 @@ const wa = () => /* @__PURE__ */ y(
3575
3575
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3576
3576
  children: [
3577
3577
  /* @__PURE__ */ r(
3578
- G,
3578
+ K,
3579
3579
  {
3580
3580
  lead: /* @__PURE__ */ r(te, { severity: "critical", "aria-label": "Critical severity" }),
3581
3581
  name: "SKU A",
@@ -3583,7 +3583,7 @@ const wa = () => /* @__PURE__ */ y(
3583
3583
  }
3584
3584
  ),
3585
3585
  /* @__PURE__ */ r(
3586
- G,
3586
+ K,
3587
3587
  {
3588
3588
  lead: /* @__PURE__ */ r(te, { severity: "warn", "aria-label": "Warning severity" }),
3589
3589
  name: "SKU B",
@@ -3591,7 +3591,7 @@ const wa = () => /* @__PURE__ */ y(
3591
3591
  }
3592
3592
  ),
3593
3593
  /* @__PURE__ */ r(
3594
- G,
3594
+ K,
3595
3595
  {
3596
3596
  lead: /* @__PURE__ */ r(te, { severity: "info", "aria-label": "Info severity" }),
3597
3597
  name: "SKU C",
@@ -3601,14 +3601,14 @@ const wa = () => /* @__PURE__ */ y(
3601
3601
  ]
3602
3602
  }
3603
3603
  );
3604
- wa.displayName = "ExceptionListTilePreview";
3604
+ ya.displayName = "ExceptionListTilePreview";
3605
3605
  const xe = ["MTD", "QTD", "YTD", "LYTD", "7D"], Re = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], Te = [
3606
3606
  "M0,7 L10,5 L20,6 L30,3 L40,2",
3607
3607
  "M0,6 L10,4 L20,5 L30,2 L40,1",
3608
3608
  "M0,8 L10,7 L20,5 L30,4 L40,2",
3609
3609
  "M0,5 L10,6 L20,3 L30,4 L40,1",
3610
3610
  "M0,7 L10,4 L20,5 L30,3 L40,2"
3611
- ], _a = ({
3611
+ ], wa = ({
3612
3612
  slotCount: e = 3,
3613
3613
  labels: t = xe,
3614
3614
  sampleValues: n = Re
@@ -3642,8 +3642,8 @@ const xe = ["MTD", "QTD", "YTD", "LYTD", "7D"], Re = ["$248K", "$612K", "$1.24M"
3642
3642
  }
3643
3643
  );
3644
3644
  };
3645
- _a.displayName = "StackedGroupTilePreview";
3646
- const yr = {
3645
+ wa.displayName = "StackedGroupTilePreview";
3646
+ const fr = {
3647
3647
  /** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
3648
3648
  eligibilityTint: { applicableStates: ["arming", "active"] },
3649
3649
  /** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
@@ -3685,8 +3685,8 @@ const yr = {
3685
3685
  rejectionFill: "var(--gloss-g02-rejection-fill)",
3686
3686
  rejectionStroke: "var(--gloss-g02-rejection-stroke)",
3687
3687
  trackingOutline: "var(--gloss-g02-tracking-outline)"
3688
- }, wr = "dashed", _r = "solid", Cr = "sparse-dash", Nr = "2px no-fill", Sr = "6 4", kr = "10 6", Ca = 3;
3689
- function Dr({
3688
+ }, br = "dashed", vr = "solid", yr = "sparse-dash", wr = "2px no-fill", _r = "6 4", Cr = "10 6", _a = 3;
3689
+ function Nr({
3690
3690
  cell: e,
3691
3691
  variant: t,
3692
3692
  rampColor: n,
@@ -3695,10 +3695,10 @@ function Dr({
3695
3695
  gap: i,
3696
3696
  className: o
3697
3697
  }) {
3698
- const m = (e.section * Ca + e.col) * (a + i), u = e.row * (s + i), c = t === "eligibility" ? j.eligibilityFill : t === "commit" ? j.commitFill : t === "rejection" ? j.rejectionFill : (
3698
+ const m = (e.section * _a + e.col) * (a + i), d = e.row * (s + i), u = t === "eligibility" ? j.eligibilityFill : t === "commit" ? j.commitFill : t === "rejection" ? j.rejectionFill : (
3699
3699
  /* ramp */
3700
3700
  n ?? j.eligibilityFill
3701
- ), h = t === "rejection", d = h ? j.rejectionStroke : "transparent", p = h ? "dashed" : "solid";
3701
+ ), h = t === "rejection", c = h ? j.rejectionStroke : "transparent", p = h ? "dashed" : "solid";
3702
3702
  return /* @__PURE__ */ r(
3703
3703
  "div",
3704
3704
  {
@@ -3711,25 +3711,25 @@ function Dr({
3711
3711
  "data-variant": t,
3712
3712
  "aria-hidden": "true",
3713
3713
  style: {
3714
- transform: `translate(${m}px, ${u}px)`,
3714
+ transform: `translate(${m}px, ${d}px)`,
3715
3715
  width: a,
3716
3716
  height: s,
3717
3717
  // Use background-color longhand (NOT background shorthand) so jsdom + DOM
3718
3718
  // both preserve `var(...)` in inline cssText. The shorthand getter strips
3719
3719
  // unknown values and breaks both unit-test introspection and styling.
3720
- backgroundColor: c,
3721
- borderColor: d,
3720
+ backgroundColor: u,
3721
+ borderColor: c,
3722
3722
  borderStyle: p
3723
3723
  }
3724
3724
  }
3725
3725
  );
3726
3726
  }
3727
- const Na = 3, Sa = [
3727
+ const Ca = 3, Na = [
3728
3728
  { idx: 0, peakR: 22, peakOpacity: 0.45, strokeW: 1.5 },
3729
3729
  { idx: 1, peakR: 34, peakOpacity: 0.22, strokeW: 1 },
3730
3730
  { idx: 2, peakR: 46, peakOpacity: 0.1, strokeW: 0.8 }
3731
3731
  ];
3732
- function xr({
3732
+ function Sr({
3733
3733
  cell: e,
3734
3734
  fireKey: t,
3735
3735
  colWidth: n,
@@ -3737,7 +3737,7 @@ function xr({
3737
3737
  gap: s,
3738
3738
  className: i
3739
3739
  }) {
3740
- const l = (e.section * Na + e.col) * (n + s) + n / 2, m = e.row * (a + s) + a / 2;
3740
+ const l = (e.section * Ca + e.col) * (n + s) + n / 2, m = e.row * (a + s) + a / 2;
3741
3741
  return He() === "reduced" ? /* @__PURE__ */ r(
3742
3742
  "div",
3743
3743
  {
@@ -3774,139 +3774,79 @@ function xr({
3774
3774
  top: 0,
3775
3775
  pointerEvents: "none"
3776
3776
  },
3777
- children: Sa.map((c) => {
3778
- const h = c.peakR * 2;
3777
+ children: Na.map((u) => {
3778
+ const h = u.peakR * 2;
3779
3779
  return /* @__PURE__ */ r(
3780
3780
  "div",
3781
3781
  {
3782
- className: `gloss-refuse-pulse__ring gloss-refuse-pulse__ring--${c.idx}`,
3783
- "data-ring-index": c.idx,
3784
- "data-peak-radius": c.peakR,
3785
- "data-peak-opacity": c.peakOpacity,
3782
+ className: `gloss-refuse-pulse__ring gloss-refuse-pulse__ring--${u.idx}`,
3783
+ "data-ring-index": u.idx,
3784
+ "data-peak-radius": u.peakR,
3785
+ "data-peak-opacity": u.peakOpacity,
3786
3786
  style: {
3787
3787
  position: "absolute",
3788
- left: l - c.peakR,
3789
- top: m - c.peakR,
3788
+ left: l - u.peakR,
3789
+ top: m - u.peakR,
3790
3790
  width: h,
3791
3791
  height: h,
3792
3792
  borderRadius: "50%",
3793
3793
  borderStyle: "solid",
3794
- borderWidth: c.strokeW,
3794
+ borderWidth: u.strokeW,
3795
3795
  borderColor: j.rejectionStroke,
3796
3796
  background: "transparent",
3797
3797
  opacity: 0,
3798
3798
  transform: "scale(0)",
3799
3799
  // CSS custom property feeds the keyframe peak opacity.
3800
- "--peak-opacity": c.peakOpacity,
3801
- animation: `gloss-refuse-pulse-ring-${c.idx} 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards`
3800
+ "--peak-opacity": u.peakOpacity,
3801
+ animation: `gloss-refuse-pulse-ring-${u.idx} 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards`
3802
3802
  }
3803
3803
  },
3804
- c.idx
3804
+ u.idx
3805
3805
  );
3806
3806
  })
3807
3807
  },
3808
3808
  t
3809
3809
  );
3810
3810
  }
3811
- function Rr(e) {
3811
+ function kr(e) {
3812
3812
  return /* @__PURE__ */ r(We, { gesture: "resize", ...e });
3813
3813
  }
3814
- const ka = {
3815
- threshold: "Threshold",
3816
- timeframe: "Timeframe",
3817
- slots: "Slots",
3818
- color: "Color"
3819
- };
3820
- function Da({
3821
- dimensions: e,
3822
- activeTab: t,
3823
- onSelect: n,
3824
- reduced: a,
3825
- labels: s,
3826
- ariaLabel: i = "Settings dimensions"
3827
- }) {
3828
- const o = it(), l = a ?? o;
3829
- if (e.length < 2) return null;
3830
- const m = (c) => s?.[c] ?? ka[c], u = (c, h) => {
3831
- c.key === "ArrowRight" ? (c.preventDefault(), n(e[(h + 1) % e.length])) : c.key === "ArrowLeft" ? (c.preventDefault(), n(e[(h - 1 + e.length) % e.length])) : c.key === "Home" ? (c.preventDefault(), n(e[0])) : c.key === "End" && (c.preventDefault(), n(e[e.length - 1]));
3832
- };
3833
- return /* @__PURE__ */ r(
3834
- "div",
3835
- {
3836
- role: "tablist",
3837
- "aria-label": i,
3838
- className: "settings-tab-strip",
3839
- children: e.map((c, h) => {
3840
- const d = t === c;
3841
- return /* @__PURE__ */ y(
3842
- "button",
3843
- {
3844
- role: "tab",
3845
- type: "button",
3846
- id: `settings-tab-${c}`,
3847
- "aria-selected": d,
3848
- "aria-controls": `settings-tabpanel-${c}`,
3849
- tabIndex: d ? 0 : -1,
3850
- className: `settings-tab-strip__tab${d ? " settings-tab-strip__tab--active" : ""}`,
3851
- onClick: () => n(c),
3852
- onKeyDown: (p) => u(p, h),
3853
- children: [
3854
- /* @__PURE__ */ r("span", { className: "settings-tab-strip__label", children: m(c) }),
3855
- d && !l && /* @__PURE__ */ r(
3856
- z.span,
3857
- {
3858
- layoutId: "settings-active-tab-indicator",
3859
- "data-layout-id": "settings-active-tab-indicator",
3860
- className: "settings-tab-strip__indicator",
3861
- "aria-hidden": "true",
3862
- transition: { type: "spring", stiffness: 380, damping: 30 }
3863
- }
3864
- )
3865
- ]
3866
- },
3867
- c
3868
- );
3869
- })
3870
- }
3871
- );
3872
- }
3873
- Da.displayName = "SettingsTabStrip";
3874
- function xa(e, t, n) {
3814
+ function Sa(e, t, n) {
3875
3815
  const a = Math.max(0, Math.min(1, n)), s = (h) => [
3876
3816
  parseInt(h.slice(1, 3), 16),
3877
3817
  parseInt(h.slice(3, 5), 16),
3878
3818
  parseInt(h.slice(5, 7), 16)
3879
- ], [i, o, l] = s(e), [m, u, c] = s(t);
3880
- return `rgb(${Math.round(i + (m - i) * a)}, ${Math.round(o + (u - o) * a)}, ${Math.round(
3881
- l + (c - l) * a
3819
+ ], [i, o, l] = s(e), [m, d, u] = s(t);
3820
+ return `rgb(${Math.round(i + (m - i) * a)}, ${Math.round(o + (d - o) * a)}, ${Math.round(
3821
+ l + (u - l) * a
3882
3822
  )})`;
3883
3823
  }
3884
- function Ra(e) {
3824
+ function ka(e) {
3885
3825
  return e <= 1 ? 1 : e >= 3 ? 3 : 2;
3886
3826
  }
3887
- function Ta(e) {
3827
+ function Da(e) {
3888
3828
  return e === "dragging";
3889
3829
  }
3890
- function Tr(e) {
3891
- const { edgeHover: t, sourceCell: n, cascadeResult: a } = e, i = He() === "reduced", o = K.useRef(t.currentColSpan), l = K.useRef({ armed: !0, fireKey: 0, lastResult: null }), m = K.useRef(t.currentColSpan), u = K.useRef("idle"), c = K.useRef(t.currentColSpan), h = Ta(t.state);
3892
- if (i ? (u.current = "settled", c.current = t.currentColSpan, m.current = t.currentColSpan) : h ? u.current = t.currentColSpan !== m.current ? "incoming" : "outgoing" : (t.currentColSpan !== m.current && (c.current = t.currentColSpan, m.current = t.currentColSpan), u.current !== "idle" && (u.current = "settled")), !h)
3830
+ function Dr(e) {
3831
+ const { edgeHover: t, sourceCell: n, cascadeResult: a } = e, i = He() === "reduced", o = B.useRef(t.currentColSpan), l = B.useRef({ armed: !0, fireKey: 0, lastResult: null }), m = B.useRef(t.currentColSpan), d = B.useRef("idle"), u = B.useRef(t.currentColSpan), h = Da(t.state);
3832
+ if (i ? (d.current = "settled", u.current = t.currentColSpan, m.current = t.currentColSpan) : h ? d.current = t.currentColSpan !== m.current ? "incoming" : "outgoing" : (t.currentColSpan !== m.current && (u.current = t.currentColSpan, m.current = t.currentColSpan), d.current !== "idle" && (d.current = "settled")), !h)
3893
3833
  return l.current.armed = !0, l.current.lastResult = null, {
3894
3834
  trackingOutline: null,
3895
3835
  cellTints: [],
3896
3836
  refusePulse: null,
3897
3837
  shrinkFreedCells: [],
3898
- phase: u.current,
3899
- displayColSpan: c.current
3838
+ phase: d.current,
3839
+ displayColSpan: u.current
3900
3840
  };
3901
- const d = t.hysteresisTargetColSpan, p = t.previewColSpan, w = a?.result === "rejected";
3902
- w || (o.current = d), w && l.current.armed && l.current.lastResult !== "rejected" && (l.current.fireKey += 1, l.current.armed = !1), l.current.lastResult = w ? "rejected" : "ok";
3903
- const k = w ? o.current : d, f = {
3841
+ const c = t.hysteresisTargetColSpan, p = t.previewColSpan, w = a?.result === "rejected";
3842
+ w || (o.current = c), w && l.current.armed && l.current.lastResult !== "rejected" && (l.current.fireKey += 1, l.current.armed = !1), l.current.lastResult = w ? "rejected" : "ok";
3843
+ const k = w ? o.current : c, f = {
3904
3844
  cell: { section: 0, col: 0, row: 0 },
3905
3845
  colSpan: k,
3906
3846
  pattern: w ? "dashed-retreated" : "solid"
3907
3847
  }, b = [];
3908
3848
  if (w) {
3909
- const S = n.col + o.current, T = n.col + d - 1;
3849
+ const S = n.col + o.current, T = n.col + c - 1;
3910
3850
  for (let g = S; g <= T && g <= 2; g++)
3911
3851
  b.push({
3912
3852
  cell: {
@@ -3917,24 +3857,24 @@ function Tr(e) {
3917
3857
  variant: "rejection"
3918
3858
  });
3919
3859
  } else {
3920
- const S = Math.abs(p - d), T = Math.max(0, Math.min(1, 1 - S));
3921
- for (let g = n.col; g < n.col + d && g <= 2; g++) {
3860
+ const S = Math.abs(p - c), T = Math.max(0, Math.min(1, 1 - S));
3861
+ for (let g = n.col; g < n.col + c && g <= 2; g++) {
3922
3862
  if (g === n.col) continue;
3923
- const v = g === n.col + d - 1, _ = {
3863
+ const v = g === n.col + c - 1, _ = {
3924
3864
  section: 0,
3925
3865
  col: g - n.col,
3926
3866
  row: 0
3927
3867
  };
3928
- v && t.direction.startsWith("grow") && d > 1 && !i && S > 0 && S < 1 ? b.push({
3868
+ v && t.direction.startsWith("grow") && c > 1 && !i && S > 0 && S < 1 ? b.push({
3929
3869
  cell: _,
3930
3870
  variant: "ramp",
3931
- rampColor: xa(Me.eligibilityFill, Me.commitFill, T)
3871
+ rampColor: Sa(Me.eligibilityFill, Me.commitFill, T)
3932
3872
  }) : v ? b.push({ cell: _, variant: "commit" }) : b.push({ cell: _, variant: "eligibility" });
3933
3873
  }
3934
3874
  }
3935
3875
  const x = [];
3936
- if (t.currentColSpan > d)
3937
- for (let S = n.col + d; S < n.col + t.currentColSpan && S <= 2; S++)
3876
+ if (t.currentColSpan > c)
3877
+ for (let S = n.col + c; S < n.col + t.currentColSpan && S <= 2; S++)
3938
3878
  x.push({
3939
3879
  section: 0,
3940
3880
  col: S - n.col,
@@ -3943,7 +3883,7 @@ function Tr(e) {
3943
3883
  const C = l.current.fireKey > 0 ? {
3944
3884
  cell: {
3945
3885
  section: 0,
3946
- col: Ra(
3886
+ col: ka(
3947
3887
  Math.min(o.current, 2)
3948
3888
  ),
3949
3889
  row: 0
@@ -3955,8 +3895,8 @@ function Tr(e) {
3955
3895
  cellTints: b,
3956
3896
  refusePulse: C,
3957
3897
  shrinkFreedCells: x,
3958
- phase: u.current,
3959
- displayColSpan: c.current
3898
+ phase: d.current,
3899
+ displayColSpan: u.current
3960
3900
  };
3961
3901
  }
3962
3902
  const W = {
@@ -3967,7 +3907,7 @@ const W = {
3967
3907
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
3968
3908
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
3969
3909
  };
3970
- function Ma({
3910
+ function xa({
3971
3911
  message: e,
3972
3912
  primaryAction: t,
3973
3913
  onDismiss: n,
@@ -3983,12 +3923,12 @@ function Ma({
3983
3923
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
3984
3924
  );
3985
3925
  }, [a, s]), F.useLayoutEffect(() => {
3986
- let u = null;
3987
- if (a ? u = a : s && (u = document.querySelector(s)), u) {
3988
- const c = u.getBoundingClientRect();
3926
+ let d = null;
3927
+ if (a ? d = a : s && (d = document.querySelector(s)), d) {
3928
+ const u = d.getBoundingClientRect();
3989
3929
  o({
3990
- top: c.bottom + window.scrollY + 6,
3991
- left: c.left + window.scrollX
3930
+ top: u.bottom + window.scrollY + 6,
3931
+ left: u.left + window.scrollX
3992
3932
  });
3993
3933
  }
3994
3934
  }, [a, s]);
@@ -4028,11 +3968,11 @@ function Ma({
4028
3968
  }
4029
3969
  );
4030
3970
  }
4031
- Ma.displayName = "InlineNudge";
3971
+ xa.displayName = "InlineNudge";
4032
3972
  function ge(e) {
4033
3973
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
4034
3974
  }
4035
- function Pa(e, t, n) {
3975
+ function Ra(e, t, n) {
4036
3976
  if (n <= t) {
4037
3977
  const o = e[0], l = o ? ge(o) : "#888";
4038
3978
  return `linear-gradient(to right, ${l}, ${l})`;
@@ -4043,10 +3983,10 @@ function Pa(e, t, n) {
4043
3983
  });
4044
3984
  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(", ")})`;
4045
3985
  }
4046
- function Ia(e) {
3986
+ function Ta(e) {
4047
3987
  return e.map((t) => `${t.id}:${t.value}`).join("|");
4048
3988
  }
4049
- function Ea({
3989
+ function Ma({
4050
3990
  stops: e,
4051
3991
  onChange: t,
4052
3992
  min: n = 0,
@@ -4059,11 +3999,11 @@ function Ea({
4059
3999
  ), 0.01) : s, l = N(
4060
4000
  (g) => Math.round(g / o) * o,
4061
4001
  [o]
4062
- ), m = P(null), [u, c] = I(null), [h, d] = I(e), p = Ia(e), w = P(p);
4002
+ ), m = P(null), [d, u] = I(null), [h, c] = I(e), p = Ta(e), w = P(p);
4063
4003
  A(() => {
4064
- w.current !== p && (w.current = p, !u && d(e));
4065
- }, [p, e, u]);
4066
- const k = re(() => Pa(h, n, a), [h, n, a]), f = N(
4004
+ w.current !== p && (w.current = p, !d && c(e));
4005
+ }, [p, e, d]);
4006
+ const k = re(() => Ra(h, n, a), [h, n, a]), f = N(
4067
4007
  (g) => {
4068
4008
  if (!m.current) return n;
4069
4009
  const v = m.current.getBoundingClientRect(), _ = v.width || 1, D = Math.max(0, Math.min(1, (g - v.left) / _)), M = n + D * (a - n);
@@ -4079,29 +4019,29 @@ function Ea({
4079
4019
  const b = N(
4080
4020
  (g, v) => {
4081
4021
  const _ = h.find((D) => D.id === v);
4082
- i || _?.disabled || (g.preventDefault(), c(v));
4022
+ i || _?.disabled || (g.preventDefault(), u(v));
4083
4023
  },
4084
4024
  [i, h]
4085
4025
  ), x = P(h);
4086
4026
  x.current = h;
4087
4027
  const C = P(t);
4088
4028
  C.current = t, A(() => {
4089
- if (!u) return;
4029
+ if (!d) return;
4090
4030
  const g = (_) => {
4091
4031
  const D = f(_.clientX);
4092
- d(
4093
- (M) => M.map((R) => R.id === u ? { ...R, value: D } : R)
4032
+ c(
4033
+ (M) => M.map((R) => R.id === d ? { ...R, value: D } : R)
4094
4034
  );
4095
4035
  }, v = (_) => {
4096
4036
  const D = f(_.clientX), M = x.current.map(
4097
- (R) => R.id === u ? { ...R, value: D } : R
4037
+ (R) => R.id === d ? { ...R, value: D } : R
4098
4038
  );
4099
- d(M), c(null), C.current(M);
4039
+ c(M), u(null), C.current(M);
4100
4040
  };
4101
4041
  return window.addEventListener("pointermove", g), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
4102
4042
  window.removeEventListener("pointermove", g), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
4103
4043
  };
4104
- }, [u, f]);
4044
+ }, [d, f]);
4105
4045
  const S = a - n > 0 ? a - n : 1, T = N(
4106
4046
  (g, v) => {
4107
4047
  if (i || v.disabled) return;
@@ -4130,10 +4070,10 @@ function Ea({
4130
4070
  g.preventDefault();
4131
4071
  const R = Math.max(n, Math.min(a, M)), E = l(R);
4132
4072
  if (E === v.value) return;
4133
- const O = h.map(
4073
+ const L = h.map(
4134
4074
  (Z) => Z.id === v.id ? { ...Z, value: E } : Z
4135
4075
  );
4136
- d(O), t(O);
4076
+ c(L), t(L);
4137
4077
  },
4138
4078
  [i, n, a, h, t, l]
4139
4079
  );
@@ -4154,7 +4094,7 @@ function Ea({
4154
4094
  color: ge(g)
4155
4095
  },
4156
4096
  "data-disabled": g.disabled || void 0,
4157
- "data-dragging": u === g.id || void 0,
4097
+ "data-dragging": d === g.id || void 0,
4158
4098
  onPointerDown: (_) => b(_, g.id),
4159
4099
  onKeyDown: (_) => T(_, g),
4160
4100
  "aria-label": g.label ?? `Stop at ${g.value}`,
@@ -4171,8 +4111,8 @@ function Ea({
4171
4111
  }
4172
4112
  ) });
4173
4113
  }
4174
- Ea.displayName = "ThresholdRamp";
4175
- function Aa(e, t, n, a) {
4114
+ Ma.displayName = "ThresholdRamp";
4115
+ function Pa(e, t, n, a) {
4176
4116
  switch (t) {
4177
4117
  case "above-right":
4178
4118
  return {
@@ -4205,53 +4145,53 @@ function Aa(e, t, n, a) {
4205
4145
  };
4206
4146
  }
4207
4147
  }
4208
- function Fa(e) {
4148
+ function Ia(e) {
4209
4149
  const { anchorRef: t, placement: n, gap: a = 8, offset: s, isOpen: i = !0 } = e, o = P({ x: s?.x ?? 0, y: s?.y ?? 0 });
4210
4150
  o.current = { x: s?.x ?? 0, y: s?.y ?? 0 };
4211
4151
  const [l, m] = I({});
4212
4152
  return Ie(() => {
4213
4153
  if (typeof window > "u" || !i) return;
4214
- const u = t.current;
4215
- if (!u) return;
4216
- const c = () => {
4217
- const d = u.getBoundingClientRect();
4218
- m(Aa(d, n, a, o.current));
4154
+ const d = t.current;
4155
+ if (!d) return;
4156
+ const u = () => {
4157
+ const c = d.getBoundingClientRect();
4158
+ m(Pa(c, n, a, o.current));
4219
4159
  };
4220
- c();
4160
+ u();
4221
4161
  let h = null;
4222
- return typeof ResizeObserver < "u" && (h = new ResizeObserver(c), h.observe(u)), window.addEventListener("scroll", c, { capture: !0, passive: !0 }), window.addEventListener("resize", c, { passive: !0 }), () => {
4223
- h?.disconnect(), window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c);
4162
+ return typeof ResizeObserver < "u" && (h = new ResizeObserver(u), h.observe(d)), window.addEventListener("scroll", u, { capture: !0, passive: !0 }), window.addEventListener("resize", u, { passive: !0 }), () => {
4163
+ h?.disconnect(), window.removeEventListener("scroll", u, !0), window.removeEventListener("resize", u);
4224
4164
  };
4225
4165
  }, [t, n, a, i]), { style: l };
4226
4166
  }
4227
- const La = {
4167
+ const Ea = {
4228
4168
  position: "fixed",
4229
4169
  zIndex: 9999
4230
4170
  };
4231
- function Oa(e) {
4232
- const { anchorRef: t, placement: n, gap: a, offset: s, dataHost: i, isOpen: o = !0, className: l, children: m } = e, { style: u } = Fa({ anchorRef: t, placement: n, gap: a, offset: s, isOpen: o });
4171
+ function Aa(e) {
4172
+ const { anchorRef: t, placement: n, gap: a, offset: s, dataHost: i, isOpen: o = !0, className: l, children: m } = e, { style: d } = Ia({ anchorRef: t, placement: n, gap: a, offset: s, isOpen: o });
4233
4173
  return typeof window > "u" || typeof document > "u" || !o ? null : Ee(
4234
- /* @__PURE__ */ r("div", { "data-portal-host": i, className: l, style: { ...La, ...u }, children: m }),
4174
+ /* @__PURE__ */ r("div", { "data-portal-host": i, className: l, style: { ...Ea, ...d }, children: m }),
4235
4175
  document.body
4236
4176
  );
4237
4177
  }
4238
4178
  const je = tt(null);
4239
- function $a() {
4179
+ function Fa() {
4240
4180
  return at(je);
4241
4181
  }
4242
- function za({ option: e }) {
4243
- const t = $a(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = N(() => {
4182
+ function Oa({ option: e }) {
4183
+ const t = Fa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = N(() => {
4244
4184
  a || t?.select(e.value);
4245
4185
  }, [a, t, e.value]), i = N(
4246
- (u) => {
4247
- a || t?.onKeyNav(u, e.value);
4186
+ (d) => {
4187
+ a || t?.onKeyNav(d, e.value);
4248
4188
  },
4249
4189
  [a, t, e.value]
4250
4190
  ), 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;
4251
4191
  return /* @__PURE__ */ r(
4252
4192
  "button",
4253
4193
  {
4254
- ref: (u) => t?.registerRef(e.value, u),
4194
+ ref: (d) => t?.registerRef(e.value, d),
4255
4195
  type: "button",
4256
4196
  role: "radio",
4257
4197
  "aria-checked": n,
@@ -4269,7 +4209,7 @@ function za({ option: e }) {
4269
4209
  }
4270
4210
  );
4271
4211
  }
4272
- function Ba({
4212
+ function La({
4273
4213
  swatches: e,
4274
4214
  value: t,
4275
4215
  defaultValue: n,
@@ -4277,18 +4217,18 @@ function Ba({
4277
4217
  disabled: s = !1,
4278
4218
  name: i
4279
4219
  }) {
4280
- const o = t !== void 0, [l, m] = I(n), u = o ? t : l, c = N(
4220
+ const o = t !== void 0, [l, m] = I(n), d = o ? t : l, u = N(
4281
4221
  (C) => {
4282
4222
  o || m(C), a?.(C);
4283
4223
  },
4284
4224
  [o, a]
4285
4225
  ), h = N(
4286
- (C) => u === C,
4287
- [u]
4288
- ), d = P(/* @__PURE__ */ new Map()), p = N((C, S) => {
4289
- S ? d.current.set(C, S) : d.current.delete(C);
4290
- }, []), w = e.filter((C) => !C.disabled && !s), k = w.find((C) => C.value === u)?.value ?? w[0]?.value, f = N((C) => {
4291
- const S = d.current.get(C);
4226
+ (C) => d === C,
4227
+ [d]
4228
+ ), c = P(/* @__PURE__ */ new Map()), p = N((C, S) => {
4229
+ S ? c.current.set(C, S) : c.current.delete(C);
4230
+ }, []), w = e.filter((C) => !C.disabled && !s), k = w.find((C) => C.value === d)?.value ?? w[0]?.value, f = N((C) => {
4231
+ const S = c.current.get(C);
4292
4232
  S && S.focus();
4293
4233
  }, []), b = N(
4294
4234
  (C, S) => {
@@ -4315,19 +4255,19 @@ function Ba({
4315
4255
  break;
4316
4256
  case " ":
4317
4257
  case "Enter":
4318
- C.preventDefault(), c(S);
4258
+ C.preventDefault(), u(S);
4319
4259
  return;
4320
4260
  default:
4321
4261
  return;
4322
4262
  }
4323
4263
  C.preventDefault();
4324
4264
  const _ = T[v].value;
4325
- f(_), c(_);
4265
+ f(_), u(_);
4326
4266
  },
4327
- [s, e, c, f]
4267
+ [s, e, u, f]
4328
4268
  ), x = {
4329
- selectedValue: u,
4330
- select: c,
4269
+ selectedValue: d,
4270
+ select: u,
4331
4271
  isSelected: h,
4332
4272
  groupDisabled: s,
4333
4273
  name: i,
@@ -4343,11 +4283,11 @@ function Ba({
4343
4283
  "aria-label": i,
4344
4284
  "aria-disabled": s,
4345
4285
  "data-disabled": s || void 0,
4346
- children: e.map((C) => /* @__PURE__ */ r(za, { option: C }, C.value))
4286
+ children: e.map((C) => /* @__PURE__ */ r(Oa, { option: C }, C.value))
4347
4287
  }
4348
4288
  ) });
4349
4289
  }
4350
- Ba.displayName = "PresetSwatchRow";
4290
+ La.displayName = "PresetSwatchRow";
4351
4291
  function he(e, t) {
4352
4292
  for (const n of e)
4353
4293
  if (n.items.some((a) => a.id === t))
@@ -4358,31 +4298,31 @@ function Pe(e, t) {
4358
4298
  const n = e.find((a) => a.zoneKey === t);
4359
4299
  return n ? n.zoneKey : he(e, t);
4360
4300
  }
4361
- function Ka(e, t, n) {
4301
+ function $a(e, t, n) {
4362
4302
  const a = [...e], [s] = a.splice(t, 1);
4363
4303
  return a.splice(n, 0, s), a;
4364
4304
  }
4365
- function Ga(e) {
4305
+ function za(e) {
4366
4306
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
4367
4307
  }
4368
- function Ha(e) {
4308
+ function Ba(e) {
4369
4309
  const [t, n] = I(
4370
4310
  () => e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
4371
4311
  `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
4372
4312
  ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
4373
4313
  ), [a, s] = I(null), [i, o] = I(null), l = P(null), m = P(e.onZoneChange);
4374
4314
  m.current = e.onZoneChange;
4375
- const u = re(
4376
- () => Ga(e.zones),
4315
+ const d = re(
4316
+ () => za(e.zones),
4377
4317
  [e.zones]
4378
- ), c = P(u);
4318
+ ), u = P(d);
4379
4319
  A(() => {
4380
- c.current !== u && (c.current = u, !a && n(
4320
+ u.current !== d && (u.current = d, !a && n(
4381
4321
  e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
4382
4322
  `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
4383
4323
  ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
4384
4324
  ));
4385
- }, [u, e.zones, a]);
4325
+ }, [d, e.zones, a]);
4386
4326
  const h = N(
4387
4327
  (f) => {
4388
4328
  const b = f.active.id;
@@ -4397,7 +4337,7 @@ function Ha(e) {
4397
4337
  l.current = C, s(x), o(C);
4398
4338
  },
4399
4339
  [t]
4400
- ), d = N(
4340
+ ), c = N(
4401
4341
  (f) => {
4402
4342
  if (!f.over) {
4403
4343
  o(l.current);
@@ -4426,19 +4366,19 @@ function Ha(e) {
4426
4366
  const v = g.findIndex((E) => E.zoneKey === S), _ = g[v], D = _.items.findIndex((E) => E.id === b.id), M = _.items.findIndex((E) => E.id === x.id), R = M >= 0 ? M : Math.max(0, _.items.length - 1);
4427
4367
  g[v] = {
4428
4368
  ..._,
4429
- items: Ka(_.items, D, R)
4369
+ items: $a(_.items, D, R)
4430
4370
  };
4431
4371
  } else {
4432
- const v = g.findIndex((L) => L.zoneKey === S), _ = g.findIndex((L) => L.zoneKey === T), D = g[v], M = g[_], R = D.items.find((L) => L.id === b.id);
4372
+ const v = g.findIndex((O) => O.zoneKey === S), _ = g.findIndex((O) => O.zoneKey === T), D = g[v], M = g[_], R = D.items.find((O) => O.id === b.id);
4433
4373
  if (!R) {
4434
4374
  C();
4435
4375
  return;
4436
4376
  }
4437
- const E = D.items.filter((L) => L.id !== b.id), O = M.items.findIndex((L) => L.id === x.id), Z = O >= 0 ? O : M.items.length;
4377
+ const E = D.items.filter((O) => O.id !== b.id), L = M.items.findIndex((O) => O.id === x.id), Z = L >= 0 ? L : M.items.length;
4438
4378
  let be = E, H = [...M.items];
4439
4379
  if (M.maxItems !== void 0 && H.length >= M.maxItems) {
4440
- const L = H[H.length - 1];
4441
- H = H.slice(0, M.maxItems - 1), be = [...E, L];
4380
+ const O = H[H.length - 1];
4381
+ H = H.slice(0, M.maxItems - 1), be = [...E, O];
4442
4382
  }
4443
4383
  const ve = Math.min(Z, H.length), qe = [
4444
4384
  ...H.slice(0, ve),
@@ -4474,12 +4414,12 @@ function Ha(e) {
4474
4414
  getZoneProps: w,
4475
4415
  getItemProps: k,
4476
4416
  handleDragStart: h,
4477
- handleDragOver: d,
4417
+ handleDragOver: c,
4478
4418
  handleDragEnd: p
4479
4419
  };
4480
4420
  }
4481
4421
  let Q = null, ne = null, le = !1;
4482
- const Wa = [
4422
+ const Ka = [
4483
4423
  "DndContext",
4484
4424
  "DragOverlay",
4485
4425
  "useSensors",
@@ -4488,21 +4428,21 @@ const Wa = [
4488
4428
  "PointerSensor",
4489
4429
  "KeyboardSensor",
4490
4430
  "closestCenter"
4491
- ], Va = [
4431
+ ], Ga = [
4492
4432
  "SortableContext",
4493
4433
  "useSortable",
4494
4434
  "verticalListSortingStrategy"
4495
4435
  ];
4496
- function ja(e, t) {
4436
+ function Ha(e, t) {
4497
4437
  const n = [], a = e ?? {};
4498
- for (const i of Wa)
4438
+ for (const i of Ka)
4499
4439
  a[i] === void 0 && n.push(`@dnd-kit/core:${i}`);
4500
4440
  const s = t ?? {};
4501
- for (const i of Va)
4441
+ for (const i of Ga)
4502
4442
  s[i] === void 0 && n.push(`@dnd-kit/sortable:${i}`);
4503
4443
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
4504
4444
  }
4505
- function Ua() {
4445
+ function Wa() {
4506
4446
  return Q ? Promise.resolve(Q) : le ? Promise.resolve(null) : ne || (ne = (async () => {
4507
4447
  try {
4508
4448
  const [e, t, n] = await Promise.all([
@@ -4511,7 +4451,7 @@ function Ua() {
4511
4451
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
4512
4452
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
4513
4453
  ), {}))
4514
- ]), a = ja(e, t);
4454
+ ]), a = Ha(e, t);
4515
4455
  return a.ok ? (Q = {
4516
4456
  core: e,
4517
4457
  sortable: t,
@@ -4524,15 +4464,15 @@ function Ua() {
4524
4464
  }
4525
4465
  })(), ne);
4526
4466
  }
4527
- function Ya(e) {
4528
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = Ha({ zones: t, onZoneChange: n }), [l, m] = F.useState(Q);
4467
+ function Va(e) {
4468
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = Ba({ zones: t, onZoneChange: n }), [l, m] = F.useState(Q);
4529
4469
  return F.useEffect(() => {
4530
4470
  if (l) return;
4531
- let u = !0;
4532
- return Ua().then((c) => {
4533
- u && m(c);
4471
+ let d = !0;
4472
+ return Wa().then((u) => {
4473
+ d && m(u);
4534
4474
  }), () => {
4535
- u = !1;
4475
+ d = !1;
4536
4476
  };
4537
4477
  }, [l]), l ? /* @__PURE__ */ r(
4538
4478
  Ue,
@@ -4543,12 +4483,12 @@ function Ya(e) {
4543
4483
  renderItem: s,
4544
4484
  renderDragOverlay: i
4545
4485
  }
4546
- ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((u) => {
4547
- const c = u.items.map((h) => /* @__PURE__ */ r(F.Fragment, { children: s(h) }, h.id));
4548
- return /* @__PURE__ */ r("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, c) }, u.zoneKey);
4486
+ ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((d) => {
4487
+ const u = d.items.map((h) => /* @__PURE__ */ r(F.Fragment, { children: s(h) }, h.id));
4488
+ return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, u) }, d.zoneKey);
4549
4489
  }) });
4550
4490
  }
4551
- Ya.displayName = "SortableZones";
4491
+ Va.displayName = "SortableZones";
4552
4492
  function Ue({
4553
4493
  state: e,
4554
4494
  modules: t,
@@ -4556,10 +4496,10 @@ function Ue({
4556
4496
  renderItem: a,
4557
4497
  renderDragOverlay: s
4558
4498
  }) {
4559
- const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: u, useSensors: c, useSensor: h, useDroppable: d, PointerSensor: p, KeyboardSensor: w, closestCenter: k } = i, { SortableContext: f, verticalListSortingStrategy: b } = o, x = c(
4499
+ const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: d, useSensors: u, useSensor: h, useDroppable: c, PointerSensor: p, KeyboardSensor: w, closestCenter: k } = i, { SortableContext: f, verticalListSortingStrategy: b } = o, x = u(
4560
4500
  h(p, { activationConstraint: { distance: 5 } }),
4561
4501
  h(w)
4562
- ), C = m, S = u, T = f;
4502
+ ), C = m, S = d, T = f;
4563
4503
  return /* @__PURE__ */ y(
4564
4504
  C,
4565
4505
  {
@@ -4585,7 +4525,7 @@ function Ue({
4585
4525
  {
4586
4526
  zoneKey: g.zoneKey,
4587
4527
  zoneProps: e.getZoneProps(g.zoneKey),
4588
- useDroppable: d,
4528
+ useDroppable: c,
4589
4529
  children: /* @__PURE__ */ r(T, { items: v, strategy: b, children: n(g.zoneKey, g.items, _) })
4590
4530
  },
4591
4531
  g.zoneKey
@@ -4598,12 +4538,12 @@ function Ue({
4598
4538
  }
4599
4539
  Ue.displayName = "SortableZonesInner";
4600
4540
  function Ye({ id: e, useSortable: t, cssHelper: n, children: a }) {
4601
- const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging: u } = t({ id: e }), c = {
4541
+ const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging: d } = t({ id: e }), u = {
4602
4542
  transform: n?.Transform?.toString(l) ?? void 0,
4603
4543
  transition: m,
4604
- opacity: u ? 0.5 : 1
4544
+ opacity: d ? 0.5 : 1
4605
4545
  };
4606
- return /* @__PURE__ */ r("div", { ref: o, style: c, "data-sortable-item-id": e, ...s, ...i, children: a });
4546
+ return /* @__PURE__ */ r("div", { ref: o, style: u, "data-sortable-item-id": e, ...s, ...i, children: a });
4607
4547
  }
4608
4548
  Ye.displayName = "SortableItem";
4609
4549
  function Ze({
@@ -4616,7 +4556,7 @@ function Ze({
4616
4556
  return /* @__PURE__ */ r("div", { ref: s, "data-zone-is-over": i || void 0, ...t, children: a });
4617
4557
  }
4618
4558
  Ze.displayName = "ZoneDroppable";
4619
- function Mr({
4559
+ function xr({
4620
4560
  slotLeft: e,
4621
4561
  slotCenter: t,
4622
4562
  slotRight: n,
@@ -4666,7 +4606,7 @@ function Mr({
4666
4606
  }
4667
4607
  );
4668
4608
  }
4669
- function Pr({
4609
+ function Rr({
4670
4610
  count: e,
4671
4611
  currentIndex: t,
4672
4612
  onSelect: n,
@@ -4677,26 +4617,26 @@ function Pr({
4677
4617
  currentSection: l,
4678
4618
  sectionsPerView: m = 1,
4679
4619
  // D-09 default
4680
- isHiding: u
4620
+ isHiding: d
4681
4621
  }) {
4682
- const c = l ?? t ?? 0, h = Math.max(0, Math.min(e - 1, c)), d = Math.min(e - 1, h + Math.max(0, m - 1)), p = [h, d], w = K.useRef([]);
4683
- return w.current.length = e, !u && e <= 1 || !u && p[0] === 0 && p[1] === e - 1 ? null : /* @__PURE__ */ y(
4622
+ const u = l ?? t ?? 0, h = Math.max(0, Math.min(e - 1, u)), c = Math.min(e - 1, h + Math.max(0, m - 1)), p = [h, c], w = B.useRef([]);
4623
+ return w.current.length = e, !d && e <= 1 || !d && p[0] === 0 && p[1] === e - 1 ? null : /* @__PURE__ */ y(
4684
4624
  "div",
4685
4625
  {
4686
4626
  role: "tablist",
4687
4627
  "aria-label": a,
4688
4628
  "data-testid": "gloss-section-dots",
4689
4629
  className: "gloss-section-dots",
4690
- "data-hiding": u ? "true" : void 0,
4630
+ "data-hiding": d ? "true" : void 0,
4691
4631
  onKeyDown: (f) => {
4692
4632
  if (e !== 0) {
4693
4633
  if (f.key === "ArrowRight") {
4694
4634
  f.preventDefault();
4695
- const b = (c + 1) % e;
4635
+ const b = (u + 1) % e;
4696
4636
  n(b), requestAnimationFrame(() => w.current[b]?.focus());
4697
4637
  } else if (f.key === "ArrowLeft") {
4698
4638
  f.preventDefault();
4699
- const b = (c - 1 + e) % e;
4639
+ const b = (u - 1 + e) % e;
4700
4640
  n(b), requestAnimationFrame(() => w.current[b]?.focus());
4701
4641
  }
4702
4642
  }
@@ -4721,13 +4661,13 @@ function Pr({
4721
4661
  },
4722
4662
  type: "button",
4723
4663
  role: "tab",
4724
- "aria-selected": b === c,
4664
+ "aria-selected": b === u,
4725
4665
  "aria-label": b === s ? "Unconfirmed section" : `Section ${b + 1}`,
4726
- "data-state": b === s ? "provisional-hollow" : b === i ? "pulse" : b === c ? "current" : "hollow",
4666
+ "data-state": b === s ? "provisional-hollow" : b === i ? "pulse" : b === u ? "current" : "hollow",
4727
4667
  "data-section-index": b,
4728
4668
  className: [
4729
4669
  "gloss-section-dots__dot",
4730
- b === c && "gloss-section-dots__dot--current"
4670
+ b === u && "gloss-section-dots__dot--current"
4731
4671
  ].filter(Boolean).join(" "),
4732
4672
  onClick: () => n(b)
4733
4673
  },
@@ -4737,12 +4677,12 @@ function Pr({
4737
4677
  }
4738
4678
  );
4739
4679
  }
4740
- function Ir(e) {
4680
+ function Tr(e) {
4741
4681
  const { anchorRef: t, isOpen: n, onRequestClose: a, onPopoverEnter: s, onPopoverLeave: i, children: o } = e, l = P(!0);
4742
4682
  return A(() => (l.current = !0, () => {
4743
4683
  l.current = !1;
4744
4684
  }), []), n ? /* @__PURE__ */ r(
4745
- Oa,
4685
+ Aa,
4746
4686
  {
4747
4687
  anchorRef: t,
4748
4688
  placement: "above-right",
@@ -4779,16 +4719,16 @@ function Ir(e) {
4779
4719
  }
4780
4720
  ) : null;
4781
4721
  }
4782
- function Er(e) {
4722
+ function Mr(e) {
4783
4723
  const {
4784
4724
  mode: t = null,
4785
4725
  count: n,
4786
4726
  anchorRef: a,
4787
4727
  subscribeToCoordinator: s = !0,
4788
4728
  cardLabels: i
4789
- } = e, o = P(null), [l, m] = I({ cx: 0, cy: 0, r: 14 }), u = ot(), c = s ? u?.state?.lockHint ?? null : null, h = s ? u?.state?.bellCutoutOpen ?? !1 : !1, d = c != null ? "lock" : t ?? (h ? "default" : null), p = c?.activeCardId ?? null, w = p != null ? i?.[p] ?? p : "";
4729
+ } = e, o = P(null), [l, m] = I({ cx: 0, cy: 0, r: 14 }), d = it(), u = s ? d?.state?.lockHint ?? null : null, h = s ? d?.state?.bellCutoutOpen ?? !1 : !1, c = u != null ? "lock" : t ?? (h ? "default" : null), p = u?.activeCardId ?? null, w = p != null ? i?.[p] ?? p : "";
4790
4730
  return Ie(() => {
4791
- if (d == null) return;
4731
+ if (c == null) return;
4792
4732
  const k = o.current, f = a.current;
4793
4733
  if (!k || !f) return;
4794
4734
  const b = () => {
@@ -4797,13 +4737,13 @@ function Er(e) {
4797
4737
  };
4798
4738
  if (b(), !(typeof window > "u"))
4799
4739
  return window.addEventListener("resize", b, { passive: !0 }), () => window.removeEventListener("resize", b);
4800
- }, [d, a]), d == null ? null : /* @__PURE__ */ y(
4740
+ }, [c, a]), c == null ? null : /* @__PURE__ */ y(
4801
4741
  "div",
4802
4742
  {
4803
4743
  ref: o,
4804
4744
  className: "bell-cutout",
4805
- "data-mode": d,
4806
- "data-count": d === "unread-count" && n != null ? String(n) : void 0,
4745
+ "data-mode": c,
4746
+ "data-count": c === "unread-count" && n != null ? String(n) : void 0,
4807
4747
  "aria-hidden": "true",
4808
4748
  children: [
4809
4749
  /* @__PURE__ */ y("svg", { className: "bell-cutout__svg", width: "100%", height: "100%", preserveAspectRatio: "none", children: [
@@ -4814,17 +4754,17 @@ function Er(e) {
4814
4754
  /* @__PURE__ */ r("rect", { x: "0", y: "0", width: "100%", height: "100%", mask: "url(#bell-cutout-mask)", className: "bell-cutout__fill" })
4815
4755
  ] }),
4816
4756
  /* @__PURE__ */ r("span", { className: "bell-cutout__dot", "aria-hidden": "true" }),
4817
- d === "lock" && c != null ? /* @__PURE__ */ r("span", { className: "bell-cutout__lock-text", role: "status", "aria-live": "polite", children: `Still editing "${w}" — Cancel or Apply first` }) : null
4757
+ c === "lock" && u != null ? /* @__PURE__ */ r("span", { className: "bell-cutout__lock-text", role: "status", "aria-live": "polite", children: `Still editing "${w}" — Cancel or Apply first` }) : null
4818
4758
  ]
4819
4759
  }
4820
4760
  );
4821
4761
  }
4822
- const Za = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4762
+ const ja = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4823
4763
  const s = { ...n };
4824
4764
  return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...s, children: /* @__PURE__ */ r(fe, { region: "toolbar", density: e, children: t }) });
4825
4765
  });
4826
- Za.displayName = "ContainerToolbar";
4827
- const qa = F.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
4766
+ ja.displayName = "ContainerToolbar";
4767
+ const Ua = F.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
4828
4768
  const o = { ...s };
4829
4769
  return delete o.className, delete o.style, /* @__PURE__ */ y("fieldset", { ref: i, className: "gloss-container-form-section", ...o, children: [
4830
4770
  e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
@@ -4832,363 +4772,363 @@ const qa = F.forwardRef(({ legend: e, description: t, density: n = "default", ch
4832
4772
  /* @__PURE__ */ r(fe, { region: "form-section", density: n, children: a })
4833
4773
  ] });
4834
4774
  });
4835
- qa.displayName = "ContainerFormSection";
4836
- const Qa = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4775
+ Ua.displayName = "ContainerFormSection";
4776
+ const Ya = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4837
4777
  const s = { ...n };
4838
4778
  return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...s, children: /* @__PURE__ */ r(fe, { region: "table", density: e, children: t }) });
4839
4779
  });
4840
- Qa.displayName = "ContainerTable";
4780
+ Ya.displayName = "ContainerTable";
4841
4781
  export {
4842
- Lr as Accordion,
4843
- Or as AccordionContent,
4844
- $r as AccordionItem,
4845
- zr as AccordionTrigger,
4846
- Br as ActionStrip,
4847
- Kr as Actionable,
4848
- Gr as AddressGroup,
4849
- Hr as AddressSelect,
4850
- Wr as AsyncLoader,
4851
- Vr as Autocomplete,
4852
- jr as Badge,
4853
- Ur as BarChartCard,
4854
- Yr as BarsBg,
4855
- Er as BellCutout,
4856
- Ir as BellPopover,
4857
- Oa as BodyPortal,
4858
- Mr as BottomToolbar,
4859
- Zr as Button,
4860
- qr as ButtonGroup,
4861
- Qr as ButtonGroupContext,
4862
- Xr as Card,
4863
- Jr as CardActions,
4864
- es as CardBack,
4865
- ts as CardBody,
4866
- as as CardFooter,
4867
- ns as CardHeader,
4868
- rs as CardMedia,
4782
+ Er as Accordion,
4783
+ Ar as AccordionContent,
4784
+ Fr as AccordionItem,
4785
+ Or as AccordionTrigger,
4786
+ Lr as ActionStrip,
4787
+ $r as Actionable,
4788
+ zr as AddressGroup,
4789
+ Br as AddressSelect,
4790
+ Kr as AsyncLoader,
4791
+ Gr as Autocomplete,
4792
+ Hr as Badge,
4793
+ Wr as BarChartCard,
4794
+ Vr as BarsBg,
4795
+ Mr as BellCutout,
4796
+ Tr as BellPopover,
4797
+ Aa as BodyPortal,
4798
+ xr as BottomToolbar,
4799
+ jr as Button,
4800
+ Ur as ButtonGroup,
4801
+ Yr as ButtonGroupContext,
4802
+ Zr as Card,
4803
+ qr as CardActions,
4804
+ Qr as CardBack,
4805
+ Xr as CardBody,
4806
+ Jr as CardFooter,
4807
+ es as CardHeader,
4808
+ ts as CardMedia,
4869
4809
  Xe as CardShell,
4870
- ss as CardSubtitle,
4871
- is as CardTitle,
4872
- fr as CascadePreview,
4873
- Dr as CellTintOverlay,
4874
- os as ChartControlBar,
4875
- ls as Checkbox,
4876
- cs as CheckboxGroup,
4877
- ds as Chip,
4878
- us as ColorPicker,
4879
- ms as ComparisonCard,
4880
- ps as ContactForm,
4881
- gs as ContainerCard,
4882
- hs as ContainerCardActions,
4883
- fs as ContainerCardBody,
4884
- bs as ContainerCardFooter,
4885
- vs as ContainerCardHeader,
4886
- ys as ContainerCardMedia,
4887
- ws as ContainerCardSubtitle,
4888
- _s as ContainerCardTitle,
4889
- Cs as ContainerDialog,
4890
- Ns as ContainerDialogActions,
4891
- Ss as ContainerDialogBody,
4892
- ks as ContainerDialogHeader,
4893
- qa as ContainerFormSection,
4894
- Ds as ContainerPanel,
4895
- Qa as ContainerTable,
4896
- Za as ContainerToolbar,
4897
- xs as CreditCardForm,
4898
- Rs as DEFAULT_FOOTER_IDS,
4810
+ as as CardSubtitle,
4811
+ ns as CardTitle,
4812
+ pr as CascadePreview,
4813
+ Nr as CellTintOverlay,
4814
+ rs as ChartControlBar,
4815
+ ss as Checkbox,
4816
+ is as CheckboxGroup,
4817
+ os as Chip,
4818
+ ls as ColorPicker,
4819
+ cs as ComparisonCard,
4820
+ ds as ContactForm,
4821
+ us as ContainerCard,
4822
+ ms as ContainerCardActions,
4823
+ ps as ContainerCardBody,
4824
+ gs as ContainerCardFooter,
4825
+ hs as ContainerCardHeader,
4826
+ fs as ContainerCardMedia,
4827
+ bs as ContainerCardSubtitle,
4828
+ vs as ContainerCardTitle,
4829
+ ys as ContainerDialog,
4830
+ ws as ContainerDialogActions,
4831
+ _s as ContainerDialogBody,
4832
+ Cs as ContainerDialogHeader,
4833
+ Ua as ContainerFormSection,
4834
+ Ns as ContainerPanel,
4835
+ Ya as ContainerTable,
4836
+ ja as ContainerToolbar,
4837
+ Ss as CreditCardForm,
4838
+ ks as DEFAULT_FOOTER_IDS,
4899
4839
  U as DEFAULT_GRID_INTERACTION_PHYSICS,
4900
- hl as DEFAULT_MARKET_PRESETS,
4901
- Ts as DEFAULT_OVERFLOW_IDS,
4902
- fl as DEFAULT_PINNED,
4903
- St as DEFAULT_RESIZE_PHYSICS,
4840
+ pl as DEFAULT_MARKET_PRESETS,
4841
+ Ds as DEFAULT_OVERFLOW_IDS,
4842
+ gl as DEFAULT_PINNED,
4843
+ Nt as DEFAULT_RESIZE_PHYSICS,
4904
4844
  Ae as DEFAULT_RESIZE_PILL_PHYSICS,
4905
- Ms as DataTable,
4906
- Ps as DatePicker,
4907
- Is as DateRangePicker,
4908
- Es as DestructiveModal,
4909
- na as DevTuningPanel,
4910
- As as DirectionCard,
4911
- Fs as Dismissible,
4912
- Ls as DistributionCard,
4913
- Os as DonutChart,
4914
- gr as DragGhost,
4915
- sr as DropAnchorCell,
4916
- $s as Dropdown,
4917
- oa as DualPaceBars,
4918
- zs as ENTITY_FILTER_KEYS,
4919
- Bs as ENTITY_PROFILE_ROUTES,
4920
- Ks as ENTITY_TYPE_PLURAL,
4921
- pr as EmptyCellPackAffordance,
4922
- Gs as EntityPicker,
4923
- G as EntityRow,
4924
- Hs as EntitySearchPanel,
4925
- ya as ExceptionListCard,
4926
- wa as ExceptionListTilePreview,
4927
- Ws as Expandable,
4928
- Vs as ExpandableChip,
4929
- js as FLIP_AND_STAGE_TIMINGS,
4930
- Us as FileUpload,
4931
- Ys as FilterChip,
4932
- Zs as FilterInput,
4933
- qs as FlipAndStageProvider,
4934
- Qs as Form,
4935
- Xs as FormDialog,
4936
- Js as FormField,
4937
- ei as FusedShape,
4938
- la as GapReadout,
4939
- ti as GestureStateProvider,
4940
- Nt as GhostPreview,
4941
- ai as GroupCheckbox,
4942
- ni as GroupRadio,
4943
- ur as HARD_CLIP,
4944
- ri as HighlightCard,
4945
- si as HybridDatePicker,
4946
- ii as ImportWizard,
4947
- Ma as InlineNudge,
4948
- oi as Input,
4949
- li as InputAddon,
4950
- ci as InputGroup,
4951
- ha as LeaderboardCard,
4952
- fa as LeaderboardTilePreview,
4953
- ua as LensChipGroup,
4954
- di as Link,
4955
- ui as LoginForm,
4845
+ xs as DataTable,
4846
+ Rs as DatePicker,
4847
+ Ts as DateRangePicker,
4848
+ Ms as DestructiveModal,
4849
+ aa as DevTuningPanel,
4850
+ Ps as DirectionCard,
4851
+ Is as Dismissible,
4852
+ Es as DistributionCard,
4853
+ As as DonutChart,
4854
+ ur as DragGhost,
4855
+ ar as DropAnchorCell,
4856
+ Fs as Dropdown,
4857
+ ia as DualPaceBars,
4858
+ Os as ENTITY_FILTER_KEYS,
4859
+ Ls as ENTITY_PROFILE_ROUTES,
4860
+ $s as ENTITY_TYPE_PLURAL,
4861
+ dr as EmptyCellPackAffordance,
4862
+ zs as EntityPicker,
4863
+ K as EntityRow,
4864
+ Bs as EntitySearchPanel,
4865
+ va as ExceptionListCard,
4866
+ ya as ExceptionListTilePreview,
4867
+ Ks as Expandable,
4868
+ Gs as ExpandableChip,
4869
+ Hs as FLIP_AND_STAGE_TIMINGS,
4870
+ Ws as FileUpload,
4871
+ Vs as FilterChip,
4872
+ js as FilterInput,
4873
+ Us as FlipAndStageProvider,
4874
+ Ys as Form,
4875
+ Zs as FormDialog,
4876
+ qs as FormField,
4877
+ Qs as FusedShape,
4878
+ oa as GapReadout,
4879
+ Xs as GestureStateProvider,
4880
+ Ct as GhostPreview,
4881
+ Js as GroupCheckbox,
4882
+ ei as GroupRadio,
4883
+ lr as HARD_CLIP,
4884
+ ti as HighlightCard,
4885
+ ai as HybridDatePicker,
4886
+ ni as ImportWizard,
4887
+ xa as InlineNudge,
4888
+ ri as Input,
4889
+ si as InputAddon,
4890
+ ii as InputGroup,
4891
+ ga as LeaderboardCard,
4892
+ ha as LeaderboardTilePreview,
4893
+ da as LensChipGroup,
4894
+ oi as Link,
4895
+ li as LoginForm,
4956
4896
  ae as MagnitudeBar,
4957
- mi as MarketPresetRow,
4958
- pi as MaskPresets,
4959
- gi as MaskedInput,
4960
- hi as Menu,
4961
- fi as MenuDivider,
4962
- bi as MenuGroup,
4963
- vi as MenuItem,
4964
- yi as MergePrompt,
4965
- wi as MetricCard,
4966
- _i as MetricCardGrid,
4967
- Yt as MetricGroupContainer,
4968
- Ci as MiniCalendar,
4969
- pa as MoreInLensRail,
4970
- Ni as MultiSelect,
4971
- Si as NumberInput,
4972
- ki as ObjectArrow,
4973
- Di as OrderFilterBar,
4974
- al as PANEL_COMMITS,
4975
- bl as PERIOD_OPTIONS,
4976
- br as PaceCard,
4977
- vr as PaceTilePreview,
4978
- Lt as PageChip,
4897
+ ci as MarketPresetRow,
4898
+ di as MaskPresets,
4899
+ ui as MaskedInput,
4900
+ mi as Menu,
4901
+ pi as MenuDivider,
4902
+ gi as MenuGroup,
4903
+ hi as MenuItem,
4904
+ fi as MergePrompt,
4905
+ bi as MetricCard,
4906
+ vi as MetricCardGrid,
4907
+ Ut as MetricGroupContainer,
4908
+ yi as MiniCalendar,
4909
+ ma as MoreInLensRail,
4910
+ wi as MultiSelect,
4911
+ _i as NumberInput,
4912
+ Ci as ObjectArrow,
4913
+ Ni as OrderFilterBar,
4914
+ Jo as PANEL_COMMITS,
4915
+ hl as PERIOD_OPTIONS,
4916
+ gr as PaceCard,
4917
+ hr as PaceTilePreview,
4918
+ Ft as PageChip,
4979
4919
  $e as PageDropdown,
4980
- nl as PanelChrome,
4981
- rl as PanelHost,
4982
- sl as PanelProvider,
4983
- xi as PasswordInput,
4984
- Ri as PaymentForm,
4985
- Ti as PaymentMethodSelect,
4986
- Mi as PhoneInput,
4987
- Pi as PinToMetric,
4988
- Ba as PresetSwatchRow,
4989
- Ii as ProfileCard,
4990
- Ei as ProgressCard,
4991
- Ai as QuickConfigPanel,
4992
- Ht as RECONFIG_BACKSIDE_LABELS,
4993
- vl as ROLLING_OPTIONS,
4994
- Fi as Radio,
4995
- Li as RadioGroup,
4996
- Oi as RangeSlider,
4920
+ el as PanelChrome,
4921
+ tl as PanelHost,
4922
+ al as PanelProvider,
4923
+ Si as PasswordInput,
4924
+ ki as PaymentForm,
4925
+ Di as PaymentMethodSelect,
4926
+ xi as PhoneInput,
4927
+ Ri as PinToMetric,
4928
+ La as PresetSwatchRow,
4929
+ Ti as ProfileCard,
4930
+ Mi as ProgressCard,
4931
+ Pi as QuickConfigPanel,
4932
+ Gt as RECONFIG_BACKSIDE_LABELS,
4933
+ fl as ROLLING_OPTIONS,
4934
+ Ii as Radio,
4935
+ Ei as RadioGroup,
4936
+ Ai as RangeSlider,
4997
4937
  ee as RankBadge,
4998
4938
  Ve as RankDelta,
4999
- $i as Rating,
5000
- jt as ReconfigBacksideButtons,
5001
- xr as RefusePulse,
5002
- zi as RegistrationForm,
5003
- rr as ResizeEnvelope,
5004
- Tt as ResizePill,
5005
- Rr as ResizeTrackingOutline,
5006
- Bi as Row1Controls,
5007
- Ki as Row2FilterTray,
5008
- wr as STROKE_DASHED,
5009
- Sr as STROKE_DASHED_DASHARRAY,
5010
- Nr as STROKE_OUTLINE,
5011
- _r as STROKE_SOLID,
5012
- Cr as STROKE_SPARSE_DASH,
5013
- kr as STROKE_SPARSE_DASH_DASHARRAY,
5014
- Gi as SearchInput,
5015
- or as SectionDivider,
5016
- Pr as SectionDots,
5017
- Hi as SegmentCard,
5018
- Wi as SegmentedControl,
5019
- Vi as Select,
5020
- ji as Selectable,
5021
- Da as SettingsTabStrip,
4939
+ Fi as Rating,
4940
+ Vt as ReconfigBacksideButtons,
4941
+ Sr as RefusePulse,
4942
+ Oi as RegistrationForm,
4943
+ tr as ResizeEnvelope,
4944
+ Rt as ResizePill,
4945
+ kr as ResizeTrackingOutline,
4946
+ Li as Row1Controls,
4947
+ $i as Row2FilterTray,
4948
+ br as STROKE_DASHED,
4949
+ _r as STROKE_DASHED_DASHARRAY,
4950
+ wr as STROKE_OUTLINE,
4951
+ vr as STROKE_SOLID,
4952
+ yr as STROKE_SPARSE_DASH,
4953
+ Cr as STROKE_SPARSE_DASH_DASHARRAY,
4954
+ zi as SearchInput,
4955
+ rr as SectionDivider,
4956
+ Rr as SectionDots,
4957
+ Bi as SegmentCard,
4958
+ Ki as SegmentedControl,
4959
+ Gi as Select,
4960
+ Hi as Selectable,
4961
+ nl as SettingsTabStrip,
5022
4962
  te as SeverityDot,
5023
- Ui as SimpleMetricCard,
5024
- Yi as SimpleSelector,
5025
- Zi as Skeleton,
5026
- qi as SkeletonCard,
5027
- Qi as SkeletonChart,
5028
- Xi as SkeletonTable,
5029
- Ji as Slider,
5030
- hr as SnapOutline,
5031
- eo as Sortable,
5032
- Ya as SortableZones,
5033
- to as SparklineBg,
5034
- ir as SpilloverArc,
5035
- ao as SplitButton,
5036
- no as StackedGroupCard,
5037
- _a as StackedGroupTilePreview,
5038
- ma as StarterRail,
5039
- ro as StatusModeCard,
5040
- Ct as StatusSlotChipMenu,
5041
- so as Stepper,
4963
+ Wi as SimpleMetricCard,
4964
+ Vi as SimpleSelector,
4965
+ ji as Skeleton,
4966
+ Ui as SkeletonCard,
4967
+ Yi as SkeletonChart,
4968
+ Zi as SkeletonTable,
4969
+ qi as Slider,
4970
+ mr as SnapOutline,
4971
+ Qi as Sortable,
4972
+ Va as SortableZones,
4973
+ Xi as SparklineBg,
4974
+ nr as SpilloverArc,
4975
+ Ji as SplitButton,
4976
+ eo as StackedGroupCard,
4977
+ wa as StackedGroupTilePreview,
4978
+ ua as StarterRail,
4979
+ to as StatusModeCard,
4980
+ _t as StatusSlotChipMenu,
4981
+ ao as Stepper,
5042
4982
  De as SwingReveal,
5043
- yl as TODAY_PRESET,
4983
+ bl as TODAY_PRESET,
5044
4984
  V as TUNING_DEFAULTS,
5045
4985
  Ge as TUNING_STORAGE_KEY,
5046
- io as TabGroup,
5047
- oo as TabbedDataView,
5048
- lo as TagInput,
5049
- ht as TargetInput,
5050
- co as Textarea,
5051
- Ea as ThresholdRamp,
5052
- uo as TimeFrame,
5053
- mo as TimePicker,
5054
- po as Toggle,
5055
- go as Tooltip,
4986
+ no as TabGroup,
4987
+ ro as TabbedDataView,
4988
+ so as TagInput,
4989
+ gt as TargetInput,
4990
+ io as Textarea,
4991
+ Ma as ThresholdRamp,
4992
+ oo as TimeFrame,
4993
+ lo as TimePicker,
4994
+ co as Toggle,
4995
+ uo as Tooltip,
5056
4996
  We as TrackingOutline,
5057
- ho as Transition,
5058
- fo as TransitionGroup,
5059
- bo as TrendCard,
5060
- vo as TrendIndicator,
5061
- ml as UIContext,
4997
+ mo as Transition,
4998
+ po as TransitionGroup,
4999
+ go as TrendCard,
5000
+ ho as TrendIndicator,
5001
+ dl as UIContext,
5062
5002
  fe as UIContextProvider,
5063
- yo as UnifiedBreakdownTable,
5064
- wo as UnifiedContextMenu,
5065
- kn as VelocityBuffer,
5066
- _o as addressGroupMetadata,
5067
- Co as addressSchema,
5068
- hn as allChips,
5069
- Tn as allStateFixtures,
5070
- Rn as allVariantFixtures,
5071
- yn as blockSamples,
5072
- No as buildDefaultOverflow,
5073
- Sn as cardSamples,
5003
+ fo as UnifiedBreakdownTable,
5004
+ bo as UnifiedContextMenu,
5005
+ Cn as VelocityBuffer,
5006
+ vo as addressGroupMetadata,
5007
+ yo as addressSchema,
5008
+ mn as allChips,
5009
+ Dn as allStateFixtures,
5010
+ kn as allVariantFixtures,
5011
+ fn as blockSamples,
5012
+ wo as buildDefaultOverflow,
5013
+ _n as cardSamples,
5074
5014
  Y as cascadePhysics,
5075
- Cn as chartSamples,
5076
- _n as circleSamples,
5077
- mr as colorTokens,
5078
- Qn as compactLayout,
5079
- Bn as compactState,
5080
- xn as computeGutterAnchorX,
5081
- So as contactFormMetadata,
5082
- ko as contactSchema,
5083
- Kn as contextMenuFixtures,
5084
- Do as creditCardFormMetadata,
5085
- xo as creditCardSchema,
5086
- vt as dateChip,
5015
+ yn as chartSamples,
5016
+ vn as circleSamples,
5017
+ cr as colorTokens,
5018
+ Yn as compactLayout,
5019
+ Ln as compactState,
5020
+ Sn as computeGutterAnchorX,
5021
+ _o as contactFormMetadata,
5022
+ Co as contactSchema,
5023
+ $n as contextMenuFixtures,
5024
+ No as creditCardFormMetadata,
5025
+ So as creditCardSchema,
5026
+ bt as dateChip,
5087
5027
  Ke as defaultControlBarState,
5088
- Ro as destructiveModalMetadata,
5089
- To as durations,
5090
- Mo as easings,
5091
- It as emptyFixture,
5092
- ft as entityChip,
5093
- Bt as entityNameActions,
5094
- bn as entityTabGroup,
5095
- Pt as errorFixture,
5096
- Po as evaluateTintCondition,
5097
- zn as filteredState,
5098
- wl as findPreset,
5099
- _l as formatDateRange,
5100
- Cl as formatMarketDates,
5101
- Nl as formatTrend,
5102
- Sl as formatValue,
5103
- Jn as fullLayout,
5104
- kl as generateMarketId,
5105
- Io as generateTabId,
5106
- Dl as getAllPresets,
5107
- xl as getDateRangeForPreset,
5108
- Eo as getMenuActions,
5028
+ ko as destructiveModalMetadata,
5029
+ Do as durations,
5030
+ xo as easings,
5031
+ Pt as emptyFixture,
5032
+ ht as entityChip,
5033
+ zt as entityNameActions,
5034
+ gn as entityTabGroup,
5035
+ Mt as errorFixture,
5036
+ Ro as evaluateTintCondition,
5037
+ On as filteredState,
5038
+ vl as findPreset,
5039
+ yl as formatDateRange,
5040
+ wl as formatMarketDates,
5041
+ _l as formatTrend,
5042
+ Cl as formatValue,
5043
+ qn as fullLayout,
5044
+ Nl as generateMarketId,
5045
+ To as generateTabId,
5046
+ Sl as getAllPresets,
5047
+ kl as getDateRangeForPreset,
5048
+ Mo as getMenuActions,
5109
5049
  He as getMotionMode,
5110
- Rl as getPresetLabel,
5111
- Ao as getTransitionStyle,
5112
- qn as gridCards,
5113
- yr as gridChannels,
5114
- Fo as interpolate,
5115
- Tl as isInRange,
5116
- Ml as isMarketActive,
5117
- Pl as isSameDay,
5118
- $n as itemColumns,
5119
- Ln as itemRows,
5120
- Mt as loadingFixture,
5121
- Lo as loginFormMetadata,
5122
- Oo as loginSchema,
5123
- yt as manufacturerChip,
5124
- nr as manyTabs,
5125
- $o as mergeHandlers,
5126
- zo as mergeRefs,
5127
- fn as metricTabGroup,
5128
- tr as mixedTabs,
5129
- Il as normalizePresetId,
5130
- Gt as numericActions,
5131
- On as orderColumns,
5132
- Kt as orderIdActions,
5133
- Fn as orderRows,
5134
- er as ordersTabs,
5050
+ Dl as getPresetLabel,
5051
+ Po as getTransitionStyle,
5052
+ Un as gridCards,
5053
+ fr as gridChannels,
5054
+ Io as interpolate,
5055
+ xl as isInRange,
5056
+ Rl as isMarketActive,
5057
+ Tl as isSameDay,
5058
+ Fn as itemColumns,
5059
+ En as itemRows,
5060
+ Tt as loadingFixture,
5061
+ Eo as loginFormMetadata,
5062
+ Ao as loginSchema,
5063
+ vt as manufacturerChip,
5064
+ er as manyTabs,
5065
+ Fo as mergeHandlers,
5066
+ Oo as mergeRefs,
5067
+ pn as metricTabGroup,
5068
+ Xn as mixedTabs,
5069
+ Ml as normalizePresetId,
5070
+ Kt as numericActions,
5071
+ An as orderColumns,
5072
+ Bt as orderIdActions,
5073
+ In as orderRows,
5074
+ Qn as ordersTabs,
5135
5075
  Me as paletteHex,
5136
5076
  j as paletteVars,
5137
- il as panelsDeriveSurfaceState,
5138
- ol as panelsInitialState,
5139
- ll as panelsReducer,
5140
- Bo as parseNumericValue,
5141
- Ko as paymentFormMetadata,
5142
- Go as paymentSchema,
5143
- Ho as presets,
5144
- cr as provisional,
5145
- dr as reducedMotion,
5146
- Wo as registrationFormMetadata,
5147
- Vo as registrationSchema,
5148
- lr as rejectionFeedback,
5149
- Hn as sampleCompareRanges,
5150
- jn as sampleCustomMarkets,
5151
- Gn as sampleDateRange,
5152
- Un as sampleMarketPresetData,
5153
- Vn as sampleMarkets,
5154
- Zn as samplePeriodPresets,
5155
- Wn as samplePreferences,
5156
- Yn as samplePresets,
5157
- ar as singleTab,
5158
- Mn as sparklineFixture,
5159
- Pn as sparklineUpFixture,
5160
- Ft as staleDonutFixture,
5161
- Et as staleFixture,
5162
- At as staleSparklineFixture,
5163
- In as standardFixture,
5164
- An as standardFlatFixture,
5165
- Xn as standardLayout,
5166
- En as standardNegativeFixture,
5167
- bt as statusChip,
5077
+ rl as panelsDeriveSurfaceState,
5078
+ sl as panelsInitialState,
5079
+ il as panelsReducer,
5080
+ Lo as parseNumericValue,
5081
+ $o as paymentFormMetadata,
5082
+ zo as paymentSchema,
5083
+ Bo as presets,
5084
+ ir as provisional,
5085
+ or as reducedMotion,
5086
+ Ko as registrationFormMetadata,
5087
+ Go as registrationSchema,
5088
+ sr as rejectionFeedback,
5089
+ Bn as sampleCompareRanges,
5090
+ Hn as sampleCustomMarkets,
5091
+ zn as sampleDateRange,
5092
+ Wn as sampleMarketPresetData,
5093
+ Gn as sampleMarkets,
5094
+ jn as samplePeriodPresets,
5095
+ Kn as samplePreferences,
5096
+ Vn as samplePresets,
5097
+ Jn as singleTab,
5098
+ xn as sparklineFixture,
5099
+ Rn as sparklineUpFixture,
5100
+ At as staleDonutFixture,
5101
+ It as staleFixture,
5102
+ Et as staleSparklineFixture,
5103
+ Tn as standardFixture,
5104
+ Pn as standardFlatFixture,
5105
+ Zn as standardLayout,
5106
+ Mn as standardNegativeFixture,
5107
+ ft as statusChip,
5168
5108
  q as swingReveal,
5169
- Nn as tableSamples,
5170
- wn as textSamples,
5171
- vn as timeFrameTabGroup,
5172
- El as toUppercasePresetId,
5109
+ wn as tableSamples,
5110
+ bn as textSamples,
5111
+ hn as timeFrameTabGroup,
5112
+ Pl as toUppercasePresetId,
5173
5113
  Qe as useAffordanceVisibility,
5174
- gn as useArrowNavigation,
5175
- jo as useCheckboxGroupContext,
5176
- Uo as useFilterLayout,
5177
- Yo as useFlipAndStage,
5178
- Zo as useFlipAndStageContext,
5179
- qo as useFlipAndStageContextOptional,
5180
- pn as useFocusReturn,
5181
- Qo as useFocusTrap,
5182
- Xo as useFormContext,
5183
- Jo as useGestureState,
5184
- cl as usePanelContext,
5185
- ot as usePanelContextOptional,
5186
- dl as usePanelCoordinator,
5187
- Fa as usePortalAnchor,
5188
- el as useRadioGroupContext,
5189
- Tr as useResizeChoreography,
5190
- Dn as useResizePill,
5191
- Qt as useResizeTuning,
5192
- Ha as useSortableZones,
5193
- pl as useUIContext
5114
+ un as useArrowNavigation,
5115
+ Ho as useCheckboxGroupContext,
5116
+ Wo as useFilterLayout,
5117
+ Vo as useFlipAndStage,
5118
+ jo as useFlipAndStageContext,
5119
+ Uo as useFlipAndStageContextOptional,
5120
+ dn as useFocusReturn,
5121
+ Yo as useFocusTrap,
5122
+ Zo as useFormContext,
5123
+ qo as useGestureState,
5124
+ ol as usePanelContext,
5125
+ it as usePanelContextOptional,
5126
+ ll as usePanelCoordinator,
5127
+ Ia as usePortalAnchor,
5128
+ Qo as useRadioGroupContext,
5129
+ Dr as useResizeChoreography,
5130
+ Nn as useResizePill,
5131
+ qt as useResizeTuning,
5132
+ Ba as useSortableZones,
5133
+ ul as useUIContext
5194
5134
  };