@burdenoff/microfe-headshotmarketing 2026.624.1 → 2026.625.2

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 (101) hide show
  1. package/dist/headshotmarketing/components/ChartCard.js +11 -9
  2. package/dist/headshotmarketing/components/ChartCard.js.map +1 -1
  3. package/dist/headshotmarketing/components/DataTable.js +3 -3
  4. package/dist/headshotmarketing/components/DataTable.js.map +1 -1
  5. package/dist/headshotmarketing/components/EmptyState.js +17 -10
  6. package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
  7. package/dist/headshotmarketing/components/FilterBar.js +1 -1
  8. package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
  9. package/dist/headshotmarketing/components/Modal.js +2 -2
  10. package/dist/headshotmarketing/components/Modal.js.map +1 -1
  11. package/dist/headshotmarketing/components/StatCard.js +19 -16
  12. package/dist/headshotmarketing/components/StatCard.js.map +1 -1
  13. package/dist/headshotmarketing/components/StatusBadge.js +25 -25
  14. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  15. package/dist/headshotmarketing/pages/HomePage.js +259 -233
  16. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  17. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +239 -223
  18. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  19. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +167 -152
  20. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/ads/AdsPage.js +150 -111
  22. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +137 -122
  24. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  25. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +105 -103
  26. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  27. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +49 -47
  28. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +106 -104
  30. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  31. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +30 -28
  32. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  33. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +98 -86
  34. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  35. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +29 -27
  36. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  37. package/dist/headshotmarketing/pages/automation/AutomationPage.js +100 -61
  38. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  39. package/dist/headshotmarketing/pages/automation/TriggersPage.js +112 -101
  40. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +59 -57
  42. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +155 -139
  44. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +267 -262
  46. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +221 -192
  48. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +88 -94
  50. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +162 -149
  52. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +142 -140
  54. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/content/AIToolsPage.js +86 -78
  56. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +59 -47
  58. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +30 -28
  60. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +46 -44
  62. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/content/ContentPage.js +85 -78
  64. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/crm/ContactsPage.js +227 -212
  66. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  67. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +63 -62
  68. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +76 -75
  70. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/crm/CrmPage.js +170 -128
  72. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/crm/LeadsPage.js +60 -53
  74. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/crm/PipelinePage.js +185 -169
  76. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/events/CreateEventPage.js +344 -339
  78. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/events/EventsPage.js +107 -94
  80. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
  82. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +105 -97
  84. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +62 -34
  86. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  87. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +203 -188
  88. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  89. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +134 -127
  90. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  91. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +40 -38
  92. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  93. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +74 -73
  94. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  95. package/dist/headshotmarketing/pages/social-media/PostsPage.js +160 -148
  96. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  97. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +41 -40
  98. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  99. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +121 -93
  100. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  101. package/package.json +2 -2
@@ -2,327 +2,353 @@ import { useHeadshotMarketing as e } from "../context/HeadshotMarketingContext.j
2
2
  import { Tooltip as t } from "../../node_modules/recharts/es6/component/Tooltip.js";
3
3
  import { ResponsiveContainer as n } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
4
4
  import { Cell as r } from "../../node_modules/recharts/es6/component/Cell.js";
5
- import { Pie as ee } from "../../node_modules/recharts/es6/polar/Pie.js";
6
- import { CartesianGrid as i } from "../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
7
- import { Area as a } from "../../node_modules/recharts/es6/cartesian/Area.js";
8
- import { XAxis as o } from "../../node_modules/recharts/es6/cartesian/XAxis.js";
9
- import { YAxis as s } from "../../node_modules/recharts/es6/cartesian/YAxis.js";
10
- import { PieChart as c } from "../../node_modules/recharts/es6/chart/PieChart.js";
11
- import { AreaChart as l } from "../../node_modules/recharts/es6/chart/AreaChart.js";
12
- import { useHeadshotmarketingBootstrapDataQuery as u } from "../../generated/wspace-operations.js";
13
- import { cn as d, formatCurrency as f, formatNumber as p } from "../utils/helpers.js";
14
- import { toCampaignModel as te } from "../utils/campaignMapper.js";
15
- import { toAdCampaignModel as ne } from "../utils/adsMapper.js";
16
- import { toCampaignTimeSeries as re, toChannelPerformance as m } from "../utils/analyticsMapper.js";
17
- import { PageLayout as h } from "../components/PageLayout.js";
18
- import { StatCard as g } from "../components/StatCard.js";
19
- import { DataTable as _ } from "../components/DataTable.js";
20
- import { StatusBadge as v } from "../components/StatusBadge.js";
21
- import { ChartCard as y } from "../components/ChartCard.js";
5
+ import { Pie as i } from "../../node_modules/recharts/es6/polar/Pie.js";
6
+ import { CartesianGrid as a } from "../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
7
+ import { Area as o } from "../../node_modules/recharts/es6/cartesian/Area.js";
8
+ import { XAxis as s } from "../../node_modules/recharts/es6/cartesian/XAxis.js";
9
+ import { YAxis as ee } from "../../node_modules/recharts/es6/cartesian/YAxis.js";
10
+ import { PieChart as te } from "../../node_modules/recharts/es6/chart/PieChart.js";
11
+ import { AreaChart as ne } from "../../node_modules/recharts/es6/chart/AreaChart.js";
12
+ import { useHeadshotmarketingBootstrapDataQuery as c } from "../../generated/wspace-operations.js";
13
+ import { cn as l, formatCurrency as u, formatNumber as d } from "../utils/helpers.js";
14
+ import { toCampaignModel as f } from "../utils/campaignMapper.js";
15
+ import { toAdCampaignModel as re } from "../utils/adsMapper.js";
16
+ import { toCampaignTimeSeries as p, toChannelPerformance as m } from "../utils/analyticsMapper.js";
17
+ import { StatCard as h } from "../components/StatCard.js";
18
+ import { DataTable as g } from "../components/DataTable.js";
19
+ import { StatusBadge as ie } from "../components/StatusBadge.js";
20
+ import { ChartCard as _ } from "../components/ChartCard.js";
22
21
  import "../components/index.js";
