@mt-gloss/ui 0.0.43 → 0.0.44

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,18 +1,18 @@
1
- import { N as Qa, T as Ja, O as en, Q as tn, a3 as an, b6 as nn, az as rn, ah as sn, Z as on, an as ln, K as dn, a8 as cn, bo as un, P as mn, B as pn, a as gn, y as fn, H as bn, bi as hn, F as vn, J as yn, A as wn, z as Dn, bh as Cn, E as Nn, D as kn, bx as Sn, b as xn, C as Tn, L as _n, o as In, ad as Rn, aN as Mn, y as Pn, H as Fn, F as En, J as On, A as An, z as Ln, E as $n, D as Bn, a$ as Kn, b2 as Gn, b1 as Vn, b0 as Hn, b3 as zn, aC as Wn, a5 as Zn, a4 as Un, aq as Yn, k as qn, m as jn, aF as Xn, ab as Qn, b8 as Jn, a9 as er, bp as tr, Y as ar, bH as nr, bG as rr, bI as sr, ap as or, aQ as ir, ba as lr, bM as dr, bv as cr, n as ur, am as mr, bB as pr, bs as gr, a0 as fr, ar as br, a2 as hr, bA as vr, G as yr, d as wr, aa as Dr, bJ as Cr, aT as Nr, r as kr, v as Sr, I as xr, g as Tr, aw as _r, bN as Ir, M as Rr, w as Mr, U as Pr, X as Fr, V as Er, W as Or, as as Ar, bg as Lr, bP as $r, bL as Br, ao as Kr, t as Gr, bq as Vr, aS as Hr, aj as zr, aK as Wr, ag as Zr, al as Ur, au as Yr, aR as qr, ac as jr, at as Xr, c as Qr, R as Jr, j as es, p as ts, aH as as, by as ns, bz as rs, ai as ss, ae as os, h as is, x as ls, b7 as ds, af as cs, bO as us, bc as ms, bf as ps, bd as gs, be as fs, i as bs, b9 as hs, bn as vs, S as ys, bk as ws, bl as Ds, av as Cs, bb as Ns, bQ as ks, ak as Ss, s as xs, bK as Ts, l as _s, f as Is, q as Rs, _ as Ms, $ as Ps, a7 as Fs, bj as Es, bw as Os, bD as As, aA as Ls, aB as $s, a6 as Bs, aO as Ks, aP as Gs, aD as Vs, aE as Hs, aG as zs, aV as Ws, aW as Zs, bF as Us, bE as Ys, aY as qs, aZ as js, ax as Xs, ay as Qs, b5 as Js, b4 as eo, a_ as to, aL as ao, aM as no, aX as ro, aI as so, aJ as oo, u as io, bC as lo, br as co, bt as uo, bu as mo, aU as po, a1 as go, e as fo, bm as bo } from "./Expandable-BdC9RXOI.js";
2
- import { jsxs as O, jsx as u } from "react/jsx-runtime";
3
- import K, { useRef as M, useEffect as A, useState as $, useCallback as h, forwardRef as Pe, useMemo as Q, createContext as Fe, useContext as Ee } from "react";
4
- import { motion as De, useMotionValue as Oe, animate as fe, useDragControls as Ae } from "framer-motion";
5
- import { B as Le, U as ge } from "./UIContext-C3E-k7HI.js";
6
- import { a as vo, u as yo } from "./UIContext-C3E-k7HI.js";
7
- import { createPortal as $e } from "react-dom";
8
- import { DEFAULT_MARKET_PRESETS as Do, DEFAULT_PINNED as Co, PERIOD_OPTIONS as No, ROLLING_OPTIONS as ko, TODAY_PRESET as So, findPreset as xo, formatDateRange as To, formatMarketDates as _o, formatTrend as Io, formatValue as Ro, generateMarketId as Mo, getAllPresets as Po, getDateRangeForPreset as Fo, getPresetLabel as Eo, isInRange as Oo, isMarketActive as Ao, isSameDay as Lo, normalizePresetId as $o, toUppercasePresetId as Bo } from "@mt-gloss/utils";
9
- import Be from "@mui/icons-material/AccessTime";
10
- import Ke from "@mui/icons-material/Tune";
11
- import Ge from "@mui/icons-material/ViewColumn";
12
- import Ve from "@mui/icons-material/AspectRatio";
13
- import He from "@mui/icons-material/Palette";
14
- import ze from "@mui/icons-material/PushPin";
15
- function oa(e = {}) {
1
+ import { N as Ja, T as en, O as tn, Q as an, a3 as nn, b6 as rn, az as sn, ah as on, Z as ln, an as dn, K as cn, a8 as un, bo as mn, P as pn, B as gn, a as fn, y as bn, H as hn, bi as vn, F as yn, J as wn, A as Dn, z as Cn, bh as Nn, E as kn, D as xn, bx as Sn, b as Tn, C as _n, L as In, o as Rn, ad as Mn, aN as Pn, y as Fn, H as En, F as On, J as An, A as Ln, z as $n, E as Bn, D as Kn, a$ as Gn, b2 as Vn, b1 as Hn, b0 as zn, b3 as Wn, aC as Zn, a5 as Un, a4 as Yn, aq as qn, k as jn, m as Xn, aF as Qn, ab as Jn, b8 as er, a9 as tr, bp as ar, Y as nr, bH as rr, bG as sr, bI as or, ap as ir, aQ as lr, ba as dr, bM as cr, bv as ur, n as mr, am as pr, bB as gr, bs as fr, a0 as br, ar as hr, a2 as vr, bA as yr, G as wr, d as Dr, aa as Cr, bJ as Nr, aT as kr, r as xr, v as Sr, I as Tr, g as _r, aw as Ir, bN as Rr, M as Mr, w as Pr, U as Fr, X as Er, V as Or, W as Ar, as as Lr, bg as $r, bP as Br, bL as Kr, ao as Gr, t as Vr, bq as Hr, aS as zr, aj as Wr, aK as Zr, ag as Ur, al as Yr, au as qr, aR as jr, ac as Xr, at as Qr, c as Jr, R as es, j as ts, p as as, aH as ns, by as rs, bz as ss, ai as os, ae as is, h as ls, x as ds, b7 as cs, af as us, bO as ms, bc as ps, bf as gs, bd as fs, be as bs, i as hs, b9 as vs, bn as ys, S as ws, bk as Ds, bl as Cs, av as Ns, bb as ks, bQ as xs, ak as Ss, s as Ts, bK as _s, l as Is, f as Rs, q as Ms, _ as Ps, $ as Fs, a7 as Es, bj as Os, bw as As, bD as Ls, aA as $s, aB as Bs, a6 as Ks, aO as Gs, aP as Vs, aD as Hs, aE as zs, aG as Ws, aV as Zs, aW as Us, bF as Ys, bE as qs, aY as js, aZ as Xs, ax as Qs, ay as Js, b5 as eo, b4 as to, a_ as ao, aL as no, aM as ro, aX as so, aI as oo, aJ as io, u as lo, bC as co, br as uo, bt as mo, bu as po, aU as go, a1 as fo, e as bo, bm as ho } from "./Expandable-BdC9RXOI.js";
2
+ import { jsxs as E, jsx as c } from "react/jsx-runtime";
3
+ import G, { useRef as M, useEffect as A, useState as B, useCallback as v, forwardRef as Fe, useMemo as J, createContext as Ee, useContext as Oe } from "react";
4
+ import { motion as De, useMotionValue as Ae, animate as fe, useDragControls as Le } from "framer-motion";
5
+ import { B as $e, U as ge } from "./UIContext-C3E-k7HI.js";
6
+ import { a as yo, u as wo } from "./UIContext-C3E-k7HI.js";
7
+ import { createPortal as Be } from "react-dom";
8
+ import { DEFAULT_MARKET_PRESETS as Co, DEFAULT_PINNED as No, PERIOD_OPTIONS as ko, ROLLING_OPTIONS as xo, TODAY_PRESET as So, findPreset as To, formatDateRange as _o, formatMarketDates as Io, formatTrend as Ro, formatValue as Mo, generateMarketId as Po, getAllPresets as Fo, getDateRangeForPreset as Eo, getPresetLabel as Oo, isInRange as Ao, isMarketActive as Lo, isSameDay as $o, normalizePresetId as Bo, toUppercasePresetId as Ko } from "@mt-gloss/utils";
9
+ import Ke from "@mui/icons-material/AccessTime";
10
+ import Ge from "@mui/icons-material/Tune";
11
+ import Ve from "@mui/icons-material/ViewColumn";
12
+ import He from "@mui/icons-material/AspectRatio";
13
+ import ze from "@mui/icons-material/Palette";
14
+ import We from "@mui/icons-material/PushPin";
15
+ function ia(e = {}) {
16
16
  const { enabled: t = !0, returnTo: n } = e, a = M(null);
17
17
  return A(() => {
18
18
  t && (a.current = n || document.activeElement);
@@ -22,7 +22,7 @@ function oa(e = {}) {
22
22
  }, 0);
23
23
  }, [t]), a;
24
24
  }
