@burdenoff/microfe-headshotmarketing 2026.1201.1 → 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 +2 -2
@@ -5,30 +5,30 @@ import { XAxis as ee } from "../../../node_modules/recharts/es6/cartesian/XAxis.
5
5
  import { YAxis as te } from "../../../node_modules/recharts/es6/cartesian/YAxis.js";
6
6
  import { CartesianGrid as ne } from "../../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
7
7
  import { Tooltip as re } from "../../../node_modules/recharts/es6/component/Tooltip.js";
8
- import { HeadshotmarketingBootstrapDataDocument as r, HeadshotmarketingCampaignsListDocument as i, useCreateHeadshotmarketingCampaignMutation as ie, useDeleteHeadshotmarketingCampaignMutation as a, useHeadshotmarketingCampaignByIdQuery as o, useHeadshotmarketingResourceActivityQuery as s, useUpdateHeadshotmarketingCampaignMutation as c } from "../../../generated/wspace-operations.js";
9
- import { HeadshotmarketingCampaignStatus as l } from "../../../generated/wspace-types.js";
10
- import { cn as u, formatCurrency as d, formatDate as ae, formatNumber as oe } from "../../utils/helpers.js";
11
- import { toCampaignModel as se, toCampaignPerformanceSeries as ce } from "../../utils/campaignMapper.js";
8
+ import { HeadshotmarketingBootstrapDataDocument as r, HeadshotmarketingCampaignsListDocument as i, useCreateHeadshotmarketingCampaignMutation as ie, useDeleteHeadshotmarketingCampaignMutation as a, useHeadshotmarketingCampaignByIdQuery as o, useHeadshotmarketingResourceActivityQuery as s, useUpdateHeadshotmarketingCampaignMutation as ae } from "../../../generated/wspace-operations.js";
9
+ import { HeadshotmarketingCampaignStatus as c } from "../../../generated/wspace-types.js";
10
+ import { cn as l, formatCurrency as u, formatDate as oe, formatNumber as se } from "../../utils/helpers.js";
11
+ import { toCampaignModel as ce, toCampaignPerformanceSeries as le } from "../../utils/campaignMapper.js";
12
12
  import "../../components/index.js";
13
- import { PageLayout as f } from "../../components/PageLayout.js";
14
- import { StatCard as p } from "../../components/StatCard.js";
15
- import { StatusBadge as le } from "../../components/StatusBadge.js";
16
- import { EmptyState as m } from "../../components/EmptyState.js";
17
- import { ChartCard as ue } from "../../components/ChartCard.js";
18
- import { QueryStateBoundary as de } from "../../components/QueryStateBoundary.js";
19
- import { useHeadshotMarketing as fe } from "../../context/HeadshotMarketingContext.js";
20
- import { CampaignAiPanel as pe } from "./CampaignAiPanel.js";
21
- import { useState as h } from "react";
22
- import { Activity as me, Archive as he, ArrowLeft as g, Calendar as ge, Clock as _e, Copy as ve, DollarSign as _, Edit as v, FileText as y, Image as b, Pause as ye, Play as be, Target as x, Trash2 as xe, TrendingUp as S } from "lucide-react";
23
- import { useParams as C } from "react-router";
24
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
25
- import { CTAOverflowMenu as E, EmphasisPanel as D, NextSteps as O, PagePurpose as k } from "@burdenoff/fe-libs/ui";
13
+ import { PageLayout as d } from "../../components/PageLayout.js";
14
+ import { StatCard as f } from "../../components/StatCard.js";
15
+ import { EmptyState as p } from "../../components/EmptyState.js";
16
+ import { StatusBadge as ue } from "../../components/StatusBadge.js";
17
+ import { ChartCard as de } from "../../components/ChartCard.js";
18
+ import { QueryStateBoundary as fe } from "../../components/QueryStateBoundary.js";
19
+ import { useHeadshotMarketing as pe } from "../../context/HeadshotMarketingContext.js";
20
+ import { CampaignAiPanel as me } from "./CampaignAiPanel.js";
21
+ import { useState as m } from "react";
22
+ import { Activity as he, Archive as ge, ArrowLeft as h, Calendar as _e, Clock as ve, Copy as ye, DollarSign as g, Edit as _, FileText as v, Image as y, Pause as be, Play as xe, Target as b, Trash2 as Se, TrendingUp as x } from "lucide-react";
23
+ import { useParams as Ce } from "react-router";
24
+ import { jsx as S, jsxs as C } from "react/jsx-runtime";
25
+ import { CTAOverflowMenu as w, EmphasisPanel as T, NextSteps as E, PagePurpose as D, useConfirm as O } from "@burdenoff/fe-libs/ui";
26
26
  // src/headshotmarketing/pages/campaigns/CampaignDetailsPage.tsx
