@freedom-code-compliance/fcc-redesign 0.1.36 → 0.1.38

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/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { createContext as e, createElement as t, forwardRef as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o, useId as s, useLayoutEffect as c, useMemo as l, useRef as u, useState as d } from "react";
2
- import { AlertCircle as f, AlertTriangle as p, Bell as m, Calendar as h, Check as g, CheckCheck as _, CheckCircle as v, ChevronDown as y, ChevronRight as b, ChevronUp as x, ChevronsUpDown as S, Clock as C, Columns3 as w, Filter as T, Hash as E, Info as D, LayoutGrid as O, List as k, Loader2 as A, LogOut as j, Map as M, Mic as N, MicOff as P, Minus as F, Moon as I, MoreHorizontal as L, Pause as ee, Phone as R, PhoneForwarded as te, PhoneIncoming as ne, PhoneMissed as re, PhoneOff as z, Play as ie, Search as B, Sun as ae, TrendingDown as oe, TrendingUp as se, UserPlus as ce, Voicemail as le, X as V } from "lucide-react";
3
- import { Fragment as ue, jsx as H, jsxs as U } from "react/jsx-runtime";
2
+ import { AlertCircle as f, AlertTriangle as p, Bell as m, Calendar as h, Check as g, CheckCheck as _, CheckCircle as v, ChevronDown as y, ChevronRight as b, ChevronUp as x, ChevronsUpDown as S, Clock as C, Columns3 as w, Filter as T, Hash as E, Info as D, LayoutGrid as O, List as k, Loader2 as A, LogOut as j, Map as M, Menu as N, Mic as P, MicOff as F, Minus as I, Moon as L, MoreHorizontal as R, Pause as z, Phone as ee, PhoneForwarded as te, PhoneIncoming as ne, PhoneMissed as re, PhoneOff as ie, Pin as ae, PinOff as oe, Play as se, Search as B, Sun as ce, TrendingDown as le, TrendingUp as ue, UserPlus as de, Voicemail as fe, X as V } from "lucide-react";
3
+ import { Fragment as pe, jsx as H, jsxs as U } from "react/jsx-runtime";
4
4
  import { createPortal as W } from "react-dom";
5
5
  //#region src/components/ui/Toast.jsx