25
- function ia(e) {
25
+ function la(e) {
26
26
  const {
27
27
  items: t,
28
28
  activeIndex: n,
@@ -30,67 +30,67 @@ function ia(e) {
30
30
  loop: r = !0,
31
31
  orientation: o = "vertical",
32
32
  enabled: i = !0,
33
- isItemDisabled: m,
34
- onSelect: b,
35
- onEscape: d
36
- } = e, [f, C] = $(-1), l = n !== void 0 ? n : f, c = h(
33
+ isItemDisabled: p,
34
+ onSelect: h,
35
+ onEscape: u
36
+ } = e, [b, y] = B(-1), l = n !== void 0 ? n : b, d = v(
37
37
  (s) => {
38
- n === void 0 && C(s), a?.(s);
38
+ n === void 0 && y(s), a?.(s);
39
39
  },
40
40
  [n, a]
41
- ), v = h(() => t.map((s, g) => ({ item: s, index: g })).filter(({ item: s, index: g }) => !m?.(s, g)).map(({ index: s }) => s), [t, m]), I = h(
42
- (s, g) => {
43
- const w = v();
44
- if (w.length === 0) return -1;
45
- const T = w.indexOf(s);
46
- if (T === -1)
47
- return g === 1 ? w.find((R) => R > s) ?? (r ? w[0] : -1) : [...w].reverse().find((P) => P < s) ?? (r ? w[w.length - 1] : -1);
48
- let k = T + g;
49
- return r ? k = (k + w.length) % w.length : k = Math.max(0, Math.min(w.length - 1, k)), w[k];
41
+ ), w = v(() => t.map((s, m) => ({ item: s, index: m })).filter(({ item: s, index: m }) => !p?.(s, m)).map(({ index: s }) => s), [t, p]), I = v(
42
+ (s, m) => {
43
+ const D = w();
44
+ if (D.length === 0) return -1;
45
+ const k = D.indexOf(s);
46
+ if (k === -1)
47
+ return m === 1 ? D.find((R) => R > s) ?? (r ? D[0] : -1) : [...D].reverse().find((P) => P < s) ?? (r ? D[D.length - 1] : -1);
48
+ let x = k + m;
49
+ return r ? x = (x + D.length) % D.length : x = Math.max(0, Math.min(D.length - 1, x)), D[x];
50
50
  },
51
- [v, r]
52
- ), p = h(() => {
53
- const s = v();
54
- s.length > 0 && c(s[0]);
55
- }, [v, c]), D = h(() => {
56
- const s = v();
57
- s.length > 0 && c(s[s.length - 1]);
58
- }, [v, c]), S = h(() => {
51
+ [w, r]
52
+ ), g = v(() => {
53
+ const s = w();
54
+ s.length > 0 && d(s[0]);
55
+ }, [w, d]), S = v(() => {
56
+ const s = w();
57
+ s.length > 0 && d(s[s.length - 1]);
58
+ }, [w, d]), C = v(() => {
59
59
  const s = I(l, 1);
60
- s !== -1 && c(s);
61
- }, [l, I, c]), y = h(() => {
60
+ s !== -1 && d(s);
61
+ }, [l, I, d]), f = v(() => {
62
62
  const s = I(l, -1);
63
- s !== -1 && c(s);
64
- }, [l, I, c]), _ = h(() => {
65
- c(-1);
66
- }, [c]), x = h(
63
+ s !== -1 && d(s);
64
+ }, [l, I, d]), T = v(() => {
65
+ d(-1);
66
+ }, [d]), _ = v(
67
67
  (s) => {
68
68
  if (!i) return;
69
- const { key: g } = s, w = g === "ArrowUp" && (o === "vertical" || o === "both"), T = g === "ArrowDown" && (o === "vertical" || o === "both"), k = g === "ArrowLeft" && (o === "horizontal" || o === "both"), R = g === "ArrowRight" && (o === "horizontal" || o === "both");
70
- if (w || k) {
71
- s.preventDefault(), l === -1 ? D() : y();
69
+ const { key: m } = s, D = m === "ArrowUp" && (o === "vertical" || o === "both"), k = m === "ArrowDown" && (o === "vertical" || o === "both"), x = m === "ArrowLeft" && (o === "horizontal" || o === "both"), R = m === "ArrowRight" && (o === "horizontal" || o === "both");
70
+ if (D || x) {
71
+ s.preventDefault(), l === -1 ? S() : f();
72
72
  return;
73
73
  }
74
- if (T || R) {
75
- s.preventDefault(), l === -1 ? p() : S();
74
+ if (k || R) {
75
+ s.preventDefault(), l === -1 ? g() : C();
76
76
  return;
77
77
  }
78
- if (g === "Home") {
79
- s.preventDefault(), p();
78
+ if (m === "Home") {
79
+ s.preventDefault(), g();
80
80
  return;
81
81
  }
82
- if (g === "End") {
83
- s.preventDefault(), D();
82
+ if (m === "End") {
83
+ s.preventDefault(), S();
84
84
  return;
85
85
  }
86
- if ((g === "Enter" || g === " ") && l >= 0 && l < t.length) {
86
+ if ((m === "Enter" || m === " ") && l >= 0 && l < t.length) {
87
87
  s.preventDefault();
88
88
  const P = t[l];
89
- m?.(P, l) || b?.(P, l);
89
+ p?.(P, l) || h?.(P, l);
90
90
  return;
91
91
  }
92
- if (g === "Escape") {
93
- d?.();
92
+ if (m === "Escape") {
93
+ u?.();
94
94
  return;
95
95
  }
96
96
  },
@@ -99,63 +99,63 @@ function ia(e) {
99
99
  o,
100
100
  l,
101
101
  t,
102
- p,
103
- D,
102
+ g,
104
103
  S,
105
- y,
106
- m,
107
- b,
108
- d
104
+ C,
105
+ f,
106
+ p,
107
+ h,
108
+ u
109
109
  ]
110
110
  );
111
111
  return {
112
112
  focusedIndex: l,
113
- setFocusedIndex: c,
114
- handleKeyDown: x,
115
- focusFirst: p,
116
- focusLast: D,
117
- focusNext: S,
118
- focusPrevious: y,
119
- resetFocus: _
113
+ setFocusedIndex: d,
114
+ handleKeyDown: _,
115
+ focusFirst: g,
116
+ focusLast: S,
117
+ focusNext: C,
118
+ focusPrevious: f,
119
+ resetFocus: T
120
120
  };
121
121
  }
122
- const ae = (e) => {
123
- }, We = {
122
+ const re = (e) => {
123
+ }, Ze = {
124
124
  id: "entity-filter-1",
125
125
  label: "Customer: Acme Corp",
126
126
  field: "customer",
127
127
  value: "acme-corp-123",
128
- onRemove: ae
129
- }, Ze = {
128
+ onRemove: re
129
+ }, Ue = {
130
130
  id: "status-filter-1",
131
131
  label: "Status: Open",
132
132
  field: "status",
133
133
  value: "open",
134
- onRemove: ae
135
- }, Ue = {
134
+ onRemove: re
135
+ }, Ye = {
136
136
  id: "date-filter-1",
137
137
  label: "Date: Mar 1 - Mar 15",
138
138
  field: "dateRange",
139
139
  value: "2026-03-01..2026-03-15",
140
- onRemove: ae
141
- }, Ye = {
140
+ onRemove: re
141
+ }, qe = {
142
142
  id: "mfg-filter-1",
143
143
  label: "Manufacturer: Widget Co",
144
144
  field: "manufacturer",
145
145
  value: "widget-co-456",
146
- onRemove: ae
147
- }, la = [
148
- We,
146
+ onRemove: re
147
+ }, da = [
149
148
  Ze,
150
149
  Ue,
151
- Ye
152
- ], da = {
150
+ Ye,
151
+ qe
152
+ ], ca = {
153
153
  id: "metric-toggle",
154
154
  tabs: [
155
155
  { id: "$", label: "$", mono: !0 },
156
156
  { id: "#", label: "#", mono: !0 }
157
157
  ]
158
- }, ca = {
158
+ }, ua = {
159
159
  id: "entity-type",
160
160
  tabs: [
161
161
  { id: "orders", label: "Orders" },
@@ -163,7 +163,7 @@ const ae = (e) => {
163
163
  { id: "customers", label: "Customers" },
164
164
  { id: "manufacturers", label: "Manufacturers" }
165
165
  ]
166
- }, ua = {
166
+ }, ma = {
167
167
  id: "time-frame",
168
168
  tabs: [
169
169
  { id: "MTD", label: "MTD" },
@@ -171,26 +171,26 @@ const ae = (e) => {
171
171
  { id: "YTD", label: "YTD" },
172
172
  { id: "LYTD", label: "LYTD" }
173
173
  ]
174
- }, ma = [
174
+ }, pa = [
175
175
  { variant: "block", width: "100%", height: 16 },
176
176
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
177
177
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
178
178
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
179
- ], pa = [
179
+ ], ga = [
180
180
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
181
181
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
182
182
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
183
- ], ga = [
183
+ ], fa = [
184
184
  { variant: "circle", size: 24 },
185
185
  { variant: "circle", size: 40 },
186
186
  { variant: "circle", size: 64 }
187
- ], fa = [
187
+ ], ba = [
188
188
  { bars: 10, maxHeight: 120 },
189
189
  { bars: 5, maxHeight: 80 }
190
- ], ba = [
190
+ ], ha = [
191
191
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
192
192
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
193
- ], ha = [
193
+ ], va = [
194
194
  { variant: "value", colSpan: 1 },
195
195
  { variant: "trend", colSpan: 2 },
196
196
  { variant: "target", colSpan: 1 }
@@ -220,16 +220,16 @@ const ae = (e) => {
220
220
  width: "100%",
221
221
  textAlign: "left",
222
222
  border: "none"
223
- }), qe = (e) => ({
223
+ }), je = (e) => ({
224
224
  ...de(e),
225
225
  color: e ? "#4338ca" : "#4f46e5",
226
226
  fontWeight: 600
227
- }), je = {
227
+ }), Xe = {
228
228
  height: 1,
229
229
  background: "rgba(0,0,0,0.06)",
230
230
  margin: "3px 10px"
231
231
  };
232
- function Xe({
232
+ function Qe({
233
233
  open: e,
234
234
  anchorEl: t,
235
235
  statusId: n,
@@ -238,133 +238,133 @@ function Xe({
238
238
  overflowActions: o,
239
239
  onClose: i
240
240
  }) {
241
- const [m, b] = $(null), d = M(null), f = h(() => {
241
+ const [p, h] = B(null), u = M(null), b = v(() => {
242
242
  if (!t) return { ...be, top: 0, left: 0 };
243
- const c = t.getBoundingClientRect();
243
+ const d = t.getBoundingClientRect();
244
244
  return {
245
245
  ...be,
246
- top: c.bottom + 4,
247
- left: c.left
246
+ top: d.bottom + 4,
247
+ left: d.left
248
248
  };
249
249
  }, [t]);
250
250
  if (A(() => {
251
251
  if (!e) return;
252
- const c = (v) => {
253
- v.key === "Escape" && i();
252
+ const d = (w) => {
253
+ w.key === "Escape" && i();
254
254
  };
255
- return document.addEventListener("keydown", c), () => document.removeEventListener("keydown", c);
255
+ return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
256
256
  }, [e, i]), A(() => {
257
257
  if (!e) return;
258
- const c = (v) => {
259
- d.current && !d.current.contains(v.target) && i();
258
+ const d = (w) => {
259
+ u.current && !u.current.contains(w.target) && i();
260
260
  };
261
- return document.addEventListener("pointerdown", c, !0), () => document.removeEventListener("pointerdown", c, !0);
261
+ return document.addEventListener("pointerdown", d, !0), () => document.removeEventListener("pointerdown", d, !0);
262
262
  }, [e, i]), !e) return null;
263
- const C = o && o.length > 0, l = /* @__PURE__ */ O(
263
+ const y = o && o.length > 0, l = /* @__PURE__ */ E(
264
264
  "div",
265
265
  {
266
- ref: d,
266
+ ref: u,
267
267
  "data-status-chip-menu": n,
268
268
  role: "menu",
269
269
  "aria-label": "Status actions",
270
- style: f(),
270
+ style: b(),
271
271
  children: [
272
- /* @__PURE__ */ u(
272
+ /* @__PURE__ */ c(
273
273
  "button",
274
274
  {
275
275
  role: "menuitem",
276
- style: qe(m === "__primary"),
277
- onMouseEnter: () => b("__primary"),
278
- onMouseLeave: () => b(null),
276
+ style: je(p === "__primary"),
277
+ onMouseEnter: () => h("__primary"),
278
+ onMouseLeave: () => h(null),
279
279
  onClick: () => {
280
280
  a(n), i();
281
281
  },
282
282
  children: "Open in table"
283
283
  }
284
284
  ),
285
- /* @__PURE__ */ u(
285
+ /* @__PURE__ */ c(
286
286
  "button",
287
287
  {
288
288
  role: "menuitem",
289
- style: de(m === "__graph"),
290
- onMouseEnter: () => b("__graph"),
291
- onMouseLeave: () => b(null),
289
+ style: de(p === "__graph"),
290
+ onMouseEnter: () => h("__graph"),
291
+ onMouseLeave: () => h(null),
292
292
  onClick: () => {
293
293
  r(n), i();
294
294
  },
295
295
  children: "Show on graph"
296
296
  }
297
297
  ),
298
- C && /* @__PURE__ */ u("div", { style: je }),
299
- C && o?.map((c) => /* @__PURE__ */ u(
298
+ y && /* @__PURE__ */ c("div", { style: Xe }),
299
+ y && o?.map((d) => /* @__PURE__ */ c(
300
300
  "button",
301
301
  {
302
302
  role: "menuitem",
303
- style: de(m === c.id),
304
- onMouseEnter: () => b(c.id),
305
- onMouseLeave: () => b(null),
303
+ style: de(p === d.id),
304
+ onMouseEnter: () => h(d.id),
305
+ onMouseLeave: () => h(null),
306
306
  onClick: () => {
307
- c.onSelect(n), i();
307
+ d.onSelect(n), i();
308
308
  },
309
- children: c.label
309
+ children: d.label
310
310
  },
311
- c.id
311
+ d.id
312
312
  ))
313
313
  ]
314
314
  }
315
315
  );
316
- return $e(l, document.body);
316
+ return Be(l, document.body);
317
317
  }
318
- Xe.displayName = "StatusSlotChipMenu";
319
- const Qe = Pe(
320
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: r, onPointerLeave: o, onKeyboardStep: i, edge: m = "right", ariaLabel: b = "Resize card" }, d) {
321
- const f = t === "handle-visible" || t === "dragging" || t === "settling", C = (v) => {
318
+ Qe.displayName = "StatusSlotChipMenu";
319
+ const Je = Fe(
320
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: r, onPointerLeave: o, onKeyboardStep: i, edge: p = "right", ariaLabel: h = "Resize card" }, u) {
321
+ const b = t === "handle-visible" || t === "dragging" || t === "settling", y = (w) => {
322
322
  try {
323
- v.currentTarget.setPointerCapture(v.pointerId);
323
+ w.currentTarget.setPointerCapture(w.pointerId);
324
324
  } catch {
325
325
  }
326
- n(v);
327
- }, l = (v) => {
326
+ n(w);
327
+ }, l = (w) => {
328
328
  try {
329
- v.currentTarget.hasPointerCapture?.(v.pointerId) && v.currentTarget.releasePointerCapture(v.pointerId);
329
+ w.currentTarget.hasPointerCapture?.(w.pointerId) && w.currentTarget.releasePointerCapture(w.pointerId);
330
330
  } catch {
331
331
  }
332
- a(v);
333
- }, c = (v) => {
334
- !f || !i || (v.key === "ArrowRight" ? (v.preventDefault(), i("grow")) : v.key === "ArrowLeft" && (v.preventDefault(), i("shrink")));
332
+ a(w);
333
+ }, d = (w) => {
334
+ !b || !i || (w.key === "ArrowRight" ? (w.preventDefault(), i("grow")) : w.key === "ArrowLeft" && (w.preventDefault(), i("shrink")));
335
335
  };
336
- return /* @__PURE__ */ u(
336
+ return /* @__PURE__ */ c(
337
337
  "button",
338
338
  {
339
- ref: d,
339
+ ref: u,
340
340
  type: "button",
341
- "aria-label": b,
342
- "data-edge": m,
341
+ "aria-label": h,
342
+ "data-edge": p,
343
343
  "data-resize-state": t,
344
344
  className: [
345
345
  "gloss-edge-handle",
346
- `gloss-edge-handle--${m}`,
347
- f ? "gloss-edge-handle--visible" : ""
346
+ `gloss-edge-handle--${p}`,
347
+ b ? "gloss-edge-handle--visible" : ""
348
348
  ].filter(Boolean).join(" "),
349
- onPointerDown: C,
349
+ onPointerDown: y,
350
350
  onPointerUp: l,
351
351
  onPointerEnter: r,
352
352
  onPointerLeave: o,
353
- onKeyDown: c,
354
- tabIndex: f ? 0 : -1
353
+ onKeyDown: d,
354
+ tabIndex: b ? 0 : -1
355
355
  }
356
356
  );
357
357
  }
358
358
  );
359
- Qe.displayName = "EdgeHoverHandle";
360
- function Je({
359
+ Je.displayName = "EdgeHoverHandle";
360
+ function et({
361
361
  visible: e,
362
362
  targetColSpan: t,
363
363
  motionX: n,
364
364
  enterMs: a = 180,
365
365
  exitMs: r = 120
366
366
  }) {
367
- return /* @__PURE__ */ u(
367
+ return /* @__PURE__ */ c(
368
368
  De.div,
369
369
  {
370
370
  "aria-hidden": "true",
@@ -378,8 +378,8 @@ function Je({
378
378
  }
379
379
  );
380
380
  }
381
- Je.displayName = "GhostPreview";
382
- class et {
381
+ et.displayName = "GhostPreview";
382
+ class tt {
383
383
  constructor() {
384
384
  this.samples = [], this.capacity = 3;
385
385
  }
@@ -403,11 +403,11 @@ class et {
403
403
  const t = this.samples.length;
404
404
  if (t < 2) return 0;
405
405
  if (t === 2) {
406
- const [b, d] = this.samples, f = Math.max(1, d.t - b.t);
407
- return (d.x - b.x) / f * 1e3;
406
+ const [h, u] = this.samples, b = Math.max(1, u.t - h.t);
407
+ return (u.x - h.x) / b * 1e3;
408
408
  }
409
- const [n, a, r] = this.samples, o = (r.x - a.x) / Math.max(1, r.t - a.t) * 1e3, i = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, m = i;
410
- return (o * 3 + i * 2 + m * 1) / 6;
409
+ const [n, a, r] = this.samples, o = (r.x - a.x) / Math.max(1, r.t - a.t) * 1e3, i = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, p = i;
410
+ return (o * 3 + i * 2 + p * 1) / 6;
411
411
  }
412
412
  }
413
413
  const Ce = {
@@ -427,7 +427,7 @@ const Ce = {
427
427
  // Velocity multiplier (D-03b panel)
428
428
  velocityMultiplier: 1
429
429
  };
430
- function va({
430
+ function ya({
431
431
  currentColSpan: e,
432
432
  stackable: t,
433
433
  onResize: n,
@@ -435,176 +435,177 @@ function va({
435
435
  step: r = 180,
436
436
  tuning: o,
437
437
  dwellMs: i = 120,
438
- enterMs: m = 180,
439
- exitMs: b = 120
438
+ enterMs: p = 180,
439
+ exitMs: h = 120,
440
+ maxColSpan: u = 3
440
441
  }) {
441
- const [d, f] = $("idle"), [C, l] = $(e), c = M(null), v = M(null), I = M(null), p = M(r), D = M("idle");
442
+ const [b, y] = B("idle"), [l, d] = B(e), w = M(null), I = M(null), g = M(null), S = M(r), C = M("idle");
442
443
  A(() => {
443
- D.current = d;
444
- }, [d]);
445
- const S = Oe(0), y = M(new et()), _ = M(e);
444
+ C.current = b;
445
+ }, [b]);
446
+ const f = Ae(0), T = M(new tt()), _ = M(e);
446
447
  A(() => {
447
- _.current = C;
448
- }, [C]);
449
- const x = Q(() => ({ ...Ce, ...o ?? {} }), [o]), s = h(() => {
450
- c.current && (clearTimeout(c.current), c.current = null);
451
- }, []), g = h(() => {
452
- v.current && (clearTimeout(v.current), v.current = null);
453
- }, []), w = h(() => {
454
- f((N) => N === "settling" || N !== "idle" ? N : (c.current = setTimeout(() => f("handle-visible"), i), "dwelling"));
455
- }, [i]), T = h(() => {
456
- s(), f((N) => N === "dwelling" || N === "handle-visible" ? "idle" : N);
457
- }, [s]), k = h(
458
- (N, F, E) => {
459
- const L = p.current, re = L * x.snapInFraction, J = L * x.snapOutFraction, ee = F - E;
460
- let H = ee;
461
- for (; E + H < 3; ) {
462
- const se = H * L + (H < 0 ? J : re);
463
- if (N >= se) H += 1;
448
+ _.current = l;
449
+ }, [l]);
450
+ const s = J(() => ({ ...Ce, ...o ?? {} }), [o]), m = v(() => {
451
+ w.current && (clearTimeout(w.current), w.current = null);
452
+ }, []), D = v(() => {
453
+ I.current && (clearTimeout(I.current), I.current = null);
454
+ }, []), k = v(() => {
455
+ y((N) => N === "settling" || N !== "idle" ? N : (w.current = setTimeout(() => y("handle-visible"), i), "dwelling"));
456
+ }, [i]), x = v(() => {
457
+ m(), y((N) => N === "dwelling" || N === "handle-visible" ? "idle" : N);
458
+ }, [m]), R = v(
459
+ (N, F, O) => {
460
+ const L = S.current, j = L * s.snapInFraction, q = L * s.snapOutFraction, Z = F - O;
461
+ let $ = Z;
462
+ for (; O + $ < 3; ) {
463
+ const se = $ * L + ($ < 0 ? q : j);
464
+ if (N >= se) $ += 1;
464
465
  else break;
465
466
  }
466
- if (H === ee)
467
- for (; E + H > 1; ) {
468
- const se = H * L - (H > 0 ? J : re);
469
- if (N <= se) H -= 1;
467
+ if ($ === Z)
468
+ for (; O + $ > 1; ) {
469
+ const se = $ * L - ($ > 0 ? q : j);
470
+ if (N <= se) $ -= 1;
470
471
  else break;
471
472
  }
472
- return Math.min(3, Math.max(1, E + H));
473
+ return Math.min(3, Math.max(1, O + $));
473
474
  },
474
- [x.snapInFraction, x.snapOutFraction]
475
- ), R = h(
475
+ [s.snapInFraction, s.snapOutFraction]
476
+ ), P = v(
476
477
  (N) => {
477
- D.current === "handle-visible" && (I.current = N.clientX, p.current = r, y.current.clear(), y.current.push({ x: N.clientX, t: performance.now() }), S.jump(0), D.current = "dragging", f("dragging"));
478
+ C.current === "handle-visible" && (g.current = N.clientX, S.current = r, T.current.clear(), T.current.push({ x: N.clientX, t: performance.now() }), f.jump(0), C.current = "dragging", y("dragging"));
478
479
  },
479
- [r, S]
480
- ), P = h(
481
- (N) => (N - e) * p.current,
480
+ [r, f]
481
+ ), W = v(
482
+ (N) => (N - e) * S.current,
482
483
  [e]
483
- ), G = h(
484
+ ), H = v(
484
485
  (N, F) => {
485
- const E = P(N), L = N !== e;
486
+ const O = W(N), L = N !== e;
486
487
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
487
- S.jump(E), L && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : L || a?.(), S.jump(0), D.current = "idle", f("idle");
488
+ f.jump(O), L && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : L || a?.(), f.jump(0), C.current = "idle", y("idle");
488
489
  return;
489
490
  }
490
- const J = y.current.getWeightedVelocity() * x.velocityMultiplier;
491
- D.current = "settling", f("settling"), fe(S, E, {
491
+ const q = T.current.getWeightedVelocity() * s.velocityMultiplier;
492
+ C.current = "settling", y("settling"), fe(f, O, {
492
493
  type: "spring",
493
- stiffness: x.stiffness,
494
- damping: x.damping,
495
- mass: x.mass,
496
- velocity: J,
494
+ stiffness: s.stiffness,
495
+ damping: s.damping,
496
+ mass: s.mass,
497
+ velocity: q,
497
498
  onComplete: () => {
498
- L && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : L || a?.(), S.jump(0), D.current = "idle", f("idle");
499
+ L && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : L || a?.(), f.jump(0), C.current = "idle", y("idle");
499
500
  }
500
501
  });
501
502
  },
502
- [P, e, t, n, a, S, x]
503
- ), W = h(
503
+ [W, e, t, n, a, f, s]
504
+ ), ee = v(
504
505
  (N) => {
505
- if (D.current !== "dragging") return;
506
- const F = N.clientX - (I.current ?? N.clientX);
507
- y.current.push({ x: N.clientX, t: performance.now() });
508
- const E = k(F, _.current, e), L = E > e ? "grow" : E < e ? "shrink" : null;
509
- G(E, L);
506
+ if (C.current !== "dragging") return;
507
+ const F = N.clientX - (g.current ?? N.clientX);
508
+ T.current.push({ x: N.clientX, t: performance.now() });
509
+ const O = R(F, _.current, e), L = O > e ? "grow" : O < e ? "shrink" : null;
510
+ H(O, L);
510
511
  },
511
- [k, e, G]
512
- ), Y = h(() => {
513
- if (s(), D.current === "dragging") {
512
+ [R, e, H]
513
+ ), V = v(() => {
514
+ if (m(), C.current === "dragging") {
514
515
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
515
- S.jump(0), a?.(), D.current = "idle", f("idle");
516
+ f.jump(0), a?.(), C.current = "idle", y("idle");
516
517
  return;
517
518
  }
518
- const F = y.current.getWeightedVelocity();
519
- D.current = "settling", f("settling"), fe(S, 0, {
519
+ const F = T.current.getWeightedVelocity();
520
+ C.current = "settling", y("settling"), fe(f, 0, {
520
521
  type: "spring",
521
- stiffness: x.stiffness,
522
- damping: x.damping,
523
- mass: x.mass,
522
+ stiffness: s.stiffness,
523
+ damping: s.damping,
524
+ mass: s.mass,
524
525
  velocity: F,
525
526
  onComplete: () => {
526
- a?.(), S.jump(0), D.current = "idle", f("idle");
527
+ a?.(), f.jump(0), C.current = "idle", y("idle");
527
528
  }
528
529
  });
529
530
  return;
530
531
  }
531
- D.current === "handle-visible" && (a?.(), D.current = "cancelled", f("cancelled"));
532
- }, [s, S, a, x]);
532
+ C.current === "handle-visible" && (a?.(), C.current = "cancelled", y("cancelled"));
533
+ }, [m, f, a, s]);
533
534
  A(() => {
534
- if (d !== "dragging" && d !== "handle-visible") return;
535
+ if (b !== "dragging" && b !== "handle-visible") return;
535
536
  const N = (F) => {
536
- F.key === "Escape" && Y();
537
+ F.key === "Escape" && V();
537
538
  };
538
539
  return window.addEventListener("keydown", N), () => window.removeEventListener("keydown", N);
539
- }, [d, Y]), A(() => {
540
- if (d !== "dragging") {
541
- l(e);
540
+ }, [b, V]), A(() => {
541
+ if (b !== "dragging") {
542
+ d(e);
542
543
  return;
543
544
  }
544
545
  const N = (F) => {
545
- const E = F.clientX - (I.current ?? F.clientX);
546
- S.set(E), y.current.push({ x: F.clientX, t: performance.now() });
547
- const L = k(E, _.current, e);
548
- L !== _.current && (_.current = L, l(L));
546
+ const O = F.clientX - (g.current ?? F.clientX), L = S.current, j = (u - e) * L, q = (1 - e) * L, Z = Math.max(q, Math.min(j, O));
547
+ f.set(Z), T.current.push({ x: F.clientX, t: performance.now() });
548
+ const $ = R(Z, _.current, e);
549
+ $ !== _.current && (_.current = $, d($));
549
550
  };
550
551
  return window.addEventListener("pointermove", N), () => window.removeEventListener("pointermove", N);
551
- }, [d, e, S, k]), A(() => () => {
552
- s(), g();
553
- }, [s, g]), A(() => {
554
- if (d !== "cancelled") return;
555
- const N = setTimeout(() => f("idle"), b);
552
+ }, [b, e, f, R, u]), A(() => () => {
553
+ m(), D();
554
+ }, [m, D]), A(() => {
555
+ if (b !== "cancelled") return;
556
+ const N = setTimeout(() => y("idle"), h);
556
557
  return () => clearTimeout(N);
557
- }, [d, b]);
558
- const V = h(
558
+ }, [b, h]);
559
+ const te = v(
559
560
  (N) => {
560
- if (D.current === "settling") return;
561
- const E = Math.min(3, Math.max(1, e + (N === "grow" ? 1 : -1)));
562
- E !== e && (p.current = r, y.current.clear(), S.jump(0), G(E, N));
561
+ if (C.current === "settling") return;
562
+ const O = Math.min(3, Math.max(1, e + (N === "grow" ? 1 : -1)));
563
+ O !== e && (S.current = r, T.current.clear(), f.jump(0), H(O, N));
563
564
  },
564
- [e, r, S, G]
565
- ), q = h(() => {
566
- g(), v.current = setTimeout(() => {
567
- D.current === "handle-visible" && (D.current = "idle", f("idle"));
565
+ [e, r, f, H]
566
+ ), ae = v(() => {
567
+ D(), I.current = setTimeout(() => {
568
+ C.current === "handle-visible" && (C.current = "idle", y("idle"));
568
569
  }, 5e3);
569
- }, [g]), ne = h(() => {
570
- D.current === "idle" && (s(), D.current = "handle-visible", f("handle-visible"), q());
571
- }, [s, q]), B = h(() => {
572
- g(), D.current === "handle-visible" && (D.current = "idle", f("idle"));
573
- }, [g]);
570
+ }, [D]), K = v(() => {
571
+ C.current === "idle" && (m(), C.current = "handle-visible", y("handle-visible"), ae());
572
+ }, [m, ae]), Pe = v(() => {
573
+ D(), C.current === "handle-visible" && (C.current = "idle", y("idle"));
574
+ }, [D]);
574
575
  return {
575
- state: d,
576
- enterEdgeZone: w,
577
- leaveEdgeZone: T,
576
+ state: b,
577
+ enterEdgeZone: k,
578
+ leaveEdgeZone: x,
578
579
  handleProps: {
579
- onPointerDown: R,
580
- onPointerUp: W,
580
+ onPointerDown: P,
581
+ onPointerUp: ee,
581
582
  // Bug E: handle continues zone presence so pointer crossing sentinel→handle
582
583
  // doesn't collapse state. handle's pointerenter = stay in zone.
583
- onPointerEnter: w,
584
- onPointerLeave: T
584
+ onPointerEnter: k,
585
+ onPointerLeave: x
585
586
  },
586
- previewColSpan: C,
587
+ previewColSpan: l,
587
588
  ghostProps: {
588
- visible: d === "dragging" || d === "settling",
589
- targetColSpan: C,
590
- motionX: S,
591
- enterMs: m,
592
- exitMs: b
589
+ visible: b === "dragging" || b === "settling",
590
+ targetColSpan: l,
591
+ motionX: f,
592
+ enterMs: p,
593
+ exitMs: h
593
594
  },
594
- onKeyboardStep: V,
595
- onTouchReveal: ne,
596
- onTouchDismiss: B,
597
- cancel: Y
595
+ onKeyboardStep: te,
596
+ onTouchReveal: K,
597
+ onTouchDismiss: Pe,
598
+ cancel: V
598
599
  };
599
600
  }
600
- function ya(e) {
601
+ function wa(e) {
601
602
  const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: r } = e;
602
603
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
603
604
  return;
604
605
  const o = (a + 0.5) * (t / n);
605
606
  return r != null && Number.isFinite(r) && r > 0 ? o - r / 2 : o;
606
607
  }
607
- const wa = [
608
+ const Da = [
608
609
  // 1. Standard: Total Revenue
609
610
  {
610
611
  variant: "standard",
@@ -708,24 +709,24 @@ const wa = [
708
709
  { value: 9, color: "#6b7280", label: "Other" }
709
710
  ]
710
711
  }
711
- ], tt = {
712
+ ], at = {
712
713
  variant: "standard",
713
714
  label: "Total Revenue",
714
715
  isLoading: !0
715
- }, at = {
716
+ }, nt = {
716
717
  variant: "standard",
717
718
  label: "Total Revenue",
718
719
  value: 125430,
719
720
  valueFormat: { prefix: "$", abbreviated: !0 },
720
721
  isError: !0
721
- }, nt = {
722
+ }, rt = {
722
723
  variant: "standard",
723
724
  label: "Total Revenue",
724
725
  value: null,
725
726
  valueFormat: { prefix: "$", abbreviated: !0 },
726
727
  isEmpty: !0,
727
728
  subtitle: "No data"
728
- }, rt = {
729
+ }, st = {
729
730
  variant: "standard",
730
731
  label: "Total Revenue",
731
732
  value: 125430,
@@ -733,7 +734,7 @@ const wa = [
733
734
  trend: { value: 12.5, direction: "up" },
734
735
  subtitle: "MTD",
735
736
  isStale: !0
736
- }, st = {
737
+ }, ot = {
737
738
  variant: "sparkline",
738
739
  label: "Daily Orders",
739
740
  value: 847,
@@ -742,7 +743,7 @@ const wa = [
742
743
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
743
744
  accentColor: "#6366f1",
744
745
  isStale: !0
745
- }, ot = {
746
+ }, it = {
746
747
  variant: "donut",
747
748
  label: "Order Fill Rate",
748
749
  value: 78,
@@ -753,14 +754,14 @@ const wa = [
753
754
  donutMax: 100,
754
755
  accentColor: "#10b981",
755
756
  isStale: !0
756
- }, Da = [
757
- tt,
757
+ }, Ca = [
758
758
  at,
759
759
  nt,
760
760
  rt,
761
761
  st,
762
- ot
763
- ], Ca = {
762
+ ot,
763
+ it
764
+ ], Na = {
764
765
  variant: "sparkline",
765
766
  label: "Daily Orders",
766
767
  value: 847,
@@ -783,7 +784,7 @@ const wa = [
783
784
  59
784
785
  ],
785
786
  accentColor: "#6366f1"
786
- }, Na = {
787
+ }, ka = {
787
788
  variant: "sparkline",
788
789
  label: "New Customers",
789
790
  value: 23,
@@ -822,7 +823,7 @@ const wa = [
822
823
  19
823
824
  ],
824
825
  accentColor: "#10b981"
825
- }, ka = {
826
+ }, xa = {
826
827
  variant: "standard",
827
828
  label: "Total Revenue",
828
829
  value: 125430,
@@ -836,7 +837,7 @@ const wa = [
836
837
  valueFormat: { prefix: "$", abbreviated: !0 },
837
838
  trend: { value: -8.3, direction: "down" },
838
839
  subtitle: "MTD"
839
- }, xa = {
840
+ }, Ta = {
840
841
  variant: "standard",
841
842
  label: "Avg Order Value",
842
843
  value: 487,
@@ -852,25 +853,25 @@ function Ne({
852
853
  activePageId: r,
853
854
  onPageChange: o,
854
855
  onCreatePage: i,
855
- onManagePages: m
856
+ onManagePages: p
856
857
  }) {
857
- const b = h(
858
+ const h = v(
858
859
  (l) => {
859
860
  o(l), t();
860
861
  },
861
862
  [o, t]
862
- ), d = h(
863
- (l, c) => {
864
- (c.key === "Enter" || c.key === " ") && (c.preventDefault(), b(l));
863
+ ), u = v(
864
+ (l, d) => {
865
+ (d.key === "Enter" || d.key === " ") && (d.preventDefault(), h(l));
865
866
  },
866
- [b]
867
- ), f = h(() => {
867
+ [h]
868
+ ), b = v(() => {
868
869
  i(), t();
869
- }, [i, t]), C = h(() => {
870
- m(), t();
871
- }, [m, t]);
872
- return /* @__PURE__ */ O(
873
- Le,
870
+ }, [i, t]), y = v(() => {
871
+ p(), t();
872
+ }, [p, t]);
873
+ return /* @__PURE__ */ E(
874
+ $e,
874
875
  {
875
876
  definition: {
876
877
  placement: "bottom-end",
@@ -883,55 +884,55 @@ function Ne({
883
884
  anchorRef: n,
884
885
  className: "gloss-page-dropdown",
885
886
  children: [
886
- /* @__PURE__ */ u("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((l) => {
887
- const c = l.id === r;
888
- return /* @__PURE__ */ O(
887
+ /* @__PURE__ */ c("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((l) => {
888
+ const d = l.id === r;
889
+ return /* @__PURE__ */ E(
889
890
  "li",
890
891
  {
891
892
  role: "menuitemradio",
892
- "aria-checked": c,
893
- "aria-current": c ? "page" : void 0,
893
+ "aria-checked": d,
894
+ "aria-current": d ? "page" : void 0,
894
895
  tabIndex: 0,
895
- className: `gloss-page-dropdown__item${c ? " gloss-page-dropdown__item--active" : ""}`,
896
- onClick: () => b(l.id),
897
- onKeyDown: (v) => d(l.id, v),
896
+ className: `gloss-page-dropdown__item${d ? " gloss-page-dropdown__item--active" : ""}`,
897
+ onClick: () => h(l.id),
898
+ onKeyDown: (w) => u(l.id, w),
898
899
  children: [
899
- /* @__PURE__ */ u(
900
+ /* @__PURE__ */ c(
900
901
  "span",
901
902
  {
902
- className: `gloss-page-dropdown__dot${c ? " gloss-page-dropdown__dot--active" : ""}`
903
+ className: `gloss-page-dropdown__dot${d ? " gloss-page-dropdown__dot--active" : ""}`
903
904
  }
904
905
  ),
905
- /* @__PURE__ */ u(
906
+ /* @__PURE__ */ c(
906
907
  "span",
907
908
  {
908
909
  className: `gloss-page-dropdown__name${l.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
909
910
  children: l.name
910
911
  }
911
912
  ),
912
- /* @__PURE__ */ u("span", { className: "gloss-page-dropdown__count", children: l.cardCount })
913
+ /* @__PURE__ */ c("span", { className: "gloss-page-dropdown__count", children: l.cardCount })
913
914
  ]
914
915
  },
915
916
  l.id
916
917
  );
917
918
  }) }),
918
- /* @__PURE__ */ u("hr", { className: "gloss-page-dropdown__separator" }),
919
- /* @__PURE__ */ u(
919
+ /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
920
+ /* @__PURE__ */ c(
920
921
  "button",
921
922
  {
922
923
  role: "menuitem",
923
924
  className: "gloss-page-dropdown__action",
924
- onClick: f,
925
+ onClick: b,
925
926
  children: "+ New page"
926
927
  }
927
928
  ),
928
- /* @__PURE__ */ u("hr", { className: "gloss-page-dropdown__separator" }),
929
- /* @__PURE__ */ u(
929
+ /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
930
+ /* @__PURE__ */ c(
930
931
  "button",
931
932
  {
932
933
  role: "menuitem",
933
934
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
934
- onClick: C,
935
+ onClick: y,
935
936
  children: "Manage pages"
936
937
  }
937
938
  )
@@ -940,43 +941,43 @@ function Ne({
940
941
  );
941
942
  }
942
943
  Ne.displayName = "PageDropdown";
943
- const it = function({
944
+ const lt = function({
944
945
  currentIndex: t,
945
946
  total: n,
946
947
  pages: a,
947
948
  onPageChange: r,
948
949
  onCreatePage: o,
949
950
  onManagePages: i,
950
- maskRadius: m = "var(--gloss-radius-md)"
951
+ maskRadius: p = "var(--gloss-radius-md)"
951
952
  }) {
952
- const b = M(null), [d, f] = $(!1), C = h(() => {
953
- f((v) => !v);
954
- }, []), l = h(() => {
955
- f(!1);
956
- }, []), c = a[t]?.id ?? "";
957
- return /* @__PURE__ */ O(
953
+ const h = M(null), [u, b] = B(!1), y = v(() => {
954
+ b((w) => !w);
955
+ }, []), l = v(() => {
956
+ b(!1);
957
+ }, []), d = a[t]?.id ?? "";
958
+ return /* @__PURE__ */ E(
958
959
  "div",
959
960
  {
960
961
  className: "gloss-page-chip",
961
- ref: b,
962
+ ref: h,
962
963
  style: { position: "absolute", top: 0, right: 0 },
963
964
  "data-page-chip": !0,
964
965
  children: [
965
- /* @__PURE__ */ u(
966
+ /* @__PURE__ */ c(
966
967
  "div",
967
968
  {
968
969
  className: "gloss-page-chip__nuzzle",
969
- style: { "--_nuzzle-r": m }
970
+ style: { "--_nuzzle-r": p }
970
971
  }
971
972
  ),
972
- /* @__PURE__ */ O(
973
+ /* @__PURE__ */ E(
973
974
  "button",
974
975
  {
975
976
  className: "gloss-page-chip__trigger",
976
977
  "aria-haspopup": "menu",
977
- "aria-expanded": d,
978
+ "aria-expanded": u,
978
979
  "aria-label": `Page ${t + 1} of ${n}. Click to switch pages.`,
979
- onClick: C,
980
+ onClick: y,
980
981
  children: [
981
982
  t + 1,
982
983
  " / ",
@@ -984,14 +985,14 @@ const it = function({
984
985
  ]
985
986
  }
986
987
  ),
987
- /* @__PURE__ */ u(
988
+ /* @__PURE__ */ c(
988
989
  Ne,
989
990
  {
990
- open: d,
991
+ open: u,
991
992
  onDismiss: l,
992
- anchorRef: b,
993
+ anchorRef: h,
993
994
  pages: a,
994
- activePageId: c,
995
+ activePageId: d,
995
996
  onPageChange: r,
996
997
  onCreatePage: o,
997
998
  onManagePages: i
@@ -1001,8 +1002,8 @@ const it = function({
1001
1002
  }
1002
1003
  );
1003
1004
  };
1004
- it.displayName = "PageChip";
1005
- const Ta = [
1005
+ lt.displayName = "PageChip";
1006
+ const _a = [
1006
1007
  {
1007
1008
  id: "ORD-1001",
1008
1009
  orderNumber: "ORD-1001",
@@ -1135,7 +1136,7 @@ const Ta = [
1135
1136
  date: "2026-03-01",
1136
1137
  skuCount: 9
1137
1138
  }
1138
- ], _a = [
1139
+ ], Ia = [
1139
1140
  {
1140
1141
  id: "ITEM-001",
1141
1142
  sku: "PB-4520",
@@ -1275,10 +1276,10 @@ function ce(e) {
1275
1276
  function ke(e) {
1276
1277
  return e.toLocaleString("en-US");
1277
1278
  }
1278
- function Se(e) {
1279
+ function xe(e) {
1279
1280
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1280
1281
  }
1281
- const X = K.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Ia = [
1282
+ const Q = G.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Ra = [
1282
1283
  {
1283
1284
  field: "id",
1284
1285
  headerName: "Order",
@@ -1308,7 +1309,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1308
1309
  align: "right",
1309
1310
  headerAlign: "right",
1310
1311
  cellClassName: "gloss-tabular-nums",
1311
- renderCell: ({ row: e }) => e.skuCount ? ke(e.skuCount) : X
1312
+ renderCell: ({ row: e }) => e.skuCount ? ke(e.skuCount) : Q
1312
1313
  },
1313
1314
  {
1314
1315
  field: "total",
@@ -1318,7 +1319,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1318
1319
  align: "right",
1319
1320
  headerAlign: "right",
1320
1321
  cellClassName: "gloss-tabular-nums",
1321
- renderCell: ({ row: e }) => e.total ? ce(e.total) : X
1322
+ renderCell: ({ row: e }) => e.total ? ce(e.total) : Q
1322
1323
  },
1323
1324
  {
1324
1325
  field: "date",
@@ -1328,9 +1329,9 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1328
1329
  align: "right",
1329
1330
  headerAlign: "right",
1330
1331
  cellClassName: "gloss-tabular-nums",
1331
- renderCell: ({ row: e }) => e.date ? Se(e.date) : ""
1332
+ renderCell: ({ row: e }) => e.date ? xe(e.date) : ""
1332
1333
  }
1333
- ], Ra = [
1334
+ ], Ma = [
1334
1335
  {
1335
1336
  field: "sku",
1336
1337
  headerName: "Item ID",
@@ -1362,7 +1363,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1362
1363
  align: "right",
1363
1364
  headerAlign: "right",
1364
1365
  cellClassName: "gloss-tabular-nums",
1365
- renderCell: ({ row: e }) => e.price ? ce(e.price) : X
1366
+ renderCell: ({ row: e }) => e.price ? ce(e.price) : Q
1366
1367
  },
1367
1368
  {
1368
1369
  field: "quantity",
@@ -1372,7 +1373,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1372
1373
  align: "right",
1373
1374
  headerAlign: "right",
1374
1375
  cellClassName: "gloss-tabular-nums gloss-drillable",
1375
- renderCell: ({ row: e }) => e.quantity ? ke(e.quantity) : X
1376
+ renderCell: ({ row: e }) => e.quantity ? ke(e.quantity) : Q
1376
1377
  },
1377
1378
  {
1378
1379
  field: "total",
@@ -1382,7 +1383,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1382
1383
  align: "right",
1383
1384
  headerAlign: "right",
1384
1385
  cellClassName: "gloss-tabular-nums gloss-drillable",
1385
- renderCell: ({ row: e }) => e.total ? ce(e.total) : X
1386
+ renderCell: ({ row: e }) => e.total ? ce(e.total) : Q
1386
1387
  },
1387
1388
  {
1388
1389
  field: "lastDate",
@@ -1392,24 +1393,24 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1392
1393
  align: "right",
1393
1394
  headerAlign: "right",
1394
1395
  cellClassName: "gloss-tabular-nums",
1395
- renderCell: ({ row: e }) => e.lastDate ? Se(e.lastDate) : ""
1396
+ renderCell: ({ row: e }) => e.lastDate ? xe(e.lastDate) : ""
1396
1397
  }
1397
- ], lt = [
1398
+ ], dt = [
1398
1399
  { id: "c-001", label: "ABC Home Goods" },
1399
1400
  { id: "c-002", label: "Riverside Retail" },
1400
1401
  { id: "c-003", label: "Mountain View Store" },
1401
1402
  { id: "c-004", label: "Downtown Decor" },
1402
1403
  { id: "c-005", label: "Pacific Coast Imports" }
1403
- ], dt = [
1404
+ ], ct = [
1404
1405
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1405
1406
  { id: "i-002", label: "Coastal Wave Candle Set" },
1406
1407
  { id: "i-003", label: "Walnut Console Table" },
1407
1408
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1408
1409
  { id: "i-005", label: "Velvet Accent Cushion" }
1409
1410
  ], oe = (e) => {
1410
- }, ct = (e) => {
1411
+ }, ut = (e) => {
1411
1412
  }, he = (e, t) => {
1412
- }, xe = {
1413
+ }, Se = {
1413
1414
  vizState: {
1414
1415
  type: "orders",
1415
1416
  quant: "$",
@@ -1418,16 +1419,16 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1418
1419
  timeFrame: "MTD"
1419
1420
  },
1420
1421
  onTypeChange: oe,
1421
- onQuantChange: ct,
1422
+ onQuantChange: ut,
1422
1423
  onEntityTypeChange: oe,
1423
1424
  onEntitySelect: he,
1424
1425
  onItemSelect: he,
1425
1426
  onTimeFrameChange: oe,
1426
1427
  userType: "sales-agency",
1427
- entityFilterOptions: lt,
1428
- itemFilterOptions: dt
1429
- }, Ma = {
1430
- ...xe,
1428
+ entityFilterOptions: dt,
1429
+ itemFilterOptions: ct
1430
+ }, Pa = {
1431
+ ...Se,
1431
1432
  vizState: {
1432
1433
  type: "items",
1433
1434
  quant: "$",
@@ -1435,8 +1436,8 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1435
1436
  byItem: { id: "i-003", name: "Walnut Console Table" },
1436
1437
  timeFrame: "YTD"
1437
1438
  }
1438
- }, Pa = {
1439
- ...xe,
1439
+ }, Fa = {
1440
+ ...Se,
1440
1441
  vizState: {
1441
1442
  type: "orders",
1442
1443
  quant: "#",
@@ -1448,7 +1449,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1448
1449
  entityFilterOptions: [
1449
1450
  { id: "customers", label: "Customers" }
1450
1451
  ]
1451
- }, ut = [
1452
+ }, mt = [
1452
1453
  {
1453
1454
  id: "recent-orders",
1454
1455
  label: "Recent Orders",
@@ -1494,7 +1495,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1494
1495
  routeKey: "customer.profile",
1495
1496
  subtitle: "Opens in RepTime"
1496
1497
  }
1497
- ], mt = [
1498
+ ], pt = [
1498
1499
  {
1499
1500
  id: "order-items",
1500
1501
  label: "Items in Order",
@@ -1523,7 +1524,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1523
1524
  cellKinds: ["orderId"],
1524
1525
  graphType: "timeline"
1525
1526
  }
1526
- ], pt = [
1527
+ ], gt = [
1527
1528
  {
1528
1529
  id: "graph-metric",
1529
1530
  label: "Graph This Metric",
@@ -1551,14 +1552,14 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1551
1552
  cellKinds: ["numeric"],
1552
1553
  tabType: "orders"
1553
1554
  }
1554
- ], Fa = {
1555
- entityName: ut,
1556
- orderId: mt,
1557
- numeric: pt
1558
- }, Ea = [
1555
+ ], Ea = {
1556
+ entityName: mt,
1557
+ orderId: pt,
1558
+ numeric: gt
1559
+ }, Oa = [
1559
1560
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1560
1561
  /* @__PURE__ */ new Date()
1561
- ], Oa = {
1562
+ ], Aa = {
1562
1563
  rangeA: [
1563
1564
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1564
1565
  /* @__PURE__ */ new Date()
@@ -1571,7 +1572,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1571
1572
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1572
1573
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1573
1574
  ]
1574
- }, Aa = {
1575
+ }, La = {
1575
1576
  version: 4,
1576
1577
  lastPreset: "mtd",
1577
1578
  pinnedPreset: "mtd",
@@ -1579,7 +1580,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1579
1580
  rangeCount: 1,
1580
1581
  lastPresetB: null,
1581
1582
  lastPresetC: null
1582
- }, La = [
1583
+ }, $a = [
1583
1584
  {
1584
1585
  id: "atlanta-jan",
1585
1586
  label: "Atlanta Market",
@@ -1601,7 +1602,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1601
1602
  endDate: new Date(2026, 3, 22),
1602
1603
  location: "Chicago, IL"
1603
1604
  }
1604
- ], $a = [
1605
+ ], Ba = [
1605
1606
  {
1606
1607
  id: "custom-regional-1",
1607
1608
  label: "Southeast Regional Expo",
@@ -1618,7 +1619,7 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1618
1619
  location: "Portland, OR",
1619
1620
  isCustom: !0
1620
1621
  }
1621
- ], Ba = [
1622
+ ], Ka = [
1622
1623
  {
1623
1624
  id: "atlanta-jan",
1624
1625
  label: "Atlanta Market",
@@ -1635,36 +1636,36 @@ const X = K.createElement("span", { style: { color: "var(--color-text-muted)" }
1635
1636
  location: "New York, NY",
1636
1637
  active: !0
1637
1638
  }
1638
- ], Ka = [
1639
+ ], Ga = [
1639
1640
  { id: "7d", label: "7D" },
1640
1641
  { id: "30d", label: "30D" },
1641
1642
  { id: "60d", label: "60D" },
1642
1643
  { id: "90d", label: "90D" }
1643
- ], Ga = [
1644
+ ], Va = [
1644
1645
  { id: "mtd", label: "MTD" },
1645
1646
  { id: "qtd", label: "QTD" },
1646
1647
  { id: "ytd", label: "YTD" },
1647
1648
  { id: "lytd", label: "LYTD" }
1648
- ], gt = {
1649
+ ], ft = {
1649
1650
  timeframe: "Time Frame",
1650
1651
  threshold: "Thresholds",
1651
1652
  slots: "Slots",
1652
1653
  size: "Size",
1653
1654
  color: "Color",
1654
1655
  pinned: "Pinned"
1655
- }, ft = {
1656
- timeframe: Be,
1657
- threshold: Ke,
1658
- slots: Ge,
1659
- size: Ve,
1660
- color: He,
1661
- pinned: ze
1656
+ }, bt = {
1657
+ timeframe: Ke,
1658
+ threshold: Ge,
1659
+ slots: Ve,
1660
+ size: He,
1661
+ color: ze,
1662
+ pinned: We
1662
1663
  };
1663
1664
  function ve(...e) {
1664
1665
  return e.filter(Boolean).join(" ");
1665
1666
  }
1666
- function bt() {
1667
- const [e, t] = $(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1667
+ function ht() {
1668
+ const [e, t] = B(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1668
1669
  return A(() => {
1669
1670
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
1670
1671
  const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (r) => t(r.matches);
@@ -1673,29 +1674,29 @@ function bt() {
1673
1674
  });
1674
1675
  }, []), e;
1675
1676
  }
1676
- const ht = ({
1677
+ const vt = ({
1677
1678
  dimensions: e,
1678
1679
  onDimensionSelect: t,
1679
1680
  activeDimension: n,
1680
1681
  ariaCardTypeLabel: a,
1681
1682
  className: r
1682
1683
  }) => {
1683
- const o = M(null), i = M([]), m = bt(), b = Q(() => Array.from(e), [e]);
1684
- if (b.length === 0) return null;
1685
- const d = a ? `Configure ${a}: choose a dimension` : void 0, f = m ? "10ms" : "200ms", C = (l, c) => {
1686
- const v = b.length - 1, I = (p) => {
1687
- const D = i.current[p];
1688
- D && D.focus();
1684
+ const o = M(null), i = M([]), p = ht(), h = J(() => Array.from(e), [e]);
1685
+ if (h.length === 0) return null;
1686
+ const u = a ? `Configure ${a}: choose a dimension` : void 0, b = p ? "10ms" : "200ms", y = (l, d) => {
1687
+ const w = h.length - 1, I = (g) => {
1688
+ const S = i.current[g];
1689
+ S && S.focus();
1689
1690
  };
1690
1691
  switch (l.key) {
1691
1692
  case "ArrowRight":
1692
1693
  case "ArrowDown": {
1693
- l.preventDefault(), I(c === v ? 0 : c + 1);
1694
+ l.preventDefault(), I(d === w ? 0 : d + 1);
1694
1695
  break;
1695
1696
  }
1696
1697
  case "ArrowLeft":
1697
1698
  case "ArrowUp": {
1698
- l.preventDefault(), I(c === 0 ? v : c - 1);
1699
+ l.preventDefault(), I(d === 0 ? w : d - 1);
1699
1700
  break;
1700
1701
  }
1701
1702
  case "Home": {
@@ -1703,36 +1704,36 @@ const ht = ({
1703
1704
  break;
1704
1705
  }
1705
1706
  case "End": {
1706
- l.preventDefault(), I(v);
1707
+ l.preventDefault(), I(w);
1707
1708
  break;
1708
1709
  }
1709
1710
  case "Enter":
1710
1711
  case " ": {
1711
- l.preventDefault(), t(b[c]);
1712
+ l.preventDefault(), t(h[d]);
1712
1713
  break;
1713
1714
  }
1714
1715
  }
1715
1716
  };
1716
- return /* @__PURE__ */ u(
1717
+ return /* @__PURE__ */ c(
1717
1718
  "div",
1718
1719
  {
1719
1720
  ref: o,
1720
1721
  role: "group",
1721
- "aria-label": d,
1722
+ "aria-label": u,
1722
1723
  className: ve("gloss-reconfig-backside-buttons", r),
1723
1724
  style: {
1724
1725
  // Expose the reduced-motion-resolved duration as a CSS custom prop
1725
1726
  // so the SCSS transition rule can consume it without a nested media
1726
1727
  // query in the JS. Also surfaces the value for the unit test.
1727
- "--gloss-reconfig-backside-buttons-transition-duration": f
1728
+ "--gloss-reconfig-backside-buttons-transition-duration": b
1728
1729
  },
1729
- children: b.map((l, c) => {
1730
- const v = ft[l], I = n === l;
1731
- return /* @__PURE__ */ O(
1730
+ children: h.map((l, d) => {
1731
+ const w = bt[l], I = n === l;
1732
+ return /* @__PURE__ */ E(
1732
1733
  "button",
1733
1734
  {
1734
- ref: (p) => {
1735
- i.current[c] = p;
1735
+ ref: (g) => {
1736
+ i.current[d] = g;
1736
1737
  },
1737
1738
  type: "button",
1738
1739
  "data-dimension": l,
@@ -1742,16 +1743,16 @@ const ht = ({
1742
1743
  ),
1743
1744
  "aria-current": I ? "true" : void 0,
1744
1745
  onClick: () => t(l),
1745
- onKeyDown: (p) => C(p, c),
1746
+ onKeyDown: (g) => y(g, d),
1746
1747
  children: [
1747
- /* @__PURE__ */ u(
1748
- v,
1748
+ /* @__PURE__ */ c(
1749
+ w,
1749
1750
  {
1750
1751
  className: "gloss-reconfig-backside-buttons__button-icon",
1751
1752
  "aria-hidden": "true"
1752
1753
  }
1753
1754
  ),
1754
- /* @__PURE__ */ u("span", { className: "gloss-reconfig-backside-buttons__button-label", children: gt[l] })
1755
+ /* @__PURE__ */ c("span", { className: "gloss-reconfig-backside-buttons__button-label", children: ft[l] })
1755
1756
  ]
1756
1757
  },
1757
1758
  l
@@ -1760,12 +1761,12 @@ const ht = ({
1760
1761
  }
1761
1762
  );
1762
1763
  };
1763
- ht.displayName = "ReconfigBacksideButtons";
1764
+ vt.displayName = "ReconfigBacksideButtons";
1764
1765
  function z(e, t) {
1765
1766
  return {
1766
1767
  id: e,
1767
1768
  colSpan: 1,
1768
- content: K.createElement("div", {
1769
+ content: G.createElement("div", {
1769
1770
  style: {
1770
1771
  width: "100%",
1771
1772
  height: "100%",
@@ -1787,7 +1788,7 @@ function ye(e, t) {
1787
1788
  colSpan: 2
1788
1789
  };
1789
1790
  }
1790
- const Va = [
1791
+ const Ha = [
1791
1792
  z("total-revenue", "Total Revenue"),
1792
1793
  z("total-orders", "Total Orders"),
1793
1794
  ye("revenue-trend", "Revenue Trend (2x)"),
@@ -1798,21 +1799,21 @@ const Va = [
1798
1799
  z("repeat-rate", "Repeat Rate"),
1799
1800
  z("open-orders", "Open Orders"),
1800
1801
  z("shipped-orders", "Shipped Orders")
1801
- ], Ha = {
1802
+ ], za = {
1802
1803
  columns: 6,
1803
1804
  rowHeight: 120,
1804
1805
  gap: 15,
1805
1806
  maxRows: 3,
1806
1807
  currentPage: 0,
1807
1808
  totalPages: 1
1808
- }, za = {
1809
+ }, Wa = {
1809
1810
  columns: 9,
1810
1811
  rowHeight: 120,
1811
1812
  gap: 15,
1812
1813
  maxRows: 3,
1813
1814
  currentPage: 0,
1814
1815
  totalPages: 2
1815
- }, Wa = {
1816
+ }, Za = {
1816
1817
  columns: 12,
1817
1818
  rowHeight: 120,
1818
1819
  gap: 15,
@@ -1821,9 +1822,9 @@ const Va = [
1821
1822
  totalPages: 3
1822
1823
  };
1823
1824
  function ie(e) {
1824
- return K.createElement("span", { style: { fontSize: 14 } }, e);
1825
+ return G.createElement("span", { style: { fontSize: 14 } }, e);
1825
1826
  }
1826
- const Za = [
1827
+ const Ua = [
1827
1828
  {
1828
1829
  id: "all-orders",
1829
1830
  type: "orders",
@@ -1846,7 +1847,7 @@ const Za = [
1846
1847
  icon: ie("🚚"),
1847
1848
  closable: !0
1848
1849
  }
1849
- ], Ua = [
1850
+ ], Ya = [
1850
1851
  {
1851
1852
  id: "orders-main",
1852
1853
  type: "orders",
@@ -1872,7 +1873,7 @@ const Za = [
1872
1873
  name: "Customers",
1873
1874
  closable: !0
1874
1875
  }
1875
- ], Ya = [
1876
+ ], qa = [
1876
1877
  {
1877
1878
  id: "only-tab",
1878
1879
  type: "orders",
@@ -1880,7 +1881,7 @@ const Za = [
1880
1881
  closable: !1,
1881
1882
  autoCreated: !0
1882
1883
  }
1883
- ], qa = [
1884
+ ], ja = [
1884
1885
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
1885
1886
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
1886
1887
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -1903,7 +1904,7 @@ function ue(e) {
1903
1904
  return { cols: 1, rows: 1 };
1904
1905
  }
1905
1906
  }
1906
- function vt(e) {
1907
+ function yt(e) {
1907
1908
  let t = 0;
1908
1909
  for (const a of e) {
1909
1910
  const r = ue(a.size), o = a.gridPosition.col + r.cols - 1;
@@ -1911,16 +1912,16 @@ function vt(e) {
1911
1912
  }
1912
1913
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
1913
1914
  }
1914
- const yt = function(t) {
1915
+ const wt = function(t) {
1915
1916
  if (t.renderMode === "discrete")
1916
- return /* @__PURE__ */ u(
1917
+ return /* @__PURE__ */ c(
1917
1918
  "div",
1918
1919
  {
1919
1920
  className: "gloss-metric-group gloss-metric-group--discrete",
1920
1921
  style: { display: "contents" },
1921
1922
  children: t.cards.map((r) => {
1922
1923
  const o = ue(r.size);
1923
- return /* @__PURE__ */ u(
1924
+ return /* @__PURE__ */ c(
1924
1925
  "div",
1925
1926
  {
1926
1927
  className: "gloss-metric-group__slot",
@@ -1936,7 +1937,7 @@ const yt = function(t) {
1936
1937
  }
1937
1938
  );
1938
1939
  const { cards: n, composite: a } = t;
1939
- return /* @__PURE__ */ O(
1940
+ return /* @__PURE__ */ E(
1940
1941
  "div",
1941
1942
  {
1942
1943
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -1955,16 +1956,16 @@ const yt = function(t) {
1955
1956
  "aria-label": a?.label,
1956
1957
  tabIndex: void 0,
1957
1958
  children: [
1958
- a?.accentColor && /* @__PURE__ */ u(
1959
+ a?.accentColor && /* @__PURE__ */ c(
1959
1960
  "div",
1960
1961
  {
1961
1962
  className: "gloss-metric-group__accent",
1962
1963
  style: { background: a.accentColor }
1963
1964
  }
1964
1965
  ),
1965
- a?.label && /* @__PURE__ */ O("div", { className: "gloss-metric-group__label", children: [
1966
- /* @__PURE__ */ u("span", { children: a.label }),
1967
- a?.trend && /* @__PURE__ */ u(
1966
+ a?.label && /* @__PURE__ */ E("div", { className: "gloss-metric-group__label", children: [
1967
+ /* @__PURE__ */ c("span", { children: a.label }),
1968
+ a?.trend && /* @__PURE__ */ c(
1968
1969
  "span",
1969
1970
  {
1970
1971
  className: "gloss-metric-group__trend",
@@ -1973,18 +1974,18 @@ const yt = function(t) {
1973
1974
  }
1974
1975
  )
1975
1976
  ] }),
1976
- /* @__PURE__ */ u(
1977
+ /* @__PURE__ */ c(
1977
1978
  "div",
1978
1979
  {
1979
1980
  className: "gloss-metric-group__slots",
1980
1981
  style: {
1981
1982
  display: "grid",
1982
1983
  gap: "var(--gloss-spacing-2, 8px)",
1983
- gridTemplateColumns: vt(n)
1984
+ gridTemplateColumns: yt(n)
1984
1985
  },
1985
1986
  children: n.map((r) => {
1986
1987
  const o = ue(r.size);
1987
- return /* @__PURE__ */ u(
1988
+ return /* @__PURE__ */ c(
1988
1989
  "div",
1989
1990
  {
1990
1991
  className: "gloss-metric-group__slot--composite",
@@ -2003,25 +2004,25 @@ const yt = function(t) {
2003
2004
  }
2004
2005
  );
2005
2006
  };
2006
- yt.displayName = "MetricGroupContainer";
2007
- const Te = "resize.tuning.dev", wt = {
2007
+ wt.displayName = "MetricGroupContainer";
2008
+ const Te = "resize.tuning.dev", Dt = {
2008
2009
  ...Ce,
2009
2010
  snapInPx: 60,
2010
2011
  snapOutPx: 90
2011
- }, U = wt;
2012
- function Dt() {
2013
- if (typeof window > "u") return { ...U };
2012
+ }, Y = Dt;
2013
+ function Ct() {
2014
+ if (typeof window > "u") return { ...Y };
2014
2015
  try {
2015
2016
  const e = window.localStorage.getItem(Te);
2016
- if (!e) return { ...U };
2017
+ if (!e) return { ...Y };
2017
2018
  const t = JSON.parse(e);
2018
- return !t || typeof t != "object" || Array.isArray(t) ? { ...U } : { ...U, ...t };
2019
+ return !t || typeof t != "object" || Array.isArray(t) ? { ...Y } : { ...Y, ...t };
2019
2020
  } catch {
2020
- return { ...U };
2021
+ return { ...Y };
2021
2022
  }
2022
2023
  }
2023
- function Ct() {
2024
- const [e, t] = $(() => Dt());
2024
+ function Nt() {
2025
+ const [e, t] = B(() => Ct());
2025
2026
  A(() => {
2026
2027
  if (!(typeof window > "u"))
2027
2028
  try {
@@ -2029,22 +2030,22 @@ function Ct() {
2029
2030
  } catch {
2030
2031
  }
2031
2032
  }, [e]);
2032
- const n = h(
2033
+ const n = v(
2033
2034
  (o, i) => {
2034
- t((m) => ({ ...m, [o]: i }));
2035
+ t((p) => ({ ...p, [o]: i }));
2035
2036
  },
2036
2037
  []
2037
- ), a = h(
2038
+ ), a = v(
2038
2039
  (o) => {
2039
- t((i) => ({ ...i, [o]: U[o] }));
2040
+ t((i) => ({ ...i, [o]: Y[o] }));
2040
2041
  },
2041
2042
  []
2042
- ), r = h(() => {
2043
- t({ ...U });
2043
+ ), r = v(() => {
2044
+ t({ ...Y });
2044
2045
  }, []);
2045
2046
  return { values: e, setValue: n, resetRow: a, resetAll: r };
2046
2047
  }
2047
- const Nt = [
2048
+ const kt = [
2048
2049
  { key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
2049
2050
  { key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
2050
2051
  { key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
@@ -2055,11 +2056,11 @@ const Nt = [
2055
2056
  { key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
2056
2057
  { key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
2057
2058
  ];
2058
- function kt(e, t) {
2059
+ function xt(e, t) {
2059
2060
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2060
2061
  }
2061
2062
  function St() {
2062
- return /* @__PURE__ */ O(
2063
+ return /* @__PURE__ */ E(
2063
2064
  "svg",
2064
2065
  {
2065
2066
  width: "14",
@@ -2072,32 +2073,32 @@ function St() {
2072
2073
  strokeLinejoin: "round",
2073
2074
  "aria-hidden": "true",
2074
2075
  children: [
2075
- /* @__PURE__ */ u("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2076
- /* @__PURE__ */ u("polyline", { points: "3 3 3 8 8 8" })
2076
+ /* @__PURE__ */ c("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2077
+ /* @__PURE__ */ c("polyline", { points: "3 3 3 8 8 8" })
2077
2078
  ]
2078
2079
  }
2079
2080
  );
2080
2081
  }
2081
- function xt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2082
- const o = h(
2082
+ function Tt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2083
+ const o = v(
2083
2084
  (i) => {
2084
2085
  (i.key === "r" || i.key === "R") && (i.preventDefault(), a());
2085
2086
  },
2086
2087
  [a]
2087
2088
  );
2088
- return /* @__PURE__ */ O(
2089
+ return /* @__PURE__ */ E(
2089
2090
  "div",
2090
2091
  {
2091
2092
  className: `gloss-dev-tuning-panel__row${r ? " gloss-dev-tuning-panel__row--flash" : ""}`,
2092
2093
  "data-tuning-row": e.key,
2093
2094
  onKeyDown: o,
2094
2095
  children: [
2095
- /* @__PURE__ */ u("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2096
- /* @__PURE__ */ O("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2097
- kt(t, e.step),
2096
+ /* @__PURE__ */ c("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2097
+ /* @__PURE__ */ E("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2098
+ xt(t, e.step),
2098
2099
  e.unit ? ` ${e.unit}` : ""
2099
2100
  ] }),
2100
- /* @__PURE__ */ u(
2101
+ /* @__PURE__ */ c(
2101
2102
  "input",
2102
2103
  {
2103
2104
  id: `gloss-dtp-${e.key}`,
@@ -2111,21 +2112,21 @@ function xt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2111
2112
  onChange: (i) => n(Number(i.target.value))
2112
2113
  }
2113
2114
  ),
2114
- /* @__PURE__ */ u(
2115
+ /* @__PURE__ */ c(
2115
2116
  "button",
2116
2117
  {
2117
2118
  type: "button",
2118
2119
  className: "gloss-dev-tuning-panel__reset",
2119
2120
  "aria-label": `Reset ${e.label}`,
2120
2121
  onClick: a,
2121
- children: /* @__PURE__ */ u(St, {})
2122
+ children: /* @__PURE__ */ c(St, {})
2122
2123
  }
2123
2124
  )
2124
2125
  ]
2125
2126
  }
2126
2127
  );
2127
2128
  }
2128
- function Tt() {
2129
+ function _t() {
2129
2130
  if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
2130
2131
  try {
2131
2132
  return new URLSearchParams(window.location.search).has("devtune");
@@ -2133,22 +2134,22 @@ function Tt() {
2133
2134
  return !1;
2134
2135
  }
2135
2136
  }
2136
- function _t(e = {}) {
2137
- return Tt() ? /* @__PURE__ */ u(It, {}) : null;
2137
+ function It(e = {}) {
2138
+ return _t() ? /* @__PURE__ */ c(Rt, {}) : null;
2138
2139
  }
2139
- _t.displayName = "DevTuningPanel";
2140
- function It() {
2141
- const e = Ct(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [o, i] = $(null), m = M(null), b = h((l) => {
2142
- m.current && clearTimeout(m.current), i(l), m.current = setTimeout(() => {
2143
- i(null), m.current = null;
2140
+ It.displayName = "DevTuningPanel";
2141
+ function Rt() {
2142
+ const e = Nt(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [o, i] = B(null), p = M(null), h = v((l) => {
2143
+ p.current && clearTimeout(p.current), i(l), p.current = setTimeout(() => {
2144
+ i(null), p.current = null;
2144
2145
  }, 200);
2145
- }, []), d = h(
2146
- (l, c) => {
2147
- n(l, c), l === "snapInPx" && c > t.snapOutPx && (n("snapOutPx", c), b("snapOutPx"));
2146
+ }, []), u = v(
2147
+ (l, d) => {
2148
+ n(l, d), l === "snapInPx" && d > t.snapOutPx && (n("snapOutPx", d), h("snapOutPx"));
2148
2149
  },
2149
- [n, t.snapOutPx, b]
2150
- ), f = Q(() => Nt, []), C = Ae();
2151
- return /* @__PURE__ */ O(
2150
+ [n, t.snapOutPx, h]
2151
+ ), b = J(() => kt, []), y = Le();
2152
+ return /* @__PURE__ */ E(
2152
2153
  De.div,
2153
2154
  {
2154
2155
  className: "gloss-dev-tuning-panel",
@@ -2157,32 +2158,32 @@ function It() {
2157
2158
  "data-testid": "gloss-dev-tuning-panel",
2158
2159
  drag: !0,
2159
2160
  dragListener: !1,
2160
- dragControls: C,
2161
+ dragControls: y,
2161
2162
  dragMomentum: !1,
2162
2163
  children: [
2163
- /* @__PURE__ */ O(
2164
+ /* @__PURE__ */ E(
2164
2165
  "div",
2165
2166
  {
2166
2167
  className: "gloss-dev-tuning-panel__header",
2167
- onPointerDown: (l) => C.start(l),
2168
+ onPointerDown: (l) => y.start(l),
2168
2169
  children: [
2169
- /* @__PURE__ */ u("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2170
- /* @__PURE__ */ u("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2170
+ /* @__PURE__ */ c("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2171
+ /* @__PURE__ */ c("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2171
2172
  ]
2172
2173
  }
2173
2174
  ),
2174
- /* @__PURE__ */ u("div", { className: "gloss-dev-tuning-panel__body", children: f.map((l) => /* @__PURE__ */ u(
2175
- xt,
2175
+ /* @__PURE__ */ c("div", { className: "gloss-dev-tuning-panel__body", children: b.map((l) => /* @__PURE__ */ c(
2176
+ Tt,
2176
2177
  {
2177
2178
  spec: l,
2178
2179
  value: t[l.key],
2179
- onChange: (c) => d(l.key, c),
2180
+ onChange: (d) => u(l.key, d),
2180
2181
  onReset: () => a(l.key),
2181
2182
  flashing: o === l.key
2182
2183
  },
2183
2184
  l.key
2184
2185
  )) }),
2185
- /* @__PURE__ */ u("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ u(
2186
+ /* @__PURE__ */ c("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ c(
2186
2187
  "button",
2187
2188
  {
2188
2189
  type: "button",
@@ -2195,7 +2196,7 @@ function It() {
2195
2196
  }
2196
2197
  );
2197
2198
  }
2198
- const Z = {
2199
+ const U = {
2199
2200
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
2200
2201
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
2201
2202
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -2203,57 +2204,57 @@ const Z = {
2203
2204
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
2204
2205
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
2205
2206
  };
2206
- function Rt({
2207
+ function Mt({
2207
2208
  message: e,
2208
2209
  primaryAction: t,
2209
2210
  onDismiss: n,
2210
2211
  anchorEl: a,
2211
2212
  anchorSelector: r
2212
2213
  }) {
2213
- const [o, i] = K.useState(null), m = K.useMemo(
2214
+ const [o, i] = G.useState(null), p = G.useMemo(
2214
2215
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
2215
2216
  []
2216
2217
  );
2217
- K.useEffect(() => {
2218
+ G.useEffect(() => {
2218
2219
  !a && !r && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
2219
2220
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
2220
2221
  );
2221
- }, [a, r]), K.useLayoutEffect(() => {
2222
- let d = null;
2223
- if (a ? d = a : r && (d = document.querySelector(r)), d) {
2224
- const f = d.getBoundingClientRect();
2222
+ }, [a, r]), G.useLayoutEffect(() => {
2223
+ let u = null;
2224
+ if (a ? u = a : r && (u = document.querySelector(r)), u) {
2225
+ const b = u.getBoundingClientRect();
2225
2226
  i({
2226
- top: f.bottom + window.scrollY + 6,
2227
- left: f.left + window.scrollX
2227
+ top: b.bottom + window.scrollY + 6,
2228
+ left: b.left + window.scrollX
2228
2229
  });
2229
2230
  }
2230
2231
  }, [a, r]);
2231
- const b = o ? { top: o.top, left: o.left } : {};
2232
- return /* @__PURE__ */ O(
2232
+ const h = o ? { top: o.top, left: o.left } : {};
2233
+ return /* @__PURE__ */ E(
2233
2234
  "div",
2234
2235
  {
2235
- className: Z["gloss-inline-nudge"],
2236
- style: b,
2236
+ className: U["gloss-inline-nudge"],
2237
+ style: h,
2237
2238
  role: "status",
2238
2239
  "aria-live": "polite",
2239
- "data-reduced-motion": m ? "true" : void 0,
2240
+ "data-reduced-motion": p ? "true" : void 0,
2240
2241
  children: [
2241
- /* @__PURE__ */ u("span", { className: Z["gloss-inline-nudge__message"], children: e }),
2242
- /* @__PURE__ */ O("div", { className: Z["gloss-inline-nudge__actions"], children: [
2243
- /* @__PURE__ */ u(
2242
+ /* @__PURE__ */ c("span", { className: U["gloss-inline-nudge__message"], children: e }),
2243
+ /* @__PURE__ */ E("div", { className: U["gloss-inline-nudge__actions"], children: [
2244
+ /* @__PURE__ */ c(
2244
2245
  "button",
2245
2246
  {
2246
2247
  type: "button",
2247
- className: `${Z["gloss-inline-nudge__btn"]} ${Z["gloss-inline-nudge__btn--action"]}`,
2248
+ className: `${U["gloss-inline-nudge__btn"]} ${U["gloss-inline-nudge__btn--action"]}`,
2248
2249
  onClick: t.onClick,
2249
2250
  children: t.label
2250
2251
  }
2251
2252
  ),
2252
- /* @__PURE__ */ u(
2253
+ /* @__PURE__ */ c(
2253
2254
  "button",
2254
2255
  {
2255
2256
  type: "button",
2256
- className: `${Z["gloss-inline-nudge__btn"]} ${Z["gloss-inline-nudge__btn--dismiss"]}`,
2257
+ className: `${U["gloss-inline-nudge__btn"]} ${U["gloss-inline-nudge__btn--dismiss"]}`,
2257
2258
  onClick: n,
2258
2259
  "aria-label": "Dismiss",
2259
2260
  children: "Dismiss"
@@ -2264,25 +2265,25 @@ function Rt({
2264
2265
  }
2265
2266
  );
2266
2267
  }
2267
- Rt.displayName = "InlineNudge";
2268
+ Mt.displayName = "InlineNudge";
2268
2269
  function me(e) {
2269
2270
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
2270
2271
  }
2271
- function Mt(e, t, n) {
2272
+ function Pt(e, t, n) {
2272
2273
  if (n <= t) {
2273
- const i = e[0], m = i ? me(i) : "#888";
2274
- return `linear-gradient(to right, ${m}, ${m})`;
2274
+ const i = e[0], p = i ? me(i) : "#888";
2275
+ return `linear-gradient(to right, ${p}, ${p})`;
2275
2276
  }
2276
- const a = n - t, o = [...e].sort((i, m) => i.value - m.value).map((i) => {
2277
- const m = (i.value - t) / a * 100;
2278
- return `${me(i)} ${m.toFixed(2)}%`;
2277
+ const a = n - t, o = [...e].sort((i, p) => i.value - p.value).map((i) => {
2278
+ const p = (i.value - t) / a * 100;
2279
+ return `${me(i)} ${p.toFixed(2)}%`;
2279
2280
  });
2280
2281
  return o.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : o.length === 1 ? `linear-gradient(to right, ${o[0]}, ${o[0]})` : `linear-gradient(to right, ${o.join(", ")})`;
2281
2282
  }
2282
- function Pt(e) {
2283
+ function Ft(e) {
2283
2284
  return e.map((t) => `${t.id}:${t.value}`).join("|");
2284
2285
  }
2285
- function Ft({
2286
+ function Et({
2286
2287
  stops: e,
2287
2288
  onChange: t,
2288
2289
  min: n = 0,
@@ -2292,107 +2293,107 @@ function Ft({
2292
2293
  }) {
2293
2294
  const i = r === void 0 ? 0.01 : !Number.isFinite(r) || r <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
2294
2295
  `ThresholdRamp: step (${r}) must be a positive finite number; falling back to 0.01.`
2295
- ), 0.01) : r, m = h(
2296
+ ), 0.01) : r, p = v(
2296
2297
  (s) => Math.round(s / i) * i,
2297
2298
  [i]
2298
- ), b = M(null), [d, f] = $(null), [C, l] = $(e), c = Pt(e), v = M(c);
2299
+ ), h = M(null), [u, b] = B(null), [y, l] = B(e), d = Ft(e), w = M(d);
2299
2300
  A(() => {
2300
- v.current !== c && (v.current = c, !d && l(e));
2301
- }, [c, e, d]);
2302
- const I = Q(() => Mt(C, n, a), [C, n, a]), p = h(
2301
+ w.current !== d && (w.current = d, !u && l(e));
2302
+ }, [d, e, u]);
2303
+ const I = J(() => Pt(y, n, a), [y, n, a]), g = v(
2303
2304
  (s) => {
2304
- if (!b.current) return n;
2305
- const g = b.current.getBoundingClientRect(), w = g.width || 1, T = Math.max(0, Math.min(1, (s - g.left) / w)), k = n + T * (a - n);
2306
- return m(k);
2305
+ if (!h.current) return n;
2306
+ const m = h.current.getBoundingClientRect(), D = m.width || 1, k = Math.max(0, Math.min(1, (s - m.left) / D)), x = n + k * (a - n);
2307
+ return p(x);
2307
2308
  },
2308
- [n, a, m]
2309
+ [n, a, p]
2309
2310
  );
2310
2311
  A(() => {
2311
2312
  a <= n && process.env.NODE_ENV !== "production" && console.warn(
2312
2313
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
2313
2314
  );
2314
2315
  }, [n, a]);
2315
- const D = h(
2316
- (s, g) => {
2317
- const w = C.find((T) => T.id === g);
2318
- o || w?.disabled || (s.preventDefault(), f(g));
2316
+ const S = v(
2317
+ (s, m) => {
2318
+ const D = y.find((k) => k.id === m);
2319
+ o || D?.disabled || (s.preventDefault(), b(m));
2319
2320
  },
2320
- [o, C]
2321
- ), S = M(C);
2322
- S.current = C;
2323
- const y = M(t);
2324
- y.current = t, A(() => {
2325
- if (!d) return;
2326
- const s = (w) => {
2327
- const T = p(w.clientX);
2321
+ [o, y]
2322
+ ), C = M(y);
2323
+ C.current = y;
2324
+ const f = M(t);
2325
+ f.current = t, A(() => {
2326
+ if (!u) return;
2327
+ const s = (D) => {
2328
+ const k = g(D.clientX);
2328
2329
  l(
2329
- (k) => k.map((R) => R.id === d ? { ...R, value: T } : R)
2330
+ (x) => x.map((R) => R.id === u ? { ...R, value: k } : R)
2330
2331
  );
2331
- }, g = (w) => {
2332
- const T = p(w.clientX), k = S.current.map(
2333
- (R) => R.id === d ? { ...R, value: T } : R
2332
+ }, m = (D) => {
2333
+ const k = g(D.clientX), x = C.current.map(
2334
+ (R) => R.id === u ? { ...R, value: k } : R
2334
2335
  );
2335
- l(k), f(null), y.current(k);
2336
+ l(x), b(null), f.current(x);
2336
2337
  };
2337
- return window.addEventListener("pointermove", s), window.addEventListener("pointerup", g), window.addEventListener("pointercancel", g), () => {
2338
- window.removeEventListener("pointermove", s), window.removeEventListener("pointerup", g), window.removeEventListener("pointercancel", g);
2338
+ return window.addEventListener("pointermove", s), window.addEventListener("pointerup", m), window.addEventListener("pointercancel", m), () => {
2339
+ window.removeEventListener("pointermove", s), window.removeEventListener("pointerup", m), window.removeEventListener("pointercancel", m);
2339
2340
  };
2340
- }, [d, p]);
2341
- const _ = a - n > 0 ? a - n : 1, x = h(
2342
- (s, g) => {
2343
- if (o || g.disabled) return;
2344
- const w = a - n;
2345
- if (w <= 0) return;
2346
- const T = s.shiftKey ? w / 20 : w / 100;
2347
- let k = g.value;
2341
+ }, [u, g]);
2342
+ const T = a - n > 0 ? a - n : 1, _ = v(
2343
+ (s, m) => {
2344
+ if (o || m.disabled) return;
2345
+ const D = a - n;
2346
+ if (D <= 0) return;
2347
+ const k = s.shiftKey ? D / 20 : D / 100;
2348
+ let x = m.value;
2348
2349
  switch (s.key) {
2349
2350
  case "ArrowRight":
2350
2351
  case "ArrowUp":
2351
- k = g.value + T;
2352
+ x = m.value + k;
2352
2353
  break;
2353
2354
  case "ArrowLeft":
2354
2355
  case "ArrowDown":
2355
- k = g.value - T;
2356
+ x = m.value - k;
2356
2357
  break;
2357
2358
  case "Home":
2358
- k = n;
2359
+ x = n;
2359
2360
  break;
2360
2361
  case "End":
2361
- k = a;
2362
+ x = a;
2362
2363
  break;
2363
2364
  default:
2364
2365
  return;
2365
2366
  }
2366
2367
  s.preventDefault();
2367
- const R = Math.max(n, Math.min(a, k)), P = m(R);
2368
- if (P === g.value) return;
2369
- const G = C.map(
2370
- (W) => W.id === g.id ? { ...W, value: P } : W
2368
+ const R = Math.max(n, Math.min(a, x)), P = p(R);
2369
+ if (P === m.value) return;
2370
+ const W = y.map(
2371
+ (H) => H.id === m.id ? { ...H, value: P } : H
2371
2372
  );
2372
- l(G), t(G);
2373
+ l(W), t(W);
2373
2374
  },
2374
- [o, n, a, C, t, m]
2375
+ [o, n, a, y, t, p]
2375
2376
  );
2376
- return /* @__PURE__ */ u("div", { className: "gloss-threshold-ramp", "data-disabled": o || void 0, children: /* @__PURE__ */ u(
2377
+ return /* @__PURE__ */ c("div", { className: "gloss-threshold-ramp", "data-disabled": o || void 0, children: /* @__PURE__ */ c(
2377
2378
  "div",
2378
2379
  {
2379
- ref: b,
2380
+ ref: h,
2380
2381
  className: "gloss-threshold-ramp__track",
2381
2382
  style: { background: I },
2382
- children: C.map((s) => {
2383
- const g = (s.value - n) / _ * 100;
2384
- return /* @__PURE__ */ u(
2383
+ children: y.map((s) => {
2384
+ const m = (s.value - n) / T * 100;
2385
+ return /* @__PURE__ */ c(
2385
2386
  "span",
2386
2387
  {
2387
2388
  className: "gloss-threshold-ramp__stop",
2388
2389
  style: {
2389
- left: `${g}%`,
2390
+ left: `${m}%`,
2390
2391
  color: me(s)
2391
2392
  },
2392
2393
  "data-disabled": s.disabled || void 0,
2393
- "data-dragging": d === s.id || void 0,
2394
- onPointerDown: (w) => D(w, s.id),
2395
- onKeyDown: (w) => x(w, s),
2394
+ "data-dragging": u === s.id || void 0,
2395
+ onPointerDown: (D) => S(D, s.id),
2396
+ onKeyDown: (D) => _(D, s),
2396
2397
  "aria-label": s.label ?? `Stop at ${s.value}`,
2397
2398
  role: "slider",
2398
2399
  "aria-valuenow": s.value,
@@ -2407,24 +2408,24 @@ function Ft({
2407
2408
  }
2408
2409
  ) });
2409
2410
  }
2410
- Ft.displayName = "ThresholdRamp";
2411
- const _e = Fe(null);
2412
- function Et() {
2413
- return Ee(_e);
2411
+ Et.displayName = "ThresholdRamp";
2412
+ const _e = Ee(null);
2413
+ function Ot() {
2414
+ return Oe(_e);
2414
2415
  }
2415
- function Ot({ option: e }) {
2416
- const t = Et(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = h(() => {
2416
+ function At({ option: e }) {
2417
+ const t = Ot(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = v(() => {
2417
2418
  a || t?.select(e.value);
2418
- }, [a, t, e.value]), o = h(
2419
- (d) => {
2420
- a || t?.onKeyNav(d, e.value);
2419
+ }, [a, t, e.value]), o = v(
2420
+ (u) => {
2421
+ a || t?.onKeyNav(u, e.value);
2421
2422
  },
2422
2423
  [a, t, e.value]
2423
- ), i = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", m = t?.firstFocusableValue === e.value, b = a ? -1 : m ? 0 : -1;
2424
- return /* @__PURE__ */ u(
2424
+ ), i = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", p = t?.firstFocusableValue === e.value, h = a ? -1 : p ? 0 : -1;
2425
+ return /* @__PURE__ */ c(
2425
2426
  "button",
2426
2427
  {
2427
- ref: (d) => t?.registerRef(e.value, d),
2428
+ ref: (u) => t?.registerRef(e.value, u),
2428
2429
  type: "button",
2429
2430
  role: "radio",
2430
2431
  "aria-checked": n,
@@ -2436,13 +2437,13 @@ function Ot({ option: e }) {
2436
2437
  "aria-label": e.label ?? e.value,
2437
2438
  "aria-disabled": a,
2438
2439
  disabled: a,
2439
- tabIndex: b,
2440
+ tabIndex: h,
2440
2441
  onClick: r,
2441
2442
  onKeyDown: o
2442
2443
  }
2443
2444
  );
2444
2445
  }
2445
- function At({
2446
+ function Lt({
2446
2447
  swatches: e,
2447
2448
  value: t,
2448
2449
  defaultValue: n,
@@ -2450,65 +2451,65 @@ function At({
2450
2451
  disabled: r = !1,
2451
2452
  name: o
2452
2453
  }) {
2453
- const i = t !== void 0, [m, b] = $(n), d = i ? t : m, f = h(
2454
- (y) => {
2455
- i || b(y), a?.(y);
2454
+ const i = t !== void 0, [p, h] = B(n), u = i ? t : p, b = v(
2455
+ (f) => {
2456
+ i || h(f), a?.(f);
2456
2457
  },
2457
2458
  [i, a]
2458
- ), C = h(
2459
- (y) => d === y,
2460
- [d]
2461
- ), l = M(/* @__PURE__ */ new Map()), c = h((y, _) => {
2462
- _ ? l.current.set(y, _) : l.current.delete(y);
2463
- }, []), v = e.filter((y) => !y.disabled && !r), I = v.find((y) => y.value === d)?.value ?? v[0]?.value, p = h((y) => {
2464
- const _ = l.current.get(y);
2465
- _ && _.focus();
2466
- }, []), D = h(
2467
- (y, _) => {
2459
+ ), y = v(
2460
+ (f) => u === f,
2461
+ [u]
2462
+ ), l = M(/* @__PURE__ */ new Map()), d = v((f, T) => {
2463
+ T ? l.current.set(f, T) : l.current.delete(f);
2464
+ }, []), w = e.filter((f) => !f.disabled && !r), I = w.find((f) => f.value === u)?.value ?? w[0]?.value, g = v((f) => {
2465
+ const T = l.current.get(f);
2466
+ T && T.focus();
2467
+ }, []), S = v(
2468
+ (f, T) => {
2468
2469
  if (r) return;
2469
- const x = e.filter((T) => !T.disabled);
2470
- if (x.length === 0) return;
2471
- const s = x.findIndex((T) => T.value === _);
2470
+ const _ = e.filter((k) => !k.disabled);
2471
+ if (_.length === 0) return;
2472
+ const s = _.findIndex((k) => k.value === T);
2472
2473
  if (s === -1) return;
2473
- let g = s;
2474
- switch (y.key) {
2474
+ let m = s;
2475
+ switch (f.key) {
2475
2476
  case "ArrowRight":
2476
2477
  case "ArrowDown":
2477
- g = (s + 1) % x.length;
2478
+ m = (s + 1) % _.length;
2478
2479
  break;
2479
2480
  case "ArrowLeft":
2480
2481
  case "ArrowUp":
2481
- g = (s - 1 + x.length) % x.length;
2482
+ m = (s - 1 + _.length) % _.length;
2482
2483
  break;
2483
2484
  case "Home":
2484
- g = 0;
2485
+ m = 0;
2485
2486
  break;
2486
2487
  case "End":
2487
- g = x.length - 1;
2488
+ m = _.length - 1;
2488
2489
  break;
2489
2490
  case " ":
2490
2491
  case "Enter":
2491
- y.preventDefault(), f(_);
2492
+ f.preventDefault(), b(T);
2492
2493
  return;
2493
2494
  default:
2494
2495
  return;
2495
2496
  }
2496
- y.preventDefault();
2497
- const w = x[g].value;
2498
- p(w), f(w);
2497
+ f.preventDefault();
2498
+ const D = _[m].value;
2499
+ g(D), b(D);
2499
2500
  },
2500
- [r, e, f, p]
2501
- ), S = {
2502
- selectedValue: d,
2503
- select: f,
2504
- isSelected: C,
2501
+ [r, e, b, g]
2502
+ ), C = {
2503
+ selectedValue: u,
2504
+ select: b,
2505
+ isSelected: y,
2505
2506
  groupDisabled: r,
2506
2507
  name: o,
2507
- registerRef: c,
2508
+ registerRef: d,
2508
2509
  firstFocusableValue: I,
2509
- onKeyNav: D
2510
+ onKeyNav: S
2510
2511
  };
2511
- return /* @__PURE__ */ u(_e.Provider, { value: S, children: /* @__PURE__ */ u(
2512
+ return /* @__PURE__ */ c(_e.Provider, { value: C, children: /* @__PURE__ */ c(
2512
2513
  "div",
2513
2514
  {
2514
2515
  className: "gloss-preset-swatch-row",
@@ -2516,11 +2517,11 @@ function At({
2516
2517
  "aria-label": o,
2517
2518
  "aria-disabled": r,
2518
2519
  "data-disabled": r || void 0,
2519
- children: e.map((y) => /* @__PURE__ */ u(Ot, { option: y }, y.value))
2520
+ children: e.map((f) => /* @__PURE__ */ c(At, { option: f }, f.value))
2520
2521
  }
2521
2522
  ) });
2522
2523
  }
2523
- At.displayName = "PresetSwatchRow";
2524
+ Lt.displayName = "PresetSwatchRow";
2524
2525
  function pe(e, t) {
2525
2526
  for (const n of e)
2526
2527
  if (n.items.some((a) => a.id === t))
@@ -2531,111 +2532,111 @@ function we(e, t) {
2531
2532
  const n = e.find((a) => a.zoneKey === t);
2532
2533
  return n ? n.zoneKey : pe(e, t);
2533
2534
  }
2534
- function Lt(e, t, n) {
2535
+ function $t(e, t, n) {
2535
2536
  const a = [...e], [r] = a.splice(t, 1);
2536
2537
  return a.splice(n, 0, r), a;
2537
2538
  }
2538
- function $t(e) {
2539
+ function Bt(e) {
2539
2540
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
2540
2541
  }
2541
- function Bt(e) {
2542
- const [t, n] = $(
2543
- () => e.zones.map((p) => p.maxItems !== void 0 && p.items.length > p.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2544
- `useSortableZones: zone "${p.zoneKey}" exceeds maxItems (${p.items.length} > ${p.maxItems}); trimming to cap.`
2545
- ), { ...p, items: p.items.slice(0, p.maxItems) }) : p)
2546
- ), [a, r] = $(null), [o, i] = $(null), m = M(null), b = M(e.onZoneChange);
2547
- b.current = e.onZoneChange;
2548
- const d = Q(
2549
- () => $t(e.zones),
2542
+ function Kt(e) {
2543
+ const [t, n] = B(
2544
+ () => e.zones.map((g) => g.maxItems !== void 0 && g.items.length > g.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2545
+ `useSortableZones: zone "${g.zoneKey}" exceeds maxItems (${g.items.length} > ${g.maxItems}); trimming to cap.`
2546
+ ), { ...g, items: g.items.slice(0, g.maxItems) }) : g)
2547
+ ), [a, r] = B(null), [o, i] = B(null), p = M(null), h = M(e.onZoneChange);
2548
+ h.current = e.onZoneChange;
2549
+ const u = J(
2550
+ () => Bt(e.zones),
2550
2551
  [e.zones]
2551
- ), f = M(d);
2552
+ ), b = M(u);
2552
2553
  A(() => {
2553
- f.current !== d && (f.current = d, !a && n(
2554
- e.zones.map((p) => p.maxItems !== void 0 && p.items.length > p.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2555
- `useSortableZones: zone "${p.zoneKey}" exceeds maxItems (${p.items.length} > ${p.maxItems}); trimming to cap.`
2556
- ), { ...p, items: p.items.slice(0, p.maxItems) }) : p)
2554
+ b.current !== u && (b.current = u, !a && n(
2555
+ e.zones.map((g) => g.maxItems !== void 0 && g.items.length > g.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2556
+ `useSortableZones: zone "${g.zoneKey}" exceeds maxItems (${g.items.length} > ${g.maxItems}); trimming to cap.`
2557
+ ), { ...g, items: g.items.slice(0, g.maxItems) }) : g)
2557
2558
  ));
2558
- }, [d, e.zones, a]);
2559
- const C = h(
2560
- (p) => {
2561
- const D = p.active.id;
2562
- let S = null, y = null;
2563
- for (const _ of t) {
2564
- const x = _.items.find((s) => s.id === D);
2565
- if (x) {
2566
- S = x, y = _.zoneKey;
2559
+ }, [u, e.zones, a]);
2560
+ const y = v(
2561
+ (g) => {
2562
+ const S = g.active.id;
2563
+ let C = null, f = null;
2564
+ for (const T of t) {
2565
+ const _ = T.items.find((s) => s.id === S);
2566
+ if (_) {
2567
+ C = _, f = T.zoneKey;
2567
2568
  break;
2568
2569
  }
2569
2570
  }
2570
- m.current = y, r(S), i(y);
2571
+ p.current = f, r(C), i(f);
2571
2572
  },
2572
2573
  [t]
2573
- ), l = h(
2574
- (p) => {
2575
- if (!p.over) {
2576
- i(m.current);
2574
+ ), l = v(
2575
+ (g) => {
2576
+ if (!g.over) {
2577
+ i(p.current);
2577
2578
  return;
2578
2579
  }
2579
- const D = we(t, p.over.id);
2580
- i(D);
2580
+ const S = we(t, g.over.id);
2581
+ i(S);
2581
2582
  },
2582
2583
  [t]
2583
- ), c = h(
2584
- (p) => {
2585
- const { active: D, over: S } = p, y = () => {
2586
- m.current = null, r(null), i(null);
2584
+ ), d = v(
2585
+ (g) => {
2586
+ const { active: S, over: C } = g, f = () => {
2587
+ p.current = null, r(null), i(null);
2587
2588
  };
2588
- if (!S) {
2589
- y();
2589
+ if (!C) {
2590
+ f();
2590
2591
  return;
2591
2592
  }
2592
- const _ = pe(t, D.id), x = we(t, S.id);
2593
- if (!_ || !x) {
2594
- y();
2593
+ const T = pe(t, S.id), _ = we(t, C.id);
2594
+ if (!T || !_) {
2595
+ f();
2595
2596
  return;
2596
2597
  }
2597
- let s = t.map((g) => ({ ...g, items: [...g.items] }));
2598
- if (_ === x) {
2599
- const g = s.findIndex((P) => P.zoneKey === _), w = s[g], T = w.items.findIndex((P) => P.id === D.id), k = w.items.findIndex((P) => P.id === S.id), R = k >= 0 ? k : Math.max(0, w.items.length - 1);
2600
- s[g] = {
2601
- ...w,
2602
- items: Lt(w.items, T, R)
2598
+ let s = t.map((m) => ({ ...m, items: [...m.items] }));
2599
+ if (T === _) {
2600
+ const m = s.findIndex((P) => P.zoneKey === T), D = s[m], k = D.items.findIndex((P) => P.id === S.id), x = D.items.findIndex((P) => P.id === C.id), R = x >= 0 ? x : Math.max(0, D.items.length - 1);
2601
+ s[m] = {
2602
+ ...D,
2603
+ items: $t(D.items, k, R)
2603
2604
  };
2604
2605
  } else {
2605
- const g = s.findIndex((B) => B.zoneKey === _), w = s.findIndex((B) => B.zoneKey === x), T = s[g], k = s[w], R = T.items.find((B) => B.id === D.id);
2606
+ const m = s.findIndex((K) => K.zoneKey === T), D = s.findIndex((K) => K.zoneKey === _), k = s[m], x = s[D], R = k.items.find((K) => K.id === S.id);
2606
2607
  if (!R) {
2607
- y();
2608
+ f();
2608
2609
  return;
2609
2610
  }
2610
- const P = T.items.filter((B) => B.id !== D.id), G = k.items.findIndex((B) => B.id === S.id), W = G >= 0 ? G : k.items.length;
2611
- let Y = P, V = [...k.items];
2612
- if (k.maxItems !== void 0 && V.length >= k.maxItems) {
2613
- const B = V[V.length - 1];
2614
- V = V.slice(0, k.maxItems - 1), Y = [...P, B];
2611
+ const P = k.items.filter((K) => K.id !== S.id), W = x.items.findIndex((K) => K.id === C.id), H = W >= 0 ? W : x.items.length;
2612
+ let ee = P, V = [...x.items];
2613
+ if (x.maxItems !== void 0 && V.length >= x.maxItems) {
2614
+ const K = V[V.length - 1];
2615
+ V = V.slice(0, x.maxItems - 1), ee = [...P, K];
2615
2616
  }
2616
- const q = Math.min(W, V.length), ne = [
2617
- ...V.slice(0, q),
2617
+ const te = Math.min(H, V.length), ae = [
2618
+ ...V.slice(0, te),
2618
2619
  R,
2619
- ...V.slice(q)
2620
+ ...V.slice(te)
2620
2621
  ];
2621
- s[g] = { ...T, items: Y }, s[w] = { ...k, items: ne };
2622
+ s[m] = { ...k, items: ee }, s[D] = { ...x, items: ae };
2622
2623
  }
2623
- n(s), b.current?.(s), y();
2624
+ n(s), h.current?.(s), f();
2624
2625
  },
2625
2626
  [t]
2626
- ), v = h(
2627
- (p) => ({
2628
- id: p,
2629
- "data-zone-key": p
2627
+ ), w = v(
2628
+ (g) => ({
2629
+ id: g,
2630
+ "data-zone-key": g
2630
2631
  }),
2631
2632
  []
2632
- ), I = h(
2633
- (p) => {
2634
- const D = pe(t, p.id) ?? "";
2633
+ ), I = v(
2634
+ (g) => {
2635
+ const S = pe(t, g.id) ?? "";
2635
2636
  return {
2636
- id: p.id,
2637
- "data-item-id": p.id,
2638
- "data-zone-key": D
2637
+ id: g.id,
2638
+ "data-item-id": g.id,
2639
+ "data-zone-key": S
2639
2640
  };
2640
2641
  },
2641
2642
  [t]
@@ -2644,15 +2645,15 @@ function Bt(e) {
2644
2645
  zones: t,
2645
2646
  activeZone: o,
2646
2647
  activeItem: a,
2647
- getZoneProps: v,
2648
+ getZoneProps: w,
2648
2649
  getItemProps: I,
2649
- handleDragStart: C,
2650
+ handleDragStart: y,
2650
2651
  handleDragOver: l,
2651
- handleDragEnd: c
2652
+ handleDragEnd: d
2652
2653
  };
2653
2654
  }
2654
- let j = null, te = null, le = !1;
2655
- const Kt = [
2655
+ let X = null, ne = null, le = !1;
2656
+ const Gt = [
2656
2657
  "DndContext",
2657
2658
  "DragOverlay",
2658
2659
  "useSensors",
@@ -2661,22 +2662,22 @@ const Kt = [
2661
2662
  "PointerSensor",
2662
2663
  "KeyboardSensor",
2663
2664
  "closestCenter"
2664
- ], Gt = [
2665
+ ], Vt = [
2665
2666
  "SortableContext",
2666
2667
  "useSortable",
2667
2668
  "verticalListSortingStrategy"
2668
2669
  ];
2669
- function Vt(e, t) {
2670
+ function Ht(e, t) {
2670
2671
  const n = [], a = e ?? {};
2671
- for (const o of Kt)
2672
+ for (const o of Gt)
2672
2673
  a[o] === void 0 && n.push(`@dnd-kit/core:${o}`);
2673
2674
  const r = t ?? {};
2674
- for (const o of Gt)
2675
+ for (const o of Vt)
2675
2676
  r[o] === void 0 && n.push(`@dnd-kit/sortable:${o}`);
2676
2677
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
2677
2678
  }
2678
- function Ht() {
2679
- return j ? Promise.resolve(j) : le ? Promise.resolve(null) : te || (te = (async () => {
2679
+ function zt() {
2680
+ return X ? Promise.resolve(X) : le ? Promise.resolve(null) : ne || (ne = (async () => {
2680
2681
  try {
2681
2682
  const [e, t, n] = await Promise.all([
2682
2683
  import("@dnd-kit/core"),
@@ -2684,44 +2685,44 @@ function Ht() {
2684
2685
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
2685
2686
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
2686
2687
  ), {}))
2687
- ]), a = Vt(e, t);
2688
- return a.ok ? (j = {
2688
+ ]), a = Ht(e, t);
2689
+ return a.ok ? (X = {
2689
2690
  core: e,
2690
2691
  sortable: t,
2691
2692
  utilities: n
2692
- }, j) : (le = !0, process.env.NODE_ENV !== "production" && console.error(
2693
+ }, X) : (le = !0, process.env.NODE_ENV !== "production" && console.error(
2693
2694
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
2694
2695
  ), null);
2695
2696
  } catch {
2696
2697
  return le = !0, null;
2697
2698
  }
2698
- })(), te);
2699
+ })(), ne);
2699
2700
  }
2700
- function zt(e) {
2701
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: o } = e, i = Bt({ zones: t, onZoneChange: n }), [m, b] = K.useState(j);
2702
- return K.useEffect(() => {
2703
- if (m) return;
2704
- let d = !0;
2705
- return Ht().then((f) => {
2706
- d && b(f);
2701
+ function Wt(e) {
2702
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: o } = e, i = Kt({ zones: t, onZoneChange: n }), [p, h] = G.useState(X);
2703
+ return G.useEffect(() => {
2704
+ if (p) return;
2705
+ let u = !0;
2706
+ return zt().then((b) => {
2707
+ u && h(b);
2707
2708
  }), () => {
2708
- d = !1;
2709
+ u = !1;
2709
2710
  };
2710
- }, [m]), m ? /* @__PURE__ */ u(
2711
+ }, [p]), p ? /* @__PURE__ */ c(
2711
2712
  Ie,
2712
2713
  {
2713
2714
  state: i,
2714
- modules: m,
2715
+ modules: p,
2715
2716
  renderZone: a,
2716
2717
  renderItem: r,
2717
2718
  renderDragOverlay: o
2718
2719
  }
2719
- ) : /* @__PURE__ */ u("div", { "data-sortable-zones-passive": "true", children: i.zones.map((d) => {
2720
- const f = d.items.map((C) => /* @__PURE__ */ u(K.Fragment, { children: r(C) }, C.id));
2721
- return /* @__PURE__ */ u("div", { ...i.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, f) }, d.zoneKey);
2720
+ ) : /* @__PURE__ */ c("div", { "data-sortable-zones-passive": "true", children: i.zones.map((u) => {
2721
+ const b = u.items.map((y) => /* @__PURE__ */ c(G.Fragment, { children: r(y) }, y.id));
2722
+ return /* @__PURE__ */ c("div", { ...i.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, b) }, u.zoneKey);
2722
2723
  }) });
2723
2724
  }
2724
- zt.displayName = "SortableZones";
2725
+ Wt.displayName = "SortableZones";
2725
2726
  function Ie({
2726
2727
  state: e,
2727
2728
  modules: t,
@@ -2729,54 +2730,54 @@ function Ie({
2729
2730
  renderItem: a,
2730
2731
  renderDragOverlay: r
2731
2732
  }) {
2732
- const { core: o, sortable: i, utilities: m } = t, { DndContext: b, DragOverlay: d, useSensors: f, useSensor: C, useDroppable: l, PointerSensor: c, KeyboardSensor: v, closestCenter: I } = o, { SortableContext: p, verticalListSortingStrategy: D } = i, S = f(
2733
- C(c, { activationConstraint: { distance: 5 } }),
2734
- C(v)
2735
- ), y = b, _ = d, x = p;
2736
- return /* @__PURE__ */ O(
2737
- y,
2733
+ const { core: o, sortable: i, utilities: p } = t, { DndContext: h, DragOverlay: u, useSensors: b, useSensor: y, useDroppable: l, PointerSensor: d, KeyboardSensor: w, closestCenter: I } = o, { SortableContext: g, verticalListSortingStrategy: S } = i, C = b(
2734
+ y(d, { activationConstraint: { distance: 5 } }),
2735
+ y(w)
2736
+ ), f = h, T = u, _ = g;
2737
+ return /* @__PURE__ */ E(
2738
+ f,
2738
2739
  {
2739
- sensors: S,
2740
+ sensors: C,
2740
2741
  collisionDetection: I,
2741
2742
  onDragStart: e.handleDragStart,
2742
2743
  onDragOver: e.handleDragOver,
2743
2744
  onDragEnd: e.handleDragEnd,
2744
2745
  children: [
2745
2746
  e.zones.map((s) => {
2746
- const g = s.items.map((T) => T.id), w = s.items.map((T) => /* @__PURE__ */ u(
2747
+ const m = s.items.map((k) => k.id), D = s.items.map((k) => /* @__PURE__ */ c(
2747
2748
  Re,
2748
2749
  {
2749
- id: T.id,
2750
+ id: k.id,
2750
2751
  useSortable: i.useSortable,
2751
- cssHelper: m.CSS,
2752
- children: a(T)
2752
+ cssHelper: p.CSS,
2753
+ children: a(k)
2753
2754
  },
2754
- T.id
2755
+ k.id
2755
2756
  ));
2756
- return /* @__PURE__ */ u(
2757
+ return /* @__PURE__ */ c(
2757
2758
  Me,
2758
2759
  {
2759
2760
  zoneKey: s.zoneKey,
2760
2761
  zoneProps: e.getZoneProps(s.zoneKey),
2761
2762
  useDroppable: l,
2762
- children: /* @__PURE__ */ u(x, { items: g, strategy: D, children: n(s.zoneKey, s.items, w) })
2763
+ children: /* @__PURE__ */ c(_, { items: m, strategy: S, children: n(s.zoneKey, s.items, D) })
2763
2764
  },
2764
2765
  s.zoneKey
2765
2766
  );
2766
2767
  }),
2767
- /* @__PURE__ */ u(_, { children: e.activeItem ? r?.(e.activeItem) ?? a(e.activeItem) : null })
2768
+ /* @__PURE__ */ c(T, { children: e.activeItem ? r?.(e.activeItem) ?? a(e.activeItem) : null })
2768
2769
  ]
2769
2770
  }
2770
2771
  );
2771
2772
  }
2772
2773
  Ie.displayName = "SortableZonesInner";
2773
2774
  function Re({ id: e, useSortable: t, cssHelper: n, children: a }) {
2774
- const { attributes: r, listeners: o, setNodeRef: i, transform: m, transition: b, isDragging: d } = t({ id: e }), f = {
2775
- transform: n?.Transform?.toString(m) ?? void 0,
2776
- transition: b,
2777
- opacity: d ? 0.5 : 1
2775
+ const { attributes: r, listeners: o, setNodeRef: i, transform: p, transition: h, isDragging: u } = t({ id: e }), b = {
2776
+ transform: n?.Transform?.toString(p) ?? void 0,
2777
+ transition: h,
2778
+ opacity: u ? 0.5 : 1
2778
2779
  };
2779
- return /* @__PURE__ */ u("div", { ref: i, style: f, "data-sortable-item-id": e, ...r, ...o, children: a });
2780
+ return /* @__PURE__ */ c("div", { ref: i, style: b, "data-sortable-item-id": e, ...r, ...o, children: a });
2780
2781
  }
2781
2782
  Re.displayName = "SortableItem";
2782
2783
  function Me({
@@ -2786,308 +2787,308 @@ function Me({
2786
2787
  children: a
2787
2788
  }) {
2788
2789
  const { setNodeRef: r, isOver: o } = n({ id: e });
2789
- return /* @__PURE__ */ u("div", { ref: r, "data-zone-is-over": o || void 0, ...t, children: a });
2790
+ return /* @__PURE__ */ c("div", { ref: r, "data-zone-is-over": o || void 0, ...t, children: a });
2790
2791
  }
2791
2792
  Me.displayName = "ZoneDroppable";
2792
- const Wt = K.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2793
+ const Zt = G.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2793
2794
  const r = { ...n };
2794
- return delete r.className, delete r.style, /* @__PURE__ */ u("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ u(ge, { region: "toolbar", density: e, children: t }) });
2795
+ return delete r.className, delete r.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ c(ge, { region: "toolbar", density: e, children: t }) });
2795
2796
  });
2796
- Wt.displayName = "ContainerToolbar";
2797
- const Zt = K.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, o) => {
2797
+ Zt.displayName = "ContainerToolbar";
2798
+ const Ut = G.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, o) => {
2798
2799
  const i = { ...r };
2799
- return delete i.className, delete i.style, /* @__PURE__ */ O("fieldset", { ref: o, className: "gloss-container-form-section", ...i, children: [
2800
- e && /* @__PURE__ */ u("legend", { className: "gloss-container-form-section__legend", children: e }),
2801
- t && /* @__PURE__ */ u("p", { className: "gloss-container-form-section__description", children: t }),
2802
- /* @__PURE__ */ u(ge, { region: "form-section", density: n, children: a })
2800
+ return delete i.className, delete i.style, /* @__PURE__ */ E("fieldset", { ref: o, className: "gloss-container-form-section", ...i, children: [
2801
+ e && /* @__PURE__ */ c("legend", { className: "gloss-container-form-section__legend", children: e }),
2802
+ t && /* @__PURE__ */ c("p", { className: "gloss-container-form-section__description", children: t }),
2803
+ /* @__PURE__ */ c(ge, { region: "form-section", density: n, children: a })
2803
2804
  ] });
2804
2805
  });
2805
- Zt.displayName = "ContainerFormSection";
2806
- const Ut = K.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2806
+ Ut.displayName = "ContainerFormSection";
2807
+ const Yt = G.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2807
2808
  const r = { ...n };
2808
- return delete r.className, delete r.style, /* @__PURE__ */ u("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ u(ge, { region: "table", density: e, children: t }) });
2809
+ return delete r.className, delete r.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ c(ge, { region: "table", density: e, children: t }) });
2809
2810
  });
2810
- Ut.displayName = "ContainerTable";
2811
+ Yt.displayName = "ContainerTable";
2811
2812
  export {
2812
- Qa as Accordion,
2813
- Ja as AccordionContent,
2814
- en as AccordionItem,
2815
- tn as AccordionTrigger,
2816
- an as ActionStrip,
2817
- nn as Actionable,
2818
- rn as AddressGroup,
2819
- sn as AddressSelect,
2820
- on as AsyncLoader,
2821
- ln as Autocomplete,
2822
- dn as Badge,
2823
- cn as BarChartCard,
2824
- un as BarsBg,
2825
- mn as Button,
2826
- pn as ButtonGroup,
2827
- gn as ButtonGroupContext,
2828
- fn as Card,
2829
- bn as CardActions,
2830
- hn as CardBack,
2831
- vn as CardBody,
2832
- yn as CardFooter,
2833
- wn as CardHeader,
2834
- Dn as CardMedia,
2835
- Cn as CardShell,
2836
- Nn as CardSubtitle,
2837
- kn as CardTitle,
2813
+ Ja as Accordion,
2814
+ en as AccordionContent,
2815
+ tn as AccordionItem,
2816
+ an as AccordionTrigger,
2817
+ nn as ActionStrip,
2818
+ rn as Actionable,
2819
+ sn as AddressGroup,
2820
+ on as AddressSelect,
2821
+ ln as AsyncLoader,
2822
+ dn as Autocomplete,
2823
+ cn as Badge,
2824
+ un as BarChartCard,
2825
+ mn as BarsBg,
2826
+ pn as Button,
2827
+ gn as ButtonGroup,
2828
+ fn as ButtonGroupContext,
2829
+ bn as Card,
2830
+ hn as CardActions,
2831
+ vn as CardBack,
2832
+ yn as CardBody,
2833
+ wn as CardFooter,
2834
+ Dn as CardHeader,
2835
+ Cn as CardMedia,
2836
+ Nn as CardShell,
2837
+ kn as CardSubtitle,
2838
+ xn as CardTitle,
2838
2839
  Sn as ChartControlBar,
2839
- xn as Checkbox,
2840
- Tn as CheckboxGroup,
2841
- _n as Chip,
2842
- In as ColorPicker,
2843
- Rn as ComparisonCard,
2844
- Mn as ContactForm,
2845
- Pn as ContainerCard,
2846
- Fn as ContainerCardActions,
2847
- En as ContainerCardBody,
2848
- On as ContainerCardFooter,
2849
- An as ContainerCardHeader,
2850
- Ln as ContainerCardMedia,
2851
- $n as ContainerCardSubtitle,
2852
- Bn as ContainerCardTitle,
2853
- Kn as ContainerDialog,
2854
- Gn as ContainerDialogActions,
2855
- Vn as ContainerDialogBody,
2856
- Hn as ContainerDialogHeader,
2857
- Zt as ContainerFormSection,
2858
- zn as ContainerPanel,
2859
- Ut as ContainerTable,
2860
- Wt as ContainerToolbar,
2861
- Wn as CreditCardForm,
2862
- Zn as DEFAULT_FOOTER_IDS,
2863
- Do as DEFAULT_MARKET_PRESETS,
2864
- Un as DEFAULT_OVERFLOW_IDS,
2865
- Co as DEFAULT_PINNED,
2840
+ Tn as Checkbox,
2841
+ _n as CheckboxGroup,
2842
+ In as Chip,
2843
+ Rn as ColorPicker,
2844
+ Mn as ComparisonCard,
2845
+ Pn as ContactForm,
2846
+ Fn as ContainerCard,
2847
+ En as ContainerCardActions,
2848
+ On as ContainerCardBody,
2849
+ An as ContainerCardFooter,
2850
+ Ln as ContainerCardHeader,
2851
+ $n as ContainerCardMedia,
2852
+ Bn as ContainerCardSubtitle,
2853
+ Kn as ContainerCardTitle,
2854
+ Gn as ContainerDialog,
2855
+ Vn as ContainerDialogActions,
2856
+ Hn as ContainerDialogBody,
2857
+ zn as ContainerDialogHeader,
2858
+ Ut as ContainerFormSection,
2859
+ Wn as ContainerPanel,
2860
+ Yt as ContainerTable,
2861
+ Zt as ContainerToolbar,
2862
+ Zn as CreditCardForm,
2863
+ Un as DEFAULT_FOOTER_IDS,
2864
+ Co as DEFAULT_MARKET_PRESETS,
2865
+ Yn as DEFAULT_OVERFLOW_IDS,
2866
+ No as DEFAULT_PINNED,
2866
2867
  Ce as DEFAULT_RESIZE_PHYSICS,
2867
- Yn as DataTable,
2868
- qn as DatePicker,
2869
- jn as DateRangePicker,
2870
- Xn as DestructiveModal,
2871
- _t as DevTuningPanel,
2872
- Qn as DirectionCard,
2873
- Jn as Dismissible,
2874
- er as DistributionCard,
2875
- tr as DonutChart,
2876
- ar as Dropdown,
2877
- nr as ENTITY_FILTER_KEYS,
2878
- rr as ENTITY_PROFILE_ROUTES,
2879
- sr as ENTITY_TYPE_PLURAL,
2880
- Qe as EdgeHoverHandle,
2881
- or as EntityPicker,
2882
- ir as EntitySearchPanel,
2883
- lr as Expandable,
2884
- dr as ExpandableChip,
2885
- cr as FLIP_AND_STAGE_TIMINGS,
2886
- ur as FileUpload,
2887
- mr as FilterChip,
2888
- pr as FilterInput,
2889
- gr as FlipAndStageProvider,
2890
- fr as Form,
2891
- br as FormDialog,
2892
- hr as FormField,
2893
- vr as FusedShape,
2894
- Je as GhostPreview,
2895
- yr as GroupCheckbox,
2896
- wr as GroupRadio,
2897
- Dr as HighlightCard,
2898
- Cr as HybridDatePicker,
2899
- Nr as ImportWizard,
2900
- Rt as InlineNudge,
2901
- kr as Input,
2868
+ qn as DataTable,
2869
+ jn as DatePicker,
2870
+ Xn as DateRangePicker,
2871
+ Qn as DestructiveModal,
2872
+ It as DevTuningPanel,
2873
+ Jn as DirectionCard,
2874
+ er as Dismissible,
2875
+ tr as DistributionCard,
2876
+ ar as DonutChart,
2877
+ nr as Dropdown,
2878
+ rr as ENTITY_FILTER_KEYS,
2879
+ sr as ENTITY_PROFILE_ROUTES,
2880
+ or as ENTITY_TYPE_PLURAL,
2881
+ Je as EdgeHoverHandle,
2882
+ ir as EntityPicker,
2883
+ lr as EntitySearchPanel,
2884
+ dr as Expandable,
2885
+ cr as ExpandableChip,
2886
+ ur as FLIP_AND_STAGE_TIMINGS,
2887
+ mr as FileUpload,
2888
+ pr as FilterChip,
2889
+ gr as FilterInput,
2890
+ fr as FlipAndStageProvider,
2891
+ br as Form,
2892
+ hr as FormDialog,
2893
+ vr as FormField,
2894
+ yr as FusedShape,
2895
+ et as GhostPreview,
2896
+ wr as GroupCheckbox,
2897
+ Dr as GroupRadio,
2898
+ Cr as HighlightCard,
2899
+ Nr as HybridDatePicker,
2900
+ kr as ImportWizard,
2901
+ Mt as InlineNudge,
2902
+ xr as Input,
2902
2903
  Sr as InputAddon,
2903
- xr as InputGroup,
2904
- Tr as Link,
2905
- _r as LoginForm,
2906
- Ir as MarketPresetRow,
2907
- Rr as MaskPresets,
2908
- Mr as MaskedInput,
2909
- Pr as Menu,
2910
- Fr as MenuDivider,
2911
- Er as MenuGroup,
2912
- Or as MenuItem,
2913
- Ar as MergePrompt,
2914
- Lr as MetricCard,
2915
- $r as MetricCardGrid,
2916
- yt as MetricGroupContainer,
2917
- Br as MiniCalendar,
2918
- Kr as MultiSelect,
2919
- Gr as NumberInput,
2920
- Vr as ObjectArrow,
2921
- Hr as OrderFilterBar,
2922
- No as PERIOD_OPTIONS,
2923
- it as PageChip,
2904
+ Tr as InputGroup,
2905
+ _r as Link,
2906
+ Ir as LoginForm,
2907
+ Rr as MarketPresetRow,
2908
+ Mr as MaskPresets,
2909
+ Pr as MaskedInput,
2910
+ Fr as Menu,
2911
+ Er as MenuDivider,
2912
+ Or as MenuGroup,
2913
+ Ar as MenuItem,
2914
+ Lr as MergePrompt,
2915
+ $r as MetricCard,
2916
+ Br as MetricCardGrid,
2917
+ wt as MetricGroupContainer,
2918
+ Kr as MiniCalendar,
2919
+ Gr as MultiSelect,
2920
+ Vr as NumberInput,
2921
+ Hr as ObjectArrow,
2922
+ zr as OrderFilterBar,
2923
+ ko as PERIOD_OPTIONS,
2924
+ lt as PageChip,
2924
2925
  Ne as PageDropdown,
2925
- zr as PasswordInput,
2926
- Wr as PaymentForm,
2927
- Zr as PaymentMethodSelect,
2928
- Ur as PhoneInput,
2929
- Yr as PinToMetric,
2930
- At as PresetSwatchRow,
2931
- qr as ProfileCard,
2932
- jr as ProgressCard,
2933
- Xr as QuickConfigPanel,
2934
- gt as RECONFIG_BACKSIDE_LABELS,
2935
- ko as ROLLING_OPTIONS,
2936
- Qr as Radio,
2937
- Jr as RadioGroup,
2938
- es as RangeSlider,
2939
- ts as Rating,
2940
- ht as ReconfigBacksideButtons,
2941
- as as RegistrationForm,
2942
- ns as Row1Controls,
2943
- rs as Row2FilterTray,
2944
- ss as SearchInput,
2945
- os as SegmentCard,
2946
- is as SegmentedControl,
2947
- ls as Select,
2948
- ds as Selectable,
2949
- cs as SimpleMetricCard,
2950
- us as SimpleSelector,
2951
- ms as Skeleton,
2952
- ps as SkeletonCard,
2953
- gs as SkeletonChart,
2954
- fs as SkeletonTable,
2955
- bs as Slider,
2956
- hs as Sortable,
2957
- zt as SortableZones,
2958
- vs as SparklineBg,
2959
- ys as SplitButton,
2960
- ws as StackedGroupCard,
2961
- Ds as StatusModeCard,
2962
- Xe as StatusSlotChipMenu,
2963
- Cs as Stepper,
2926
+ Wr as PasswordInput,
2927
+ Zr as PaymentForm,
2928
+ Ur as PaymentMethodSelect,
2929
+ Yr as PhoneInput,
2930
+ qr as PinToMetric,
2931
+ Lt as PresetSwatchRow,
2932
+ jr as ProfileCard,
2933
+ Xr as ProgressCard,
2934
+ Qr as QuickConfigPanel,
2935
+ ft as RECONFIG_BACKSIDE_LABELS,
2936
+ xo as ROLLING_OPTIONS,
2937
+ Jr as Radio,
2938
+ es as RadioGroup,
2939
+ ts as RangeSlider,
2940
+ as as Rating,
2941
+ vt as ReconfigBacksideButtons,
2942
+ ns as RegistrationForm,
2943
+ rs as Row1Controls,
2944
+ ss as Row2FilterTray,
2945
+ os as SearchInput,
2946
+ is as SegmentCard,
2947
+ ls as SegmentedControl,
2948
+ ds as Select,
2949
+ cs as Selectable,
2950
+ us as SimpleMetricCard,
2951
+ ms as SimpleSelector,
2952
+ ps as Skeleton,
2953
+ gs as SkeletonCard,
2954
+ fs as SkeletonChart,
2955
+ bs as SkeletonTable,
2956
+ hs as Slider,
2957
+ vs as Sortable,
2958
+ Wt as SortableZones,
2959
+ ys as SparklineBg,
2960
+ ws as SplitButton,
2961
+ Ds as StackedGroupCard,
2962
+ Cs as StatusModeCard,
2963
+ Qe as StatusSlotChipMenu,
2964
+ Ns as Stepper,
2964
2965
  So as TODAY_PRESET,
2965
- U as TUNING_DEFAULTS,
2966
+ Y as TUNING_DEFAULTS,
2966
2967
  Te as TUNING_STORAGE_KEY,
2967
- Ns as TabGroup,
2968
- ks as TabbedDataView,
2968
+ ks as TabGroup,
2969
+ xs as TabbedDataView,
2969
2970
  Ss as TagInput,
2970
- xs as Textarea,
2971
- Ft as ThresholdRamp,
2972
- Ts as TimeFrame,
2973
- _s as TimePicker,
2974
- Is as Toggle,
2975
- Rs as Tooltip,
2976
- Ms as Transition,
2977
- Ps as TransitionGroup,
2978
- Fs as TrendCard,
2979
- Es as TrendIndicator,
2980
- vo as UIContext,
2971
+ Ts as Textarea,
2972
+ Et as ThresholdRamp,
2973
+ _s as TimeFrame,
2974
+ Is as TimePicker,
2975
+ Rs as Toggle,
2976
+ Ms as Tooltip,
2977
+ Ps as Transition,
2978
+ Fs as TransitionGroup,
2979
+ Es as TrendCard,
2980
+ Os as TrendIndicator,
2981
+ yo as UIContext,
2981
2982
  ge as UIContextProvider,
2982
- Os as UnifiedBreakdownTable,
2983
- As as UnifiedContextMenu,
2984
- et as VelocityBuffer,
2985
- Ls as addressGroupMetadata,
2986
- $s as addressSchema,
2987
- la as allChips,
2988
- Da as allStateFixtures,
2989
- wa as allVariantFixtures,
2990
- ma as blockSamples,
2991
- Bs as buildDefaultOverflow,
2992
- ha as cardSamples,
2993
- fa as chartSamples,
2994
- ga as circleSamples,
2995
- Ha as compactLayout,
2996
- Pa as compactState,
2997
- ya as computeGutterAnchorX,
2998
- Ks as contactFormMetadata,
2999
- Gs as contactSchema,
3000
- Fa as contextMenuFixtures,
3001
- Vs as creditCardFormMetadata,
3002
- Hs as creditCardSchema,
3003
- Ue as dateChip,
3004
- xe as defaultControlBarState,
3005
- zs as destructiveModalMetadata,
3006
- Ws as durations,
3007
- Zs as easings,
3008
- nt as emptyFixture,
3009
- We as entityChip,
3010
- ut as entityNameActions,
3011
- ca as entityTabGroup,
3012
- at as errorFixture,
3013
- Ma as filteredState,
3014
- xo as findPreset,
3015
- To as formatDateRange,
3016
- _o as formatMarketDates,
3017
- Io as formatTrend,
3018
- Ro as formatValue,
3019
- Wa as fullLayout,
3020
- Mo as generateMarketId,
3021
- Us as generateTabId,
3022
- Po as getAllPresets,
3023
- Fo as getDateRangeForPreset,
3024
- Ys as getMenuActions,
3025
- Eo as getPresetLabel,
3026
- qs as getTransitionStyle,
3027
- Va as gridCards,
3028
- js as interpolate,
3029
- Oo as isInRange,
3030
- Ao as isMarketActive,
3031
- Lo as isSameDay,
3032
- Ra as itemColumns,
3033
- _a as itemRows,
3034
- tt as loadingFixture,
3035
- Xs as loginFormMetadata,
3036
- Qs as loginSchema,
3037
- Ye as manufacturerChip,
3038
- qa as manyTabs,
3039
- Js as mergeHandlers,
3040
- eo as mergeRefs,
3041
- da as metricTabGroup,
3042
- Ua as mixedTabs,
3043
- $o as normalizePresetId,
3044
- pt as numericActions,
3045
- Ia as orderColumns,
3046
- mt as orderIdActions,
3047
- Ta as orderRows,
3048
- Za as ordersTabs,
3049
- to as parseNumericValue,
3050
- ao as paymentFormMetadata,
3051
- no as paymentSchema,
3052
- ro as presets,
3053
- so as registrationFormMetadata,
3054
- oo as registrationSchema,
3055
- Oa as sampleCompareRanges,
3056
- $a as sampleCustomMarkets,
3057
- Ea as sampleDateRange,
3058
- Ba as sampleMarketPresetData,
3059
- La as sampleMarkets,
3060
- Ga as samplePeriodPresets,
3061
- Aa as samplePreferences,
3062
- Ka as samplePresets,
3063
- Ya as singleTab,
3064
- Ca as sparklineFixture,
3065
- Na as sparklineUpFixture,
3066
- ot as staleDonutFixture,
3067
- rt as staleFixture,
3068
- st as staleSparklineFixture,
3069
- ka as standardFixture,
3070
- xa as standardFlatFixture,
3071
- za as standardLayout,
2983
+ As as UnifiedBreakdownTable,
2984
+ Ls as UnifiedContextMenu,
2985
+ tt as VelocityBuffer,
2986
+ $s as addressGroupMetadata,
2987
+ Bs as addressSchema,
2988
+ da as allChips,
2989
+ Ca as allStateFixtures,
2990
+ Da as allVariantFixtures,
2991
+ pa as blockSamples,
2992
+ Ks as buildDefaultOverflow,
2993
+ va as cardSamples,
2994
+ ba as chartSamples,
2995
+ fa as circleSamples,
2996
+ za as compactLayout,
2997
+ Fa as compactState,
2998
+ wa as computeGutterAnchorX,
2999
+ Gs as contactFormMetadata,
3000
+ Vs as contactSchema,
3001
+ Ea as contextMenuFixtures,
3002
+ Hs as creditCardFormMetadata,
3003
+ zs as creditCardSchema,
3004
+ Ye as dateChip,
3005
+ Se as defaultControlBarState,
3006
+ Ws as destructiveModalMetadata,
3007
+ Zs as durations,
3008
+ Us as easings,
3009
+ rt as emptyFixture,
3010
+ Ze as entityChip,
3011
+ mt as entityNameActions,
3012
+ ua as entityTabGroup,
3013
+ nt as errorFixture,
3014
+ Pa as filteredState,
3015
+ To as findPreset,
3016
+ _o as formatDateRange,
3017
+ Io as formatMarketDates,
3018
+ Ro as formatTrend,
3019
+ Mo as formatValue,
3020
+ Za as fullLayout,
3021
+ Po as generateMarketId,
3022
+ Ys as generateTabId,
3023
+ Fo as getAllPresets,
3024
+ Eo as getDateRangeForPreset,
3025
+ qs as getMenuActions,
3026
+ Oo as getPresetLabel,
3027
+ js as getTransitionStyle,
3028
+ Ha as gridCards,
3029
+ Xs as interpolate,
3030
+ Ao as isInRange,
3031
+ Lo as isMarketActive,
3032
+ $o as isSameDay,
3033
+ Ma as itemColumns,
3034
+ Ia as itemRows,
3035
+ at as loadingFixture,
3036
+ Qs as loginFormMetadata,
3037
+ Js as loginSchema,
3038
+ qe as manufacturerChip,
3039
+ ja as manyTabs,
3040
+ eo as mergeHandlers,
3041
+ to as mergeRefs,
3042
+ ca as metricTabGroup,
3043
+ Ya as mixedTabs,
3044
+ Bo as normalizePresetId,
3045
+ gt as numericActions,
3046
+ Ra as orderColumns,
3047
+ pt as orderIdActions,
3048
+ _a as orderRows,
3049
+ Ua as ordersTabs,
3050
+ ao as parseNumericValue,
3051
+ no as paymentFormMetadata,
3052
+ ro as paymentSchema,
3053
+ so as presets,
3054
+ oo as registrationFormMetadata,
3055
+ io as registrationSchema,
3056
+ Aa as sampleCompareRanges,
3057
+ Ba as sampleCustomMarkets,
3058
+ Oa as sampleDateRange,
3059
+ Ka as sampleMarketPresetData,
3060
+ $a as sampleMarkets,
3061
+ Va as samplePeriodPresets,
3062
+ La as samplePreferences,
3063
+ Ga as samplePresets,
3064
+ qa as singleTab,
3065
+ Na as sparklineFixture,
3066
+ ka as sparklineUpFixture,
3067
+ it as staleDonutFixture,
3068
+ st as staleFixture,
3069
+ ot as staleSparklineFixture,
3070
+ xa as standardFixture,
3071
+ Ta as standardFlatFixture,
3072
+ Wa as standardLayout,
3072
3073
  Sa as standardNegativeFixture,
3073
- Ze as statusChip,
3074
- ba as tableSamples,
3075
- pa as textSamples,
3076
- ua as timeFrameTabGroup,
3077
- Bo as toUppercasePresetId,
3078
- ia as useArrowNavigation,
3079
- io as useCheckboxGroupContext,
3080
- va as useEdgeHoverResize,
3081
- lo as useFilterLayout,
3082
- co as useFlipAndStage,
3083
- uo as useFlipAndStageContext,
3084
- mo as useFlipAndStageContextOptional,
3085
- oa as useFocusReturn,
3086
- po as useFocusTrap,
3087
- go as useFormContext,
3088
- fo as useRadioGroupContext,
3089
- Ct as useResizeTuning,
3090
- bo as useSlideOutReveal,
3091
- Bt as useSortableZones,
3092
- yo as useUIContext
3074
+ Ue as statusChip,
3075
+ ha as tableSamples,
3076
+ ga as textSamples,
3077
+ ma as timeFrameTabGroup,
3078
+ Ko as toUppercasePresetId,
3079
+ la as useArrowNavigation,
3080
+ lo as useCheckboxGroupContext,
3081
+ ya as useEdgeHoverResize,
3082
+ co as useFilterLayout,
3083
+ uo as useFlipAndStage,
3084
+ mo as useFlipAndStageContext,
3085
+ po as useFlipAndStageContextOptional,
3086
+ ia as useFocusReturn,
3087
+ go as useFocusTrap,
3088
+ fo as useFormContext,
3089
+ bo as useRadioGroupContext,
3090
+ Nt as useResizeTuning,
3091
+ ho as useSlideOutReveal,
3092
+ Kt as useSortableZones,
3093
+ wo as useUIContext
3093
3094
  };