@burdenoff/microfe-headshotmarketing 2026.1205.1 → 2026.1206.1

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 (144) hide show
  1. package/dist/generated/global-types.d.ts +3589 -380
  2. package/dist/generated/wspace-operations.d.ts +101 -3
  3. package/dist/generated/wspace-operations.js.map +1 -1
  4. package/dist/generated/wspace-types.d.ts +61782 -2332
  5. package/dist/generated/wspace-types.js.map +1 -1
  6. package/dist/headshotmarketing/components/EntityTagPicker.js +29 -28
  7. package/dist/headshotmarketing/components/EntityTagPicker.js.map +1 -1
  8. package/dist/headshotmarketing/components/InfluencerModals.js +264 -263
  9. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
  10. package/dist/headshotmarketing/components/QueryStateBoundary.js +31 -22
  11. package/dist/headshotmarketing/components/QueryStateBoundary.js.map +1 -1
  12. package/dist/headshotmarketing/components/StatusBadge.js +1 -1
  13. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  14. package/dist/headshotmarketing/components/Toast.js +3 -3
  15. package/dist/headshotmarketing/components/Toast.js.map +1 -1
  16. package/dist/headshotmarketing/components/TrackedLinksPanel.js +97 -96
  17. package/dist/headshotmarketing/components/TrackedLinksPanel.js.map +1 -1
  18. package/dist/headshotmarketing/hooks/useAssetUpload.js +41 -40
  19. package/dist/headshotmarketing/hooks/useAssetUpload.js.map +1 -1
  20. package/dist/headshotmarketing/pages/HomePage.js +6 -6
  21. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  22. package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.js +47 -46
  23. package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.js.map +1 -1
  24. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +66 -65
  25. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
  26. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +273 -272
  27. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  28. package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js +3 -3
  29. package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js.map +1 -1
  30. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +125 -124
  31. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  32. package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js +33 -32
  33. package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js.map +1 -1
  34. package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js +108 -107
  35. package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js.map +1 -1
  36. package/dist/headshotmarketing/pages/ads/AdReachEstimatePanel.js +65 -60
  37. package/dist/headshotmarketing/pages/ads/AdReachEstimatePanel.js.map +1 -1
  38. package/dist/headshotmarketing/pages/ads/AdsPage.js +4 -4
  39. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  40. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +287 -286
  41. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  42. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +59 -54
  43. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  44. package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js +96 -95
  45. package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js.map +1 -1
  46. package/dist/headshotmarketing/pages/ai/AiDecisionCard.js +5 -5
  47. package/dist/headshotmarketing/pages/ai/AiDecisionCard.js.map +1 -1
  48. package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +179 -178
  49. package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
  50. package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js +156 -151
  51. package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js.map +1 -1
  52. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +222 -217
  53. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  54. package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +59 -58
  55. package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -1
  56. package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +152 -151
  57. package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -1
  58. package/dist/headshotmarketing/pages/automation/AutomationPage.js +34 -33
  59. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  60. package/dist/headshotmarketing/pages/automation/TriggersPage.js +6 -6
  61. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  62. package/dist/headshotmarketing/pages/automation/WorkflowActions.js +1 -1
  63. package/dist/headshotmarketing/pages/automation/WorkflowActions.js.map +1 -1
  64. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +235 -234
  65. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  66. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +24 -23
  67. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -1
  68. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +1 -1
  69. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  70. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js +4 -4
  71. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js.map +1 -1
  72. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +339 -338
  73. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  74. package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.js +95 -94
  75. package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.js.map +1 -1
  76. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +82 -81
  77. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  78. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +107 -106
  79. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  80. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +104 -103
  81. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  82. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +262 -261
  83. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  84. package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +68 -67
  85. package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -1
  86. package/dist/headshotmarketing/pages/content/AIToolsPage.js +204 -203
  87. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  88. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +177 -176
  89. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  90. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +373 -372
  91. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  92. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +1 -1
  93. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
  94. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +4 -4
  95. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
  96. package/dist/headshotmarketing/pages/crm/ConvertLeadButton.js +51 -50
  97. package/dist/headshotmarketing/pages/crm/ConvertLeadButton.js.map +1 -1
  98. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +100 -99
  99. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  100. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +134 -133
  101. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  102. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js +66 -65
  103. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js.map +1 -1
  104. package/dist/headshotmarketing/pages/crm/CrmActions.js +229 -228
  105. package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -1
  106. package/dist/headshotmarketing/pages/crm/DealNextActionPanel.js +62 -61
  107. package/dist/headshotmarketing/pages/crm/DealNextActionPanel.js.map +1 -1
  108. package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.js +126 -125
  109. package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.js.map +1 -1
  110. package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +93 -92
  111. package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
  112. package/dist/headshotmarketing/pages/crm/PipelinePage.js +5 -5
  113. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  114. package/dist/headshotmarketing/pages/events/CreateEventPage.js +127 -126
  115. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  116. package/dist/headshotmarketing/pages/events/EventDetailsPage.js +76 -75
  117. package/dist/headshotmarketing/pages/events/EventDetailsPage.js.map +1 -1
  118. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +8 -8
  119. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  120. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +4 -4
  121. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  122. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +4 -4
  123. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  124. package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +1 -1
  125. package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -1
  126. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +104 -103
  127. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  128. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +102 -101
  129. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  130. package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js +59 -58
  131. package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js.map +1 -1
  132. package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +1 -1
  133. package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -1
  134. package/dist/headshotmarketing/pages/social-media/PostsPage.js +103 -102
  135. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  136. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +123 -122
  137. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  138. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +4 -4
  139. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  140. package/dist/headshotmarketing/utils/index.d.ts +1 -0
  141. package/dist/headshotmarketing/utils/readableError.d.ts +16 -0
  142. package/dist/headshotmarketing/utils/readableError.js +12 -0
  143. package/dist/headshotmarketing/utils/readableError.js.map +1 -0
  144. package/package.json +5 -3
