@freedom-code-compliance/fcc-redesign 0.1.37 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { createContext as e, createElement as t, forwardRef as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o, useId as s, useLayoutEffect as c, useMemo as l, useRef as u, useState as d } from "react";
2
- import { AlertCircle as f, AlertTriangle as p, Bell as m, Calendar as h, Check as g, CheckCheck as _, CheckCircle as v, ChevronDown as y, ChevronRight as b, ChevronUp as x, ChevronsUpDown as S, Clock as C, Columns3 as w, Filter as T, Hash as E, Info as D, LayoutGrid as O, List as k, Loader2 as A, LogOut as j, Map as M, Mic as N, MicOff as P, Minus as F, Moon as I, MoreHorizontal as L, Pause as ee, Phone as R, PhoneForwarded as te, PhoneIncoming as ne, PhoneMissed as re, PhoneOff as z, Play as ie, Search as B, Sun as ae, TrendingDown as oe, TrendingUp as se, UserPlus as ce, Voicemail as le, X as V } from "lucide-react";
3
- import { Fragment as ue, jsx as H, jsxs as U } from "react/jsx-runtime";
2
+ import { AlertCircle as f, AlertTriangle as p, Bell as m, Calendar as h, Check as g, CheckCheck as _, CheckCircle as v, ChevronDown as y, ChevronRight as b, ChevronUp as x, ChevronsUpDown as S, Clock as C, Columns3 as w, Filter as T, Hash as E, Info as D, LayoutGrid as O, List as k, Loader2 as A, LogOut as j, Map as M, Menu as N, Mic as P, MicOff as F, Minus as I, Moon as L, MoreHorizontal as R, Pause as z, Phone as ee, PhoneForwarded as te, PhoneIncoming as ne, PhoneMissed as re, PhoneOff as ie, Pin as ae, PinOff as oe, Play as se, Search as B, Sun as ce, TrendingDown as le, TrendingUp as ue, UserPlus as de, Voicemail as fe, X as V } from "lucide-react";
3
+ import { Fragment as pe, jsx as H, jsxs as U } from "react/jsx-runtime";
4
4
  import { createPortal as W } from "react-dom";
5
5
  //#region src/components/ui/Toast.jsx
