@nivaro/react 0.3.117 → 0.3.119

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.
Files changed (138) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +136 -14
  4. package/dist/index.js +488 -485
  5. package/dist/shared/components/ActivityEntry.js +130 -125
  6. package/dist/shared/components/AgentPresenceChip.js +36 -26
  7. package/dist/shared/components/CellCopyLayer.js +50 -45
  8. package/dist/shared/components/CollectionBrowserView.js +3757 -3695
  9. package/dist/shared/components/FilePreviewLightbox.js +96 -58
  10. package/dist/shared/components/InStep.js +18 -17
  11. package/dist/shared/components/ItemEditForm.js +4451 -4385
  12. package/dist/shared/components/JobsTray.js +8 -8
  13. package/dist/shared/components/LiveNewMatchesPill.js +21 -14
  14. package/dist/shared/components/LiveOffNote.js +3 -2
  15. package/dist/shared/components/LiveRowMark.js +53 -23
  16. package/dist/shared/components/LiveTraceView.js +162 -123
  17. package/dist/shared/components/MyWorkView.js +320 -299
  18. package/dist/shared/components/NotificationBell.js +14 -14
  19. package/dist/shared/components/OverflowRail.js +1 -1
  20. package/dist/shared/components/PageRenderer.js +120 -116
  21. package/dist/shared/components/ProfileView.js +203 -202
  22. package/dist/shared/components/RealtimeStatusBanner.js +31 -29
  23. package/dist/shared/components/RecordDrilldownSheet.js +7 -7
  24. package/dist/shared/components/RecordHoverCard.js +102 -84
  25. package/dist/shared/components/RecordReadView.js +146 -146
  26. package/dist/shared/components/ScreenRefreshButton.js +34 -32
  27. package/dist/shared/components/TipLayer.js +65 -58
  28. package/dist/shared/components/WidgetImageMenu.js +83 -43
  29. package/dist/shared/components/activity/RecordActivityStream.js +175 -173
  30. package/dist/shared/components/bulk/BulkSelectionNotices.js +142 -119
  31. package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +158 -143
  32. package/dist/shared/components/change-proposals/ProposeChangeButton.js +17 -11
  33. package/dist/shared/components/change-proposals/ProposeChangeDialog.js +201 -173
  34. package/dist/shared/components/chat/ChatAnalyticsView.js +27 -27
  35. package/dist/shared/components/chat/HuddleAnalyticsTab.js +17 -17
  36. package/dist/shared/components/collections-directory/CollectionsToolbar.js +39 -41
  37. package/dist/shared/components/collections-directory/page-model.js +72 -67
  38. package/dist/shared/components/integrations/RecordIntegrationPreview.js +48 -56
  39. package/dist/shared/components/integrations/SendStatus.js +65 -59
  40. package/dist/shared/components/integrations/console/ReadyToSendView.js +275 -209
  41. package/dist/shared/components/integrations/console/SignalCard.js +237 -230
  42. package/dist/shared/components/item-edit/CatalogPickerField.js +227 -205
  43. package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +135 -94
  44. package/dist/shared/components/item-edit/CloneDialog.js +191 -161
  45. package/dist/shared/components/item-edit/DerivedCauseNote.js +44 -30
  46. package/dist/shared/components/item-edit/DraftRecoveryBanner.js +153 -134
  47. package/dist/shared/components/item-edit/FieldComments.js +88 -85
  48. package/dist/shared/components/item-edit/FieldPointer.js +82 -67
  49. package/dist/shared/components/item-edit/FieldRow.js +106 -100
  50. package/dist/shared/components/item-edit/FieldSourceBadge.js +58 -56
  51. package/dist/shared/components/item-edit/FilePickerField.js +452 -387
  52. package/dist/shared/components/item-edit/HeaderSummaryChip.js +78 -56
  53. package/dist/shared/components/item-edit/HeaderTools.js +245 -141
  54. package/dist/shared/components/item-edit/InlineTableField.js +1242 -1218
  55. package/dist/shared/components/item-edit/ListNeighborNav.js +47 -50
  56. package/dist/shared/components/item-edit/LiveTraceSheet.js +15 -10
  57. package/dist/shared/components/item-edit/MembershipSetField.js +285 -254
  58. package/dist/shared/components/item-edit/OutboxReviewTray.js +155 -144
  59. package/dist/shared/components/item-edit/QueueReturnChip.js +15 -36
  60. package/dist/shared/components/item-edit/RecalcValue.js +57 -32
  61. package/dist/shared/components/item-edit/RecordHelpChip.js +15 -16
  62. package/dist/shared/components/item-edit/RecordLiveSync.js +283 -231
  63. package/dist/shared/components/item-edit/RelationCombobox.js +439 -393
  64. package/dist/shared/components/item-edit/RemoteChangeUi.js +292 -224
  65. package/dist/shared/components/item-edit/RemoteUploads.js +26 -20
  66. package/dist/shared/components/item-edit/RemovedLineNote.js +77 -67
  67. package/dist/shared/components/item-edit/RichTextEditorImpl.js +184 -179
  68. package/dist/shared/components/item-edit/ScheduledChangeChip.js +168 -134
  69. package/dist/shared/components/item-edit/SectionPresence.js +18 -10
  70. package/dist/shared/components/item-edit/SplitLinesButton.js +163 -139
  71. package/dist/shared/components/item-edit/UserChip.js +1 -1
  72. package/dist/shared/components/item-edit/addendum-view.js +6 -0
  73. package/dist/shared/components/item-edit/file-live.js +69 -54
  74. package/dist/shared/components/item-edit/layout-switch.js +98 -89
  75. package/dist/shared/components/item-edit/partner-needs.js +12 -12
  76. package/dist/shared/components/item-edit/removed-line.js +31 -25
  77. package/dist/shared/components/layout-editor/pickers/field-picker.js +151 -130
  78. package/dist/shared/components/list/ListViewers.js +46 -35
  79. package/dist/shared/components/notifications/NotificationCenterView.js +479 -437
  80. package/dist/shared/components/panels/AccessDeniedPanel.js +176 -101
  81. package/dist/shared/components/panels/AlertBanners.js +82 -72
  82. package/dist/shared/components/panels/BranchLanes.js +22 -22
  83. package/dist/shared/components/panels/CommentImages.js +123 -102
  84. package/dist/shared/components/panels/CommentPanel.js +186 -185
  85. package/dist/shared/components/panels/ExternalRequestsChip.js +111 -119
  86. package/dist/shared/components/panels/OwnerOpenedLine.js +31 -24
  87. package/dist/shared/components/panels/PipelinePanel.js +2037 -1885
  88. package/dist/shared/components/panels/ResubmissionDiff.js +163 -142
  89. package/dist/shared/components/pipeline/OwnerMatrixSheet.js +400 -288
  90. package/dist/shared/components/pipeline/PipelineEditorView.js +7 -2
  91. package/dist/shared/components/profile/AgentNameField.js +107 -81
  92. package/dist/shared/components/profile/AgentsPanel.js +184 -184
  93. package/dist/shared/components/profile/PersonAccess.js +599 -495
  94. package/dist/shared/components/profile/SignInTroubleshooter.js +160 -127
  95. package/dist/shared/components/profile/SignedInDevices.js +17 -17
  96. package/dist/shared/components/profile/primitives.js +1 -1
  97. package/dist/shared/components/queue/OwnerAvatars.js +91 -54
  98. package/dist/shared/components/queue/QueueTeamStrip.js +56 -46
  99. package/dist/shared/components/queue/QueueWorklist.js +1002 -983
  100. package/dist/shared/components/support/AssignRules.js +1733 -0
  101. package/dist/shared/components/support/PersonPick.js +88 -0
  102. package/dist/shared/components/support/RequestList.js +790 -0
  103. package/dist/shared/components/support/ScreenShare.js +158 -152
  104. package/dist/shared/components/support/SupportRequestDialog.js +50 -48
  105. package/dist/shared/components/support/SupportView.js +140 -246
  106. package/dist/shared/components/support/TicketDetailSheet.js +82 -75
  107. package/dist/shared/components/support/TicketSlowScreens.js +9 -9
  108. package/dist/shared/components/support/assign-rules-text.js +171 -0
  109. package/dist/shared/components/support/support-list.js +125 -0
  110. package/dist/shared/components/ui/SimpleSelect.js +28 -20
  111. package/dist/shared/components/ui/checkbox.js +6 -6
  112. package/dist/shared/components/ui/select.js +43 -39
  113. package/dist/shared/components/ui/sheet.js +9 -9
  114. package/dist/shared/components/ui/switch.js +12 -11
  115. package/dist/shared/components/watch-list/WatchDock.js +532 -459
  116. package/dist/shared/components/watch-list/WatchExtras.js +332 -286
  117. package/dist/shared/components/watch-list/WatchRows.js +164 -140
  118. package/dist/shared/lib/activity-sentence.js +103 -91
  119. package/dist/shared/lib/agent-presence.js +27 -21
  120. package/dist/shared/lib/approval-progress.js +2 -2
  121. package/dist/shared/lib/copy-rules.js +31 -24
  122. package/dist/shared/lib/derived-causes.js +113 -78
  123. package/dist/shared/lib/grid-cursors.js +26 -26
  124. package/dist/shared/lib/label-flash.js +27 -0
  125. package/dist/shared/lib/list-return.js +137 -125
  126. package/dist/shared/lib/live-deltas.js +40 -34
  127. package/dist/shared/lib/live-groups.js +56 -52
  128. package/dist/shared/lib/live-preference.js +64 -59
  129. package/dist/shared/lib/live-screen.js +223 -192
  130. package/dist/shared/lib/partner-failure.js +11 -11
  131. package/dist/shared/lib/rollup-recalc.js +68 -64
  132. package/dist/shared/lib/screen-refresh.js +74 -68
  133. package/dist/shared/lib/screen-share.js +108 -104
  134. package/dist/shared/lib/send-status.js +77 -61
  135. package/dist/shared/lib/text-diff-window.js +29 -0
  136. package/dist/shared/lib/watch-list.js +210 -209
  137. package/dist/shared/lib/widget-image-render.js +72 -49
  138. package/package.json +1 -1