23
- import { useState as ie } from "react";
24
- import { AlertCircle as b, AlertTriangle as x, CheckCircle2 as S, DollarSign as C, Download as w, Heart as T, Info as E, Megaphone as D, Percent as O, RefreshCw as k, ShoppingCart as A, Target as j, TrendingUp as M, Users as N } from "lucide-react";
25
- import { useI18n as P } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
26
- import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
22
+ import { useState as ae } from "react";
23
+ import { AlertCircle as v, AlertTriangle as y, CheckCircle2 as b, DollarSign as x, Download as S, Heart as C, Info as w, Megaphone as T, Percent as E, RefreshCw as D, ShoppingCart as O, Target as k, TrendingUp as A, Users as j } from "lucide-react";
24
+ import { useI18n as M } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
25
+ import { jsx as N, jsxs as P } from "react/jsx-runtime";
26
+ import { AuroraBackground as F, EmphasisPanel as I, GradientText as L, PagePurpose as R, ShowMore as z } from "@burdenoff/fe-libs/ui";
27
27
  //#region src/headshotmarketing/pages/HomePage.tsx
28
- var R = [
29
- "#3b82f6",
30
- "#10b981",
31
- "#f59e0b",
32
- "#ef4444",
33
- "#8b5cf6",
34
- "#ec4899"
35
- ], z = {
36
- success: S,
37
- warning: x,
38
- error: b,
39
- info: E
40
- }, B = {
41
- success: "border-green-200 bg-green-50 text-green-800",
42
- warning: "border-yellow-200 bg-yellow-50 text-yellow-800",
43
- error: "border-red-200 bg-red-50 text-red-800",
44
- info: "border-blue-200 bg-blue-50 text-blue-800"
45
- }, V = {
46
- success: "text-green-600",
47
- warning: "text-yellow-600",
48
- error: "text-red-600",
49
- info: "text-blue-600"
50
- }, H = () => {
51
- let { navigate: b, basePath: x } = e(), { t: S } = P(), H = (e, t) => {
52
- let n = S(e);
28
+ var B = [
29
+ "var(--color-chart-1)",
30
+ "var(--color-chart-2)",
31
+ "var(--color-chart-3)",
32
+ "var(--color-chart-4)",
33
+ "var(--color-chart-5)",
34
+ "var(--color-chart-6)"
35
+ ], V = {
36
+ success: b,
37
+ warning: y,
38
+ error: v,
39
+ info: w
40
+ }, H = {
41
+ success: "border-status-success-border bg-status-success-bg text-status-success-text",
42
+ warning: "border-status-warning-border bg-status-warning-bg text-status-warning-text",
43
+ error: "border-status-error-border bg-status-error-bg text-status-error-text",
44
+ info: "border-status-info-border bg-status-info-bg text-status-info-text"
45
+ }, U = {
46
+ success: "text-status-success-text",
47
+ warning: "text-status-warning-text",
48
+ error: "text-status-error-text",
49
+ info: "text-status-info-text"
50
+ }, W = () => {
51
+ let { navigate: v, basePath: y } = e(), { t: b } = M(), W = (e, t) => {
52
+ let n = b(e);
53
53
  return n === e ? t : n;
54
- }, { data: U } = u({ variables: {
54
+ }, { data: G } = c({ variables: {
55
55
  limit: 200,
56
56
  offset: 0
57
- } }), [W, G] = ie("overview"), K = (U?.headshotmarketingCampaigns.items ?? []).map((e) => te(e)), q = (U?.headshotmarketingAdCampaigns.items ?? []).map((e) => ne(e)), J = re(K), Y = m(K, q), ae = [
57
+ } }), [K, q] = ae("overview"), J = (G?.headshotmarketingCampaigns.items ?? []).map((e) => f(e)), oe = (G?.headshotmarketingAdCampaigns.items ?? []).map((e) => re(e)), se = p(J), Y = m(J, oe), ce = [
58
58
  {
59
- label: H("headshotmarketing.home.goals.revenue", "Revenue"),
59
+ label: W("headshotmarketing.home.goals.revenue", "Revenue"),
60
60
  percent: 78
61
61
  },
62
62
  {
63
- label: H("headshotmarketing.home.goals.customers", "Customers"),
63
+ label: W("headshotmarketing.home.goals.customers", "Customers"),
64
64
  percent: 65
65
65
  },
66
66
  {
67
- label: H("headshotmarketing.home.goals.roi", "ROI"),
67
+ label: W("headshotmarketing.home.goals.roi", "ROI"),
68
68
  percent: 82
69
69
  },
70
70
  {
71
- label: H("headshotmarketing.home.goals.traffic", "Traffic"),
71
+ label: W("headshotmarketing.home.goals.traffic", "Traffic"),
72
72
  percent: 91
73
73
  }
74
- ], oe = [
74
+ ], le = [
75
75
  {
76
- device: H("headshotmarketing.home.devices.desktop", "Desktop"),
76
+ device: W("headshotmarketing.home.devices.desktop", "Desktop"),
77
77
  sessions: 58
78
78
  },
79
79
  {
80
- device: H("headshotmarketing.home.devices.mobile", "Mobile"),
80
+ device: W("headshotmarketing.home.devices.mobile", "Mobile"),
81
81
  sessions: 32
82
82
  },
83
83
  {
84
- device: H("headshotmarketing.home.devices.tablet", "Tablet"),
84
+ device: W("headshotmarketing.home.devices.tablet", "Tablet"),
85
85
  sessions: 10
86
86
  }
87
- ], se = [
87
+ ], ue = [
88
88
  {
89
89
  key: "name",
90
- header: H("headshotmarketing.home.table.columns.name", "Name"),
90
+ header: W("headshotmarketing.home.table.columns.name", "Name"),
91
91
  sortable: !0
92
92
  },
93
93
  {
94
94
  key: "type",
95
- header: H("headshotmarketing.home.table.columns.type", "Type"),
95
+ header: W("headshotmarketing.home.table.columns.type", "Type"),
96
96
  sortable: !0,
97
- render: (e) => /* @__PURE__ */ I("span", {
97
+ render: (e) => /* @__PURE__ */ N("span", {
98
98
  className: "capitalize",
99
99
  children: e.type
100
100
  })
101
101
  },
102
102
  {
103
103
  key: "status",
104
- header: H("headshotmarketing.home.table.columns.status", "Status"),
105
- render: (e) => /* @__PURE__ */ I(v, { status: e.status })
104
+ header: W("headshotmarketing.home.table.columns.status", "Status"),
105
+ render: (e) => /* @__PURE__ */ N(ie, { status: e.status })
106
106
  },
107
107
  {
108
108
  key: "impressions",
109
- header: H("headshotmarketing.home.table.columns.impressions", "Impressions"),
109
+ header: W("headshotmarketing.home.table.columns.impressions", "Impressions"),
110
110
  sortable: !0,
111
- render: (e) => p(e.metrics.impressions)
111
+ render: (e) => d(e.metrics.impressions)
112
112
  },
113
113
  {
114
114
  key: "clicks",
115
- header: H("headshotmarketing.home.table.columns.clicks", "Clicks"),
115
+ header: W("headshotmarketing.home.table.columns.clicks", "Clicks"),
116
116
  sortable: !0,
117
- render: (e) => p(e.metrics.clicks)
117
+ render: (e) => d(e.metrics.clicks)
118
118
  },
119
119
  {
120
120
  key: "conversions",
121
- header: H("headshotmarketing.home.table.columns.conversions", "Conversions"),
121
+ header: W("headshotmarketing.home.table.columns.conversions", "Conversions"),
122
122
  sortable: !0,
123
- render: (e) => p(e.metrics.conversions)
123
+ render: (e) => d(e.metrics.conversions)
124
124
  },
125
125
  {
126
126
  key: "roas",
127
- header: H("headshotmarketing.home.table.columns.roas", "ROAS"),
127
+ header: W("headshotmarketing.home.table.columns.roas", "ROAS"),
128
128
  sortable: !0,
129
129
  render: (e) => `${e.metrics.roas.toFixed(1)}x`
130
130
  }
131
- ], X = K.reduce((e, t) => (e.revenue += t.metrics.revenue, e.conversions += t.metrics.conversions, e), {
131
+ ], X = J.reduce((e, t) => (e.revenue += t.metrics.revenue, e.conversions += t.metrics.conversions, e), {
132
132
  revenue: 0,
133
133
  conversions: 0
134
- }), Z = K.reduce((e, t) => e + t.metrics.cost, 0), Q = Z > 0 ? X.revenue / Z : 0, $ = {
134
+ }), Z = J.reduce((e, t) => e + t.metrics.cost, 0), Q = Z > 0 ? X.revenue / Z : 0, $ = {
135
135
  topChannels: Y,
136
136
  recentAlerts: [{
137
137
  id: "alert-1",
138
138
  type: Q >= 3 ? "success" : "warning",
139
- message: Q >= 3 ? H("headshotmarketing.home.alerts.roasHealthy", "ROAS is healthy across active channels.") : H("headshotmarketing.home.alerts.roasDropped", "ROAS dropped below target in this period."),
139
+ message: Q >= 3 ? W("headshotmarketing.home.alerts.roasHealthy", "ROAS is healthy across active channels.") : W("headshotmarketing.home.alerts.roasDropped", "ROAS dropped below target in this period."),
140
140
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
141
141
  }, {
142
142
  id: "alert-2",
143
- type: K.length > 0 ? "info" : "error",
144
- message: K.length > 0 ? `${K.length} ${H("headshotmarketing.home.alerts.campaignsTrackedSuffix", "campaigns are currently tracked.")}` : H("headshotmarketing.home.alerts.noCampaigns", "No campaigns found in workspace data."),
143
+ type: J.length > 0 ? "info" : "error",
144
+ message: J.length > 0 ? `${J.length} ${W("headshotmarketing.home.alerts.campaignsTrackedSuffix", "campaigns are currently tracked.")}` : W("headshotmarketing.home.alerts.noCampaigns", "No campaigns found in workspace data."),
145
145
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
146
146
  }]
147
- }, ce = [
147
+ }, de = [
148
148
  {
149
149
  key: "overview",
150
- label: H("headshotmarketing.home.tabs.overview", "Overview")
150
+ label: W("headshotmarketing.home.tabs.overview", "Overview")
151
151
  },
152
152
  {
153
153
  key: "performance",
154
- label: H("headshotmarketing.home.tabs.performance", "Performance")
154
+ label: W("headshotmarketing.home.tabs.performance", "Performance")
155
155
  },
156
156
  {
157
157
  key: "audience",
158
- label: H("headshotmarketing.home.tabs.audience", "Audience")
158
+ label: W("headshotmarketing.home.tabs.audience", "Audience")
159
159
  },
160
160
  {
161
161
  key: "campaigns",
162
- label: H("headshotmarketing.home.tabs.campaigns", "Campaigns")
162
+ label: W("headshotmarketing.home.tabs.campaigns", "Campaigns")
163
163
  }
164
164
  ];
165
- return /* @__PURE__ */ L(h, {
166
- title: H("headshotmarketing.home.title", "Dashboard"),
167
- actions: /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ L("button", {
168
- className: "inline-flex items-center gap-2 rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
169
- children: [/* @__PURE__ */ I(k, { className: "h-4 w-4" }), H("headshotmarketing.home.actions.refresh", "Refresh")]
170
- }), /* @__PURE__ */ L("button", {
171
- 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",
172
- children: [/* @__PURE__ */ I(w, { className: "h-4 w-4" }), H("headshotmarketing.home.actions.export", "Export")]
173
- })] }),
165
+ return /* @__PURE__ */ P("div", {
166
+ className: "space-y-6",
174
167
  children: [
175
- /* @__PURE__ */ L("div", {
168
+ /* @__PURE__ */ P("header", {
169
+ className: "relative overflow-hidden rounded-card border border-border-seam bg-gloss-card px-6 py-7 shadow-[var(--shadow-pop)] sm:px-8",
170
+ children: [/* @__PURE__ */ N(F, { intensity: "subtle" }), /* @__PURE__ */ P("div", {
171
+ className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
172
+ children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h1", {
173
+ className: "text-2xl font-bold tracking-tight text-text-primary sm:text-3xl",
174
+ children: /* @__PURE__ */ N(L, { children: W("headshotmarketing.home.title", "Dashboard") })
175
+ }), /* @__PURE__ */ N("p", {
176
+ className: "mt-1 text-sm text-text-secondary",
177
+ children: W("headshotmarketing.home.subtitle", "Your marketing performance at a glance.")
178
+ })] }), /* @__PURE__ */ P("div", {
179
+ className: "flex items-center gap-2",
180
+ children: [/* @__PURE__ */ P("button", {
181
+ type: "button",
182
+ className: "inline-flex min-h-[44px] items-center gap-2 rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-bg-sunken focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
183
+ children: [/* @__PURE__ */ N(D, {
184
+ className: "h-4 w-4",
185
+ "aria-hidden": "true"
186
+ }), W("headshotmarketing.home.actions.refresh", "Refresh")]
187
+ }), /* @__PURE__ */ P("button", {
188
+ type: "button",
189
+ className: "inline-flex min-h-[44px] items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text shadow-pop transition-colors hover:bg-action-primary-bg/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
190
+ children: [/* @__PURE__ */ N(S, {
191
+ className: "h-4 w-4",
192
+ "aria-hidden": "true"
193
+ }), W("headshotmarketing.home.actions.export", "Export")]
194
+ })]
195
+ })]
196
+ })]
197
+ }),
198
+ /* @__PURE__ */ N(R, { children: W("headshotmarketing.home.purpose", "Your marketing at a glance. This dashboard pulls revenue, active campaigns, conversions and ROAS into one view, then lets you dig into performance, audience and campaign detail — so you always know what's working and where to act next.") }),
199
+ /* @__PURE__ */ P("div", {
176
200
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
177
201
  children: [
178
- /* @__PURE__ */ I(g, {
179
- title: H("headshotmarketing.home.stats.totalRevenue", "Total Revenue"),
180
- value: f(X.revenue),
202
+ /* @__PURE__ */ N(h, {
203
+ featured: !0,
204
+ title: W("headshotmarketing.home.stats.totalRevenue", "Total Revenue"),
205
+ value: u(X.revenue),
181
206
  change: 12.5,
182
- changeLabel: H("headshotmarketing.common.vsLastMonth", "vs last month"),
183
- icon: /* @__PURE__ */ I(C, { className: "h-5 w-5" })
207
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
208
+ icon: /* @__PURE__ */ N(x, { className: "h-5 w-5" })
184
209
  }),
185
- /* @__PURE__ */ I(g, {
186
- title: H("headshotmarketing.home.stats.activeCampaigns", "Active Campaigns"),
187
- value: String(K.filter((e) => e.status === "active").length),
210
+ /* @__PURE__ */ N(h, {
211
+ title: W("headshotmarketing.home.stats.activeCampaigns", "Active Campaigns"),
212
+ value: String(J.filter((e) => e.status === "active").length),
188
213
  change: 8.3,
189
- changeLabel: H("headshotmarketing.common.vsLastMonth", "vs last month"),
190
- icon: /* @__PURE__ */ I(D, { className: "h-5 w-5" })
214
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
215
+ icon: /* @__PURE__ */ N(T, { className: "h-5 w-5" })
191
216
  }),
192
- /* @__PURE__ */ I(g, {
193
- title: H("headshotmarketing.home.stats.conversions", "Conversions"),
194
- value: p(X.conversions),
217
+ /* @__PURE__ */ N(h, {
218
+ title: W("headshotmarketing.home.stats.conversions", "Conversions"),
219
+ value: d(X.conversions),
195
220
  change: 15.2,
196
- changeLabel: H("headshotmarketing.common.vsLastMonth", "vs last month"),
197
- icon: /* @__PURE__ */ I(j, { className: "h-5 w-5" })
221
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
222
+ icon: /* @__PURE__ */ N(k, { className: "h-5 w-5" })
198
223
  }),
199
- /* @__PURE__ */ I(g, {
200
- title: H("headshotmarketing.home.stats.roas", "ROAS"),
224
+ /* @__PURE__ */ N(h, {
225
+ title: W("headshotmarketing.home.stats.roas", "ROAS"),
201
226
  value: `${Q.toFixed(1)}x`,
202
227
  change: 5.1,
203
- changeLabel: H("headshotmarketing.common.vsLastMonth", "vs last month"),
204
- icon: /* @__PURE__ */ I(M, { className: "h-5 w-5" })
228
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
229
+ icon: /* @__PURE__ */ N(A, { className: "h-5 w-5" })
205
230
  })
206
231
  ]
207
232
  }),
208
- /* @__PURE__ */ L("div", {
209
- className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
210
- children: [
211
- /* @__PURE__ */ I(g, {
212
- title: H("headshotmarketing.home.stats.conversionRate", "Conversion Rate"),
213
- value: "3.2%",
214
- icon: /* @__PURE__ */ I(O, { className: "h-5 w-5" })
215
- }),
216
- /* @__PURE__ */ I(g, {
217
- title: H("headshotmarketing.home.stats.avgOrderValue", "Avg Order Value"),
218
- value: f(68),
219
- icon: /* @__PURE__ */ I(A, { className: "h-5 w-5" })
220
- }),
221
- /* @__PURE__ */ I(g, {
222
- title: H("headshotmarketing.home.stats.customerLtv", "Customer LTV"),
223
- value: f(450),
224
- icon: /* @__PURE__ */ I(T, { className: "h-5 w-5" })
225
- }),
226
- /* @__PURE__ */ I(g, {
227
- title: H("headshotmarketing.home.stats.monthlyVisitors", "Monthly Visitors"),
228
- value: "45.2K",
229
- icon: /* @__PURE__ */ I(N, { className: "h-5 w-5" })
230
- })
231
- ]
232
- }),
233
- /* @__PURE__ */ L("div", {
234
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6 shadow-sm",
235
- children: [/* @__PURE__ */ I("h3", {
236
- className: "text-sm font-semibold text-text-primary mb-4",
237
- children: H("headshotmarketing.home.sections.monthlyGoals", "Monthly Goals")
238
- }), /* @__PURE__ */ I("div", {
239
- className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
240
- children: ae.map((e) => /* @__PURE__ */ L("div", { children: [/* @__PURE__ */ L("div", {
241
- className: "flex items-center justify-between mb-1",
242
- children: [/* @__PURE__ */ I("span", {
243
- className: "text-sm font-medium text-text-primary",
244
- children: e.label
245
- }), /* @__PURE__ */ L("span", {
246
- className: "text-sm font-medium text-text-secondary",
247
- children: [e.percent, "%"]
248
- })]
249
- }), /* @__PURE__ */ I("div", {
250
- className: "h-2 w-full rounded-full bg-bg-sunken",
251
- children: /* @__PURE__ */ I("div", {
252
- className: "h-2 rounded-full bg-action-primary-bg transition-all",
253
- style: { width: `${e.percent}%` }
233
+ /* @__PURE__ */ N(z, {
234
+ collapsedHeight: 0,
235
+ label: W("headshotmarketing.home.actions.moreMetrics", "More metrics"),
236
+ children: /* @__PURE__ */ P("div", {
237
+ className: "grid grid-cols-1 gap-4 pt-1 sm:grid-cols-2 lg:grid-cols-4",
238
+ children: [
239
+ /* @__PURE__ */ N(h, {
240
+ title: W("headshotmarketing.home.stats.conversionRate", "Conversion Rate"),
241
+ value: "3.2%",
242
+ icon: /* @__PURE__ */ N(E, { className: "h-5 w-5" })
243
+ }),
244
+ /* @__PURE__ */ N(h, {
245
+ title: W("headshotmarketing.home.stats.avgOrderValue", "Avg Order Value"),
246
+ value: u(68),
247
+ icon: /* @__PURE__ */ N(O, { className: "h-5 w-5" })
248
+ }),
249
+ /* @__PURE__ */ N(h, {
250
+ title: W("headshotmarketing.home.stats.customerLtv", "Customer LTV"),
251
+ value: u(450),
252
+ icon: /* @__PURE__ */ N(C, { className: "h-5 w-5" })
253
+ }),
254
+ /* @__PURE__ */ N(h, {
255
+ title: W("headshotmarketing.home.stats.monthlyVisitors", "Monthly Visitors"),
256
+ value: "45.2K",
257
+ icon: /* @__PURE__ */ N(j, { className: "h-5 w-5" })
254
258
  })
255
- })] }, e.label))
256
- })]
259
+ ]
260
+ })
257
261
  }),
258
- /* @__PURE__ */ L("div", { children: [/* @__PURE__ */ I("div", {
262
+ /* @__PURE__ */ P(I, { children: [/* @__PURE__ */ N("h3", {
263
+ className: "text-sm font-semibold text-text-primary mb-4",
264
+ children: W("headshotmarketing.home.sections.monthlyGoals", "Monthly Goals")
265
+ }), /* @__PURE__ */ N("div", {
266
+ className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
267
+ children: ce.map((e) => /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("div", {
268
+ className: "flex items-center justify-between mb-1",
269
+ children: [/* @__PURE__ */ N("span", {
270
+ className: "text-sm font-medium text-text-primary",
271
+ children: e.label
272
+ }), /* @__PURE__ */ P("span", {
273
+ className: "text-sm font-medium tabular-nums text-text-secondary",
274
+ children: [e.percent, "%"]
275
+ })]
276
+ }), /* @__PURE__ */ N("div", {
277
+ className: "h-2 w-full rounded-full bg-bg-sunken",
278
+ children: /* @__PURE__ */ N("div", {
279
+ className: "h-2 rounded-full bg-action-primary-bg transition-all",
280
+ style: { width: `${e.percent}%` }
281
+ })
282
+ })] }, e.label))
283
+ })] }),
284
+ /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("div", {
259
285
  className: "flex items-center gap-1 border-b border-border-subtle",
260
- children: ce.map((e) => /* @__PURE__ */ I("button", {
261
- onClick: () => G(e.key),
262
- className: d("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", W === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
286
+ children: de.map((e) => /* @__PURE__ */ N("button", {
287
+ onClick: () => q(e.key),
288
+ className: l("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", K === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
263
289
  children: e.label
264
290
  }, e.key))
265
- }), /* @__PURE__ */ L("div", {
291
+ }), /* @__PURE__ */ P("div", {
266
292
  className: "mt-6",
267
293
  children: [
268
- W === "overview" && /* @__PURE__ */ L("div", {
294
+ K === "overview" && /* @__PURE__ */ P("div", {
269
295
  className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
270
- children: [/* @__PURE__ */ I(y, {
271
- title: H("headshotmarketing.home.charts.revenueTrend", "Revenue Trend"),
272
- subtitle: H("headshotmarketing.home.charts.last30Days", "Last 30 days"),
273
- children: /* @__PURE__ */ I(n, {
296
+ children: [/* @__PURE__ */ N(_, {
297
+ title: W("headshotmarketing.home.charts.revenueTrend", "Revenue Trend"),
298
+ subtitle: W("headshotmarketing.home.charts.last30Days", "Last 30 days"),
299
+ children: /* @__PURE__ */ N(n, {
274
300
  width: "100%",
275
301
  height: 280,
276
- children: /* @__PURE__ */ L(l, {
277
- data: J,
302
+ children: /* @__PURE__ */ P(ne, {
303
+ data: se,
278
304
  children: [
279
- /* @__PURE__ */ I(i, {
305
+ /* @__PURE__ */ N(a, {
280
306
  strokeDasharray: "3 3",
281
307
  className: "stroke-border"
282
308
  }),
283
- /* @__PURE__ */ I(o, {
309
+ /* @__PURE__ */ N(s, {
284
310
  dataKey: "date",
285
311
  tick: { fontSize: 11 },
286
312
  className: "text-text-secondary",
287
313
  tickFormatter: (e) => e.slice(5)
288
314
  }),
289
- /* @__PURE__ */ I(s, {
315
+ /* @__PURE__ */ N(ee, {
290
316
  tick: { fontSize: 11 },
291
317
  className: "text-text-secondary"
292
318
  }),
293
- /* @__PURE__ */ I(t, { contentStyle: {
319
+ /* @__PURE__ */ N(t, { contentStyle: {
294
320
  backgroundColor: "var(--color-card)",
295
321
  border: "1px solid var(--color-border)",
296
322
  borderRadius: 8
297
323
  } }),
298
- /* @__PURE__ */ I(a, {
324
+ /* @__PURE__ */ N(o, {
299
325
  type: "monotone",
300
326
  dataKey: "revenue",
301
- stroke: R[0],
302
- fill: R[0],
327
+ stroke: B[0],
328
+ fill: B[0],
303
329
  fillOpacity: .15,
304
330
  strokeWidth: 2,
305
- name: H("headshotmarketing.home.charts.revenue", "Revenue")
331
+ name: W("headshotmarketing.home.charts.revenue", "Revenue")
306
332
  }),
307
- /* @__PURE__ */ I(a, {
333
+ /* @__PURE__ */ N(o, {
308
334
  type: "monotone",
309
335
  dataKey: "cost",
310
- stroke: R[3],
311
- fill: R[3],
336
+ stroke: B[3],
337
+ fill: B[3],
312
338
  fillOpacity: .1,
313
339
  strokeWidth: 2,
314
- name: H("headshotmarketing.home.charts.cost", "Cost")
340
+ name: W("headshotmarketing.home.charts.cost", "Cost")
315
341
  })
316
342
  ]
317
343
  })
318
344
  })
319
- }), /* @__PURE__ */ I(y, {
320
- title: H("headshotmarketing.home.charts.channelPerformance", "Channel Performance"),
321
- subtitle: H("headshotmarketing.home.charts.revenueDistribution", "Revenue distribution"),
322
- children: /* @__PURE__ */ I(n, {
345
+ }), /* @__PURE__ */ N(_, {
346
+ title: W("headshotmarketing.home.charts.channelPerformance", "Channel Performance"),
347
+ subtitle: W("headshotmarketing.home.charts.revenueDistribution", "Revenue distribution"),
348
+ children: /* @__PURE__ */ N(n, {
323
349
  width: "100%",
324
350
  height: 280,
325
- children: /* @__PURE__ */ L(c, { children: [/* @__PURE__ */ I(ee, {
351
+ children: /* @__PURE__ */ P(te, { children: [/* @__PURE__ */ N(i, {
326
352
  data: Y,
327
353
  dataKey: "revenue",
328
354
  nameKey: "channel",
@@ -330,105 +356,105 @@ var R = [
330
356
  cy: "50%",
331
357
  outerRadius: 100,
332
358
  label: ({ name: e, percent: t }) => `${e} ${(t * 100).toFixed(0)}%`,
333
- children: Y.map((e, t) => /* @__PURE__ */ I(r, { fill: R[t % R.length] }, e.channel))
334
- }), /* @__PURE__ */ I(t, {
359
+ children: Y.map((e, t) => /* @__PURE__ */ N(r, { fill: B[t % B.length] }, e.channel))
360
+ }), /* @__PURE__ */ N(t, {
335
361
  contentStyle: {
336
362
  backgroundColor: "var(--color-card)",
337
363
  border: "1px solid var(--color-border)",
338
364
  borderRadius: 8
339
365
  },
340
- formatter: (e) => f(e)
366
+ formatter: (e) => u(e)
341
367
  })] })
342
368
  })
343
369
  })]
344
370
  }),
345
- W === "performance" && /* @__PURE__ */ L("div", {
346
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6 shadow-sm",
347
- children: [/* @__PURE__ */ I("h3", {
371
+ K === "performance" && /* @__PURE__ */ P("div", {
372
+ className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
373
+ children: [/* @__PURE__ */ N("h3", {
348
374
  className: "text-sm font-semibold text-text-primary mb-4",
349
- children: H("headshotmarketing.home.sections.topChannels", "Top Channels")
350
- }), /* @__PURE__ */ I("div", {
375
+ children: W("headshotmarketing.home.sections.topChannels", "Top Channels")
376
+ }), /* @__PURE__ */ N("div", {
351
377
  className: "space-y-4",
352
- children: $.topChannels.slice(0, 5).map((e) => /* @__PURE__ */ L("div", {
378
+ children: $.topChannels.slice(0, 5).map((e) => /* @__PURE__ */ P("div", {
353
379
  className: "flex items-center justify-between",
354
- children: [/* @__PURE__ */ L("div", {
380
+ children: [/* @__PURE__ */ P("div", {
355
381
  className: "flex items-center gap-3",
356
- children: [/* @__PURE__ */ I("div", {
357
- className: "h-3 w-3 rounded-full",
382
+ children: [/* @__PURE__ */ N("div", {
383
+ className: "h-3 w-3 rounded-full motion-safe:animate-vc-glow-pulse",
358
384
  style: { backgroundColor: e.color }
359
- }), /* @__PURE__ */ I("span", {
385
+ }), /* @__PURE__ */ N("span", {
360
386
  className: "text-sm font-medium text-text-primary",
361
387
  children: e.channel
362
388
  })]
363
- }), /* @__PURE__ */ L("div", {
389
+ }), /* @__PURE__ */ P("div", {
364
390
  className: "flex items-center gap-4",
365
- children: [/* @__PURE__ */ I("span", {
366
- className: "text-sm font-semibold text-text-primary",
367
- children: f(e.revenue)
368
- }), /* @__PURE__ */ L("span", {
369
- className: d("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium", e.roas >= 3.5 ? "bg-green-100 text-green-700" : "bg-yellow-100 text-yellow-700"),
391
+ children: [/* @__PURE__ */ N("span", {
392
+ className: "text-sm font-semibold tabular-nums text-text-primary",
393
+ children: u(e.revenue)
394
+ }), /* @__PURE__ */ P("span", {
395
+ className: l("inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-medium tabular-nums", e.roas >= 3.5 ? "bg-status-success-bg text-status-success-text border-status-success-border" : "bg-status-warning-bg text-status-warning-text border-status-warning-border"),
370
396
  children: [
371
397
  e.roas.toFixed(1),
372
398
  "x",
373
399
  " ",
374
- H("headshotmarketing.home.stats.roas", "ROAS")
400
+ W("headshotmarketing.home.stats.roas", "ROAS")
375
401
  ]
376
402
  })]
377
403
  })]
378
404
  }, e.channel))
379
405
  })]
380
406
  }),
381
- W === "audience" && /* @__PURE__ */ L("div", {
382
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6 shadow-sm",
383
- children: [/* @__PURE__ */ I("h3", {
407
+ K === "audience" && /* @__PURE__ */ P("div", {
408
+ className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
409
+ children: [/* @__PURE__ */ N("h3", {
384
410
  className: "text-sm font-semibold text-text-primary mb-4",
385
- children: H("headshotmarketing.home.sections.deviceBreakdown", "Device Breakdown")
386
- }), /* @__PURE__ */ I("div", {
411
+ children: W("headshotmarketing.home.sections.deviceBreakdown", "Device Breakdown")
412
+ }), /* @__PURE__ */ N("div", {
387
413
  className: "space-y-4",
388
- children: oe.map((e) => /* @__PURE__ */ L("div", { children: [/* @__PURE__ */ L("div", {
414
+ children: le.map((e) => /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("div", {
389
415
  className: "flex items-center justify-between mb-1",
390
- children: [/* @__PURE__ */ I("span", {
416
+ children: [/* @__PURE__ */ N("span", {
391
417
  className: "text-sm font-medium text-text-primary",
392
418
  children: e.device
393
- }), /* @__PURE__ */ L("span", {
394
- className: "text-sm text-text-secondary",
419
+ }), /* @__PURE__ */ P("span", {
420
+ className: "text-sm tabular-nums text-text-secondary",
395
421
  children: [e.sessions, "%"]
396
422
  })]
397
- }), /* @__PURE__ */ I("div", {
423
+ }), /* @__PURE__ */ N("div", {
398
424
  className: "h-3 w-full rounded-full bg-bg-sunken",
399
- children: /* @__PURE__ */ I("div", {
425
+ children: /* @__PURE__ */ N("div", {
400
426
  className: "h-3 rounded-full bg-action-primary-bg transition-all",
401
427
  style: { width: `${e.sessions}%` }
402
428
  })
403
429
  })] }, e.device))
404
430
  })]
405
431
  }),
406
- W === "campaigns" && /* @__PURE__ */ I(_, {
407
- data: K,
408
- columns: se,
432
+ K === "campaigns" && /* @__PURE__ */ N(g, {
433
+ data: J,
434
+ columns: ue,
409
435
  pageSize: 8,
410
- onRowClick: (e) => b(x + "/campaigns/" + e.id),
411
- emptyMessage: H("headshotmarketing.home.table.empty", "No campaigns found")
436
+ onRowClick: (e) => v(y + "/campaigns/" + e.id),
437
+ emptyMessage: W("headshotmarketing.home.table.empty", "No campaigns found")
412
438
  })
413
439
  ]
414
440
  })] }),
415
- /* @__PURE__ */ L("div", {
416
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6 shadow-sm",
417
- children: [/* @__PURE__ */ I("h3", {
441
+ /* @__PURE__ */ P("div", {
442
+ className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
443
+ children: [/* @__PURE__ */ N("h3", {
418
444
  className: "text-sm font-semibold text-text-primary mb-4",
419
- children: H("headshotmarketing.home.sections.recentAlerts", "Recent Alerts")
420
- }), /* @__PURE__ */ I("div", {
445
+ children: W("headshotmarketing.home.sections.recentAlerts", "Recent Alerts")
446
+ }), /* @__PURE__ */ N("div", {
421
447
  className: "space-y-3",
422
448
  children: $.recentAlerts.map((e) => {
423
- let t = z[e.type] || E;
424
- return /* @__PURE__ */ L("div", {
425
- className: d("flex items-start gap-3 rounded-lg border p-3", B[e.type]),
426
- children: [/* @__PURE__ */ I(t, { className: d("h-4 w-4 mt-0.5 flex-shrink-0", V[e.type]) }), /* @__PURE__ */ L("div", {
449
+ let t = V[e.type] || w;
450
+ return /* @__PURE__ */ P("div", {
451
+ className: l("flex items-start gap-3 rounded-lg border p-3", H[e.type]),
452
+ children: [/* @__PURE__ */ N(t, { className: l("h-4 w-4 mt-0.5 flex-shrink-0", U[e.type]) }), /* @__PURE__ */ P("div", {
427
453
  className: "flex-1 min-w-0",
428
- children: [/* @__PURE__ */ I("p", {
454
+ children: [/* @__PURE__ */ N("p", {
429
455
  className: "text-sm",
430
456
  children: e.message
431
- }), /* @__PURE__ */ I("p", {
457
+ }), /* @__PURE__ */ N("p", {
432
458
  className: "text-xs mt-1 opacity-75",
433
459
  children: new Date(e.timestamp).toLocaleString()
434
460
  })]
@@ -441,6 +467,6 @@ var R = [
441
467
  });
442
468
  };
443
469
  //#endregion
444
- export { H as HomePage };
470
+ export { W as HomePage };
445
471
 
446
472
  //# sourceMappingURL=HomePage.js.map