@burdenoff/microfe-headshotmarketing 2026.1124.3 → 2026.1202.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 (151) hide show
  1. package/dist/headshotmarketing/components/ActionMenu.js +1 -1
  2. package/dist/headshotmarketing/components/ActionMenu.js.map +1 -1
  3. package/dist/headshotmarketing/components/DataTable.js +33 -33
  4. package/dist/headshotmarketing/components/DataTable.js.map +1 -1
  5. package/dist/headshotmarketing/components/EmptyState.d.ts +15 -0
  6. package/dist/headshotmarketing/components/EmptyState.js +35 -15
  7. package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
  8. package/dist/headshotmarketing/components/FilterBar.js +2 -2
  9. package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
  10. package/dist/headshotmarketing/components/InfluencerModals.js +96 -95
  11. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
  12. package/dist/headshotmarketing/components/Pagination.js +38 -37
  13. package/dist/headshotmarketing/components/Pagination.js.map +1 -1
  14. package/dist/headshotmarketing/components/TagChipsInput.js +1 -1
  15. package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -1
  16. package/dist/headshotmarketing/components/Toast.js +1 -1
  17. package/dist/headshotmarketing/components/Toast.js.map +1 -1
  18. package/dist/headshotmarketing/pages/HomeMonthlyGoals.js.map +1 -1
  19. package/dist/headshotmarketing/pages/HomePage.js +10 -10
  20. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +203 -203
  22. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +148 -148
  24. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  25. package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js +74 -73
  26. package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js.map +1 -1
  27. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +369 -369
  28. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js +111 -110
  30. package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js.map +1 -1
  31. package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js +1 -1
  32. package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js.map +1 -1
  33. package/dist/headshotmarketing/pages/ads/AdsPage.js +6 -6
  34. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  35. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +49 -49
  36. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  37. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +112 -112
  38. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  39. package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js +57 -57
  40. package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +175 -174
  42. package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +1 -1
  44. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/analytics/AttributionPage.js +129 -129
  46. package/dist/headshotmarketing/pages/analytics/AttributionPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +9 -9
  48. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js +95 -94
  50. package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js.map +1 -1
  51. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +4 -4
  52. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +42 -41
  54. package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -1
  55. package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +132 -131
  56. package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -1
  57. package/dist/headshotmarketing/pages/automation/AutomationPage.js +8 -8
  58. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/automation/TriggersPage.js +48 -48
  60. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +4 -3
  62. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js +143 -142
  64. package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js.map +1 -1
  65. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +79 -78
  66. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -1
  67. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +92 -92
  68. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +143 -143
  70. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js +3 -3
  72. package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js.map +1 -1
  73. package/dist/headshotmarketing/pages/builder/SectionInspector.js +24 -23
  74. package/dist/headshotmarketing/pages/builder/SectionInspector.js.map +1 -1
  75. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +198 -193
  76. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +41 -41
  78. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +234 -229
  80. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +134 -134
  82. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +46 -46
  84. package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -1
  85. package/dist/headshotmarketing/pages/content/AIExecutionLedger.js +29 -29
  86. package/dist/headshotmarketing/pages/content/AIExecutionLedger.js.map +1 -1
  87. package/dist/headshotmarketing/pages/content/AIToolsPage.js +3 -3
  88. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  89. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +230 -220
  90. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  91. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +431 -420
  92. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  93. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +7 -7
  94. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
  95. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +2 -2
  96. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
  97. package/dist/headshotmarketing/pages/content/ContentPage.js +88 -88
  98. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  99. package/dist/headshotmarketing/pages/crm/ContactsPage.js +111 -111
  100. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  101. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +59 -59
  102. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  103. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +86 -86
  104. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  105. package/dist/headshotmarketing/pages/crm/CrmActions.js +93 -92
  106. package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -1
  107. package/dist/headshotmarketing/pages/crm/CrmPage.js +4 -4
  108. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  109. package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +63 -62
  110. package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
  111. package/dist/headshotmarketing/pages/crm/LeadsPage.js +68 -68
  112. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  113. package/dist/headshotmarketing/pages/crm/PipelinePage.js +2 -2
  114. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  115. package/dist/headshotmarketing/pages/events/CreateEventPage.js +165 -165
  116. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  117. package/dist/headshotmarketing/pages/events/EventDetailsPage.js +255 -250
  118. package/dist/headshotmarketing/pages/events/EventDetailsPage.js.map +1 -1
  119. package/dist/headshotmarketing/pages/events/EventPagePreview.js +2 -2
  120. package/dist/headshotmarketing/pages/events/EventPagePreview.js.map +1 -1
  121. package/dist/headshotmarketing/pages/events/EventsPage.js +70 -70
  122. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  123. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +7 -7
  124. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  125. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +98 -98
  126. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  127. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +1 -1
  128. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  129. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +145 -140
  130. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  131. package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +1 -1
  132. package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -1
  133. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +286 -286
  134. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  135. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +171 -166
  136. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  137. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +1 -1
  138. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  139. package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js +1 -1
  140. package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js.map +1 -1
  141. package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +2 -2
  142. package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -1
  143. package/dist/headshotmarketing/pages/social-media/PostsPage.js +257 -252
  144. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  145. package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js +2 -2
  146. package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js.map +1 -1
  147. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +4 -4
  148. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  149. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +115 -115
  150. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  151. package/package.json +6 -2
@@ -1,21 +1,21 @@
1
1
  import { HeadshotmarketingBootstrapDataDocument as e, useHeadshotmarketingCancelRegistrationMutation as t, useHeadshotmarketingCheckInAttendeeMutation as n, useHeadshotmarketingDeleteEventMutation as r, useHeadshotmarketingEventByIdQuery as i, useHeadshotmarketingUpdateEventMutation as a } from "../../../generated/wspace-operations.js";