@@ -1,45 +1,45 @@
1
- import { jsxs as t, jsx as e, Fragment as X } from "react/jsx-runtime";
2
- import { readUser as fe, readUserCard as ye, updateUser as de, readMyScopes as ve, saveMyScopeDefaults as ke, readItems as te } from "@nivaro/sdk";
1
+ import { jsxs as t, jsx as e, Fragment as ee } from "react/jsx-runtime";
2
+ import { readUser as ye, readUserCard as ve, updateUser as ce, readMyScopes as ke, saveMyScopeDefaults as Ne, readItems as ae } from "@nivaro/sdk";
3
3
  import { useQueryClient as M, useQuery as v, useMutation as _ } from "@tanstack/react-query";
4
- import { Loader2 as ce, Camera as Ne, Building2 as we, Mail as _e, Phone as Se, Clock as Ce, Undo2 as qe, Check as Pe, UserRound as Ae, Filter as Te, LogOut as Fe, ShieldCheck as Le } from "lucide-react";
5
- import { useRef as be, useEffect as Oe, useState as q, useMemo as Me } from "react";
6
- import { useNivaroClient as F, useItemEditAuth as ne } from "../context.js";
7
- import { get as T, patch as G, post as ee, put as De, del as Ke } from "../lib/commands.js";
8
- import { parseLiveMode as ue, LIVE_MODE_LABELS as Re, useLivePreference as Ee } from "../lib/live-preference.js";
9
- import { playNotificationSound as me } from "../lib/notification-sound.js";
10
- import { restrictedScopeSelections as Ie, cascadeFilter as je, fetchCascadeRelations as Ue } from "../lib/quick-filter-cascade.js";
11
- import { BRAND_ACCENT as ae, parseThemeAccents as Qe, DEFAULT_THEME_ACCENTS as pe } from "../lib/theme-accents.js";
12
- import { playUrgentChime as xe } from "../lib/urgent-chime.js";
13
- import { announceLocalPrefs as re } from "../lib/user-sync.js";
14
- import { cn as z, setDisplayTimezone as $e } from "../lib/utils.js";
15
- import { CustomStatusEditor as ze, activeCustomStatus as Be } from "./CustomStatusEditor.js";
16
- import { mergeNotifyRulesClient as He, NOTIFY_RULE_CATS as Ye, NotificationRulesEditor as We } from "./notifications/NotificationRulesEditor.js";
17
- import { TestMyRules as Ve } from "./notifications/TestMyRules.js";
18
- import { AgentsPanel as Ge } from "./profile/AgentsPanel.js";
19
- import { AiMemoryCard as Je, AiHistoryCard as Ze } from "./profile/AiMemoryCard.js";
20
- import { BrowserPushCard as Xe } from "./profile/BrowserPushCard.js";
21
- import { DelegationCard as et } from "./profile/DelegationCard.js";
22
- import { MailSuppressedPill as tt } from "./profile/MailSuppressedPill.js";
23
- import { PersonDidPanel as at } from "./profile/PersonDidPanel.js";
24
- import { TeamLoadCard as rt } from "./profile/PersonExtras.js";
25
- import { TeamsConnect as nt } from "./profile/TeamsConnect.js";
26
- import { NotificationSourcesCard as st } from "./NotificationSourcesCard.js";
27
- import { MyDefaultsCard as lt } from "./profile/MyDefaultsCard.js";
28
- import { UserScopesCard as ot } from "./profile/PersonAccess.js";
29
- import { PersonProfile as it } from "./profile/PersonProfile.js";
30
- import { Toggle as ge, SectionCard as se, Field as W, ConfirmButton as he } from "./profile/primitives.js";
31
- import { SignedInDevices as dt } from "./profile/SignedInDevices.js";
4
+ import { Loader2 as ue, Camera as we, Building2 as _e, Mail as Se, Phone as Ce, Clock as qe, Undo2 as Pe, Check as Te, UserRound as Ae, Filter as Fe, LogOut as Le, ShieldCheck as Oe } from "lucide-react";
5
+ import { useRef as xe, useEffect as Me, useState as q, useMemo as De } from "react";
6
+ import { useNivaroClient as F, useItemEditAuth as se } from "../context.js";
7
+ import { get as A, patch as J, post as te, put as Ke, del as Re } from "../lib/commands.js";
8
+ import { parseLiveMode as me, LIVE_MODE_LABELS as Ee, LIVE_MODE_HINTS as G, useLivePreference as Ie } from "../lib/live-preference.js";
9
+ import { playNotificationSound as pe } from "../lib/notification-sound.js";
10
+ import { restrictedScopeSelections as je, cascadeFilter as Ue, fetchCascadeRelations as Qe } from "../lib/quick-filter-cascade.js";
11
+ import { BRAND_ACCENT as re, parseThemeAccents as $e, DEFAULT_THEME_ACCENTS as he } from "../lib/theme-accents.js";
12
+ import { playUrgentChime as ge } from "../lib/urgent-chime.js";
13
+ import { announceLocalPrefs as ne } from "../lib/user-sync.js";
14
+ import { cn as z, setDisplayTimezone as ze } from "../lib/utils.js";
15
+ import { CustomStatusEditor as Be, activeCustomStatus as He } from "./CustomStatusEditor.js";
16
+ import { mergeNotifyRulesClient as Ye, NOTIFY_RULE_CATS as Ve, NotificationRulesEditor as We } from "./notifications/NotificationRulesEditor.js";
17
+ import { TestMyRules as Ge } from "./notifications/TestMyRules.js";
18
+ import { AgentsPanel as Je } from "./profile/AgentsPanel.js";
19
+ import { AiMemoryCard as Ze, AiHistoryCard as Xe } from "./profile/AiMemoryCard.js";
20
+ import { BrowserPushCard as et } from "./profile/BrowserPushCard.js";
21
+ import { DelegationCard as tt } from "./profile/DelegationCard.js";
22
+ import { MailSuppressedPill as at } from "./profile/MailSuppressedPill.js";
23
+ import { PersonDidPanel as rt } from "./profile/PersonDidPanel.js";
24
+ import { TeamLoadCard as nt } from "./profile/PersonExtras.js";
25
+ import { TeamsConnect as st } from "./profile/TeamsConnect.js";
26
+ import { NotificationSourcesCard as lt } from "./NotificationSourcesCard.js";
27
+ import { MyDefaultsCard as ot } from "./profile/MyDefaultsCard.js";
28
+ import { UserScopesCard as it } from "./profile/PersonAccess.js";
29
+ import { PersonProfile as dt } from "./profile/PersonProfile.js";
30
+ import { Toggle as fe, SectionCard as le, Field as V, ConfirmButton as be } from "./profile/primitives.js";
31
+ import { SignedInDevices as ct } from "./profile/SignedInDevices.js";
32
32
  import { SimpleSelectXs as E } from "./ui/SimpleSelect.js";
33
- const ct = (s) => [s.first_name, s.last_name].filter(Boolean).join(" ") || (s.email ?? "Unknown"), ut = (s) => {
33
+ const ut = (s) => [s.first_name, s.last_name].filter(Boolean).join(" ") || (s.email ?? "Unknown"), mt = (s) => {
34
34
  var u, r;
35
35
  return (`${((u = s.first_name) == null ? void 0 : u[0]) ?? ""}${((r = s.last_name) == null ? void 0 : r[0]) ?? ""}` || (s.email ?? "?").slice(0, 2)).toUpperCase();
36
- }, mt = Ye;
37
- function pt() {
36
+ }, pt = Ve;
37
+ function ht() {
38
38
  const s = F(), u = M(), { data: r = [] } = v({
39
39
  queryKey: ["nvr-profile-fields"],
40
- queryFn: () => s.request(T("/profile-fields/mine")).then((a) => a.data ?? []).catch(() => [])
40
+ queryFn: () => s.request(A("/profile-fields/mine")).then((a) => a.data ?? []).catch(() => [])
41
41
  }), [n, o] = q(null), d = _({
42
- mutationFn: (a) => s.request(De("/profile-fields/mine", { values: a })),
42
+ mutationFn: (a) => s.request(Ke("/profile-fields/mine", { values: a })),
43
43
  onSuccess: () => {
44
44
  o(null), u.invalidateQueries({ queryKey: ["nvr-profile-fields"] });
45
45
  }
@@ -111,47 +111,47 @@ function pt() {
111
111
  ] })
112
112
  ] });
113
113
  }