27
- var A = [{ query: r }, i];
28
- function j(e) {
27
+ var k = [{ query: r }, i];
28
+ function A(e) {
29
29
  return e.toLowerCase().split(/[_\s]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
30
30
  }
31
- var M = [
31
+ var j = [
32
32
  "var(--color-chart-1)",
33
33
  "var(--color-chart-2)",
34
34
  "var(--color-chart-3)",
@@ -36,14 +36,14 @@ var M = [
36
36
  "var(--color-chart-5)",
37
37
  "var(--color-chart-6)"
38
38
  ];
39
- function Se(e) {
39
+ function we(e) {
40
40
  return e.split(/\s+/).filter(Boolean).map((e) => e[0]).join("").slice(0, 2).toUpperCase();
41
41
  }
42
- var N = () => {
43
- let { navigate: r, basePath: i } = fe(), { campaignId: N } = C(), { data: Ce, loading: we, error: Te, refetch: Ee } = o({
42
+ var M = () => {
43
+ let r = O(), { navigate: i, basePath: M } = pe(), { campaignId: N } = Ce(), { data: Te, loading: Ee, error: De, refetch: Oe } = o({
44
44
  skip: !N,
45
45
  variables: N ? { id: N } : void 0
46
- }), [De, { loading: P }] = a(), [Oe, { loading: ke }] = c(), [Ae, { loading: je }] = ie(), [F, I] = h("overview"), [L, R] = h(null), z = Ce?.headshotmarketingCampaign, B = z ? se(z) : null, V = z?.status, H = V === l.Paused, Me = V === l.Archived, U = ke || je || P, { data: Ne, loading: Pe, error: Fe } = s({
46
+ }), [ke, { loading: Ae }] = a(), [P, { loading: je }] = ae(), [Me, { loading: Ne }] = ie(), [F, I] = m("overview"), [L, R] = m(null), z = Te?.headshotmarketingCampaign, B = z ? ce(z) : null, V = z?.status, H = V === c.Paused, Pe = V === c.Archived, U = je || Ne || Ae, { data: Fe, loading: Ie, error: Le } = s({
47
47
  skip: !N,
48
48
  variables: { filter: {
49
49
  resourceId: N,
@@ -51,22 +51,22 @@ var N = () => {
51
51
  } },
52
52
  errorPolicy: "all",
53
53
  fetchPolicy: "cache-and-network"
54
- }), W = Ne?.getActivities ?? [], G = async (e) => {
54
+ }), W = Fe?.getActivities ?? [], G = async (e) => {
55
55
  if (N) {
56
56
  R(null);
57
57
  try {
58
- await Oe({
58
+ await P({
59
59
  variables: {
60
60
  id: N,
61
61
  input: { status: e }
62
62
  },
63
- refetchQueries: A
63
+ refetchQueries: k
64
64
  });
65
65
  } catch (e) {
66
66
  R(e instanceof Error ? e.message : "Failed to update campaign.");
67
67
  }
68
68
  }
69
- }, Ie = async () => {
69
+ }, Re = async () => {
70
70
  if (z) {
71
71
  R(null);
72
72
  try {
@@ -74,169 +74,174 @@ var N = () => {
74
74
  name: `${z.name} (Copy)`,
75
75
  description: z.description ?? null,
76
76
  type: z.type,
77
- status: l.Draft,
77
+ status: c.Draft,
78
78
  budget: z.budget ?? null,
79
79
  startDate: z.startDate ?? null,
80
80
  endDate: z.endDate ?? null,
81
81
  tags: z.tags,
82
82
  goals: z.goals ?? void 0
83
- }, t = (await Ae({
83
+ }, t = (await Me({
84
84
  variables: { input: e },
85
- refetchQueries: A,
85
+ refetchQueries: k,
86
86
  awaitRefetchQueries: !0
87
87
  })).data?.createHeadshotmarketingCampaign?.id;
88
- t && r(i + "/campaigns/" + t);
88
+ t && i(M + "/campaigns/" + t);
89
89
  } catch (e) {
90
90
  R(e instanceof Error ? e.message : "Failed to duplicate campaign.");
91
91
  }
92
92
  }
93
- }, Le = async () => {
94
- if (N && B && window.confirm(`Delete campaign "${B.name}"? This cannot be undone.`)) {
93
+ }, ze = async () => {
94
+ if (N && B && await r({
95
+ title: `Delete campaign "${B.name}"?`,
96
+ description: "This cannot be undone.",
97
+ tone: "danger",
98
+ confirmLabel: "Delete campaign"
99
+ })) {
95
100
  R(null);
96
101
  try {
97
- await De({
102
+ await ke({
98
103
  variables: { id: N },
99
- refetchQueries: A,
104
+ refetchQueries: k,
100
105
  awaitRefetchQueries: !0
101
- }), r(i + "/campaigns");
106
+ }), i(M + "/campaigns");
102
107
  } catch (e) {
103
108
  R(e instanceof Error ? e.message : "Failed to delete campaign.");
104
109
  }
105
110
  }
106
111
  };
107
- if (!B) return /* @__PURE__ */ w(f, {
112
+ if (!B) return /* @__PURE__ */ S(d, {
108
113
  title: "Campaign Details",
109
- children: /* @__PURE__ */ w(de, {
110
- loading: we,
111
- error: Te,
112
- onRetry: () => void Ee(),
114
+ children: /* @__PURE__ */ S(fe, {
115
+ loading: Ee,
116
+ error: De,
117
+ onRetry: () => void Oe(),
113
118
  hasData: !1,
114
- children: /* @__PURE__ */ w(m, {
119
+ children: /* @__PURE__ */ S(p, {
115
120
  illustration: "empty-generic",
116
121
  title: "Campaign not found",
117
122
  description: "The campaign you're looking for doesn't exist or has been removed.",
118
- action: /* @__PURE__ */ T("button", {
119
- onClick: () => r(i + "/campaigns"),
123
+ action: /* @__PURE__ */ C("button", {
124
+ onClick: () => i(M + "/campaigns"),
120
125
  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",
121
- children: [/* @__PURE__ */ w(g, { className: "h-4 w-4" }), "Back to Campaigns"]
126
+ children: [/* @__PURE__ */ S(h, { className: "h-4 w-4" }), "Back to Campaigns"]
122
127
  })
123
128
  })
124
129
  })
125
130
  });
126
- let K = B.budget.total > 0 ? Math.round(B.budget.spent / B.budget.total * 100) : 0, q = new Date(B.timeline.startDate), J = new Date(B.timeline.endDate), Re = /* @__PURE__ */ new Date(), Y = Math.max(1, Math.ceil((J.getTime() - q.getTime()) / 864e5)), X = Math.max(0, Math.ceil((Re.getTime() - q.getTime()) / 864e5)), ze = Math.max(0, Y - X), Z = Math.min(Math.round(X / Y * 100), 100), Q = B.team, $ = B.assets.filter((e) => e.match(/\.(pdf|docx?|xlsx?|pptx?|txt|csv|rtf|odt|ods)$/i)), Be = ce(B);
127
- return /* @__PURE__ */ T(f, {
131
+ let K = B.budget.total > 0 ? Math.round(B.budget.spent / B.budget.total * 100) : 0, q = new Date(B.timeline.startDate), J = new Date(B.timeline.endDate), Be = /* @__PURE__ */ new Date(), Y = Math.max(1, Math.ceil((J.getTime() - q.getTime()) / 864e5)), X = Math.max(0, Math.ceil((Be.getTime() - q.getTime()) / 864e5)), Ve = Math.max(0, Y - X), Z = Math.min(Math.round(X / Y * 100), 100), Q = B.team, $ = B.assets.filter((e) => e.match(/\.(pdf|docx?|xlsx?|pptx?|txt|csv|rtf|odt|ods)$/i)), He = le(B);
132
+ return /* @__PURE__ */ C(d, {
128
133
  title: B.name,
129
134
  description: B.description,
130
- actions: /* @__PURE__ */ T("div", {
135
+ actions: /* @__PURE__ */ C("div", {
131
136
  className: "flex flex-wrap items-center gap-2",
132
137
  children: [
133
- /* @__PURE__ */ w(le, { status: B.status }),
134
- /* @__PURE__ */ T("button", {
135
- onClick: () => r(i + "/campaigns"),
138
+ /* @__PURE__ */ S(ue, { status: B.status }),
139
+ /* @__PURE__ */ C("button", {
140
+ onClick: () => i(M + "/campaigns"),
136
141
  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",
137
- children: [/* @__PURE__ */ w(g, { className: "h-4 w-4" }), "Back"]
142
+ children: [/* @__PURE__ */ S(h, { className: "h-4 w-4" }), "Back"]
138
143
  }),
139
- /* @__PURE__ */ T("button", {
140
- onClick: () => r(i + "/campaigns/" + B.id + "/edit"),
144
+ /* @__PURE__ */ C("button", {
145
+ onClick: () => i(M + "/campaigns/" + B.id + "/edit"),
141
146
  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",
142
- children: [/* @__PURE__ */ w(v, { className: "h-4 w-4" }), "Edit"]
147
+ children: [/* @__PURE__ */ S(_, { className: "h-4 w-4" }), "Edit"]
143
148
  }),
144
- /* @__PURE__ */ w(E, {
149
+ /* @__PURE__ */ S(w, {
145
150
  align: "end",
146
151
  actions: [
147
152
  {
148
153
  label: H ? "Resume" : "Pause",
149
- icon: w(H ? be : ye, { className: "h-4 w-4" }),
154
+ icon: S(H ? xe : be, { className: "h-4 w-4" }),
150
155
  disabled: U,
151
- onSelect: () => void G(H ? l.Active : l.Paused)
156
+ onSelect: () => void G(H ? c.Active : c.Paused)
152
157
  },
153
158
  {
154
159
  label: "Duplicate",
155
- icon: /* @__PURE__ */ w(ve, { className: "h-4 w-4" }),
160
+ icon: /* @__PURE__ */ S(ye, { className: "h-4 w-4" }),
156
161
  disabled: U,
157
- onSelect: () => void Ie()
162
+ onSelect: () => void Re()
158
163
  },
159
164
  {
160
165
  label: "Archive",
161
- icon: /* @__PURE__ */ w(he, { className: "h-4 w-4" }),
162
- disabled: U || Me,
163
- onSelect: () => void G(l.Archived)
166
+ icon: /* @__PURE__ */ S(ge, { className: "h-4 w-4" }),
167
+ disabled: U || Pe,
168
+ onSelect: () => void G(c.Archived)
164
169
  },
165
170
  {
166
171
  label: "Delete",
167
- icon: /* @__PURE__ */ w(xe, { className: "h-4 w-4" }),
172
+ icon: /* @__PURE__ */ S(Se, { className: "h-4 w-4" }),
168
173
  intent: "destructive",
169
174
  disabled: U,
170
- onSelect: () => void Le()
175
+ onSelect: () => void ze()
171
176
  }
172
177
  ]
173
178
  })
174
179
  ]
175
180
  }),
176
181
  children: [
177
- /* @__PURE__ */ w(k, { children: "Everything about this campaign in one workspace — track budget pacing and ROAS, review performance trends, audience targeting, creative assets and the team working on it. Use the tabs below to dig into each area." }),
178
- /* @__PURE__ */ w(D, { children: /* @__PURE__ */ T("div", {
182
+ /* @__PURE__ */ S(D, { children: "Everything about this campaign in one workspace — track budget pacing and ROAS, review performance trends, audience targeting, creative assets and the team working on it. Use the tabs below to dig into each area." }),
183
+ /* @__PURE__ */ S(T, { children: /* @__PURE__ */ C("div", {
179
184
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",
180
185
  children: [
181
- /* @__PURE__ */ w(p, {
186
+ /* @__PURE__ */ S(f, {
182
187
  title: "Revenue",
183
- value: d(B.metrics.revenue),
184
- icon: /* @__PURE__ */ w(_, { className: "h-5 w-5" })
188
+ value: u(B.metrics.revenue),
189
+ icon: /* @__PURE__ */ S(g, { className: "h-5 w-5" })
185
190
  }),
186
- /* @__PURE__ */ w(p, {
191
+ /* @__PURE__ */ S(f, {
187
192
  title: "Conversions",
188
- value: oe(B.metrics.conversions),
189
- icon: /* @__PURE__ */ w(x, { className: "h-5 w-5" })
193
+ value: se(B.metrics.conversions),
194
+ icon: /* @__PURE__ */ S(b, { className: "h-5 w-5" })
190
195
  }),
191
- /* @__PURE__ */ w(p, {
196
+ /* @__PURE__ */ S(f, {
192
197
  title: "ROAS",
193
198
  value: `${B.metrics.roas.toFixed(1)}x`,
194
- icon: /* @__PURE__ */ w(S, { className: "h-5 w-5" })
199
+ icon: /* @__PURE__ */ S(x, { className: "h-5 w-5" })
195
200
  }),
196
- /* @__PURE__ */ w(p, {
201
+ /* @__PURE__ */ S(f, {
197
202
  title: "Budget Used",
198
203
  value: `${K}%`,
199
- icon: /* @__PURE__ */ w(_, { className: "h-5 w-5" }),
204
+ icon: /* @__PURE__ */ S(g, { className: "h-5 w-5" }),
200
205
  className: "relative"
201
206
  }),
202
- /* @__PURE__ */ w(p, {
207
+ /* @__PURE__ */ S(f, {
203
208
  title: "Days Remaining",
204
- value: String(ze),
205
- icon: /* @__PURE__ */ w(ge, { className: "h-5 w-5" })
209
+ value: String(Ve),
210
+ icon: /* @__PURE__ */ S(_e, { className: "h-5 w-5" })
206
211
  })
207
212
  ]
208
213
  }) }),
209
- /* @__PURE__ */ w(O, {
214
+ /* @__PURE__ */ S(E, {
210
215
  storageKey: "headshotmarketing-campaign-details",
211
216
  steps: [
212
217
  {
213
218
  id: "analytics",
214
219
  label: "Review performance",
215
220
  description: "See revenue, cost and conversion trends over time.",
216
- icon: /* @__PURE__ */ w(S, { className: "h-4 w-4" }),
221
+ icon: /* @__PURE__ */ S(x, { className: "h-4 w-4" }),
217
222
  onClick: () => I("analytics")
218
223
  },
219
224
  {
220
225
  id: "audience",
221
226
  label: "Check audience targeting",
222
227
  description: "Confirm demographics, interests and locations.",
223
- icon: /* @__PURE__ */ w(x, { className: "h-4 w-4" }),
228
+ icon: /* @__PURE__ */ S(b, { className: "h-4 w-4" }),
224
229
  onClick: () => I("audience")
225
230
  },
226
231
  {
227
232
  id: "edit",
228
233
  label: "Adjust budget or schedule",
229
234
  description: "Open the campaign editor to refine the setup.",
230
- icon: /* @__PURE__ */ w(v, { className: "h-4 w-4" }),
231
- onClick: () => r(i + "/campaigns/" + B.id + "/edit")
235
+ icon: /* @__PURE__ */ S(_, { className: "h-4 w-4" }),
236
+ onClick: () => i(M + "/campaigns/" + B.id + "/edit")
232
237
  }
233
238
  ]
234
239
  }),
235
- L && /* @__PURE__ */ w("div", {
240
+ L && /* @__PURE__ */ S("div", {
236
241
  className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
237
242
  children: L
238
243
  }),
239
- /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("div", {
244
+ /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("div", {
240
245
  className: "flex flex-nowrap items-center gap-1 overflow-x-auto border-b border-border-subtle",
241
246
  children: [
242
247
  {
@@ -259,165 +264,165 @@ var N = () => {
259
264
  key: "team",
260
265
  label: "Team"
261
266
  }
262
- ].map((e) => /* @__PURE__ */ w("button", {
267
+ ].map((e) => /* @__PURE__ */ S("button", {
263
268
  onClick: () => I(e.key),
264
- className: u("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", F === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
269
+ className: l("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", F === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
265
270
  children: e.label
266
271
  }, e.key))
267
- }), /* @__PURE__ */ T("div", {
272
+ }), /* @__PURE__ */ C("div", {
268
273
  className: "mt-6",
269
274
  children: [
270
- F === "overview" && /* @__PURE__ */ T("div", {
275
+ F === "overview" && /* @__PURE__ */ C("div", {
271
276
  className: "space-y-6",
272
277
  children: [
273
- /* @__PURE__ */ T("div", {
278
+ /* @__PURE__ */ C("div", {
274
279
  className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
275
- children: [/* @__PURE__ */ T("div", {
280
+ children: [/* @__PURE__ */ C("div", {
276
281
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
277
282
  children: [
278
- /* @__PURE__ */ T("h4", {
283
+ /* @__PURE__ */ C("h4", {
279
284
  className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
280
- children: [/* @__PURE__ */ w(_e, { className: "h-4 w-4 text-text-secondary" }), "Timeline Progress"]
285
+ children: [/* @__PURE__ */ S(ve, { className: "h-4 w-4 text-text-secondary" }), "Timeline Progress"]
281
286
  }),
282
- /* @__PURE__ */ T("div", {
287
+ /* @__PURE__ */ C("div", {
283
288
  className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
284
289
  children: [
285
- /* @__PURE__ */ w("span", { children: q.toLocaleDateString() }),
286
- /* @__PURE__ */ T("span", { children: [Z, "%"] }),
287
- /* @__PURE__ */ w("span", { children: J.toLocaleDateString() })
290
+ /* @__PURE__ */ S("span", { children: q.toLocaleDateString() }),
291
+ /* @__PURE__ */ C("span", { children: [Z, "%"] }),
292
+ /* @__PURE__ */ S("span", { children: J.toLocaleDateString() })
288
293
  ]
289
294
  }),
290
- /* @__PURE__ */ w("div", {
295
+ /* @__PURE__ */ S("div", {
291
296
  className: "h-2.5 w-full rounded-full bg-bg-sunken",
292
- children: /* @__PURE__ */ w("div", {
297
+ children: /* @__PURE__ */ S("div", {
293
298
  className: "h-2.5 rounded-full bg-action-primary-bg transition-all",
294
299
  style: { width: `${Z}%` }
295
300
  })
296
301
  })
297
302
  ]
298
- }), /* @__PURE__ */ T("div", {
303
+ }), /* @__PURE__ */ C("div", {
299
304
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
300
305
  children: [
301
- /* @__PURE__ */ T("h4", {
306
+ /* @__PURE__ */ C("h4", {
302
307
  className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
303
- children: [/* @__PURE__ */ w(_, { className: "h-4 w-4 text-text-secondary" }), "Budget Progress"]
308
+ children: [/* @__PURE__ */ S(g, { className: "h-4 w-4 text-text-secondary" }), "Budget Progress"]
304
309
  }),
305
- /* @__PURE__ */ T("div", {
310
+ /* @__PURE__ */ C("div", {
306
311
  className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
307
312
  children: [
308
- /* @__PURE__ */ T("span", { children: [d(B.budget.spent), " spent"] }),
309
- /* @__PURE__ */ T("span", { children: [K, "%"] }),
310
- /* @__PURE__ */ T("span", { children: [d(B.budget.total), " total"] })
313
+ /* @__PURE__ */ C("span", { children: [u(B.budget.spent), " spent"] }),
314
+ /* @__PURE__ */ C("span", { children: [K, "%"] }),
315
+ /* @__PURE__ */ C("span", { children: [u(B.budget.total), " total"] })
311
316
  ]
312
317
  }),
313
- /* @__PURE__ */ w("div", {
318
+ /* @__PURE__ */ S("div", {
314
319
  className: "h-2.5 w-full rounded-full bg-bg-sunken",
315
- children: /* @__PURE__ */ w("div", {
316
- className: u("h-2.5 rounded-full transition-all", K >= 90 ? "bg-status-error-bg" : "bg-action-primary-bg"),
320
+ children: /* @__PURE__ */ S("div", {
321
+ className: l("h-2.5 rounded-full transition-all", K >= 90 ? "bg-status-error-bg" : "bg-action-primary-bg"),
317
322
  style: { width: `${K}%` }
318
323
  })
319
324
  })
320
325
  ]
321
326
  })]
322
327
  }),
323
- /* @__PURE__ */ T("div", {
328
+ /* @__PURE__ */ C("div", {
324
329
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
325
- children: [/* @__PURE__ */ w("h4", {
330
+ children: [/* @__PURE__ */ S("h4", {
326
331
  className: "text-sm font-semibold text-text-primary mb-3",
327
332
  children: "Active Channels"
328
- }), /* @__PURE__ */ w("div", {
333
+ }), /* @__PURE__ */ S("div", {
329
334
  className: "flex flex-wrap gap-2",
330
- children: B.channels.map((e) => /* @__PURE__ */ w("span", {
335
+ children: B.channels.map((e) => /* @__PURE__ */ S("span", {
331
336
  className: "inline-flex items-center rounded-full bg-bg-sunken px-3 py-1 text-xs font-medium text-text-primary",
332
337
  children: e
333
338
  }, e))
334
339
  })]
335
340
  }),
336
- /* @__PURE__ */ T("div", {
341
+ /* @__PURE__ */ C("div", {
337
342
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
338
- children: [/* @__PURE__ */ T("h4", {
343
+ children: [/* @__PURE__ */ C("h4", {
339
344
  className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
340
- children: [/* @__PURE__ */ w(me, { className: "h-4 w-4 text-text-secondary" }), "Recent Activity"]
341
- }), Pe && W.length === 0 ? /* @__PURE__ */ w("div", {
345
+ children: [/* @__PURE__ */ S(he, { className: "h-4 w-4 text-text-secondary" }), "Recent Activity"]
346
+ }), Ie && W.length === 0 ? /* @__PURE__ */ S("div", {
342
347
  className: "space-y-3 py-2",
343
348
  children: [
344
349
  0,
345
350
  1,
346
351
  2
347
- ].map((e) => /* @__PURE__ */ w("div", { className: "h-10 rounded-md bg-bg-sunken/50 animate-pulse" }, e))
348
- }) : W.length > 0 ? /* @__PURE__ */ w("ul", {
352
+ ].map((e) => /* @__PURE__ */ S("div", { className: "h-10 rounded-md bg-bg-sunken/50 animate-pulse" }, e))
353
+ }) : W.length > 0 ? /* @__PURE__ */ S("ul", {
349
354
  className: "space-y-3",
350
- children: W.map((e) => /* @__PURE__ */ T("li", {
355
+ children: W.map((e) => /* @__PURE__ */ C("li", {
351
356
  className: "flex items-start gap-3",
352
- children: [/* @__PURE__ */ w("span", { className: "mt-1 h-2 w-2 flex-shrink-0 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ T("div", {
357
+ children: [/* @__PURE__ */ S("span", { className: "mt-1 h-2 w-2 flex-shrink-0 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ C("div", {
353
358
  className: "min-w-0 flex-1",
354
- children: [/* @__PURE__ */ w("p", {
359
+ children: [/* @__PURE__ */ S("p", {
355
360
  className: "text-sm text-text-primary break-words",
356
- children: e.description ?? j(e.action)
357
- }), /* @__PURE__ */ w("p", {
361
+ children: e.description ?? A(e.action)
362
+ }), /* @__PURE__ */ S("p", {
358
363
  className: "text-xs text-text-secondary",
359
- children: ae(e.timestamp, "relative")
364
+ children: oe(e.timestamp, "relative")
360
365
  })]
361
366
  })]
362
367
  }, e.id))
363
- }) : /* @__PURE__ */ w("p", {
368
+ }) : /* @__PURE__ */ S("p", {
364
369
  className: "text-sm text-text-secondary py-4 text-center",
365
- children: Fe ? "Activity is unavailable right now." : "No recent activity yet."
370
+ children: Le ? "Activity is unavailable right now." : "No recent activity yet."
366
371
  })]
367
372
  })
368
373
  ]
369
374
  }),
370
- F === "analytics" && /* @__PURE__ */ w(ue, {
375
+ F === "analytics" && /* @__PURE__ */ S(de, {
371
376
  title: "Performance Over Time",
372
377
  subtitle: "Revenue, cost, and conversions trend",
373
- children: /* @__PURE__ */ w(e, {
378
+ children: /* @__PURE__ */ S(e, {
374
379
  width: "100%",
375
380
  height: 350,
376
- children: /* @__PURE__ */ T(t, {
377
- data: Be,
381
+ children: /* @__PURE__ */ C(t, {
382
+ data: He,
378
383
  children: [
379
- /* @__PURE__ */ w(ne, {
384
+ /* @__PURE__ */ S(ne, {
380
385
  strokeDasharray: "3 3",
381
386
  className: "stroke-border"
382
387
  }),
383
- /* @__PURE__ */ w(ee, {
388
+ /* @__PURE__ */ S(ee, {
384
389
  dataKey: "date",
385
390
  tick: { fontSize: 11 },
386
391
  className: "text-text-secondary",
387
392
  tickFormatter: (e) => e.slice(5)
388
393
  }),
389
- /* @__PURE__ */ w(te, {
394
+ /* @__PURE__ */ S(te, {
390
395
  tick: { fontSize: 11 },
391
396
  className: "text-text-secondary"
392
397
  }),
393
- /* @__PURE__ */ w(re, { contentStyle: {
398
+ /* @__PURE__ */ S(re, { contentStyle: {
394
399
  backgroundColor: "var(--color-card)",
395
400
  border: "1px solid var(--color-border)",
396
401
  borderRadius: 8
397
402
  } }),
398
- /* @__PURE__ */ w(n, {
403
+ /* @__PURE__ */ S(n, {
399
404
  type: "monotone",
400
405
  dataKey: "revenue",
401
- stroke: M[0],
402
- fill: M[0],
406
+ stroke: j[0],
407
+ fill: j[0],
403
408
  fillOpacity: .15,
404
409
  strokeWidth: 2,
405
410
  name: "Revenue"
406
411
  }),
407
- /* @__PURE__ */ w(n, {
412
+ /* @__PURE__ */ S(n, {
408
413
  type: "monotone",
409
414
  dataKey: "cost",
410
- stroke: M[3],
411
- fill: M[3],
415
+ stroke: j[3],
416
+ fill: j[3],
412
417
  fillOpacity: .1,
413
418
  strokeWidth: 2,
414
419
  name: "Cost"
415
420
  }),
416
- /* @__PURE__ */ w(n, {
421
+ /* @__PURE__ */ S(n, {
417
422
  type: "monotone",
418
423
  dataKey: "conversions",
419
- stroke: M[1],
420
- fill: M[1],
424
+ stroke: j[1],
425
+ fill: j[1],
421
426
  fillOpacity: .1,
422
427
  strokeWidth: 2,
423
428
  name: "Conversions"
@@ -426,30 +431,30 @@ var N = () => {
426
431
  })
427
432
  })
428
433
  }),
429
- F === "audience" && /* @__PURE__ */ T("div", {
434
+ F === "audience" && /* @__PURE__ */ C("div", {
430
435
  className: "space-y-6",
431
- children: [/* @__PURE__ */ T("div", {
436
+ children: [/* @__PURE__ */ C("div", {
432
437
  className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
433
438
  children: [
434
- /* @__PURE__ */ T("div", {
439
+ /* @__PURE__ */ C("div", {
435
440
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
436
- children: [/* @__PURE__ */ w("h4", {
441
+ children: [/* @__PURE__ */ S("h4", {
437
442
  className: "text-sm font-semibold text-text-primary mb-3",
438
443
  children: "Demographics"
439
- }), /* @__PURE__ */ T("div", {
444
+ }), /* @__PURE__ */ C("div", {
440
445
  className: "space-y-2",
441
- children: [B.targeting.demographics.map((e) => /* @__PURE__ */ T("div", {
446
+ children: [B.targeting.demographics.map((e) => /* @__PURE__ */ C("div", {
442
447
  className: "flex items-center gap-2",
443
- children: [/* @__PURE__ */ w("div", { className: "h-2 w-2 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ w("span", {
448
+ children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ S("span", {
444
449
  className: "text-sm text-text-primary",
445
450
  children: e
446
451
  })]
447
- }, e)), /* @__PURE__ */ T("div", {
452
+ }, e)), /* @__PURE__ */ C("div", {
448
453
  className: "pt-2 border-t border-border-subtle mt-2",
449
- children: [/* @__PURE__ */ w("p", {
454
+ children: [/* @__PURE__ */ S("p", {
450
455
  className: "text-xs text-text-secondary",
451
456
  children: "Age Range"
452
- }), /* @__PURE__ */ T("p", {
457
+ }), /* @__PURE__ */ C("p", {
453
458
  className: "text-sm font-medium text-text-primary",
454
459
  children: [
455
460
  B.targeting.ageRange.min,
@@ -461,32 +466,32 @@ var N = () => {
461
466
  })]
462
467
  })]
463
468
  }),
464
- /* @__PURE__ */ T("div", {
469
+ /* @__PURE__ */ C("div", {
465
470
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
466
- children: [/* @__PURE__ */ w("h4", {
471
+ children: [/* @__PURE__ */ S("h4", {
467
472
  className: "text-sm font-semibold text-text-primary mb-3",
468
473
  children: "Interests"
469
- }), /* @__PURE__ */ w("div", {
474
+ }), /* @__PURE__ */ S("div", {
470
475
  className: "space-y-2",
471
- children: B.targeting.interests.map((e) => /* @__PURE__ */ T("div", {
476
+ children: B.targeting.interests.map((e) => /* @__PURE__ */ C("div", {
472
477
  className: "flex items-center gap-2",
473
- children: [/* @__PURE__ */ w("div", { className: "h-2 w-2 rounded-full bg-status-success-text" }), /* @__PURE__ */ w("span", {
478
+ children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-status-success-text" }), /* @__PURE__ */ S("span", {
474
479
  className: "text-sm text-text-primary",
475
480
  children: e
476
481
  })]
477
482
  }, e))
478
483
  })]
479
484
  }),
480
- /* @__PURE__ */ T("div", {
485
+ /* @__PURE__ */ C("div", {
481
486
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
482
- children: [/* @__PURE__ */ w("h4", {
487
+ children: [/* @__PURE__ */ S("h4", {
483
488
  className: "text-sm font-semibold text-text-primary mb-3",
484
489
  children: "Locations"
485
- }), /* @__PURE__ */ w("div", {
490
+ }), /* @__PURE__ */ S("div", {
486
491
  className: "space-y-2",
487
- children: B.targeting.locations.map((e) => /* @__PURE__ */ T("div", {
492
+ children: B.targeting.locations.map((e) => /* @__PURE__ */ C("div", {
488
493
  className: "flex items-center gap-2",
489
- children: [/* @__PURE__ */ w("div", { className: "h-2 w-2 rounded-full bg-status-warning-text" }), /* @__PURE__ */ w("span", {
494
+ children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-status-warning-text" }), /* @__PURE__ */ S("span", {
490
495
  className: "text-sm text-text-primary",
491
496
  children: e
492
497
  })]
@@ -494,69 +499,69 @@ var N = () => {
494
499
  })]
495
500
  })
496
501
  ]
497
- }), /* @__PURE__ */ w(pe, {
502
+ }), /* @__PURE__ */ S(me, {
498
503
  campaignId: B.id,
499
504
  campaignName: B.name
500
505
  })]
501
506
  }),
502
- F === "assets" && /* @__PURE__ */ T("div", {
507
+ F === "assets" && /* @__PURE__ */ C("div", {
503
508
  className: "space-y-6",
504
- children: [/* @__PURE__ */ T("div", {
509
+ children: [/* @__PURE__ */ C("div", {
505
510
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
506
- children: [/* @__PURE__ */ T("h4", {
511
+ children: [/* @__PURE__ */ C("h4", {
507
512
  className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
508
- children: [/* @__PURE__ */ w(b, { className: "h-4 w-4 text-text-secondary" }), "Images & Media"]
509
- }), /* @__PURE__ */ w("div", {
513
+ children: [/* @__PURE__ */ S(y, { className: "h-4 w-4 text-text-secondary" }), "Images & Media"]
514
+ }), /* @__PURE__ */ S("div", {
510
515
  className: "grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4",
511
- children: B.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).length > 0 ? B.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).map((e) => /* @__PURE__ */ w("div", {
516
+ children: B.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).length > 0 ? B.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).map((e) => /* @__PURE__ */ S("div", {
512
517
  className: "aspect-video rounded-lg border border-border-subtle bg-bg-sunken flex items-center justify-center",
513
- children: /* @__PURE__ */ w(b, { className: "h-8 w-8 text-text-secondary" })
518
+ children: /* @__PURE__ */ S(y, { className: "h-8 w-8 text-text-secondary" })
514
519
  }, e)) : [
515
520
  1,
516
521
  2,
517
522
  3
518
- ].map((e) => /* @__PURE__ */ w("div", {
523
+ ].map((e) => /* @__PURE__ */ S("div", {
519
524
  className: "aspect-video rounded-lg border border-dashed border-border-subtle bg-bg-sunken/30 flex items-center justify-center",
520
- children: /* @__PURE__ */ w(b, { className: "h-8 w-8 text-text-secondary/50" })
525
+ children: /* @__PURE__ */ S(y, { className: "h-8 w-8 text-text-secondary/50" })
521
526
  }, e))
522
527
  })]
523
- }), /* @__PURE__ */ T("div", {
528
+ }), /* @__PURE__ */ C("div", {
524
529
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
525
- children: [/* @__PURE__ */ T("h4", {
530
+ children: [/* @__PURE__ */ C("h4", {
526
531
  className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
527
- children: [/* @__PURE__ */ w(y, { className: "h-4 w-4 text-text-secondary" }), "Documents"]
528
- }), $.length > 0 ? /* @__PURE__ */ w("div", {
532
+ children: [/* @__PURE__ */ S(v, { className: "h-4 w-4 text-text-secondary" }), "Documents"]
533
+ }), $.length > 0 ? /* @__PURE__ */ S("div", {
529
534
  className: "space-y-2",
530
- children: $.map((e) => /* @__PURE__ */ w("div", {
535
+ children: $.map((e) => /* @__PURE__ */ S("div", {
531
536
  className: "flex items-center justify-between rounded-md border border-border-subtle p-3 hover:bg-bg-sunken/50 transition-colors",
532
- children: /* @__PURE__ */ T("div", {
537
+ children: /* @__PURE__ */ C("div", {
533
538
  className: "flex items-center gap-3",
534
- children: [/* @__PURE__ */ w(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ w("p", {
539
+ children: [/* @__PURE__ */ S(v, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ S("p", {
535
540
  className: "text-sm font-medium text-text-primary break-all",
536
541
  children: e.split("/").pop() ?? e
537
542
  })]
538
543
  })
539
544
  }, e))
540
- }) : /* @__PURE__ */ w("p", {
545
+ }) : /* @__PURE__ */ S("p", {
541
546
  className: "text-sm text-text-secondary py-4 text-center",
542
547
  children: "No documents yet."
543
548
  })]
544
549
  })]
545
550
  }),
546
- F === "team" && /* @__PURE__ */ T("div", {
551
+ F === "team" && /* @__PURE__ */ C("div", {
547
552
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
548
- children: [Q.map((e) => /* @__PURE__ */ T("div", {
553
+ children: [Q.map((e) => /* @__PURE__ */ C("div", {
549
554
  className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop flex items-center gap-4",
550
- children: [/* @__PURE__ */ w("div", {
555
+ children: [/* @__PURE__ */ S("div", {
551
556
  className: "h-12 w-12 rounded-full bg-action-primary-bg/10 flex items-center justify-center text-sm font-semibold text-primary flex-shrink-0",
552
- children: Se(e)
553
- }), /* @__PURE__ */ w("div", { children: /* @__PURE__ */ w("p", {
557
+ children: we(e)
558
+ }), /* @__PURE__ */ S("div", { children: /* @__PURE__ */ S("p", {
554
559
  className: "text-sm font-semibold text-text-primary",
555
560
  children: e
556
561
  }) })]
557
- }, e)), Q.length === 0 && /* @__PURE__ */ w("div", {
562
+ }, e)), Q.length === 0 && /* @__PURE__ */ S("div", {
558
563
  className: "col-span-full",
559
- children: /* @__PURE__ */ w(m, {
564
+ children: /* @__PURE__ */ S(p, {
560
565
  illustration: "empty-people",
561
566
  title: "No team members",
562
567
  description: "No team members have been assigned to this campaign yet."
@@ -568,6 +573,6 @@ var N = () => {
568
573
  ]
569
574
  });
570
575
  };
571
- export { N as CampaignDetailsPage };
576
+ export { M as CampaignDetailsPage };
572
577
 
573
578
  //# sourceMappingURL=CampaignDetailsPage.js.map