2
2
  import { HeadshotmarketingEventStatus as o, HeadshotmarketingEventType as s } from "../../../generated/wspace-types.js";
3
3
  import "../../components/index.js";
4
- import { formatNumber as c, formatPercentage as l, joinPath as ee } from "../../utils/helpers.js";
5
- import { PageLayout as u } from "../../components/PageLayout.js";
6
- import { StatCard as d } from "../../components/StatCard.js";
4
+ import { formatNumber as c, formatPercentage as ee, joinPath as te } from "../../utils/helpers.js";
5
+ import { PageLayout as l } from "../../components/PageLayout.js";
6
+ import { StatCard as u } from "../../components/StatCard.js";
7
+ import { EmptyState as d } from "../../components/EmptyState.js";
7
8
  import { StatusBadge as f } from "../../components/StatusBadge.js";
8
- import { EmptyState as p } from "../../components/EmptyState.js";
9
- import { Modal as m } from "../../components/Modal.js";
10
- import { QueryStateBoundary as h } from "../../components/QueryStateBoundary.js";
11
- import { useHeadshotMarketing as g } from "../../context/HeadshotMarketingContext.js";
12
- import { useMemo as _, useState as v } from "react";
13
- import { ArrowLeft as y, ArrowUpRight as te, CalendarClock as ne, Check as re, Clock as ie, Edit as ae, Gauge as oe, MapPin as se, Tag as ce, Ticket as le, Trash2 as b, UserCheck as x, Users as S, Video as C, X as w } from "lucide-react";
14
- import { useParams as T } from "react-router";
15
- import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
16
- import { EmphasisPanel as k, PagePurpose as A } from "@burdenoff/fe-libs/ui";
9
+ import { Modal as p } from "../../components/Modal.js";
10
+ import { QueryStateBoundary as m } from "../../components/QueryStateBoundary.js";
11
+ import { useHeadshotMarketing as h } from "../../context/HeadshotMarketingContext.js";
12
+ import { useMemo as g, useState as _ } from "react";
13
+ import { ArrowLeft as v, ArrowUpRight as y, CalendarClock as b, Check as x, Clock as ne, Edit as re, Gauge as ie, MapPin as ae, Tag as oe, Ticket as se, Trash2 as ce, UserCheck as S, Users as C, Video as w, X as T } from "lucide-react";
14
+ import { useParams as E } from "react-router";
15
+ import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
16
+ import { EmphasisPanel as A, PagePurpose as j, ThemedSelect as M, useConfirm as N } from "@burdenoff/fe-libs/ui";
17
17
  // src/headshotmarketing/pages/events/EventDetailsPage.tsx
