@burdenoff/microfe-headshotmarketing 2026.801.2 → 2026.827.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 (60) hide show
  1. package/dist/generated/wspace-operations.d.ts +44 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +30 -4
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/headshotmarketing/components/InfluencerModals.d.ts.map +1 -1
  6. package/dist/headshotmarketing/components/InfluencerModals.js +201 -214
  7. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
  8. package/dist/headshotmarketing/components/StatusBadge.d.ts.map +1 -1
  9. package/dist/headshotmarketing/components/StatusBadge.js +2 -0
  10. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  11. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +59 -29
  12. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  13. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.d.ts.map +1 -1
  14. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +389 -215
  15. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  16. package/dist/headshotmarketing/pages/content/AIExecutionLedger.d.ts +26 -0
  17. package/dist/headshotmarketing/pages/content/AIExecutionLedger.d.ts.map +1 -0
  18. package/dist/headshotmarketing/pages/content/AIExecutionLedger.js +215 -0
  19. package/dist/headshotmarketing/pages/content/AIExecutionLedger.js.map +1 -0
  20. package/dist/headshotmarketing/pages/content/AIToolsPage.d.ts.map +1 -1
  21. package/dist/headshotmarketing/pages/content/AIToolsPage.js +396 -379
  22. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/content/AssetLibraryPage.d.ts.map +1 -1
  24. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +436 -343
  25. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  26. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.d.ts.map +1 -1
  27. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +233 -223
  28. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/content/ContentPage.js +4 -4
  30. package/dist/headshotmarketing/pages/crm/ContactsPage.d.ts.map +1 -1
  31. package/dist/headshotmarketing/pages/crm/ContactsPage.js +339 -278
  32. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  33. package/dist/headshotmarketing/pages/crm/CrmPage.d.ts.map +1 -1
  34. package/dist/headshotmarketing/pages/crm/CrmPage.js +118 -112
  35. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  36. package/dist/headshotmarketing/pages/crm/CrmSubNav.d.ts +14 -0
  37. package/dist/headshotmarketing/pages/crm/CrmSubNav.d.ts.map +1 -0
  38. package/dist/headshotmarketing/pages/crm/CrmSubNav.js +51 -0
  39. package/dist/headshotmarketing/pages/crm/CrmSubNav.js.map +1 -0
  40. package/dist/headshotmarketing/pages/crm/LeadsPage.d.ts.map +1 -1
  41. package/dist/headshotmarketing/pages/crm/LeadsPage.js +122 -116
  42. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/crm/PipelinePage.d.ts.map +1 -1
  44. package/dist/headshotmarketing/pages/crm/PipelinePage.js +192 -183
  45. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  46. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.d.ts.map +1 -1
  47. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +184 -162
  48. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/influencers/InfluencersPage.d.ts.map +1 -1
  50. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +8 -14
  51. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  52. package/dist/headshotmarketing/types/index.d.ts +9 -4
  53. package/dist/headshotmarketing/types/index.d.ts.map +1 -1
  54. package/dist/headshotmarketing/utils/contentMapper.js +1 -1
  55. package/dist/headshotmarketing/utils/contentMapper.js.map +1 -1
  56. package/dist/headshotmarketing/utils/influencerMapper.d.ts +16 -2
  57. package/dist/headshotmarketing/utils/influencerMapper.d.ts.map +1 -1
  58. package/dist/headshotmarketing/utils/influencerMapper.js +56 -40
  59. package/dist/headshotmarketing/utils/influencerMapper.js.map +1 -1
  60. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"InfluencerDiscoveryPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAwC9D,eAAO,MAAM,uBAAuB,EAAE,EAmVrC,CAAC"}
1
+ {"version":3,"file":"InfluencerDiscoveryPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAmC9D,eAAO,MAAM,uBAAuB,EAAE,EAiZrC,CAAC"}
@@ -1,301 +1,323 @@
1
- import { cn as e, formatCurrency as t, formatNumber as n, formatPercentage as r } from "../../utils/helpers.js";
2
- import { HeadshotmarketingInfluencerRelationshipStatus as i } from "../../../generated/wspace-types.js";
3
- import { PageLayout as a } from "../../components/PageLayout.js";
4
- import { EmptyState as o } from "../../components/EmptyState.js";
5
- import { FilterBar as ee } from "../../components/FilterBar.js";
1
+ import { cn as e, formatNumber as t, formatPercentage as n } from "../../utils/helpers.js";
2
+ import { HeadshotmarketingInfluencerRelationshipStatus as r } from "../../../generated/wspace-types.js";
3
+ import { PageLayout as i } from "../../components/PageLayout.js";
4
+ import { EmptyState as ee } from "../../components/EmptyState.js";
5
+ import { FilterBar as a } from "../../components/FilterBar.js";
6
6
  import { QueryStateBoundary as te } from "../../components/QueryStateBoundary.js";