114
- function ht() {
115
- var V, le, oe;
116
- const s = F(), u = ne(), r = M(), { data: n } = v({
114
+ function bt() {
115
+ var W, oe, ie;
116
+ const s = F(), u = se(), r = M(), { data: n } = v({
117
117
  queryKey: ["nvr-profile-prefs"],
118
- queryFn: () => s.request(T("/users/me")).then((l) => {
118
+ queryFn: () => s.request(A("/users/me")).then((l) => {
119
119
  var b;
120
120
  return ((b = l.data) == null ? void 0 : b.preferences) ?? {};
121
121
  })
122
122
  }), { data: o } = v({
123
123
  queryKey: ["nvr-profile-teams"],
124
- queryFn: () => s.request(T("/users/me")).then((l) => {
124
+ queryFn: () => s.request(A("/users/me")).then((l) => {
125
125
  var b, w;
126
126
  return {
127
127
  available: ((b = l.data) == null ? void 0 : b.teams_available) === !0,
128
128
  link: ((w = l.data) == null ? void 0 : w.teams_link) ?? null
129
129
  };
130
130
  })
131
- }), d = (o == null ? void 0 : o.available) === !0, c = ((V = o == null ? void 0 : o.link) == null ? void 0 : V.status) === "active", i = be(null), a = n != null;
132
- Oe(() => {
131
+ }), d = (o == null ? void 0 : o.available) === !0, c = ((W = o == null ? void 0 : o.link) == null ? void 0 : W.status) === "active", i = xe(null), a = n != null;
132
+ Me(() => {
133
133
  var l;
134
134
  !a || typeof window > "u" || window.location.hash === "#notification-rules" && ((l = i.current) == null || l.scrollIntoView({ block: "start", behavior: "smooth" }));
135
135
  }, [a]);
136
136
  const h = (n == null ? void 0 : n.notification_prefs) ?? {}, { data: m } = v({
137
137
  queryKey: ["nvr-my-rule-defaults"],
138
- queryFn: () => s.request(T("/notifications/my-rule-defaults")).then((l) => l.data).catch(() => null),
138
+ queryFn: () => s.request(A("/notifications/my-rule-defaults")).then((l) => l.data).catch(() => null),
139
139
  staleTime: 6e4
140
- }), P = (n == null ? void 0 : n.email_digest) === "daily" ? "daily" : "instant", C = He(h, m != null && m.role ? m.rules : null), D = (l) => {
141
- var b, w, Y, ie;
142
- return ((w = (b = h.matrix) == null ? void 0 : b[l]) == null ? void 0 : w.email) ?? (P === "daily" ? "daily" : ((ie = (Y = C.matrix) == null ? void 0 : Y[l]) == null ? void 0 : ie.email) ?? P);
140
+ }), P = (n == null ? void 0 : n.email_digest) === "daily" ? "daily" : "instant", C = Ye(h, m != null && m.role ? m.rules : null), D = (l) => {
141
+ var b, w, Y, de;
142
+ return ((w = (b = h.matrix) == null ? void 0 : b[l]) == null ? void 0 : w.email) ?? (P === "daily" ? "daily" : ((de = (Y = C.matrix) == null ? void 0 : Y[l]) == null ? void 0 : de.email) ?? P);
143
143
  }, y = _({
144
- mutationFn: (l) => s.request(G("/users/me/preferences", { notification_prefs: l })),
144
+ mutationFn: (l) => s.request(J("/users/me/preferences", { notification_prefs: l })),
145
145
  onSuccess: () => {
146
- r.invalidateQueries({ queryKey: ["nvr-profile-prefs"] }), re(["notification_prefs"]);
146
+ r.invalidateQueries({ queryKey: ["nvr-profile-prefs"] }), ne(["notification_prefs"]);
147
147
  }
148
148
  }), S = _({
149
- mutationFn: (l) => s.request(G("/users/me/preferences", l)),
149
+ mutationFn: (l) => s.request(J("/users/me/preferences", l)),
150
150
  onSuccess: (l, b) => {
151
- r.invalidateQueries({ queryKey: ["nvr-profile-prefs"] }), re(Object.keys(b));
151
+ r.invalidateQueries({ queryKey: ["nvr-profile-prefs"] }), ne(Object.keys(b));
152
152
  }
153
153
  }), [k, L] = q(null), f = _({
154
- mutationFn: (l) => s.request(ee("/notifications/rules-preview", { notification_prefs: l })),
154
+ mutationFn: (l) => s.request(te("/notifications/rules-preview", { notification_prefs: l })),
155
155
  onSuccess: (l) => L({
156
156
  total: l.data.total_notifications,
157
157
  current: l.data.current,
@@ -166,10 +166,10 @@ function ht() {
166
166
  f.mutate(b), y.mutate(b);
167
167
  }, $ = (l) => I({ ...h, ...l }), x = (n == null ? void 0 : n.notification_sounds) ?? {}, K = (l, b) => {
168
168
  const w = { ...x };
169
- b === "default" ? delete w[l] : w[l] = b, b !== "default" && me(b, { preview: !0 }), S.mutate({ notification_sounds: Object.keys(w).length ? w : null });
169
+ b === "default" ? delete w[l] : w[l] = b, b !== "default" && pe(b, { preview: !0 }), S.mutate({ notification_sounds: Object.keys(w).length ? w : null });
170
170
  }, { data: H } = v({
171
171
  queryKey: ["nvr-noise-suggestions"],
172
- queryFn: () => s.request(T("/notifications/noise-suggestions")).then((l) => l.data ?? []),
172
+ queryFn: () => s.request(A("/notifications/noise-suggestions")).then((l) => l.data ?? []),
173
173
  staleTime: 6e5
174
174
  }), [j, g] = q({}), [U, Q] = q(() => {
175
175
  try {
@@ -185,11 +185,11 @@ function ht() {
185
185
  localStorage.setItem("nvr-noise-dismissed", JSON.stringify({ at: Date.now(), cats: b }));
186
186
  } catch {
187
187
  }
188
- }, p = Number.isInteger(Number(n == null ? void 0 : n.digest_hour)) ? Number(n == null ? void 0 : n.digest_hour) : 7, N = (l) => `${l % 12 === 0 ? 12 : l % 12}:45 ${l < 12 ? "AM" : "PM"}`, [A, R] = q(null), O = _({
189
- mutationFn: () => s.request(ee("/users/me/digest-test", {})),
188
+ }, p = Number.isInteger(Number(n == null ? void 0 : n.digest_hour)) ? Number(n == null ? void 0 : n.digest_hour) : 7, N = (l) => `${l % 12 === 0 ? 12 : l % 12}:45 ${l < 12 ? "AM" : "PM"}`, [T, R] = q(null), O = _({
189
+ mutationFn: () => s.request(te("/users/me/digest-test", {})),
190
190
  onSuccess: (l) => R(l.data.note),
191
191
  onError: () => R("Test send failed — try again.")
192
- }), J = mt.some((l) => D(l.key) === "daily"), Z = ({ text: l }) => /* @__PURE__ */ e(
192
+ }), Z = pt.some((l) => D(l.key) === "daily"), X = ({ text: l }) => /* @__PURE__ */ e(
193
193
  "span",
194
194
  {
195
195
  className: "ml-1 inline-flex h-3.5 w-3.5 cursor-help items-center justify-center rounded-full border border-slate-300 text-[9px] font-semibold normal-case tracking-normal text-slate-400 dark:border-border",
@@ -238,7 +238,7 @@ function ht() {
238
238
  },
239
239
  children: "Muted — undo"
240
240
  }
241
- ) : /* @__PURE__ */ t(X, { children: [
241
+ ) : /* @__PURE__ */ t(ee, { children: [
242
242
  /* @__PURE__ */ e(
243
243
  "button",
244
244
  {
@@ -303,16 +303,16 @@ function ht() {
303
303
  { value: "chime", label: "Chime" }
304
304
  ],
305
305
  onChange: (l) => {
306
- me(l, { preview: !0 }), S.mutate({ notification_sound: l });
306
+ pe(l, { preview: !0 }), S.mutate({ notification_sound: l });
307
307
  }
308
308
  }
309
309
  ),
310
310
  /* @__PURE__ */ e("span", { className: "text-[11px] text-slate-400", children: "plays when a notification or a direct message arrives" }),
311
- /* @__PURE__ */ e("span", { className: "ml-auto", children: /* @__PURE__ */ e(Ve, {}) })
311
+ /* @__PURE__ */ e("span", { className: "ml-auto", children: /* @__PURE__ */ e(Ge, {}) })
312
312
  ] }),
313
313
  /* @__PURE__ */ t("div", { className: "flex flex-wrap items-center gap-2 text-[12.5px] text-slate-600 dark:text-muted-foreground", children: [
314
314
  /* @__PURE__ */ e(
315
- ge,
315
+ fe,
316
316
  {
317
317
  on: (n == null ? void 0 : n.huddle_hold_notifications) !== !1,
318
318
  onChange: () => S.mutate({
@@ -325,11 +325,11 @@ function ht() {
325
325
  /* @__PURE__ */ e("span", { className: "text-[11px] text-slate-400", children: "toasts and sounds wait while you talk; you get one summary when you leave" })
326
326
  ] }),
327
327
  /* @__PURE__ */ e(
328
- Tt,
328
+ Ft,
329
329
  {
330
330
  on: (n == null ? void 0 : n.urgent_sound) === !0,
331
331
  onChange: (l) => {
332
- l && xe({ preview: !0 }), S.mutate({ urgent_sound: l ? !0 : null });
332
+ l && ge({ preview: !0 }), S.mutate({ urgent_sound: l ? !0 : null });
333
333
  }
334
334
  }
335
335
  ),
@@ -340,7 +340,7 @@ function ht() {
340
340
  isAdmin: u.isAdmin,
341
341
  value: h,
342
342
  inherited: m != null && m.role ? m.rules : null,
343
- inheritedName: ((le = m == null ? void 0 : m.role) == null ? void 0 : le.name) ?? null,
343
+ inheritedName: ((oe = m == null ? void 0 : m.role) == null ? void 0 : oe.name) ?? null,
344
344
  legacyEmail: P,
345
345
  saving: y.isPending,
346
346
  onCommit: (l) => I(l),
@@ -348,12 +348,12 @@ function ht() {
348
348
  teams: d ? {
349
349
  available: !0,
350
350
  linked: c,
351
- header: /* @__PURE__ */ e("div", { className: "mt-0.5", children: /* @__PURE__ */ e(nt, { linked: c, linkedAt: (oe = o == null ? void 0 : o.link) == null ? void 0 : oe.linked_at }) })
351
+ header: /* @__PURE__ */ e("div", { className: "mt-0.5", children: /* @__PURE__ */ e(st, { linked: c, linkedAt: (ie = o == null ? void 0 : o.link) == null ? void 0 : ie.linked_at }) })
352
352
  } : null,
353
353
  extraColumn: {
354
- header: /* @__PURE__ */ t(X, { children: [
354
+ header: /* @__PURE__ */ t(ee, { children: [
355
355
  "Sound",
356
- /* @__PURE__ */ e(Z, { text: "A different sound for this category, or none. Default follows the Sound setting above." })
356
+ /* @__PURE__ */ e(X, { text: "A different sound for this category, or none. Default follows the Sound setting above." })
357
357
  ] }),
358
358
  cell: (l, b) => /* @__PURE__ */ e("div", { className: "inline-block", children: /* @__PURE__ */ e(
359
359
  E,
@@ -377,7 +377,7 @@ function ht() {
377
377
  "Daily action summary",
378
378
  /* @__PURE__ */ t("span", { className: "ml-1.5 text-[11px] font-normal text-slate-400", children: [
379
379
  "one morning email — every category set to Daily summary, plus items assigned to you and invoices awaiting your review",
380
- !J && " · nothing is set to Daily summary yet"
380
+ !Z && " · nothing is set to Daily summary yet"
381
381
  ] })
382
382
  ] }),
383
383
  /* @__PURE__ */ t("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-2 text-[12px] text-slate-600 dark:text-muted-foreground", children: [
@@ -419,7 +419,7 @@ function ht() {
419
419
  children: O.isPending ? "Building…" : "Send me a test summary now"
420
420
  }
421
421
  ),
422
- A && /* @__PURE__ */ e("span", { className: "text-[11.5px] text-slate-400", children: A })
422
+ T && /* @__PURE__ */ e("span", { className: "text-[11.5px] text-slate-400", children: T })
423
423
  ] })
424
424
  ] }),
425
425
  /* @__PURE__ */ t("div", { className: "flex flex-wrap items-center gap-4 border-t border-slate-100 pt-3 text-[12.5px] text-slate-600 dark:border-border/60 dark:text-muted-foreground", children: [
@@ -454,15 +454,15 @@ function ht() {
454
454
  }
455
455
  );
456
456
  }
457
- function bt() {
457
+ function xt() {
458
458
  const s = F(), u = M(), { data: r } = v({
459
459
  queryKey: ["nvr-profile-prefs"],
460
- queryFn: () => s.request(T("/users/me")).then((c) => {
460
+ queryFn: () => s.request(A("/users/me")).then((c) => {
461
461
  var i;
462
462
  return ((i = c.data) == null ? void 0 : i.preferences) ?? {};
463
463
  })
464
464
  }), n = (r == null ? void 0 : r.link_app) === "portal" || (r == null ? void 0 : r.link_app) === "admin" ? r.link_app : "auto", o = _({
465
- mutationFn: (c) => s.request(G("/users/me/preferences", { link_app: c })),
465
+ mutationFn: (c) => s.request(J("/users/me/preferences", { link_app: c })),
466
466
  onSuccess: () => void u.invalidateQueries({ queryKey: ["nvr-profile-prefs"] })
467
467
  });
468
468
  return /* @__PURE__ */ t(
@@ -492,7 +492,7 @@ function bt() {
492
492
  }
493
493
  );
494
494
  }
495
- function xt() {
495
+ function gt() {
496
496
  const s = F(), u = M(), [r, n] = q(""), o = (() => {
497
497
  try {
498
498
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -511,14 +511,14 @@ function xt() {
511
511
  }
512
512
  })(), { data: c } = v({
513
513
  queryKey: ["nvr-profile-prefs"],
514
- queryFn: () => s.request(T("/users/me")).then((m) => {
514
+ queryFn: () => s.request(A("/users/me")).then((m) => {
515
515
  var P;
516
516
  return ((P = m.data) == null ? void 0 : P.preferences) ?? {};
517
517
  })
518
518
  }), i = typeof (c == null ? void 0 : c.timezone) == "string" ? c.timezone : null, a = _({
519
- mutationFn: (m) => s.request(G("/users/me/preferences", { timezone: m })),
519
+ mutationFn: (m) => s.request(J("/users/me/preferences", { timezone: m })),
520
520
  onSuccess: (m, P) => {
521
- $e(P), n(""), u.invalidateQueries({ queryKey: ["nvr-profile-prefs"] });
521
+ ze(P), n(""), u.invalidateQueries({ queryKey: ["nvr-profile-prefs"] });
522
522
  }
523
523
  }), h = r.length > 1 ? d.filter((m) => m.toLowerCase().includes(r.toLowerCase())).slice(0, 8) : [];
524
524
  return /* @__PURE__ */ t(
@@ -571,23 +571,23 @@ function xt() {
571
571
  }
572
572
  );
573
573
  }
574
- function gt() {
574
+ function ft() {
575
575
  const s = F(), u = M(), { data: r } = v({
576
576
  queryKey: ["nvr-profile-scopes"],
577
- queryFn: () => s.request(ve()).then((o) => o.data)
577
+ queryFn: () => s.request(ke()).then((o) => o.data)
578
578
  }), n = _({
579
- mutationFn: ({ dimension: o, values: d }) => s.request(ke(o, d)),
579
+ mutationFn: ({ dimension: o, values: d }) => s.request(Ne(o, d)),
580
580
  onSuccess: () => void u.invalidateQueries({ queryKey: ["nvr-profile-scopes"] })
581
581
  });
582
582
  return !r || r.dimensions.length === 0 ? null : /* @__PURE__ */ e(
583
- se,
583
+ le,
584
584
  {
585
585
  testId: "scopes",
586
- icon: /* @__PURE__ */ e(Te, { className: "h-4 w-4" }),
586
+ icon: /* @__PURE__ */ e(Fe, { className: "h-4 w-4" }),
587
587
  title: "Default filters",
588
588
  hint: "Pre-selected in browsers and reports — clear anytime",
589
589
  children: /* @__PURE__ */ e("div", { className: "space-y-3", children: r.dimensions.map((o) => /* @__PURE__ */ e(
590
- ft,
590
+ yt,
591
591
  {
592
592
  dimension: o,
593
593
  selected: r.defaults[o.name] ?? [],
@@ -600,38 +600,38 @@ function gt() {
600
600
  }
601
601
  );
602
602
  }
603
- function ft({
603
+ function yt({
604
604
  dimension: s,
605
605
  selected: u,
606
606
  restricted: r,
607
607
  scopes: n,
608
608
  onSave: o
609
609
  }) {
610
- const d = F(), c = M(), i = s.display_field ?? "name", [a, h] = q(""), [m, P] = q(!1), C = Ie(s.target_collection, n), D = async () => C.length ? je(
610
+ const d = F(), c = M(), i = s.display_field ?? "name", [a, h] = q(""), [m, P] = q(!1), C = je(s.target_collection, n), D = async () => C.length ? Ue(
611
611
  s.target_collection,
612
- await Ue(d, c, s.target_collection),
612
+ await Qe(d, c, s.target_collection),
613
613
  C
614
614
  ) : null, { data: y = [] } = v({
615
615
  queryKey: ["nvr-scope-options", s.name, C],
616
616
  queryFn: async () => {
617
617
  const p = await D();
618
618
  return ((await d.request(
619
- te(s.target_collection, {
619
+ ae(s.target_collection, {
620
620
  fields: ["id", i],
621
621
  ...p ? { filter: p } : {},
622
622
  sort: s.options_sort ? [s.options_sort] : void 0,
623
623
  limit: 200
624
624
  })
625
- )).data ?? []).map((A) => ({
626
- id: A.id,
627
- label: String(A[i] ?? A.id)
625
+ )).data ?? []).map((T) => ({
626
+ id: T.id,
627
+ label: String(T[i] ?? T.id)
628
628
  }));
629
629
  }
630
630
  }), S = r != null && r.length ? new Set(r.map(String)) : null, k = S ? y.filter((p) => S.has(String(p.id))) : y, L = new Set(u.map(String)), f = k.length > 24 || y.length >= 200 && !S, { data: I = [], isFetching: $ } = v({
631
631
  queryKey: ["nvr-scope-search", s.name, a, C],
632
632
  queryFn: async () => {
633
633
  const p = await D(), N = { [i]: { _contains: a } }, R = ((await d.request(
634
- te(s.target_collection, {
634
+ ae(s.target_collection, {
635
635
  fields: ["id", i],
636
636
  filter: p ? { _and: [N, p] } : N,
637
637
  sort: s.options_sort ? [s.options_sort] : void 0,
@@ -650,7 +650,7 @@ function ft({
650
650
  const K = u.filter((p) => !x.has(String(p))), { data: H = [] } = v({
651
651
  queryKey: ["nvr-scope-selected-labels", s.name, K.map(String).sort().join(",")],
652
652
  queryFn: async () => ((await d.request(
653
- te(s.target_collection, {
653
+ ae(s.target_collection, {
654
654
  fields: ["id", i],
655
655
  filter: { id: { _in: K } },
656
656
  limit: 100
@@ -664,7 +664,7 @@ function ft({
664
664
  for (const p of H) x.set(String(p.id), p.label);
665
665
  const j = (p) => {
666
666
  const N = L.has(String(p));
667
- o(N ? u.filter((A) => String(A) !== String(p)) : [...u, p]);
667
+ o(N ? u.filter((T) => String(T) !== String(p)) : [...u, p]);
668
668
  }, g = a.trim().toLowerCase(), U = g ? k.filter((p) => p.label.toLowerCase().includes(g)) : k, Q = g.length === 0 ? k.slice(0, 30) : $ && I.length === 0 ? U.slice(0, 30) : I, B = f && (m || g.length > 0);
669
669
  return /* @__PURE__ */ t("div", { children: [
670
670
  /* @__PURE__ */ t("p", { className: "mb-1 text-[11px] font-medium uppercase tracking-wide text-slate-400", children: [
@@ -767,7 +767,7 @@ function ft({
767
767
  ] })
768
768
  ] });
769
769
  }
770
- function yt() {
770
+ function vt() {
771
771
  const { data: s } = v({
772
772
  queryKey: ["nvr-settings-2fa"],
773
773
  queryFn: () => r.request({ _method: "GET", _path: "/settings/" }).then((f) => (f == null ? void 0 : f.data) ?? null).catch(() => null),
@@ -807,9 +807,9 @@ function yt() {
807
807
  onSuccess: () => window.location.assign("/login")
808
808
  });
809
809
  return /* @__PURE__ */ e(
810
- se,
810
+ le,
811
811
  {
812
- icon: /* @__PURE__ */ e(Le, { className: "h-4 w-4" }),
812
+ icon: /* @__PURE__ */ e(Oe, { className: "h-4 w-4" }),
813
813
  title: "Security",
814
814
  hint: u ? "Two-factor sign-in and API access" : "API access",
815
815
  children: /* @__PURE__ */ t("div", { className: "space-y-4", children: [
@@ -913,7 +913,7 @@ function yt() {
913
913
  }
914
914
  ),
915
915
  /* @__PURE__ */ e(
916
- he,
916
+ be,
917
917
  {
918
918
  title: "Revoke API token",
919
919
  onConfirm: () => k.mutate(),
@@ -931,7 +931,7 @@ function yt() {
931
931
  /* @__PURE__ */ e("p", { className: "text-[12.5px] font-medium text-slate-700 dark:text-slate-200", children: "Sessions" }),
932
932
  /* @__PURE__ */ e("p", { className: "mt-0.5 text-[11.5px] text-slate-400", children: "Signs you out on every device and browser, including this one." }),
933
933
  /* @__PURE__ */ t(
934
- he,
934
+ be,
935
935
  {
936
936
  title: "Sign out everywhere",
937
937
  onConfirm: () => L.mutate(),
@@ -939,7 +939,7 @@ function yt() {
939
939
  className: "mt-2 inline-flex h-8 items-center gap-1.5 rounded-md border border-slate-200 px-3 text-[12px] font-medium text-slate-600 transition-colors hover:border-red-300 hover:text-red-500 dark:border-border dark:text-slate-300 dark:hover:border-red-500/40 dark:hover:text-red-400",
940
940
  armedClassName: "border-red-300 font-semibold text-red-500 dark:border-red-500/40 dark:text-red-400",
941
941
  children: [
942
- /* @__PURE__ */ e(Fe, { className: "h-3.5 w-3.5" }),
942
+ /* @__PURE__ */ e(Le, { className: "h-3.5 w-3.5" }),
943
943
  L.isPending ? "Signing out…" : "Sign out everywhere"
944
944
  ]
945
945
  }
@@ -949,31 +949,31 @@ function yt() {
949
949
  }
950
950
  );
951
951
  }
952
- function da({
952
+ function ca({
953
953
  userId: s,
954
954
  className: u,
955
955
  initialTab: r,
956
956
  extra: n,
957
957
  pushServiceWorker: o = "/sw.js"
958
958
  }) {
959
- const d = ne();
960
- return !s || (d == null ? void 0 : d.userId) != null && String(d.userId) === String(s) ? /* @__PURE__ */ e(vt, { className: u, extra: n, pushServiceWorker: o }) : /* @__PURE__ */ e(it, { userId: s, className: u, initialTab: r });
959
+ const d = se();
960
+ return !s || (d == null ? void 0 : d.userId) != null && String(d.userId) === String(s) ? /* @__PURE__ */ e(kt, { className: u, extra: n, pushServiceWorker: o }) : /* @__PURE__ */ e(dt, { userId: s, className: u, initialTab: r });
961
961
  }
962
- function vt({
962
+ function kt({
963
963
  className: s,
964
964
  extra: u,
965
965
  pushServiceWorker: r
966
966
  }) {
967
967
  var j;
968
- const n = F(), o = M(), d = ne(), c = !0, i = "me", { data: a } = v({
968
+ const n = F(), o = M(), d = se(), c = !0, i = "me", { data: a } = v({
969
969
  queryKey: ["nvr-profile-user", i],
970
- queryFn: () => n.request(fe(i)).then((g) => g.data),
970
+ queryFn: () => n.request(ye(i)).then((g) => g.data),
971
971
  enabled: c
972
972
  }), h = (a == null ? void 0 : a.id) ?? null, { data: m } = v({
973
973
  queryKey: ["nvr-profile-card", h],
974
- queryFn: () => n.request(ye(h)).then((g) => g.data),
974
+ queryFn: () => n.request(ve(h)).then((g) => g.data),
975
975
  enabled: !!h
976
- }), [P, C] = q(null), D = Me(
976
+ }), [P, C] = q(null), D = De(
977
977
  () => ({
978
978
  first_name: (a == null ? void 0 : a.first_name) ?? "",
979
979
  last_name: (a == null ? void 0 : a.last_name) ?? "",
@@ -983,27 +983,27 @@ function vt({
983
983
  }),
984
984
  [a]
985
985
  ), y = P ?? D, S = JSON.stringify(y) !== JSON.stringify(D), k = _({
986
- mutationFn: () => n.request(de(a.id, y)),
986
+ mutationFn: () => n.request(ce(a.id, y)),
987
987
  onSuccess: () => {
988
988
  C(null), o.invalidateQueries({ queryKey: ["nvr-profile-user"] }), o.invalidateQueries({ queryKey: ["nvr-profile-card"] });
989
989
  }
990
- }), [L, f] = q(kt), I = be(null), $ = _({
990
+ }), [L, f] = q(Nt), I = xe(null), $ = _({
991
991
  mutationFn: async (g) => {
992
992
  const U = await new Promise((Q, B) => {
993
993
  const p = new Image(), N = URL.createObjectURL(g);
994
994
  p.onload = () => {
995
995
  URL.revokeObjectURL(N);
996
- const A = 96, R = document.createElement("canvas");
997
- R.width = A, R.height = A;
996
+ const T = 96, R = document.createElement("canvas");
997
+ R.width = T, R.height = T;
998
998
  const O = R.getContext("2d");
999
999
  if (!O) return B(new Error("canvas unavailable"));
1000
- const J = Math.max(A / p.width, A / p.height), Z = p.width * J, V = p.height * J;
1001
- O.drawImage(p, (A - Z) / 2, (A - V) / 2, Z, V), Q(R.toDataURL("image/jpeg", 0.85));
1000
+ const Z = Math.max(T / p.width, T / p.height), X = p.width * Z, W = p.height * Z;
1001
+ O.drawImage(p, (T - X) / 2, (T - W) / 2, X, W), Q(R.toDataURL("image/jpeg", 0.85));
1002
1002
  }, p.onerror = () => {
1003
1003
  URL.revokeObjectURL(N), B(new Error("not an image"));
1004
1004
  }, p.src = N;
1005
1005
  });
1006
- await n.request(de(a.id, { avatar: U }));
1006
+ await n.request(ce(a.id, { avatar: U }));
1007
1007
  },
1008
1008
  onSuccess: () => {
1009
1009
  o.invalidateQueries({ queryKey: ["nvr-profile-user"] }), o.invalidateQueries({ queryKey: ["nvr-profile-card"] }), o.invalidateQueries({ queryKey: ["user-card"] }), o.invalidateQueries({ queryKey: ["user-avatar"] });
@@ -1035,7 +1035,7 @@ function vt({
1035
1035
  alt: "",
1036
1036
  className: "h-[76px] w-[76px] rounded-full border border-slate-200 object-cover dark:border-border"
1037
1037
  }
1038
- ) : /* @__PURE__ */ e("span", { className: "flex h-[76px] w-[76px] items-center justify-center rounded-full bg-[#c7f0fb] text-[24px] font-semibold text-[#04516b] dark:bg-nvr-cyan/15 dark:text-nvr-cyan", children: ut(x) }),
1038
+ ) : /* @__PURE__ */ e("span", { className: "flex h-[76px] w-[76px] items-center justify-center rounded-full bg-[#c7f0fb] text-[24px] font-semibold text-[#04516b] dark:bg-nvr-cyan/15 dark:text-nvr-cyan", children: mt(x) }),
1039
1039
  /* @__PURE__ */ e(
1040
1040
  "span",
1041
1041
  {
@@ -1046,7 +1046,7 @@ function vt({
1046
1046
  title: H ? "Active" : x.status
1047
1047
  }
1048
1048
  ),
1049
- /* @__PURE__ */ t(X, { children: [
1049
+ /* @__PURE__ */ t(ee, { children: [
1050
1050
  /* @__PURE__ */ e(
1051
1051
  "button",
1052
1052
  {
@@ -1058,7 +1058,7 @@ function vt({
1058
1058
  return (g = I.current) == null ? void 0 : g.click();
1059
1059
  },
1060
1060
  className: "absolute -right-1 -top-1 flex h-7 w-7 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-500 shadow-sm transition-colors hover:border-nvr-cyan hover:text-nvr-navy dark:border-border dark:bg-background dark:text-slate-300 dark:hover:text-nvr-cyan",
1061
- children: $.isPending ? /* @__PURE__ */ e(ce, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Ne, { className: "h-3.5 w-3.5" })
1061
+ children: $.isPending ? /* @__PURE__ */ e(ue, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(we, { className: "h-3.5 w-3.5" })
1062
1062
  }
1063
1063
  ),
1064
1064
  /* @__PURE__ */ e(
@@ -1079,17 +1079,17 @@ function vt({
1079
1079
  ] }),
1080
1080
  /* @__PURE__ */ t("div", { className: "min-w-0 flex-1", children: [
1081
1081
  /* @__PURE__ */ t("div", { className: "flex flex-wrap items-center gap-2", children: [
1082
- /* @__PURE__ */ e("h1", { className: "text-[21px] font-semibold tracking-[-0.015em] text-slate-900 dark:text-white", children: ct(x) }),
1082
+ /* @__PURE__ */ e("h1", { className: "text-[21px] font-semibold tracking-[-0.015em] text-slate-900 dark:text-white", children: ut(x) }),
1083
1083
  x.role_name && /* @__PURE__ */ e("span", { className: "rounded-full bg-nvr-cyan/10 px-2 py-px text-[10.5px] font-semibold text-nvr-navy dark:text-nvr-cyan", children: x.role_name }),
1084
1084
  x.is_out_of_office && /* @__PURE__ */ e("span", { className: "rounded-full bg-amber-50 px-2 py-px text-[10.5px] font-semibold text-amber-600 dark:bg-amber-500/10 dark:text-amber-400", children: "Out of office" }),
1085
- /* @__PURE__ */ e(tt, { email: x.email, canClear: d.isAdmin })
1085
+ /* @__PURE__ */ e(at, { email: x.email, canClear: d.isAdmin })
1086
1086
  ] }),
1087
1087
  a && // The same status the chat panel's Online tab sets — one editor,
1088
1088
  // one preference, so the profile always agrees with the top bar.
1089
1089
  /* @__PURE__ */ e(
1090
- ze,
1090
+ Be,
1091
1091
  {
1092
- status: Be(
1092
+ status: He(
1093
1093
  (j = a.preferences) == null ? void 0 : j.custom_status
1094
1094
  ),
1095
1095
  showExpiry: !0,
@@ -1099,7 +1099,7 @@ function vt({
1099
1099
  (x.title || x.department) && /* @__PURE__ */ e("p", { className: "mt-0.5 truncate text-[13px] text-slate-500 dark:text-slate-400", children: [x.title, x.department].filter(Boolean).join(" · ") }),
1100
1100
  /* @__PURE__ */ t("div", { className: "mt-2 flex flex-wrap items-center gap-x-4 gap-y-1 text-[12.5px] text-slate-500 dark:text-slate-400", children: [
1101
1101
  x.company && /* @__PURE__ */ t("span", { className: "inline-flex items-center gap-1.5", children: [
1102
- /* @__PURE__ */ e(we, { className: "h-3.5 w-3.5" }),
1102
+ /* @__PURE__ */ e(_e, { className: "h-3.5 w-3.5" }),
1103
1103
  " ",
1104
1104
  x.company
1105
1105
  ] }),
@@ -1107,11 +1107,11 @@ function vt({
1107
1107
  "a",
1108
1108
  {
1109
1109
  href: `mailto:${x.email}`,
1110
- className: "inline-flex items-center gap-1.5 transition-colors hover:text-nvr-navy dark:hover:text-nvr-cyan",
1110
+ className: "inline-flex min-w-0 max-w-full items-center gap-1.5 transition-colors hover:text-nvr-navy dark:hover:text-nvr-cyan",
1111
1111
  children: [
1112
- /* @__PURE__ */ e(_e, { className: "h-3.5 w-3.5" }),
1112
+ /* @__PURE__ */ e(Se, { className: "h-3.5 w-3.5 shrink-0" }),
1113
1113
  " ",
1114
- x.email
1114
+ /* @__PURE__ */ e("span", { className: "min-w-0 break-all", children: x.email })
1115
1115
  ]
1116
1116
  }
1117
1117
  ),
@@ -1121,14 +1121,14 @@ function vt({
1121
1121
  href: `tel:${x.phone}`,
1122
1122
  className: "inline-flex items-center gap-1.5 transition-colors hover:text-nvr-navy dark:hover:text-nvr-cyan",
1123
1123
  children: [
1124
- /* @__PURE__ */ e(Se, { className: "h-3.5 w-3.5" }),
1124
+ /* @__PURE__ */ e(Ce, { className: "h-3.5 w-3.5" }),
1125
1125
  " ",
1126
1126
  x.phone
1127
1127
  ]
1128
1128
  }
1129
1129
  ),
1130
1130
  x.last_access && /* @__PURE__ */ t("span", { className: "inline-flex items-center gap-1.5", title: "Last active", children: [
1131
- /* @__PURE__ */ e(Ce, { className: "h-3.5 w-3.5" }),
1131
+ /* @__PURE__ */ e(qe, { className: "h-3.5 w-3.5" }),
1132
1132
  new Date(x.last_access).toLocaleDateString(void 0, {
1133
1133
  month: "short",
1134
1134
  day: "numeric"
@@ -1137,10 +1137,10 @@ function vt({
1137
1137
  ] })
1138
1138
  ] })
1139
1139
  ] }) }),
1140
- /* @__PURE__ */ e(Nt, { tab: L, onChange: f }),
1141
- L === "agents" ? /* @__PURE__ */ e(Ge, {}) : L === "did" && a ? (
1140
+ /* @__PURE__ */ e(wt, { tab: L, onChange: f }),
1141
+ L === "agents" ? /* @__PURE__ */ e(Je, {}) : L === "did" && a ? (
1142
1142
  // #13 — your own audit trail, by day and collection.
1143
- /* @__PURE__ */ e(at, { userId: String(a.id), name: null })
1143
+ /* @__PURE__ */ e(rt, { userId: String(a.id), name: null })
1144
1144
  ) : a ? (
1145
1145
  // One list in reading order — you, then notifications, then access
1146
1146
  // and security — flowing into two balanced columns. Two fixed stacks
@@ -1153,7 +1153,7 @@ function vt({
1153
1153
  "data-profile-columns": !0,
1154
1154
  children: [
1155
1155
  /* @__PURE__ */ e(
1156
- se,
1156
+ le,
1157
1157
  {
1158
1158
  icon: /* @__PURE__ */ e(Ae, { className: "h-4 w-4" }),
1159
1159
  title: "About you",
@@ -1167,7 +1167,7 @@ function vt({
1167
1167
  onClick: () => C(null),
1168
1168
  className: "inline-flex h-7 items-center gap-1 rounded-md px-2 text-[11.5px] font-medium text-slate-400 transition-colors hover:text-slate-600 dark:hover:text-slate-200",
1169
1169
  children: [
1170
- /* @__PURE__ */ e(qe, { className: "h-3 w-3" }),
1170
+ /* @__PURE__ */ e(Pe, { className: "h-3 w-3" }),
1171
1171
  " Reset"
1172
1172
  ]
1173
1173
  }
@@ -1180,7 +1180,7 @@ function vt({
1180
1180
  onClick: () => k.mutate(),
1181
1181
  className: "inline-flex h-7 items-center gap-1 rounded-md bg-nvr-cyan px-2.5 text-[11.5px] font-semibold text-white transition-opacity disabled:opacity-50",
1182
1182
  children: [
1183
- k.isPending ? /* @__PURE__ */ e(ce, { className: "h-3 w-3 animate-spin" }) : /* @__PURE__ */ e(Pe, { className: "h-3 w-3" }),
1183
+ k.isPending ? /* @__PURE__ */ e(ue, { className: "h-3 w-3 animate-spin" }) : /* @__PURE__ */ e(Te, { className: "h-3 w-3" }),
1184
1184
  " ",
1185
1185
  "Save"
1186
1186
  ]
@@ -1189,7 +1189,7 @@ function vt({
1189
1189
  ] }),
1190
1190
  children: /* @__PURE__ */ t("div", { className: "grid gap-3 sm:grid-cols-2", children: [
1191
1191
  /* @__PURE__ */ e(
1192
- W,
1192
+ V,
1193
1193
  {
1194
1194
  label: "First name",
1195
1195
  value: y.first_name,
@@ -1197,7 +1197,7 @@ function vt({
1197
1197
  }
1198
1198
  ),
1199
1199
  /* @__PURE__ */ e(
1200
- W,
1200
+ V,
1201
1201
  {
1202
1202
  label: "Last name",
1203
1203
  value: y.last_name,
@@ -1205,7 +1205,7 @@ function vt({
1205
1205
  }
1206
1206
  ),
1207
1207
  /* @__PURE__ */ e(
1208
- W,
1208
+ V,
1209
1209
  {
1210
1210
  label: "Title",
1211
1211
  value: y.title,
@@ -1214,7 +1214,7 @@ function vt({
1214
1214
  }
1215
1215
  ),
1216
1216
  /* @__PURE__ */ e(
1217
- W,
1217
+ V,
1218
1218
  {
1219
1219
  label: "Department",
1220
1220
  value: y.department,
@@ -1222,7 +1222,7 @@ function vt({
1222
1222
  }
1223
1223
  ),
1224
1224
  /* @__PURE__ */ e(
1225
- W,
1225
+ V,
1226
1226
  {
1227
1227
  label: "Phone",
1228
1228
  value: y.phone,
@@ -1231,12 +1231,12 @@ function vt({
1231
1231
  type: "tel"
1232
1232
  }
1233
1233
  ),
1234
- /* @__PURE__ */ e(W, { label: "Email", value: a.email ?? "", disabled: !0, hint: "managed by admin" })
1234
+ /* @__PURE__ */ e(V, { label: "Email", value: a.email ?? "", disabled: !0, hint: "managed by admin" })
1235
1235
  ] })
1236
1236
  }
1237
1237
  ),
1238
1238
  /* @__PURE__ */ e(
1239
- et,
1239
+ tt,
1240
1240
  {
1241
1241
  user: a,
1242
1242
  onSaved: () => {
@@ -1244,25 +1244,25 @@ function vt({
1244
1244
  }
1245
1245
  }
1246
1246
  ),
1247
- /* @__PURE__ */ e(pt, {}),
1248
- /* @__PURE__ */ e(xt, {}),
1247
+ /* @__PURE__ */ e(ht, {}),
1248
+ /* @__PURE__ */ e(gt, {}),
1249
1249
  /* @__PURE__ */ e(At, {}),
1250
- /* @__PURE__ */ e(lt, {}),
1251
- /* @__PURE__ */ e(bt, {}),
1252
- /* @__PURE__ */ e(Je, {}),
1250
+ /* @__PURE__ */ e(ot, {}),
1251
+ /* @__PURE__ */ e(xt, {}),
1253
1252
  /* @__PURE__ */ e(Ze, {}),
1254
- d.isAdmin && (a != null && a.id) ? /* @__PURE__ */ e(ot, { userId: String(a.id) }) : /* @__PURE__ */ e(gt, {}),
1255
- /* @__PURE__ */ e(_t, {}),
1256
- /* @__PURE__ */ e(rt, { userId: "me" }),
1253
+ /* @__PURE__ */ e(Xe, {}),
1254
+ d.isAdmin && (a != null && a.id) ? /* @__PURE__ */ e(it, { userId: String(a.id) }) : /* @__PURE__ */ e(ft, {}),
1257
1255
  /* @__PURE__ */ e(St, {}),
1258
- /* @__PURE__ */ e(ht, {}),
1259
- /* @__PURE__ */ e(st, {}),
1260
- r !== !1 && /* @__PURE__ */ e(Xe, { serviceWorkerPath: r }),
1256
+ /* @__PURE__ */ e(nt, { userId: "me" }),
1261
1257
  /* @__PURE__ */ e(Ct, {}),
1262
- /* @__PURE__ */ e(dt, {}),
1263
- /* @__PURE__ */ e(yt, {}),
1258
+ /* @__PURE__ */ e(bt, {}),
1259
+ /* @__PURE__ */ e(lt, {}),
1260
+ r !== !1 && /* @__PURE__ */ e(et, { serviceWorkerPath: r }),
1264
1261
  /* @__PURE__ */ e(qt, {}),
1265
- /* @__PURE__ */ e(wt, {}),
1262
+ /* @__PURE__ */ e(ct, {}),
1263
+ /* @__PURE__ */ e(vt, {}),
1264
+ /* @__PURE__ */ e(Pt, {}),
1265
+ /* @__PURE__ */ e(_t, {}),
1266
1266
  u
1267
1267
  ]
1268
1268
  }
@@ -1270,7 +1270,7 @@ function vt({
1270
1270
  ) : null
1271
1271
  ] });
1272
1272
  }
1273
- function kt() {
1273
+ function Nt() {
1274
1274
  try {
1275
1275
  const s = new URLSearchParams(window.location.search).get("tab");
1276
1276
  return s === "agents" || s === "did" ? s : "profile";
@@ -1278,7 +1278,7 @@ function kt() {
1278
1278
  return "profile";
1279
1279
  }
1280
1280
  }
1281
- function Nt({
1281
+ function wt({
1282
1282
  tab: s,
1283
1283
  onChange: u
1284
1284
  }) {
@@ -1295,7 +1295,7 @@ function Nt({
1295
1295
  {
1296
1296
  role: "tablist",
1297
1297
  "aria-label": "Profile sections",
1298
- className: "flex gap-1 border-b border-slate-200 dark:border-border",
1298
+ className: "flex gap-1 overflow-x-auto overflow-y-hidden border-b border-slate-200 [scrollbar-width:none] dark:border-border",
1299
1299
  children: [
1300
1300
  ["profile", "Profile"],
1301
1301
  ["agents", "What my agents did"],
@@ -1308,7 +1308,7 @@ function Nt({
1308
1308
  "aria-selected": s === o,
1309
1309
  onClick: () => r(o),
1310
1310
  className: z(
1311
- "-mb-px border-b-2 px-3 py-2 text-[13px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/40",
1311
+ "-mb-px shrink-0 whitespace-nowrap border-b-2 px-3 py-2 text-[13px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/40",
1312
1312
  s === o ? "border-nvr-cyan text-slate-900 dark:text-white" : "border-transparent text-slate-500 hover:text-slate-800 dark:text-slate-400 dark:hover:text-slate-200"
1313
1313
  ),
1314
1314
  children: d
@@ -1318,10 +1318,10 @@ function Nt({
1318
1318
  }
1319
1319
  );
1320
1320
  }
1321
- function wt() {
1321
+ function _t() {
1322
1322
  const s = F(), [u, r] = q(!1), { data: n = [], isLoading: o } = v({
1323
1323
  queryKey: ["my-matrix-seats"],
1324
- queryFn: () => s.request(T("/pipelines/my-seats")).then((c) => c.data ?? []).catch(() => []),
1324
+ queryFn: () => s.request(A("/pipelines/my-seats")).then((c) => c.data ?? []).catch(() => []),
1325
1325
  enabled: u,
1326
1326
  staleTime: 6e4
1327
1327
  }), d = /* @__PURE__ */ new Map();
@@ -1382,18 +1382,18 @@ function wt() {
1382
1382
  ] }, c)) }))
1383
1383
  ] });
1384
1384
  }
1385
- function _t() {
1385
+ function St() {
1386
1386
  const s = F(), u = M(), { data: r = [] } = v({
1387
1387
  queryKey: ["my-reminders"],
1388
- queryFn: () => s.request(T("/reminders")).then((m) => m.data).catch(() => []),
1388
+ queryFn: () => s.request(A("/reminders")).then((m) => m.data).catch(() => []),
1389
1389
  staleTime: 3e4
1390
1390
  }), [n, o] = q(""), [d, c] = q(""), i = () => void u.invalidateQueries({ queryKey: ["my-reminders"] }), a = _({
1391
- mutationFn: () => s.request(ee("/reminders", { note: n, remind_at: new Date(d).toISOString() })),
1391
+ mutationFn: () => s.request(te("/reminders", { note: n, remind_at: new Date(d).toISOString() })),
1392
1392
  onSuccess: () => {
1393
1393
  o(""), c(""), i();
1394
1394
  }
1395
1395
  }), h = _({
1396
- mutationFn: (m) => s.request(Ke(`/reminders/${m}`)),
1396
+ mutationFn: (m) => s.request(Re(`/reminders/${m}`)),
1397
1397
  onSuccess: i
1398
1398
  });
1399
1399
  return /* @__PURE__ */ t("div", { className: "rounded-lg border border-slate-200 bg-white dark:border-border dark:bg-card", children: [
@@ -1459,10 +1459,10 @@ function _t() {
1459
1459
  ] })
1460
1460
  ] });
1461
1461
  }
1462
- function St() {
1462
+ function Ct() {
1463
1463
  const s = F(), { data: u } = v({
1464
1464
  queryKey: ["my-stats"],
1465
- queryFn: () => s.request(T("/users/me/stats")).then((n) => n.data).catch(() => null),
1465
+ queryFn: () => s.request(A("/users/me/stats")).then((n) => n.data).catch(() => null),
1466
1466
  staleTime: 5 * 6e4
1467
1467
  });
1468
1468
  if (!u) return null;
@@ -1515,13 +1515,13 @@ function St() {
1515
1515
  ] })
1516
1516
  ] });
1517
1517
  }
1518
- function Ct() {
1518
+ function qt() {
1519
1519
  const s = F(), u = M(), { data: r } = v({
1520
1520
  queryKey: ["my-security"],
1521
- queryFn: () => s.request(T("/security/my/sessions")).then((d) => d.data).catch(() => ({ sessions: [], logins: [] })),
1521
+ queryFn: () => s.request(A("/security/my/sessions")).then((d) => d.data).catch(() => ({ sessions: [], logins: [] })),
1522
1522
  staleTime: 3e4
1523
1523
  }), n = _({
1524
- mutationFn: () => s.request(ee("/security/my/sessions/sign-out-others", {})).then((d) => d.data),
1524
+ mutationFn: () => s.request(te("/security/my/sessions/sign-out-others", {})).then((d) => d.data),
1525
1525
  onSuccess: (d) => {
1526
1526
  u.invalidateQueries({ queryKey: ["my-security"] }), o(`Signed out ${(d == null ? void 0 : d.revoked) ?? 0} other session(s)`);
1527
1527
  },
@@ -1579,7 +1579,7 @@ function Ct() {
1579
1579
  },
1580
1580
  d.sid_prefix
1581
1581
  )),
1582
- ((r == null ? void 0 : r.logins) ?? []).length > 0 && /* @__PURE__ */ t(X, { children: [
1582
+ ((r == null ? void 0 : r.logins) ?? []).length > 0 && /* @__PURE__ */ t(ee, { children: [
1583
1583
  /* @__PURE__ */ e("p", { className: "pt-1 text-[11px] font-semibold uppercase tracking-wide text-slate-400", children: "Recent sign-ins" }),
1584
1584
  ((r == null ? void 0 : r.logins) ?? []).slice(0, 8).map((d, c) => (
1585
1585
  // biome-ignore lint/suspicious/noArrayIndexKey: log rows
@@ -1593,10 +1593,10 @@ function Ct() {
1593
1593
  ] })
1594
1594
  ] });
1595
1595
  }
1596
- function qt() {
1596
+ function Pt() {
1597
1597
  const s = F(), [u, r] = q(!1), { data: n } = v({
1598
1598
  queryKey: ["my-permissions"],
1599
- queryFn: () => s.request(T("/security/my/permissions")).then((o) => o.data),
1599
+ queryFn: () => s.request(A("/security/my/permissions")).then((o) => o.data),
1600
1600
  enabled: u,
1601
1601
  staleTime: 5 * 6e4
1602
1602
  });
@@ -1649,22 +1649,18 @@ function qt() {
1649
1649
  ] })
1650
1650
  ] });
1651
1651
  }
1652
- function Pt({
1652
+ function Tt({
1653
1653
  value: s,
1654
1654
  onChange: u
1655
1655
  }) {
1656
1656
  const r = F(), { data: n } = v({
1657
1657
  queryKey: ["live-preference-default"],
1658
- queryFn: () => r.request(T("/live-preference/default")).then((i) => {
1658
+ queryFn: () => r.request(A("/live-preference/default")).then((i) => {
1659
1659
  var a;
1660
- return ue((a = i.data) == null ? void 0 : a.mode);
1660
+ return me((a = i.data) == null ? void 0 : a.mode);
1661
1661
  }).catch(() => null),
1662
1662
  staleTime: 5 * 6e4
1663
- }), o = ue(s), d = Re[n ?? "normal"], c = {
1664
- normal: "Changes appear as they happen, with a short fade.",
1665
- calm: "Changes appear without fades or marks; lists keep their order until you pause.",
1666
- off: "Nothing updates by itself — press ↻ to see the latest."
1667
- }[o ?? n ?? "normal"];
1663
+ }), o = me(s), d = Ee[n ?? "normal"], c = G[o ?? n ?? "normal"];
1668
1664
  return /* @__PURE__ */ t("div", { className: "flex items-center gap-1.5", "data-pref": "live-mode", "data-tip": c, children: [
1669
1665
  "Live updates",
1670
1666
  /* @__PURE__ */ e(
@@ -1673,10 +1669,15 @@ function Pt({
1673
1669
  value: o ?? "auto",
1674
1670
  onChange: (i) => u(i),
1675
1671
  options: [
1676
- { value: "auto", label: `Role default (${d})` },
1677
- { value: "normal", label: "Normal" },
1678
- { value: "calm", label: "Calm" },
1679
- { value: "off", label: "Off" }
1672
+ // Each choice says what it does (the Roles card uses the same words).
1673
+ {
1674
+ value: "auto",
1675
+ label: `Role default (${d})`,
1676
+ description: G[n ?? "normal"]
1677
+ },
1678
+ { value: "normal", label: "Normal", description: G.normal },
1679
+ { value: "calm", label: "Calm", description: G.calm },
1680
+ { value: "off", label: "Off", description: G.off }
1680
1681
  ]
1681
1682
  }
1682
1683
  )
@@ -1685,28 +1686,28 @@ function Pt({
1685
1686
  function At() {
1686
1687
  const s = F(), u = M(), { data: r } = v({
1687
1688
  queryKey: ["nvr-profile-prefs"],
1688
- queryFn: () => s.request(T("/users/me")).then((i) => {
1689
+ queryFn: () => s.request(A("/users/me")).then((i) => {
1689
1690
  var a;
1690
1691
  return ((a = i.data) == null ? void 0 : a.preferences) ?? {};
1691
1692
  })
1692
1693
  }), n = _({
1693
- mutationFn: (i) => s.request(G("/users/me/preferences", i)),
1694
+ mutationFn: (i) => s.request(J("/users/me/preferences", i)),
1694
1695
  onSuccess: (i, a) => {
1695
- u.invalidateQueries({ queryKey: ["nvr-profile-prefs"] }), re(Object.keys(a)), import("sonner").then(
1696
+ u.invalidateQueries({ queryKey: ["nvr-profile-prefs"] }), ne(Object.keys(a)), import("sonner").then(
1696
1697
  ({ toast: h }) => h.success("Saved — applied on all your open tabs and devices")
1697
1698
  );
1698
1699
  }
1699
- }), o = (r == null ? void 0 : r.number_format) ?? {}, { data: d = [ae, ...pe] } = v({
1700
+ }), o = (r == null ? void 0 : r.number_format) ?? {}, { data: d = [re, ...he] } = v({
1700
1701
  queryKey: ["nvr-theme-accents"],
1701
1702
  queryFn: () => s.request(
1702
- T("/settings")
1703
+ A("/settings")
1703
1704
  ).then((i) => {
1704
1705
  var a, h;
1705
1706
  return [
1706
- { ...ae, color: ((a = i.data) == null ? void 0 : a.project_color) ?? null },
1707
- ...Qe((h = i.data) == null ? void 0 : h.theme_accents)
1707
+ { ...re, color: ((a = i.data) == null ? void 0 : a.project_color) ?? null },
1708
+ ...$e((h = i.data) == null ? void 0 : h.theme_accents)
1708
1709
  ];
1709
- }).catch(() => [ae, ...pe]),
1710
+ }).catch(() => [re, ...he]),
1710
1711
  staleTime: 5 * 6e4
1711
1712
  }), c = typeof (r == null ? void 0 : r.theme_accent) == "string" ? r.theme_accent : "brand";
1712
1713
  return /* @__PURE__ */ t(
@@ -1812,7 +1813,7 @@ function At() {
1812
1813
  "Count in the browser tab"
1813
1814
  ] }),
1814
1815
  /* @__PURE__ */ e(
1815
- Pt,
1816
+ Tt,
1816
1817
  {
1817
1818
  value: r == null ? void 0 : r.live_mode,
1818
1819
  onChange: (i) => n.mutate({ live_mode: i === "auto" ? null : i })
@@ -1853,18 +1854,18 @@ function At() {
1853
1854
  }
1854
1855
  );
1855
1856
  }
1856
- function Tt({
1857
+ function Ft({
1857
1858
  on: s,
1858
1859
  onChange: u
1859
1860
  }) {
1860
- const r = Ee();
1861
+ const r = Ie();
1861
1862
  return /* @__PURE__ */ t(
1862
1863
  "div",
1863
1864
  {
1864
1865
  "data-urgent-sound": !0,
1865
1866
  className: "flex items-start gap-2 text-[12.5px] text-slate-600 dark:text-muted-foreground",
1866
1867
  children: [
1867
- /* @__PURE__ */ e("span", { className: "pt-px", children: /* @__PURE__ */ e(ge, { on: s, onChange: () => u(!s), label: "Play a sound for urgent items" }) }),
1868
+ /* @__PURE__ */ e("span", { className: "pt-px", children: /* @__PURE__ */ e(fe, { on: s, onChange: () => u(!s), label: "Play a sound for urgent items" }) }),
1868
1869
  /* @__PURE__ */ t("div", { className: "min-w-0", children: [
1869
1870
  /* @__PURE__ */ t("div", { className: "flex flex-wrap items-center gap-x-2", children: [
1870
1871
  /* @__PURE__ */ e("span", { children: "Play a sound for urgent items" }),
@@ -1872,7 +1873,7 @@ function Tt({
1872
1873
  "button",
1873
1874
  {
1874
1875
  type: "button",
1875
- onClick: () => xe({ preview: !0 }),
1876
+ onClick: () => ge({ preview: !0 }),
1876
1877
  className: "rounded px-1 py-0.5 text-[11.5px] font-medium text-[#007a99] underline decoration-dotted underline-offset-2 hover:bg-nvr-cyan/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/40 dark:text-nvr-cyan",
1877
1878
  children: "Hear it"
1878
1879
  }
@@ -1893,12 +1894,12 @@ function Tt({
1893
1894
  );
1894
1895
  }
1895
1896
  export {
1896
- et as DelegationCard,
1897
+ tt as DelegationCard,
1897
1898
  At as DisplayPrefsCard,
1898
- bt as LinkAppCard,
1899
- ht as NotificationRulesCard,
1900
- pt as ProfileFieldsCard,
1901
- da as ProfileView,
1902
- xt as TimezoneCard,
1903
- Tt as UrgentSoundRow
1899
+ xt as LinkAppCard,
1900
+ bt as NotificationRulesCard,
1901
+ ht as ProfileFieldsCard,
1902
+ ca as ProfileView,
1903
+ gt as TimezoneCard,
1904
+ Ft as UrgentSoundRow
1904
1905
  };