18
- var j = [{ query: e }], M = [
18
+ var P = [{ query: e }], F = [
19
19
  {
20
20
  value: o.Draft,
21
21
  label: "Draft"
@@ -44,7 +44,7 @@ var j = [{ query: e }], M = [
44
44
  value: o.Cancelled,
45
45
  label: "Cancelled"
46
46
  }
47
- ], N = [
47
+ ], I = [
48
48
  {
49
49
  value: s.Webinar,
50
50
  label: "Webinar"
@@ -78,7 +78,7 @@ var j = [{ query: e }], M = [
78
78
  label: "Other"
79
79
  }
80
80
  ];
81
- function P(e) {
81
+ function L(e) {
82
82
  try {
83
83
  let t = new URL(e);
84
84
  return t.protocol === "http:" || t.protocol === "https:";
@@ -86,13 +86,13 @@ function P(e) {
86
86
  return !1;
87
87
  }
88
88
  }
89
- function F(e) {
89
+ function R(e) {
90
90
  let t = new Date(e);
91
91
  if (Number.isNaN(t.getTime())) return "";
92
92
  let n = (e) => String(e).padStart(2, "0");
93
93
  return `${t.getFullYear()}-${n(t.getMonth() + 1)}-${n(t.getDate())}T${n(t.getHours())}:${n(t.getMinutes())}`;
94
94
  }
95
- function I(e, t) {
95
+ function z(e, t) {
96
96
  let n = new Date(e);
97
97
  if (Number.isNaN(n.getTime())) return "Date to be announced";
98
98
  let r = {
@@ -111,228 +111,233 @@ function I(e, t) {
111
111
  } catch {}
112
112
  return new Intl.DateTimeFormat("en-US", r).format(n);
113
113
  }
114
- var L = () => {
115
- let { navigate: e, basePath: o } = g(), { eventId: s } = T(), { data: L, loading: R, error: z, refetch: B } = i({
116
- skip: !s,
117
- variables: s ? { id: s } : void 0
118
- }), [V, { loading: H }] = a(), [U, { loading: W }] = r(), [ue, { loading: de }] = n(), [fe, { loading: pe }] = t(), [me, G] = v(!1), [K, q] = v(null), [J, Y] = v(null), X = L?.headshotmarketingEvent ?? null, Z = () => e(ee(o, "events")), he = () => {
119
- X && (Y(null), q({
120
- title: X.title,
121
- description: X.description ?? "",
122
- type: X.type,
123
- status: X.status,
124
- startDate: F(X.startDate),
125
- endDate: F(X.endDate),
126
- timezone: X.timezone ?? "",
127
- location: X.location ?? "",
128
- virtualUrl: X.virtualUrl ?? "",
129
- maxAttendees: X.maxAttendees ? String(X.maxAttendees) : ""
130
- }), G(!0));
131
- }, ge = async () => {
132
- if (s && K) {
133
- if (!K.title.trim()) Y("Event title is required.");
134
- else if (!K.startDate || !K.endDate) Y("Start and end date/time are required.");
114
+ var B = () => {
115
+ let e = N(), { navigate: o, basePath: s } = h(), { eventId: B } = E(), { data: V, loading: le, error: H, refetch: U } = i({
116
+ skip: !B,
117
+ variables: B ? { id: B } : void 0
118
+ }), [W, { loading: G }] = a(), [ue, { loading: de }] = r(), [fe, { loading: pe }] = n(), [me, { loading: he }] = t(), [ge, K] = _(!1), [q, J] = _(null), [Y, X] = _(null), Z = V?.headshotmarketingEvent ?? null, Q = () => o(te(s, "events")), _e = () => {
119
+ Z && (X(null), J({
120
+ title: Z.title,
121
+ description: Z.description ?? "",
122
+ type: Z.type,
123
+ status: Z.status,
124
+ startDate: R(Z.startDate),
125
+ endDate: R(Z.endDate),
126
+ timezone: Z.timezone ?? "",
127
+ location: Z.location ?? "",
128
+ virtualUrl: Z.virtualUrl ?? "",
129
+ maxAttendees: Z.maxAttendees ? String(Z.maxAttendees) : ""
130
+ }), K(!0));
131
+ }, ve = async () => {
132
+ if (B && q) {
133
+ if (!q.title.trim()) X("Event title is required.");
134
+ else if (!q.startDate || !q.endDate) X("Start and end date/time are required.");
135
135
  else {
136
- Y(null);
136
+ X(null);
137
137
  try {
138
- await V({
138
+ await W({
139
139
  variables: {
140
- id: s,
140
+ id: B,
141
141
  input: {
142
- title: K.title.trim(),
143
- description: K.description || null,
144
- type: K.type,
145
- status: K.status,
146
- startDate: new Date(K.startDate).toISOString(),
147
- endDate: new Date(K.endDate).toISOString(),
148
- timezone: K.timezone || null,
149
- location: K.location || null,
150
- virtualUrl: K.virtualUrl || null,
151
- maxAttendees: K.maxAttendees ? Number(K.maxAttendees) : null
142
+ title: q.title.trim(),
143
+ description: q.description || null,
144
+ type: q.type,
145
+ status: q.status,
146
+ startDate: new Date(q.startDate).toISOString(),
147
+ endDate: new Date(q.endDate).toISOString(),
148
+ timezone: q.timezone || null,
149
+ location: q.location || null,
150
+ virtualUrl: q.virtualUrl || null,
151
+ maxAttendees: q.maxAttendees ? Number(q.maxAttendees) : null
152
152
  }
153
153
  },
154
- refetchQueries: j
155
- }), G(!1), await B();
154
+ refetchQueries: P
155
+ }), K(!1), await U();
156
156
  } catch (e) {
157
- Y(e instanceof Error ? e.message : "Failed to update event.");
157
+ X(e instanceof Error ? e.message : "Failed to update event.");
158
158
  }
159
159
  }
160
160
  }
161
- }, _e = async () => {
162
- if (s && X && window.confirm(`Delete event "${X.title}"? This cannot be undone.`)) {
163
- Y(null);
161
+ }, ye = async () => {
162
+ if (B && Z && await e({
163
+ title: `Delete event "${Z.title}"?`,
164
+ description: "This cannot be undone.",
165
+ tone: "danger",
166
+ confirmLabel: "Delete event"
167
+ })) {
168
+ X(null);
164
169
  try {
165
- await U({
166
- variables: { id: s },
167
- refetchQueries: j,
170
+ await ue({
171
+ variables: { id: B },
172
+ refetchQueries: P,
168
173
  awaitRefetchQueries: !0
169
- }), Z();
174
+ }), Q();
170
175
  } catch (e) {
171
- Y(e instanceof Error ? e.message : "Failed to delete event.");
176
+ X(e instanceof Error ? e.message : "Failed to delete event.");
172
177
  }
173
178
  }
174
- }, Q = async (e) => {
175
- Y(null);
179
+ }, be = async (e) => {
180
+ X(null);
176
181
  try {
177
- await ue({ variables: { registrationId: e } }), await B();
182
+ await fe({ variables: { registrationId: e } }), await U();
178
183
  } catch (e) {
179
- Y(e instanceof Error ? e.message : "Failed to check in attendee.");
184
+ X(e instanceof Error ? e.message : "Failed to check in attendee.");
180
185
  }
181
- }, ve = async (e) => {
182
- Y(null);
186
+ }, xe = async (e) => {
187
+ X(null);
183
188
  try {
184
- await fe({ variables: { registrationId: e } }), await B();
189
+ await me({ variables: { registrationId: e } }), await U();
185
190
  } catch (e) {
186
- Y(e instanceof Error ? e.message : "Failed to cancel registration.");
191
+ X(e instanceof Error ? e.message : "Failed to cancel registration.");
187
192
  }
188
- }, ye = _(() => !X || !X.maxAttendees || X.maxAttendees <= 0 ? 0 : Math.min(X.registrationCount / X.maxAttendees * 100, 100), [X]), $ = H || W || de || pe;
189
- return X ? /* @__PURE__ */ O(u, {
190
- title: X.title,
191
- description: X.description || void 0,
192
- actions: /* @__PURE__ */ O("div", {
193
+ }, Se = g(() => !Z || !Z.maxAttendees || Z.maxAttendees <= 0 ? 0 : Math.min(Z.registrationCount / Z.maxAttendees * 100, 100), [Z]), $ = G || de || pe || he;
194
+ return Z ? /* @__PURE__ */ k(l, {
195
+ title: Z.title,
196
+ description: Z.description || void 0,
197
+ actions: /* @__PURE__ */ k("div", {
193
198
  className: "flex flex-wrap items-center gap-2",
194
199
  children: [
195
- /* @__PURE__ */ D(f, { status: X.status.toLowerCase() }),
196
- /* @__PURE__ */ O("button", {
197
- onClick: Z,
200
+ /* @__PURE__ */ O(f, { status: Z.status.toLowerCase() }),
201
+ /* @__PURE__ */ k("button", {
202
+ onClick: Q,
198
203
  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",
199
- children: [/* @__PURE__ */ D(y, { className: "h-4 w-4" }), "Back"]
204
+ children: [/* @__PURE__ */ O(v, { className: "h-4 w-4" }), "Back"]
200
205
  }),
201
- /* @__PURE__ */ O("button", {
202
- onClick: he,
206
+ /* @__PURE__ */ k("button", {
207
+ onClick: _e,
203
208
  disabled: $,
204
209
  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",
205
- children: [/* @__PURE__ */ D(ae, { className: "h-4 w-4" }), "Manage"]
210
+ children: [/* @__PURE__ */ O(re, { className: "h-4 w-4" }), "Manage"]
206
211
  }),
207
- /* @__PURE__ */ O("button", {
208
- onClick: () => void _e(),
212
+ /* @__PURE__ */ k("button", {
213
+ onClick: () => void ye(),
209
214
  disabled: $,
210
215
  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",
211
- children: [/* @__PURE__ */ D(b, { className: "h-4 w-4" }), "Delete"]
216
+ children: [/* @__PURE__ */ O(ce, { className: "h-4 w-4" }), "Delete"]
212
217
  })
213
218
  ]
214
219
  }),
215
220
  children: [
216
- /* @__PURE__ */ D(A, { children: "Full detail view for this event — schedule, location, speakers and live registration status. Use Manage to edit details or move the event through its lifecycle (Draft → Published → Registration Open → In Progress → Completed)." }),
217
- J && /* @__PURE__ */ D("div", {
221
+ /* @__PURE__ */ O(j, { children: "Full detail view for this event — schedule, location, speakers and live registration status. Use Manage to edit details or move the event through its lifecycle (Draft → Published → Registration Open → In Progress → Completed)." }),
222
+ Y && /* @__PURE__ */ O("div", {
218
223
  className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
219
- children: J
224
+ children: Y
220
225
  }),
221
- /* @__PURE__ */ D(k, { children: /* @__PURE__ */ O("div", {
226
+ /* @__PURE__ */ O(A, { children: /* @__PURE__ */ k("div", {
222
227
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
223
228
  children: [
224
- /* @__PURE__ */ D(d, {
229
+ /* @__PURE__ */ O(u, {
225
230
  featured: !0,
226
231
  title: "Registrations",
227
- value: c(X.registrationCount),
228
- icon: /* @__PURE__ */ D(le, { className: "h-5 w-5" })
232
+ value: c(Z.registrationCount),
233
+ icon: /* @__PURE__ */ O(se, { className: "h-5 w-5" })
229
234
  }),
230
- /* @__PURE__ */ D(d, {
235
+ /* @__PURE__ */ O(u, {
231
236
  title: "Capacity",
232
- value: X.maxAttendees ? c(X.maxAttendees) : "—",
233
- icon: /* @__PURE__ */ D(S, { className: "h-5 w-5" })
237
+ value: Z.maxAttendees ? c(Z.maxAttendees) : "—",
238
+ icon: /* @__PURE__ */ O(C, { className: "h-5 w-5" })
234
239
  }),
235
- /* @__PURE__ */ D(d, {
240
+ /* @__PURE__ */ O(u, {
236
241
  title: "Fill Rate",
237
- value: X.maxAttendees ? l(ye, 0) : "N/A",
238
- icon: /* @__PURE__ */ D(oe, { className: "h-5 w-5" })
242
+ value: Z.maxAttendees ? ee(Se, 0) : "N/A",
243
+ icon: /* @__PURE__ */ O(ie, { className: "h-5 w-5" })
239
244
  }),
240
- /* @__PURE__ */ D(d, {
245
+ /* @__PURE__ */ O(u, {
241
246
  title: "Speakers",
242
- value: X.speakers.length,
243
- icon: /* @__PURE__ */ D(x, { className: "h-5 w-5" })
247
+ value: Z.speakers.length,
248
+ icon: /* @__PURE__ */ O(S, { className: "h-5 w-5" })
244
249
  })
245
250
  ]
246
251
  }) }),
247
- X.coverImageUrl && /* @__PURE__ */ D("div", {
252
+ Z.coverImageUrl && /* @__PURE__ */ O("div", {
248
253
  className: "overflow-hidden rounded-xl border border-border-seam bg-bg-sunken",
249
- children: /* @__PURE__ */ D("img", {
250
- src: X.coverImageUrl,
254
+ children: /* @__PURE__ */ O("img", {
255
+ src: Z.coverImageUrl,
251
256
  alt: "",
252
257
  className: "h-56 w-full object-cover"
253
258
  })
254
259
  }),
255
- /* @__PURE__ */ O("div", {
260
+ /* @__PURE__ */ k("div", {
256
261
  className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
257
- children: [/* @__PURE__ */ O("div", {
262
+ children: [/* @__PURE__ */ k("div", {
258
263
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop lg:col-span-2",
259
- children: [/* @__PURE__ */ D("h4", {
264
+ children: [/* @__PURE__ */ O("h4", {
260
265
  className: "mb-4 text-sm font-semibold text-text-primary",
261
266
  children: "Schedule & Location"
262
- }), /* @__PURE__ */ O("div", {
267
+ }), /* @__PURE__ */ k("div", {
263
268
  className: "space-y-3 text-sm",
264
269
  children: [
265
- /* @__PURE__ */ O("div", {
270
+ /* @__PURE__ */ k("div", {
266
271
  className: "flex items-start gap-2 text-text-secondary",
267
- children: [/* @__PURE__ */ D(ie, { className: "mt-0.5 h-4 w-4 shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
272
+ children: [/* @__PURE__ */ O(ne, { className: "mt-0.5 h-4 w-4 shrink-0" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
268
273
  className: "text-text-primary",
269
- children: I(X.startDate, X.timezone)
270
- }), /* @__PURE__ */ O("p", {
274
+ children: z(Z.startDate, Z.timezone)
275
+ }), /* @__PURE__ */ k("p", {
271
276
  className: "text-xs",
272
277
  children: [
273
278
  "to ",
274
- I(X.endDate, X.timezone),
275
- X.timezone ? ` (${X.timezone})` : ""
279
+ z(Z.endDate, Z.timezone),
280
+ Z.timezone ? ` (${Z.timezone})` : ""
276
281
  ]
277
282
  })] })]
278
283
  }),
279
- /* @__PURE__ */ O("div", {
284
+ /* @__PURE__ */ k("div", {
280
285
  className: "flex items-center gap-2 text-text-secondary",
281
- children: [X.virtualUrl ? /* @__PURE__ */ D(C, { className: "h-4 w-4 shrink-0" }) : /* @__PURE__ */ D(se, { className: "h-4 w-4 shrink-0" }), X.virtualUrl && P(X.virtualUrl) ? /* @__PURE__ */ O("a", {
282
- href: X.virtualUrl,
286
+ children: [Z.virtualUrl ? /* @__PURE__ */ O(w, { className: "h-4 w-4 shrink-0" }) : /* @__PURE__ */ O(ae, { className: "h-4 w-4 shrink-0" }), Z.virtualUrl && L(Z.virtualUrl) ? /* @__PURE__ */ k("a", {
287
+ href: Z.virtualUrl,
283
288
  target: "_blank",
284
289
  rel: "noopener noreferrer",
285
290
  className: "inline-flex items-center gap-1 text-action-primary-bg hover:underline",
286
- children: [X.virtualUrl, /* @__PURE__ */ D(te, { className: "h-3.5 w-3.5" })]
287
- }) : X.virtualUrl ? /* @__PURE__ */ D("span", { children: X.virtualUrl }) : /* @__PURE__ */ D("span", { children: X.location || "Location TBD" })]
291
+ children: [Z.virtualUrl, /* @__PURE__ */ O(y, { className: "h-3.5 w-3.5" })]
292
+ }) : Z.virtualUrl ? /* @__PURE__ */ O("span", { children: Z.virtualUrl }) : /* @__PURE__ */ O("span", { children: Z.location || "Location TBD" })]
288
293
  }),
289
- X.tags && X.tags.length > 0 && /* @__PURE__ */ O("div", {
294
+ Z.tags && Z.tags.length > 0 && /* @__PURE__ */ k("div", {
290
295
  className: "flex flex-wrap items-center gap-1.5 pt-2",
291
- children: [/* @__PURE__ */ D(ce, { className: "h-3.5 w-3.5 text-text-secondary" }), X.tags.map((e) => /* @__PURE__ */ D("span", {
296
+ children: [/* @__PURE__ */ O(oe, { className: "h-3.5 w-3.5 text-text-secondary" }), Z.tags.map((e) => /* @__PURE__ */ O("span", {
292
297
  className: "inline-flex items-center rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium text-text-primary",
293
298
  children: e
294
299
  }, e))]
295
300
  })
296
301
  ]
297
302
  })]
298
- }), /* @__PURE__ */ O("div", {
303
+ }), /* @__PURE__ */ k("div", {
299
304
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
300
- children: [/* @__PURE__ */ O("h4", {
305
+ children: [/* @__PURE__ */ k("h4", {
301
306
  className: "mb-4 flex items-center gap-2 text-sm font-semibold text-text-primary",
302
- children: [/* @__PURE__ */ D(ne, { className: "h-4 w-4 text-text-secondary" }), "Type"]
303
- }), /* @__PURE__ */ D("p", {
307
+ children: [/* @__PURE__ */ O(b, { className: "h-4 w-4 text-text-secondary" }), "Type"]
308
+ }), /* @__PURE__ */ O("p", {
304
309
  className: "text-sm text-text-primary",
305
- children: N.find((e) => e.value === X.type)?.label ?? X.type
310
+ children: I.find((e) => e.value === Z.type)?.label ?? Z.type
306
311
  })]
307
312
  })]
308
313
  }),
309
- /* @__PURE__ */ O("div", {
314
+ /* @__PURE__ */ k("div", {
310
315
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
311
- children: [/* @__PURE__ */ D("h4", {
316
+ children: [/* @__PURE__ */ O("h4", {
312
317
  className: "mb-4 text-sm font-semibold text-text-primary",
313
318
  children: "Speakers"
314
- }), X.speakers.length === 0 ? /* @__PURE__ */ D("p", {
319
+ }), Z.speakers.length === 0 ? /* @__PURE__ */ O("p", {
315
320
  className: "py-4 text-center text-sm text-text-secondary",
316
321
  children: "No speakers added yet."
317
- }) : /* @__PURE__ */ D("div", {
322
+ }) : /* @__PURE__ */ O("div", {
318
323
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
319
- children: X.speakers.map((e) => /* @__PURE__ */ O("div", {
324
+ children: Z.speakers.map((e) => /* @__PURE__ */ k("div", {
320
325
  className: "flex items-start gap-3 rounded-lg border border-border-subtle p-4",
321
- children: [/* @__PURE__ */ D("div", {
326
+ children: [/* @__PURE__ */ O("div", {
322
327
  className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-action-primary-bg/10 text-sm font-semibold text-primary",
323
328
  children: e.name.split(/\s+/).filter(Boolean).map((e) => e[0]).join("").slice(0, 2).toUpperCase()
324
- }), /* @__PURE__ */ O("div", {
329
+ }), /* @__PURE__ */ k("div", {
325
330
  className: "min-w-0",
326
331
  children: [
327
- /* @__PURE__ */ D("p", {
332
+ /* @__PURE__ */ O("p", {
328
333
  className: "truncate text-sm font-semibold text-text-primary",
329
334
  children: e.name
330
335
  }),
331
- (e.title || e.company) && /* @__PURE__ */ D("p", {
336
+ (e.title || e.company) && /* @__PURE__ */ O("p", {
332
337
  className: "truncate text-xs text-text-secondary",
333
338
  children: [e.title, e.company].filter(Boolean).join(" · ")
334
339
  }),
335
- e.topic && /* @__PURE__ */ O("p", {
340
+ e.topic && /* @__PURE__ */ k("p", {
336
341
  className: "mt-1 text-xs text-text-secondary",
337
342
  children: ["Topic: ", e.topic]
338
343
  })
@@ -341,79 +346,79 @@ var L = () => {
341
346
  }, e.id))
342
347
  })]
343
348
  }),
344
- /* @__PURE__ */ O("div", {
349
+ /* @__PURE__ */ k("div", {
345
350
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
346
- children: [/* @__PURE__ */ O("h4", {
351
+ children: [/* @__PURE__ */ k("h4", {
347
352
  className: "mb-4 text-sm font-semibold text-text-primary",
348
353
  children: [
349
354
  "Registrations (",
350
- X.registrations.length,
355
+ Z.registrations.length,
351
356
  ")"
352
357
  ]
353
- }), X.registrations.length === 0 ? /* @__PURE__ */ D("p", {
358
+ }), Z.registrations.length === 0 ? /* @__PURE__ */ O("p", {
354
359
  className: "py-4 text-center text-sm text-text-secondary",
355
360
  children: "No registrations yet."
356
- }) : /* @__PURE__ */ D("div", {
361
+ }) : /* @__PURE__ */ O("div", {
357
362
  className: "overflow-x-auto",
358
- children: /* @__PURE__ */ O("table", {
363
+ children: /* @__PURE__ */ k("table", {
359
364
  className: "w-full text-sm",
360
- children: [/* @__PURE__ */ D("thead", { children: /* @__PURE__ */ O("tr", {
361
- className: "border-b border-border-subtle text-left text-xs text-text-secondary",
365
+ children: [/* @__PURE__ */ O("thead", { children: /* @__PURE__ */ k("tr", {
366
+ className: "border-b border-border-subtle text-start text-xs text-text-secondary",
362
367
  children: [
363
- /* @__PURE__ */ D("th", {
364
- className: "py-2 pr-4 font-medium",
368
+ /* @__PURE__ */ O("th", {
369
+ className: "py-2 pe-4 font-medium",
365
370
  children: "Attendee"
366
371
  }),
367
- /* @__PURE__ */ D("th", {
368
- className: "py-2 pr-4 font-medium",
372
+ /* @__PURE__ */ O("th", {
373
+ className: "py-2 pe-4 font-medium",
369
374
  children: "Company"
370
375
  }),
371
- /* @__PURE__ */ D("th", {
372
- className: "py-2 pr-4 font-medium",
376
+ /* @__PURE__ */ O("th", {
377
+ className: "py-2 pe-4 font-medium",
373
378
  children: "Status"
374
379
  }),
375
- /* @__PURE__ */ D("th", {
376
- className: "py-2 pr-4 font-medium",
380
+ /* @__PURE__ */ O("th", {
381
+ className: "py-2 pe-4 font-medium",
377
382
  children: "Actions"
378
383
  })
379
384
  ]
380
- }) }), /* @__PURE__ */ D("tbody", { children: X.registrations.map((e) => {
385
+ }) }), /* @__PURE__ */ O("tbody", { children: Z.registrations.map((e) => {
381
386
  let t = e.status.toLowerCase(), n = e.status === "REGISTERED" || e.status === "CONFIRMED" || e.status === "WAITLISTED", r = e.status !== "CANCELLED" && e.status !== "CHECKED_IN";
382
- return /* @__PURE__ */ O("tr", {
387
+ return /* @__PURE__ */ k("tr", {
383
388
  className: "border-b border-border-subtle/60 last:border-0",
384
389
  children: [
385
- /* @__PURE__ */ O("td", {
386
- className: "py-2 pr-4",
387
- children: [/* @__PURE__ */ D("p", {
390
+ /* @__PURE__ */ k("td", {
391
+ className: "py-2 pe-4",
392
+ children: [/* @__PURE__ */ O("p", {
388
393
  className: "font-medium text-text-primary",
389
394
  children: e.attendeeName
390
- }), /* @__PURE__ */ D("p", {
395
+ }), /* @__PURE__ */ O("p", {
391
396
  className: "text-xs text-text-secondary",
392
397
  children: e.attendeeEmail
393
398
  })]
394
399
  }),
395
- /* @__PURE__ */ D("td", {
396
- className: "py-2 pr-4 text-text-secondary",
400
+ /* @__PURE__ */ O("td", {
401
+ className: "py-2 pe-4 text-text-secondary",
397
402
  children: e.attendeeCompany || "—"
398
403
  }),
399
- /* @__PURE__ */ D("td", {
400
- className: "py-2 pr-4",
401
- children: /* @__PURE__ */ D(f, { status: t })
404
+ /* @__PURE__ */ O("td", {
405
+ className: "py-2 pe-4",
406
+ children: /* @__PURE__ */ O(f, { status: t })
402
407
  }),
403
- /* @__PURE__ */ D("td", {
404
- className: "py-2 pr-4",
405
- children: /* @__PURE__ */ O("div", {
408
+ /* @__PURE__ */ O("td", {
409
+ className: "py-2 pe-4",
410
+ children: /* @__PURE__ */ k("div", {
406
411
  className: "flex items-center gap-2",
407
- children: [n && /* @__PURE__ */ O("button", {
408
- onClick: () => void Q(e.id),
412
+ children: [n && /* @__PURE__ */ k("button", {
413
+ onClick: () => void be(e.id),
409
414
  disabled: $,
410
415
  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",
411
- children: [/* @__PURE__ */ D(re, { className: "h-3 w-3" }), "Check in"]
412
- }), r && /* @__PURE__ */ O("button", {
413
- onClick: () => void ve(e.id),
416
+ children: [/* @__PURE__ */ O(x, { className: "h-3 w-3" }), "Check in"]
417
+ }), r && /* @__PURE__ */ k("button", {
418
+ onClick: () => void xe(e.id),
414
419
  disabled: $,
415
420
  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",
416
- children: [/* @__PURE__ */ D(w, { className: "h-3 w-3" }), "Cancel"]
421
+ children: [/* @__PURE__ */ O(T, { className: "h-3 w-3" }), "Cancel"]
417
422
  })]
418
423
  })
419
424
  })
@@ -423,190 +428,190 @@ var L = () => {
423
428
  })
424
429
  })]
425
430
  }),
426
- K && /* @__PURE__ */ D(m, {
427
- open: me,
428
- onClose: () => G(!1),
431
+ q && /* @__PURE__ */ O(p, {
432
+ open: ge,
433
+ onClose: () => K(!1),
429
434
  title: "Manage Event",
430
435
  description: "Update event details or move it through its lifecycle.",
431
436
  size: "lg",
432
- footer: /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D("button", {
433
- onClick: () => G(!1),
437
+ footer: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O("button", {
438
+ onClick: () => K(!1),
434
439
  className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
435
440
  children: "Cancel"
436
- }), /* @__PURE__ */ D("button", {
437
- onClick: () => void ge(),
438
- disabled: H,
441
+ }), /* @__PURE__ */ O("button", {
442
+ onClick: () => void ve(),
443
+ disabled: G,
439
444
  className: "rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90 disabled:opacity-60",
440
- children: H ? "Saving..." : "Save Changes"
445
+ children: G ? "Saving..." : "Save Changes"
441
446
  })] }),
442
- children: /* @__PURE__ */ O("div", {
447
+ children: /* @__PURE__ */ k("div", {
443
448
  className: "space-y-4",
444
449
  children: [
445
- /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
450
+ /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
446
451
  className: "mb-1.5 block text-sm font-medium text-text-primary",
447
452
  children: "Title"
448
- }), /* @__PURE__ */ D("input", {
453
+ }), /* @__PURE__ */ O("input", {
449
454
  type: "text",
450
- value: K.title,
451
- onChange: (e) => q({
452
- ...K,
455
+ value: q.title,
456
+ onChange: (e) => J({
457
+ ...q,
453
458
  title: e.target.value
454
459
  }),
455
460
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
456
461
  })] }),
457
- /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
462
+ /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
458
463
  className: "mb-1.5 block text-sm font-medium text-text-primary",
459
464
  children: "Description"
460
- }), /* @__PURE__ */ D("textarea", {
465
+ }), /* @__PURE__ */ O("textarea", {
461
466
  rows: 3,
462
- value: K.description,
463
- onChange: (e) => q({
464
- ...K,
467
+ value: q.description,
468
+ onChange: (e) => J({
469
+ ...q,
465
470
  description: e.target.value
466
471
  }),
467
472
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
468
473
  })] }),
469
- /* @__PURE__ */ O("div", {
474
+ /* @__PURE__ */ k("div", {
470
475
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
471
- children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
476
+ children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
472
477
  className: "mb-1.5 block text-sm font-medium text-text-primary",
473
478
  children: "Type"
474
- }), /* @__PURE__ */ D("select", {
475
- value: K.type,
476
- onChange: (e) => q({
477
- ...K,
479
+ }), /* @__PURE__ */ O(M, {
480
+ value: q.type,
481
+ onChange: (e) => J({
482
+ ...q,
478
483
  type: e.target.value
479
484
  }),
480
485
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
481
- children: N.map((e) => /* @__PURE__ */ D("option", {
486
+ children: I.map((e) => /* @__PURE__ */ O("option", {
482
487
  value: e.value,
483
488
  children: e.label
484
489
  }, e.value))
485
- })] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
490
+ })] }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
486
491
  className: "mb-1.5 block text-sm font-medium text-text-primary",
487
492
  children: "Status"
488
- }), /* @__PURE__ */ D("select", {
489
- value: K.status,
490
- onChange: (e) => q({
491
- ...K,
493
+ }), /* @__PURE__ */ O(M, {
494
+ value: q.status,
495
+ onChange: (e) => J({
496
+ ...q,
492
497
  status: e.target.value
493
498
  }),
494
499
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
495
- children: M.map((e) => /* @__PURE__ */ D("option", {
500
+ children: F.map((e) => /* @__PURE__ */ O("option", {
496
501
  value: e.value,
497
502
  children: e.label
498
503
  }, e.value))
499
504
  })] })]
500
505
  }),
501
- /* @__PURE__ */ O("div", {
506
+ /* @__PURE__ */ k("div", {
502
507
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
503
- children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
508
+ children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
504
509
  className: "mb-1.5 block text-sm font-medium text-text-primary",
505
510
  children: "Start"
506
- }), /* @__PURE__ */ D("input", {
511
+ }), /* @__PURE__ */ O("input", {
507
512
  type: "datetime-local",
508
- value: K.startDate,
509
- onChange: (e) => q({
510
- ...K,
513
+ value: q.startDate,
514
+ onChange: (e) => J({
515
+ ...q,
511
516
  startDate: e.target.value
512
517
  }),
513
518
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
514
- })] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
519
+ })] }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
515
520
  className: "mb-1.5 block text-sm font-medium text-text-primary",
516
521
  children: "End"
517
- }), /* @__PURE__ */ D("input", {
522
+ }), /* @__PURE__ */ O("input", {
518
523
  type: "datetime-local",
519
- value: K.endDate,
520
- onChange: (e) => q({
521
- ...K,
524
+ value: q.endDate,
525
+ onChange: (e) => J({
526
+ ...q,
522
527
  endDate: e.target.value
523
528
  }),
524
529
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
525
530
  })] })]
526
531
  }),
527
- /* @__PURE__ */ O("div", {
532
+ /* @__PURE__ */ k("div", {
528
533
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
529
- children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
534
+ children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
530
535
  className: "mb-1.5 block text-sm font-medium text-text-primary",
531
536
  children: "Location"
532
- }), /* @__PURE__ */ D("input", {
537
+ }), /* @__PURE__ */ O("input", {
533
538
  type: "text",
534
- value: K.location,
535
- onChange: (e) => q({
536
- ...K,
539
+ value: q.location,
540
+ onChange: (e) => J({
541
+ ...q,
537
542
  location: e.target.value
538
543
  }),
539
544
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
540
- })] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
545
+ })] }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
541
546
  className: "mb-1.5 block text-sm font-medium text-text-primary",
542
547
  children: "Virtual URL"
543
- }), /* @__PURE__ */ D("input", {
548
+ }), /* @__PURE__ */ O("input", {
544
549
  type: "url",
545
- value: K.virtualUrl,
546
- onChange: (e) => q({
547
- ...K,
550
+ value: q.virtualUrl,
551
+ onChange: (e) => J({
552
+ ...q,
548
553
  virtualUrl: e.target.value
549
554
  }),
550
555
  placeholder: "https://",
551
556
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
552
557
  })] })]
553
558
  }),
554
- /* @__PURE__ */ O("div", {
559
+ /* @__PURE__ */ k("div", {
555
560
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
556
- children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
561
+ children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
557
562
  className: "mb-1.5 block text-sm font-medium text-text-primary",
558
563
  children: "Timezone (IANA)"
559
- }), /* @__PURE__ */ D("input", {
564
+ }), /* @__PURE__ */ O("input", {
560
565
  type: "text",
561
- value: K.timezone,
562
- onChange: (e) => q({
563
- ...K,
566
+ value: q.timezone,
567
+ onChange: (e) => J({
568
+ ...q,
564
569
  timezone: e.target.value
565
570
  }),
566
571
  placeholder: "America/New_York",
567
572
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
568
- })] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
573
+ })] }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
569
574
  className: "mb-1.5 block text-sm font-medium text-text-primary",
570
575
  children: "Max Attendees"
571
- }), /* @__PURE__ */ D("input", {
576
+ }), /* @__PURE__ */ O("input", {
572
577
  type: "number",
573
578
  min: 0,
574
- value: K.maxAttendees,
575
- onChange: (e) => q({
576
- ...K,
579
+ value: q.maxAttendees,
580
+ onChange: (e) => J({
581
+ ...q,
577
582
  maxAttendees: e.target.value
578
583
  }),
579
584
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
580
585
  })] })]
581
586
  }),
582
- J && /* @__PURE__ */ D("p", {
587
+ Y && /* @__PURE__ */ O("p", {
583
588
  className: "text-sm text-status-error-text",
584
- children: J
589
+ children: Y
585
590
  })
586
591
  ]
587
592
  })
588
593
  })
589
594
  ]
590
- }) : /* @__PURE__ */ D(u, {
595
+ }) : /* @__PURE__ */ O(l, {
591
596
  title: "Event Details",
592
- children: /* @__PURE__ */ D(h, {
593
- loading: R,
594
- error: z,
595
- onRetry: () => void B(),
597
+ children: /* @__PURE__ */ O(m, {
598
+ loading: le,
599
+ error: H,
600
+ onRetry: () => void U(),
596
601
  hasData: !1,
597
- children: /* @__PURE__ */ D(p, {
602
+ children: /* @__PURE__ */ O(d, {
598
603
  illustration: "empty-generic",
599
604
  title: "Event not found",
600
605
  description: "The event you're looking for doesn't exist or has been removed.",
601
- action: /* @__PURE__ */ O("button", {
602
- onClick: Z,
606
+ action: /* @__PURE__ */ k("button", {
607
+ onClick: Q,
603
608
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
604
- children: [/* @__PURE__ */ D(y, { className: "h-4 w-4" }), "Back to Events"]
609
+ children: [/* @__PURE__ */ O(v, { className: "h-4 w-4" }), "Back to Events"]
605
610
  })
606
611
  })
607
612
  })
608
613
  });
609
614
  };
610
- export { L as EventDetailsPage };
615
+ export { B as EventDetailsPage };
611
616
 
612
617
  //# sourceMappingURL=EventDetailsPage.js.map