@@ -1,17 +1,18 @@
1
1
  import { HeadshotmarketingBootstrapDataDocument as e, useHeadshotmarketingCancelRegistrationMutation as t, useHeadshotmarketingCheckInAttendeeMutation as n, useHeadshotmarketingDeleteEventMutation as r, useHeadshotmarketingEventByIdQuery as ee, useHeadshotmarketingEventfullyManagedEventsQuery as te, useHeadshotmarketingLinkEventfullyManagedEventMutation as ne, useHeadshotmarketingSyncEventfullyManagedEventMutation as re, useHeadshotmarketingUnlinkEventfullyManagedEventMutation as i, useHeadshotmarketingUpdateEventMutation as a } from "../../../generated/wspace-operations.js";
2
2
  import { HeadshotmarketingEventStatus as o, HeadshotmarketingEventSyncDirection as s, HeadshotmarketingEventType as c } from "../../../generated/wspace-types.js";
3
3
  import "../../components/index.js";
4
- import { formatNumber as l, formatPercentage as u, joinPath as d } from "../../utils/helpers.js";
5
- import { PageLayout as f } from "../../components/PageLayout.js";
6
- import { StatCard as p } from "../../components/StatCard.js";
7
- import { EmptyState as m } from "../../components/EmptyState.js";
8
- import { StatusBadge as h } from "../../components/StatusBadge.js";
9
- import { Modal as ie } from "../../components/Modal.js";
10
- import { QueryStateBoundary as ae } from "../../components/QueryStateBoundary.js";
11
- import { EntityTagPicker as oe } from "../../components/EntityTagPicker.js";
12
- import { useHeadshotMarketing as se } from "../../context/HeadshotMarketingContext.js";
13
- import { useMemo as ce, useState as g } from "react";
14
- import { ArrowLeft as _, ArrowUpRight as le, CalendarClock as ue, Check as de, Clock as fe, Edit as pe, Gauge as me, Link2 as v, MapPin as he, RefreshCw as ge, Tag as _e, Ticket as ve, Trash2 as ye, Unlink as be, UserCheck as xe, Users as Se, Video as y, X as b } from "lucide-react";
4
+ import { formatNumber as l, formatPercentage as ie, joinPath as u } from "../../utils/helpers.js";
5
+ import { PageLayout as d } from "../../components/PageLayout.js";
6
+ import { StatCard as f } from "../../components/StatCard.js";
7
+ import { EmptyState as p } from "../../components/EmptyState.js";
8
+ import { StatusBadge as m } from "../../components/StatusBadge.js";
9
+ import { Modal as ae } from "../../components/Modal.js";
10
+ import { useHeadshotMarketing as oe } from "../../context/HeadshotMarketingContext.js";
11
+ import { QueryStateBoundary as se } from "../../components/QueryStateBoundary.js";
12
+ import { EntityTagPicker as ce } from "../../components/EntityTagPicker.js";
13
+ import { readableError as h } from "../../utils/readableError.js";
14
+ import { useMemo as le, useState as g } from "react";
15
+ import { ArrowLeft as _, ArrowUpRight as ue, CalendarClock as de, Check as fe, Clock as pe, Edit as me, Gauge as he, Link2 as v, MapPin as ge, RefreshCw as _e, Tag as ve, Ticket as ye, Trash2 as be, Unlink as xe, UserCheck as Se, Users as Ce, Video as y, X as b } from "lucide-react";
15
16
  import { useParams as x } from "react-router";