7
- import { Pagination as s } from "../../components/Pagination.js";
8
- import { AddInfluencerRelationshipModal as c, InfluencerDetailsModal as l } from "../../components/InfluencerModals.js";
7
+ import { Pagination as o } from "../../components/Pagination.js";
8
+ import { AddInfluencerRelationshipModal as s, InfluencerDetailsModal as c } from "../../components/InfluencerModals.js";
9
9
  import "../../components/index.js";
10
- import { useHeadshotmarketingBootstrap as u } from "../../hooks/useHeadshotmarketingBootstrap.js";
11
- import { usePagination as d } from "../../hooks/usePagination.js";
12
- import { toInfluencerModel as f } from "../../utils/influencerMapper.js";
13
- import { useEffect as ne, useMemo as p, useState as m } from "react";
14
- import { CheckCircle as h, Eye as g, Mail as _, MapPin as v, Star as y } from "lucide-react";
15
- import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
16
- import { EmphasisPanel as C, PagePurpose as w } from "@burdenoff/fe-libs/ui";
10
+ import { useHeadshotmarketingBootstrap as l } from "../../hooks/useHeadshotmarketingBootstrap.js";
11
+ import { usePagination as u } from "../../hooks/usePagination.js";
12
+ import { toInfluencerModel as d } from "../../utils/influencerMapper.js";
13
+ import { useEffect as f, useMemo as p, useState as m } from "react";
14
+ import { Eye as h, Mail as ne, MapPin as re, Star as ie } from "lucide-react";
15
+ import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
16
+ import { EmphasisPanel as y, PagePurpose as b } from "@burdenoff/fe-libs/ui";
17
17
  //#region src/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.tsx