6
- var de = e(null), fe = {
6
+ var me = e(null), he = {
7
7
  success: /* @__PURE__ */ H(v, {
8
8
  size: 16,
9
9
  style: { color: "var(--accent-green)" }
@@ -21,7 +21,7 @@ var de = e(null), fe = {
21
21
  style: { color: "var(--accent-blue)" }
22
22
  })
23
23
  };
24
- function pe({ toast: e, onDismiss: t }) {
24
+ function ge({ toast: e, onDismiss: t }) {
25
25
  return o(() => {
26
26
  if (!(e.sticky || e.duration === 0)) {
27
27
  let n = setTimeout(() => t(e.id), e.duration || 4e3);
@@ -38,7 +38,7 @@ function pe({ toast: e, onDismiss: t }) {
38
38
  children: [
39
39
  /* @__PURE__ */ H("span", {
40
40
  className: "toast-icon",
41
- children: fe[e.type] || fe.info
41
+ children: he[e.type] || he.info
42
42
  }),
43
43
  /* @__PURE__ */ U("div", {
44
44
  className: "toast-content",
@@ -68,7 +68,7 @@ function pe({ toast: e, onDismiss: t }) {
68
68
  ]
69
69
  });
70
70
  }
71
- function me({ children: e }) {
71
+ function _e({ children: e }) {
72
72
  let [t, n] = d([]), r = i((e) => {
73
73
  let t = Date.now() + Math.random();
74
74
  n((n) => [...n.slice(-4), {
@@ -78,35 +78,35 @@ function me({ children: e }) {
78
78
  }, []), a = i((e) => {
79
79
  n((t) => t.filter((t) => t.id !== e));
80
80
  }, []);
81
- return /* @__PURE__ */ U(de.Provider, {
81
+ return /* @__PURE__ */ U(me.Provider, {
82
82
  value: { addToast: r },
83
83
  children: [e, /* @__PURE__ */ H("div", {
84
84
  className: "toast-container",
85
- children: t.map((e) => /* @__PURE__ */ H(pe, {
85
+ children: t.map((e) => /* @__PURE__ */ H(ge, {
86
86
  toast: e,
87
87
  onDismiss: a
88
88
  }, e.id))
89
89
  })]
90
90
  });
91
91
  }
92
- function he() {
93
- let e = a(de);
92
+ function ve() {
93
+ let e = a(me);
94
94
  if (!e) throw Error("useToast must be used within ToastProvider");
95
95
  return e;
96
96
  }
97
97
  //#endregion
98
98
  //#region src/context/ThemeContext.jsx
99
- var ge = e(void 0), _e = "dark", ve = "fcc-theme";
100
- function ye(e) {
99
+ var ye = e(void 0), be = "dark", xe = "fcc-theme";
100
+ function Se(e) {
101
101
  if (typeof document > "u") return;
102
102
  let t = document.documentElement;
103
103
  t.classList.remove("dark", "light"), e === "light" && t.classList.add("light");
104
104
  }
105
- function be({ children: e, defaultTheme: t = _e, storageKey: n = ve }) {
105
+ function Ce({ children: e, defaultTheme: t = be, storageKey: n = xe }) {
106
106
  let [r, i] = d(() => typeof window > "u" ? t : window.localStorage.getItem(n) || t);
107
107
  return o(() => {
108
- typeof window < "u" && window.localStorage.setItem(n, r), ye(r);
109
- }, [n, r]), /* @__PURE__ */ H(ge.Provider, {
108
+ typeof window < "u" && window.localStorage.setItem(n, r), Se(r);
109
+ }, [n, r]), /* @__PURE__ */ H(ye.Provider, {
110
110
  value: {
111
111
  theme: r,
112
112
  setTheme: i,
@@ -117,23 +117,40 @@ function be({ children: e, defaultTheme: t = _e, storageKey: n = ve }) {
117
117
  children: e
118
118
  });
119
119
  }
120
- function xe() {
121
- let e = a(ge);
120
+ function we() {
121
+ let e = a(ye);
122
122
  if (!e) throw Error("useTheme must be used within a ThemeProvider");
123
123
  return e;
124
124
  }
125
125
  //#endregion
126
126
  //#region src/lib/FCCDesignProvider.jsx
127
- function Se({ children: e, ...t }) {
128
- return /* @__PURE__ */ H(be, {
127
+ function Te({ children: e, ...t }) {
128
+ return /* @__PURE__ */ H(Ce, {
129
129
  ...t,
130
- children: /* @__PURE__ */ H(me, { children: e })
130
+ children: /* @__PURE__ */ H(_e, { children: e })
131
131
  });
132
132
  }
133
133
  //#endregion
134
+ //#region src/components/layout/FCCAppShellContext.jsx
135
+ var G = () => {}, Ee = e({
136
+ sidebarPinned: !1,
137
+ setSidebarPinned: G,
138
+ toggleSidebarPinned: G,
139
+ mobileMenuOpen: !1,
140
+ setMobileMenuOpen: G,
141
+ toggleMobileMenu: G,
142
+ closeMobileMenu: G,
143
+ isMobileViewport: !1,
144
+ pinnable: !1,
145
+ mobileMenuEnabled: !1
146
+ });
147
+ function De() {
148
+ return a(Ee);
149
+ }
150
+ //#endregion
134
151
  //#region src/components/layout/FCCSidePanel.jsx
135
- var G = (...e) => e.filter(Boolean).join(" "), Ce = 300;
136
- function we({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: l = "" }) {
152
+ var K = (...e) => e.filter(Boolean).join(" "), Oe = 300;
153
+ function ke({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: l = "" }) {
137
154
  let f = r && n ? n : t, p = u(null), m = u(null), [h, g] = d(e ? i : null), [_, v] = d(f), [y, b] = d(e && !!i);
138
155
  o(() => () => {
139
156
  p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null);
@@ -151,29 +168,29 @@ function we({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1,
151
168
  ]), o(() => {
152
169
  if (!(e || !y)) return m.current = window.setTimeout(() => {
153
170
  b(!1), g(null), m.current = null;
154
- }, Ce), () => {
171
+ }, Oe), () => {
155
172
  m.current &&= (window.clearTimeout(m.current), null);
156
173
  };
157
174
  }, [e, y]);
158
175
  let x = !e && y, S = e ? i : y ? h : null, C = e ? f : y ? _ : f, w = e && !!i || !!S;
159
176
  return /* @__PURE__ */ U("div", {
160
- className: G("fcc-side-panel-layout", s),
177
+ className: K("fcc-side-panel-layout", s),
161
178
  children: [/* @__PURE__ */ H("div", {
162
- className: G("fcc-side-panel-content", c),
179
+ className: K("fcc-side-panel-content", c),
163
180
  children: a
164
181
  }), /* @__PURE__ */ H("div", {
165
- className: G("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
182
+ className: K("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
166
183
  style: { "--fcc-side-panel-width": `${C}px` },
167
184
  children: /* @__PURE__ */ H("div", {
168
- className: G("fcc-side-panel-inner", l),
185
+ className: K("fcc-side-panel-inner", l),
169
186
  children: S
170
187
  })
171
188
  })]
172
189
  });
173
190
  }
174
- function Te({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
191
+ function Ae({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
175
192
  return /* @__PURE__ */ U("div", {
176
- className: G("fcc-side-panel-header", i),
193
+ className: K("fcc-side-panel-header", i),
177
194
  children: [/* @__PURE__ */ U("div", {
178
195
  className: "fcc-side-panel-header-copy",
179
196
  children: [/* @__PURE__ */ H("div", {
@@ -194,25 +211,25 @@ function Te({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }
194
211
  })]
195
212
  });
196
213
  }
197
- function Ee({ children: e, className: t = "" }) {
214
+ function je({ children: e, className: t = "" }) {
198
215
  return /* @__PURE__ */ H("div", {
199
- className: G("fcc-side-panel-body", t),
216
+ className: K("fcc-side-panel-body", t),
200
217
  children: e
201
218
  });
202
219
  }
203
- function De({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
220
+ function Me({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
204
221
  return /* @__PURE__ */ H("div", {
205
- className: G("fcc-side-panel-tabs", r),
222
+ className: K("fcc-side-panel-tabs", r),
206
223
  children: e.map((e, r) => /* @__PURE__ */ H("button", {
207
- className: G("fcc-side-panel-tab", t === r && "active"),
224
+ className: K("fcc-side-panel-tab", t === r && "active"),
208
225
  onClick: () => n?.(r),
209
226
  children: e
210
227
  }, e))
211
228
  });
212
229
  }
213
- function Oe({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
230
+ function Ne({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
214
231
  return /* @__PURE__ */ U("div", {
215
- className: G("fcc-side-panel-search", r),
232
+ className: K("fcc-side-panel-search", r),
216
233
  children: [/* @__PURE__ */ H(B, { size: 13 }), n ? /* @__PURE__ */ H("input", {
217
234
  className: "fcc-side-panel-search-input",
218
235
  type: "text",
@@ -225,15 +242,15 @@ function Oe({ placeholder: e = "Search...", value: t, onChange: n, className: r
225
242
  })]
226
243
  });
227
244
  }
228
- function ke({ children: e, className: t = "" }) {
245
+ function Pe({ children: e, className: t = "" }) {
229
246
  return /* @__PURE__ */ H("div", {
230
- className: G("fcc-side-panel-group-label", t),
247
+ className: K("fcc-side-panel-group-label", t),
231
248
  children: e
232
249
  });
233
250
  }
234
- function Ae({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
251
+ function Fe({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
235
252
  return /* @__PURE__ */ U("div", {
236
- className: G("fcc-side-panel-item", a),
253
+ className: K("fcc-side-panel-item", a),
237
254
  onClick: i,
238
255
  children: [
239
256
  e && /* @__PURE__ */ H("span", {
@@ -257,9 +274,9 @@ function Ae({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "
257
274
  ]
258
275
  });
259
276
  }
260
- function je({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
277
+ function Ie({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
261
278
  return /* @__PURE__ */ U("div", {
262
- className: G("fcc-side-panel-card", o),
279
+ className: K("fcc-side-panel-card", o),
263
280
  onClick: a,
264
281
  children: [/* @__PURE__ */ H("div", {
265
282
  className: "fcc-side-panel-card-avatar",
@@ -283,9 +300,9 @@ function je({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, cl
283
300
  })]
284
301
  });
285
302
  }
286
- function Me({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
303
+ function Le({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
287
304
  return /* @__PURE__ */ U("div", {
288
- className: G("fcc-side-panel-contact", r && "active", o),
305
+ className: K("fcc-side-panel-contact", r && "active", o),
289
306
  onClick: a,
290
307
  children: [
291
308
  /* @__PURE__ */ U("div", {
@@ -303,22 +320,22 @@ function Me({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, cla
303
320
  ]
304
321
  });
305
322
  }
306
- function Ne({ children: e, onClick: t, className: n = "" }) {
323
+ function Re({ children: e, onClick: t, className: n = "" }) {
307
324
  return /* @__PURE__ */ H("div", {
308
- className: G("fcc-side-panel-action", n),
325
+ className: K("fcc-side-panel-action", n),
309
326
  onClick: t,
310
327
  children: e
311
328
  });
312
329
  }
313
- function Pe({ children: e, className: t = "" }) {
330
+ function ze({ children: e, className: t = "" }) {
314
331
  return /* @__PURE__ */ H("div", {
315
- className: G("fcc-side-panel-chat-wrap", t),
332
+ className: K("fcc-side-panel-chat-wrap", t),
316
333
  children: e
317
334
  });
318
335
  }
319
- function Fe({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
336
+ function Be({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
320
337
  return /* @__PURE__ */ U("div", {
321
- className: G("fcc-side-panel-conversation", i),
338
+ className: K("fcc-side-panel-conversation", i),
322
339
  children: [
323
340
  /* @__PURE__ */ U("div", {
324
341
  className: "fcc-side-panel-conv-header",
@@ -341,22 +358,22 @@ function Fe({ title: e, headerActions: t, messages: n = [], input: r, className:
341
358
  ]
342
359
  });
343
360
  }
344
- function Ie({ from: e = "other", meta: t, children: n, className: r = "" }) {
361
+ function Ve({ from: e = "other", meta: t, children: n, className: r = "" }) {
345
362
  let i = e === "you";
346
363
  return /* @__PURE__ */ U("div", {
347
- className: G("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
364
+ className: K("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
348
365
  children: [t && /* @__PURE__ */ H("div", {
349
366
  className: "fcc-side-panel-msg-meta",
350
367
  children: t
351
368
  }), /* @__PURE__ */ H("div", {
352
- className: G("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
369
+ className: K("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
353
370
  children: n
354
371
  })]
355
372
  });
356
373
  }
357
374
  //#endregion
358
375
  //#region src/components/layout/FCCBreadcrumbs.jsx
359
- function Le(e, t) {
376
+ function He(e, t) {
360
377
  let n = [
361
378
  "fcc-breadcrumb-item",
362
379
  t ? "current" : "",
@@ -379,7 +396,7 @@ function Le(e, t) {
379
396
  children: e.label
380
397
  });
381
398
  }
382
- function Re({ items: e = [], className: t = "" }) {
399
+ function Ue({ items: e = [], className: t = "" }) {
383
400
  let n = e.filter((e) => e?.label);
384
401
  return n.length === 0 ? null : /* @__PURE__ */ H("nav", {
385
402
  className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
@@ -391,25 +408,25 @@ function Re({ items: e = [], className: t = "" }) {
391
408
  children: [t > 0 && /* @__PURE__ */ H("span", {
392
409
  className: "fcc-breadcrumb-sep",
393
410
  children: "/"
394
- }), Le(e, r)]
411
+ }), He(e, r)]
395
412
  }, e.key || e.label || t);
396
413
  })
397
414
  });
398
415
  }
399
416
  //#endregion
400
417
  //#region src/components/layout/FCCHeaderStatus.jsx
401
- var ze = {
418
+ var We = {
402
419
  success: "fcc-header-status-success",
403
420
  warning: "fcc-header-status-warning",
404
421
  danger: "fcc-header-status-danger",
405
422
  info: "fcc-header-status-info",
406
423
  neutral: "fcc-header-status-neutral"
407
424
  };
408
- function Be({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
425
+ function Ge({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
409
426
  return e ? /* @__PURE__ */ U("div", {
410
427
  className: [
411
428
  "fcc-header-status",
412
- ze[t] || ze.neutral,
429
+ We[t] || We.neutral,
413
430
  r
414
431
  ].filter(Boolean).join(" "),
415
432
  children: [/* @__PURE__ */ H("span", {
@@ -420,16 +437,25 @@ function Be({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
420
437
  }
421
438
  //#endregion
422
439
  //#region src/components/layout/FCCWorkspaceHeader.jsx
423
- function Ve({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "" }) {
440
+ function Ke({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "", showMobileMenuToggle: o = !0 }) {
441
+ let { isMobileViewport: s, mobileMenuEnabled: c, mobileMenuOpen: l, toggleMobileMenu: u } = De(), d = o && c && s;
424
442
  return /* @__PURE__ */ U("header", {
425
443
  className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
426
- children: [/* @__PURE__ */ H("div", {
444
+ children: [/* @__PURE__ */ U("div", {
427
445
  className: "fcc-workspace-header-left",
428
- children: r || /* @__PURE__ */ H(Re, { items: e })
446
+ children: [d && /* @__PURE__ */ H("button", {
447
+ type: "button",
448
+ className: "fcc-hamburger-btn",
449
+ onClick: u,
450
+ "aria-label": l ? "Close menu" : "Open menu",
451
+ "aria-expanded": l,
452
+ title: l ? "Close menu" : "Open menu",
453
+ children: /* @__PURE__ */ H(N, { size: 18 })
454
+ }), r || /* @__PURE__ */ H(Ue, { items: e })]
429
455
  }), /* @__PURE__ */ U("div", {
430
456
  className: "fcc-workspace-header-right",
431
457
  children: [
432
- t && /* @__PURE__ */ H(Be, { ...t }),
458
+ t && /* @__PURE__ */ H(Ge, { ...t }),
433
459
  n,
434
460
  i
435
461
  ]
@@ -438,8 +464,8 @@ function Ve({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
438
464
  }
439
465
  //#endregion
440
466
  //#region src/components/layout/FCCMainWindow.jsx
441
- function He({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, callbar: s = null, className: c = "", headerClassName: l = "", contentClassName: u = "" }) {
442
- let d = o ? /* @__PURE__ */ H(we, {
467
+ function qe({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, callbar: s = null, className: c = "", headerClassName: l = "", contentClassName: u = "" }) {
468
+ let d = o ? /* @__PURE__ */ H(ke, {
443
469
  open: o.open,
444
470
  width: o.width,
445
471
  expandedWidth: o.expandedWidth,
@@ -453,7 +479,7 @@ function He({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
453
479
  return /* @__PURE__ */ U("div", {
454
480
  className: ["fcc-main-window", c].filter(Boolean).join(" "),
455
481
  children: [
456
- r || /* @__PURE__ */ H(Ve, {
482
+ r || /* @__PURE__ */ H(Ke, {
457
483
  breadcrumbs: e,
458
484
  status: t,
459
485
  actions: n,
@@ -474,7 +500,7 @@ function He({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
474
500
  }
475
501
  //#endregion
476
502
  //#region src/components/layout/FCCSidebar.jsx
477
- function Ue(e, t) {
503
+ function Je(e, t) {
478
504
  if (!e.disabled) {
479
505
  if (e.onClick) {
480
506
  e.onClick(e);
@@ -483,10 +509,10 @@ function Ue(e, t) {
483
509
  t?.(e);
484
510
  }
485
511
  }
486
- function We(e, t) {
512
+ function Ye(e, t) {
487
513
  return !e.childrenSections?.length || !t ? !1 : e.childrenSections.some((e) => e.items?.some((e) => e.key === t));
488
514
  }
489
- function Ge(e, t) {
515
+ function Xe(e, t) {
490
516
  if (!t.trim()) return e;
491
517
  let n = t.trim().toLowerCase();
492
518
  return e.map((e) => ({
@@ -494,9 +520,9 @@ function Ge(e, t) {
494
520
  items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
495
521
  })).filter((e) => e.items.length > 0);
496
522
  }
497
- function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
498
- let [l, u] = d({}), [f, p] = d({});
499
- function m(e, t) {
523
+ function Ze({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
524
+ let [l, u] = d({}), [f, p] = d({}), { pinnable: m, sidebarPinned: h, toggleSidebarPinned: g, isMobileViewport: _, mobileMenuEnabled: v, closeMobileMenu: b } = De(), x = m && !_, S = v && _;
525
+ function C(e, t) {
500
526
  p((n) => ({
501
527
  ...n,
502
528
  [e]: t
@@ -507,19 +533,38 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
507
533
  children: [
508
534
  /* @__PURE__ */ U("div", {
509
535
  className: "fcc-sidebar-brand",
510
- children: [/* @__PURE__ */ H("div", {
511
- className: "fcc-sidebar-brand-logo-slot",
512
- children: t
513
- }), /* @__PURE__ */ H("span", {
514
- className: "fcc-sidebar-label fcc-sidebar-brand-text",
515
- children: e
516
- })]
536
+ children: [
537
+ /* @__PURE__ */ H("div", {
538
+ className: "fcc-sidebar-brand-logo-slot",
539
+ children: t
540
+ }),
541
+ /* @__PURE__ */ H("span", {
542
+ className: "fcc-sidebar-label fcc-sidebar-brand-text",
543
+ children: e
544
+ }),
545
+ S ? /* @__PURE__ */ H("button", {
546
+ type: "button",
547
+ className: "fcc-sidebar-close-btn",
548
+ onClick: b,
549
+ "aria-label": "Close menu",
550
+ title: "Close menu",
551
+ children: /* @__PURE__ */ H(V, { size: 16 })
552
+ }) : x ? /* @__PURE__ */ H("button", {
553
+ type: "button",
554
+ className: "fcc-sidebar-pin-btn",
555
+ onClick: g,
556
+ "aria-label": h ? "Unpin sidebar" : "Pin sidebar open",
557
+ title: h ? "Unpin sidebar" : "Pin sidebar open",
558
+ "aria-pressed": h,
559
+ children: H(h ? oe : ae, { size: 14 })
560
+ }) : null
561
+ ]
517
562
  }),
518
563
  /* @__PURE__ */ H("nav", {
519
564
  className: "fcc-sidebar-nav",
520
565
  "aria-label": `${e} navigation`,
521
566
  children: n.map((e) => {
522
- let t = e.childrenSections?.length > 0, n = We(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Ge(e.childrenSections, s) : [];
567
+ let t = e.childrenSections?.length > 0, n = Ye(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Xe(e.childrenSections, s) : [];
523
568
  return /* @__PURE__ */ U("div", {
524
569
  className: [
525
570
  "fcc-sidebar-entry",
@@ -534,7 +579,7 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
534
579
  e.disabled ? "disabled" : ""
535
580
  ].filter(Boolean).join(" "),
536
581
  onClick: () => {
537
- t && m(e.key, !0), Ue(e, i);
582
+ t && C(e.key, !0), Je(e, i);
538
583
  },
539
584
  "aria-current": a ? "page" : void 0,
540
585
  disabled: e.disabled,
@@ -559,7 +604,7 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
559
604
  o ? "is-expanded" : ""
560
605
  ].filter(Boolean).join(" "),
561
606
  onClick: (t) => {
562
- t.preventDefault(), t.stopPropagation(), m(e.key, !o);
607
+ t.preventDefault(), t.stopPropagation(), C(e.key, !o);
563
608
  },
564
609
  role: "button",
565
610
  "aria-label": `${o ? "Collapse" : "Expand"} ${e.label}`,
@@ -596,7 +641,7 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
596
641
  children: e.items.map((e) => /* @__PURE__ */ H("button", {
597
642
  type: "button",
598
643
  className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
599
- onClick: () => Ue(e, i),
644
+ onClick: () => Je(e, i),
600
645
  title: e.label,
601
646
  children: /* @__PURE__ */ H("span", {
602
647
  className: "fcc-sidebar-label",
@@ -645,38 +690,110 @@ function Ke({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
645
690
  }
646
691
  //#endregion
647
692
  //#region src/components/layout/FCCAppShell.jsx
648
- function qe({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, breadcrumbs: c = [], status: l, headerActions: u, header: d, children: f, overlay: p, sidePanel: m, callbar: h = null, className: g = "", sidebarClassName: _ = "", mainClassName: v = "", headerClassName: y = "", contentClassName: b = "" }) {
649
- return /* @__PURE__ */ U("div", {
650
- className: ["fcc-app-shell", g].filter(Boolean).join(" "),
651
- children: [/* @__PURE__ */ H(Ke, {
652
- appName: e,
653
- logo: t,
654
- navItems: n,
655
- activeNavKey: r,
656
- onNavigate: i,
657
- user: a,
658
- footer: o,
659
- onLogout: s,
660
- className: _
661
- }), /* @__PURE__ */ H(He, {
662
- breadcrumbs: c,
663
- status: l,
664
- headerActions: u,
665
- header: d,
666
- overlay: p,
667
- sidePanel: m,
668
- callbar: h,
669
- className: v,
670
- headerClassName: y,
671
- contentClassName: b,
672
- children: f
673
- })]
693
+ var Qe = "fcc-sidebar-pinned", $e = 1024;
694
+ function et(e) {
695
+ if (typeof window > "u") return !1;
696
+ try {
697
+ return window.localStorage.getItem(e) === "true";
698
+ } catch {
699
+ return !1;
700
+ }
701
+ }
702
+ function tt(e, t) {
703
+ if (!(typeof window > "u")) try {
704
+ window.localStorage.setItem(e, t ? "true" : "false");
705
+ } catch {}
706
+ }
707
+ function nt({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: a, user: s, footer: c, onLogout: u, breadcrumbs: f = [], status: p, headerActions: m, header: h, children: g, overlay: _, sidePanel: v, callbar: y = null, className: b = "", sidebarClassName: x = "", mainClassName: S = "", headerClassName: C = "", contentClassName: w = "", pinnable: T = !0, mobileMenuEnabled: E = !0, mobileBreakpoint: D = $e, pinStorageKey: O = Qe }) {
708
+ let [k, A] = d(() => T ? et(O) : !1), [j, M] = d(!1), [N, P] = d(() => typeof window > "u" ? 1920 : window.innerWidth);
709
+ o(() => {
710
+ if (typeof window > "u") return;
711
+ let e = () => P(window.innerWidth);
712
+ return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
713
+ }, []);
714
+ let F = E && N < D, I = F && j;
715
+ o(() => {
716
+ T && tt(O, k);
717
+ }, [
718
+ T,
719
+ O,
720
+ k
721
+ ]);
722
+ let L = i(() => {
723
+ A((e) => !e);
724
+ }, []), R = i(() => {
725
+ M((e) => !e);
726
+ }, []), z = i(() => {
727
+ M(!1);
728
+ }, []), ee = l(() => ({
729
+ sidebarPinned: T ? k : !1,
730
+ setSidebarPinned: A,
731
+ toggleSidebarPinned: L,
732
+ mobileMenuOpen: I,
733
+ setMobileMenuOpen: M,
734
+ toggleMobileMenu: R,
735
+ closeMobileMenu: z,
736
+ isMobileViewport: F,
737
+ pinnable: T,
738
+ mobileMenuEnabled: E
739
+ }), [
740
+ z,
741
+ I,
742
+ F,
743
+ E,
744
+ T,
745
+ k,
746
+ R,
747
+ L
748
+ ]), te = [
749
+ "fcc-app-shell",
750
+ T && k && "fcc-sidebar-pinned",
751
+ F && "fcc-mobile-shell",
752
+ I && "fcc-mobile-menu-open",
753
+ b
754
+ ].filter(Boolean).join(" ");
755
+ return /* @__PURE__ */ H(Ee.Provider, {
756
+ value: ee,
757
+ children: /* @__PURE__ */ U("div", {
758
+ className: te,
759
+ children: [
760
+ /* @__PURE__ */ H(Ze, {
761
+ appName: e,
762
+ logo: t,
763
+ navItems: n,
764
+ activeNavKey: r,
765
+ onNavigate: a,
766
+ user: s,
767
+ footer: c,
768
+ onLogout: u,
769
+ className: x
770
+ }),
771
+ /* @__PURE__ */ H(qe, {
772
+ breadcrumbs: f,
773
+ status: p,
774
+ headerActions: m,
775
+ header: h,
776
+ overlay: _,
777
+ sidePanel: v,
778
+ callbar: y,
779
+ className: S,
780
+ headerClassName: C,
781
+ contentClassName: w,
782
+ children: g
783
+ }),
784
+ I && /* @__PURE__ */ H("div", {
785
+ className: "fcc-mobile-menu-backdrop",
786
+ onClick: z,
787
+ "aria-hidden": !0
788
+ })
789
+ ]
790
+ })
674
791
  });
675
792
  }
676
793
  //#endregion
677
794
  //#region src/components/layout/FCCBrandLogo.jsx
678
- function Je({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
679
- let { theme: a } = xe(), o = a === "dark" ? e || t : t || e;
795
+ function rt({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
796
+ let { theme: a } = we(), o = a === "dark" ? e || t : t || e;
680
797
  return o ? /* @__PURE__ */ H("img", {
681
798
  src: o,
682
799
  alt: n,
@@ -686,8 +803,8 @@ function Je({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
686
803
  }
687
804
  //#endregion
688
805
  //#region src/components/layout/FCCThemeToggle.jsx
689
- function Ye({ className: e = "" }) {
690
- let { theme: t, toggleTheme: n } = xe(), r = t === "dark";
806
+ function it({ className: e = "" }) {
807
+ let { theme: t, toggleTheme: n } = we(), r = t === "dark";
691
808
  return /* @__PURE__ */ H("button", {
692
809
  type: "button",
693
810
  onClick: n,
@@ -700,12 +817,12 @@ function Ye({ className: e = "" }) {
700
817
  ].filter(Boolean).join(" "),
701
818
  title: r ? "Switch to light mode" : "Switch to dark mode",
702
819
  "aria-label": r ? "Switch to light mode" : "Switch to dark mode",
703
- children: H(r ? I : ae, { size: 16 })
820
+ children: H(r ? L : ce, { size: 16 })
704
821
  });
705
822
  }
706
823
  //#endregion
707
824
  //#region src/components/ui/AppLoader.jsx
708
- function Xe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
825
+ function at({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
709
826
  return t ? /* @__PURE__ */ U("div", {
710
827
  className: `loader-fullscreen ${n}`,
711
828
  children: [/* @__PURE__ */ H(A, {
@@ -726,13 +843,13 @@ function Xe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" })
726
843
  })]
727
844
  });
728
845
  }
729
- function Ze({ size: e = 16, className: t = "" }) {
846
+ function ot({ size: e = 16, className: t = "" }) {
730
847
  return /* @__PURE__ */ H(A, {
731
848
  size: e,
732
849
  className: `loader-spin ${t}`
733
850
  });
734
851
  }
735
- function Qe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
852
+ function st({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
736
853
  let s = /* @__PURE__ */ U("div", {
737
854
  className: "fcc-loader-stage",
738
855
  style: { "--fcc-loader-size": `${n}px` },
@@ -740,14 +857,14 @@ function Qe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
740
857
  children: [
741
858
  /* @__PURE__ */ H("span", { className: "fcc-loader-ring" }),
742
859
  /* @__PURE__ */ H("span", { className: "fcc-loader-glow" }),
743
- /* @__PURE__ */ H(Je, {
860
+ /* @__PURE__ */ H(rt, {
744
861
  darkSrc: r,
745
862
  lightSrc: i,
746
863
  alt: a,
747
864
  className: "fcc-loader-logo"
748
865
  })
749
866
  ]
750
- }), c = t ? `fcc-loader fcc-loader-fullscreen ${o}`.trim() : `fcc-loader ${o}`.trim(), l = typeof e == "string" ? e.match(/^(.*?)\.{3}\s*$/) : null, u = l ? /* @__PURE__ */ U(ue, { children: [l[1], /* @__PURE__ */ U("span", {
867
+ }), c = t ? `fcc-loader fcc-loader-fullscreen ${o}`.trim() : `fcc-loader ${o}`.trim(), l = typeof e == "string" ? e.match(/^(.*?)\.{3}\s*$/) : null, u = l ? /* @__PURE__ */ U(pe, { children: [l[1], /* @__PURE__ */ U("span", {
751
868
  className: "fcc-loader-dots",
752
869
  "aria-hidden": "true",
753
870
  children: [
@@ -777,7 +894,7 @@ function Qe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
777
894
  }
778
895
  //#endregion
779
896
  //#region src/components/ui/FCCDetailsPanel.jsx
780
- function $e({ open: e, onClose: t, title: n, header: r, children: a, loading: s = !1, loadingLabel: c = "Loading...", loaderSize: l = 64, loaderDarkSrc: f, loaderLightSrc: p, width: m, zIndex: h = 1100, showBackdrop: g = !0, resizable: _ = !0, minWidth: v = 360, storageKey: y, className: b = "" }) {
897
+ function ct({ open: e, onClose: t, title: n, header: r, children: a, loading: s = !1, loadingLabel: c = "Loading...", loaderSize: l = 64, loaderDarkSrc: f, loaderLightSrc: p, width: m, zIndex: h = 1100, showBackdrop: g = !0, resizable: _ = !0, minWidth: v = 360, storageKey: y, className: b = "" }) {
781
898
  let [x, S] = d(!1), [C, w] = d(!1), [T, E] = d(!1), [D, O] = d(() => {
782
899
  if (!y || typeof window > "u") return null;
783
900
  let e = window.localStorage.getItem(y), t = e ? parseInt(e, 10) : NaN;
@@ -857,7 +974,7 @@ function $e({ open: e, onClose: t, title: n, header: r, children: a, loading: s
857
974
  className: "fcc-details-panel-body",
858
975
  children: s ? /* @__PURE__ */ H("div", {
859
976
  className: "fcc-details-panel-loading",
860
- children: /* @__PURE__ */ H(Qe, {
977
+ children: /* @__PURE__ */ H(st, {
861
978
  label: c,
862
979
  size: l,
863
980
  darkSrc: f,
@@ -871,8 +988,8 @@ function $e({ open: e, onClose: t, title: n, header: r, children: a, loading: s
871
988
  }
872
989
  //#endregion
873
990
  //#region src/components/ui/FCCFullPagePanel.jsx
874
- var et = 220;
875
- function tt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
991
+ var lt = 220;
992
+ function ut({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
876
993
  let [s, c] = d(e ? "open" : "closed"), l = e || s !== "closed";
877
994
  return o(() => {
878
995
  if (a) return l ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
@@ -894,7 +1011,7 @@ function tt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
894
1011
  return () => cancelAnimationFrame(e);
895
1012
  }
896
1013
  if (s === "closed") return;
897
- let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), et);
1014
+ let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), lt);
898
1015
  return () => {
899
1016
  cancelAnimationFrame(t), window.clearTimeout(n);
900
1017
  };
@@ -909,7 +1026,7 @@ function tt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
909
1026
  })
910
1027
  }), document.body);
911
1028
  }
912
- function nt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose: a, className: o = "" }) {
1029
+ function dt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose: a, className: o = "" }) {
913
1030
  return /* @__PURE__ */ U("div", {
914
1031
  className: `fcc-fpp-header ${o}`,
915
1032
  children: [/* @__PURE__ */ U("div", {
@@ -943,31 +1060,31 @@ function nt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, onClose
943
1060
  })]
944
1061
  });
945
1062
  }
946
- function rt({ children: e, className: t = "" }) {
1063
+ function ft({ children: e, className: t = "" }) {
947
1064
  return /* @__PURE__ */ H("div", {
948
1065
  className: `fcc-fpp-toolbar ${t}`,
949
1066
  children: e
950
1067
  });
951
1068
  }
952
- function it({ children: e, className: t = "" }) {
1069
+ function pt({ children: e, className: t = "" }) {
953
1070
  return /* @__PURE__ */ H("div", {
954
1071
  className: `fcc-fpp-body ${t}`,
955
1072
  children: e
956
1073
  });
957
1074
  }
958
- function at({ children: e, className: t = "" }) {
1075
+ function mt({ children: e, className: t = "" }) {
959
1076
  return /* @__PURE__ */ H("div", {
960
1077
  className: `fcc-fpp-main ${t}`,
961
1078
  children: e
962
1079
  });
963
1080
  }
964
- function ot({ children: e, side: t = "right", className: n = "" }) {
1081
+ function ht({ children: e, side: t = "right", className: n = "" }) {
965
1082
  return /* @__PURE__ */ H("aside", {
966
1083
  className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} ${n}`,
967
1084
  children: e
968
1085
  });
969
1086
  }
970
- function st({ children: e, className: t = "" }) {
1087
+ function gt({ children: e, className: t = "" }) {
971
1088
  return /* @__PURE__ */ H("div", {
972
1089
  className: `fcc-fpp-footer ${t}`,
973
1090
  children: e
@@ -975,7 +1092,7 @@ function st({ children: e, className: t = "" }) {
975
1092
  }
976
1093
  //#endregion
977
1094
  //#region src/components/ui/Accordion.jsx
978
- function ct({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
1095
+ function _t({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
979
1096
  let [o, s] = d(n);
980
1097
  return /* @__PURE__ */ U("div", {
981
1098
  className: `accordion-item ${r}`,
@@ -1003,7 +1120,7 @@ function ct({ title: e, header: t, defaultOpen: n = !1, className: r = "", conte
1003
1120
  })]
1004
1121
  });
1005
1122
  }
1006
- function lt({ items: e = [], className: t = "" }) {
1123
+ function vt({ items: e = [], className: t = "" }) {
1007
1124
  let [n, r] = d(/* @__PURE__ */ new Set());
1008
1125
  function i(e) {
1009
1126
  r((t) => {
@@ -1045,12 +1162,12 @@ function lt({ items: e = [], className: t = "" }) {
1045
1162
  }
1046
1163
  //#endregion
1047
1164
  //#region src/components/ui/Avatar.jsx
1048
- var ut = {
1165
+ var yt = {
1049
1166
  sm: "avatar-sm",
1050
1167
  md: "",
1051
1168
  lg: "avatar-lg",
1052
1169
  xl: "avatar-xl"
1053
- }, dt = [
1170
+ }, bt = [
1054
1171
  "#5e6ad2",
1055
1172
  "#5bb98e",
1056
1173
  "#c9a84e",
@@ -1059,13 +1176,13 @@ var ut = {
1059
1176
  "#5a8ebf",
1060
1177
  "#c4a06a"
1061
1178
  ];
1062
- function ft(e) {
1179
+ function xt(e) {
1063
1180
  let t = 0;
1064
1181
  for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
1065
- return dt[Math.abs(t) % dt.length];
1182
+ return bt[Math.abs(t) % bt.length];
1066
1183
  }
1067
- function K({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
1068
- let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || ft(c), u = ut[r] || "";
1184
+ function q({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
1185
+ let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || xt(c), u = yt[r] || "";
1069
1186
  return e && !o ? /* @__PURE__ */ H("img", {
1070
1187
  src: e,
1071
1188
  alt: n || "",
@@ -1086,7 +1203,7 @@ function K({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
1086
1203
  }
1087
1204
  //#endregion
1088
1205
  //#region src/components/ui/Badge.jsx
1089
- var pt = {
1206
+ var St = {
1090
1207
  default: "var(--text-quaternary)",
1091
1208
  secondary: "var(--text-quaternary)",
1092
1209
  success: "var(--accent-green)",
@@ -1097,8 +1214,8 @@ var pt = {
1097
1214
  purple: "var(--accent-purple)",
1098
1215
  orange: "var(--accent-orange)"
1099
1216
  };
1100
- function q({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
1101
- let a = pt[e] || pt.default;
1217
+ function J({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
1218
+ let a = St[e] || St.default;
1102
1219
  return /* @__PURE__ */ U("span", {
1103
1220
  className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
1104
1221
  ...i,
@@ -1110,7 +1227,7 @@ function q({ variant: e = "default", className: t = "", children: n, showDot: r
1110
1227
  }
1111
1228
  //#endregion
1112
1229
  //#region src/components/ui/Button.jsx
1113
- var mt = {
1230
+ var Ct = {
1114
1231
  default: "btn-primary",
1115
1232
  destructive: "btn-danger",
1116
1233
  success: "btn-success",
@@ -1120,76 +1237,76 @@ var mt = {
1120
1237
  muted: "btn-muted",
1121
1238
  ghost: "btn-ghost",
1122
1239
  link: "btn-link"
1123
- }, ht = {
1240
+ }, wt = {
1124
1241
  sm: "btn-sm",
1125
1242
  default: "",
1126
1243
  lg: "btn-lg",
1127
1244
  icon: "btn-icon"
1128
- }, J = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
1245
+ }, Y = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
1129
1246
  return /* @__PURE__ */ H("button", {
1130
1247
  ref: a,
1131
1248
  className: [
1132
1249
  "btn",
1133
- mt[e],
1134
- ht[t],
1250
+ Ct[e],
1251
+ wt[t],
1135
1252
  n
1136
1253
  ].filter(Boolean).join(" "),
1137
1254
  ...i,
1138
1255
  children: r
1139
1256
  });
1140
- }), gt = {
1257
+ }), Tt = {
1141
1258
  default: "card-default",
1142
1259
  green: "card-green",
1143
1260
  red: "card-red",
1144
1261
  yellow: "card-yellow"
1145
- }, _t = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
1262
+ }, Et = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
1146
1263
  return /* @__PURE__ */ H("div", {
1147
1264
  ref: i,
1148
1265
  className: [
1149
1266
  "card",
1150
- gt[e],
1267
+ Tt[e],
1151
1268
  t
1152
1269
  ].filter(Boolean).join(" "),
1153
1270
  ...r,
1154
1271
  children: n
1155
1272
  });
1156
- }), vt = n(function({ className: e = "", children: t, ...n }, r) {
1273
+ }), Dt = n(function({ className: e = "", children: t, ...n }, r) {
1157
1274
  return /* @__PURE__ */ H("div", {
1158
1275
  ref: r,
1159
1276
  className: `card-header ${e}`,
1160
1277
  ...n,
1161
1278
  children: t
1162
1279
  });
1163
- }), yt = n(function({ className: e = "", children: t, ...n }, r) {
1280
+ }), Ot = n(function({ className: e = "", children: t, ...n }, r) {
1164
1281
  return /* @__PURE__ */ H("h3", {
1165
1282
  ref: r,
1166
1283
  className: `card-title ${e}`,
1167
1284
  ...n,
1168
1285
  children: t
1169
1286
  });
1170
- }), bt = n(function({ className: e = "", children: t, ...n }, r) {
1287
+ }), kt = n(function({ className: e = "", children: t, ...n }, r) {
1171
1288
  return /* @__PURE__ */ H("p", {
1172
1289
  ref: r,
1173
1290
  className: `card-description ${e}`,
1174
1291
  ...n,
1175
1292
  children: t
1176
1293
  });
1177
- }), xt = n(function({ className: e = "", children: t, ...n }, r) {
1294
+ }), At = n(function({ className: e = "", children: t, ...n }, r) {
1178
1295
  return /* @__PURE__ */ H("div", {
1179
1296
  ref: r,
1180
1297
  className: `card-body ${e}`,
1181
1298
  ...n,
1182
1299
  children: t
1183
1300
  });
1184
- }), St = n(function({ className: e = "", children: t, ...n }, r) {
1301
+ }), jt = n(function({ className: e = "", children: t, ...n }, r) {
1185
1302
  return /* @__PURE__ */ H("div", {
1186
1303
  ref: r,
1187
1304
  className: `card-footer ${e}`,
1188
1305
  ...n,
1189
1306
  children: t
1190
1307
  });
1191
- }), Ct = 220;
1192
- function wt({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
1308
+ }), Mt = 220;
1309
+ function Nt({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
1193
1310
  let s = u(null), [c, l] = d(e ? "open" : "closed"), f = e || c !== "closed";
1194
1311
  return o(() => {
1195
1312
  if (!a) return f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
@@ -1206,7 +1323,7 @@ function wt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
1206
1323
  return () => cancelAnimationFrame(e);
1207
1324
  }
1208
1325
  if (c === "closed") return;
1209
- let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Ct);
1326
+ let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Mt);
1210
1327
  return () => {
1211
1328
  cancelAnimationFrame(t), window.clearTimeout(n);
1212
1329
  };
@@ -1223,7 +1340,7 @@ function wt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
1223
1340
  })
1224
1341
  }) : null;
1225
1342
  }
1226
- function Tt({ children: e, onClose: t, className: n = "" }) {
1343
+ function Pt({ children: e, onClose: t, className: n = "" }) {
1227
1344
  return /* @__PURE__ */ U("div", {
1228
1345
  className: `dialog-header ${n}`,
1229
1346
  children: [/* @__PURE__ */ H("div", {
@@ -1236,25 +1353,25 @@ function Tt({ children: e, onClose: t, className: n = "" }) {
1236
1353
  })]
1237
1354
  });
1238
1355
  }
1239
- function Et({ children: e, className: t = "" }) {
1356
+ function Ft({ children: e, className: t = "" }) {
1240
1357
  return /* @__PURE__ */ H("h3", {
1241
1358
  className: `dialog-title ${t}`,
1242
1359
  children: e
1243
1360
  });
1244
1361
  }
1245
- function Dt({ children: e, className: t = "" }) {
1362
+ function It({ children: e, className: t = "" }) {
1246
1363
  return /* @__PURE__ */ H("p", {
1247
1364
  className: `dialog-description ${t}`,
1248
1365
  children: e
1249
1366
  });
1250
1367
  }
1251
- function Ot({ children: e, className: t = "" }) {
1368
+ function Lt({ children: e, className: t = "" }) {
1252
1369
  return /* @__PURE__ */ H("div", {
1253
1370
  className: `dialog-body ${t}`,
1254
1371
  children: e
1255
1372
  });
1256
1373
  }
1257
- function kt({ children: e, className: t = "" }) {
1374
+ function Rt({ children: e, className: t = "" }) {
1258
1375
  return /* @__PURE__ */ H("div", {
1259
1376
  className: `dialog-footer ${t}`,
1260
1377
  children: e
@@ -1262,7 +1379,7 @@ function kt({ children: e, className: t = "" }) {
1262
1379
  }
1263
1380
  //#endregion
1264
1381
  //#region src/components/ui/Input.jsx
1265
- var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r, error: i, clearable: a = !1, startIcon: o, endIcon: c, placeholder: l, value: f, defaultValue: p, className: m = "", inputClassName: h = "", disabled: g = !1, type: _ = "text", "aria-describedby": v, "aria-invalid": y, onChange: b, ...x }, S) {
1382
+ var zt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r, error: i, clearable: a = !1, startIcon: o, endIcon: c, placeholder: l, value: f, defaultValue: p, className: m = "", inputClassName: h = "", disabled: g = !1, type: _ = "text", "aria-describedby": v, "aria-invalid": y, onChange: b, ...x }, S) {
1266
1383
  let C = u(null), w = s(), T = e || w, E = i && i !== !0 ? i : r, D = E ? `${T}-helper` : void 0, O = !!(i || y), k = !!(t && n === "floating"), A = [v, D].filter(Boolean).join(" ") || void 0, j = k ? " " : l, M = f !== void 0, [N, P] = d(() => String(p ?? "")), F = a && !g && (M ? String(f ?? "") : N).length > 0;
1267
1384
  function I(e) {
1268
1385
  C.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
@@ -1270,7 +1387,7 @@ var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1270
1387
  function L(e) {
1271
1388
  M || P(e.target.value), b?.(e);
1272
1389
  }
1273
- function ee() {
1390
+ function R() {
1274
1391
  let e = C.current;
1275
1392
  e && ((Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set)?.call(e, ""), e.dispatchEvent(new Event("input", { bubbles: !0 })), e.focus());
1276
1393
  }
@@ -1336,7 +1453,7 @@ var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1336
1453
  F ? /* @__PURE__ */ H("button", {
1337
1454
  type: "button",
1338
1455
  className: "fcc-input-clear",
1339
- onClick: ee,
1456
+ onClick: R,
1340
1457
  "aria-label": `Clear ${t || "input"}`,
1341
1458
  children: /* @__PURE__ */ H(V, { size: 12 })
1342
1459
  }) : null,
@@ -1356,7 +1473,7 @@ var At = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
1356
1473
  });
1357
1474
  //#endregion
1358
1475
  //#region src/components/ui/DropdownMenu.jsx
1359
- function jt({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
1476
+ function Bt({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
1360
1477
  let [s, l] = d(!1), [f, p] = d(null), m = u(null), h = u(null);
1361
1478
  return o(() => {
1362
1479
  a?.(s);
@@ -1409,7 +1526,7 @@ function jt({ trigger: e, children: t, align: n = "left", className: r = "", sid
1409
1526
  }), document.body)]
1410
1527
  });
1411
1528
  }
1412
- function Mt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
1529
+ function Vt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
1413
1530
  return /* @__PURE__ */ U("div", {
1414
1531
  className: `dropdown-item ${r ? "active" : ""} ${a}`,
1415
1532
  onClick: i,
@@ -1433,7 +1550,7 @@ function Mt({ icon: e, children: t, shortcut: n, active: r, onClick: i, classNam
1433
1550
  ]
1434
1551
  });
1435
1552
  }
1436
- function Nt({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
1553
+ function Ht({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
1437
1554
  return /* @__PURE__ */ U("div", {
1438
1555
  className: `dropdown-item ${e ? "active" : ""} ${r}`,
1439
1556
  onClick: () => t?.(!e),
@@ -1446,18 +1563,18 @@ function Nt({ checked: e, onCheckedChange: t, children: n, className: r = "" })
1446
1563
  })]
1447
1564
  });
1448
1565
  }
1449
- function Pt({ children: e, className: t = "" }) {
1566
+ function Ut({ children: e, className: t = "" }) {
1450
1567
  return /* @__PURE__ */ H("div", {
1451
1568
  className: `dropdown-label ${t}`,
1452
1569
  children: e
1453
1570
  });
1454
1571
  }
1455
- function Ft({ className: e = "" }) {
1572
+ function Wt({ className: e = "" }) {
1456
1573
  return /* @__PURE__ */ H("div", { className: `dropdown-divider ${e}` });
1457
1574
  }
1458
1575
  //#endregion
1459
1576
  //#region src/components/ui/SearchableSelect.jsx
1460
- function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
1577
+ function Gt({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
1461
1578
  let [f, p] = d(!1), [m, h] = d(""), [_, v] = d(-1), [b, x] = d(null), S = u(null), C = u(null), w = u(null), T = e.filter((e) => e.label.toLowerCase().includes(m.toLowerCase()) || e.description && e.description.toLowerCase().includes(m.toLowerCase())), E = e.find((e) => e.value === t);
1462
1579
  o(() => {
1463
1580
  f && w.current && w.current.focus();
@@ -1489,9 +1606,7 @@ function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
1489
1606
  f,
1490
1607
  T.length,
1491
1608
  m
1492
- ]), c(() => {
1493
- f || x(null);
1494
- }, [f]);
1609
+ ]);
1495
1610
  function D(e) {
1496
1611
  e.key === "ArrowDown" ? (e.preventDefault(), v((e) => Math.min(e + 1, T.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" && _ >= 0 && T[_] ? (n?.(T[_].value), p(!1), h("")) : e.key === "Escape" && (p(!1), h(""));
1497
1612
  }
@@ -1584,7 +1699,7 @@ function It({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
1584
1699
  }
1585
1700
  //#endregion
1586
1701
  //#region src/components/ui/Sheet.jsx
1587
- function Lt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
1702
+ function Kt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
1588
1703
  let s = u(null);
1589
1704
  return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1590
1705
  document.body.style.overflow = "";
@@ -1618,7 +1733,7 @@ function Lt({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
1618
1733
  })
1619
1734
  }) : null;
1620
1735
  }
1621
- function Rt({ children: e, className: t = "" }) {
1736
+ function qt({ children: e, className: t = "" }) {
1622
1737
  return /* @__PURE__ */ H("div", {
1623
1738
  className: `sheet-footer ${t}`,
1624
1739
  children: e
@@ -1626,17 +1741,17 @@ function Rt({ children: e, className: t = "" }) {
1626
1741
  }
1627
1742
  //#endregion
1628
1743
  //#region src/components/ui/StatusMetric.jsx
1629
- function zt(...e) {
1744
+ function Jt(...e) {
1630
1745
  return e.filter(Boolean).join(" ");
1631
1746
  }
1632
- var Bt = {
1747
+ var Yt = {
1633
1748
  default: "",
1634
1749
  warning: "status-metric--warning"
1635
1750
  };
1636
- function Vt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
1751
+ function Xt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
1637
1752
  let o = r || (t === "warning" ? p : C);
1638
1753
  return /* @__PURE__ */ U("span", {
1639
- className: zt("status-metric", Bt[t], a),
1754
+ className: Jt("status-metric", Yt[t], a),
1640
1755
  children: [n && o && /* @__PURE__ */ H("span", {
1641
1756
  className: "status-metric-icon",
1642
1757
  children: /* @__PURE__ */ H(o, { size: i })
@@ -1648,7 +1763,7 @@ function Vt({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconS
1648
1763
  }
1649
1764
  //#endregion
1650
1765
  //#region src/components/ui/Switch.jsx
1651
- function Ht({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
1766
+ function Zt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
1652
1767
  return /* @__PURE__ */ U("div", {
1653
1768
  className: "toggle-row",
1654
1769
  children: [i && /* @__PURE__ */ H("span", {
@@ -1666,13 +1781,13 @@ function Ht({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "
1666
1781
  }
1667
1782
  //#endregion
1668
1783
  //#region src/components/ui/Tabs.jsx
1669
- var Y = e({
1784
+ var Qt = e({
1670
1785
  value: "",
1671
1786
  onChange: () => {},
1672
1787
  registerTrigger: () => {},
1673
1788
  getTriggerNode: () => null
1674
1789
  });
1675
- function Ut({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
1790
+ function $t({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
1676
1791
  let [o, s] = d(e || ""), c = u(/* @__PURE__ */ new Map()), l = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
1677
1792
  if (t) {
1678
1793
  c.current.set(e, t);
@@ -1680,7 +1795,7 @@ function Ut({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
1680
1795
  }
1681
1796
  c.current.delete(e);
1682
1797
  }, []), m = i((e) => c.current.get(e) || null, []);
1683
- return /* @__PURE__ */ H(Y.Provider, {
1798
+ return /* @__PURE__ */ H(Qt.Provider, {
1684
1799
  value: {
1685
1800
  value: l,
1686
1801
  onChange: f,
@@ -1693,8 +1808,8 @@ function Ut({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
1693
1808
  })
1694
1809
  });
1695
1810
  }
1696
- function Wt({ children: e, className: t = "" }) {
1697
- let { value: n, getTriggerNode: r } = a(Y), i = u(null);
1811
+ function en({ children: e, className: t = "" }) {
1812
+ let { value: n, getTriggerNode: r } = a(Qt), i = u(null);
1698
1813
  return c(() => {
1699
1814
  let e = i.current, t = r(n);
1700
1815
  if (!e) return;
@@ -1720,8 +1835,8 @@ function Wt({ children: e, className: t = "" }) {
1720
1835
  }), e]
1721
1836
  });
1722
1837
  }
1723
- function Gt({ value: e, children: t, className: n = "" }) {
1724
- let { value: r, onChange: i, registerTrigger: o } = a(Y), s = r === e;
1838
+ function tn({ value: e, children: t, className: n = "" }) {
1839
+ let { value: r, onChange: i, registerTrigger: o } = a(Qt), s = r === e;
1725
1840
  return /* @__PURE__ */ H("button", {
1726
1841
  ref: (t) => o(e, t),
1727
1842
  className: `tab ${s ? "active" : ""} ${n}`,
@@ -1732,8 +1847,8 @@ function Gt({ value: e, children: t, className: n = "" }) {
1732
1847
  children: t
1733
1848
  });
1734
1849
  }
1735
- function Kt({ value: e, children: t, className: n = "" }) {
1736
- let { value: r } = a(Y);
1850
+ function nn({ value: e, children: t, className: n = "" }) {
1851
+ let { value: r } = a(Qt);
1737
1852
  return r === e ? /* @__PURE__ */ H("div", {
1738
1853
  className: n,
1739
1854
  role: "tabpanel",
@@ -1742,7 +1857,7 @@ function Kt({ value: e, children: t, className: n = "" }) {
1742
1857
  }
1743
1858
  //#endregion
1744
1859
  //#region src/components/ui/Textarea.jsx
1745
- var qt = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
1860
+ var rn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
1746
1861
  return t || n ? /* @__PURE__ */ U("div", {
1747
1862
  className: ["textarea-wrapper", e].filter(Boolean).join(" "),
1748
1863
  children: [
@@ -1768,7 +1883,7 @@ var qt = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
1768
1883
  });
1769
1884
  //#endregion
1770
1885
  //#region src/components/ui/Tooltip.jsx
1771
- function Jt({ content: e, side: t = "top", children: n, className: r = "" }) {
1886
+ function an({ content: e, side: t = "top", children: n, className: r = "" }) {
1772
1887
  let [i, a] = d(!1), [s, l] = d(null), f = u(null), p = u(null), m = u(null);
1773
1888
  function h() {
1774
1889
  m.current = setTimeout(() => a(!0), 300);
@@ -1819,7 +1934,7 @@ function Jt({ content: e, side: t = "top", children: n, className: r = "" }) {
1819
1934
  }
1820
1935
  //#endregion
1821
1936
  //#region src/components/ui/viewModeDefaults.js
1822
- var Yt = {
1937
+ var on = {
1823
1938
  kanban: w,
1824
1939
  board: w,
1825
1940
  columns: w,
@@ -1829,7 +1944,7 @@ var Yt = {
1829
1944
  grid: O,
1830
1945
  calendar: h,
1831
1946
  map: M
1832
- }, Xt = [{
1947
+ }, sn = [{
1833
1948
  value: "kanban",
1834
1949
  label: "Kanban",
1835
1950
  title: "Board View"
@@ -1840,13 +1955,13 @@ var Yt = {
1840
1955
  }];
1841
1956
  //#endregion
1842
1957
  //#region src/components/ui/ViewModeToggle.jsx
1843
- function Zt(e) {
1844
- return e.icon ? e.icon : Yt[e.value] ?? null;
1958
+ function cn(e) {
1959
+ return e.icon ? e.icon : on[e.value] ?? null;
1845
1960
  }
1846
- function Qt(e, n) {
1961
+ function ln(e, n) {
1847
1962
  return e ? r(e) ? e : t(e, { size: n }) : null;
1848
1963
  }
1849
- function $t({ options: e = Xt, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: l = !1, className: f = "", optionClassName: p = "" }) {
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 = "" }) {
1850
1965
  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(() => {
1851
1966
  let e = h.current, t = g.current.get(y);
1852
1967
  if (e) {
@@ -1908,7 +2023,7 @@ function $t({ options: e = Xt, value: t, defaultValue: n, onValueChange: r, aria
1908
2023
  "aria-hidden": "true",
1909
2024
  className: "view-mode-toggle-indicator"
1910
2025
  }), e.map((e) => {
1911
- let t = e.value === y, n = Qt(Zt(e), s);
2026
+ let t = e.value === y, n = ln(cn(e), s);
1912
2027
  return /* @__PURE__ */ U("button", {
1913
2028
  type: "button",
1914
2029
  "aria-pressed": t,
@@ -1938,10 +2053,10 @@ function $t({ options: e = Xt, value: t, defaultValue: n, onValueChange: r, aria
1938
2053
  }
1939
2054
  //#endregion
1940
2055
  //#region src/components/ui/WorkspaceTabs.jsx
1941
- function en(e, n) {
2056
+ function dn(e, n) {
1942
2057
  return e ? r(e) ? e : t(e, { size: n }) : null;
1943
2058
  }
1944
- function tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
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 = "" }) {
1945
2060
  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(() => {
1946
2061
  let e = h.current, t = g.current.get(y);
1947
2062
  if (e) {
@@ -2003,7 +2118,7 @@ function tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
2003
2118
  "aria-hidden": "true",
2004
2119
  className: "workspace-tabs-indicator"
2005
2120
  }), e.map((e) => {
2006
- let t = e.id === y, n = en(e.icon, s);
2121
+ let t = e.id === y, n = dn(e.icon, s);
2007
2122
  return /* @__PURE__ */ U("button", {
2008
2123
  type: "button",
2009
2124
  role: "tab",
@@ -2041,7 +2156,7 @@ function tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
2041
2156
  //#endregion
2042
2157
  //#region src/components/ui/CallControlsBar.jsx
2043
2158
  function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, title: o }) {
2044
- return /* @__PURE__ */ H(Jt, {
2159
+ return /* @__PURE__ */ H(an, {
2045
2160
  content: o,
2046
2161
  children: /* @__PURE__ */ U("button", {
2047
2162
  type: "button",
@@ -2065,7 +2180,7 @@ function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, ti
2065
2180
  })
2066
2181
  });
2067
2182
  }
2068
- function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onInvite: a, onKeypad: o, onEnd: s, compact: c = !1, hideEnd: l = !1, className: u = "" }) {
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 = "" }) {
2069
2184
  return /* @__PURE__ */ U("div", {
2070
2185
  className: `call-controls-bar ${u}`,
2071
2186
  style: {
@@ -2076,7 +2191,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2076
2191
  },
2077
2192
  children: [
2078
2193
  /* @__PURE__ */ H(X, {
2079
- icon: e ? P : N,
2194
+ icon: e ? F : P,
2080
2195
  label: e ? "Unmute" : "Mute",
2081
2196
  onClick: n,
2082
2197
  active: e,
@@ -2084,7 +2199,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2084
2199
  title: "Mute (M)"
2085
2200
  }),
2086
2201
  /* @__PURE__ */ H(X, {
2087
- icon: t ? ie : ee,
2202
+ icon: t ? se : z,
2088
2203
  label: t ? "Resume" : "Hold",
2089
2204
  onClick: r,
2090
2205
  active: t,
@@ -2099,7 +2214,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2099
2214
  title: "Transfer (T)"
2100
2215
  }),
2101
2216
  /* @__PURE__ */ H(X, {
2102
- icon: ce,
2217
+ icon: de,
2103
2218
  label: "Invite",
2104
2219
  onClick: a,
2105
2220
  compact: c,
@@ -2113,7 +2228,7 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2113
2228
  title: "Keypad"
2114
2229
  }),
2115
2230
  !l && /* @__PURE__ */ H(X, {
2116
- icon: z,
2231
+ icon: ie,
2117
2232
  label: "End",
2118
2233
  onClick: s,
2119
2234
  danger: !0,
@@ -2125,15 +2240,15 @@ function nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
2125
2240
  }
2126
2241
  //#endregion
2127
2242
  //#region src/components/phone/phoneUtils.js
2128
- function rn(e) {
2243
+ function mn(e) {
2129
2244
  return e == null || Number.isNaN(e) ? "0:00" : `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`;
2130
2245
  }
2131
- function an(e) {
2246
+ function hn(e) {
2132
2247
  if (!e) return "";
2133
2248
  let t = new Date(e).getTime() - Date.now();
2134
- return t <= 0 ? "now" : rn(Math.ceil(t / 1e3));
2249
+ return t <= 0 ? "now" : mn(Math.ceil(t / 1e3));
2135
2250
  }
2136
- function on(e) {
2251
+ function gn(e) {
2137
2252
  if (!e) return "";
2138
2253
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 1e3);
2139
2254
  if (n < 60) return "just now";
@@ -2144,12 +2259,12 @@ function on(e) {
2144
2259
  let a = Math.floor(i / 24);
2145
2260
  return a === 1 ? "Yesterday" : a < 7 ? `${a}d ago` : new Date(e).toLocaleDateString();
2146
2261
  }
2147
- function sn(e) {
2262
+ function _n(e) {
2148
2263
  if (!e) return "none";
2149
2264
  let t = new Date(e).getTime() - Date.now();
2150
2265
  return t <= 0 ? "overdue" : t < 30 * 1e3 ? "urgent" : t < 120 * 1e3 ? "warning" : "normal";
2151
2266
  }
2152
- var cn = {
2267
+ var vn = {
2153
2268
  intake: "Intake",
2154
2269
  plan_review: "Plan Review",
2155
2270
  inspections: "Inspections",
@@ -2159,31 +2274,31 @@ var cn = {
2159
2274
  sales: "Sales",
2160
2275
  escalations: "Escalations"
2161
2276
  };
2162
- function ln(e) {
2163
- return e ? cn[e] ? cn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
2277
+ function yn(e) {
2278
+ return e ? vn[e] ? vn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
2164
2279
  }
2165
- var un = {
2280
+ var bn = {
2166
2281
  client: "Client",
2167
2282
  building_department: "Building Dept",
2168
2283
  staff: "Staff",
2169
2284
  unknown: "Unknown"
2170
2285
  };
2171
- function dn(e) {
2172
- return un[e] || "Unknown";
2286
+ function xn(e) {
2287
+ return bn[e] || "Unknown";
2173
2288
  }
2174
- var fn = {
2289
+ var Sn = {
2175
2290
  open: "Open",
2176
2291
  in_progress: "In progress",
2177
2292
  resolved: "Resolved",
2178
2293
  closed: "Closed",
2179
2294
  awaiting_reply: "Awaiting reply"
2180
2295
  };
2181
- function pn(e) {
2182
- return fn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
2296
+ function Cn(e) {
2297
+ return Sn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
2183
2298
  }
2184
2299
  //#endregion
2185
2300
  //#region src/components/ui/TicketLinkChip.jsx
2186
- var mn = {
2301
+ var wn = {
2187
2302
  intake: "var(--accent-blue)",
2188
2303
  plan_review: "var(--accent-purple)",
2189
2304
  inspections: "var(--accent-green)",
@@ -2193,7 +2308,7 @@ var mn = {
2193
2308
  sales: "var(--accent-orange)",
2194
2309
  escalations: "var(--accent-red)"
2195
2310
  };
2196
- function hn(e) {
2311
+ function Tn(e) {
2197
2312
  switch (e) {
2198
2313
  case "resolved":
2199
2314
  case "closed": return "success";
@@ -2202,12 +2317,12 @@ function hn(e) {
2202
2317
  default: return "secondary";
2203
2318
  }
2204
2319
  }
2205
- function gn(e, t) {
2320
+ function En(e, t) {
2206
2321
  return e ? e.length > t ? `${e.slice(0, t - 1)}…` : e : "";
2207
2322
  }
2208
2323
  function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" }) {
2209
2324
  if (!e) return null;
2210
- let i = mn[e.department] ?? mn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${gn(e.title, 28)}`;
2325
+ let i = wn[e.department] ?? wn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${En(e.title, 28)}`;
2211
2326
  return n === "detailed" ? /* @__PURE__ */ U(a, {
2212
2327
  type: t ? "button" : void 0,
2213
2328
  onClick: t,
@@ -2251,7 +2366,7 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2251
2366
  }),
2252
2367
  /* @__PURE__ */ U("span", {
2253
2368
  style: { color: "var(--text-secondary)" },
2254
- children: ["· ", gn(e.title, 40)]
2369
+ children: ["· ", En(e.title, 40)]
2255
2370
  })
2256
2371
  ]
2257
2372
  }), /* @__PURE__ */ U("span", {
@@ -2260,14 +2375,14 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2260
2375
  alignItems: "center",
2261
2376
  gap: 6
2262
2377
  },
2263
- children: [e.department && /* @__PURE__ */ H(q, {
2378
+ children: [e.department && /* @__PURE__ */ H(J, {
2264
2379
  variant: "secondary",
2265
2380
  showDot: !1,
2266
2381
  className: "badge--no-dot",
2267
- children: ln(e.department)
2268
- }), e.status && /* @__PURE__ */ H(q, {
2269
- variant: hn(e.status),
2270
- children: pn(e.status)
2382
+ children: yn(e.department)
2383
+ }), e.status && /* @__PURE__ */ H(J, {
2384
+ variant: Tn(e.status),
2385
+ children: Cn(e.status)
2271
2386
  })]
2272
2387
  })]
2273
2388
  }) : /* @__PURE__ */ U(a, {
@@ -2306,19 +2421,19 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
2306
2421
  }
2307
2422
  //#endregion
2308
2423
  //#region src/components/ui/PresenceDot.jsx
2309
- var _n = {
2424
+ var Dn = {
2310
2425
  available: "var(--accent-green, #22c55e)",
2311
2426
  busy: "var(--accent-yellow, #f59e0b)",
2312
2427
  in_call: "var(--accent-yellow, #f59e0b)",
2313
2428
  dnd: "var(--accent-red, #ef4444)",
2314
2429
  offline: "var(--text-tertiary, #71717a)"
2315
- }, vn = {
2430
+ }, On = {
2316
2431
  xs: 6,
2317
2432
  sm: 8,
2318
2433
  md: 10
2319
2434
  };
2320
- function yn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2321
- let r = vn[t] ?? 8, i = _n[e] ?? _n.offline;
2435
+ function kn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2436
+ let r = On[t] ?? 8, i = Dn[e] ?? Dn.offline;
2322
2437
  return /* @__PURE__ */ H("span", {
2323
2438
  className: `presence-dot ${e === "in_call" ? "presence-dot-pulse" : ""} ${n}`,
2324
2439
  style: {
@@ -2335,13 +2450,13 @@ function yn({ status: e = "offline", size: t = "sm", className: n = "" }) {
2335
2450
  }
2336
2451
  //#endregion
2337
2452
  //#region src/components/ui/PresenceAvatar.jsx
2338
- var bn = {
2453
+ var An = {
2339
2454
  sm: "sm",
2340
2455
  md: "md",
2341
2456
  lg: "lg"
2342
2457
  };
2343
- function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
2344
- let c = bn[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
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";
2345
2460
  return /* @__PURE__ */ U("div", {
2346
2461
  className: `presence-avatar ${s}`,
2347
2462
  style: {
@@ -2354,7 +2469,7 @@ function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2354
2469
  position: "relative",
2355
2470
  display: "inline-flex"
2356
2471
  },
2357
- children: [/* @__PURE__ */ H(K, {
2472
+ children: [/* @__PURE__ */ H(q, {
2358
2473
  name: e,
2359
2474
  initials: t,
2360
2475
  imageUrl: n,
@@ -2365,7 +2480,7 @@ function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2365
2480
  left: -1,
2366
2481
  top: -1
2367
2482
  },
2368
- children: /* @__PURE__ */ H(yn, {
2483
+ children: /* @__PURE__ */ H(kn, {
2369
2484
  status: r,
2370
2485
  size: l
2371
2486
  })
@@ -2382,27 +2497,27 @@ function xn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
2382
2497
  }
2383
2498
  //#endregion
2384
2499
  //#region src/components/ui/Callbar.jsx
2385
- var Sn = {
2500
+ var Mn = {
2386
2501
  connecting: "Connecting…",
2387
2502
  ringing: "Ringing…",
2388
2503
  connected: "Connected",
2389
2504
  on_hold: "On hold",
2390
2505
  ending: "Ending…"
2391
- }, Cn = {
2506
+ }, Nn = {
2392
2507
  connecting: "info",
2393
2508
  ringing: "info",
2394
2509
  connected: "success",
2395
2510
  on_hold: "warning",
2396
2511
  ending: "error"
2397
2512
  };
2398
- function wn(e) {
2513
+ function Pn(e) {
2399
2514
  return e === "connected" ? "var(--accent-green)" : e === "on_hold" ? "var(--accent-yellow)" : e === "ending" ? "var(--accent-red)" : "var(--accent-blue)";
2400
2515
  }
2401
- function Tn(e) {
2516
+ function Fn(e) {
2402
2517
  return e === "connecting" || e === "ringing";
2403
2518
  }
2404
- function En({ state: e = "connected", caller: t = {}, ticket: n = null, durationSec: r = 0, isMuted: i, isOnHold: a, observers: o = [], recordingConsentPending: s = !1, onMute: c, onHold: u, onTransfer: f, onInvite: p, onKeypad: m, onEnd: h, onMinimize: g, minimized: _ = !1, className: v = "" }) {
2405
- let [b, S] = d(!1), C = _ || b, w = Sn[e] || e, T = Tn(e), E = wn(e), D = l(() => `${Math.floor(r / 60)}:${Math.floor(r % 60).toString().padStart(2, "0")}`, [r]), O = o.slice(0, 3), k = Math.max(0, o.length - 3), A = () => {
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 = () => {
2406
2521
  S((e) => !e), g?.();
2407
2522
  };
2408
2523
  return C ? /* @__PURE__ */ U("div", {
@@ -2454,7 +2569,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2454
2569
  gap: 6
2455
2570
  },
2456
2571
  children: [
2457
- /* @__PURE__ */ H(nn, {
2572
+ /* @__PURE__ */ H(pn, {
2458
2573
  isMuted: i,
2459
2574
  isOnHold: a,
2460
2575
  onMute: c,
@@ -2466,12 +2581,12 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2466
2581
  compact: !0,
2467
2582
  hideEnd: !0
2468
2583
  }),
2469
- /* @__PURE__ */ U(J, {
2584
+ /* @__PURE__ */ U(Y, {
2470
2585
  variant: "destructive",
2471
2586
  size: "sm",
2472
2587
  onClick: h,
2473
2588
  "aria-label": "End call",
2474
- children: [/* @__PURE__ */ H(z, {
2589
+ children: [/* @__PURE__ */ H(ie, {
2475
2590
  size: 13,
2476
2591
  style: { marginRight: 4 }
2477
2592
  }), "End"]
@@ -2523,8 +2638,8 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2523
2638
  alignItems: "center",
2524
2639
  gap: 8
2525
2640
  },
2526
- children: [/* @__PURE__ */ H(q, {
2527
- variant: Cn[e] || "secondary",
2641
+ children: [/* @__PURE__ */ H(J, {
2642
+ variant: Nn[e] || "secondary",
2528
2643
  children: w
2529
2644
  }), (e === "connected" || e === "on_hold") && /* @__PURE__ */ H("span", {
2530
2645
  style: {
@@ -2585,7 +2700,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2585
2700
  flexShrink: 0
2586
2701
  },
2587
2702
  children: [
2588
- O.map((e) => /* @__PURE__ */ H(xn, {
2703
+ O.map((e) => /* @__PURE__ */ H(jn, {
2589
2704
  name: e.name,
2590
2705
  initials: e.initials,
2591
2706
  avatarUrl: e.avatarUrl,
@@ -2602,7 +2717,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2602
2717
  },
2603
2718
  children: ["+", k]
2604
2719
  }),
2605
- /* @__PURE__ */ H(nn, {
2720
+ /* @__PURE__ */ H(pn, {
2606
2721
  isMuted: i,
2607
2722
  isOnHold: a,
2608
2723
  onMute: c,
@@ -2614,12 +2729,12 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2614
2729
  compact: !0,
2615
2730
  hideEnd: !0
2616
2731
  }),
2617
- /* @__PURE__ */ U(J, {
2732
+ /* @__PURE__ */ U(Y, {
2618
2733
  variant: "destructive",
2619
2734
  size: "sm",
2620
2735
  onClick: h,
2621
2736
  "aria-label": "End call",
2622
- children: [/* @__PURE__ */ H(z, {
2737
+ children: [/* @__PURE__ */ H(ie, {
2623
2738
  size: 14,
2624
2739
  style: { marginRight: 6 }
2625
2740
  }), "End call"]
@@ -2648,7 +2763,7 @@ function En({ state: e = "connected", caller: t = {}, ticket: n = null, duration
2648
2763
  }
2649
2764
  //#endregion
2650
2765
  //#region src/components/ui/CallCard.jsx
2651
- var Dn = {
2766
+ var Ln = {
2652
2767
  client: {
2653
2768
  accent: "var(--accent-green)",
2654
2769
  variant: "success"
@@ -2666,17 +2781,17 @@ var Dn = {
2666
2781
  variant: "warning"
2667
2782
  }
2668
2783
  };
2669
- function On(e) {
2784
+ function Rn(e) {
2670
2785
  return e ? Math.max(0, Math.floor((Date.now() - new Date(e).getTime()) / 1e3)) : 0;
2671
2786
  }
2672
- function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType: r = "unknown", avatarUrl: i, ticket: a = null, ticketCandidates: s = [], projectRef: c = null, transferContext: l = null, ringStartedAt: u, onAccept: f, onDecline: p, onSendToVoicemail: m, onPromote: h, className: g = "" }) {
2673
- let [_, v] = d(() => On(u)), [y, b] = d(s[0]?.id || "none");
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");
2674
2789
  o(() => {
2675
2790
  if (!u) return;
2676
- let e = setInterval(() => v(On(u)), 1e3);
2791
+ let e = setInterval(() => v(Rn(u)), 1e3);
2677
2792
  return () => clearInterval(e);
2678
2793
  }, [u]);
2679
- let x = Dn[r] || Dn.unknown;
2794
+ let x = Ln[r] || Ln.unknown;
2680
2795
  return e === "mini" ? /* @__PURE__ */ U("div", {
2681
2796
  role: "button",
2682
2797
  tabIndex: 0,
@@ -2702,7 +2817,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2702
2817
  cursor: "pointer"
2703
2818
  },
2704
2819
  children: [
2705
- /* @__PURE__ */ H(K, {
2820
+ /* @__PURE__ */ H(q, {
2706
2821
  name: t,
2707
2822
  imageUrl: i,
2708
2823
  size: "sm"
@@ -2727,18 +2842,18 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2727
2842
  whiteSpace: "nowrap"
2728
2843
  },
2729
2844
  children: t
2730
- }), /* @__PURE__ */ H(q, {
2845
+ }), /* @__PURE__ */ H(J, {
2731
2846
  variant: x.variant,
2732
2847
  showDot: !1,
2733
2848
  className: "badge--no-dot",
2734
- children: dn(r)
2849
+ children: xn(r)
2735
2850
  })]
2736
2851
  }), /* @__PURE__ */ U("div", {
2737
2852
  style: {
2738
2853
  fontSize: "var(--text-xs)",
2739
2854
  color: "var(--text-tertiary)"
2740
2855
  },
2741
- children: ["Ringing · ", rn(_)]
2856
+ children: ["Ringing · ", mn(_)]
2742
2857
  })]
2743
2858
  }),
2744
2859
  /* @__PURE__ */ H("button", {
@@ -2746,7 +2861,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2746
2861
  className: "btn btn-ghost btn-icon btn-sm",
2747
2862
  onClick: () => f?.(),
2748
2863
  "aria-label": "Accept",
2749
- children: /* @__PURE__ */ H(R, {
2864
+ children: /* @__PURE__ */ H(ee, {
2750
2865
  size: 16,
2751
2866
  style: { color: "var(--accent-green)" }
2752
2867
  })
@@ -2756,7 +2871,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2756
2871
  className: "btn btn-ghost btn-icon btn-sm",
2757
2872
  onClick: p,
2758
2873
  "aria-label": "Decline",
2759
- children: /* @__PURE__ */ H(z, { size: 16 })
2874
+ children: /* @__PURE__ */ H(ie, { size: 16 })
2760
2875
  })
2761
2876
  ]
2762
2877
  }) : /* @__PURE__ */ U("div", {
@@ -2814,7 +2929,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2814
2929
  alignItems: "center",
2815
2930
  minWidth: 0
2816
2931
  },
2817
- children: [/* @__PURE__ */ H(K, {
2932
+ children: [/* @__PURE__ */ H(q, {
2818
2933
  name: t,
2819
2934
  imageUrl: i,
2820
2935
  size: "md"
@@ -2835,11 +2950,11 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2835
2950
  whiteSpace: "nowrap"
2836
2951
  },
2837
2952
  children: t
2838
- }), /* @__PURE__ */ H(q, {
2953
+ }), /* @__PURE__ */ H(J, {
2839
2954
  variant: x.variant,
2840
2955
  showDot: !1,
2841
2956
  className: "badge--no-dot",
2842
- children: dn(r)
2957
+ children: xn(r)
2843
2958
  })]
2844
2959
  }), /* @__PURE__ */ H("div", {
2845
2960
  style: {
@@ -2860,7 +2975,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2860
2975
  children: [/* @__PURE__ */ H("span", {
2861
2976
  style: { marginRight: 4 },
2862
2977
  children: "•"
2863
- }), rn(_)]
2978
+ }), mn(_)]
2864
2979
  })]
2865
2980
  }), /* @__PURE__ */ H("div", {
2866
2981
  style: {
@@ -2939,7 +3054,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2939
3054
  }), "None of these"]
2940
3055
  })
2941
3056
  ]
2942
- })] }) : /* @__PURE__ */ U("div", { children: [/* @__PURE__ */ H(q, {
3057
+ })] }) : /* @__PURE__ */ U("div", { children: [/* @__PURE__ */ H(J, {
2943
3058
  variant: "warning",
2944
3059
  showDot: !1,
2945
3060
  className: "badge--no-dot",
@@ -2965,22 +3080,22 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2965
3080
  alignItems: "stretch"
2966
3081
  },
2967
3082
  children: [
2968
- /* @__PURE__ */ H(J, {
3083
+ /* @__PURE__ */ H(Y, {
2969
3084
  type: "button",
2970
3085
  variant: "ghost",
2971
3086
  size: "sm",
2972
3087
  onClick: m,
2973
3088
  "aria-label": "Send to voicemail",
2974
- children: /* @__PURE__ */ H(le, { size: 14 })
3089
+ children: /* @__PURE__ */ H(fe, { size: 14 })
2975
3090
  }),
2976
- /* @__PURE__ */ H(J, {
3091
+ /* @__PURE__ */ H(Y, {
2977
3092
  type: "button",
2978
3093
  variant: "outline",
2979
3094
  size: "sm",
2980
3095
  onClick: p,
2981
3096
  children: "Decline"
2982
3097
  }),
2983
- /* @__PURE__ */ U(J, {
3098
+ /* @__PURE__ */ U(Y, {
2984
3099
  type: "button",
2985
3100
  variant: "success",
2986
3101
  size: "sm",
@@ -2988,7 +3103,7 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
2988
3103
  !a && s.length > 0 ? y === "none" ? f?.("none") : y === "new" ? f?.("new") : f?.(y) : f?.();
2989
3104
  },
2990
3105
  style: { fontWeight: 600 },
2991
- children: [/* @__PURE__ */ H(R, {
3106
+ children: [/* @__PURE__ */ H(ee, {
2992
3107
  size: 14,
2993
3108
  style: { marginRight: 6 }
2994
3109
  }), "Accept"]
@@ -3000,14 +3115,14 @@ function kn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
3000
3115
  }
3001
3116
  //#endregion
3002
3117
  //#region src/components/ui/QueueItem.jsx
3003
- var An = {
3118
+ var Bn = {
3004
3119
  ringing: {
3005
3120
  icon: ne,
3006
3121
  color: "var(--accent-red)",
3007
3122
  label: "Ringing"
3008
3123
  },
3009
3124
  voicemail: {
3010
- icon: le,
3125
+ icon: fe,
3011
3126
  color: "var(--accent-yellow)",
3012
3127
  label: "Voicemail"
3013
3128
  },
@@ -3021,14 +3136,14 @@ var An = {
3021
3136
  color: "var(--text-tertiary)",
3022
3137
  label: "Missed"
3023
3138
  }
3024
- }, jn = {
3139
+ }, Vn = {
3025
3140
  client: "success",
3026
3141
  building_department: "info",
3027
3142
  staff: "purple",
3028
3143
  unknown: "warning"
3029
3144
  };
3030
- function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadlineAt: i = null, voicemailDurationSec: a, assignedTo: o = null, actions: s = [], onAction: c, onClick: l, className: u = "" }) {
3031
- let d = An[e] || An.ringing, f = d.icon, p = s.slice(0, 2), m = s.slice(2), h = i ? sn(i) : "none", g = h === "urgent" ? "var(--accent-red)" : h === "warning" ? "var(--accent-yellow)" : "var(--text-secondary)";
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)";
3032
3147
  return /* @__PURE__ */ U("div", {
3033
3148
  role: "button",
3034
3149
  tabIndex: 0,
@@ -3078,11 +3193,11 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3078
3193
  },
3079
3194
  children: t.name
3080
3195
  }),
3081
- /* @__PURE__ */ H(q, {
3082
- variant: jn[t.type] || "warning",
3196
+ /* @__PURE__ */ H(J, {
3197
+ variant: Vn[t.type] || "warning",
3083
3198
  showDot: !1,
3084
3199
  className: "badge--no-dot",
3085
- children: dn(t.type)
3200
+ children: xn(t.type)
3086
3201
  }),
3087
3202
  n && /* @__PURE__ */ H(Z, {
3088
3203
  ticket: n,
@@ -3110,8 +3225,8 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3110
3225
  children: d.label
3111
3226
  }),
3112
3227
  /* @__PURE__ */ H("span", { children: "·" }),
3113
- e === "voicemail" && a != null && /* @__PURE__ */ U(ue, { children: [/* @__PURE__ */ H("span", { children: rn(a) }), /* @__PURE__ */ H("span", { children: "·" })] }),
3114
- r && /* @__PURE__ */ H("span", { children: on(r) }),
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) }),
3115
3230
  i && /* @__PURE__ */ U("span", {
3116
3231
  style: {
3117
3232
  color: g,
@@ -3119,12 +3234,12 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3119
3234
  fontVariantNumeric: "tabular-nums",
3120
3235
  fontWeight: 600
3121
3236
  },
3122
- children: ["SLA ", an(i)]
3237
+ children: ["SLA ", hn(i)]
3123
3238
  })
3124
3239
  ]
3125
3240
  })]
3126
3241
  }),
3127
- o && /* @__PURE__ */ H(xn, {
3242
+ o && /* @__PURE__ */ H(jn, {
3128
3243
  name: o.name,
3129
3244
  initials: o.initials,
3130
3245
  avatarUrl: null,
@@ -3146,15 +3261,15 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3146
3261
  title: e.label,
3147
3262
  onClick: () => c?.(e.key),
3148
3263
  children: e.icon
3149
- }, e.key)), m.length > 0 && /* @__PURE__ */ H(jt, {
3264
+ }, e.key)), m.length > 0 && /* @__PURE__ */ H(Bt, {
3150
3265
  align: "right",
3151
3266
  trigger: /* @__PURE__ */ H("button", {
3152
3267
  type: "button",
3153
3268
  className: "btn btn-ghost btn-icon btn-sm",
3154
3269
  "aria-label": "More actions",
3155
- children: /* @__PURE__ */ H(L, { size: 16 })
3270
+ children: /* @__PURE__ */ H(R, { size: 16 })
3156
3271
  }),
3157
- children: m.map((e) => /* @__PURE__ */ H(Mt, {
3272
+ children: m.map((e) => /* @__PURE__ */ H(Vt, {
3158
3273
  onClick: () => c?.(e.key),
3159
3274
  children: e.label
3160
3275
  }, e.key))
@@ -3165,14 +3280,14 @@ function Mn({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
3165
3280
  }
3166
3281
  //#endregion
3167
3282
  //#region src/components/data/ActivityFeed.jsx
3168
- function Nn({ items: e = [], className: t = "" }) {
3283
+ function Un({ items: e = [], className: t = "" }) {
3169
3284
  return /* @__PURE__ */ H("div", {
3170
3285
  className: `activity-feed ${t}`,
3171
3286
  children: e.map((e, t) => /* @__PURE__ */ U("div", {
3172
3287
  className: "activity-item",
3173
3288
  children: [/* @__PURE__ */ H("div", {
3174
3289
  className: "activity-avatar",
3175
- children: /* @__PURE__ */ H(K, {
3290
+ children: /* @__PURE__ */ H(q, {
3176
3291
  name: e.user,
3177
3292
  size: "sm"
3178
3293
  })
@@ -3204,7 +3319,7 @@ function Nn({ items: e = [], className: t = "" }) {
3204
3319
  }
3205
3320
  //#endregion
3206
3321
  //#region src/components/data/CommandBar.jsx
3207
- function Pn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
3322
+ function Wn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
3208
3323
  let [a, s] = d(""), [c, l] = d(0), f = u(null);
3209
3324
  if (o(() => {
3210
3325
  if (e) {
@@ -3288,7 +3403,7 @@ function Pn({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
3288
3403
  }
3289
3404
  //#endregion
3290
3405
  //#region src/components/data/DataTable.jsx
3291
- function Fn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3406
+ function Gn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3292
3407
  let [i, a] = d(null), [o, s] = d("asc");
3293
3408
  function c(e) {
3294
3409
  i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
@@ -3329,7 +3444,7 @@ function Fn({ columns: e, data: t, onRowClick: n, className: r = "" }) {
3329
3444
  }
3330
3445
  //#endregion
3331
3446
  //#region src/components/data/FilterBar.jsx
3332
- function In({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
3447
+ function Kn({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
3333
3448
  let o = n.some((e) => e.active);
3334
3449
  return /* @__PURE__ */ U("div", {
3335
3450
  className: `filter-bar ${a}`,
@@ -3382,14 +3497,14 @@ function In({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
3382
3497
  function Q(...e) {
3383
3498
  return e.filter(Boolean).join(" ");
3384
3499
  }
3385
- function Ln({ children: e, className: t = "", style: n }) {
3500
+ function qn({ children: e, className: t = "", style: n }) {
3386
3501
  return /* @__PURE__ */ H("div", {
3387
3502
  className: Q("kanban-board", t),
3388
3503
  style: n,
3389
3504
  children: e
3390
3505
  });
3391
3506
  }
3392
- function Rn({ title: e, count: t, color: n, headerAction: r = null, countVariant: i = "pill", children: a, className: o = "", style: s, headerClassName: c = "", headerStyle: l, countClassName: u = "", bodyClassName: d = "", bodyStyle: f }) {
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 }) {
3393
3508
  return /* @__PURE__ */ U("div", {
3394
3509
  className: Q("kanban-column", o),
3395
3510
  style: s,
@@ -3407,7 +3522,7 @@ function Rn({ title: e, count: t, color: n, headerAction: r = null, countVariant
3407
3522
  className: "kanban-column-title-label",
3408
3523
  children: e
3409
3524
  }),
3410
- t != null && /* @__PURE__ */ H(q, {
3525
+ t != null && /* @__PURE__ */ H(J, {
3411
3526
  showDot: !1,
3412
3527
  className: Q("workflow-column-count", "kanban-column-count", i === "inline" ? "kanban-column-count--inline" : "", u),
3413
3528
  children: t
@@ -3427,13 +3542,13 @@ function Rn({ title: e, count: t, color: n, headerAction: r = null, countVariant
3427
3542
  })]
3428
3543
  });
3429
3544
  }
3430
- function zn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
3545
+ function Yn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
3431
3546
  let u = a ?? r;
3432
3547
  return /* @__PURE__ */ H("div", {
3433
3548
  className: Q("kanban-card", c),
3434
3549
  onClick: s,
3435
3550
  style: l,
3436
- children: o || /* @__PURE__ */ U(ue, { children: [/* @__PURE__ */ U("div", {
3551
+ children: o || /* @__PURE__ */ U(pe, { children: [/* @__PURE__ */ U("div", {
3437
3552
  className: "kanban-card-body",
3438
3553
  children: [
3439
3554
  e && /* @__PURE__ */ H("div", {
@@ -3463,13 +3578,13 @@ function zn({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
3463
3578
  function $(...e) {
3464
3579
  return e.filter(Boolean).join(" ");
3465
3580
  }
3466
- function Bn({ children: e, className: t = "" }) {
3581
+ function Xn({ children: e, className: t = "" }) {
3467
3582
  return /* @__PURE__ */ H("div", {
3468
3583
  className: $("table-board", t),
3469
3584
  children: e
3470
3585
  });
3471
3586
  }
3472
- function Vn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
3587
+ function Zn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
3473
3588
  let [c, l] = d(i), u = r != null, f = u ? r : c;
3474
3589
  function p() {
3475
3590
  let e = !f;
@@ -3506,7 +3621,7 @@ function Vn({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0,
3506
3621
  })]
3507
3622
  });
3508
3623
  }
3509
- function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: i, subtitle: a, subtitleInline: s = !1, pills: c = [], maxVisibleLeadingPills: l, pinnedTrailingPillsCount: f = 0, metric: m, metricTone: h = "default", metricIcon: g, showMetricIcon: _ = !0, avatar: v, avatarImageUrl: y, avatarLabel: b, avatarName: x, avatarStyle: S, meta: w, onClick: T, className: E = "" }) {
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 = "" }) {
3510
3625
  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 = [
3511
3626
  ...F,
3512
3627
  ...I > 0 ? [{
@@ -3515,16 +3630,16 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3515
3630
  }] : [],
3516
3631
  ...P
3517
3632
  ];
3518
- function ee(e) {
3633
+ function R(e) {
3519
3634
  D && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), T());
3520
3635
  }
3521
- let R = x || w || b, te = S || (y ? void 0 : { background: "var(--accent-blue)" }), ne = g || (h === "warning" ? p : C), re = v || (y || b || R ? /* @__PURE__ */ H(K, {
3636
+ let z = x || w || b, ee = S || (y ? void 0 : { background: "var(--accent-blue)" }), te = g || (h === "warning" ? p : C), ne = v || (y || b || z ? /* @__PURE__ */ H(q, {
3522
3637
  imageUrl: y,
3523
3638
  initials: b,
3524
- name: R,
3639
+ name: z,
3525
3640
  size: "sm",
3526
3641
  className: "table-board-avatar",
3527
- style: te
3642
+ style: ee
3528
3643
  }) : null);
3529
3644
  return o(() => {
3530
3645
  let e = O.current;
@@ -3547,7 +3662,7 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3547
3662
  ]), /* @__PURE__ */ U("div", {
3548
3663
  className: $("table-board-row", D && "clickable", E),
3549
3664
  onClick: T,
3550
- onKeyDown: ee,
3665
+ onKeyDown: R,
3551
3666
  role: D ? "button" : void 0,
3552
3667
  tabIndex: D ? 0 : void 0,
3553
3668
  children: [
@@ -3592,17 +3707,17 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3592
3707
  ]
3593
3708
  }, `${e.label}-${t}`))
3594
3709
  }),
3595
- m != null && (r(m) ? m : /* @__PURE__ */ H(q, {
3710
+ m != null && (r(m) ? m : /* @__PURE__ */ H(J, {
3596
3711
  className: "table-board-metric",
3597
3712
  showDot: !1,
3598
- children: /* @__PURE__ */ H(Vt, {
3713
+ children: /* @__PURE__ */ H(Xt, {
3599
3714
  tone: h,
3600
- icon: ne,
3715
+ icon: te,
3601
3716
  showIcon: _,
3602
3717
  children: m
3603
3718
  })
3604
3719
  })),
3605
- re,
3720
+ ne,
3606
3721
  w && /* @__PURE__ */ H("span", {
3607
3722
  className: "table-board-meta",
3608
3723
  children: w
@@ -3612,12 +3727,12 @@ function Hn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
3612
3727
  }
3613
3728
  //#endregion
3614
3729
  //#region src/components/data/KPICard.jsx
3615
- function Un({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
3730
+ function $n({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
3616
3731
  let s = {
3617
3732
  up: "var(--accent-green)",
3618
3733
  down: "var(--accent-red)",
3619
3734
  neutral: "var(--text-tertiary)"
3620
- }, c = i === "up" ? se : i === "down" ? oe : F;
3735
+ }, c = i === "up" ? ue : i === "down" ? le : I;
3621
3736
  return /* @__PURE__ */ U("div", {
3622
3737
  className: `kpi-card ${o}`,
3623
3738
  children: [
@@ -3653,7 +3768,7 @@ function Un({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
3653
3768
  ]
3654
3769
  });
3655
3770
  }
3656
- function Wn({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3771
+ function er({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3657
3772
  return /* @__PURE__ */ U("div", {
3658
3773
  className: `stat-card ${i}`,
3659
3774
  children: [r && /* @__PURE__ */ H("div", {
@@ -3680,7 +3795,7 @@ function Wn({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
3680
3795
  }
3681
3796
  //#endregion
3682
3797
  //#region src/components/data/NotificationsPanel.jsx
3683
- function Gn({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
3798
+ function tr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
3684
3799
  let i = e.filter((e) => !e.read);
3685
3800
  return /* @__PURE__ */ U("div", {
3686
3801
  className: `notifications-panel ${r}`,
@@ -3711,7 +3826,7 @@ function Gn({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
3711
3826
  className: `notification-item ${e.read ? "" : "unread"}`,
3712
3827
  onClick: () => !e.read && t?.(e.id),
3713
3828
  children: [
3714
- /* @__PURE__ */ H(K, {
3829
+ /* @__PURE__ */ H(q, {
3715
3830
  name: e.user,
3716
3831
  size: "sm"
3717
3832
  }),
@@ -3737,7 +3852,7 @@ function Gn({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
3737
3852
  }
3738
3853
  //#endregion
3739
3854
  //#region src/components/Icons.jsx
3740
- function Kn() {
3855
+ function nr() {
3741
3856
  return /* @__PURE__ */ H("svg", {
3742
3857
  width: "16",
3743
3858
  height: "16",
@@ -3746,7 +3861,7 @@ function Kn() {
3746
3861
  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" })
3747
3862
  });
3748
3863
  }
3749
- function qn() {
3864
+ function rr() {
3750
3865
  return /* @__PURE__ */ U("svg", {
3751
3866
  width: "16",
3752
3867
  height: "16",
@@ -3766,7 +3881,7 @@ function qn() {
3766
3881
  })]
3767
3882
  });
3768
3883
  }
3769
- function Jn() {
3884
+ function ir() {
3770
3885
  return /* @__PURE__ */ H("svg", {
3771
3886
  width: "16",
3772
3887
  height: "16",
@@ -3775,7 +3890,7 @@ function Jn() {
3775
3890
  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" })
3776
3891
  });
3777
3892
  }
3778
- function Yn() {
3893
+ function ar() {
3779
3894
  return /* @__PURE__ */ H("svg", {
3780
3895
  width: "16",
3781
3896
  height: "16",
@@ -3788,7 +3903,7 @@ function Yn() {
3788
3903
  children: /* @__PURE__ */ H("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
3789
3904
  });
3790
3905
  }
3791
- function Xn() {
3906
+ function or() {
3792
3907
  return /* @__PURE__ */ H("svg", {
3793
3908
  width: "16",
3794
3909
  height: "16",
@@ -3797,7 +3912,7 @@ function Xn() {
3797
3912
  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" })
3798
3913
  });
3799
3914
  }
3800
- function Zn() {
3915
+ function sr() {
3801
3916
  return /* @__PURE__ */ H("svg", {
3802
3917
  width: "16",
3803
3918
  height: "16",
@@ -3806,7 +3921,7 @@ function Zn() {
3806
3921
  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" })
3807
3922
  });
3808
3923
  }
3809
- function Qn() {
3924
+ function cr() {
3810
3925
  return /* @__PURE__ */ U("svg", {
3811
3926
  width: "16",
3812
3927
  height: "16",
@@ -3831,7 +3946,7 @@ function Qn() {
3831
3946
  ]
3832
3947
  });
3833
3948
  }
3834
- function $n() {
3949
+ function lr() {
3835
3950
  return /* @__PURE__ */ U("svg", {
3836
3951
  width: "16",
3837
3952
  height: "16",
@@ -3849,7 +3964,7 @@ function $n() {
3849
3964
  })]
3850
3965
  });
3851
3966
  }
3852
- function er() {
3967
+ function ur() {
3853
3968
  return /* @__PURE__ */ H("svg", {
3854
3969
  width: "16",
3855
3970
  height: "16",
@@ -3862,7 +3977,7 @@ function er() {
3862
3977
  children: /* @__PURE__ */ H("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
3863
3978
  });
3864
3979
  }
3865
- function tr() {
3980
+ function dr() {
3866
3981
  return /* @__PURE__ */ H("svg", {
3867
3982
  width: "14",
3868
3983
  height: "14",
@@ -3875,7 +3990,7 @@ function tr() {
3875
3990
  children: /* @__PURE__ */ H("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
3876
3991
  });
3877
3992
  }
3878
- function nr() {
3993
+ function fr() {
3879
3994
  return /* @__PURE__ */ H("svg", {
3880
3995
  width: "14",
3881
3996
  height: "14",
@@ -3888,7 +4003,7 @@ function nr() {
3888
4003
  children: /* @__PURE__ */ H("path", { d: "M3.5 9L7 5.5 10.5 9" })
3889
4004
  });
3890
4005
  }
3891
- function rr() {
4006
+ function pr() {
3892
4007
  return /* @__PURE__ */ H("svg", {
3893
4008
  width: "14",
3894
4009
  height: "14",
@@ -3897,7 +4012,7 @@ function rr() {
3897
4012
  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" })
3898
4013
  });
3899
4014
  }
3900
- function ir() {
4015
+ function mr() {
3901
4016
  return /* @__PURE__ */ U("svg", {
3902
4017
  width: "14",
3903
4018
  height: "14",
@@ -3918,7 +4033,7 @@ function ir() {
3918
4033
  })]
3919
4034
  });
3920
4035
  }
3921
- function ar() {
4036
+ function hr() {
3922
4037
  return /* @__PURE__ */ U("svg", {
3923
4038
  width: "14",
3924
4039
  height: "14",
@@ -3938,7 +4053,7 @@ function ar() {
3938
4053
  })]
3939
4054
  });
3940
4055
  }
3941
- function or() {
4056
+ function gr() {
3942
4057
  return /* @__PURE__ */ H("svg", {
3943
4058
  width: "14",
3944
4059
  height: "14",
@@ -3953,7 +4068,7 @@ function or() {
3953
4068
  })
3954
4069
  });
3955
4070
  }
3956
- function sr() {
4071
+ function _r() {
3957
4072
  return /* @__PURE__ */ H("svg", {
3958
4073
  width: "14",
3959
4074
  height: "14",
@@ -3969,7 +4084,7 @@ function sr() {
3969
4084
  })
3970
4085
  });
3971
4086
  }
3972
- function cr() {
4087
+ function vr() {
3973
4088
  return /* @__PURE__ */ U("svg", {
3974
4089
  width: "14",
3975
4090
  height: "14",
@@ -3989,7 +4104,7 @@ function cr() {
3989
4104
  })]
3990
4105
  });
3991
4106
  }
3992
- function lr() {
4107
+ function yr() {
3993
4108
  return /* @__PURE__ */ H("svg", {
3994
4109
  width: "14",
3995
4110
  height: "14",
@@ -3998,7 +4113,7 @@ function lr() {
3998
4113
  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" })
3999
4114
  });
4000
4115
  }
4001
- function ur() {
4116
+ function br() {
4002
4117
  return /* @__PURE__ */ U("svg", {
4003
4118
  width: "14",
4004
4119
  height: "14",
@@ -4029,7 +4144,7 @@ function ur() {
4029
4144
  ]
4030
4145
  });
4031
4146
  }
4032
- function dr() {
4147
+ function xr() {
4033
4148
  return /* @__PURE__ */ U("svg", {
4034
4149
  width: "14",
4035
4150
  height: "14",
@@ -4062,7 +4177,7 @@ function dr() {
4062
4177
  ]
4063
4178
  });
4064
4179
  }
4065
- function fr() {
4180
+ function Sr() {
4066
4181
  return /* @__PURE__ */ U("svg", {
4067
4182
  width: "14",
4068
4183
  height: "14",
@@ -4095,7 +4210,7 @@ function fr() {
4095
4210
  ]
4096
4211
  });
4097
4212
  }
4098
- function pr() {
4213
+ function Cr() {
4099
4214
  return /* @__PURE__ */ H("svg", {
4100
4215
  width: "14",
4101
4216
  height: "14",
@@ -4107,7 +4222,7 @@ function pr() {
4107
4222
  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" })
4108
4223
  });
4109
4224
  }
4110
- function mr() {
4225
+ function wr() {
4111
4226
  return /* @__PURE__ */ H("svg", {
4112
4227
  width: "14",
4113
4228
  height: "14",
@@ -4120,7 +4235,7 @@ function mr() {
4120
4235
  children: /* @__PURE__ */ H("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
4121
4236
  });
4122
4237
  }
4123
- function hr() {
4238
+ function Tr() {
4124
4239
  return /* @__PURE__ */ U("svg", {
4125
4240
  width: "14",
4126
4241
  height: "14",
@@ -4137,7 +4252,7 @@ function hr() {
4137
4252
  })]
4138
4253
  });
4139
4254
  }
4140
- function gr() {
4255
+ function Er() {
4141
4256
  return /* @__PURE__ */ H("svg", {
4142
4257
  width: "14",
4143
4258
  height: "14",
@@ -4149,7 +4264,7 @@ function gr() {
4149
4264
  children: /* @__PURE__ */ H("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
4150
4265
  });
4151
4266
  }
4152
- function _r() {
4267
+ function Dr() {
4153
4268
  return /* @__PURE__ */ H("svg", {
4154
4269
  width: "14",
4155
4270
  height: "14",
@@ -4162,7 +4277,7 @@ function _r() {
4162
4277
  children: /* @__PURE__ */ H("path", { d: "M3 7.5l3 3 5-6" })
4163
4278
  });
4164
4279
  }
4165
- function vr() {
4280
+ function Or() {
4166
4281
  return /* @__PURE__ */ U("svg", {
4167
4282
  width: "14",
4168
4283
  height: "14",
@@ -4181,7 +4296,7 @@ function vr() {
4181
4296
  }), /* @__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" })]
4182
4297
  });
4183
4298
  }
4184
- function yr() {
4299
+ function kr() {
4185
4300
  return /* @__PURE__ */ H("svg", {
4186
4301
  width: "14",
4187
4302
  height: "14",
@@ -4194,7 +4309,7 @@ function yr() {
4194
4309
  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" })
4195
4310
  });
4196
4311
  }
4197
- function br() {
4312
+ function Ar() {
4198
4313
  return /* @__PURE__ */ U("svg", {
4199
4314
  width: "14",
4200
4315
  height: "14",
@@ -4213,7 +4328,7 @@ function br() {
4213
4328
  }), /* @__PURE__ */ H("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
4214
4329
  });
4215
4330
  }
4216
- function xr() {
4331
+ function jr() {
4217
4332
  return /* @__PURE__ */ H("svg", {
4218
4333
  width: "14",
4219
4334
  height: "14",
@@ -4226,7 +4341,7 @@ function xr() {
4226
4341
  children: /* @__PURE__ */ H("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
4227
4342
  });
4228
4343
  }
4229
- function Sr() {
4344
+ function Mr() {
4230
4345
  return /* @__PURE__ */ U("svg", {
4231
4346
  width: "14",
4232
4347
  height: "14",
@@ -4244,7 +4359,7 @@ function Sr() {
4244
4359
  })]
4245
4360
  });
4246
4361
  }
4247
- function Cr() {
4362
+ function Nr() {
4248
4363
  return /* @__PURE__ */ U("svg", {
4249
4364
  width: "14",
4250
4365
  height: "14",
@@ -4263,4 +4378,4 @@ function Cr() {
4263
4378
  });
4264
4379
  }
4265
4380
  //#endregion
4266
- export { lt as Accordion, ct as AccordionItem, Nn as ActivityFeed, Xe as AppLoader, K as Avatar, q as Badge, yr as BellIcon, J as Button, br as CalendarIcon, kn as CallCard, nn as CallControlsBar, En as Callbar, _t as Card, xt as CardContent, bt as CardDescription, St as CardFooter, vt as CardHeader, yt as CardTitle, _r as CheckIcon, tr as ChevronDown, nr as ChevronUp, gr as CloseIcon, Pn as CommandBar, vr as CopyIcon, Yt as DEFAULT_ICON_BY_VALUE, Xt as DEFAULT_VIEW_MODE_OPTIONS, Fn as DataTable, wt as Dialog, Ot as DialogBody, Dt as DialogDescription, kt as DialogFooter, Tt as DialogHeader, Et as DialogTitle, jt as DropdownMenu, Nt as DropdownMenuCheckboxItem, Mt as DropdownMenuItem, Pt as DropdownMenuLabel, Ft as DropdownMenuSeparator, er as EditIcon, qe as FCCAppShell, Je as FCCBrandLogo, Re as FCCBreadcrumbs, Se as FCCDesignProvider, $e as FCCDetailsPanel, tt as FCCFullPagePanel, it as FCCFullPagePanelBody, st as FCCFullPagePanelFooter, nt as FCCFullPagePanelHeader, at as FCCFullPagePanelMain, ot as FCCFullPagePanelSidebar, rt as FCCFullPagePanelToolbar, Be as FCCHeaderStatus, Qe as FCCLoader, He as FCCMainWindow, we as FCCSidePanel, Ne as FCCSidePanelAction, Ee as FCCSidePanelBody, je as FCCSidePanelCard, Pe as FCCSidePanelChatWrap, Me as FCCSidePanelContact, Fe as FCCSidePanelConversation, ke as FCCSidePanelGroupLabel, Te as FCCSidePanelHeader, Ae as FCCSidePanelItem, Ie as FCCSidePanelMessage, Oe as FCCSidePanelSearch, De as FCCSidePanelTabs, Ke as FCCSidebar, Ye as FCCThemeToggle, Ve as FCCWorkspaceHeader, In as FilterBar, xr as FilterIcon, Kn as InboxIcon, Xn as InitiativesIcon, At as Input, qn as IssuesIcon, Un as KPICard, Ln as KanbanBoard, zn as KanbanCard, Rn as KanbanColumn, Cr as LabelIcon, pr as LinkIcon, Qn as MoreIcon, Gn as NotificationsPanel, xn as PresenceAvatar, yn as PresenceDot, ur as PriorityHigh, fr as PriorityLow, dr as PriorityMedium, lr as PriorityUrgent, Zn as ProjectsIcon, Yn as PulseIcon, Mn as QueueItem, Jn as ReviewsIcon, $n as SearchIcon, It as SearchableSelect, hr as SettingsIcon, Lt as Sheet, Rt as SheetFooter, Ze as Spinner, rr as StarIcon, Wn as StatCard, sr as StatusBacklog, cr as StatusCancelled, ar as StatusDone, ir as StatusInProgress, Vt as StatusMetric, or as StatusTodo, Ht as Switch, Bn as TableBoard, Vn as TableBoardGroup, Hn as TableBoardRow, Ut as Tabs, Kt as TabsContent, Wt as TabsList, Gt as TabsTrigger, qt as Textarea, be as ThemeProvider, Z as TicketLinkChip, me as ToastProvider, Jt as Tooltip, mr as TrashIcon, Sr as UserIcon, $t as ViewModeToggle, tn as WorkspaceTabs, xe as useTheme, he as useToast };
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 };