16
17
  import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
17
18
  import { EmphasisPanel as T, PagePurpose as E, ThemedSelect as D, useConfirm as O } from "@burdenoff/fe-libs/ui";
@@ -113,17 +114,17 @@ function P(e, t) {
113
114
  return new Intl.DateTimeFormat("en-US", r).format(n);
114
115
  }
115
116
  var F = () => {
116
- let e = O(), { navigate: o, basePath: c } = se(), { eventId: F } = x(), { data: Ce, loading: we, error: Te, refetch: I } = ee({
117
+ let e = O(), { navigate: o, basePath: c } = oe(), { eventId: F } = x(), { data: we, loading: Te, error: Ee, refetch: I } = ee({
117
118
  skip: !F,
118
119
  variables: F ? { id: F } : void 0
119
- }), [Ee, { loading: L }] = a(), [De, { loading: Oe }] = r(), [ke, { loading: Ae }] = n(), [je, { loading: Me }] = t(), [Ne, { loading: Pe }] = ne(), [Fe, { loading: Ie }] = i(), [Le, { loading: R }] = re(), z = te({
120
+ }), [De, { loading: L }] = a(), [Oe, { loading: ke }] = r(), [Ae, { loading: je }] = n(), [Me, { loading: Ne }] = t(), [Pe, { loading: Fe }] = ne(), [Ie, { loading: Le }] = i(), [Re, { loading: R }] = re(), z = te({
120
121
  variables: {
121
122
  limit: 50,
122
123
  offset: 0
123
124
  },
124
125
  skip: !F,
125
126
  fetchPolicy: "cache-and-network"
126
- }), [Re, B] = g(!1), [V, H] = g(null), [U, W] = g(null), [G, ze] = g(""), [K, Be] = g(s.Bidirectional), [q, J] = g(null), Y = Ce?.headshotmarketingEvent ?? null, X = () => o(d(c, "events")), Ve = () => {
127
+ }), [ze, B] = g(!1), [V, H] = g(null), [U, W] = g(null), [G, Be] = g(""), [K, Ve] = g(s.Bidirectional), [q, J] = g(null), Y = we?.headshotmarketingEvent ?? null, X = () => o(u(c, "events")), He = () => {
127
128
  Y && (W(null), H({
128
129
  title: Y.title,
129
130
  description: Y.description ?? "",
@@ -136,14 +137,14 @@ var F = () => {
136
137
  virtualUrl: Y.virtualUrl ?? "",
137
138
  maxAttendees: Y.maxAttendees ? String(Y.maxAttendees) : ""
138
139
  }), B(!0));
139
- }, He = async () => {
140
+ }, Ue = async () => {
140
141
  if (F && V) {
141
142
  if (!V.title.trim()) W("Event title is required.");
142
143
  else if (!V.startDate || !V.endDate) W("Start and end date/time are required.");
143
144
  else {
144
145
  W(null);
145
146
  try {
146
- await Ee({
147
+ await De({
147
148
  variables: {
148
149
  id: F,
149
150
  input: {
@@ -162,11 +163,11 @@ var F = () => {
162
163
  refetchQueries: k
163
164
  }), B(!1), await I();
164
165
  } catch (e) {
165
- W(e instanceof Error ? e.message : "Failed to update event.");
166
+ W(h(e, "Failed to update event."));
166
167
  }
167
168
  }
168
169
  }
169
- }, Ue = async () => {
170
+ }, We = async () => {
170
171
  if (F && Y && await e({
171
172
  title: `Delete event "${Y.title}"?`,
172
173
  description: "This cannot be undone.",
@@ -175,28 +176,28 @@ var F = () => {
175
176
  })) {
176
177
  W(null);
177
178
  try {
178
- await De({
179
+ await Oe({
179
180
  variables: { id: F },
180
181
  refetchQueries: k,
181
182
  awaitRefetchQueries: !0
182
183
  }), X();
183
184
  } catch (e) {
184
- W(e instanceof Error ? e.message : "Failed to delete event.");
185
+ W(h(e, "Failed to delete event."));
185
186
  }
186
187
  }
187
- }, We = async (e) => {
188
+ }, Ge = async (e) => {
188
189
  W(null);
189
190
  try {
190
- await ke({ variables: { registrationId: e } }), await I();
191
+ await Ae({ variables: { registrationId: e } }), await I();
191
192
  } catch (e) {
192
- W(e instanceof Error ? e.message : "Failed to check in attendee.");
193
+ W(h(e, "Failed to check in attendee."));
193
194
  }
194
- }, Ge = async (e) => {
195
+ }, Ke = async (e) => {
195
196
  W(null);
196
197
  try {
197
- await je({ variables: { registrationId: e } }), await I();
198
+ await Me({ variables: { registrationId: e } }), await I();
198
199
  } catch (e) {
199
- W(e instanceof Error ? e.message : "Failed to cancel registration.");
200
+ W(h(e, "Failed to cancel registration."));
200
201
  }
201
202
  }, Z = async (e) => {
202
203
  if (F) {
@@ -204,30 +205,30 @@ var F = () => {
204
205
  else {
205
206
  W(null), J(null);
206
207
  try {
207
- await Ne({ variables: {
208
+ await Pe({ variables: {
208
209
  eventId: F,
209
210
  eventfullyManagedEventId: e ? void 0 : G,
210
211
  createRemoteIfMissing: e
211
212
  } }), await I(), await z.refetch(), J("Event linked to EventfullyManaged.");
212
213
  } catch (e) {
213
- W(e instanceof Error ? e.message : "Failed to link EventfullyManaged event.");
214
+ W(h(e, "Failed to link EventfullyManaged event."));
214
215
  }
215
216
  }
216
217
  }
217
- }, Ke = async () => {
218
+ }, qe = async () => {
218
219
  if (F) {
219
220
  W(null), J(null);
220
221
  try {
221
- await Fe({ variables: { eventId: F } }), await I(), J("Event unlinked from EventfullyManaged.");
222
+ await Ie({ variables: { eventId: F } }), await I(), J("Event unlinked from EventfullyManaged.");
222
223
  } catch (e) {
223
- W(e instanceof Error ? e.message : "Failed to unlink EventfullyManaged event.");
224
+ W(h(e, "Failed to unlink EventfullyManaged event."));
224
225
  }
225
226
  }
226
- }, qe = async () => {
227
+ }, Je = async () => {
227
228
  if (F) {
228
229
  W(null), J(null);
229
230
  try {
230
- let e = await Le({ variables: {
231
+ let e = await Re({ variables: {
231
232
  eventId: F,
232
233
  direction: K
233
234
  } });
@@ -235,33 +236,33 @@ var F = () => {
235
236
  let t = e.data?.headshotmarketingSyncEventfullyManagedEvent;
236
237
  t && J(`Synced (${t.direction}): ${t.speakersPulled} speakers pulled / ${t.speakersPushed} pushed, ${t.registrationsPulled} registrations pulled / ${t.registrationsPushed} pushed, ${t.contactsUpserted} CRM contacts upserted, ${t.checkInsPulled} check-ins pulled / ${t.checkInsPushed} pushed.`);
237
238
  } catch (e) {
238
- W(e instanceof Error ? e.message : "Failed to sync with EventfullyManaged.");
239
+ W(h(e, "Failed to sync with EventfullyManaged."));
239
240
  }
240
241
  }
241
- }, Je = ce(() => !Y || !Y.maxAttendees || Y.maxAttendees <= 0 ? 0 : Math.min(Y.registrationCount / Y.maxAttendees * 100, 100), [Y]), Q = z.data?.headshotmarketingEventfullyManagedEvents ?? [], $ = L || Oe || Ae || Me || Pe || Ie || R;
242
- return Y ? /* @__PURE__ */ w(f, {
242
+ }, Ye = le(() => !Y || !Y.maxAttendees || Y.maxAttendees <= 0 ? 0 : Math.min(Y.registrationCount / Y.maxAttendees * 100, 100), [Y]), Q = z.data?.headshotmarketingEventfullyManagedEvents ?? [], $ = L || ke || je || Ne || Fe || Le || R;
243
+ return Y ? /* @__PURE__ */ w(d, {
243
244
  title: Y.title,
244
245
  description: Y.description || void 0,
245
246
  actions: /* @__PURE__ */ w("div", {
246
247
  className: "flex flex-wrap items-center gap-2",
247
248
  children: [
248
- /* @__PURE__ */ C(h, { status: Y.status.toLowerCase() }),
249
+ /* @__PURE__ */ C(m, { status: Y.status.toLowerCase() }),
249
250
  /* @__PURE__ */ w("button", {
250
251
  onClick: X,
251
252
  className: "inline-flex items-center gap-2 rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
252
253
  children: [/* @__PURE__ */ C(_, { className: "h-4 w-4" }), "Back"]
253
254
  }),
254
255
  /* @__PURE__ */ w("button", {
255
- onClick: Ve,
256
+ onClick: He,
256
257
  disabled: $,
257
258
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-60",
258
- children: [/* @__PURE__ */ C(pe, { className: "h-4 w-4" }), "Manage"]
259
+ children: [/* @__PURE__ */ C(me, { className: "h-4 w-4" }), "Manage"]
259
260
  }),
260
261
  /* @__PURE__ */ w("button", {
261
- onClick: () => void Ue(),
262
+ onClick: () => void We(),
262
263
  disabled: $,
263
264
  className: "inline-flex items-center gap-2 rounded-md border border-status-error-border/40 bg-status-error-bg/10 px-3 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg/20 disabled:opacity-60",
264
- children: [/* @__PURE__ */ C(ye, { className: "h-4 w-4" }), "Delete"]
265
+ children: [/* @__PURE__ */ C(be, { className: "h-4 w-4" }), "Delete"]
265
266
  })
266
267
  ]
267
268
  }),
@@ -274,32 +275,32 @@ var F = () => {
274
275
  /* @__PURE__ */ C(T, { children: /* @__PURE__ */ w("div", {
275
276
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
276
277
  children: [
277
- /* @__PURE__ */ C(p, {
278
+ /* @__PURE__ */ C(f, {
278
279
  featured: !0,
279
280
  title: "Registrations",
280
281
  value: l(Y.registrationCount),
281
- icon: /* @__PURE__ */ C(ve, { className: "h-5 w-5" })
282
+ icon: /* @__PURE__ */ C(ye, { className: "h-5 w-5" })
282
283
  }),
283
- /* @__PURE__ */ C(p, {
284
+ /* @__PURE__ */ C(f, {
284
285
  title: "Capacity",
285
286
  value: Y.maxAttendees ? l(Y.maxAttendees) : "—",
286
- icon: /* @__PURE__ */ C(Se, { className: "h-5 w-5" })
287
+ icon: /* @__PURE__ */ C(Ce, { className: "h-5 w-5" })
287
288
  }),
288
- /* @__PURE__ */ C(p, {
289
+ /* @__PURE__ */ C(f, {
289
290
  title: "Fill Rate",
290
- value: Y.maxAttendees ? u(Je, 0) : "N/A",
291
- icon: /* @__PURE__ */ C(me, { className: "h-5 w-5" })
291
+ value: Y.maxAttendees ? ie(Ye, 0) : "N/A",
292
+ icon: /* @__PURE__ */ C(he, { className: "h-5 w-5" })
292
293
  }),
293
- /* @__PURE__ */ C(p, {
294
+ /* @__PURE__ */ C(f, {
294
295
  title: "Speakers",
295
296
  value: Y.speakers.length,
296
- icon: /* @__PURE__ */ C(xe, { className: "h-5 w-5" })
297
+ icon: /* @__PURE__ */ C(Se, { className: "h-5 w-5" })
297
298
  })
298
299
  ]
299
300
  }) }),
300
301
  /* @__PURE__ */ C("div", {
301
302
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
302
- children: /* @__PURE__ */ C(oe, {
303
+ children: /* @__PURE__ */ C(ce, {
303
304
  entityType: "HEADSHOTMARKETING_EVENT",
304
305
  entityId: Y.id
305
306
  })
@@ -324,7 +325,7 @@ var F = () => {
324
325
  children: [
325
326
  /* @__PURE__ */ w("div", {
326
327
  className: "flex items-start gap-2 text-text-secondary",
327
- children: [/* @__PURE__ */ C(fe, { className: "mt-0.5 h-4 w-4 shrink-0" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
328
+ children: [/* @__PURE__ */ C(pe, { className: "mt-0.5 h-4 w-4 shrink-0" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
328
329
  className: "text-text-primary",
329
330
  children: P(Y.startDate, Y.timezone)
330
331
  }), /* @__PURE__ */ w("p", {
@@ -338,17 +339,17 @@ var F = () => {
338
339
  }),
339
340
  /* @__PURE__ */ w("div", {
340
341
  className: "flex items-center gap-2 text-text-secondary",
341
- children: [Y.virtualUrl ? /* @__PURE__ */ C(y, { className: "h-4 w-4 shrink-0" }) : /* @__PURE__ */ C(he, { className: "h-4 w-4 shrink-0" }), Y.virtualUrl && M(Y.virtualUrl) ? /* @__PURE__ */ w("a", {
342
+ children: [Y.virtualUrl ? /* @__PURE__ */ C(y, { className: "h-4 w-4 shrink-0" }) : /* @__PURE__ */ C(ge, { className: "h-4 w-4 shrink-0" }), Y.virtualUrl && M(Y.virtualUrl) ? /* @__PURE__ */ w("a", {
342
343
  href: Y.virtualUrl,
343
344
  target: "_blank",
344
345
  rel: "noopener noreferrer",
345
346
  className: "inline-flex items-center gap-1 text-action-primary-bg hover:underline",
346
- children: [Y.virtualUrl, /* @__PURE__ */ C(le, { className: "h-3.5 w-3.5" })]
347
+ children: [Y.virtualUrl, /* @__PURE__ */ C(ue, { className: "h-3.5 w-3.5" })]
347
348
  }) : Y.virtualUrl ? /* @__PURE__ */ C("span", { children: Y.virtualUrl }) : /* @__PURE__ */ C("span", { children: Y.location || "Location TBD" })]
348
349
  }),
349
350
  Y.tags && Y.tags.length > 0 && /* @__PURE__ */ w("div", {
350
351
  className: "flex flex-wrap items-center gap-1.5 pt-2",
351
- children: [/* @__PURE__ */ C(_e, { className: "h-3.5 w-3.5 text-text-secondary" }), Y.tags.map((e) => /* @__PURE__ */ C("span", {
352
+ children: [/* @__PURE__ */ C(ve, { className: "h-3.5 w-3.5 text-text-secondary" }), Y.tags.map((e) => /* @__PURE__ */ C("span", {
352
353
  className: "inline-flex items-center rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium text-text-primary",
353
354
  children: e
354
355
  }, e))]
@@ -359,7 +360,7 @@ var F = () => {
359
360
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
360
361
  children: [/* @__PURE__ */ w("h4", {
361
362
  className: "mb-4 flex items-center gap-2 text-sm font-semibold text-text-primary",
362
- children: [/* @__PURE__ */ C(ue, { className: "h-4 w-4 text-text-secondary" }), "Type"]
363
+ children: [/* @__PURE__ */ C(de, { className: "h-4 w-4 text-text-secondary" }), "Type"]
363
364
  }), /* @__PURE__ */ C("p", {
364
365
  className: "text-sm text-text-primary",
365
366
  children: j.find((e) => e.value === Y.type)?.label ?? Y.type
@@ -413,7 +414,7 @@ var F = () => {
413
414
  }), /* @__PURE__ */ C("p", {
414
415
  className: "text-xs text-text-secondary",
415
416
  children: "Link this event to EventfullyManaged to synchronize metadata, speakers, registrations, CRM contacts, and check-ins."
416
- })] }), Y.eventfullyManagedSyncStatus && /* @__PURE__ */ C(h, { status: Y.eventfullyManagedSyncStatus.toLowerCase() })]
417
+ })] }), Y.eventfullyManagedSyncStatus && /* @__PURE__ */ C(m, { status: Y.eventfullyManagedSyncStatus.toLowerCase() })]
417
418
  }),
418
419
  q && /* @__PURE__ */ C("div", {
419
420
  role: "status",
@@ -447,7 +448,7 @@ var F = () => {
447
448
  /* @__PURE__ */ w(D, {
448
449
  "aria-label": "Sync direction",
449
450
  value: K,
450
- onChange: (e) => Be(e.target.value),
451
+ onChange: (e) => Ve(e.target.value),
451
452
  className: "rounded-md border border-border-subtle bg-bg-surface px-2.5 py-1.5 text-xs text-text-primary",
452
453
  children: [
453
454
  /* @__PURE__ */ C("option", {
@@ -467,18 +468,18 @@ var F = () => {
467
468
  /* @__PURE__ */ w("button", {
468
469
  type: "button",
469
470
  "data-testid": "eventfully-sync-now",
470
- onClick: () => void qe(),
471
+ onClick: () => void Je(),
471
472
  disabled: $,
472
473
  className: "inline-flex items-center gap-1.5 rounded-md bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-60",
473
- children: [/* @__PURE__ */ C(ge, { className: R ? "h-3.5 w-3.5 animate-spin" : "h-3.5 w-3.5" }), R ? "Syncing…" : "Sync Now"]
474
+ children: [/* @__PURE__ */ C(_e, { className: R ? "h-3.5 w-3.5 animate-spin" : "h-3.5 w-3.5" }), R ? "Syncing…" : "Sync Now"]
474
475
  }),
475
476
  /* @__PURE__ */ w("button", {
476
477
  type: "button",
477
478
  "data-testid": "eventfully-unlink",
478
- onClick: () => void Ke(),
479
+ onClick: () => void qe(),
479
480
  disabled: $,
480
481
  className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
481
- children: [/* @__PURE__ */ C(be, { className: "h-3.5 w-3.5" }), "Unlink"]
482
+ children: [/* @__PURE__ */ C(xe, { className: "h-3.5 w-3.5" }), "Unlink"]
482
483
  })
483
484
  ]
484
485
  })]
@@ -488,7 +489,7 @@ var F = () => {
488
489
  /* @__PURE__ */ w(D, {
489
490
  "aria-label": "Select EventfullyManaged event",
490
491
  value: G,
491
- onChange: (e) => ze(e.target.value),
492
+ onChange: (e) => Be(e.target.value),
492
493
  className: "min-w-[14rem] flex-1 rounded-md border border-border-subtle bg-bg-surface px-3 py-1.5 text-xs text-text-primary",
493
494
  children: [/* @__PURE__ */ C("option", {
494
495
  value: "",
@@ -580,19 +581,19 @@ var F = () => {
580
581
  }),
581
582
  /* @__PURE__ */ C("td", {
582
583
  className: "py-2 pe-4",
583
- children: /* @__PURE__ */ C(h, { status: t })
584
+ children: /* @__PURE__ */ C(m, { status: t })
584
585
  }),
585
586
  /* @__PURE__ */ C("td", {
586
587
  className: "py-2 pe-4",
587
588
  children: /* @__PURE__ */ w("div", {
588
589
  className: "flex items-center gap-2",
589
590
  children: [n && /* @__PURE__ */ w("button", {
590
- onClick: () => void We(e.id),
591
+ onClick: () => void Ge(e.id),
591
592
  disabled: $,
592
593
  className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-2 py-1 text-xs font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
593
- children: [/* @__PURE__ */ C(de, { className: "h-3 w-3" }), "Check in"]
594
+ children: [/* @__PURE__ */ C(fe, { className: "h-3 w-3" }), "Check in"]
594
595
  }), r && /* @__PURE__ */ w("button", {
595
- onClick: () => void Ge(e.id),
596
+ onClick: () => void Ke(e.id),
596
597
  disabled: $,
597
598
  className: "inline-flex items-center gap-1 rounded-md border border-status-error-border/40 px-2 py-1 text-xs font-medium text-status-error-text hover:bg-status-error-bg/10 disabled:opacity-60",
598
599
  children: [/* @__PURE__ */ C(b, { className: "h-3 w-3" }), "Cancel"]
@@ -605,8 +606,8 @@ var F = () => {
605
606
  })
606
607
  })]
607
608
  }),
608
- V && /* @__PURE__ */ C(ie, {
609
- open: Re,
609
+ V && /* @__PURE__ */ C(ae, {
610
+ open: ze,
610
611
  onClose: () => B(!1),
611
612
  title: "Manage Event",
612
613
  description: "Update event details or move it through its lifecycle.",
@@ -616,7 +617,7 @@ var F = () => {
616
617
  className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
617
618
  children: "Cancel"
618
619
  }), /* @__PURE__ */ C("button", {
619
- onClick: () => void He(),
620
+ onClick: () => void Ue(),
620
621
  disabled: L,
621
622
  className: "rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90 disabled:opacity-60",
622
623
  children: L ? "Saving..." : "Save Changes"
@@ -769,14 +770,14 @@ var F = () => {
769
770
  })
770
771
  })
771
772
  ]
772
- }) : /* @__PURE__ */ C(f, {
773
+ }) : /* @__PURE__ */ C(d, {
773
774
  title: "Event Details",
774
- children: /* @__PURE__ */ C(ae, {
775
- loading: we,
776
- error: Te,
775
+ children: /* @__PURE__ */ C(se, {
776
+ loading: Te,
777
+ error: Ee,
777
778
  onRetry: () => void I(),
778
779
  hasData: !1,
779
- children: /* @__PURE__ */ C(m, {
780
+ children: /* @__PURE__ */ C(p, {
780
781
  illustration: "empty-generic",
781
782
  title: "Event not found",
782
783
  description: "The event you're looking for doesn't exist or has been removed.",