18
- var T = {
18
+ var x = {
19
19
  nano: "bg-status-info-bg text-status-info-text",
20
20
  micro: "bg-status-success-bg text-status-success-text",
21
21
  macro: "bg-status-warning-bg text-status-warning-text",
22
22
  mega: "bg-status-error-bg text-status-error-text"
23
- }, E = {
23
+ }, S = {
24
24
  instagram: "bg-[var(--color-accent-soft)] text-action-primary-bg",
25
25
  facebook: "bg-status-info-bg text-status-info-text",
26
26
  twitter: "bg-status-info-bg text-status-info-text",
27
27
  linkedin: "bg-status-info-bg text-status-info-text",
28
28
  youtube: "bg-status-error-bg text-status-error-text",
29
29
  tiktok: "bg-bg-sunken text-text-secondary"
30
- }, D = () => {
31
- let { data: D, loading: O, error: k, refetch: A } = u(), [j, M] = m(""), [N, P] = m("all"), [F, I] = m("all"), [L, R] = m("all"), [z, B] = m(null), [V, H] = m(null), { page: U, pageSize: W, offset: G, total: K, setPage: q, setPageSize: J, setTotal: Y } = d({ initialPageSize: 12 }), X = p(() => (D?.headshotmarketingInfluencers.items ?? []).map((e) => f(e)), [D?.headshotmarketingInfluencers.items]), Z = p(() => (D?.headshotmarketingInfluencerRelationships.items ?? []).map((e) => e.influencerId), [D?.headshotmarketingInfluencerRelationships.items]), re = p(() => {
30
+ }, C = () => {
31
+ let { data: C, loading: w, error: T, refetch: E } = l(), [D, O] = m(""), [k, A] = m("all"), [j, M] = m("all"), [N, P] = m("all"), [F, I] = m(""), [L, R] = m(""), [z, B] = m(null), [V, H] = m(null), { page: U, pageSize: W, offset: G, total: K, setPage: q, setPageSize: J, setTotal: Y } = u({ initialPageSize: 12 }), X = p(() => {
32
+ let e = {};
33
+ for (let t of C?.headshotmarketingInfluencerRelationships.items ?? []) e[t.influencerId] = {
34
+ rating: t.rating ?? 0,
35
+ totalCampaigns: t.totalCampaigns ?? 0
36
+ };
37
+ return e;
38
+ }, [C?.headshotmarketingInfluencerRelationships.items]), Z = p(() => (C?.headshotmarketingInfluencers.items ?? []).map((e) => d(e, X)), [C?.headshotmarketingInfluencers.items, X]), ae = p(() => Object.keys(X), [X]), oe = p(() => {
32
39
  let e = /* @__PURE__ */ new Set();
33
- return X.forEach((t) => t.niche.forEach((t) => e.add(t))), Array.from(e).sort();
34
- }, [X]), Q = p(() => {
35
- let e = [...X];
36
- if (j) {
37
- let t = j.toLowerCase();
40
+ return Z.forEach((t) => t.niche.forEach((t) => e.add(t))), Array.from(e).sort();
41
+ }, [Z]), Q = p(() => {
42
+ let e = [...Z];
43
+ if (D) {
44
+ let t = D.toLowerCase();
38
45
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.handle.toLowerCase().includes(t) || e.niche.some((e) => e.toLowerCase().includes(t)));
39
46
  }
40
- return N !== "all" && (e = e.filter((e) => e.tier === N)), F !== "all" && (e = e.filter((e) => e.platform === F)), L !== "all" && (e = e.filter((e) => e.niche.includes(L))), e;
47
+ k !== "all" && (e = e.filter((e) => e.tier === k)), j !== "all" && (e = e.filter((e) => e.platforms.some((e) => e === j))), N !== "all" && (e = e.filter((e) => e.niche.includes(N)));
48
+ let t = Number(F);
49
+ F !== "" && Number.isFinite(t) && (e = e.filter((e) => e.followers >= t));
50
+ let n = Number(L);
51
+ return L !== "" && Number.isFinite(n) && (e = e.filter((e) => e.engagementRate >= n)), e;
41
52
  }, [
53
+ D,
54
+ k,
42
55
  j,
43
56
  N,
44
57
  F,
45
58
  L,
46
- X
59
+ Z
47
60
  ]);
48
- ne(() => {
61
+ f(() => {
49
62
  Y(Q.length);
50
63
  }, [Q.length, Y]);
51
- let ie = Q.slice(G, G + W), $ = p(() => {
52
- let e = X.filter((e) => e.verified).length, t = X.reduce((e, t) => e + t.followers, 0), n = X.length > 0 ? X.reduce((e, t) => e + t.engagementRate, 0) / X.length : 0;
64
+ let se = Q.slice(G, G + W), $ = p(() => {
65
+ let e = Z.reduce((e, t) => e + t.followers, 0), t = Z.length > 0 ? Z.reduce((e, t) => e + t.engagementRate, 0) / Z.length : 0, n = Z.filter((e) => X[e.id] !== void 0).length;
53
66
  return {
54
- total: X.length,
55
- verified: e,
56
- totalReach: t,
57
- avgEngagement: n
67
+ total: Z.length,
68
+ inRelationship: n,
69
+ totalReach: e,
70
+ avgEngagement: t
58
71
  };
59
- }, [X]);
60
- return /* @__PURE__ */ S(a, {
72
+ }, [Z, X]);
73
+ return /* @__PURE__ */ v(i, {
61
74
  title: "Influencer Discovery",
62
75
  description: "Find and connect with influencers for your campaigns",
63
76
  children: [
64
- /* @__PURE__ */ x(w, { children: "Find the right creators for your brand. Search and filter by tier, platform and niche to surface influencers whose audience matches yours, then reach out to start a partnership." }),
65
- /* @__PURE__ */ S(te, {
66
- loading: O,
67
- error: k,
68
- onRetry: A,
69
- hasData: !!D,
77
+ /* @__PURE__ */ _(b, { children: "Find the right creators for your brand. Search and filter by tier, platform and niche to surface influencers whose audience matches yours, then reach out to start a partnership." }),
78
+ /* @__PURE__ */ v(te, {
79
+ loading: w,
80
+ error: T,
81
+ onRetry: E,
82
+ hasData: !!C,
70
83
  children: [
71
- /* @__PURE__ */ x(C, { children: /* @__PURE__ */ S("div", {
84
+ /* @__PURE__ */ _(y, { children: /* @__PURE__ */ v("div", {
72
85
  className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
73
86
  children: [
74
- /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
87
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
75
88
  className: "text-xs text-text-secondary",
76
89
  children: "Influencers"
77
- }), /* @__PURE__ */ x("p", {
90
+ }), /* @__PURE__ */ _("p", {
78
91
  className: "text-2xl font-semibold text-text-primary",
79
- children: n($.total)
92
+ children: t($.total)
80
93
  })] }),
81
- /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
94
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
82
95
  className: "text-xs text-text-secondary",
83
- children: "Verified"
84
- }), /* @__PURE__ */ x("p", {
96
+ children: "In Relationship"
97
+ }), /* @__PURE__ */ _("p", {
85
98
  className: "text-2xl font-semibold text-text-primary",
86
- children: n($.verified)
99
+ children: t($.inRelationship)
87
100
  })] }),
88
- /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
101
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
89
102
  className: "text-xs text-text-secondary",
90
103
  children: "Combined Reach"
91
- }), /* @__PURE__ */ x("p", {
104
+ }), /* @__PURE__ */ _("p", {
92
105
  className: "text-2xl font-semibold text-text-primary",
93
- children: n($.totalReach)
106
+ children: t($.totalReach)
94
107
  })] }),
95
- /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
108
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
96
109
  className: "text-xs text-text-secondary",
97
110
  children: "Avg Engagement"
98
- }), /* @__PURE__ */ x("p", {
111
+ }), /* @__PURE__ */ _("p", {
99
112
  className: "text-2xl font-semibold text-text-primary",
100
- children: r($.avgEngagement)
113
+ children: n($.avgEngagement)
101
114
  })] })
102
115
  ]
103
116
  }) }),
