@burdenoff/microfe-headshotmarketing 2026.703.1 → 2026.704.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.
- package/dist/generated/wspace-operations.js +960 -77
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +26 -10
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/HeadshotMarketingRoot.js +45 -44
- package/dist/headshotmarketing/HeadshotMarketingRoot.js.map +1 -1
- package/dist/headshotmarketing/HeadshotMarketingRoutes.js +20 -0
- package/dist/headshotmarketing/HeadshotMarketingRoutes.js.map +1 -1
- package/dist/headshotmarketing/components/ActionMenu.js +57 -0
- package/dist/headshotmarketing/components/ActionMenu.js.map +1 -0
- package/dist/headshotmarketing/components/AssetUploadButton.js +47 -0
- package/dist/headshotmarketing/components/AssetUploadButton.js.map +1 -0
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
- package/dist/headshotmarketing/components/InfluencerModals.js +606 -0
- package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -0
- package/dist/headshotmarketing/components/LoadingSkeleton.js +11 -1
- package/dist/headshotmarketing/components/LoadingSkeleton.js.map +1 -0
- package/dist/headshotmarketing/components/Modal.js +6 -3
- package/dist/headshotmarketing/components/Modal.js.map +1 -1
- package/dist/headshotmarketing/components/Pagination.js +117 -0
- package/dist/headshotmarketing/components/Pagination.js.map +1 -0
- package/dist/headshotmarketing/components/QueryStateBoundary.js +46 -0
- package/dist/headshotmarketing/components/QueryStateBoundary.js.map +1 -0
- package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js +74 -0
- package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -0
- package/dist/headshotmarketing/components/index.js +6 -0
- package/dist/headshotmarketing/context/HeadshotMarketingContext.js +26 -22
- package/dist/headshotmarketing/context/HeadshotMarketingContext.js.map +1 -1
- package/dist/headshotmarketing/context/HeadshotmarketingBootstrapContext.js +29 -0
- package/dist/headshotmarketing/context/HeadshotmarketingBootstrapContext.js.map +1 -0
- package/dist/headshotmarketing/hooks/index.js +4 -0
- package/dist/headshotmarketing/hooks/useAssetUpload.js +86 -0
- package/dist/headshotmarketing/hooks/useAssetUpload.js.map +1 -0
- package/dist/headshotmarketing/hooks/useHeadshotmarketingBootstrap.js +12 -0
- package/dist/headshotmarketing/hooks/useHeadshotmarketingBootstrap.js.map +1 -0
- package/dist/headshotmarketing/hooks/usePagination.js +53 -0
- package/dist/headshotmarketing/hooks/usePagination.js.map +1 -0
- package/dist/headshotmarketing/pages/HomePage.js +334 -301
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +522 -225
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +749 -147
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +197 -188
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +583 -147
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +218 -206
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +244 -237
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +278 -272
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +197 -193
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +254 -295
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +221 -211
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +239 -168
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +150 -102
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowActions.js +287 -0
- package/dist/headshotmarketing/pages/automation/WorkflowActions.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +56 -58
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +211 -179
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +444 -306
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +290 -217
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +189 -151
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +417 -274
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +345 -260
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +261 -192
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +213 -141
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +242 -246
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +184 -136
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +208 -159
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +336 -265
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +76 -87
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +195 -196
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmActions.js +663 -0
- package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/CrmPage.js +237 -207
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +168 -165
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +189 -178
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +188 -190
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +256 -238
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +195 -167
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +280 -243
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +186 -183
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +303 -231
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +460 -310
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +318 -104
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +266 -255
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +365 -202
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +321 -233
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +324 -308
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/dist/headshotmarketing/utils/adsMapper.js +74 -51
- package/dist/headshotmarketing/utils/adsMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/helpers.js +11 -1
- package/dist/headshotmarketing/utils/helpers.js.map +1 -1
- package/dist/headshotmarketing/utils/influencerMapper.js +1 -0
- package/dist/headshotmarketing/utils/influencerMapper.js.map +1 -1
- package/package.json +1 -1
- package/dist/headshotmarketing/utils/reportMapper.js +0 -33
- package/dist/headshotmarketing/utils/reportMapper.js.map +0 -1
|
@@ -1,291 +1,328 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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";
|
|
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
9
|
import "../../components/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
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";
|
|
13
17
|
//#region src/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.tsx
|
|
14
|
-
var
|
|
18
|
+
var T = {
|
|
15
19
|
nano: "bg-status-info-bg text-status-info-text",
|
|
16
20
|
micro: "bg-status-success-bg text-status-success-text",
|
|
17
21
|
macro: "bg-status-warning-bg text-status-warning-text",
|
|
18
22
|
mega: "bg-status-error-bg text-status-error-text"
|
|
19
|
-
},
|
|
23
|
+
}, E = {
|
|
20
24
|
instagram: "bg-[var(--color-accent-soft)] text-action-primary-bg",
|
|
21
25
|
facebook: "bg-status-info-bg text-status-info-text",
|
|
22
26
|
twitter: "bg-status-info-bg text-status-info-text",
|
|
23
27
|
linkedin: "bg-status-info-bg text-status-info-text",
|
|
24
28
|
youtube: "bg-status-error-bg text-status-error-text",
|
|
25
29
|
tiktok: "bg-bg-sunken text-text-secondary"
|
|
26
|
-
},
|
|
27
|
-
let {
|
|
28
|
-
limit: 200,
|
|
29
|
-
offset: 0
|
|
30
|
-
} }), [E, D] = d(""), [O, k] = d("all"), [A, j] = d("all"), [M, N] = d("all"), P = u(() => (T?.headshotmarketingInfluencers.items ?? []).map((e) => l(e)), [T?.headshotmarketingInfluencers.items]), F = u(() => {
|
|
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(() => {
|
|
31
32
|
let e = /* @__PURE__ */ new Set();
|
|
32
|
-
return
|
|
33
|
-
}, [
|
|
34
|
-
let e = [...
|
|
35
|
-
if (
|
|
36
|
-
let t =
|
|
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();
|
|
37
38
|
e = e.filter((e) => e.name.toLowerCase().includes(t) || e.handle.toLowerCase().includes(t) || e.niche.some((e) => e.toLowerCase().includes(t)));
|
|
38
39
|
}
|
|
39
|
-
return
|
|
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;
|
|
40
41
|
}, [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
])
|
|
47
|
-
|
|
42
|
+
j,
|
|
43
|
+
N,
|
|
44
|
+
F,
|
|
45
|
+
L,
|
|
46
|
+
X
|
|
47
|
+
]);
|
|
48
|
+
ne(() => {
|
|
49
|
+
Y(Q.length);
|
|
50
|
+
}, [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;
|
|
48
53
|
return {
|
|
49
|
-
total:
|
|
54
|
+
total: X.length,
|
|
50
55
|
verified: e,
|
|
51
56
|
totalReach: t,
|
|
52
57
|
avgEngagement: n
|
|
53
58
|
};
|
|
54
|
-
}, [
|
|
55
|
-
return /* @__PURE__ */
|
|
59
|
+
}, [X]);
|
|
60
|
+
return /* @__PURE__ */ S(a, {
|
|
56
61
|
title: "Influencer Discovery",
|
|
57
62
|
description: "Find and connect with influencers for your campaigns",
|
|
58
63
|
children: [
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
|
|
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,
|
|
62
70
|
children: [
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
className: "
|
|
65
|
-
children: "Influencers"
|
|
66
|
-
}), /* @__PURE__ */ v("p", {
|
|
67
|
-
className: "text-2xl font-semibold text-text-primary",
|
|
68
|
-
children: i(L.total)
|
|
69
|
-
})] }),
|
|
70
|
-
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
71
|
-
className: "text-xs text-text-secondary",
|
|
72
|
-
children: "Verified"
|
|
73
|
-
}), /* @__PURE__ */ v("p", {
|
|
74
|
-
className: "text-2xl font-semibold text-text-primary",
|
|
75
|
-
children: i(L.verified)
|
|
76
|
-
})] }),
|
|
77
|
-
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
78
|
-
className: "text-xs text-text-secondary",
|
|
79
|
-
children: "Combined Reach"
|
|
80
|
-
}), /* @__PURE__ */ v("p", {
|
|
81
|
-
className: "text-2xl font-semibold text-text-primary",
|
|
82
|
-
children: i(L.totalReach)
|
|
83
|
-
})] }),
|
|
84
|
-
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
85
|
-
className: "text-xs text-text-secondary",
|
|
86
|
-
children: "Avg Engagement"
|
|
87
|
-
}), /* @__PURE__ */ v("p", {
|
|
88
|
-
className: "text-2xl font-semibold text-text-primary",
|
|
89
|
-
children: a(L.avgEngagement)
|
|
90
|
-
})] })
|
|
91
|
-
]
|
|
92
|
-
}) }),
|
|
93
|
-
/* @__PURE__ */ v(c, {
|
|
94
|
-
searchValue: E,
|
|
95
|
-
onSearchChange: D,
|
|
96
|
-
searchPlaceholder: "Search by name, handle, or niche...",
|
|
97
|
-
filters: /* @__PURE__ */ y(_, { children: [
|
|
98
|
-
/* @__PURE__ */ y("select", {
|
|
99
|
-
value: O,
|
|
100
|
-
onChange: (e) => k(e.target.value),
|
|
101
|
-
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
71
|
+
/* @__PURE__ */ x(C, { children: /* @__PURE__ */ S("div", {
|
|
72
|
+
className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
|
|
102
73
|
children: [
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
|
|
105
|
-
children: "
|
|
106
|
-
}),
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
74
|
+
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
75
|
+
className: "text-xs text-text-secondary",
|
|
76
|
+
children: "Influencers"
|
|
77
|
+
}), /* @__PURE__ */ x("p", {
|
|
78
|
+
className: "text-2xl font-semibold text-text-primary",
|
|
79
|
+
children: n($.total)
|
|
80
|
+
})] }),
|
|
81
|
+
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
82
|
+
className: "text-xs text-text-secondary",
|
|
83
|
+
children: "Verified"
|
|
84
|
+
}), /* @__PURE__ */ x("p", {
|
|
85
|
+
className: "text-2xl font-semibold text-text-primary",
|
|
86
|
+
children: n($.verified)
|
|
87
|
+
})] }),
|
|
88
|
+
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
89
|
+
className: "text-xs text-text-secondary",
|
|
90
|
+
children: "Combined Reach"
|
|
91
|
+
}), /* @__PURE__ */ x("p", {
|
|
92
|
+
className: "text-2xl font-semibold text-text-primary",
|
|
93
|
+
children: n($.totalReach)
|
|
94
|
+
})] }),
|
|
95
|
+
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
96
|
+
className: "text-xs text-text-secondary",
|
|
97
|
+
children: "Avg Engagement"
|
|
98
|
+
}), /* @__PURE__ */ x("p", {
|
|
99
|
+
className: "text-2xl font-semibold text-text-primary",
|
|
100
|
+
children: r($.avgEngagement)
|
|
101
|
+
})] })
|
|
123
102
|
]
|
|
124
|
-
}),
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
children: [
|
|
130
|
-
/* @__PURE__ */
|
|
131
|
-
value:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
103
|
+
}) }),
|
|
104
|
+
/* @__PURE__ */ x(ee, {
|
|
105
|
+
searchValue: j,
|
|
106
|
+
onSearchChange: M,
|
|
107
|
+
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),
|
|
112
|
+
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
113
|
+
children: [
|
|
114
|
+
/* @__PURE__ */ x("option", {
|
|
115
|
+
value: "all",
|
|
116
|
+
children: "All Tiers"
|
|
117
|
+
}),
|
|
118
|
+
/* @__PURE__ */ x("option", {
|
|
119
|
+
value: "nano",
|
|
120
|
+
children: "Nano (1K-10K)"
|
|
121
|
+
}),
|
|
122
|
+
/* @__PURE__ */ x("option", {
|
|
123
|
+
value: "micro",
|
|
124
|
+
children: "Micro (10K-100K)"
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ x("option", {
|
|
127
|
+
value: "macro",
|
|
128
|
+
children: "Macro (100K-500K)"
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ x("option", {
|
|
131
|
+
value: "mega",
|
|
132
|
+
children: "Mega (500K+)"
|
|
133
|
+
})
|
|
134
|
+
]
|
|
149
135
|
}),
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
value:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
]
|
|
155
|
-
}),
|
|
156
|
-
/* @__PURE__ */ y("select", {
|
|
157
|
-
value: M,
|
|
158
|
-
onChange: (e) => N(e.target.value),
|
|
159
|
-
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
160
|
-
children: [/* @__PURE__ */ v("option", {
|
|
161
|
-
value: "all",
|
|
162
|
-
children: "All Niches"
|
|
163
|
-
}), F.map((e) => /* @__PURE__ */ v("option", {
|
|
164
|
-
value: e,
|
|
165
|
-
children: e
|
|
166
|
-
}, e))]
|
|
167
|
-
})
|
|
168
|
-
] })
|
|
169
|
-
}),
|
|
170
|
-
/* @__PURE__ */ y("p", {
|
|
171
|
-
className: "text-sm text-text-secondary",
|
|
172
|
-
children: [I.length, " influencers found"]
|
|
173
|
-
}),
|
|
174
|
-
I.length === 0 && /* @__PURE__ */ v(s, {
|
|
175
|
-
illustration: P.length === 0 ? "empty-people" : "empty-search",
|
|
176
|
-
title: P.length === 0 ? "No influencers yet" : "No influencers match your filters",
|
|
177
|
-
description: P.length === 0 ? "Influencers will show up here as your directory fills in." : "Try a different search term, tier, platform or niche."
|
|
178
|
-
}),
|
|
179
|
-
/* @__PURE__ */ v("div", {
|
|
180
|
-
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
181
|
-
children: I.map((e) => /* @__PURE__ */ y("div", {
|
|
182
|
-
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-5 space-y-4 hover:border-foreground/30 transition-colors",
|
|
183
|
-
children: [
|
|
184
|
-
/* @__PURE__ */ y("div", {
|
|
185
|
-
className: "flex items-start gap-3",
|
|
186
|
-
children: [/* @__PURE__ */ v("div", {
|
|
187
|
-
className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-sm font-bold text-text-primary",
|
|
188
|
-
children: e.name.split(" ").map((e) => e[0]).join("")
|
|
189
|
-
}), /* @__PURE__ */ y("div", {
|
|
190
|
-
className: "flex-1 min-w-0",
|
|
136
|
+
/* @__PURE__ */ S("select", {
|
|
137
|
+
value: F,
|
|
138
|
+
onChange: (e) => I(e.target.value),
|
|
139
|
+
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
191
140
|
children: [
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
|
|
194
|
-
children:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
141
|
+
/* @__PURE__ */ x("option", {
|
|
142
|
+
value: "all",
|
|
143
|
+
children: "All Platforms"
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ x("option", {
|
|
146
|
+
value: "instagram",
|
|
147
|
+
children: "Instagram"
|
|
148
|
+
}),
|
|
149
|
+
/* @__PURE__ */ x("option", {
|
|
150
|
+
value: "youtube",
|
|
151
|
+
children: "YouTube"
|
|
152
|
+
}),
|
|
153
|
+
/* @__PURE__ */ x("option", {
|
|
154
|
+
value: "tiktok",
|
|
155
|
+
children: "TikTok"
|
|
198
156
|
}),
|
|
199
|
-
/* @__PURE__ */
|
|
200
|
-
|
|
201
|
-
children:
|
|
157
|
+
/* @__PURE__ */ x("option", {
|
|
158
|
+
value: "linkedin",
|
|
159
|
+
children: "LinkedIn"
|
|
202
160
|
}),
|
|
203
|
-
/* @__PURE__ */
|
|
204
|
-
|
|
205
|
-
children:
|
|
161
|
+
/* @__PURE__ */ x("option", {
|
|
162
|
+
value: "twitter",
|
|
163
|
+
children: "Twitter"
|
|
206
164
|
})
|
|
207
165
|
]
|
|
208
|
-
})
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ S("select", {
|
|
168
|
+
value: L,
|
|
169
|
+
onChange: (e) => R(e.target.value),
|
|
170
|
+
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", {
|
|
172
|
+
value: "all",
|
|
173
|
+
children: "All Niches"
|
|
174
|
+
}), re.map((e) => /* @__PURE__ */ x("option", {
|
|
175
|
+
value: e,
|
|
176
|
+
children: e
|
|
177
|
+
}, e))]
|
|
178
|
+
})
|
|
179
|
+
] })
|
|
180
|
+
}),
|
|
181
|
+
/* @__PURE__ */ S("p", {
|
|
182
|
+
className: "text-sm text-text-secondary",
|
|
183
|
+
children: [Q.length, " influencers found"]
|
|
184
|
+
}),
|
|
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."
|
|
189
|
+
}),
|
|
190
|
+
/* @__PURE__ */ x("div", {
|
|
191
|
+
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
192
|
+
children: ie.map((i) => /* @__PURE__ */ S("div", {
|
|
193
|
+
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-5 space-y-4 hover:border-foreground/30 transition-colors",
|
|
212
194
|
children: [
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
className:
|
|
215
|
-
children:
|
|
195
|
+
/* @__PURE__ */ S("div", {
|
|
196
|
+
className: "flex items-start gap-3",
|
|
197
|
+
children: [/* @__PURE__ */ x("div", {
|
|
198
|
+
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", {
|
|
201
|
+
className: "flex-1 min-w-0",
|
|
202
|
+
children: [
|
|
203
|
+
/* @__PURE__ */ S("div", {
|
|
204
|
+
className: "flex items-center gap-1.5",
|
|
205
|
+
children: [/* @__PURE__ */ x("h3", {
|
|
206
|
+
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" })]
|
|
209
|
+
}),
|
|
210
|
+
/* @__PURE__ */ x("p", {
|
|
211
|
+
className: "text-xs text-text-secondary",
|
|
212
|
+
children: i.handle
|
|
213
|
+
}),
|
|
214
|
+
/* @__PURE__ */ S("div", {
|
|
215
|
+
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]
|
|
217
|
+
})
|
|
218
|
+
]
|
|
219
|
+
})]
|
|
216
220
|
}),
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
className:
|
|
219
|
-
children:
|
|
221
|
+
/* @__PURE__ */ S("div", {
|
|
222
|
+
className: "flex items-center gap-2 flex-wrap",
|
|
223
|
+
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
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ S("div", {
|
|
233
|
+
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", {
|
|
235
|
+
className: "text-xs font-medium text-text-primary",
|
|
236
|
+
children: i.rating.toFixed(1)
|
|
237
|
+
})]
|
|
238
|
+
})
|
|
239
|
+
]
|
|
220
240
|
}),
|
|
221
|
-
/* @__PURE__ */
|
|
222
|
-
className: "
|
|
223
|
-
children: [
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
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
|
+
]
|
|
242
275
|
}),
|
|
243
|
-
/* @__PURE__ */
|
|
244
|
-
className: "
|
|
245
|
-
children:
|
|
246
|
-
className: "
|
|
247
|
-
children:
|
|
248
|
-
}
|
|
249
|
-
className: "text-[10px] text-text-secondary",
|
|
250
|
-
children: "Engagement"
|
|
251
|
-
})]
|
|
276
|
+
/* @__PURE__ */ x("div", {
|
|
277
|
+
className: "flex flex-wrap gap-1",
|
|
278
|
+
children: i.niche.map((e) => /* @__PURE__ */ x("span", {
|
|
279
|
+
className: "rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-secondary",
|
|
280
|
+
children: e
|
|
281
|
+
}, e))
|
|
252
282
|
}),
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
className: "
|
|
255
|
-
children: [/* @__PURE__ */
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
283
|
+
/* @__PURE__ */ S("div", {
|
|
284
|
+
className: "flex items-center gap-2 pt-2 border-t border-border-subtle",
|
|
285
|
+
children: [/* @__PURE__ */ S("button", {
|
|
286
|
+
onClick: () => B(i),
|
|
287
|
+
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),
|
|
291
|
+
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"]
|
|
261
293
|
})]
|
|
262
294
|
})
|
|
263
295
|
]
|
|
264
|
-
})
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
296
|
+
}, i.id))
|
|
297
|
+
}),
|
|
298
|
+
Q.length > 0 && /* @__PURE__ */ x(s, {
|
|
299
|
+
page: U,
|
|
300
|
+
pageSize: W,
|
|
301
|
+
total: K,
|
|
302
|
+
onPageChange: q,
|
|
303
|
+
onPageSizeChange: J,
|
|
304
|
+
hideWhenSinglePage: !0
|
|
305
|
+
})
|
|
306
|
+
]
|
|
307
|
+
}),
|
|
308
|
+
/* @__PURE__ */ x(l, {
|
|
309
|
+
open: !!z,
|
|
310
|
+
onClose: () => B(null),
|
|
311
|
+
influencer: z
|
|
312
|
+
}),
|
|
313
|
+
/* @__PURE__ */ x(c, {
|
|
314
|
+
open: !!V,
|
|
315
|
+
onClose: () => H(null),
|
|
316
|
+
influencers: X,
|
|
317
|
+
existingInfluencerIds: Z,
|
|
318
|
+
defaultInfluencerId: V?.id,
|
|
319
|
+
defaultStatus: i.Outreach,
|
|
320
|
+
onCompleted: A
|
|
284
321
|
})
|
|
285
322
|
]
|
|
286
323
|
});
|
|
287
324
|
};
|
|
288
325
|
//#endregion
|
|
289
|
-
export {
|
|
326
|
+
export { D as InfluencerDiscoveryPage };
|
|
290
327
|
|
|
291
328
|
//# sourceMappingURL=InfluencerDiscoveryPage.js.map
|