6
- var de = e(null), fe = {
6
+ var me = e(null), he = {
7
7
  success: /* @__PURE__ */ H(v, {
8
8
  size: 16,
9
9
  style: { color: "var(--accent-green)" }
@@ -21,7 +21,7 @@ var de = e(null), fe = {
21
21
  style: { color: "var(--accent-blue)" }
22
22
  })
23
23
  };
24
- function pe({ toast: e, onDismiss: t }) {
24
+ function ge({ toast: e, onDismiss: t }) {
25
25
  return o(() => {
26
26
  if (!(e.sticky || e.duration === 0)) {
27
27
  let n = setTimeout(() => t(e.id), e.duration || 4e3);
@@ -38,7 +38,7 @@ function pe({ toast: e, onDismiss: t }) {
38
38
  children: [
39
39
  /* @__PURE__ */ H("span", {
40
40
  className: "toast-icon",
41
- children: fe[e.type] || fe.info
41
+ children: he[e.type] || he.info
42
42
  }),
43
43
  /* @__PURE__ */ U("div", {
44
44
  className: "toast-content",
@@ -68,7 +68,7 @@ function pe({ toast: e, onDismiss: t }) {
68
68
  ]
69
69
  });
70
70
  }
71
- function me({ children: e }) {
71
+ function _e({ children: e }) {
72
72
  let [t, n] = d([]), r = i((e) => {
73
73
  let t = Date.now() + Math.random();
74
74
  n((n) => [...n.slice(-4), {
@@ -78,35 +78,35 @@ function me({ children: e }) {
78
78
  }, []), a = i((e) => {
79
79
  n((t) => t.filter((t) => t.id !== e));
80
80
  }, []);
81
- return /* @__PURE__ */ U(de.Provider, {
81
+ return /* @__PURE__ */ U(me.Provider, {
82
82
  value: { addToast: r },
83
83
  children: [e, /* @__PURE__ */ H("div", {
84
84
  className: "toast-container",
85
- children: t.map((e) => /* @__PURE__ */ H(pe, {
85
+ children: t.map((e) => /* @__PURE__ */ H(ge, {
86
86
  toast: e,
87
87
  onDismiss: a
88
88
  }, e.id))
89
89
  })]
90
90
  });
91
91
  }
92
- function he() {
93
- let e = a(de);
92
+ function ve() {
93
+ let e = a(me);
94
94
  if (!e) throw Error("useToast must be used within ToastProvider");
95
95
  return e;
96
96
  }
97
97
  //#endregion
98
98
  //#region src/context/ThemeContext.jsx
99
- var ge = e(void 0), _e = "dark", ve = "fcc-theme";
100
- function ye(e) {
99
+ var ye = e(void 0), be = "dark", xe = "fcc-theme";
100
+ function Se(e) {
101
101
  if (typeof document > "u") return;
102
102
  let t = document.documentElement;
103
103
  t.classList.remove("dark", "light"), e === "light" && t.classList.add("light");
104
104
  }
105
- function be({ children: e, defaultTheme: t = _e, storageKey: n = ve }) {
105
+ function Ce({ children: e, defaultTheme: t = be, storageKey: n = xe }) {
106
106
  let [r, i] = d(() => typeof window > "u" ? t : window.localStorage.getItem(n) || t);
107
107
  return o(() => {
108
- typeof window < "u" && window.localStorage.setItem(n, r), ye(r);
109
- }, [n, r]), /* @__PURE__ */ H(ge.Provider, {
108
+ typeof window < "u" && window.localStorage.setItem(n, r), Se(r);
109
+ }, [n, r]), /* @__PURE__ */ H(ye.Provider, {
110
110
  value: {
111
111
  theme: r,
112
112
  setTheme: i,
@@ -117,23 +117,40 @@ function be({ children: e, defaultTheme: t = _e, storageKey: n = ve }) {
117
117
  children: e
118
118
  });
119
119
  }
120
- function xe() {
121
- let e = a(ge);
120
+ function we() {
121
+ let e = a(ye);
122
122
  if (!e) throw Error("useTheme must be used within a ThemeProvider");
123
123
  return e;
124
124
  }
125
125
  //#endregion
126
126
  //#region src/lib/FCCDesignProvider.jsx
127
- function Se({ children: e, ...t }) {
128
- return /* @__PURE__ */ H(be, {
127
+ function Te({ children: e, ...t }) {
128
+ return /* @__PURE__ */ H(Ce, {
129
129
  ...t,
130
- children: /* @__PURE__ */ H(me, { children: e })
130
+ children: /* @__PURE__ */ H(_e, { children: e })
131
131
  });
132
132
  }
133
133
  //#endregion
134
+ //#region src/components/layout/FCCAppShellContext.jsx
135
+ var G = () => {}, Ee = e({
136
+ sidebarPinned: !1,
137
+ setSidebarPinned: G,
138
+ toggleSidebarPinned: G,
139
+ mobileMenuOpen: !1,
140
+ setMobileMenuOpen: G,
141
+ toggleMobileMenu: G,
142
+ closeMobileMenu: G,
143
+ isMobileViewport: !1,
144
+ pinnable: !1,
145
+ mobileMenuEnabled: !1
146
+ });
147
+ function De() {
148
+ return a(Ee);
149
+ }
150
+ //#endregion
134
151
  //#region src/components/layout/FCCSidePanel.jsx
135
- var G = (...e) => e.filter(Boolean).join(" "), Ce = 300;
136
- function we({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: l = "" }) {
152
+ var K = (...e) => e.filter(Boolean).join(" "), Oe = 300;
153
+ function ke({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: l = "" }) {
137
154
  let f = r && n ? n : t, p = u(null), m = u(null), [h, g] = d(e ? i : null), [_, v] = d(f), [y, b] = d(e && !!i);
138
155
  o(() => () => {
139
156
  p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null);
@@ -151,29 +168,29 @@ function we({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1,
151
168
  ]), o(() => {
152
169
  if (!(e || !y)) return m.current = window.setTimeout(() => {
153
170
  b(!1), g(null), m.current = null;
154
- }, Ce), () => {
171
+ }, Oe), () => {
155
172
  m.current &&= (window.clearTimeout(m.current), null);
156
173
  };
157
174
  }, [e, y]);
158
175
  let x = !e && y, S = e ? i : y ? h : null, C = e ? f : y ? _ : f, w = e && !!i || !!S;
159
176
  return /* @__PURE__ */ U("div", {
160
- className: G("fcc-side-panel-layout", s),
177
+ className: K("fcc-side-panel-layout", s),
161
178
  children: [/* @__PURE__ */ H("div", {
162
- className: G("fcc-side-panel-content", c),
179
+ className: K("fcc-side-panel-content", c),
163
180
  children: a
164
181
  }), /* @__PURE__ */ H("div", {
165
- className: G("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
182
+ className: K("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
166
183
  style: { "--fcc-side-panel-width": `${C}px` },
167
184
  children: /* @__PURE__ */ H("div", {
168
- className: G("fcc-side-panel-inner", l),
185
+ className: K("fcc-side-panel-inner", l),
169
186
  children: S
170
187
  })
171
188
  })]
172
189
  });
173
190
  }
174
- function Te({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
191
+ function Ae({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
175
192
  return /* @__PURE__ */ U("div", {
176
- className: G("fcc-side-panel-header", i),
193
+ className: K("fcc-side-panel-header", i),
177
194
  children: [/* @__PURE__ */ U("div", {
178
195
  className: "fcc-side-panel-header-copy",
179
196
  children: [/* @__PURE__ */ H("div", {
@@ -194,25 +211,25 @@ function Te({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }
194
211
  })]
195
212
  });
196
213
  }
197
- function Ee({ children: e, className: t = "" }) {
214
+ function je({ children: e, className: t = "" }) {
198
215
  return /* @__PURE__ */ H("div", {
199
- className: G("fcc-side-panel-body", t),
216
+ className: K("fcc-side-panel-body", t),
200
217
  children: e
201
218
  });
202
219
  }
203
- function De({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
220
+ function Me({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
204
221
  return /* @__PURE__ */ H("div", {
205
- className: G("fcc-side-panel-tabs", r),
222
+ className: K("fcc-side-panel-tabs", r),
206
223
  children: e.map((e, r) => /* @__PURE__ */ H("button", {
207
- className: G("fcc-side-panel-tab", t === r && "active"),
224
+ className: K("fcc-side-panel-tab", t === r && "active"),
208
225
  onClick: () => n?.(r),
209
226
  children: e
210
227
  }, e))
211
228
  });
212
229
  }
213
- function Oe({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
230
+ function Ne({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
214
231
  return /* @__PURE__ */ U("div", {
215
- className: G("fcc-side-panel-search", r),
232
+ className: K("fcc-side-panel-search", r),
216
233
  children: [/* @__PURE__ */ H(B, { size: 13 }), n ? /* @__PURE__ */ H("input", {
217
234
  className: "fcc-side-panel-search-input",
218
235
  type: "text",
@@ -225,15 +242,15 @@ function Oe({ placeholder: e = "Search...", value: t, onChange: n, className: r
225
242
  })]
226
243
  });
227
244
  }
228
- function ke({ children: e, className: t = "" }) {
245
+ function Pe({ children: e, className: t = "" }) {
229
246
  return /* @__PURE__ */ H("div", {
230
- className: G("fcc-side-panel-group-label", t),
247
+ className: K("fcc-side-panel-group-label", t),
231
248
  children: e
232
249
  });
233
250
  }
234
- function Ae({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
251
+ function Fe({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
235
252
  return /* @__PURE__ */ U("div", {
236
- className: G("fcc-side-panel-item", a),
253
+ className: K("fcc-side-panel-item", a),
237
254
  onClick: i,
238
255
  children: [
239
256
  e && /* @__PURE__ */ H("span", {
@@ -257,9 +274,9 @@ function Ae({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "
257
274
  ]
258
275
  });
259
276
  }
260
- function je({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
277
+ function Ie({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
261
278
  return /* @__PURE__ */ U("div", {
262
- className: G("fcc-side-panel-card", o),
279
+ className: K("fcc-side-panel-card", o),
263
280
  onClick: a,
264
281
  children: [/* @__PURE__ */ H("div", {
265
282
  className: "fcc-side-panel-card-avatar",
@@ -283,9 +300,9 @@ function je({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, cl
283
300
  })]
284
301
  });
285
302
  }
286
- function Me({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
303
+ function Le({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
287
304
  return /* @__PURE__ */ U("div", {
288
- className: G("fcc-side-panel-contact", r && "active", o),
305
+ className: K("fcc-side-panel-contact", r && "active", o),
289
306
  onClick: a,
290
307
  children: [
291
308
  /* @__PURE__ */ U("div", {
@@ -303,22 +320,22 @@ function Me({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, cla
303
320
  ]
304
321
  });
305
322
  }
306
- function Ne({ children: e, onClick: t, className: n = "" }) {
323
+ function Re({ children: e, onClick: t, className: n = "" }) {
307
324
  return /* @__PURE__ */ H("div", {
308
- className: G("fcc-side-panel-action", n),
325
+ className: K("fcc-side-panel-action", n),
309
326
  onClick: t,
310
327
  children: e
311
328
  });
312
329
  }
313
- function Pe({ children: e, className: t = "" }) {
330
+ function ze({ children: e, className: t = "" }) {
314
331
  return /* @__PURE__ */ H("div", {
315
- className: G("fcc-side-panel-chat-wrap", t),
332
+ className: K("fcc-side-panel-chat-wrap", t),
316
333
  children: e
317
334
  });
318
335
  }
319
- function Fe({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
336
+ function Be({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
320
337
  return /* @__PURE__ */ U("div", {
321
- className: G("fcc-side-panel-conversation", i),
338
+ className: K("fcc-side-panel-conversation", i),
322
339
  children: [
323
340
  /* @__PURE__ */ U("div", {
324
341
  className: "fcc-side-panel-conv-header",
@@ -341,22 +358,22 @@ function Fe({ title: e, headerActions: t, messages: n = [], input: r, className:
341
358
  ]
342
359
  });
343
360
  }
344
- function Ie({ from: e = "other", meta: t, children: n, className: r = "" }) {
361
+ function Ve({ from: e = "other", meta: t, children: n, className: r = "" }) {
345
362
  let i = e === "you";
346
363
  return /* @__PURE__ */ U("div", {
347
- className: G("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
364
+ className: K("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
348
365
  children: [t && /* @__PURE__ */ H("div", {
349
366
  className: "fcc-side-panel-msg-meta",
350
367
  children: t
351
368
  }), /* @__PURE__ */ H("div", {
352
- className: G("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
369
+ className: K("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
353
370
  children: n
354
371
  })]
355
372
  });
356
373
  }
357
374
  //#endregion
358
375
  //#region src/components/layout/FCCBreadcrumbs.jsx
359
- function Le(e, t) {
376
+ function He(e, t) {
360
377
  let n = [
361
378
  "fcc-breadcrumb-item",
362
379
  t ? "current" : "",
@@ -379,7 +396,7 @@ function Le(e, t) {
379
396
  children: e.label
380
397
  });
381
398
  }
382
- function Re({ items: e = [], className: t = "" }) {
399
+ function Ue({ items: e = [], className: t = "" }) {
383
400
  let n = e.filter((e) => e?.label);
384
401
  return n.length === 0 ? null : /* @__PURE__ */ H("nav", {
385
402
  className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
@@ -391,25 +408,25 @@ function Re({ items: e = [], className: t = "" }) {
391
408
  children: [t > 0 && /* @__PURE__ */ H("span", {
392
409
  className: "fcc-breadcrumb-sep",
393
410
  children: "/"
394
- }), Le(e, r)]
411
+ }), He(e, r)]
395
412
  }, e.key || e.label || t);
396
413
  })
397
414
  });
398
415
  }
399
416
  //#endregion
400
417
  //#region src/components/layout/FCCHeaderStatus.jsx
401
- var ze = {
418
+ var We = {
402
419
  success: "fcc-header-status-success",
403
420
  warning: "fcc-header-status-warning",
404
421
  danger: "fcc-header-status-danger",
405
422
  info: "fcc-header-status-info",
406
423
  neutral: "fcc-header-status-neutral"
407
424
  };
408
- function Be({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
425
+ function Ge({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
409
426
  return e ? /* @__PURE__ */ U("div", {
410
427
  className: [
411
428
  "fcc-header-status",
412
- ze[t] || ze.neutral,
429
+ We[t] || We.neutral,
413
430
  r
414
431
  ].filter(Boolean).join(" "),
415
432
  children: [/* @__PURE__ */ H("span", {
@@ -420,16 +437,25 @@ function Be({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
420
437
  }
421
438
  //#endregion
422
439
  //#region src/components/layout/FCCWorkspaceHeader.jsx
423
- function Ve({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "" }) {
440
+ function Ke({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "", showMobileMenuToggle: o = !0 }) {
441
+ let { isMobileViewport: s, mobileMenuEnabled: c, mobileMenuOpen: l, toggleMobileMenu: u } = De(), d = o && c && s;
424
442
  return /* @__PURE__ */ U("header", {
425
443
  className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
426
- children: [/* @__PURE__ */ H("div", {
444
+ children: [/* @__PURE__ */ U("div", {
427
445
  className: "fcc-workspace-header-left",
428
- children: r || /* @__PURE__ */ H(Re, { items: e })
446
+ children: [d && /* @__PURE__ */ H("button", {
447
+ type: "button",
448
+ className: "fcc-hamburger-btn",
449
+ onClick: u,
450
+ "aria-label": l ? "Close menu" : "Open menu",
451
+ "aria-expanded": l,
452
+ title: l ? "Close menu" : "Open menu",
453
+ children: /* @__PURE__ */ H(N, { size: 18 })
454
+ }), r || /* @__PURE__ */ H(Ue, { items: e })]
429
455
  }), /* @__PURE__ */ U("div", {
430
456
  className: "fcc-workspace-header-right",
431
457
  children: [
432
- t && /* @__PURE__ */ H(Be, { ...t }),
458
+ t && /* @__PURE__ */ H(Ge, { ...t }),
433
459
  n,
434
460
  i
435
461
  ]
@@ -438,8 +464,8 @@ function Ve({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
438
464
  }
439
465
  //#endregion
440
466
  //#region src/components/layout/FCCMainWindow.jsx
441
- function He({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, callbar: s = null, className: c = "", headerClassName: l = "", contentClassName: u = "" }) {
442
- let d = o ? /* @__PURE__ */ H(we, {
467
+ function qe({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, callbar: s = null, className: c = "", headerClassName: l = "", contentClassName: u = "" }) {
468
+ let d = o ? /* @__PURE__ */ H(ke, {
443
469
  open: o.open,
444
470
  width: o.width,
445
471
  expandedWidth: o.expandedWidth,
@@ -453,7 +479,7 @@ function He({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
453
479
  return /* @__PURE__ */ U("div", {
454
480
  className: ["fcc-main-window", c].filter(Boolean).join(" "),
455
481
  children: [
456
- r || /* @__PURE__ */ H(Ve, {
482
+ r || /* @__PURE__ */ H(Ke, {
457
483
  breadcrumbs: e,
458
484
  status: t,
459
485
  actions: n,
@@ -474,7 +500,7 @@ function He({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
474
500
  }
475
501
  //#endregion
476
502
  //#region src/components/layout/FCCSidebar.jsx
477
- function Ue(e, t) {
503
+ function Je(e, t) {
478
504
  if (!e.disabled) {
479
505
  if (e.onClick) {
480
506
  e.onClick(e);
@@ -483,10 +509,10 @@ function Ue(e, t) {
483
509
  t?.(e);
484
510
  }
485
511
  }
486
- function We(e, t) {
512
+ function Ye(e, t) {
487
513
  return !e.childrenSections?.length || !t ? !1 : e.childrenSections.some((e) => e.items?.some((e) => e.key === t));
488
514
  }
489
- function Ge(e, t) {
515
+ function Xe(e, t) {
490
516
  if (!t.trim()) return e;
491
517
  let n = t.trim().toLowerCase();
492
518
  return e.map((e) => ({
@@ -494,9 +520,9 @@ function Ge(e, t) {
494
520
  items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
495
521
  })).filter((e) => e.items.length > 0);
496
522
  }
497
- function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
498
- let [l, u] = d({}), [f, p] = d({});
499
- function m(e, t) {
523
+ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
524
+ let [l, u] = d({}), [f, p] = d({}), { pinnable: m, sidebarPinned: h, toggleSidebarPinned: g, isMobileViewport: _, mobileMenuEnabled: v, closeMobileMenu: b } = De(), x = m && !_, S = v && _;
525
+ function C(e, t) {
500
526
  p((n) => ({
501
527
  ...n,
502
528
  [e]: t
@@ -507,19 +533,38 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
507
533
  children: [
508
534
  /* @__PURE__ */ U("div", {
509
535
  className: "fcc-sidebar-brand",
510
- children: [/* @__PURE__ */ H("div", {
511
- className: "fcc-sidebar-brand-logo-slot",
512
- children: t
513
- }), /* @__PURE__ */ H("span", {
514
- className: "fcc-sidebar-label fcc-sidebar-brand-text",
515
- children: e
516
- })]
536
+ children: [
537
+ /* @__PURE__ */ H("div", {
538
+ className: "fcc-sidebar-brand-logo-slot",
539
+ children: t
540
+ }),
541
+ /* @__PURE__ */ H("span", {
542
+ className: "fcc-sidebar-label fcc-sidebar-brand-text",
543
+ children: e
544
+ }),
545
+ S ? /* @__PURE__ */ H("button", {
546
+ type: "button",
547
+ className: "fcc-sidebar-close-btn",
548
+ onClick: b,
549
+ "aria-label": "Close menu",
550
+ title: "Close menu",
551
+ children: /* @__PURE__ */ H(V, { size: 16 })
552
+ }) : x ? /* @__PURE__ */ H("button", {
553
+ type: "button",
554
+ className: "fcc-sidebar-pin-btn",
555
+ onClick: g,
556
+ "aria-label": h ? "Unpin sidebar" : "Pin sidebar open",
557
+ title: h ? "Unpin sidebar" : "Pin sidebar open",
558
+ "aria-pressed": h,
559
+ children: H(h ? oe : ae, { size: 14 })
560
+ }) : null
561
+ ]
517
562
  }),
518
563
  /* @__PURE__ */ H("nav", {
519
564
  className: "fcc-sidebar-nav",
520
565
  "aria-label": `${e} navigation`,
521
566
  children: n.map((e) => {
522
- let t = e.childrenSections?.length > 0, n = We(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Ge(e.childrenSections, s) : [];
567
+ let t = e.childrenSections?.length > 0, n = Ye(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Xe(e.childrenSections, s) : [];
523
568
  return /* @__PURE__ */ U("div", {
524
569
  className: [
525
570
  "fcc-sidebar-entry",
@@ -534,7 +579,7 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
534
579
  e.disabled ? "disabled" : ""
535
580
  ].filter(Boolean).join(" "),
536
581
  onClick: () => {
537
- t && m(e.key, !0), Ue(e, i);
582
+ t && C(e.key, !0), Je(e, i);
538
583
  },
539
584
  "aria-current": a ? "page" : void 0,
540
585
  disabled: e.disabled,
@@ -559,7 +604,7 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
559
604
  o ? "is-expanded" : ""
560
605
  ].filter(Boolean).join(" "),
561
606
  onClick: (t) => {
562
- t.preventDefault(), t.stopPropagation(), m(e.key, !o);
607
+ t.preventDefault(), t.stopPropagation(), C(e.key, !o);
563
608
  },
564
609
  role: "button",
565
610
  "aria-label": `${o ? "Collapse" : "Expand"} ${e.label}`,
@@ -596,7 +641,7 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
596
641
  children: e.items.map((e) => /* @__PURE__ */ H("button", {
597
642
  type: "button",
598
643
  className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
599
- onClick: () => Ue(e, i),
644
+ onClick: () => Je(e, i),
600
645
  title: e.label,
601
646
  children: /* @__PURE__ */ H("span", {
602
647
  className: "fcc-sidebar-label",
@@ -645,38 +690,110 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
645
690
  }
646
691
  //#endregion
647
692
  //#region src/components/layout/FCCAppShell.jsx
648
- function qe({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, breadcrumbs: c = [], status: l, headerActions: u, header: d, children: f, overlay: p, sidePanel: m, callbar: h = null, className: g = "", sidebarClassName: _ = "", mainClassName: v = "", headerClassName: y = "", contentClassName: b = "" }) {
649
- return /* @__PURE__ */ U("div", {
650
- className: ["fcc-app-shell", g].filter(Boolean).join(" "),
651
- children: [/* @__PURE__ */ H(Ke, {
652
- appName: e,
653
- logo: t,
654
- navItems: n,
655
- activeNavKey: r,
656
- onNavigate: i,
657
- user: a,
658
- footer: o,
659
- onLogout: s,
660
- className: _
661
- }), /* @__PURE__ */ H(He, {
662
- breadcrumbs: c,
663
- status: l,
664
- headerActions: u,
665
- header: d,
666
- overlay: p,
667
- sidePanel: m,
668
- callbar: h,
669
- className: v,
670
- headerClassName: y,
671
- contentClassName: b,
672
- children: f
673
- })]
693
+ var Qe = "fcc-sidebar-pinned", $e = 1024;
694
+ function et(e) {
695
+ if (typeof window > "u") return !1;
696
+ try {
697
+ return window.localStorage.getItem(e) === "true";
698
+ } catch {
699
+ return !1;
700
+ }
701
+ }
702
+ function tt(e, t) {
703
+ if (!(typeof window > "u")) try {
704
+ window.localStorage.setItem(e, t ? "true" : "false");
705
+ } catch {}
706
+ }
707
+ function nt({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: a, user: s, footer: c, onLogout: u, breadcrumbs: f = [], status: p, headerActions: m, header: h, children: g, overlay: _, sidePanel: v, callbar: y = null, className: b = "", sidebarClassName: x = "", mainClassName: S = "", headerClassName: C = "", contentClassName: w = "", pinnable: T = !0, mobileMenuEnabled: E = !0, mobileBreakpoint: D = $e, pinStorageKey: O = Qe }) {
708
+ let [k, A] = d(() => T ? et(O) : !1), [j, M] = d(!1), [N, P] = d(() => typeof window > "u" ? 1920 : window.innerWidth);
709
+ o(() => {
710
+ if (typeof window > "u") return;
711
+ let e = () => P(window.innerWidth);
712
+ return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
713
+ }, []);
714
+ let F = E && N < D, I = F && j;
715
+ o(() => {
716
+ T && tt(O, k);
717
+ }, [
718
+ T,
719
+ O,
720
+ k
721
+ ]);
722
+ let L = i(() => {
723
+ A((e) => !e);
724
+ }, []), R = i(() => {
725
+ M((e) => !e);
726
+ }, []), z = i(() => {
727
+ M(!1);
728
+ }, []), ee = l(() => ({
729
+ sidebarPinned: T ? k : !1,
730
+ setSidebarPinned: A,
731
+ toggleSidebarPinned: L,
732
+ mobileMenuOpen: I,
733
+ setMobileMenuOpen: M,
734
+ toggleMobileMenu: R,
735
+ closeMobileMenu: z,
736
+ isMobileViewport: F,
737
+ pinnable: T,
738
+ mobileMenuEnabled: E
739
+ }), [
740
+ z,
741
+ I,
742
+ F,
743
+ E,
744
+ T,
745
+ k,
746
+ R,
747
+ L
748
+ ]), te = [
749
+ "fcc-app-shell",
750
+ T && k && "fcc-sidebar-pinned",
751
+ F && "fcc-mobile-shell",
752
+ I && "fcc-mobile-menu-open",
753
+ b
754
+ ].filter(Boolean).join(" ");
755
+ return /* @__PURE__ */ H(Ee.Provider, {
756
+ value: ee,
757
+ children: /* @__PURE__ */ U("div", {
758
+ className: te,
759
+ children: [
760
+ /* @__PURE__ */ H(Ze, {
761
+ appName: e,
762
+ logo: t,
763
+ navItems: n,
764
+ activeNavKey: r,
765
+ onNavigate: a,
766
+ user: s,
767
+ footer: c,
768
+ onLogout: u,
769
+ className: x
770
+ }),
771
+ /* @__PURE__ */ H(qe, {
772
+ breadcrumbs: f,
773
+ status: p,
774
+ headerActions: m,
775
+ header: h,
776
+ overlay: _,
777
+ sidePanel: v,
778
+ callbar: y,
779
+ className: S,
780
+ headerClassName: C,
781
+ contentClassName: w,
782
+ children: g
783
+ }),
784
+ I && /* @__PURE__ */ H("div", {
785
+ className: "fcc-mobile-menu-backdrop",
786
+ onClick: z,
787
+ "aria-hidden": !0
788
+ })
789
+ ]
790
+ })
674
791
  });
675
792
  }
676
793
  //#endregion
677
794
  //#region src/components/layout/FCCBrandLogo.jsx
678
- function Je({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
679
- let { theme: a } = xe(), o = a === "dark" ? e || t : t || e;
795
+ function rt({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
796
+ let { theme: a } = we(), o = a === "dark" ? e || t : t || e;
680
797
  return o ? /* @__PURE__ */ H("img", {
681
798
  src: o,
682
799
  alt: n,
@@ -686,8 +803,8 @@ function Je({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
686
803
  }
687
804
  //#endregion
688
805
  //#region src/components/layout/FCCThemeToggle.jsx
689
- function Ye({ className: e = "" }) {
690
- let { theme: t, toggleTheme: n } = xe(), r = t === "dark";
806
+ function it({ className: e = "" }) {
807
+ let { theme: t, toggleTheme: n } = we(), r = t === "dark";
691
808
  return /* @__PURE__ */ H("button", {
692
809
  type: "button",
693
810
  onClick: n,
@@ -700,12 +817,12 @@ function Ye({ className: e = "" }) {
700
817
  ].filter(Boolean).join(" "),
701
818
  title: r ? "Switch to light mode" : "Switch to dark mode",
702
819
  "aria-label": r ? "Switch to light mode" : "Switch to dark mode",
703
- children: H(r ? I : ae, { size: 16 })
820
+ children: H(r ? L : ce, { size: 16 })
704
821
  });
705
822
  }
706
823
  //#endregion
707
824
  //#region src/components/ui/AppLoader.jsx
708
- function Xe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
825
+ function at({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
709
826
  return t ? /* @__PURE__ */ U("div", {
710
827
  className: `loader-fullscreen ${n}`,
711
828
  children: [/* @__PURE__ */ H(A, {
@@ -726,13 +843,13 @@ function Xe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" })
726
843
  })]
727
844
  });
728
845
  }
729
- function Ze({ size: e = 16, className: t = "" }) {
846
+ function ot({ size: e = 16, className: t = "" }) {
730
847
  return /* @__PURE__ */ H(A, {
731
848
  size: e,
732
849
  className: `loader-spin ${t}`
733
850
  });
734
851
  }
735
- function Qe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
852
+ function st({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
736
853
  let s = /* @__PURE__ */ U("div", {
737
854
  className: "fcc-loader-stage",
738
855
  style: { "--fcc-loader-size": `${n}px` },
@@ -740,14 +857,14 @@ function Qe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
740
857
  children: [
741
858
  /* @__PURE__ */ H("span", { className: "fcc-loader-ring" }),
742
859
  /* @__PURE__ */ H("span", { className: "fcc-loader-glow" }),
743
- /* @__PURE__ */ H(Je, {
860
+ /* @__PURE__ */ H(rt, {
744
861
  darkSrc: r,
745
862
  lightSrc: i,
746
863
  alt: a,
747
864
  className: "fcc-loader-logo"
748
865
  })
749
866
  ]
750
- }), c = t ? `fcc-loader fcc-loader-fullscreen ${o}`.trim() : `fcc-loader ${o}`.trim(), l = typeof e == "string" ? e.match(/^(.*?)\.{3}\s*$/) : null, u = l ? /* @__PURE__ */ U(ue, { children: [l[1], /* @__PURE__ */ U("span", {
867
+ }), c = t ? `fcc-loader fcc-loader-fullscreen ${o}`.trim() : `fcc-loader ${o}`.trim(), l = typeof e == "string" ? e.match(/^(.*?)\.{3}\s*$/) : null, u = l ? /* @__PURE__ */ U(pe, { children: [l[1], /* @__PURE__ */ U("span", {
751
868
  className: "fcc-loader-dots",
752
869
  "aria-hidden": "true",
753
870
  children: [
@@ -777,7 +894,7 @@ function Qe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
777
894
  }
778
895
  //#endregion
779
896
  //#region src/components/ui/FCCDetailsPanel.jsx
780
- function $e({ open: e, onClose: t, title: n, header: r, children: a, loading: s = !1, loadingLabel: c = "Loading...", loaderSize: l = 64, loaderDarkSrc: f, loaderLightSrc: p, width: m, zIndex: h = 1100, showBackdrop: g = !0, resizable: _ = !0, minWidth: v = 360, storageKey: y, className: b = "" }) {
897
+ function ct({ open: e, onClose: t, title: n, header: r, children: a, loading: s = !1, loadingLabel: c = "Loading...", loaderSize: l = 64, loaderDarkSrc: f, loaderLightSrc: p, width: m, zIndex: h = 1100, showBackdrop: g = !0, resizable: _ = !0, minWidth: v = 360, storageKey: y, className: b = "" }) {
781
898
  let [x, S] = d(!1), [C, w] = d(!1), [T, E] = d(!1), [D, O] = d(() => {
782
899
  if (!y || typeof window > "u") return null;
783
900
  let e = window.localStorage.getItem(y), t = e ? parseInt(e, 10) : NaN;
@@ -857,7 +974,7 @@ function $e({ open: e, onClose: t, title: n, header: r, children: a, loading: s
857
974
  className: "fcc-details-panel-body",
858
975
  children: s ? /* @__PURE__ */ H("div", {
859
976
  className: "fcc-details-panel-loading",
860
- children: /* @__PURE__ */ H(Qe, {
977
+ children: /* @__PURE__ */ H(st, {
861
978
  label: c,
862
979
  size: l,
863
980
  darkSrc: f,
@@ -871,8 +988,8 @@ function $e({ open: e, onClose: t, title: n, header: r, children: a, loading: s
871
988
  }
872
989
  //#endregion
873
990
  //#region src/components/ui/FCCFullPagePanel.jsx
874
- var et = 220;
875
- function tt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
991
+ var lt = 220;
992
+ function ut({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
876
993
  let [s, c] = d(e ? "open" : "closed"), l = e || s !== "closed";
877
994
  return o(() => {
878
995
  if (a) return l ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
@@ -894,7 +1011,7 @@ function tt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
894
1011
  return () => cancelAnimationFrame(e);
895
1012
  }
896
1013
  if (s === "closed") return;
897
- let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), et);
1014
+ let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), lt);
898
1015
  return () => {
899
1016
  cancelAnimationFrame(t), window.clearTimeout(n);
900
1017
  };
@@ -909,7 +1026,7 @@ function tt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
909
1026
  })
910
1027
  }), document.body);
911
1028
  }
912
- function nt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose: a, className: o = "" }) {
1029
+ function dt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose: a, className: o = "" }) {
913
1030
  return /* @__PURE__ */ U("div", {
914
1031
  className: `fcc-fpp-header ${o}`,
915
1032
  children: [/* @__PURE__ */ U("div", {
@@ -943,31 +1060,31 @@ function nt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose
943
1060
  })]
944
1061
  });
945
1062
  }
946
- function rt({ children: e, className: t = "" }) {
1063
+ function ft({ children: e, className: t = "" }) {
947
1064
  return /* @__PURE__ */ H("div", {
948
1065
  className: `fcc-fpp-toolbar ${t}`,
949
1066
  children: e
950
1067
  });
951
1068
  }
952
- function it({ children: e, className: t = "" }) {
1069
+ function pt({ children: e, className: t = "" }) {
953
1070
  return /* @__PURE__ */ H("div", {
954
1071
  className: `fcc-fpp-body ${t}`,
955
1072
  children: e
956
1073
  });
957
1074
  }
958
- function at({ children: e, className: t = "" }) {
1075
+ function mt({ children: e, className: t = "" }) {
959
1076
  return /* @__PURE__ */ H("div", {
960
1077
  className: `fcc-fpp-main ${t}`,
961
1078
  children: e
962
1079
  });
963
1080
  }
964
- function ot({ children: e, side: t = "right", className: n = "" }) {
1081
+ function ht({ children: e, side: t = "right", className: n = "" }) {
965
1082
  return /* @__PURE__ */ H("aside", {
966
1083
  className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} ${n}`,
967
1084
  children: e
968
1085
  });
969
1086
  }
970
- function st({ children: e, className: t = "" }) {
1087
+ function gt({ children: e, className: t = "" }) {
971
1088
  return /* @__PURE__ */ H("div", {
972
1089
  className: `fcc-fpp-footer ${t}`,
973
1090
  children: e
@@ -975,7 +1092,7 @@ function st({ children: e, className: t = "" }) {
975
1092
  }
976
1093
  //#endregion
977
1094
  //#region src/components/ui/Accordion.jsx
978
- function ct({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
1095
+ function _t({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
979
1096
  let [o, s] = d(n);
980
1097
  return /* @__PURE__ */ U("div", {
981
1098
  className: `accordion-item ${r}`,
@@ -1003,7 +1120,7 @@ function ct({ title: e, header: t, defaultOpen: n = !1, className: r = "", conte
1003
1120
  })]
1004
1121
  });
1005
1122
  }
1006
- function lt({ items: e = [], className: t = "" }) {
1123
+ function vt({ items: e = [], className: t = "" }) {
1007
1124
  let [n, r] = d(/* @__PURE__ */ new Set());
1008
1125
  function i(e) {
1009
1126
  r((t) => {
@@ -1045,12 +1162,12 @@ function lt({ items: e = [], className: t = "" }) {
1045
1162
  }
1046
1163
  //#endregion
1047
1164
  //#region src/components/ui/Avatar.jsx
1048
- var ut = {
1165
+ var yt = {
1049
1166
  sm: "avatar-sm",
1050
1167
  md: "",
1051
1168
  lg: "avatar-lg",
1052
1169
  xl: "avatar-xl"
1053
- }, dt = [
1170
+ }, bt = [
1054
1171
  "#5e6ad2",
1055
1172
  "#5bb98e",
1056
1173
  "#c9a84e",
@@ -1059,13 +1176,13 @@ var ut = {
1059
1176
  "#5a8ebf",
1060
1177
  "#c4a06a"
1061
1178
  ];
1062
- function ft(e) {
1179
+ function xt(e) {
1063
1180
  let t = 0;
1064
1181
  for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
1065
- return dt[Math.abs(t) % dt.length];
1182
+ return bt[Math.abs(t) % bt.length];
1066
1183
  }
1067
- function K({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
1068
- let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || ft(c), u = ut[r] || "";
1184
+ function q({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
1185
+ let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || xt(c), u = yt[r] || "";
1069
1186
  return e && !o ? /* @__PURE__ */ H("img", {
1070
1187
  src: e,
1071
1188
  alt: n || "",
@@ -1086,7 +1203,7 @@ function K({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
1086
1203
  }
1087
1204
  //#endregion
1088
1205
  //#region src/components/ui/Badge.jsx
1089
- var pt = {
1206
+ var St = {
1090
1207
  default: "var(--text-quaternary)",
1091
1208
  secondary: "var(--text-quaternary)",
1092
1209
  success: "var(--accent-green)",
@@ -1097,8 +1214,8 @@ var pt = {
1097
1214
  purple: "var(--accent-purple)",
1098
1215
  orange: "var(--accent-orange)"
1099
1216
  };
1100
- function q({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
1101
- let a = pt[e] || pt.default;
1217
+ function J({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
1218
+ let a = St[e] || St.default;
1102
1219
  return /* @__PURE__ */ U("span", {
1103
1220
  className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
1104
1221
  ...i,
@@ -1110,7 +1227,7 @@ function q({ variant: e = "default", className: t = "", children: n, showDot: r
1110
1227
  }
1111
1228
  //#endregion
1112
1229
  //#region src/components/ui/Button.jsx
1113
- var mt = {
1230
+ var Ct = {
1114
1231
  default: "btn-primary",
1115
1232
  destructive: "btn-danger",
1116
1233
  success: "btn-success",
@@ -1120,76 +1237,76 @@ var mt = {
1120
1237
  muted: "btn-muted",
1121
1238
  ghost: "btn-ghost",
1122
1239
  link: "btn-link"
1123
- }, ht = {
1240
+ }, wt = {
1124
1241
  sm: "btn-sm",
1125
1242
  default: "",
1126
1243
  lg: "btn-lg",
1127
1244
  icon: "btn-icon"
1128
- }, J = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
1245
+ }, Y = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
1129
1246
  return /* @__PURE__ */ H("button", {
1130
1247
  ref: a,
1131
1248
  className: [
1132
1249
  "btn",
1133
- mt[e],
1134
- ht[t],
1250
+ Ct[e],
1251
+ wt[t],
1135
1252
  n
1136
1253
  ].filter(Boolean).join(" "),
1137
1254
  ...i,
1138
1255
  children: r
1139
1256
  });
1140
- }), gt = {
1257
+ }), Tt = {
1141
1258
  default: "card-default",
1142
1259
  green: "card-green",
1143
1260
  red: "card-red",
1144
1261
  yellow: "card-yellow"
1145
- }, _t = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
1262
+ }, Et = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
1146
1263
  return /* @__PURE__ */ H("div", {
1147
1264
  ref: i,
1148
1265
  className: [
1149
1266
  "card",
1150
- gt[e],
1267
+ Tt[e],
1151
1268
  t
1152
1269
  ].filter(Boolean).join(" "),
1153
1270
  ...r,
1154
1271
  children: n
1155
1272
  });
1156
- }), vt = n(function({ className: e = "", children: t, ...n }, r) {
1273
+ }), Dt = n(function({ className: e = "", children: t, ...n }, r) {
1157
1274
  return /* @__PURE__ */ H("div", {
1158
1275
  ref: r,
1159
1276
  className: `card-header ${e}`,
1160
1277
  ...n,
1161
1278
  children: t
1162
1279
  });
1163
- }), yt = n(function({ className: e = "", children: t, ...n }, r) {
1280
+ }), Ot = n(function({ className: e = "", children: t, ...n }, r) {
1164
1281
  return /* @__PURE__ */ H("h3", {
1165
1282
  ref: r,
1166
1283
  className: `card-title ${e}`,
1167
1284
  ...n,
1168
1285
  children: t
1169
1286
  });
1170
- }), bt = n(function({ className: e = "", children: t, ...n }, r) {
1287
+ }), kt = n(function({ className: e = "", children: t, ...n }, r) {
1171
1288
  return /* @__PURE__ */ H("p", {
1172
1289
  ref: r,
1173
1290
  className: `card-description ${e}`,
1174
1291
  ...n,
1175
1292
  children: t
1176
1293
  });
1177
- }), xt = n(function({ className: e = "", children: t, ...n }, r) {
1294
+ }), At = n(function({ className: e = "", children: t, ...n }, r) {
1178
1295
  return /* @__PURE__ */ H("div", {
1179
1296
  ref: r,
1180
1297
  className: `card-body ${e}`,
1181
1298
  ...n,
1182
1299
  children: t
1183
1300
  });
1184
- }), St = n(function({ className: e = "", children: t, ...n }, r) {
1301
+ }), jt = n(function({ className: e = "", children: t, ...n }, r) {
1185
1302
  return /* @__PURE__ */ H("div", {
1186
1303
  ref: r,
1187
1304
  className: `card-footer ${e}`,
1188
1305
  ...n,
1189
1306
  children: t
1190
1307
  });
1191
- }), Ct = 220;
1192
- function wt({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
1308
+ }), Mt = 220;
1309
+ function Nt({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
1193
1310
  let s = u(null), [c, l] = d(e ? "open" : "closed"), f = e || c !== "closed";
1194
1311
  return o(() => {
1195
1312
  if (!a) return f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
@@ -1206,7 +1323,7 @@ function wt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
1206
1323
  return () => cancelAnimationFrame(e);
1207
1324
  }
1208
1325
  if (c === "closed") return;
1209
- let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Ct);
1326
+ let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Mt);
1210
1327
  return () => {
1211
1328
  cancelAnimationFrame(t), window.clearTimeout(n);
1212
1329
  };
@@ -1223,7 +1340,7 @@ function wt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
1223
1340
  })
1224
1341
  }) : null;
1225
1342
  }
1226
- function Tt({ children: e, onClose: t, className: n = "" }) {
1343
+ function Pt({ children: e, onClose: t, className: n = "" }) {
1227
1344
  return /* @__PURE__ */ U("div", {
1228
1345
  className: `dialog-header ${n}`,
1229
1346
  children: [/* @__PURE__ */ H("div", {
@@ -1236,25 +1353,25 @@ function Tt({ children: e, onClose: t, className: n = "" }) {
1236
1353
  })]
1237
1354
  });
1238
1355
  }
1239
- function Et({ children: e, className: t = "" }) {
1356
+ function Ft({ children: e, className: t = "" }) {
1240
1357
  return /* @__PURE__ */ H("h3", {
1241
1358
  className: `dialog-title ${t}`,
1242
1359
  children: e
1243
1360
  });
1244
1361
  }
1245
- function Dt({ children: e, className: t = "" }) {
1362
+ function It({ children: e, className: t = "" }) {
1246
1363
  return /* @__PURE__ */ H("p", {
1247
1364
  className: `dialog-description ${t}`,
1248
1365
  children: e
1249
1366
  });
1250
1367
  }
1251
- function Ot({ children: e, className: t = "" }) {
1368
+ function Lt({ children: e, className: t = "" }) {
1252
1369
  return /* @__PURE__ */ H("div", {
1253
1370
  className: `dialog-body ${t}`,
1254
1371
  children: e
1255
1372
  });
1256
1373
  }
1257
- function kt({ children: e, className: t = "" }) {
1374
+ function Rt({ children: e, className: t = "" }) {
1258
1375
  return /* @__PURE__ */ H("div", {
1259
1376
  className: `dialog-footer ${t}`,
1260
1377
  children: e
@@ -1262,7 +1379,7 @@ function kt({ children: e, className: t = "" }) {
1262
1379
  }
1263
1380
  //#endregion
1264
1381
  //#region src/components/ui/Input.jsx
1265
- var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r, error: i, clearable: a = !1, startIcon: o, endIcon: c, placeholder: l, value: f, defaultValue: p, className: m = "", inputClassName: h = "", disabled: g = !1, type: _ = "text", "aria-describedby": v, "aria-invalid": y, onChange: b, ...x }, S) {
1382
+ var zt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r, error: i, clearable: a = !1, startIcon: o, endIcon: c, placeholder: l, value: f, defaultValue: p, className: m = "", inputClassName: h = "", disabled: g = !1, type: _ = "text", "aria-describedby": v, "aria-invalid": y, onChange: b, ...x }, S) {
1266
1383
  let C = u(null), w = s(), T = e || w, E = i && i !== !0 ? i : r, D = E ? `${T}-helper` : void 0, O = !!(i || y), k = !!(t && n === "floating"), A = [v, D].filter(Boolean).join(" ") || void 0, j = k ? " " : l, M = f !== void 0, [N, P] = d(() => String(p ?? "")), F = a && !g && (M ? String(f ?? "") : N).length > 0;
1267
1384
  function I(e) {
1268
1385
  C.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
@@ -1270,7 +1387,7 @@ var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1270
1387
  function L(e) {
1271
1388
  M || P(e.target.value), b?.(e);
1272
1389
  }
1273
- function ee() {
1390
+ function R() {
1274
1391
  let e = C.current;
1275
1392
  e && ((Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set)?.call(e, ""), e.dispatchEvent(new Event("input", { bubbles: !0 })), e.focus());
1276
1393
  }
@@ -1336,7 +1453,7 @@ var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1336
1453
  F ? /* @__PURE__ */ H("button", {
1337
1454
  type: "button",
1338
1455
  className: "fcc-input-clear",
1339
- onClick: ee,
1456
+ onClick: R,
1340
1457
  "aria-label": `Clear ${t || "input"}`,
1341
1458
  children: /* @__PURE__ */ H(V, { size: 12 })
1342
1459
  }) : null,
@@ -1356,7 +1473,7 @@ var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1356
1473
  });
1357
1474
  //#endregion
1358
1475
  //#region src/components/ui/DropdownMenu.jsx
1359
- function jt({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
1476
+ function Bt({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
1360
1477
  let [s, l] = d(!1), [f, p] = d(null), m = u(null), h = u(null);
1361
1478
  return o(() => {
1362
1479
  a?.(s);
@@ -1409,7 +1526,7 @@ function jt({ trigger: e, children: t, align: n = "left", className: r = "", sid
1409
1526
  }), document.body)]
1410
1527
  });
1411
1528
  }
1412
- function Mt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
1529
+ function Vt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
1413
1530
  return /* @__PURE__ */ U("div", {
1414
1531
  className: `dropdown-item ${r ? "active" : ""} ${a}`,
1415
1532
  onClick: i,
@@ -1433,7 +1550,7 @@ function Mt({ icon: e, children: t, shortcut: n, active: r, onClick: i, classNam
1433
1550
  ]
1434
1551
  });
1435
1552
  }
1436
- function Nt({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
1553
+ function Ht({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
1437
1554
  return /* @__PURE__ */ U("div", {
1438
1555
  className: `dropdown-item ${e ? "active" : ""} ${r}`,
1439
1556
  onClick: () => t?.(!e),
@@ -1446,66 +1563,99 @@ function Nt({ checked: e, onCheckedChange: t, children: n, className: r = "" })
1446
1563
  })]
1447
1564
  });
1448
1565
  }
1449
- function Pt({ children: e, className: t = "" }) {
1566
+ function Ut({ children: e, className: t = "" }) {
1450
1567
  return /* @__PURE__ */ H("div", {
1451
1568
  className: `dropdown-label ${t}`,
1452
1569
  children: e
1453
1570
  });
1454
1571
  }
1455
- function Ft({ className: e = "" }) {
1572
+ function Wt({ className: e = "" }) {
1456
1573
  return /* @__PURE__ */ H("div", { className: `dropdown-divider ${e}` });
1457
1574
  }
1458
1575
  //#endregion
1459
1576
  //#region src/components/ui/SearchableSelect.jsx
1460
- function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: c = "" }) {
1461
- let [l, f] = d(!1), [p, m] = d(""), [h, _] = d(-1), v = u(null), b = u(null), x = e.filter((e) => e.label.toLowerCase().includes(p.toLowerCase()) || e.description && e.description.toLowerCase().includes(p.toLowerCase())), S = e.find((e) => e.value === t);
1577
+ function Gt({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
1578
+ let [f, p] = d(!1), [m, h] = d(""), [_, v] = d(-1), [b, x] = d(null), S = u(null), C = u(null), w = u(null), T = e.filter((e) => e.label.toLowerCase().includes(m.toLowerCase()) || e.description && e.description.toLowerCase().includes(m.toLowerCase())), E = e.find((e) => e.value === t);
1462
1579
  o(() => {
1463
- l && b.current && b.current.focus();
1464
- }, [l]), o(() => {
1580
+ f && w.current && w.current.focus();
1581
+ }, [f]), o(() => {
1465
1582
  function e(e) {
1466
- v.current && !v.current.contains(e.target) && f(!1);
1583
+ let t = S.current && S.current.contains(e.target), n = C.current && C.current.contains(e.target);
1584
+ !t && !n && p(!1);
1467
1585
  }
1468
1586
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
1469
- }, []);
1470
- function C(e) {
1471
- e.key === "ArrowDown" ? (e.preventDefault(), _((e) => Math.min(e + 1, x.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), _((e) => Math.max(e - 1, 0))) : e.key === "Enter" && h >= 0 && x[h] ? (n?.(x[h].value), f(!1), m("")) : e.key === "Escape" && (f(!1), m(""));
1587
+ }, []), c(() => {
1588
+ if (!f || !S.current || typeof window > "u") return;
1589
+ let e = () => {
1590
+ if (!S.current) return;
1591
+ let e = S.current.getBoundingClientRect(), t = C.current?.offsetHeight ?? 0, n = e.bottom + 4;
1592
+ if (t && n + t > window.innerHeight - 8) {
1593
+ let r = e.top - 4 - t;
1594
+ n = r >= 8 ? r : Math.max(8, window.innerHeight - t - 8);
1595
+ }
1596
+ x({
1597
+ left: e.left,
1598
+ top: n,
1599
+ width: e.width
1600
+ });
1601
+ };
1602
+ return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
1603
+ window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
1604
+ };
1605
+ }, [
1606
+ f,
1607
+ T.length,
1608
+ m
1609
+ ]), c(() => {
1610
+ f || x(null);
1611
+ }, [f]);
1612
+ function D(e) {
1613
+ e.key === "ArrowDown" ? (e.preventDefault(), v((e) => Math.min(e + 1, T.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" && _ >= 0 && T[_] ? (n?.(T[_].value), p(!1), h("")) : e.key === "Escape" && (p(!1), h(""));
1472
1614
  }
1473
1615
  return /* @__PURE__ */ U("div", {
1474
- ref: v,
1475
- className: `searchable-select ${c}`,
1616
+ className: `searchable-select ${l}`,
1476
1617
  children: [/* @__PURE__ */ U("button", {
1618
+ ref: S,
1477
1619
  className: "searchable-select-trigger",
1478
1620
  onClick: () => {
1479
- s || (l || _(-1), f(!l));
1621
+ s || (f || v(-1), p(!f));
1480
1622
  },
1481
1623
  disabled: s,
1482
1624
  type: "button",
1483
1625
  children: [/* @__PURE__ */ H("span", {
1484
- className: S ? "" : "searchable-select-placeholder",
1485
- children: S ? S.label : r
1626
+ className: E ? "" : "searchable-select-placeholder",
1627
+ children: E ? E.label : r
1486
1628
  }), /* @__PURE__ */ H(y, {
1487
1629
  size: 14,
1488
1630
  className: "searchable-select-chevron"
1489
1631
  })]
1490
- }), l && /* @__PURE__ */ U("div", {
1632
+ }), f && typeof document < "u" && W(/* @__PURE__ */ U("div", {
1633
+ ref: C,
1491
1634
  className: "searchable-select-dropdown",
1635
+ style: {
1636
+ position: "fixed",
1637
+ left: b?.left ?? 0,
1638
+ top: b?.top ?? 0,
1639
+ width: b?.width,
1640
+ visibility: b ? "visible" : "hidden"
1641
+ },
1492
1642
  children: [/* @__PURE__ */ U("div", {
1493
1643
  className: "searchable-select-search",
1494
1644
  children: [
1495
1645
  /* @__PURE__ */ H(B, { size: 14 }),
1496
1646
  /* @__PURE__ */ H("input", {
1497
- ref: b,
1498
- value: p,
1647
+ ref: w,
1648
+ value: m,
1499
1649
  onChange: (e) => {
1500
- m(e.target.value), _(0);
1650
+ h(e.target.value), v(0);
1501
1651
  },
1502
- onKeyDown: C,
1652
+ onKeyDown: D,
1503
1653
  placeholder: i,
1504
1654
  className: "searchable-select-input"
1505
1655
  }),
1506
- p && /* @__PURE__ */ H("button", {
1656
+ m && /* @__PURE__ */ H("button", {
1507
1657
  className: "searchable-select-clear",
1508
- onClick: () => m(""),
1658
+ onClick: () => h(""),
1509
1659
  children: /* @__PURE__ */ H(V, { size: 12 })
1510
1660
  })
1511
1661
  ]
@@ -1515,9 +1665,9 @@ function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
1515
1665
  a && /* @__PURE__ */ H("div", {
1516
1666
  className: `searchable-select-option ${t ? "" : "selected"}`,
1517
1667
  onClick: () => {
1518
- n?.(null), f(!1), m("");
1668
+ n?.(null), p(!1), h("");
1519
1669
  },
1520
- onMouseEnter: () => _(-1),
1670
+ onMouseEnter: () => v(-1),
1521
1671
  children: /* @__PURE__ */ H("span", {
1522
1672
  style: {
1523
1673
  color: "var(--text-tertiary)",
@@ -1526,12 +1676,12 @@ function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
1526
1676
  children: "None"
1527
1677
  })
1528
1678
  }),
1529
- x.map((e, r) => /* @__PURE__ */ U("div", {
1530
- className: `searchable-select-option ${r === h ? "highlighted" : ""} ${e.value === t ? "selected" : ""}`,
1679
+ T.map((e, r) => /* @__PURE__ */ U("div", {
1680
+ className: `searchable-select-option ${r === _ ? "highlighted" : ""} ${e.value === t ? "selected" : ""}`,
1531
1681
  onClick: () => {
1532
- n?.(e.value), f(!1), m("");
1682
+ n?.(e.value), p(!1), h("");
1533
1683
  },
1534
- onMouseEnter: () => _(r),
1684
+ onMouseEnter: () => v(r),
1535
1685
  children: [/* @__PURE__ */ U("div", {
1536
1686
  className: "searchable-select-option-content",
1537
1687
  children: [/* @__PURE__ */ H("span", { children: e.label }), e.description && /* @__PURE__ */ H("span", {
@@ -1540,18 +1690,18 @@ function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
1540
1690
  })]
1541
1691
  }), e.value === t && /* @__PURE__ */ H(g, { size: 14 })]
1542
1692
  }, e.value)),
1543
- x.length === 0 && /* @__PURE__ */ H("div", {
1693
+ T.length === 0 && /* @__PURE__ */ H("div", {
1544
1694
  className: "searchable-select-empty",
1545
1695
  children: "No results found"
1546
1696
  })
1547
1697
  ]
1548
1698
  })]
1549
- })]
1699
+ }), document.body)]
1550
1700
  });
1551
1701
  }
1552
1702
  //#endregion
1553
1703
  //#region src/components/ui/Sheet.jsx
1554
- function Lt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
1704
+ function Kt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
1555
1705
  let s = u(null);
1556
1706
  return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1557
1707
  document.body.style.overflow = "";
@@ -1585,7 +1735,7 @@ function Lt({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
1585
1735
  })
1586
1736
  }) : null;
1587
1737
  }
1588
- function Rt({ children: e, className: t = "" }) {
1738
+ function qt({ children: e, className: t = "" }) {
1589
1739
  return /* @__PURE__ */ H("div", {
1590
1740
  className: `sheet-footer ${t}`,
1591
1741
  children: e
@@ -1593,17 +1743,17 @@ function Rt({ children: e, className: t = "" }) {
1593
1743
  }
1594
1744
  //#endregion
1595
1745
  //#region src/components/ui/StatusMetric.jsx
1596
- function zt(...e) {
1746
+ function Jt(...e) {
1597
1747
  return e.filter(Boolean).join(" ");
1598
1748
  }
1599
- var Bt = {
1749
+ var Yt = {
1600
1750
  default: "",
1601
1751
  warning: "status-metric--warning"
1602
1752
  };
1603
- function Vt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
1753
+ function Xt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
1604
1754
  let o = r || (t === "warning" ? p : C);
1605
1755
  return /* @__PURE__ */ U("span", {
1606
- className: zt("status-metric", Bt[t], a),
1756
+ className: Jt("status-metric", Yt[t], a),
1607
1757
  children: [n && o && /* @__PURE__ */ H("span", {
1608
1758
  className: "status-metric-icon",
1609
1759
  children: /* @__PURE__ */ H(o, { size: i })
@@ -1615,7 +1765,7 @@ function Vt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconS
1615
1765
  }
1616
1766
  //#endregion
1617
1767
  //#region src/components/ui/Switch.jsx
1618
- function Ht({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
1768
+ function Zt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
1619
1769
  return /* @__PURE__ */ U("div", {
1620
1770
  className: "toggle-row",
1621
1771
  children: [i && /* @__PURE__ */ H("span", {
@@ -1633,13 +1783,13 @@ function Ht({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "
1633
1783
  }
1634
1784
  //#endregion
1635
1785
  //#region src/components/ui/Tabs.jsx
1636
- var Y = e({
1786
+ var Qt = e({
1637
1787
  value: "",
1638
1788
  onChange: () => {},
1639
1789
  registerTrigger: () => {},
1640
1790
  getTriggerNode: () => null
1641
1791
  });
1642
- function Ut({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
1792
+ function $t({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
1643
1793
  let [o, s] = d(e || ""), c = u(/* @__PURE__ */ new Map()), l = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
1644
1794
  if (t) {
1645
1795
  c.current.set(e, t);
@@ -1647,7 +1797,7 @@ function Ut({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
1647
1797
  }
1648
1798
  c.current.delete(e);
1649
1799
  }, []), m = i((e) => c.current.get(e) || null, []);
1650
- return /* @__PURE__ */ H(Y.Provider, {
1800
+ return /* @__PURE__ */ H(Qt.Provider, {
1651
1801
  value: {
1652
1802
  value: l,
1653
1803
  onChange: f,
@@ -1660,8 +1810,8 @@ function Ut({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
1660
1810
  })
1661
1811
  });
1662
1812
  }
1663
- function Wt({ children: e, className: t = "" }) {
1664
- let { value: n, getTriggerNode: r } = a(Y), i = u(null);
1813
+ function en({ children: e, className: t = "" }) {
1814
+ let { value: n, getTriggerNode: r } = a(Qt), i = u(null);
1665
1815
  return c(() => {
1666
1816
  let e = i.current, t = r(n);
1667
1817
  if (!e) return;
@@ -1687,8 +1837,8 @@ function Wt({ children: e, className: t = "" }) {
1687
1837
  }), e]
1688
1838
  });
1689
1839
  }
1690
- function Gt({ value: e, children: t, className: n = "" }) {
1691
- let { value: r, onChange: i, registerTrigger: o } = a(Y), s = r === e;
1840
+ function tn({ value: e, children: t, className: n = "" }) {
1841
+ let { value: r, onChange: i, registerTrigger: o } = a(Qt), s = r === e;
1692
1842
  return /* @__PURE__ */ H("button", {
1693
1843
  ref: (t) => o(e, t),
1694
1844
  className: `tab ${s ? "active" : ""} ${n}`,
@@ -1699,8 +1849,8 @@ function Gt({ value: e, children: t, className: n = "" }) {
1699
1849
  children: t
1700
1850
  });
1701
1851
  }
1702
- function Kt({ value: e, children: t, className: n = "" }) {
1703
- let { value: r } = a(Y);
1852
+ function nn({ value: e, children: t, className: n = "" }) {
1853
+ let { value: r } = a(Qt);
1704
1854
  return r === e ? /* @__PURE__ */ H("div", {
1705
1855
  className: n,
1706
1856
  role: "tabpanel",
@@ -1709,7 +1859,7 @@ function Kt({ value: e, children: t, className: n = "" }) {
1709
1859
  }
1710
1860
  //#endregion
1711
1861
  //#region src/components/ui/Textarea.jsx
1712
- var qt = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
1862
+ var rn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
1713
1863
  return t || n ? /* @__PURE__ */ U("div", {
1714
1864
  className: ["textarea-wrapper", e].filter(Boolean).join(" "),
1715
1865
  children: [
@@ -1735,7 +1885,7 @@ var qt = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
1735
1885
  });
1736
1886
  //#endregion
1737
1887
  //#region src/components/ui/Tooltip.jsx
1738
- function Jt({ content: e, side: t = "top", children: n, className: r = "" }) {
1888
+ function an({ content: e, side: t = "top", children: n, className: r = "" }) {
1739
1889
  let [i, a] = d(!1), [s, l] = d(null), f = u(null), p = u(null), m = u(null);
1740
1890
  function h() {
1741
1891
  m.current = setTimeout(() => a(!0), 300);
@@ -1786,7 +1936,7 @@ function Jt({ content: e, side: t = "top", children: n, className: r = "" }) {
1786
1936
  }
1787
1937
  //#endregion
1788
1938
  //#region src/components/ui/viewModeDefaults.js
1789
- var Yt = {
1939
+ var on = {
1790
1940
  kanban: w,
1791
1941
  board: w,
1792
1942
  columns: w,
@@ -1796,7 +1946,7 @@ var Yt = {
1796
1946
  grid: O,
1797
1947
  calendar: h,
1798
1948
  map: M
1799
- }, Xt = [{
1949
+ }, sn = [{
1800
1950
  value: "kanban",
1801
1951
  label: "Kanban",
1802
1952
  title: "Board View"
@@ -1807,13 +1957,13 @@ var Yt = {
1807
1957
  }];
1808
1958
  //#endregion
1809
1959
  //#region src/components/ui/ViewModeToggle.jsx
1810
- function Zt(e) {
1811
- return e.icon ? e.icon : Yt[e.value] ?? null;
1960
+ function cn(e) {
1961
+ return e.icon ? e.icon : on[e.value] ?? null;
1812
1962
  }
1813
- function Qt(e, n) {
1963
+ function ln(e, n) {
1814
1964
  return e ? r(e) ? e : t(e, { size: n }) : null;
1815
1965
  }
1816
- function $t({ options: e = Xt, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: l = !1, className: f = "", optionClassName: p = "" }) {
1966
+ function un({ options: e = sn, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: l = !1, className: f = "", optionClassName: p = "" }) {
1817
1967
  let m = u(null), h = u(null), g = u(/* @__PURE__ */ new Map()), [_, v] = d(n ?? e[0]?.value ?? ""), y = t === void 0 ? _ : t, b = i(() => {
1818
1968
  let e = h.current, t = g.current.get(y);
1819
1969
  if (e) {
@@ -1875,7 +2025,7 @@ function $t({ options: e = Xt, value: t, defaultValue: n, onValueChange: r, aria
1875
2025
  "aria-hidden": "true",
1876
2026
  className: "view-mode-toggle-indicator"
1877
2027
  }), e.map((e) => {
1878
- let t = e.value === y, n = Qt(Zt(e), s);
2028
+ let t = e.value === y, n = ln(cn(e), s);
1879
2029
  return /* @__PURE__ */ U("button", {
1880
2030
  type: "button",
1881
2031
  "aria-pressed": t,
@@ -1905,10 +2055,10 @@ function $t({ options: e = Xt, value: t, defaultValue: n, onValueChange: r, aria
1905
2055
  }
1906
2056
  //#endregion
1907
2057
  //#region src/components/ui/WorkspaceTabs.jsx
1908
- function en(e, n) {
2058
+ function dn(e, n) {
1909
2059
  return e ? r(e) ? e : t(e, { size: n }) : null;
1910
2060
  }
1911
- function tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
2061
+ function fn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
1912
2062
  let m = u(null), h = u(null), g = u(/* @__PURE__ */ new Map()), [_, v] = d(n ?? e[0]?.id ?? ""), y = t === void 0 ? _ : t, b = i(() => {
1913
2063
  let e = h.current, t = g.current.get(y);
1914
2064
  if (e) {
@@ -1970,7 +2120,7 @@ function tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
1970
2120
  "aria-hidden": "true",
1971
2121
  className: "workspace-tabs-indicator"
1972
2122
  }), e.map((e) => {
1973
- let t = e.id === y, n = en(e.icon, s);
2123
+ let t = e.id === y, n = dn(e.icon, s);
1974
2124
  return /* @__PURE__ */ U("button", {
1975
2125
  type: "button",
1976
2126
  role: "tab",
@@ -2008,7 +2158,7 @@ function tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
2008
2158
  //#endregion
2009
2159
  //#region src/components/ui/CallControlsBar.jsx
2010
2160
  function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, title: o }) {
2011
- return /* @__PURE__ */ H(Jt, {
2161
+ return /* @__PURE__ */ H(an, {
2012
2162
  content: o,
2013
2163
  children: /* @__PURE__ */ U("button", {
2014
2164
  type: "button",
@@ -2032,7 +2182,7 @@ function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, ti
2032
2182
  })
2033
2183
  });
2034
2184
  }
2035
- function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onInvite: a, onKeypad: o, onEnd: s, compact: c = !1, hideEnd: l = !1, className: u = "" }) {
2185
+ function pn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onInvite: a, onKeypad: o, onEnd: s, compact: c = !1, hideEnd: l = !1, className: u = "" }) {
2036
2186
  return /* @__PURE__ */ U("div", {
2037
2187
  className: `call-controls-bar ${u}`,
2038
2188
  style: {
@@ -2043,7 +2193,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2043
2193
  },
2044
2194
  children: [
2045
2195
  /* @__PURE__ */ H(X, {
2046
- icon: e ? P : N,
2196
+ icon: e ? F : P,
2047
2197
  label: e ? "Unmute" : "Mute",
2048
2198
  onClick: n,
2049
2199
  active: e,
@@ -2051,7 +2201,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2051
2201
  title: "Mute (M)"
2052
2202
  }),
2053
2203
  /* @__PURE__ */ H(X, {
2054
- icon: t ? ie : ee,
2204
+ icon: t ? se : z,
2055
2205
  label: t ? "Resume" : "Hold",
2056
2206
  onClick: r,
2057
2207
  active: t,
@@ -2066,7 +2216,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2066
2216
  title: "Transfer (T)"
2067
2217
  }),
2068
2218
  /* @__PURE__ */ H(X, {
2069
- icon: ce,
2219
+ icon: de,
2070
2220
  label: "Invite",
2071
2221
  onClick: a,
2072
2222
  compact: c,
@@ -2080,7 +2230,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2080
2230
  title: "Keypad"
2081
2231
  }),
2082
2232
  !l && /* @__PURE__ */ H(X, {
2083
- icon: z,
2233
+ icon: ie,
2084
2234
  label: "End",
2085
2235
  onClick: s,
2086
2236
  danger: !0,
@@ -2092,15 +2242,15 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2092
2242
  }
2093
2243
  //#endregion
2094
2244
  //#region src/components/phone/phoneUtils.js
2095
- function rn(e) {
2245
+ function mn(e) {
2096
2246
  return e == null || Number.isNaN(e) ? "0:00" : `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`;
2097
2247
  }
2098
- function an(e) {
2248
+ function hn(e) {
2099
2249
  if (!e) return "";
2100
2250
  let t = new Date(e).getTime() - Date.now();
2101
- return t <= 0 ? "now" : rn(Math.ceil(t / 1e3));
2251
+ return t <= 0 ? "now" : mn(Math.ceil(t / 1e3));
2102
2252
  }
2103
- function on(e) {
2253
+ function gn(e) {
2104
2254
  if (!e) return "";
2105
2255
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 1e3);
2106
2256
  if (n < 60) return "just now";
@@ -2111,12 +2261,12 @@ function on(e) {
2111
2261
  let a = Math.floor(i / 24);
2112
2262
  return a === 1 ? "Yesterday" : a < 7 ? `${a}d ago` : new Date(e).toLocaleDateString();
2113
2263
  }
2114
- function sn(e) {
2264
+ function _n(e) {
2115
2265
  if (!e) return "none";
2116
2266
  let t = new Date(e).getTime() - Date.now();
2117
2267
  return t <= 0 ? "overdue" : t < 30 * 1e3 ? "urgent" : t < 120 * 1e3 ? "warning" : "normal";
2118
2268
  }
2119
- var cn = {
2269
+ var vn = {
2120
2270
  intake: "Intake",
2121
2271
  plan_review: "Plan Review",
2122
2272
  inspections: "Inspections",
@@ -2126,31 +2276,31 @@ var cn = {
2126
2276
  sales: "Sales",
2127
2277
  escalations: "Escalations"
2128
2278
  };
2129
- function ln(e) {
2130
- return e ? cn[e] ? cn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
2279
+ function yn(e) {
2280
+ return e ? vn[e] ? vn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
2131
2281
  }
2132
- var un = {
2282
+ var bn = {
2133
2283
  client: "Client",
2134
2284
  building_department: "Building Dept",
2135
2285
  staff: "Staff",
2136
2286
  unknown: "Unknown"
2137
2287
  };
2138
- function dn(e) {
2139
- return un[e] || "Unknown";
2288
+ function xn(e) {
2289
+ return bn[e] || "Unknown";
2140
2290
  }
2141
- var fn = {
2291
+ var Sn = {
2142
2292
  open: "Open",
2143
2293
  in_progress: "In progress",
2144
2294
  resolved: "Resolved",
2145
2295
  closed: "Closed",
2146
2296
  awaiting_reply: "Awaiting reply"
2147
2297
  };
2148
- function pn(e) {
2149
- return fn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
2298
+ function Cn(e) {
2299
+ return Sn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
2150
2300
  }
2151
2301
  //#endregion
2152
2302
  //#region src/components/ui/TicketLinkChip.jsx
2153
- var mn = {
2303
+ var wn = {
2154
2304
  intake: "var(--accent-blue)",
2155
2305
  plan_review: "var(--accent-purple)",
2156
2306
  inspections: "var(--accent-green)",
@@ -2160,7 +2310,7 @@ var mn = {
2160
2310
  sales: "var(--accent-orange)",
2161
2311
  escalations: "var(--accent-red)"
2162
2312
  };
2163
- function hn(e) {
2313
+ function Tn(e) {
2164
2314
  switch (e) {
2165
2315
  case "resolved":
2166
2316
  case "closed": return "success";
@@ -2169,12 +2319,12 @@ function hn(e) {
2169
2319
  default: return "secondary";
2170
2320
  }
2171
2321
  }
2172
- function gn(e, t) {
2322
+ function En(e, t) {
2173
2323
  return e ? e.length > t ? `${e.slice(0, t - 1)}…` : e : "";
2174
2324
  }
2175
2325
  function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" }) {
2176
2326
  if (!e) return null;
2177
- let i = mn[e.department] ?? mn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${gn(e.title, 28)}`;
2327
+ let i = wn[e.department] ?? wn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${En(e.title, 28)}`;
2178
2328
  return n === "detailed" ? /* @__PURE__ */ U(a, {
2179
2329
  type: t ? "button" : void 0,
2180
2330
  onClick: t,
@@ -2218,7 +2368,7 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2218
2368
  }),
2219
2369
  /* @__PURE__ */ U("span", {
2220
2370
  style: { color: "var(--text-secondary)" },
2221
- children: ["· ", gn(e.title, 40)]
2371
+ children: ["· ", En(e.title, 40)]
2222
2372
  })
2223
2373
  ]
2224
2374
  }), /* @__PURE__ */ U("span", {
@@ -2227,14 +2377,14 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2227
2377
  alignItems: "center",
2228
2378
  gap: 6
2229
2379
  },
2230
- children: [e.department && /* @__PURE__ */ H(q, {
2380
+ children: [e.department && /* @__PURE__ */ H(J, {
2231
2381
  variant: "secondary",
2232
2382
  showDot: !1,
2233
2383
  className: "badge--no-dot",
2234
- children: ln(e.department)
2235
- }), e.status && /* @__PURE__ */ H(q, {
2236
- variant: hn(e.status),
2237
- children: pn(e.status)
2384
+ children: yn(e.department)
2385
+ }), e.status && /* @__PURE__ */ H(J, {
2386
+ variant: Tn(e.status),
2387
+ children: Cn(e.status)
2238
2388
  })]
2239
2389
  })]
2240
2390
  }) : /* @__PURE__ */ U(a, {
@@ -2273,19 +2423,19 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2273
2423
  }
2274
2424
  //#endregion
2275
2425
  //#region src/components/ui/PresenceDot.jsx
2276
- var _n = {
2426
+ var Dn = {
2277
2427
  available: "var(--accent-green, #22c55e)",
2278
2428
  busy: "var(--accent-yellow, #f59e0b)",
2279
2429
  in_call: "var(--accent-yellow, #f59e0b)",
2280
2430
  dnd: "var(--accent-red, #ef4444)",
2281
2431
  offline: "var(--text-tertiary, #71717a)"
2282
- }, vn = {
2432
+ }, On = {
2283
2433
  xs: 6,
2284
2434
  sm: 8,
2285
2435
  md: 10
2286
2436
  };
2287
- function yn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2288
- let r = vn[t] ?? 8, i = _n[e] ?? _n.offline;
2437
+ function kn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2438
+ let r = On[t] ?? 8, i = Dn[e] ?? Dn.offline;
2289
2439
  return /* @__PURE__ */ H("span", {
2290
2440
  className: `presence-dot ${e === "in_call" ? "presence-dot-pulse" : ""} ${n}`,
2291
2441
  style: {
@@ -2302,13 +2452,13 @@ function yn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2302
2452
  }
2303
2453
  //#endregion
2304
2454
  //#region src/components/ui/PresenceAvatar.jsx
2305
- var bn = {
2455
+ var An = {
2306
2456
  sm: "sm",
2307
2457
  md: "md",
2308
2458
  lg: "lg"
2309
2459
  };
2310
- function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
2311
- let c = bn[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
2460
+ function jn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
2461
+ let c = An[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
2312
2462
  return /* @__PURE__ */ U("div", {
2313
2463
  className: `presence-avatar ${s}`,
2314
2464
  style: {
@@ -2321,7 +2471,7 @@ function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2321
2471
  position: "relative",
2322
2472
  display: "inline-flex"
2323
2473
  },
2324
- children: [/* @__PURE__ */ H(K, {
2474
+ children: [/* @__PURE__ */ H(q, {
2325
2475
  name: e,
2326
2476
  initials: t,
2327
2477
  imageUrl: n,
@@ -2332,7 +2482,7 @@ function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2332
2482
  left: -1,
2333
2483
  top: -1
2334
2484
  },
2335
- children: /* @__PURE__ */ H(yn, {
2485
+ children: /* @__PURE__ */ H(kn, {
2336
2486
  status: r,
2337
2487
  size: l
2338
2488
  })
@@ -2349,27 +2499,27 @@ function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2349
2499
  }
2350
2500
  //#endregion
2351
2501
  //#region src/components/ui/Callbar.jsx
2352
- var Sn = {
2502
+ var Mn = {
2353
2503
  connecting: "Connecting…",
2354
2504
  ringing: "Ringing…",
2355
2505
  connected: "Connected",
2356
2506
  on_hold: "On hold",
2357
2507
  ending: "Ending…"
2358
- }, Cn = {
2508
+ }, Nn = {
2359
2509
  connecting: "info",
2360
2510
  ringing: "info",
2361
2511
  connected: "success",
2362
2512
  on_hold: "warning",
2363
2513
  ending: "error"
2364
2514
  };
2365
- function wn(e) {
2515
+ function Pn(e) {
2366
2516
  return e === "connected" ? "var(--accent-green)" : e === "on_hold" ? "var(--accent-yellow)" : e === "ending" ? "var(--accent-red)" : "var(--accent-blue)";
2367
2517
  }
2368
- function Tn(e) {
2518
+ function Fn(e) {
2369
2519
  return e === "connecting" || e === "ringing";
2370
2520
  }
2371
- function En({ state: e = "connected", caller: t = {}, ticket: n = null, durationSec: r = 0, isMuted: i, isOnHold: a, observers: o = [], recordingConsentPending: s = !1, onMute: c, onHold: u, onTransfer: f, onInvite: p, onKeypad: m, onEnd: h, onMinimize: g, minimized: _ = !1, className: v = "" }) {
2372
- let [b, S] = d(!1), C = _ || b, w = Sn[e] || e, T = Tn(e), E = wn(e), D = l(() => `${Math.floor(r / 60)}:${Math.floor(r % 60).toString().padStart(2, "0")}`, [r]), O = o.slice(0, 3), k = Math.max(0, o.length - 3), A = () => {
2521
+ function In({ state: e = "connected", caller: t = {}, ticket: n = null, durationSec: r = 0, isMuted: i, isOnHold: a, observers: o = [], recordingConsentPending: s = !1, onMute: c, onHold: u, onTransfer: f, onInvite: p, onKeypad: m, onEnd: h, onMinimize: g, minimized: _ = !1, className: v = "" }) {
2522
+ let [b, S] = d(!1), C = _ || b, w = Mn[e] || e, T = Fn(e), E = Pn(e), D = l(() => `${Math.floor(r / 60)}:${Math.floor(r % 60).toString().padStart(2, "0")}`, [r]), O = o.slice(0, 3), k = Math.max(0, o.length - 3), A = () => {
2373
2523
  S((e) => !e), g?.();
2374
2524
  };
2375
2525
  return C ? /* @__PURE__ */ U("div", {
@@ -2421,7 +2571,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2421
2571
  gap: 6
2422
2572
  },
2423
2573
  children: [
2424
- /* @__PURE__ */ H(nn, {
2574
+ /* @__PURE__ */ H(pn, {
2425
2575
  isMuted: i,
2426
2576
  isOnHold: a,
2427
2577
  onMute: c,
@@ -2433,12 +2583,12 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2433
2583
  compact: !0,
2434
2584
  hideEnd: !0
2435
2585
  }),
2436
- /* @__PURE__ */ U(J, {
2586
+ /* @__PURE__ */ U(Y, {
2437
2587
  variant: "destructive",
2438
2588
  size: "sm",
2439
2589
  onClick: h,
2440
2590
  "aria-label": "End call",
2441
- children: [/* @__PURE__ */ H(z, {
2591
+ children: [/* @__PURE__ */ H(ie, {
2442
2592
  size: 13,
2443
2593
  style: { marginRight: 4 }
2444
2594
  }), "End"]
@@ -2490,8 +2640,8 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2490
2640
  alignItems: "center",
2491
2641
  gap: 8
2492
2642
  },
2493
- children: [/* @__PURE__ */ H(q, {
2494
- variant: Cn[e] || "secondary",
2643
+ children: [/* @__PURE__ */ H(J, {
2644
+ variant: Nn[e] || "secondary",
2495
2645
  children: w
2496
2646
  }), (e === "connected" || e === "on_hold") && /* @__PURE__ */ H("span", {
2497
2647
  style: {
@@ -2552,7 +2702,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2552
2702
  flexShrink: 0
2553
2703
  },
2554
2704
  children: [
2555
- O.map((e) => /* @__PURE__ */ H(xn, {
2705
+ O.map((e) => /* @__PURE__ */ H(jn, {
2556
2706
  name: e.name,
2557
2707
  initials: e.initials,
2558
2708
  avatarUrl: e.avatarUrl,
@@ -2569,7 +2719,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2569
2719
  },
2570
2720
  children: ["+", k]
2571
2721
  }),
2572
- /* @__PURE__ */ H(nn, {
2722
+ /* @__PURE__ */ H(pn, {
2573
2723
  isMuted: i,
2574
2724
  isOnHold: a,
2575
2725
  onMute: c,
@@ -2581,12 +2731,12 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2581
2731
  compact: !0,
2582
2732
  hideEnd: !0
2583
2733
  }),
2584
- /* @__PURE__ */ U(J, {
2734
+ /* @__PURE__ */ U(Y, {
2585
2735
  variant: "destructive",
2586
2736
  size: "sm",
2587
2737
  onClick: h,
2588
2738
  "aria-label": "End call",
2589
- children: [/* @__PURE__ */ H(z, {
2739
+ children: [/* @__PURE__ */ H(ie, {
2590
2740
  size: 14,
2591
2741
  style: { marginRight: 6 }
2592
2742
  }), "End call"]
@@ -2615,7 +2765,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2615
2765
  }
2616
2766
  //#endregion
2617
2767
  //#region src/components/ui/CallCard.jsx
2618
- var Dn = {
2768
+ var Ln = {
2619
2769
  client: {
2620
2770
  accent: "var(--accent-green)",
2621
2771
  variant: "success"
@@ -2633,17 +2783,17 @@ var Dn = {
2633
2783
  variant: "warning"
2634
2784
  }
2635
2785
  };
2636
- function On(e) {
2786
+ function Rn(e) {
2637
2787
  return e ? Math.max(0, Math.floor((Date.now() - new Date(e).getTime()) / 1e3)) : 0;
2638
2788
  }
2639
- function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType: r = "unknown", avatarUrl: i, ticket: a = null, ticketCandidates: s = [], projectRef: c = null, transferContext: l = null, ringStartedAt: u, onAccept: f, onDecline: p, onSendToVoicemail: m, onPromote: h, className: g = "" }) {
2640
- let [_, v] = d(() => On(u)), [y, b] = d(s[0]?.id || "none");
2789
+ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType: r = "unknown", avatarUrl: i, ticket: a = null, ticketCandidates: s = [], projectRef: c = null, transferContext: l = null, ringStartedAt: u, onAccept: f, onDecline: p, onSendToVoicemail: m, onPromote: h, className: g = "" }) {
2790
+ let [_, v] = d(() => Rn(u)), [y, b] = d(s[0]?.id || "none");
2641
2791
  o(() => {
2642
2792
  if (!u) return;
2643
- let e = setInterval(() => v(On(u)), 1e3);
2793
+ let e = setInterval(() => v(Rn(u)), 1e3);
2644
2794
  return () => clearInterval(e);
2645
2795
  }, [u]);
2646
- let x = Dn[r] || Dn.unknown;
2796
+ let x = Ln[r] || Ln.unknown;
2647
2797
  return e === "mini" ? /* @__PURE__ */ U("div", {
2648
2798
  role: "button",
2649
2799
  tabIndex: 0,
@@ -2669,7 +2819,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2669
2819
  cursor: "pointer"
2670
2820
  },
2671
2821
  children: [
2672
- /* @__PURE__ */ H(K, {
2822
+ /* @__PURE__ */ H(q, {
2673
2823
  name: t,
2674
2824
  imageUrl: i,
2675
2825
  size: "sm"
@@ -2694,18 +2844,18 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2694
2844
  whiteSpace: "nowrap"
2695
2845
  },
2696
2846
  children: t
2697
- }), /* @__PURE__ */ H(q, {
2847
+ }), /* @__PURE__ */ H(J, {
2698
2848
  variant: x.variant,
2699
2849
  showDot: !1,
2700
2850
  className: "badge--no-dot",
2701
- children: dn(r)
2851
+ children: xn(r)
2702
2852
  })]
2703
2853
  }), /* @__PURE__ */ U("div", {
2704
2854
  style: {
2705
2855
  fontSize: "var(--text-xs)",
2706
2856
  color: "var(--text-tertiary)"
2707
2857
  },
2708
- children: ["Ringing · ", rn(_)]
2858
+ children: ["Ringing · ", mn(_)]
2709
2859
  })]
2710
2860
  }),
2711
2861
  /* @__PURE__ */ H("button", {
@@ -2713,7 +2863,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2713
2863
  className: "btn btn-ghost btn-icon btn-sm",
2714
2864
  onClick: () => f?.(),
2715
2865
  "aria-label": "Accept",
2716
- children: /* @__PURE__ */ H(R, {
2866
+ children: /* @__PURE__ */ H(ee, {
2717
2867
  size: 16,
2718
2868
  style: { color: "var(--accent-green)" }
2719
2869
  })
@@ -2723,7 +2873,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2723
2873
  className: "btn btn-ghost btn-icon btn-sm",
2724
2874
  onClick: p,
2725
2875
  "aria-label": "Decline",
2726
- children: /* @__PURE__ */ H(z, { size: 16 })
2876
+ children: /* @__PURE__ */ H(ie, { size: 16 })
2727
2877
  })
2728
2878
  ]
2729
2879
  }) : /* @__PURE__ */ U("div", {
@@ -2781,7 +2931,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2781
2931
  alignItems: "center",
2782
2932
  minWidth: 0
2783
2933
  },
2784
- children: [/* @__PURE__ */ H(K, {
2934
+ children: [/* @__PURE__ */ H(q, {
2785
2935
  name: t,
2786
2936
  imageUrl: i,
2787
2937
  size: "md"
@@ -2802,11 +2952,11 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2802
2952
  whiteSpace: "nowrap"
2803
2953
  },
2804
2954
  children: t
2805
- }), /* @__PURE__ */ H(q, {
2955
+ }), /* @__PURE__ */ H(J, {
2806
2956
  variant: x.variant,
2807
2957
  showDot: !1,
2808
2958
  className: "badge--no-dot",
2809
- children: dn(r)
2959
+ children: xn(r)
2810
2960
  })]
2811
2961
  }), /* @__PURE__ */ H("div", {
2812
2962
  style: {
@@ -2827,7 +2977,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2827
2977
  children: [/* @__PURE__ */ H("span", {
2828
2978
  style: { marginRight: 4 },
2829
2979
  children: "•"
2830
- }), rn(_)]
2980
+ }), mn(_)]
2831
2981
  })]
2832
2982
  }), /* @__PURE__ */ H("div", {
2833
2983
  style: {
@@ -2906,7 +3056,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2906
3056
  }), "None of these"]
2907
3057
  })
2908
3058
  ]
2909
- })] }) : /* @__PURE__ */ U("div", { children: [/* @__PURE__ */ H(q, {
3059
+ })] }) : /* @__PURE__ */ U("div", { children: [/* @__PURE__ */ H(J, {
2910
3060
  variant: "warning",
2911
3061
  showDot: !1,
2912
3062
  className: "badge--no-dot",
@@ -2932,22 +3082,22 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2932
3082
  alignItems: "stretch"
2933
3083
  },
2934
3084
  children: [
2935
- /* @__PURE__ */ H(J, {
3085
+ /* @__PURE__ */ H(Y, {
2936
3086
  type: "button",
2937
3087
  variant: "ghost",
2938
3088
  size: "sm",
2939
3089
  onClick: m,
2940
3090
  "aria-label": "Send to voicemail",
2941
- children: /* @__PURE__ */ H(le, { size: 14 })
3091
+ children: /* @__PURE__ */ H(fe, { size: 14 })
2942
3092
  }),
2943
- /* @__PURE__ */ H(J, {
3093
+ /* @__PURE__ */ H(Y, {
2944
3094
  type: "button",
2945
3095
  variant: "outline",
2946
3096
  size: "sm",
2947
3097
  onClick: p,
2948
3098
  children: "Decline"
2949
3099
  }),
2950
- /* @__PURE__ */ U(J, {
3100
+ /* @__PURE__ */ U(Y, {
2951
3101
  type: "button",
2952
3102
  variant: "success",
2953
3103
  size: "sm",
@@ -2955,7 +3105,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2955
3105
  !a && s.length > 0 ? y === "none" ? f?.("none") : y === "new" ? f?.("new") : f?.(y) : f?.();
2956
3106
  },
2957
3107
  style: { fontWeight: 600 },
2958
- children: [/* @__PURE__ */ H(R, {
3108
+ children: [/* @__PURE__ */ H(ee, {
2959
3109
  size: 14,
2960
3110
  style: { marginRight: 6 }
2961
3111
  }), "Accept"]
@@ -2967,14 +3117,14 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2967
3117
  }
2968
3118
  //#endregion
2969
3119
  //#region src/components/ui/QueueItem.jsx
2970
- var An = {
3120
+ var Bn = {
2971
3121
  ringing: {
2972
3122
  icon: ne,
2973
3123
  color: "var(--accent-red)",
2974
3124
  label: "Ringing"
2975
3125
  },
2976
3126
  voicemail: {
2977
- icon: le,
3127
+ icon: fe,
2978
3128
  color: "var(--accent-yellow)",
2979
3129
  label: "Voicemail"
2980
3130
  },
@@ -2988,14 +3138,14 @@ var An = {
2988
3138
  color: "var(--text-tertiary)",
2989
3139
  label: "Missed"
2990
3140
  }
2991
- }, jn = {
3141
+ }, Vn = {
2992
3142
  client: "success",
2993
3143
  building_department: "info",
2994
3144
  staff: "purple",
2995
3145
  unknown: "warning"
2996
3146
  };
2997
- function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadlineAt: i = null, voicemailDurationSec: a, assignedTo: o = null, actions: s = [], onAction: c, onClick: l, className: u = "" }) {
2998
- let d = An[e] || An.ringing, f = d.icon, p = s.slice(0, 2), m = s.slice(2), h = i ? sn(i) : "none", g = h === "urgent" ? "var(--accent-red)" : h === "warning" ? "var(--accent-yellow)" : "var(--text-secondary)";
3147
+ function Hn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadlineAt: i = null, voicemailDurationSec: a, assignedTo: o = null, actions: s = [], onAction: c, onClick: l, className: u = "" }) {
3148
+ let d = Bn[e] || Bn.ringing, f = d.icon, p = s.slice(0, 2), m = s.slice(2), h = i ? _n(i) : "none", g = h === "urgent" ? "var(--accent-red)" : h === "warning" ? "var(--accent-yellow)" : "var(--text-secondary)";
2999
3149
  return /* @__PURE__ */ U("div", {
3000
3150
  role: "button",
3001
3151
  tabIndex: 0,
@@ -3045,11 +3195,11 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3045
3195
  },
3046
3196
  children: t.name
3047
3197
  }),
3048
- /* @__PURE__ */ H(q, {
3049
- variant: jn[t.type] || "warning",
3198
+ /* @__PURE__ */ H(J, {
3199
+ variant: Vn[t.type] || "warning",
3050
3200
  showDot: !1,
3051
3201
  className: "badge--no-dot",
3052
- children: dn(t.type)
3202
+ children: xn(t.type)
3053
3203
  }),
3054
3204
  n && /* @__PURE__ */ H(Z, {
3055
3205
  ticket: n,
@@ -3077,8 +3227,8 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3077
3227
  children: d.label
3078
3228
  }),
3079
3229
  /* @__PURE__ */ H("span", { children: "·" }),
3080
- e === "voicemail" && a != null && /* @__PURE__ */ U(ue, { children: [/* @__PURE__ */ H("span", { children: rn(a) }), /* @__PURE__ */ H("span", { children: "·" })] }),
3081
- r && /* @__PURE__ */ H("span", { children: on(r) }),
3230
+ e === "voicemail" && a != null && /* @__PURE__ */ U(pe, { children: [/* @__PURE__ */ H("span", { children: mn(a) }), /* @__PURE__ */ H("span", { children: "·" })] }),
3231
+ r && /* @__PURE__ */ H("span", { children: gn(r) }),
3082
3232
  i && /* @__PURE__ */ U("span", {
3083
3233
  style: {
3084
3234
  color: g,
@@ -3086,12 +3236,12 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3086
3236
  fontVariantNumeric: "tabular-nums",
3087
3237
  fontWeight: 600
3088
3238
  },
3089
- children: ["SLA ", an(i)]
3239
+ children: ["SLA ", hn(i)]
3090
3240
  })
3091
3241
  ]
3092
3242
  })]
3093
3243
  }),
3094
- o && /* @__PURE__ */ H(xn, {
3244
+ o && /* @__PURE__ */ H(jn, {
3095
3245
  name: o.name,
3096
3246
  initials: o.initials,
3097
3247
  avatarUrl: null,
@@ -3113,15 +3263,15 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3113
3263
  title: e.label,
3114
3264
  onClick: () => c?.(e.key),
3115
3265
  children: e.icon
3116
- }, e.key)), m.length > 0 && /* @__PURE__ */ H(jt, {
3266
+ }, e.key)), m.length > 0 && /* @__PURE__ */ H(Bt, {
3117
3267
  align: "right",
3118
3268
  trigger: /* @__PURE__ */ H("button", {
3119
3269
  type: "button",
3120
3270
  className: "btn btn-ghost btn-icon btn-sm",
3121
3271
  "aria-label": "More actions",
3122
- children: /* @__PURE__ */ H(L, { size: 16 })
3272
+ children: /* @__PURE__ */ H(R, { size: 16 })
3123
3273
  }),
3124
- children: m.map((e) => /* @__PURE__ */ H(Mt, {
3274
+ children: m.map((e) => /* @__PURE__ */ H(Vt, {
3125
3275
  onClick: () => c?.(e.key),
3126
3276
  children: e.label
3127
3277
  }, e.key))
@@ -3132,14 +3282,14 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3132
3282
  }
3133
3283
  //#endregion
3134
3284
  //#region src/components/data/ActivityFeed.jsx
3135
- function Nn({ items: e = [], className: t = "" }) {
3285
+ function Un({ items: e = [], className: t = "" }) {
3136
3286
  return /* @__PURE__ */ H("div", {
3137
3287
  className: `activity-feed ${t}`,
3138
3288
  children: e.map((e, t) => /* @__PURE__ */ U("div", {
3139
3289
  className: "activity-item",
3140
3290
  children: [/* @__PURE__ */ H("div", {
3141
3291
  className: "activity-avatar",
3142
- children: /* @__PURE__ */ H(K, {
3292
+ children: /* @__PURE__ */ H(q, {
3143
3293
  name: e.user,
3144
3294
  size: "sm"
3145
3295
  })
@@ -3171,7 +3321,7 @@ function Nn({ items: e = [], className: t = "" }) {
3171
3321
  }
3172
3322
  //#endregion
3173
3323
  //#region src/components/data/CommandBar.jsx
3174
- function Pn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
3324
+ function Wn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
3175
3325
  let [a, s] = d(""), [c, l] = d(0), f = u(null);
3176
3326
  if (o(() => {
3177
3327
  if (e) {
@@ -3255,7 +3405,7 @@ function Pn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
3255
3405
  }
3256
3406
  //#endregion
3257
3407
  //#region src/components/data/DataTable.jsx
3258
- function Fn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3408
+ function Gn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3259
3409
  let [i, a] = d(null), [o, s] = d("asc");
3260
3410
  function c(e) {
3261
3411
  i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
@@ -3296,7 +3446,7 @@ function Fn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3296
3446
  }
3297
3447
  //#endregion
3298
3448
  //#region src/components/data/FilterBar.jsx
3299
- function In({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
3449
+ function Kn({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
3300
3450
  let o = n.some((e) => e.active);
3301
3451
  return /* @__PURE__ */ U("div", {
3302
3452
  className: `filter-bar ${a}`,
@@ -3349,14 +3499,14 @@ function In({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
3349
3499
  function Q(...e) {
3350
3500
  return e.filter(Boolean).join(" ");
3351
3501
  }
3352
- function Ln({ children: e, className: t = "", style: n }) {
3502
+ function qn({ children: e, className: t = "", style: n }) {
3353
3503
  return /* @__PURE__ */ H("div", {
3354
3504
  className: Q("kanban-board", t),
3355
3505
  style: n,
3356
3506
  children: e
3357
3507
  });
3358
3508
  }
3359
- function Rn({ title: e, count: t, color: n, headerAction: r = null, countVariant: i = "pill", children: a, className: o = "", style: s, headerClassName: c = "", headerStyle: l, countClassName: u = "", bodyClassName: d = "", bodyStyle: f }) {
3509
+ function Jn({ title: e, count: t, color: n, headerAction: r = null, countVariant: i = "pill", children: a, className: o = "", style: s, headerClassName: c = "", headerStyle: l, countClassName: u = "", bodyClassName: d = "", bodyStyle: f }) {
3360
3510
  return /* @__PURE__ */ U("div", {
3361
3511
  className: Q("kanban-column", o),
3362
3512
  style: s,
@@ -3374,7 +3524,7 @@ function Rn({ title: e, count: t, color: n, headerAction: r = null, countVariant
3374
3524
  className: "kanban-column-title-label",
3375
3525
  children: e
3376
3526
  }),
3377
- t != null && /* @__PURE__ */ H(q, {
3527
+ t != null && /* @__PURE__ */ H(J, {
3378
3528
  showDot: !1,
3379
3529
  className: Q("workflow-column-count", "kanban-column-count", i === "inline" ? "kanban-column-count--inline" : "", u),
3380
3530
  children: t
@@ -3394,13 +3544,13 @@ function Rn({ title: e, count: t, color: n, headerAction: r = null, countVariant
3394
3544
  })]
3395
3545
  });
3396
3546
  }
3397
- function zn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
3547
+ function Yn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
3398
3548
  let u = a ?? r;
3399
3549
  return /* @__PURE__ */ H("div", {
3400
3550
  className: Q("kanban-card", c),
3401
3551
  onClick: s,
3402
3552
  style: l,
3403
- children: o || /* @__PURE__ */ U(ue, { children: [/* @__PURE__ */ U("div", {
3553
+ children: o || /* @__PURE__ */ U(pe, { children: [/* @__PURE__ */ U("div", {
3404
3554
  className: "kanban-card-body",
3405
3555
  children: [
3406
3556
  e && /* @__PURE__ */ H("div", {
@@ -3430,13 +3580,13 @@ function zn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
3430
3580
  function $(...e) {
3431
3581
  return e.filter(Boolean).join(" ");
3432
3582
  }
3433
- function Bn({ children: e, className: t = "" }) {
3583
+ function Xn({ children: e, className: t = "" }) {
3434
3584
  return /* @__PURE__ */ H("div", {
3435
3585
  className: $("table-board", t),
3436
3586
  children: e
3437
3587
  });
3438
3588
  }
3439
- function Vn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
3589
+ function Zn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
3440
3590
  let [c, l] = d(i), u = r != null, f = u ? r : c;
3441
3591
  function p() {
3442
3592
  let e = !f;
@@ -3473,7 +3623,7 @@ function Vn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0,
3473
3623
  })]
3474
3624
  });
3475
3625
  }
3476
- function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: i, subtitle: a, subtitleInline: s = !1, pills: c = [], maxVisibleLeadingPills: l, pinnedTrailingPillsCount: f = 0, metric: m, metricTone: h = "default", metricIcon: g, showMetricIcon: _ = !0, avatar: v, avatarImageUrl: y, avatarLabel: b, avatarName: x, avatarStyle: S, meta: w, onClick: T, className: E = "" }) {
3626
+ function Qn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: i, subtitle: a, subtitleInline: s = !1, pills: c = [], maxVisibleLeadingPills: l, pinnedTrailingPillsCount: f = 0, metric: m, metricTone: h = "default", metricIcon: g, showMetricIcon: _ = !0, avatar: v, avatarImageUrl: y, avatarLabel: b, avatarName: x, avatarStyle: S, meta: w, onClick: T, className: E = "" }) {
3477
3627
  let D = typeof T == "function", O = u(null), [k, A] = d(!1), j = Array.isArray(c) ? c : [], M = Math.max(0, Math.min(f, j.length)), N = M > 0 ? j.slice(0, -M) : j, P = M > 0 ? j.slice(-M) : [], F = typeof l == "number" && l >= 0 ? N.slice(0, l) : N, I = Math.max(0, N.length - F.length), L = [
3478
3628
  ...F,
3479
3629
  ...I > 0 ? [{
@@ -3482,16 +3632,16 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3482
3632
  }] : [],
3483
3633
  ...P
3484
3634
  ];
3485
- function ee(e) {
3635
+ function R(e) {
3486
3636
  D && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), T());
3487
3637
  }
3488
- let R = x || w || b, te = S || (y ? void 0 : { background: "var(--accent-blue)" }), ne = g || (h === "warning" ? p : C), re = v || (y || b || R ? /* @__PURE__ */ H(K, {
3638
+ let z = x || w || b, ee = S || (y ? void 0 : { background: "var(--accent-blue)" }), te = g || (h === "warning" ? p : C), ne = v || (y || b || z ? /* @__PURE__ */ H(q, {
3489
3639
  imageUrl: y,
3490
3640
  initials: b,
3491
- name: R,
3641
+ name: z,
3492
3642
  size: "sm",
3493
3643
  className: "table-board-avatar",
3494
- style: te
3644
+ style: ee
3495
3645
  }) : null);
3496
3646
  return o(() => {
3497
3647
  let e = O.current;
@@ -3514,7 +3664,7 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3514
3664
  ]), /* @__PURE__ */ U("div", {
3515
3665
  className: $("table-board-row", D && "clickable", E),
3516
3666
  onClick: T,
3517
- onKeyDown: ee,
3667
+ onKeyDown: R,
3518
3668
  role: D ? "button" : void 0,
3519
3669
  tabIndex: D ? 0 : void 0,
3520
3670
  children: [
@@ -3559,17 +3709,17 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3559
3709
  ]
3560
3710
  }, `${e.label}-${t}`))
3561
3711
  }),
3562
- m != null && (r(m) ? m : /* @__PURE__ */ H(q, {
3712
+ m != null && (r(m) ? m : /* @__PURE__ */ H(J, {
3563
3713
  className: "table-board-metric",
3564
3714
  showDot: !1,
3565
- children: /* @__PURE__ */ H(Vt, {
3715
+ children: /* @__PURE__ */ H(Xt, {
3566
3716
  tone: h,
3567
- icon: ne,
3717
+ icon: te,
3568
3718
  showIcon: _,
3569
3719
  children: m
3570
3720
  })
3571
3721
  })),
3572
- re,
3722
+ ne,
3573
3723
  w && /* @__PURE__ */ H("span", {
3574
3724
  className: "table-board-meta",
3575
3725
  children: w
@@ -3579,12 +3729,12 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3579
3729
  }
3580
3730
  //#endregion
3581
3731
  //#region src/components/data/KPICard.jsx
3582
- function Un({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
3732
+ function $n({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
3583
3733
  let s = {
3584
3734
  up: "var(--accent-green)",
3585
3735
  down: "var(--accent-red)",
3586
3736
  neutral: "var(--text-tertiary)"
3587
- }, c = i === "up" ? se : i === "down" ? oe : F;
3737
+ }, c = i === "up" ? ue : i === "down" ? le : I;
3588
3738
  return /* @__PURE__ */ U("div", {
3589
3739
  className: `kpi-card ${o}`,
3590
3740
  children: [
@@ -3620,7 +3770,7 @@ function Un({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
3620
3770
  ]
3621
3771
  });
3622
3772
  }
3623
- function Wn({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3773
+ function er({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3624
3774
  return /* @__PURE__ */ U("div", {
3625
3775
  className: `stat-card ${i}`,
3626
3776
  children: [r && /* @__PURE__ */ H("div", {
@@ -3647,7 +3797,7 @@ function Wn({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3647
3797
  }
3648
3798
  //#endregion
3649
3799
  //#region src/components/data/NotificationsPanel.jsx
3650
- function Gn({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
3800
+ function tr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
3651
3801
  let i = e.filter((e) => !e.read);
3652
3802
  return /* @__PURE__ */ U("div", {
3653
3803
  className: `notifications-panel ${r}`,
@@ -3678,7 +3828,7 @@ function Gn({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
3678
3828
  className: `notification-item ${e.read ? "" : "unread"}`,
3679
3829
  onClick: () => !e.read && t?.(e.id),
3680
3830
  children: [
3681
- /* @__PURE__ */ H(K, {
3831
+ /* @__PURE__ */ H(q, {
3682
3832
  name: e.user,
3683
3833
  size: "sm"
3684
3834
  }),
@@ -3704,7 +3854,7 @@ function Gn({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
3704
3854
  }
3705
3855
  //#endregion
3706
3856
  //#region src/components/Icons.jsx
3707
- function Kn() {
3857
+ function nr() {
3708
3858
  return /* @__PURE__ */ H("svg", {
3709
3859
  width: "16",
3710
3860
  height: "16",
@@ -3713,7 +3863,7 @@ function Kn() {
3713
3863
  children: /* @__PURE__ */ H("path", { d: "M2 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6.5l-2.5-2.5a.5.5 0 0 0-.354-.146H8.5a.5.5 0 0 0-.5.5v2.793L6.854 9.001a.5.5 0 0 0-.708 0L2 13.147V3Zm12 8.207V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-.44l4.5-4.5L8.146 9.707a.5.5 0 0 0 .708 0L11.5 7.06l2.5 2.5V11.207Z" })
3714
3864
  });
3715
3865
  }
3716
- function qn() {
3866
+ function rr() {
3717
3867
  return /* @__PURE__ */ U("svg", {
3718
3868
  width: "16",
3719
3869
  height: "16",
@@ -3733,7 +3883,7 @@ function qn() {
3733
3883
  })]
3734
3884
  });
3735
3885
  }
3736
- function Jn() {
3886
+ function ir() {
3737
3887
  return /* @__PURE__ */ H("svg", {
3738
3888
  width: "16",
3739
3889
  height: "16",
@@ -3742,7 +3892,7 @@ function Jn() {
3742
3892
  children: /* @__PURE__ */ H("path", { d: "M8 1l2.2 4.4L15 6.3l-3.5 3.4.8 4.9L8 12.4 3.7 14.6l.8-4.9L1 6.3l4.8-.9L8 1Z" })
3743
3893
  });
3744
3894
  }
3745
- function Yn() {
3895
+ function ar() {
3746
3896
  return /* @__PURE__ */ H("svg", {
3747
3897
  width: "16",
3748
3898
  height: "16",
@@ -3755,7 +3905,7 @@ function Yn() {
3755
3905
  children: /* @__PURE__ */ H("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
3756
3906
  });
3757
3907
  }
3758
- function Xn() {
3908
+ function or() {
3759
3909
  return /* @__PURE__ */ H("svg", {
3760
3910
  width: "16",
3761
3911
  height: "16",
@@ -3764,7 +3914,7 @@ function Xn() {
3764
3914
  children: /* @__PURE__ */ H("path", { d: "M3 2h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm1 3v2h8V5H4Zm0 4v2h5V9H4Z" })
3765
3915
  });
3766
3916
  }
3767
- function Zn() {
3917
+ function sr() {
3768
3918
  return /* @__PURE__ */ H("svg", {
3769
3919
  width: "16",
3770
3920
  height: "16",
@@ -3773,7 +3923,7 @@ function Zn() {
3773
3923
  children: /* @__PURE__ */ H("path", { d: "M2 3.5A1.5 1.5 0 0 1 3.5 2h3.379a1.5 1.5 0 0 1 1.06.44l.622.62A1.5 1.5 0 0 0 9.622 3.5H12.5A1.5 1.5 0 0 1 14 5v7.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 12.5v-9Z" })
3774
3924
  });
3775
3925
  }
3776
- function Qn() {
3926
+ function cr() {
3777
3927
  return /* @__PURE__ */ U("svg", {
3778
3928
  width: "16",
3779
3929
  height: "16",
@@ -3798,7 +3948,7 @@ function Qn() {
3798
3948
  ]
3799
3949
  });
3800
3950
  }
3801
- function $n() {
3951
+ function lr() {
3802
3952
  return /* @__PURE__ */ U("svg", {
3803
3953
  width: "16",
3804
3954
  height: "16",
@@ -3816,7 +3966,7 @@ function $n() {
3816
3966
  })]
3817
3967
  });
3818
3968
  }
3819
- function er() {
3969
+ function ur() {
3820
3970
  return /* @__PURE__ */ H("svg", {
3821
3971
  width: "16",
3822
3972
  height: "16",
@@ -3829,7 +3979,7 @@ function er() {
3829
3979
  children: /* @__PURE__ */ H("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
3830
3980
  });
3831
3981
  }
3832
- function tr() {
3982
+ function dr() {
3833
3983
  return /* @__PURE__ */ H("svg", {
3834
3984
  width: "14",
3835
3985
  height: "14",
@@ -3842,7 +3992,7 @@ function tr() {
3842
3992
  children: /* @__PURE__ */ H("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
3843
3993
  });
3844
3994
  }
3845
- function nr() {
3995
+ function fr() {
3846
3996
  return /* @__PURE__ */ H("svg", {
3847
3997
  width: "14",
3848
3998
  height: "14",
@@ -3855,7 +4005,7 @@ function nr() {
3855
4005
  children: /* @__PURE__ */ H("path", { d: "M3.5 9L7 5.5 10.5 9" })
3856
4006
  });
3857
4007
  }
3858
- function rr() {
4008
+ function pr() {
3859
4009
  return /* @__PURE__ */ H("svg", {
3860
4010
  width: "14",
3861
4011
  height: "14",
@@ -3864,7 +4014,7 @@ function rr() {
3864
4014
  children: /* @__PURE__ */ H("path", { d: "M7 1l1.76 3.52L13 5.26l-3 2.94.7 4.13L7 10.4 3.3 12.33l.7-4.13-3-2.94 4.24-.74L7 1Z" })
3865
4015
  });
3866
4016
  }
3867
- function ir() {
4017
+ function mr() {
3868
4018
  return /* @__PURE__ */ U("svg", {
3869
4019
  width: "14",
3870
4020
  height: "14",
@@ -3885,7 +4035,7 @@ function ir() {
3885
4035
  })]
3886
4036
  });
3887
4037
  }
3888
- function ar() {
4038
+ function hr() {
3889
4039
  return /* @__PURE__ */ U("svg", {
3890
4040
  width: "14",
3891
4041
  height: "14",
@@ -3905,7 +4055,7 @@ function ar() {
3905
4055
  })]
3906
4056
  });
3907
4057
  }
3908
- function or() {
4058
+ function gr() {
3909
4059
  return /* @__PURE__ */ H("svg", {
3910
4060
  width: "14",
3911
4061
  height: "14",
@@ -3920,7 +4070,7 @@ function or() {
3920
4070
  })
3921
4071
  });
3922
4072
  }
3923
- function sr() {
4073
+ function _r() {
3924
4074
  return /* @__PURE__ */ H("svg", {
3925
4075
  width: "14",
3926
4076
  height: "14",
@@ -3936,7 +4086,7 @@ function sr() {
3936
4086
  })
3937
4087
  });
3938
4088
  }
3939
- function cr() {
4089
+ function vr() {
3940
4090
  return /* @__PURE__ */ U("svg", {
3941
4091
  width: "14",
3942
4092
  height: "14",
@@ -3956,7 +4106,7 @@ function cr() {
3956
4106
  })]
3957
4107
  });
3958
4108
  }
3959
- function lr() {
4109
+ function yr() {
3960
4110
  return /* @__PURE__ */ H("svg", {
3961
4111
  width: "14",
3962
4112
  height: "14",
@@ -3965,7 +4115,7 @@ function lr() {
3965
4115
  children: /* @__PURE__ */ H("path", { d: "M7 1a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V2a1 1 0 0 1 1-1Zm0 10a1.25 1.25 0 1 1 0 2.5A1.25 1.25 0 0 1 7 11Z" })
3966
4116
  });
3967
4117
  }
3968
- function ur() {
4118
+ function br() {
3969
4119
  return /* @__PURE__ */ U("svg", {
3970
4120
  width: "14",
3971
4121
  height: "14",
@@ -3996,7 +4146,7 @@ function ur() {
3996
4146
  ]
3997
4147
  });
3998
4148
  }
3999
- function dr() {
4149
+ function xr() {
4000
4150
  return /* @__PURE__ */ U("svg", {
4001
4151
  width: "14",
4002
4152
  height: "14",
@@ -4029,7 +4179,7 @@ function dr() {
4029
4179
  ]
4030
4180
  });
4031
4181
  }
4032
- function fr() {
4182
+ function Sr() {
4033
4183
  return /* @__PURE__ */ U("svg", {
4034
4184
  width: "14",
4035
4185
  height: "14",
@@ -4062,7 +4212,7 @@ function fr() {
4062
4212
  ]
4063
4213
  });
4064
4214
  }
4065
- function pr() {
4215
+ function Cr() {
4066
4216
  return /* @__PURE__ */ H("svg", {
4067
4217
  width: "14",
4068
4218
  height: "14",
@@ -4074,7 +4224,7 @@ function pr() {
4074
4224
  children: /* @__PURE__ */ H("path", { d: "M6 8l2-2m-2.5-.5L4 7a2.83 2.83 0 0 0 4 4l1.5-1.5m-1-5L10 3a2.83 2.83 0 0 1 4 4l-1.5 1.5" })
4075
4225
  });
4076
4226
  }
4077
- function mr() {
4227
+ function wr() {
4078
4228
  return /* @__PURE__ */ H("svg", {
4079
4229
  width: "14",
4080
4230
  height: "14",
@@ -4087,7 +4237,7 @@ function mr() {
4087
4237
  children: /* @__PURE__ */ H("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
4088
4238
  });
4089
4239
  }
4090
- function hr() {
4240
+ function Tr() {
4091
4241
  return /* @__PURE__ */ U("svg", {
4092
4242
  width: "14",
4093
4243
  height: "14",
@@ -4104,7 +4254,7 @@ function hr() {
4104
4254
  })]
4105
4255
  });
4106
4256
  }
4107
- function gr() {
4257
+ function Er() {
4108
4258
  return /* @__PURE__ */ H("svg", {
4109
4259
  width: "14",
4110
4260
  height: "14",
@@ -4116,7 +4266,7 @@ function gr() {
4116
4266
  children: /* @__PURE__ */ H("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
4117
4267
  });
4118
4268
  }
4119
- function _r() {
4269
+ function Dr() {
4120
4270
  return /* @__PURE__ */ H("svg", {
4121
4271
  width: "14",
4122
4272
  height: "14",
@@ -4129,7 +4279,7 @@ function _r() {
4129
4279
  children: /* @__PURE__ */ H("path", { d: "M3 7.5l3 3 5-6" })
4130
4280
  });
4131
4281
  }
4132
- function vr() {
4282
+ function Or() {
4133
4283
  return /* @__PURE__ */ U("svg", {
4134
4284
  width: "14",
4135
4285
  height: "14",
@@ -4148,7 +4298,7 @@ function vr() {
4148
4298
  }), /* @__PURE__ */ H("path", { d: "M9.5 4.5V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v5.5a1 1 0 0 0 1 1h1.5" })]
4149
4299
  });
4150
4300
  }
4151
- function yr() {
4301
+ function kr() {
4152
4302
  return /* @__PURE__ */ H("svg", {
4153
4303
  width: "14",
4154
4304
  height: "14",
@@ -4161,7 +4311,7 @@ function yr() {
4161
4311
  children: /* @__PURE__ */ H("path", { d: "M5.5 12a1.5 1.5 0 0 0 3 0M7 1a4 4 0 0 0-4 4c0 3-1.5 4.5-1.5 4.5h11S11 8 11 5a4 4 0 0 0-4-4Z" })
4162
4312
  });
4163
4313
  }
4164
- function br() {
4314
+ function Ar() {
4165
4315
  return /* @__PURE__ */ U("svg", {
4166
4316
  width: "14",
4167
4317
  height: "14",
@@ -4180,7 +4330,7 @@ function br() {
4180
4330
  }), /* @__PURE__ */ H("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
4181
4331
  });
4182
4332
  }
4183
- function xr() {
4333
+ function jr() {
4184
4334
  return /* @__PURE__ */ H("svg", {
4185
4335
  width: "14",
4186
4336
  height: "14",
@@ -4193,7 +4343,7 @@ function xr() {
4193
4343
  children: /* @__PURE__ */ H("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
4194
4344
  });
4195
4345
  }
4196
- function Sr() {
4346
+ function Mr() {
4197
4347
  return /* @__PURE__ */ U("svg", {
4198
4348
  width: "14",
4199
4349
  height: "14",
@@ -4211,7 +4361,7 @@ function Sr() {
4211
4361
  })]
4212
4362
  });
4213
4363
  }
4214
- function Cr() {
4364
+ function Nr() {
4215
4365
  return /* @__PURE__ */ U("svg", {
4216
4366
  width: "14",
4217
4367
  height: "14",
@@ -4230,4 +4380,4 @@ function Cr() {
4230
4380
  });
4231
4381
  }
4232
4382
  //#endregion
4233
- export { lt as Accordion, ct as AccordionItem, Nn as ActivityFeed, Xe as AppLoader, K as Avatar, q as Badge, yr as BellIcon, J as Button, br as CalendarIcon, kn as CallCard, nn as CallControlsBar, En as Callbar, _t as Card, xt as CardContent, bt as CardDescription, St as CardFooter, vt as CardHeader, yt as CardTitle, _r as CheckIcon, tr as ChevronDown, nr as ChevronUp, gr as CloseIcon, Pn as CommandBar, vr as CopyIcon, Yt as DEFAULT_ICON_BY_VALUE, Xt as DEFAULT_VIEW_MODE_OPTIONS, Fn as DataTable, wt as Dialog, Ot as DialogBody, Dt as DialogDescription, kt as DialogFooter, Tt as DialogHeader, Et as DialogTitle, jt as DropdownMenu, Nt as DropdownMenuCheckboxItem, Mt as DropdownMenuItem, Pt as DropdownMenuLabel, Ft as DropdownMenuSeparator, er as EditIcon, qe as FCCAppShell, Je as FCCBrandLogo, Re as FCCBreadcrumbs, Se as FCCDesignProvider, $e as FCCDetailsPanel, tt as FCCFullPagePanel, it as FCCFullPagePanelBody, st as FCCFullPagePanelFooter, nt as FCCFullPagePanelHeader, at as FCCFullPagePanelMain, ot as FCCFullPagePanelSidebar, rt as FCCFullPagePanelToolbar, Be as FCCHeaderStatus, Qe as FCCLoader, He as FCCMainWindow, we as FCCSidePanel, Ne as FCCSidePanelAction, Ee as FCCSidePanelBody, je as FCCSidePanelCard, Pe as FCCSidePanelChatWrap, Me as FCCSidePanelContact, Fe as FCCSidePanelConversation, ke as FCCSidePanelGroupLabel, Te as FCCSidePanelHeader, Ae as FCCSidePanelItem, Ie as FCCSidePanelMessage, Oe as FCCSidePanelSearch, De as FCCSidePanelTabs, Ke as FCCSidebar, Ye as FCCThemeToggle, Ve as FCCWorkspaceHeader, In as FilterBar, xr as FilterIcon, Kn as InboxIcon, Xn as InitiativesIcon, At as Input, qn as IssuesIcon, Un as KPICard, Ln as KanbanBoard, zn as KanbanCard, Rn as KanbanColumn, Cr as LabelIcon, pr as LinkIcon, Qn as MoreIcon, Gn as NotificationsPanel, xn as PresenceAvatar, yn as PresenceDot, ur as PriorityHigh, fr as PriorityLow, dr as PriorityMedium, lr as PriorityUrgent, Zn as ProjectsIcon, Yn as PulseIcon, Mn as QueueItem, Jn as ReviewsIcon, $n as SearchIcon, It as SearchableSelect, hr as SettingsIcon, Lt as Sheet, Rt as SheetFooter, Ze as Spinner, rr as StarIcon, Wn as StatCard, sr as StatusBacklog, cr as StatusCancelled, ar as StatusDone, ir as StatusInProgress, Vt as StatusMetric, or as StatusTodo, Ht as Switch, Bn as TableBoard, Vn as TableBoardGroup, Hn as TableBoardRow, Ut as Tabs, Kt as TabsContent, Wt as TabsList, Gt as TabsTrigger, qt as Textarea, be as ThemeProvider, Z as TicketLinkChip, me as ToastProvider, Jt as Tooltip, mr as TrashIcon, Sr as UserIcon, $t as ViewModeToggle, tn as WorkspaceTabs, xe as useTheme, he as useToast };
4383
+ export { vt as Accordion, _t as AccordionItem, Un as ActivityFeed, at as AppLoader, q as Avatar, J as Badge, kr as BellIcon, Y as Button, Ar as CalendarIcon, zn as CallCard, pn as CallControlsBar, In as Callbar, Et as Card, At as CardContent, kt as CardDescription, jt as CardFooter, Dt as CardHeader, Ot as CardTitle, Dr as CheckIcon, dr as ChevronDown, fr as ChevronUp, Er as CloseIcon, Wn as CommandBar, Or as CopyIcon, on as DEFAULT_ICON_BY_VALUE, sn as DEFAULT_VIEW_MODE_OPTIONS, Gn as DataTable, Nt as Dialog, Lt as DialogBody, It as DialogDescription, Rt as DialogFooter, Pt as DialogHeader, Ft as DialogTitle, Bt as DropdownMenu, Ht as DropdownMenuCheckboxItem, Vt as DropdownMenuItem, Ut as DropdownMenuLabel, Wt as DropdownMenuSeparator, ur as EditIcon, nt as FCCAppShell, Ee as FCCAppShellContext, rt as FCCBrandLogo, Ue as FCCBreadcrumbs, Te as FCCDesignProvider, ct as FCCDetailsPanel, ut as FCCFullPagePanel, pt as FCCFullPagePanelBody, gt as FCCFullPagePanelFooter, dt as FCCFullPagePanelHeader, mt as FCCFullPagePanelMain, ht as FCCFullPagePanelSidebar, ft as FCCFullPagePanelToolbar, Ge as FCCHeaderStatus, st as FCCLoader, qe as FCCMainWindow, ke as FCCSidePanel, Re as FCCSidePanelAction, je as FCCSidePanelBody, Ie as FCCSidePanelCard, ze as FCCSidePanelChatWrap, Le as FCCSidePanelContact, Be as FCCSidePanelConversation, Pe as FCCSidePanelGroupLabel, Ae as FCCSidePanelHeader, Fe as FCCSidePanelItem, Ve as FCCSidePanelMessage, Ne as FCCSidePanelSearch, Me as FCCSidePanelTabs, Ze as FCCSidebar, it as FCCThemeToggle, Ke as FCCWorkspaceHeader, Kn as FilterBar, jr as FilterIcon, nr as InboxIcon, or as InitiativesIcon, zt as Input, rr as IssuesIcon, $n as KPICard, qn as KanbanBoard, Yn as KanbanCard, Jn as KanbanColumn, Nr as LabelIcon, Cr as LinkIcon, cr as MoreIcon, tr as NotificationsPanel, jn as PresenceAvatar, kn as PresenceDot, br as PriorityHigh, Sr as PriorityLow, xr as PriorityMedium, yr as PriorityUrgent, sr as ProjectsIcon, ar as PulseIcon, Hn as QueueItem, ir as ReviewsIcon, lr as SearchIcon, Gt as SearchableSelect, Tr as SettingsIcon, Kt as Sheet, qt as SheetFooter, ot as Spinner, pr as StarIcon, er as StatCard, _r as StatusBacklog, vr as StatusCancelled, hr as StatusDone, mr as StatusInProgress, Xt as StatusMetric, gr as StatusTodo, Zt as Switch, Xn as TableBoard, Zn as TableBoardGroup, Qn as TableBoardRow, $t as Tabs, nn as TabsContent, en as TabsList, tn as TabsTrigger, rn as Textarea, Ce as ThemeProvider, Z as TicketLinkChip, _e as ToastProvider, an as Tooltip, wr as TrashIcon, Mr as UserIcon, un as ViewModeToggle, fn as WorkspaceTabs, De as useFCCAppShell, we as useTheme, ve as useToast };