104
- /* @__PURE__ */ x(ee, {
105
- searchValue: j,
106
- onSearchChange: M,
117
+ /* @__PURE__ */ _(a, {
118
+ searchValue: D,
119
+ onSearchChange: O,
107
120
  searchPlaceholder: "Search by name, handle, or niche...",
108
- filters: /* @__PURE__ */ S(b, { children: [
109
- /* @__PURE__ */ S("select", {
110
- value: N,
111
- onChange: (e) => P(e.target.value),
121
+ filters: /* @__PURE__ */ v(g, { children: [
122
+ /* @__PURE__ */ v("select", {
123
+ value: k,
124
+ onChange: (e) => A(e.target.value),
112
125
  className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
113
126
  children: [
114
- /* @__PURE__ */ x("option", {
127
+ /* @__PURE__ */ _("option", {
115
128
  value: "all",
116
129
  children: "All Tiers"
117
130
  }),
118
- /* @__PURE__ */ x("option", {
131
+ /* @__PURE__ */ _("option", {
119
132
  value: "nano",
120
133
  children: "Nano (1K-10K)"
121
134
  }),
122
- /* @__PURE__ */ x("option", {
135
+ /* @__PURE__ */ _("option", {
123
136
  value: "micro",
124
137
  children: "Micro (10K-100K)"
125
138
  }),
126
- /* @__PURE__ */ x("option", {
139
+ /* @__PURE__ */ _("option", {
127
140
  value: "macro",
128
141
  children: "Macro (100K-500K)"
129
142
  }),
130
- /* @__PURE__ */ x("option", {
143
+ /* @__PURE__ */ _("option", {
131
144
  value: "mega",
132
145
  children: "Mega (500K+)"
133
146
  })
134
147
  ]
135
148
  }),
136
- /* @__PURE__ */ S("select", {
137
- value: F,
138
- onChange: (e) => I(e.target.value),
149
+ /* @__PURE__ */ v("select", {
150
+ value: j,
151
+ onChange: (e) => M(e.target.value),
139
152
  className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
140
153
  children: [
141
- /* @__PURE__ */ x("option", {
154
+ /* @__PURE__ */ _("option", {
142
155
  value: "all",
143
156
  children: "All Platforms"
144
157
  }),
145
- /* @__PURE__ */ x("option", {
158
+ /* @__PURE__ */ _("option", {
146
159
  value: "instagram",
147
160
  children: "Instagram"
148
161
  }),
149
- /* @__PURE__ */ x("option", {
162
+ /* @__PURE__ */ _("option", {
150
163
  value: "youtube",
151
164
  children: "YouTube"
152
165
  }),
153
- /* @__PURE__ */ x("option", {
166
+ /* @__PURE__ */ _("option", {
154
167
  value: "tiktok",
155
168
  children: "TikTok"
156
169
  }),
157
- /* @__PURE__ */ x("option", {
170
+ /* @__PURE__ */ _("option", {
158
171
  value: "linkedin",
159
172
  children: "LinkedIn"
160
173
  }),
161
- /* @__PURE__ */ x("option", {
174
+ /* @__PURE__ */ _("option", {
162
175
  value: "twitter",
163
176
  children: "Twitter"
164
177
  })
165
178
  ]
166
179
  }),
167
- /* @__PURE__ */ S("select", {
168
- value: L,
169
- onChange: (e) => R(e.target.value),
180
+ /* @__PURE__ */ v("select", {
181
+ value: N,
182
+ onChange: (e) => P(e.target.value),
170
183
  className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
171
- children: [/* @__PURE__ */ x("option", {
184
+ children: [/* @__PURE__ */ _("option", {
172
185
  value: "all",
173
186
  children: "All Niches"
174
- }), re.map((e) => /* @__PURE__ */ x("option", {
187
+ }), oe.map((e) => /* @__PURE__ */ _("option", {
175
188
  value: e,
176
189
  children: e
177
190
  }, e))]
191
+ }),
192
+ /* @__PURE__ */ _("input", {
193
+ type: "number",
194
+ min: 0,
195
+ step: 1e3,
196
+ inputMode: "numeric",
197
+ value: F,
198
+ onChange: (e) => I(e.target.value),
199
+ "aria-label": "Minimum followers",
200
+ placeholder: "Min followers",
201
+ className: "w-36 rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary"
202
+ }),
203
+ /* @__PURE__ */ _("input", {
204
+ type: "number",
205
+ min: 0,
206
+ step: .1,
207
+ inputMode: "decimal",
208
+ value: L,
209
+ onChange: (e) => R(e.target.value),
210
+ "aria-label": "Minimum engagement rate, percent",
211
+ placeholder: "Min engagement %",
212
+ className: "w-40 rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary"
178
213
  })
179
214
  ] })
180
215
  }),
181
- /* @__PURE__ */ S("p", {
216
+ /* @__PURE__ */ v("p", {
182
217
  className: "text-sm text-text-secondary",
183
218
  children: [Q.length, " influencers found"]
184
219
  }),
185
- Q.length === 0 && /* @__PURE__ */ x(o, {
186
- illustration: X.length === 0 ? "empty-people" : "empty-search",
187
- title: X.length === 0 ? "No influencers yet" : "No influencers match your filters",
188
- description: X.length === 0 ? "Influencers will show up here as your directory fills in." : "Try a different search term, tier, platform or niche."
220
+ Q.length === 0 && /* @__PURE__ */ _(ee, {
221
+ illustration: Z.length === 0 ? "empty-people" : "empty-search",
222
+ title: Z.length === 0 ? "No influencers yet" : "No influencers match your filters",
223
+ description: Z.length === 0 ? "Influencers will show up here as your directory fills in." : "Try a different search term, tier, platform or niche."
189
224
  }),
190
- /* @__PURE__ */ x("div", {
225
+ /* @__PURE__ */ _("div", {
191
226
  className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
192
- children: ie.map((i) => /* @__PURE__ */ S("div", {
227
+ children: se.map((r) => /* @__PURE__ */ v("div", {
193
228
  className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-5 space-y-4 hover:border-foreground/30 transition-colors",
194
229
  children: [
195
- /* @__PURE__ */ S("div", {
230
+ /* @__PURE__ */ v("div", {
196
231
  className: "flex items-start gap-3",
197
- children: [/* @__PURE__ */ x("div", {
232
+ children: [/* @__PURE__ */ _("div", {
198
233
  className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-sm font-bold text-text-primary",
199
- children: i.name.split(" ").map((e) => e[0]).join("")
200
- }), /* @__PURE__ */ S("div", {
234
+ children: r.name.split(" ").map((e) => e[0]).join("")
235
+ }), /* @__PURE__ */ v("div", {
201
236
  className: "flex-1 min-w-0",
202
237
  children: [
203
- /* @__PURE__ */ S("div", {
238
+ /* @__PURE__ */ _("div", {
204
239
  className: "flex items-center gap-1.5",
205
- children: [/* @__PURE__ */ x("h3", {
240
+ children: /* @__PURE__ */ _("h3", {
206
241
  className: "text-sm font-semibold text-text-primary truncate",
207
- children: i.name
208
- }), i.verified && /* @__PURE__ */ x(h, { className: "h-3.5 w-3.5 text-status-info-text flex-shrink-0" })]
242
+ children: r.name
243
+ })
209
244
  }),
210
- /* @__PURE__ */ x("p", {
245
+ /* @__PURE__ */ _("p", {
211
246
  className: "text-xs text-text-secondary",
212
- children: i.handle
247
+ children: r.handle
213
248
  }),
214
- /* @__PURE__ */ S("div", {
249
+ /* @__PURE__ */ v("div", {
215
250
  className: "flex items-center gap-1 mt-0.5 text-xs text-text-secondary",
216
- children: [/* @__PURE__ */ x(v, { className: "h-3 w-3" }), i.location]
251
+ children: [/* @__PURE__ */ _(re, { className: "h-3 w-3" }), r.location]
217
252
  })
218
253
  ]
219
254
  })]
220
255
  }),
221
- /* @__PURE__ */ S("div", {
256
+ /* @__PURE__ */ v("div", {
222
257
  className: "flex items-center gap-2 flex-wrap",
223
258
  children: [
224
- /* @__PURE__ */ x("span", {
225
- className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", T[i.tier]),
226
- children: i.tier
227
- }),
228
- /* @__PURE__ */ x("span", {
229
- className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", E[i.platform]),
230
- children: i.platform
259
+ /* @__PURE__ */ _("span", {
260
+ className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", x[r.tier]),
261
+ children: r.tier
231
262
  }),
232
- /* @__PURE__ */ S("div", {
263
+ r.platforms.map((t) => /* @__PURE__ */ _("span", {
264
+ className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", S[t]),
265
+ children: t
266
+ }, t)),
267
+ r.rating > 0 && /* @__PURE__ */ v("div", {
233
268
  className: "flex items-center gap-0.5 ml-auto",
234
- children: [/* @__PURE__ */ x(y, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }), /* @__PURE__ */ x("span", {
269
+ children: [/* @__PURE__ */ _(ie, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }), /* @__PURE__ */ _("span", {
235
270
  className: "text-xs font-medium text-text-primary",
236
- children: i.rating.toFixed(1)
271
+ children: r.rating.toFixed(1)
237
272
  })]
238
273
  })
239
274
  ]
240
275
  }),
241
- /* @__PURE__ */ S("div", {
242
- className: "grid grid-cols-3 gap-2 text-center",
243
- children: [
244
- /* @__PURE__ */ S("div", {
245
- className: "rounded-md bg-bg-sunken/50 py-2",
246
- children: [/* @__PURE__ */ x("p", {
247
- className: "text-sm font-bold text-text-primary",
248
- children: n(i.followers)
249
- }), /* @__PURE__ */ x("p", {
250
- className: "text-[10px] text-text-secondary",
251
- children: "Followers"
252
- })]
253
- }),
254
- /* @__PURE__ */ S("div", {
255
- className: "rounded-md bg-bg-sunken/50 py-2",
256
- children: [/* @__PURE__ */ x("p", {
257
- className: "text-sm font-bold text-text-primary",
258
- children: r(i.engagementRate)
259
- }), /* @__PURE__ */ x("p", {
260
- className: "text-[10px] text-text-secondary",
261
- children: "Engagement"
262
- })]
263
- }),
264
- /* @__PURE__ */ S("div", {
265
- className: "rounded-md bg-bg-sunken/50 py-2",
266
- children: [/* @__PURE__ */ x("p", {
267
- className: "text-sm font-bold text-text-primary",
268
- children: t(i.ratePerPost)
269
- }), /* @__PURE__ */ x("p", {
270
- className: "text-[10px] text-text-secondary",
271
- children: "Per Post"
272
- })]
273
- })
274
- ]
276
+ /* @__PURE__ */ v("div", {
277
+ className: "grid grid-cols-2 gap-2 text-center",
278
+ children: [/* @__PURE__ */ v("div", {
279
+ className: "rounded-md bg-bg-sunken/50 py-2",
280
+ children: [/* @__PURE__ */ _("p", {
281
+ className: "text-sm font-bold text-text-primary",
282
+ children: t(r.followers)
283
+ }), /* @__PURE__ */ _("p", {
284
+ className: "text-[10px] text-text-secondary",
285
+ children: "Followers"
286
+ })]
287
+ }), /* @__PURE__ */ v("div", {
288
+ className: "rounded-md bg-bg-sunken/50 py-2",
289
+ children: [/* @__PURE__ */ _("p", {
290
+ className: "text-sm font-bold text-text-primary",
291
+ children: n(r.engagementRate)
292
+ }), /* @__PURE__ */ _("p", {
293
+ className: "text-[10px] text-text-secondary",
294
+ children: "Engagement rate"
295
+ })]
296
+ })]
275
297
  }),
276
- /* @__PURE__ */ x("div", {
298
+ /* @__PURE__ */ _("div", {
277
299
  className: "flex flex-wrap gap-1",
278
- children: i.niche.map((e) => /* @__PURE__ */ x("span", {
300
+ children: r.niche.map((e) => /* @__PURE__ */ _("span", {
279
301
  className: "rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-secondary",
280
302
  children: e
281
303
  }, e))
282
304
  }),
283
- /* @__PURE__ */ S("div", {
305
+ /* @__PURE__ */ v("div", {
284
306
  className: "flex items-center gap-2 pt-2 border-t border-border-subtle",
285
- children: [/* @__PURE__ */ S("button", {
286
- onClick: () => B(i),
307
+ children: [/* @__PURE__ */ v("button", {
308
+ onClick: () => B(r),
287
309
  className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md border border-border-subtle py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken",
288
- children: [/* @__PURE__ */ x(g, { className: "h-3 w-3" }), "View"]
289
- }), /* @__PURE__ */ S("button", {
290
- onClick: () => H(i),
310
+ children: [/* @__PURE__ */ _(h, { className: "h-3 w-3" }), "View"]
311
+ }), /* @__PURE__ */ v("button", {
312
+ onClick: () => H(r),
291
313
  className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md bg-foreground py-2 text-xs font-medium text-background hover:bg-foreground/90",
292
- children: [/* @__PURE__ */ x(_, { className: "h-3 w-3" }), "Contact"]
314
+ children: [/* @__PURE__ */ _(ne, { className: "h-3 w-3" }), "Contact"]
293
315
  })]
294
316
  })
295
317
  ]
296
- }, i.id))
318
+ }, r.id))
297
319
  }),
298
- Q.length > 0 && /* @__PURE__ */ x(s, {
320
+ Q.length > 0 && /* @__PURE__ */ _(o, {
299
321
  page: U,
300
322
  pageSize: W,
301
323
  total: K,
@@ -305,24 +327,24 @@ var T = {
305
327
  })
306
328
  ]
307
329
  }),
308
- /* @__PURE__ */ x(l, {
330
+ /* @__PURE__ */ _(c, {
309
331
  open: !!z,
310
332
  onClose: () => B(null),
311
333
  influencer: z
312
334
  }),
313
- /* @__PURE__ */ x(c, {
335
+ /* @__PURE__ */ _(s, {
314
336
  open: !!V,
315
337
  onClose: () => H(null),
316
- influencers: X,
317
- existingInfluencerIds: Z,
338
+ influencers: Z,
339
+ existingInfluencerIds: ae,
318
340
  defaultInfluencerId: V?.id,
319
- defaultStatus: i.Outreach,
320
- onCompleted: A
341
+ defaultStatus: r.Outreach,
342
+ onCompleted: E
321
343
  })
322
344
  ]
323
345
  });
324
346
  };
325
347
  //#endregion
326
- export { D as InfluencerDiscoveryPage };
348
+ export { C as InfluencerDiscoveryPage };
327
349
 
328
350
  //# sourceMappingURL=InfluencerDiscoveryPage.js.map