@freedom-code-compliance/fcc-redesign 0.1.40 → 0.1.41

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, 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";
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, GripVertical as E, Hash as D, Info as O, LayoutGrid as k, List as A, Loader2 as j, LogOut as M, Map as N, Menu as P, Mic as F, MicOff as I, Minus as L, Moon as R, MoreHorizontal as z, Pause as ee, Phone as te, PhoneForwarded as ne, PhoneIncoming as re, PhoneMissed as ie, PhoneOff as ae, Pin as oe, PinOff as se, Play as ce, Search as B, Sun as le, TrendingDown as ue, TrendingUp as de, UserPlus as fe, Voicemail as pe, X as V } from "lucide-react";
3
+ import { Fragment as me, 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 me = e(null), he = {
6
+ var he = e(null), ge = {
7
7
  success: /* @__PURE__ */ H(v, {
8
8
  size: 16,
9
9
  style: { color: "var(--accent-green)" }
@@ -16,12 +16,12 @@ var me = e(null), he = {
16
16
  size: 16,
17
17
  style: { color: "var(--accent-yellow)" }
18
18
  }),
19
- info: /* @__PURE__ */ H(D, {
19
+ info: /* @__PURE__ */ H(O, {
20
20
  size: 16,
21
21
  style: { color: "var(--accent-blue)" }
22
22
  })
23
23
  };
24
- function ge({ toast: e, onDismiss: t }) {
24
+ function _e({ 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 ge({ toast: e, onDismiss: t }) {
38
38
  children: [
39
39
  /* @__PURE__ */ H("span", {
40
40
  className: "toast-icon",
41
- children: he[e.type] || he.info
41
+ children: ge[e.type] || ge.info
42
42
  }),
43
43
  /* @__PURE__ */ U("div", {
44
44
  className: "toast-content",
@@ -68,7 +68,7 @@ function ge({ toast: e, onDismiss: t }) {
68
68
  ]
69
69
  });
70
70
  }
71
- function _e({ children: e }) {
71
+ function ve({ 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 _e({ children: e }) {
78
78
  }, []), a = i((e) => {
79
79
  n((t) => t.filter((t) => t.id !== e));
80
80
  }, []);
81
- return /* @__PURE__ */ U(me.Provider, {
81
+ return /* @__PURE__ */ U(he.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(ge, {
85
+ children: t.map((e) => /* @__PURE__ */ H(_e, {
86
86
  toast: e,
87
87
  onDismiss: a
88
88
  }, e.id))
89
89
  })]
90
90
  });
91
91
  }
92
- function ve() {
93
- let e = a(me);
92
+ function ye() {
93
+ let e = a(he);
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 ye = e(void 0), be = "dark", xe = "fcc-theme";
100
- function Se(e) {
99
+ var be = e(void 0), xe = "dark", Se = "fcc-theme";
100
+ function Ce(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 Ce({ children: e, defaultTheme: t = be, storageKey: n = xe }) {
105
+ function we({ children: e, defaultTheme: t = xe, storageKey: n = Se }) {
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), Se(r);
109
- }, [n, r]), /* @__PURE__ */ H(ye.Provider, {
108
+ typeof window < "u" && window.localStorage.setItem(n, r), Ce(r);
109
+ }, [n, r]), /* @__PURE__ */ H(be.Provider, {
110
110
  value: {
111
111
  theme: r,
112
112
  setTheme: i,
@@ -117,22 +117,22 @@ function Ce({ children: e, defaultTheme: t = be, storageKey: n = xe }) {
117
117
  children: e
118
118
  });
119
119
  }
120
- function we() {
121
- let e = a(ye);
120
+ function Te() {
121
+ let e = a(be);
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 Te({ children: e, ...t }) {
128
- return /* @__PURE__ */ H(Ce, {
127
+ function Ee({ children: e, ...t }) {
128
+ return /* @__PURE__ */ H(we, {
129
129
  ...t,
130
- children: /* @__PURE__ */ H(_e, { children: e })
130
+ children: /* @__PURE__ */ H(ve, { children: e })
131
131
  });
132
132
  }
133
133
  //#endregion
134
134
  //#region src/components/layout/FCCAppShellContext.jsx
135
- var G = () => {}, Ee = e({
135
+ var G = () => {}, De = e({
136
136
  sidebarPinned: !1,
137
137
  setSidebarPinned: G,
138
138
  toggleSidebarPinned: G,
@@ -144,13 +144,13 @@ var G = () => {}, Ee = e({
144
144
  pinnable: !1,
145
145
  mobileMenuEnabled: !1
146
146
  });
147
- function De() {
148
- return a(Ee);
147
+ function Oe() {
148
+ return a(De);
149
149
  }
150
150
  //#endregion
151
151
  //#region src/components/layout/FCCSidePanel.jsx
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 = "" }) {
152
+ var K = (...e) => e.filter(Boolean).join(" "), ke = 300;
153
+ function Ae({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: l = "" }) {
154
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);
155
155
  o(() => () => {
156
156
  p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null);
@@ -168,7 +168,7 @@ function ke({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1,
168
168
  ]), o(() => {
169
169
  if (!(e || !y)) return m.current = window.setTimeout(() => {
170
170
  b(!1), g(null), m.current = null;
171
- }, Oe), () => {
171
+ }, ke), () => {
172
172
  m.current &&= (window.clearTimeout(m.current), null);
173
173
  };
174
174
  }, [e, y]);
@@ -188,7 +188,7 @@ function ke({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1,
188
188
  })]
189
189
  });
190
190
  }
191
- function Ae({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
191
+ function je({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
192
192
  return /* @__PURE__ */ U("div", {
193
193
  className: K("fcc-side-panel-header", i),
194
194
  children: [/* @__PURE__ */ U("div", {
@@ -211,13 +211,13 @@ function Ae({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }
211
211
  })]
212
212
  });
213
213
  }
214
- function je({ children: e, className: t = "" }) {
214
+ function Me({ children: e, className: t = "" }) {
215
215
  return /* @__PURE__ */ H("div", {
216
216
  className: K("fcc-side-panel-body", t),
217
217
  children: e
218
218
  });
219
219
  }
220
- function Me({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
220
+ function Ne({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
221
221
  return /* @__PURE__ */ H("div", {
222
222
  className: K("fcc-side-panel-tabs", r),
223
223
  children: e.map((e, r) => /* @__PURE__ */ H("button", {
@@ -227,7 +227,7 @@ function Me({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = ""
227
227
  }, e))
228
228
  });
229
229
  }
230
- function Ne({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
230
+ function Pe({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
231
231
  return /* @__PURE__ */ U("div", {
232
232
  className: K("fcc-side-panel-search", r),
233
233
  children: [/* @__PURE__ */ H(B, { size: 13 }), n ? /* @__PURE__ */ H("input", {
@@ -242,13 +242,13 @@ function Ne({ placeholder: e = "Search...", value: t, onChange: n, className: r
242
242
  })]
243
243
  });
244
244
  }
245
- function Pe({ children: e, className: t = "" }) {
245
+ function Fe({ children: e, className: t = "" }) {
246
246
  return /* @__PURE__ */ H("div", {
247
247
  className: K("fcc-side-panel-group-label", t),
248
248
  children: e
249
249
  });
250
250
  }
251
- function Fe({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
251
+ function Ie({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
252
252
  return /* @__PURE__ */ U("div", {
253
253
  className: K("fcc-side-panel-item", a),
254
254
  onClick: i,
@@ -274,7 +274,7 @@ function Fe({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "
274
274
  ]
275
275
  });
276
276
  }
277
- function Ie({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
277
+ function Le({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
278
278
  return /* @__PURE__ */ U("div", {
279
279
  className: K("fcc-side-panel-card", o),
280
280
  onClick: a,
@@ -300,7 +300,7 @@ function Ie({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, cl
300
300
  })]
301
301
  });
302
302
  }
303
- function Le({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
303
+ function Re({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
304
304
  return /* @__PURE__ */ U("div", {
305
305
  className: K("fcc-side-panel-contact", r && "active", o),
306
306
  onClick: a,
@@ -320,20 +320,20 @@ function Le({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, cla
320
320
  ]
321
321
  });
322
322
  }
323
- function Re({ children: e, onClick: t, className: n = "" }) {
323
+ function ze({ children: e, onClick: t, className: n = "" }) {
324
324
  return /* @__PURE__ */ H("div", {
325
325
  className: K("fcc-side-panel-action", n),
326
326
  onClick: t,
327
327
  children: e
328
328
  });
329
329
  }
330
- function ze({ children: e, className: t = "" }) {
330
+ function Be({ children: e, className: t = "" }) {
331
331
  return /* @__PURE__ */ H("div", {
332
332
  className: K("fcc-side-panel-chat-wrap", t),
333
333
  children: e
334
334
  });
335
335
  }
336
- function Be({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
336
+ function Ve({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
337
337
  return /* @__PURE__ */ U("div", {
338
338
  className: K("fcc-side-panel-conversation", i),
339
339
  children: [
@@ -358,7 +358,7 @@ function Be({ title: e, headerActions: t, messages: n = [], input: r, className:
358
358
  ]
359
359
  });
360
360
  }
361
- function Ve({ from: e = "other", meta: t, children: n, className: r = "" }) {
361
+ function He({ from: e = "other", meta: t, children: n, className: r = "" }) {
362
362
  let i = e === "you";
363
363
  return /* @__PURE__ */ U("div", {
364
364
  className: K("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
@@ -373,7 +373,7 @@ function Ve({ from: e = "other", meta: t, children: n, className: r = "" }) {
373
373
  }
374
374
  //#endregion
375
375
  //#region src/components/layout/FCCBreadcrumbs.jsx
376
- function He(e, t) {
376
+ function Ue(e, t) {
377
377
  let n = [
378
378
  "fcc-breadcrumb-item",
379
379
  t ? "current" : "",
@@ -396,7 +396,7 @@ function He(e, t) {
396
396
  children: e.label
397
397
  });
398
398
  }
399
- function Ue({ items: e = [], className: t = "" }) {
399
+ function We({ items: e = [], className: t = "" }) {
400
400
  let n = e.filter((e) => e?.label);
401
401
  return n.length === 0 ? null : /* @__PURE__ */ H("nav", {
402
402
  className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
@@ -408,25 +408,25 @@ function Ue({ items: e = [], className: t = "" }) {
408
408
  children: [t > 0 && /* @__PURE__ */ H("span", {
409
409
  className: "fcc-breadcrumb-sep",
410
410
  children: "/"
411
- }), He(e, r)]
411
+ }), Ue(e, r)]
412
412
  }, e.key || e.label || t);
413
413
  })
414
414
  });
415
415
  }
416
416
  //#endregion
417
417
  //#region src/components/layout/FCCHeaderStatus.jsx
418
- var We = {
418
+ var Ge = {
419
419
  success: "fcc-header-status-success",
420
420
  warning: "fcc-header-status-warning",
421
421
  danger: "fcc-header-status-danger",
422
422
  info: "fcc-header-status-info",
423
423
  neutral: "fcc-header-status-neutral"
424
424
  };
425
- function Ge({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
425
+ function Ke({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
426
426
  return e ? /* @__PURE__ */ U("div", {
427
427
  className: [
428
428
  "fcc-header-status",
429
- We[t] || We.neutral,
429
+ Ge[t] || Ge.neutral,
430
430
  r
431
431
  ].filter(Boolean).join(" "),
432
432
  children: [/* @__PURE__ */ H("span", {
@@ -437,8 +437,8 @@ function Ge({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
437
437
  }
438
438
  //#endregion
439
439
  //#region src/components/layout/FCCWorkspaceHeader.jsx
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;
440
+ function qe({ 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 } = Oe(), d = o && c && s;
442
442
  return /* @__PURE__ */ U("header", {
443
443
  className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
444
444
  children: [/* @__PURE__ */ U("div", {
@@ -450,12 +450,12 @@ function Ke({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
450
450
  "aria-label": l ? "Close menu" : "Open menu",
451
451
  "aria-expanded": l,
452
452
  title: l ? "Close menu" : "Open menu",
453
- children: /* @__PURE__ */ H(N, { size: 18 })
454
- }), r || /* @__PURE__ */ H(Ue, { items: e })]
453
+ children: /* @__PURE__ */ H(P, { size: 18 })
454
+ }), r || /* @__PURE__ */ H(We, { items: e })]
455
455
  }), /* @__PURE__ */ U("div", {
456
456
  className: "fcc-workspace-header-right",
457
457
  children: [
458
- t && /* @__PURE__ */ H(Ge, { ...t }),
458
+ t && /* @__PURE__ */ H(Ke, { ...t }),
459
459
  n,
460
460
  i
461
461
  ]
@@ -464,8 +464,8 @@ function Ke({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
464
464
  }
465
465
  //#endregion
466
466
  //#region src/components/layout/FCCMainWindow.jsx
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, {
467
+ function Je({ 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(Ae, {
469
469
  open: o.open,
470
470
  width: o.width,
471
471
  expandedWidth: o.expandedWidth,
@@ -479,7 +479,7 @@ function qe({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
479
479
  return /* @__PURE__ */ U("div", {
480
480
  className: ["fcc-main-window", c].filter(Boolean).join(" "),
481
481
  children: [
482
- r || /* @__PURE__ */ H(Ke, {
482
+ r || /* @__PURE__ */ H(qe, {
483
483
  breadcrumbs: e,
484
484
  status: t,
485
485
  actions: n,
@@ -500,7 +500,7 @@ function qe({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
500
500
  }
501
501
  //#endregion
502
502
  //#region src/components/layout/FCCSidebar.jsx
503
- function Je(e, t) {
503
+ function Ye(e, t) {
504
504
  if (!e.disabled) {
505
505
  if (e.onClick) {
506
506
  e.onClick(e);
@@ -509,10 +509,10 @@ function Je(e, t) {
509
509
  t?.(e);
510
510
  }
511
511
  }
512
- function Ye(e, t) {
512
+ function Xe(e, t) {
513
513
  return !e.childrenSections?.length || !t ? !1 : e.childrenSections.some((e) => e.items?.some((e) => e.key === t));
514
514
  }
515
- function Xe(e, t) {
515
+ function Ze(e, t) {
516
516
  if (!t.trim()) return e;
517
517
  let n = t.trim().toLowerCase();
518
518
  return e.map((e) => ({
@@ -520,8 +520,8 @@ function Xe(e, t) {
520
520
  items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
521
521
  })).filter((e) => e.items.length > 0);
522
522
  }
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 && _;
523
+ function Qe({ 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 } = Oe(), x = m && !_, S = v && _;
525
525
  function C(e, t) {
526
526
  p((n) => ({
527
527
  ...n,
@@ -556,7 +556,7 @@ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
556
556
  "aria-label": h ? "Unpin sidebar" : "Pin sidebar open",
557
557
  title: h ? "Unpin sidebar" : "Pin sidebar open",
558
558
  "aria-pressed": h,
559
- children: H(h ? oe : ae, { size: 14 })
559
+ children: H(h ? se : oe, { size: 14 })
560
560
  }) : null
561
561
  ]
562
562
  }),
@@ -564,7 +564,7 @@ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
564
564
  className: "fcc-sidebar-nav",
565
565
  "aria-label": `${e} navigation`,
566
566
  children: n.map((e) => {
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) : [];
567
+ let t = e.childrenSections?.length > 0, n = Xe(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Ze(e.childrenSections, s) : [];
568
568
  return /* @__PURE__ */ U("div", {
569
569
  className: [
570
570
  "fcc-sidebar-entry",
@@ -579,7 +579,7 @@ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
579
579
  e.disabled ? "disabled" : ""
580
580
  ].filter(Boolean).join(" "),
581
581
  onClick: () => {
582
- t && C(e.key, !0), Je(e, i);
582
+ t && C(e.key, !0), Ye(e, i);
583
583
  },
584
584
  "aria-current": a ? "page" : void 0,
585
585
  disabled: e.disabled,
@@ -641,7 +641,7 @@ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
641
641
  children: e.items.map((e) => /* @__PURE__ */ H("button", {
642
642
  type: "button",
643
643
  className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
644
- onClick: () => Je(e, i),
644
+ onClick: () => Ye(e, i),
645
645
  title: e.label,
646
646
  children: /* @__PURE__ */ H("span", {
647
647
  className: "fcc-sidebar-label",
@@ -682,7 +682,7 @@ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
682
682
  title: "Logout",
683
683
  "aria-label": "Logout",
684
684
  onClick: s,
685
- children: /* @__PURE__ */ H(j, { size: 16 })
685
+ children: /* @__PURE__ */ H(M, { size: 16 })
686
686
  })]
687
687
  })
688
688
  ]
@@ -690,8 +690,8 @@ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
690
690
  }
691
691
  //#endregion
692
692
  //#region src/components/layout/FCCAppShell.jsx
693
- var Qe = "fcc-sidebar-pinned", $e = 1024;
694
- function et(e) {
693
+ var $e = "fcc-sidebar-pinned", et = 1024;
694
+ function tt(e) {
695
695
  if (typeof window > "u") return !1;
696
696
  try {
697
697
  return window.localStorage.getItem(e) === "true";
@@ -699,13 +699,13 @@ function et(e) {
699
699
  return !1;
700
700
  }
701
701
  }
702
- function tt(e, t) {
702
+ function nt(e, t) {
703
703
  if (!(typeof window > "u")) try {
704
704
  window.localStorage.setItem(e, t ? "true" : "false");
705
705
  } catch {}
706
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);
707
+ function rt({ 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 = et, pinStorageKey: O = $e }) {
708
+ let [k, A] = d(() => T ? tt(O) : !1), [j, M] = d(!1), [N, P] = d(() => typeof window > "u" ? 1920 : window.innerWidth);
709
709
  o(() => {
710
710
  if (typeof window > "u") return;
711
711
  let e = () => P(window.innerWidth);
@@ -713,7 +713,7 @@ function nt({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
713
713
  }, []);
714
714
  let F = E && N < D, I = F && j;
715
715
  o(() => {
716
- T && tt(O, k);
716
+ T && nt(O, k);
717
717
  }, [
718
718
  T,
719
719
  O,
@@ -752,12 +752,12 @@ function nt({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
752
752
  I && "fcc-mobile-menu-open",
753
753
  b
754
754
  ].filter(Boolean).join(" ");
755
- return /* @__PURE__ */ H(Ee.Provider, {
755
+ return /* @__PURE__ */ H(De.Provider, {
756
756
  value: ee,
757
757
  children: /* @__PURE__ */ U("div", {
758
758
  className: te,
759
759
  children: [
760
- /* @__PURE__ */ H(Ze, {
760
+ /* @__PURE__ */ H(Qe, {
761
761
  appName: e,
762
762
  logo: t,
763
763
  navItems: n,
@@ -768,7 +768,7 @@ function nt({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
768
768
  onLogout: u,
769
769
  className: x
770
770
  }),
771
- /* @__PURE__ */ H(qe, {
771
+ /* @__PURE__ */ H(Je, {
772
772
  breadcrumbs: f,
773
773
  status: p,
774
774
  headerActions: m,
@@ -792,8 +792,8 @@ function nt({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
792
792
  }
793
793
  //#endregion
794
794
  //#region src/components/layout/FCCBrandLogo.jsx
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;
795
+ function it({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
796
+ let { theme: a } = Te(), o = a === "dark" ? e || t : t || e;
797
797
  return o ? /* @__PURE__ */ H("img", {
798
798
  src: o,
799
799
  alt: n,
@@ -803,8 +803,8 @@ function rt({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
803
803
  }
804
804
  //#endregion
805
805
  //#region src/components/layout/FCCThemeToggle.jsx
806
- function it({ className: e = "" }) {
807
- let { theme: t, toggleTheme: n } = we(), r = t === "dark";
806
+ function at({ className: e = "" }) {
807
+ let { theme: t, toggleTheme: n } = Te(), r = t === "dark";
808
808
  return /* @__PURE__ */ H("button", {
809
809
  type: "button",
810
810
  onClick: n,
@@ -817,15 +817,15 @@ function it({ className: e = "" }) {
817
817
  ].filter(Boolean).join(" "),
818
818
  title: r ? "Switch to light mode" : "Switch to dark mode",
819
819
  "aria-label": r ? "Switch to light mode" : "Switch to dark mode",
820
- children: H(r ? L : ce, { size: 16 })
820
+ children: H(r ? R : le, { size: 16 })
821
821
  });
822
822
  }
823
823
  //#endregion
824
824
  //#region src/components/ui/AppLoader.jsx
825
- function at({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
825
+ function ot({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
826
826
  return t ? /* @__PURE__ */ U("div", {
827
827
  className: `loader-fullscreen ${n}`,
828
- children: [/* @__PURE__ */ H(A, {
828
+ children: [/* @__PURE__ */ H(j, {
829
829
  size: 32,
830
830
  className: "loader-spin"
831
831
  }), e && /* @__PURE__ */ H("span", {
@@ -834,7 +834,7 @@ function at({ label: e = "Loading...", fullscreen: t = !1, className: n = "" })
834
834
  })]
835
835
  }) : /* @__PURE__ */ U("div", {
836
836
  className: `loader ${n}`,
837
- children: [/* @__PURE__ */ H(A, {
837
+ children: [/* @__PURE__ */ H(j, {
838
838
  size: 20,
839
839
  className: "loader-spin"
840
840
  }), e && /* @__PURE__ */ H("span", {
@@ -843,13 +843,13 @@ function at({ label: e = "Loading...", fullscreen: t = !1, className: n = "" })
843
843
  })]
844
844
  });
845
845
  }
846
- function ot({ size: e = 16, className: t = "" }) {
847
- return /* @__PURE__ */ H(A, {
846
+ function st({ size: e = 16, className: t = "" }) {
847
+ return /* @__PURE__ */ H(j, {
848
848
  size: e,
849
849
  className: `loader-spin ${t}`
850
850
  });
851
851
  }
852
- function st({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
852
+ function ct({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
853
853
  let s = /* @__PURE__ */ U("div", {
854
854
  className: "fcc-loader-stage",
855
855
  style: { "--fcc-loader-size": `${n}px` },
@@ -857,14 +857,14 @@ function st({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
857
857
  children: [
858
858
  /* @__PURE__ */ H("span", { className: "fcc-loader-ring" }),
859
859
  /* @__PURE__ */ H("span", { className: "fcc-loader-glow" }),
860
- /* @__PURE__ */ H(rt, {
860
+ /* @__PURE__ */ H(it, {
861
861
  darkSrc: r,
862
862
  lightSrc: i,
863
863
  alt: a,
864
864
  className: "fcc-loader-logo"
865
865
  })
866
866
  ]
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", {
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(me, { children: [l[1], /* @__PURE__ */ U("span", {
868
868
  className: "fcc-loader-dots",
869
869
  "aria-hidden": "true",
870
870
  children: [
@@ -894,7 +894,7 @@ function st({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
894
894
  }
895
895
  //#endregion
896
896
  //#region src/components/ui/FCCDetailsPanel.jsx
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 = "" }) {
897
+ function lt({ 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 = "" }) {
898
898
  let [x, S] = d(!1), [C, w] = d(!1), [T, E] = d(!1), [D, O] = d(() => {
899
899
  if (!y || typeof window > "u") return null;
900
900
  let e = window.localStorage.getItem(y), t = e ? parseInt(e, 10) : NaN;
@@ -974,7 +974,7 @@ function ct({ open: e, onClose: t, title: n, header: r, children: a, loading: s
974
974
  className: "fcc-details-panel-body",
975
975
  children: s ? /* @__PURE__ */ H("div", {
976
976
  className: "fcc-details-panel-loading",
977
- children: /* @__PURE__ */ H(st, {
977
+ children: /* @__PURE__ */ H(ct, {
978
978
  label: c,
979
979
  size: l,
980
980
  darkSrc: f,
@@ -988,8 +988,8 @@ function ct({ open: e, onClose: t, title: n, header: r, children: a, loading: s
988
988
  }
989
989
  //#endregion
990
990
  //#region src/components/ui/FCCFullPagePanel.jsx
991
- var lt = 220;
992
- function ut({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
991
+ var ut = 220;
992
+ function dt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
993
993
  let [s, c] = d(e ? "open" : "closed"), l = e || s !== "closed";
994
994
  return o(() => {
995
995
  if (a) return l ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
@@ -1011,7 +1011,7 @@ function ut({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
1011
1011
  return () => cancelAnimationFrame(e);
1012
1012
  }
1013
1013
  if (s === "closed") return;
1014
- let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), lt);
1014
+ let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), ut);
1015
1015
  return () => {
1016
1016
  cancelAnimationFrame(t), window.clearTimeout(n);
1017
1017
  };
@@ -1026,73 +1026,235 @@ function ut({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
1026
1026
  })
1027
1027
  }), document.body);
1028
1028
  }
1029
- function dt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose: a, className: o = "" }) {
1029
+ function ft({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, endActions: a, onClose: o, className: s = "" }) {
1030
1030
  return /* @__PURE__ */ U("div", {
1031
- className: `fcc-fpp-header ${o}`,
1032
- children: [/* @__PURE__ */ U("div", {
1033
- className: "fcc-fpp-header-lead",
1034
- children: [r, /* @__PURE__ */ U("div", {
1035
- className: "fcc-fpp-header-titles",
1036
- children: [
1037
- n && /* @__PURE__ */ H("span", {
1038
- className: "fcc-fpp-eyebrow",
1039
- children: n
1040
- }),
1041
- e && /* @__PURE__ */ H("h2", {
1042
- className: "fcc-fpp-title",
1043
- children: e
1044
- }),
1045
- t && /* @__PURE__ */ H("p", {
1046
- className: "fcc-fpp-subtitle",
1047
- children: t
1048
- })
1049
- ]
1050
- })]
1031
+ className: `fcc-fpp-header ${s}`,
1032
+ children: [n && /* @__PURE__ */ H("div", {
1033
+ className: "fcc-fpp-header-eyebrow-row",
1034
+ children: /* @__PURE__ */ H("span", {
1035
+ className: "fcc-fpp-eyebrow",
1036
+ children: n
1037
+ })
1051
1038
  }), /* @__PURE__ */ U("div", {
1052
- className: "fcc-fpp-header-actions",
1053
- children: [i, a && /* @__PURE__ */ H("button", {
1054
- type: "button",
1055
- className: "btn btn-ghost btn-icon btn-sm",
1056
- onClick: a,
1057
- "aria-label": "Close panel",
1058
- children: /* @__PURE__ */ H(V, { size: 16 })
1059
- })]
1039
+ className: "fcc-fpp-header-main-row",
1040
+ children: [
1041
+ r && /* @__PURE__ */ H("span", {
1042
+ className: "fcc-fpp-header-leading",
1043
+ children: r
1044
+ }),
1045
+ e && /* @__PURE__ */ H("h2", {
1046
+ className: "fcc-fpp-title",
1047
+ children: e
1048
+ }),
1049
+ t && /* @__PURE__ */ H("p", {
1050
+ className: "fcc-fpp-subtitle",
1051
+ children: t
1052
+ }),
1053
+ i && /* @__PURE__ */ H("div", {
1054
+ className: "fcc-fpp-header-actions",
1055
+ children: i
1056
+ }),
1057
+ a && /* @__PURE__ */ H("div", {
1058
+ className: "fcc-fpp-header-end-actions",
1059
+ children: a
1060
+ }),
1061
+ o && /* @__PURE__ */ H("button", {
1062
+ type: "button",
1063
+ className: "btn btn-ghost btn-icon btn-sm fcc-fpp-header-close",
1064
+ onClick: o,
1065
+ "aria-label": "Close panel",
1066
+ children: /* @__PURE__ */ H(V, { size: 16 })
1067
+ })
1068
+ ]
1060
1069
  })]
1061
1070
  });
1062
1071
  }
1063
- function ft({ children: e, className: t = "" }) {
1072
+ function pt({ children: e, className: t = "" }) {
1064
1073
  return /* @__PURE__ */ H("div", {
1065
1074
  className: `fcc-fpp-toolbar ${t}`,
1066
1075
  children: e
1067
1076
  });
1068
1077
  }
1069
- function pt({ children: e, className: t = "" }) {
1078
+ function mt({ children: e, className: t = "" }) {
1070
1079
  return /* @__PURE__ */ H("div", {
1071
1080
  className: `fcc-fpp-body ${t}`,
1072
1081
  children: e
1073
1082
  });
1074
1083
  }
1075
- function mt({ children: e, className: t = "" }) {
1084
+ function ht({ children: e, className: t = "" }) {
1076
1085
  return /* @__PURE__ */ H("div", {
1077
1086
  className: `fcc-fpp-main ${t}`,
1078
1087
  children: e
1079
1088
  });
1080
1089
  }
1081
- function ht({ children: e, side: t = "right", className: n = "" }) {
1082
- return /* @__PURE__ */ H("aside", {
1083
- className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} ${n}`,
1084
- children: e
1090
+ function gt({ children: e, side: t = "right", footer: n, className: r = "" }) {
1091
+ return /* @__PURE__ */ U("aside", {
1092
+ className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} ${r}`,
1093
+ children: [/* @__PURE__ */ H("div", {
1094
+ className: "fcc-fpp-sidebar-body",
1095
+ children: e
1096
+ }), n && /* @__PURE__ */ H("div", {
1097
+ className: "fcc-fpp-sidebar-footer",
1098
+ children: n
1099
+ })]
1085
1100
  });
1086
1101
  }
1087
- function gt({ children: e, className: t = "" }) {
1102
+ function _t({ children: e, className: t = "" }) {
1088
1103
  return /* @__PURE__ */ H("div", {
1089
1104
  className: `fcc-fpp-footer ${t}`,
1090
1105
  children: e
1091
1106
  });
1092
1107
  }
1108
+ function vt({ label: e, value: t, children: n, className: r = "" }) {
1109
+ return /* @__PURE__ */ U("div", {
1110
+ className: r,
1111
+ children: [(e || t) && /* @__PURE__ */ U("div", {
1112
+ className: "fcc-fpp-sidebar-footer-row",
1113
+ children: [e && /* @__PURE__ */ H("span", {
1114
+ className: "fcc-fpp-sidebar-footer-label",
1115
+ children: e
1116
+ }), t && /* @__PURE__ */ H("span", {
1117
+ className: "fcc-fpp-sidebar-footer-value",
1118
+ children: t
1119
+ })]
1120
+ }), n && /* @__PURE__ */ H("div", {
1121
+ className: "fcc-fpp-sidebar-footer-actions",
1122
+ children: n
1123
+ })]
1124
+ });
1125
+ }
1126
+ function yt({ leading: e, children: t, actions: n, className: r = "" }) {
1127
+ return /* @__PURE__ */ U("div", {
1128
+ className: `fcc-fpp-subheader ${r}`,
1129
+ children: [
1130
+ e && /* @__PURE__ */ H("div", {
1131
+ className: "fcc-fpp-subheader-lead",
1132
+ children: e
1133
+ }),
1134
+ t !== void 0 && /* @__PURE__ */ H("div", {
1135
+ className: "fcc-fpp-subheader-content",
1136
+ children: t
1137
+ }),
1138
+ n && /* @__PURE__ */ H("div", {
1139
+ className: "fcc-fpp-subheader-actions",
1140
+ children: n
1141
+ })
1142
+ ]
1143
+ });
1144
+ }
1145
+ var bt = 200, xt = 720, St = 3, Ct = 8;
1146
+ function wt(e) {
1147
+ return typeof window > "u" ? e : Math.floor(window.innerWidth / St);
1148
+ }
1149
+ function Tt({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r = bt, maxWidth: a = xt, storageKey: s, className: c = "", onWidthChange: l, footer: f }) {
1150
+ let [p, m] = d(() => wt(a)), [h, g] = d(!1), [_, v] = d(() => {
1151
+ if (typeof window > "u" || !s) return Math.min(n, wt(a));
1152
+ let e = window.localStorage.getItem(s), t = e ? Number(e) : NaN, i = wt(a);
1153
+ return Number.isFinite(t) && t >= r && t <= i ? t : Math.min(n, i);
1154
+ }), y = u(!1), b = u(0), x = u(_);
1155
+ o(() => {
1156
+ if (typeof window > "u") return;
1157
+ let e = () => {
1158
+ let e = wt(a);
1159
+ m(e), v((t) => Math.min(t, e));
1160
+ };
1161
+ return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
1162
+ }, [a]), o(() => {
1163
+ !s || typeof window > "u" || window.localStorage.setItem(s, String(_));
1164
+ }, [s, _]), o(() => {
1165
+ l?.(h ? Ct : _);
1166
+ }, [
1167
+ _,
1168
+ h,
1169
+ l
1170
+ ]);
1171
+ let S = i((e) => {
1172
+ e.preventDefault(), h && g(!1), y.current = !0, b.current = e.clientX, x.current = h ? r : _, document.body.style.cursor = "col-resize", document.body.style.userSelect = "none";
1173
+ let n = e.clientX, i = null, a = () => {
1174
+ if (i = null, !y.current) return;
1175
+ let e = n - b.current, a = t === "right" ? -e : e;
1176
+ v(Math.max(r, Math.min(p, x.current + a)));
1177
+ }, o = (e) => {
1178
+ y.current && (n = e.clientX, i ??= requestAnimationFrame(a));
1179
+ }, s = () => {
1180
+ y.current = !1, i != null && (cancelAnimationFrame(i), i = null), document.body.style.cursor = "", document.body.style.userSelect = "", window.removeEventListener("pointermove", o), window.removeEventListener("pointerup", s);
1181
+ };
1182
+ window.addEventListener("pointermove", o), window.addEventListener("pointerup", s);
1183
+ }, [
1184
+ t,
1185
+ _,
1186
+ r,
1187
+ p,
1188
+ h
1189
+ ]), C = i(() => {
1190
+ g((e) => !e);
1191
+ }, []), w = i((e) => {
1192
+ let n = e.shiftKey ? 32 : 8;
1193
+ e.key === "ArrowLeft" ? (e.preventDefault(), g(!1), v((e) => Math.max(r, Math.min(p, e + (t === "right" ? n : -n))))) : e.key === "ArrowRight" ? (e.preventDefault(), g(!1), v((e) => Math.max(r, Math.min(p, e + (t === "right" ? -n : n))))) : (e.key === "Enter" || e.key === " ") && (e.preventDefault(), g((e) => !e));
1194
+ }, [
1195
+ t,
1196
+ r,
1197
+ p
1198
+ ]), T = h ? Ct : _;
1199
+ return /* @__PURE__ */ U("aside", {
1200
+ className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} fcc-fpp-sidebar-resizable ${h ? "fcc-fpp-sidebar-collapsed" : ""} ${c}`,
1201
+ style: { width: `${T}px` },
1202
+ children: [/* @__PURE__ */ H("div", {
1203
+ role: "separator",
1204
+ "aria-orientation": "vertical",
1205
+ "aria-label": `Resize ${t} sidebar (double-click to ${h ? "expand" : "collapse"})`,
1206
+ "aria-expanded": !h,
1207
+ tabIndex: 0,
1208
+ className: `fcc-fpp-sidebar-resizer fcc-fpp-sidebar-resizer-${t}`,
1209
+ onPointerDown: S,
1210
+ onDoubleClick: C,
1211
+ onKeyDown: w,
1212
+ title: h ? "Double-click to expand" : "Drag to resize, double-click to collapse",
1213
+ children: /* @__PURE__ */ H("span", {
1214
+ className: "fcc-fpp-sidebar-resizer-grip",
1215
+ "aria-hidden": "true",
1216
+ children: /* @__PURE__ */ H(E, { size: 10 })
1217
+ })
1218
+ }), !h && /* @__PURE__ */ U("div", {
1219
+ className: "fcc-fpp-sidebar-inner",
1220
+ children: [/* @__PURE__ */ H("div", {
1221
+ className: "fcc-fpp-sidebar-body",
1222
+ children: e
1223
+ }), f && /* @__PURE__ */ H("div", {
1224
+ className: "fcc-fpp-sidebar-footer",
1225
+ children: f
1226
+ })]
1227
+ })]
1228
+ });
1229
+ }
1230
+ function Et({ children: e, collapsed: t = !1, onCollapsedChange: n, className: r = "", ariaLabel: i = "Document controls", showMinimize: a = !0 }) {
1231
+ return /* @__PURE__ */ H("div", {
1232
+ className: `fcc-fpp-bottom-anchor ${t ? "fcc-fpp-bottom-anchor--collapsed" : ""} ${r}`,
1233
+ children: /* @__PURE__ */ U("div", {
1234
+ className: `fcc-fpp-bottom-wrap ${t ? "fcc-fpp-bottom-wrap--collapsed" : ""}`,
1235
+ children: [/* @__PURE__ */ H("div", {
1236
+ className: "fcc-fpp-bottom-controls",
1237
+ role: "toolbar",
1238
+ "aria-label": i,
1239
+ "aria-hidden": t,
1240
+ children: e
1241
+ }), a && n && !t && /* @__PURE__ */ H("button", {
1242
+ type: "button",
1243
+ className: "fcc-fpp-bottom-minimize",
1244
+ onClick: () => n(!0),
1245
+ "aria-label": "Hide controls",
1246
+ title: "Hide controls",
1247
+ children: /* @__PURE__ */ H(V, {
1248
+ size: 11,
1249
+ strokeWidth: 2.5
1250
+ })
1251
+ })]
1252
+ })
1253
+ });
1254
+ }
1093
1255
  //#endregion
1094
1256
  //#region src/components/ui/Accordion.jsx
1095
- function _t({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
1257
+ function Dt({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
1096
1258
  let [o, s] = d(n);
1097
1259
  return /* @__PURE__ */ U("div", {
1098
1260
  className: `accordion-item ${r}`,
@@ -1120,7 +1282,7 @@ function _t({ title: e, header: t, defaultOpen: n = !1, className: r = "", conte
1120
1282
  })]
1121
1283
  });
1122
1284
  }
1123
- function vt({ items: e = [], className: t = "" }) {
1285
+ function Ot({ items: e = [], className: t = "" }) {
1124
1286
  let [n, r] = d(/* @__PURE__ */ new Set());
1125
1287
  function i(e) {
1126
1288
  r((t) => {
@@ -1162,12 +1324,12 @@ function vt({ items: e = [], className: t = "" }) {
1162
1324
  }
1163
1325
  //#endregion
1164
1326
  //#region src/components/ui/Avatar.jsx
1165
- var yt = {
1327
+ var kt = {
1166
1328
  sm: "avatar-sm",
1167
1329
  md: "",
1168
1330
  lg: "avatar-lg",
1169
1331
  xl: "avatar-xl"
1170
- }, bt = [
1332
+ }, At = [
1171
1333
  "#5e6ad2",
1172
1334
  "#5bb98e",
1173
1335
  "#c9a84e",
@@ -1176,13 +1338,13 @@ var yt = {
1176
1338
  "#5a8ebf",
1177
1339
  "#c4a06a"
1178
1340
  ];
1179
- function xt(e) {
1341
+ function jt(e) {
1180
1342
  let t = 0;
1181
1343
  for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
1182
- return bt[Math.abs(t) % bt.length];
1344
+ return At[Math.abs(t) % At.length];
1183
1345
  }
1184
1346
  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] || "";
1347
+ let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || jt(c), u = kt[r] || "";
1186
1348
  return e && !o ? /* @__PURE__ */ H("img", {
1187
1349
  src: e,
1188
1350
  alt: n || "",
@@ -1203,7 +1365,7 @@ function q({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
1203
1365
  }
1204
1366
  //#endregion
1205
1367
  //#region src/components/ui/Badge.jsx
1206
- var St = {
1368
+ var Mt = {
1207
1369
  default: "var(--text-quaternary)",
1208
1370
  secondary: "var(--text-quaternary)",
1209
1371
  success: "var(--accent-green)",
@@ -1215,7 +1377,7 @@ var St = {
1215
1377
  orange: "var(--accent-orange)"
1216
1378
  };
1217
1379
  function J({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
1218
- let a = St[e] || St.default;
1380
+ let a = Mt[e] || Mt.default;
1219
1381
  return /* @__PURE__ */ U("span", {
1220
1382
  className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
1221
1383
  ...i,
@@ -1227,7 +1389,7 @@ function J({ variant: e = "default", className: t = "", children: n, showDot: r
1227
1389
  }
1228
1390
  //#endregion
1229
1391
  //#region src/components/ui/Button.jsx
1230
- var Ct = {
1392
+ var Nt = {
1231
1393
  default: "btn-primary",
1232
1394
  destructive: "btn-danger",
1233
1395
  success: "btn-success",
@@ -1237,7 +1399,7 @@ var Ct = {
1237
1399
  muted: "btn-muted",
1238
1400
  ghost: "btn-ghost",
1239
1401
  link: "btn-link"
1240
- }, wt = {
1402
+ }, Pt = {
1241
1403
  sm: "btn-sm",
1242
1404
  default: "",
1243
1405
  lg: "btn-lg",
@@ -1247,66 +1409,66 @@ var Ct = {
1247
1409
  ref: a,
1248
1410
  className: [
1249
1411
  "btn",
1250
- Ct[e],
1251
- wt[t],
1412
+ Nt[e],
1413
+ Pt[t],
1252
1414
  n
1253
1415
  ].filter(Boolean).join(" "),
1254
1416
  ...i,
1255
1417
  children: r
1256
1418
  });
1257
- }), Tt = {
1419
+ }), Ft = {
1258
1420
  default: "card-default",
1259
1421
  green: "card-green",
1260
1422
  red: "card-red",
1261
1423
  yellow: "card-yellow"
1262
- }, Et = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
1424
+ }, It = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
1263
1425
  return /* @__PURE__ */ H("div", {
1264
1426
  ref: i,
1265
1427
  className: [
1266
1428
  "card",
1267
- Tt[e],
1429
+ Ft[e],
1268
1430
  t
1269
1431
  ].filter(Boolean).join(" "),
1270
1432
  ...r,
1271
1433
  children: n
1272
1434
  });
1273
- }), Dt = n(function({ className: e = "", children: t, ...n }, r) {
1435
+ }), Lt = n(function({ className: e = "", children: t, ...n }, r) {
1274
1436
  return /* @__PURE__ */ H("div", {
1275
1437
  ref: r,
1276
1438
  className: `card-header ${e}`,
1277
1439
  ...n,
1278
1440
  children: t
1279
1441
  });
1280
- }), Ot = n(function({ className: e = "", children: t, ...n }, r) {
1442
+ }), Rt = n(function({ className: e = "", children: t, ...n }, r) {
1281
1443
  return /* @__PURE__ */ H("h3", {
1282
1444
  ref: r,
1283
1445
  className: `card-title ${e}`,
1284
1446
  ...n,
1285
1447
  children: t
1286
1448
  });
1287
- }), kt = n(function({ className: e = "", children: t, ...n }, r) {
1449
+ }), zt = n(function({ className: e = "", children: t, ...n }, r) {
1288
1450
  return /* @__PURE__ */ H("p", {
1289
1451
  ref: r,
1290
1452
  className: `card-description ${e}`,
1291
1453
  ...n,
1292
1454
  children: t
1293
1455
  });
1294
- }), At = n(function({ className: e = "", children: t, ...n }, r) {
1456
+ }), Bt = n(function({ className: e = "", children: t, ...n }, r) {
1295
1457
  return /* @__PURE__ */ H("div", {
1296
1458
  ref: r,
1297
1459
  className: `card-body ${e}`,
1298
1460
  ...n,
1299
1461
  children: t
1300
1462
  });
1301
- }), jt = n(function({ className: e = "", children: t, ...n }, r) {
1463
+ }), Vt = n(function({ className: e = "", children: t, ...n }, r) {
1302
1464
  return /* @__PURE__ */ H("div", {
1303
1465
  ref: r,
1304
1466
  className: `card-footer ${e}`,
1305
1467
  ...n,
1306
1468
  children: t
1307
1469
  });
1308
- }), Mt = 220;
1309
- function Nt({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
1470
+ }), Ht = 220;
1471
+ function Ut({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
1310
1472
  let s = u(null), [c, l] = d(e ? "open" : "closed"), f = e || c !== "closed";
1311
1473
  return o(() => {
1312
1474
  if (!a) return f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
@@ -1323,7 +1485,7 @@ function Nt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
1323
1485
  return () => cancelAnimationFrame(e);
1324
1486
  }
1325
1487
  if (c === "closed") return;
1326
- let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Mt);
1488
+ let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Ht);
1327
1489
  return () => {
1328
1490
  cancelAnimationFrame(t), window.clearTimeout(n);
1329
1491
  };
@@ -1340,7 +1502,7 @@ function Nt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
1340
1502
  })
1341
1503
  }) : null;
1342
1504
  }
1343
- function Pt({ children: e, onClose: t, className: n = "" }) {
1505
+ function Wt({ children: e, onClose: t, className: n = "" }) {
1344
1506
  return /* @__PURE__ */ U("div", {
1345
1507
  className: `dialog-header ${n}`,
1346
1508
  children: [/* @__PURE__ */ H("div", {
@@ -1353,25 +1515,25 @@ function Pt({ children: e, onClose: t, className: n = "" }) {
1353
1515
  })]
1354
1516
  });
1355
1517
  }
1356
- function Ft({ children: e, className: t = "" }) {
1518
+ function Gt({ children: e, className: t = "" }) {
1357
1519
  return /* @__PURE__ */ H("h3", {
1358
1520
  className: `dialog-title ${t}`,
1359
1521
  children: e
1360
1522
  });
1361
1523
  }
1362
- function It({ children: e, className: t = "" }) {
1524
+ function Kt({ children: e, className: t = "" }) {
1363
1525
  return /* @__PURE__ */ H("p", {
1364
1526
  className: `dialog-description ${t}`,
1365
1527
  children: e
1366
1528
  });
1367
1529
  }
1368
- function Lt({ children: e, className: t = "" }) {
1530
+ function qt({ children: e, className: t = "" }) {
1369
1531
  return /* @__PURE__ */ H("div", {
1370
1532
  className: `dialog-body ${t}`,
1371
1533
  children: e
1372
1534
  });
1373
1535
  }
1374
- function Rt({ children: e, className: t = "" }) {
1536
+ function Jt({ children: e, className: t = "" }) {
1375
1537
  return /* @__PURE__ */ H("div", {
1376
1538
  className: `dialog-footer ${t}`,
1377
1539
  children: e
@@ -1379,7 +1541,7 @@ function Rt({ children: e, className: t = "" }) {
1379
1541
  }
1380
1542
  //#endregion
1381
1543
  //#region src/components/ui/Input.jsx
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) {
1544
+ var Yt = 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) {
1383
1545
  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;
1384
1546
  function I(e) {
1385
1547
  C.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
@@ -1473,7 +1635,7 @@ var zt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1473
1635
  });
1474
1636
  //#endregion
1475
1637
  //#region src/components/ui/DropdownMenu.jsx
1476
- function Bt({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
1638
+ function Xt({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
1477
1639
  let [s, l] = d(!1), [f, p] = d(null), m = u(null), h = u(null);
1478
1640
  return o(() => {
1479
1641
  a?.(s);
@@ -1526,7 +1688,7 @@ function Bt({ trigger: e, children: t, align: n = "left", className: r = "", sid
1526
1688
  }), document.body)]
1527
1689
  });
1528
1690
  }
1529
- function Vt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
1691
+ function Zt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
1530
1692
  return /* @__PURE__ */ U("div", {
1531
1693
  className: `dropdown-item ${r ? "active" : ""} ${a}`,
1532
1694
  onClick: i,
@@ -1550,7 +1712,7 @@ function Vt({ icon: e, children: t, shortcut: n, active: r, onClick: i, classNam
1550
1712
  ]
1551
1713
  });
1552
1714
  }
1553
- function Ht({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
1715
+ function Qt({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
1554
1716
  return /* @__PURE__ */ U("div", {
1555
1717
  className: `dropdown-item ${e ? "active" : ""} ${r}`,
1556
1718
  onClick: () => t?.(!e),
@@ -1563,18 +1725,18 @@ function Ht({ checked: e, onCheckedChange: t, children: n, className: r = "" })
1563
1725
  })]
1564
1726
  });
1565
1727
  }
1566
- function Ut({ children: e, className: t = "" }) {
1728
+ function $t({ children: e, className: t = "" }) {
1567
1729
  return /* @__PURE__ */ H("div", {
1568
1730
  className: `dropdown-label ${t}`,
1569
1731
  children: e
1570
1732
  });
1571
1733
  }
1572
- function Wt({ className: e = "" }) {
1734
+ function en({ className: e = "" }) {
1573
1735
  return /* @__PURE__ */ H("div", { className: `dropdown-divider ${e}` });
1574
1736
  }
1575
1737
  //#endregion
1576
1738
  //#region src/components/ui/SearchableSelect.jsx
1577
- function Gt({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
1739
+ function tn({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
1578
1740
  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);
1579
1741
  o(() => {
1580
1742
  f && w.current && w.current.focus();
@@ -1699,7 +1861,7 @@ function Gt({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
1699
1861
  }
1700
1862
  //#endregion
1701
1863
  //#region src/components/ui/Sheet.jsx
1702
- function Kt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
1864
+ function nn({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
1703
1865
  let s = u(null);
1704
1866
  return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1705
1867
  document.body.style.overflow = "";
@@ -1733,7 +1895,7 @@ function Kt({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
1733
1895
  })
1734
1896
  }) : null;
1735
1897
  }
1736
- function qt({ children: e, className: t = "" }) {
1898
+ function rn({ children: e, className: t = "" }) {
1737
1899
  return /* @__PURE__ */ H("div", {
1738
1900
  className: `sheet-footer ${t}`,
1739
1901
  children: e
@@ -1741,17 +1903,17 @@ function qt({ children: e, className: t = "" }) {
1741
1903
  }
1742
1904
  //#endregion
1743
1905
  //#region src/components/ui/StatusMetric.jsx
1744
- function Jt(...e) {
1906
+ function an(...e) {
1745
1907
  return e.filter(Boolean).join(" ");
1746
1908
  }
1747
- var Yt = {
1909
+ var on = {
1748
1910
  default: "",
1749
1911
  warning: "status-metric--warning"
1750
1912
  };
1751
- function Xt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
1913
+ function sn({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
1752
1914
  let o = r || (t === "warning" ? p : C);
1753
1915
  return /* @__PURE__ */ U("span", {
1754
- className: Jt("status-metric", Yt[t], a),
1916
+ className: an("status-metric", on[t], a),
1755
1917
  children: [n && o && /* @__PURE__ */ H("span", {
1756
1918
  className: "status-metric-icon",
1757
1919
  children: /* @__PURE__ */ H(o, { size: i })
@@ -1763,7 +1925,7 @@ function Xt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconS
1763
1925
  }
1764
1926
  //#endregion
1765
1927
  //#region src/components/ui/Switch.jsx
1766
- function Zt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
1928
+ function cn({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
1767
1929
  return /* @__PURE__ */ U("div", {
1768
1930
  className: "toggle-row",
1769
1931
  children: [i && /* @__PURE__ */ H("span", {
@@ -1781,13 +1943,13 @@ function Zt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "
1781
1943
  }
1782
1944
  //#endregion
1783
1945
  //#region src/components/ui/Tabs.jsx
1784
- var Qt = e({
1946
+ var ln = e({
1785
1947
  value: "",
1786
1948
  onChange: () => {},
1787
1949
  registerTrigger: () => {},
1788
1950
  getTriggerNode: () => null
1789
1951
  });
1790
- function $t({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
1952
+ function un({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
1791
1953
  let [o, s] = d(e || ""), c = u(/* @__PURE__ */ new Map()), l = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
1792
1954
  if (t) {
1793
1955
  c.current.set(e, t);
@@ -1795,7 +1957,7 @@ function $t({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
1795
1957
  }
1796
1958
  c.current.delete(e);
1797
1959
  }, []), m = i((e) => c.current.get(e) || null, []);
1798
- return /* @__PURE__ */ H(Qt.Provider, {
1960
+ return /* @__PURE__ */ H(ln.Provider, {
1799
1961
  value: {
1800
1962
  value: l,
1801
1963
  onChange: f,
@@ -1808,8 +1970,8 @@ function $t({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
1808
1970
  })
1809
1971
  });
1810
1972
  }
1811
- function en({ children: e, className: t = "" }) {
1812
- let { value: n, getTriggerNode: r } = a(Qt), i = u(null);
1973
+ function dn({ children: e, className: t = "" }) {
1974
+ let { value: n, getTriggerNode: r } = a(ln), i = u(null);
1813
1975
  return c(() => {
1814
1976
  let e = i.current, t = r(n);
1815
1977
  if (!e) return;
@@ -1835,8 +1997,8 @@ function en({ children: e, className: t = "" }) {
1835
1997
  }), e]
1836
1998
  });
1837
1999
  }
1838
- function tn({ value: e, children: t, className: n = "" }) {
1839
- let { value: r, onChange: i, registerTrigger: o } = a(Qt), s = r === e;
2000
+ function fn({ value: e, children: t, className: n = "" }) {
2001
+ let { value: r, onChange: i, registerTrigger: o } = a(ln), s = r === e;
1840
2002
  return /* @__PURE__ */ H("button", {
1841
2003
  ref: (t) => o(e, t),
1842
2004
  className: `tab ${s ? "active" : ""} ${n}`,
@@ -1847,8 +2009,8 @@ function tn({ value: e, children: t, className: n = "" }) {
1847
2009
  children: t
1848
2010
  });
1849
2011
  }
1850
- function nn({ value: e, children: t, className: n = "" }) {
1851
- let { value: r } = a(Qt);
2012
+ function pn({ value: e, children: t, className: n = "" }) {
2013
+ let { value: r } = a(ln);
1852
2014
  return r === e ? /* @__PURE__ */ H("div", {
1853
2015
  className: n,
1854
2016
  role: "tabpanel",
@@ -1857,7 +2019,7 @@ function nn({ value: e, children: t, className: n = "" }) {
1857
2019
  }
1858
2020
  //#endregion
1859
2021
  //#region src/components/ui/Textarea.jsx
1860
- var rn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
2022
+ var mn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
1861
2023
  return t || n ? /* @__PURE__ */ U("div", {
1862
2024
  className: ["textarea-wrapper", e].filter(Boolean).join(" "),
1863
2025
  children: [
@@ -1883,7 +2045,7 @@ var rn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
1883
2045
  });
1884
2046
  //#endregion
1885
2047
  //#region src/components/ui/Tooltip.jsx
1886
- function an({ content: e, side: t = "top", children: n, className: r = "" }) {
2048
+ function hn({ content: e, side: t = "top", children: n, className: r = "" }) {
1887
2049
  let [i, a] = d(!1), [s, l] = d(null), f = u(null), p = u(null), m = u(null);
1888
2050
  function h() {
1889
2051
  m.current = setTimeout(() => a(!0), 300);
@@ -1934,17 +2096,17 @@ function an({ content: e, side: t = "top", children: n, className: r = "" }) {
1934
2096
  }
1935
2097
  //#endregion
1936
2098
  //#region src/components/ui/viewModeDefaults.js
1937
- var on = {
2099
+ var gn = {
1938
2100
  kanban: w,
1939
2101
  board: w,
1940
2102
  columns: w,
1941
- table: k,
1942
- list: k,
1943
- rows: k,
1944
- grid: O,
2103
+ table: A,
2104
+ list: A,
2105
+ rows: A,
2106
+ grid: k,
1945
2107
  calendar: h,
1946
- map: M
1947
- }, sn = [{
2108
+ map: N
2109
+ }, _n = [{
1948
2110
  value: "kanban",
1949
2111
  label: "Kanban",
1950
2112
  title: "Board View"
@@ -1955,13 +2117,13 @@ var on = {
1955
2117
  }];
1956
2118
  //#endregion
1957
2119
  //#region src/components/ui/ViewModeToggle.jsx
1958
- function cn(e) {
1959
- return e.icon ? e.icon : on[e.value] ?? null;
2120
+ function vn(e) {
2121
+ return e.icon ? e.icon : gn[e.value] ?? null;
1960
2122
  }
1961
- function ln(e, n) {
2123
+ function yn(e, n) {
1962
2124
  return e ? r(e) ? e : t(e, { size: n }) : null;
1963
2125
  }
1964
- 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 = "" }) {
2126
+ function bn({ options: e = _n, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: l = !1, className: f = "", optionClassName: p = "" }) {
1965
2127
  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(() => {
1966
2128
  let e = h.current, t = g.current.get(y);
1967
2129
  if (e) {
@@ -2023,7 +2185,7 @@ function un({ options: e = sn, value: t, defaultValue: n, onValueChange: r, aria
2023
2185
  "aria-hidden": "true",
2024
2186
  className: "view-mode-toggle-indicator"
2025
2187
  }), e.map((e) => {
2026
- let t = e.value === y, n = ln(cn(e), s);
2188
+ let t = e.value === y, n = yn(vn(e), s);
2027
2189
  return /* @__PURE__ */ U("button", {
2028
2190
  type: "button",
2029
2191
  "aria-pressed": t,
@@ -2053,10 +2215,10 @@ function un({ options: e = sn, value: t, defaultValue: n, onValueChange: r, aria
2053
2215
  }
2054
2216
  //#endregion
2055
2217
  //#region src/components/ui/WorkspaceTabs.jsx
2056
- function dn(e, n) {
2218
+ function xn(e, n) {
2057
2219
  return e ? r(e) ? e : t(e, { size: n }) : null;
2058
2220
  }
2059
- function fn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
2221
+ function Sn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
2060
2222
  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(() => {
2061
2223
  let e = h.current, t = g.current.get(y);
2062
2224
  if (e) {
@@ -2118,7 +2280,7 @@ function fn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
2118
2280
  "aria-hidden": "true",
2119
2281
  className: "workspace-tabs-indicator"
2120
2282
  }), e.map((e) => {
2121
- let t = e.id === y, n = dn(e.icon, s);
2283
+ let t = e.id === y, n = xn(e.icon, s);
2122
2284
  return /* @__PURE__ */ U("button", {
2123
2285
  type: "button",
2124
2286
  role: "tab",
@@ -2156,7 +2318,7 @@ function fn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
2156
2318
  //#endregion
2157
2319
  //#region src/components/ui/CallControlsBar.jsx
2158
2320
  function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, title: o }) {
2159
- return /* @__PURE__ */ H(an, {
2321
+ return /* @__PURE__ */ H(hn, {
2160
2322
  content: o,
2161
2323
  children: /* @__PURE__ */ U("button", {
2162
2324
  type: "button",
@@ -2180,7 +2342,7 @@ function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, ti
2180
2342
  })
2181
2343
  });
2182
2344
  }
2183
- 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 = "" }) {
2345
+ function Cn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onInvite: a, onKeypad: o, onEnd: s, compact: c = !1, hideEnd: l = !1, className: u = "" }) {
2184
2346
  return /* @__PURE__ */ U("div", {
2185
2347
  className: `call-controls-bar ${u}`,
2186
2348
  style: {
@@ -2191,7 +2353,7 @@ function pn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2191
2353
  },
2192
2354
  children: [
2193
2355
  /* @__PURE__ */ H(X, {
2194
- icon: e ? F : P,
2356
+ icon: e ? I : F,
2195
2357
  label: e ? "Unmute" : "Mute",
2196
2358
  onClick: n,
2197
2359
  active: e,
@@ -2199,7 +2361,7 @@ function pn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2199
2361
  title: "Mute (M)"
2200
2362
  }),
2201
2363
  /* @__PURE__ */ H(X, {
2202
- icon: t ? se : z,
2364
+ icon: t ? ce : ee,
2203
2365
  label: t ? "Resume" : "Hold",
2204
2366
  onClick: r,
2205
2367
  active: t,
@@ -2207,28 +2369,28 @@ function pn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2207
2369
  title: "Hold (H)"
2208
2370
  }),
2209
2371
  /* @__PURE__ */ H(X, {
2210
- icon: te,
2372
+ icon: ne,
2211
2373
  label: "Transfer",
2212
2374
  onClick: i,
2213
2375
  compact: c,
2214
2376
  title: "Transfer (T)"
2215
2377
  }),
2216
2378
  /* @__PURE__ */ H(X, {
2217
- icon: de,
2379
+ icon: fe,
2218
2380
  label: "Invite",
2219
2381
  onClick: a,
2220
2382
  compact: c,
2221
2383
  title: "Invite observer"
2222
2384
  }),
2223
2385
  /* @__PURE__ */ H(X, {
2224
- icon: E,
2386
+ icon: D,
2225
2387
  label: "Keypad",
2226
2388
  onClick: o,
2227
2389
  compact: c,
2228
2390
  title: "Keypad"
2229
2391
  }),
2230
2392
  !l && /* @__PURE__ */ H(X, {
2231
- icon: ie,
2393
+ icon: ae,
2232
2394
  label: "End",
2233
2395
  onClick: s,
2234
2396
  danger: !0,
@@ -2240,15 +2402,15 @@ function pn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2240
2402
  }
2241
2403
  //#endregion
2242
2404
  //#region src/components/phone/phoneUtils.js
2243
- function mn(e) {
2405
+ function wn(e) {
2244
2406
  return e == null || Number.isNaN(e) ? "0:00" : `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`;
2245
2407
  }
2246
- function hn(e) {
2408
+ function Tn(e) {
2247
2409
  if (!e) return "";
2248
2410
  let t = new Date(e).getTime() - Date.now();
2249
- return t <= 0 ? "now" : mn(Math.ceil(t / 1e3));
2411
+ return t <= 0 ? "now" : wn(Math.ceil(t / 1e3));
2250
2412
  }
2251
- function gn(e) {
2413
+ function En(e) {
2252
2414
  if (!e) return "";
2253
2415
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 1e3);
2254
2416
  if (n < 60) return "just now";
@@ -2259,12 +2421,12 @@ function gn(e) {
2259
2421
  let a = Math.floor(i / 24);
2260
2422
  return a === 1 ? "Yesterday" : a < 7 ? `${a}d ago` : new Date(e).toLocaleDateString();
2261
2423
  }
2262
- function _n(e) {
2424
+ function Dn(e) {
2263
2425
  if (!e) return "none";
2264
2426
  let t = new Date(e).getTime() - Date.now();
2265
2427
  return t <= 0 ? "overdue" : t < 30 * 1e3 ? "urgent" : t < 120 * 1e3 ? "warning" : "normal";
2266
2428
  }
2267
- var vn = {
2429
+ var On = {
2268
2430
  intake: "Intake",
2269
2431
  plan_review: "Plan Review",
2270
2432
  inspections: "Inspections",
@@ -2274,31 +2436,31 @@ var vn = {
2274
2436
  sales: "Sales",
2275
2437
  escalations: "Escalations"
2276
2438
  };
2277
- function yn(e) {
2278
- return e ? vn[e] ? vn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
2439
+ function kn(e) {
2440
+ return e ? On[e] ? On[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
2279
2441
  }
2280
- var bn = {
2442
+ var An = {
2281
2443
  client: "Client",
2282
2444
  building_department: "Building Dept",
2283
2445
  staff: "Staff",
2284
2446
  unknown: "Unknown"
2285
2447
  };
2286
- function xn(e) {
2287
- return bn[e] || "Unknown";
2448
+ function jn(e) {
2449
+ return An[e] || "Unknown";
2288
2450
  }
2289
- var Sn = {
2451
+ var Mn = {
2290
2452
  open: "Open",
2291
2453
  in_progress: "In progress",
2292
2454
  resolved: "Resolved",
2293
2455
  closed: "Closed",
2294
2456
  awaiting_reply: "Awaiting reply"
2295
2457
  };
2296
- function Cn(e) {
2297
- return Sn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
2458
+ function Nn(e) {
2459
+ return Mn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
2298
2460
  }
2299
2461
  //#endregion
2300
2462
  //#region src/components/ui/TicketLinkChip.jsx
2301
- var wn = {
2463
+ var Pn = {
2302
2464
  intake: "var(--accent-blue)",
2303
2465
  plan_review: "var(--accent-purple)",
2304
2466
  inspections: "var(--accent-green)",
@@ -2308,7 +2470,7 @@ var wn = {
2308
2470
  sales: "var(--accent-orange)",
2309
2471
  escalations: "var(--accent-red)"
2310
2472
  };
2311
- function Tn(e) {
2473
+ function Fn(e) {
2312
2474
  switch (e) {
2313
2475
  case "resolved":
2314
2476
  case "closed": return "success";
@@ -2317,12 +2479,12 @@ function Tn(e) {
2317
2479
  default: return "secondary";
2318
2480
  }
2319
2481
  }
2320
- function En(e, t) {
2482
+ function In(e, t) {
2321
2483
  return e ? e.length > t ? `${e.slice(0, t - 1)}…` : e : "";
2322
2484
  }
2323
2485
  function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" }) {
2324
2486
  if (!e) return null;
2325
- let i = wn[e.department] ?? wn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${En(e.title, 28)}`;
2487
+ let i = Pn[e.department] ?? Pn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${In(e.title, 28)}`;
2326
2488
  return n === "detailed" ? /* @__PURE__ */ U(a, {
2327
2489
  type: t ? "button" : void 0,
2328
2490
  onClick: t,
@@ -2366,7 +2528,7 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2366
2528
  }),
2367
2529
  /* @__PURE__ */ U("span", {
2368
2530
  style: { color: "var(--text-secondary)" },
2369
- children: ["· ", En(e.title, 40)]
2531
+ children: ["· ", In(e.title, 40)]
2370
2532
  })
2371
2533
  ]
2372
2534
  }), /* @__PURE__ */ U("span", {
@@ -2379,10 +2541,10 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2379
2541
  variant: "secondary",
2380
2542
  showDot: !1,
2381
2543
  className: "badge--no-dot",
2382
- children: yn(e.department)
2544
+ children: kn(e.department)
2383
2545
  }), e.status && /* @__PURE__ */ H(J, {
2384
- variant: Tn(e.status),
2385
- children: Cn(e.status)
2546
+ variant: Fn(e.status),
2547
+ children: Nn(e.status)
2386
2548
  })]
2387
2549
  })]
2388
2550
  }) : /* @__PURE__ */ U(a, {
@@ -2421,19 +2583,19 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2421
2583
  }
2422
2584
  //#endregion
2423
2585
  //#region src/components/ui/PresenceDot.jsx
2424
- var Dn = {
2586
+ var Ln = {
2425
2587
  available: "var(--accent-green, #22c55e)",
2426
2588
  busy: "var(--accent-yellow, #f59e0b)",
2427
2589
  in_call: "var(--accent-yellow, #f59e0b)",
2428
2590
  dnd: "var(--accent-red, #ef4444)",
2429
2591
  offline: "var(--text-tertiary, #71717a)"
2430
- }, On = {
2592
+ }, Rn = {
2431
2593
  xs: 6,
2432
2594
  sm: 8,
2433
2595
  md: 10
2434
2596
  };
2435
- function kn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2436
- let r = On[t] ?? 8, i = Dn[e] ?? Dn.offline;
2597
+ function zn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2598
+ let r = Rn[t] ?? 8, i = Ln[e] ?? Ln.offline;
2437
2599
  return /* @__PURE__ */ H("span", {
2438
2600
  className: `presence-dot ${e === "in_call" ? "presence-dot-pulse" : ""} ${n}`,
2439
2601
  style: {
@@ -2450,13 +2612,13 @@ function kn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2450
2612
  }
2451
2613
  //#endregion
2452
2614
  //#region src/components/ui/PresenceAvatar.jsx
2453
- var An = {
2615
+ var Bn = {
2454
2616
  sm: "sm",
2455
2617
  md: "md",
2456
2618
  lg: "lg"
2457
2619
  };
2458
- function jn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
2459
- let c = An[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
2620
+ function Vn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
2621
+ let c = Bn[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
2460
2622
  return /* @__PURE__ */ U("div", {
2461
2623
  className: `presence-avatar ${s}`,
2462
2624
  style: {
@@ -2480,7 +2642,7 @@ function jn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2480
2642
  left: -1,
2481
2643
  top: -1
2482
2644
  },
2483
- children: /* @__PURE__ */ H(kn, {
2645
+ children: /* @__PURE__ */ H(zn, {
2484
2646
  status: r,
2485
2647
  size: l
2486
2648
  })
@@ -2497,27 +2659,27 @@ function jn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2497
2659
  }
2498
2660
  //#endregion
2499
2661
  //#region src/components/ui/Callbar.jsx
2500
- var Mn = {
2662
+ var Hn = {
2501
2663
  connecting: "Connecting…",
2502
2664
  ringing: "Ringing…",
2503
2665
  connected: "Connected",
2504
2666
  on_hold: "On hold",
2505
2667
  ending: "Ending…"
2506
- }, Nn = {
2668
+ }, Un = {
2507
2669
  connecting: "info",
2508
2670
  ringing: "info",
2509
2671
  connected: "success",
2510
2672
  on_hold: "warning",
2511
2673
  ending: "error"
2512
2674
  };
2513
- function Pn(e) {
2675
+ function Wn(e) {
2514
2676
  return e === "connected" ? "var(--accent-green)" : e === "on_hold" ? "var(--accent-yellow)" : e === "ending" ? "var(--accent-red)" : "var(--accent-blue)";
2515
2677
  }
2516
- function Fn(e) {
2678
+ function Gn(e) {
2517
2679
  return e === "connecting" || e === "ringing";
2518
2680
  }
2519
- 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 = "" }) {
2520
- 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 = () => {
2681
+ function Kn({ 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 = "" }) {
2682
+ let [b, S] = d(!1), C = _ || b, w = Hn[e] || e, T = Gn(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
2683
  S((e) => !e), g?.();
2522
2684
  };
2523
2685
  return C ? /* @__PURE__ */ U("div", {
@@ -2569,7 +2731,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2569
2731
  gap: 6
2570
2732
  },
2571
2733
  children: [
2572
- /* @__PURE__ */ H(pn, {
2734
+ /* @__PURE__ */ H(Cn, {
2573
2735
  isMuted: i,
2574
2736
  isOnHold: a,
2575
2737
  onMute: c,
@@ -2586,7 +2748,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2586
2748
  size: "sm",
2587
2749
  onClick: h,
2588
2750
  "aria-label": "End call",
2589
- children: [/* @__PURE__ */ H(ie, {
2751
+ children: [/* @__PURE__ */ H(ae, {
2590
2752
  size: 13,
2591
2753
  style: { marginRight: 4 }
2592
2754
  }), "End"]
@@ -2639,7 +2801,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2639
2801
  gap: 8
2640
2802
  },
2641
2803
  children: [/* @__PURE__ */ H(J, {
2642
- variant: Nn[e] || "secondary",
2804
+ variant: Un[e] || "secondary",
2643
2805
  children: w
2644
2806
  }), (e === "connected" || e === "on_hold") && /* @__PURE__ */ H("span", {
2645
2807
  style: {
@@ -2700,7 +2862,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2700
2862
  flexShrink: 0
2701
2863
  },
2702
2864
  children: [
2703
- O.map((e) => /* @__PURE__ */ H(jn, {
2865
+ O.map((e) => /* @__PURE__ */ H(Vn, {
2704
2866
  name: e.name,
2705
2867
  initials: e.initials,
2706
2868
  avatarUrl: e.avatarUrl,
@@ -2717,7 +2879,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2717
2879
  },
2718
2880
  children: ["+", k]
2719
2881
  }),
2720
- /* @__PURE__ */ H(pn, {
2882
+ /* @__PURE__ */ H(Cn, {
2721
2883
  isMuted: i,
2722
2884
  isOnHold: a,
2723
2885
  onMute: c,
@@ -2734,7 +2896,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2734
2896
  size: "sm",
2735
2897
  onClick: h,
2736
2898
  "aria-label": "End call",
2737
- children: [/* @__PURE__ */ H(ie, {
2899
+ children: [/* @__PURE__ */ H(ae, {
2738
2900
  size: 14,
2739
2901
  style: { marginRight: 6 }
2740
2902
  }), "End call"]
@@ -2763,7 +2925,7 @@ function In({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2763
2925
  }
2764
2926
  //#endregion
2765
2927
  //#region src/components/ui/CallCard.jsx
2766
- var Ln = {
2928
+ var qn = {
2767
2929
  client: {
2768
2930
  accent: "var(--accent-green)",
2769
2931
  variant: "success"
@@ -2781,17 +2943,17 @@ var Ln = {
2781
2943
  variant: "warning"
2782
2944
  }
2783
2945
  };
2784
- function Rn(e) {
2946
+ function Jn(e) {
2785
2947
  return e ? Math.max(0, Math.floor((Date.now() - new Date(e).getTime()) / 1e3)) : 0;
2786
2948
  }
2787
- 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 = "" }) {
2788
- let [_, v] = d(() => Rn(u)), [y, b] = d(s[0]?.id || "none");
2949
+ function Yn({ 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 = "" }) {
2950
+ let [_, v] = d(() => Jn(u)), [y, b] = d(s[0]?.id || "none");
2789
2951
  o(() => {
2790
2952
  if (!u) return;
2791
- let e = setInterval(() => v(Rn(u)), 1e3);
2953
+ let e = setInterval(() => v(Jn(u)), 1e3);
2792
2954
  return () => clearInterval(e);
2793
2955
  }, [u]);
2794
- let x = Ln[r] || Ln.unknown;
2956
+ let x = qn[r] || qn.unknown;
2795
2957
  return e === "mini" ? /* @__PURE__ */ U("div", {
2796
2958
  role: "button",
2797
2959
  tabIndex: 0,
@@ -2846,14 +3008,14 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2846
3008
  variant: x.variant,
2847
3009
  showDot: !1,
2848
3010
  className: "badge--no-dot",
2849
- children: xn(r)
3011
+ children: jn(r)
2850
3012
  })]
2851
3013
  }), /* @__PURE__ */ U("div", {
2852
3014
  style: {
2853
3015
  fontSize: "var(--text-xs)",
2854
3016
  color: "var(--text-tertiary)"
2855
3017
  },
2856
- children: ["Ringing · ", mn(_)]
3018
+ children: ["Ringing · ", wn(_)]
2857
3019
  })]
2858
3020
  }),
2859
3021
  /* @__PURE__ */ H("button", {
@@ -2861,7 +3023,7 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2861
3023
  className: "btn btn-ghost btn-icon btn-sm",
2862
3024
  onClick: () => f?.(),
2863
3025
  "aria-label": "Accept",
2864
- children: /* @__PURE__ */ H(ee, {
3026
+ children: /* @__PURE__ */ H(te, {
2865
3027
  size: 16,
2866
3028
  style: { color: "var(--accent-green)" }
2867
3029
  })
@@ -2871,7 +3033,7 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2871
3033
  className: "btn btn-ghost btn-icon btn-sm",
2872
3034
  onClick: p,
2873
3035
  "aria-label": "Decline",
2874
- children: /* @__PURE__ */ H(ie, { size: 16 })
3036
+ children: /* @__PURE__ */ H(ae, { size: 16 })
2875
3037
  })
2876
3038
  ]
2877
3039
  }) : /* @__PURE__ */ U("div", {
@@ -2954,7 +3116,7 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2954
3116
  variant: x.variant,
2955
3117
  showDot: !1,
2956
3118
  className: "badge--no-dot",
2957
- children: xn(r)
3119
+ children: jn(r)
2958
3120
  })]
2959
3121
  }), /* @__PURE__ */ H("div", {
2960
3122
  style: {
@@ -2975,7 +3137,7 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2975
3137
  children: [/* @__PURE__ */ H("span", {
2976
3138
  style: { marginRight: 4 },
2977
3139
  children: "•"
2978
- }), mn(_)]
3140
+ }), wn(_)]
2979
3141
  })]
2980
3142
  }), /* @__PURE__ */ H("div", {
2981
3143
  style: {
@@ -3086,7 +3248,7 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
3086
3248
  size: "sm",
3087
3249
  onClick: m,
3088
3250
  "aria-label": "Send to voicemail",
3089
- children: /* @__PURE__ */ H(fe, { size: 14 })
3251
+ children: /* @__PURE__ */ H(pe, { size: 14 })
3090
3252
  }),
3091
3253
  /* @__PURE__ */ H(Y, {
3092
3254
  type: "button",
@@ -3103,7 +3265,7 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
3103
3265
  !a && s.length > 0 ? y === "none" ? f?.("none") : y === "new" ? f?.("new") : f?.(y) : f?.();
3104
3266
  },
3105
3267
  style: { fontWeight: 600 },
3106
- children: [/* @__PURE__ */ H(ee, {
3268
+ children: [/* @__PURE__ */ H(te, {
3107
3269
  size: 14,
3108
3270
  style: { marginRight: 6 }
3109
3271
  }), "Accept"]
@@ -3115,35 +3277,35 @@ function zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
3115
3277
  }
3116
3278
  //#endregion
3117
3279
  //#region src/components/ui/QueueItem.jsx
3118
- var Bn = {
3280
+ var Xn = {
3119
3281
  ringing: {
3120
- icon: ne,
3282
+ icon: re,
3121
3283
  color: "var(--accent-red)",
3122
3284
  label: "Ringing"
3123
3285
  },
3124
3286
  voicemail: {
3125
- icon: fe,
3287
+ icon: pe,
3126
3288
  color: "var(--accent-yellow)",
3127
3289
  label: "Voicemail"
3128
3290
  },
3129
3291
  callback: {
3130
- icon: te,
3292
+ icon: ne,
3131
3293
  color: "var(--accent-blue)",
3132
3294
  label: "Callback"
3133
3295
  },
3134
3296
  missed: {
3135
- icon: re,
3297
+ icon: ie,
3136
3298
  color: "var(--text-tertiary)",
3137
3299
  label: "Missed"
3138
3300
  }
3139
- }, Vn = {
3301
+ }, Zn = {
3140
3302
  client: "success",
3141
3303
  building_department: "info",
3142
3304
  staff: "purple",
3143
3305
  unknown: "warning"
3144
3306
  };
3145
- 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 = "" }) {
3146
- 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)";
3307
+ function Qn({ 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 = "" }) {
3308
+ let d = Xn[e] || Xn.ringing, f = d.icon, p = s.slice(0, 2), m = s.slice(2), h = i ? Dn(i) : "none", g = h === "urgent" ? "var(--accent-red)" : h === "warning" ? "var(--accent-yellow)" : "var(--text-secondary)";
3147
3309
  return /* @__PURE__ */ U("div", {
3148
3310
  role: "button",
3149
3311
  tabIndex: 0,
@@ -3194,10 +3356,10 @@ function Hn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3194
3356
  children: t.name
3195
3357
  }),
3196
3358
  /* @__PURE__ */ H(J, {
3197
- variant: Vn[t.type] || "warning",
3359
+ variant: Zn[t.type] || "warning",
3198
3360
  showDot: !1,
3199
3361
  className: "badge--no-dot",
3200
- children: xn(t.type)
3362
+ children: jn(t.type)
3201
3363
  }),
3202
3364
  n && /* @__PURE__ */ H(Z, {
3203
3365
  ticket: n,
@@ -3225,8 +3387,8 @@ function Hn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3225
3387
  children: d.label
3226
3388
  }),
3227
3389
  /* @__PURE__ */ H("span", { children: "·" }),
3228
- e === "voicemail" && a != null && /* @__PURE__ */ U(pe, { children: [/* @__PURE__ */ H("span", { children: mn(a) }), /* @__PURE__ */ H("span", { children: "·" })] }),
3229
- r && /* @__PURE__ */ H("span", { children: gn(r) }),
3390
+ e === "voicemail" && a != null && /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ H("span", { children: wn(a) }), /* @__PURE__ */ H("span", { children: "·" })] }),
3391
+ r && /* @__PURE__ */ H("span", { children: En(r) }),
3230
3392
  i && /* @__PURE__ */ U("span", {
3231
3393
  style: {
3232
3394
  color: g,
@@ -3234,12 +3396,12 @@ function Hn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3234
3396
  fontVariantNumeric: "tabular-nums",
3235
3397
  fontWeight: 600
3236
3398
  },
3237
- children: ["SLA ", hn(i)]
3399
+ children: ["SLA ", Tn(i)]
3238
3400
  })
3239
3401
  ]
3240
3402
  })]
3241
3403
  }),
3242
- o && /* @__PURE__ */ H(jn, {
3404
+ o && /* @__PURE__ */ H(Vn, {
3243
3405
  name: o.name,
3244
3406
  initials: o.initials,
3245
3407
  avatarUrl: null,
@@ -3261,15 +3423,15 @@ function Hn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3261
3423
  title: e.label,
3262
3424
  onClick: () => c?.(e.key),
3263
3425
  children: e.icon
3264
- }, e.key)), m.length > 0 && /* @__PURE__ */ H(Bt, {
3426
+ }, e.key)), m.length > 0 && /* @__PURE__ */ H(Xt, {
3265
3427
  align: "right",
3266
3428
  trigger: /* @__PURE__ */ H("button", {
3267
3429
  type: "button",
3268
3430
  className: "btn btn-ghost btn-icon btn-sm",
3269
3431
  "aria-label": "More actions",
3270
- children: /* @__PURE__ */ H(R, { size: 16 })
3432
+ children: /* @__PURE__ */ H(z, { size: 16 })
3271
3433
  }),
3272
- children: m.map((e) => /* @__PURE__ */ H(Vt, {
3434
+ children: m.map((e) => /* @__PURE__ */ H(Zt, {
3273
3435
  onClick: () => c?.(e.key),
3274
3436
  children: e.label
3275
3437
  }, e.key))
@@ -3280,7 +3442,7 @@ function Hn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3280
3442
  }
3281
3443
  //#endregion
3282
3444
  //#region src/components/data/ActivityFeed.jsx
3283
- function Un({ items: e = [], className: t = "" }) {
3445
+ function $n({ items: e = [], className: t = "" }) {
3284
3446
  return /* @__PURE__ */ H("div", {
3285
3447
  className: `activity-feed ${t}`,
3286
3448
  children: e.map((e, t) => /* @__PURE__ */ U("div", {
@@ -3319,7 +3481,7 @@ function Un({ items: e = [], className: t = "" }) {
3319
3481
  }
3320
3482
  //#endregion
3321
3483
  //#region src/components/data/CommandBar.jsx
3322
- function Wn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
3484
+ function er({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
3323
3485
  let [a, s] = d(""), [c, l] = d(0), f = u(null);
3324
3486
  if (o(() => {
3325
3487
  if (e) {
@@ -3403,7 +3565,7 @@ function Wn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
3403
3565
  }
3404
3566
  //#endregion
3405
3567
  //#region src/components/data/DataTable.jsx
3406
- function Gn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3568
+ function tr({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3407
3569
  let [i, a] = d(null), [o, s] = d("asc");
3408
3570
  function c(e) {
3409
3571
  i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
@@ -3444,7 +3606,7 @@ function Gn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3444
3606
  }
3445
3607
  //#endregion
3446
3608
  //#region src/components/data/FilterBar.jsx
3447
- function Kn({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
3609
+ function nr({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
3448
3610
  let o = n.some((e) => e.active);
3449
3611
  return /* @__PURE__ */ U("div", {
3450
3612
  className: `filter-bar ${a}`,
@@ -3497,14 +3659,14 @@ function Kn({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
3497
3659
  function Q(...e) {
3498
3660
  return e.filter(Boolean).join(" ");
3499
3661
  }
3500
- function qn({ children: e, className: t = "", style: n }) {
3662
+ function rr({ children: e, className: t = "", style: n }) {
3501
3663
  return /* @__PURE__ */ H("div", {
3502
3664
  className: Q("kanban-board", t),
3503
3665
  style: n,
3504
3666
  children: e
3505
3667
  });
3506
3668
  }
3507
- 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 }) {
3669
+ function ir({ 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 }) {
3508
3670
  return /* @__PURE__ */ U("div", {
3509
3671
  className: Q("kanban-column", o),
3510
3672
  style: s,
@@ -3542,13 +3704,13 @@ function Jn({ title: e, count: t, color: n, headerAction: r = null, countVariant
3542
3704
  })]
3543
3705
  });
3544
3706
  }
3545
- function Yn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
3707
+ function ar({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
3546
3708
  let u = a ?? r;
3547
3709
  return /* @__PURE__ */ H("div", {
3548
3710
  className: Q("kanban-card", c),
3549
3711
  onClick: s,
3550
3712
  style: l,
3551
- children: o || /* @__PURE__ */ U(pe, { children: [/* @__PURE__ */ U("div", {
3713
+ children: o || /* @__PURE__ */ U(me, { children: [/* @__PURE__ */ U("div", {
3552
3714
  className: "kanban-card-body",
3553
3715
  children: [
3554
3716
  e && /* @__PURE__ */ H("div", {
@@ -3578,13 +3740,13 @@ function Yn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
3578
3740
  function $(...e) {
3579
3741
  return e.filter(Boolean).join(" ");
3580
3742
  }
3581
- function Xn({ children: e, className: t = "" }) {
3743
+ function or({ children: e, className: t = "" }) {
3582
3744
  return /* @__PURE__ */ H("div", {
3583
3745
  className: $("table-board", t),
3584
3746
  children: e
3585
3747
  });
3586
3748
  }
3587
- function Zn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
3749
+ function sr({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
3588
3750
  let [c, l] = d(i), u = r != null, f = u ? r : c;
3589
3751
  function p() {
3590
3752
  let e = !f;
@@ -3621,7 +3783,7 @@ function Zn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0,
3621
3783
  })]
3622
3784
  });
3623
3785
  }
3624
- 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 = "" }) {
3786
+ function cr({ 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 = "" }) {
3625
3787
  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 = [
3626
3788
  ...F,
3627
3789
  ...I > 0 ? [{
@@ -3710,7 +3872,7 @@ function Qn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3710
3872
  m != null && (r(m) ? m : /* @__PURE__ */ H(J, {
3711
3873
  className: "table-board-metric",
3712
3874
  showDot: !1,
3713
- children: /* @__PURE__ */ H(Xt, {
3875
+ children: /* @__PURE__ */ H(sn, {
3714
3876
  tone: h,
3715
3877
  icon: te,
3716
3878
  showIcon: _,
@@ -3727,12 +3889,12 @@ function Qn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3727
3889
  }
3728
3890
  //#endregion
3729
3891
  //#region src/components/data/KPICard.jsx
3730
- function $n({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
3892
+ function lr({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
3731
3893
  let s = {
3732
3894
  up: "var(--accent-green)",
3733
3895
  down: "var(--accent-red)",
3734
3896
  neutral: "var(--text-tertiary)"
3735
- }, c = i === "up" ? ue : i === "down" ? le : I;
3897
+ }, c = i === "up" ? de : i === "down" ? ue : L;
3736
3898
  return /* @__PURE__ */ U("div", {
3737
3899
  className: `kpi-card ${o}`,
3738
3900
  children: [
@@ -3768,7 +3930,7 @@ function $n({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
3768
3930
  ]
3769
3931
  });
3770
3932
  }
3771
- function er({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3933
+ function ur({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3772
3934
  return /* @__PURE__ */ U("div", {
3773
3935
  className: `stat-card ${i}`,
3774
3936
  children: [r && /* @__PURE__ */ H("div", {
@@ -3795,7 +3957,7 @@ function er({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3795
3957
  }
3796
3958
  //#endregion
3797
3959
  //#region src/components/data/NotificationsPanel.jsx
3798
- function tr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
3960
+ function dr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
3799
3961
  let i = e.filter((e) => !e.read);
3800
3962
  return /* @__PURE__ */ U("div", {
3801
3963
  className: `notifications-panel ${r}`,
@@ -3852,7 +4014,7 @@ function tr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
3852
4014
  }
3853
4015
  //#endregion
3854
4016
  //#region src/components/Icons.jsx
3855
- function nr() {
4017
+ function fr() {
3856
4018
  return /* @__PURE__ */ H("svg", {
3857
4019
  width: "16",
3858
4020
  height: "16",
@@ -3861,7 +4023,7 @@ function nr() {
3861
4023
  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" })
3862
4024
  });
3863
4025
  }
3864
- function rr() {
4026
+ function pr() {
3865
4027
  return /* @__PURE__ */ U("svg", {
3866
4028
  width: "16",
3867
4029
  height: "16",
@@ -3881,7 +4043,7 @@ function rr() {
3881
4043
  })]
3882
4044
  });
3883
4045
  }
3884
- function ir() {
4046
+ function mr() {
3885
4047
  return /* @__PURE__ */ H("svg", {
3886
4048
  width: "16",
3887
4049
  height: "16",
@@ -3890,7 +4052,7 @@ function ir() {
3890
4052
  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" })
3891
4053
  });
3892
4054
  }
3893
- function ar() {
4055
+ function hr() {
3894
4056
  return /* @__PURE__ */ H("svg", {
3895
4057
  width: "16",
3896
4058
  height: "16",
@@ -3903,7 +4065,7 @@ function ar() {
3903
4065
  children: /* @__PURE__ */ H("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
3904
4066
  });
3905
4067
  }
3906
- function or() {
4068
+ function gr() {
3907
4069
  return /* @__PURE__ */ H("svg", {
3908
4070
  width: "16",
3909
4071
  height: "16",
@@ -3912,7 +4074,7 @@ function or() {
3912
4074
  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" })
3913
4075
  });
3914
4076
  }
3915
- function sr() {
4077
+ function _r() {
3916
4078
  return /* @__PURE__ */ H("svg", {
3917
4079
  width: "16",
3918
4080
  height: "16",
@@ -3921,7 +4083,7 @@ function sr() {
3921
4083
  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" })
3922
4084
  });
3923
4085
  }
3924
- function cr() {
4086
+ function vr() {
3925
4087
  return /* @__PURE__ */ U("svg", {
3926
4088
  width: "16",
3927
4089
  height: "16",
@@ -3946,7 +4108,7 @@ function cr() {
3946
4108
  ]
3947
4109
  });
3948
4110
  }
3949
- function lr() {
4111
+ function yr() {
3950
4112
  return /* @__PURE__ */ U("svg", {
3951
4113
  width: "16",
3952
4114
  height: "16",
@@ -3964,7 +4126,7 @@ function lr() {
3964
4126
  })]
3965
4127
  });
3966
4128
  }
3967
- function ur() {
4129
+ function br() {
3968
4130
  return /* @__PURE__ */ H("svg", {
3969
4131
  width: "16",
3970
4132
  height: "16",
@@ -3977,7 +4139,7 @@ function ur() {
3977
4139
  children: /* @__PURE__ */ H("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
3978
4140
  });
3979
4141
  }
3980
- function dr() {
4142
+ function xr() {
3981
4143
  return /* @__PURE__ */ H("svg", {
3982
4144
  width: "14",
3983
4145
  height: "14",
@@ -3990,7 +4152,7 @@ function dr() {
3990
4152
  children: /* @__PURE__ */ H("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
3991
4153
  });
3992
4154
  }
3993
- function fr() {
4155
+ function Sr() {
3994
4156
  return /* @__PURE__ */ H("svg", {
3995
4157
  width: "14",
3996
4158
  height: "14",
@@ -4003,7 +4165,7 @@ function fr() {
4003
4165
  children: /* @__PURE__ */ H("path", { d: "M3.5 9L7 5.5 10.5 9" })
4004
4166
  });
4005
4167
  }
4006
- function pr() {
4168
+ function Cr() {
4007
4169
  return /* @__PURE__ */ H("svg", {
4008
4170
  width: "14",
4009
4171
  height: "14",
@@ -4012,7 +4174,7 @@ function pr() {
4012
4174
  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" })
4013
4175
  });
4014
4176
  }
4015
- function mr() {
4177
+ function wr() {
4016
4178
  return /* @__PURE__ */ U("svg", {
4017
4179
  width: "14",
4018
4180
  height: "14",
@@ -4033,7 +4195,7 @@ function mr() {
4033
4195
  })]
4034
4196
  });
4035
4197
  }
4036
- function hr() {
4198
+ function Tr() {
4037
4199
  return /* @__PURE__ */ U("svg", {
4038
4200
  width: "14",
4039
4201
  height: "14",
@@ -4053,7 +4215,7 @@ function hr() {
4053
4215
  })]
4054
4216
  });
4055
4217
  }
4056
- function gr() {
4218
+ function Er() {
4057
4219
  return /* @__PURE__ */ H("svg", {
4058
4220
  width: "14",
4059
4221
  height: "14",
@@ -4068,7 +4230,7 @@ function gr() {
4068
4230
  })
4069
4231
  });
4070
4232
  }
4071
- function _r() {
4233
+ function Dr() {
4072
4234
  return /* @__PURE__ */ H("svg", {
4073
4235
  width: "14",
4074
4236
  height: "14",
@@ -4084,7 +4246,7 @@ function _r() {
4084
4246
  })
4085
4247
  });
4086
4248
  }
4087
- function vr() {
4249
+ function Or() {
4088
4250
  return /* @__PURE__ */ U("svg", {
4089
4251
  width: "14",
4090
4252
  height: "14",
@@ -4104,7 +4266,7 @@ function vr() {
4104
4266
  })]
4105
4267
  });
4106
4268
  }
4107
- function yr() {
4269
+ function kr() {
4108
4270
  return /* @__PURE__ */ H("svg", {
4109
4271
  width: "14",
4110
4272
  height: "14",
@@ -4113,7 +4275,7 @@ function yr() {
4113
4275
  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" })
4114
4276
  });
4115
4277
  }
4116
- function br() {
4278
+ function Ar() {
4117
4279
  return /* @__PURE__ */ U("svg", {
4118
4280
  width: "14",
4119
4281
  height: "14",
@@ -4144,7 +4306,7 @@ function br() {
4144
4306
  ]
4145
4307
  });
4146
4308
  }
4147
- function xr() {
4309
+ function jr() {
4148
4310
  return /* @__PURE__ */ U("svg", {
4149
4311
  width: "14",
4150
4312
  height: "14",
@@ -4177,7 +4339,7 @@ function xr() {
4177
4339
  ]
4178
4340
  });
4179
4341
  }
4180
- function Sr() {
4342
+ function Mr() {
4181
4343
  return /* @__PURE__ */ U("svg", {
4182
4344
  width: "14",
4183
4345
  height: "14",
@@ -4210,7 +4372,7 @@ function Sr() {
4210
4372
  ]
4211
4373
  });
4212
4374
  }
4213
- function Cr() {
4375
+ function Nr() {
4214
4376
  return /* @__PURE__ */ H("svg", {
4215
4377
  width: "14",
4216
4378
  height: "14",
@@ -4222,7 +4384,7 @@ function Cr() {
4222
4384
  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" })
4223
4385
  });
4224
4386
  }
4225
- function wr() {
4387
+ function Pr() {
4226
4388
  return /* @__PURE__ */ H("svg", {
4227
4389
  width: "14",
4228
4390
  height: "14",
@@ -4235,7 +4397,7 @@ function wr() {
4235
4397
  children: /* @__PURE__ */ H("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
4236
4398
  });
4237
4399
  }
4238
- function Tr() {
4400
+ function Fr() {
4239
4401
  return /* @__PURE__ */ U("svg", {
4240
4402
  width: "14",
4241
4403
  height: "14",
@@ -4252,7 +4414,7 @@ function Tr() {
4252
4414
  })]
4253
4415
  });
4254
4416
  }
4255
- function Er() {
4417
+ function Ir() {
4256
4418
  return /* @__PURE__ */ H("svg", {
4257
4419
  width: "14",
4258
4420
  height: "14",
@@ -4264,7 +4426,7 @@ function Er() {
4264
4426
  children: /* @__PURE__ */ H("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
4265
4427
  });
4266
4428
  }
4267
- function Dr() {
4429
+ function Lr() {
4268
4430
  return /* @__PURE__ */ H("svg", {
4269
4431
  width: "14",
4270
4432
  height: "14",
@@ -4277,7 +4439,7 @@ function Dr() {
4277
4439
  children: /* @__PURE__ */ H("path", { d: "M3 7.5l3 3 5-6" })
4278
4440
  });
4279
4441
  }
4280
- function Or() {
4442
+ function Rr() {
4281
4443
  return /* @__PURE__ */ U("svg", {
4282
4444
  width: "14",
4283
4445
  height: "14",
@@ -4296,7 +4458,7 @@ function Or() {
4296
4458
  }), /* @__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" })]
4297
4459
  });
4298
4460
  }
4299
- function kr() {
4461
+ function zr() {
4300
4462
  return /* @__PURE__ */ H("svg", {
4301
4463
  width: "14",
4302
4464
  height: "14",
@@ -4309,7 +4471,7 @@ function kr() {
4309
4471
  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" })
4310
4472
  });
4311
4473
  }
4312
- function Ar() {
4474
+ function Br() {
4313
4475
  return /* @__PURE__ */ U("svg", {
4314
4476
  width: "14",
4315
4477
  height: "14",
@@ -4328,7 +4490,7 @@ function Ar() {
4328
4490
  }), /* @__PURE__ */ H("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
4329
4491
  });
4330
4492
  }
4331
- function jr() {
4493
+ function Vr() {
4332
4494
  return /* @__PURE__ */ H("svg", {
4333
4495
  width: "14",
4334
4496
  height: "14",
@@ -4341,7 +4503,7 @@ function jr() {
4341
4503
  children: /* @__PURE__ */ H("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
4342
4504
  });
4343
4505
  }
4344
- function Mr() {
4506
+ function Hr() {
4345
4507
  return /* @__PURE__ */ U("svg", {
4346
4508
  width: "14",
4347
4509
  height: "14",
@@ -4359,7 +4521,7 @@ function Mr() {
4359
4521
  })]
4360
4522
  });
4361
4523
  }
4362
- function Nr() {
4524
+ function Ur() {
4363
4525
  return /* @__PURE__ */ U("svg", {
4364
4526
  width: "14",
4365
4527
  height: "14",
@@ -4378,4 +4540,4 @@ function Nr() {
4378
4540
  });
4379
4541
  }
4380
4542
  //#endregion
4381
- 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 };
4543
+ export { Ot as Accordion, Dt as AccordionItem, $n as ActivityFeed, ot as AppLoader, q as Avatar, J as Badge, zr as BellIcon, Y as Button, Br as CalendarIcon, Yn as CallCard, Cn as CallControlsBar, Kn as Callbar, It as Card, Bt as CardContent, zt as CardDescription, Vt as CardFooter, Lt as CardHeader, Rt as CardTitle, Lr as CheckIcon, xr as ChevronDown, Sr as ChevronUp, Ir as CloseIcon, er as CommandBar, Rr as CopyIcon, gn as DEFAULT_ICON_BY_VALUE, _n as DEFAULT_VIEW_MODE_OPTIONS, tr as DataTable, Ut as Dialog, qt as DialogBody, Kt as DialogDescription, Jt as DialogFooter, Wt as DialogHeader, Gt as DialogTitle, Xt as DropdownMenu, Qt as DropdownMenuCheckboxItem, Zt as DropdownMenuItem, $t as DropdownMenuLabel, en as DropdownMenuSeparator, br as EditIcon, rt as FCCAppShell, De as FCCAppShellContext, it as FCCBrandLogo, We as FCCBreadcrumbs, Ee as FCCDesignProvider, lt as FCCDetailsPanel, dt as FCCFullPagePanel, mt as FCCFullPagePanelBody, Et as FCCFullPagePanelBottomControls, _t as FCCFullPagePanelFooter, ft as FCCFullPagePanelHeader, ht as FCCFullPagePanelMain, Tt as FCCFullPagePanelResizableSidebar, gt as FCCFullPagePanelSidebar, vt as FCCFullPagePanelSidebarFooter, yt as FCCFullPagePanelSubHeader, pt as FCCFullPagePanelToolbar, Ke as FCCHeaderStatus, ct as FCCLoader, Je as FCCMainWindow, Ae as FCCSidePanel, ze as FCCSidePanelAction, Me as FCCSidePanelBody, Le as FCCSidePanelCard, Be as FCCSidePanelChatWrap, Re as FCCSidePanelContact, Ve as FCCSidePanelConversation, Fe as FCCSidePanelGroupLabel, je as FCCSidePanelHeader, Ie as FCCSidePanelItem, He as FCCSidePanelMessage, Pe as FCCSidePanelSearch, Ne as FCCSidePanelTabs, Qe as FCCSidebar, at as FCCThemeToggle, qe as FCCWorkspaceHeader, nr as FilterBar, Vr as FilterIcon, fr as InboxIcon, gr as InitiativesIcon, Yt as Input, pr as IssuesIcon, lr as KPICard, rr as KanbanBoard, ar as KanbanCard, ir as KanbanColumn, Ur as LabelIcon, Nr as LinkIcon, vr as MoreIcon, dr as NotificationsPanel, Vn as PresenceAvatar, zn as PresenceDot, Ar as PriorityHigh, Mr as PriorityLow, jr as PriorityMedium, kr as PriorityUrgent, _r as ProjectsIcon, hr as PulseIcon, Qn as QueueItem, mr as ReviewsIcon, yr as SearchIcon, tn as SearchableSelect, Fr as SettingsIcon, nn as Sheet, rn as SheetFooter, st as Spinner, Cr as StarIcon, ur as StatCard, Dr as StatusBacklog, Or as StatusCancelled, Tr as StatusDone, wr as StatusInProgress, sn as StatusMetric, Er as StatusTodo, cn as Switch, or as TableBoard, sr as TableBoardGroup, cr as TableBoardRow, un as Tabs, pn as TabsContent, dn as TabsList, fn as TabsTrigger, mn as Textarea, we as ThemeProvider, Z as TicketLinkChip, ve as ToastProvider, hn as Tooltip, Pr as TrashIcon, Hr as UserIcon, bn as ViewModeToggle, Sn as WorkspaceTabs, Oe as useFCCAppShell, Te as useTheme, ye as useToast };